@clr/angular 17.5.0 → 17.7.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 (562) hide show
  1. package/button/button-group/button.d.ts +6 -3
  2. package/clarity.api.md +616 -217
  3. package/data/datagrid/built-in/filters/datagrid-string-filter.d.ts +13 -4
  4. package/data/datagrid/datagrid-virtual-scroll.directive.d.ts +5 -4
  5. package/data/datagrid/providers/columns.service.d.ts +1 -0
  6. package/data/datagrid/render/main-renderer.d.ts +4 -3
  7. package/data/datagrid/wrapped-cell.d.ts +1 -3
  8. package/data/datagrid/wrapped-column.d.ts +1 -3
  9. package/data/datagrid/wrapped-row.d.ts +1 -3
  10. package/esm2020/accordion/accordion-content.mjs +2 -2
  11. package/esm2020/accordion/accordion-description.mjs +2 -2
  12. package/esm2020/accordion/accordion-panel.mjs +2 -2
  13. package/esm2020/accordion/accordion-title.mjs +2 -2
  14. package/esm2020/accordion/accordion.mjs +2 -2
  15. package/esm2020/accordion/accordion.module.mjs +2 -2
  16. package/esm2020/accordion/chocolate/accordion-oompa-loompa.mjs +2 -2
  17. package/esm2020/accordion/chocolate/accordion-willy-wonka.mjs +2 -2
  18. package/esm2020/accordion/enums/accordion-status.enum.mjs +2 -2
  19. package/esm2020/accordion/enums/accordion-strategy.enum.mjs +2 -2
  20. package/esm2020/accordion/index.mjs +2 -2
  21. package/esm2020/accordion/models/accordion.model.mjs +2 -2
  22. package/esm2020/accordion/providers/accordion.service.mjs +2 -2
  23. package/esm2020/accordion/stepper/chocolate/stepper-oompa-loompa.mjs +2 -2
  24. package/esm2020/accordion/stepper/chocolate/stepper-willy-wonka.mjs +2 -2
  25. package/esm2020/accordion/stepper/index.mjs +2 -2
  26. package/esm2020/accordion/stepper/models/stepper.model.mjs +2 -2
  27. package/esm2020/accordion/stepper/providers/stepper.service.mjs +2 -2
  28. package/esm2020/accordion/stepper/step-button.mjs +2 -2
  29. package/esm2020/accordion/stepper/stepper-panel.mjs +2 -2
  30. package/esm2020/accordion/stepper/stepper.mjs +2 -2
  31. package/esm2020/accordion/stepper/stepper.module.mjs +2 -2
  32. package/esm2020/accordion/utils/animation.mjs +2 -2
  33. package/esm2020/button/button-group/button-group.mjs +4 -4
  34. package/esm2020/button/button-group/button-group.module.mjs +2 -2
  35. package/esm2020/button/button-group/button.mjs +17 -10
  36. package/esm2020/button/button-group/index.mjs +2 -2
  37. package/esm2020/button/button-loading/index.mjs +2 -2
  38. package/esm2020/button/button-loading/loading-button.mjs +2 -2
  39. package/esm2020/button/button-loading/loading-button.module.mjs +2 -2
  40. package/esm2020/button/button.module.mjs +2 -2
  41. package/esm2020/button/index.mjs +2 -2
  42. package/esm2020/button/providers/button-group-focus-handler.service.mjs +2 -2
  43. package/esm2020/button/providers/button-group-focus.enum.mjs +2 -2
  44. package/esm2020/button/providers/button-in-group.service.mjs +2 -2
  45. package/esm2020/clr-angular.module.mjs +2 -2
  46. package/esm2020/data/data.module.mjs +2 -2
  47. package/esm2020/data/datagrid/built-in/comparators/datagrid-property-comparator.mjs +2 -2
  48. package/esm2020/data/datagrid/built-in/filters/datagrid-numeric-filter-impl.mjs +2 -2
  49. package/esm2020/data/datagrid/built-in/filters/datagrid-numeric-filter.mjs +19 -18
  50. package/esm2020/data/datagrid/built-in/filters/datagrid-property-numeric-filter.mjs +2 -2
  51. package/esm2020/data/datagrid/built-in/filters/datagrid-property-string-filter.mjs +2 -2
  52. package/esm2020/data/datagrid/built-in/filters/datagrid-string-filter-impl.mjs +2 -2
  53. package/esm2020/data/datagrid/built-in/filters/datagrid-string-filter.mjs +64 -29
  54. package/esm2020/data/datagrid/built-in/nested-property.mjs +2 -2
  55. package/esm2020/data/datagrid/chocolate/actionable-oompa-loompa.mjs +2 -2
  56. package/esm2020/data/datagrid/chocolate/datagrid-willy-wonka.mjs +2 -2
  57. package/esm2020/data/datagrid/chocolate/expandable-oompa-loompa.mjs +2 -2
  58. package/esm2020/data/datagrid/datagrid-action-bar.mjs +2 -2
  59. package/esm2020/data/datagrid/datagrid-action-overflow.mjs +2 -2
  60. package/esm2020/data/datagrid/datagrid-cell.mjs +2 -2
  61. package/esm2020/data/datagrid/datagrid-column-separator.mjs +2 -2
  62. package/esm2020/data/datagrid/datagrid-column-toggle-button.mjs +2 -2
  63. package/esm2020/data/datagrid/datagrid-column-toggle-trackby.mjs +2 -2
  64. package/esm2020/data/datagrid/datagrid-column-toggle.mjs +5 -4
  65. package/esm2020/data/datagrid/datagrid-column.mjs +3 -3
  66. package/esm2020/data/datagrid/datagrid-detail-body.mjs +2 -2
  67. package/esm2020/data/datagrid/datagrid-detail-header.mjs +2 -2
  68. package/esm2020/data/datagrid/datagrid-detail-registerer.mjs +2 -2
  69. package/esm2020/data/datagrid/datagrid-detail.mjs +2 -2
  70. package/esm2020/data/datagrid/datagrid-filter.mjs +2 -2
  71. package/esm2020/data/datagrid/datagrid-footer.mjs +2 -2
  72. package/esm2020/data/datagrid/datagrid-hideable-column.mjs +2 -2
  73. package/esm2020/data/datagrid/datagrid-if-detail.mjs +2 -2
  74. package/esm2020/data/datagrid/datagrid-if-expanded.service.mjs +2 -2
  75. package/esm2020/data/datagrid/datagrid-items.mjs +2 -2
  76. package/esm2020/data/datagrid/datagrid-page-size.mjs +2 -2
  77. package/esm2020/data/datagrid/datagrid-pagination.mjs +2 -2
  78. package/esm2020/data/datagrid/datagrid-placeholder.mjs +2 -2
  79. package/esm2020/data/datagrid/datagrid-row-detail.mjs +2 -2
  80. package/esm2020/data/datagrid/datagrid-row.mjs +2 -2
  81. package/esm2020/data/datagrid/datagrid-selection-cell.directive.mjs +2 -2
  82. package/esm2020/data/datagrid/datagrid-virtual-scroll.directive.mjs +14 -12
  83. package/esm2020/data/datagrid/datagrid.mjs +5 -6
  84. package/esm2020/data/datagrid/datagrid.module.mjs +2 -2
  85. package/esm2020/data/datagrid/enums/column-changes.enum.mjs +2 -2
  86. package/esm2020/data/datagrid/enums/display-mode.enum.mjs +2 -2
  87. package/esm2020/data/datagrid/enums/render-step.enum.mjs +2 -2
  88. package/esm2020/data/datagrid/enums/selection-type.mjs +2 -2
  89. package/esm2020/data/datagrid/enums/sort-order.enum.mjs +2 -2
  90. package/esm2020/data/datagrid/index.mjs +2 -2
  91. package/esm2020/data/datagrid/interfaces/column-state.interface.mjs +2 -2
  92. package/esm2020/data/datagrid/interfaces/comparator.interface.mjs +2 -2
  93. package/esm2020/data/datagrid/interfaces/filter.interface.mjs +2 -2
  94. package/esm2020/data/datagrid/interfaces/numeric-filter.interface.mjs +2 -2
  95. package/esm2020/data/datagrid/interfaces/state.interface.mjs +2 -2
  96. package/esm2020/data/datagrid/interfaces/string-filter.interface.mjs +2 -2
  97. package/esm2020/data/datagrid/providers/column-resizer.service.mjs +2 -2
  98. package/esm2020/data/datagrid/providers/column-state.provider.mjs +2 -2
  99. package/esm2020/data/datagrid/providers/columns.service.mjs +5 -2
  100. package/esm2020/data/datagrid/providers/custom-filter.mjs +2 -2
  101. package/esm2020/data/datagrid/providers/detail.service.mjs +2 -2
  102. package/esm2020/data/datagrid/providers/display-mode.service.mjs +2 -2
  103. package/esm2020/data/datagrid/providers/filters.mjs +2 -2
  104. package/esm2020/data/datagrid/providers/global-expandable-rows.mjs +2 -2
  105. package/esm2020/data/datagrid/providers/items.mjs +2 -2
  106. package/esm2020/data/datagrid/providers/page.mjs +2 -2
  107. package/esm2020/data/datagrid/providers/row-action-service.mjs +2 -2
  108. package/esm2020/data/datagrid/providers/selection.mjs +2 -2
  109. package/esm2020/data/datagrid/providers/sort.mjs +2 -2
  110. package/esm2020/data/datagrid/providers/state-debouncer.provider.mjs +2 -2
  111. package/esm2020/data/datagrid/providers/state.provider.mjs +2 -2
  112. package/esm2020/data/datagrid/providers/table-size.service.mjs +2 -2
  113. package/esm2020/data/datagrid/render/cell-renderer.mjs +2 -2
  114. package/esm2020/data/datagrid/render/constants.mjs +2 -2
  115. package/esm2020/data/datagrid/render/header-renderer.mjs +2 -2
  116. package/esm2020/data/datagrid/render/main-renderer.mjs +24 -20
  117. package/esm2020/data/datagrid/render/noop-dom-adapter.mjs +2 -2
  118. package/esm2020/data/datagrid/render/render-organizer.mjs +2 -2
  119. package/esm2020/data/datagrid/render/row-renderer.mjs +2 -2
  120. package/esm2020/data/datagrid/utils/datagrid-filter-registrar.mjs +2 -2
  121. package/esm2020/data/datagrid/utils/key-navigation-grid.controller.mjs +32 -23
  122. package/esm2020/data/datagrid/wrapped-cell.mjs +2 -5
  123. package/esm2020/data/datagrid/wrapped-column.mjs +2 -5
  124. package/esm2020/data/datagrid/wrapped-row.mjs +2 -5
  125. package/esm2020/data/index.mjs +2 -2
  126. package/esm2020/data/stack-view/index.mjs +2 -2
  127. package/esm2020/data/stack-view/stack-block.mjs +2 -2
  128. package/esm2020/data/stack-view/stack-content-input.mjs +2 -2
  129. package/esm2020/data/stack-view/stack-header.mjs +2 -2
  130. package/esm2020/data/stack-view/stack-view-custom-tags.mjs +2 -2
  131. package/esm2020/data/stack-view/stack-view.mjs +2 -2
  132. package/esm2020/data/stack-view/stack-view.module.mjs +2 -2
  133. package/esm2020/data/tree-view/index.mjs +2 -2
  134. package/esm2020/data/tree-view/models/async-array.mjs +2 -2
  135. package/esm2020/data/tree-view/models/declarative-tree-node.model.mjs +2 -2
  136. package/esm2020/data/tree-view/models/recursive-tree-node.model.mjs +2 -2
  137. package/esm2020/data/tree-view/models/selected-state.enum.mjs +2 -2
  138. package/esm2020/data/tree-view/models/tree-node.model.mjs +2 -2
  139. package/esm2020/data/tree-view/recursive-children.mjs +2 -2
  140. package/esm2020/data/tree-view/recursive-for-of.mjs +2 -2
  141. package/esm2020/data/tree-view/tree-features.service.mjs +2 -2
  142. package/esm2020/data/tree-view/tree-focus-manager.service.mjs +2 -2
  143. package/esm2020/data/tree-view/tree-node-link.mjs +2 -2
  144. package/esm2020/data/tree-view/tree-node.mjs +4 -4
  145. package/esm2020/data/tree-view/tree-view.module.mjs +2 -2
  146. package/esm2020/data/tree-view/tree.mjs +2 -2
  147. package/esm2020/emphasis/alert/alert-item.mjs +2 -2
  148. package/esm2020/emphasis/alert/alert-text.mjs +2 -2
  149. package/esm2020/emphasis/alert/alert.mjs +4 -4
  150. package/esm2020/emphasis/alert/alert.module.mjs +2 -2
  151. package/esm2020/emphasis/alert/alerts-pager.mjs +4 -4
  152. package/esm2020/emphasis/alert/alerts.mjs +4 -4
  153. package/esm2020/emphasis/alert/index.mjs +2 -2
  154. package/esm2020/emphasis/alert/providers/icon-and-types.service.mjs +2 -2
  155. package/esm2020/emphasis/alert/providers/multi-alert.service.mjs +2 -2
  156. package/esm2020/emphasis/alert/utils/alert-info-object.mjs +2 -2
  157. package/esm2020/emphasis/alert/utils/alert-types.mjs +2 -2
  158. package/esm2020/emphasis/emphasis.module.mjs +2 -2
  159. package/esm2020/emphasis/index.mjs +2 -2
  160. package/esm2020/forms/checkbox/checkbox-container.mjs +2 -2
  161. package/esm2020/forms/checkbox/checkbox-wrapper.mjs +2 -6
  162. package/esm2020/forms/checkbox/checkbox.mjs +2 -2
  163. package/esm2020/forms/checkbox/checkbox.module.mjs +2 -2
  164. package/esm2020/forms/checkbox/index.mjs +2 -2
  165. package/esm2020/forms/combobox/combobox-container.mjs +2 -2
  166. package/esm2020/forms/combobox/combobox.mjs +10 -10
  167. package/esm2020/forms/combobox/combobox.module.mjs +2 -2
  168. package/esm2020/forms/combobox/index.mjs +2 -2
  169. package/esm2020/forms/combobox/model/combobox.model.mjs +2 -2
  170. package/esm2020/forms/combobox/model/multi-select-combobox.model.mjs +2 -2
  171. package/esm2020/forms/combobox/model/pseudo-focus.model.mjs +2 -2
  172. package/esm2020/forms/combobox/model/single-select-combobox.model.mjs +2 -2
  173. package/esm2020/forms/combobox/option-items.directive.mjs +2 -2
  174. package/esm2020/forms/combobox/option-selected.directive.mjs +2 -2
  175. package/esm2020/forms/combobox/option.mjs +2 -2
  176. package/esm2020/forms/combobox/options.mjs +2 -2
  177. package/esm2020/forms/combobox/providers/combobox-container.service.mjs +2 -2
  178. package/esm2020/forms/combobox/providers/combobox-focus-handler.service.mjs +2 -2
  179. package/esm2020/forms/combobox/providers/option-selection.service.mjs +2 -2
  180. package/esm2020/forms/common/abstract-container.mjs +13 -6
  181. package/esm2020/forms/common/abstract-control.mjs +2 -2
  182. package/esm2020/forms/common/common.module.mjs +2 -2
  183. package/esm2020/forms/common/control-container.mjs +2 -2
  184. package/esm2020/forms/common/control.mjs +2 -2
  185. package/esm2020/forms/common/error.mjs +2 -2
  186. package/esm2020/forms/common/form.mjs +2 -2
  187. package/esm2020/forms/common/helper.mjs +2 -2
  188. package/esm2020/forms/common/if-control-state/abstract-if-state.mjs +4 -2
  189. package/esm2020/forms/common/if-control-state/if-control-state.service.mjs +30 -28
  190. package/esm2020/forms/common/if-control-state/if-error.mjs +10 -6
  191. package/esm2020/forms/common/if-control-state/if-success.mjs +2 -2
  192. package/esm2020/forms/common/index.mjs +2 -2
  193. package/esm2020/forms/common/label.mjs +5 -2
  194. package/esm2020/forms/common/layout.mjs +2 -2
  195. package/esm2020/forms/common/providers/container-id.service.mjs +2 -2
  196. package/esm2020/forms/common/providers/control-class.service.mjs +2 -2
  197. package/esm2020/forms/common/providers/control-id.service.mjs +2 -2
  198. package/esm2020/forms/common/providers/focus.service.mjs +2 -2
  199. package/esm2020/forms/common/providers/layout.service.mjs +2 -2
  200. package/esm2020/forms/common/providers/mark-control.service.mjs +2 -2
  201. package/esm2020/forms/common/providers/ng-control.service.mjs +21 -2
  202. package/esm2020/forms/common/success.mjs +2 -2
  203. package/esm2020/forms/common/wrapped-control.mjs +43 -19
  204. package/esm2020/forms/datalist/datalist-container.mjs +2 -2
  205. package/esm2020/forms/datalist/datalist-input.mjs +2 -2
  206. package/esm2020/forms/datalist/datalist.mjs +2 -2
  207. package/esm2020/forms/datalist/datalist.module.mjs +2 -2
  208. package/esm2020/forms/datalist/index.mjs +2 -2
  209. package/esm2020/forms/datalist/providers/datalist-id.service.mjs +2 -2
  210. package/esm2020/forms/datepicker/calendar.mjs +65 -10
  211. package/esm2020/forms/datepicker/date-container.mjs +103 -10
  212. package/esm2020/forms/datepicker/date-end-input.mjs +60 -0
  213. package/esm2020/forms/datepicker/date-input.mjs +74 -80
  214. package/esm2020/forms/datepicker/date-input.validator.mjs +65 -6
  215. package/esm2020/forms/datepicker/date-single-input.mjs +63 -0
  216. package/esm2020/forms/datepicker/date-start-input.mjs +61 -0
  217. package/esm2020/forms/datepicker/datepicker-action-buttons.mjs +59 -0
  218. package/esm2020/forms/datepicker/datepicker-view-manager.mjs +34 -11
  219. package/esm2020/forms/datepicker/datepicker.module.mjs +30 -8
  220. package/esm2020/forms/datepicker/day.mjs +58 -15
  221. package/esm2020/forms/datepicker/daypicker.mjs +2 -2
  222. package/esm2020/forms/datepicker/index.mjs +6 -2
  223. package/esm2020/forms/datepicker/interfaces/date-range.interface.mjs +2 -2
  224. package/esm2020/forms/datepicker/interfaces/day-of-week.interface.mjs +2 -2
  225. package/esm2020/forms/datepicker/model/calendar-view.model.mjs +31 -6
  226. package/esm2020/forms/datepicker/model/calendar.model.mjs +14 -2
  227. package/esm2020/forms/datepicker/model/day-view.model.mjs +5 -3
  228. package/esm2020/forms/datepicker/model/day.model.mjs +18 -2
  229. package/esm2020/forms/datepicker/model/year-range.model.mjs +2 -2
  230. package/esm2020/forms/datepicker/monthpicker.mjs +237 -40
  231. package/esm2020/forms/datepicker/providers/date-form-control.service.mjs +2 -2
  232. package/esm2020/forms/datepicker/providers/date-io.service.mjs +21 -2
  233. package/esm2020/forms/datepicker/providers/date-navigation.service.mjs +75 -8
  234. package/esm2020/forms/datepicker/providers/datepicker-enabled.service.mjs +2 -2
  235. package/esm2020/forms/datepicker/providers/datepicker-focus.service.mjs +2 -2
  236. package/esm2020/forms/datepicker/providers/locale-helper.service.mjs +2 -2
  237. package/esm2020/forms/datepicker/providers/view-manager.service.mjs +2 -2
  238. package/esm2020/forms/datepicker/utils/constants.mjs +2 -2
  239. package/esm2020/forms/datepicker/utils/date-utils.mjs +2 -2
  240. package/esm2020/forms/datepicker/yearpicker.mjs +132 -58
  241. package/esm2020/forms/file-input/file-input-container.mjs +102 -14
  242. package/esm2020/forms/file-input/file-input-validator-errors.mjs +8 -0
  243. package/esm2020/forms/file-input/file-input-validator.mjs +15 -23
  244. package/esm2020/forms/file-input/file-input-value-accessor.mjs +2 -2
  245. package/esm2020/forms/file-input/file-input.helpers.mjs +2 -2
  246. package/esm2020/forms/file-input/file-input.mjs +4 -3
  247. package/esm2020/forms/file-input/file-input.module.mjs +36 -5
  248. package/esm2020/forms/file-input/file-list.mjs +160 -0
  249. package/esm2020/forms/file-input/file-messages-template.mjs +26 -0
  250. package/esm2020/forms/file-input/file-messages.mjs +61 -0
  251. package/esm2020/forms/file-input/index.mjs +6 -2
  252. package/esm2020/forms/forms.module.mjs +8 -4
  253. package/esm2020/forms/index.mjs +3 -2
  254. package/esm2020/forms/input/index.mjs +2 -2
  255. package/esm2020/forms/input/input-container.mjs +12 -4
  256. package/esm2020/forms/input/input.mjs +11 -2
  257. package/esm2020/forms/input/input.module.mjs +2 -2
  258. package/esm2020/forms/number-input/index.mjs +10 -0
  259. package/esm2020/forms/number-input/number-input-container.mjs +145 -0
  260. package/esm2020/forms/number-input/number-input.mjs +72 -0
  261. package/esm2020/forms/number-input/number-input.module.mjs +32 -0
  262. package/esm2020/forms/password/index.mjs +2 -2
  263. package/esm2020/forms/password/password-container.mjs +2 -2
  264. package/esm2020/forms/password/password.mjs +2 -2
  265. package/esm2020/forms/password/password.module.mjs +2 -2
  266. package/esm2020/forms/radio/index.mjs +2 -2
  267. package/esm2020/forms/radio/radio-container.mjs +2 -2
  268. package/esm2020/forms/radio/radio-wrapper.mjs +2 -8
  269. package/esm2020/forms/radio/radio.mjs +2 -2
  270. package/esm2020/forms/radio/radio.module.mjs +2 -2
  271. package/esm2020/forms/range/index.mjs +2 -2
  272. package/esm2020/forms/range/range-container.mjs +2 -2
  273. package/esm2020/forms/range/range.mjs +2 -2
  274. package/esm2020/forms/range/range.module.mjs +2 -2
  275. package/esm2020/forms/select/index.mjs +2 -2
  276. package/esm2020/forms/select/select-container.mjs +2 -2
  277. package/esm2020/forms/select/select.mjs +2 -2
  278. package/esm2020/forms/select/select.module.mjs +2 -2
  279. package/esm2020/forms/textarea/index.mjs +2 -2
  280. package/esm2020/forms/textarea/textarea-container.mjs +2 -2
  281. package/esm2020/forms/textarea/textarea.mjs +2 -2
  282. package/esm2020/forms/textarea/textarea.module.mjs +2 -2
  283. package/esm2020/icon/icon.mjs +2 -2
  284. package/esm2020/icon/icon.module.mjs +2 -2
  285. package/esm2020/icon/index.mjs +2 -2
  286. package/esm2020/index.mjs +2 -2
  287. package/esm2020/layout/breadcrumbs/breadcrumb-item.mjs +2 -2
  288. package/esm2020/layout/breadcrumbs/breadcrumbs.constants.mjs +2 -2
  289. package/esm2020/layout/breadcrumbs/breadcrumbs.mjs +4 -4
  290. package/esm2020/layout/breadcrumbs/breadcrumbs.module.mjs +2 -2
  291. package/esm2020/layout/breadcrumbs/index.mjs +2 -2
  292. package/esm2020/layout/breadcrumbs/model/breadcrumbs.model.mjs +2 -2
  293. package/esm2020/layout/index.mjs +2 -2
  294. package/esm2020/layout/layout.module.mjs +2 -2
  295. package/esm2020/layout/main-container/index.mjs +2 -2
  296. package/esm2020/layout/main-container/main-container.mjs +2 -2
  297. package/esm2020/layout/main-container/main-container.module.mjs +2 -2
  298. package/esm2020/layout/nav/aria-current-link.mjs +2 -2
  299. package/esm2020/layout/nav/chocolate/index.mjs +2 -2
  300. package/esm2020/layout/nav/chocolate/main-container-willy-wonka.mjs +2 -2
  301. package/esm2020/layout/nav/chocolate/nav-detection-oompa-loompa.mjs +2 -2
  302. package/esm2020/layout/nav/header.mjs +2 -2
  303. package/esm2020/layout/nav/index.mjs +2 -2
  304. package/esm2020/layout/nav/nav-level.mjs +2 -2
  305. package/esm2020/layout/nav/navigation.module.mjs +2 -2
  306. package/esm2020/layout/nav/providers/responsive-navigation.service.mjs +2 -2
  307. package/esm2020/layout/nav/responsive-nav-codes.mjs +2 -2
  308. package/esm2020/layout/nav/responsive-nav-control-message.mjs +2 -2
  309. package/esm2020/layout/tabs/chocolate/active-oompa-loompa.mjs +2 -2
  310. package/esm2020/layout/tabs/chocolate/tabs-willy-wonka.mjs +2 -2
  311. package/esm2020/layout/tabs/enums/tabs-layout.enum.mjs +2 -2
  312. package/esm2020/layout/tabs/index.mjs +2 -2
  313. package/esm2020/layout/tabs/providers/tabs.service.mjs +2 -2
  314. package/esm2020/layout/tabs/tab-action.directive.mjs +2 -2
  315. package/esm2020/layout/tabs/tab-content.mjs +2 -2
  316. package/esm2020/layout/tabs/tab-link.directive.mjs +2 -2
  317. package/esm2020/layout/tabs/tab-overflow-content.mjs +2 -2
  318. package/esm2020/layout/tabs/tab.mjs +2 -2
  319. package/esm2020/layout/tabs/tabs-actions.mjs +2 -2
  320. package/esm2020/layout/tabs/tabs-id.provider.mjs +2 -2
  321. package/esm2020/layout/tabs/tabs.mjs +2 -2
  322. package/esm2020/layout/tabs/tabs.module.mjs +2 -2
  323. package/esm2020/layout/vertical-nav/index.mjs +2 -2
  324. package/esm2020/layout/vertical-nav/providers/vertical-nav-group-registration.service.mjs +2 -2
  325. package/esm2020/layout/vertical-nav/providers/vertical-nav-group.service.mjs +2 -2
  326. package/esm2020/layout/vertical-nav/providers/vertical-nav-icon.service.mjs +2 -2
  327. package/esm2020/layout/vertical-nav/providers/vertical-nav.service.mjs +2 -2
  328. package/esm2020/layout/vertical-nav/vertical-nav-group-children.mjs +2 -2
  329. package/esm2020/layout/vertical-nav/vertical-nav-group.mjs +4 -4
  330. package/esm2020/layout/vertical-nav/vertical-nav-icon.mjs +2 -2
  331. package/esm2020/layout/vertical-nav/vertical-nav-link.mjs +2 -2
  332. package/esm2020/layout/vertical-nav/vertical-nav.mjs +10 -5
  333. package/esm2020/layout/vertical-nav/vertical-nav.module.mjs +2 -2
  334. package/esm2020/modal/index.mjs +3 -2
  335. package/esm2020/modal/modal-body.mjs +2 -2
  336. package/esm2020/modal/modal-configuration.service.mjs +2 -2
  337. package/esm2020/modal/modal-host.directive.mjs +20 -0
  338. package/esm2020/modal/modal-stack.service.mjs +2 -2
  339. package/esm2020/modal/modal.mjs +12 -6
  340. package/esm2020/modal/modal.module.mjs +5 -4
  341. package/esm2020/modal/side-panel.mjs +90 -14
  342. package/esm2020/modal/side-panel.module.mjs +5 -5
  343. package/esm2020/popover/common/abstract-popover.mjs +14 -16
  344. package/esm2020/popover/common/popover-host-anchor.token.mjs +2 -2
  345. package/esm2020/popover/common/popover-options.interface.mjs +2 -2
  346. package/esm2020/popover/common/popover.mjs +2 -2
  347. package/esm2020/popover/dropdown/dropdown-item.mjs +2 -2
  348. package/esm2020/popover/dropdown/dropdown-menu.mjs +2 -2
  349. package/esm2020/popover/dropdown/dropdown-trigger.mjs +2 -2
  350. package/esm2020/popover/dropdown/dropdown.mjs +2 -2
  351. package/esm2020/popover/dropdown/dropdown.module.mjs +2 -2
  352. package/esm2020/popover/dropdown/index.mjs +2 -2
  353. package/esm2020/popover/dropdown/menu-positions.mjs +2 -2
  354. package/esm2020/popover/dropdown/providers/dropdown-focus-handler.service.mjs +2 -2
  355. package/esm2020/popover/dropdown/providers/dropdown.service.mjs +2 -2
  356. package/esm2020/popover/index.mjs +2 -2
  357. package/esm2020/popover/popover.module.mjs +2 -2
  358. package/esm2020/popover/signpost/index.mjs +2 -2
  359. package/esm2020/popover/signpost/providers/signpost-focus-manager.service.mjs +2 -2
  360. package/esm2020/popover/signpost/providers/signpost-id.service.mjs +2 -2
  361. package/esm2020/popover/signpost/signpost-content.mjs +2 -2
  362. package/esm2020/popover/signpost/signpost-positions.mjs +2 -2
  363. package/esm2020/popover/signpost/signpost-title.mjs +2 -2
  364. package/esm2020/popover/signpost/signpost-trigger.mjs +2 -2
  365. package/esm2020/popover/signpost/signpost.mjs +2 -2
  366. package/esm2020/popover/signpost/signpost.module.mjs +2 -2
  367. package/esm2020/popover/tooltip/index.mjs +2 -2
  368. package/esm2020/popover/tooltip/providers/tooltip-id.service.mjs +2 -2
  369. package/esm2020/popover/tooltip/providers/tooltip-mouse.service.mjs +2 -2
  370. package/esm2020/popover/tooltip/tooltip-content.mjs +2 -2
  371. package/esm2020/popover/tooltip/tooltip-trigger.mjs +2 -2
  372. package/esm2020/popover/tooltip/tooltip.mjs +2 -2
  373. package/esm2020/popover/tooltip/tooltip.module.mjs +2 -2
  374. package/esm2020/progress/progress-bars/index.mjs +2 -2
  375. package/esm2020/progress/progress-bars/progress-bar.mjs +2 -2
  376. package/esm2020/progress/progress-bars/progress-bar.module.mjs +2 -2
  377. package/esm2020/progress/spinner/index.mjs +2 -2
  378. package/esm2020/progress/spinner/spinner.mjs +2 -2
  379. package/esm2020/progress/spinner/spinner.module.mjs +2 -2
  380. package/esm2020/timeline/enums/timeline-layout.enum.mjs +2 -2
  381. package/esm2020/timeline/enums/timeline-step-state.enum.mjs +2 -2
  382. package/esm2020/timeline/index.mjs +2 -2
  383. package/esm2020/timeline/interface/icon-attribute.interface.mjs +2 -2
  384. package/esm2020/timeline/providers/timeline-icon-attribute.service.mjs +2 -2
  385. package/esm2020/timeline/timeline-step-description.mjs +2 -2
  386. package/esm2020/timeline/timeline-step-header.mjs +2 -2
  387. package/esm2020/timeline/timeline-step-title.mjs +2 -2
  388. package/esm2020/timeline/timeline-step.mjs +2 -2
  389. package/esm2020/timeline/timeline.mjs +2 -2
  390. package/esm2020/timeline/timeline.module.mjs +2 -2
  391. package/esm2020/utils/animations/collapse/collapse.mjs +2 -2
  392. package/esm2020/utils/animations/collapse/index.mjs +2 -2
  393. package/esm2020/utils/animations/constants.mjs +2 -2
  394. package/esm2020/utils/animations/expandable-animation/expandable-animation.mjs +2 -2
  395. package/esm2020/utils/animations/expandable-animation/expandable-animation.module.mjs +2 -2
  396. package/esm2020/utils/animations/expandable-animation/index.mjs +2 -2
  397. package/esm2020/utils/animations/fade/fade.mjs +2 -2
  398. package/esm2020/utils/animations/fade/index.mjs +2 -2
  399. package/esm2020/utils/animations/fade-slide/fade-slide.mjs +2 -2
  400. package/esm2020/utils/animations/fade-slide/index.mjs +2 -2
  401. package/esm2020/utils/animations/index.mjs +2 -2
  402. package/esm2020/utils/animations/slide/index.mjs +2 -2
  403. package/esm2020/utils/animations/slide/slide.mjs +2 -2
  404. package/esm2020/utils/assert/assert.helpers.mjs +2 -2
  405. package/esm2020/utils/breakpoints/breakpoints.mjs +2 -2
  406. package/esm2020/utils/cdk/cdk-drag.module.mjs +1 -1
  407. package/esm2020/utils/cdk/cdk-trap-focus.module.mjs +2 -2
  408. package/esm2020/utils/chocolate/oompa-loompa.mjs +2 -2
  409. package/esm2020/utils/chocolate/willy-wonka.mjs +2 -2
  410. package/esm2020/utils/component/is-boolean-attribute-set.mjs +2 -2
  411. package/esm2020/utils/conditional/conditional.module.mjs +2 -2
  412. package/esm2020/utils/conditional/if-active.directive.mjs +2 -2
  413. package/esm2020/utils/conditional/if-active.service.mjs +2 -2
  414. package/esm2020/utils/conditional/if-expanded.directive.mjs +2 -2
  415. package/esm2020/utils/conditional/if-expanded.service.mjs +2 -2
  416. package/esm2020/utils/conditional/if-open.directive.mjs +2 -2
  417. package/esm2020/utils/conditional/index.mjs +2 -2
  418. package/esm2020/utils/destroy/destroy.service.mjs +2 -2
  419. package/esm2020/utils/destroy/index.mjs +2 -2
  420. package/esm2020/utils/dom-adapter/dom-adapter.mjs +2 -2
  421. package/esm2020/utils/enums/keys.enum.mjs +4 -2
  422. package/esm2020/utils/focus/arrow-key-direction.enum.mjs +2 -2
  423. package/esm2020/utils/focus/focus-on-view-init/focus-on-view-init.mjs +2 -2
  424. package/esm2020/utils/focus/focus-on-view-init/focus-on-view-init.module.mjs +2 -2
  425. package/esm2020/utils/focus/focus-on-view-init/focus-on-view-init.provider.mjs +2 -2
  426. package/esm2020/utils/focus/focus-on-view-init/index.mjs +2 -2
  427. package/esm2020/utils/focus/focus-trap/index.mjs +2 -2
  428. package/esm2020/utils/focus/focus-trap/standalone-cdk-trap-focus.directive.mjs +2 -2
  429. package/esm2020/utils/focus/focus.service.mjs +2 -2
  430. package/esm2020/utils/focus/focusable-item/basic-focusable-item.service.mjs +2 -2
  431. package/esm2020/utils/focus/focusable-item/custom-focusable-item-provider.mjs +2 -2
  432. package/esm2020/utils/focus/focusable-item/focusable-item.mjs +2 -2
  433. package/esm2020/utils/focus/focusable-item/linkers.mjs +2 -2
  434. package/esm2020/utils/focus/key-focus/enums/focus-direction.enum.mjs +2 -2
  435. package/esm2020/utils/focus/key-focus/index.mjs +2 -2
  436. package/esm2020/utils/focus/key-focus/interfaces.mjs +2 -2
  437. package/esm2020/utils/focus/key-focus/key-focus-item.mjs +2 -2
  438. package/esm2020/utils/focus/key-focus/key-focus.mjs +2 -2
  439. package/esm2020/utils/focus/key-focus/key-focus.module.mjs +2 -2
  440. package/esm2020/utils/focus/key-focus/roving-tabindex.mjs +2 -2
  441. package/esm2020/utils/focus/key-focus/util.mjs +2 -2
  442. package/esm2020/utils/focus/wrap-observable.mjs +2 -2
  443. package/esm2020/utils/forms/validation.mjs +2 -2
  444. package/esm2020/utils/host-wrapping/empty-anchor.mjs +2 -2
  445. package/esm2020/utils/host-wrapping/host-wrapper.mjs +2 -4
  446. package/esm2020/utils/host-wrapping/host-wrapping.module.mjs +2 -2
  447. package/esm2020/utils/i18n/common-strings.default.mjs +6 -2
  448. package/esm2020/utils/i18n/common-strings.interface.mjs +2 -2
  449. package/esm2020/utils/i18n/common-strings.service.mjs +2 -2
  450. package/esm2020/utils/i18n/index.mjs +2 -2
  451. package/esm2020/utils/id-generator/id-generator.service.mjs +2 -2
  452. package/esm2020/utils/index.mjs +2 -2
  453. package/esm2020/utils/loading/index.mjs +2 -2
  454. package/esm2020/utils/loading/loading-listener.mjs +2 -2
  455. package/esm2020/utils/loading/loading.mjs +2 -2
  456. package/esm2020/utils/loading/loading.module.mjs +2 -2
  457. package/esm2020/utils/outside-click/index.mjs +2 -2
  458. package/esm2020/utils/outside-click/outside-click.mjs +2 -2
  459. package/esm2020/utils/outside-click/outside-click.module.mjs +2 -2
  460. package/esm2020/utils/popover/enums/alignment.enum.mjs +2 -2
  461. package/esm2020/utils/popover/enums/axis.enum.mjs +2 -2
  462. package/esm2020/utils/popover/enums/positions.enum.mjs +2 -2
  463. package/esm2020/utils/popover/enums/side.enum.mjs +2 -2
  464. package/esm2020/utils/popover/enums/viewport-violation.enum.mjs +2 -2
  465. package/esm2020/utils/popover/index.mjs +2 -2
  466. package/esm2020/utils/popover/interfaces/popover-content-offset.interface.mjs +2 -2
  467. package/esm2020/utils/popover/interfaces/popover-position.interface.mjs +2 -2
  468. package/esm2020/utils/popover/interfaces/visibility-coords.interface.mjs +2 -2
  469. package/esm2020/utils/popover/popover-anchor.mjs +2 -2
  470. package/esm2020/utils/popover/popover-close-button.mjs +2 -2
  471. package/esm2020/utils/popover/popover-content.mjs +2 -2
  472. package/esm2020/utils/popover/popover-host.directive.mjs +2 -2
  473. package/esm2020/utils/popover/popover-open-close-button.mjs +2 -2
  474. package/esm2020/utils/popover/popover.module.mjs +2 -2
  475. package/esm2020/utils/popover/position-operators.mjs +2 -2
  476. package/esm2020/utils/popover/providers/popover-events.service.mjs +2 -2
  477. package/esm2020/utils/popover/providers/popover-position.service.mjs +2 -2
  478. package/esm2020/utils/popover/providers/popover-toggle.service.mjs +2 -2
  479. package/esm2020/utils/popover/stop-escape-propagation.directive.mjs +2 -2
  480. package/esm2020/utils/scrolling/scrolling-service.mjs +2 -2
  481. package/esm2020/utils/template-ref/index.mjs +2 -2
  482. package/esm2020/utils/template-ref/template-ref-container.mjs +2 -2
  483. package/esm2020/utils/template-ref/template-ref.module.mjs +2 -2
  484. package/esm2020/wizard/heading-level.mjs +2 -2
  485. package/esm2020/wizard/index.mjs +2 -2
  486. package/esm2020/wizard/providers/button-hub.service.mjs +2 -2
  487. package/esm2020/wizard/providers/header-actions.service.mjs +2 -2
  488. package/esm2020/wizard/providers/page-collection.service.mjs +2 -2
  489. package/esm2020/wizard/providers/wizard-navigation.service.mjs +2 -2
  490. package/esm2020/wizard/wizard-button.mjs +2 -2
  491. package/esm2020/wizard/wizard-header-action.mjs +2 -2
  492. package/esm2020/wizard/wizard-page-buttons.mjs +2 -2
  493. package/esm2020/wizard/wizard-page-header-actions.mjs +2 -2
  494. package/esm2020/wizard/wizard-page-navtitle.mjs +2 -2
  495. package/esm2020/wizard/wizard-page-title.mjs +2 -2
  496. package/esm2020/wizard/wizard-page.mjs +2 -2
  497. package/esm2020/wizard/wizard-stepnav-item.mjs +6 -2
  498. package/esm2020/wizard/wizard-stepnav.mjs +2 -2
  499. package/esm2020/wizard/wizard-title.mjs +2 -2
  500. package/esm2020/wizard/wizard.mjs +11 -5
  501. package/esm2020/wizard/wizard.module.mjs +2 -2
  502. package/fesm2015/clr-angular.mjs +14736 -12993
  503. package/fesm2015/clr-angular.mjs.map +1 -1
  504. package/fesm2020/clr-angular.mjs +14416 -12708
  505. package/fesm2020/clr-angular.mjs.map +1 -1
  506. package/forms/checkbox/checkbox-wrapper.d.ts +1 -3
  507. package/forms/common/abstract-container.d.ts +4 -3
  508. package/forms/common/if-control-state/abstract-if-state.d.ts +1 -0
  509. package/forms/common/if-control-state/if-control-state.service.d.ts +4 -7
  510. package/forms/common/providers/ng-control.service.d.ts +8 -0
  511. package/forms/common/wrapped-control.d.ts +7 -4
  512. package/forms/datepicker/calendar.d.ts +10 -1
  513. package/forms/datepicker/date-container.d.ts +16 -3
  514. package/forms/datepicker/date-end-input.d.ts +15 -0
  515. package/forms/datepicker/date-input.d.ts +18 -12
  516. package/forms/datepicker/date-input.validator.d.ts +18 -1
  517. package/forms/datepicker/date-single-input.d.ts +15 -0
  518. package/forms/datepicker/date-start-input.d.ts +15 -0
  519. package/forms/datepicker/datepicker-action-buttons.d.ts +16 -0
  520. package/forms/datepicker/datepicker-view-manager.d.ts +9 -1
  521. package/forms/datepicker/datepicker.module.d.ts +18 -14
  522. package/forms/datepicker/day.d.ts +16 -6
  523. package/forms/datepicker/index.d.ts +4 -0
  524. package/forms/datepicker/interfaces/date-range.interface.d.ts +8 -0
  525. package/forms/datepicker/model/calendar-view.model.d.ts +12 -2
  526. package/forms/datepicker/model/calendar.model.d.ts +8 -0
  527. package/forms/datepicker/model/day-view.model.d.ts +3 -1
  528. package/forms/datepicker/model/day.model.d.ts +8 -0
  529. package/forms/datepicker/monthpicker.d.ts +43 -2
  530. package/forms/datepicker/providers/date-io.service.d.ts +5 -1
  531. package/forms/datepicker/providers/date-navigation.service.d.ts +32 -2
  532. package/forms/datepicker/yearpicker.d.ts +14 -0
  533. package/forms/file-input/file-input-container.d.ts +15 -4
  534. package/forms/file-input/file-input-validator-errors.d.ts +52 -0
  535. package/forms/file-input/file-input.module.d.ts +7 -4
  536. package/forms/file-input/file-list.d.ts +18 -0
  537. package/forms/file-input/file-messages-template.d.ts +19 -0
  538. package/forms/file-input/file-messages.d.ts +17 -0
  539. package/forms/file-input/index.d.ts +4 -0
  540. package/forms/forms.module.d.ts +2 -1
  541. package/forms/index.d.ts +1 -0
  542. package/forms/input/input-container.d.ts +1 -1
  543. package/forms/number-input/index.d.ts +3 -0
  544. package/forms/number-input/number-input-container.d.ts +16 -0
  545. package/forms/number-input/number-input.d.ts +20 -0
  546. package/forms/number-input/number-input.module.d.ts +13 -0
  547. package/forms/radio/radio-wrapper.d.ts +1 -3
  548. package/layout/vertical-nav/vertical-nav.d.ts +3 -1
  549. package/modal/index.d.ts +1 -0
  550. package/modal/modal-host.directive.d.ts +5 -0
  551. package/modal/modal.d.ts +4 -2
  552. package/modal/modal.module.d.ts +5 -4
  553. package/modal/side-panel.d.ts +25 -6
  554. package/modal/side-panel.module.d.ts +1 -1
  555. package/package.json +2 -2
  556. package/popover/common/abstract-popover.d.ts +0 -1
  557. package/utils/enums/keys.enum.d.ts +3 -1
  558. package/utils/host-wrapping/host-wrapper.d.ts +1 -2
  559. package/utils/i18n/common-strings.interface.d.ts +16 -0
  560. package/wizard/wizard.d.ts +2 -1
  561. package/esm2020/utils/host-wrapping/dynamic-wrapper.mjs +0 -8
  562. package/utils/host-wrapping/dynamic-wrapper.d.ts +0 -3
@@ -6,7 +6,9 @@ export declare class DayViewModel {
6
6
  isDisabled: boolean;
7
7
  isSelected: boolean;
8
8
  isFocusable: boolean;
9
- constructor(dayModel: DayModel, isTodaysDate?: boolean, isExcluded?: boolean, isDisabled?: boolean, isSelected?: boolean, isFocusable?: boolean);
9
+ isRangeStartDay: boolean;
10
+ isRangeEndDay: boolean;
11
+ constructor(dayModel: DayModel, isTodaysDate?: boolean, isExcluded?: boolean, isDisabled?: boolean, isSelected?: boolean, isFocusable?: boolean, isRangeStartDay?: boolean, isRangeEndDay?: boolean);
10
12
  /**
11
13
  * Gets the tab index based on the isFocusable flag.
12
14
  */
@@ -18,5 +18,13 @@ export declare class DayModel {
18
18
  clone(): DayModel;
19
19
  toComparisonString(): string;
20
20
  toDateString(): string;
21
+ /**
22
+ * Compares the dates and returns boolean value based on the value passed
23
+ */
24
+ isBefore(day: DayModel, dayInclusive?: boolean): boolean;
25
+ /**
26
+ * Compares the dates and returns boolean value based on the value passed
27
+ */
28
+ isAfter(day: DayModel, dayInclusive?: boolean): boolean;
21
29
  private pad;
22
30
  }
@@ -1,20 +1,22 @@
1
1
  import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { ClrCommonStringsService } from '../../utils';
2
3
  import { DateNavigationService } from './providers/date-navigation.service';
3
4
  import { DatepickerFocusService } from './providers/datepicker-focus.service';
4
5
  import { LocaleHelperService } from './providers/locale-helper.service';
5
6
  import { ViewManagerService } from './providers/view-manager.service';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class ClrMonthpicker implements AfterViewInit {
8
- private _viewManagerService;
9
9
  private _localeHelperService;
10
10
  private _dateNavigationService;
11
11
  private _datepickerFocusService;
12
12
  private _elRef;
13
+ private _viewManagerService;
14
+ commonStrings: ClrCommonStringsService;
13
15
  /**
14
16
  * Keeps track of the current focused month.
15
17
  */
16
18
  private _focusedMonthIndex;
17
- constructor(_viewManagerService: ViewManagerService, _localeHelperService: LocaleHelperService, _dateNavigationService: DateNavigationService, _datepickerFocusService: DatepickerFocusService, _elRef: ElementRef<HTMLElement>);
19
+ constructor(_localeHelperService: LocaleHelperService, _dateNavigationService: DateNavigationService, _datepickerFocusService: DatepickerFocusService, _elRef: ElementRef, _viewManagerService: ViewManagerService, commonStrings: ClrCommonStringsService);
18
20
  /**
19
21
  * Gets the months array which is used to rendered the monthpicker view.
20
22
  * Months are in the TranslationWidth.Wide format.
@@ -24,6 +26,23 @@ export declare class ClrMonthpicker implements AfterViewInit {
24
26
  * Gets the month value of the Calendar.
25
27
  */
26
28
  get calendarMonthIndex(): number;
29
+ /**
30
+ * Gets the year which the user is currently on.
31
+ */
32
+ get calendarEndMonthIndex(): number;
33
+ get yearAttrString(): string;
34
+ /**
35
+ * Returns the year value of the calendar.
36
+ */
37
+ get calendarYear(): number;
38
+ get currentCalendarYear(): number;
39
+ get currentCalendarMonth(): number;
40
+ getIsRangeStartMonth(monthIndex: number): boolean;
41
+ getIsRangeEndMonth(monthIndex: number): boolean;
42
+ /**
43
+ * Calls the ViewManagerService to change to the yearpicker view.
44
+ */
45
+ changeToYearView(): void;
27
46
  /**
28
47
  * Focuses on the current calendar month when the View is initialized.
29
48
  */
@@ -32,6 +51,11 @@ export declare class ClrMonthpicker implements AfterViewInit {
32
51
  * Handles the Keyboard arrow navigation for the monthpicker.
33
52
  */
34
53
  onKeyDown(event: KeyboardEvent): void;
54
+ isSelected(monthIndex: number): boolean;
55
+ /**
56
+ * Calls the DateNavigationService to update the hovered month value of the calendar
57
+ */
58
+ onHover(monthIndex: number): void;
35
59
  /**
36
60
  * Calls the DateNavigationService to update the month value of the calendar.
37
61
  * Also changes the view to the daypicker.
@@ -41,6 +65,23 @@ export declare class ClrMonthpicker implements AfterViewInit {
41
65
  * Compares the month passed to the focused month and returns the tab index.
42
66
  */
43
67
  getTabIndex(monthIndex: number): number;
68
+ /**
69
+ * Calls the DateNavigationService to move to the next month.
70
+ */
71
+ nextYear(): void;
72
+ /**
73
+ * Calls the DateNavigationService to move to the previous month.
74
+ */
75
+ previousYear(): void;
76
+ /**
77
+ * Calls the DateNavigationService to move to the current month.
78
+ */
79
+ currentYear(): void;
80
+ /**
81
+ * Applicable only to date range picker
82
+ * Compares the month passed is in between the start and end date range
83
+ */
84
+ isInRange(monthIndex: number): boolean;
44
85
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrMonthpicker, never>;
45
86
  static ɵcmp: i0.ɵɵComponentDeclaration<ClrMonthpicker, "clr-monthpicker", never, {}, {}, never, never, false, never>;
46
87
  }
@@ -1,17 +1,21 @@
1
- import { DateRange } from '../interfaces/date-range.interface';
1
+ import { DateRange, DateRangeOption } from '../interfaces/date-range.interface';
2
2
  import { LocaleHelperService } from './locale-helper.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class DateIOService {
5
5
  disabledDates: DateRange;
6
6
  cldrLocaleDateFormat: string;
7
+ private dateRangeOptions;
7
8
  private localeDisplayFormat;
8
9
  private delimiters;
9
10
  constructor(localeHelperService: LocaleHelperService);
10
11
  get placeholderText(): string;
11
12
  setMinDate(date: string): void;
12
13
  setMaxDate(date: string): void;
14
+ setRangeOptions(rangeOptions: DateRangeOption[]): void;
15
+ getRangeOptions(): any;
13
16
  toLocaleDisplayFormatString(date: Date): string;
14
17
  getDateValueFromDateString(date: string): Date;
18
+ private validateDateRangeOptions;
15
19
  private initializeLocaleDisplayFormat;
16
20
  private extractDelimiters;
17
21
  /**
@@ -1,4 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
+ import { DateRangeInput } from '../interfaces/date-range.interface';
2
3
  import { CalendarModel } from '../model/calendar.model';
3
4
  import { DayModel } from '../model/day.model';
4
5
  import * as i0 from "@angular/core";
@@ -9,18 +10,29 @@ import * as i0 from "@angular/core";
9
10
  * 3. Managing the focused and selected day models.
10
11
  */
11
12
  export declare class DateNavigationService {
13
+ persistedDate: DayModel;
14
+ persistedEndDate: DayModel;
12
15
  selectedDay: DayModel;
16
+ selectedEndDay: DayModel;
13
17
  focusedDay: DayModel;
18
+ hoveredDay: DayModel;
19
+ hoveredMonth: number;
20
+ hoveredYear: number;
21
+ isRangePicker: boolean;
22
+ hasActionButtons: boolean;
14
23
  private _displayedCalendar;
15
24
  private _todaysFullDate;
16
25
  private _today;
17
26
  private _selectedDayChange;
27
+ private _selectedEndDayChange;
18
28
  private _displayedCalendarChange;
19
29
  private _focusOnCalendarChange;
30
+ private _refreshCalendarView;
20
31
  private _focusedDayChange;
21
32
  get today(): DayModel;
22
33
  get displayedCalendar(): CalendarModel;
23
34
  get selectedDayChange(): Observable<DayModel>;
35
+ get selectedEndDayChange(): Observable<DayModel>;
24
36
  /**
25
37
  * This observable lets the subscriber know that the displayed calendar has changed.
26
38
  */
@@ -33,11 +45,16 @@ export declare class DateNavigationService {
33
45
  * This observable lets the subscriber know that the focused day in the displayed calendar has changed.
34
46
  */
35
47
  get focusedDayChange(): Observable<DayModel>;
48
+ /**
49
+ * This observable lets the subscriber know that the displayed calendar has changed.
50
+ */
51
+ get refreshCalendarView(): Observable<void>;
36
52
  /**
37
53
  * Notifies that the selected day has changed so that the date can be emitted to the user.
38
- * Note: Only to be called from day.ts
39
54
  */
40
- notifySelectedDayChanged(dayModel: DayModel): void;
55
+ notifySelectedDayChanged(dayObject: DayModel | DateRangeInput, { emitEvent }?: {
56
+ emitEvent: boolean;
57
+ }): void;
41
58
  /**
42
59
  * Initializes the calendar based on the selected day.
43
60
  */
@@ -52,11 +69,24 @@ export declare class DateNavigationService {
52
69
  * Moves the displayed calendar to the previous month.
53
70
  */
54
71
  moveToPreviousMonth(): void;
72
+ /**
73
+ * Moves the displayed calendar to the next year.
74
+ */
75
+ moveToNextYear(): void;
76
+ /**
77
+ * Moves the displayed calendar to the previous year.
78
+ */
79
+ moveToPreviousYear(): void;
55
80
  /**
56
81
  * Moves the displayed calendar to the current month and year.
57
82
  */
58
83
  moveToCurrentMonth(): void;
84
+ moveToSpecificMonth(day: DayModel): void;
59
85
  incrementFocusDay(value: number): void;
86
+ resetSelectedDay(): void;
87
+ convertDateToDayModel(date: Date): DayModel;
88
+ private setSelectedDay;
89
+ private setSelectedEndDay;
60
90
  private setDisplayedCalendar;
61
91
  private initializeTodaysDate;
62
92
  static ɵfac: i0.ɵɵFactoryDeclaration<DateNavigationService, never>;
@@ -20,10 +20,14 @@ export declare class ClrYearpicker implements AfterViewInit {
20
20
  */
21
21
  private _focusedYear;
22
22
  constructor(_dateNavigationService: DateNavigationService, _viewManagerService: ViewManagerService, _datepickerFocusService: DatepickerFocusService, _elRef: ElementRef<HTMLElement>, commonStrings: ClrCommonStringsService);
23
+ get selectedStartYear(): number;
24
+ get selectedEndYear(): number;
23
25
  /**
24
26
  * Gets the year which the user is currently on.
25
27
  */
26
28
  get calendarYear(): number;
29
+ getIsRangeStartYear(year: number): boolean;
30
+ getIsRangeEndYear(year: number): boolean;
27
31
  /**
28
32
  * Focuses on the current calendar year when the View is initialized.
29
33
  */
@@ -37,6 +41,10 @@ export declare class ClrYearpicker implements AfterViewInit {
37
41
  * Also changes the view to the daypicker.
38
42
  */
39
43
  changeYear(year: number): void;
44
+ /**
45
+ * Calls the DateNavigationService to update the hovered year value of the calendar
46
+ */
47
+ onHover(year: number): void;
40
48
  /**
41
49
  * Updates the YearRangeModel to the previous decade.
42
50
  */
@@ -53,6 +61,12 @@ export declare class ClrYearpicker implements AfterViewInit {
53
61
  * Compares the year passed to the focused year and returns the tab index.
54
62
  */
55
63
  getTabIndex(year: number): number;
64
+ /**
65
+ * Applicable only to date range picker
66
+ * Compares the year passed is in between the start and end date range
67
+ */
68
+ isInRange(year: number): boolean;
69
+ changeToDayView(): void;
56
70
  /**
57
71
  * Increments the focus year by the value passed. Updates the YearRangeModel if the
58
72
  * new value is not in the current decade.
@@ -1,16 +1,27 @@
1
- import { ClrCommonStringsService } from '../../utils/i18n/common-strings.service';
2
1
  import { ClrAbstractContainer } from '../common/abstract-container';
3
2
  import { ClrFileInput } from './file-input';
3
+ import { ClrFileList } from './file-list';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ClrFileInputContainer extends ClrAbstractContainer {
6
6
  customButtonLabel: string;
7
- protected readonly commonStrings: ClrCommonStringsService;
8
- protected readonly fileInput: ClrFileInput;
7
+ readonly fileInput: ClrFileInput;
8
+ protected readonly fileList: ClrFileList;
9
9
  private browseButtonElementRef;
10
+ private fileListFileInputElementRef;
11
+ private readonly fileSuccessComponent;
12
+ private readonly fileErrorComponent;
13
+ private readonly commonStrings;
14
+ protected get accept(): string;
15
+ protected get multiple(): boolean;
10
16
  protected get disabled(): boolean;
17
+ protected get browseButtonText(): string;
11
18
  protected get browseButtonDescribedBy(): string;
19
+ protected get successMessagePresent(): boolean;
20
+ protected get errorMessagePresent(): boolean;
21
+ focusBrowseButton(): void;
12
22
  protected browse(): void;
13
23
  protected clearSelectedFiles(): void;
24
+ protected addFilesToSelection(newFiles: FileList): void;
14
25
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrFileInputContainer, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrFileInputContainer, "clr-file-input-container", never, { "customButtonLabel": "clrButtonLabel"; }, {}, ["fileInput"], ["label", "[clrFileInput]", "clr-control-helper", "clr-control-error", "clr-control-success"], false, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrFileInputContainer, "clr-file-input-container", never, { "customButtonLabel": "clrButtonLabel"; }, {}, ["fileInput", "fileList", "fileSuccessComponent", "fileErrorComponent"], ["label", "[clrFileInput]", "clr-control-helper", "clr-control-error", "clr-control-success", "clr-file-list"], false, never>;
16
27
  }
@@ -0,0 +1,52 @@
1
+ export interface ClrFileListValidationErrors {
2
+ required?: boolean;
3
+ accept?: ClrFileAcceptError[];
4
+ minFileSize?: ClrFileMinFileSizeError[];
5
+ maxFileSize?: ClrFileMaxFileSizeError[];
6
+ }
7
+ export interface ClrFileAcceptError {
8
+ /**
9
+ * The name of the selected file.
10
+ */
11
+ name: string;
12
+ /**
13
+ * The file types that are accepted by the file input.
14
+ */
15
+ accept: string[];
16
+ /**
17
+ * The actual MIME type of the selected file.
18
+ */
19
+ type: string;
20
+ /**
21
+ * The actual extension of the selected file.
22
+ */
23
+ extension: string;
24
+ }
25
+ export interface ClrFileMinFileSizeError {
26
+ /**
27
+ * The name of the selected file.
28
+ */
29
+ name: string;
30
+ /**
31
+ * The minimum file size that is accepted by the file input.
32
+ */
33
+ minFileSize: number;
34
+ /**
35
+ * The actual size of the selected file.
36
+ */
37
+ actualFileSize: number;
38
+ }
39
+ export interface ClrFileMaxFileSizeError {
40
+ /**
41
+ * The name of the selected file.
42
+ */
43
+ name: string;
44
+ /**
45
+ * The maximum file size that is accepted by the file input.
46
+ */
47
+ maxFileSize: number;
48
+ /**
49
+ * The actual size of the selected file.
50
+ */
51
+ actualFileSize: number;
52
+ }
@@ -3,12 +3,15 @@ import * as i1 from "./file-input";
3
3
  import * as i2 from "./file-input-container";
4
4
  import * as i3 from "./file-input-validator";
5
5
  import * as i4 from "./file-input-value-accessor";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "../../icon/icon.module";
8
- import * as i7 from "../common/common.module";
6
+ import * as i5 from "./file-list";
7
+ import * as i6 from "./file-messages-template";
8
+ import * as i7 from "./file-messages";
9
+ import * as i8 from "@angular/common";
10
+ import * as i9 from "../../icon/icon.module";
11
+ import * as i10 from "../common/common.module";
9
12
  export declare class ClrFileInputModule {
10
13
  constructor();
11
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrFileInputModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<ClrFileInputModule, [typeof i1.ClrFileInput, typeof i2.ClrFileInputContainer, typeof i3.ClrFileInputValidator, typeof i4.ClrFileInputValueAccessor], [typeof i5.CommonModule, typeof i6.ClrIconModule, typeof i7.ClrCommonFormsModule], [typeof i7.ClrCommonFormsModule, typeof i1.ClrFileInput, typeof i2.ClrFileInputContainer, typeof i3.ClrFileInputValidator, typeof i4.ClrFileInputValueAccessor]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrFileInputModule, [typeof i1.ClrFileInput, typeof i2.ClrFileInputContainer, typeof i3.ClrFileInputValidator, typeof i4.ClrFileInputValueAccessor, typeof i5.ClrFileList, typeof i6.ClrFileMessagesTemplate, typeof i7.ClrFileInfo, typeof i7.ClrFileSuccess, typeof i7.ClrFileError], [typeof i8.CommonModule, typeof i9.ClrIconModule, typeof i10.ClrCommonFormsModule], [typeof i10.ClrCommonFormsModule, typeof i1.ClrFileInput, typeof i2.ClrFileInputContainer, typeof i3.ClrFileInputValidator, typeof i4.ClrFileInputValueAccessor, typeof i5.ClrFileList, typeof i6.ClrFileMessagesTemplate, typeof i7.ClrFileInfo, typeof i7.ClrFileSuccess, typeof i7.ClrFileError]>;
13
16
  static ɵinj: i0.ɵɵInjectorDeclaration<ClrFileInputModule>;
14
17
  }
@@ -0,0 +1,18 @@
1
+ import { Injector } from '@angular/core';
2
+ import { ClrFileMessagesTemplate, ClrFileMessagesTemplateContext } from './file-messages-template';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ClrFileList {
5
+ protected readonly fileMessagesTemplate: ClrFileMessagesTemplate;
6
+ private readonly injector;
7
+ private readonly commonStrings;
8
+ private readonly ngControlService;
9
+ private readonly fileInputContainer;
10
+ constructor();
11
+ protected get files(): File[];
12
+ protected getClearFileLabel(filename: string): string;
13
+ protected clearFile(fileToRemove: File): void;
14
+ protected createFileMessagesTemplateContext(file: File): ClrFileMessagesTemplateContext;
15
+ protected createFileMessagesTemplateInjector(fileMessagesTemplateContext: ClrFileMessagesTemplateContext): Injector;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrFileList, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrFileList, "clr-file-list", never, {}, {}, ["fileMessagesTemplate"], never, false, never>;
18
+ }
@@ -0,0 +1,19 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { ClrFileAcceptError, ClrFileMaxFileSizeError, ClrFileMinFileSizeError } from './file-input-validator-errors';
3
+ import * as i0 from "@angular/core";
4
+ export interface ClrSingleFileValidationErrors {
5
+ accept?: ClrFileAcceptError;
6
+ minFileSize?: ClrFileMinFileSizeError;
7
+ maxFileSize?: ClrFileMaxFileSizeError;
8
+ }
9
+ export interface ClrFileMessagesTemplateContext {
10
+ $implicit: File;
11
+ success: boolean;
12
+ errors: ClrSingleFileValidationErrors;
13
+ }
14
+ export declare class ClrFileMessagesTemplate {
15
+ readonly templateRef: TemplateRef<ClrFileMessagesTemplateContext>;
16
+ static ngTemplateContextGuard(directive: ClrFileMessagesTemplate, context: unknown): context is ClrFileMessagesTemplateContext;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrFileMessagesTemplate, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClrFileMessagesTemplate, "ng-template[clr-file-messages]", never, {}, {}, never, never, false, never>;
19
+ }
@@ -0,0 +1,17 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { ClrFileMessagesTemplateContext } from './file-messages-template';
3
+ import * as i0 from "@angular/core";
4
+ export declare const CLR_FILE_MESSAGES_TEMPLATE_CONTEXT: InjectionToken<ClrFileMessagesTemplateContext>;
5
+ export declare class ClrFileInfo {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrFileInfo, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrFileInfo, "clr-file-info", never, {}, {}, never, ["*"], false, never>;
8
+ }
9
+ export declare class ClrFileSuccess {
10
+ protected readonly context: ClrFileMessagesTemplateContext;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrFileSuccess, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrFileSuccess, "clr-file-success", never, {}, {}, never, ["*"], false, never>;
13
+ }
14
+ export declare class ClrFileError {
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrFileError, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrFileError, "clr-file-error", never, {}, {}, never, ["*"], false, never>;
17
+ }
@@ -1,5 +1,9 @@
1
1
  export * from './file-input';
2
2
  export * from './file-input-validator';
3
+ export * from './file-input-validator-errors';
3
4
  export * from './file-input-value-accessor';
4
5
  export * from './file-input-container';
6
+ export * from './file-list';
7
+ export * from './file-messages-template';
8
+ export * from './file-messages';
5
9
  export * from './file-input.module';
@@ -12,8 +12,9 @@ import * as i10 from "./select/select.module";
12
12
  import * as i11 from "./textarea/textarea.module";
13
13
  import * as i12 from "./range/range.module";
14
14
  import * as i13 from "./datalist/datalist.module";
15
+ import * as i14 from "./number-input/number-input.module";
15
16
  export declare class ClrFormsModule {
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrFormsModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<ClrFormsModule, never, [typeof i1.CommonModule], [typeof i2.ClrCommonFormsModule, typeof i3.ClrCheckboxModule, typeof i4.ClrComboboxModule, typeof i5.ClrDatepickerModule, typeof i6.ClrFileInputModule, typeof i7.ClrInputModule, typeof i8.ClrPasswordModule, typeof i9.ClrRadioModule, typeof i10.ClrSelectModule, typeof i11.ClrTextareaModule, typeof i12.ClrRangeModule, typeof i13.ClrDatalistModule]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrFormsModule, never, [typeof i1.CommonModule], [typeof i2.ClrCommonFormsModule, typeof i3.ClrCheckboxModule, typeof i4.ClrComboboxModule, typeof i5.ClrDatepickerModule, typeof i6.ClrFileInputModule, typeof i7.ClrInputModule, typeof i8.ClrPasswordModule, typeof i9.ClrRadioModule, typeof i10.ClrSelectModule, typeof i11.ClrTextareaModule, typeof i12.ClrRangeModule, typeof i13.ClrDatalistModule, typeof i14.ClrNumberInputModule]>;
18
19
  static ɵinj: i0.ɵɵInjectorDeclaration<ClrFormsModule>;
19
20
  }
package/forms/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export * from './datalist/index';
5
5
  export * from './datepicker/index';
6
6
  export * from './file-input/index';
7
7
  export * from './input/index';
8
+ export * from './number-input/index';
8
9
  export * from './password/index';
9
10
  export * from './radio/index';
10
11
  export * from './select/index';
@@ -2,5 +2,5 @@ import { ClrAbstractContainer } from '../common/abstract-container';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class ClrInputContainer extends ClrAbstractContainer {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrInputContainer, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrInputContainer, "clr-input-container", never, {}, {}, never, ["label", "[clrInput]", "clr-control-helper", "clr-control-error", "clr-control-success"], false, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrInputContainer, "clr-input-container", never, {}, {}, never, ["label", "[clrInputPrefix]", "[clrInput]", "[clrInputSuffix]", "clr-control-helper", "clr-control-error", "clr-control-success"], false, never>;
6
6
  }
@@ -0,0 +1,3 @@
1
+ export * from './number-input';
2
+ export * from './number-input-container';
3
+ export * from './number-input.module';
@@ -0,0 +1,16 @@
1
+ import { ClrAbstractContainer } from '../common/abstract-container';
2
+ import { IfControlStateService } from '../common/if-control-state/if-control-state.service';
3
+ import { ControlClassService } from '../common/providers/control-class.service';
4
+ import { FocusService } from '../common/providers/focus.service';
5
+ import { LayoutService } from '../common/providers/layout.service';
6
+ import { NgControlService } from '../common/providers/ng-control.service';
7
+ import { ClrNumberInput } from './number-input';
8
+ import * as i0 from "@angular/core";
9
+ export declare class ClrNumberInputContainer extends ClrAbstractContainer {
10
+ protected ifControlStateService: IfControlStateService;
11
+ focus: boolean;
12
+ protected readonly input: ClrNumberInput;
13
+ constructor(controlClassService: ControlClassService, layoutService: LayoutService, ngControlService: NgControlService, focusService: FocusService, ifControlStateService: IfControlStateService);
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrNumberInputContainer, [null, { optional: true; }, null, null, null]>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrNumberInputContainer, "clr-number-input-container", never, {}, {}, ["input"], ["label", "[clrNumberInput]", "clr-control-helper", "clr-control-error", "clr-control-success"], false, never>;
16
+ }
@@ -0,0 +1,20 @@
1
+ import { ElementRef, Injector, Renderer2, ViewContainerRef } from '@angular/core';
2
+ import { NgControl } from '@angular/forms';
3
+ import { FocusService } from '../common/providers/focus.service';
4
+ import { WrappedFormControl } from '../common/wrapped-control';
5
+ import { ClrNumberInputContainer } from './number-input-container';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ClrNumberInput extends WrappedFormControl<ClrNumberInputContainer> {
8
+ private focusService;
9
+ private control;
10
+ protected el: ElementRef<HTMLInputElement>;
11
+ protected index: number;
12
+ constructor(focusService: FocusService, vcr: ViewContainerRef, injector: Injector, control: NgControl, renderer: Renderer2, el: ElementRef<HTMLInputElement>);
13
+ get readonly(): boolean;
14
+ triggerFocus(): void;
15
+ triggerValidation(): void;
16
+ stepUp(): void;
17
+ stepDown(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrNumberInput, [{ optional: true; }, null, null, { optional: true; self: true; }, null, null]>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClrNumberInput, "input[type=\"number\"][clrNumberInput]", never, {}, {}, never, never, false, never>;
20
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./number-input";
3
+ import * as i2 from "./number-input-container";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "../../icon/icon.module";
7
+ import * as i6 from "../common/common.module";
8
+ export declare class ClrNumberInputModule {
9
+ constructor();
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrNumberInputModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrNumberInputModule, [typeof i1.ClrNumberInput, typeof i2.ClrNumberInputContainer], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.ClrIconModule, typeof i6.ClrCommonFormsModule], [typeof i6.ClrCommonFormsModule, typeof i1.ClrNumberInput, typeof i2.ClrNumberInputContainer]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<ClrNumberInputModule>;
13
+ }
@@ -1,9 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { DynamicWrapper } from '../../utils/host-wrapping/dynamic-wrapper';
3
2
  import { ClrLabel } from '../common/label';
4
3
  import * as i0 from "@angular/core";
5
- export declare class ClrRadioWrapper implements DynamicWrapper, OnInit {
6
- _dynamic: boolean;
4
+ export declare class ClrRadioWrapper implements OnInit {
7
5
  label: ClrLabel;
8
6
  ngOnInit(): void;
9
7
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrRadioWrapper, never>;
@@ -9,6 +9,8 @@ export declare class ClrVerticalNav implements OnDestroy {
9
9
  private _navIconService;
10
10
  private _navGroupRegistrationService;
11
11
  commonStrings: ClrCommonStringsService;
12
+ toggleLabel: string;
13
+ contentId: string;
12
14
  private _collapsedChanged;
13
15
  private _sub;
14
16
  constructor(_navService: VerticalNavService, _navIconService: VerticalNavIconService, _navGroupRegistrationService: VerticalNavGroupRegistrationService, commonStrings: ClrCommonStringsService);
@@ -22,5 +24,5 @@ export declare class ClrVerticalNav implements OnDestroy {
22
24
  ngOnDestroy(): void;
23
25
  toggleByButton(): void;
24
26
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrVerticalNav, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrVerticalNav, "clr-vertical-nav", never, { "collapsible": "clrVerticalNavCollapsible"; "collapsed": "clrVerticalNavCollapsed"; }, { "_collapsedChanged": "clrVerticalNavCollapsedChange"; }, never, ["*"], false, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrVerticalNav, "clr-vertical-nav", never, { "toggleLabel": "clrVerticalNavToggleLabel"; "collapsible": "clrVerticalNavCollapsible"; "collapsed": "clrVerticalNavCollapsed"; }, { "_collapsedChanged": "clrVerticalNavCollapsedChange"; }, never, ["*"], false, never>;
26
28
  }
package/modal/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './modal';
2
2
  export * from './modal.module';
3
3
  export * from './modal-configuration.service';
4
+ export * from './modal-host.directive';
4
5
  export * from './side-panel.module';
5
6
  export * from './modal-body';
6
7
  export * from './side-panel';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ClrModalHostDirective {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrModalHostDirective, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClrModalHostDirective, "[clrModalHost]", never, {}, {}, never, never, false, never>;
5
+ }
package/modal/modal.d.ts CHANGED
@@ -18,11 +18,12 @@ export declare class ClrModal implements OnChanges, OnDestroy {
18
18
  closeButtonAriaLabel: string;
19
19
  size: string;
20
20
  staticBackdrop: boolean;
21
- skipAnimation: string;
21
+ skipAnimation: boolean;
22
22
  stopClose: boolean;
23
23
  altClose: EventEmitter<boolean>;
24
24
  labelledBy: string;
25
25
  bypassScrollService: boolean;
26
+ private readonly bodyElementRef;
26
27
  constructor(_scrollingService: ScrollingService, commonStrings: ClrCommonStringsService, modalStackService: ModalStackService, configuration: ClrModalConfigurationService);
27
28
  get fadeMove(): string;
28
29
  set fadeMove(move: string);
@@ -35,6 +36,7 @@ export declare class ClrModal implements OnChanges, OnDestroy {
35
36
  backdropClick(): void;
36
37
  close(): void;
37
38
  fadeDone(e: AnimationEvent): void;
39
+ scrollTop(): void;
38
40
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrModal, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrModal, "clr-modal", never, { "_open": "clrModalOpen"; "closable": "clrModalClosable"; "closeButtonAriaLabel": "clrModalCloseButtonAriaLabel"; "size": "clrModalSize"; "staticBackdrop": "clrModalStaticBackdrop"; "skipAnimation": "clrModalSkipAnimation"; "stopClose": "clrModalPreventClose"; "labelledBy": "clrModalLabelledById"; "bypassScrollService": "clrModalOverrideScrollService"; }, { "_openChanged": "clrModalOpenChange"; "altClose": "clrModalAlternateClose"; }, never, [".modal-nav", ".modal-title", ".modal-body", ".modal-footer"], false, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrModal, "clr-modal", never, { "_open": "clrModalOpen"; "closable": "clrModalClosable"; "closeButtonAriaLabel": "clrModalCloseButtonAriaLabel"; "size": "clrModalSize"; "staticBackdrop": "clrModalStaticBackdrop"; "skipAnimation": "clrModalSkipAnimation"; "stopClose": "clrModalPreventClose"; "labelledBy": "clrModalLabelledById"; "bypassScrollService": "clrModalOverrideScrollService"; }, { "_openChanged": "clrModalOpenChange"; "altClose": "clrModalAlternateClose"; }, never, [".modal-nav", ".leading-button", ".modal-title", ".modal-body", ".modal-footer"], false, never>;
40
42
  }
@@ -2,13 +2,14 @@ import { Type } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  import * as i1 from "./modal";
4
4
  import * as i2 from "./modal-body";
5
- import * as i3 from "@angular/common";
6
- import * as i4 from "../utils/cdk/cdk-trap-focus.module";
7
- import * as i5 from "../icon/icon.module";
5
+ import * as i3 from "./modal-host.directive";
6
+ import * as i4 from "@angular/common";
7
+ import * as i5 from "../utils/cdk/cdk-trap-focus.module";
8
+ import * as i6 from "../icon/icon.module";
8
9
  export declare const CLR_MODAL_DIRECTIVES: Type<any>[];
9
10
  export declare class ClrModalModule {
10
11
  constructor();
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrModalModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<ClrModalModule, [typeof i1.ClrModal, typeof i2.ClrModalBody], [typeof i3.CommonModule, typeof i4.CdkTrapFocusModule, typeof i5.ClrIconModule], [typeof i1.ClrModal, typeof i2.ClrModalBody, typeof i5.ClrIconModule]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrModalModule, [typeof i1.ClrModal, typeof i2.ClrModalBody, typeof i3.ClrModalHostDirective], [typeof i4.CommonModule, typeof i5.CdkTrapFocusModule, typeof i6.ClrIconModule], [typeof i1.ClrModal, typeof i2.ClrModalBody, typeof i3.ClrModalHostDirective, typeof i6.ClrIconModule]>;
13
14
  static ɵinj: i0.ɵɵInjectorDeclaration<ClrModalModule>;
14
15
  }