@coreui/angular-pro 4.7.11 → 5.0.0-alpha.10

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 (332) hide show
  1. package/LICENSE +2 -3
  2. package/README.md +2 -2
  3. package/esm2022/lib/accordion/accordion/accordion.component.mjs +3 -3
  4. package/esm2022/lib/accordion/accordion-button/accordion-button.directive.mjs +3 -3
  5. package/esm2022/lib/accordion/accordion-item/accordion-item.component.mjs +3 -3
  6. package/esm2022/lib/accordion/accordion.module.mjs +4 -4
  7. package/esm2022/lib/accordion/accordion.service.mjs +3 -3
  8. package/esm2022/lib/alert/alert-heading.directive.mjs +3 -3
  9. package/esm2022/lib/alert/alert-link.directive.mjs +3 -3
  10. package/esm2022/lib/alert/alert.component.mjs +3 -3
  11. package/esm2022/lib/alert/alert.module.mjs +4 -4
  12. package/esm2022/lib/avatar/avatar.component.mjs +12 -10
  13. package/esm2022/lib/avatar/avatar.module.mjs +4 -4
  14. package/esm2022/lib/backdrop/backdrop.service.mjs +4 -5
  15. package/esm2022/lib/badge/badge.component.mjs +10 -6
  16. package/esm2022/lib/badge/badge.module.mjs +4 -4
  17. package/esm2022/lib/breadcrumb/breadcrumb/breadcrumb.component.mjs +3 -3
  18. package/esm2022/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +3 -3
  19. package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +3 -3
  20. package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +9 -9
  21. package/esm2022/lib/breadcrumb/breadcrumb.module.mjs +4 -4
  22. package/esm2022/lib/button/button-close.directive.mjs +11 -5
  23. package/esm2022/lib/button/button.directive.mjs +3 -3
  24. package/esm2022/lib/button/button.module.mjs +4 -4
  25. package/esm2022/lib/button-group/button-group/button-group.component.mjs +3 -3
  26. package/esm2022/lib/button-group/button-group.module.mjs +4 -4
  27. package/esm2022/lib/button-group/button-toolbar/button-toolbar.component.mjs +3 -3
  28. package/esm2022/lib/calendar/calendar/calendar-class-view.pipe.mjs +3 -3
  29. package/esm2022/lib/calendar/calendar/calendar.component.mjs +150 -71
  30. package/esm2022/lib/calendar/calendar-month/calendar-class-day.pipe.mjs +5 -4
  31. package/esm2022/lib/calendar/calendar-month/calendar-class-month.pipe.mjs +5 -5
  32. package/esm2022/lib/calendar/calendar-month/calendar-class-row.pipe.mjs +26 -0
  33. package/esm2022/lib/calendar/calendar-month/calendar-class-year.pipe.mjs +3 -3
  34. package/esm2022/lib/calendar/calendar-month/calendar-day-title.pipe.mjs +3 -3
  35. package/esm2022/lib/calendar/calendar-month/calendar-day.directive.mjs +102 -59
  36. package/esm2022/lib/calendar/calendar-month/calendar-day.pipe.mjs +3 -3
  37. package/esm2022/lib/calendar/calendar-month/calendar-month.component.mjs +255 -92
  38. package/esm2022/lib/calendar/calendar-month/calendar-row.directive.mjs +117 -0
  39. package/esm2022/lib/calendar/calendar-month/calendar-weekday.pipe.mjs +3 -3
  40. package/esm2022/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +28 -24
  41. package/esm2022/lib/calendar/calendar.module.mjs +10 -7
  42. package/esm2022/lib/calendar/calendar.service.mjs +8 -5
  43. package/esm2022/lib/calendar/calendar.utils.mjs +100 -17
  44. package/esm2022/lib/callout/callout.component.mjs +3 -3
  45. package/esm2022/lib/callout/callout.module.mjs +4 -4
  46. package/esm2022/lib/card/card-body.component.mjs +3 -3
  47. package/esm2022/lib/card/card-footer.component.mjs +3 -3
  48. package/esm2022/lib/card/card-group.component.mjs +3 -3
  49. package/esm2022/lib/card/card-header-actions.component.mjs +3 -3
  50. package/esm2022/lib/card/card-header.component.mjs +3 -3
  51. package/esm2022/lib/card/card-img-overlay/card-img-overlay.component.mjs +3 -3
  52. package/esm2022/lib/card/card-img.directive.mjs +3 -3
  53. package/esm2022/lib/card/card-link.directive.mjs +3 -3
  54. package/esm2022/lib/card/card-subtitle.directive.mjs +3 -3
  55. package/esm2022/lib/card/card-text.directive.mjs +3 -3
  56. package/esm2022/lib/card/card-title.directive.mjs +3 -3
  57. package/esm2022/lib/card/card.component.mjs +12 -8
  58. package/esm2022/lib/card/card.module.mjs +4 -4
  59. package/esm2022/lib/carousel/carousel/carousel.component.mjs +19 -18
  60. package/esm2022/lib/carousel/carousel-caption/carousel-caption.component.mjs +3 -3
  61. package/esm2022/lib/carousel/carousel-control/carousel-control.component.mjs +3 -3
  62. package/esm2022/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +3 -3
  63. package/esm2022/lib/carousel/carousel-inner/carousel-inner.component.mjs +3 -3
  64. package/esm2022/lib/carousel/carousel-item/carousel-item.component.mjs +3 -3
  65. package/esm2022/lib/carousel/carousel-state.mjs +3 -3
  66. package/esm2022/lib/carousel/carousel.config.mjs +3 -3
  67. package/esm2022/lib/carousel/carousel.module.mjs +4 -4
  68. package/esm2022/lib/carousel/carousel.service.mjs +3 -3
  69. package/esm2022/lib/collapse/collapse.directive.mjs +3 -3
  70. package/esm2022/lib/collapse/collapse.module.mjs +4 -4
  71. package/esm2022/lib/coreui.types.mjs +1 -1
  72. package/esm2022/lib/date-picker/date-picker.component.mjs +8 -12
  73. package/esm2022/lib/date-picker/date-picker.module.mjs +4 -4
  74. package/esm2022/lib/date-range-picker/date-range-picker/custom-range-key.pipe.mjs +3 -3
  75. package/esm2022/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +168 -163
  76. package/esm2022/lib/date-range-picker/date-range-picker.module.mjs +4 -4
  77. package/esm2022/lib/dropdown/dropdown/dropdown.component.mjs +10 -23
  78. package/esm2022/lib/dropdown/dropdown-close/dropdown-close.directive.mjs +3 -3
  79. package/esm2022/lib/dropdown/dropdown-divider/dropdown-divider.directive.mjs +3 -3
  80. package/esm2022/lib/dropdown/dropdown-header/dropdown-header.directive.mjs +3 -3
  81. package/esm2022/lib/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +3 -3
  82. package/esm2022/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +13 -5
  83. package/esm2022/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +77 -41
  84. package/esm2022/lib/dropdown/dropdown.module.mjs +4 -4
  85. package/esm2022/lib/dropdown/dropdown.service.mjs +5 -5
  86. package/esm2022/lib/element-cover/element-cover.component.mjs +3 -3
  87. package/esm2022/lib/element-cover/element-cover.module.mjs +4 -4
  88. package/esm2022/lib/footer/footer.component.mjs +3 -3
  89. package/esm2022/lib/footer/footer.module.mjs +4 -4
  90. package/esm2022/lib/form/form/form.directive.mjs +3 -3
  91. package/esm2022/lib/form/form-check/form-check-input.directive.mjs +3 -3
  92. package/esm2022/lib/form/form-check/form-check-label.directive.mjs +3 -3
  93. package/esm2022/lib/form/form-check/form-check.component.mjs +3 -3
  94. package/esm2022/lib/form/form-control/form-control.directive.mjs +3 -3
  95. package/esm2022/lib/form/form-feedback/form-feedback.component.mjs +3 -3
  96. package/esm2022/lib/form/form-floating/form-floating.directive.mjs +3 -3
  97. package/esm2022/lib/form/form-label/form-label.directive.mjs +3 -3
  98. package/esm2022/lib/form/form-select/form-select.directive.mjs +3 -3
  99. package/esm2022/lib/form/form-text/form-text.directive.mjs +3 -3
  100. package/esm2022/lib/form/form.module.mjs +4 -4
  101. package/esm2022/lib/form/input-group/input-group.component.mjs +3 -3
  102. package/esm2022/lib/form/input-group-text/input-group-text.directive.mjs +3 -3
  103. package/esm2022/lib/grid/col.component.mjs +3 -3
  104. package/esm2022/lib/grid/col.directive.mjs +3 -3
  105. package/esm2022/lib/grid/container.component.mjs +3 -3
  106. package/esm2022/lib/grid/grid.module.mjs +4 -4
  107. package/esm2022/lib/grid/gutter.directive.mjs +3 -3
  108. package/esm2022/lib/grid/row.component.mjs +3 -3
  109. package/esm2022/lib/grid/row.directive.mjs +7 -7
  110. package/esm2022/lib/header/header/header.component.mjs +6 -6
  111. package/esm2022/lib/header/header-brand/header-brand.component.mjs +3 -3
  112. package/esm2022/lib/header/header-divider/header-divider.component.mjs +3 -3
  113. package/esm2022/lib/header/header-nav/header-nav.component.mjs +3 -3
  114. package/esm2022/lib/header/header-text/header-text.component.mjs +3 -3
  115. package/esm2022/lib/header/header-toggler/header-toggler.directive.mjs +3 -3
  116. package/esm2022/lib/header/header.module.mjs +4 -4
  117. package/esm2022/lib/image/img.directive.mjs +3 -3
  118. package/esm2022/lib/image/img.module.mjs +4 -4
  119. package/esm2022/lib/list-group/list-group-item.directive.mjs +3 -3
  120. package/esm2022/lib/list-group/list-group.directive.mjs +3 -3
  121. package/esm2022/lib/list-group/list-group.module.mjs +4 -4
  122. package/esm2022/lib/loading-button/loading-button.component.mjs +3 -3
  123. package/esm2022/lib/loading-button/loading-button.module.mjs +4 -4
  124. package/esm2022/lib/modal/modal/modal.component.mjs +4 -4
  125. package/esm2022/lib/modal/modal-body/modal-body.component.mjs +3 -3
  126. package/esm2022/lib/modal/modal-content/modal-content.component.mjs +3 -3
  127. package/esm2022/lib/modal/modal-dialog/modal-dialog.component.mjs +3 -3
  128. package/esm2022/lib/modal/modal-dismiss/modal-toggle.directive.mjs +3 -3
  129. package/esm2022/lib/modal/modal-footer/modal-footer.component.mjs +3 -3
  130. package/esm2022/lib/modal/modal-header/modal-header.component.mjs +3 -3
  131. package/esm2022/lib/modal/modal-title/modal-title.directive.mjs +3 -3
  132. package/esm2022/lib/modal/modal.module.mjs +4 -4
  133. package/esm2022/lib/modal/modal.service.mjs +3 -3
  134. package/esm2022/lib/multi-select/multi-select/multi-select-search.directive.mjs +3 -3
  135. package/esm2022/lib/multi-select/multi-select/multi-select.component.mjs +33 -17
  136. package/esm2022/lib/multi-select/multi-select-native-select/multi-select-native-select.component.mjs +3 -3
  137. package/esm2022/lib/multi-select/multi-select-optgroup/multi-select-optgroup-label.component.mjs +3 -3
  138. package/esm2022/lib/multi-select/multi-select-optgroup/multi-select-optgroup.component.mjs +5 -5
  139. package/esm2022/lib/multi-select/multi-select-option/multi-select-option.component.mjs +6 -6
  140. package/esm2022/lib/multi-select/multi-select-tag/multi-select-tag.component.mjs +5 -5
  141. package/esm2022/lib/multi-select/multi-select.module.mjs +4 -4
  142. package/esm2022/lib/multi-select/multi-select.service.mjs +3 -3
  143. package/esm2022/lib/nav/nav-item.component.mjs +3 -3
  144. package/esm2022/lib/nav/nav-link.directive.mjs +3 -3
  145. package/esm2022/lib/nav/nav.component.mjs +5 -5
  146. package/esm2022/lib/nav/nav.module.mjs +4 -4
  147. package/esm2022/lib/navbar/navbar-brand/navbar-brand.directive.mjs +3 -3
  148. package/esm2022/lib/navbar/navbar-nav/navbar-nav.component.mjs +3 -3
  149. package/esm2022/lib/navbar/navbar-text/navbar-text.component.mjs +3 -3
  150. package/esm2022/lib/navbar/navbar-toggler/navbar-toggler.directive.mjs +3 -3
  151. package/esm2022/lib/navbar/navbar.component.mjs +9 -13
  152. package/esm2022/lib/navbar/navbar.module.mjs +4 -4
  153. package/esm2022/lib/offcanvas/offcanvas/offcanvas.component.mjs +10 -6
  154. package/esm2022/lib/offcanvas/offcanvas-body/offcanvas-body.component.mjs +3 -3
  155. package/esm2022/lib/offcanvas/offcanvas-header/offcanvas-header.component.mjs +3 -3
  156. package/esm2022/lib/offcanvas/offcanvas-title/offcanvas-title.directive.mjs +3 -3
  157. package/esm2022/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.mjs +3 -3
  158. package/esm2022/lib/offcanvas/offcanvas.module.mjs +4 -4
  159. package/esm2022/lib/offcanvas/offcanvas.service.mjs +3 -3
  160. package/esm2022/lib/pagination/page-item/page-item.component.mjs +3 -3
  161. package/esm2022/lib/pagination/page-item/page-item.directive.mjs +3 -3
  162. package/esm2022/lib/pagination/page-link/page-link.directive.mjs +3 -3
  163. package/esm2022/lib/pagination/pagination/pagination.component.mjs +3 -3
  164. package/esm2022/lib/pagination/pagination.module.mjs +4 -4
  165. package/esm2022/lib/placeholder/placeholder-animation.directive.mjs +3 -3
  166. package/esm2022/lib/placeholder/placeholder.directive.mjs +3 -3
  167. package/esm2022/lib/placeholder/placeholder.module.mjs +4 -4
  168. package/esm2022/lib/popover/popover/popover.component.mjs +3 -3
  169. package/esm2022/lib/popover/popover.directive.mjs +5 -5
  170. package/esm2022/lib/popover/popover.module.mjs +4 -4
  171. package/esm2022/lib/progress/progress-bar.component.mjs +22 -88
  172. package/esm2022/lib/progress/progress-bar.directive.mjs +112 -0
  173. package/esm2022/lib/progress/progress-stacked.component.mjs +19 -0
  174. package/esm2022/lib/progress/progress.component.mjs +27 -12
  175. package/esm2022/lib/progress/progress.module.mjs +19 -9
  176. package/esm2022/lib/progress/progress.type.mjs +2 -0
  177. package/esm2022/lib/progress/public_api.mjs +3 -1
  178. package/esm2022/lib/services/class-toggle.service.mjs +3 -3
  179. package/esm2022/lib/services/color-mode.service.mjs +79 -0
  180. package/esm2022/lib/services/in-memory-storage.service.mjs +33 -0
  181. package/esm2022/lib/services/intersection.service.mjs +3 -3
  182. package/esm2022/lib/services/listeners.service.mjs +3 -3
  183. package/esm2022/lib/services/local-storage.service.mjs +47 -0
  184. package/esm2022/lib/services/public_api.mjs +4 -1
  185. package/esm2022/lib/shared/html-attr.directive.mjs +3 -3
  186. package/esm2022/lib/shared/public_api.mjs +2 -1
  187. package/esm2022/lib/shared/shared.module.mjs +8 -15
  188. package/esm2022/lib/shared/template-id.directive.mjs +3 -3
  189. package/esm2022/lib/shared/theme.directive.mjs +44 -0
  190. package/esm2022/lib/sidebar/public_api.mjs +2 -2
  191. package/esm2022/lib/sidebar/sidebar/sidebar.component.mjs +6 -5
  192. package/esm2022/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.mjs +3 -3
  193. package/esm2022/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +3 -3
  194. package/esm2022/lib/sidebar/sidebar-footer/sidebar-footer.component.mjs +3 -3
  195. package/esm2022/lib/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
  196. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.mjs +3 -3
  197. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.mjs +3 -3
  198. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-group.service.mjs +3 -3
  199. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.mjs +3 -3
  200. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.mjs +3 -3
  201. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +3 -3
  202. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +8 -8
  203. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.mjs +3 -3
  204. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-title.component.mjs +3 -3
  205. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +23 -19
  206. package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav.service.mjs +6 -6
  207. package/esm2022/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.mjs +3 -3
  208. package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.directive.mjs +39 -0
  209. package/esm2022/lib/sidebar/sidebar.module.mjs +10 -10
  210. package/esm2022/lib/sidebar/sidebar.service.mjs +3 -3
  211. package/esm2022/lib/smart-pagination/smart-pagination.component.mjs +3 -3
  212. package/esm2022/lib/smart-pagination/smart-pagination.module.mjs +4 -4
  213. package/esm2022/lib/smart-table/smart-table/smart-table.component.mjs +90 -125
  214. package/esm2022/lib/smart-table/smart-table-column-filter/smart-table-column-filter.component.mjs +3 -3
  215. package/esm2022/lib/smart-table/smart-table-filter/filter-input.directive.mjs +3 -3
  216. package/esm2022/lib/smart-table/smart-table-filter/smart-table-filter.component.mjs +3 -3
  217. package/esm2022/lib/smart-table/smart-table-head/smart-table-column-label.pipe.mjs +6 -14
  218. package/esm2022/lib/smart-table/smart-table-head/smart-table-head.component.mjs +48 -37
  219. package/esm2022/lib/smart-table/smart-table-items-per-page-selector/smart-table-items-per-page-selector.component.mjs +3 -3
  220. package/esm2022/lib/smart-table/smart-table.module.mjs +4 -4
  221. package/esm2022/lib/smart-table/smart-table.type.mjs +1 -1
  222. package/esm2022/lib/smart-table/smart-table.utils.mjs +181 -0
  223. package/esm2022/lib/spinner/spinner.component.mjs +3 -3
  224. package/esm2022/lib/spinner/spinner.module.mjs +4 -4
  225. package/esm2022/lib/table/table-active.directive.mjs +3 -3
  226. package/esm2022/lib/table/table-color.directive.mjs +3 -3
  227. package/esm2022/lib/table/table.directive.mjs +3 -3
  228. package/esm2022/lib/table/table.module.mjs +4 -4
  229. package/esm2022/lib/table/table.type.mjs +1 -1
  230. package/esm2022/lib/tabs/tab-content/tab-content.component.mjs +3 -3
  231. package/esm2022/lib/tabs/tab-content-ref.directive.mjs +3 -3
  232. package/esm2022/lib/tabs/tab-pane/tab-pane.component.mjs +5 -7
  233. package/esm2022/lib/tabs/tab.service.mjs +3 -3
  234. package/esm2022/lib/tabs/tabs.module.mjs +4 -4
  235. package/esm2022/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +16 -10
  236. package/esm2022/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +22 -15
  237. package/esm2022/lib/time-picker/time-picker.component.mjs +89 -115
  238. package/esm2022/lib/time-picker/time-picker.module.mjs +4 -4
  239. package/esm2022/lib/toast/toast/toast.component.mjs +3 -3
  240. package/esm2022/lib/toast/toast-body/toast-body.component.mjs +3 -3
  241. package/esm2022/lib/toast/toast-close.directive.mjs +3 -3
  242. package/esm2022/lib/toast/toast-header/toast-header.component.mjs +3 -3
  243. package/esm2022/lib/toast/toast.module.mjs +4 -4
  244. package/esm2022/lib/toast/toaster/toaster-host.directive.mjs +3 -3
  245. package/esm2022/lib/toast/toaster/toaster.component.mjs +3 -3
  246. package/esm2022/lib/toast/toaster/toaster.service.mjs +3 -3
  247. package/esm2022/lib/tooltip/tooltip/tooltip.component.mjs +3 -3
  248. package/esm2022/lib/tooltip/tooltip.directive.mjs +5 -5
  249. package/esm2022/lib/tooltip/tooltip.module.mjs +4 -4
  250. package/esm2022/lib/utilities/align.directive.mjs +3 -3
  251. package/esm2022/lib/utilities/bg-color.directive.mjs +3 -3
  252. package/esm2022/lib/utilities/border.directive.mjs +3 -3
  253. package/esm2022/lib/utilities/public_api.mjs +4 -3
  254. package/esm2022/lib/utilities/rounded.directive.mjs +3 -3
  255. package/esm2022/lib/utilities/shadow-on-scroll.directive.mjs +48 -0
  256. package/esm2022/lib/utilities/text-color.directive.mjs +3 -3
  257. package/esm2022/lib/utilities/utilities.module.mjs +8 -32
  258. package/esm2022/lib/widget/widget-stat-a/widget-stat-a.component.mjs +5 -5
  259. package/esm2022/lib/widget/widget-stat-b/widget-stat-b.component.mjs +6 -6
  260. package/esm2022/lib/widget/widget-stat-c/widget-stat-c.component.mjs +17 -19
  261. package/esm2022/lib/widget/widget-stat-d/widget-stat-d.component.mjs +5 -5
  262. package/esm2022/lib/widget/widget-stat-e/widget-stat-e.component.mjs +5 -5
  263. package/esm2022/lib/widget/widget-stat-f/widget-stat-f.component.mjs +5 -5
  264. package/esm2022/lib/widget/widget.module.mjs +4 -4
  265. package/fesm2022/coreui-angular-pro.mjs +3149 -2179
  266. package/fesm2022/coreui-angular-pro.mjs.map +1 -1
  267. package/lib/avatar/avatar.component.d.ts +4 -3
  268. package/lib/badge/badge.component.d.ts +5 -3
  269. package/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.d.ts +1 -1
  270. package/lib/button/button-close.directive.d.ts +3 -1
  271. package/lib/calendar/calendar/calendar.component.d.ts +46 -19
  272. package/lib/calendar/calendar-month/calendar-class-row.pipe.d.ts +23 -0
  273. package/lib/calendar/calendar-month/calendar-day.directive.d.ts +16 -26
  274. package/lib/calendar/calendar-month/calendar-month.component.d.ts +45 -27
  275. package/lib/calendar/calendar-month/calendar-row.directive.d.ts +44 -0
  276. package/lib/calendar/calendar-navigation/calendar-navigation.component.d.ts +7 -6
  277. package/lib/calendar/calendar.module.d.ts +2 -1
  278. package/lib/calendar/calendar.service.d.ts +5 -1
  279. package/lib/calendar/calendar.utils.d.ts +25 -6
  280. package/lib/card/card.component.d.ts +3 -1
  281. package/lib/carousel/carousel/carousel.component.d.ts +4 -8
  282. package/lib/coreui.types.d.ts +4 -1
  283. package/lib/date-picker/date-picker.component.d.ts +2 -2
  284. package/lib/date-range-picker/date-range-picker/date-range-picker.component.d.ts +75 -41
  285. package/lib/dropdown/dropdown/dropdown.component.d.ts +2 -9
  286. package/lib/dropdown/dropdown-item/dropdown-item.directive.d.ts +5 -1
  287. package/lib/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +13 -16
  288. package/lib/dropdown/dropdown.service.d.ts +0 -1
  289. package/lib/multi-select/multi-select/multi-select.component.d.ts +2 -4
  290. package/lib/nav/nav.component.d.ts +2 -2
  291. package/lib/navbar/navbar.component.d.ts +2 -5
  292. package/lib/offcanvas/offcanvas/offcanvas.component.d.ts +2 -1
  293. package/lib/progress/progress-bar.component.d.ts +5 -46
  294. package/lib/progress/progress-bar.directive.d.ts +58 -0
  295. package/lib/progress/progress-stacked.component.d.ts +7 -0
  296. package/lib/progress/progress.component.d.ts +15 -6
  297. package/lib/progress/progress.module.d.ts +3 -1
  298. package/lib/progress/progress.type.d.ts +18 -0
  299. package/lib/progress/public_api.d.ts +3 -1
  300. package/lib/services/color-mode.service.d.ts +17 -0
  301. package/lib/services/in-memory-storage.service.d.ts +13 -0
  302. package/lib/services/local-storage.service.d.ts +18 -0
  303. package/lib/services/public_api.d.ts +3 -0
  304. package/lib/shared/public_api.d.ts +1 -0
  305. package/lib/shared/shared.module.d.ts +2 -1
  306. package/lib/shared/theme.directive.d.ts +19 -0
  307. package/lib/sidebar/public_api.d.ts +1 -1
  308. package/lib/sidebar/sidebar-nav/sidebar-nav.component.d.ts +5 -2
  309. package/lib/sidebar/sidebar-toggler/sidebar-toggler.directive.d.ts +9 -0
  310. package/lib/sidebar/sidebar.module.d.ts +2 -2
  311. package/lib/smart-table/smart-table/smart-table.component.d.ts +36 -51
  312. package/lib/smart-table/smart-table-head/smart-table-column-label.pipe.d.ts +0 -1
  313. package/lib/smart-table/smart-table-head/smart-table-head.component.d.ts +21 -11
  314. package/lib/smart-table/smart-table.type.d.ts +51 -34
  315. package/lib/smart-table/smart-table.utils.d.ts +29 -0
  316. package/lib/table/table.type.d.ts +5 -6
  317. package/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.d.ts +2 -1
  318. package/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.d.ts +3 -2
  319. package/lib/time-picker/time-picker.component.d.ts +17 -28
  320. package/lib/utilities/public_api.d.ts +3 -2
  321. package/lib/utilities/shadow-on-scroll.directive.d.ts +8 -0
  322. package/lib/utilities/utilities.module.d.ts +7 -6
  323. package/lib/widget/widget-stat-a/widget-stat-a.component.d.ts +1 -1
  324. package/lib/widget/widget-stat-b/widget-stat-b.component.d.ts +3 -3
  325. package/lib/widget/widget-stat-c/widget-stat-c.component.d.ts +15 -13
  326. package/lib/widget/widget-stat-e/widget-stat-e.component.d.ts +1 -1
  327. package/lib/widget/widget-stat-f/widget-stat-f.component.d.ts +1 -1
  328. package/package.json +4 -3
  329. package/esm2022/lib/progress/progress-bar.mjs +0 -2
  330. package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +0 -27
  331. package/lib/progress/progress-bar.d.ts +0 -10
  332. package/lib/sidebar/sidebar-toggler/sidebar-toggler.component.d.ts +0 -7
@@ -1,4 +1,4 @@
1
- import { Colors } from '../coreui.types';
1
+ import { Colors, NgCssClass } from '../coreui.types';
2
2
  import { TemplateRef } from '@angular/core';
3
3
  import { ITable, ITableElementProps, ITableRowCellProps } from '../table/table.type';
4
4
  export interface ISmartTable {
@@ -42,7 +42,7 @@ export interface ISmartTable {
42
42
  * Object: item is object with following keys available as column configuration:
43
43
  * - key (required)(String) - define column name equal to item key.
44
44
  * - label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
45
- * - _classes (String/Array/Object) - adds classes to all cels in column
45
+ * - _classes (String/Array/Object) - adds classes to all cells in a column
46
46
  * - _style (String/Array/Object) - adds styles to the column header (useful for defining widths)
47
47
  * - sorter (Boolean) - disables sorting of the column when set to false
48
48
  * - filter (Boolean) - removes filter from column when set to false.
@@ -64,7 +64,7 @@ export interface ISmartTable {
64
64
  */
65
65
  footer?: boolean;
66
66
  /**
67
- * Set to false to remove table header.
67
+ * Set false to remove table header.
68
68
  * @default true
69
69
  */
70
70
  header?: boolean;
@@ -72,7 +72,7 @@ export interface ISmartTable {
72
72
  * Array of objects, where each object represents one item - row in table. Additionally, you can add style classes to each row by passing them by '_classes' key and to single cell by '_cellClasses'.
73
73
  *
74
74
  * Example item:
75
- * { name: 'John' , age: 12, _props: { color: 'success' }, _cellProps: { age: { className: 'fw-bold'}}}
75
+ * { name: 'John' , age: 12, _props: { color: 'success' }, _cellProps: { age: { class: 'fw-bold'}}}
76
76
  * For column generation description see columns prop.
77
77
  * @type Array<IItem>
78
78
  */
@@ -87,21 +87,17 @@ export interface ISmartTable {
87
87
  * Label for items per page selector.
88
88
  * @default 'Items per page:'
89
89
  * @type string
90
- * todo or remove?
91
90
  */
92
91
  itemsPerPageLabel?: string;
93
92
  /**
94
93
  * Items per page selector options.
95
94
  * @default [5, 10, 20, 50]
96
95
  * @type number[]
97
- * todo or remove?
98
96
  */
99
97
  itemsPerPageOptions?: number[];
100
98
  /**
101
99
  * Adds select element over table, which is used for control items per page in pagination.
102
100
  * If you want to customize this element, pass an object with optional values:
103
- * - label (String) - replaces default label text
104
- * - values (Array) - custom array of pagination values
105
101
  * - external (Boolean) - disables automatic 'itemsPerPage' change (use to change pages externally by 'pagination-change' event).
106
102
  */
107
103
  itemsPerPageSelect?: boolean | ItemsPerPageSelect;
@@ -130,7 +126,7 @@ export interface ISmartTable {
130
126
  */
131
127
  /**
132
128
  * Scoped columns.
133
- * @type ScopedColumns
129
+ // * @type ScopedColumns
134
130
  * todo or remove?
135
131
  */
136
132
  /**
@@ -164,15 +160,15 @@ export interface ISmartTable {
164
160
  */
165
161
  sortingIconDescending?: TemplateRef<any>;
166
162
  /**
167
- * Properties to `CTableBody` component.
163
+ * Properties to `TableBody` component.
168
164
  * @link https://coreui.io/angular/docs/components/table/#ctablebody
169
- * todo or remove?
170
165
  */
166
+ tableBodyProps?: ITableSectionProps;
171
167
  /**
172
- * Properties to `CTableFoot` component.
168
+ * Properties to `TableFoot` component.
173
169
  * @link https://coreui.io/angular/docs/components/table/#ctablefoot
174
- * todo or remove?
175
170
  */
171
+ tableFootProps?: ITableSectionProps;
176
172
  /**
177
173
  * When set, displays table filter above table, allowing filtering by specific column.
178
174
  *
@@ -203,14 +199,19 @@ export interface ISmartTable {
203
199
  /**
204
200
  * Properties to `CTableHead` component.
205
201
  * @link https://coreui.io/angular/docs/components/table/#ctablehead
206
- * todo or remove?
207
202
  */
203
+ tableHeadProps?: ITableSectionProps;
208
204
  /**
209
205
  * Properties to `CTable` component.
210
206
  * @link https://coreui.io/angular/docs/components/table/#ctable
211
207
  */
212
208
  tableProps?: ITable;
213
209
  }
210
+ export interface ITableSectionProps extends ITableElementProps {
211
+ align?: 'bottom' | 'middle' | 'top';
212
+ color?: Colors;
213
+ attributes?: Partial<HTMLTableSectionElement>;
214
+ }
214
215
  export interface IColumnFilter {
215
216
  lazy?: boolean;
216
217
  external?: boolean;
@@ -219,15 +220,34 @@ export interface IColumnFilterValue {
219
220
  [key: string]: any;
220
221
  }
221
222
  export interface IColumn {
223
+ children?: IColumn[];
222
224
  filter?: boolean | ((column: IItem, value: string) => boolean);
223
- label?: string;
225
+ group?: string;
224
226
  key: string;
227
+ label?: string;
225
228
  sorter?: boolean | ((a: IItem, b: IItem) => number);
226
- _style?: any;
229
+ _attr?: Partial<HTMLTableCellElement>;
230
+ _style?: Partial<CSSStyleDeclaration>;
227
231
  _props?: ITableHeaderCellProps;
228
- _classes?: string | string[] | Set<string> | {
229
- [klass: string]: any;
230
- };
232
+ _classes?: NgCssClass;
233
+ _colAttr?: Partial<HTMLTableColElement>;
234
+ _colStyle?: Partial<CSSStyleDeclaration>;
235
+ _colProps?: ITableRowCellProps;
236
+ _colClass?: NgCssClass;
237
+ _labelTemplateId?: string;
238
+ _data?: any;
239
+ }
240
+ export interface IGroup {
241
+ children?: IGroup[] | IColumn[];
242
+ colspan?: number;
243
+ deep?: number;
244
+ group?: string;
245
+ key: string;
246
+ label?: string;
247
+ _attr?: Partial<HTMLTableCellElement>;
248
+ _class?: NgCssClass;
249
+ _props?: ITableHeaderCellProps;
250
+ _style?: Partial<CSSStyleDeclaration>;
231
251
  _labelTemplateId?: string;
232
252
  _data?: any;
233
253
  }
@@ -245,26 +265,27 @@ export interface ISorter {
245
265
  external?: boolean;
246
266
  }
247
267
  export interface IItem {
268
+ _attr?: Partial<HTMLTableRowElement>;
269
+ _class?: NgCssClass;
248
270
  _props?: ITableRowCellProps;
249
- _cellProps?: ITableCellProps;
271
+ _style?: Partial<CSSStyleDeclaration>;
272
+ _cellAttr?: ITableCellProps<HTMLTableCellElement>;
273
+ _cellClass?: ITableCellProps<NgCssClass>;
274
+ _cellProps?: ITableCellProps<ITableRowCellProps>;
275
+ _cellStyle?: ITableCellProps<CSSStyleDeclaration>;
250
276
  _selected?: boolean;
251
277
  _selectable?: boolean;
252
278
  [key: string]: number | string | any;
253
279
  }
254
- export interface ITableCellProps {
255
- _all?: ITableRowCellProps;
256
- _attributes?: {
257
- [key: string]: any;
258
- };
259
- [key: string]: ITableRowCellProps | undefined;
280
+ export interface ITableCellProps<T> {
281
+ _all?: Partial<T>;
282
+ [key: string]: Partial<T> | undefined;
260
283
  }
261
284
  export interface IItemInternal extends IItem {
262
- _id?: number;
285
+ ___id?: number;
263
286
  }
264
287
  export interface ItemsPerPageSelect {
265
288
  external?: boolean;
266
- label?: string;
267
- values?: Array<number>;
268
289
  }
269
290
  export interface ISorterValue {
270
291
  column?: string;
@@ -277,8 +298,4 @@ export interface ITableFilter {
277
298
  placeholder?: string;
278
299
  value?: string | number;
279
300
  }
280
- export interface ITableGroupProps extends ITableElementProps {
281
- attributes?: {
282
- [key: string]: any;
283
- };
284
- }
301
+ export type SortOrder = 'asc' | 'desc' | 0 | undefined;
@@ -0,0 +1,29 @@
1
+ import { IColumn, IGroup, IItem, ISorter } from './smart-table.type';
2
+ export declare const getClickedColumnName: (target: HTMLTextAreaElement, columnNames: string[], selectable: boolean) => string;
3
+ export declare const getColumnKey: (column: IColumn | string) => string;
4
+ export declare const getColumnLabel: (column: IColumn | string) => string;
5
+ export declare const getColumnName: (column: IColumn | string) => string;
6
+ export declare const getColumnNames: (columns: (string | IColumn)[] | undefined, items: IItem[]) => string[];
7
+ export declare const getColumns: (_columns: (IColumn | IGroup)[]) => (IColumn)[];
8
+ export declare const countColumns: (columns: IColumn[], counter?: number) => number;
9
+ export declare const getColumnGroups: (columns: (string | IColumn)[] | undefined) => IGroup[][];
10
+ export declare const getColumnNamesFromItems: (items: IItem[]) => string[];
11
+ export declare const getColumnValues: (items: IItem[], key: string) => any[];
12
+ export declare const convertNgClassToObj: (value: string | Set<string> | string[] | {
13
+ [klass: string]: any;
14
+ } | null | undefined) => {
15
+ [klass: string]: boolean;
16
+ };
17
+ export declare const getTableDataCellClass: (column: IColumn, item: IItem) => {
18
+ [x: string]: boolean;
19
+ };
20
+ export declare const getTableDataCellProps: (column: IColumn, item: IItem) => {};
21
+ export declare const getTableDataCellStyles: (column: IColumn, item: IItem) => Partial<CSSStyleDeclaration>;
22
+ export declare const getTableHeaderCellProps: (column: IColumn | string) => {
23
+ [key: string]: any;
24
+ };
25
+ export declare const getTableHeaderCellClass: (column: IColumn) => {
26
+ [x: string]: boolean;
27
+ };
28
+ export declare const getTableHeaderCellStyles: (column: IColumn, columnSorter: boolean | ISorter | undefined) => Partial<CSSStyleDeclaration>;
29
+ export declare const prettifyName: (name: string) => string;
@@ -51,9 +51,7 @@ export interface ITable {
51
51
  * @type boolean
52
52
  */
53
53
  striped?: boolean | string;
54
- attributes?: {
55
- [key: string]: any;
56
- };
54
+ attributes?: Partial<HTMLTableElement>;
57
55
  }
58
56
  export interface ITableElementProps {
59
57
  /**
@@ -66,9 +64,8 @@ export interface ITableElementProps {
66
64
  * @type Colors
67
65
  */
68
66
  color?: Colors;
69
- _attributes?: {
70
- [key: string]: any;
71
- };
67
+ /** @deprecated */
68
+ _attributes?: Partial<HTMLTableElement>;
72
69
  }
73
70
  export interface ITableRowCellProps extends ITableElementProps {
74
71
  /**
@@ -76,4 +73,6 @@ export interface ITableRowCellProps extends ITableElementProps {
76
73
  @type boolean
77
74
  */
78
75
  active?: boolean;
76
+ /** @deprecated */
77
+ _attributes?: Partial<HTMLTableCellElement> | Partial<HTMLTableRowElement>;
79
78
  }
@@ -32,8 +32,9 @@ export declare class TimePickerRollAmPmComponent implements OnChanges, AfterView
32
32
  ngAfterViewInit(): void;
33
33
  ngOnChanges(changes: SimpleChanges): void;
34
34
  scrollToElement(element: any): void;
35
- handleElementClick($event: MouseEvent, element: any): void;
36
35
  trackByElement(index: number, element: IDayPeriod): string;
36
+ handleElementClick($event: MouseEvent, element: any): void;
37
+ handleElementKeyDown($event: KeyboardEvent, element: IDayPeriod): void;
37
38
  static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerRollAmPmComponent, never>;
38
39
  static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerRollAmPmComponent, "c-time-picker-roll-am-pm", never, { "disabled": { "alias": "disabled"; "required": false; }; "elements": { "alias": "elements"; "required": false; }; "onClick": { "alias": "onClick"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, never, true, never>;
39
40
  }
@@ -14,9 +14,9 @@ export declare class TimeElementDirective {
14
14
  static ɵdir: i0.ɵɵDirectiveDeclaration<TimeElementDirective, "[cTimeElement]", ["cTimeElement"], { "cTimeElement": { "alias": "cTimeElement"; "required": false; }; }, {}, never, never, true, never>;
15
15
  }
16
16
  export declare class TimePickerRollColComponent implements ITimePickerRollCol, OnChanges, AfterViewInit {
17
+ #private;
17
18
  elementRef: ElementRef;
18
19
  constructor(elementRef: ElementRef);
19
- private init;
20
20
  disabled: boolean;
21
21
  elements: ITimeValue[];
22
22
  onClick?: (value: number | string) => void;
@@ -31,8 +31,9 @@ export declare class TimePickerRollColComponent implements ITimePickerRollCol, O
31
31
  ngAfterViewInit(): void;
32
32
  ngOnChanges(changes: SimpleChanges): void;
33
33
  scrollToElement(element: any): void;
34
- handleElementClick($event: MouseEvent, element: any): void;
35
34
  trackByElement(index: number, element: ITimeValue): number;
35
+ handleElementClick($event: MouseEvent, element: any): void;
36
+ handleElementKeyDown($event: KeyboardEvent, element: ITimeValue): void;
36
37
  static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerRollColComponent, never>;
37
38
  static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerRollColComponent, "c-time-picker-roll-col", ["cTimePickerRollCol"], { "disabled": { "alias": "disabled"; "required": false; }; "elements": { "alias": "elements"; "required": false; }; "onClick": { "alias": "onClick"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, never, true, never>;
38
39
  }
@@ -1,26 +1,17 @@
1
1
  import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
3
- import { BooleanInput } from '@angular/cdk/coercion';
4
3
  import { DateTimeFormatOptions, DayPeriod, ITimeValue } from './time.utils';
5
4
  import { TemplateIdDirective } from '../shared';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class TimePickerComponent implements OnChanges, OnInit, ControlValueAccessor, AfterViewInit {
8
7
  #private;
9
8
  constructor();
10
- static ngAcceptInputType_cleaner: BooleanInput;
11
- static ngAcceptInputType_disabled: BooleanInput;
12
- static ngAcceptInputType_indicator: BooleanInput;
13
- static ngAcceptInputType_inputReadOnly: BooleanInput;
14
- static ngAcceptInputType_seconds: BooleanInput;
15
- static ngAcceptInputType_visible: BooleanInput;
16
9
  /**
17
10
  * Toggle visibility or set the content of the cleaner button.
18
11
  * @type boolean
19
12
  * @default true
20
13
  */
21
- set cleaner(value: boolean);
22
- get cleaner(): boolean;
23
- private _cleaner;
14
+ cleaner: boolean;
24
15
  /**
25
16
  * Sets DateTime format options including timeZone
26
17
  * @type DateTimeFormatOptions
@@ -33,9 +24,7 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
33
24
  * @type boolean
34
25
  * @default false
35
26
  */
36
- set disabled(value: boolean);
37
- get disabled(): boolean;
38
- private _disabled;
27
+ disabled: boolean;
39
28
  /**
40
29
  * Filter available hours to pick.
41
30
  * @type (value: number) => boolean;
@@ -59,17 +48,13 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
59
48
  * @type boolean
60
49
  * @default true
61
50
  */
62
- set indicator(value: boolean);
63
- get indicator(): boolean;
64
- private _indicator;
51
+ indicator: boolean;
65
52
  /**
66
53
  * Toggle the readonly state for the component.
67
54
  * @type boolean
68
55
  * @default false
69
56
  */
70
- set inputReadOnly(value: boolean);
71
- get inputReadOnly(): boolean;
72
- private _inputReadOnly;
57
+ inputReadOnly: boolean;
73
58
  /**
74
59
  * Sets the default locale for components. If not set, it is inherited from the browser.
75
60
  * @type string
@@ -87,9 +72,7 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
87
72
  * @type boolean
88
73
  * @default false
89
74
  */
90
- set seconds(value: boolean);
91
- get seconds(): boolean;
92
- private _seconds;
75
+ seconds: boolean;
93
76
  /**
94
77
  * Size the component small or large.
95
78
  * @type 'sm' | 'lg' | undefined
@@ -122,9 +105,7 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
122
105
  * @type boolean
123
106
  * @default false
124
107
  */
125
- set visible(value: boolean);
126
- get visible(): boolean;
127
- private _visible;
108
+ visible: boolean;
128
109
  timeChange: EventEmitter<Date | undefined>;
129
110
  onBlur(): void;
130
111
  dropdownRef: ElementRef;
@@ -139,13 +120,17 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
139
120
  value: string;
140
121
  label: string;
141
122
  }[];
123
+ getListOfHours12(): ITimeValue[];
142
124
  set timeInputValue(value: string);
143
125
  get timeInputValue(): string;
144
126
  private _timeInputValue;
145
127
  get timePickerClasses(): {
128
+ [x: string]: boolean;
129
+ 'time-picker': boolean;
146
130
  'form-control': boolean;
147
131
  'is-valid': boolean;
148
132
  'is-invalid': boolean;
133
+ disabled: boolean;
149
134
  };
150
135
  selectTime: FormGroup<{
151
136
  selectHours: FormControl<number | null>;
@@ -177,9 +162,7 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
177
162
  closestTime(timeArray: ITimeValue[], timeSegment: number): ITimeValue;
178
163
  listOfTimeSegments(getListOfTimeSegments: (locale: string, dateTimeFormatOptions: DateTimeFormatOptions) => ITimeValue[], filterTimeSegments: ((timeSegmentValue: number) => boolean) | undefined): ITimeValue[];
179
164
  handleSelectDayPeriodChange(dayPeriod: DayPeriod): void;
180
- handleSelectHoursChange(hour: number): void;
181
- handleSelectMinutesChange(minute: number): void;
182
- handleSelectSecondsChange(second: number): void;
165
+ handleSelectTimeChange(value: number, segment: 'hour' | 'minute' | 'second'): void;
183
166
  patchSelectTimeValues(): void;
184
167
  trackByHour(index: number, hour: ITimeValue): ITimeValue;
185
168
  onChange: (value: Date | undefined) => void;
@@ -195,4 +178,10 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
195
178
  setChangeHandlers(): void;
196
179
  static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
197
180
  static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "c-time-picker", ["cTimePicker"], { "cleaner": { "alias": "cleaner"; "required": false; }; "dateTimeFormatOptions": { "alias": "dateTimeFormatOptions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "filterHours": { "alias": "filterHours"; "required": false; }; "filterMinutes": { "alias": "filterMinutes"; "required": false; }; "filterSeconds": { "alias": "filterSeconds"; "required": false; }; "indicator": { "alias": "indicator"; "required": false; }; "inputReadOnly": { "alias": "inputReadOnly"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "seconds": { "alias": "seconds"; "required": false; }; "size": { "alias": "size"; "required": false; }; "time": { "alias": "time"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "timeChange": "timeChange"; }, ["contentTemplates"], never, true, never>;
181
+ static ngAcceptInputType_cleaner: unknown;
182
+ static ngAcceptInputType_disabled: unknown;
183
+ static ngAcceptInputType_indicator: unknown;
184
+ static ngAcceptInputType_inputReadOnly: unknown;
185
+ static ngAcceptInputType_seconds: unknown;
186
+ static ngAcceptInputType_visible: unknown;
198
187
  }
@@ -1,6 +1,7 @@
1
+ export { AlignDirective } from './align.directive';
1
2
  export { BgColorDirective } from './bg-color.directive';
2
3
  export { BorderDirective } from './border.directive';
3
- export { TextColorDirective } from './text-color.directive';
4
4
  export { RoundedDirective } from './rounded.directive';
5
- export { AlignDirective } from './align.directive';
5
+ export { ShadowOnScrollDirective } from './shadow-on-scroll.directive';
6
+ export { TextColorDirective } from './text-color.directive';
6
7
  export { UtilitiesModule } from './utilities.module';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ShadowOnScrollDirective {
3
+ #private;
4
+ constructor();
5
+ set cShadowOnScroll(value: 'sm' | 'lg' | 'none' | boolean);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShadowOnScrollDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ShadowOnScrollDirective, "[cShadowOnScroll]", never, { "cShadowOnScroll": { "alias": "cShadowOnScroll"; "required": false; }; }, {}, never, never, true, never>;
8
+ }
@@ -1,11 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./bg-color.directive";
3
- import * as i2 from "./border.directive";
4
- import * as i3 from "./rounded.directive";
5
- import * as i4 from "./text-color.directive";
6
- import * as i5 from "./align.directive";
2
+ import * as i1 from "./align.directive";
3
+ import * as i2 from "./bg-color.directive";
4
+ import * as i3 from "./border.directive";
5
+ import * as i4 from "./rounded.directive";
6
+ import * as i5 from "./shadow-on-scroll.directive";
7
+ import * as i6 from "./text-color.directive";
7
8
  export declare class UtilitiesModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<UtilitiesModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<UtilitiesModule, never, [typeof i1.BgColorDirective, typeof i2.BorderDirective, typeof i3.RoundedDirective, typeof i4.TextColorDirective, typeof i5.AlignDirective], [typeof i1.BgColorDirective, typeof i2.BorderDirective, typeof i3.RoundedDirective, typeof i4.TextColorDirective, typeof i5.AlignDirective]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UtilitiesModule, never, [typeof i1.AlignDirective, typeof i2.BgColorDirective, typeof i3.BorderDirective, typeof i4.RoundedDirective, typeof i5.ShadowOnScrollDirective, typeof i6.TextColorDirective], [typeof i1.AlignDirective, typeof i2.BgColorDirective, typeof i3.BorderDirective, typeof i4.RoundedDirective, typeof i5.ShadowOnScrollDirective, typeof i6.TextColorDirective]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<UtilitiesModule>;
11
12
  }
@@ -23,7 +23,7 @@ export declare class WidgetStatAComponent implements AfterContentInit {
23
23
  get hostClasses(): {
24
24
  [x: string]: boolean;
25
25
  card: boolean;
26
- 'text-high-emphasis-inverse': boolean;
26
+ 'text-white': boolean;
27
27
  };
28
28
  get bodyClasses(): {
29
29
  'pb-0': boolean;
@@ -1,4 +1,4 @@
1
- import { Colors } from '../../coreui.types';
1
+ import { Colors, TextColors } from '../../coreui.types';
2
2
  import { CardComponent } from '../../card';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class WidgetStatBComponent extends CardComponent {
@@ -12,7 +12,7 @@ export declare class WidgetStatBComponent extends CardComponent {
12
12
  * Sets the text-color context of the component to one of CoreUI’s themed colors.
13
13
  * @type Colors
14
14
  */
15
- textColor?: Colors | 'white' | 'muted';
15
+ textColor?: TextColors;
16
16
  /**
17
17
  * Title of the widget to display
18
18
  * @type string
@@ -36,7 +36,7 @@ export declare class WidgetStatBComponent extends CardComponent {
36
36
  get hostClasses(): {
37
37
  [x: string]: boolean;
38
38
  card: boolean;
39
- 'text-high-emphasis-inverse': boolean;
39
+ 'text-white': boolean;
40
40
  };
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetStatBComponent, never>;
42
42
  static ɵcmp: i0.ɵɵComponentDeclaration<WidgetStatBComponent, "c-widget-stat-b", ["cWidgetStatB"], { "color": { "alias": "color"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "title": { "alias": "title"; "required": false; }; "text": { "alias": "text"; "required": false; }; "value": { "alias": "value"; "required": false; }; "inverse": { "alias": "inverse"; "required": false; }; }, {}, never, ["*"], true, never>;
@@ -27,26 +27,28 @@ export declare class WidgetStatCComponent extends CardComponent implements After
27
27
  templates: any;
28
28
  contentTemplates: QueryList<TemplateIdDirective>;
29
29
  get hostExtendedClass(): {
30
- 'high-emphasis-inverse': string | boolean;
31
- };
32
- get iconClasses(): {
33
- [x: string]: string | boolean;
34
- 'mb-4': boolean;
35
- 'text-end': boolean;
36
- 'text-medium-emphasis': boolean;
37
- 'text-medium-emphasis-inverse': string | boolean;
30
+ 'text-white': string | boolean;
38
31
  };
39
32
  get titleClasses(): {
40
33
  [x: string]: string | boolean;
41
- 'text-medium-emphasis': boolean;
42
- 'text-medium-emphasis-inverse': string | boolean;
34
+ 'text-body-secondary': boolean;
35
+ 'text-white': string | boolean;
36
+ 'text-opacity-75': string | boolean;
43
37
  };
44
38
  get valueClasses(): {
45
- [x: string]: string | boolean;
39
+ 'text-body-emphasis': boolean;
40
+ 'text-body-secondary': boolean;
41
+ 'text-white': string | boolean;
42
+ 'text-opacity-75': string | boolean;
46
43
  'fs-4': boolean;
47
44
  'fw-semibold': boolean;
48
- 'text-high-emphasis': boolean;
49
- 'text-high-emphasis-inverse': string | boolean;
45
+ };
46
+ get iconClasses(): {
47
+ 'text-body-secondary': boolean;
48
+ 'text-white': string | boolean;
49
+ 'text-opacity-75': string | boolean;
50
+ 'mb-4': boolean;
51
+ 'text-end': boolean;
50
52
  };
51
53
  ngAfterContentInit(): void;
52
54
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetStatCComponent, never>;
@@ -14,7 +14,7 @@ export declare class WidgetStatEComponent extends CardComponent {
14
14
  value?: string | number;
15
15
  get titleClasses(): {
16
16
  [x: string]: boolean;
17
- 'text-medium-emphasis': boolean;
17
+ 'text-body-secondary': boolean;
18
18
  small: boolean;
19
19
  'text-uppercase': boolean;
20
20
  'fw-semibold': boolean;
@@ -57,7 +57,7 @@ export declare class WidgetStatFComponent implements AfterContentInit {
57
57
  };
58
58
  get titleClasses(): {
59
59
  [x: string]: boolean;
60
- 'text-medium-emphasis': boolean;
60
+ 'text-body-secondary': boolean;
61
61
  small: boolean;
62
62
  'text-uppercase': boolean;
63
63
  'fw-semibold': boolean;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "4.7.11",
3
+ "version": "5.0.0-alpha.10",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
- "copyright": "Copyright 2023 creativeLabs Łukasz Holeczek",
5
+ "copyright": "Copyright 2024 creativeLabs Łukasz Holeczek",
6
6
  "homepage": "https://coreui.io/angular",
7
7
  "author": {
8
8
  "name": "creativeLabs Łukasz Holeczek",
@@ -28,7 +28,8 @@
28
28
  "@angular/core": "^17.0.0",
29
29
  "@angular/forms": "^17.0.0",
30
30
  "@angular/router": "^17.0.0",
31
- "@coreui/coreui-pro": "~4.5.0 || ~4.6.0",
31
+ "@coreui/coreui-pro": "~5.0.0-0 || ~5.0.0",
32
+ "@coreui/icons-angular": "~4.7.3 || ^5.0.0-0 || ~5.0.0",
32
33
  "rxjs": "^7.8.1"
33
34
  },
34
35
  "repository": {
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtYmFyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZXVpLWFuZ3VsYXIvc3JjL2xpYi9wcm9ncmVzcy9wcm9ncmVzcy1iYXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVN0YWNrZWRCYXIge1xuICB2YWx1ZTogbnVtYmVyO1xuICBjb2xvcj86IHN0cmluZztcbiAgbGFiZWw/OiBzdHJpbmc7XG4gIGFuaW1hdGVkPzogYm9vbGVhbjtcbiAgc3RyaXBlZD86IGJvb2xlYW47XG4gIHByZWNpc2lvbj86IG51bWJlcjtcbiAgbWluPzogbnVtYmVyO1xuICBtYXg/OiBudW1iZXI7XG59XG4iXX0=
@@ -1,27 +0,0 @@
1
- import { Component, HostBinding, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class SidebarTogglerComponent {
4
- constructor() {
5
- this.role = 'button';
6
- this.sidebarTogglerClass = true;
7
- }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SidebarTogglerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: SidebarTogglerComponent, isStandalone: true, selector: "c-sidebar-toggler", inputs: { role: "role" }, host: { properties: { "attr.role": "this.role", "class.sidebar-toggler": "this.sidebarTogglerClass" } }, ngImport: i0, template: ``, isInline: true }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SidebarTogglerComponent, decorators: [{
12
- type: Component,
13
- args: [{
14
- selector: 'c-sidebar-toggler',
15
- template: ``,
16
- standalone: true
17
- }]
18
- }], propDecorators: { role: [{
19
- type: HostBinding,
20
- args: ['attr.role']
21
- }, {
22
- type: Input
23
- }], sidebarTogglerClass: [{
24
- type: HostBinding,
25
- args: ['class.sidebar-toggler']
26
- }] } });
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci10b2dnbGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmV1aS1hbmd1bGFyL3NyYy9saWIvc2lkZWJhci9zaWRlYmFyLXRvZ2dsZXIvc2lkZWJhci10b2dnbGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTzlELE1BQU0sT0FBTyx1QkFBdUI7SUFMcEM7UUFRVyxTQUFJLEdBQUcsUUFBUSxDQUFDO1FBRWEsd0JBQW1CLEdBQUcsSUFBSSxDQUFDO0tBRWxFOzhHQVBZLHVCQUF1QjtrR0FBdkIsdUJBQXVCLGdOQUh4QixFQUFFOzsyRkFHRCx1QkFBdUI7a0JBTG5DLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLG1CQUFtQjtvQkFDN0IsUUFBUSxFQUFFLEVBQUU7b0JBQ1osVUFBVSxFQUFFLElBQUk7aUJBQ2pCOzhCQUlVLElBQUk7c0JBRFosV0FBVzt1QkFBQyxXQUFXOztzQkFDdkIsS0FBSztnQkFFZ0MsbUJBQW1CO3NCQUF4RCxXQUFXO3VCQUFDLHVCQUF1QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgSG9zdEJpbmRpbmcsIElucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2Mtc2lkZWJhci10b2dnbGVyJyxcbiAgdGVtcGxhdGU6IGBgLFxuICBzdGFuZGFsb25lOiB0cnVlXG59KVxuZXhwb3J0IGNsYXNzIFNpZGViYXJUb2dnbGVyQ29tcG9uZW50IHtcblxuICBASG9zdEJpbmRpbmcoJ2F0dHIucm9sZScpXG4gIEBJbnB1dCgpIHJvbGUgPSAnYnV0dG9uJztcblxuICBASG9zdEJpbmRpbmcoJ2NsYXNzLnNpZGViYXItdG9nZ2xlcicpIHNpZGViYXJUb2dnbGVyQ2xhc3MgPSB0cnVlO1xuXG59XG4iXX0=
@@ -1,10 +0,0 @@
1
- export interface IStackedBar {
2
- value: number;
3
- color?: string;
4
- label?: string;
5
- animated?: boolean;
6
- striped?: boolean;
7
- precision?: number;
8
- min?: number;
9
- max?: number;
10
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class SidebarTogglerComponent {
3
- role: string;
4
- sidebarTogglerClass: boolean;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarTogglerComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<SidebarTogglerComponent, "c-sidebar-toggler", never, { "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, never>;
7
- }