@lucca-front/ng 22.1.0 → 22.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (628) hide show
  1. package/fesm2022/lucca-front-ng-a11y.mjs +9 -9
  2. package/fesm2022/lucca-front-ng-activity-feed.mjs +19 -15
  3. package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
  4. package/fesm2022/lucca-front-ng-api.mjs +40 -40
  5. package/fesm2022/lucca-front-ng-app-layout.mjs +3 -3
  6. package/fesm2022/lucca-front-ng-approbation-inbox.mjs +74 -53
  7. package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -1
  8. package/fesm2022/lucca-front-ng-box.mjs +3 -3
  9. package/fesm2022/lucca-front-ng-breadcrumbs.mjs +6 -6
  10. package/fesm2022/lucca-front-ng-bubble-icon.mjs +3 -3
  11. package/fesm2022/lucca-front-ng-bubble-illustration.mjs +7 -7
  12. package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
  13. package/fesm2022/lucca-front-ng-callout.mjs +25 -25
  14. package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
  15. package/fesm2022/lucca-front-ng-chip.mjs +3 -3
  16. package/fesm2022/lucca-front-ng-clear.mjs +3 -3
  17. package/fesm2022/lucca-front-ng-code.mjs +3 -3
  18. package/fesm2022/lucca-front-ng-color.mjs +3 -3
  19. package/fesm2022/lucca-front-ng-comment.mjs +9 -9
  20. package/fesm2022/lucca-front-ng-container.mjs +3 -3
  21. package/fesm2022/lucca-front-ng-core-select-api.mjs +9 -9
  22. package/fesm2022/lucca-front-ng-core-select-department.mjs +8 -6
  23. package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
  24. package/fesm2022/lucca-front-ng-core-select-establishment.mjs +16 -10
  25. package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
  26. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +11 -7
  27. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
  28. package/fesm2022/lucca-front-ng-core-select-legal-units.mjs +6 -6
  29. package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +3 -3
  30. package/fesm2022/lucca-front-ng-core-select-user.mjs +20 -18
  31. package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
  32. package/fesm2022/lucca-front-ng-core-select.mjs +68 -60
  33. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  34. package/fesm2022/lucca-front-ng-core.mjs +24 -19
  35. package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
  36. package/fesm2022/lucca-front-ng-data-table.mjs +24 -24
  37. package/fesm2022/lucca-front-ng-date.mjs +44 -40
  38. package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
  39. package/fesm2022/lucca-front-ng-date2.mjs +96 -49
  40. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  41. package/fesm2022/lucca-front-ng-department.mjs +28 -26
  42. package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
  43. package/fesm2022/lucca-front-ng-dialog.mjs +42 -39
  44. package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
  45. package/fesm2022/lucca-front-ng-divider.mjs +3 -3
  46. package/fesm2022/lucca-front-ng-dropdown.mjs +42 -41
  47. package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
  48. package/fesm2022/lucca-front-ng-empty-state.mjs +14 -14
  49. package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
  50. package/fesm2022/lucca-front-ng-error-page.mjs +5 -4
  51. package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
  52. package/fesm2022/lucca-front-ng-establishment.mjs +36 -34
  53. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
  54. package/fesm2022/lucca-front-ng-fancy-box.mjs +5 -4
  55. package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
  56. package/fesm2022/lucca-front-ng-file-upload.mjs +20 -20
  57. package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
  58. package/fesm2022/lucca-front-ng-filter-pills-core.mjs +6 -6
  59. package/fesm2022/lucca-front-ng-filter-pills.mjs +19 -19
  60. package/fesm2022/lucca-front-ng-footer.mjs +3 -3
  61. package/fesm2022/lucca-front-ng-form-field.mjs +24 -20
  62. package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
  63. package/fesm2022/lucca-front-ng-form-header.mjs +3 -3
  64. package/fesm2022/lucca-front-ng-form-label.mjs +3 -3
  65. package/fesm2022/lucca-front-ng-form.mjs +3 -3
  66. package/fesm2022/lucca-front-ng-formly.mjs +58 -58
  67. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +10 -9
  68. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
  69. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +3 -3
  70. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +6 -6
  71. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
  72. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +38 -37
  73. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
  74. package/fesm2022/lucca-front-ng-forms.mjs +50 -40
  75. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  76. package/fesm2022/lucca-front-ng-gauge.mjs +3 -3
  77. package/fesm2022/lucca-front-ng-grid.mjs +6 -6
  78. package/fesm2022/lucca-front-ng-highlight-data.mjs +6 -6
  79. package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
  80. package/fesm2022/lucca-front-ng-highlight-section.mjs +8 -5
  81. package/fesm2022/lucca-front-ng-highlight-section.mjs.map +1 -1
  82. package/fesm2022/lucca-front-ng-highlight-text.mjs +3 -3
  83. package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +9 -9
  84. package/fesm2022/lucca-front-ng-impersonation.mjs +5 -3
  85. package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
  86. package/fesm2022/lucca-front-ng-index-table.mjs +30 -30
  87. package/fesm2022/lucca-front-ng-inline-message.mjs +3 -3
  88. package/fesm2022/lucca-front-ng-input.mjs +25 -23
  89. package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
  90. package/fesm2022/lucca-front-ng-kbd.mjs +3 -3
  91. package/fesm2022/lucca-front-ng-link.mjs +38 -14
  92. package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
  93. package/fesm2022/lucca-front-ng-listbox.mjs +9 -9
  94. package/fesm2022/lucca-front-ng-listing.mjs +21 -11
  95. package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
  96. package/fesm2022/lucca-front-ng-loading.mjs +3 -3
  97. package/fesm2022/lucca-front-ng-main-layout.mjs +8 -8
  98. package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
  99. package/fesm2022/lucca-front-ng-markdown.mjs +3 -3
  100. package/fesm2022/lucca-front-ng-mobile-push.mjs +6 -5
  101. package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
  102. package/fesm2022/lucca-front-ng-modal.mjs +22 -22
  103. package/fesm2022/lucca-front-ng-multi-select.mjs +45 -44
  104. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  105. package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
  106. package/fesm2022/lucca-front-ng-number-format.mjs +22 -13
  107. package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
  108. package/fesm2022/lucca-front-ng-number.mjs +7 -7
  109. package/fesm2022/lucca-front-ng-option.mjs +164 -143
  110. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  111. package/fesm2022/lucca-front-ng-page-header.mjs +3 -3
  112. package/fesm2022/lucca-front-ng-pagination.mjs +3 -3
  113. package/fesm2022/lucca-front-ng-plg-push.mjs +6 -5
  114. package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
  115. package/fesm2022/lucca-front-ng-popover.mjs +29 -17
  116. package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
  117. package/fesm2022/lucca-front-ng-popover2.mjs +7 -7
  118. package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
  119. package/fesm2022/lucca-front-ng-popup.mjs +10 -10
  120. package/fesm2022/lucca-front-ng-priority-level.mjs +128 -0
  121. package/fesm2022/lucca-front-ng-priority-level.mjs.map +1 -0
  122. package/fesm2022/lucca-front-ng-progress-bar.mjs +3 -3
  123. package/fesm2022/lucca-front-ng-progress-stepper.mjs +6 -6
  124. package/fesm2022/lucca-front-ng-read-more.mjs +3 -3
  125. package/fesm2022/lucca-front-ng-resource-card.mjs +12 -12
  126. package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
  127. package/fesm2022/lucca-front-ng-scroll-box.mjs +3 -3
  128. package/fesm2022/lucca-front-ng-scroll.mjs +7 -7
  129. package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +8 -8
  130. package/fesm2022/lucca-front-ng-segmented-control.mjs +8 -8
  131. package/fesm2022/lucca-front-ng-select.mjs +16 -15
  132. package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
  133. package/fesm2022/lucca-front-ng-sidepanel.mjs +9 -8
  134. package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
  135. package/fesm2022/lucca-front-ng-simple-select.mjs +20 -18
  136. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  137. package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +6 -6
  138. package/fesm2022/lucca-front-ng-software-icon.mjs +7 -5
  139. package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
  140. package/fesm2022/lucca-front-ng-sortable-list.mjs +6 -6
  141. package/fesm2022/lucca-front-ng-status-badge.mjs +3 -3
  142. package/fesm2022/lucca-front-ng-table-of-content.mjs +6 -6
  143. package/fesm2022/lucca-front-ng-text-flow.mjs +3 -3
  144. package/fesm2022/lucca-front-ng-time.mjs +36 -25
  145. package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
  146. package/fesm2022/lucca-front-ng-title.mjs +10 -10
  147. package/fesm2022/lucca-front-ng-toast.mjs +10 -10
  148. package/fesm2022/lucca-front-ng-tree-select.mjs +7 -7
  149. package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
  150. package/fesm2022/lucca-front-ng-user-popover.mjs +19 -19
  151. package/fesm2022/lucca-front-ng-user.mjs +71 -62
  152. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  153. package/fesm2022/lucca-front-ng-vertical-navigation.mjs +12 -12
  154. package/llms/SKILL.md +233 -0
  155. package/llms/references/components/activity-feed/activity-feed.component.md +339 -0
  156. package/llms/references/components/activity-feed/activity-feed.design.md +145 -0
  157. package/llms/references/components/activity-feed/activity-feed.md +129 -0
  158. package/llms/references/components/animations/animations.component.md +11 -0
  159. package/llms/references/components/animations/animations.md +7 -0
  160. package/llms/references/components/api-select/api-select.md +40 -0
  161. package/llms/references/components/app-layout/app-layout.component.md +65 -0
  162. package/llms/references/components/app-layout/app-layout.design.md +61 -0
  163. package/llms/references/components/app-layout/app-layout.md +80 -0
  164. package/llms/references/components/approbation-inbox/approbation-inbox.component.md +1062 -0
  165. package/llms/references/components/approbation-inbox/approbation-inbox.design.md +162 -0
  166. package/llms/references/components/approbation-inbox/approbation-inbox.md +177 -0
  167. package/llms/references/components/avatar/avatar.component.md +571 -0
  168. package/llms/references/components/avatar/avatar.md +97 -0
  169. package/llms/references/components/box/box.component.md +155 -0
  170. package/llms/references/components/box/box.md +98 -0
  171. package/llms/references/components/breadcrumbs/breadcrumbs.component.md +60 -0
  172. package/llms/references/components/breadcrumbs/breadcrumbs.design.md +11 -0
  173. package/llms/references/components/breadcrumbs/breadcrumbs.md +96 -0
  174. package/llms/references/components/bubble-icon/bubble-icon.component.md +56 -0
  175. package/llms/references/components/bubble-icon/bubble-icon.design.md +47 -0
  176. package/llms/references/components/bubble-icon/bubble-icon.md +83 -0
  177. package/llms/references/components/bubble-illustration/bubble-illustration.component.md +54 -0
  178. package/llms/references/components/bubble-illustration/bubble-illustration.design.md +69 -0
  179. package/llms/references/components/bubble-illustration/bubble-illustration.md +76 -0
  180. package/llms/references/components/button/button.component.md +275 -0
  181. package/llms/references/components/button/button.design.md +322 -0
  182. package/llms/references/components/button/button.md +134 -0
  183. package/llms/references/components/calendar/calendar.component.md +750 -0
  184. package/llms/references/components/calendar/calendar.design.md +43 -0
  185. package/llms/references/components/calendar/calendar.md +127 -0
  186. package/llms/references/components/calendar2/calendar2.md +74 -0
  187. package/llms/references/components/callout/callout.component.md +254 -0
  188. package/llms/references/components/callout/callout.design.md +197 -0
  189. package/llms/references/components/callout/callout.md +259 -0
  190. package/llms/references/components/callout-disclosure/callout-disclosure.component.md +240 -0
  191. package/llms/references/components/callout-disclosure/callout-disclosure.design.md +197 -0
  192. package/llms/references/components/callout-disclosure/callout-disclosure.md +207 -0
  193. package/llms/references/components/callout-popover/callout-popover.component.md +182 -0
  194. package/llms/references/components/callout-popover/callout-popover.design.md +197 -0
  195. package/llms/references/components/callout-popover/callout-popover.md +212 -0
  196. package/llms/references/components/card/card.component.md +62 -0
  197. package/llms/references/components/card/card.design.md +36 -0
  198. package/llms/references/components/card/card.md +7 -0
  199. package/llms/references/components/checkbox/checkbox.component.md +50 -0
  200. package/llms/references/components/checkbox/checkbox.design.md +196 -0
  201. package/llms/references/components/checkbox/checkbox.md +73 -0
  202. package/llms/references/components/chip/chip.component.md +145 -0
  203. package/llms/references/components/chip/chip.md +118 -0
  204. package/llms/references/components/clear/clear.component.md +38 -0
  205. package/llms/references/components/clear/clear.design.md +36 -0
  206. package/llms/references/components/clear/clear.md +88 -0
  207. package/llms/references/components/code/code.component.md +33 -0
  208. package/llms/references/components/code/code.md +47 -0
  209. package/llms/references/components/color/color.md +32 -0
  210. package/llms/references/components/color-input/color-input.md +43 -0
  211. package/llms/references/components/color-picker/color-picker.component.md +29 -0
  212. package/llms/references/components/color-picker/color-picker.design.md +42 -0
  213. package/llms/references/components/color-picker/color-picker.md +24 -0
  214. package/llms/references/components/comment/comment.component.md +451 -0
  215. package/llms/references/components/comment/comment.design.md +67 -0
  216. package/llms/references/components/comment/comment.md +137 -0
  217. package/llms/references/components/container/container.component.md +41 -0
  218. package/llms/references/components/container/container.md +74 -0
  219. package/llms/references/components/core-select-department/core-select-department.md +42 -0
  220. package/llms/references/components/core-select-establishment/core-select-establishment.md +45 -0
  221. package/llms/references/components/core-select-job-qualification/core-select-job-qualification.md +25 -0
  222. package/llms/references/components/core-select-occupation-category/core-select-occupation-category.md +25 -0
  223. package/llms/references/components/core-select-user/core-select-user.md +81 -0
  224. package/llms/references/components/data-presentation/data-presentation.component.md +47 -0
  225. package/llms/references/components/data-presentation/data-presentation.md +48 -0
  226. package/llms/references/components/data-table/data-table.component.md +1649 -0
  227. package/llms/references/components/data-table/data-table.design.md +159 -0
  228. package/llms/references/components/data-table/data-table.md +338 -0
  229. package/llms/references/components/date/date.component.md +31 -0
  230. package/llms/references/components/date/date.md +164 -0
  231. package/llms/references/components/dateinput/dateinput.component.md +127 -0
  232. package/llms/references/components/dateinput/dateinput.design.md +80 -0
  233. package/llms/references/components/dateinput/dateinput.md +224 -0
  234. package/llms/references/components/daterangeinput/daterangeinput.component.md +64 -0
  235. package/llms/references/components/daterangeinput/daterangeinput.design.md +76 -0
  236. package/llms/references/components/daterangeinput/daterangeinput.md +210 -0
  237. package/llms/references/components/departmentselect/departmentselect.component.md +44 -0
  238. package/llms/references/components/departmentselect/departmentselect.md +43 -0
  239. package/llms/references/components/dialog/dialog.component.md +475 -0
  240. package/llms/references/components/dialog/dialog.design.md +139 -0
  241. package/llms/references/components/dialog/dialog.md +357 -0
  242. package/llms/references/components/divider/divider.component.md +35 -0
  243. package/llms/references/components/divider/divider.md +87 -0
  244. package/llms/references/components/dropdown/dropdown.component.md +315 -0
  245. package/llms/references/components/dropdown/dropdown.md +189 -0
  246. package/llms/references/components/duration-picker/duration-picker.design.md +124 -0
  247. package/llms/references/components/duration-picker/duration-picker.md +165 -0
  248. package/llms/references/components/empty-state/empty-state.component.md +238 -0
  249. package/llms/references/components/empty-state/empty-state.design.md +124 -0
  250. package/llms/references/components/empty-state/empty-state.md +61 -0
  251. package/llms/references/components/errorpage/errorpage.component.md +57 -0
  252. package/llms/references/components/errorpage/errorpage.md +75 -0
  253. package/llms/references/components/establishmentselect/establishmentselect.component.md +31 -0
  254. package/llms/references/components/establishmentselect/establishmentselect.md +42 -0
  255. package/llms/references/components/fancy-dialog/fancy-dialog.component.md +9 -0
  256. package/llms/references/components/fancy-dialog/fancy-dialog.design.md +93 -0
  257. package/llms/references/components/fancy-dialog/fancy-dialog.md +128 -0
  258. package/llms/references/components/fancybox/fancybox.component.md +218 -0
  259. package/llms/references/components/fancybox/fancybox.design.md +72 -0
  260. package/llms/references/components/fancybox/fancybox.md +90 -0
  261. package/llms/references/components/fieldset/fieldset.component.md +86 -0
  262. package/llms/references/components/fieldset/fieldset.md +129 -0
  263. package/llms/references/components/filedropzone/filedropzone.component.md +16 -0
  264. package/llms/references/components/filedropzone/filedropzone.md +71 -0
  265. package/llms/references/components/fileentry/fileentry.component.md +56 -0
  266. package/llms/references/components/fileentry/fileentry.design.md +152 -0
  267. package/llms/references/components/fileentry/fileentry.md +272 -0
  268. package/llms/references/components/fileupload/fileupload.component.md +91 -0
  269. package/llms/references/components/fileupload/fileupload.design.md +152 -0
  270. package/llms/references/components/fileupload/fileupload.md +275 -0
  271. package/llms/references/components/filterbar/filterbar.component.md +299 -0
  272. package/llms/references/components/filterbar/filterbar.design.md +92 -0
  273. package/llms/references/components/filterbar/filterbar.md +168 -0
  274. package/llms/references/components/filterpills/filterpills.component.md +65 -0
  275. package/llms/references/components/filterpills/filterpills.design.md +60 -0
  276. package/llms/references/components/filterpills/filterpills.md +214 -0
  277. package/llms/references/components/footer/footer.component.md +66 -0
  278. package/llms/references/components/footer/footer.design.md +176 -0
  279. package/llms/references/components/footer/footer.md +125 -0
  280. package/llms/references/components/form/form.md +42 -0
  281. package/llms/references/components/form-field/form-field.component.md +46 -0
  282. package/llms/references/components/form-field/form-field.md +252 -0
  283. package/llms/references/components/form-header/form-header.md +29 -0
  284. package/llms/references/components/form-label/form-label.component.md +116 -0
  285. package/llms/references/components/form-label/form-label.md +121 -0
  286. package/llms/references/components/gauge/gauge.component.md +55 -0
  287. package/llms/references/components/gauge/gauge.md +72 -0
  288. package/llms/references/components/grid/grid.component.md +15 -0
  289. package/llms/references/components/grid/grid.md +124 -0
  290. package/llms/references/components/highlight-data/highlight-data.component.md +294 -0
  291. package/llms/references/components/highlight-data/highlight-data.design.md +97 -0
  292. package/llms/references/components/highlight-data/highlight-data.md +126 -0
  293. package/llms/references/components/highlight-section/highlight-section.component.md +195 -0
  294. package/llms/references/components/highlight-section/highlight-section.md +53 -0
  295. package/llms/references/components/highlight-text/highlight-text.component.md +53 -0
  296. package/llms/references/components/highlight-text/highlight-text.md +29 -0
  297. package/llms/references/components/horizontalnavigation/horizontalnavigation.component.md +247 -0
  298. package/llms/references/components/horizontalnavigation/horizontalnavigation.md +94 -0
  299. package/llms/references/components/icons/icons.component.md +59 -0
  300. package/llms/references/components/icons/icons.design.md +141 -0
  301. package/llms/references/components/icons/icons.md +195 -0
  302. package/llms/references/components/impersonation/impersonation.component.md +83 -0
  303. package/llms/references/components/impersonation/impersonation.design.md +58 -0
  304. package/llms/references/components/impersonation/impersonation.md +97 -0
  305. package/llms/references/components/index-table/index-table.component.md +2573 -0
  306. package/llms/references/components/index-table/index-table.design.md +250 -0
  307. package/llms/references/components/index-table/index-table.md +278 -0
  308. package/llms/references/components/inlinemessage/inlinemessage.component.md +58 -0
  309. package/llms/references/components/inlinemessage/inlinemessage.md +56 -0
  310. package/llms/references/components/input-framed/input-framed.component.md +731 -0
  311. package/llms/references/components/input-framed/input-framed.design.md +94 -0
  312. package/llms/references/components/input-framed/input-framed.md +49 -0
  313. package/llms/references/components/kbd/kbd.component.md +48 -0
  314. package/llms/references/components/kbd/kbd.md +40 -0
  315. package/llms/references/components/link/link.component.md +162 -0
  316. package/llms/references/components/link/link.design.md +48 -0
  317. package/llms/references/components/link/link.md +148 -0
  318. package/llms/references/components/listbox/listbox.component.md +11 -0
  319. package/llms/references/components/listbox/listbox.md +114 -0
  320. package/llms/references/components/listing/listing.component.md +416 -0
  321. package/llms/references/components/listing/listing.design.md +31 -0
  322. package/llms/references/components/listing/listing.md +124 -0
  323. package/llms/references/components/loading/loading.component.md +37 -0
  324. package/llms/references/components/loading/loading.design.md +32 -0
  325. package/llms/references/components/loading/loading.md +116 -0
  326. package/llms/references/components/main-layout/main-layout.component.md +157 -0
  327. package/llms/references/components/main-layout/main-layout.md +78 -0
  328. package/llms/references/components/markdown/markdown.component.md +15 -0
  329. package/llms/references/components/markdown/markdown.md +40 -0
  330. package/llms/references/components/mobile-push/mobile-push.component.md +67 -0
  331. package/llms/references/components/mobile-push/mobile-push.md +79 -0
  332. package/llms/references/components/mobileheader/mobileheader.component.md +31 -0
  333. package/llms/references/components/mobileheader/mobileheader.design.md +15 -0
  334. package/llms/references/components/mobileheader/mobileheader.md +7 -0
  335. package/llms/references/components/mobilenavigation/mobilenavigation.component.md +43 -0
  336. package/llms/references/components/mobilenavigation/mobilenavigation.design.md +9 -0
  337. package/llms/references/components/mobilenavigation/mobilenavigation.md +7 -0
  338. package/llms/references/components/modal/modal.component.md +37 -0
  339. package/llms/references/components/modal/modal.design.md +163 -0
  340. package/llms/references/components/modal/modal.md +60 -0
  341. package/llms/references/components/multi-select/multi-select.component.md +43 -0
  342. package/llms/references/components/multi-select/multi-select.design.md +346 -0
  343. package/llms/references/components/multi-select/multi-select.md +444 -0
  344. package/llms/references/components/multilanguagefield/multilanguagefield.component.md +83 -0
  345. package/llms/references/components/multilanguagefield/multilanguagefield.design.md +78 -0
  346. package/llms/references/components/multilanguagefield/multilanguagefield.md +383 -0
  347. package/llms/references/components/newbadge/newbadge.component.md +23 -0
  348. package/llms/references/components/newbadge/newbadge.design.md +25 -0
  349. package/llms/references/components/newbadge/newbadge.md +37 -0
  350. package/llms/references/components/number-format-input/number-format-input.md +63 -0
  351. package/llms/references/components/number-input/number-input.md +54 -0
  352. package/llms/references/components/numbers/numbers.component.md +46 -0
  353. package/llms/references/components/numbers/numbers.md +7 -0
  354. package/llms/references/components/numericbadge/numericbadge.component.md +66 -0
  355. package/llms/references/components/numericbadge/numericbadge.md +83 -0
  356. package/llms/references/components/onboarding-empty-state/onboarding-empty-state.design.md +124 -0
  357. package/llms/references/components/onboarding-empty-state/onboarding-empty-state.md +47 -0
  358. package/llms/references/components/pageheader/pageheader.component.md +401 -0
  359. package/llms/references/components/pageheader/pageheader.design.md +13 -0
  360. package/llms/references/components/pageheader/pageheader.md +154 -0
  361. package/llms/references/components/pagination/pagination.component.md +112 -0
  362. package/llms/references/components/pagination/pagination.md +128 -0
  363. package/llms/references/components/phonenumberfield/phonenumberfield.component.md +33 -0
  364. package/llms/references/components/phonenumberfield/phonenumberfield.design.md +59 -0
  365. package/llms/references/components/phonenumberfield/phonenumberfield.md +141 -0
  366. package/llms/references/components/plg-push/plg-push.component.md +91 -0
  367. package/llms/references/components/plg-push/plg-push.design.md +87 -0
  368. package/llms/references/components/plg-push/plg-push.md +91 -0
  369. package/llms/references/components/popover/popover.component.md +149 -0
  370. package/llms/references/components/popover/popover.md +253 -0
  371. package/llms/references/components/popover2/popover2.component.md +110 -0
  372. package/llms/references/components/popover2/popover2.md +95 -0
  373. package/llms/references/components/priority-level/priority-level.component.md +63 -0
  374. package/llms/references/components/priority-level/priority-level.design.md +79 -0
  375. package/llms/references/components/priority-level/priority-level.md +36 -0
  376. package/llms/references/components/progress-bar/progress-bar.component.md +33 -0
  377. package/llms/references/components/progress-bar/progress-bar.design.md +15 -0
  378. package/llms/references/components/progress-bar/progress-bar.md +50 -0
  379. package/llms/references/components/progress-stepper/progress-stepper.component.md +375 -0
  380. package/llms/references/components/progress-stepper/progress-stepper.design.md +54 -0
  381. package/llms/references/components/progress-stepper/progress-stepper.md +69 -0
  382. package/llms/references/components/radiofield/radiofield.component.md +307 -0
  383. package/llms/references/components/radiofield/radiofield.design.md +148 -0
  384. package/llms/references/components/radiofield/radiofield.md +132 -0
  385. package/llms/references/components/readmore/readmore.component.md +60 -0
  386. package/llms/references/components/readmore/readmore.md +97 -0
  387. package/llms/references/components/resource-card/resource-card.component.md +225 -0
  388. package/llms/references/components/resource-card/resource-card.md +118 -0
  389. package/llms/references/components/richtextinput/richtextinput.component.md +308 -0
  390. package/llms/references/components/richtextinput/richtextinput.design.md +83 -0
  391. package/llms/references/components/richtextinput/richtextinput.md +300 -0
  392. package/llms/references/components/scroll/scroll.md +45 -0
  393. package/llms/references/components/scrollbox/scrollbox.component.md +63 -0
  394. package/llms/references/components/scrollbox/scrollbox.design.md +11 -0
  395. package/llms/references/components/scrollbox/scrollbox.md +48 -0
  396. package/llms/references/components/section-empty-state/section-empty-state.component.md +9 -0
  397. package/llms/references/components/section-empty-state/section-empty-state.design.md +67 -0
  398. package/llms/references/components/section-empty-state/section-empty-state.md +41 -0
  399. package/llms/references/components/segmented-control-tabs/segmented-control-tabs.md +68 -0
  400. package/llms/references/components/segmentedcontrol/segmentedcontrol.component.md +208 -0
  401. package/llms/references/components/segmentedcontrol/segmentedcontrol.md +125 -0
  402. package/llms/references/components/select/select.component.md +247 -0
  403. package/llms/references/components/select/select.md +57 -0
  404. package/llms/references/components/select-templating/select-templating.md +141 -0
  405. package/llms/references/components/sidepanel/sidepanel.component.md +56 -0
  406. package/llms/references/components/sidepanel/sidepanel.md +7 -0
  407. package/llms/references/components/simple-select/simple-select.component.md +45 -0
  408. package/llms/references/components/simple-select/simple-select.design.md +353 -0
  409. package/llms/references/components/simple-select/simple-select.md +302 -0
  410. package/llms/references/components/skeleton/skeleton.component.md +145 -0
  411. package/llms/references/components/skeleton/skeleton.design.md +82 -0
  412. package/llms/references/components/skeleton/skeleton.md +230 -0
  413. package/llms/references/components/skiplinks/skiplinks.component.md +91 -0
  414. package/llms/references/components/skiplinks/skiplinks.md +73 -0
  415. package/llms/references/components/software-icon/software-icon.component.md +61 -0
  416. package/llms/references/components/software-icon/software-icon.design.md +23 -0
  417. package/llms/references/components/software-icon/software-icon.md +118 -0
  418. package/llms/references/components/sortable-list/sortable-list.component.md +150 -0
  419. package/llms/references/components/sortable-list/sortable-list.md +83 -0
  420. package/llms/references/components/statusbadge/statusbadge.component.md +56 -0
  421. package/llms/references/components/statusbadge/statusbadge.design.md +58 -0
  422. package/llms/references/components/statusbadge/statusbadge.md +62 -0
  423. package/llms/references/components/switchfield/switchfield.component.md +124 -0
  424. package/llms/references/components/switchfield/switchfield.md +55 -0
  425. package/llms/references/components/tableofcontent/tableofcontent.component.md +55 -0
  426. package/llms/references/components/tableofcontent/tableofcontent.md +41 -0
  427. package/llms/references/components/tags/tags.component.md +153 -0
  428. package/llms/references/components/tags/tags.design.md +84 -0
  429. package/llms/references/components/tags/tags.md +132 -0
  430. package/llms/references/components/text-flow/text-flow.component.md +71 -0
  431. package/llms/references/components/text-flow/text-flow.design.md +42 -0
  432. package/llms/references/components/text-flow/text-flow.md +62 -0
  433. package/llms/references/components/textareafield/textareafield.component.md +57 -0
  434. package/llms/references/components/textareafield/textareafield.design.md +94 -0
  435. package/llms/references/components/textareafield/textareafield.md +122 -0
  436. package/llms/references/components/textfield/textfield.component.md +610 -0
  437. package/llms/references/components/textfield/textfield.design.md +148 -0
  438. package/llms/references/components/textfield/textfield.md +178 -0
  439. package/llms/references/components/tile/tile.component.md +91 -0
  440. package/llms/references/components/tile/tile.md +91 -0
  441. package/llms/references/components/time/time.component.md +275 -0
  442. package/llms/references/components/time/time.md +140 -0
  443. package/llms/references/components/time-picker/time-picker.design.md +124 -0
  444. package/llms/references/components/time-picker/time-picker.md +169 -0
  445. package/llms/references/components/time-range-picker/time-range-picker.component.md +5 -0
  446. package/llms/references/components/time-range-picker/time-range-picker.design.md +57 -0
  447. package/llms/references/components/time-range-picker/time-range-picker.md +46 -0
  448. package/llms/references/components/timelines/timelines.component.md +168 -0
  449. package/llms/references/components/timelines/timelines.design.md +21 -0
  450. package/llms/references/components/timelines/timelines.md +7 -0
  451. package/llms/references/components/title-and-text/title-and-text.component.md +14 -0
  452. package/llms/references/components/title-and-text/title-and-text.design.md +57 -0
  453. package/llms/references/components/title-and-text/title-and-text.md +60 -0
  454. package/llms/references/components/toasts/toasts.component.md +54 -0
  455. package/llms/references/components/toasts/toasts.design.md +76 -0
  456. package/llms/references/components/toasts/toasts.md +124 -0
  457. package/llms/references/components/tooltip/tooltip.component.md +83 -0
  458. package/llms/references/components/tooltip/tooltip.design.md +68 -0
  459. package/llms/references/components/tooltip/tooltip.md +246 -0
  460. package/llms/references/components/treeselect/treeselect.component.md +62 -0
  461. package/llms/references/components/treeselect/treeselect.md +58 -0
  462. package/llms/references/components/user-select/user-select.md +52 -0
  463. package/llms/references/components/userpopover/userpopover.component.md +51 -0
  464. package/llms/references/components/userpopover/userpopover.design.md +74 -0
  465. package/llms/references/components/userpopover/userpopover.md +155 -0
  466. package/llms/references/components/verticalnavigation/verticalnavigation.component.md +247 -0
  467. package/llms/references/components/verticalnavigation/verticalnavigation.md +128 -0
  468. package/llms/references/documentation/content/accessibilite-contenu.md +147 -0
  469. package/llms/references/documentation/content/blocage-contenu.md +49 -0
  470. package/llms/references/documentation/content/criteres-essentiels.md +54 -0
  471. package/llms/references/documentation/content/dates.md +76 -0
  472. package/llms/references/documentation/content/grammaire-orthographe.md +118 -0
  473. package/llms/references/documentation/content/infinitif-imperatif.md +21 -0
  474. package/llms/references/documentation/content/jargon.md +30 -0
  475. package/llms/references/documentation/content/messages-erreur.md +279 -0
  476. package/llms/references/documentation/content/nombres.md +127 -0
  477. package/llms/references/documentation/content/ponctuation-typographie.md +343 -0
  478. package/llms/references/documentation/content/possessifs-pronoms.md +48 -0
  479. package/llms/references/documentation/content/ressources-definitions.md +58 -0
  480. package/llms/references/documentation/content/singulier-pluriel.md +72 -0
  481. package/llms/references/documentation/content/tester-clarte.md +141 -0
  482. package/llms/references/documentation/content/verbes-action.md +99 -0
  483. package/llms/references/documentation/content/voix-humaine.md +79 -0
  484. package/llms/references/documentation/deprecated/deprecated.md +151 -0
  485. package/llms/references/documentation/guidelines/guidelines-dev-ui.md +375 -0
  486. package/llms/references/documentation/patterns/actions-suppression.md +42 -0
  487. package/llms/references/documentation/patterns/aide-contextuelle.md +29 -0
  488. package/llms/references/documentation/patterns/card-et-box.md +56 -0
  489. package/llms/references/documentation/patterns/champs-conditionnels.md +38 -0
  490. package/llms/references/documentation/patterns/champs-effacables.md +34 -0
  491. package/llms/references/documentation/patterns/conception-formulaire.md +144 -0
  492. package/llms/references/documentation/patterns/cycle-vie-ressource.md +36 -0
  493. package/llms/references/documentation/patterns/dialogs-confirmation.md +160 -0
  494. package/llms/references/documentation/patterns/donnee-logiciel.md +66 -0
  495. package/llms/references/documentation/patterns/emails.md +99 -0
  496. package/llms/references/documentation/patterns/etats-chargement.md +90 -0
  497. package/llms/references/documentation/patterns/feedback.md +111 -0
  498. package/llms/references/documentation/patterns/gestion-erreurs-formulaire.md +48 -0
  499. package/llms/references/documentation/patterns/identification-pages.md +224 -0
  500. package/llms/references/documentation/patterns/metadonnees.md +79 -0
  501. package/llms/references/documentation/patterns/modes-affichage.md +51 -0
  502. package/llms/references/documentation/patterns/navigation-mobile.md +222 -0
  503. package/llms/references/documentation/patterns/niveaux-navigation.md +207 -0
  504. package/llms/references/documentation/patterns/parcours-creation-ressource-sans-diffusion.md +184 -0
  505. package/llms/references/documentation/patterns/parcours-creation-ressource.md +184 -0
  506. package/llms/references/documentation/patterns/pattern-ia.md +128 -0
  507. package/llms/references/documentation/patterns/placeholders.md +68 -0
  508. package/llms/references/documentation/patterns/push-notification-mobile.md +46 -0
  509. package/llms/references/documentation/patterns/quitter-formulaire.md +27 -0
  510. package/llms/references/documentation/patterns/regles-or.md +93 -0
  511. package/llms/references/documentation/patterns/responsive-design.md +119 -0
  512. package/llms/references/documentation/patterns/selection-population.md +135 -0
  513. package/llms/references/documentation/patterns/structure-accordeon.md +42 -0
  514. package/llms/references/documentation/patterns/traduction-formulaire.md +136 -0
  515. package/llms/references/documentation/patterns/vues-filtres-navigation.md +86 -0
  516. package/llms/references/documentation/patterns/widgets.md +64 -0
  517. package/llms/references/documentation/tokens/arrondis.md +65 -0
  518. package/llms/references/documentation/tokens/couleurs.md +560 -0
  519. package/llms/references/documentation/tokens/design-tokens.md +47 -0
  520. package/llms/references/documentation/tokens/elevations.md +78 -0
  521. package/llms/references/documentation/tokens/espacements.md +22 -0
  522. package/llms/references/documentation/tokens/noms-de-logiciels.md +81 -0
  523. package/llms/references/documentation/tokens/typographie.md +261 -0
  524. package/llms/references/migrations.md +31 -0
  525. package/llms/references/tools/angular-api.md +407 -0
  526. package/llms/references/tools/animations.md +177 -0
  527. package/llms/references/tools/mixins.md +119 -0
  528. package/llms/references/tools/numbers.md +81 -0
  529. package/llms/references/tools/scrollbox.md +11 -0
  530. package/llms/references/tools/utilitaires.md +998 -0
  531. package/llms/references/types/BubbleIllustration.md +5 -0
  532. package/llms/references/types/DecorativePalette.md +5 -0
  533. package/llms/references/types/Gap.md +5 -0
  534. package/llms/references/types/HighlightDataIllustration.md +5 -0
  535. package/llms/references/types/HighlightSectionIllustration.md +5 -0
  536. package/llms/references/types/LuccaIcon.md +5 -0
  537. package/llms/references/types/MainLayoutIllustrationEndStart.md +5 -0
  538. package/llms/references/types/MainLayoutIllustrationStartEnd.md +5 -0
  539. package/llms.txt +230 -0
  540. package/package.json +11 -8
  541. package/schematics/color-text/index.js +0 -1
  542. package/schematics/lu-button/migration.js +59 -33
  543. package/src/components/_sidepanel.scss +2 -2
  544. package/src/components/cdk/_global.scss +4 -0
  545. package/src/components/cdk/_overlay.scss +1 -1
  546. package/types/lucca-front-ng-activity-feed.d.ts +13 -9
  547. package/types/lucca-front-ng-api.d.ts +28 -28
  548. package/types/lucca-front-ng-approbation-inbox.d.ts +19 -11
  549. package/types/lucca-front-ng-bubble-icon.d.ts +1 -1
  550. package/types/lucca-front-ng-bubble-illustration.d.ts +6 -2
  551. package/types/lucca-front-ng-callout.d.ts +17 -17
  552. package/types/lucca-front-ng-chip.d.ts +6 -6
  553. package/types/lucca-front-ng-clear.d.ts +1 -1
  554. package/types/lucca-front-ng-color.d.ts +3 -3
  555. package/types/lucca-front-ng-comment.d.ts +11 -11
  556. package/types/lucca-front-ng-container.d.ts +1 -1
  557. package/types/lucca-front-ng-core-select-api.d.ts +7 -7
  558. package/types/lucca-front-ng-core-select-department.d.ts +7 -5
  559. package/types/lucca-front-ng-core-select-establishment.d.ts +7 -5
  560. package/types/lucca-front-ng-core-select-job-qualification.d.ts +2 -2
  561. package/types/lucca-front-ng-core-select-legal-units.d.ts +3 -3
  562. package/types/lucca-front-ng-core-select-occupation-category.d.ts +2 -2
  563. package/types/lucca-front-ng-core-select-user.d.ts +14 -12
  564. package/types/lucca-front-ng-core-select.d.ts +44 -39
  565. package/types/lucca-front-ng-core.d.ts +8 -3
  566. package/types/lucca-front-ng-data-table.d.ts +33 -33
  567. package/types/lucca-front-ng-date.d.ts +15 -11
  568. package/types/lucca-front-ng-date2.d.ts +52 -37
  569. package/types/lucca-front-ng-department.d.ts +4 -2
  570. package/types/lucca-front-ng-dialog.d.ts +8 -8
  571. package/types/lucca-front-ng-divider.d.ts +2 -2
  572. package/types/lucca-front-ng-dropdown.d.ts +4 -3
  573. package/types/lucca-front-ng-empty-state.d.ts +20 -20
  574. package/types/lucca-front-ng-establishment.d.ts +16 -14
  575. package/types/lucca-front-ng-fancy-box.d.ts +12 -12
  576. package/types/lucca-front-ng-file-upload.d.ts +13 -13
  577. package/types/lucca-front-ng-filter-pills.d.ts +17 -17
  578. package/types/lucca-front-ng-footer.d.ts +1 -1
  579. package/types/lucca-front-ng-form-field.d.ts +19 -19
  580. package/types/lucca-front-ng-form-label.d.ts +4 -4
  581. package/types/lucca-front-ng-form.d.ts +1 -1
  582. package/types/lucca-front-ng-forms-phone-number-input.d.ts +12 -11
  583. package/types/lucca-front-ng-forms-rich-text-input.d.ts +11 -11
  584. package/types/lucca-front-ng-forms.d.ts +61 -51
  585. package/types/lucca-front-ng-grid.d.ts +23 -23
  586. package/types/lucca-front-ng-highlight-data.d.ts +5 -5
  587. package/types/lucca-front-ng-highlight-section.d.ts +6 -3
  588. package/types/lucca-front-ng-horizontal-navigation.d.ts +4 -4
  589. package/types/lucca-front-ng-impersonation.d.ts +8 -6
  590. package/types/lucca-front-ng-index-table.d.ts +18 -18
  591. package/types/lucca-front-ng-inline-message.d.ts +2 -2
  592. package/types/lucca-front-ng-input.d.ts +4 -2
  593. package/types/lucca-front-ng-link.d.ts +17 -4
  594. package/types/lucca-front-ng-listbox.d.ts +9 -9
  595. package/types/lucca-front-ng-listing.d.ts +14 -3
  596. package/types/lucca-front-ng-loading.d.ts +4 -4
  597. package/types/lucca-front-ng-main-layout.d.ts +9 -9
  598. package/types/lucca-front-ng-mobile-push.d.ts +1 -0
  599. package/types/lucca-front-ng-modal.d.ts +2 -2
  600. package/types/lucca-front-ng-multi-select.d.ts +20 -20
  601. package/types/lucca-front-ng-option.d.ts +41 -20
  602. package/types/lucca-front-ng-page-header.d.ts +2 -2
  603. package/types/lucca-front-ng-pagination.d.ts +3 -3
  604. package/types/lucca-front-ng-plg-push.d.ts +1 -0
  605. package/types/lucca-front-ng-popover.d.ts +30 -18
  606. package/types/lucca-front-ng-popover2.d.ts +8 -8
  607. package/types/lucca-front-ng-popup.d.ts +2 -2
  608. package/types/{lucca-front-ng-priority-levels.d.ts → lucca-front-ng-priority-level.d.ts} +11 -11
  609. package/types/lucca-front-ng-progress-bar.d.ts +1 -1
  610. package/types/lucca-front-ng-progress-stepper.d.ts +2 -2
  611. package/types/lucca-front-ng-read-more.d.ts +4 -4
  612. package/types/lucca-front-ng-resource-card.d.ts +3 -3
  613. package/types/lucca-front-ng-segmented-control-tabs.d.ts +5 -5
  614. package/types/lucca-front-ng-segmented-control.d.ts +3 -3
  615. package/types/lucca-front-ng-select.d.ts +11 -10
  616. package/types/lucca-front-ng-sidepanel.d.ts +2 -1
  617. package/types/lucca-front-ng-simple-select.d.ts +9 -8
  618. package/types/lucca-front-ng-software-icon.d.ts +3 -3
  619. package/types/lucca-front-ng-sortable-list.d.ts +1 -1
  620. package/types/lucca-front-ng-status-badge.d.ts +1 -1
  621. package/types/lucca-front-ng-time.d.ts +21 -20
  622. package/types/lucca-front-ng-toast.d.ts +1 -1
  623. package/types/lucca-front-ng-tree-select.d.ts +2 -2
  624. package/types/lucca-front-ng-user-popover.d.ts +1 -1
  625. package/types/lucca-front-ng-user.d.ts +29 -21
  626. package/types/lucca-front-ng-vertical-navigation.d.ts +5 -5
  627. package/fesm2022/lucca-front-ng-priority-levels.mjs +0 -128
  628. package/fesm2022/lucca-front-ng-priority-levels.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-dialog.mjs","sources":["../../../packages/ng/dialog/dialog-content/dialog-content.component.ts","../../../packages/ng/dialog/dialog-footer/dialog-footer.component.ts","../../../packages/ng/dialog/model/dialog-config.ts","../../../packages/ng/dialog/model/dialog-ref.ts","../../../packages/ng/dialog/model/injectors.ts","../../../packages/ng/dialog/dialog-header/translations.ts","../../../packages/ng/dialog/dialog-header/dialog-header.translate.ts","../../../packages/ng/dialog/dialog-header/dialog-header.component.ts","../../../packages/ng/dialog/dialog-header/dialog-header.component.html","../../../packages/ng/dialog/dialog.service.ts","../../../packages/ng/dialog/dialog.providers.ts","../../../packages/ng/dialog/dialog-routing/dialog-routing.models.ts","../../../packages/ng/dialog/dialog-routing/dialog-routing.reuse-strategy.ts","../../../packages/ng/dialog/dialog-routing/dialog-routing.utils.ts","../../../packages/ng/dialog/dialog-routing/dialog-routing.component.ts","../../../packages/ng/dialog/dialog.type.ts","../../../packages/ng/dialog/dialog/dialog.component.ts","../../../packages/ng/dialog/dialog/dialog.component.html","../../../packages/ng/dialog/directives/dialog-close.directive.ts","../../../packages/ng/dialog/directives/dialog-dismiss.directive.ts","../../../packages/ng/dialog/directives/dialog-open.directive.ts","../../../packages/ng/dialog/lucca-front-ng-dialog.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dialog-content',\n\ttemplate: '<ng-content />',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dialog-inside-content',\n\t},\n})\nexport class DialogContentComponent {}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dialog-footer',\n\ttemplate: '<ng-content />',\n\tstyleUrl: './dialog-footer.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dialog-inside-footer footer',\n\t},\n})\nexport class DialogFooterComponent {}\n","import { AutoFocusTarget, DialogConfig } from '@angular/cdk/dialog';\nimport { ComponentType } from '@angular/cdk/overlay';\nimport { TemplateRef } from '@angular/core';\nimport { Observable } from 'rxjs';\n\nconst ɵdialogData = Symbol.for('luDialogData');\nconst ɵdialogResult = Symbol.for('luDialogResult');\n\nexport type ɵDialogDataFlag = { [ɵdialogData]: unknown };\nexport type ɵDialogResultFlag<R> = { [ɵdialogResult]: R };\n\nexport type LuDialogData<T> = {\n\t[K in keyof T]: T[K] extends ɵDialogDataFlag ? Omit<T[K], typeof ɵdialogData> : never;\n}[keyof T];\n\ntype DialogRefProps<C> = { [K in keyof C]: C[K] extends ɵDialogResultFlag<unknown> ? K : never }[keyof C] & keyof C;\nexport type LuDialogResult<C> = DialogRefProps<C> extends never ? void : C[DialogRefProps<C>] extends ɵDialogResultFlag<infer T> ? T : void;\n\ntype BaseLuDialogConfig<C, TData = LuDialogData<C>> = {\n\t/**\n\t * The component or template to put inside the dialog container\n\t */\n\tcontent: ComponentType<C> | TemplateRef<C>;\n\n\t/**\n\t * Data to pass to the component, will be required if the component used `injectDialogData` in a field, specifying the data that's needed.\n\t */\n\tdata: TData;\n\n\t/**\n\t * Should we put a backdrop? Defaults to true\n\t */\n\tmodal?: boolean;\n\n\t/**\n\t * Is this dialog a blocking popup that cannot be dismissed ?\n\t *\n\t * Defaults to false, setting this to true will also remove the close button in the header\n\t * if you're using `lu-dialog-header`.\n\t */\n\talert?: boolean;\n\n\t/**\n\t * Can be used if you don't have a header or aren't using the default one, to set an aria-label\n\t * instead of aria-labelledby on the dialog container\n\t */\n\tariaLabel?: string;\n\n\t/**\n\t * Autofocus target\n\t *\n\t * Defaults to the close button from the header, first-input is added by us to focus the first available input\n\t * or the first input that is contained inside a node that has the `.luDialog-autofocus` class\n\t */\n\tautoFocus?: AutoFocusTarget | 'first-input' | string;\n\n\t/**\n\t * This provides a way to override any of the configuration parameters expected by cdk's `Dialog.open` method.\n\t *\n\t * WARNING: this will take full authority and override with your values no matter what's computed by LuDialogService,\n\t * use with caution.\n\t */\n\tcdkConfigOverride?: DialogConfig<C>;\n\n\t/**\n\t * A hook function to determine if the current dialog can be closed or not, if provided.\n\t *\n\t * @param comp the instance of the component that's inside the dialog box.\n\t */\n\tcanClose?: (comp: C) => boolean | Observable<boolean>;\n\n\t/**\n\t * A hook function to determine if the current dialog can be dismissed or not.\n\t * Unlike `canClose`, this does not require a component instance and is suitable for template-based dialogs.\n\t */\n\tcanDismiss?: () => boolean | Observable<boolean>;\n\n\t/**\n\t * Determine if the current dialog can be close by a click on backdrop or escape key\n\t */\n\tcanCloseWithBackdrop?: boolean;\n\n\t/**\n\t * The size of the panel used for the dialog\n\t */\n\tsize?: LuDialogSize;\n\n\t/**\n\t * Should it be a modal (default), a drawer? a drawer from bottom?\n\t */\n\tmode?: 'default' | 'drawer' | 'drawer-from-bottom' | 'fancy' | 'sheet';\n\n\t/**\n\t * Classes to add to the panel\n\t */\n\tpanelClasses?: string[];\n\n\t/**\n\t * Should the dialog have a neutral background?\n\t */\n\tsurfaceDefault?: boolean;\n};\n\nexport type LuDialogConfig<T, TData = LuDialogData<T>> = [TData] extends [never] ? Omit<BaseLuDialogConfig<T, TData>, 'data'> : BaseLuDialogConfig<T, TData>;\n\nexport type LuDialogSize = 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL' | 'fitContent' | `maxContent` | 'fullScreen';\n","import { DialogRef } from '@angular/cdk/dialog';\nimport { isNotNil } from '@lucca-front/ng/core';\nimport { isObservable, Observable, of, Subscription, take } from 'rxjs';\nimport { filter, map, takeUntil } from 'rxjs/operators';\nimport { LuDialogConfig, LuDialogData, LuDialogResult, LuDialogSize } from './dialog-config';\n\nexport const DISMISSED_VALUE = {} as const;\n\nfunction isDismissed(v: unknown): v is typeof DISMISSED_VALUE {\n\treturn v === DISMISSED_VALUE;\n}\n\nexport class LuDialogRef<C = unknown, TData = LuDialogData<C>> {\n\t/**\n\t * Instance of the component that's inside the dialog\n\t */\n\tget instance(): C | null {\n\t\treturn this.cdkRef.componentInstance;\n\t}\n\n\t/**\n\t * Subscription to the detachments of the dialog\n\t * This is used to close the dialog when it is detached\n\t */\n\tdetachSubscription: Subscription | null = null;\n\n\t/**\n\t * Emits when the dialog is closed\n\t *\n\t * Emits either the output of result$ or undefined depending on how it has been closed\n\t */\n\tclosed$: Observable<LuDialogResult<C> | undefined> = this.cdkRef.closed.pipe(map((res): LuDialogResult<C> | undefined => (isDismissed(res) ? undefined : res)));\n\n\t/**\n\t * Emits void when the dialog is dismissed\n\t */\n\tdismissed$: Observable<void> = this.cdkRef.closed.pipe(\n\t\tfilter((res) => res === DISMISSED_VALUE),\n\t\tmap((): void => undefined),\n\t);\n\n\t/**\n\t * Emits the result if it has a value that's not DISMISSED_VALUE\n\t */\n\tresult$: Observable<LuDialogResult<C>> = this.cdkRef.closed.pipe(filter((res): res is LuDialogResult<C> => !isDismissed(res)));\n\n\tconstructor(\n\t\tpublic readonly cdkRef: DialogRef<LuDialogResult<C> | typeof DISMISSED_VALUE, C>,\n\t\tpublic readonly config: LuDialogConfig<C, TData>,\n\t) {\n\t\tthis.detachSubscription = cdkRef.overlayRef\n\t\t\t.detachments()\n\t\t\t.pipe(takeUntil(this.closed$))\n\t\t\t.subscribe(() => {\n\t\t\t\tcdkRef.close(DISMISSED_VALUE);\n\t\t\t});\n\t}\n\n\tdismiss(): void {\n\t\t// If we can't dismiss this dialog box, just ignore the dismiss call.\n\t\tif (this.config.alert) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.canDismiss$()\n\t\t\t.pipe(take(1))\n\t\t\t.subscribe((close) => {\n\t\t\t\tif (close) {\n\t\t\t\t\tthis.detachSubscription?.unsubscribe();\n\t\t\t\t\tthis.cdkRef.close(DISMISSED_VALUE);\n\t\t\t\t}\n\t\t\t});\n\t}\n\n\t/**\n\t * @internal\n\t * Resolves whether the dialog can be dismissed, shared by every dismiss trigger (header button, escape key, backdrop click).\n\t * A dialog rendering a template (e.g. a routed dialog) has no component instance, so it relies on `canDismiss`.\n\t */\n\tcanDismiss$(): Observable<boolean> {\n\t\tlet canClose: boolean | Observable<boolean> = true;\n\n\t\ttry {\n\t\t\tif (isNotNil(this.instance)) {\n\t\t\t\tcanClose = this.config.canClose?.(this.instance) ?? true;\n\t\t\t} else if (this.config.canDismiss) {\n\t\t\t\tcanClose = this.config.canDismiss();\n\t\t\t}\n\t\t} catch {\n\t\t\tcanClose = true;\n\t\t}\n\n\t\treturn isObservable(canClose) ? canClose : of(canClose);\n\t}\n\n\tclose(res: LuDialogResult<C>): void {\n\t\tthis.detachSubscription?.unsubscribe();\n\t\tthis.cdkRef.close(res);\n\t}\n\n\tresize(size: LuDialogSize): void {\n\t\tif (this.config.size === size) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.cdkRef.removePanelClass(`mod-${this.config.size || 'M'}`);\n\t\tthis.cdkRef.addPanelClass(`mod-${size}`);\n\t\tthis.config.size = size;\n\t}\n}\n\nexport type LuDialogSelfRef<R> = { dismiss(): void; close(res: R | null | undefined): void; resize(size: LuDialogSize): void };\n","import { DIALOG_DATA } from '@angular/cdk/dialog';\nimport { inject } from '@angular/core';\nimport { ɵDialogDataFlag, ɵDialogResultFlag } from './dialog-config';\nimport { LuDialogRef, LuDialogSelfRef } from './dialog-ref';\n\nexport function injectDialogData<TData>(): TData & ɵDialogDataFlag {\n\treturn inject<TData & ɵDialogDataFlag>(DIALOG_DATA);\n}\n\nexport function injectDialogRef<R = void>(): LuDialogSelfRef<R> & ɵDialogResultFlag<R> {\n\treturn inject<LuDialogSelfRef<R>>(LuDialogRef) as LuDialogSelfRef<R> & ɵDialogResultFlag<R>;\n}\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_DIALOG_HEADER_TRANSLATIONS = new InjectionToken('LuDialogHeaderTranslations', {\n\tfactory: () => luDialogHeaderTranslations,\n});\n\nexport interface LuDialogHeaderTranslations {\n\tclose: string;\n}\n\nexport const luDialogHeaderTranslations: LuTranslation<LuDialogHeaderTranslations> = Translations;\n","import { CdkDialogContainer } from '@angular/cdk/dialog';\nimport { afterRenderEffect, ChangeDetectionStrategy, Component, contentChild, Directive, ElementRef, inject, input, OnDestroy, Renderer2, ViewEncapsulation } from '@angular/core';\nimport { ButtonComponent } from '@lucca-front/ng/button';\nimport { intlInputOptions } from '@lucca-front/ng/core';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { LuDialogRef } from '../model';\nimport { LU_DIALOG_HEADER_TRANSLATIONS } from './dialog-header.translate';\n\nlet nextId = 0;\n\n@Directive({\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: '[dialogHeaderAction]',\n})\nexport class DialogHeaderAction {}\n\n@Directive({\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: '[dialogHeaderSubtitle]',\n})\nexport class DialogHeaderSubtitle {}\n\n@Component({\n\tselector: 'lu-dialog-header',\n\tstandalone: true,\n\timports: [IconComponent, ButtonComponent],\n\ttemplateUrl: './dialog-header.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dialog-inside-header',\n\t},\n})\nexport class DialogHeaderComponent implements OnDestroy {\n\t#ref = inject(LuDialogRef);\n\n\treadonly intl = input(...intlInputOptions(LU_DIALOG_HEADER_TRANSLATIONS));\n\n\tdismissible = !this.#ref.config.alert;\n\n\t#elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n\t#renderer = inject(Renderer2);\n\n\t#registeredAriaLabelledById: string | undefined;\n\n\tconstructor() {\n\t\tafterRenderEffect(() => this.#syncAriaLabelledBy());\n\t}\n\n\tclose(): void {\n\t\tthis.#ref.dismiss();\n\t}\n\n\treadonly optionalAction = contentChild(DialogHeaderAction);\n\n\treadonly optionalSubtitle = contentChild(DialogHeaderSubtitle);\n\n\tngOnDestroy(): void {\n\t\tthis.#unregisterAriaLabelledBy();\n\t}\n\n\t#syncAriaLabelledBy(): void {\n\t\tconst header = this.#elementRef.nativeElement.querySelector('h1');\n\t\tif (!header) {\n\t\t\tthis.#unregisterAriaLabelledBy();\n\t\t\treturn;\n\t\t}\n\n\t\tconst id = header.id || `lu-dialog-header-${nextId++}`;\n\t\tif (id === this.#registeredAriaLabelledById) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.#unregisterAriaLabelledBy();\n\t\tthis.#renderer.setAttribute(header, 'id', id);\n\t\tthis.#renderer.addClass(header, 'dialog-inside-header-container-title');\n\t\t(this.#ref.cdkRef.containerInstance as CdkDialogContainer)?._addAriaLabelledBy(id);\n\t\tthis.#registeredAriaLabelledById = id;\n\t}\n\n\t#unregisterAriaLabelledBy(): void {\n\t\tif (!this.#registeredAriaLabelledById) {\n\t\t\treturn;\n\t\t}\n\t\t(this.#ref.cdkRef.containerInstance as CdkDialogContainer)?._removeAriaLabelledBy(this.#registeredAriaLabelledById);\n\t\tthis.#registeredAriaLabelledById = undefined;\n\t}\n}\n","@if (dismissible) {\n\t<button class=\"dialog-inside-header-button\" type=\"button\" luButton (click)=\"close()\">\n\t\t<lu-icon icon=\"signClose\" [alt]=\"intl().close\" />\n\t</button>\n}\n@if (optionalAction()) {\n\t<div class=\"dialog-inside-header-actionOptional\"><ng-content select=\"[dialogHeaderAction]\" /></div>\n}\n\n<div class=\"dialog-inside-header-container\">\n\t<ng-content />\n\t@if (optionalSubtitle()) {\n\t\t<div class=\"dialog-inside-header-container-subtitle\"><ng-content select=\"[dialogHeaderSubtitle]\" /></div>\n\t}\n</div>\n\n<div class=\"dialog-inside-header-content\">\n\t<ng-content select=\"[dialogHeaderContent]\" />\n</div>\n","import { Dialog, DialogRef } from '@angular/cdk/dialog';\nimport { Overlay } from '@angular/cdk/overlay';\nimport { afterNextRender, EnvironmentInjector, inject, Injectable, Injector, Renderer2 } from '@angular/core';\nimport { merge, take } from 'rxjs';\nimport { filter, switchMap, takeUntil } from 'rxjs/operators';\nimport { LuDialogConfig, LuDialogData, LuDialogRef, LuDialogResult } from './model';\nimport { DISMISSED_VALUE } from './model/dialog-ref';\n\n@Injectable()\nexport class LuDialogService {\n\t#cdkDialog = inject(Dialog);\n\n\t#overlay = inject(Overlay);\n\n\t#injector = inject(Injector);\n\n\t#environmentInjector = inject(EnvironmentInjector);\n\n\topen<C, TData = LuDialogData<C>>(config: LuDialogConfig<C, NoInfer<TData>>): LuDialogRef<C, TData> {\n\t\t// Assigned synchronously inside the `providers` callback below, which CDK calls during `Dialog.open()`.\n\t\tlet luDialogRef!: LuDialogRef<C, TData>;\n\t\tlet modeClasses: string[] = [];\n\t\tswitch (config.mode) {\n\t\t\tcase 'drawer':\n\t\t\t\tmodeClasses = ['mod-drawer'];\n\t\t\t\tbreak;\n\t\t\tcase 'fancy':\n\t\t\t\tmodeClasses = ['mod-fancy'];\n\t\t\t\tbreak;\n\t\t\tcase 'sheet':\n\t\t\t\tmodeClasses = ['mod-drawer', 'mod-fromBottom', 'mod-sheet'];\n\t\t\t\tbreak;\n\t\t\tcase 'drawer-from-bottom':\n\t\t\t\tmodeClasses = ['mod-drawer', 'mod-fromBottom'];\n\t\t\t\tbreak;\n\t\t}\n\t\t// Built explicitly (rather than left to CDK's default) so we can force a re-check below.\n\t\tconst scrollStrategy = config.cdkConfigOverride?.scrollStrategy ?? this.#overlay.scrollStrategies.block();\n\n\t\tconst cdkRef = this.#cdkDialog.open(config.content, {\n\t\t\tariaModal: config.modal ?? true,\n\t\t\thasBackdrop: config.modal ?? true,\n\t\t\tdata: 'data' in config ? config.data : null,\n\t\t\tdisableClose: true,\n\t\t\tcloseOnDestroy: true,\n\t\t\trole: config.alert ? 'alertdialog' : 'dialog',\n\t\t\trestoreFocus: true,\n\t\t\tbackdropClass: 'dialog_backdrop',\n\t\t\tpanelClass: ['dialog', `mod-${config.size || 'M'}`, ...modeClasses, ...(config.surfaceDefault ? ['mod-surfaceDefault'] : []), ...(config.panelClasses || [])],\n\n\t\t\tariaLabel: config.ariaLabel,\n\t\t\t// Handle manually\n\t\t\tcloseOnOverlayDetachments: false,\n\t\t\t// If focus is first-input, focus dialog and let the component do the rest\n\t\t\t// Else, just set it to config value or default to first-tabbable\n\t\t\tautoFocus: config.autoFocus === 'first-input' ? 'dialog' : (config.autoFocus ?? 'first-tabbable'),\n\t\t\ttemplateContext: () => ({ dialogRef: luDialogRef }),\n\t\t\tinjector: this.#injector,\n\t\t\tscrollStrategy,\n\t\t\tproviders: (ref: DialogRef<LuDialogResult<C>, C>) => {\n\t\t\t\tluDialogRef = new LuDialogRef(ref, config);\n\t\t\t\treturn [\n\t\t\t\t\t{\n\t\t\t\t\t\tprovide: LuDialogRef,\n\t\t\t\t\t\tuseValue: luDialogRef,\n\t\t\t\t\t},\n\t\t\t\t];\n\t\t\t},\n\t\t\t...(config.cdkConfigOverride || {}),\n\t\t});\n\n\t\t// Re-check once the view is stable: block strategy only locks scroll if the page already\n\t\t// overflows at attach time, which can miss for dialogs opened asynchronously (e.g. via a route).\n\t\t// With `provideLuDialog()` on a directive, `#injector` is the trigger's node injector.\n\t\t// A `lu-dropdown-action` trigger is already destroyed by this click: `afterNextRender` on it would throw `NG0911`.\n\t\tafterNextRender(() => scrollStrategy.enable(), { injector: this.#environmentInjector });\n\n\t\tif (cdkRef.componentRef) {\n\t\t\tconst renderer = cdkRef.componentRef.injector.get(Renderer2);\n\t\t\trenderer.setStyle(cdkRef.componentRef.location.nativeElement, 'display', 'contents');\n\t\t}\n\n\t\tif (!config.alert) {\n\t\t\t// Setup close listeners on backdrop click and escape key by ourselves so we can hook the `canClose` method to it.\n\t\t\tmerge(cdkRef.backdropClick, cdkRef.keydownEvents.pipe(filter((e) => e.key === 'Escape' && !e.defaultPrevented)))\n\t\t\t\t.pipe(\n\t\t\t\t\tfilter(() => config.canCloseWithBackdrop ?? true),\n\t\t\t\t\tswitchMap(() => luDialogRef.canDismiss$().pipe(take(1))),\n\t\t\t\t\ttakeUntil(luDialogRef.closed$),\n\t\t\t\t)\n\t\t\t\t.subscribe((canClose) => {\n\t\t\t\t\tif (canClose) {\n\t\t\t\t\t\tluDialogRef.detachSubscription?.unsubscribe();\n\t\t\t\t\t\tcdkRef.close(DISMISSED_VALUE);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t}\n\n\t\treturn luDialogRef;\n\t}\n}\n","import { EnvironmentProviders, importProvidersFrom, makeEnvironmentProviders, Provider } from '@angular/core';\nimport { DialogModule } from '@angular/cdk/dialog';\nimport { LuDialogService } from './dialog.service';\n\nexport function configureLuDialog(): EnvironmentProviders {\n\treturn makeEnvironmentProviders([importProvidersFrom(DialogModule)]);\n}\n\nexport function provideLuDialog(): Provider {\n\treturn LuDialogService;\n}\n","import { ComponentType } from '@angular/cdk/overlay';\nimport { InjectionToken } from '@angular/core';\nimport { Route } from '@angular/router';\nimport { LuDialogConfig, LuDialogData, LuDialogResult } from '../model';\nimport { DialogResolveFn } from './dialog-routing.utils';\n\nexport type DialogRouteComponentLoader<C> =\n\t| {\n\t\t\tcomponent: ComponentType<C>;\n\t }\n\t| {\n\t\t\tloadComponent: () => Promise<ComponentType<C>>;\n\t };\n\nexport type DialogRouteCloseTrigger = 'navigation' | 'dialog:closed';\nexport type DialogRouteDismissTrigger = 'navigation' | 'dialog:dismissed';\n\nexport type DialogRouteConfig<C> = DialogRouteComponentLoader<C> & {\n\tdialogConfigFactory: DialogResolveFn<DialogRouteDialogConfig<C>>;\n\tdataFactory: LuDialogData<C> extends never ? undefined : DialogResolveFn<LuDialogData<C>>;\n\t/**\n\t * When the dialog is closed, this callback is called with the result of the dialog.\n\t * This callback is called within injection context, so you can inject services in it.\n\t *\n\t * If needed, the reason the dialog was closed can retrieved using `inject(DIALOG_ROUTE_CLOSE_TRIGGER)`\n\t */\n\tonClosed?: (res: LuDialogResult<C>) => unknown;\n\t/**\n\t * When the dialog is dismissed, this callback is called.\n\t * This callback is called within injection context, so you can inject services in it.\n\t *\n\t * If needed, the reason the dialog was dismissed can retrieved using `inject(DIALOG_ROUTE_DISMISS_TRIGGER)`\n\t */\n\tonDismissed?: () => unknown;\n} & Omit<Route, 'component' | 'loadComponent'>;\n\nexport type DialogRouteDialogConfig<C> = Omit<LuDialogConfig<C>, 'data' | 'content'>;\n\nexport interface DialogRouteData<C> {\n\tdialogRouteConfig: DialogRouteConfig<C>;\n}\n\nexport const DIALOG_ROUTE_CLOSE_TRIGGER = new InjectionToken<DialogRouteCloseTrigger>('DIALOG_ROUTE_CLOSE_TRIGGER');\nexport const DIALOG_ROUTE_DISMISS_TRIGGER = new InjectionToken<DialogRouteDismissTrigger>('DIALOG_ROUTE_DISMISS_TRIGGER');\nexport const DIALOG_ROUTE_CONFIG = new InjectionToken<DialogRouteConfig<unknown>>('DIALOG_ROUTE_CONFIG');\n","import { EnvironmentProviders, makeEnvironmentProviders } from '@angular/core';\nimport { ActivatedRouteSnapshot, BaseRouteReuseStrategy, RouteReuseStrategy } from '@angular/router';\n\nexport function provideDialogRoutingReuseStrategy(): EnvironmentProviders {\n\treturn makeEnvironmentProviders([{ provide: RouteReuseStrategy, useClass: LuccaDialogRoutingReuseStrategy }]);\n}\n\nexport const noRouteReuseFlag = Symbol('ɵdoNotReuseComponentFlag');\n\nexport class LuccaDialogRoutingReuseStrategy extends BaseRouteReuseStrategy {\n\toverride shouldReuseRoute(future: ActivatedRouteSnapshot, current: ActivatedRouteSnapshot): boolean {\n\t\tconst base = super.shouldReuseRoute(future, current);\n\n\t\tif (!base) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Modal should close then re-open when navigating to the same route with different parameters\n\t\tif (future.component?.[noRouteReuseFlag]) {\n\t\t\tconst futureUrlSegments = future.url.map((s) => s.path).join('/');\n\t\t\tconst currentUrlSegments = current.url.map((s) => s.path).join('/');\n\t\t\treturn futureUrlSegments === currentUrlSegments;\n\t\t}\n\n\t\treturn true;\n\t}\n}\n","import { ComponentType } from '@angular/cdk/overlay';\nimport { inject } from '@angular/core';\nimport { CanActivate, CanDeactivateFn, DeprecatedGuard, Route } from '@angular/router';\nimport { firstValueFrom, from, isObservable, Observable, of } from 'rxjs';\nimport { LuDialogData } from '../model';\nimport { DialogRoutingContainerComponent } from './dialog-routing.component';\nimport { DialogRouteConfig, DialogRouteData, DialogRouteDialogConfig } from './dialog-routing.models';\n\nexport type Deferrable<T> = Promise<T> | Observable<T> | T;\nexport type DialogResolveFn<T> = () => Deferrable<T>;\n\nexport async function deferrableToPromise<T>(deferrable: Promise<T> | Observable<T> | T): Promise<T> {\n\treturn isObservable(deferrable) ? firstValueFrom(deferrable) : deferrable;\n}\n\nexport function deferrableToObservable<T>(deferrable: Promise<T> | Observable<T> | T): Observable<T> {\n\treturn isObservable(deferrable) ? deferrable : deferrable instanceof Promise ? from(deferrable) : of(deferrable);\n}\n\nexport function createDialogRoute<C>(dialogRouteConfig: DialogRouteConfig<C>): Route {\n\tconst { dialogConfigFactory, dataFactory, canMatch, outlet, ...baseRoute } = dialogRouteConfig;\n\n\tconst data: DialogRouteData<C> = { dialogRouteConfig };\n\n\treturn {\n\t\tpath: dialogRouteConfig.path,\n\t\tcomponent: DialogRoutingContainerComponent,\n\t\tdata,\n\t\tcanMatch,\n\t\toutlet,\n\t\tchildren: [\n\t\t\t{\n\t\t\t\t...baseRoute,\n\t\t\t\tpath: '',\n\t\t\t\tcanDeactivate: dialogRouteConfig.canDeactivate\n\t\t\t\t\t?.map((fn) => toCanDeactivateFn(fn))\n\t\t\t\t\t?.map((guard): CanDeactivateFn<C> => (dialogComponentInstance, route, state, nextState) => {\n\t\t\t\t\t\t// If dialogComponentInstance is null, it means the dialog is already closed. We allow deactivation in this case.\n\t\t\t\t\t\tif (!dialogComponentInstance) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn guard(dialogComponentInstance, route, state, nextState);\n\t\t\t\t\t}),\n\t\t\t},\n\t\t],\n\t};\n}\n\nexport type DialogFactoryResultOptions<C> = {\n\tpath: string;\n\tdialogRouteConfig?: Partial<Omit<DialogRouteConfig<C>, 'path' | 'component' | 'loadComponent' | 'dataFactory'>>;\n} & (LuDialogData<C> extends never\n\t? { dataFactory?: never }\n\t: {\n\t\t\tdataFactory: DialogResolveFn<LuDialogData<C>>;\n\t\t});\n\nexport type DialogFactoryResult<C> = (options: DialogFactoryResultOptions<C>) => Route;\n\nexport type DialogFactoryConfig<C> = Partial<{\n\tdialogConfig: DialogRouteDialogConfig<C>;\n\tdialogRouteConfig: Partial<DialogRouteConfig<C>>;\n}>;\n\nexport function dialogRouteFactory<C>(component: ComponentType<C>, config?: DialogFactoryConfig<C>): DialogFactoryResult<C> {\n\treturn ({ path, dataFactory, dialogRouteConfig }) =>\n\t\tcreateDialogRoute<C>({\n\t\t\tpath,\n\t\t\tcomponent,\n\t\t\tdataFactory: dataFactory as LuDialogData<C> extends never ? undefined : DialogResolveFn<LuDialogData<C>>,\n\t\t\tdialogConfigFactory: () => config?.dialogConfig ?? ({} as DialogRouteDialogConfig<C>),\n\t\t\t...mergeRouteConfig(config?.dialogRouteConfig, dialogRouteConfig),\n\t\t});\n}\n\nexport function dialogLazyRouteFactory<C>(loadComponent: () => Promise<ComponentType<C>>, config?: DialogFactoryConfig<C>): DialogFactoryResult<C> {\n\treturn ({ path, dataFactory, dialogRouteConfig }) =>\n\t\tcreateDialogRoute<C>({\n\t\t\tpath,\n\t\t\tloadComponent,\n\t\t\tdataFactory: dataFactory as LuDialogData<C> extends never ? undefined : DialogResolveFn<LuDialogData<C>>,\n\t\t\tdialogConfigFactory: () => config?.dialogConfig ?? ({} as DialogRouteDialogConfig<C>),\n\t\t\t...mergeRouteConfig(config?.dialogRouteConfig, dialogRouteConfig),\n\t\t});\n}\n\nfunction mergeRouteConfig<C>(config1: Partial<DialogRouteConfig<C>> | undefined, config2: Partial<DialogRouteConfig<C>> | undefined): Partial<DialogRouteConfig<C>> {\n\tif (!config1 && config2) {\n\t\treturn config2;\n\t}\n\n\tif (!config2 && config1) {\n\t\treturn config1;\n\t}\n\n\tconst result: Partial<DialogRouteConfig<C>> = { ...config1, ...config2 };\n\n\tif (config1 && config2) {\n\t\tconst arrayKeys = ['providers', 'canActivate', 'children', 'canDeactivate', 'canLoad', 'canActivateChild'] as const satisfies Array<keyof Route>;\n\n\t\t// If both configs have the same key, we merge the arrays\n\t\tconst mergedArrays = arrayKeys.filter((key) => key in config1 && key in config2);\n\n\t\tfor (const key of mergedArrays) {\n\t\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t\t\tresult[key] = [...(config1[key] ?? []), ...(config2[key] ?? [])] as any[];\n\t\t}\n\n\t\t// If both configs have the same data key, we merge the objects\n\t\tif (config1.data && config2.data) {\n\t\t\tresult.data = { ...config1.data, ...config2.data };\n\t\t}\n\n\t\t// If both configs have the same resolve key, we merge the objects\n\t\tif (config1.resolve && config2.resolve) {\n\t\t\tresult.resolve = { ...config1.resolve, ...config2.resolve };\n\t\t}\n\t}\n\n\treturn result;\n}\n\nexport function toCanDeactivateFn<C>(guard: DeprecatedGuard | CanDeactivateFn<C>): CanDeactivateFn<C> {\n\tif (typeof guard === 'string') {\n\t\tthrow new Error('String guards are not supported in dialog routes');\n\t}\n\n\ttry {\n\t\tconst deprectedGuard = inject(guard) as CanActivate;\n\t\treturn (_component, currentRoute, _currentState, nextState) => deprectedGuard.canActivate(currentRoute, nextState);\n\t} catch {\n\t\treturn guard as CanDeactivateFn<C>;\n\t}\n}\n","import { assertInInjectionContext, ChangeDetectionStrategy, Component, DestroyRef, inject, Injector, OnDestroy, OnInit, runInInjectionContext, signal, TemplateRef, viewChild } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { ActivatedRoute, CanDeactivateFn, DeprecatedGuard, GuardResult, Router, RouterOutlet } from '@angular/router';\nimport { combineLatest, concat, defer, every, map, Observable, of, take } from 'rxjs';\nimport { provideLuDialog } from '../dialog.providers';\nimport { LuDialogService } from '../dialog.service';\nimport { LuDialogData, LuDialogRef, LuDialogResult } from '../model';\nimport {\n\tDIALOG_ROUTE_CLOSE_TRIGGER,\n\tDIALOG_ROUTE_CONFIG,\n\tDIALOG_ROUTE_DISMISS_TRIGGER,\n\tDialogRouteCloseTrigger,\n\tDialogRouteData,\n\tDialogRouteDialogConfig,\n\tDialogRouteDismissTrigger,\n} from './dialog-routing.models';\nimport { noRouteReuseFlag } from './dialog-routing.reuse-strategy';\nimport { deferrableToObservable, deferrableToPromise, DialogResolveFn, toCanDeactivateFn } from './dialog-routing.utils';\n\n/**\n * Default onClosed/onDismissed function that navigates back to the parent route when the dialog is closed or dismissed.\n */\nexport function defaultOnClosedFn(): void;\n/**\n * Default onClosed/onDismissed function that navigates back to the parent route when the dialog is closed or dismissed.\n * @deprecated Use non-generic version instead.\n */\nexport function defaultOnClosedFn<_C>(): void;\nexport function defaultOnClosedFn<C>(): void {\n\tlet trigger: DialogRouteCloseTrigger | DialogRouteDismissTrigger | null = null;\n\n\ttry {\n\t\tassertInInjectionContext(defaultOnClosedFn);\n\t\ttrigger = inject(DIALOG_ROUTE_CLOSE_TRIGGER, { optional: true }) ?? inject(DIALOG_ROUTE_DISMISS_TRIGGER, { optional: true });\n\t} catch {\n\t\t// Not in injection context, do nothing\n\t}\n\n\tif (trigger === 'navigation') {\n\t\t// If the dialog is closed because of a navigation, we don't need to do anything.\n\t\t// It would cancel the navigation that is already in progress.\n\t\treturn;\n\t}\n\n\tconst router = inject(Router);\n\tconst route = inject(ActivatedRoute);\n\tconst routeData = route.snapshot.data as DialogRouteData<C>;\n\tconst next = routeData.dialogRouteConfig.path\n\t\t? routeData.dialogRouteConfig.path\n\t\t\t\t.split('/')\n\t\t\t\t.map(() => '..')\n\t\t\t\t.join('/')\n\t\t: '';\n\n\treturn void router.navigate([next], {\n\t\trelativeTo: route.children[0],\n\t\tqueryParamsHandling: 'preserve',\n\t});\n}\n\n@Component({\n\tselector: 'lu-dialog-routing-container',\n\timports: [RouterOutlet],\n\ttemplate: `\n\t\t<ng-template>\n\t\t\t<router-outlet (activate)=\"dialogComponentInstance.set($event)\" (deactivate)=\"dialogComponentInstance.set(null)\" />\n\t\t</ng-template>\n\t`,\n\tstyles: [\n\t\t`\n\t\t\t:host {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t`,\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tproviders: [\n\t\tprovideLuDialog(),\n\t\t{\n\t\t\tprovide: DIALOG_ROUTE_CONFIG,\n\t\t\tuseFactory: () => inject(DialogRoutingContainerComponent).config,\n\t\t},\n\t],\n})\nexport class DialogRoutingContainerComponent<C> implements OnDestroy, OnInit {\n\treadonly #route = inject(ActivatedRoute);\n\treadonly #router = inject(Router);\n\treadonly #destroyRef = inject(DestroyRef);\n\treadonly #dialog = inject(LuDialogService);\n\treadonly injector = inject(Injector);\n\treadonly config = this.#routeData.dialogRouteConfig;\n\tprotected readonly dialogComponentInstance = signal<C | null>(null);\n\tprotected readonly dialogTemplate = viewChild.required(TemplateRef);\n\t#closeTrigger?: DialogRouteCloseTrigger | DialogRouteDismissTrigger;\n\n\t#ref?: LuDialogRef<C>;\n\n\tstatic [noRouteReuseFlag] = true;\n\n\tget #routeData(): DialogRouteData<C> {\n\t\treturn this.#route.snapshot.data as DialogRouteData<C>;\n\t}\n\n\tngOnInit(): void {\n\t\tvoid this.#openDialog();\n\t}\n\n\t/**\n\t * In this context, ngOnDestroy is called when the user navigates away from the route.\n\t * The navigation can be triggered:\n\t * - from within the dialog (#ref.dismissed => config.onClosed/defaultOnClosedFn/config.onDismissed/defaultOnClosedFn => ngOnDestroy)\n\t * - from router navigation (ngOnDestroy => #ref.dismissed => config.onDismissed/defaultOnClosedFn)\n\t */\n\tngOnDestroy(): void {\n\t\tthis.#closeTrigger ??= 'navigation';\n\t\tthis.#ref?.dismiss();\n\t}\n\n\tasync #openDialog(): Promise<void> {\n\t\tconst [data, dialogConfig] = await Promise.all([\n\t\t\tthis.config.dataFactory ? this.#resolve(this.config.dataFactory) : (Promise.resolve() as Awaited<LuDialogData<C>>),\n\t\t\tthis.#resolve(this.config.dialogConfigFactory),\n\t\t]);\n\n\t\tthis.#ref = this.#dialog.open<C>({\n\t\t\t...dialogConfig,\n\t\t\t// A routed dialog closes through its route, not through the cdk's closeOnNavigation.\n\t\t\tcdkConfigOverride: { closeOnNavigation: false, ...dialogConfig.cdkConfigOverride },\n\t\t\tcontent: this.dialogTemplate(),\n\t\t\tdata,\n\t\t\tcanClose: this.#getCanCloseFn(dialogConfig),\n\t\t\tcanDismiss: this.#getCanDismissFn(),\n\t\t});\n\n\t\tthis.#ref.result$.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe((result) => this.#onDialogClosed(result));\n\t\tthis.#ref.dismissed$.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe(() => this.#onDialogDismissed());\n\t}\n\n\t#getCanDismissFn(): (() => Observable<boolean>) | undefined {\n\t\tif (!this.config.canDeactivate?.length) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn () => {\n\t\t\t// If already in a navigation-triggered destroy, allow dismiss without guards\n\t\t\tif (this.#closeTrigger) {\n\t\t\t\treturn of(true);\n\t\t\t}\n\n\t\t\t// Like the router, guards run one after the other and the first veto stops the chain.\n\t\t\t// Each guard counts once, and the whole chain resolves to a single boolean.\n\t\t\tconst results$ = this.config.canDeactivate!.map((cD) => defer(() => this.callCanDeactivateFn(cD)).pipe(take(1)));\n\n\t\t\treturn concat(...results$).pipe(\n\t\t\t\tmap((guardResult) => (typeof guardResult === 'boolean' ? guardResult : true)),\n\t\t\t\tevery((canDismiss) => canDismiss),\n\t\t\t);\n\t\t};\n\t}\n\n\t#getCanCloseFn(config: DialogRouteDialogConfig<C>): ((c: C) => Observable<boolean>) | boolean {\n\t\tconst canCloseFns: ((c: C) => Observable<boolean>)[] = [];\n\n\t\tif (config.canClose) {\n\t\t\tcanCloseFns.push((c: C) => deferrableToObservable(config.canClose!(c)));\n\t\t}\n\n\t\tif (this.config.canDeactivate) {\n\t\t\tcanCloseFns.push(this.#getCanCloseFromGuardDialogFn(this.config.canDeactivate));\n\t\t}\n\n\t\treturn canCloseFns.length ? (c: C) => combineLatest(canCloseFns.map((fn) => fn(c))).pipe(map((results) => results.every((r) => r))) : true;\n\t}\n\n\t#getCanCloseFromGuardDialogFn(canDeactivate: (CanDeactivateFn<C> | DeprecatedGuard)[]): () => Observable<boolean> {\n\t\treturn () => {\n\t\t\tconst results$ = canDeactivate.map((cD) => this.callCanDeactivateFn(cD));\n\n\t\t\treturn concat(...results$).pipe(\n\t\t\t\tmap((guardResult) => {\n\t\t\t\t\tif (typeof guardResult === 'boolean') {\n\t\t\t\t\t\treturn guardResult;\n\t\t\t\t\t}\n\t\t\t\t\tvoid this.#router.navigate([guardResult]);\n\t\t\t\t\treturn true;\n\t\t\t\t}),\n\t\t\t);\n\t\t};\n\t}\n\n\tcallCanDeactivateFn(canDeactivateFn: CanDeactivateFn<C> | DeprecatedGuard): Observable<GuardResult> {\n\t\tconst instance = this.dialogComponentInstance();\n\n\t\tif (!instance) {\n\t\t\t// If instance is null, it means the dialog is already closed. We allow deactivation in this case.\n\t\t\treturn of(true);\n\t\t}\n\n\t\tconst maybeAsyncResult = runInInjectionContext(this.injector, () => {\n\t\t\tconst canDeactivate = toCanDeactivateFn(canDeactivateFn);\n\t\t\treturn canDeactivate(instance, this.#route.snapshot, this.#router.routerState.snapshot, this.#router.routerState.snapshot);\n\t\t});\n\t\treturn deferrableToObservable(maybeAsyncResult);\n\t}\n\n\t#onDialogDismissed(): void {\n\t\tthis.#closeTrigger ??= 'dialog:dismissed';\n\n\t\tif (this.#closeTrigger === 'dialog:closed') {\n\t\t\tthrow new Error('Dialog cannot be both closed and dismissed');\n\t\t}\n\n\t\tconst injector = Injector.create({\n\t\t\tparent: this.injector,\n\t\t\tproviders: [{ provide: DIALOG_ROUTE_DISMISS_TRIGGER, useValue: this.#closeTrigger }],\n\t\t});\n\n\t\trunInInjectionContext(injector, () => {\n\t\t\tif (this.config.onDismissed) {\n\t\t\t\tthis.config.onDismissed();\n\t\t\t} else {\n\t\t\t\tdefaultOnClosedFn();\n\t\t\t}\n\t\t});\n\n\t\tthis.#ref = undefined;\n\t}\n\n\t#onDialogClosed(result: LuDialogResult<C>): void {\n\t\tthis.#closeTrigger ??= 'dialog:closed';\n\n\t\tif (this.#closeTrigger === 'dialog:dismissed') {\n\t\t\tthrow new Error('Dialog cannot be both closed and dismissed');\n\t\t}\n\n\t\tconst injector = Injector.create({\n\t\t\tparent: this.injector,\n\t\t\tproviders: [{ provide: DIALOG_ROUTE_CLOSE_TRIGGER, useValue: this.#closeTrigger }],\n\t\t});\n\n\t\trunInInjectionContext(injector, () => {\n\t\t\tif (this.config.onClosed) {\n\t\t\t\tthis.config.onClosed(result);\n\t\t\t} else {\n\t\t\t\tdefaultOnClosedFn();\n\t\t\t}\n\t\t});\n\n\t\tthis.#ref = undefined;\n\t}\n\n\tasync #resolve<T>(resolveFn: DialogResolveFn<T>): Promise<T> {\n\t\tconst resolved = runInInjectionContext(this.injector, resolveFn);\n\t\treturn deferrableToPromise(resolved);\n\t}\n}\n","/**\n * Available DialogComponent Types\n */\n\nexport const DIALOG_FANCY_ILLUSTRATION = ['approval', 'checklist', 'email', 'install', 'mapping', 'save', 'users', 'welcome', 'payment-card'] as const;\nexport type DialogFancyIllustration = (typeof DIALOG_FANCY_ILLUSTRATION)[number];\n","import { AfterViewInit, ChangeDetectionStrategy, Component, computed, ElementRef, inject, input, ViewEncapsulation } from '@angular/core';\nimport { luBooleanAttribute } from '@lucca-front/ng/core';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { DialogFancyIllustration } from '../dialog.type';\nimport { LuDialogRef } from '../model';\n\n@Component({\n\tselector: 'lu-dialog',\n\ttemplateUrl: './dialog.component.html',\n\tstyleUrl: './dialog.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [LuSafeExternalSvgPipe],\n\thost: {\n\t\tclass: 'dialog-inside',\n\t\t'[style.--components-dialog-inside-backgroundImage]': 'foregroundImage()',\n\t},\n})\nexport class DialogComponent implements AfterViewInit {\n\tpublic readonly dialogRef = inject<LuDialogRef>(LuDialogRef);\n\n\treadonly stacked = input(false, { transform: luBooleanAttribute });\n\treadonly fancyIllustration = input<DialogFancyIllustration>('welcome');\n\treadonly fancyIllustrationUrl = input<string | null>(null);\n\n\treadonly domain = 'https://cdn.lucca.fr';\n\treadonly path = '/transverse/prisme/visuals/fancy-dialog/';\n\treadonly prefix = 'foreground-';\n\treadonly extension = '.svg';\n\n\treadonly foregroundImage = computed<string | null>(() => {\n\t\tif (this.dialogRef.config.mode !== 'fancy') {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (this.fancyIllustrationUrl()) {\n\t\t\treturn `url('${this.fancyIllustrationUrl()}')`;\n\t\t} else {\n\t\t\treturn `url('${this.domain}${this.path}${this.prefix}${this.fancyIllustration()}${this.extension}')`;\n\t\t}\n\t});\n\n\t#htmlElement = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n\n\tclose(): void {\n\t\tthis.dialogRef.close();\n\t}\n\n\tdismiss(): void {\n\t\tthis.dialogRef.dismiss();\n\t}\n\n\tngAfterViewInit(): void {\n\t\tif (this.stacked()) {\n\t\t\tthis.dialogRef.cdkRef.overlayRef.hostElement.classList.add('mod-stacked');\n\t\t}\n\n\t\tif (this.dialogRef.config.autoFocus === 'first-input' && !this.dialogRef.config.cdkConfigOverride?.autoFocus) {\n\t\t\tconst focusable: HTMLElement | null =\n\t\t\t\tthis.#htmlElement.querySelector('.luDialog-autofocus .luNativeInput') || this.#htmlElement.querySelector('.luDialog-autofocus') || this.#htmlElement.querySelector('.luNativeInput');\n\t\t\tfocusable?.focus();\n\t\t}\n\t}\n}\n","@if (foregroundImage()) {\n\t<div\n\t\tclass=\"dialog-inside-fancyIllustrations\"\n\t\t[innerHtml]=\"'https://cdn.lucca.fr/transverse/prisme/visuals/fancy-dialog/background-bubbles.svg' | luSafeExternalSvg\"\n\t></div>\n}\n<ng-content />\n","import { Directive, inject } from '@angular/core';\nimport { LuDialogRef } from '../model';\n\n@Directive({\n\tselector: '[luDialogClose]',\n\thost: {\n\t\t'(click)': 'close()',\n\t},\n})\nexport class DialogCloseDirective {\n\t#ref = inject<LuDialogRef>(LuDialogRef, { optional: true });\n\n\tclose() {\n\t\tthis.#ref?.close();\n\t}\n}\n","import { Directive, inject } from '@angular/core';\nimport { LuDialogRef } from '../model';\n\n@Directive({\n\tselector: '[luDialogDismiss]',\n\thost: {\n\t\t'(click)': 'close()',\n\t},\n})\nexport class DialogDismissDirective {\n\t#ref = inject<LuDialogRef>(LuDialogRef, { optional: true });\n\n\tclose() {\n\t\tthis.#ref?.dismiss();\n\t}\n}\n","import { Directive, inject, input, TemplateRef } from '@angular/core';\nimport { provideLuDialog } from '../dialog.providers';\nimport { LuDialogService } from '../dialog.service';\nimport { LuDialogConfig } from '../model';\n\n@Directive({\n\tselector: '[luDialogOpen]',\n\tproviders: [provideLuDialog()],\n\thost: {\n\t\t'(click)': 'click()',\n\t\t'[attr.aria-haspopup]': '\"dialog\"',\n\t},\n})\nexport class DialogOpenDirective {\n\t#dialogService = inject(LuDialogService);\n\n\treadonly dialog = input.required<TemplateRef<void>>({ alias: 'luDialogOpen' });\n\n\treadonly luDialogConfig = input<LuDialogConfig<unknown>>();\n\n\tclick() {\n\t\tthis.#dialogService.open({\n\t\t\t...this.luDialogConfig(),\n\t\t\tcontent: this.dialog(),\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["map"],"mappings":";;;;;;;;;;;;;MAWa,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,gIAPxB,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAOd,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBATlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,QAAQ,EAAE,gBAAgB;oBAC1B,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,aAAa,EAAE,iBAAiB,CAA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,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,UAAA,EAAA,EAAA,oBAAA,EAAA,YAAA,EAAA,EAAA,EAAA,SAAA,EANpB,CAAC,eAAe,EAAE,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAMlB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAR/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,SAAS,EAAE,CAAC,eAAe,EAAE,CAAC;AAC9B,oBAAA,IAAI,EAAE;AACL,wBAAA,SAAS,EAAE,SAAS;AACpB,wBAAA,sBAAsB,EAAE,UAAU;AAClC,qBAAA;AACD,iBAAA;;;ACZD;;AAEG;;"}
1
+ {"version":3,"file":"lucca-front-ng-dialog.mjs","sources":["../../../packages/ng/dialog/dialog-content/dialog-content.component.ts","../../../packages/ng/dialog/dialog-footer/dialog-footer.component.ts","../../../packages/ng/dialog/model/dialog-config.ts","../../../packages/ng/dialog/model/dialog-ref.ts","../../../packages/ng/dialog/model/injectors.ts","../../../packages/ng/dialog/dialog-header/translations.ts","../../../packages/ng/dialog/dialog-header/dialog-header.translate.ts","../../../packages/ng/dialog/dialog-header/dialog-header.component.ts","../../../packages/ng/dialog/dialog-header/dialog-header.component.html","../../../packages/ng/dialog/dialog.service.ts","../../../packages/ng/dialog/dialog.providers.ts","../../../packages/ng/dialog/dialog-routing/dialog-routing.models.ts","../../../packages/ng/dialog/dialog-routing/dialog-routing.reuse-strategy.ts","../../../packages/ng/dialog/dialog-routing/dialog-routing.utils.ts","../../../packages/ng/dialog/dialog-routing/dialog-routing.component.ts","../../../packages/ng/dialog/dialog.type.ts","../../../packages/ng/dialog/dialog/dialog.component.ts","../../../packages/ng/dialog/dialog/dialog.component.html","../../../packages/ng/dialog/directives/dialog-close.directive.ts","../../../packages/ng/dialog/directives/dialog-dismiss.directive.ts","../../../packages/ng/dialog/directives/dialog-open.directive.ts","../../../packages/ng/dialog/lucca-front-ng-dialog.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dialog-content',\n\ttemplate: '<ng-content />',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dialog-inside-content',\n\t},\n})\nexport class DialogContentComponent {}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dialog-footer',\n\ttemplate: '<ng-content />',\n\tstyleUrl: './dialog-footer.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dialog-inside-footer footer',\n\t},\n})\nexport class DialogFooterComponent {}\n","import { AutoFocusTarget, DialogConfig } from '@angular/cdk/dialog';\nimport { ComponentType } from '@angular/cdk/overlay';\nimport { TemplateRef } from '@angular/core';\nimport { Observable } from 'rxjs';\n\nconst ɵdialogData = Symbol.for('luDialogData');\nconst ɵdialogResult = Symbol.for('luDialogResult');\n\nexport type ɵDialogDataFlag = { [ɵdialogData]: unknown };\nexport type ɵDialogResultFlag<R> = { [ɵdialogResult]: R };\n\nexport type LuDialogData<T> = {\n\t[K in keyof T]: T[K] extends ɵDialogDataFlag ? Omit<T[K], typeof ɵdialogData> : never;\n}[keyof T];\n\ntype DialogRefProps<C> = { [K in keyof C]: C[K] extends ɵDialogResultFlag<unknown> ? K : never }[keyof C] & keyof C;\nexport type LuDialogResult<C> = DialogRefProps<C> extends never ? void : C[DialogRefProps<C>] extends ɵDialogResultFlag<infer T> ? T : void;\n\ntype BaseLuDialogConfig<C, TData = LuDialogData<C>> = {\n\t/**\n\t * The component or template to put inside the dialog container\n\t */\n\tcontent: ComponentType<C> | TemplateRef<C>;\n\n\t/**\n\t * Data to pass to the component, will be required if the component used `injectDialogData` in a field, specifying the data that's needed.\n\t */\n\tdata: TData;\n\n\t/**\n\t * Should we put a backdrop? Defaults to true\n\t */\n\tmodal?: boolean;\n\n\t/**\n\t * Is this dialog a blocking popup that cannot be dismissed ?\n\t *\n\t * Defaults to false, setting this to true will also remove the close button in the header\n\t * if you're using `lu-dialog-header`.\n\t */\n\talert?: boolean;\n\n\t/**\n\t * Can be used if you don't have a header or aren't using the default one, to set an aria-label\n\t * instead of aria-labelledby on the dialog container\n\t */\n\tariaLabel?: string;\n\n\t/**\n\t * Autofocus target\n\t *\n\t * Defaults to the close button from the header, first-input is added by us to focus the first available input\n\t * or the first input that is contained inside a node that has the `.luDialog-autofocus` class\n\t */\n\tautoFocus?: AutoFocusTarget | 'first-input' | string;\n\n\t/**\n\t * This provides a way to override any of the configuration parameters expected by cdk's `Dialog.open` method.\n\t *\n\t * WARNING: this will take full authority and override with your values no matter what's computed by LuDialogService,\n\t * use with caution.\n\t */\n\tcdkConfigOverride?: DialogConfig<C>;\n\n\t/**\n\t * A hook function to determine if the current dialog can be closed or not, if provided.\n\t *\n\t * @param comp the instance of the component that's inside the dialog box.\n\t */\n\tcanClose?: (comp: C) => boolean | Observable<boolean>;\n\n\t/**\n\t * A hook function to determine if the current dialog can be dismissed or not.\n\t * Unlike `canClose`, this does not require a component instance and is suitable for template-based dialogs.\n\t */\n\tcanDismiss?: () => boolean | Observable<boolean>;\n\n\t/**\n\t * Determine if the current dialog can be close by a click on backdrop or escape key\n\t */\n\tcanCloseWithBackdrop?: boolean;\n\n\t/**\n\t * The size of the panel used for the dialog\n\t */\n\tsize?: LuDialogSize;\n\n\t/**\n\t * Should it be a modal (default), a drawer? a drawer from bottom?\n\t */\n\tmode?: 'default' | 'drawer' | 'drawer-from-bottom' | 'fancy' | 'sheet';\n\n\t/**\n\t * Classes to add to the panel\n\t */\n\tpanelClasses?: string[];\n\n\t/**\n\t * Should the dialog have a neutral background?\n\t */\n\tsurfaceDefault?: boolean;\n};\n\nexport type LuDialogConfig<T, TData = LuDialogData<T>> = [TData] extends [never] ? Omit<BaseLuDialogConfig<T, TData>, 'data'> : BaseLuDialogConfig<T, TData>;\n\nexport type LuDialogSize = 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL' | 'fitContent' | `maxContent` | 'fullScreen';\n","import { DialogRef } from '@angular/cdk/dialog';\nimport { isNotNil } from '@lucca-front/ng/core';\nimport { isObservable, Observable, of, Subscription, take } from 'rxjs';\nimport { filter, map, takeUntil } from 'rxjs/operators';\nimport { LuDialogConfig, LuDialogData, LuDialogResult, LuDialogSize } from './dialog-config';\n\nexport const DISMISSED_VALUE = {} as const;\n\nfunction isDismissed(v: unknown): v is typeof DISMISSED_VALUE {\n\treturn v === DISMISSED_VALUE;\n}\n\nexport class LuDialogRef<C = unknown, TData = LuDialogData<C>> {\n\t/**\n\t * Instance of the component that's inside the dialog\n\t */\n\tget instance(): C | null {\n\t\treturn this.cdkRef.componentInstance;\n\t}\n\n\t/**\n\t * Subscription to the detachments of the dialog\n\t * This is used to close the dialog when it is detached\n\t */\n\tdetachSubscription: Subscription | null = null;\n\n\t/**\n\t * Emits when the dialog is closed\n\t *\n\t * Emits either the output of result$ or undefined depending on how it has been closed\n\t */\n\tclosed$: Observable<LuDialogResult<C> | undefined> = this.cdkRef.closed.pipe(map((res): LuDialogResult<C> | undefined => (isDismissed(res) ? undefined : res)));\n\n\t/**\n\t * Emits void when the dialog is dismissed\n\t */\n\tdismissed$: Observable<void> = this.cdkRef.closed.pipe(\n\t\tfilter((res) => res === DISMISSED_VALUE),\n\t\tmap((): void => undefined),\n\t);\n\n\t/**\n\t * Emits the result if it has a value that's not DISMISSED_VALUE\n\t */\n\tresult$: Observable<LuDialogResult<C>> = this.cdkRef.closed.pipe(filter((res): res is LuDialogResult<C> => !isDismissed(res)));\n\n\tconstructor(\n\t\tpublic readonly cdkRef: DialogRef<LuDialogResult<C> | typeof DISMISSED_VALUE, C>,\n\t\tpublic readonly config: LuDialogConfig<C, TData>,\n\t) {\n\t\tthis.detachSubscription = cdkRef.overlayRef\n\t\t\t.detachments()\n\t\t\t.pipe(takeUntil(this.closed$))\n\t\t\t.subscribe(() => {\n\t\t\t\tcdkRef.close(DISMISSED_VALUE);\n\t\t\t});\n\t}\n\n\tdismiss(): void {\n\t\t// If we can't dismiss this dialog box, just ignore the dismiss call.\n\t\tif (this.config.alert) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.canDismiss$()\n\t\t\t.pipe(take(1))\n\t\t\t.subscribe((close) => {\n\t\t\t\tif (close) {\n\t\t\t\t\tthis.detachSubscription?.unsubscribe();\n\t\t\t\t\tthis.cdkRef.close(DISMISSED_VALUE);\n\t\t\t\t}\n\t\t\t});\n\t}\n\n\t/**\n\t * @internal\n\t * Resolves whether the dialog can be dismissed, shared by every dismiss trigger (header button, escape key, backdrop click).\n\t * A dialog rendering a template (e.g. a routed dialog) has no component instance, so it relies on `canDismiss`.\n\t */\n\tcanDismiss$(): Observable<boolean> {\n\t\tlet canClose: boolean | Observable<boolean> = true;\n\n\t\ttry {\n\t\t\tif (isNotNil(this.instance)) {\n\t\t\t\tcanClose = this.config.canClose?.(this.instance) ?? true;\n\t\t\t} else if (this.config.canDismiss) {\n\t\t\t\tcanClose = this.config.canDismiss();\n\t\t\t}\n\t\t} catch {\n\t\t\tcanClose = true;\n\t\t}\n\n\t\treturn isObservable(canClose) ? canClose : of(canClose);\n\t}\n\n\tclose(res: LuDialogResult<C>): void {\n\t\tthis.detachSubscription?.unsubscribe();\n\t\tthis.cdkRef.close(res);\n\t}\n\n\tresize(size: LuDialogSize): void {\n\t\tif (this.config.size === size) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.cdkRef.removePanelClass(`mod-${this.config.size || 'M'}`);\n\t\tthis.cdkRef.addPanelClass(`mod-${size}`);\n\t\tthis.config.size = size;\n\t}\n}\n\nexport type LuDialogSelfRef<R> = { dismiss(): void; close(res: R | null | undefined): void; resize(size: LuDialogSize): void };\n","import { DIALOG_DATA } from '@angular/cdk/dialog';\nimport { inject } from '@angular/core';\nimport { ɵDialogDataFlag, ɵDialogResultFlag } from './dialog-config';\nimport { LuDialogRef, LuDialogSelfRef } from './dialog-ref';\n\nexport function injectDialogData<TData>(): TData & ɵDialogDataFlag {\n\treturn inject<TData & ɵDialogDataFlag>(DIALOG_DATA);\n}\n\nexport function injectDialogRef<R = void>(): LuDialogSelfRef<R> & ɵDialogResultFlag<R> {\n\treturn inject<LuDialogSelfRef<R>>(LuDialogRef) as LuDialogSelfRef<R> & ɵDialogResultFlag<R>;\n}\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_DIALOG_HEADER_TRANSLATIONS = new InjectionToken('LuDialogHeaderTranslations', {\n\tfactory: () => luDialogHeaderTranslations,\n});\n\nexport interface LuDialogHeaderTranslations {\n\tclose: string;\n}\n\nexport const luDialogHeaderTranslations: LuTranslation<LuDialogHeaderTranslations> = Translations;\n","import { CdkDialogContainer } from '@angular/cdk/dialog';\nimport { afterRenderEffect, ChangeDetectionStrategy, Component, contentChild, Directive, ElementRef, inject, input, OnDestroy, Renderer2, ViewEncapsulation } from '@angular/core';\nimport { ButtonComponent } from '@lucca-front/ng/button';\nimport { intlInputOptions } from '@lucca-front/ng/core';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { LuDialogRef } from '../model';\nimport { LU_DIALOG_HEADER_TRANSLATIONS } from './dialog-header.translate';\n\nlet nextId = 0;\n\n@Directive({\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: '[dialogHeaderAction]',\n})\nexport class DialogHeaderAction {}\n\n@Directive({\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: '[dialogHeaderSubtitle]',\n})\nexport class DialogHeaderSubtitle {}\n\n@Component({\n\tselector: 'lu-dialog-header',\n\tstandalone: true,\n\timports: [IconComponent, ButtonComponent],\n\ttemplateUrl: './dialog-header.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dialog-inside-header',\n\t},\n})\nexport class DialogHeaderComponent implements OnDestroy {\n\t#ref = inject(LuDialogRef);\n\n\treadonly intl = input(...intlInputOptions(LU_DIALOG_HEADER_TRANSLATIONS));\n\n\tdismissible = !this.#ref.config.alert;\n\n\t#elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n\t#renderer = inject(Renderer2);\n\n\t#registeredAriaLabelledById: string | undefined;\n\n\tconstructor() {\n\t\tafterRenderEffect(() => this.#syncAriaLabelledBy());\n\t}\n\n\tclose(): void {\n\t\tthis.#ref.dismiss();\n\t}\n\n\treadonly optionalAction = contentChild(DialogHeaderAction);\n\n\treadonly optionalSubtitle = contentChild(DialogHeaderSubtitle);\n\n\tngOnDestroy(): void {\n\t\tthis.#unregisterAriaLabelledBy();\n\t}\n\n\t#syncAriaLabelledBy(): void {\n\t\tconst header = this.#elementRef.nativeElement.querySelector('h1');\n\t\tif (!header) {\n\t\t\tthis.#unregisterAriaLabelledBy();\n\t\t\treturn;\n\t\t}\n\n\t\tconst id = header.id || `lu-dialog-header-${nextId++}`;\n\t\tif (id === this.#registeredAriaLabelledById) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.#unregisterAriaLabelledBy();\n\t\tthis.#renderer.setAttribute(header, 'id', id);\n\t\tthis.#renderer.addClass(header, 'dialog-inside-header-container-title');\n\t\t(this.#ref.cdkRef.containerInstance as CdkDialogContainer)?._addAriaLabelledBy(id);\n\t\tthis.#registeredAriaLabelledById = id;\n\t}\n\n\t#unregisterAriaLabelledBy(): void {\n\t\tif (!this.#registeredAriaLabelledById) {\n\t\t\treturn;\n\t\t}\n\t\t(this.#ref.cdkRef.containerInstance as CdkDialogContainer)?._removeAriaLabelledBy(this.#registeredAriaLabelledById);\n\t\tthis.#registeredAriaLabelledById = undefined;\n\t}\n}\n","@if (dismissible) {\n\t<button class=\"dialog-inside-header-button\" type=\"button\" luButton (click)=\"close()\">\n\t\t<lu-icon icon=\"signClose\" [alt]=\"intl().close\" />\n\t</button>\n}\n@if (optionalAction()) {\n\t<div class=\"dialog-inside-header-actionOptional\"><ng-content select=\"[dialogHeaderAction]\" /></div>\n}\n\n<div class=\"dialog-inside-header-container\">\n\t<ng-content />\n\t@if (optionalSubtitle()) {\n\t\t<div class=\"dialog-inside-header-container-subtitle\"><ng-content select=\"[dialogHeaderSubtitle]\" /></div>\n\t}\n</div>\n\n<div class=\"dialog-inside-header-content\">\n\t<ng-content select=\"[dialogHeaderContent]\" />\n</div>\n","import { Dialog, DialogRef } from '@angular/cdk/dialog';\nimport { Overlay } from '@angular/cdk/overlay';\nimport { afterNextRender, EnvironmentInjector, inject, Injectable, Injector, Renderer2 } from '@angular/core';\nimport { merge, take } from 'rxjs';\nimport { filter, switchMap, takeUntil } from 'rxjs/operators';\nimport { LuDialogConfig, LuDialogData, LuDialogRef, LuDialogResult } from './model';\nimport { DISMISSED_VALUE } from './model/dialog-ref';\n\n@Injectable()\nexport class LuDialogService {\n\t#cdkDialog = inject(Dialog);\n\n\t#overlay = inject(Overlay);\n\n\t#injector = inject(Injector);\n\n\t#environmentInjector = inject(EnvironmentInjector);\n\n\topen<C, TData = LuDialogData<C>>(config: LuDialogConfig<C, NoInfer<TData>>): LuDialogRef<C, TData> {\n\t\t// Assigned synchronously inside the `providers` callback below, which CDK calls during `Dialog.open()`.\n\t\tlet luDialogRef!: LuDialogRef<C, TData>;\n\t\tlet modeClasses: string[] = [];\n\t\tswitch (config.mode) {\n\t\t\tcase 'drawer':\n\t\t\t\tmodeClasses = ['mod-drawer'];\n\t\t\t\tbreak;\n\t\t\tcase 'fancy':\n\t\t\t\tmodeClasses = ['mod-fancy'];\n\t\t\t\tbreak;\n\t\t\tcase 'sheet':\n\t\t\t\tmodeClasses = ['mod-drawer', 'mod-fromBottom', 'mod-sheet'];\n\t\t\t\tbreak;\n\t\t\tcase 'drawer-from-bottom':\n\t\t\t\tmodeClasses = ['mod-drawer', 'mod-fromBottom'];\n\t\t\t\tbreak;\n\t\t}\n\t\t// Built explicitly (rather than left to CDK's default) so we can force a re-check below.\n\t\tconst scrollStrategy = config.cdkConfigOverride?.scrollStrategy ?? this.#overlay.scrollStrategies.block();\n\n\t\tconst cdkRef = this.#cdkDialog.open(config.content, {\n\t\t\tariaModal: config.modal ?? true,\n\t\t\thasBackdrop: config.modal ?? true,\n\t\t\tdata: 'data' in config ? config.data : null,\n\t\t\tdisableClose: true,\n\t\t\tcloseOnDestroy: true,\n\t\t\trole: config.alert ? 'alertdialog' : 'dialog',\n\t\t\trestoreFocus: true,\n\t\t\tbackdropClass: 'dialog_backdrop',\n\t\t\tpanelClass: ['dialog', `mod-${config.size || 'M'}`, ...modeClasses, ...(config.surfaceDefault ? ['mod-surfaceDefault'] : []), ...(config.panelClasses || [])],\n\n\t\t\tariaLabel: config.ariaLabel,\n\t\t\t// Handle manually\n\t\t\tcloseOnOverlayDetachments: false,\n\t\t\t// If focus is first-input, focus dialog and let the component do the rest\n\t\t\t// Else, just set it to config value or default to first-tabbable\n\t\t\tautoFocus: config.autoFocus === 'first-input' ? 'dialog' : (config.autoFocus ?? 'first-tabbable'),\n\t\t\ttemplateContext: () => ({ dialogRef: luDialogRef }),\n\t\t\tinjector: this.#injector,\n\t\t\tscrollStrategy,\n\t\t\tproviders: (ref: DialogRef<LuDialogResult<C>, C>) => {\n\t\t\t\tluDialogRef = new LuDialogRef(ref, config);\n\t\t\t\treturn [\n\t\t\t\t\t{\n\t\t\t\t\t\tprovide: LuDialogRef,\n\t\t\t\t\t\tuseValue: luDialogRef,\n\t\t\t\t\t},\n\t\t\t\t];\n\t\t\t},\n\t\t\t...(config.cdkConfigOverride || {}),\n\t\t});\n\n\t\t// Re-check once the view is stable: block strategy only locks scroll if the page already\n\t\t// overflows at attach time, which can miss for dialogs opened asynchronously (e.g. via a route).\n\t\t// With `provideLuDialog()` on a directive, `#injector` is the trigger's node injector.\n\t\t// A `lu-dropdown-action` trigger is already destroyed by this click: `afterNextRender` on it would throw `NG0911`.\n\t\tafterNextRender(() => scrollStrategy.enable(), { injector: this.#environmentInjector });\n\n\t\tif (cdkRef.componentRef) {\n\t\t\tconst renderer = cdkRef.componentRef.injector.get(Renderer2);\n\t\t\trenderer.setStyle(cdkRef.componentRef.location.nativeElement, 'display', 'contents');\n\t\t}\n\n\t\tif (!config.alert) {\n\t\t\t// Setup close listeners on backdrop click and escape key by ourselves so we can hook the `canClose` method to it.\n\t\t\tmerge(cdkRef.backdropClick, cdkRef.keydownEvents.pipe(filter((e) => e.key === 'Escape' && !e.defaultPrevented)))\n\t\t\t\t.pipe(\n\t\t\t\t\tfilter(() => config.canCloseWithBackdrop ?? true),\n\t\t\t\t\tswitchMap(() => luDialogRef.canDismiss$().pipe(take(1))),\n\t\t\t\t\ttakeUntil(luDialogRef.closed$),\n\t\t\t\t)\n\t\t\t\t.subscribe((canClose) => {\n\t\t\t\t\tif (canClose) {\n\t\t\t\t\t\tluDialogRef.detachSubscription?.unsubscribe();\n\t\t\t\t\t\tcdkRef.close(DISMISSED_VALUE);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t}\n\n\t\treturn luDialogRef;\n\t}\n}\n","import { EnvironmentProviders, importProvidersFrom, makeEnvironmentProviders, Provider } from '@angular/core';\nimport { DialogModule } from '@angular/cdk/dialog';\nimport { LuDialogService } from './dialog.service';\n\nexport function configureLuDialog(): EnvironmentProviders {\n\treturn makeEnvironmentProviders([importProvidersFrom(DialogModule)]);\n}\n\nexport function provideLuDialog(): Provider {\n\treturn LuDialogService;\n}\n","import { ComponentType } from '@angular/cdk/overlay';\nimport { InjectionToken } from '@angular/core';\nimport { Route } from '@angular/router';\nimport { LuDialogConfig, LuDialogData, LuDialogResult } from '../model';\nimport { DialogResolveFn } from './dialog-routing.utils';\n\nexport type DialogRouteComponentLoader<C> =\n\t| {\n\t\t\tcomponent: ComponentType<C>;\n\t }\n\t| {\n\t\t\tloadComponent: () => Promise<ComponentType<C>>;\n\t };\n\nexport type DialogRouteCloseTrigger = 'navigation' | 'dialog:closed';\nexport type DialogRouteDismissTrigger = 'navigation' | 'dialog:dismissed';\n\nexport type DialogRouteConfig<C> = DialogRouteComponentLoader<C> & {\n\tdialogConfigFactory: DialogResolveFn<DialogRouteDialogConfig<C>>;\n\tdataFactory: LuDialogData<C> extends never ? undefined : DialogResolveFn<LuDialogData<C>>;\n\t/**\n\t * When the dialog is closed, this callback is called with the result of the dialog.\n\t * This callback is called within injection context, so you can inject services in it.\n\t *\n\t * If needed, the reason the dialog was closed can retrieved using `inject(DIALOG_ROUTE_CLOSE_TRIGGER)`\n\t */\n\tonClosed?: (res: LuDialogResult<C>) => unknown;\n\t/**\n\t * When the dialog is dismissed, this callback is called.\n\t * This callback is called within injection context, so you can inject services in it.\n\t *\n\t * If needed, the reason the dialog was dismissed can retrieved using `inject(DIALOG_ROUTE_DISMISS_TRIGGER)`\n\t */\n\tonDismissed?: () => unknown;\n} & Omit<Route, 'component' | 'loadComponent'>;\n\nexport type DialogRouteDialogConfig<C> = Omit<LuDialogConfig<C>, 'data' | 'content'>;\n\nexport interface DialogRouteData<C> {\n\tdialogRouteConfig: DialogRouteConfig<C>;\n}\n\nexport const DIALOG_ROUTE_CLOSE_TRIGGER = new InjectionToken<DialogRouteCloseTrigger>('DIALOG_ROUTE_CLOSE_TRIGGER');\nexport const DIALOG_ROUTE_DISMISS_TRIGGER = new InjectionToken<DialogRouteDismissTrigger>('DIALOG_ROUTE_DISMISS_TRIGGER');\nexport const DIALOG_ROUTE_CONFIG = new InjectionToken<DialogRouteConfig<unknown>>('DIALOG_ROUTE_CONFIG');\n","import { EnvironmentProviders, makeEnvironmentProviders } from '@angular/core';\nimport { ActivatedRouteSnapshot, BaseRouteReuseStrategy, RouteReuseStrategy } from '@angular/router';\n\nexport function provideDialogRoutingReuseStrategy(): EnvironmentProviders {\n\treturn makeEnvironmentProviders([{ provide: RouteReuseStrategy, useClass: LuccaDialogRoutingReuseStrategy }]);\n}\n\nexport const noRouteReuseFlag = Symbol('ɵdoNotReuseComponentFlag');\n\nexport class LuccaDialogRoutingReuseStrategy extends BaseRouteReuseStrategy {\n\toverride shouldReuseRoute(future: ActivatedRouteSnapshot, current: ActivatedRouteSnapshot): boolean {\n\t\tconst base = super.shouldReuseRoute(future, current);\n\n\t\tif (!base) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Modal should close then re-open when navigating to the same route with different parameters\n\t\tif (future.component?.[noRouteReuseFlag]) {\n\t\t\tconst futureUrlSegments = future.url.map((s) => s.path).join('/');\n\t\t\tconst currentUrlSegments = current.url.map((s) => s.path).join('/');\n\t\t\treturn futureUrlSegments === currentUrlSegments;\n\t\t}\n\n\t\treturn true;\n\t}\n}\n","import { ComponentType } from '@angular/cdk/overlay';\nimport { inject } from '@angular/core';\nimport { CanActivate, CanDeactivateFn, DeprecatedGuard, Route } from '@angular/router';\nimport { defaultIfEmpty, firstValueFrom, from, isObservable, Observable, of } from 'rxjs';\nimport { LuDialogData } from '../model';\nimport { DialogRoutingContainerComponent } from './dialog-routing.component';\nimport { DialogRouteConfig, DialogRouteData, DialogRouteDialogConfig } from './dialog-routing.models';\n\nexport type Deferrable<T> = Promise<T> | Observable<T> | T;\nexport type DialogResolveFn<T> = () => Deferrable<T>;\n\nexport async function deferrableToPromise<T>(deferrable: Promise<T> | Observable<T> | T): Promise<T> {\n\treturn isObservable(deferrable) ? firstValueFrom(deferrable) : deferrable;\n}\n\nexport function deferrableToObservable<T>(deferrable: Promise<T> | Observable<T> | T): Observable<T> {\n\treturn isObservable(deferrable) ? deferrable : deferrable instanceof Promise ? from(deferrable) : of(deferrable);\n}\n\nexport function createDialogRoute<C>(dialogRouteConfig: DialogRouteConfig<C>): Route {\n\tconst { dialogConfigFactory, dataFactory, canMatch, outlet, ...baseRoute } = dialogRouteConfig;\n\n\tconst data: DialogRouteData<C> = { dialogRouteConfig };\n\n\treturn {\n\t\tpath: dialogRouteConfig.path,\n\t\tcomponent: DialogRoutingContainerComponent,\n\t\tdata,\n\t\tcanMatch,\n\t\toutlet,\n\t\tchildren: [\n\t\t\t{\n\t\t\t\t...baseRoute,\n\t\t\t\tpath: '',\n\t\t\t\tcanDeactivate: dialogRouteConfig.canDeactivate\n\t\t\t\t\t?.map((fn) => toCanDeactivateFn(fn))\n\t\t\t\t\t?.map((guard): CanDeactivateFn<C> => (dialogComponentInstance, route, state, nextState) => {\n\t\t\t\t\t\t// If dialogComponentInstance is null, it means the dialog is already closed. We allow deactivation in this case.\n\t\t\t\t\t\tif (!dialogComponentInstance) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst result = guard(dialogComponentInstance, route, state, nextState);\n\n\t\t\t\t\t\t// A guard that completes without a value is a veto, as on dismiss: the router would throw `EmptyError` instead.\n\t\t\t\t\t\treturn isObservable(result) ? result.pipe(defaultIfEmpty(false)) : result;\n\t\t\t\t\t}),\n\t\t\t},\n\t\t],\n\t};\n}\n\nexport type DialogFactoryResultOptions<C> = {\n\tpath: string;\n\tdialogRouteConfig?: Partial<Omit<DialogRouteConfig<C>, 'path' | 'component' | 'loadComponent' | 'dataFactory'>>;\n} & (LuDialogData<C> extends never\n\t? { dataFactory?: never }\n\t: {\n\t\t\tdataFactory: DialogResolveFn<LuDialogData<C>>;\n\t\t});\n\nexport type DialogFactoryResult<C> = (options: DialogFactoryResultOptions<C>) => Route;\n\nexport type DialogFactoryConfig<C> = Partial<{\n\tdialogConfig: DialogRouteDialogConfig<C>;\n\tdialogRouteConfig: Partial<DialogRouteConfig<C>>;\n}>;\n\nexport function dialogRouteFactory<C>(component: ComponentType<C>, config?: DialogFactoryConfig<C>): DialogFactoryResult<C> {\n\treturn ({ path, dataFactory, dialogRouteConfig }) =>\n\t\tcreateDialogRoute<C>({\n\t\t\tpath,\n\t\t\tcomponent,\n\t\t\tdataFactory: dataFactory as LuDialogData<C> extends never ? undefined : DialogResolveFn<LuDialogData<C>>,\n\t\t\tdialogConfigFactory: () => config?.dialogConfig ?? ({} as DialogRouteDialogConfig<C>),\n\t\t\t...mergeRouteConfig(config?.dialogRouteConfig, dialogRouteConfig),\n\t\t});\n}\n\nexport function dialogLazyRouteFactory<C>(loadComponent: () => Promise<ComponentType<C>>, config?: DialogFactoryConfig<C>): DialogFactoryResult<C> {\n\treturn ({ path, dataFactory, dialogRouteConfig }) =>\n\t\tcreateDialogRoute<C>({\n\t\t\tpath,\n\t\t\tloadComponent,\n\t\t\tdataFactory: dataFactory as LuDialogData<C> extends never ? undefined : DialogResolveFn<LuDialogData<C>>,\n\t\t\tdialogConfigFactory: () => config?.dialogConfig ?? ({} as DialogRouteDialogConfig<C>),\n\t\t\t...mergeRouteConfig(config?.dialogRouteConfig, dialogRouteConfig),\n\t\t});\n}\n\nfunction mergeRouteConfig<C>(config1: Partial<DialogRouteConfig<C>> | undefined, config2: Partial<DialogRouteConfig<C>> | undefined): Partial<DialogRouteConfig<C>> {\n\tif (!config1 && config2) {\n\t\treturn config2;\n\t}\n\n\tif (!config2 && config1) {\n\t\treturn config1;\n\t}\n\n\tconst result: Partial<DialogRouteConfig<C>> = { ...config1, ...config2 };\n\n\tif (config1 && config2) {\n\t\tconst arrayKeys = ['providers', 'canActivate', 'children', 'canDeactivate', 'canLoad', 'canActivateChild'] as const satisfies Array<keyof Route>;\n\n\t\t// If both configs have the same key, we merge the arrays\n\t\tconst mergedArrays = arrayKeys.filter((key) => key in config1 && key in config2);\n\n\t\tfor (const key of mergedArrays) {\n\t\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t\t\tresult[key] = [...(config1[key] ?? []), ...(config2[key] ?? [])] as any[];\n\t\t}\n\n\t\t// If both configs have the same data key, we merge the objects\n\t\tif (config1.data && config2.data) {\n\t\t\tresult.data = { ...config1.data, ...config2.data };\n\t\t}\n\n\t\t// If both configs have the same resolve key, we merge the objects\n\t\tif (config1.resolve && config2.resolve) {\n\t\t\tresult.resolve = { ...config1.resolve, ...config2.resolve };\n\t\t}\n\t}\n\n\treturn result;\n}\n\nexport function toCanDeactivateFn<C>(guard: DeprecatedGuard | CanDeactivateFn<C>): CanDeactivateFn<C> {\n\tif (typeof guard === 'string') {\n\t\tthrow new Error('String guards are not supported in dialog routes');\n\t}\n\n\ttry {\n\t\tconst deprectedGuard = inject(guard) as CanActivate;\n\t\treturn (_component, currentRoute, _currentState, nextState) => deprectedGuard.canActivate(currentRoute, nextState);\n\t} catch {\n\t\treturn guard as CanDeactivateFn<C>;\n\t}\n}\n","import { assertInInjectionContext, ChangeDetectionStrategy, Component, DestroyRef, inject, Injector, OnDestroy, OnInit, runInInjectionContext, signal, TemplateRef, viewChild } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { ActivatedRoute, CanDeactivateFn, DeprecatedGuard, GuardResult, Router, RouterOutlet } from '@angular/router';\nimport { combineLatest, concat, defaultIfEmpty, defer, every, map, Observable, of, take } from 'rxjs';\nimport { provideLuDialog } from '../dialog.providers';\nimport { LuDialogService } from '../dialog.service';\nimport { LuDialogData, LuDialogRef, LuDialogResult } from '../model';\nimport {\n\tDIALOG_ROUTE_CLOSE_TRIGGER,\n\tDIALOG_ROUTE_CONFIG,\n\tDIALOG_ROUTE_DISMISS_TRIGGER,\n\tDialogRouteCloseTrigger,\n\tDialogRouteData,\n\tDialogRouteDialogConfig,\n\tDialogRouteDismissTrigger,\n} from './dialog-routing.models';\nimport { noRouteReuseFlag } from './dialog-routing.reuse-strategy';\nimport { deferrableToObservable, deferrableToPromise, DialogResolveFn, toCanDeactivateFn } from './dialog-routing.utils';\n\n/**\n * Default onClosed/onDismissed function that navigates back to the parent route when the dialog is closed or dismissed.\n */\nexport function defaultOnClosedFn(): void;\n/**\n * Default onClosed/onDismissed function that navigates back to the parent route when the dialog is closed or dismissed.\n * @deprecated Use non-generic version instead.\n */\nexport function defaultOnClosedFn<_C>(): void;\nexport function defaultOnClosedFn<C>(): void {\n\tlet trigger: DialogRouteCloseTrigger | DialogRouteDismissTrigger | null = null;\n\n\ttry {\n\t\tassertInInjectionContext(defaultOnClosedFn);\n\t\ttrigger = inject(DIALOG_ROUTE_CLOSE_TRIGGER, { optional: true }) ?? inject(DIALOG_ROUTE_DISMISS_TRIGGER, { optional: true });\n\t} catch {\n\t\t// Not in injection context, do nothing\n\t}\n\n\tif (trigger === 'navigation') {\n\t\t// If the dialog is closed because of a navigation, we don't need to do anything.\n\t\t// It would cancel the navigation that is already in progress.\n\t\treturn;\n\t}\n\n\tconst router = inject(Router);\n\tconst route = inject(ActivatedRoute);\n\tconst routeData = route.snapshot.data as DialogRouteData<C>;\n\tconst next = routeData.dialogRouteConfig.path\n\t\t? routeData.dialogRouteConfig.path\n\t\t\t\t.split('/')\n\t\t\t\t.map(() => '..')\n\t\t\t\t.join('/')\n\t\t: '';\n\n\treturn void router.navigate([next], {\n\t\trelativeTo: route.children[0],\n\t\tqueryParamsHandling: 'preserve',\n\t});\n}\n\n@Component({\n\tselector: 'lu-dialog-routing-container',\n\timports: [RouterOutlet],\n\ttemplate: `\n\t\t<ng-template>\n\t\t\t<router-outlet (activate)=\"dialogComponentInstance.set($event)\" (deactivate)=\"dialogComponentInstance.set(null)\" />\n\t\t</ng-template>\n\t`,\n\tstyles: [\n\t\t`\n\t\t\t:host {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t`,\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tproviders: [\n\t\tprovideLuDialog(),\n\t\t{\n\t\t\tprovide: DIALOG_ROUTE_CONFIG,\n\t\t\tuseFactory: () => inject(DialogRoutingContainerComponent).config,\n\t\t},\n\t],\n})\nexport class DialogRoutingContainerComponent<C> implements OnDestroy, OnInit {\n\treadonly #route = inject(ActivatedRoute);\n\treadonly #router = inject(Router);\n\treadonly #destroyRef = inject(DestroyRef);\n\treadonly #dialog = inject(LuDialogService);\n\treadonly injector = inject(Injector);\n\treadonly config = this.#routeData.dialogRouteConfig;\n\tprotected readonly dialogComponentInstance = signal<C | null>(null);\n\tprotected readonly dialogTemplate = viewChild.required(TemplateRef);\n\t#closeTrigger?: DialogRouteCloseTrigger | DialogRouteDismissTrigger;\n\n\t#ref?: LuDialogRef<C>;\n\n\tstatic [noRouteReuseFlag] = true;\n\n\tget #routeData(): DialogRouteData<C> {\n\t\treturn this.#route.snapshot.data as DialogRouteData<C>;\n\t}\n\n\tngOnInit(): void {\n\t\tvoid this.#openDialog();\n\t}\n\n\t/**\n\t * In this context, ngOnDestroy is called when the user navigates away from the route.\n\t * The navigation can be triggered:\n\t * - from within the dialog (#ref.dismissed => config.onClosed/defaultOnClosedFn/config.onDismissed/defaultOnClosedFn => ngOnDestroy)\n\t * - from router navigation (ngOnDestroy => #ref.dismissed => config.onDismissed/defaultOnClosedFn)\n\t */\n\tngOnDestroy(): void {\n\t\tthis.#closeTrigger ??= 'navigation';\n\t\tthis.#ref?.dismiss();\n\t}\n\n\tasync #openDialog(): Promise<void> {\n\t\tconst [data, dialogConfig] = await Promise.all([\n\t\t\tthis.config.dataFactory ? this.#resolve(this.config.dataFactory) : (Promise.resolve() as Awaited<LuDialogData<C>>),\n\t\t\tthis.#resolve(this.config.dialogConfigFactory),\n\t\t]);\n\n\t\tthis.#ref = this.#dialog.open<C>({\n\t\t\t...dialogConfig,\n\t\t\t// A routed dialog closes through its route, not through the cdk's closeOnNavigation.\n\t\t\tcdkConfigOverride: { closeOnNavigation: false, ...dialogConfig.cdkConfigOverride },\n\t\t\tcontent: this.dialogTemplate(),\n\t\t\tdata,\n\t\t\tcanClose: this.#getCanCloseFn(dialogConfig),\n\t\t\tcanDismiss: this.#getCanDismissFn(),\n\t\t});\n\n\t\tthis.#ref.result$.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe((result) => this.#onDialogClosed(result));\n\t\tthis.#ref.dismissed$.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe(() => this.#onDialogDismissed());\n\t}\n\n\t#getCanDismissFn(): (() => Observable<boolean>) | undefined {\n\t\tif (!this.config.canDeactivate?.length) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn () => {\n\t\t\t// If already in a navigation-triggered destroy, allow dismiss without guards\n\t\t\tif (this.#closeTrigger) {\n\t\t\t\treturn of(true);\n\t\t\t}\n\n\t\t\t// Like the router, guards run one after the other and the first veto stops the chain.\n\t\t\t// Each guard counts once, and the whole chain resolves to a single boolean.\n\t\t\t// A guard that completes without a value is a veto: the router rejects it too (`EmptyError`).\n\t\t\tconst results$ = this.config.canDeactivate!.map((cD) => defer(() => this.callCanDeactivateFn(cD)).pipe(take(1), defaultIfEmpty(false)));\n\n\t\t\treturn concat(...results$).pipe(\n\t\t\t\tmap((guardResult) => (typeof guardResult === 'boolean' ? guardResult : true)),\n\t\t\t\tevery((canDismiss) => canDismiss),\n\t\t\t);\n\t\t};\n\t}\n\n\t#getCanCloseFn(config: DialogRouteDialogConfig<C>): ((c: C) => Observable<boolean>) | boolean {\n\t\tconst canCloseFns: ((c: C) => Observable<boolean>)[] = [];\n\n\t\tif (config.canClose) {\n\t\t\tcanCloseFns.push((c: C) => deferrableToObservable(config.canClose!(c)));\n\t\t}\n\n\t\tif (this.config.canDeactivate) {\n\t\t\tcanCloseFns.push(this.#getCanCloseFromGuardDialogFn(this.config.canDeactivate));\n\t\t}\n\n\t\treturn canCloseFns.length ? (c: C) => combineLatest(canCloseFns.map((fn) => fn(c))).pipe(map((results) => results.every((r) => r))) : true;\n\t}\n\n\t#getCanCloseFromGuardDialogFn(canDeactivate: (CanDeactivateFn<C> | DeprecatedGuard)[]): () => Observable<boolean> {\n\t\treturn () => {\n\t\t\tconst results$ = canDeactivate.map((cD) => this.callCanDeactivateFn(cD));\n\n\t\t\treturn concat(...results$).pipe(\n\t\t\t\tmap((guardResult) => {\n\t\t\t\t\tif (typeof guardResult === 'boolean') {\n\t\t\t\t\t\treturn guardResult;\n\t\t\t\t\t}\n\t\t\t\t\tvoid this.#router.navigate([guardResult]);\n\t\t\t\t\treturn true;\n\t\t\t\t}),\n\t\t\t);\n\t\t};\n\t}\n\n\tcallCanDeactivateFn(canDeactivateFn: CanDeactivateFn<C> | DeprecatedGuard): Observable<GuardResult> {\n\t\tconst instance = this.dialogComponentInstance();\n\n\t\tif (!instance) {\n\t\t\t// If instance is null, it means the dialog is already closed. We allow deactivation in this case.\n\t\t\treturn of(true);\n\t\t}\n\n\t\tconst maybeAsyncResult = runInInjectionContext(this.injector, () => {\n\t\t\tconst canDeactivate = toCanDeactivateFn(canDeactivateFn);\n\t\t\treturn canDeactivate(instance, this.#route.snapshot, this.#router.routerState.snapshot, this.#router.routerState.snapshot);\n\t\t});\n\t\treturn deferrableToObservable(maybeAsyncResult);\n\t}\n\n\t#onDialogDismissed(): void {\n\t\tthis.#closeTrigger ??= 'dialog:dismissed';\n\n\t\tif (this.#closeTrigger === 'dialog:closed') {\n\t\t\tthrow new Error('Dialog cannot be both closed and dismissed');\n\t\t}\n\n\t\tconst injector = Injector.create({\n\t\t\tparent: this.injector,\n\t\t\tproviders: [{ provide: DIALOG_ROUTE_DISMISS_TRIGGER, useValue: this.#closeTrigger }],\n\t\t});\n\n\t\trunInInjectionContext(injector, () => {\n\t\t\tif (this.config.onDismissed) {\n\t\t\t\tthis.config.onDismissed();\n\t\t\t} else {\n\t\t\t\tdefaultOnClosedFn();\n\t\t\t}\n\t\t});\n\n\t\tthis.#ref = undefined;\n\t}\n\n\t#onDialogClosed(result: LuDialogResult<C>): void {\n\t\tthis.#closeTrigger ??= 'dialog:closed';\n\n\t\tif (this.#closeTrigger === 'dialog:dismissed') {\n\t\t\tthrow new Error('Dialog cannot be both closed and dismissed');\n\t\t}\n\n\t\tconst injector = Injector.create({\n\t\t\tparent: this.injector,\n\t\t\tproviders: [{ provide: DIALOG_ROUTE_CLOSE_TRIGGER, useValue: this.#closeTrigger }],\n\t\t});\n\n\t\trunInInjectionContext(injector, () => {\n\t\t\tif (this.config.onClosed) {\n\t\t\t\tthis.config.onClosed(result);\n\t\t\t} else {\n\t\t\t\tdefaultOnClosedFn();\n\t\t\t}\n\t\t});\n\n\t\tthis.#ref = undefined;\n\t}\n\n\tasync #resolve<T>(resolveFn: DialogResolveFn<T>): Promise<T> {\n\t\tconst resolved = runInInjectionContext(this.injector, resolveFn);\n\t\treturn deferrableToPromise(resolved);\n\t}\n}\n","/**\n * Available DialogComponent Types\n */\n\nexport const DIALOG_FANCY_ILLUSTRATION = ['approval', 'checklist', 'email', 'install', 'mapping', 'save', 'users', 'welcome', 'payment-card'] as const;\nexport type DialogFancyIllustration = (typeof DIALOG_FANCY_ILLUSTRATION)[number];\n","import { AfterViewInit, ChangeDetectionStrategy, Component, computed, ElementRef, inject, input, ViewEncapsulation } from '@angular/core';\nimport { CDN_URL, luBooleanAttribute } from '@lucca-front/ng/core';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { DialogFancyIllustration } from '../dialog.type';\nimport { LuDialogRef } from '../model';\n\n@Component({\n\tselector: 'lu-dialog',\n\ttemplateUrl: './dialog.component.html',\n\tstyleUrl: './dialog.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [LuSafeExternalSvgPipe],\n\thost: {\n\t\tclass: 'dialog-inside',\n\t\t'[style.--components-dialog-inside-backgroundImage]': 'foregroundImage()',\n\t},\n})\nexport class DialogComponent implements AfterViewInit {\n\tpublic readonly dialogRef = inject<LuDialogRef>(LuDialogRef);\n\n\treadonly stacked = input(false, { transform: luBooleanAttribute });\n\treadonly fancyIllustration = input<DialogFancyIllustration>('welcome');\n\treadonly fancyIllustrationUrl = input<string | null>(null);\n\n\treadonly domain = CDN_URL;\n\treadonly path = '/transverse/prisme/visuals/fancy-dialog/';\n\treadonly prefix = 'foreground-';\n\treadonly extension = '.svg';\n\n\treadonly foregroundImage = computed<string | null>(() => {\n\t\tif (this.dialogRef.config.mode !== 'fancy') {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (this.fancyIllustrationUrl()) {\n\t\t\treturn `url('${this.fancyIllustrationUrl()}')`;\n\t\t} else {\n\t\t\treturn `url('${this.domain}${this.path}${this.prefix}${this.fancyIllustration()}${this.extension}')`;\n\t\t}\n\t});\n\n\t#htmlElement = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n\n\tclose(): void {\n\t\tthis.dialogRef.close();\n\t}\n\n\tdismiss(): void {\n\t\tthis.dialogRef.dismiss();\n\t}\n\n\tngAfterViewInit(): void {\n\t\tif (this.stacked()) {\n\t\t\tthis.dialogRef.cdkRef.overlayRef.hostElement.classList.add('mod-stacked');\n\t\t}\n\n\t\tif (this.dialogRef.config.autoFocus === 'first-input' && !this.dialogRef.config.cdkConfigOverride?.autoFocus) {\n\t\t\tconst focusable: HTMLElement | null =\n\t\t\t\tthis.#htmlElement.querySelector('.luDialog-autofocus .luNativeInput') || this.#htmlElement.querySelector('.luDialog-autofocus') || this.#htmlElement.querySelector('.luNativeInput');\n\t\t\tfocusable?.focus();\n\t\t}\n\t}\n}\n","@if (foregroundImage()) {\n\t<div\n\t\tclass=\"dialog-inside-fancyIllustrations\"\n\t\t[innerHtml]=\"domain + '/transverse/prisme/visuals/fancy-dialog/background-bubbles.svg' | luSafeExternalSvg\"\n\t></div>\n}\n<ng-content />\n","import { Directive, inject } from '@angular/core';\nimport { LuDialogRef } from '../model';\n\n@Directive({\n\tselector: '[luDialogClose]',\n\thost: {\n\t\t'(click)': 'close()',\n\t},\n})\nexport class DialogCloseDirective {\n\t#ref = inject<LuDialogRef>(LuDialogRef, { optional: true });\n\n\tclose() {\n\t\tthis.#ref?.close();\n\t}\n}\n","import { Directive, inject } from '@angular/core';\nimport { LuDialogRef } from '../model';\n\n@Directive({\n\tselector: '[luDialogDismiss]',\n\thost: {\n\t\t'(click)': 'close()',\n\t},\n})\nexport class DialogDismissDirective {\n\t#ref = inject<LuDialogRef>(LuDialogRef, { optional: true });\n\n\tclose() {\n\t\tthis.#ref?.dismiss();\n\t}\n}\n","import { Directive, inject, input, TemplateRef } from '@angular/core';\nimport { provideLuDialog } from '../dialog.providers';\nimport { LuDialogService } from '../dialog.service';\nimport { LuDialogConfig } from '../model';\n\n@Directive({\n\tselector: '[luDialogOpen]',\n\tproviders: [provideLuDialog()],\n\thost: {\n\t\t'(click)': 'click()',\n\t\t'[attr.aria-haspopup]': '\"dialog\"',\n\t},\n})\nexport class DialogOpenDirective {\n\t#dialogService = inject(LuDialogService);\n\n\treadonly dialog = input.required<TemplateRef<void>>({ alias: 'luDialogOpen' });\n\n\treadonly luDialogConfig = input<LuDialogConfig<unknown>>();\n\n\tclick() {\n\t\tthis.#dialogService.open({\n\t\t\t...this.luDialogConfig(),\n\t\t\tcontent: this.dialog(),\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["map"],"mappings":";;;;;;;;;;;;;MAWa,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MA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AC,eAAe,EAAE,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAMlB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAR/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,SAAS,EAAE,CAAC,eAAe,EAAE,CAAC;AAC9B,oBAAA,IAAI,EAAE;AACL,wBAAA,SAAS,EAAE,SAAS;AACpB,wBAAA,sBAAsB,EAAE,UAAU;AAClC,qBAAA;AACD,iBAAA;;;ACZD;;AAEG;;"}
@@ -37,10 +37,10 @@ class DividerComponent {
37
37
  updateClasses() {
38
38
  this.#luClass.setState(this.classesConfig());
39
39
  }
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: DividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
41
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.1", type: DividerComponent, isStandalone: true, selector: "lu-divider", inputs: { separatorRole: { classPropertyName: "separatorRole", publicName: "separatorRole", isSignal: true, isRequired: false, transformFunction: null }, vertical: { classPropertyName: "vertical", publicName: "vertical", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, withRole: { classPropertyName: "withRole", publicName: "withRole", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "separatorRole() || withRole() ? \"separator\" : null", "class.mod-vertical": "vertical()" }, classAttribute: "divider" }, providers: [LuClass], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0, template: '<ng-content />', isInline: true, styles: ["@layer components{.divider{--components-divider-font: var(--pr-t-font-body-M);--components-divider-marginBlock: var(--pr-t-spacings-50);--components-divider-marginInline: 0;--components-divider-margin: var(--components-divider-marginBlock) var(--components-divider-marginInline);--components-divider-minSize: var(--pr-t-spacings-150);--components-divider-direction: row;--components-divider-iconBottom: 0;--components-divider-justify: normal;--components-divider-alignSelf: \"\";--components-divider-display: block;--components-divider-fontSize: var(--pr-t-font-body-M-fontSize);--components-divider-lineHeight: var(--pr-t-font-body-M-lineHeight);border:0;display:var(--components-divider-display);margin:var(--components-divider-margin);align-self:var(--components-divider-alignSelf)}.divider:where(:empty){block-size:auto}.divider:where(:empty):not(.mod-vertical){border-block-start:var(--commons-divider-border)}.divider:not(:empty){display:flex;flex-direction:var(--components-divider-direction);align-items:center;text-wrap:balance;text-align:center;font:var(--components-divider-font);color:var(--palettes-neutral-600);gap:var(--pr-t-spacings-100);justify-content:var(--components-divider-justify)}.divider:not(:empty):before,.divider:not(:empty):after{flex-grow:1;content:\"\"}.divider:not(:empty) .lucca-icon{color:var(--palettes-neutral-600);position:relative;inset-block-end:var(--components-divider-iconBottom)}.divider:not(:empty):not(.mod-vertical):before,.divider:not(:empty):not(.mod-vertical):after{border-block-start:var(--commons-divider-border);min-inline-size:var(--components-divider-minSize)}.divider .button{--components-button-backgroundColor: var(--palettes-neutral-0);--components-button-color: var(--palettes-700, var(--palettes-neutral-700));--components-button-boxShadow: var(--pr-t-elevation-shadow-button), 0 0 0 var(--commons-divider-width) var(--palettes-neutral-200)}.divider .button:hover{--components-button-boxShadow: var(--pr-t-elevation-shadow-button), 0 0 0 var(--commons-divider-width) var(--palettes-300, var(--palettes-neutral-300));--components-button-color: var(--palettes-700, var(--palettes-neutral-700));--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))}.divider .button:active{--components-button-backgroundColor: var(--palettes-100, var(--palettes-neutral-100))}.divider .button:focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:3px}.divider .button:disabled{--components-button-backgroundColor: var(--palettes-neutral-0);--components-button-boxShadow: 0 0 0 1px var(--palettes-neutral-100);--components-button-color: var(--pr-t-color-text-disabled)}}@layer mods{.divider.mod-S{--components-divider-font: var(--pr-t-font-body-S)}.divider.mod-S .button{--icon-size: 1.25rem;--components-button-font: var(--pr-t-font-body-S);--components-button-paddingBlock: var(--pr-t-spacings-75);--components-button-paddingInline: var(--pr-t-spacings-100);--components-button-gap: var(--pr-t-spacings-75)}.divider.mod-S .button .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS)}.divider.mod-S .button{--components-button-font-size: var(--pr-t-font-body-S-fontSize);--components-button-line-height: var(--pr-t-font-body-S-lineHeight)}.divider.mod-S .button:after{font-size:var(--pr-t-font-body-S-lineHeight);block-size:var(--pr-t-font-body-S-lineHeight)}.divider.mod-S .lucca-icon{--icon-size: 1.25rem}.divider.mod-vertical{--components-divider-marginBlock: 0;--components-divider-marginInline: var(--pr-t-spacings-50);--components-divider-alignSelf: stretch}.divider.mod-vertical:where(:empty){border-inline-start:var(--commons-divider-border)}.divider.mod-vertical:not(:empty){--components-divider-direction: column;--components-divider-iconBottom: var(--pr-t-spacings-25);--components-divider-justify: center}.divider.mod-vertical:not(:empty):before,.divider.mod-vertical:not(:empty):after{border-inline-start:var(--commons-divider-border);min-block-size:var(--components-divider-minSize)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
40
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: DividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
41
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.3", type: DividerComponent, isStandalone: true, selector: "lu-divider", inputs: { separatorRole: { classPropertyName: "separatorRole", publicName: "separatorRole", isSignal: true, isRequired: false, transformFunction: null }, vertical: { classPropertyName: "vertical", publicName: "vertical", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, withRole: { classPropertyName: "withRole", publicName: "withRole", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "separatorRole() || withRole() ? \"separator\" : null", "class.mod-vertical": "vertical()" }, classAttribute: "divider" }, providers: [LuClass], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0, template: '<ng-content />', isInline: true, styles: ["@layer components{.divider{--components-divider-font: var(--pr-t-font-body-M);--components-divider-marginBlock: var(--pr-t-spacings-50);--components-divider-marginInline: 0;--components-divider-margin: var(--components-divider-marginBlock) var(--components-divider-marginInline);--components-divider-minSize: var(--pr-t-spacings-150);--components-divider-direction: row;--components-divider-iconBottom: 0;--components-divider-justify: normal;--components-divider-alignSelf: \"\";--components-divider-display: block;--components-divider-fontSize: var(--pr-t-font-body-M-fontSize);--components-divider-lineHeight: var(--pr-t-font-body-M-lineHeight);border:0;display:var(--components-divider-display);margin:var(--components-divider-margin);align-self:var(--components-divider-alignSelf)}.divider:where(:empty){block-size:auto}.divider:where(:empty):not(.mod-vertical){border-block-start:var(--commons-divider-border)}.divider:not(:empty){display:flex;flex-direction:var(--components-divider-direction);align-items:center;text-wrap:balance;text-align:center;font:var(--components-divider-font);color:var(--palettes-neutral-600);gap:var(--pr-t-spacings-100);justify-content:var(--components-divider-justify)}.divider:not(:empty):before,.divider:not(:empty):after{flex-grow:1;content:\"\"}.divider:not(:empty) .lucca-icon{color:var(--palettes-neutral-600);position:relative;inset-block-end:var(--components-divider-iconBottom)}.divider:not(:empty):not(.mod-vertical):before,.divider:not(:empty):not(.mod-vertical):after{border-block-start:var(--commons-divider-border);min-inline-size:var(--components-divider-minSize)}.divider .button{--components-button-backgroundColor: var(--palettes-neutral-0);--components-button-color: var(--palettes-700, var(--palettes-neutral-700));--components-button-boxShadow: var(--pr-t-elevation-shadow-button), 0 0 0 var(--commons-divider-width) var(--palettes-neutral-200)}.divider .button:hover{--components-button-boxShadow: var(--pr-t-elevation-shadow-button), 0 0 0 var(--commons-divider-width) var(--palettes-300, var(--palettes-neutral-300));--components-button-color: var(--palettes-700, var(--palettes-neutral-700));--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))}.divider .button:active{--components-button-backgroundColor: var(--palettes-100, var(--palettes-neutral-100))}.divider .button:focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:3px}.divider .button:disabled{--components-button-backgroundColor: var(--palettes-neutral-0);--components-button-boxShadow: 0 0 0 1px var(--palettes-neutral-100);--components-button-color: var(--pr-t-color-text-disabled)}}@layer mods{.divider.mod-S{--components-divider-font: var(--pr-t-font-body-S)}.divider.mod-S .button{--icon-size: 1.25rem;--components-button-font: var(--pr-t-font-body-S);--components-button-paddingBlock: var(--pr-t-spacings-75);--components-button-paddingInline: var(--pr-t-spacings-100);--components-button-gap: var(--pr-t-spacings-75)}.divider.mod-S .button .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS)}.divider.mod-S .button{--components-button-font-size: var(--pr-t-font-body-S-fontSize);--components-button-line-height: var(--pr-t-font-body-S-lineHeight)}.divider.mod-S .button:after{font-size:var(--pr-t-font-body-S-lineHeight);block-size:var(--pr-t-font-body-S-lineHeight)}.divider.mod-S .lucca-icon{--icon-size: 1.25rem}.divider.mod-vertical{--components-divider-marginBlock: 0;--components-divider-marginInline: var(--pr-t-spacings-50);--components-divider-alignSelf: stretch}.divider.mod-vertical:where(:empty){border-inline-start:var(--commons-divider-border)}.divider.mod-vertical:not(:empty){--components-divider-direction: column;--components-divider-iconBottom: var(--pr-t-spacings-25);--components-divider-justify: center}.divider.mod-vertical:not(:empty):before,.divider.mod-vertical:not(:empty):after{border-inline-start:var(--commons-divider-border);min-block-size:var(--components-divider-minSize)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
42
42
  }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: DividerComponent, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: DividerComponent, decorators: [{
44
44
  type: Component,
45
45
  args: [{ selector: 'lu-divider', providers: [LuClass], template: '<ng-content />', encapsulation: ViewEncapsulation.None, host: {
46
46
  class: 'divider',