@coreui/angular-pro 4.2.0-next.2 → 4.2.0-next.5

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 (262) hide show
  1. package/esm2020/lib/accordion/accordion/accordion.component.mjs +3 -3
  2. package/esm2020/lib/accordion/accordion-button/accordion-button.directive.mjs +3 -3
  3. package/esm2020/lib/accordion/accordion-item/accordion-item.component.mjs +3 -3
  4. package/esm2020/lib/accordion/accordion.module.mjs +4 -4
  5. package/esm2020/lib/accordion/accordion.service.mjs +3 -3
  6. package/esm2020/lib/alert/alert-heading.directive.mjs +3 -3
  7. package/esm2020/lib/alert/alert-link.directive.mjs +3 -3
  8. package/esm2020/lib/alert/alert.component.mjs +3 -3
  9. package/esm2020/lib/alert/alert.module.mjs +4 -4
  10. package/esm2020/lib/avatar/avatar.component.mjs +3 -3
  11. package/esm2020/lib/avatar/avatar.module.mjs +4 -4
  12. package/esm2020/lib/backdrop/backdrop.service.mjs +3 -3
  13. package/esm2020/lib/badge/badge.component.mjs +3 -3
  14. package/esm2020/lib/badge/badge.module.mjs +4 -4
  15. package/esm2020/lib/breadcrumb/breadcrumb/breadcrumb.component.mjs +3 -3
  16. package/esm2020/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +3 -3
  17. package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +3 -3
  18. package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +3 -3
  19. package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +4 -4
  20. package/esm2020/lib/button/button-close.directive.mjs +3 -3
  21. package/esm2020/lib/button/button.directive.mjs +3 -3
  22. package/esm2020/lib/button/button.module.mjs +4 -4
  23. package/esm2020/lib/button-group/button-group/button-group.component.mjs +3 -3
  24. package/esm2020/lib/button-group/button-group.module.mjs +4 -4
  25. package/esm2020/lib/button-group/button-toolbar/button-toolbar.component.mjs +3 -3
  26. package/esm2020/lib/calendar/calendar/calendar-class-view.pipe.mjs +3 -3
  27. package/esm2020/lib/calendar/calendar/calendar.component.mjs +25 -17
  28. package/esm2020/lib/calendar/calendar-month/calendar-class-day.pipe.mjs +3 -3
  29. package/esm2020/lib/calendar/calendar-month/calendar-class-month.pipe.mjs +3 -3
  30. package/esm2020/lib/calendar/calendar-month/calendar-class-year.pipe.mjs +3 -3
  31. package/esm2020/lib/calendar/calendar-month/calendar-day-title.pipe.mjs +16 -0
  32. package/esm2020/lib/calendar/calendar-month/calendar-day.directive.mjs +6 -6
  33. package/esm2020/lib/calendar/calendar-month/calendar-day.pipe.mjs +3 -3
  34. package/esm2020/lib/calendar/calendar-month/calendar-month.component.mjs +6 -5
  35. package/esm2020/lib/calendar/calendar-month/calendar-weekday.pipe.mjs +3 -3
  36. package/esm2020/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +3 -3
  37. package/esm2020/lib/calendar/calendar.module.mjs +10 -7
  38. package/esm2020/lib/calendar/calendar.service.mjs +3 -3
  39. package/esm2020/lib/calendar/calendar.utils.mjs +6 -4
  40. package/esm2020/lib/callout/callout.component.mjs +3 -3
  41. package/esm2020/lib/callout/callout.module.mjs +4 -4
  42. package/esm2020/lib/card/card-body.component.mjs +3 -3
  43. package/esm2020/lib/card/card-footer.component.mjs +3 -3
  44. package/esm2020/lib/card/card-group.component.mjs +3 -3
  45. package/esm2020/lib/card/card-header-actions.component.mjs +3 -3
  46. package/esm2020/lib/card/card-header.component.mjs +3 -3
  47. package/esm2020/lib/card/card-img-overlay/card-img-overlay.component.mjs +3 -3
  48. package/esm2020/lib/card/card-img.directive.mjs +3 -3
  49. package/esm2020/lib/card/card-link.directive.mjs +3 -3
  50. package/esm2020/lib/card/card-subtitle.directive.mjs +3 -3
  51. package/esm2020/lib/card/card-text.directive.mjs +3 -3
  52. package/esm2020/lib/card/card-title.directive.mjs +3 -3
  53. package/esm2020/lib/card/card.component.mjs +3 -3
  54. package/esm2020/lib/card/card.module.mjs +4 -4
  55. package/esm2020/lib/carousel/carousel/carousel.component.mjs +3 -3
  56. package/esm2020/lib/carousel/carousel-caption/carousel-caption.component.mjs +3 -3
  57. package/esm2020/lib/carousel/carousel-control/carousel-control.component.mjs +3 -3
  58. package/esm2020/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +3 -3
  59. package/esm2020/lib/carousel/carousel-inner/carousel-inner.component.mjs +3 -3
  60. package/esm2020/lib/carousel/carousel-item/carousel-item.component.mjs +3 -3
  61. package/esm2020/lib/carousel/carousel-state.mjs +3 -3
  62. package/esm2020/lib/carousel/carousel.config.mjs +3 -3
  63. package/esm2020/lib/carousel/carousel.module.mjs +4 -4
  64. package/esm2020/lib/carousel/carousel.service.mjs +3 -3
  65. package/esm2020/lib/collapse/collapse.directive.mjs +3 -3
  66. package/esm2020/lib/collapse/collapse.module.mjs +4 -4
  67. package/esm2020/lib/date-picker/date-picker.component.mjs +49 -0
  68. package/esm2020/lib/date-picker/date-picker.module.mjs +59 -0
  69. package/esm2020/lib/date-picker/index.mjs +2 -0
  70. package/esm2020/lib/date-picker/public_api.mjs +3 -0
  71. package/esm2020/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +55 -51
  72. package/esm2020/lib/date-range-picker/date-range-picker.module.mjs +6 -12
  73. package/esm2020/lib/date-range-picker/public_api.mjs +1 -1
  74. package/esm2020/lib/dropdown/dropdown/dropdown.component.mjs +6 -6
  75. package/esm2020/lib/dropdown/dropdown-close/dropdown-close.directive.mjs +3 -3
  76. package/esm2020/lib/dropdown/dropdown-divider/dropdown-divider.directive.mjs +3 -3
  77. package/esm2020/lib/dropdown/dropdown-header/dropdown-header.directive.mjs +3 -3
  78. package/esm2020/lib/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +3 -3
  79. package/esm2020/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +3 -3
  80. package/esm2020/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +3 -3
  81. package/esm2020/lib/dropdown/dropdown.module.mjs +4 -4
  82. package/esm2020/lib/dropdown/dropdown.service.mjs +3 -3
  83. package/esm2020/lib/element-cover/element-cover.component.mjs +3 -3
  84. package/esm2020/lib/element-cover/element-cover.module.mjs +4 -4
  85. package/esm2020/lib/footer/footer.component.mjs +3 -3
  86. package/esm2020/lib/footer/footer.module.mjs +4 -4
  87. package/esm2020/lib/form/form/form.directive.mjs +3 -3
  88. package/esm2020/lib/form/form-check/form-check-input.directive.mjs +3 -3
  89. package/esm2020/lib/form/form-check/form-check-label.directive.mjs +3 -3
  90. package/esm2020/lib/form/form-check/form-check.component.mjs +3 -3
  91. package/esm2020/lib/form/form-control/form-control.directive.mjs +3 -3
  92. package/esm2020/lib/form/form-feedback/form-feedback.component.mjs +3 -3
  93. package/esm2020/lib/form/form-floating/form-floating.directive.mjs +3 -3
  94. package/esm2020/lib/form/form-label/form-label.directive.mjs +3 -3
  95. package/esm2020/lib/form/form-select/form-select.directive.mjs +3 -3
  96. package/esm2020/lib/form/form-text/form-text.directive.mjs +3 -3
  97. package/esm2020/lib/form/form.module.mjs +4 -4
  98. package/esm2020/lib/form/input-group/input-group.component.mjs +3 -3
  99. package/esm2020/lib/form/input-group-text/input-group-text.directive.mjs +3 -3
  100. package/esm2020/lib/grid/col.component.mjs +3 -3
  101. package/esm2020/lib/grid/col.directive.mjs +3 -3
  102. package/esm2020/lib/grid/container.component.mjs +3 -3
  103. package/esm2020/lib/grid/grid.module.mjs +4 -4
  104. package/esm2020/lib/grid/gutter.directive.mjs +3 -3
  105. package/esm2020/lib/grid/row.component.mjs +3 -3
  106. package/esm2020/lib/grid/row.directive.mjs +3 -3
  107. package/esm2020/lib/header/header/header.component.mjs +3 -3
  108. package/esm2020/lib/header/header-brand/header-brand.component.mjs +3 -3
  109. package/esm2020/lib/header/header-divider/header-divider.component.mjs +3 -3
  110. package/esm2020/lib/header/header-nav/header-nav.component.mjs +3 -3
  111. package/esm2020/lib/header/header-text/header-text.component.mjs +3 -3
  112. package/esm2020/lib/header/header-toggler/header-toggler.directive.mjs +3 -3
  113. package/esm2020/lib/header/header.module.mjs +4 -4
  114. package/esm2020/lib/image/img.directive.mjs +3 -3
  115. package/esm2020/lib/image/img.module.mjs +4 -4
  116. package/esm2020/lib/list-group/list-group-item.directive.mjs +3 -3
  117. package/esm2020/lib/list-group/list-group.directive.mjs +3 -3
  118. package/esm2020/lib/list-group/list-group.module.mjs +4 -4
  119. package/esm2020/lib/loading-button/loading-button.component.mjs +3 -3
  120. package/esm2020/lib/loading-button/loading-button.module.mjs +4 -4
  121. package/esm2020/lib/modal/modal/modal.component.mjs +3 -3
  122. package/esm2020/lib/modal/modal-body/modal-body.component.mjs +3 -3
  123. package/esm2020/lib/modal/modal-content/modal-content.component.mjs +3 -3
  124. package/esm2020/lib/modal/modal-dialog/modal-dialog.component.mjs +3 -3
  125. package/esm2020/lib/modal/modal-dismiss/modal-toggle.directive.mjs +3 -3
  126. package/esm2020/lib/modal/modal-footer/modal-footer.component.mjs +3 -3
  127. package/esm2020/lib/modal/modal-header/modal-header.component.mjs +3 -3
  128. package/esm2020/lib/modal/modal-title/modal-title.directive.mjs +3 -3
  129. package/esm2020/lib/modal/modal.module.mjs +4 -4
  130. package/esm2020/lib/modal/modal.service.mjs +3 -3
  131. package/esm2020/lib/multi-select/multi-select/multi-select.component.mjs +3 -3
  132. package/esm2020/lib/multi-select/multi-select-native-select/multi-select-native-select.component.mjs +3 -3
  133. package/esm2020/lib/multi-select/multi-select-optgroup/multi-select-optgroup-label.component.mjs +3 -3
  134. package/esm2020/lib/multi-select/multi-select-optgroup/multi-select-optgroup.component.mjs +3 -3
  135. package/esm2020/lib/multi-select/multi-select-option/multi-select-option.component.mjs +3 -3
  136. package/esm2020/lib/multi-select/multi-select-tag/multi-select-tag.component.mjs +3 -3
  137. package/esm2020/lib/multi-select/multi-select.module.mjs +4 -4
  138. package/esm2020/lib/multi-select/multi-select.service.mjs +3 -3
  139. package/esm2020/lib/nav/nav-item.component.mjs +3 -3
  140. package/esm2020/lib/nav/nav-link.directive.mjs +3 -3
  141. package/esm2020/lib/nav/nav.component.mjs +3 -3
  142. package/esm2020/lib/nav/nav.module.mjs +4 -4
  143. package/esm2020/lib/navbar/navbar-brand/navbar-brand.directive.mjs +3 -3
  144. package/esm2020/lib/navbar/navbar-nav/navbar-nav.component.mjs +3 -3
  145. package/esm2020/lib/navbar/navbar-text/navbar-text.component.mjs +3 -3
  146. package/esm2020/lib/navbar/navbar-toggler/navbar-toggler.directive.mjs +3 -3
  147. package/esm2020/lib/navbar/navbar.component.mjs +3 -3
  148. package/esm2020/lib/navbar/navbar.module.mjs +4 -4
  149. package/esm2020/lib/offcanvas/offcanvas/offcanvas.component.mjs +3 -3
  150. package/esm2020/lib/offcanvas/offcanvas-body/offcanvas-body.component.mjs +3 -3
  151. package/esm2020/lib/offcanvas/offcanvas-header/offcanvas-header.component.mjs +3 -3
  152. package/esm2020/lib/offcanvas/offcanvas-title/offcanvas-title.directive.mjs +3 -3
  153. package/esm2020/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.mjs +3 -3
  154. package/esm2020/lib/offcanvas/offcanvas.module.mjs +4 -4
  155. package/esm2020/lib/offcanvas/offcanvas.service.mjs +3 -3
  156. package/esm2020/lib/pagination/page-item/page-item.component.mjs +3 -3
  157. package/esm2020/lib/pagination/page-item/page-item.directive.mjs +3 -3
  158. package/esm2020/lib/pagination/page-link/page-link.directive.mjs +3 -3
  159. package/esm2020/lib/pagination/pagination/pagination.component.mjs +3 -3
  160. package/esm2020/lib/pagination/pagination.module.mjs +4 -4
  161. package/esm2020/lib/placeholder/placeholder-animation.directive.mjs +3 -3
  162. package/esm2020/lib/placeholder/placeholder.directive.mjs +3 -3
  163. package/esm2020/lib/placeholder/placeholder.module.mjs +4 -4
  164. package/esm2020/lib/popover/popover/popover.component.mjs +3 -3
  165. package/esm2020/lib/popover/popover.directive.mjs +3 -3
  166. package/esm2020/lib/popover/popover.module.mjs +4 -4
  167. package/esm2020/lib/progress/progress-bar.component.mjs +3 -3
  168. package/esm2020/lib/progress/progress.component.mjs +3 -3
  169. package/esm2020/lib/progress/progress.module.mjs +4 -4
  170. package/esm2020/lib/services/class-toggle.service.mjs +3 -3
  171. package/esm2020/lib/services/intersection.service.mjs +3 -3
  172. package/esm2020/lib/services/listeners.service.mjs +3 -3
  173. package/esm2020/lib/shared/html-attr.directive.mjs +3 -3
  174. package/esm2020/lib/shared/shared.module.mjs +4 -4
  175. package/esm2020/lib/shared/template-id.directive.mjs +3 -3
  176. package/esm2020/lib/sidebar/sidebar/sidebar.component.mjs +3 -3
  177. package/esm2020/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.mjs +3 -3
  178. package/esm2020/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +3 -3
  179. package/esm2020/lib/sidebar/sidebar-footer/sidebar-footer.component.mjs +3 -3
  180. package/esm2020/lib/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
  181. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.mjs +3 -3
  182. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.mjs +3 -3
  183. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.mjs +3 -3
  184. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.mjs +3 -3
  185. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +3 -3
  186. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +6 -6
  187. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.mjs +3 -3
  188. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-title.component.mjs +3 -3
  189. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +6 -6
  190. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.service.mjs +6 -6
  191. package/esm2020/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.mjs +3 -3
  192. package/esm2020/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +3 -3
  193. package/esm2020/lib/sidebar/sidebar.module.mjs +4 -4
  194. package/esm2020/lib/sidebar/sidebar.service.mjs +3 -3
  195. package/esm2020/lib/smart-pagination/smart-pagination.component.mjs +3 -3
  196. package/esm2020/lib/smart-pagination/smart-pagination.module.mjs +4 -4
  197. package/esm2020/lib/smart-table/smart-table/smart-table.component.mjs +3 -3
  198. package/esm2020/lib/smart-table/smart-table-filter/smart-table-filter.component.mjs +3 -3
  199. package/esm2020/lib/smart-table/smart-table-head/smart-table-head.component.mjs +3 -3
  200. package/esm2020/lib/smart-table/smart-table-items-per-page-selector/smart-table-items-per-page-selector.component.mjs +3 -3
  201. package/esm2020/lib/smart-table/smart-table.module.mjs +4 -4
  202. package/esm2020/lib/spinner/spinner.component.mjs +3 -3
  203. package/esm2020/lib/spinner/spinner.module.mjs +4 -4
  204. package/esm2020/lib/table/table-active.directive.mjs +3 -3
  205. package/esm2020/lib/table/table-color.directive.mjs +3 -3
  206. package/esm2020/lib/table/table.directive.mjs +3 -3
  207. package/esm2020/lib/table/table.module.mjs +4 -4
  208. package/esm2020/lib/tabs/tab-content/tab-content.component.mjs +3 -3
  209. package/esm2020/lib/tabs/tab-content-ref.directive.mjs +3 -3
  210. package/esm2020/lib/tabs/tab-pane/tab-pane.component.mjs +3 -3
  211. package/esm2020/lib/tabs/tab.service.mjs +3 -3
  212. package/esm2020/lib/tabs/tabs.module.mjs +4 -4
  213. package/esm2020/lib/time-picker/public_api.mjs +1 -1
  214. package/esm2020/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +7 -7
  215. package/esm2020/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +7 -7
  216. package/esm2020/lib/time-picker/time-picker.component.mjs +6 -6
  217. package/esm2020/lib/time-picker/time-picker.module.mjs +5 -5
  218. package/esm2020/lib/time-picker/time.utils.mjs +1 -1
  219. package/esm2020/lib/toast/toast/toast.component.mjs +3 -3
  220. package/esm2020/lib/toast/toast-body/toast-body.component.mjs +3 -3
  221. package/esm2020/lib/toast/toast-close.directive.mjs +3 -3
  222. package/esm2020/lib/toast/toast-header/toast-header.component.mjs +3 -3
  223. package/esm2020/lib/toast/toast.module.mjs +4 -4
  224. package/esm2020/lib/toast/toaster/toaster-host.directive.mjs +3 -3
  225. package/esm2020/lib/toast/toaster/toaster.component.mjs +3 -3
  226. package/esm2020/lib/toast/toaster/toaster.service.mjs +3 -3
  227. package/esm2020/lib/tooltip/tooltip/tooltip.component.mjs +3 -3
  228. package/esm2020/lib/tooltip/tooltip.directive.mjs +3 -3
  229. package/esm2020/lib/tooltip/tooltip.module.mjs +4 -4
  230. package/esm2020/lib/utilities/align.directive.mjs +3 -3
  231. package/esm2020/lib/utilities/bg-color.directive.mjs +3 -3
  232. package/esm2020/lib/utilities/border.directive.mjs +3 -3
  233. package/esm2020/lib/utilities/rounded.directive.mjs +3 -3
  234. package/esm2020/lib/utilities/text-color.directive.mjs +3 -3
  235. package/esm2020/lib/utilities/utilities.module.mjs +4 -4
  236. package/esm2020/lib/widget/widget-stat-a/widget-stat-a.component.mjs +3 -3
  237. package/esm2020/lib/widget/widget-stat-b/widget-stat-b.component.mjs +3 -3
  238. package/esm2020/lib/widget/widget-stat-c/widget-stat-c.component.mjs +3 -3
  239. package/esm2020/lib/widget/widget-stat-d/widget-stat-d.component.mjs +3 -3
  240. package/esm2020/lib/widget/widget-stat-e/widget-stat-e.component.mjs +3 -3
  241. package/esm2020/lib/widget/widget-stat-f/widget-stat-f.component.mjs +3 -3
  242. package/esm2020/lib/widget/widget.module.mjs +4 -4
  243. package/esm2020/public-api.mjs +2 -1
  244. package/fesm2015/coreui-angular-pro.mjs +947 -867
  245. package/fesm2015/coreui-angular-pro.mjs.map +1 -1
  246. package/fesm2020/coreui-angular-pro.mjs +944 -863
  247. package/fesm2020/coreui-angular-pro.mjs.map +1 -1
  248. package/lib/calendar/calendar-month/calendar-day-title.pipe.d.ts +7 -0
  249. package/lib/calendar/calendar.module.d.ts +4 -3
  250. package/lib/date-picker/date-picker.component.d.ts +16 -0
  251. package/lib/date-picker/date-picker.module.d.ts +16 -0
  252. package/lib/date-picker/index.d.ts +1 -0
  253. package/lib/date-picker/public_api.d.ts +3 -0
  254. package/lib/date-range-picker/date-range-picker/date-range-picker.component.d.ts +14 -35
  255. package/lib/date-range-picker/date-range-picker.module.d.ts +9 -11
  256. package/lib/date-range-picker/public_api.d.ts +1 -1
  257. package/package.json +1 -1
  258. package/public-api.d.ts +1 -0
  259. package/esm2020/lib/date-range-picker/end-date.directive.mjs +0 -17
  260. package/esm2020/lib/date-range-picker/start-date.directive.mjs +0 -17
  261. package/lib/date-range-picker/end-date.directive.d.ts +0 -8
  262. package/lib/date-range-picker/start-date.directive.d.ts +0 -8
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CalendarDayTitlePipe implements PipeTransform {
4
+ transform(date: Date, locale?: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDayTitlePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalendarDayTitlePipe, "calendarDayTitle", false>;
7
+ }
@@ -9,10 +9,11 @@ import * as i7 from "./calendar-navigation/calendar-navigation.component";
9
9
  import * as i8 from "./calendar-month/calendar-month.component";
10
10
  import * as i9 from "./calendar-month/calendar-day.pipe";
11
11
  import * as i10 from "./calendar-month/calendar-weekday.pipe";
12
- import * as i11 from "@angular/common";
13
- import * as i12 from "../button/button.module";
12
+ import * as i11 from "./calendar-month/calendar-day-title.pipe";
13
+ import * as i12 from "@angular/common";
14
+ import * as i13 from "../button/button.module";
14
15
  export declare class CalendarModule {
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<CalendarModule, [typeof i1.CalendarComponent, typeof i2.CalendarClassYearPipe, typeof i3.CalendarClassDayPipe, typeof i4.CalendarClassMonthPipe, typeof i5.CalendarDayDirective, typeof i6.CalendarClassViewPipe, typeof i7.CalendarNavigationComponent, typeof i8.CalendarMonthComponent, typeof i9.CalendarDayPipe, typeof i10.CalendarWeekdayPipe], [typeof i11.CommonModule, typeof i12.ButtonModule], [typeof i1.CalendarComponent, typeof i8.CalendarMonthComponent, typeof i7.CalendarNavigationComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CalendarModule, [typeof i1.CalendarComponent, typeof i2.CalendarClassYearPipe, typeof i3.CalendarClassDayPipe, typeof i4.CalendarClassMonthPipe, typeof i5.CalendarDayDirective, typeof i6.CalendarClassViewPipe, typeof i7.CalendarNavigationComponent, typeof i8.CalendarMonthComponent, typeof i9.CalendarDayPipe, typeof i10.CalendarWeekdayPipe, typeof i11.CalendarDayTitlePipe], [typeof i12.CommonModule, typeof i13.ButtonModule], [typeof i1.CalendarComponent, typeof i8.CalendarMonthComponent, typeof i7.CalendarNavigationComponent]>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<CalendarModule>;
18
19
  }
@@ -0,0 +1,16 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { BreakpointObserver } from '@angular/cdk/layout';
3
+ import { DateRangePickerComponent } from '../date-range-picker';
4
+ import * as i0 from "@angular/core";
5
+ export declare class DatePickerComponent extends DateRangePickerComponent {
6
+ constructor(breakpointObserver: BreakpointObserver);
7
+ get range(): boolean;
8
+ get calendars(): number;
9
+ readonly endDate: null;
10
+ placeholder: string;
11
+ set date(value: Date | null | undefined);
12
+ get date(): Date | null | undefined;
13
+ startDateChange: EventEmitter<Date | null>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "c-date-picker", ["cDatePicker"], { "placeholder": "placeholder"; "date": "date"; }, { "startDateChange": "dateChange"; }, never, ["*"], false>;
16
+ }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./date-picker.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../button/button.module";
6
+ import * as i5 from "../calendar/calendar.module";
7
+ import * as i6 from "../shared/shared.module";
8
+ import * as i7 from "../form/form.module";
9
+ import * as i8 from "../dropdown/dropdown.module";
10
+ import * as i9 from "../date-range-picker/date-range-picker.module";
11
+ import * as i10 from "../time-picker/time-picker.module";
12
+ export declare class DatePickerModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, [typeof i1.DatePickerComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.ButtonModule, typeof i5.CalendarModule, typeof i6.SharedModule, typeof i7.FormModule, typeof i8.DropdownModule, typeof i9.DateRangePickerModule, typeof i10.TimePickerModule], [typeof i1.DatePickerComponent]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<DatePickerModule>;
16
+ }
@@ -0,0 +1 @@
1
+ export * from './public_api';
@@ -0,0 +1,3 @@
1
+ export { ICalendarRanges } from '../date-range-picker/date-range-picker/date-range-picker.component';
2
+ export { DatePickerComponent } from './date-picker.component';
3
+ export { DatePickerModule } from './date-picker.module';
@@ -1,20 +1,18 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
3
3
  import { BooleanInput } from '@angular/cdk/coercion';
4
4
  import { BreakpointObserver } from '@angular/cdk/layout';
5
5
  import { Colors } from '../../coreui.types';
6
6
  import { CalendarComponent } from '../../calendar';
7
7
  import { DateFilterType, DayFormatType, WeekdayFormatType } from '../../calendar/calendar.service';
8
- import { StartDateDirective } from '../start-date.directive';
9
- import { EndDateDirective } from '../end-date.directive';
10
8
  import { TemplateIdDirective } from '../../shared';
11
9
  import * as i0 from "@angular/core";
12
- export interface ICalendarRange {
10
+ export interface ICalendarRanges {
13
11
  [key: string]: Date[];
14
12
  }
15
13
  export declare type TCustomRange = [string, Date[]];
16
14
  /** Must be a valid date string */
17
- export declare class DateRangePickerComponent implements OnInit, OnDestroy, ControlValueAccessor, AfterViewInit {
15
+ export declare class DateRangePickerComponent implements OnInit, OnDestroy, ControlValueAccessor, AfterViewInit, OnChanges {
18
16
  private breakpointObserver;
19
17
  static ngAcceptInputType_disabled: BooleanInput;
20
18
  static ngAcceptInputType_navYearFirst: BooleanInput;
@@ -77,7 +75,7 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
77
75
  placeholder: string | string[];
78
76
  /**
79
77
  * Predefined date ranges the user can select from.
80
- * @type ICalendarRange
78
+ * @type ICalendarRanges
81
79
  */
82
80
  ranges?: object;
83
81
  /**
@@ -118,29 +116,6 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
118
116
  set timepicker(value: boolean);
119
117
  get timepicker(): boolean;
120
118
  private _timepicker;
121
- /**
122
- * Toggle visibility or set the content of today button.
123
- * @type string
124
- * @default 'Today'
125
- */
126
- todayButton: string;
127
- /**
128
- * Sets the color context of the today button to one of CoreUI’s themed colors.
129
- * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
130
- * @default 'primary'
131
- */
132
- todayButtonColor: Colors;
133
- /**
134
- * Size the today button small or large.
135
- * @type 'sm' | 'lg'
136
- * @default 'sm'
137
- */
138
- todayButtonSize: 'sm' | 'lg';
139
- /**
140
- * Set the today button variant to an outlined button or a ghost button.
141
- * @type 'outline' | 'ghost' | undefined
142
- */
143
- todayButtonVariant?: 'outline' | 'ghost';
144
119
  /**
145
120
  * Toggle the visibility of the component.
146
121
  * @type boolean
@@ -189,8 +164,8 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
189
164
  endDateChange: EventEmitter<Date | null>;
190
165
  startDateChange: EventEmitter<Date | null>;
191
166
  calendarComponent: CalendarComponent;
192
- startDateDirective: StartDateDirective;
193
- endDateDirective: EndDateDirective;
167
+ startDateElementRef: ElementRef<HTMLInputElement>;
168
+ endDateElementRef: ElementRef<HTMLInputElement>;
194
169
  templates: any;
195
170
  contentTemplates: QueryList<TemplateIdDirective>;
196
171
  onBlur(): void;
@@ -202,8 +177,8 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
202
177
  set endDateValue(value: string);
203
178
  get endDateValue(): string;
204
179
  _endDateValue: string;
205
- startDatePlaceholder: string;
206
- endDatePlaceholder: string;
180
+ get startDatePlaceholder(): string;
181
+ get endDatePlaceholder(): string;
207
182
  private layoutChanges;
208
183
  startDateInput: FormControl<string | null>;
209
184
  endDateInput: FormControl<string | null>;
@@ -214,9 +189,11 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
214
189
  set inputEndHoverValue(value: Date | null);
215
190
  get inputEndHoverValue(): Date | null;
216
191
  private _inputEndHoverValue;
192
+ formatDate(date: Date): string;
217
193
  ngOnInit(): void;
218
194
  ngOnDestroy(): void;
219
195
  ngAfterViewInit(): void;
196
+ ngOnChanges(changes: SimpleChanges): void;
220
197
  getCustomRangeKey(customRange: any): any;
221
198
  setCustomRange(customRange: any): void;
222
199
  handleCalendarCellHover($event: Date | null): void;
@@ -226,7 +203,7 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
226
203
  handleClear($event: MouseEvent): void;
227
204
  handleStartDateInputChange($event: any): void;
228
205
  handleEndDateInputChange($event: any): void;
229
- forbiddenDate(date: Date): boolean | undefined;
206
+ forbiddenDate(date: Date): boolean;
230
207
  setInputValue: (elementRef: ElementRef, date: Date | null) => void;
231
208
  onChange: any;
232
209
  onTouched: any;
@@ -234,6 +211,8 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
234
211
  registerOnTouched(fn: any): void;
235
212
  setDisabledState(isDisabled: boolean): void;
236
213
  writeValue(value: (Date[])): void;
214
+ handleStartTimeChange(time: Date | undefined): void;
215
+ handleEndTimeChange(time: Date | undefined): void;
237
216
  static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
238
- static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "c-date-range-picker", ["cDateRangePicker"], { "dayFormat": "dayFormat"; "calendars": "calendars"; "cleaner": "cleaner"; "format": "format"; "indicator": "indicator"; "inputReadOnly": "inputReadOnly"; "navYearFirst": "navYearFirst"; "placeholder": "placeholder"; "ranges": "ranges"; "rangesButtonsColor": "rangesButtonsColor"; "rangesButtonsSize": "rangesButtonsSize"; "rangesButtonsVariant": "rangesButtonsVariant"; "separator": "separator"; "size": "size"; "timepicker": "timepicker"; "todayButton": "todayButton"; "todayButtonColor": "todayButtonColor"; "todayButtonSize": "todayButtonSize"; "todayButtonVariant": "todayButtonVariant"; "visible": "visible"; "startDate": "startDate"; "endDate": "endDate"; "calendarDate": "calendarDate"; "disabledDates": "disabledDates"; "firstDayOfWeek": "firstDayOfWeek"; "locale": "locale"; "maxDate": "maxDate"; "minDate": "minDate"; "navigation": "navigation"; "range": "range"; "dateFilter": "dateFilter"; "disabled": "disabled"; "value": "value"; "weekdayFormat": "weekdayFormat"; }, { "valueChange": "valueChange"; "calendarCellHover": "calendarCellHover"; "calendarDateChange": "calendarDateChange"; "endDateChange": "endDateChange"; "startDateChange": "startDateChange"; }, ["contentTemplates"], ["*"], false>;
217
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "c-date-range-picker", ["cDateRangePicker"], { "dayFormat": "dayFormat"; "calendars": "calendars"; "cleaner": "cleaner"; "format": "format"; "indicator": "indicator"; "inputReadOnly": "inputReadOnly"; "navYearFirst": "navYearFirst"; "placeholder": "placeholder"; "ranges": "ranges"; "rangesButtonsColor": "rangesButtonsColor"; "rangesButtonsSize": "rangesButtonsSize"; "rangesButtonsVariant": "rangesButtonsVariant"; "separator": "separator"; "size": "size"; "timepicker": "timepicker"; "visible": "visible"; "startDate": "startDate"; "endDate": "endDate"; "calendarDate": "calendarDate"; "disabledDates": "disabledDates"; "firstDayOfWeek": "firstDayOfWeek"; "locale": "locale"; "maxDate": "maxDate"; "minDate": "minDate"; "navigation": "navigation"; "range": "range"; "dateFilter": "dateFilter"; "disabled": "disabled"; "value": "value"; "weekdayFormat": "weekdayFormat"; }, { "valueChange": "valueChange"; "calendarCellHover": "calendarCellHover"; "calendarDateChange": "calendarDateChange"; "endDateChange": "endDateChange"; "startDateChange": "startDateChange"; }, ["contentTemplates"], ["*"], false>;
239
218
  }
@@ -1,17 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./date-range-picker/date-range-picker.component";
3
- import * as i2 from "./start-date.directive";
4
- import * as i3 from "./end-date.directive";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/forms";
7
- import * as i6 from "../button/button.module";
8
- import * as i7 from "../calendar/calendar.module";
9
- import * as i8 from "../shared/shared.module";
10
- import * as i9 from "../form/form.module";
11
- import * as i10 from "../dropdown/dropdown.module";
12
- import * as i11 from "../time-picker/time-picker.module";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../button/button.module";
6
+ import * as i5 from "../calendar/calendar.module";
7
+ import * as i6 from "../shared/shared.module";
8
+ import * as i7 from "../form/form.module";
9
+ import * as i8 from "../dropdown/dropdown.module";
10
+ import * as i9 from "../time-picker/time-picker.module";
13
11
  export declare class DateRangePickerModule {
14
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<DateRangePickerModule, [typeof i1.DateRangePickerComponent, typeof i2.StartDateDirective, typeof i3.EndDateDirective], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.ButtonModule, typeof i7.CalendarModule, typeof i8.SharedModule, typeof i9.FormModule, typeof i10.DropdownModule, typeof i11.TimePickerModule], [typeof i1.DateRangePickerComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DateRangePickerModule, [typeof i1.DateRangePickerComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.ButtonModule, typeof i5.CalendarModule, typeof i6.SharedModule, typeof i7.FormModule, typeof i8.DropdownModule, typeof i9.TimePickerModule], [typeof i1.DateRangePickerComponent]>;
16
14
  static ɵinj: i0.ɵɵInjectorDeclaration<DateRangePickerModule>;
17
15
  }
@@ -1,2 +1,2 @@
1
- export { DateRangePickerComponent, ICalendarRange } from './date-range-picker/date-range-picker.component';
1
+ export { DateRangePickerComponent, ICalendarRanges } from './date-range-picker/date-range-picker.component';
2
2
  export { DateRangePickerModule } from './date-range-picker.module';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "4.2.0-next.2",
3
+ "version": "4.2.0-next.5",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
5
  "homepage": "https://coreui.io/angular",
6
6
  "author": {
package/public-api.d.ts CHANGED
@@ -12,6 +12,7 @@ export * from './lib/callout';
12
12
  export * from './lib/card';
13
13
  export * from './lib/carousel';
14
14
  export * from './lib/collapse';
15
+ export * from './lib/date-picker';
15
16
  export * from './lib/date-range-picker';
16
17
  export * from './lib/dropdown';
17
18
  export * from './lib/element-cover';
@@ -1,17 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class EndDateDirective {
4
- constructor(elementRef) {
5
- this.elementRef = elementRef;
6
- }
7
- }
8
- EndDateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EndDateDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
9
- EndDateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.1", type: EndDateDirective, selector: "[cEndDate]", exportAs: ["cEndDate"], ngImport: i0 });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EndDateDirective, decorators: [{
11
- type: Directive,
12
- args: [{
13
- selector: '[cEndDate]',
14
- exportAs: 'cEndDate'
15
- }]
16
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5kLWRhdGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZXVpLWFuZ3VsYXIvc3JjL2xpYi9kYXRlLXJhbmdlLXBpY2tlci9lbmQtZGF0ZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxNQUFNLGVBQWUsQ0FBQzs7QUFNdEQsTUFBTSxPQUFPLGdCQUFnQjtJQUUzQixZQUNTLFVBQXNCO1FBQXRCLGVBQVUsR0FBVixVQUFVLENBQVk7SUFDM0IsQ0FBQzs7NkdBSk0sZ0JBQWdCO2lHQUFoQixnQkFBZ0I7MkZBQWhCLGdCQUFnQjtrQkFKNUIsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsWUFBWTtvQkFDdEIsUUFBUSxFQUFFLFVBQVU7aUJBQ3JCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlLCBFbGVtZW50UmVmIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5ARGlyZWN0aXZlKHtcclxuICBzZWxlY3RvcjogJ1tjRW5kRGF0ZV0nLFxyXG4gIGV4cG9ydEFzOiAnY0VuZERhdGUnXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBFbmREYXRlRGlyZWN0aXZlIHtcclxuXHJcbiAgY29uc3RydWN0b3IoXHJcbiAgICBwdWJsaWMgZWxlbWVudFJlZjogRWxlbWVudFJlZlxyXG4gICkgeyB9XHJcblxyXG59XHJcbiJdfQ==
@@ -1,17 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class StartDateDirective {
4
- constructor(elementRef) {
5
- this.elementRef = elementRef;
6
- }
7
- }
8
- StartDateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: StartDateDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
9
- StartDateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.1", type: StartDateDirective, selector: "[cStartDate]", exportAs: ["cStartDate"], ngImport: i0 });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: StartDateDirective, decorators: [{
11
- type: Directive,
12
- args: [{
13
- selector: '[cStartDate]',
14
- exportAs: 'cStartDate'
15
- }]
16
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhcnQtZGF0ZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JldWktYW5ndWxhci9zcmMvbGliL2RhdGUtcmFuZ2UtcGlja2VyL3N0YXJ0LWRhdGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWMsTUFBTSxlQUFlLENBQUM7O0FBTXRELE1BQU0sT0FBTyxrQkFBa0I7SUFFN0IsWUFDUyxVQUFzQjtRQUF0QixlQUFVLEdBQVYsVUFBVSxDQUFZO0lBQzNCLENBQUM7OytHQUpNLGtCQUFrQjttR0FBbEIsa0JBQWtCOzJGQUFsQixrQkFBa0I7a0JBSjlCLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLGNBQWM7b0JBQ3hCLFFBQVEsRUFBRSxZQUFZO2lCQUN2QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgRWxlbWVudFJlZiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQERpcmVjdGl2ZSh7XHJcbiAgc2VsZWN0b3I6ICdbY1N0YXJ0RGF0ZV0nLFxyXG4gIGV4cG9ydEFzOiAnY1N0YXJ0RGF0ZSdcclxufSlcclxuZXhwb3J0IGNsYXNzIFN0YXJ0RGF0ZURpcmVjdGl2ZSB7XHJcblxyXG4gIGNvbnN0cnVjdG9yKFxyXG4gICAgcHVibGljIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWZcclxuICApIHsgfVxyXG5cclxufVxyXG4iXX0=
@@ -1,8 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class EndDateDirective {
4
- elementRef: ElementRef;
5
- constructor(elementRef: ElementRef);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<EndDateDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<EndDateDirective, "[cEndDate]", ["cEndDate"], {}, {}, never, never, false>;
8
- }
@@ -1,8 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class StartDateDirective {
4
- elementRef: ElementRef;
5
- constructor(elementRef: ElementRef);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<StartDateDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<StartDateDirective, "[cStartDate]", ["cStartDate"], {}, {}, never, never, false>;
8
- }