@coreui/angular-pro 5.0.4 → 5.1.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 (277) hide show
  1. package/esm2022/lib/accordion/accordion/accordion.component.mjs +3 -3
  2. package/esm2022/lib/accordion/accordion-button/accordion-button.directive.mjs +3 -3
  3. package/esm2022/lib/accordion/accordion-item/accordion-item.component.mjs +3 -3
  4. package/esm2022/lib/accordion/accordion.module.mjs +4 -4
  5. package/esm2022/lib/accordion/accordion.service.mjs +3 -3
  6. package/esm2022/lib/alert/alert-heading.directive.mjs +3 -3
  7. package/esm2022/lib/alert/alert-link.directive.mjs +3 -3
  8. package/esm2022/lib/alert/alert.component.mjs +3 -3
  9. package/esm2022/lib/alert/alert.module.mjs +4 -4
  10. package/esm2022/lib/avatar/avatar.component.mjs +3 -3
  11. package/esm2022/lib/avatar/avatar.module.mjs +4 -4
  12. package/esm2022/lib/backdrop/backdrop.service.mjs +3 -3
  13. package/esm2022/lib/badge/badge.component.mjs +3 -3
  14. package/esm2022/lib/badge/badge.module.mjs +4 -4
  15. package/esm2022/lib/breadcrumb/breadcrumb/breadcrumb.component.mjs +3 -3
  16. package/esm2022/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +3 -3
  17. package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +3 -3
  18. package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +3 -3
  19. package/esm2022/lib/breadcrumb/breadcrumb.module.mjs +4 -4
  20. package/esm2022/lib/button/button-close.directive.mjs +3 -3
  21. package/esm2022/lib/button/button.directive.mjs +3 -3
  22. package/esm2022/lib/button/button.module.mjs +4 -4
  23. package/esm2022/lib/button-group/button-group/button-group.component.mjs +3 -3
  24. package/esm2022/lib/button-group/button-group.module.mjs +4 -4
  25. package/esm2022/lib/button-group/button-toolbar/button-toolbar.component.mjs +3 -3
  26. package/esm2022/lib/calendar/calendar/calendar-class-view.pipe.mjs +3 -3
  27. package/esm2022/lib/calendar/calendar/calendar.component.mjs +3 -3
  28. package/esm2022/lib/calendar/calendar-month/calendar-class-day.pipe.mjs +3 -3
  29. package/esm2022/lib/calendar/calendar-month/calendar-class-month.pipe.mjs +3 -3
  30. package/esm2022/lib/calendar/calendar-month/calendar-class-row.pipe.mjs +3 -3
  31. package/esm2022/lib/calendar/calendar-month/calendar-class-year.pipe.mjs +3 -3
  32. package/esm2022/lib/calendar/calendar-month/calendar-day-title.pipe.mjs +3 -3
  33. package/esm2022/lib/calendar/calendar-month/calendar-day.directive.mjs +3 -3
  34. package/esm2022/lib/calendar/calendar-month/calendar-day.pipe.mjs +3 -3
  35. package/esm2022/lib/calendar/calendar-month/calendar-month.component.mjs +3 -3
  36. package/esm2022/lib/calendar/calendar-month/calendar-row.directive.mjs +3 -3
  37. package/esm2022/lib/calendar/calendar-month/calendar-weekday.pipe.mjs +3 -3
  38. package/esm2022/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +3 -3
  39. package/esm2022/lib/calendar/calendar.module.mjs +4 -4
  40. package/esm2022/lib/calendar/calendar.service.mjs +3 -3
  41. package/esm2022/lib/callout/callout.component.mjs +3 -3
  42. package/esm2022/lib/callout/callout.module.mjs +4 -4
  43. package/esm2022/lib/card/card-body.component.mjs +3 -3
  44. package/esm2022/lib/card/card-footer.component.mjs +3 -3
  45. package/esm2022/lib/card/card-group.component.mjs +3 -3
  46. package/esm2022/lib/card/card-header-actions.component.mjs +3 -3
  47. package/esm2022/lib/card/card-header.component.mjs +3 -3
  48. package/esm2022/lib/card/card-img-overlay/card-img-overlay.component.mjs +3 -3
  49. package/esm2022/lib/card/card-img.directive.mjs +3 -3
  50. package/esm2022/lib/card/card-link.directive.mjs +3 -3
  51. package/esm2022/lib/card/card-subtitle.directive.mjs +3 -3
  52. package/esm2022/lib/card/card-text.directive.mjs +3 -3
  53. package/esm2022/lib/card/card-title.directive.mjs +3 -3
  54. package/esm2022/lib/card/card.component.mjs +3 -3
  55. package/esm2022/lib/card/card.module.mjs +4 -4
  56. package/esm2022/lib/carousel/carousel/carousel.component.mjs +3 -3
  57. package/esm2022/lib/carousel/carousel-caption/carousel-caption.component.mjs +3 -3
  58. package/esm2022/lib/carousel/carousel-control/carousel-control.component.mjs +3 -3
  59. package/esm2022/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +3 -3
  60. package/esm2022/lib/carousel/carousel-inner/carousel-inner.component.mjs +3 -3
  61. package/esm2022/lib/carousel/carousel-item/carousel-item.component.mjs +3 -3
  62. package/esm2022/lib/carousel/carousel-state.mjs +3 -3
  63. package/esm2022/lib/carousel/carousel.config.mjs +3 -3
  64. package/esm2022/lib/carousel/carousel.module.mjs +4 -4
  65. package/esm2022/lib/carousel/carousel.service.mjs +3 -3
  66. package/esm2022/lib/collapse/collapse.directive.mjs +3 -3
  67. package/esm2022/lib/collapse/collapse.module.mjs +4 -4
  68. package/esm2022/lib/coreui.types.mjs +1 -1
  69. package/esm2022/lib/date-picker/date-picker.component.mjs +3 -3
  70. package/esm2022/lib/date-picker/date-picker.module.mjs +4 -4
  71. package/esm2022/lib/date-range-picker/date-range-picker/custom-range-key.pipe.mjs +3 -3
  72. package/esm2022/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +3 -3
  73. package/esm2022/lib/date-range-picker/date-range-picker.module.mjs +4 -4
  74. package/esm2022/lib/dropdown/dropdown/dropdown.component.mjs +6 -6
  75. package/esm2022/lib/dropdown/dropdown-close/dropdown-close.directive.mjs +3 -3
  76. package/esm2022/lib/dropdown/dropdown-divider/dropdown-divider.directive.mjs +3 -3
  77. package/esm2022/lib/dropdown/dropdown-header/dropdown-header.directive.mjs +3 -3
  78. package/esm2022/lib/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +3 -3
  79. package/esm2022/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +3 -3
  80. package/esm2022/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +3 -3
  81. package/esm2022/lib/dropdown/dropdown.module.mjs +4 -4
  82. package/esm2022/lib/dropdown/dropdown.service.mjs +3 -3
  83. package/esm2022/lib/element-cover/element-cover.component.mjs +3 -3
  84. package/esm2022/lib/element-cover/element-cover.module.mjs +4 -4
  85. package/esm2022/lib/footer/footer.component.mjs +3 -3
  86. package/esm2022/lib/footer/footer.module.mjs +4 -4
  87. package/esm2022/lib/form/form/form.directive.mjs +3 -3
  88. package/esm2022/lib/form/form-check/form-check-input.directive.mjs +3 -3
  89. package/esm2022/lib/form/form-check/form-check-label.directive.mjs +3 -3
  90. package/esm2022/lib/form/form-check/form-check.component.mjs +3 -3
  91. package/esm2022/lib/form/form-control/form-control.directive.mjs +3 -3
  92. package/esm2022/lib/form/form-feedback/form-feedback.component.mjs +3 -3
  93. package/esm2022/lib/form/form-floating/form-floating.directive.mjs +3 -3
  94. package/esm2022/lib/form/form-label/form-label.directive.mjs +3 -3
  95. package/esm2022/lib/form/form-select/form-select.directive.mjs +3 -3
  96. package/esm2022/lib/form/form-text/form-text.directive.mjs +3 -3
  97. package/esm2022/lib/form/form.module.mjs +4 -4
  98. package/esm2022/lib/form/input-group/input-group.component.mjs +3 -3
  99. package/esm2022/lib/form/input-group-text/input-group-text.directive.mjs +3 -3
  100. package/esm2022/lib/grid/col.component.mjs +3 -3
  101. package/esm2022/lib/grid/col.directive.mjs +3 -3
  102. package/esm2022/lib/grid/container.component.mjs +3 -3
  103. package/esm2022/lib/grid/grid.module.mjs +4 -4
  104. package/esm2022/lib/grid/gutter.directive.mjs +3 -3
  105. package/esm2022/lib/grid/row.component.mjs +3 -3
  106. package/esm2022/lib/grid/row.directive.mjs +3 -3
  107. package/esm2022/lib/header/header/header.component.mjs +3 -3
  108. package/esm2022/lib/header/header-brand/header-brand.component.mjs +3 -3
  109. package/esm2022/lib/header/header-divider/header-divider.component.mjs +3 -3
  110. package/esm2022/lib/header/header-nav/header-nav.component.mjs +3 -3
  111. package/esm2022/lib/header/header-text/header-text.component.mjs +3 -3
  112. package/esm2022/lib/header/header-toggler/header-toggler.directive.mjs +3 -3
  113. package/esm2022/lib/header/header.module.mjs +4 -4
  114. package/esm2022/lib/image/img.directive.mjs +3 -3
  115. package/esm2022/lib/image/img.module.mjs +4 -4
  116. package/esm2022/lib/list-group/list-group-item.directive.mjs +3 -3
  117. package/esm2022/lib/list-group/list-group.directive.mjs +3 -3
  118. package/esm2022/lib/list-group/list-group.module.mjs +4 -4
  119. package/esm2022/lib/loading-button/loading-button.component.mjs +3 -3
  120. package/esm2022/lib/loading-button/loading-button.module.mjs +4 -4
  121. package/esm2022/lib/modal/modal/modal.component.mjs +3 -3
  122. package/esm2022/lib/modal/modal-body/modal-body.component.mjs +3 -3
  123. package/esm2022/lib/modal/modal-content/modal-content.component.mjs +3 -3
  124. package/esm2022/lib/modal/modal-dialog/modal-dialog.component.mjs +3 -3
  125. package/esm2022/lib/modal/modal-dismiss/modal-toggle.directive.mjs +3 -3
  126. package/esm2022/lib/modal/modal-footer/modal-footer.component.mjs +3 -3
  127. package/esm2022/lib/modal/modal-header/modal-header.component.mjs +3 -3
  128. package/esm2022/lib/modal/modal-title/modal-title.directive.mjs +3 -3
  129. package/esm2022/lib/modal/modal.module.mjs +4 -4
  130. package/esm2022/lib/modal/modal.service.mjs +3 -3
  131. package/esm2022/lib/multi-select/multi-select/multi-select-search.directive.mjs +3 -3
  132. package/esm2022/lib/multi-select/multi-select/multi-select.component.mjs +3 -3
  133. package/esm2022/lib/multi-select/multi-select-native-select/multi-select-native-select.component.mjs +3 -3
  134. package/esm2022/lib/multi-select/multi-select-optgroup/multi-select-optgroup-label.component.mjs +3 -3
  135. package/esm2022/lib/multi-select/multi-select-optgroup/multi-select-optgroup.component.mjs +3 -3
  136. package/esm2022/lib/multi-select/multi-select-option/multi-select-option.component.mjs +3 -3
  137. package/esm2022/lib/multi-select/multi-select-tag/multi-select-tag.component.mjs +3 -3
  138. package/esm2022/lib/multi-select/multi-select.module.mjs +4 -4
  139. package/esm2022/lib/multi-select/multi-select.service.mjs +3 -3
  140. package/esm2022/lib/nav/nav-item.component.mjs +3 -3
  141. package/esm2022/lib/nav/nav-link.directive.mjs +3 -3
  142. package/esm2022/lib/nav/nav.component.mjs +3 -3
  143. package/esm2022/lib/nav/nav.module.mjs +4 -4
  144. package/esm2022/lib/navbar/navbar-brand/navbar-brand.directive.mjs +3 -3
  145. package/esm2022/lib/navbar/navbar-nav/navbar-nav.component.mjs +3 -3
  146. package/esm2022/lib/navbar/navbar-text/navbar-text.component.mjs +3 -3
  147. package/esm2022/lib/navbar/navbar-toggler/navbar-toggler.directive.mjs +3 -3
  148. package/esm2022/lib/navbar/navbar.component.mjs +3 -3
  149. package/esm2022/lib/navbar/navbar.module.mjs +4 -4
  150. package/esm2022/lib/offcanvas/offcanvas/offcanvas.component.mjs +3 -3
  151. package/esm2022/lib/offcanvas/offcanvas-body/offcanvas-body.component.mjs +3 -3
  152. package/esm2022/lib/offcanvas/offcanvas-header/offcanvas-header.component.mjs +3 -3
  153. package/esm2022/lib/offcanvas/offcanvas-title/offcanvas-title.directive.mjs +3 -3
  154. package/esm2022/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.mjs +3 -3
  155. package/esm2022/lib/offcanvas/offcanvas.module.mjs +4 -4
  156. package/esm2022/lib/offcanvas/offcanvas.service.mjs +3 -3
  157. package/esm2022/lib/pagination/page-item/page-item.component.mjs +3 -3
  158. package/esm2022/lib/pagination/page-item/page-item.directive.mjs +3 -3
  159. package/esm2022/lib/pagination/page-link/page-link.directive.mjs +3 -3
  160. package/esm2022/lib/pagination/pagination/pagination.component.mjs +3 -3
  161. package/esm2022/lib/pagination/pagination.module.mjs +4 -4
  162. package/esm2022/lib/placeholder/placeholder-animation.directive.mjs +3 -3
  163. package/esm2022/lib/placeholder/placeholder.directive.mjs +3 -3
  164. package/esm2022/lib/placeholder/placeholder.module.mjs +4 -4
  165. package/esm2022/lib/popover/popover/popover.component.mjs +3 -3
  166. package/esm2022/lib/popover/popover.directive.mjs +3 -3
  167. package/esm2022/lib/popover/popover.module.mjs +4 -4
  168. package/esm2022/lib/progress/progress-bar.component.mjs +3 -3
  169. package/esm2022/lib/progress/progress-bar.directive.mjs +3 -3
  170. package/esm2022/lib/progress/progress-stacked.component.mjs +3 -3
  171. package/esm2022/lib/progress/progress.component.mjs +3 -3
  172. package/esm2022/lib/progress/progress.module.mjs +4 -4
  173. package/esm2022/lib/rating/index.mjs +2 -0
  174. package/esm2022/lib/rating/public_api.mjs +3 -0
  175. package/esm2022/lib/rating/rating-item-label/rating-item-label.component.mjs +40 -0
  176. package/esm2022/lib/rating/rating.component.mjs +353 -0
  177. package/esm2022/lib/rating/rating.module.mjs +16 -0
  178. package/esm2022/lib/services/class-toggle.service.mjs +3 -3
  179. package/esm2022/lib/services/color-mode.service.mjs +3 -3
  180. package/esm2022/lib/services/in-memory-storage.service.mjs +3 -3
  181. package/esm2022/lib/services/intersection.service.mjs +3 -3
  182. package/esm2022/lib/services/listeners.service.mjs +25 -14
  183. package/esm2022/lib/services/local-storage.service.mjs +3 -3
  184. package/esm2022/lib/shared/element-ref.directive.mjs +18 -0
  185. package/esm2022/lib/shared/html-attr.directive.mjs +3 -3
  186. package/esm2022/lib/shared/public_api.mjs +3 -2
  187. package/esm2022/lib/shared/shared.module.mjs +9 -8
  188. package/esm2022/lib/shared/template-id.directive.mjs +9 -9
  189. package/esm2022/lib/shared/theme.directive.mjs +3 -3
  190. package/esm2022/lib/sidebar/sidebar/sidebar.component.mjs +3 -3
  191. package/esm2022/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.mjs +3 -3
  192. package/esm2022/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +3 -3
  193. package/esm2022/lib/sidebar/sidebar-footer/sidebar-footer.component.mjs +3 -3
  194. package/esm2022/lib/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
  195. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.mjs +3 -3
  196. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.mjs +3 -3
  197. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-group.service.mjs +3 -3
  198. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.mjs +3 -3
  199. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.mjs +3 -3
  200. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +3 -3
  201. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +6 -6
  202. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.mjs +3 -3
  203. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-title.component.mjs +3 -3
  204. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +6 -6
  205. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav.service.mjs +6 -6
  206. package/esm2022/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.mjs +3 -3
  207. package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.directive.mjs +3 -3
  208. package/esm2022/lib/sidebar/sidebar.module.mjs +4 -4
  209. package/esm2022/lib/sidebar/sidebar.service.mjs +3 -3
  210. package/esm2022/lib/smart-pagination/smart-pagination.component.mjs +3 -3
  211. package/esm2022/lib/smart-pagination/smart-pagination.module.mjs +4 -4
  212. package/esm2022/lib/smart-table/smart-table/smart-table.component.mjs +3 -3
  213. package/esm2022/lib/smart-table/smart-table-column-filter/smart-table-column-filter.component.mjs +3 -3
  214. package/esm2022/lib/smart-table/smart-table-filter/filter-input.directive.mjs +3 -3
  215. package/esm2022/lib/smart-table/smart-table-filter/smart-table-filter.component.mjs +3 -3
  216. package/esm2022/lib/smart-table/smart-table-head/smart-table-column-label.pipe.mjs +3 -3
  217. package/esm2022/lib/smart-table/smart-table-head/smart-table-head.component.mjs +3 -3
  218. package/esm2022/lib/smart-table/smart-table-items-per-page-selector/smart-table-items-per-page-selector.component.mjs +3 -3
  219. package/esm2022/lib/smart-table/smart-table.module.mjs +4 -4
  220. package/esm2022/lib/spinner/spinner.component.mjs +3 -3
  221. package/esm2022/lib/spinner/spinner.module.mjs +4 -4
  222. package/esm2022/lib/table/table-active.directive.mjs +3 -3
  223. package/esm2022/lib/table/table-color.directive.mjs +3 -3
  224. package/esm2022/lib/table/table.directive.mjs +3 -3
  225. package/esm2022/lib/table/table.module.mjs +4 -4
  226. package/esm2022/lib/tabs/tab-content/tab-content.component.mjs +3 -3
  227. package/esm2022/lib/tabs/tab-content-ref.directive.mjs +3 -3
  228. package/esm2022/lib/tabs/tab-pane/tab-pane.component.mjs +3 -3
  229. package/esm2022/lib/tabs/tab.service.mjs +3 -3
  230. package/esm2022/lib/tabs/tabs.module.mjs +4 -4
  231. package/esm2022/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +6 -6
  232. package/esm2022/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +6 -6
  233. package/esm2022/lib/time-picker/time-picker.component.mjs +3 -3
  234. package/esm2022/lib/time-picker/time-picker.module.mjs +4 -4
  235. package/esm2022/lib/toast/toast/toast.component.mjs +3 -3
  236. package/esm2022/lib/toast/toast-body/toast-body.component.mjs +3 -3
  237. package/esm2022/lib/toast/toast-close.directive.mjs +3 -3
  238. package/esm2022/lib/toast/toast-header/toast-header.component.mjs +3 -3
  239. package/esm2022/lib/toast/toast.module.mjs +4 -4
  240. package/esm2022/lib/toast/toaster/toaster-host.directive.mjs +3 -3
  241. package/esm2022/lib/toast/toaster/toaster.component.mjs +3 -3
  242. package/esm2022/lib/toast/toaster/toaster.service.mjs +3 -3
  243. package/esm2022/lib/tooltip/tooltip/tooltip.component.mjs +3 -3
  244. package/esm2022/lib/tooltip/tooltip.directive.mjs +77 -81
  245. package/esm2022/lib/tooltip/tooltip.module.mjs +4 -4
  246. package/esm2022/lib/utilities/align.directive.mjs +3 -3
  247. package/esm2022/lib/utilities/bg-color.directive.mjs +3 -3
  248. package/esm2022/lib/utilities/border.directive.mjs +3 -3
  249. package/esm2022/lib/utilities/rounded.directive.mjs +3 -3
  250. package/esm2022/lib/utilities/shadow-on-scroll.directive.mjs +3 -3
  251. package/esm2022/lib/utilities/text-bg-color.directive.mjs +3 -3
  252. package/esm2022/lib/utilities/text-color.directive.mjs +3 -3
  253. package/esm2022/lib/utilities/utilities.module.mjs +4 -4
  254. package/esm2022/lib/widget/widget-stat-a/widget-stat-a.component.mjs +3 -3
  255. package/esm2022/lib/widget/widget-stat-b/widget-stat-b.component.mjs +3 -3
  256. package/esm2022/lib/widget/widget-stat-c/widget-stat-c.component.mjs +3 -3
  257. package/esm2022/lib/widget/widget-stat-d/widget-stat-d.component.mjs +3 -3
  258. package/esm2022/lib/widget/widget-stat-e/widget-stat-e.component.mjs +3 -3
  259. package/esm2022/lib/widget/widget-stat-f/widget-stat-f.component.mjs +3 -3
  260. package/esm2022/lib/widget/widget.module.mjs +4 -4
  261. package/esm2022/public-api.mjs +2 -1
  262. package/fesm2022/coreui-angular-pro.mjs +4226 -3808
  263. package/fesm2022/coreui-angular-pro.mjs.map +1 -1
  264. package/lib/coreui.types.d.ts +1 -1
  265. package/lib/rating/index.d.ts +1 -0
  266. package/lib/rating/public_api.d.ts +2 -0
  267. package/lib/rating/rating-item-label/rating-item-label.component.d.ts +13 -0
  268. package/lib/rating/rating.component.d.ts +131 -0
  269. package/lib/rating/rating.module.d.ts +7 -0
  270. package/lib/services/listeners.service.d.ts +2 -3
  271. package/lib/shared/element-ref.directive.d.ts +7 -0
  272. package/lib/shared/public_api.d.ts +2 -1
  273. package/lib/shared/shared.module.d.ts +5 -4
  274. package/lib/shared/template-id.directive.d.ts +1 -2
  275. package/lib/tooltip/tooltip.directive.d.ts +30 -16
  276. package/package.json +3 -3
  277. package/public-api.d.ts +1 -0
@@ -21,7 +21,7 @@ export type Alignment = 'baseline' | 'top' | 'middle' | 'bottom' | 'text-top' |
21
21
  export type BadgePositions = 'top-start' | 'top-end' | 'bottom-end' | 'bottom-start' | string | undefined;
22
22
  export type Placements = 'auto' | 'auto-start' | 'auto-end' | 'top-end' | 'top' | 'top-start' | 'bottom-end' | 'bottom' | 'bottom-start' | 'right-start' | 'right' | 'right-end' | 'left-start' | 'left' | 'left-end' | undefined;
23
23
  export type Shapes = 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string;
24
- export type Triggers = 'hover' | 'focus' | 'click';
24
+ export type Triggers = 'hover' | 'focus' | 'click' | 'focusin';
25
25
  export type Positions = 'fixed' | 'sticky';
26
26
  export type InputType = 'button' | 'color' | 'date' | 'datetime' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | 'checkbox' | 'radio';
27
27
  export interface INavLinkProps {
@@ -0,0 +1 @@
1
+ export * from './public_api';
@@ -0,0 +1,2 @@
1
+ export { RatingComponent } from './rating.component';
2
+ export { RatingModule } from './rating.module';
@@ -0,0 +1,13 @@
1
+ import { FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
2
+ import * as i0 from "@angular/core";
3
+ export declare class RatingItemLabelComponent implements FocusableOption {
4
+ #private;
5
+ readonly label: import("@angular/core").InputSignal<string>;
6
+ readonly value: import("@angular/core").InputSignal<number>;
7
+ readonly focusable: import("@angular/core").WritableSignal<boolean>;
8
+ focusableEffect: import("@angular/core").EffectRef;
9
+ focus(origin?: FocusOrigin): void;
10
+ getLabel(): string;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<RatingItemLabelComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<RatingItemLabelComponent, "c-rating-item-label", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
13
+ }
@@ -0,0 +1,131 @@
1
+ import { InputSignalWithTransform } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { TemplateIdDirective } from '../shared';
4
+ import { RatingItemLabelComponent } from './rating-item-label/rating-item-label.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare const coerceStringArray: (value: string | string[]) => string[];
7
+ export declare const coerceRatingPrecision: (value: number | string) => number;
8
+ export declare const coerceNumber: (value: number | string | null) => number;
9
+ export declare class RatingComponent implements ControlValueAccessor {
10
+ #private;
11
+ /**
12
+ * The default icon to display when the item is selected.
13
+ * @type: string | string[]
14
+ */
15
+ readonly activeIcon: InputSignalWithTransform<string[], string | string[]>;
16
+ /**
17
+ * Enables the clearing upon clicking the selected item again.
18
+ * @type: boolean
19
+ * @default: false
20
+ */
21
+ readonly allowClear: InputSignalWithTransform<boolean, unknown>;
22
+ /**
23
+ * Toggle the disabled state for the component.
24
+ * @type: boolean
25
+ * @default: false
26
+ */
27
+ readonly disabled: InputSignalWithTransform<boolean, unknown>;
28
+ /**
29
+ * If enabled, only the currently selected icon will be visibly highlighted.
30
+ * @type: boolean
31
+ * @default: false
32
+ */
33
+ readonly highlightOnlySelected: InputSignalWithTransform<boolean, unknown>;
34
+ /**
35
+ * The default icon to display when the item is not selected.
36
+ * @type: string | string[]
37
+ */
38
+ readonly icon: InputSignalWithTransform<string[], string | string[]>;
39
+ /**
40
+ * Specifies the total number of stars to be displayed in the star rating component. This property determines the scale of the rating,
41
+ * such as out of 5 stars, 10 stars, etc.
42
+ * @type: number
43
+ * @default: 5
44
+ */
45
+ readonly itemCount: InputSignalWithTransform<number, unknown>;
46
+ /**
47
+ * Minimum increment value change allowed.
48
+ * @type: number
49
+ * @default: 1
50
+ */
51
+ readonly precision: InputSignalWithTransform<number, unknown>;
52
+ /**
53
+ * Allows to click fractions
54
+ * @type: boolean
55
+ * @default: false
56
+ */
57
+ /**
58
+ * Toggle the readonly state for the component.
59
+ * @type: boolean
60
+ * @default: false
61
+ */
62
+ readonly readOnly: InputSignalWithTransform<boolean, unknown>;
63
+ /**
64
+ * Size the component small, large, or custom if you define custom icons with custom height.
65
+ * @type: 'sm' | 'lg' | 'custom' | undefined
66
+ * @default: undefined
67
+ */
68
+ readonly size: import("@angular/core").InputSignal<"sm" | "lg" | "custom" | undefined>;
69
+ /**
70
+ * Enable tooltips with default values or set specific labels for each icon.
71
+ * @type: boolean | string[] | undefined
72
+ * @default: undefined
73
+ */
74
+ readonly tooltips: import("@angular/core").InputSignal<boolean | string[] | undefined>;
75
+ /**
76
+ * The `value` attribute of component.
77
+ * @type: number | null
78
+ * @default: null
79
+ * Emits `valueChange` on value change
80
+ */
81
+ readonly value: import("@angular/core").ModelSignal<number | null>;
82
+ /**
83
+ * Event emitted on hoverValue change.
84
+ * @type: number | null
85
+ */
86
+ readonly hoverValue: import("@angular/core").WritableSignal<number | null>;
87
+ readonly hoverValueChange: import("@angular/core").OutputEmitterRef<number | null>;
88
+ readonly hoverValueEffect: import("@angular/core").EffectRef;
89
+ readonly hoveredItem: import("@angular/core").WritableSignal<number | undefined>;
90
+ readonly tooltipValue: import("@angular/core").WritableSignal<string | number | null>;
91
+ readonly ratingDisabled: import("@angular/core").Signal<boolean>;
92
+ readonly ratingDisabledEffect: import("@angular/core").EffectRef;
93
+ readonly contentTemplates: import("@angular/core").Signal<readonly TemplateIdDirective[]>;
94
+ readonly iconTemplates: import("@angular/core").Signal<any>;
95
+ readonly numberOfSubItems: import("@angular/core").Signal<number>;
96
+ readonly ratingItems: import("@angular/core").Signal<number[][]>;
97
+ readonly ratingItemLabels: import("@angular/core").Signal<readonly RatingItemLabelComponent[]>;
98
+ readonly ratingItemLabelsEffect: import("@angular/core").EffectRef;
99
+ get hostClasses(): {
100
+ [x: string]: boolean | "sm" | "lg" | "custom" | undefined;
101
+ rating: boolean;
102
+ disabled: boolean;
103
+ readonly: boolean;
104
+ };
105
+ get ariaValueNow(): number | null;
106
+ get ariaValueMax(): number;
107
+ get role(): string;
108
+ onKeydown($event: any): false | undefined;
109
+ onChange: (value: number | null) => void;
110
+ onTouched: () => void;
111
+ registerOnChange(fn: any): void;
112
+ registerOnTouched(fn: any): void;
113
+ setDisabledState(isDisabled: boolean): void;
114
+ writeValue(value: number | null): void;
115
+ isItemActive(value: number): boolean;
116
+ notLastItemStyle(value: number): {
117
+ zIndex: number;
118
+ position: string;
119
+ width: string;
120
+ overflow: string;
121
+ opacity: number;
122
+ };
123
+ handleFocusIn($event: FocusEvent, itemValue: number): void;
124
+ handleClick(value: number): void;
125
+ handleMouseEnter($event: MouseEvent, value: number): void;
126
+ getTooltipValue(index: number): string | undefined;
127
+ updateFocusableItems(): void;
128
+ readonly valueEffect: import("@angular/core").EffectRef;
129
+ static ɵfac: i0.ɵɵFactoryDeclaration<RatingComponent, never>;
130
+ static ɵcmp: i0.ɵɵComponentDeclaration<RatingComponent, "c-rating", ["cRating"], { "activeIcon": { "alias": "activeIcon"; "required": false; "isSignal": true; }; "allowClear": { "alias": "allowClear"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "highlightOnlySelected": { "alias": "highlightOnlySelected"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "itemCount": { "alias": "itemCount"; "required": false; "isSignal": true; }; "precision": { "alias": "precision"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tooltips": { "alias": "tooltips"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "hoverValueChange": "hoverValueChange"; }, ["contentTemplates"], never, true, never>;
131
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./rating.component";
3
+ export declare class RatingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<RatingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RatingModule, never, [typeof i1.RatingComponent], [typeof i1.RatingComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<RatingModule>;
7
+ }
@@ -9,10 +9,9 @@ export interface IListenersConfig {
9
9
  callbackToggle?: () => void;
10
10
  }
11
11
  export declare class ListenersService {
12
- private renderer;
12
+ readonly renderer: Renderer2;
13
13
  private listeners;
14
- constructor(renderer: Renderer2);
15
- setListeners({ hostElement, trigger, callbackOn, callbackOff, callbackToggle }: IListenersConfig): void;
14
+ setListeners({ hostElement, trigger, callbackOn, callbackOff, callbackToggle, }: IListenersConfig): void;
16
15
  clearListeners(): void;
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ListenersService, never>;
18
17
  static ɵprov: i0.ɵɵInjectableDeclaration<ListenersService>;
@@ -0,0 +1,7 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ElementRefDirective {
4
+ readonly elementRef: ElementRef<any>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementRefDirective, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ElementRefDirective, "[cElementRef]", ["cElementRef"], {}, {}, never, never, true, never>;
7
+ }
@@ -1,4 +1,5 @@
1
- export { SharedModule } from './shared.module';
1
+ export { ElementRefDirective } from './element-ref.directive';
2
2
  export { HtmlAttributesDirective } from './html-attr.directive';
3
3
  export { TemplateIdDirective } from './template-id.directive';
4
4
  export { ThemeDirective } from './theme.directive';
5
+ export { SharedModule } from './shared.module';
@@ -1,11 +1,12 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- import * as i1 from "./html-attr.directive";
4
- import * as i2 from "./template-id.directive";
5
- import * as i3 from "./theme.directive";
3
+ import * as i1 from "./element-ref.directive";
4
+ import * as i2 from "./html-attr.directive";
5
+ import * as i3 from "./template-id.directive";
6
+ import * as i4 from "./theme.directive";
6
7
  export declare class SharedModule {
7
8
  static forRoot(): ModuleWithProviders<SharedModule>;
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.HtmlAttributesDirective, typeof i2.TemplateIdDirective, typeof i3.ThemeDirective], [typeof i1.HtmlAttributesDirective, typeof i2.TemplateIdDirective, typeof i3.ThemeDirective]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.ElementRefDirective, typeof i2.HtmlAttributesDirective, typeof i3.TemplateIdDirective, typeof i4.ThemeDirective], [typeof i1.ElementRefDirective, typeof i2.HtmlAttributesDirective, typeof i3.TemplateIdDirective, typeof i4.ThemeDirective]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
11
12
  }
@@ -1,9 +1,8 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TemplateIdDirective {
4
- templateRef: TemplateRef<any>;
4
+ readonly templateRef: TemplateRef<any>;
5
5
  id: string;
6
- constructor(templateRef: TemplateRef<any>);
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TemplateIdDirective, never>;
8
7
  static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateIdDirective, "[cTemplateId]", never, { "id": { "alias": "cTemplateId"; "required": false; }; }, {}, never, never, true, never>;
9
8
  }
@@ -1,10 +1,10 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { Options } from '@popperjs/core';
3
3
  import { Triggers } from '../coreui.types';
4
- import { ListenersService } from '../services/listeners.service';
5
- import { IntersectionService } from '../services';
4
+ import { IntersectionService, ListenersService } from '../services';
5
+ import { ElementRefDirective } from '../shared';
6
6
  import * as i0 from "@angular/core";
7
- export declare class TooltipDirective implements OnChanges, OnDestroy, OnInit, AfterViewInit {
7
+ export declare class TooltipDirective implements OnDestroy, OnInit, AfterViewInit {
8
8
  #private;
9
9
  private document;
10
10
  private renderer;
@@ -17,28 +17,44 @@ export declare class TooltipDirective implements OnChanges, OnDestroy, OnInit, A
17
17
  * Content of tooltip
18
18
  * @type {string | TemplateRef}
19
19
  */
20
- readonly content: import("@angular/core").InputSignal<string | TemplateRef<any>>;
20
+ readonly content: import("@angular/core").InputSignal<string | TemplateRef<any> | undefined>;
21
+ contentEffect: import("@angular/core").EffectRef;
21
22
  /**
22
23
  * Optional popper Options object, takes precedence over cPopoverPlacement prop
23
24
  * @type Partial<Options>
24
25
  */
25
- set popperOptions(value: Partial<Options>);
26
- get popperOptions(): Partial<Options>;
26
+ readonly popperOptions: import("@angular/core").InputSignal<Partial<Options>>;
27
+ popperOptionsEffect: import("@angular/core").EffectRef;
28
+ popperOptionsComputed: import("@angular/core").Signal<{
29
+ placement: import("@popperjs/core").Placement;
30
+ modifiers?: Partial<import("@popperjs/core").Modifier<any, any>>[] | undefined;
31
+ strategy?: import("@popperjs/core").PositioningStrategy | undefined;
32
+ onFirstUpdate?: ((arg0: Partial<import("@popperjs/core").State>) => void) | undefined;
33
+ }>;
27
34
  /**
28
35
  * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.
36
+ * @type: 'top' | 'bottom' | 'left' | 'right'
37
+ * @default: 'top'
38
+ */
39
+ readonly placement: import("@angular/core").InputSignal<"top" | "bottom" | "right" | "left">;
40
+ /**
41
+ * ElementRefDirective for positioning the tooltip on reference element
42
+ * @type: ElementRefDirective
43
+ * @default: undefined
29
44
  */
30
- placement: 'top' | 'bottom' | 'left' | 'right';
45
+ readonly reference: import("@angular/core").InputSignal<ElementRefDirective | undefined>;
46
+ readonly referenceRef: import("@angular/core").Signal<ElementRef<any>>;
31
47
  /**
32
48
  * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
33
- * @type {'hover' | 'focus' | 'click'}
49
+ * @type: 'Triggers | Triggers[]
34
50
  */
35
- trigger: Triggers | Triggers[];
51
+ readonly trigger: import("@angular/core").InputSignal<Triggers | Triggers[]>;
36
52
  /**
37
53
  * Toggle the visibility of tooltip component.
54
+ * @type boolean
38
55
  */
39
- set visible(value: boolean);
40
- get visible(): boolean;
41
- private _visible;
56
+ readonly visible: import("@angular/core").ModelSignal<boolean>;
57
+ visibleEffect: import("@angular/core").EffectRef;
42
58
  get ariaDescribedBy(): string | null;
43
59
  private tooltip;
44
60
  private tooltipId;
@@ -46,9 +62,7 @@ export declare class TooltipDirective implements OnChanges, OnDestroy, OnInit, A
46
62
  private popperInstance;
47
63
  private _popperOptions;
48
64
  constructor(document: Document, renderer: Renderer2, hostElement: ElementRef, viewContainerRef: ViewContainerRef, listenersService: ListenersService, changeDetectorRef: ChangeDetectorRef, intersectionService: IntersectionService);
49
- contentEffect: import("@angular/core").EffectRef;
50
65
  ngAfterViewInit(): void;
51
- ngOnChanges(changes: SimpleChanges): void;
52
66
  ngOnDestroy(): void;
53
67
  ngOnInit(): void;
54
68
  private setListeners;
@@ -60,5 +74,5 @@ export declare class TooltipDirective implements OnChanges, OnDestroy, OnInit, A
60
74
  private addTooltipElement;
61
75
  private removeTooltipElement;
62
76
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
63
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[cTooltip]", ["cTooltip"], { "content": { "alias": "cTooltip"; "required": false; "isSignal": true; }; "popperOptions": { "alias": "cTooltipOptions"; "required": false; }; "placement": { "alias": "cTooltipPlacement"; "required": false; }; "trigger": { "alias": "cTooltipTrigger"; "required": false; }; "visible": { "alias": "cTooltipVisible"; "required": false; }; }, {}, never, never, true, never>;
77
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[cTooltip]", ["cTooltip"], { "content": { "alias": "cTooltip"; "required": false; "isSignal": true; }; "popperOptions": { "alias": "cTooltipOptions"; "required": false; "isSignal": true; }; "placement": { "alias": "cTooltipPlacement"; "required": false; "isSignal": true; }; "reference": { "alias": "cTooltipRef"; "required": false; "isSignal": true; }; "trigger": { "alias": "cTooltipTrigger"; "required": false; "isSignal": true; }; "visible": { "alias": "cTooltipVisible"; "required": false; "isSignal": true; }; }, { "visible": "cTooltipVisibleChange"; }, never, never, true, never>;
64
78
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "5.0.4",
3
+ "version": "5.1.0",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
5
  "copyright": "Copyright 2024 creativeLabs Łukasz Holeczek",
6
6
  "homepage": "https://coreui.io/angular",
@@ -28,8 +28,8 @@
28
28
  "@angular/core": "^17.3.0",
29
29
  "@angular/forms": "^17.3.0",
30
30
  "@angular/router": "^17.3.0",
31
- "@coreui/coreui-pro": "~5.0.0",
32
- "@coreui/icons-angular": "~5.0.0",
31
+ "@coreui/coreui-pro": "~5.1.0",
32
+ "@coreui/icons-angular": "~5.1.0",
33
33
  "rxjs": "^7.8.1"
34
34
  },
35
35
  "repository": {
package/public-api.d.ts CHANGED
@@ -33,6 +33,7 @@ export * from './lib/pagination';
33
33
  export * from './lib/placeholder';
34
34
  export * from './lib/popover';
35
35
  export * from './lib/progress';
36
+ export * from './lib/rating';
36
37
  export * from './lib/services';
37
38
  export * from './lib/sidebar';
38
39
  export * from './lib/smart-pagination';