@coreui/angular-pro 4.2.0-next.0 → 4.2.0-next.3

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 (258) 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 +3 -3
  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.directive.mjs +6 -6
  32. package/esm2020/lib/calendar/calendar-month/calendar-day.pipe.mjs +3 -3
  33. package/esm2020/lib/calendar/calendar-month/calendar-month.component.mjs +3 -3
  34. package/esm2020/lib/calendar/calendar-month/calendar-weekday.pipe.mjs +3 -3
  35. package/esm2020/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +3 -3
  36. package/esm2020/lib/calendar/calendar.module.mjs +4 -4
  37. package/esm2020/lib/calendar/calendar.service.mjs +3 -3
  38. package/esm2020/lib/calendar/calendar.utils.mjs +6 -4
  39. package/esm2020/lib/callout/callout.component.mjs +3 -3
  40. package/esm2020/lib/callout/callout.module.mjs +4 -4
  41. package/esm2020/lib/card/card-body.component.mjs +3 -3
  42. package/esm2020/lib/card/card-footer.component.mjs +3 -3
  43. package/esm2020/lib/card/card-group.component.mjs +3 -3
  44. package/esm2020/lib/card/card-header-actions.component.mjs +3 -3
  45. package/esm2020/lib/card/card-header.component.mjs +3 -3
  46. package/esm2020/lib/card/card-img-overlay/card-img-overlay.component.mjs +3 -3
  47. package/esm2020/lib/card/card-img.directive.mjs +3 -3
  48. package/esm2020/lib/card/card-link.directive.mjs +3 -3
  49. package/esm2020/lib/card/card-subtitle.directive.mjs +3 -3
  50. package/esm2020/lib/card/card-text.directive.mjs +3 -3
  51. package/esm2020/lib/card/card-title.directive.mjs +3 -3
  52. package/esm2020/lib/card/card.component.mjs +3 -3
  53. package/esm2020/lib/card/card.module.mjs +4 -4
  54. package/esm2020/lib/carousel/carousel/carousel.component.mjs +3 -3
  55. package/esm2020/lib/carousel/carousel-caption/carousel-caption.component.mjs +3 -3
  56. package/esm2020/lib/carousel/carousel-control/carousel-control.component.mjs +3 -3
  57. package/esm2020/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +3 -3
  58. package/esm2020/lib/carousel/carousel-inner/carousel-inner.component.mjs +3 -3
  59. package/esm2020/lib/carousel/carousel-item/carousel-item.component.mjs +3 -3
  60. package/esm2020/lib/carousel/carousel-state.mjs +3 -3
  61. package/esm2020/lib/carousel/carousel.config.mjs +3 -3
  62. package/esm2020/lib/carousel/carousel.module.mjs +4 -4
  63. package/esm2020/lib/carousel/carousel.service.mjs +3 -3
  64. package/esm2020/lib/collapse/collapse.directive.mjs +3 -3
  65. package/esm2020/lib/collapse/collapse.module.mjs +4 -4
  66. package/esm2020/lib/date-picker/date-picker.component.mjs +49 -0
  67. package/esm2020/lib/date-picker/date-picker.module.mjs +59 -0
  68. package/esm2020/lib/date-picker/index.mjs +2 -0
  69. package/esm2020/lib/date-picker/public_api.mjs +3 -0
  70. package/esm2020/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +48 -14
  71. package/esm2020/lib/date-range-picker/date-range-picker.module.mjs +12 -8
  72. package/esm2020/lib/date-range-picker/end-date.directive.mjs +3 -3
  73. package/esm2020/lib/date-range-picker/public_api.mjs +1 -1
  74. package/esm2020/lib/date-range-picker/start-date.directive.mjs +3 -3
  75. package/esm2020/lib/dropdown/dropdown/dropdown.component.mjs +6 -6
  76. package/esm2020/lib/dropdown/dropdown-close/dropdown-close.directive.mjs +3 -3
  77. package/esm2020/lib/dropdown/dropdown-divider/dropdown-divider.directive.mjs +3 -3
  78. package/esm2020/lib/dropdown/dropdown-header/dropdown-header.directive.mjs +3 -3
  79. package/esm2020/lib/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +3 -3
  80. package/esm2020/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +3 -3
  81. package/esm2020/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +3 -3
  82. package/esm2020/lib/dropdown/dropdown.module.mjs +4 -4
  83. package/esm2020/lib/dropdown/dropdown.service.mjs +3 -3
  84. package/esm2020/lib/element-cover/element-cover.component.mjs +3 -3
  85. package/esm2020/lib/element-cover/element-cover.module.mjs +4 -4
  86. package/esm2020/lib/footer/footer.component.mjs +3 -3
  87. package/esm2020/lib/footer/footer.module.mjs +4 -4
  88. package/esm2020/lib/form/form/form.directive.mjs +3 -3
  89. package/esm2020/lib/form/form-check/form-check-input.directive.mjs +3 -3
  90. package/esm2020/lib/form/form-check/form-check-label.directive.mjs +3 -3
  91. package/esm2020/lib/form/form-check/form-check.component.mjs +3 -3
  92. package/esm2020/lib/form/form-control/form-control.directive.mjs +3 -3
  93. package/esm2020/lib/form/form-feedback/form-feedback.component.mjs +3 -3
  94. package/esm2020/lib/form/form-floating/form-floating.directive.mjs +3 -3
  95. package/esm2020/lib/form/form-label/form-label.directive.mjs +3 -3
  96. package/esm2020/lib/form/form-select/form-select.directive.mjs +3 -3
  97. package/esm2020/lib/form/form-text/form-text.directive.mjs +3 -3
  98. package/esm2020/lib/form/form.module.mjs +4 -4
  99. package/esm2020/lib/form/input-group/input-group.component.mjs +3 -3
  100. package/esm2020/lib/form/input-group-text/input-group-text.directive.mjs +3 -3
  101. package/esm2020/lib/grid/col.component.mjs +3 -3
  102. package/esm2020/lib/grid/col.directive.mjs +3 -3
  103. package/esm2020/lib/grid/container.component.mjs +3 -3
  104. package/esm2020/lib/grid/grid.module.mjs +4 -4
  105. package/esm2020/lib/grid/gutter.directive.mjs +3 -3
  106. package/esm2020/lib/grid/row.component.mjs +3 -3
  107. package/esm2020/lib/grid/row.directive.mjs +3 -3
  108. package/esm2020/lib/header/header/header.component.mjs +3 -3
  109. package/esm2020/lib/header/header-brand/header-brand.component.mjs +3 -3
  110. package/esm2020/lib/header/header-divider/header-divider.component.mjs +3 -3
  111. package/esm2020/lib/header/header-nav/header-nav.component.mjs +3 -3
  112. package/esm2020/lib/header/header-text/header-text.component.mjs +3 -3
  113. package/esm2020/lib/header/header-toggler/header-toggler.directive.mjs +3 -3
  114. package/esm2020/lib/header/header.module.mjs +4 -4
  115. package/esm2020/lib/image/img.directive.mjs +3 -3
  116. package/esm2020/lib/image/img.module.mjs +4 -4
  117. package/esm2020/lib/list-group/list-group-item.directive.mjs +3 -3
  118. package/esm2020/lib/list-group/list-group.directive.mjs +3 -3
  119. package/esm2020/lib/list-group/list-group.module.mjs +4 -4
  120. package/esm2020/lib/loading-button/loading-button.component.mjs +3 -3
  121. package/esm2020/lib/loading-button/loading-button.module.mjs +4 -4
  122. package/esm2020/lib/modal/modal/modal.component.mjs +3 -3
  123. package/esm2020/lib/modal/modal-body/modal-body.component.mjs +3 -3
  124. package/esm2020/lib/modal/modal-content/modal-content.component.mjs +3 -3
  125. package/esm2020/lib/modal/modal-dialog/modal-dialog.component.mjs +3 -3
  126. package/esm2020/lib/modal/modal-dismiss/modal-toggle.directive.mjs +3 -3
  127. package/esm2020/lib/modal/modal-footer/modal-footer.component.mjs +3 -3
  128. package/esm2020/lib/modal/modal-header/modal-header.component.mjs +3 -3
  129. package/esm2020/lib/modal/modal-title/modal-title.directive.mjs +3 -3
  130. package/esm2020/lib/modal/modal.module.mjs +4 -4
  131. package/esm2020/lib/modal/modal.service.mjs +3 -3
  132. package/esm2020/lib/multi-select/multi-select/multi-select.component.mjs +3 -3
  133. package/esm2020/lib/multi-select/multi-select-native-select/multi-select-native-select.component.mjs +3 -3
  134. package/esm2020/lib/multi-select/multi-select-optgroup/multi-select-optgroup-label.component.mjs +3 -3
  135. package/esm2020/lib/multi-select/multi-select-optgroup/multi-select-optgroup.component.mjs +3 -3
  136. package/esm2020/lib/multi-select/multi-select-option/multi-select-option.component.mjs +3 -3
  137. package/esm2020/lib/multi-select/multi-select-tag/multi-select-tag.component.mjs +3 -3
  138. package/esm2020/lib/multi-select/multi-select.module.mjs +4 -4
  139. package/esm2020/lib/multi-select/multi-select.service.mjs +3 -3
  140. package/esm2020/lib/nav/nav-item.component.mjs +3 -3
  141. package/esm2020/lib/nav/nav-link.directive.mjs +3 -3
  142. package/esm2020/lib/nav/nav.component.mjs +3 -3
  143. package/esm2020/lib/nav/nav.module.mjs +4 -4
  144. package/esm2020/lib/navbar/navbar-brand/navbar-brand.directive.mjs +3 -3
  145. package/esm2020/lib/navbar/navbar-nav/navbar-nav.component.mjs +3 -3
  146. package/esm2020/lib/navbar/navbar-text/navbar-text.component.mjs +3 -3
  147. package/esm2020/lib/navbar/navbar-toggler/navbar-toggler.directive.mjs +3 -3
  148. package/esm2020/lib/navbar/navbar.component.mjs +3 -3
  149. package/esm2020/lib/navbar/navbar.module.mjs +4 -4
  150. package/esm2020/lib/offcanvas/offcanvas/offcanvas.component.mjs +3 -3
  151. package/esm2020/lib/offcanvas/offcanvas-body/offcanvas-body.component.mjs +3 -3
  152. package/esm2020/lib/offcanvas/offcanvas-header/offcanvas-header.component.mjs +3 -3
  153. package/esm2020/lib/offcanvas/offcanvas-title/offcanvas-title.directive.mjs +3 -3
  154. package/esm2020/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.mjs +3 -3
  155. package/esm2020/lib/offcanvas/offcanvas.module.mjs +4 -4
  156. package/esm2020/lib/offcanvas/offcanvas.service.mjs +3 -3
  157. package/esm2020/lib/pagination/page-item/page-item.component.mjs +3 -3
  158. package/esm2020/lib/pagination/page-item/page-item.directive.mjs +3 -3
  159. package/esm2020/lib/pagination/page-link/page-link.directive.mjs +3 -3
  160. package/esm2020/lib/pagination/pagination/pagination.component.mjs +3 -3
  161. package/esm2020/lib/pagination/pagination.module.mjs +4 -4
  162. package/esm2020/lib/placeholder/placeholder-animation.directive.mjs +3 -3
  163. package/esm2020/lib/placeholder/placeholder.directive.mjs +3 -3
  164. package/esm2020/lib/placeholder/placeholder.module.mjs +4 -4
  165. package/esm2020/lib/popover/popover/popover.component.mjs +3 -3
  166. package/esm2020/lib/popover/popover.directive.mjs +3 -3
  167. package/esm2020/lib/popover/popover.module.mjs +4 -4
  168. package/esm2020/lib/progress/progress-bar.component.mjs +3 -3
  169. package/esm2020/lib/progress/progress.component.mjs +3 -3
  170. package/esm2020/lib/progress/progress.module.mjs +4 -4
  171. package/esm2020/lib/services/class-toggle.service.mjs +3 -3
  172. package/esm2020/lib/services/intersection.service.mjs +3 -3
  173. package/esm2020/lib/services/listeners.service.mjs +3 -3
  174. package/esm2020/lib/shared/html-attr.directive.mjs +3 -3
  175. package/esm2020/lib/shared/shared.module.mjs +4 -4
  176. package/esm2020/lib/shared/template-id.directive.mjs +3 -3
  177. package/esm2020/lib/sidebar/sidebar/sidebar.component.mjs +3 -3
  178. package/esm2020/lib/sidebar/sidebar-backdrop/sidebar-backdrop.service.mjs +3 -3
  179. package/esm2020/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +3 -3
  180. package/esm2020/lib/sidebar/sidebar-footer/sidebar-footer.component.mjs +3 -3
  181. package/esm2020/lib/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
  182. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-badge.pipe.mjs +3 -3
  183. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-divider.component.mjs +3 -3
  184. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-icon.pipe.mjs +3 -3
  185. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-item-class.pipe.mjs +3 -3
  186. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +3 -3
  187. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +6 -6
  188. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.pipe.mjs +3 -3
  189. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-title.component.mjs +3 -3
  190. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +6 -6
  191. package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.service.mjs +6 -6
  192. package/esm2020/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.mjs +3 -3
  193. package/esm2020/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +3 -3
  194. package/esm2020/lib/sidebar/sidebar.module.mjs +4 -4
  195. package/esm2020/lib/sidebar/sidebar.service.mjs +3 -3
  196. package/esm2020/lib/smart-pagination/smart-pagination.component.mjs +3 -3
  197. package/esm2020/lib/smart-pagination/smart-pagination.module.mjs +4 -4
  198. package/esm2020/lib/smart-table/smart-table/smart-table.component.mjs +3 -3
  199. package/esm2020/lib/smart-table/smart-table-filter/smart-table-filter.component.mjs +3 -3
  200. package/esm2020/lib/smart-table/smart-table-head/smart-table-head.component.mjs +3 -3
  201. package/esm2020/lib/smart-table/smart-table-items-per-page-selector/smart-table-items-per-page-selector.component.mjs +3 -3
  202. package/esm2020/lib/smart-table/smart-table.module.mjs +4 -4
  203. package/esm2020/lib/spinner/spinner.component.mjs +3 -3
  204. package/esm2020/lib/spinner/spinner.module.mjs +4 -4
  205. package/esm2020/lib/table/table-active.directive.mjs +3 -3
  206. package/esm2020/lib/table/table-color.directive.mjs +3 -3
  207. package/esm2020/lib/table/table.directive.mjs +3 -3
  208. package/esm2020/lib/table/table.module.mjs +4 -4
  209. package/esm2020/lib/tabs/tab-content/tab-content.component.mjs +3 -3
  210. package/esm2020/lib/tabs/tab-content-ref.directive.mjs +3 -3
  211. package/esm2020/lib/tabs/tab-pane/tab-pane.component.mjs +3 -3
  212. package/esm2020/lib/tabs/tab.service.mjs +3 -3
  213. package/esm2020/lib/tabs/tabs.module.mjs +4 -4
  214. package/esm2020/lib/time-picker/public_api.mjs +1 -1
  215. package/esm2020/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +7 -7
  216. package/esm2020/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +7 -7
  217. package/esm2020/lib/time-picker/time-picker.component.mjs +42 -18
  218. package/esm2020/lib/time-picker/time-picker.module.mjs +5 -5
  219. package/esm2020/lib/time-picker/time.utils.mjs +1 -1
  220. package/esm2020/lib/toast/toast/toast.component.mjs +3 -3
  221. package/esm2020/lib/toast/toast-body/toast-body.component.mjs +3 -3
  222. package/esm2020/lib/toast/toast-close.directive.mjs +3 -3
  223. package/esm2020/lib/toast/toast-header/toast-header.component.mjs +3 -3
  224. package/esm2020/lib/toast/toast.module.mjs +4 -4
  225. package/esm2020/lib/toast/toaster/toaster-host.directive.mjs +3 -3
  226. package/esm2020/lib/toast/toaster/toaster.component.mjs +3 -3
  227. package/esm2020/lib/toast/toaster/toaster.service.mjs +3 -3
  228. package/esm2020/lib/tooltip/tooltip/tooltip.component.mjs +3 -3
  229. package/esm2020/lib/tooltip/tooltip.directive.mjs +3 -3
  230. package/esm2020/lib/tooltip/tooltip.module.mjs +4 -4
  231. package/esm2020/lib/utilities/align.directive.mjs +3 -3
  232. package/esm2020/lib/utilities/bg-color.directive.mjs +3 -3
  233. package/esm2020/lib/utilities/border.directive.mjs +3 -3
  234. package/esm2020/lib/utilities/rounded.directive.mjs +3 -3
  235. package/esm2020/lib/utilities/text-color.directive.mjs +3 -3
  236. package/esm2020/lib/utilities/utilities.module.mjs +4 -4
  237. package/esm2020/lib/widget/widget-stat-a/widget-stat-a.component.mjs +3 -3
  238. package/esm2020/lib/widget/widget-stat-b/widget-stat-b.component.mjs +3 -3
  239. package/esm2020/lib/widget/widget-stat-c/widget-stat-c.component.mjs +3 -3
  240. package/esm2020/lib/widget/widget-stat-d/widget-stat-d.component.mjs +3 -3
  241. package/esm2020/lib/widget/widget-stat-e/widget-stat-e.component.mjs +3 -3
  242. package/esm2020/lib/widget/widget-stat-f/widget-stat-f.component.mjs +3 -3
  243. package/esm2020/lib/widget/widget.module.mjs +4 -4
  244. package/esm2020/public-api.mjs +2 -1
  245. package/fesm2015/coreui-angular-pro.mjs +9199 -9058
  246. package/fesm2015/coreui-angular-pro.mjs.map +1 -1
  247. package/fesm2020/coreui-angular-pro.mjs +9142 -9001
  248. package/fesm2020/coreui-angular-pro.mjs.map +1 -1
  249. package/lib/date-picker/date-picker.component.d.ts +16 -0
  250. package/lib/date-picker/date-picker.module.d.ts +16 -0
  251. package/lib/date-picker/index.d.ts +1 -0
  252. package/lib/date-picker/public_api.d.ts +3 -0
  253. package/lib/date-range-picker/date-range-picker/date-range-picker.component.d.ts +15 -8
  254. package/lib/date-range-picker/date-range-picker.module.d.ts +2 -1
  255. package/lib/date-range-picker/public_api.d.ts +1 -1
  256. package/lib/time-picker/time-picker.component.d.ts +17 -3
  257. package/package.json +1 -1
  258. package/public-api.d.ts +1 -0
@@ -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,4 +1,4 @@
1
- import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } 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';
@@ -7,13 +7,14 @@ import { CalendarComponent } from '../../calendar';
7
7
  import { DateFilterType, DayFormatType, WeekdayFormatType } from '../../calendar/calendar.service';
8
8
  import { StartDateDirective } from '../start-date.directive';
9
9
  import { EndDateDirective } from '../end-date.directive';
10
+ import { TemplateIdDirective } from '../../shared';
10
11
  import * as i0 from "@angular/core";
11
- export interface ICalendarRange {
12
+ export interface ICalendarRanges {
12
13
  [key: string]: Date[];
13
14
  }
14
15
  export declare type TCustomRange = [string, Date[]];
15
16
  /** Must be a valid date string */
16
- export declare class DateRangePickerComponent implements OnInit, OnDestroy, ControlValueAccessor {
17
+ export declare class DateRangePickerComponent implements OnInit, OnDestroy, ControlValueAccessor, AfterViewInit {
17
18
  private breakpointObserver;
18
19
  static ngAcceptInputType_disabled: BooleanInput;
19
20
  static ngAcceptInputType_navYearFirst: BooleanInput;
@@ -76,7 +77,7 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
76
77
  placeholder: string | string[];
77
78
  /**
78
79
  * Predefined date ranges the user can select from.
79
- * @type ICalendarRange
80
+ * @type ICalendarRanges
80
81
  */
81
82
  ranges?: object;
82
83
  /**
@@ -190,6 +191,8 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
190
191
  calendarComponent: CalendarComponent;
191
192
  startDateDirective: StartDateDirective;
192
193
  endDateDirective: EndDateDirective;
194
+ templates: any;
195
+ contentTemplates: QueryList<TemplateIdDirective>;
193
196
  onBlur(): void;
194
197
  isMobile: boolean;
195
198
  customRanges: TCustomRange[];
@@ -199,8 +202,8 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
199
202
  set endDateValue(value: string);
200
203
  get endDateValue(): string;
201
204
  _endDateValue: string;
202
- startDatePlaceholder: string;
203
- endDatePlaceholder: string;
205
+ get startDatePlaceholder(): string;
206
+ get endDatePlaceholder(): string;
204
207
  private layoutChanges;
205
208
  startDateInput: FormControl<string | null>;
206
209
  endDateInput: FormControl<string | null>;
@@ -211,8 +214,10 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
211
214
  set inputEndHoverValue(value: Date | null);
212
215
  get inputEndHoverValue(): Date | null;
213
216
  private _inputEndHoverValue;
217
+ formatDate(date: Date): string;
214
218
  ngOnInit(): void;
215
219
  ngOnDestroy(): void;
220
+ ngAfterViewInit(): void;
216
221
  getCustomRangeKey(customRange: any): any;
217
222
  setCustomRange(customRange: any): void;
218
223
  handleCalendarCellHover($event: Date | null): void;
@@ -222,7 +227,7 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
222
227
  handleClear($event: MouseEvent): void;
223
228
  handleStartDateInputChange($event: any): void;
224
229
  handleEndDateInputChange($event: any): void;
225
- forbiddenDate(date: Date): boolean | undefined;
230
+ forbiddenDate(date: Date): boolean;
226
231
  setInputValue: (elementRef: ElementRef, date: Date | null) => void;
227
232
  onChange: any;
228
233
  onTouched: any;
@@ -230,6 +235,8 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
230
235
  registerOnTouched(fn: any): void;
231
236
  setDisabledState(isDisabled: boolean): void;
232
237
  writeValue(value: (Date[])): void;
238
+ handleStartTimeChange(time: Date | undefined): void;
239
+ handleEndTimeChange(time: Date | undefined): void;
233
240
  static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
234
- 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"; }, never, ["*"], false>;
241
+ 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>;
235
242
  }
@@ -9,8 +9,9 @@ import * as i7 from "../calendar/calendar.module";
9
9
  import * as i8 from "../shared/shared.module";
10
10
  import * as i9 from "../form/form.module";
11
11
  import * as i10 from "../dropdown/dropdown.module";
12
+ import * as i11 from "../time-picker/time-picker.module";
12
13
  export declare class DateRangePickerModule {
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerModule, never>;
14
- 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 i1.DateRangePickerComponent]>;
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]>;
15
16
  static ɵinj: i0.ɵɵInjectorDeclaration<DateRangePickerModule>;
16
17
  }
@@ -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';
@@ -1,15 +1,17 @@
1
- import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
3
3
  import { BooleanInput } from '@angular/cdk/coercion';
4
+ import { TemplateIdDirective } from '../shared';
4
5
  import { DateTimeFormatOptions, DayPeriod, ITimeValue } from './time.utils';
5
6
  import * as i0 from "@angular/core";
6
- export declare class TimePickerComponent implements OnChanges, OnInit, ControlValueAccessor {
7
+ export declare class TimePickerComponent implements OnChanges, OnInit, ControlValueAccessor, AfterViewInit {
7
8
  constructor();
8
9
  static ngAcceptInputType_cleaner: BooleanInput;
9
10
  static ngAcceptInputType_disabled: BooleanInput;
10
11
  static ngAcceptInputType_indicator: BooleanInput;
11
12
  static ngAcceptInputType_inputReadOnly: BooleanInput;
12
13
  static ngAcceptInputType_seconds: BooleanInput;
14
+ static ngAcceptInputType_visible: BooleanInput;
13
15
  /**
14
16
  * Toggle visibility or set the content of the cleaner button.
15
17
  * @type boolean
@@ -108,8 +110,19 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
108
110
  * @default 'roll'
109
111
  */
110
112
  variant: 'roll' | 'select';
113
+ /**
114
+ * Toggle the visibility of dropdown menu component.
115
+ * @type boolean
116
+ * @default false
117
+ */
118
+ set visible(value: boolean);
119
+ get visible(): boolean;
120
+ private _visible;
111
121
  timeChange: EventEmitter<Date | undefined>;
112
122
  onBlur(): void;
123
+ dropdown?: ElementRef;
124
+ templates: any;
125
+ contentTemplates: QueryList<TemplateIdDirective>;
113
126
  listOfHours: ITimeValue[];
114
127
  listOfHours12: ITimeValue[];
115
128
  listOfMinutes: ITimeValue[];
@@ -146,6 +159,7 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
146
159
  emitTime(time: Date | undefined): void;
147
160
  ngOnInit(): void;
148
161
  ngOnChanges(changes: SimpleChanges): void;
162
+ ngAfterViewInit(): void;
149
163
  setTimeLists(): void;
150
164
  updateSelectTime(time?: Date | undefined): void;
151
165
  closestTime(timeArray: ITimeValue[], timeSegment: number): ITimeValue;
@@ -165,5 +179,5 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
165
179
  handleTimeInputChange($event: any): void;
166
180
  handleClear($event: MouseEvent): void;
167
181
  static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
168
- static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "c-time-picker-select", ["cTimePickerSelect"], { "cleaner": "cleaner"; "dateTimeFormatOptions": "dateTimeFormatOptions"; "disabled": "disabled"; "filterHours": "filterHours"; "filterMinutes": "filterMinutes"; "filterSeconds": "filterSeconds"; "indicator": "indicator"; "inputReadOnly": "inputReadOnly"; "locale": "locale"; "placeholder": "placeholder"; "seconds": "seconds"; "size": "size"; "time": "time"; "variant": "variant"; }, { "timeChange": "timeChange"; }, never, never, false>;
182
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "c-time-picker", ["cTimePicker"], { "cleaner": "cleaner"; "dateTimeFormatOptions": "dateTimeFormatOptions"; "disabled": "disabled"; "filterHours": "filterHours"; "filterMinutes": "filterMinutes"; "filterSeconds": "filterSeconds"; "indicator": "indicator"; "inputReadOnly": "inputReadOnly"; "locale": "locale"; "placeholder": "placeholder"; "seconds": "seconds"; "size": "size"; "time": "time"; "variant": "variant"; "visible": "visible"; }, { "timeChange": "timeChange"; }, ["contentTemplates"], never, false>;
169
183
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "4.2.0-next.0",
3
+ "version": "4.2.0-next.3",
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';