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

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 (330) hide show
  1. package/fesm2022/lucca-front-ng-a11y.mjs +125 -8
  2. package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
  3. package/fesm2022/lucca-front-ng-activity-feed.mjs +74 -27
  4. package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
  5. package/fesm2022/lucca-front-ng-api.mjs +160 -197
  6. package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
  7. package/fesm2022/lucca-front-ng-app-layout.mjs +4 -4
  8. package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
  9. package/fesm2022/lucca-front-ng-box.mjs +44 -6
  10. package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
  11. package/fesm2022/lucca-front-ng-breadcrumbs.mjs +15 -9
  12. package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
  13. package/fesm2022/lucca-front-ng-bubble-icon.mjs +28 -13
  14. package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
  15. package/fesm2022/lucca-front-ng-bubble-illustration.mjs +20 -10
  16. package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
  17. package/fesm2022/lucca-front-ng-callout.mjs +105 -63
  18. package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
  19. package/fesm2022/lucca-front-ng-chip.mjs +33 -13
  20. package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
  21. package/fesm2022/lucca-front-ng-clear.mjs +22 -14
  22. package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
  23. package/fesm2022/lucca-front-ng-code.mjs +4 -4
  24. package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
  25. package/fesm2022/lucca-front-ng-color.mjs +16 -8
  26. package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
  27. package/fesm2022/lucca-front-ng-comment.mjs +48 -27
  28. package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
  29. package/fesm2022/lucca-front-ng-container.mjs +13 -6
  30. package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
  31. package/fesm2022/lucca-front-ng-core-select-api.mjs +82 -52
  32. package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
  33. package/fesm2022/lucca-front-ng-core-select-department.mjs +31 -18
  34. package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
  35. package/fesm2022/lucca-front-ng-core-select-establishment.mjs +21 -15
  36. package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
  37. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +12 -9
  38. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
  39. package/fesm2022/lucca-front-ng-core-select-legal-units.mjs +168 -0
  40. package/fesm2022/lucca-front-ng-core-select-legal-units.mjs.map +1 -0
  41. package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +9 -6
  42. package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
  43. package/fesm2022/lucca-front-ng-core-select-user.mjs +67 -43
  44. package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
  45. package/fesm2022/lucca-front-ng-core-select.mjs +442 -417
  46. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  47. package/fesm2022/lucca-front-ng-core.mjs +97 -29
  48. package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
  49. package/fesm2022/lucca-front-ng-data-table.mjs +143 -81
  50. package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
  51. package/fesm2022/lucca-front-ng-date.mjs +167 -162
  52. package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
  53. package/fesm2022/lucca-front-ng-date2.mjs +395 -193
  54. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  55. package/fesm2022/lucca-front-ng-department.mjs +33 -27
  56. package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
  57. package/fesm2022/lucca-front-ng-dialog.mjs +71 -51
  58. package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
  59. package/fesm2022/lucca-front-ng-divider.mjs +18 -12
  60. package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
  61. package/fesm2022/lucca-front-ng-dropdown.mjs +71 -73
  62. package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
  63. package/fesm2022/lucca-front-ng-empty-state.mjs +56 -30
  64. package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
  65. package/fesm2022/lucca-front-ng-error-page.mjs +15 -7
  66. package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
  67. package/fesm2022/lucca-front-ng-establishment.mjs +94 -116
  68. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
  69. package/fesm2022/lucca-front-ng-fancy-box.mjs +23 -11
  70. package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
  71. package/fesm2022/lucca-front-ng-file-upload.mjs +135 -69
  72. package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
  73. package/fesm2022/lucca-front-ng-filter-pills.mjs +90 -69
  74. package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
  75. package/fesm2022/lucca-front-ng-footer.mjs +17 -8
  76. package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
  77. package/fesm2022/lucca-front-ng-form-field.mjs +129 -79
  78. package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
  79. package/fesm2022/lucca-front-ng-form-header.mjs +12 -6
  80. package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
  81. package/fesm2022/lucca-front-ng-form-label.mjs +65 -42
  82. package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
  83. package/fesm2022/lucca-front-ng-form.mjs +9 -6
  84. package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
  85. package/fesm2022/lucca-front-ng-formly.mjs +59 -58
  86. package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
  87. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +58 -40
  88. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
  89. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +3 -3
  90. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs.map +1 -1
  91. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +8 -9
  92. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs.map +1 -1
  93. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
  94. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs.map +1 -1
  95. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +263 -105
  96. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
  97. package/fesm2022/lucca-front-ng-forms.mjs +326 -151
  98. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  99. package/fesm2022/lucca-front-ng-gauge.mjs +23 -13
  100. package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
  101. package/fesm2022/lucca-front-ng-grid.mjs +39 -18
  102. package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
  103. package/fesm2022/lucca-front-ng-highlight-data.mjs +50 -15
  104. package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
  105. package/fesm2022/lucca-front-ng-highlight-text.mjs +28 -0
  106. package/fesm2022/lucca-front-ng-highlight-text.mjs.map +1 -0
  107. package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +174 -17
  108. package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
  109. package/fesm2022/lucca-front-ng-impersonation.mjs +124 -0
  110. package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -0
  111. package/fesm2022/lucca-front-ng-index-table.mjs +82 -54
  112. package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
  113. package/fesm2022/lucca-front-ng-inline-message.mjs +17 -7
  114. package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
  115. package/fesm2022/lucca-front-ng-input.mjs +28 -24
  116. package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
  117. package/fesm2022/lucca-front-ng-link.mjs +54 -23
  118. package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
  119. package/fesm2022/lucca-front-ng-listbox.mjs +31 -18
  120. package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
  121. package/fesm2022/lucca-front-ng-listing.mjs +16 -12
  122. package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
  123. package/fesm2022/lucca-front-ng-loading.mjs +13 -6
  124. package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
  125. package/fesm2022/lucca-front-ng-main-layout.mjs +6 -6
  126. package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
  127. package/fesm2022/lucca-front-ng-mobile-push.mjs +15 -5
  128. package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
  129. package/fesm2022/lucca-front-ng-modal.mjs +37 -35
  130. package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
  131. package/fesm2022/lucca-front-ng-multi-select.mjs +317 -217
  132. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  133. package/fesm2022/lucca-front-ng-new-badge.mjs +5 -4
  134. package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
  135. package/fesm2022/lucca-front-ng-number-format.mjs +21 -21
  136. package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
  137. package/fesm2022/lucca-front-ng-number.mjs +7 -7
  138. package/fesm2022/lucca-front-ng-number.mjs.map +1 -1
  139. package/fesm2022/lucca-front-ng-numeric-badge.mjs +24 -12
  140. package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
  141. package/fesm2022/lucca-front-ng-option.mjs +181 -168
  142. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  143. package/fesm2022/lucca-front-ng-page-header.mjs +12 -8
  144. package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
  145. package/fesm2022/lucca-front-ng-pagination.mjs +26 -10
  146. package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
  147. package/fesm2022/lucca-front-ng-plg-push.mjs +14 -8
  148. package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
  149. package/fesm2022/lucca-front-ng-popover.mjs +141 -253
  150. package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
  151. package/fesm2022/lucca-front-ng-popover2.mjs +133 -89
  152. package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
  153. package/fesm2022/lucca-front-ng-popup.mjs +10 -10
  154. package/fesm2022/lucca-front-ng-popup.mjs.map +1 -1
  155. package/fesm2022/lucca-front-ng-progress-bar.mjs +13 -6
  156. package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
  157. package/fesm2022/lucca-front-ng-progress-stepper.mjs +22 -12
  158. package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
  159. package/fesm2022/lucca-front-ng-read-more.mjs +38 -17
  160. package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
  161. package/fesm2022/lucca-front-ng-resource-card.mjs +26 -17
  162. package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
  163. package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
  164. package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -1
  165. package/fesm2022/lucca-front-ng-scroll-box.mjs +8 -6
  166. package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
  167. package/fesm2022/lucca-front-ng-scroll.mjs +14 -10
  168. package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
  169. package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +26 -14
  170. package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
  171. package/fesm2022/lucca-front-ng-segmented-control.mjs +12 -10
  172. package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
  173. package/fesm2022/lucca-front-ng-select.mjs +96 -136
  174. package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
  175. package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
  176. package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
  177. package/fesm2022/lucca-front-ng-simple-select.mjs +71 -55
  178. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  179. package/fesm2022/lucca-front-ng-skeleton.mjs +131 -62
  180. package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
  181. package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +16 -11
  182. package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -1
  183. package/fesm2022/lucca-front-ng-software-icon.mjs +34 -25
  184. package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
  185. package/fesm2022/lucca-front-ng-sortable-list.mjs +14 -11
  186. package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
  187. package/fesm2022/lucca-front-ng-status-badge.mjs +15 -7
  188. package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
  189. package/fesm2022/lucca-front-ng-table-of-content.mjs +8 -7
  190. package/fesm2022/lucca-front-ng-table-of-content.mjs.map +1 -1
  191. package/fesm2022/lucca-front-ng-tag.mjs +22 -11
  192. package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
  193. package/fesm2022/lucca-front-ng-text-flow.mjs +4 -4
  194. package/fesm2022/lucca-front-ng-text-flow.mjs.map +1 -1
  195. package/fesm2022/lucca-front-ng-time.mjs +418 -84
  196. package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
  197. package/fesm2022/lucca-front-ng-title.mjs +34 -15
  198. package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
  199. package/fesm2022/lucca-front-ng-toast.mjs +20 -14
  200. package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
  201. package/fesm2022/lucca-front-ng-tooltip.mjs +60 -30
  202. package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
  203. package/fesm2022/lucca-front-ng-tree-select.mjs +20 -13
  204. package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
  205. package/fesm2022/lucca-front-ng-user-popover.mjs +34 -33
  206. package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
  207. package/fesm2022/lucca-front-ng-user.mjs +211 -186
  208. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  209. package/fesm2022/lucca-front-ng-vertical-navigation.mjs +34 -24
  210. package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
  211. package/package.json +20 -8
  212. package/schematics/action-icon/index.js +34 -1
  213. package/schematics/action-icon/migration.spec.js +36 -3
  214. package/schematics/alignment-utilities/migration.spec.js +36 -3
  215. package/schematics/cdn-urls/migration.spec.js +36 -3
  216. package/schematics/class-prefix/migration.spec.js +36 -3
  217. package/schematics/collection.json +10 -0
  218. package/schematics/color-text/migration.spec.js +36 -3
  219. package/schematics/component-path/migration.spec.js +36 -3
  220. package/schematics/deprecated-resolver/index.js +73 -0
  221. package/schematics/deprecated-resolver/migration.spec.js +58 -0
  222. package/schematics/deprecated-resolver/schema.json +23 -0
  223. package/schematics/empty-state-title/migration.spec.js +35 -2
  224. package/schematics/lib/css-mapper.js +44 -6
  225. package/schematics/lib/deprecated-mapper.js +109 -0
  226. package/schematics/lib/index.js +1 -0
  227. package/schematics/lib/lf-schematic-context.js +34 -1
  228. package/schematics/lib/local-deps/package-lock.json +17 -79
  229. package/schematics/lib/local-deps/package.json +1 -1
  230. package/schematics/lib/local-deps/postcss.js +34 -1
  231. package/schematics/lib/migration-test.js +5 -2
  232. package/schematics/lib/scss-ast.js +53 -0
  233. package/schematics/lu-button/migration.spec.js +34 -1
  234. package/schematics/lu-container/migration.spec.js +34 -1
  235. package/schematics/lu-grid/index.js +23 -0
  236. package/schematics/lu-grid/migration.js +237 -0
  237. package/schematics/lu-grid/migration.spec.js +56 -0
  238. package/schematics/lu-grid/migration.utils.js +60 -0
  239. package/schematics/lu-grid/schema.json +23 -0
  240. package/schematics/lu-icon/migration.spec.js +34 -1
  241. package/schematics/lu-loading/migration.spec.js +34 -1
  242. package/schematics/lu-select/migration.spec.js +34 -1
  243. package/schematics/lu-text-input/migration.spec.js +34 -1
  244. package/schematics/new-icons/index.js +35 -2
  245. package/schematics/new-icons/migration.spec.js +36 -3
  246. package/schematics/package.json +3 -0
  247. package/schematics/palettes/index.js +17 -2
  248. package/schematics/palettes/migration.spec.js +36 -3
  249. package/schematics/tokens-radius/migration.spec.js +36 -3
  250. package/schematics/tokens-spacing/migration.spec.js +36 -3
  251. package/schematics/tokens-typo/migration.spec.js +36 -3
  252. package/src/components/_picker.scss +6 -1
  253. package/src/components/_popover.scss +1 -2
  254. package/src/definitions/option/_option-item.scss +6 -25
  255. package/types/lucca-front-ng-a11y.d.ts +30 -2
  256. package/types/lucca-front-ng-activity-feed.d.ts +18 -3
  257. package/types/lucca-front-ng-api.d.ts +73 -67
  258. package/types/lucca-front-ng-box.d.ts +6 -1
  259. package/types/lucca-front-ng-bubble-icon.d.ts +12 -3
  260. package/types/lucca-front-ng-bubble-illustration.d.ts +11 -5
  261. package/types/lucca-front-ng-callout.d.ts +24 -16
  262. package/types/lucca-front-ng-chip.d.ts +10 -1
  263. package/types/lucca-front-ng-clear.d.ts +12 -5
  264. package/types/lucca-front-ng-color.d.ts +8 -1
  265. package/types/lucca-front-ng-comment.d.ts +8 -1
  266. package/types/lucca-front-ng-container.d.ts +8 -1
  267. package/types/lucca-front-ng-core-select-api.d.ts +34 -22
  268. package/types/lucca-front-ng-core-select-department.d.ts +3 -2
  269. package/types/lucca-front-ng-core-select-legal-units.d.ts +56 -0
  270. package/types/lucca-front-ng-core-select-user.d.ts +2 -1
  271. package/types/lucca-front-ng-core-select.d.ts +166 -146
  272. package/types/lucca-front-ng-core.d.ts +37 -9
  273. package/types/lucca-front-ng-data-table.d.ts +18 -3
  274. package/types/lucca-front-ng-date.d.ts +28 -26
  275. package/types/lucca-front-ng-date2.d.ts +28 -9
  276. package/types/lucca-front-ng-dialog.d.ts +13 -2
  277. package/types/lucca-front-ng-divider.d.ts +9 -2
  278. package/types/lucca-front-ng-dropdown.d.ts +5 -4
  279. package/types/lucca-front-ng-empty-state.d.ts +16 -8
  280. package/types/lucca-front-ng-error-page.d.ts +9 -4
  281. package/types/lucca-front-ng-establishment.d.ts +18 -19
  282. package/types/lucca-front-ng-fancy-box.d.ts +8 -1
  283. package/types/lucca-front-ng-file-upload.d.ts +23 -11
  284. package/types/lucca-front-ng-filter-pills.d.ts +0 -1
  285. package/types/lucca-front-ng-footer.d.ts +11 -2
  286. package/types/lucca-front-ng-form-field.d.ts +36 -20
  287. package/types/lucca-front-ng-form-header.d.ts +9 -2
  288. package/types/lucca-front-ng-form-label.d.ts +13 -5
  289. package/types/lucca-front-ng-form.d.ts +2 -0
  290. package/types/lucca-front-ng-forms-phone-number-input.d.ts +19 -12
  291. package/types/lucca-front-ng-forms-rich-text-input.d.ts +17 -2
  292. package/types/lucca-front-ng-forms.d.ts +58 -10
  293. package/types/lucca-front-ng-gauge.d.ts +1 -1
  294. package/types/lucca-front-ng-grid.d.ts +23 -8
  295. package/types/lucca-front-ng-highlight-data.d.ts +16 -1
  296. package/types/lucca-front-ng-highlight-text.d.ts +12 -0
  297. package/types/lucca-front-ng-horizontal-navigation.d.ts +40 -3
  298. package/types/lucca-front-ng-impersonation.d.ts +33 -0
  299. package/types/lucca-front-ng-index-table.d.ts +19 -4
  300. package/types/lucca-front-ng-inline-message.d.ts +11 -4
  301. package/types/lucca-front-ng-input.d.ts +2 -1
  302. package/types/lucca-front-ng-link.d.ts +13 -3
  303. package/types/lucca-front-ng-listbox.d.ts +8 -1
  304. package/types/lucca-front-ng-listing.d.ts +1 -1
  305. package/types/lucca-front-ng-loading.d.ts +8 -1
  306. package/types/lucca-front-ng-modal.d.ts +1 -1
  307. package/types/lucca-front-ng-multi-select.d.ts +39 -37
  308. package/types/lucca-front-ng-numeric-badge.d.ts +9 -2
  309. package/types/lucca-front-ng-option.d.ts +10 -10
  310. package/types/lucca-front-ng-pagination.d.ts +8 -1
  311. package/types/lucca-front-ng-popover.d.ts +52 -46
  312. package/types/lucca-front-ng-popover2.d.ts +35 -12
  313. package/types/lucca-front-ng-progress-bar.d.ts +8 -1
  314. package/types/lucca-front-ng-progress-stepper.d.ts +8 -1
  315. package/types/lucca-front-ng-read-more.d.ts +8 -1
  316. package/types/lucca-front-ng-resource-card.d.ts +10 -1
  317. package/types/lucca-front-ng-segmented-control-tabs.d.ts +2 -0
  318. package/types/lucca-front-ng-select.d.ts +30 -28
  319. package/types/lucca-front-ng-simple-select.d.ts +18 -19
  320. package/types/lucca-front-ng-skeleton.d.ts +51 -19
  321. package/types/lucca-front-ng-software-icon.d.ts +11 -6
  322. package/types/lucca-front-ng-sortable-list.d.ts +2 -1
  323. package/types/lucca-front-ng-status-badge.d.ts +9 -2
  324. package/types/lucca-front-ng-tag.d.ts +9 -2
  325. package/types/lucca-front-ng-time.d.ts +90 -9
  326. package/types/lucca-front-ng-title.d.ts +6 -1
  327. package/types/lucca-front-ng-tooltip.d.ts +7 -2
  328. package/types/lucca-front-ng-user-popover.d.ts +4 -3
  329. package/types/lucca-front-ng-user.d.ts +39 -25
  330. package/types/lucca-front-ng-vertical-navigation.d.ts +1 -1
@@ -5,9 +5,10 @@ import * as i1$1 from '@angular/cdk/overlay';
5
5
  import { OverlayModule, OverlayConfig } from '@angular/cdk/overlay';
6
6
  import { NgTemplateOutlet } from '@angular/common';
7
7
  import * as i0 from '@angular/core';
8
- import { EventEmitter, TemplateRef, ViewChild, Output, Input, ChangeDetectionStrategy, Component, NgModule, Directive, HostListener, HostBinding } from '@angular/core';
8
+ import { input, EventEmitter, viewChild, TemplateRef, ChangeDetectionStrategy, Component, NgModule, Directive } from '@angular/core';
9
+ import { outputFromObservable } from '@angular/core/rxjs-interop';
10
+ import { syncInputSignal, ɵeffectWithDeps as _effectWithDeps, isNotNil, generateId, getPushPanelViewportMargin } from '@lucca-front/ng/core';
9
11
  import { TemplatePortal } from '@angular/cdk/portal';
10
- import { generateId } from '@lucca-front/ng/core';
11
12
  import { timer, Subject, Subscription } from 'rxjs';
12
13
  import { distinctUntilChanged, debounce, map } from 'rxjs/operators';
13
14
 
@@ -147,69 +148,65 @@ class ALuPopoverPanel {
147
148
 
148
149
  // import { standardPopoverTemplate } from './popover.template';
149
150
  class LuPopoverPanelComponent extends ALuPopoverPanel {
150
- /** Template to Use for the popover */
151
- get template() {
152
- return this._template;
153
- }
154
- set template(value) {
155
- this._template = value;
156
- }
157
- /** Template context to use for the popover when created using a template */
158
- get templateContext() {
159
- return this._templateContext;
160
- }
161
- set templateContext(value) {
162
- this._templateContext = value;
163
- }
164
- /**
165
- * Popover container close on click
166
- * default: false
167
- */
168
- set inputCloseOnClick(v) {
169
- this.closeOnClick = v;
170
- }
171
- /**
172
- * Popover focus trap using cdkTrapFocus
173
- * default: false
174
- */
175
- set inputTrapFocus(v) {
176
- this.trapFocus = v;
177
- }
178
- /**
179
- * Popover scrollStrategy
180
- * default: reposition
181
- */
182
- set inputScrollStrategy(v) {
183
- this.scrollStrategy = v;
184
- }
185
- /**
186
- * This method takes classes set on the host lu-popover element and applies them on the
187
- * popover template that displays in the overlay container. Otherwise, it's difficult
188
- * to style the containing popover from outside the component.
189
- * @param classes list of class names
190
- */
191
- set inputPanelClasses(classes) {
192
- this.panelClasses = classes;
193
- }
194
- /**
195
- * This method takes classes set on the host lu-popover element and applies them on the
196
- * popover template that displays in the overlay container. Otherwise, it's difficult
197
- * to style the containing popover from outside the component.
198
- * @param classes list of class names
199
- */
200
- set inputContentClasses(classes) {
201
- this.contentClasses = classes;
202
- }
203
- set vcTemplateRef(tr) {
204
- this.templateRef = tr;
205
- }
206
151
  constructor() {
207
152
  super();
208
- /** Event emitted when the popover is closed. */
209
- // eslint-disable-next-line @angular-eslint/no-output-native
153
+ /** Template to Use for the popover */
154
+ this.template = input(/* @ts-ignore */
155
+ ...(ngDevMode ? [undefined, { debugName: "template" }] : /* istanbul ignore next */ []));
156
+ /** Template context to use for the popover when created using a template */
157
+ this.templateContext = input(undefined, { ...(ngDevMode ? { debugName: "templateContext" } : /* istanbul ignore next */ {}), alias: 'template-context' });
158
+ /**
159
+ * Popover container close on click
160
+ * default: false
161
+ */
162
+ this.inputCloseOnClick = input(false, { ...(ngDevMode ? { debugName: "inputCloseOnClick" } : /* istanbul ignore next */ {}), alias: 'close-on-click' });
163
+ /**
164
+ * Popover focus trap using cdkTrapFocus
165
+ * default: false
166
+ */
167
+ this.inputTrapFocus = input(false, { ...(ngDevMode ? { debugName: "inputTrapFocus" } : /* istanbul ignore next */ {}), alias: 'trap-focus' });
168
+ /**
169
+ * Popover scrollStrategy
170
+ * default: reposition
171
+ */
172
+ this.inputScrollStrategy = input('reposition', { ...(ngDevMode ? { debugName: "inputScrollStrategy" } : /* istanbul ignore next */ {}), alias: 'scroll-strategy' });
173
+ /**
174
+ * This method takes classes set on the host lu-popover element and applies them on the
175
+ * popover template that displays in the overlay container. Otherwise, it's difficult
176
+ * to style the containing popover from outside the component.
177
+ * @param classes list of class names
178
+ */
179
+ this.inputPanelClasses = input('', { ...(ngDevMode ? { debugName: "inputPanelClasses" } : /* istanbul ignore next */ {}), alias: 'panel-classes' });
180
+ /**
181
+ * This method takes classes set on the host lu-popover element and applies them on the
182
+ * popover template that displays in the overlay container. Otherwise, it's difficult
183
+ * to style the containing popover from outside the component.
184
+ * @param classes list of class names
185
+ */
186
+ this.inputContentClasses = input('', { ...(ngDevMode ? { debugName: "inputContentClasses" } : /* istanbul ignore next */ {}), alias: 'content-classes' });
210
187
  this.close = new EventEmitter();
211
188
  this.open = new EventEmitter();
212
189
  this.hovered = new EventEmitter();
190
+ /** Event emitted when the popover is closed. */
191
+ this.closeOutput = outputFromObservable(this.close, { alias: 'close' });
192
+ /** Event emitted when the popover is open. */
193
+ this.openOutput = outputFromObservable(this.open, { alias: 'open' });
194
+ /** Event emitted when the popover is hovered. */
195
+ this.hoveredOutput = outputFromObservable(this.hovered, { alias: 'hovered' });
196
+ this.vcTemplateRef = viewChild(TemplateRef, /* @ts-ignore */
197
+ ...(ngDevMode ? [{ debugName: "vcTemplateRef" }] : /* istanbul ignore next */ []));
198
+ syncInputSignal(this.template, (template) => (this._template = template));
199
+ syncInputSignal(this.templateContext, (templateContext) => (this._templateContext = templateContext));
200
+ syncInputSignal(this.inputCloseOnClick, (closeOnClick) => (this.closeOnClick = closeOnClick));
201
+ syncInputSignal(this.inputTrapFocus, (trapFocus) => (this.trapFocus = trapFocus));
202
+ syncInputSignal(this.inputScrollStrategy, (scrollStrategy) => (this.scrollStrategy = scrollStrategy));
203
+ syncInputSignal(this.inputPanelClasses, (panelClasses) => (this.panelClasses = panelClasses));
204
+ syncInputSignal(this.inputContentClasses, (contentClasses) => (this.contentClasses = contentClasses));
205
+ _effectWithDeps([this.vcTemplateRef], (vcTemplateRef) => {
206
+ if (isNotNil(vcTemplateRef)) {
207
+ this.templateRef = vcTemplateRef;
208
+ }
209
+ });
213
210
  }
214
211
  ngOnDestroy() {
215
212
  this.onClose();
@@ -224,52 +221,23 @@ class LuPopoverPanelComponent extends ALuPopoverPanel {
224
221
  _emitHoveredEvent(hovered) {
225
222
  this.hovered.emit(hovered);
226
223
  }
227
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
228
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.14", type: LuPopoverPanelComponent, isStandalone: true, selector: "lu-popover", inputs: { template: "template", templateContext: ["template-context", "templateContext"], inputCloseOnClick: ["close-on-click", "inputCloseOnClick"], inputTrapFocus: ["trap-focus", "inputTrapFocus"], inputScrollStrategy: ["scroll-strategy", "inputScrollStrategy"], inputPanelClasses: ["panel-classes", "inputPanelClasses"], inputContentClasses: ["content-classes", "inputContentClasses"] }, outputs: { close: "close", open: "open", hovered: "hovered" }, viewQueries: [{ propertyName: "vcTemplateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], exportAs: ["LuPopoverPanel"], usesInheritance: true, ngImport: i0, template: "<ng-template>\n\t<div\n\t\tclass=\"lu-popover-panel\"\n\t\t[class]=\"panelClassesMap\"\n\t\t(keydown)=\"_handleKeydown($event)\"\n\t\t(click)=\"onClick()\"\n\t\t(mouseover)=\"onMouseOver()\"\n\t\t(mouseleave)=\"onMouseLeave()\"\n\t\t(mousedown)=\"onMouseDown()\"\n\t\t[attr.id]=\"panelId\"\n\t\t[attr.aria-labelledby]=\"triggerId\"\n\t\t[@transformPopover]=\"'enter'\"\n\t>\n\t\t<div class=\"lu-popover-content\" [class]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\n\t\t\t<ng-content /><ng-container *ngTemplateOutlet=\"template; context: templateContext\" />\n\t\t</div>\n\t</div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], animations: [luTransformPopover], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
224
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
225
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.7", type: LuPopoverPanelComponent, isStandalone: true, selector: "lu-popover", inputs: { template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null }, templateContext: { classPropertyName: "templateContext", publicName: "template-context", isSignal: true, isRequired: false, transformFunction: null }, inputCloseOnClick: { classPropertyName: "inputCloseOnClick", publicName: "close-on-click", isSignal: true, isRequired: false, transformFunction: null }, inputTrapFocus: { classPropertyName: "inputTrapFocus", publicName: "trap-focus", isSignal: true, isRequired: false, transformFunction: null }, inputScrollStrategy: { classPropertyName: "inputScrollStrategy", publicName: "scroll-strategy", isSignal: true, isRequired: false, transformFunction: null }, inputPanelClasses: { classPropertyName: "inputPanelClasses", publicName: "panel-classes", isSignal: true, isRequired: false, transformFunction: null }, inputContentClasses: { classPropertyName: "inputContentClasses", publicName: "content-classes", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closeOutput: "close", openOutput: "open", hoveredOutput: "hovered" }, viewQueries: [{ propertyName: "vcTemplateRef", first: true, predicate: TemplateRef, descendants: true, isSignal: true }], exportAs: ["LuPopoverPanel"], usesInheritance: true, ngImport: i0, template: "<ng-template>\n\t<div\n\t\tclass=\"lu-popover-panel\"\n\t\t[class]=\"panelClassesMap\"\n\t\t(keydown)=\"_handleKeydown($event)\"\n\t\t(click)=\"onClick()\"\n\t\t(mouseover)=\"onMouseOver()\"\n\t\t(mouseleave)=\"onMouseLeave()\"\n\t\t(mousedown)=\"onMouseDown()\"\n\t\t[attr.id]=\"panelId\"\n\t\t[attr.aria-labelledby]=\"triggerId\"\n\t\t[@transformPopover]=\"'enter'\"\n\t>\n\t\t<div class=\"lu-popover-content\" [class]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\n\t\t\t<ng-content /><ng-container *ngTemplateOutlet=\"template(); context: templateContext()\" />\n\t\t</div>\n\t</div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], animations: [luTransformPopover], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
229
226
  }
230
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverPanelComponent, decorators: [{
227
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverPanelComponent, decorators: [{
231
228
  type: Component,
232
- args: [{ selector: 'lu-popover', changeDetection: ChangeDetectionStrategy.OnPush, animations: [luTransformPopover], imports: [NgTemplateOutlet, OverlayModule, A11yModule], exportAs: 'LuPopoverPanel', template: "<ng-template>\n\t<div\n\t\tclass=\"lu-popover-panel\"\n\t\t[class]=\"panelClassesMap\"\n\t\t(keydown)=\"_handleKeydown($event)\"\n\t\t(click)=\"onClick()\"\n\t\t(mouseover)=\"onMouseOver()\"\n\t\t(mouseleave)=\"onMouseLeave()\"\n\t\t(mousedown)=\"onMouseDown()\"\n\t\t[attr.id]=\"panelId\"\n\t\t[attr.aria-labelledby]=\"triggerId\"\n\t\t[@transformPopover]=\"'enter'\"\n\t>\n\t\t<div class=\"lu-popover-content\" [class]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\n\t\t\t<ng-content /><ng-container *ngTemplateOutlet=\"template; context: templateContext\" />\n\t\t</div>\n\t</div>\n</ng-template>\n" }]
233
- }], ctorParameters: () => [], propDecorators: { template: [{
234
- type: Input
235
- }], templateContext: [{
236
- type: Input,
237
- args: ['template-context']
238
- }], inputCloseOnClick: [{
239
- type: Input,
240
- args: ['close-on-click']
241
- }], inputTrapFocus: [{
242
- type: Input,
243
- args: ['trap-focus']
244
- }], inputScrollStrategy: [{
245
- type: Input,
246
- args: ['scroll-strategy']
247
- }], inputPanelClasses: [{
248
- type: Input,
249
- args: ['panel-classes']
250
- }], inputContentClasses: [{
251
- type: Input,
252
- args: ['content-classes']
253
- }], close: [{
254
- type: Output
255
- }], open: [{
256
- type: Output
257
- }], hovered: [{
258
- type: Output
259
- }], vcTemplateRef: [{
260
- type: ViewChild,
261
- args: [TemplateRef, { static: true }]
262
- }] } });
229
+ args: [{ selector: 'lu-popover', changeDetection: ChangeDetectionStrategy.OnPush, animations: [luTransformPopover], imports: [NgTemplateOutlet, OverlayModule, A11yModule], exportAs: 'LuPopoverPanel', template: "<ng-template>\n\t<div\n\t\tclass=\"lu-popover-panel\"\n\t\t[class]=\"panelClassesMap\"\n\t\t(keydown)=\"_handleKeydown($event)\"\n\t\t(click)=\"onClick()\"\n\t\t(mouseover)=\"onMouseOver()\"\n\t\t(mouseleave)=\"onMouseLeave()\"\n\t\t(mousedown)=\"onMouseDown()\"\n\t\t[attr.id]=\"panelId\"\n\t\t[attr.aria-labelledby]=\"triggerId\"\n\t\t[@transformPopover]=\"'enter'\"\n\t>\n\t\t<div class=\"lu-popover-content\" [class]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\n\t\t\t<ng-content /><ng-container *ngTemplateOutlet=\"template(); context: templateContext()\" />\n\t\t</div>\n\t</div>\n</ng-template>\n" }]
230
+ }], ctorParameters: () => [], propDecorators: { template: [{ type: i0.Input, args: [{ isSignal: true, alias: "template", required: false }] }], templateContext: [{ type: i0.Input, args: [{ isSignal: true, alias: "template-context", required: false }] }], inputCloseOnClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "close-on-click", required: false }] }], inputTrapFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "trap-focus", required: false }] }], inputScrollStrategy: [{ type: i0.Input, args: [{ isSignal: true, alias: "scroll-strategy", required: false }] }], inputPanelClasses: [{ type: i0.Input, args: [{ isSignal: true, alias: "panel-classes", required: false }] }], inputContentClasses: [{ type: i0.Input, args: [{ isSignal: true, alias: "content-classes", required: false }] }], closeOutput: [{ type: i0.Output, args: ["close"] }], openOutput: [{ type: i0.Output, args: ["open"] }], hoveredOutput: [{ type: i0.Output, args: ["hovered"] }], vcTemplateRef: [{ type: i0.ViewChild, args: [i0.forwardRef(() => TemplateRef), { isSignal: true }] }] } });
263
231
 
264
232
  /**
265
233
  * @deprecated use `LuPopoverPanelComponent` instead
266
234
  */
267
235
  class LuPopoverPanelModule {
268
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
269
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverPanelModule, imports: [LuPopoverPanelComponent], exports: [LuPopoverPanelComponent] }); }
270
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverPanelModule, imports: [LuPopoverPanelComponent] }); }
236
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
237
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverPanelModule, imports: [LuPopoverPanelComponent], exports: [LuPopoverPanelComponent] }); }
238
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverPanelModule, imports: [LuPopoverPanelComponent] }); }
271
239
  }
272
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverPanelModule, decorators: [{
240
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverPanelModule, decorators: [{
273
241
  type: NgModule,
274
242
  args: [{
275
243
  imports: [LuPopoverPanelComponent],
@@ -345,51 +313,31 @@ class LuPopoverTarget extends ALuPopoverTarget {
345
313
  class LuPopoverTargetDirective extends ALuPopoverTarget {
346
314
  constructor(ref) {
347
315
  super();
316
+ /** how you want to position the panel relative to the target, allowed values: above, below, before, after */
317
+ this.inputPosition = input(undefined, { ...(ngDevMode ? { debugName: "inputPosition" } : /* istanbul ignore next */ {}), alias: 'luPopoverPosition' });
318
+ /** how the panel will be align with the target, allowed values: top, bottom, left, right */
319
+ this.inputAlignment = input(undefined, { ...(ngDevMode ? { debugName: "inputAlignment" } : /* istanbul ignore next */ {}), alias: 'luPopoverAlignment' });
320
+ /** set to true if you want the panel to appear on top of the target */
321
+ this.inputOverlap = input(undefined, { ...(ngDevMode ? { debugName: "inputOverlap" } : /* istanbul ignore next */ {}), alias: 'luPopoverOverlap' });
322
+ this.inputOffsetX = input(undefined, { ...(ngDevMode ? { debugName: "inputOffsetX" } : /* istanbul ignore next */ {}), alias: 'luPopoverOffsetX' });
323
+ this.inputOffsetY = input(undefined, { ...(ngDevMode ? { debugName: "inputOffsetY" } : /* istanbul ignore next */ {}), alias: 'luPopoverOffsetY' });
348
324
  this.elementRef = ref;
349
- }
350
- /** how you want to position the panel relative to the target, allowed values: above, below, before, after */
351
- set inputPosition(pos) {
352
- this.position = pos;
353
- }
354
- /** how the panel will be align with the target, allowed values: top, bottom, left, right */
355
- set inputAlignment(al) {
356
- this.alignment = al;
357
- }
358
- /** set to true if you want the panel to appear on top of the target */
359
- set inputOverlap(ov) {
360
- this.overlap = ov;
361
- }
362
- set inputOffsetX(ox) {
363
- this.offsetX = ox;
364
- }
365
- set inputOffsetY(oy) {
366
- this.offsetY = oy;
367
- }
368
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverTargetDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
369
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: LuPopoverTargetDirective, isStandalone: true, selector: "[luPopoverTarget]", inputs: { inputPosition: ["luPopoverPosition", "inputPosition"], inputAlignment: ["luPopoverAlignment", "inputAlignment"], inputOverlap: ["luPopoverOverlap", "inputOverlap"], inputOffsetX: ["luPopoverOffsetX", "inputOffsetX"], inputOffsetY: ["luPopoverOffsetY", "inputOffsetY"] }, exportAs: ["LuPopoverTarget"], usesInheritance: true, ngImport: i0 }); }
325
+ syncInputSignal(this.inputPosition, (inputPosition) => (this.position = inputPosition));
326
+ syncInputSignal(this.inputAlignment, (inputAlignment) => (this.alignment = inputAlignment));
327
+ syncInputSignal(this.inputOverlap, (inputOverlap) => (this.overlap = inputOverlap));
328
+ syncInputSignal(this.inputOffsetX, (inputOffsetX) => (this.offsetX = inputOffsetX));
329
+ syncInputSignal(this.inputOffsetY, (inputOffsetY) => (this.offsetY = inputOffsetY));
330
+ }
331
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverTargetDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
332
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.7", type: LuPopoverTargetDirective, isStandalone: true, selector: "[luPopoverTarget]", inputs: { inputPosition: { classPropertyName: "inputPosition", publicName: "luPopoverPosition", isSignal: true, isRequired: false, transformFunction: null }, inputAlignment: { classPropertyName: "inputAlignment", publicName: "luPopoverAlignment", isSignal: true, isRequired: false, transformFunction: null }, inputOverlap: { classPropertyName: "inputOverlap", publicName: "luPopoverOverlap", isSignal: true, isRequired: false, transformFunction: null }, inputOffsetX: { classPropertyName: "inputOffsetX", publicName: "luPopoverOffsetX", isSignal: true, isRequired: false, transformFunction: null }, inputOffsetY: { classPropertyName: "inputOffsetY", publicName: "luPopoverOffsetY", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["LuPopoverTarget"], usesInheritance: true, ngImport: i0 }); }
370
333
  }
371
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverTargetDirective, decorators: [{
334
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverTargetDirective, decorators: [{
372
335
  type: Directive,
373
336
  args: [{
374
337
  selector: '[luPopoverTarget]',
375
338
  exportAs: 'LuPopoverTarget',
376
339
  }]
377
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { inputPosition: [{
378
- type: Input,
379
- args: ['luPopoverPosition']
380
- }], inputAlignment: [{
381
- type: Input,
382
- args: ['luPopoverAlignment']
383
- }], inputOverlap: [{
384
- type: Input,
385
- args: ['luPopoverOverlap']
386
- }], inputOffsetX: [{
387
- type: Input,
388
- args: ['luPopoverOffsetX']
389
- }], inputOffsetY: [{
390
- type: Input,
391
- args: ['luPopoverOffsetY']
392
- }] } });
340
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { inputPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverPosition", required: false }] }], inputAlignment: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverAlignment", required: false }] }], inputOverlap: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverOverlap", required: false }] }], inputOffsetX: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverOffsetX", required: false }] }], inputOffsetY: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverOffsetY", required: false }] }] } });
393
341
 
394
342
  // tslint:disable-next-line: max-line-length
395
343
  class ALuPopoverTrigger {
@@ -789,6 +737,7 @@ class ALuPopoverTrigger {
789
737
  return this._overlay
790
738
  .position()
791
739
  .flexibleConnectedTo(element)
740
+ .withViewportMargin(getPushPanelViewportMargin(element.nativeElement))
792
741
  .withPositions([
793
742
  {
794
743
  originX: connectionPosition.originX,
@@ -865,48 +814,6 @@ class ALuPopoverTrigger {
865
814
  }
866
815
 
867
816
  class LuPopoverTriggerDirective extends ALuPopoverTrigger {
868
- /** References the popover instance that the trigger is associated with. */
869
- set inputPanel(p) {
870
- this.panel = p;
871
- }
872
- /** References the popover target instance that the trigger is associated with. */
873
- set inputTarget(t) {
874
- this.target = t;
875
- }
876
- /** References the popover target instance that the trigger is associated with. */
877
- set inputTriggerEvent(te) {
878
- this.triggerEvent = te;
879
- }
880
- /** how you want to position the panel relative to the target, allowed values: above, below, before, after */
881
- set inputPosition(pos) {
882
- this.target.position = pos;
883
- }
884
- /** how the panel will be align with the target, allowed values: top, bottom, left, right */
885
- set inputAlignment(al) {
886
- this.target.alignment = al;
887
- }
888
- /** when trigger = hover, delay before the popover panel appears */
889
- set inputEnterDelay(d) {
890
- this.enterDelay = d;
891
- }
892
- /** when trigger = hover, delay before the popover panel disappears */
893
- set inputLeaveDelay(d) {
894
- this.leaveDelay = d;
895
- }
896
- /** disable popover apparition */
897
- set inputDisabled(d) {
898
- this.disabled = d;
899
- }
900
- /** set to true if you want the panel to appear on top of the target */
901
- set inputOverlap(ov) {
902
- this.target.overlap = ov;
903
- }
904
- set inputOffsetX(ox) {
905
- this.target.offsetX = ox;
906
- }
907
- set inputOffsetY(oy) {
908
- this.target.offsetY = oy;
909
- }
910
817
  /** accessibility attribute - dont override */
911
818
  get _attrAriaExpanded() {
912
819
  return this._popoverOpen;
@@ -924,15 +831,49 @@ class LuPopoverTriggerDirective extends ALuPopoverTrigger {
924
831
  this._overlay = _overlay;
925
832
  this._elementRef = _elementRef;
926
833
  this._viewContainerRef = _viewContainerRef;
927
- /** Event emitted when the associated popover is opened. */
928
- // eslint-disable-next-line @angular-eslint/no-output-on-prefix
834
+ /** References the popover instance that the trigger is associated with. */
835
+ this.inputPanel = input(undefined, { ...(ngDevMode ? { debugName: "inputPanel" } : /* istanbul ignore next */ {}), alias: 'luPopover' });
836
+ /** References the popover target instance that the trigger is associated with. */
837
+ this.inputTarget = input(undefined, { ...(ngDevMode ? { debugName: "inputTarget" } : /* istanbul ignore next */ {}), alias: 'luPopoverTarget' });
838
+ /** References the popover target instance that the trigger is associated with. */
839
+ this.inputTriggerEvent = input(undefined, { ...(ngDevMode ? { debugName: "inputTriggerEvent" } : /* istanbul ignore next */ {}), alias: 'luPopoverTrigger' });
929
840
  this.onOpen = new EventEmitter();
930
- /** Event emitted when the associated popover is closed. */
931
- // eslint-disable-next-line @angular-eslint/no-output-on-prefix
932
841
  this.onClose = new EventEmitter();
842
+ /** Event emitted when the associated popover is closed. */
843
+ this.onCloseOutput = outputFromObservable(this.onClose, { alias: 'luPopoverOnClose' });
844
+ /** Event emitted when the associated popover is opened. */
845
+ this.onOpenOutput = outputFromObservable(this.onOpen, { alias: 'luPopoverOnOpen' });
846
+ /** how you want to position the panel relative to the target, allowed values: above, below, before, after */
847
+ this.inputPosition = input(undefined, { ...(ngDevMode ? { debugName: "inputPosition" } : /* istanbul ignore next */ {}), alias: 'luPopoverPosition' });
848
+ /** how the panel will be align with the target, allowed values: top, bottom, left, right */
849
+ this.inputAlignment = input(undefined, { ...(ngDevMode ? { debugName: "inputAlignment" } : /* istanbul ignore next */ {}), alias: 'luPopoverAlignment' });
850
+ /** when trigger = hover, delay before the popover panel appears */
851
+ this.inputEnterDelay = input(undefined, { ...(ngDevMode ? { debugName: "inputEnterDelay" } : /* istanbul ignore next */ {}), alias: 'luPopoverEnterDelay' });
852
+ /** when trigger = hover, delay before the popover panel disappears */
853
+ this.inputLeaveDelay = input(undefined, { ...(ngDevMode ? { debugName: "inputLeaveDelay" } : /* istanbul ignore next */ {}), alias: 'luPopoverLeaveDelay' });
854
+ /** disable popover apparition */
855
+ this.inputDisabled = input(undefined, { ...(ngDevMode ? { debugName: "inputDisabled" } : /* istanbul ignore next */ {}), alias: 'luPopoverDisabled' });
856
+ /** set to true if you want the panel to appear on top of the target */
857
+ this.inputOverlap = input(undefined, { ...(ngDevMode ? { debugName: "inputOverlap" } : /* istanbul ignore next */ {}), alias: 'luPopoverOverlap' });
858
+ this.inputOffsetX = input(undefined, { ...(ngDevMode ? { debugName: "inputOffsetX" } : /* istanbul ignore next */ {}), alias: 'luPopoverOffsetX' });
859
+ this.inputOffsetY = input(undefined, { ...(ngDevMode ? { debugName: "inputOffsetY" } : /* istanbul ignore next */ {}), alias: 'luPopoverOffsetY' });
933
860
  this.target = new LuPopoverTarget();
934
861
  this.target.elementRef = this._elementRef;
935
862
  this._triggerId = this._elementRef.nativeElement.getAttribute('id') || this._triggerId;
863
+ this.#initTarget();
864
+ syncInputSignal(this.inputPanel, (inputPanel) => (this.panel = inputPanel));
865
+ syncInputSignal(this.inputTriggerEvent, (inputTriggerEvent) => (this.triggerEvent = inputTriggerEvent));
866
+ syncInputSignal(this.inputEnterDelay, (inputEnterDelay) => (this.enterDelay = inputEnterDelay));
867
+ syncInputSignal(this.inputLeaveDelay, (inputLeaveDelay) => (this.leaveDelay = inputLeaveDelay));
868
+ syncInputSignal(this.inputDisabled, (inputDisabled) => (this.disabled = inputDisabled));
869
+ }
870
+ #initTarget() {
871
+ syncInputSignal(this.inputTarget, (inputTarget) => (this.target = inputTarget));
872
+ syncInputSignal(this.inputPosition, (inputPosition) => (this.target.position = inputPosition));
873
+ syncInputSignal(this.inputAlignment, (inputAlignment) => (this.target.alignment = inputAlignment));
874
+ syncInputSignal(this.inputOverlap, (inputOverlap) => (this.target.overlap = inputOverlap));
875
+ syncInputSignal(this.inputOffsetX, (inputOffsetX) => (this.target.offsetX = inputOffsetX));
876
+ syncInputSignal(this.inputOffsetY, (inputOffsetY) => (this.target.offsetY = inputOffsetY));
936
877
  }
937
878
  onClick() {
938
879
  super.onClick();
@@ -966,89 +907,36 @@ class LuPopoverTriggerDirective extends ALuPopoverTrigger {
966
907
  _emitClose() {
967
908
  this.onClose.emit();
968
909
  }
969
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverTriggerDirective, deps: [{ token: i1$1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
970
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: LuPopoverTriggerDirective, isStandalone: true, selector: "[luPopover]", inputs: { inputPanel: ["luPopover", "inputPanel"], inputTarget: ["luPopoverTarget", "inputTarget"], inputTriggerEvent: ["luPopoverTrigger", "inputTriggerEvent"], inputPosition: ["luPopoverPosition", "inputPosition"], inputAlignment: ["luPopoverAlignment", "inputAlignment"], inputEnterDelay: ["luPopoverEnterDelay", "inputEnterDelay"], inputLeaveDelay: ["luPopoverLeaveDelay", "inputLeaveDelay"], inputDisabled: ["luPopoverDisabled", "inputDisabled"], inputOverlap: ["luPopoverOverlap", "inputOverlap"], inputOffsetX: ["luPopoverOffsetX", "inputOffsetX"], inputOffsetY: ["luPopoverOffsetY", "inputOffsetY"] }, outputs: { onOpen: "luPopoverOnOpen", onClose: "luPopoverOnClose" }, host: { listeners: { "click": "onClick()", "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.aria-expanded": "this._attrAriaExpanded", "attr.id": "this._attrId", "attr.aria-controls": "this._attrAriaControls" } }, exportAs: ["LuPopoverTrigger"], usesInheritance: true, ngImport: i0 }); }
910
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverTriggerDirective, deps: [{ token: i1$1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
911
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.7", type: LuPopoverTriggerDirective, isStandalone: true, selector: "[luPopover]", inputs: { inputPanel: { classPropertyName: "inputPanel", publicName: "luPopover", isSignal: true, isRequired: false, transformFunction: null }, inputTarget: { classPropertyName: "inputTarget", publicName: "luPopoverTarget", isSignal: true, isRequired: false, transformFunction: null }, inputTriggerEvent: { classPropertyName: "inputTriggerEvent", publicName: "luPopoverTrigger", isSignal: true, isRequired: false, transformFunction: null }, inputPosition: { classPropertyName: "inputPosition", publicName: "luPopoverPosition", isSignal: true, isRequired: false, transformFunction: null }, inputAlignment: { classPropertyName: "inputAlignment", publicName: "luPopoverAlignment", isSignal: true, isRequired: false, transformFunction: null }, inputEnterDelay: { classPropertyName: "inputEnterDelay", publicName: "luPopoverEnterDelay", isSignal: true, isRequired: false, transformFunction: null }, inputLeaveDelay: { classPropertyName: "inputLeaveDelay", publicName: "luPopoverLeaveDelay", isSignal: true, isRequired: false, transformFunction: null }, inputDisabled: { classPropertyName: "inputDisabled", publicName: "luPopoverDisabled", isSignal: true, isRequired: false, transformFunction: null }, inputOverlap: { classPropertyName: "inputOverlap", publicName: "luPopoverOverlap", isSignal: true, isRequired: false, transformFunction: null }, inputOffsetX: { classPropertyName: "inputOffsetX", publicName: "luPopoverOffsetX", isSignal: true, isRequired: false, transformFunction: null }, inputOffsetY: { classPropertyName: "inputOffsetY", publicName: "luPopoverOffsetY", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onCloseOutput: "luPopoverOnClose", onOpenOutput: "luPopoverOnOpen" }, host: { listeners: { "click": "onClick()", "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.aria-expanded": "_attrAriaExpanded", "attr.id": "_attrId", "attr.aria-controls": "_attrAriaControls" } }, exportAs: ["LuPopoverTrigger"], usesInheritance: true, ngImport: i0 }); }
971
912
  }
972
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverTriggerDirective, decorators: [{
913
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverTriggerDirective, decorators: [{
973
914
  type: Directive,
974
915
  args: [{
975
916
  selector: '[luPopover]',
976
917
  exportAs: 'LuPopoverTrigger',
918
+ host: {
919
+ '[attr.aria-expanded]': '_attrAriaExpanded',
920
+ '[attr.id]': '_attrId',
921
+ '[attr.aria-controls]': '_attrAriaControls',
922
+ '(click)': 'onClick()',
923
+ '(mouseenter)': 'onMouseEnter()',
924
+ '(mouseleave)': 'onMouseLeave()',
925
+ '(focus)': 'onFocus()',
926
+ '(blur)': 'onBlur()',
927
+ },
977
928
  }]
978
- }], ctorParameters: () => [{ type: i1$1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }], propDecorators: { inputPanel: [{
979
- type: Input,
980
- args: ['luPopover']
981
- }], inputTarget: [{
982
- type: Input,
983
- args: ['luPopoverTarget']
984
- }], inputTriggerEvent: [{
985
- type: Input,
986
- args: ['luPopoverTrigger']
987
- }], onOpen: [{
988
- type: Output,
989
- args: ['luPopoverOnOpen']
990
- }], onClose: [{
991
- type: Output,
992
- args: ['luPopoverOnClose']
993
- }], inputPosition: [{
994
- type: Input,
995
- args: ['luPopoverPosition']
996
- }], inputAlignment: [{
997
- type: Input,
998
- args: ['luPopoverAlignment']
999
- }], inputEnterDelay: [{
1000
- type: Input,
1001
- args: ['luPopoverEnterDelay']
1002
- }], inputLeaveDelay: [{
1003
- type: Input,
1004
- args: ['luPopoverLeaveDelay']
1005
- }], inputDisabled: [{
1006
- type: Input,
1007
- args: ['luPopoverDisabled']
1008
- }], inputOverlap: [{
1009
- type: Input,
1010
- args: ['luPopoverOverlap']
1011
- }], inputOffsetX: [{
1012
- type: Input,
1013
- args: ['luPopoverOffsetX']
1014
- }], inputOffsetY: [{
1015
- type: Input,
1016
- args: ['luPopoverOffsetY']
1017
- }], _attrAriaExpanded: [{
1018
- type: HostBinding,
1019
- args: ['attr.aria-expanded']
1020
- }], _attrId: [{
1021
- type: HostBinding,
1022
- args: ['attr.id']
1023
- }], _attrAriaControls: [{
1024
- type: HostBinding,
1025
- args: ['attr.aria-controls']
1026
- }], onClick: [{
1027
- type: HostListener,
1028
- args: ['click']
1029
- }], onMouseEnter: [{
1030
- type: HostListener,
1031
- args: ['mouseenter']
1032
- }], onMouseLeave: [{
1033
- type: HostListener,
1034
- args: ['mouseleave']
1035
- }], onFocus: [{
1036
- type: HostListener,
1037
- args: ['focus']
1038
- }], onBlur: [{
1039
- type: HostListener,
1040
- args: ['blur']
1041
- }] } });
929
+ }], ctorParameters: () => [{ type: i1$1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }], propDecorators: { inputPanel: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopover", required: false }] }], inputTarget: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverTarget", required: false }] }], inputTriggerEvent: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverTrigger", required: false }] }], onCloseOutput: [{ type: i0.Output, args: ["luPopoverOnClose"] }], onOpenOutput: [{ type: i0.Output, args: ["luPopoverOnOpen"] }], inputPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverPosition", required: false }] }], inputAlignment: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverAlignment", required: false }] }], inputEnterDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverEnterDelay", required: false }] }], inputLeaveDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverLeaveDelay", required: false }] }], inputDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverDisabled", required: false }] }], inputOverlap: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverOverlap", required: false }] }], inputOffsetX: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverOffsetX", required: false }] }], inputOffsetY: [{ type: i0.Input, args: [{ isSignal: true, alias: "luPopoverOffsetY", required: false }] }] } });
1042
930
 
1043
931
  /**
1044
932
  * @deprecated use `LuPopoverPanelComponent, LuPopoverTargetDirective, LuPopoverTriggerDirective` instead
1045
933
  */
1046
934
  class LuPopoverModule {
1047
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1048
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverModule, imports: [LuPopoverPanelComponent, LuPopoverTargetDirective, LuPopoverTriggerDirective], exports: [LuPopoverPanelComponent, LuPopoverTargetDirective, LuPopoverTriggerDirective] }); }
1049
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverModule, imports: [LuPopoverPanelComponent] }); }
935
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
936
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverModule, imports: [LuPopoverPanelComponent, LuPopoverTargetDirective, LuPopoverTriggerDirective], exports: [LuPopoverPanelComponent, LuPopoverTargetDirective, LuPopoverTriggerDirective] }); }
937
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverModule, imports: [LuPopoverPanelComponent] }); }
1050
938
  }
1051
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuPopoverModule, decorators: [{
939
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: LuPopoverModule, decorators: [{
1052
940
  type: NgModule,
1053
941
  args: [{
1054
942
  imports: [LuPopoverPanelComponent, LuPopoverTargetDirective, LuPopoverTriggerDirective],