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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/README.md +174 -174
  2. package/esm2020/lib/accordion/accordion/accordion.component.mjs +3 -3
  3. package/esm2020/lib/accordion/accordion-button/accordion-button.directive.mjs +3 -3
  4. package/esm2020/lib/accordion/accordion-item/accordion-item.component.mjs +3 -3
  5. package/esm2020/lib/accordion/accordion.module.mjs +4 -4
  6. package/esm2020/lib/accordion/accordion.service.mjs +3 -3
  7. package/esm2020/lib/alert/alert-heading.directive.mjs +3 -3
  8. package/esm2020/lib/alert/alert-link.directive.mjs +3 -3
  9. package/esm2020/lib/alert/alert.component.mjs +3 -3
  10. package/esm2020/lib/alert/alert.module.mjs +4 -4
  11. package/esm2020/lib/avatar/avatar.component.mjs +3 -3
  12. package/esm2020/lib/avatar/avatar.module.mjs +4 -4
  13. package/esm2020/lib/backdrop/backdrop.service.mjs +3 -3
  14. package/esm2020/lib/badge/badge.component.mjs +3 -3
  15. package/esm2020/lib/badge/badge.module.mjs +4 -4
  16. package/esm2020/lib/breadcrumb/breadcrumb/breadcrumb.component.mjs +3 -3
  17. package/esm2020/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +3 -3
  18. package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +3 -3
  19. package/esm2020/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +3 -3
  20. package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +4 -4
  21. package/esm2020/lib/button/button-close.directive.mjs +3 -3
  22. package/esm2020/lib/button/button.directive.mjs +3 -3
  23. package/esm2020/lib/button/button.module.mjs +4 -4
  24. package/esm2020/lib/button-group/button-group/button-group.component.mjs +3 -3
  25. package/esm2020/lib/button-group/button-group.module.mjs +4 -4
  26. package/esm2020/lib/button-group/button-toolbar/button-toolbar.component.mjs +3 -3
  27. package/esm2020/lib/calendar/calendar/calendar-class-view.pipe.mjs +19 -0
  28. package/esm2020/lib/calendar/calendar/calendar.component.mjs +366 -0
  29. package/esm2020/lib/calendar/calendar-month/calendar-class-day.pipe.mjs +28 -0
  30. package/esm2020/lib/calendar/calendar-month/calendar-class-month.pipe.mjs +21 -0
  31. package/esm2020/lib/calendar/calendar-month/calendar-class-year.pipe.mjs +21 -0
  32. package/esm2020/lib/calendar/calendar-month/calendar-day.directive.mjs +81 -0
  33. package/esm2020/lib/calendar/calendar-month/calendar-day.pipe.mjs +18 -0
  34. package/esm2020/lib/calendar/calendar-month/calendar-month.component.mjs +320 -0
  35. package/esm2020/lib/calendar/calendar-month/calendar-weekday.pipe.mjs +20 -0
  36. package/esm2020/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +79 -0
  37. package/esm2020/lib/calendar/calendar.module.mjs +59 -0
  38. package/esm2020/lib/calendar/calendar.service.mjs +60 -0
  39. package/esm2020/lib/calendar/calendar.utils.mjs +273 -0
  40. package/esm2020/lib/calendar/index.mjs +2 -0
  41. package/esm2020/lib/calendar/public_api.mjs +5 -0
  42. package/esm2020/lib/callout/callout.component.mjs +3 -3
  43. package/esm2020/lib/callout/callout.module.mjs +4 -4
  44. package/esm2020/lib/card/card-body.component.mjs +3 -3
  45. package/esm2020/lib/card/card-footer.component.mjs +3 -3
  46. package/esm2020/lib/card/card-group.component.mjs +3 -3
  47. package/esm2020/lib/card/card-header-actions.component.mjs +3 -3
  48. package/esm2020/lib/card/card-header.component.mjs +3 -3
  49. package/esm2020/lib/card/card-img-overlay/card-img-overlay.component.mjs +3 -3
  50. package/esm2020/lib/card/card-img.directive.mjs +3 -3
  51. package/esm2020/lib/card/card-link.directive.mjs +3 -3
  52. package/esm2020/lib/card/card-subtitle.directive.mjs +3 -3
  53. package/esm2020/lib/card/card-text.directive.mjs +3 -3
  54. package/esm2020/lib/card/card-title.directive.mjs +3 -3
  55. package/esm2020/lib/card/card.component.mjs +3 -3
  56. package/esm2020/lib/card/card.module.mjs +4 -4
  57. package/esm2020/lib/carousel/carousel/carousel.component.mjs +3 -3
  58. package/esm2020/lib/carousel/carousel-caption/carousel-caption.component.mjs +3 -3
  59. package/esm2020/lib/carousel/carousel-control/carousel-control.component.mjs +3 -3
  60. package/esm2020/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +3 -3
  61. package/esm2020/lib/carousel/carousel-inner/carousel-inner.component.mjs +3 -3
  62. package/esm2020/lib/carousel/carousel-item/carousel-item.component.mjs +3 -3
  63. package/esm2020/lib/carousel/carousel-state.mjs +3 -3
  64. package/esm2020/lib/carousel/carousel.config.mjs +3 -3
  65. package/esm2020/lib/carousel/carousel.module.mjs +4 -4
  66. package/esm2020/lib/carousel/carousel.service.mjs +3 -3
  67. package/esm2020/lib/collapse/collapse.directive.mjs +3 -3
  68. package/esm2020/lib/collapse/collapse.module.mjs +4 -4
  69. package/esm2020/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +503 -0
  70. package/esm2020/lib/date-range-picker/date-range-picker.module.mjs +57 -0
  71. package/esm2020/lib/date-range-picker/end-date.directive.mjs +17 -0
  72. package/esm2020/lib/date-range-picker/index.mjs +2 -0
  73. package/esm2020/lib/date-range-picker/public_api.mjs +3 -0
  74. package/esm2020/lib/date-range-picker/start-date.directive.mjs +17 -0
  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/index.mjs +2 -0
  215. package/esm2020/lib/time-picker/public_api.mjs +3 -0
  216. package/esm2020/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +103 -0
  217. package/esm2020/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +104 -0
  218. package/esm2020/lib/time-picker/time-picker.component.mjs +434 -0
  219. package/esm2020/lib/time-picker/time-picker.module.mjs +50 -0
  220. package/esm2020/lib/time-picker/time.utils.mjs +645 -0
  221. package/esm2020/lib/toast/toast/toast.component.mjs +3 -3
  222. package/esm2020/lib/toast/toast-body/toast-body.component.mjs +3 -3
  223. package/esm2020/lib/toast/toast-close.directive.mjs +3 -3
  224. package/esm2020/lib/toast/toast-header/toast-header.component.mjs +3 -3
  225. package/esm2020/lib/toast/toast.module.mjs +4 -4
  226. package/esm2020/lib/toast/toaster/toaster-host.directive.mjs +3 -3
  227. package/esm2020/lib/toast/toaster/toaster.component.mjs +3 -3
  228. package/esm2020/lib/toast/toaster/toaster.service.mjs +3 -3
  229. package/esm2020/lib/tooltip/tooltip/tooltip.component.mjs +3 -3
  230. package/esm2020/lib/tooltip/tooltip.directive.mjs +3 -3
  231. package/esm2020/lib/tooltip/tooltip.module.mjs +4 -4
  232. package/esm2020/lib/utilities/align.directive.mjs +3 -3
  233. package/esm2020/lib/utilities/bg-color.directive.mjs +3 -3
  234. package/esm2020/lib/utilities/border.directive.mjs +3 -3
  235. package/esm2020/lib/utilities/rounded.directive.mjs +3 -3
  236. package/esm2020/lib/utilities/text-color.directive.mjs +3 -3
  237. package/esm2020/lib/utilities/utilities.module.mjs +4 -4
  238. package/esm2020/lib/widget/widget-stat-a/widget-stat-a.component.mjs +3 -3
  239. package/esm2020/lib/widget/widget-stat-b/widget-stat-b.component.mjs +3 -3
  240. package/esm2020/lib/widget/widget-stat-c/widget-stat-c.component.mjs +3 -3
  241. package/esm2020/lib/widget/widget-stat-d/widget-stat-d.component.mjs +3 -3
  242. package/esm2020/lib/widget/widget-stat-e/widget-stat-e.component.mjs +3 -3
  243. package/esm2020/lib/widget/widget-stat-f/widget-stat-f.component.mjs +3 -3
  244. package/esm2020/lib/widget/widget.module.mjs +4 -4
  245. package/esm2020/public-api.mjs +4 -1
  246. package/fesm2015/coreui-angular-pro.mjs +5009 -1813
  247. package/fesm2015/coreui-angular-pro.mjs.map +1 -1
  248. package/fesm2020/coreui-angular-pro.mjs +4989 -1828
  249. package/fesm2020/coreui-angular-pro.mjs.map +1 -1
  250. package/lib/calendar/calendar/calendar-class-view.pipe.d.ts +7 -0
  251. package/lib/calendar/calendar/calendar.component.d.ts +155 -0
  252. package/lib/calendar/calendar-month/calendar-class-day.pipe.d.ts +15 -0
  253. package/lib/calendar/calendar-month/calendar-class-month.pipe.d.ts +7 -0
  254. package/lib/calendar/calendar-month/calendar-class-year.pipe.d.ts +7 -0
  255. package/lib/calendar/calendar-month/calendar-day.directive.d.ts +29 -0
  256. package/lib/calendar/calendar-month/calendar-day.pipe.d.ts +8 -0
  257. package/lib/calendar/calendar-month/calendar-month.component.d.ts +121 -0
  258. package/lib/calendar/calendar-month/calendar-weekday.pipe.d.ts +8 -0
  259. package/lib/calendar/calendar-navigation/calendar-navigation.component.d.ts +30 -0
  260. package/lib/calendar/calendar.module.d.ts +18 -0
  261. package/lib/calendar/calendar.service.d.ts +33 -0
  262. package/lib/calendar/calendar.utils.d.ts +26 -0
  263. package/lib/calendar/index.d.ts +1 -0
  264. package/lib/calendar/public_api.d.ts +4 -0
  265. package/lib/date-range-picker/date-range-picker/date-range-picker.component.d.ts +235 -0
  266. package/lib/date-range-picker/date-range-picker.module.d.ts +16 -0
  267. package/lib/date-range-picker/end-date.directive.d.ts +8 -0
  268. package/lib/date-range-picker/index.d.ts +1 -0
  269. package/lib/date-range-picker/public_api.d.ts +2 -0
  270. package/lib/date-range-picker/start-date.directive.d.ts +8 -0
  271. package/lib/time-picker/index.d.ts +1 -0
  272. package/lib/time-picker/public_api.d.ts +2 -0
  273. package/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.d.ts +39 -0
  274. package/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.d.ts +38 -0
  275. package/lib/time-picker/time-picker.component.d.ts +169 -0
  276. package/lib/time-picker/time-picker.module.d.ts +14 -0
  277. package/lib/time-picker/time.utils.d.ts +57 -0
  278. package/package.json +8 -2
  279. package/public-api.d.ts +3 -0
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CalendarClassViewPipe implements PipeTransform {
4
+ transform(view: string): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarClassViewPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalendarClassViewPipe, "calendarClassView", false>;
7
+ }
@@ -0,0 +1,155 @@
1
+ import { EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
2
+ import { BooleanInput } from '@angular/cdk/coercion';
3
+ import { CalendarService, DateFilterType, DayFormatType, WeekdayFormatType } from '../calendar.service';
4
+ import { CalendarMonthComponent } from '../calendar-month/calendar-month.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CalendarComponent implements OnInit, OnDestroy {
7
+ private calendarService;
8
+ static ngAcceptInputType_navigation: BooleanInput;
9
+ static ngAcceptInputType_navYearFirst: BooleanInput;
10
+ static ngAcceptInputType_range: BooleanInput;
11
+ constructor(calendarService: CalendarService);
12
+ /**
13
+ * Default date of the component
14
+ * @type (Date | string)
15
+ */
16
+ set calendarDate(value: Date | string | number | undefined);
17
+ get calendarDate(): Date;
18
+ private _calendarDate;
19
+ /**
20
+ * The number of calendars that render on desktop devices.
21
+ * @type number
22
+ * default 1
23
+ */
24
+ set calendars(value: number);
25
+ get calendars(): number;
26
+ private _calendars;
27
+ get calendarsArray(): unknown[];
28
+ /**
29
+ * Set the format of day name.
30
+ * @default 'numeric'
31
+ * @type DayFormatType
32
+ */
33
+ set dayFormat(value: DayFormatType);
34
+ get dayFormat(): DayFormatType;
35
+ private _dayFormat;
36
+ /**
37
+ * Specify the list of dates that cannot be selected.
38
+ * @type (Date[] | Date[][])
39
+ */
40
+ set disabledDates(value: Date[] | Date[][]);
41
+ get disabledDates(): Date[] | Date[][];
42
+ private _disabledDates;
43
+ /**
44
+ * Initial selected date.
45
+ * @type (Date | null)
46
+ */
47
+ set startDate(value: Date | number | string | null | undefined);
48
+ get startDate(): Date | number | string | null | undefined;
49
+ _startDate: Date | null;
50
+ /**
51
+ * Initial selected to date (range).
52
+ * @type (Date | null)
53
+ */
54
+ set endDate(value: Date | number | string | null | undefined);
55
+ get endDate(): Date | number | string | null | undefined;
56
+ _endDate: (Date | null);
57
+ /**
58
+ * Sets the day of start week.
59
+ * - 0 - Sunday,
60
+ * - 1 - Monday,
61
+ * - 2 - Tuesday,
62
+ * - 3 - Wednesday,
63
+ * - 4 - Thursday,
64
+ * - 5 - Friday,
65
+ * - 6 - Saturday,
66
+ *
67
+ * @type number
68
+ * @default 1
69
+ */
70
+ set firstDayOfWeek(value: number);
71
+ get firstDayOfWeek(): number;
72
+ private _firstDayOfWeek;
73
+ /**
74
+ * Sets the default locale for components. If not set, it is inherited from the browser.
75
+ * @default 'default'
76
+ */
77
+ set locale(value: string);
78
+ get locale(): string;
79
+ private _locale;
80
+ /**
81
+ * Max selectable date.
82
+ */
83
+ set maxDate(value: Date | string | null | undefined);
84
+ get maxDate(): Date | string | null | undefined;
85
+ private _maxDate;
86
+ /**
87
+ * Min selectable date.
88
+ */
89
+ set minDate(value: Date | string | null | undefined);
90
+ get minDate(): Date | string | null | undefined;
91
+ private _minDate;
92
+ /**
93
+ * Show navigation.
94
+ * @type boolean
95
+ */
96
+ set navigation(value: boolean);
97
+ get navigation(): boolean;
98
+ private _navigation;
99
+ /**
100
+ * Reorder year-month navigation, and render year first.
101
+ * @type boolean
102
+ * @default false
103
+ */
104
+ set navYearFirst(value: boolean);
105
+ get navYearFirst(): boolean;
106
+ private _navYearFirst;
107
+ /**
108
+ * Allow range selection.
109
+ * @type boolean
110
+ * @default false
111
+ */
112
+ set range(value: boolean);
113
+ get range(): boolean;
114
+ private _range;
115
+ /**
116
+ * Set calendar view.
117
+ * @type 'days' | 'months' | 'years'
118
+ * @default 'days'
119
+ */
120
+ set view(value: "years" | "months" | "days");
121
+ get view(): "years" | "months" | "days";
122
+ private _view;
123
+ /**
124
+ * Set length or format of day name.
125
+ * @type number | 'long' | 'narrow' | 'short'
126
+ * @default 'short'
127
+ */
128
+ set weekdayFormat(value: WeekdayFormatType);
129
+ get weekdayFormat(): WeekdayFormatType;
130
+ private _weekdayFormat;
131
+ set dateFilter(value: DateFilterType | undefined);
132
+ calendarCellHover: EventEmitter<Date | null>;
133
+ calendarDateChange: EventEmitter<Date>;
134
+ endDateChange: EventEmitter<Date | null>;
135
+ startDateChange: EventEmitter<Date | null>;
136
+ viewChange: EventEmitter<string>;
137
+ set hoverDate(value: Date | null);
138
+ get hoverDate(): Date | null;
139
+ private _hoverDate;
140
+ private calendarStateSubscription;
141
+ get hostClasses(): any;
142
+ calendarMonths: QueryList<CalendarMonthComponent>;
143
+ ngOnDestroy(): void;
144
+ ngOnInit(): void;
145
+ calendarStateSubscribe(subscribe?: boolean): void;
146
+ setCalendarPage(years: number, months?: number, setMonth?: number): void;
147
+ handleNavigationClick(direction: 'prev' | 'next', years?: boolean): void;
148
+ /**
149
+ * Clear startDate and endDate
150
+ * @type void
151
+ */
152
+ clearDates(): void;
153
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
154
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "c-calendar", ["cCalendar"], { "calendarDate": "calendarDate"; "calendars": "calendars"; "dayFormat": "dayFormat"; "disabledDates": "disabledDates"; "startDate": "startDate"; "endDate": "endDate"; "firstDayOfWeek": "firstDayOfWeek"; "locale": "locale"; "maxDate": "maxDate"; "minDate": "minDate"; "navigation": "navigation"; "navYearFirst": "navYearFirst"; "range": "range"; "view": "view"; "weekdayFormat": "weekdayFormat"; "dateFilter": "dateFilter"; }, { "calendarCellHover": "calendarCellHover"; "calendarDateChange": "calendarDateChange"; "endDateChange": "endDateChange"; "startDateChange": "startDateChange"; "viewChange": "viewChange"; }, never, never, false>;
155
+ }
@@ -0,0 +1,15 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CalendarClassDayPipe implements PipeTransform {
4
+ transform(dateObj: {
5
+ date: Date;
6
+ month: string;
7
+ }, datesConfig?: {
8
+ minDate: any;
9
+ maxDate: any;
10
+ disabledDates: any;
11
+ dateFilter: any;
12
+ }): any;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarClassDayPipe, never>;
14
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalendarClassDayPipe, "calendarClassDay", false>;
15
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CalendarClassMonthPipe implements PipeTransform {
4
+ transform(calendarDate: Date, monthIndex: number): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarClassMonthPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalendarClassMonthPipe, "calendarClassMonth", false>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CalendarClassYearPipe implements PipeTransform {
4
+ transform(year: number, args?: any): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarClassYearPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalendarClassYearPipe, "calendarClassYear", false>;
7
+ }
@@ -0,0 +1,29 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { CalendarService } from '../calendar.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CalendarDayDirective implements OnDestroy {
5
+ private calendarService;
6
+ constructor(calendarService: CalendarService);
7
+ private date;
8
+ private month?;
9
+ private startDate;
10
+ private endDate;
11
+ private hoverDate;
12
+ private maxDate;
13
+ private minDate;
14
+ private range;
15
+ private disabledDates;
16
+ private calendarStateSubscription;
17
+ private dateFilter;
18
+ private _dateObj?;
19
+ set dateObj(value: {
20
+ date: Date;
21
+ month: string;
22
+ });
23
+ get selectEndDate(): boolean;
24
+ get hostClasses(): any;
25
+ ngOnDestroy(): void;
26
+ calendarStateSubscribe(subscribe?: boolean): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDayDirective, never>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CalendarDayDirective, "[cCalendarDay]", never, { "dateObj": "cCalendarDay"; }, {}, never, never, false>;
29
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DayFormatType } from '../calendar.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CalendarDayPipe implements PipeTransform {
5
+ transform(date: Date, dayFormat?: DayFormatType, locale?: string): (string | number);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDayPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalendarDayPipe, "calendarDay", false>;
8
+ }
@@ -0,0 +1,121 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { CalendarService, DateFilterType, DayFormatType, WeekdayFormatType } from '../calendar.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CalendarMonthComponent implements OnInit, OnDestroy {
5
+ private calendarService;
6
+ constructor(calendarService: CalendarService);
7
+ addMonths: number;
8
+ /**
9
+ * Initial selected date.
10
+ * @type (Date | null)
11
+ */
12
+ set startDate(value: Date | number | string | null | undefined);
13
+ get startDate(): Date | number | string | null | undefined;
14
+ _startDate: Date | null;
15
+ /**
16
+ * Initial selected to date (range).
17
+ * @type (Date | null)
18
+ */
19
+ set endDate(value: Date | number | string | null | undefined);
20
+ get endDate(): Date | number | string | null | undefined;
21
+ _endDate: (Date | null);
22
+ /**
23
+ * Specify the list of dates that cannot be selected.
24
+ * @type (Date[] | Date[][])
25
+ */
26
+ set disabledDates(value: Date[] | Date[][]);
27
+ get disabledDates(): Date[] | Date[][];
28
+ private _disabledDates;
29
+ /**
30
+ * Sets the day of start week.
31
+ * - 0 - Sunday,
32
+ * - 1 - Monday,
33
+ * - 2 - Tuesday,
34
+ * - 3 - Wednesday,
35
+ * - 4 - Thursday,
36
+ * - 5 - Friday,
37
+ * - 6 - Saturday,
38
+ */
39
+ set firstDayOfWeek(value: number);
40
+ get firstDayOfWeek(): number;
41
+ private _firstDayOfWeek;
42
+ /**
43
+ * Sets the default locale for components. If not set, it is inherited from the browser.
44
+ * @default 'default'
45
+ */
46
+ set locale(value: string);
47
+ get locale(): string;
48
+ private _locale;
49
+ /**
50
+ * Allow range selection.
51
+ */
52
+ set range(value: boolean);
53
+ get range(): boolean;
54
+ private _range;
55
+ /**
56
+ * Set length or format of day name.
57
+ * @type number | 'long' | 'narrow' | 'short'
58
+ * @default 'short'
59
+ */
60
+ weekdayFormat: WeekdayFormatType;
61
+ /**
62
+ * Set calendar view.
63
+ * @type 'days' | 'months' | 'years'
64
+ * @default 'days'
65
+ */
66
+ set view(value: "years" | "months" | "days");
67
+ get view(): "years" | "months" | "days";
68
+ private _view;
69
+ /**
70
+ * Max selectable date.
71
+ */
72
+ set maxDate(value: Date | null);
73
+ get maxDate(): Date | null;
74
+ private _maxDate;
75
+ /**
76
+ * Min selectable date.
77
+ */
78
+ set minDate(value: Date | null);
79
+ get minDate(): Date | null;
80
+ private _minDate;
81
+ listOfMonths: any[][];
82
+ listOfYears: any[][];
83
+ private calendarStateSubscription;
84
+ /**
85
+ * Default date of the component
86
+ * @type Date
87
+ */
88
+ set calendarDate(value: Date | string | number);
89
+ get calendarDate(): Date;
90
+ private _calendarDate;
91
+ dateFilter: DateFilterType;
92
+ get date(): Date;
93
+ dayFormat: DayFormatType;
94
+ private _monthDetails;
95
+ get monthDetails(): {
96
+ date: Date;
97
+ month: string;
98
+ }[][];
99
+ get weekDays(): {
100
+ date: Date;
101
+ month: string;
102
+ }[];
103
+ ngOnInit(): void;
104
+ setMonthDetails(date?: Date): void;
105
+ yearNumber(year: any): string;
106
+ isDateDisabled(date: Date): boolean;
107
+ calendarCellTitle(date: Date): string;
108
+ handleCellMouseEnter(hoverDate: Date): void;
109
+ handleYearCellClick(year: any): void;
110
+ handleYearCellKeyUp($event: KeyboardEvent, year: any): void;
111
+ handleMonthCellKeyUp($event: KeyboardEvent, i: number, idx: number): void;
112
+ handleMonthCellClick(i: number, idx: number): void;
113
+ setCalendarPage(years: number, months?: number, setMonth?: number): void;
114
+ handleCellMouseLeave(): void;
115
+ handleDayCellKeyUp($event: KeyboardEvent, date: Date): void;
116
+ handleDayCellClick(date: Date): void;
117
+ calendarStateSubscribe(subscribe?: boolean): void;
118
+ ngOnDestroy(): void;
119
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthComponent, never>;
120
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarMonthComponent, "c-calendar-month", ["cCalendarMonth"], { "addMonths": "addMonths"; "startDate": "startDate"; "endDate": "endDate"; "disabledDates": "disabledDates"; "firstDayOfWeek": "firstDayOfWeek"; "locale": "locale"; "range": "range"; "weekdayFormat": "weekdayFormat"; "view": "view"; "maxDate": "maxDate"; "minDate": "minDate"; "calendarDate": "calendarDate"; }, {}, never, never, false>;
121
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { WeekdayFormatType } from '../calendar.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CalendarWeekdayPipe implements PipeTransform {
5
+ transform(date: Date, weekdayFormat?: WeekdayFormatType, locale?: string): (string | number);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarWeekdayPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalendarWeekdayPipe, "calendarWeekday", false>;
8
+ }
@@ -0,0 +1,30 @@
1
+ import { EventEmitter, OnDestroy } from '@angular/core';
2
+ import { CalendarService } from '../calendar.service';
3
+ import * as i0 from "@angular/core";
4
+ interface INavigationClick {
5
+ direction: ('prev' | 'next');
6
+ years: boolean;
7
+ }
8
+ export declare class CalendarNavigationComponent implements OnDestroy {
9
+ private calendarService;
10
+ constructor(calendarService: CalendarService);
11
+ addMonths: number;
12
+ set calendarDate(value: Date);
13
+ get calendarDate(): Date;
14
+ private _calendarDate;
15
+ navigation: boolean;
16
+ navYearFirst: boolean;
17
+ locale: string;
18
+ view: 'days' | 'months' | 'years';
19
+ navigationClick: EventEmitter<INavigationClick>;
20
+ private calendarStateSubscription;
21
+ get date(): Date;
22
+ get hostClasses(): any;
23
+ ngOnDestroy(): void;
24
+ calendarStateSubscribe(subscribe?: boolean): void;
25
+ setView(view: 'days' | 'months' | 'years'): void;
26
+ handleNavigationClick(direction: 'prev' | 'next', years?: boolean): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarNavigationComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarNavigationComponent, "c-calendar-navigation", never, { "addMonths": "addMonths"; "calendarDate": "calendarDate"; "navigation": "navigation"; "navYearFirst": "navYearFirst"; }, { "navigationClick": "navigationClick"; }, never, never, false>;
29
+ }
30
+ export {};
@@ -0,0 +1,18 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./calendar/calendar.component";
3
+ import * as i2 from "./calendar-month/calendar-class-year.pipe";
4
+ import * as i3 from "./calendar-month/calendar-class-day.pipe";
5
+ import * as i4 from "./calendar-month/calendar-class-month.pipe";
6
+ import * as i5 from "./calendar-month/calendar-day.directive";
7
+ import * as i6 from "./calendar/calendar-class-view.pipe";
8
+ import * as i7 from "./calendar-navigation/calendar-navigation.component";
9
+ import * as i8 from "./calendar-month/calendar-month.component";
10
+ import * as i9 from "./calendar-month/calendar-day.pipe";
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";
14
+ export declare class CalendarModule {
15
+ 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 ɵinj: i0.ɵɵInjectorDeclaration<CalendarModule>;
18
+ }
@@ -0,0 +1,33 @@
1
+ import { KeyValueDiffers } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare type DateFilterType = (date: Date) => boolean;
4
+ export declare type DayFormatType = 'numeric' | '2-digit' | ((date: Date) => string | number);
5
+ export declare type WeekdayFormatType = number | 'long' | 'narrow' | 'short' | ((date: Date) => string | number);
6
+ export interface ICalendarState {
7
+ [key: string]: any;
8
+ calendarDate?: Date | null;
9
+ hoverDate?: Date | null;
10
+ startDate?: Date | null;
11
+ endDate?: Date | null;
12
+ maxDate?: Date | null;
13
+ minDate?: Date | null;
14
+ disabledDates?: Date[] | Date[][];
15
+ range?: boolean;
16
+ view?: string;
17
+ locale?: string;
18
+ dateFilter?: DateFilterType;
19
+ dayFormat?: DayFormatType;
20
+ weekdayFormat?: WeekdayFormatType;
21
+ navYearFirst?: boolean;
22
+ }
23
+ export declare class CalendarService {
24
+ private keyValueDiffers;
25
+ constructor(keyValueDiffers: KeyValueDiffers);
26
+ private differ;
27
+ calendarStateObject: ICalendarState;
28
+ private calendarState;
29
+ calendarState$: import("rxjs").Observable<ICalendarState>;
30
+ update(state: ICalendarState): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarService, never>;
32
+ static ɵprov: i0.ɵɵInjectableDeclaration<CalendarService>;
33
+ }
@@ -0,0 +1,26 @@
1
+ export declare const convertToLocalDate: (d: Date, locale: string, options?: {}) => string;
2
+ export declare const convertToLocalTime: (d: Date, locale: string, options?: {}) => string;
3
+ export declare const createGroupsInArray: (arr: any[], numberOfGroups: number) => any[][];
4
+ export declare const getCurrentYear: () => number;
5
+ export declare const getCurrentMonth: () => number;
6
+ export declare const getLocalDateFromString: (string: string, locale: string, time?: boolean) => Date | undefined;
7
+ export declare const getMonthName: (month: number, locale: string) => string;
8
+ export declare const getMonthsNames: (locale: string) => string[];
9
+ export declare const getYears: (year: number) => number[];
10
+ export declare const getMonthDetails: (year: number, month: number, firstDayOfWeek: number) => {
11
+ date: Date;
12
+ month: string;
13
+ }[][];
14
+ export declare const isDateDisabled: (date: Date | null, min?: Date | null, max?: Date | null, dates?: Date[] | Date[][]) => boolean | undefined;
15
+ export declare const isDateInRange: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
16
+ export declare const isDateSelected: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
17
+ export declare const isEndDate: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
18
+ export declare const isLastDayOfMonth: (date: Date) => boolean;
19
+ export declare const isSameDateAs: (date: Date, date2: Date) => boolean;
20
+ export declare const isStartDate: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
21
+ export declare const isToday: (date: Date) => boolean;
22
+ export declare const isThisMonth: (date: Date, index: number) => boolean;
23
+ export declare const isThisYear: (year: number) => boolean;
24
+ export declare const isValidDate: (date: Date | string | number) => boolean;
25
+ export declare const tryDate: (value: string | number | Date, propName?: string) => Date;
26
+ export declare const isDateInRangeDisabled: (startDate?: Date | null, endDate?: Date | null, dates?: Date[] | Date[][]) => boolean;
@@ -0,0 +1 @@
1
+ export * from './public_api';
@@ -0,0 +1,4 @@
1
+ export { CalendarNavigationComponent } from './calendar-navigation/calendar-navigation.component';
2
+ export { CalendarMonthComponent } from './calendar-month/calendar-month.component';
3
+ export { CalendarComponent } from './calendar/calendar.component';
4
+ export { CalendarModule } from './calendar.module';