@lucca-front/ng 22.0.0-rc.4 → 22.0.0

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 (319) hide show
  1. package/README.md +1 -1
  2. package/fesm2022/lucca-front-ng-a11y.mjs +10 -10
  3. package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
  4. package/fesm2022/lucca-front-ng-activity-feed.mjs +14 -14
  5. package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
  6. package/fesm2022/lucca-front-ng-api.mjs +40 -40
  7. package/fesm2022/lucca-front-ng-app-layout.mjs +7 -6
  8. package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
  9. package/fesm2022/lucca-front-ng-approbation-inbox.mjs +517 -0
  10. package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -0
  11. package/fesm2022/lucca-front-ng-box.mjs +12 -12
  12. package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
  13. package/fesm2022/lucca-front-ng-breadcrumbs.mjs +9 -9
  14. package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
  15. package/fesm2022/lucca-front-ng-bubble-icon.mjs +4 -4
  16. package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
  17. package/fesm2022/lucca-front-ng-bubble-illustration.mjs +7 -6
  18. package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
  19. package/fesm2022/lucca-front-ng-callout.mjs +38 -38
  20. package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
  21. package/fesm2022/lucca-front-ng-chip.mjs +10 -10
  22. package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
  23. package/fesm2022/lucca-front-ng-clear.mjs +7 -7
  24. package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
  25. package/fesm2022/lucca-front-ng-code.mjs +6 -5
  26. package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
  27. package/fesm2022/lucca-front-ng-color.mjs +7 -6
  28. package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
  29. package/fesm2022/lucca-front-ng-comment.mjs +18 -17
  30. package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
  31. package/fesm2022/lucca-front-ng-container.mjs +8 -7
  32. package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
  33. package/fesm2022/lucca-front-ng-core-select-api.mjs +17 -40
  34. package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
  35. package/fesm2022/lucca-front-ng-core-select-department.mjs +18 -20
  36. package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
  37. package/fesm2022/lucca-front-ng-core-select-establishment.mjs +28 -16
  38. package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
  39. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +19 -9
  40. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
  41. package/fesm2022/lucca-front-ng-core-select-legal-units.mjs +34 -21
  42. package/fesm2022/lucca-front-ng-core-select-legal-units.mjs.map +1 -1
  43. package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +16 -6
  44. package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
  45. package/fesm2022/lucca-front-ng-core-select-user.mjs +41 -36
  46. package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
  47. package/fesm2022/lucca-front-ng-core-select.mjs +252 -114
  48. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  49. package/fesm2022/lucca-front-ng-core.mjs +113 -38
  50. package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
  51. package/fesm2022/lucca-front-ng-data-table.mjs +50 -50
  52. package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
  53. package/fesm2022/lucca-front-ng-date.mjs +42 -43
  54. package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
  55. package/fesm2022/lucca-front-ng-date2.mjs +50 -48
  56. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  57. package/fesm2022/lucca-front-ng-department.mjs +28 -27
  58. package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
  59. package/fesm2022/lucca-front-ng-dialog.mjs +85 -59
  60. package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
  61. package/fesm2022/lucca-front-ng-divider.mjs +9 -9
  62. package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
  63. package/fesm2022/lucca-front-ng-dropdown.mjs +46 -46
  64. package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
  65. package/fesm2022/lucca-front-ng-empty-state.mjs +56 -31
  66. package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
  67. package/fesm2022/lucca-front-ng-error-page.mjs +4 -4
  68. package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
  69. package/fesm2022/lucca-front-ng-establishment.mjs +38 -37
  70. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
  71. package/fesm2022/lucca-front-ng-fancy-box.mjs +4 -4
  72. package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
  73. package/fesm2022/lucca-front-ng-file-upload.mjs +86 -48
  74. package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
  75. package/fesm2022/lucca-front-ng-filter-pills.mjs +150 -27
  76. package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
  77. package/fesm2022/lucca-front-ng-footer.mjs +10 -9
  78. package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
  79. package/fesm2022/lucca-front-ng-form-field.mjs +35 -36
  80. package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
  81. package/fesm2022/lucca-front-ng-form-header.mjs +5 -5
  82. package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
  83. package/fesm2022/lucca-front-ng-form-label.mjs +19 -52
  84. package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
  85. package/fesm2022/lucca-front-ng-form.mjs +9 -8
  86. package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
  87. package/fesm2022/lucca-front-ng-formly.mjs +64 -64
  88. package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
  89. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +8 -8
  90. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
  91. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +3 -3
  92. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +6 -6
  93. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
  94. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +68 -55
  95. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
  96. package/fesm2022/lucca-front-ng-forms.mjs +127 -113
  97. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  98. package/fesm2022/lucca-front-ng-gauge.mjs +11 -11
  99. package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
  100. package/fesm2022/lucca-front-ng-grid.mjs +18 -17
  101. package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
  102. package/fesm2022/lucca-front-ng-highlight-data.mjs +11 -18
  103. package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
  104. package/fesm2022/lucca-front-ng-highlight-section.mjs +85 -0
  105. package/fesm2022/lucca-front-ng-highlight-section.mjs.map +1 -0
  106. package/fesm2022/lucca-front-ng-highlight-text.mjs +3 -3
  107. package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +17 -17
  108. package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
  109. package/fesm2022/lucca-front-ng-impersonation.mjs +7 -7
  110. package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
  111. package/fesm2022/lucca-front-ng-index-table.mjs +50 -50
  112. package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
  113. package/fesm2022/lucca-front-ng-inline-message.mjs +6 -6
  114. package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
  115. package/fesm2022/lucca-front-ng-input.mjs +22 -22
  116. package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
  117. package/fesm2022/lucca-front-ng-link.mjs +24 -16
  118. package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
  119. package/fesm2022/lucca-front-ng-listbox.mjs +67 -33
  120. package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
  121. package/fesm2022/lucca-front-ng-listing.mjs +17 -16
  122. package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
  123. package/fesm2022/lucca-front-ng-loading.mjs +8 -8
  124. package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
  125. package/fesm2022/lucca-front-ng-main-layout.mjs +131 -15
  126. package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
  127. package/fesm2022/lucca-front-ng-mobile-push.mjs +3 -3
  128. package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
  129. package/fesm2022/lucca-front-ng-modal.mjs +27 -27
  130. package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
  131. package/fesm2022/lucca-front-ng-multi-select.mjs +216 -135
  132. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  133. package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
  134. package/fesm2022/lucca-front-ng-number-format.mjs +6 -6
  135. package/fesm2022/lucca-front-ng-number.mjs +7 -7
  136. package/fesm2022/lucca-front-ng-numeric-badge.mjs +1 -84
  137. package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
  138. package/fesm2022/lucca-front-ng-option.mjs +145 -139
  139. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  140. package/fesm2022/lucca-front-ng-page-header.mjs +8 -8
  141. package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
  142. package/fesm2022/lucca-front-ng-pagination.mjs +13 -16
  143. package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
  144. package/fesm2022/lucca-front-ng-plg-push.mjs +6 -6
  145. package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
  146. package/fesm2022/lucca-front-ng-popover.mjs +17 -17
  147. package/fesm2022/lucca-front-ng-popover2.mjs +15 -16
  148. package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
  149. package/fesm2022/lucca-front-ng-popup.mjs +10 -10
  150. package/fesm2022/lucca-front-ng-progress-bar.mjs +8 -7
  151. package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
  152. package/fesm2022/lucca-front-ng-progress-stepper.mjs +9 -9
  153. package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
  154. package/fesm2022/lucca-front-ng-read-more.mjs +17 -12
  155. package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
  156. package/fesm2022/lucca-front-ng-resource-card.mjs +21 -20
  157. package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
  158. package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
  159. package/fesm2022/lucca-front-ng-scroll-box.mjs +6 -5
  160. package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
  161. package/fesm2022/lucca-front-ng-scroll.mjs +9 -9
  162. package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
  163. package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +12 -12
  164. package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
  165. package/fesm2022/lucca-front-ng-segmented-control.mjs +17 -14
  166. package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
  167. package/fesm2022/lucca-front-ng-select.mjs +22 -22
  168. package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
  169. package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
  170. package/fesm2022/lucca-front-ng-simple-select.mjs +53 -39
  171. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  172. package/fesm2022/lucca-front-ng-skeleton.mjs +1 -237
  173. package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
  174. package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +11 -11
  175. package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -1
  176. package/fesm2022/lucca-front-ng-software-icon.mjs +8 -7
  177. package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
  178. package/fesm2022/lucca-front-ng-sortable-list.mjs +13 -13
  179. package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
  180. package/fesm2022/lucca-front-ng-status-badge.mjs +6 -6
  181. package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
  182. package/fesm2022/lucca-front-ng-table-of-content.mjs +6 -6
  183. package/fesm2022/lucca-front-ng-tag.mjs +1 -72
  184. package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
  185. package/fesm2022/lucca-front-ng-text-flow.mjs +4 -4
  186. package/fesm2022/lucca-front-ng-text-flow.mjs.map +1 -1
  187. package/fesm2022/lucca-front-ng-time.mjs +46 -47
  188. package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
  189. package/fesm2022/lucca-front-ng-title.mjs +24 -14
  190. package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
  191. package/fesm2022/lucca-front-ng-toast.mjs +13 -14
  192. package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
  193. package/fesm2022/lucca-front-ng-tooltip.mjs +1 -556
  194. package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
  195. package/fesm2022/lucca-front-ng-tree-select.mjs +58 -42
  196. package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
  197. package/fesm2022/lucca-front-ng-user-popover.mjs +22 -19
  198. package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
  199. package/fesm2022/lucca-front-ng-user.mjs +75 -73
  200. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  201. package/fesm2022/lucca-front-ng-vertical-navigation.mjs +21 -22
  202. package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
  203. package/package.json +12 -4
  204. package/schematics/action-icon/migration.spec.js +2 -2
  205. package/schematics/alignment-utilities/migration.spec.js +2 -2
  206. package/schematics/cdn-urls/migration.spec.js +2 -2
  207. package/schematics/class-prefix/migration.spec.js +2 -2
  208. package/schematics/color-text/migration.spec.js +2 -2
  209. package/schematics/component-path/migration.spec.js +2 -2
  210. package/schematics/deprecated-resolver/migration.spec.js +1 -1
  211. package/schematics/empty-state-title/migration.spec.js +1 -1
  212. package/schematics/lib/migration-test.js +6 -1
  213. package/schematics/lu-button/migration.spec.js +1 -1
  214. package/schematics/lu-container/migration.spec.js +1 -1
  215. package/schematics/lu-grid/migration.js +24 -16
  216. package/schematics/lu-grid/migration.spec.js +1 -1
  217. package/schematics/lu-icon/migration.spec.js +1 -1
  218. package/schematics/lu-loading/migration.spec.js +1 -1
  219. package/schematics/lu-select/migration.spec.js +1 -1
  220. package/schematics/lu-text-input/migration.spec.js +1 -1
  221. package/schematics/new-icons/migration.spec.js +2 -2
  222. package/schematics/palettes/index.js +28 -8
  223. package/schematics/palettes/migration.spec.js +2 -2
  224. package/schematics/tokens-radius/migration.spec.js +2 -2
  225. package/schematics/tokens-spacing/migration.spec.js +2 -2
  226. package/schematics/tokens-typo/migration.spec.js +2 -2
  227. package/src/_components.scss +1 -0
  228. package/src/components/_listbox.scss +8 -0
  229. package/src/components/_picker.scss +0 -34
  230. package/src/components/_popover.scss +1 -1
  231. package/src/components/_popup.scss +6 -6
  232. package/src/components/_sidepanel.scss +1 -1
  233. package/src/definitions/option/_option-item.scss +1 -8
  234. package/title/README.md +22 -7
  235. package/types/lucca-front-ng-app-layout.d.ts +1 -1
  236. package/types/lucca-front-ng-approbation-inbox.d.ts +142 -0
  237. package/types/lucca-front-ng-box.d.ts +4 -4
  238. package/types/lucca-front-ng-breadcrumbs.d.ts +1 -1
  239. package/types/lucca-front-ng-bubble-icon.d.ts +1 -1
  240. package/types/lucca-front-ng-bubble-illustration.d.ts +1 -1
  241. package/types/lucca-front-ng-callout.d.ts +9 -9
  242. package/types/lucca-front-ng-chip.d.ts +3 -3
  243. package/types/lucca-front-ng-clear.d.ts +2 -2
  244. package/types/lucca-front-ng-code.d.ts +1 -1
  245. package/types/lucca-front-ng-color.d.ts +1 -1
  246. package/types/lucca-front-ng-comment.d.ts +6 -5
  247. package/types/lucca-front-ng-container.d.ts +2 -2
  248. package/types/lucca-front-ng-core-select-api.d.ts +10 -4
  249. package/types/lucca-front-ng-core-select-department.d.ts +2 -2
  250. package/types/lucca-front-ng-core-select-establishment.d.ts +3 -1
  251. package/types/lucca-front-ng-core-select-job-qualification.d.ts +2 -0
  252. package/types/lucca-front-ng-core-select-legal-units.d.ts +3 -1
  253. package/types/lucca-front-ng-core-select-occupation-category.d.ts +2 -0
  254. package/types/lucca-front-ng-core-select-user.d.ts +4 -3
  255. package/types/lucca-front-ng-core-select.d.ts +82 -16
  256. package/types/lucca-front-ng-core.d.ts +77 -3
  257. package/types/lucca-front-ng-data-table.d.ts +14 -14
  258. package/types/lucca-front-ng-date.d.ts +1 -1
  259. package/types/lucca-front-ng-date2.d.ts +19 -19
  260. package/types/lucca-front-ng-department.d.ts +2 -2
  261. package/types/lucca-front-ng-dialog.d.ts +7 -6
  262. package/types/lucca-front-ng-divider.d.ts +3 -3
  263. package/types/lucca-front-ng-dropdown.d.ts +2 -2
  264. package/types/lucca-front-ng-empty-state.d.ts +15 -6
  265. package/types/lucca-front-ng-establishment.d.ts +2 -2
  266. package/types/lucca-front-ng-file-upload.d.ts +22 -11
  267. package/types/lucca-front-ng-filter-pills.d.ts +43 -3
  268. package/types/lucca-front-ng-footer.d.ts +4 -4
  269. package/types/lucca-front-ng-form-field.d.ts +10 -10
  270. package/types/lucca-front-ng-form-header.d.ts +1 -1
  271. package/types/lucca-front-ng-form-label.d.ts +5 -9
  272. package/types/lucca-front-ng-form.d.ts +2 -2
  273. package/types/lucca-front-ng-forms-phone-number-input.d.ts +5 -5
  274. package/types/lucca-front-ng-forms-rich-text-input.d.ts +9 -5
  275. package/types/lucca-front-ng-forms.d.ts +50 -37
  276. package/types/lucca-front-ng-gauge.d.ts +6 -6
  277. package/types/lucca-front-ng-grid.d.ts +8 -8
  278. package/types/lucca-front-ng-highlight-data.d.ts +3 -5
  279. package/types/lucca-front-ng-highlight-section.d.ts +44 -0
  280. package/types/lucca-front-ng-horizontal-navigation.d.ts +4 -4
  281. package/types/lucca-front-ng-impersonation.d.ts +1 -1
  282. package/types/lucca-front-ng-index-table.d.ts +12 -12
  283. package/types/lucca-front-ng-inline-message.d.ts +1 -1
  284. package/types/lucca-front-ng-link.d.ts +4 -4
  285. package/types/lucca-front-ng-listbox.d.ts +33 -13
  286. package/types/lucca-front-ng-listing.d.ts +9 -9
  287. package/types/lucca-front-ng-loading.d.ts +3 -3
  288. package/types/lucca-front-ng-main-layout.d.ts +40 -9
  289. package/types/lucca-front-ng-modal.d.ts +1 -1
  290. package/types/lucca-front-ng-multi-select.d.ts +33 -7
  291. package/types/lucca-front-ng-numeric-badge.d.ts +1 -46
  292. package/types/lucca-front-ng-option.d.ts +2 -0
  293. package/types/lucca-front-ng-page-header.d.ts +2 -2
  294. package/types/lucca-front-ng-pagination.d.ts +5 -5
  295. package/types/lucca-front-ng-plg-push.d.ts +1 -1
  296. package/types/lucca-front-ng-popover2.d.ts +14 -14
  297. package/types/lucca-front-ng-progress-bar.d.ts +2 -2
  298. package/types/lucca-front-ng-progress-stepper.d.ts +1 -1
  299. package/types/lucca-front-ng-read-more.d.ts +9 -4
  300. package/types/lucca-front-ng-resource-card.d.ts +6 -6
  301. package/types/lucca-front-ng-scroll-box.d.ts +1 -1
  302. package/types/lucca-front-ng-scroll.d.ts +1 -1
  303. package/types/lucca-front-ng-segmented-control-tabs.d.ts +2 -2
  304. package/types/lucca-front-ng-segmented-control.d.ts +5 -3
  305. package/types/lucca-front-ng-select.d.ts +2 -1
  306. package/types/lucca-front-ng-simple-select.d.ts +6 -5
  307. package/types/lucca-front-ng-skeleton.d.ts +1 -158
  308. package/types/lucca-front-ng-software-icon-wrapper.d.ts +3 -3
  309. package/types/lucca-front-ng-software-icon.d.ts +2 -2
  310. package/types/lucca-front-ng-sortable-list.d.ts +5 -5
  311. package/types/lucca-front-ng-status-badge.d.ts +1 -1
  312. package/types/lucca-front-ng-tag.d.ts +1 -53
  313. package/types/lucca-front-ng-time.d.ts +17 -17
  314. package/types/lucca-front-ng-title.d.ts +4 -4
  315. package/types/lucca-front-ng-toast.d.ts +1 -1
  316. package/types/lucca-front-ng-tooltip.d.ts +1 -80
  317. package/types/lucca-front-ng-tree-select.d.ts +3 -4
  318. package/types/lucca-front-ng-user.d.ts +8 -6
  319. package/types/lucca-front-ng-vertical-navigation.d.ts +4 -4
@@ -172,10 +172,10 @@ class LuPopupRefFactory {
172
172
  forge(component, config) {
173
173
  return new LuPopupRef(this._overlay, this._injector, component, config);
174
174
  }
175
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopupRefFactory, deps: [{ token: i1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
176
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopupRefFactory }); }
175
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: LuPopupRefFactory, deps: [{ token: i1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
176
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: LuPopupRefFactory }); }
177
177
  }
178
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopupRefFactory, decorators: [{
178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: LuPopupRefFactory, decorators: [{
179
179
  type: Injectable
180
180
  }], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.Injector }] });
181
181
 
@@ -190,10 +190,10 @@ class LuPopup {
190
190
  ref.open(data);
191
191
  return ref;
192
192
  }
193
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopup, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
194
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopup }); }
193
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: LuPopup, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
194
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: LuPopup }); }
195
195
  }
196
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopup, decorators: [{
196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: LuPopup, decorators: [{
197
197
  type: Injectable
198
198
  }] });
199
199
 
@@ -201,11 +201,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
201
201
  * @deprecated use `OverlayModule` imports && `LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }` providers instead
202
202
  */
203
203
  class LuPopupModule {
204
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
205
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.7", ngImport: i0, type: LuPopupModule, imports: [OverlayModule] }); }
206
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopupModule, providers: [LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }], imports: [OverlayModule] }); }
204
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: LuPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
205
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: LuPopupModule, imports: [OverlayModule] }); }
206
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: LuPopupModule, providers: [LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }], imports: [OverlayModule] }); }
207
207
  }
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopupModule, decorators: [{
208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: LuPopupModule, decorators: [{
209
209
  type: NgModule,
210
210
  args: [{
211
211
  imports: [OverlayModule],
@@ -1,5 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, numberAttribute, booleanAttribute, computed, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
2
+ import { input, computed, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
3
+ import { luNumberAttribute, luBooleanAttribute } from '@lucca-front/ng/core';
3
4
 
4
5
  /**
5
6
  * Available ProgressBarComponent Types
@@ -11,7 +12,7 @@ class ProgressBarComponent {
11
12
  /**
12
13
  * Progress percentage (0 to 100)
13
14
  */
14
- this.value = input(0, { ...(ngDevMode ? { debugName: "value" } : /* istanbul ignore next */ {}), transform: numberAttribute });
15
+ this.value = input(0, { ...(ngDevMode ? { debugName: "value" } : /* istanbul ignore next */ {}), transform: luNumberAttribute });
15
16
  /**
16
17
  * Progress bar state
17
18
  */
@@ -20,18 +21,18 @@ class ProgressBarComponent {
20
21
  /**
21
22
  * Displays a loading state without progress information
22
23
  */
23
- this.indeterminate = input(false, { ...(ngDevMode ? { debugName: "indeterminate" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
24
+ this.indeterminate = input(false, { ...(ngDevMode ? { debugName: "indeterminate" } : /* istanbul ignore next */ {}), transform: luBooleanAttribute });
24
25
  this.stateClass = computed(() => ({
25
26
  [`is-${this.state()}`]: !!this.state(),
26
27
  }), /* @ts-ignore */
27
28
  ...(ngDevMode ? [{ debugName: "stateClass" }] : /* istanbul ignore next */ []));
28
29
  }
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: ProgressBarComponent, isStandalone: true, selector: "lu-progress-bar", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"progress\" [class]=\"stateClass()\" [class.mod-indeterminate]=\"indeterminate()\">\n\t<div class=\"progress-bar\" [attr.style]=\"'width:' + value() + '%'\"></div>\n</div>\n", styles: ["@layer components{.progress{--components-progress-margin-vertical: var(--pr-t-spacings-200);--components-progress-margin-horizontal: 0;--components-progress-height: .25rem;--components-progress-background: var(--palettes-neutral-100);--components-progress-bar-background: var(--palettes-product-700);--components-progress-bar-gradient: linear-gradient( to right, color.transparentize(var(--palettes-neutral-0), .8) 0%, color.transparentize(var(--palettes-neutral-0), .5) 100% );--components-progress-duration: 1.5s;background-color:var(--components-progress-background);border-radius:var(--pr-t-border-radius-full);block-size:var(--components-progress-height);margin-block:var(--components-progress-margin-vertical);margin-inline:var(--components-progress-margin-horizontal);position:relative;overflow:hidden}@keyframes progress{0%{transform:scaleX(0);opacity:1}to{transform:scale(1);opacity:.3}}.progress-bar{background-color:var(--palettes-700, var(--components-progress-bar-background));transition-duration:var(--commons-animations-durations-fast);transition-property:background-color,width;inset-block:0;inset-inline-start:0;position:absolute}.progress-bar:after{animation:progress var(--components-progress-duration) infinite;background-image:var(--components-progress-bar-gradient);transform-origin:left;position:absolute;inset:0;content:\"\"}}@layer mods{@keyframes indeterminate{0%{inset-inline-start:-33.3333333333%;inset-inline-end:100%}to{inset-inline-start:100%;inset-inline-end:-33.3333333333%}}.progress.mod-indeterminate .progress-bar{animation:indeterminate var(--components-progress-duration) infinite;inline-size:33.3333333333%!important;animation-timing-function:linear}.progress:is(.is-success,.success,.palette-success) .progress-bar{inline-size:100%!important}.progress:is(.is-success,.success,.palette-success) .progress-bar:after{display:none}.progress:is(.is-success,.success,.palette-success){--palettes-700: var(--palettes-success-700)}.progress:is(.is-error,.error,.palette-error) .progress-bar{inline-size:100%!important}.progress:is(.is-error,.error,.palette-error) .progress-bar:after{display:none}.progress:is(.is-error,.error,.palette-error){--palettes-700: var(--palettes-error-700)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
31
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: ProgressBarComponent, isStandalone: true, selector: "lu-progress-bar", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"progress\" [class]=\"stateClass()\" [class.mod-indeterminate]=\"indeterminate()\">\n\t<div class=\"progress-bar\" [style.inline-size.%]=\"value()\"></div>\n</div>\n", styles: ["@layer components{.progress{--components-progress-margin-vertical: var(--pr-t-spacings-200);--components-progress-margin-horizontal: 0;--components-progress-height: .25rem;--components-progress-background: var(--palettes-neutral-100);--components-progress-bar-background: var(--palettes-product-700);--components-progress-bar-gradient: linear-gradient( to right, color.transparentize(var(--palettes-neutral-0), .8) 0%, color.transparentize(var(--palettes-neutral-0), .5) 100% );--components-progress-duration: 1.5s;background-color:var(--components-progress-background);border-radius:var(--pr-t-border-radius-full);block-size:var(--components-progress-height);margin-block:var(--components-progress-margin-vertical);margin-inline:var(--components-progress-margin-horizontal);position:relative;overflow:hidden}@keyframes progress{0%{transform:scaleX(0);opacity:1}to{transform:scale(1);opacity:.3}}.progress-bar{background-color:var(--palettes-700, var(--components-progress-bar-background));transition-duration:var(--commons-animations-durations-fast);transition-property:background-color,inline-size;inset-block:0;inset-inline-start:0;position:absolute}.progress-bar:after{animation:progress var(--components-progress-duration) infinite;background-image:var(--components-progress-bar-gradient);transform-origin:left;position:absolute;inset:0;content:\"\"}}@layer mods{@keyframes indeterminate{0%{inset-inline-start:-33.3333333333%;inset-inline-end:100%}to{inset-inline-start:100%;inset-inline-end:-33.3333333333%}}.progress.mod-indeterminate .progress-bar{animation:indeterminate var(--components-progress-duration) infinite;inline-size:33.3333333333%!important;animation-timing-function:linear}.progress:is(.is-success,.success,.palette-success) .progress-bar{inline-size:100%!important}.progress:is(.is-success,.success,.palette-success) .progress-bar:after{display:none}.progress:is(.is-success,.success,.palette-success){--palettes-700: var(--palettes-success-700)}.progress:is(.is-error,.error,.palette-error) .progress-bar{inline-size:100%!important}.progress:is(.is-error,.error,.palette-error) .progress-bar:after{display:none}.progress:is(.is-error,.error,.palette-error){--palettes-700: var(--palettes-error-700)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
31
32
  }
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: ProgressBarComponent, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ProgressBarComponent, decorators: [{
33
34
  type: Component,
34
- args: [{ selector: 'lu-progress-bar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"progress\" [class]=\"stateClass()\" [class.mod-indeterminate]=\"indeterminate()\">\n\t<div class=\"progress-bar\" [attr.style]=\"'width:' + value() + '%'\"></div>\n</div>\n", styles: ["@layer components{.progress{--components-progress-margin-vertical: var(--pr-t-spacings-200);--components-progress-margin-horizontal: 0;--components-progress-height: .25rem;--components-progress-background: var(--palettes-neutral-100);--components-progress-bar-background: var(--palettes-product-700);--components-progress-bar-gradient: linear-gradient( to right, color.transparentize(var(--palettes-neutral-0), .8) 0%, color.transparentize(var(--palettes-neutral-0), .5) 100% );--components-progress-duration: 1.5s;background-color:var(--components-progress-background);border-radius:var(--pr-t-border-radius-full);block-size:var(--components-progress-height);margin-block:var(--components-progress-margin-vertical);margin-inline:var(--components-progress-margin-horizontal);position:relative;overflow:hidden}@keyframes progress{0%{transform:scaleX(0);opacity:1}to{transform:scale(1);opacity:.3}}.progress-bar{background-color:var(--palettes-700, var(--components-progress-bar-background));transition-duration:var(--commons-animations-durations-fast);transition-property:background-color,width;inset-block:0;inset-inline-start:0;position:absolute}.progress-bar:after{animation:progress var(--components-progress-duration) infinite;background-image:var(--components-progress-bar-gradient);transform-origin:left;position:absolute;inset:0;content:\"\"}}@layer mods{@keyframes indeterminate{0%{inset-inline-start:-33.3333333333%;inset-inline-end:100%}to{inset-inline-start:100%;inset-inline-end:-33.3333333333%}}.progress.mod-indeterminate .progress-bar{animation:indeterminate var(--components-progress-duration) infinite;inline-size:33.3333333333%!important;animation-timing-function:linear}.progress:is(.is-success,.success,.palette-success) .progress-bar{inline-size:100%!important}.progress:is(.is-success,.success,.palette-success) .progress-bar:after{display:none}.progress:is(.is-success,.success,.palette-success){--palettes-700: var(--palettes-success-700)}.progress:is(.is-error,.error,.palette-error) .progress-bar{inline-size:100%!important}.progress:is(.is-error,.error,.palette-error) .progress-bar:after{display:none}.progress:is(.is-error,.error,.palette-error){--palettes-700: var(--palettes-error-700)}}\n"] }]
35
+ args: [{ selector: 'lu-progress-bar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"progress\" [class]=\"stateClass()\" [class.mod-indeterminate]=\"indeterminate()\">\n\t<div class=\"progress-bar\" [style.inline-size.%]=\"value()\"></div>\n</div>\n", styles: ["@layer components{.progress{--components-progress-margin-vertical: var(--pr-t-spacings-200);--components-progress-margin-horizontal: 0;--components-progress-height: .25rem;--components-progress-background: var(--palettes-neutral-100);--components-progress-bar-background: var(--palettes-product-700);--components-progress-bar-gradient: linear-gradient( to right, color.transparentize(var(--palettes-neutral-0), .8) 0%, color.transparentize(var(--palettes-neutral-0), .5) 100% );--components-progress-duration: 1.5s;background-color:var(--components-progress-background);border-radius:var(--pr-t-border-radius-full);block-size:var(--components-progress-height);margin-block:var(--components-progress-margin-vertical);margin-inline:var(--components-progress-margin-horizontal);position:relative;overflow:hidden}@keyframes progress{0%{transform:scaleX(0);opacity:1}to{transform:scale(1);opacity:.3}}.progress-bar{background-color:var(--palettes-700, var(--components-progress-bar-background));transition-duration:var(--commons-animations-durations-fast);transition-property:background-color,inline-size;inset-block:0;inset-inline-start:0;position:absolute}.progress-bar:after{animation:progress var(--components-progress-duration) infinite;background-image:var(--components-progress-bar-gradient);transform-origin:left;position:absolute;inset:0;content:\"\"}}@layer mods{@keyframes indeterminate{0%{inset-inline-start:-33.3333333333%;inset-inline-end:100%}to{inset-inline-start:100%;inset-inline-end:-33.3333333333%}}.progress.mod-indeterminate .progress-bar{animation:indeterminate var(--components-progress-duration) infinite;inline-size:33.3333333333%!important;animation-timing-function:linear}.progress:is(.is-success,.success,.palette-success) .progress-bar{inline-size:100%!important}.progress:is(.is-success,.success,.palette-success) .progress-bar:after{display:none}.progress:is(.is-success,.success,.palette-success){--palettes-700: var(--palettes-success-700)}.progress:is(.is-error,.error,.palette-error) .progress-bar{inline-size:100%!important}.progress:is(.is-error,.error,.palette-error) .progress-bar:after{display:none}.progress:is(.is-error,.error,.palette-error){--palettes-700: var(--palettes-error-700)}}\n"] }]
35
36
  }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], state: [{ type: i0.Input, args: [{ isSignal: true, alias: "state", required: false }] }], indeterminate: [{ type: i0.Input, args: [{ isSignal: true, alias: "indeterminate", required: false }] }] } });
36
37
 
37
38
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-progress-bar.mjs","sources":["../../../packages/ng/progress-bar/progress-bar.type.ts","../../../packages/ng/progress-bar/progress-bar.component.ts","../../../packages/ng/progress-bar/progress-bar.component.html","../../../packages/ng/progress-bar/lucca-front-ng-progress-bar.ts"],"sourcesContent":["/**\n * Available ProgressBarComponent Types\n */\n\nexport const PROGRESS_BAR_STATE = ['success', 'error'] as const;\nexport type ProgressBarState = (typeof PROGRESS_BAR_STATE)[number];\n","import { booleanAttribute, ChangeDetectionStrategy, Component, computed, input, numberAttribute, ViewEncapsulation } from '@angular/core';\nimport { ProgressBarState } from './progress-bar.type';\n\n@Component({\n\tselector: 'lu-progress-bar',\n\ttemplateUrl: './progress-bar.component.html',\n\tstyleUrl: './progress-bar.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ProgressBarComponent {\n\t/**\n\t * Progress percentage (0 to 100)\n\t */\n\treadonly value = input(0, { transform: numberAttribute });\n\n\t/**\n\t * Progress bar state\n\t */\n\treadonly state = input<ProgressBarState | null>(null);\n\n\t/**\n\t * Displays a loading state without progress information\n\t */\n\treadonly indeterminate = input(false, { transform: booleanAttribute });\n\n\treadonly stateClass = computed(() => ({\n\t\t[`is-${this.state()}`]: !!this.state(),\n\t}));\n}\n","<div class=\"progress\" [class]=\"stateClass()\" [class.mod-indeterminate]=\"indeterminate()\">\n\t<div class=\"progress-bar\" [attr.style]=\"'width:' + value() + '%'\"></div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAAA;;AAEG;MAEU,kBAAkB,GAAG,CAAC,SAAS,EAAE,OAAO;;MCMxC,oBAAoB,CAAA;AAPjC,IAAA,WAAA,GAAA;AAQC;;AAEG;QACM,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,CAAC,6EAAI,SAAS,EAAE,eAAe,EAAA,CAAG;AAEzD;;AAEG;QACM,IAAA,CAAA,KAAK,GAAG,KAAK,CAA0B,IAAI;kFAAC;AAErD;;AAEG;QACM,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,KAAK,qFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAE7D,QAAA,IAAA,CAAA,UAAU,GAAG,QAAQ,CAAC,OAAO;AACrC,YAAA,CAAC,CAAA,GAAA,EAAM,IAAI,CAAC,KAAK,EAAE,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE;SACtC,CAAC;uFAAC;AACH,IAAA;8GAnBY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,udCVjC,2LAGA,EAAA,MAAA,EAAA,CAAA,8qEAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FDOa,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAPhC,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,iBAGZ,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,2LAAA,EAAA,MAAA,EAAA,CAAA,8qEAAA,CAAA,EAAA;;;AERhD;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-progress-bar.mjs","sources":["../../../packages/ng/progress-bar/progress-bar.type.ts","../../../packages/ng/progress-bar/progress-bar.component.ts","../../../packages/ng/progress-bar/progress-bar.component.html","../../../packages/ng/progress-bar/lucca-front-ng-progress-bar.ts"],"sourcesContent":["/**\n * Available ProgressBarComponent Types\n */\n\nexport const PROGRESS_BAR_STATE = ['success', 'error'] as const;\nexport type ProgressBarState = (typeof PROGRESS_BAR_STATE)[number];\n","import { ChangeDetectionStrategy, Component, computed, input, ViewEncapsulation } from '@angular/core';\nimport { luBooleanAttribute, luNumberAttribute } from '@lucca-front/ng/core';\nimport { ProgressBarState } from './progress-bar.type';\n\n@Component({\n\tselector: 'lu-progress-bar',\n\ttemplateUrl: './progress-bar.component.html',\n\tstyleUrl: './progress-bar.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ProgressBarComponent {\n\t/**\n\t * Progress percentage (0 to 100)\n\t */\n\treadonly value = input(0, { transform: luNumberAttribute });\n\n\t/**\n\t * Progress bar state\n\t */\n\treadonly state = input<ProgressBarState | null>(null);\n\n\t/**\n\t * Displays a loading state without progress information\n\t */\n\treadonly indeterminate = input(false, { transform: luBooleanAttribute });\n\n\treadonly stateClass = computed(() => ({\n\t\t[`is-${this.state()}`]: !!this.state(),\n\t}));\n}\n","<div class=\"progress\" [class]=\"stateClass()\" [class.mod-indeterminate]=\"indeterminate()\">\n\t<div class=\"progress-bar\" [style.inline-size.%]=\"value()\"></div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAAA;;AAEG;MAEU,kBAAkB,GAAG,CAAC,SAAS,EAAE,OAAO;;MCOxC,oBAAoB,CAAA;AAPjC,IAAA,WAAA,GAAA;AAQC;;AAEG;QACM,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,CAAC,6EAAI,SAAS,EAAE,iBAAiB,EAAA,CAAG;AAE3D;;AAEG;QACM,IAAA,CAAA,KAAK,GAAG,KAAK,CAA0B,IAAI;kFAAC;AAErD;;AAEG;QACM,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,KAAK,qFAAI,SAAS,EAAE,kBAAkB,EAAA,CAAG;AAE/D,QAAA,IAAA,CAAA,UAAU,GAAG,QAAQ,CAAC,OAAO;AACrC,YAAA,CAAC,CAAA,GAAA,EAAM,IAAI,CAAC,KAAK,EAAE,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE;SACtC,CAAC;uFAAC;AACH,IAAA;8GAnBY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,udCXjC,mLAGA,EAAA,MAAA,EAAA,CAAA,orEAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FDQa,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAPhC,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,iBAGZ,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mLAAA,EAAA,MAAA,EAAA,CAAA,orEAAA,CAAA,EAAA;;;AEThD;;AAEG;;;;"}
@@ -1,9 +1,9 @@
1
1
  import { NgTemplateOutlet } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { InjectionToken, inject, input, computed, ChangeDetectionStrategy, ViewEncapsulation, Component, contentChildren, numberAttribute, forwardRef } from '@angular/core';
3
+ import { InjectionToken, inject, input, computed, ChangeDetectionStrategy, ViewEncapsulation, Component, contentChildren, forwardRef } from '@angular/core';
4
4
  import * as i1 from '@angular/router';
5
5
  import { RouterModule, RouterLink } from '@angular/router';
6
- import { isRouterLinkParam, LuTypeGuardPipe } from '@lucca-front/ng/core';
6
+ import { isRouterLinkParam, LuTypeGuardPipe, luNumberAttribute } from '@lucca-front/ng/core';
7
7
  import { LuTooltipTriggerDirective } from '@lucca-front/ng/tooltip';
8
8
 
9
9
  /**
@@ -26,10 +26,10 @@ class ProgressStepperStepComponent {
26
26
  ...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
27
27
  this.isRouterLinkParam = isRouterLinkParam;
28
28
  }
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: ProgressStepperStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: ProgressStepperStepComponent, isStandalone: true, selector: "lu-progress-stepper-step", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, routerLinkParam: { classPropertyName: "routerLinkParam", publicName: "routerLinkParam", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "listitem" }, properties: { "attr.aria-current": "this.position() === this.progressStepperRef.current() ? \"step\" : null", "class.is-success": "state() === \"success\"", "class.is-critical": "state() === \"critical\"" }, classAttribute: "progressStepper-list-step" }, ngImport: i0, template: "<ng-template #content>\n\t<span class=\"progressStepper-list-step-number\" aria-hidden=\"true\"></span>\n\t<span class=\"progressStepper-list-step-title\">\n\t\t<span luTooltip luTooltipWhenEllipsis class=\"progressStepper-list-step-title-content\">{{ label() }}</span>\n\t</span>\n</ng-template>\n\n@let typedRouterLinkParam = routerLinkParam();\n\n@if (typedRouterLinkParam) {\n\t@if (typedRouterLinkParam | luTypeGuard: isRouterLinkParam) {\n\t\t<a\n\t\t\t[routerLink]=\"typedRouterLinkParam.commands\"\n\t\t\t[queryParams]=\"typedRouterLinkParam?.queryParams\"\n\t\t\t[fragment]=\"typedRouterLinkParam?.fragment\"\n\t\t\t[target]=\"typedRouterLinkParam?.target\"\n\t\t\t[relativeTo]=\"typedRouterLinkParam?.relativeTo\"\n\t\t\t[preserveFragment]=\"typedRouterLinkParam?.preserveFragment\"\n\t\t\t[skipLocationChange]=\"typedRouterLinkParam?.skipLocationChange\"\n\t\t\t[replaceUrl]=\"typedRouterLinkParam?.replaceUrl\"\n\t\t\tclass=\"progressStepper-list-step-linkOptional\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"content\" />\n\t\t</a>\n\t} @else {\n\t\t<a [routerLink]=\"typedRouterLinkParam\" class=\"progressStepper-list-step-linkOptional\">\n\t\t\t<ng-container *ngTemplateOutlet=\"content\" />\n\t\t</a>\n\t}\n} @else {\n\t<ng-container *ngTemplateOutlet=\"content\" />\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: LuTooltipTriggerDirective, selector: "[luTooltip]", inputs: ["luTooltip", "luTooltipEnterDelay", "luTooltipLeaveDelay", "luTooltipDisabled", "luTooltipOnlyForDisplay", "luTooltipPosition", "luTooltipWhenEllipsis", "luTooltipAnchor", "id"], exportAs: ["luTooltip"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "pipe", type: LuTypeGuardPipe, name: "luTypeGuard" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ProgressStepperStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: ProgressStepperStepComponent, isStandalone: true, selector: "lu-progress-stepper-step", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, routerLinkParam: { classPropertyName: "routerLinkParam", publicName: "routerLinkParam", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "listitem" }, properties: { "attr.aria-current": "this.position() === this.progressStepperRef.current() ? \"step\" : null", "class.is-success": "state() === \"success\"", "class.is-critical": "state() === \"critical\"" }, classAttribute: "progressStepper-list-step" }, ngImport: i0, template: "<ng-template #content>\n\t<span class=\"progressStepper-list-step-number\" aria-hidden=\"true\"></span>\n\t<span class=\"progressStepper-list-step-title\">\n\t\t<span luTooltip luTooltipWhenEllipsis class=\"progressStepper-list-step-title-content\">{{ label() }}</span>\n\t</span>\n</ng-template>\n\n@let typedRouterLinkParam = routerLinkParam();\n\n@if (typedRouterLinkParam) {\n\t@if (typedRouterLinkParam | luTypeGuard: isRouterLinkParam) {\n\t\t<a\n\t\t\t[routerLink]=\"typedRouterLinkParam.commands\"\n\t\t\t[queryParams]=\"typedRouterLinkParam?.queryParams\"\n\t\t\t[fragment]=\"typedRouterLinkParam?.fragment\"\n\t\t\t[target]=\"typedRouterLinkParam?.target\"\n\t\t\t[relativeTo]=\"typedRouterLinkParam?.relativeTo\"\n\t\t\t[preserveFragment]=\"typedRouterLinkParam?.preserveFragment\"\n\t\t\t[skipLocationChange]=\"typedRouterLinkParam?.skipLocationChange\"\n\t\t\t[replaceUrl]=\"typedRouterLinkParam?.replaceUrl\"\n\t\t\tclass=\"progressStepper-list-step-linkOptional\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"content\" />\n\t\t</a>\n\t} @else {\n\t\t<a [routerLink]=\"typedRouterLinkParam\" class=\"progressStepper-list-step-linkOptional\">\n\t\t\t<ng-container *ngTemplateOutlet=\"content\" />\n\t\t</a>\n\t}\n} @else {\n\t<ng-container *ngTemplateOutlet=\"content\" />\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: LuTooltipTriggerDirective, selector: "[luTooltip],[prTooltip]", inputs: ["luTooltip", "prTooltip", "luTooltipEnterDelay", "prTooltipEnterDelay", "luTooltipLeaveDelay", "prTooltipLeaveDelay", "luTooltipDisabled", "prTooltipDisabled", "luTooltipOnlyForDisplay", "prTooltipOnlyForDisplay", "luTooltipPosition", "prTooltipPosition", "luTooltipWhenEllipsis", "prTooltipWhenEllipsis", "luTooltipAnchor", "prTooltipAnchor", "id"], exportAs: ["luTooltip"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "pipe", type: LuTypeGuardPipe, name: "luTypeGuard" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
31
31
  }
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: ProgressStepperStepComponent, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ProgressStepperStepComponent, decorators: [{
33
33
  type: Component,
34
34
  args: [{ selector: 'lu-progress-stepper-step', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet, LuTooltipTriggerDirective, RouterModule, RouterLink, LuTypeGuardPipe], host: {
35
35
  class: 'progressStepper-list-step',
@@ -44,17 +44,17 @@ class ProgressStepperComponent {
44
44
  constructor() {
45
45
  this.steps = contentChildren(ProgressStepperStepComponent, /* @ts-ignore */
46
46
  ...(ngDevMode ? [{ debugName: "steps" }] : /* istanbul ignore next */ []));
47
- this.current = input(1, { ...(ngDevMode ? { debugName: "current" } : /* istanbul ignore next */ {}), transform: numberAttribute });
47
+ this.current = input(1, { ...(ngDevMode ? { debugName: "current" } : /* istanbul ignore next */ {}), transform: luNumberAttribute });
48
48
  }
49
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: ProgressStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
50
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.7", type: ProgressStepperComponent, isStandalone: true, selector: "lu-progress-stepper", inputs: { current: { classPropertyName: "current", publicName: "current", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "progressStepper" }, providers: [
49
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ProgressStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
50
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.8", type: ProgressStepperComponent, isStandalone: true, selector: "lu-progress-stepper", inputs: { current: { classPropertyName: "current", publicName: "current", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "progressStepper" }, providers: [
51
51
  {
52
52
  provide: LU_PROGRESS_STEPPER_INSTANCE,
53
53
  useExisting: forwardRef(() => ProgressStepperComponent),
54
54
  },
55
55
  ], queries: [{ propertyName: "steps", predicate: ProgressStepperStepComponent, isSignal: true }], ngImport: i0, template: "<ol class=\"progressStepper-list\">\n\t<ng-content />\n</ol>\n", styles: ["@charset \"UTF-8\";@layer components{.progressStepper{--components-progressStepper-list-step-before-content: \"\";--components-progressStepper-list-step-after-content: \"\";--components-progressStepper-list-step-title-textDecoration: none;--components-progressStepper-list-step-number-before-boxShadowColor: var(--palettes-neutral-200);--components-progressStepper-list-step-number-after-color: var(--palettes-700, var(--palettes-product-700));--components-progressStepper-list-step-title-position: absolute;--components-progressStepper-list-step-after-position: static;--components-progressStepper-list-flexDirection: row;--components-progressStepper-list-gap: 0;--components-progressStepper-list-step-before-blockSize: var(--commons-divider-width);--components-progressStepper-list-step-after-blockSize: var(--commons-divider-width);--components-progressStepper-list-step-before-backgroundColor: var(--palettes-neutral-200);--components-progressStepper-list-step-after-backgroundColor: var(--palettes-neutral-200);--components-progressStepper-list-step-title-color: inherit;--components-progressStepper-list-step-number-before-color: inherit;--components-progressStepper-list-step-number-before-backgroundColor: var(--palettes-neutral-50);--components-progressStepper-list-step-number-before-content: counter(progressStepper);--components-progressStepper-list-step-number-after-content: none;--components-progressStepper-list-step-number-before-boxShadowWidth: 0px;--components-progressStepper-list-paddingBlockEnd: var(--pr-t-spacings-250);--components-progressStepper-list-step-after-inlineSize: var(--commons-divider-width);--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full) 0 0 var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-inset: auto;container-type:inline-size;container-name:progressStepper;display:block}.progressStepper-list{margin:0;padding:0;list-style-type:\"\";display:flex;counter-reset:progressStepper;color:var(--pr-t-color-text-subtle);padding-block-end:var(--components-progressStepper-list-paddingBlockEnd);flex-direction:var(--components-progressStepper-list-flexDirection);gap:var(--components-progressStepper-list-gap)}.progressStepper-list-step{flex-basis:0;flex-grow:1;counter-increment:progressStepper;position:relative;display:flex;align-items:center;gap:var(--pr-t-spacings-100)}.progressStepper-list-step:before{content:var(--components-progressStepper-list-step-before-content);block-size:var(--components-progressStepper-list-step-before-blockSize);border-radius:0 var(--pr-t-border-radius-full) var(--pr-t-border-radius-full) 0;background-color:var(--components-progressStepper-list-step-before-backgroundColor)}.progressStepper-list-step:after{content:var(--components-progressStepper-list-step-after-content);block-size:var(--components-progressStepper-list-step-after-blockSize);border-radius:var(--components-progressStepper-list-step-after-borderRadius);background-color:var(--components-progressStepper-list-step-after-backgroundColor);inline-size:var(--components-progressStepper-list-step-after-inlineSize);position:var(--components-progressStepper-list-step-after-position);inset:var(--components-progressStepper-list-step-after-inset)}.progressStepper-list-step:before,.progressStepper-list-step:after{flex-grow:1}.progressStepper-list-step-number{font:var(--pr-t-font-body-XS);font-weight:var(--pr-t-font-fontWeight-semibold);display:grid;align-items:center;justify-items:center;text-align:center}.progressStepper-list-step-number:before,.progressStepper-list-step-number:after{grid-area:1/1}.progressStepper-list-step-number:before{content:var(--components-progressStepper-list-step-number-before-content);color:var(--components-progressStepper-list-step-number-before-color);background-color:var(--components-progressStepper-list-step-number-before-backgroundColor);inline-size:var(--pr-t-spacings-250);block-size:var(--pr-t-spacings-250);line-height:var(--pr-t-spacings-250);border-radius:var(--pr-t-border-radius-default);box-shadow:0 0 0 var(--components-progressStepper-list-step-number-before-boxShadowWidth) var(--components-progressStepper-list-step-number-before-boxShadowColor)}.progressStepper-list-step-number:after{font-size:var(--pr-t-font-fontSize-250);color:var(--components-progressStepper-list-step-number-after-color)}.progressStepper-list-step-title{font:var(--pr-t-font-body-S);text-align:center;position:var(--components-progressStepper-list-step-title-position);inset-block-start:100%;inset-inline-start:var(--pr-t-spacings-100);inset-inline-end:var(--pr-t-spacings-100);text-decoration:var(--components-progressStepper-list-step-title-textDecoration);color:var(--components-progressStepper-list-step-title-color);pointer-events:none;min-inline-size:0;display:flex;justify-content:center}.progressStepper-list-step-title-content{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;min-inline-size:0;border-radius:var(--pr-t-border-radius-small)}.progressStepper-list-step-title-content:focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px}.progressStepper-list-step-linkOptional{text-decoration:none;color:inherit;display:flex;gap:var(--pr-t-spacings-100);min-inline-size:0}}@layer mods{@container progressStepper not (min-width: 16rem){.progressStepper:has(.progressStepper-list-step:nth-child(2):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(2):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 24rem){.progressStepper:has(.progressStepper-list-step:nth-child(3):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(3):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 32rem){.progressStepper:has(.progressStepper-list-step:nth-child(4):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(4):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 40rem){.progressStepper:has(.progressStepper-list-step:nth-child(5):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(5):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 48rem){.progressStepper:has(.progressStepper-list-step:nth-child(6):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(6):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 56rem){.progressStepper:has(.progressStepper-list-step:nth-child(7):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(7):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 64rem){.progressStepper:has(.progressStepper-list-step:nth-child(8):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(8):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 72rem){.progressStepper:has(.progressStepper-list-step:nth-child(9):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(9):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}}@layer mods{.progressStepper-list-step:first-child{--components-progressStepper-list-step-before-backgroundColor: transparent !important}.progressStepper-list-step:last-child{--components-progressStepper-list-step-after-backgroundColor: transparent !important}.progressStepper-list-step:has(~[aria-current=step]){--components-progressStepper-list-step-before-backgroundColor: var(--palettes-500, var(--palettes-product-500));--components-progressStepper-list-step-before-blockSize: calc(var(--commons-divider-width) * 2);--components-progressStepper-list-step-after-inlineSize: calc(var(--commons-divider-width) * 2);--components-progressStepper-list-step-after-blockSize: calc(var(--commons-divider-width) * 2);--components-progressStepper-list-step-after-backgroundColor: var(--palettes-500, var(--palettes-product-500))}.progressStepper-list-step[aria-current=step]{--components-progressStepper-list-step-before-blockSize: calc(var(--commons-divider-width) * 2);--components-progressStepper-list-step-before-backgroundColor: var(--palettes-500, var(--palettes-product-500));--components-progressStepper-list-step-title-color: var(--palettes-700, var(--palettes-product-700));--components-progressStepper-list-step-number-before-boxShadowColor: var(--palettes-700, var(--palettes-product-700));--components-progressStepper-list-step-number-before-color: var(--palettes-neutral-0);--components-progressStepper-list-step-number-before-backgroundColor: var(--palettes-700, var(--palettes-product-700))}.progressStepper-list-step.is-success{--components-progressStepper-list-step-number-before-content: \"\"}.progressStepper-list-step.is-success .progressStepper-list-step-number:after{--icon-content: \"\\e97d\";font-weight:var(--pr-t-font-fontWeight-regular);display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:var(--icon-fontFamily);content:var(--icon-content)/\"\";-webkit-font-smoothing:antialiased;text-transform:none}.progressStepper-list-step.is-success{--components-progressStepper-list-step-number-before-boxShadowColor: var(--palettes-200, var(--palettes-product-200));--components-progressStepper-list-step-number-before-backgroundColor: var(--palettes-50, var(--palettes-product-50))}.progressStepper-list-step.is-critical{--components-progressStepper-list-step-number-before-content: \"\"}.progressStepper-list-step.is-critical .progressStepper-list-step-number:after{--icon-content: \"\\e9bf\";font-weight:var(--pr-t-font-fontWeight-regular);display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:var(--icon-fontFamily);content:var(--icon-content)/\"\";-webkit-font-smoothing:antialiased;text-transform:none}.progressStepper-list-step.is-critical{--components-progressStepper-list-step-number-before-boxShadowColor: var(--palettes-critical-200);--components-progressStepper-list-step-number-after-color: var(--palettes-critical-700);--components-progressStepper-list-step-number-before-backgroundColor: var(--palettes-50, var(--palettes-critical-50))}}@layer mods{.progressStepper-list-step-linkOptional:hover{--components-progressStepper-list-step-title-textDecoration: underline;--components-progressStepper-list-step-number-before-boxShadowWidth: var(--commons-divider-width)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
56
56
  }
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: ProgressStepperComponent, decorators: [{
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ProgressStepperComponent, decorators: [{
58
58
  type: Component,
59
59
  args: [{ selector: 'lu-progress-stepper', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
60
60
  class: 'progressStepper',
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-progress-stepper.mjs","sources":["../../../packages/ng/progress-stepper/progress-stepper-step.type.ts","../../../packages/ng/progress-stepper/progress-stepper.token.ts","../../../packages/ng/progress-stepper/progress-stepper-step/progress-stepper-step.component.ts","../../../packages/ng/progress-stepper/progress-stepper-step/progress-stepper-step.component.html","../../../packages/ng/progress-stepper/progress-stepper.component.ts","../../../packages/ng/progress-stepper/progress-stepper.component.html","../../../packages/ng/progress-stepper/lucca-front-ng-progress-stepper.ts"],"sourcesContent":["/**\n * Available ProgressStepperStepComponent States\n */\n\nexport const PROGRESS_STEPPER_STEP_STATE = ['success', 'critical'] as const;\nexport type ProgressStepperStepState = (typeof PROGRESS_STEPPER_STEP_STATE)[number];\n","import { InjectionToken } from '@angular/core';\nimport { ProgressStepperComponent } from './progress-stepper.component';\n\nexport const LU_PROGRESS_STEPPER_INSTANCE = new InjectionToken<ProgressStepperComponent>('LU_PROGRESS_STEPPER_INSTANCE');\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, inject, input, ViewEncapsulation } from '@angular/core';\nimport { RouterLink, RouterModule, UrlTree } from '@angular/router';\nimport { isRouterLinkParam, LuTypeGuardPipe, RouterLinkParam } from '@lucca-front/ng/core';\nimport { LuTooltipTriggerDirective } from '@lucca-front/ng/tooltip';\nimport { ProgressStepperStepState } from '../progress-stepper-step.type';\nimport { LU_PROGRESS_STEPPER_INSTANCE } from '../progress-stepper.token';\n\n@Component({\n\tselector: 'lu-progress-stepper-step',\n\ttemplateUrl: './progress-stepper-step.component.html',\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\timports: [NgTemplateOutlet, LuTooltipTriggerDirective, RouterModule, RouterLink, LuTypeGuardPipe],\n\thost: {\n\t\tclass: 'progressStepper-list-step',\n\t\trole: 'listitem',\n\t\t'[attr.aria-current]': 'this.position() === this.progressStepperRef.current() ? \"step\" : null',\n\t\t'[class.is-success]': 'state() === \"success\"',\n\t\t'[class.is-critical]': 'state() === \"critical\"',\n\t},\n})\nexport class ProgressStepperStepComponent {\n\tprotected readonly progressStepperRef = inject(LU_PROGRESS_STEPPER_INSTANCE);\n\n\treadonly label = input.required<string>();\n\n\treadonly state = input<ProgressStepperStepState | null>(null);\n\n\treadonly routerLinkParam = input<RouterLinkParam | string | readonly string[] | UrlTree | null | undefined>(null);\n\n\tprotected readonly position = computed(() => this.progressStepperRef.steps().indexOf(this) + 1);\n\n\tprotected readonly isRouterLinkParam = isRouterLinkParam;\n}\n","<ng-template #content>\n\t<span class=\"progressStepper-list-step-number\" aria-hidden=\"true\"></span>\n\t<span class=\"progressStepper-list-step-title\">\n\t\t<span luTooltip luTooltipWhenEllipsis class=\"progressStepper-list-step-title-content\">{{ label() }}</span>\n\t</span>\n</ng-template>\n\n@let typedRouterLinkParam = routerLinkParam();\n\n@if (typedRouterLinkParam) {\n\t@if (typedRouterLinkParam | luTypeGuard: isRouterLinkParam) {\n\t\t<a\n\t\t\t[routerLink]=\"typedRouterLinkParam.commands\"\n\t\t\t[queryParams]=\"typedRouterLinkParam?.queryParams\"\n\t\t\t[fragment]=\"typedRouterLinkParam?.fragment\"\n\t\t\t[target]=\"typedRouterLinkParam?.target\"\n\t\t\t[relativeTo]=\"typedRouterLinkParam?.relativeTo\"\n\t\t\t[preserveFragment]=\"typedRouterLinkParam?.preserveFragment\"\n\t\t\t[skipLocationChange]=\"typedRouterLinkParam?.skipLocationChange\"\n\t\t\t[replaceUrl]=\"typedRouterLinkParam?.replaceUrl\"\n\t\t\tclass=\"progressStepper-list-step-linkOptional\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"content\" />\n\t\t</a>\n\t} @else {\n\t\t<a [routerLink]=\"typedRouterLinkParam\" class=\"progressStepper-list-step-linkOptional\">\n\t\t\t<ng-container *ngTemplateOutlet=\"content\" />\n\t\t</a>\n\t}\n} @else {\n\t<ng-container *ngTemplateOutlet=\"content\" />\n}\n","import { ChangeDetectionStrategy, Component, contentChildren, forwardRef, input, numberAttribute, ViewEncapsulation } from '@angular/core';\nimport { ProgressStepperStepComponent } from './progress-stepper-step/progress-stepper-step.component';\nimport { LU_PROGRESS_STEPPER_INSTANCE } from './progress-stepper.token';\n\n@Component({\n\tselector: 'lu-progress-stepper',\n\ttemplateUrl: './progress-stepper.component.html',\n\tstyleUrl: './progress-stepper.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\tclass: 'progressStepper',\n\t},\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_PROGRESS_STEPPER_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => ProgressStepperComponent),\n\t\t},\n\t],\n})\nexport class ProgressStepperComponent {\n\tpublic readonly steps = contentChildren(ProgressStepperStepComponent);\n\n\treadonly current = input(1, { transform: numberAttribute });\n}\n","<ol class=\"progressStepper-list\">\n\t<ng-content />\n</ol>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAAA;;AAEG;MAEU,2BAA2B,GAAG,CAAC,SAAS,EAAE,UAAU;;ACD1D,MAAM,4BAA4B,GAAG,IAAI,cAAc,CAA2B,8BAA8B,CAAC;;MCmB3G,4BAA4B,CAAA;AAdzC,IAAA,WAAA,GAAA;AAeoB,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,4BAA4B,CAAC;QAEnE,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,QAAQ;kFAAU;QAEhC,IAAA,CAAA,KAAK,GAAG,KAAK,CAAkC,IAAI;kFAAC;QAEpD,IAAA,CAAA,eAAe,GAAG,KAAK,CAA4E,IAAI;4FAAC;AAE9F,QAAA,IAAA,CAAA,QAAQ,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,kBAAkB,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC;qFAAC;QAE5E,IAAA,CAAA,iBAAiB,GAAG,iBAAiB;AACxD,IAAA;8GAZY,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA5B,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,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A,EAAA,SAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AErBrE;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-progress-stepper.mjs","sources":["../../../packages/ng/progress-stepper/progress-stepper-step.type.ts","../../../packages/ng/progress-stepper/progress-stepper.token.ts","../../../packages/ng/progress-stepper/progress-stepper-step/progress-stepper-step.component.ts","../../../packages/ng/progress-stepper/progress-stepper-step/progress-stepper-step.component.html","../../../packages/ng/progress-stepper/progress-stepper.component.ts","../../../packages/ng/progress-stepper/progress-stepper.component.html","../../../packages/ng/progress-stepper/lucca-front-ng-progress-stepper.ts"],"sourcesContent":["/**\n * Available ProgressStepperStepComponent States\n */\n\nexport const PROGRESS_STEPPER_STEP_STATE = ['success', 'critical'] as const;\nexport type ProgressStepperStepState = (typeof PROGRESS_STEPPER_STEP_STATE)[number];\n","import { InjectionToken } from '@angular/core';\nimport { ProgressStepperComponent } from './progress-stepper.component';\n\nexport const LU_PROGRESS_STEPPER_INSTANCE = new InjectionToken<ProgressStepperComponent>('LU_PROGRESS_STEPPER_INSTANCE');\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, inject, input, ViewEncapsulation } from '@angular/core';\nimport { RouterLink, RouterModule, UrlTree } from '@angular/router';\nimport { isRouterLinkParam, LuTypeGuardPipe, RouterLinkParam } from '@lucca-front/ng/core';\nimport { LuTooltipTriggerDirective } from '@lucca-front/ng/tooltip';\nimport { ProgressStepperStepState } from '../progress-stepper-step.type';\nimport { LU_PROGRESS_STEPPER_INSTANCE } from '../progress-stepper.token';\n\n@Component({\n\tselector: 'lu-progress-stepper-step',\n\ttemplateUrl: './progress-stepper-step.component.html',\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\timports: [NgTemplateOutlet, LuTooltipTriggerDirective, RouterModule, RouterLink, LuTypeGuardPipe],\n\thost: {\n\t\tclass: 'progressStepper-list-step',\n\t\trole: 'listitem',\n\t\t'[attr.aria-current]': 'this.position() === this.progressStepperRef.current() ? \"step\" : null',\n\t\t'[class.is-success]': 'state() === \"success\"',\n\t\t'[class.is-critical]': 'state() === \"critical\"',\n\t},\n})\nexport class ProgressStepperStepComponent {\n\tprotected readonly progressStepperRef = inject(LU_PROGRESS_STEPPER_INSTANCE);\n\n\treadonly label = input.required<string>();\n\n\treadonly state = input<ProgressStepperStepState | null>(null);\n\n\treadonly routerLinkParam = input<RouterLinkParam | string | readonly string[] | UrlTree | null | undefined>(null);\n\n\tprotected readonly position = computed(() => this.progressStepperRef.steps().indexOf(this) + 1);\n\n\tprotected readonly isRouterLinkParam = isRouterLinkParam;\n}\n","<ng-template #content>\n\t<span class=\"progressStepper-list-step-number\" aria-hidden=\"true\"></span>\n\t<span class=\"progressStepper-list-step-title\">\n\t\t<span luTooltip luTooltipWhenEllipsis class=\"progressStepper-list-step-title-content\">{{ label() }}</span>\n\t</span>\n</ng-template>\n\n@let typedRouterLinkParam = routerLinkParam();\n\n@if (typedRouterLinkParam) {\n\t@if (typedRouterLinkParam | luTypeGuard: isRouterLinkParam) {\n\t\t<a\n\t\t\t[routerLink]=\"typedRouterLinkParam.commands\"\n\t\t\t[queryParams]=\"typedRouterLinkParam?.queryParams\"\n\t\t\t[fragment]=\"typedRouterLinkParam?.fragment\"\n\t\t\t[target]=\"typedRouterLinkParam?.target\"\n\t\t\t[relativeTo]=\"typedRouterLinkParam?.relativeTo\"\n\t\t\t[preserveFragment]=\"typedRouterLinkParam?.preserveFragment\"\n\t\t\t[skipLocationChange]=\"typedRouterLinkParam?.skipLocationChange\"\n\t\t\t[replaceUrl]=\"typedRouterLinkParam?.replaceUrl\"\n\t\t\tclass=\"progressStepper-list-step-linkOptional\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"content\" />\n\t\t</a>\n\t} @else {\n\t\t<a [routerLink]=\"typedRouterLinkParam\" class=\"progressStepper-list-step-linkOptional\">\n\t\t\t<ng-container *ngTemplateOutlet=\"content\" />\n\t\t</a>\n\t}\n} @else {\n\t<ng-container *ngTemplateOutlet=\"content\" />\n}\n","import { ChangeDetectionStrategy, Component, contentChildren, forwardRef, input, ViewEncapsulation } from '@angular/core';\nimport { luNumberAttribute } from '@lucca-front/ng/core';\nimport { ProgressStepperStepComponent } from './progress-stepper-step/progress-stepper-step.component';\nimport { LU_PROGRESS_STEPPER_INSTANCE } from './progress-stepper.token';\n\n@Component({\n\tselector: 'lu-progress-stepper',\n\ttemplateUrl: './progress-stepper.component.html',\n\tstyleUrl: './progress-stepper.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\tclass: 'progressStepper',\n\t},\n\tproviders: [\n\t\t{\n\t\t\tprovide: LU_PROGRESS_STEPPER_INSTANCE,\n\t\t\tuseExisting: forwardRef(() => ProgressStepperComponent),\n\t\t},\n\t],\n})\nexport class ProgressStepperComponent {\n\tpublic readonly steps = contentChildren(ProgressStepperStepComponent);\n\n\treadonly current = input(1, { transform: luNumberAttribute });\n}\n","<ol class=\"progressStepper-list\">\n\t<ng-content />\n</ol>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAAA;;AAEG;MAEU,2BAA2B,GAAG,CAAC,SAAS,EAAE,UAAU;;ACD1D,MAAM,4BAA4B,GAAG,IAAI,cAAc,CAA2B,8BAA8B,CAAC;;MCmB3G,4BAA4B,CAAA;AAdzC,IAAA,WAAA,GAAA;AAeoB,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,4BAA4B,CAAC;QAEnE,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,QAAQ;kFAAU;QAEhC,IAAA,CAAA,KAAK,GAAG,KAAK,CAAkC,IAAI;kFAAC;QAEpD,IAAA,CAAA,eAAe,GAAG,KAAK,CAA4E,IAAI;4FAAC;AAE9F,QAAA,IAAA,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C,IAAI,mBACpB,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACL,wBAAA,KAAK,EAAE,iBAAiB;qBACxB,EAAA,SAAA,EACU;AACV,wBAAA;AACC,4BAAA,OAAO,EAAE,4BAA4B;AACrC,4BAAA,WAAW,EAAE,UAAU,CAAC,8BAA8B,CAAC;AACvD,yBAAA;AACD,qBAAA,EAAA,QAAA,EAAA,gEAAA,EAAA,MAAA,EAAA,CAAA,wofAAA,CAAA,EAAA;6FAGuC,4BAA4B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,SAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEtBrE;;AAEG;;;;"}
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, input, booleanAttribute, computed, viewChild, signal, inject, DestroyRef, afterNextRender, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
3
- import { intlInputOptions, isNil } from '@lucca-front/ng/core';
2
+ import { InjectionToken, input, computed, viewChild, signal, inject, DestroyRef, afterNextRender, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
3
+ import { intlInputOptions, luNumberAttribute, luBooleanAttribute, isNil } from '@lucca-front/ng/core';
4
4
 
5
5
  const Translations = {
6
6
  fr: {
@@ -37,7 +37,7 @@ const Translations = {
37
37
  },
38
38
  pl: {
39
39
  readMore: 'Czytaj więcej',
40
- readLess: 'Przeczytaj mniej',
40
+ readLess: 'Czytaj mniej',
41
41
  },
42
42
  };
43
43
 
@@ -53,16 +53,20 @@ class ReadMoreComponent {
53
53
  /**
54
54
  * Change the number of lines displayed when collapsed
55
55
  */
56
- this.lineClamp = input(5, /* @ts-ignore */
57
- ...(ngDevMode ? [{ debugName: "lineClamp" }] : /* istanbul ignore next */ []));
56
+ this.lineClamp = input(5, { ...(ngDevMode ? { debugName: "lineClamp" } : /* istanbul ignore next */ {}), transform: luNumberAttribute });
58
57
  /**
59
58
  * Prevent the component from closing by hiding the "Read less" button
60
59
  */
61
- this.openOnly = input(false, { ...(ngDevMode ? { debugName: "openOnly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
60
+ this.openOnly = input(false, { ...(ngDevMode ? { debugName: "openOnly" } : /* istanbul ignore next */ {}), transform: luBooleanAttribute });
61
+ /**
62
+ * Display the `\n` of the content as line breaks instead of collapsing them into spaces (`white-space: pre-line`).
63
+ * Meant for plain-text content such as a textarea value.
64
+ */
65
+ this.plainText = input(false, { ...(ngDevMode ? { debugName: "plainText" } : /* istanbul ignore next */ {}), transform: luBooleanAttribute });
62
66
  /**
63
67
  * Change the background color under the "Read more / less" button
64
68
  */
65
- this.textFlow = input(false, { ...(ngDevMode ? { debugName: "textFlow" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
69
+ this.textFlow = input(false, { ...(ngDevMode ? { debugName: "textFlow" } : /* istanbul ignore next */ {}), transform: luBooleanAttribute });
66
70
  /**
67
71
  * Apply the spacing of the Text Flow component
68
72
  */
@@ -119,10 +123,10 @@ class ReadMoreComponent {
119
123
  toggleExpanded() {
120
124
  this.expanded.set(!this.expanded());
121
125
  }
122
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: ReadMoreComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
123
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: ReadMoreComponent, isStandalone: true, selector: "lu-read-more", inputs: { intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null }, lineClamp: { classPropertyName: "lineClamp", publicName: "lineClamp", isSignal: true, isRequired: false, transformFunction: null }, openOnly: { classPropertyName: "openOnly", publicName: "openOnly", isSignal: true, isRequired: false, transformFunction: null }, textFlow: { classPropertyName: "textFlow", publicName: "textFlow", isSignal: true, isRequired: false, transformFunction: null }, surface: { classPropertyName: "surface", publicName: "surface", isSignal: true, isRequired: false, transformFunction: null }, innerContent: { classPropertyName: "innerContent", publicName: "innerContent", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--components-readMore-lineClamp": "lineClamp()", "style.--components-readMore-content-lastChild-content": "`\"${labelReadLess()}\"`", "class.is-disabled": "!expanded() && !isClamped()", "class.mod-openOnly": "openOnly()", "class.mod-sunken": "surface() === `sunken`", "class.mod-default": "surface() === `default`", "style.--components-readMore-link-backgroudColor": "backgroundColor()" }, classAttribute: "readMore" }, viewQueries: [{ propertyName: "contentRef", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: "<button\n\ttype=\"button\"\n\taria-hidden=\"true\"\n\t[attr.tabindex]=\"isClamped() ? null : '-1'\"\n\t[attr.aria-expanded]=\"expanded()\"\n\tclass=\"readMore-link link\"\n\t(click)=\"toggleExpanded()\"\n>\n\t{{ label() }}\n</button>\n@if (isInnerContentNil()) {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" #content>\n\t\t<ng-content />\n\t</div>\n} @else {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" [innerHTML]=\"innerContent()\" #content></div>\n}\n", styles: ["@layer components{.readMore{--components-readMore-lineClamp: 5;--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-raised);--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-500);--components-readMore-link-insetBlockEnd: var(--pr-t-spacings-50);position:relative;display:block}.readMore-link.link{position:absolute;display:flex;inset:auto 0 var(--components-readMore-link-insetBlockEnd) auto;flex-direction:column;z-index:1;line-height:var(--pr-t-font-body-M-lineHeight);background-image:linear-gradient(to right,transparent,var(--components-readMore-link-backgroudColor) calc(var(--components-readMore-link-paddingInlineStart) - var(--pr-t-spacings-100)));padding-inline-start:var(--components-readMore-link-paddingInlineStart);font-weight:var(--pr-t-font-fontWeight-semibold);text-decoration:none}.readMore-link.link:before{content:\"\";position:absolute;inset:0;inset-inline-start:var(--components-readMore-link-paddingInlineStart);border-radius:var(--pr-t-border-radius-default)}.readMore-link.link:focus-visible{outline:none}.readMore-link.link:focus-visible:before{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px}.readMore-content:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)>*:last-child:is(ol,ul)>*:last-child:after,.readMore-content:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)>*:last-child:not(ol,ul):after,.readMore-content:not(:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)):after{content:var(--components-readMore-content-lastChild-content)/\"\";visibility:hidden;white-space:nowrap;font:var(--pr-t-font-body-M);font-weight:var(--pr-t-font-fontWeight-semibold);padding-inline-start:var(--components-readMore-link-paddingInlineStart)}.readMore-content{display:-webkit-box;-webkit-line-clamp:var(--components-readMore-lineClamp);-webkit-box-orient:vertical;overflow:hidden;padding:var(--pr-t-spacings-50);margin:calc(var(--pr-t-spacings-50) * -1)}}@layer mods{.readMore:has(.readMore-link[aria-expanded=true],.readMore-content:focus-within){--components-readMore-lineClamp: 9999 !important;--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-100)}.readMore.is-disabled{--components-readMore-content-lastChild-content: none !important}.readMore.is-disabled .readMore-link.link{border:0;clip-path:rect(1px 1px 1px 1px);margin:-1px;overflow:hidden;padding:0;position:absolute;block-size:1px;inline-size:1px;white-space:nowrap;contain:paint}.readMore.mod-openOnly:has(.readMore-link[aria-expanded=true]){--components-readMore-content-lastChild-content: none !important}.readMore.mod-openOnly:has(.readMore-link[aria-expanded=true]) .readMore-link.link{border:0;clip-path:rect(1px 1px 1px 1px);margin:-1px;overflow:hidden;padding:0;position:absolute;block-size:1px;inline-size:1px;white-space:nowrap;contain:paint}.readMore.mod-default{--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-default)}.readMore.mod-sunken{--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-sunken)}}@layer components{.textFlow{overflow-wrap:anywhere}.textFlow h1{margin-block:var(--pr-t-spacings-300)}.textFlow h2{margin-block:var(--pr-t-spacings-300) var(--pr-t-spacings-150)}.textFlow h3{margin-block:var(--pr-t-spacings-200) var(--pr-t-spacings-150)}.textFlow h4{margin-block:var(--pr-t-spacings-150)}.textFlow p,.textFlow ul,.textFlow ol{margin-block:var(--pr-t-spacings-100)}.textFlow li{margin-block:var(--pr-t-spacings-50)}.textFlow>:first-child{margin-block-start:0}.textFlow>:last-child{margin-block-end:0}.textFlow>:last-child:is(ul,ol)>:last-child{margin-block-end:0}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
126
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ReadMoreComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
127
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: ReadMoreComponent, isStandalone: true, selector: "lu-read-more", inputs: { intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null }, lineClamp: { classPropertyName: "lineClamp", publicName: "lineClamp", isSignal: true, isRequired: false, transformFunction: null }, openOnly: { classPropertyName: "openOnly", publicName: "openOnly", isSignal: true, isRequired: false, transformFunction: null }, plainText: { classPropertyName: "plainText", publicName: "plainText", isSignal: true, isRequired: false, transformFunction: null }, textFlow: { classPropertyName: "textFlow", publicName: "textFlow", isSignal: true, isRequired: false, transformFunction: null }, surface: { classPropertyName: "surface", publicName: "surface", isSignal: true, isRequired: false, transformFunction: null }, innerContent: { classPropertyName: "innerContent", publicName: "innerContent", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--components-readMore-lineClamp": "lineClamp()", "style.--components-readMore-content-lastChild-content": "`\"${labelReadLess()}\"`", "class.is-disabled": "!expanded() && !isClamped()", "class.mod-openOnly": "openOnly()", "class.mod-plainText": "plainText()", "class.mod-sunken": "surface() === `sunken`", "class.mod-default": "surface() === `default`", "style.--components-readMore-link-backgroudColor": "backgroundColor()" }, classAttribute: "readMore" }, viewQueries: [{ propertyName: "contentRef", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: "<button\n\ttype=\"button\"\n\taria-hidden=\"true\"\n\t[attr.tabindex]=\"isClamped() ? null : '-1'\"\n\t[attr.aria-expanded]=\"expanded()\"\n\tclass=\"readMore-link link\"\n\t(click)=\"toggleExpanded()\"\n>\n\t{{ label() }}\n</button>\n@if (isInnerContentNil()) {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" #content>\n\t\t<ng-content />\n\t</div>\n} @else {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" [innerHTML]=\"innerContent()\" #content></div>\n}\n", styles: ["@layer components{.readMore{--components-readMore-lineClamp: 5;--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-raised);--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-500);--components-readMore-link-insetBlockEnd: var(--pr-t-spacings-50);--components-readMore-content-whiteSpace: normal;position:relative;display:block}.readMore-link.link{position:absolute;display:flex;inset:auto 0 var(--components-readMore-link-insetBlockEnd) auto;flex-direction:column;z-index:1;line-height:var(--pr-t-font-body-M-lineHeight);background-image:linear-gradient(to right,transparent,var(--components-readMore-link-backgroudColor) calc(var(--components-readMore-link-paddingInlineStart) - var(--pr-t-spacings-100)));padding-inline-start:var(--components-readMore-link-paddingInlineStart);font-weight:var(--pr-t-font-fontWeight-semibold);text-decoration:none}.readMore-link.link:before{content:\"\";position:absolute;inset:0;inset-inline-start:var(--components-readMore-link-paddingInlineStart);border-radius:var(--pr-t-border-radius-default)}.readMore-link.link:focus-visible{outline:none}.readMore-link.link:focus-visible:before{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px}.readMore-content:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)>*:last-child:is(ol,ul)>*:last-child:after,.readMore-content:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)>*:last-child:not(ol,ul):after,.readMore-content:not(:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)):after{content:var(--components-readMore-content-lastChild-content)/\"\";visibility:hidden;white-space:nowrap;font:var(--pr-t-font-body-M);font-weight:var(--pr-t-font-fontWeight-semibold);padding-inline-start:var(--components-readMore-link-paddingInlineStart)}.readMore-content{display:-webkit-box;-webkit-line-clamp:var(--components-readMore-lineClamp);-webkit-box-orient:vertical;overflow:hidden;padding:var(--pr-t-spacings-50);margin:calc(var(--pr-t-spacings-50) * -1)}.readMore-content:not(:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)){white-space:var(--components-readMore-content-whiteSpace)}}@layer mods{.readMore:has(.readMore-link[aria-expanded=true],.readMore-content:focus-within){--components-readMore-lineClamp: 9999 !important;--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-100)}.readMore.is-disabled{--components-readMore-content-lastChild-content: none !important}.readMore.is-disabled .readMore-link.link{border:0;clip-path:rect(1px 1px 1px 1px);margin:-1px;overflow:hidden;padding:0;position:absolute;block-size:1px;inline-size:1px;white-space:nowrap;contain:paint}.readMore.mod-openOnly:has(.readMore-link[aria-expanded=true]){--components-readMore-content-lastChild-content: none !important}.readMore.mod-openOnly:has(.readMore-link[aria-expanded=true]) .readMore-link.link{border:0;clip-path:rect(1px 1px 1px 1px);margin:-1px;overflow:hidden;padding:0;position:absolute;block-size:1px;inline-size:1px;white-space:nowrap;contain:paint}.readMore.mod-default{--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-default)}.readMore.mod-sunken{--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-sunken)}.readMore.mod-plainText{--components-readMore-content-whiteSpace: pre-line}}@layer components{.textFlow{overflow-wrap:anywhere}.textFlow h1{margin-block:var(--pr-t-spacings-300)}.textFlow h2{margin-block:var(--pr-t-spacings-300) var(--pr-t-spacings-150)}.textFlow h3{margin-block:var(--pr-t-spacings-200) var(--pr-t-spacings-150)}.textFlow h4{margin-block:var(--pr-t-spacings-150)}.textFlow p,.textFlow ul,.textFlow ol{margin-block:var(--pr-t-spacings-100)}.textFlow li{margin-block:var(--pr-t-spacings-50)}.textFlow>:first-child{margin-block-start:0}.textFlow>:last-child{margin-block-end:0}.textFlow>:last-child:is(ul,ol)>:last-child{margin-block-end:0}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
124
128
  }
125
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: ReadMoreComponent, decorators: [{
129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ReadMoreComponent, decorators: [{
126
130
  type: Component,
127
131
  args: [{ selector: 'lu-read-more', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
128
132
  class: 'readMore',
@@ -130,11 +134,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
130
134
  '[style.--components-readMore-content-lastChild-content]': '`"${labelReadLess()}"`',
131
135
  '[class.is-disabled]': '!expanded() && !isClamped()',
132
136
  '[class.mod-openOnly]': 'openOnly()',
137
+ '[class.mod-plainText]': 'plainText()',
133
138
  '[class.mod-sunken]': 'surface() === `sunken`',
134
139
  '[class.mod-default]': 'surface() === `default`',
135
140
  '[style.--components-readMore-link-backgroudColor]': 'backgroundColor()',
136
- }, template: "<button\n\ttype=\"button\"\n\taria-hidden=\"true\"\n\t[attr.tabindex]=\"isClamped() ? null : '-1'\"\n\t[attr.aria-expanded]=\"expanded()\"\n\tclass=\"readMore-link link\"\n\t(click)=\"toggleExpanded()\"\n>\n\t{{ label() }}\n</button>\n@if (isInnerContentNil()) {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" #content>\n\t\t<ng-content />\n\t</div>\n} @else {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" [innerHTML]=\"innerContent()\" #content></div>\n}\n", styles: ["@layer components{.readMore{--components-readMore-lineClamp: 5;--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-raised);--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-500);--components-readMore-link-insetBlockEnd: var(--pr-t-spacings-50);position:relative;display:block}.readMore-link.link{position:absolute;display:flex;inset:auto 0 var(--components-readMore-link-insetBlockEnd) auto;flex-direction:column;z-index:1;line-height:var(--pr-t-font-body-M-lineHeight);background-image:linear-gradient(to right,transparent,var(--components-readMore-link-backgroudColor) calc(var(--components-readMore-link-paddingInlineStart) - var(--pr-t-spacings-100)));padding-inline-start:var(--components-readMore-link-paddingInlineStart);font-weight:var(--pr-t-font-fontWeight-semibold);text-decoration:none}.readMore-link.link:before{content:\"\";position:absolute;inset:0;inset-inline-start:var(--components-readMore-link-paddingInlineStart);border-radius:var(--pr-t-border-radius-default)}.readMore-link.link:focus-visible{outline:none}.readMore-link.link:focus-visible:before{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px}.readMore-content:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)>*:last-child:is(ol,ul)>*:last-child:after,.readMore-content:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)>*:last-child:not(ol,ul):after,.readMore-content:not(:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)):after{content:var(--components-readMore-content-lastChild-content)/\"\";visibility:hidden;white-space:nowrap;font:var(--pr-t-font-body-M);font-weight:var(--pr-t-font-fontWeight-semibold);padding-inline-start:var(--components-readMore-link-paddingInlineStart)}.readMore-content{display:-webkit-box;-webkit-line-clamp:var(--components-readMore-lineClamp);-webkit-box-orient:vertical;overflow:hidden;padding:var(--pr-t-spacings-50);margin:calc(var(--pr-t-spacings-50) * -1)}}@layer mods{.readMore:has(.readMore-link[aria-expanded=true],.readMore-content:focus-within){--components-readMore-lineClamp: 9999 !important;--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-100)}.readMore.is-disabled{--components-readMore-content-lastChild-content: none !important}.readMore.is-disabled .readMore-link.link{border:0;clip-path:rect(1px 1px 1px 1px);margin:-1px;overflow:hidden;padding:0;position:absolute;block-size:1px;inline-size:1px;white-space:nowrap;contain:paint}.readMore.mod-openOnly:has(.readMore-link[aria-expanded=true]){--components-readMore-content-lastChild-content: none !important}.readMore.mod-openOnly:has(.readMore-link[aria-expanded=true]) .readMore-link.link{border:0;clip-path:rect(1px 1px 1px 1px);margin:-1px;overflow:hidden;padding:0;position:absolute;block-size:1px;inline-size:1px;white-space:nowrap;contain:paint}.readMore.mod-default{--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-default)}.readMore.mod-sunken{--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-sunken)}}@layer components{.textFlow{overflow-wrap:anywhere}.textFlow h1{margin-block:var(--pr-t-spacings-300)}.textFlow h2{margin-block:var(--pr-t-spacings-300) var(--pr-t-spacings-150)}.textFlow h3{margin-block:var(--pr-t-spacings-200) var(--pr-t-spacings-150)}.textFlow h4{margin-block:var(--pr-t-spacings-150)}.textFlow p,.textFlow ul,.textFlow ol{margin-block:var(--pr-t-spacings-100)}.textFlow li{margin-block:var(--pr-t-spacings-50)}.textFlow>:first-child{margin-block-start:0}.textFlow>:last-child{margin-block-end:0}.textFlow>:last-child:is(ul,ol)>:last-child{margin-block-end:0}}\n"] }]
137
- }], ctorParameters: () => [], propDecorators: { intl: [{ type: i0.Input, args: [{ isSignal: true, alias: "intl", required: false }] }], lineClamp: [{ type: i0.Input, args: [{ isSignal: true, alias: "lineClamp", required: false }] }], openOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "openOnly", required: false }] }], textFlow: [{ type: i0.Input, args: [{ isSignal: true, alias: "textFlow", required: false }] }], surface: [{ type: i0.Input, args: [{ isSignal: true, alias: "surface", required: false }] }], innerContent: [{ type: i0.Input, args: [{ isSignal: true, alias: "innerContent", required: false }] }], contentRef: [{ type: i0.ViewChild, args: ['content', { isSignal: true }] }] } });
141
+ }, template: "<button\n\ttype=\"button\"\n\taria-hidden=\"true\"\n\t[attr.tabindex]=\"isClamped() ? null : '-1'\"\n\t[attr.aria-expanded]=\"expanded()\"\n\tclass=\"readMore-link link\"\n\t(click)=\"toggleExpanded()\"\n>\n\t{{ label() }}\n</button>\n@if (isInnerContentNil()) {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" #content>\n\t\t<ng-content />\n\t</div>\n} @else {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" [innerHTML]=\"innerContent()\" #content></div>\n}\n", styles: ["@layer components{.readMore{--components-readMore-lineClamp: 5;--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-raised);--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-500);--components-readMore-link-insetBlockEnd: var(--pr-t-spacings-50);--components-readMore-content-whiteSpace: normal;position:relative;display:block}.readMore-link.link{position:absolute;display:flex;inset:auto 0 var(--components-readMore-link-insetBlockEnd) auto;flex-direction:column;z-index:1;line-height:var(--pr-t-font-body-M-lineHeight);background-image:linear-gradient(to right,transparent,var(--components-readMore-link-backgroudColor) calc(var(--components-readMore-link-paddingInlineStart) - var(--pr-t-spacings-100)));padding-inline-start:var(--components-readMore-link-paddingInlineStart);font-weight:var(--pr-t-font-fontWeight-semibold);text-decoration:none}.readMore-link.link:before{content:\"\";position:absolute;inset:0;inset-inline-start:var(--components-readMore-link-paddingInlineStart);border-radius:var(--pr-t-border-radius-default)}.readMore-link.link:focus-visible{outline:none}.readMore-link.link:focus-visible:before{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px}.readMore-content:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)>*:last-child:is(ol,ul)>*:last-child:after,.readMore-content:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)>*:last-child:not(ol,ul):after,.readMore-content:not(:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)):after{content:var(--components-readMore-content-lastChild-content)/\"\";visibility:hidden;white-space:nowrap;font:var(--pr-t-font-body-M);font-weight:var(--pr-t-font-fontWeight-semibold);padding-inline-start:var(--components-readMore-link-paddingInlineStart)}.readMore-content{display:-webkit-box;-webkit-line-clamp:var(--components-readMore-lineClamp);-webkit-box-orient:vertical;overflow:hidden;padding:var(--pr-t-spacings-50);margin:calc(var(--pr-t-spacings-50) * -1)}.readMore-content:not(:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)){white-space:var(--components-readMore-content-whiteSpace)}}@layer mods{.readMore:has(.readMore-link[aria-expanded=true],.readMore-content:focus-within){--components-readMore-lineClamp: 9999 !important;--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-100)}.readMore.is-disabled{--components-readMore-content-lastChild-content: none !important}.readMore.is-disabled .readMore-link.link{border:0;clip-path:rect(1px 1px 1px 1px);margin:-1px;overflow:hidden;padding:0;position:absolute;block-size:1px;inline-size:1px;white-space:nowrap;contain:paint}.readMore.mod-openOnly:has(.readMore-link[aria-expanded=true]){--components-readMore-content-lastChild-content: none !important}.readMore.mod-openOnly:has(.readMore-link[aria-expanded=true]) .readMore-link.link{border:0;clip-path:rect(1px 1px 1px 1px);margin:-1px;overflow:hidden;padding:0;position:absolute;block-size:1px;inline-size:1px;white-space:nowrap;contain:paint}.readMore.mod-default{--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-default)}.readMore.mod-sunken{--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-sunken)}.readMore.mod-plainText{--components-readMore-content-whiteSpace: pre-line}}@layer components{.textFlow{overflow-wrap:anywhere}.textFlow h1{margin-block:var(--pr-t-spacings-300)}.textFlow h2{margin-block:var(--pr-t-spacings-300) var(--pr-t-spacings-150)}.textFlow h3{margin-block:var(--pr-t-spacings-200) var(--pr-t-spacings-150)}.textFlow h4{margin-block:var(--pr-t-spacings-150)}.textFlow p,.textFlow ul,.textFlow ol{margin-block:var(--pr-t-spacings-100)}.textFlow li{margin-block:var(--pr-t-spacings-50)}.textFlow>:first-child{margin-block-start:0}.textFlow>:last-child{margin-block-end:0}.textFlow>:last-child:is(ul,ol)>:last-child{margin-block-end:0}}\n"] }]
142
+ }], ctorParameters: () => [], propDecorators: { intl: [{ type: i0.Input, args: [{ isSignal: true, alias: "intl", required: false }] }], lineClamp: [{ type: i0.Input, args: [{ isSignal: true, alias: "lineClamp", required: false }] }], openOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "openOnly", required: false }] }], plainText: [{ type: i0.Input, args: [{ isSignal: true, alias: "plainText", required: false }] }], textFlow: [{ type: i0.Input, args: [{ isSignal: true, alias: "textFlow", required: false }] }], surface: [{ type: i0.Input, args: [{ isSignal: true, alias: "surface", required: false }] }], innerContent: [{ type: i0.Input, args: [{ isSignal: true, alias: "innerContent", required: false }] }], contentRef: [{ type: i0.ViewChild, args: ['content', { isSignal: true }] }] } });
138
143
 
139
144
  /**
140
145
  * Available ReadMoreComponent Types
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-read-more.mjs","sources":["../../../packages/ng/read-more/translations.ts","../../../packages/ng/read-more/read-more.translate.ts","../../../packages/ng/read-more/read-more.component.ts","../../../packages/ng/read-more/read-more.component.html","../../../packages/ng/read-more/read-more.type.ts","../../../packages/ng/read-more/lucca-front-ng-read-more.ts"],"sourcesContent":["export const Translations = {\n\tfr: {\n\t\treadMore: 'Lire plus',\n\t\treadLess: 'Lire moins',\n\t},\n\tpt: {\n\t\treadMore: 'Ler mais',\n\t\treadLess: 'Ler menos',\n\t},\n\tes: {\n\t\treadMore: 'Leer más',\n\t\treadLess: 'Leer menos',\n\t},\n\t'nl-BE': {\n\t\treadMore: 'Meer lezen',\n\t\treadLess: 'Minder lezen',\n\t},\n\tnl: {\n\t\treadMore: 'Meer lezen',\n\t\treadLess: 'Minder lezen',\n\t},\n\tit: {\n\t\treadMore: 'Mostra di più',\n\t\treadLess: 'Mostra di meno',\n\t},\n\tde: {\n\t\treadMore: 'Mehr lesen',\n\t\treadLess: 'Weniger lesen',\n\t},\n\ten: {\n\t\treadMore: 'Read more',\n\t\treadLess: 'Read less',\n\t},\n\tpl: {\n\t\treadMore: 'Czytaj więcej',\n\t\treadLess: 'Przeczytaj mniej',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_READMORE_TRANSLATIONS = new InjectionToken('luReadMoreTranslations', {\n\tfactory: () => luReadMoreTranslations,\n});\n\nexport interface ReadMoreTranslate {\n\treadMore: string;\n\treadLess: string;\n}\n\nexport const luReadMoreTranslations: LuTranslation<ReadMoreTranslate> = Translations;\n","import { afterNextRender, booleanAttribute, ChangeDetectionStrategy, Component, computed, DestroyRef, ElementRef, inject, input, signal, viewChild, ViewEncapsulation } from '@angular/core';\nimport { intlInputOptions, isNil } from '@lucca-front/ng/core';\nimport { LU_READMORE_TRANSLATIONS } from './read-more.translate';\nimport { ReadMoreSurface } from './read-more.type';\n\n@Component({\n\tselector: 'lu-read-more',\n\ttemplateUrl: './read-more.component.html',\n\tstyleUrl: './read-more.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\tclass: 'readMore',\n\t\t'[style.--components-readMore-lineClamp]': 'lineClamp()',\n\t\t'[style.--components-readMore-content-lastChild-content]': '`\"${labelReadLess()}\"`',\n\t\t'[class.is-disabled]': '!expanded() && !isClamped()',\n\t\t'[class.mod-openOnly]': 'openOnly()',\n\t\t'[class.mod-sunken]': 'surface() === `sunken`',\n\t\t'[class.mod-default]': 'surface() === `default`',\n\t\t'[style.--components-readMore-link-backgroudColor]': 'backgroundColor()',\n\t},\n})\nexport class ReadMoreComponent {\n\treadonly intl = input(...intlInputOptions(LU_READMORE_TRANSLATIONS));\n\n\t/**\n\t * Change the number of lines displayed when collapsed\n\t */\n\treadonly lineClamp = input<number>(5);\n\n\t/**\n\t * Prevent the component from closing by hiding the \"Read less\" button\n\t */\n\treadonly openOnly = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Change the background color under the \"Read more / less\" button\n\t */\n\treadonly textFlow = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Apply the spacing of the Text Flow component\n\t */\n\treadonly surface = input<ReadMoreSurface | string | null>(null);\n\n\t/**\n\t * Allow content to be passed via innerHTML\n\t */\n\treadonly innerContent = input<null | string>(null);\n\n\treadonly labelReadMore = computed(() => this.intl().readMore);\n\treadonly labelReadLess = computed(() => this.intl().readLess);\n\n\treadonly label = computed(() => (this.expanded() ? this.labelReadLess() : this.labelReadMore()));\n\n\treadonly contentRef = viewChild<ElementRef<HTMLDivElement>>('content');\n\n\treadonly expanded = signal(false);\n\treadonly isClamped = signal(false);\n\n\treadonly backgroundColor = computed(() => {\n\t\tif (this.surface() === 'sunken' || this.surface() === 'default' || this.surface() === null) {\n\t\t\treturn null;\n\t\t}\n\t\treturn `${this.surface()}`;\n\t});\n\n\treadonly isInnerContentNil = computed(() => isNil(this.innerContent()));\n\n\tconstructor() {\n\t\tconst destroyRef = inject(DestroyRef);\n\n\t\tafterNextRender(() => {\n\t\t\tconst content = this.contentRef();\n\n\t\t\tif (!content) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst observer = new ResizeObserver(() => {\n\t\t\t\tconst contentElement = this.contentRef()?.nativeElement;\n\n\t\t\t\tif (!contentElement) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst lineHeight = parseFloat(window.getComputedStyle(contentElement).lineHeight);\n\t\t\t\tconst totalLines = Math.round(contentElement.scrollHeight / lineHeight);\n\n\t\t\t\tthis.isClamped.set(contentElement.scrollHeight > contentElement.clientHeight);\n\n\t\t\t\tif (!this.isClamped() && totalLines <= this.lineClamp()) {\n\t\t\t\t\tthis.expanded.set(false);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tobserver.observe(content.nativeElement);\n\t\t\tdestroyRef.onDestroy(() => observer.disconnect());\n\t\t});\n\t}\n\n\ttoggleExpanded() {\n\t\tthis.expanded.set(!this.expanded());\n\t}\n}\n","<button\n\ttype=\"button\"\n\taria-hidden=\"true\"\n\t[attr.tabindex]=\"isClamped() ? null : '-1'\"\n\t[attr.aria-expanded]=\"expanded()\"\n\tclass=\"readMore-link link\"\n\t(click)=\"toggleExpanded()\"\n>\n\t{{ label() }}\n</button>\n@if (isInnerContentNil()) {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" #content>\n\t\t<ng-content />\n\t</div>\n} @else {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" [innerHTML]=\"innerContent()\" #content></div>\n}\n","/**\n * Available ReadMoreComponent Types\n */\n\nexport const READ_MORE_SURFACE = ['sunken', 'default'] as const;\nexport type ReadMoreSurface = (typeof READ_MORE_SURFACE)[number];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAAO,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,WAAW;AACrB,QAAA,QAAQ,EAAE,YAAY;AACtB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,QAAQ,EAAE,WAAW;AACrB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,QAAQ,EAAE,YAAY;AACtB,KAAA;AACD,IAAA,OAAO,EAAE;AACR,QAAA,QAAQ,EAAE,YAAY;AACtB,QAAA,QAAQ,EAAE,cAAc;AACxB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,YAAY;AACtB,QAAA,QAAQ,EAAE,cAAc;AACxB,KAAA;AACD,IAAA,EAAE,E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AAA,yCAAyC,EAAE,aAAa;AACxD,wBAAA,yDAAyD,EAAE,wBAAwB;AACnF,wBAAA,qBAAqB,EAAE,6BAA6B;AACpD,wBAAA,sBAAsB,EAAE,YAAY;AACpC,wBAAA,oBAAoB,EAAE,wBAAwB;AAC9C,wBAAA,qBAAqB,EAAE,yBAAyB;AAChD,wBAAA,mDAAmD,EAAE,mBAAmB;AACxE,qBAAA,EAAA,QAAA,EAAA,qfAAA,EAAA,MAAA,EAAA,CAAA,8/GAAA,CAAA,EAAA;kqBAmC2D,SAAS,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEvDtE;;AAEG;MAEU,iBAAiB,GAAG,CAAC,QAAQ,EAAE,SAAS;;ACJrD;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-read-more.mjs","sources":["../../../packages/ng/read-more/translations.ts","../../../packages/ng/read-more/read-more.translate.ts","../../../packages/ng/read-more/read-more.component.ts","../../../packages/ng/read-more/read-more.component.html","../../../packages/ng/read-more/read-more.type.ts","../../../packages/ng/read-more/lucca-front-ng-read-more.ts"],"sourcesContent":["export const Translations = {\n\tfr: {\n\t\treadMore: 'Lire plus',\n\t\treadLess: 'Lire moins',\n\t},\n\tpt: {\n\t\treadMore: 'Ler mais',\n\t\treadLess: 'Ler menos',\n\t},\n\tes: {\n\t\treadMore: 'Leer más',\n\t\treadLess: 'Leer menos',\n\t},\n\t'nl-BE': {\n\t\treadMore: 'Meer lezen',\n\t\treadLess: 'Minder lezen',\n\t},\n\tnl: {\n\t\treadMore: 'Meer lezen',\n\t\treadLess: 'Minder lezen',\n\t},\n\tit: {\n\t\treadMore: 'Mostra di più',\n\t\treadLess: 'Mostra di meno',\n\t},\n\tde: {\n\t\treadMore: 'Mehr lesen',\n\t\treadLess: 'Weniger lesen',\n\t},\n\ten: {\n\t\treadMore: 'Read more',\n\t\treadLess: 'Read less',\n\t},\n\tpl: {\n\t\treadMore: 'Czytaj więcej',\n\t\treadLess: 'Czytaj mniej',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_READMORE_TRANSLATIONS = new InjectionToken('luReadMoreTranslations', {\n\tfactory: () => luReadMoreTranslations,\n});\n\nexport interface ReadMoreTranslate {\n\treadMore: string;\n\treadLess: string;\n}\n\nexport const luReadMoreTranslations: LuTranslation<ReadMoreTranslate> = Translations;\n","import { afterNextRender, ChangeDetectionStrategy, Component, computed, DestroyRef, ElementRef, inject, input, signal, viewChild, ViewEncapsulation } from '@angular/core';\nimport { intlInputOptions, isNil, luBooleanAttribute, luNumberAttribute } from '@lucca-front/ng/core';\nimport { LU_READMORE_TRANSLATIONS } from './read-more.translate';\nimport { ReadMoreSurface } from './read-more.type';\n\n@Component({\n\tselector: 'lu-read-more',\n\ttemplateUrl: './read-more.component.html',\n\tstyleUrl: './read-more.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\tclass: 'readMore',\n\t\t'[style.--components-readMore-lineClamp]': 'lineClamp()',\n\t\t'[style.--components-readMore-content-lastChild-content]': '`\"${labelReadLess()}\"`',\n\t\t'[class.is-disabled]': '!expanded() && !isClamped()',\n\t\t'[class.mod-openOnly]': 'openOnly()',\n\t\t'[class.mod-plainText]': 'plainText()',\n\t\t'[class.mod-sunken]': 'surface() === `sunken`',\n\t\t'[class.mod-default]': 'surface() === `default`',\n\t\t'[style.--components-readMore-link-backgroudColor]': 'backgroundColor()',\n\t},\n})\nexport class ReadMoreComponent {\n\treadonly intl = input(...intlInputOptions(LU_READMORE_TRANSLATIONS));\n\n\t/**\n\t * Change the number of lines displayed when collapsed\n\t */\n\treadonly lineClamp = input(5, { transform: luNumberAttribute });\n\n\t/**\n\t * Prevent the component from closing by hiding the \"Read less\" button\n\t */\n\treadonly openOnly = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Display the `\\n` of the content as line breaks instead of collapsing them into spaces (`white-space: pre-line`).\n\t * Meant for plain-text content such as a textarea value.\n\t */\n\treadonly plainText = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Change the background color under the \"Read more / less\" button\n\t */\n\treadonly textFlow = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Apply the spacing of the Text Flow component\n\t */\n\treadonly surface = input<ReadMoreSurface | string | null>(null);\n\n\t/**\n\t * Allow content to be passed via innerHTML\n\t */\n\treadonly innerContent = input<null | string>(null);\n\n\treadonly labelReadMore = computed(() => this.intl().readMore);\n\treadonly labelReadLess = computed(() => this.intl().readLess);\n\n\treadonly label = computed(() => (this.expanded() ? this.labelReadLess() : this.labelReadMore()));\n\n\treadonly contentRef = viewChild<ElementRef<HTMLDivElement>>('content');\n\n\treadonly expanded = signal(false);\n\treadonly isClamped = signal(false);\n\n\treadonly backgroundColor = computed(() => {\n\t\tif (this.surface() === 'sunken' || this.surface() === 'default' || this.surface() === null) {\n\t\t\treturn null;\n\t\t}\n\t\treturn `${this.surface()}`;\n\t});\n\n\treadonly isInnerContentNil = computed(() => isNil(this.innerContent()));\n\n\tconstructor() {\n\t\tconst destroyRef = inject(DestroyRef);\n\n\t\tafterNextRender(() => {\n\t\t\tconst content = this.contentRef();\n\n\t\t\tif (!content) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst observer = new ResizeObserver(() => {\n\t\t\t\tconst contentElement = this.contentRef()?.nativeElement;\n\n\t\t\t\tif (!contentElement) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst lineHeight = parseFloat(window.getComputedStyle(contentElement).lineHeight);\n\t\t\t\tconst totalLines = Math.round(contentElement.scrollHeight / lineHeight);\n\n\t\t\t\tthis.isClamped.set(contentElement.scrollHeight > contentElement.clientHeight);\n\n\t\t\t\tif (!this.isClamped() && totalLines <= this.lineClamp()) {\n\t\t\t\t\tthis.expanded.set(false);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tobserver.observe(content.nativeElement);\n\t\t\tdestroyRef.onDestroy(() => observer.disconnect());\n\t\t});\n\t}\n\n\ttoggleExpanded() {\n\t\tthis.expanded.set(!this.expanded());\n\t}\n}\n","<button\n\ttype=\"button\"\n\taria-hidden=\"true\"\n\t[attr.tabindex]=\"isClamped() ? null : '-1'\"\n\t[attr.aria-expanded]=\"expanded()\"\n\tclass=\"readMore-link link\"\n\t(click)=\"toggleExpanded()\"\n>\n\t{{ label() }}\n</button>\n@if (isInnerContentNil()) {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" #content>\n\t\t<ng-content />\n\t</div>\n} @else {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" [innerHTML]=\"innerContent()\" #content></div>\n}\n","/**\n * Available ReadMoreComponent Types\n */\n\nexport const READ_MORE_SURFACE = ['sunken', 'default'] as const;\nexport type ReadMoreSurface = (typeof READ_MORE_SURFACE)[number];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAAO,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,WAAW;AACrB,QAAA,QAAQ,EAAE,YAAY;AACtB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,QAAQ,EAAE,WAAW;AACrB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,QAAQ,EAAE,YAAY;AACtB,KAAA;AACD,IAAA,OAAO,EAAE;AACR,QAAA,QAAQ,EAAE,YAAY;AACtB,QAAA,QAAQ,EAAE,cAAc;AACxB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,YAAY;AACtB,QAAA,QAAQ,EAAE,cAAc;AACxB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,eAAe;AACzB,QAAA,QAAQ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