@gettrx/core-components-angular 0.0.60 → 1.0.1

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 (372) hide show
  1. package/esm2022/generated/components.mjs +729 -0
  2. package/esm2022/generated/proxies-list.mjs +30 -0
  3. package/esm2022/generated/text-value-accessor.mjs +36 -0
  4. package/{esm2020 → esm2022}/generated/value-accessor.mjs +4 -4
  5. package/{esm2020 → esm2022}/gettrx-module.mjs +5 -5
  6. package/esm2022/index.mjs +2 -0
  7. package/esm2022/lib/atoms/badge/badge.component.mjs +77 -0
  8. package/esm2022/lib/atoms/badge/badge.module.mjs +19 -0
  9. package/esm2022/lib/atoms/badge/index.mjs +2 -0
  10. package/esm2022/lib/atoms/badge/public_api.mjs +3 -0
  11. package/esm2022/lib/atoms/button/button-close.directive.mjs +39 -0
  12. package/esm2022/lib/atoms/button/button.directive.mjs +102 -0
  13. package/esm2022/lib/atoms/button/button.module.mjs +17 -0
  14. package/esm2022/lib/atoms/button/index.mjs +2 -0
  15. package/esm2022/lib/atoms/button/public_api.mjs +4 -0
  16. package/esm2022/lib/atoms/custom-button/custom-button.component.mjs +60 -0
  17. package/esm2022/lib/atoms/custom-button/custom-button.module.mjs +19 -0
  18. package/esm2022/lib/atoms/custom-button/index.mjs +3 -0
  19. package/esm2022/lib/atoms/custom-button/utils/utils.mjs +2 -0
  20. package/esm2022/lib/atoms/custom-gtr-switch/custom-gtr-switch.component.mjs +109 -0
  21. package/esm2022/lib/atoms/custom-gtr-switch/custom-gtr-switch.module.mjs +18 -0
  22. package/esm2022/lib/atoms/custom-gtr-switch/index.mjs +2 -0
  23. package/esm2022/lib/atoms/custom-gtr-switch/public_api.mjs +3 -0
  24. package/esm2022/lib/atoms/custom-gtr-tooltip/custom-gtr-tooltip.component.mjs +143 -0
  25. package/esm2022/lib/atoms/custom-gtr-tooltip/custom-gtr-tooltip.module.mjs +18 -0
  26. package/esm2022/lib/atoms/custom-gtr-tooltip/index.mjs +2 -0
  27. package/esm2022/lib/atoms/custom-gtr-tooltip/public_api.mjs +3 -0
  28. package/esm2022/lib/atoms/custom-gtr-tooltip/utils/utils.mjs +2 -0
  29. package/esm2022/lib/atoms/custom-input/custom-input.component.mjs +364 -0
  30. package/esm2022/lib/atoms/custom-input/custom-input.module.mjs +21 -0
  31. package/esm2022/lib/atoms/custom-input/index.mjs +2 -0
  32. package/esm2022/lib/atoms/custom-input/public_api.mjs +3 -0
  33. package/esm2022/lib/atoms/custom-input/utils/input-utils.mjs +26 -0
  34. package/esm2022/lib/atoms/custom-textarea/custom-textarea.component.mjs +242 -0
  35. package/esm2022/lib/atoms/custom-textarea/custom-textarea.module.mjs +21 -0
  36. package/esm2022/lib/atoms/custom-textarea/index.mjs +2 -0
  37. package/esm2022/lib/atoms/custom-textarea/public_api.mjs +3 -0
  38. package/esm2022/lib/atoms/custom-textarea/utils/gtr-textarea.types.mjs +9 -0
  39. package/esm2022/lib/atoms/gtr.types.mjs +10 -0
  40. package/esm2022/lib/atoms/icon/icon.component.mjs +44 -0
  41. package/esm2022/lib/atoms/icon/icon.module.mjs +18 -0
  42. package/esm2022/lib/atoms/icon/index.mjs +2 -0
  43. package/esm2022/lib/atoms/icon/public_api.mjs +3 -0
  44. package/esm2022/lib/atoms/popover/index.mjs +2 -0
  45. package/esm2022/lib/atoms/popover/popover.component.mjs +147 -0
  46. package/esm2022/lib/atoms/popover/popover.module.mjs +18 -0
  47. package/esm2022/lib/atoms/popover/public_api.mjs +3 -0
  48. package/esm2022/lib/atoms/radio-button/index.mjs +2 -0
  49. package/esm2022/lib/atoms/radio-button/public_api.mjs +3 -0
  50. package/esm2022/lib/atoms/radio-button/radio-button.component.mjs +186 -0
  51. package/esm2022/lib/atoms/radio-button/radio-button.module.mjs +19 -0
  52. package/esm2022/lib/atoms/skeleton/index.mjs +2 -0
  53. package/esm2022/lib/atoms/skeleton/public_api.mjs +4 -0
  54. package/esm2022/lib/atoms/skeleton/skeleton.component.mjs +24 -0
  55. package/esm2022/lib/atoms/skeleton/skeleton.module.mjs +20 -0
  56. package/esm2022/lib/atoms/skeleton/utils/skeleton.directive.mjs +51 -0
  57. package/esm2022/lib/molecules/accordion/accordion/accordion.component.mjs +108 -0
  58. package/esm2022/lib/molecules/accordion/accordion-wrapper/accordion-wrapper.component.mjs +92 -0
  59. package/esm2022/lib/molecules/accordion/accordion.module.mjs +21 -0
  60. package/esm2022/lib/molecules/accordion/index.mjs +2 -0
  61. package/esm2022/lib/molecules/accordion/public_api.mjs +4 -0
  62. package/esm2022/lib/molecules/button/button-close.directive.mjs +39 -0
  63. package/esm2022/lib/molecules/button/button.directive.mjs +100 -0
  64. package/esm2022/lib/molecules/button/button.module.mjs +17 -0
  65. package/esm2022/lib/molecules/button/index.mjs +2 -0
  66. package/esm2022/lib/molecules/button/public_api.mjs +4 -0
  67. package/esm2022/lib/molecules/calendar/calendar/calendar-class-view.pipe.mjs +20 -0
  68. package/esm2022/lib/molecules/calendar/calendar/calendar.component.mjs +428 -0
  69. package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-day.pipe.mjs +30 -0
  70. package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-month.pipe.mjs +23 -0
  71. package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-year.pipe.mjs +22 -0
  72. package/esm2022/lib/molecules/calendar/calendar-month/calendar-day-title.pipe.mjs +17 -0
  73. package/esm2022/lib/molecules/calendar/calendar-month/calendar-day.directive.mjs +119 -0
  74. package/esm2022/lib/molecules/calendar/calendar-month/calendar-day.pipe.mjs +19 -0
  75. package/esm2022/lib/molecules/calendar/calendar-month/calendar-month-title.pipe.mjs +20 -0
  76. package/esm2022/lib/molecules/calendar/calendar-month/calendar-month.component.mjs +418 -0
  77. package/esm2022/lib/molecules/calendar/calendar-month/calendar-month.pipe.mjs +17 -0
  78. package/esm2022/lib/molecules/calendar/calendar-month/calendar-weekday.pipe.mjs +21 -0
  79. package/esm2022/lib/molecules/calendar/calendar-navigation/calendar-navigation.component.mjs +85 -0
  80. package/esm2022/lib/molecules/calendar/calendar.module.mjs +55 -0
  81. package/esm2022/lib/molecules/calendar/calendar.service.mjs +62 -0
  82. package/esm2022/lib/molecules/calendar/calendar.utils.mjs +296 -0
  83. package/esm2022/lib/molecules/calendar/index.mjs +2 -0
  84. package/esm2022/lib/molecules/calendar/public_api.mjs +5 -0
  85. package/esm2022/lib/molecules/checkbox/checkbox/checkbox.component.mjs +96 -0
  86. package/esm2022/lib/molecules/checkbox/checkbox/checkbox.model.mjs +2 -0
  87. package/esm2022/lib/molecules/checkbox/checkbox.module.mjs +20 -0
  88. package/esm2022/lib/molecules/checkbox/index.mjs +2 -0
  89. package/esm2022/lib/molecules/checkbox/public_api.mjs +4 -0
  90. package/esm2022/lib/molecules/core-components.types.mjs +10 -0
  91. package/esm2022/lib/molecules/custom-gtr-modal/custom-gtr-modal.component.mjs +148 -0
  92. package/esm2022/lib/molecules/custom-gtr-modal/custom-gtr-modal.module.mjs +18 -0
  93. package/esm2022/lib/molecules/custom-gtr-modal/index.mjs +2 -0
  94. package/esm2022/lib/molecules/custom-gtr-modal/public_api.mjs +3 -0
  95. package/esm2022/lib/molecules/date-picker/date-picker.component.mjs +81 -0
  96. package/esm2022/lib/molecules/date-picker/date-picker.module.mjs +58 -0
  97. package/esm2022/lib/molecules/date-picker/index.mjs +2 -0
  98. package/esm2022/lib/molecules/date-picker/public_api.mjs +3 -0
  99. package/esm2022/lib/molecules/date-range-picker/date-range-picker/date-range-picker.component.mjs +700 -0
  100. package/esm2022/lib/molecules/date-range-picker/date-range-picker.module.mjs +58 -0
  101. package/esm2022/lib/molecules/date-range-picker/index.mjs +2 -0
  102. package/esm2022/lib/molecules/date-range-picker/public_api.mjs +3 -0
  103. package/esm2022/lib/molecules/dropdown/dropdown/dropdown.component.mjs +387 -0
  104. package/esm2022/lib/molecules/dropdown/dropdown-close/dropdown-close.directive.mjs +79 -0
  105. package/esm2022/lib/molecules/dropdown/dropdown-divider/dropdown-divider.directive.mjs +22 -0
  106. package/esm2022/lib/molecules/dropdown/dropdown-header/dropdown-header.directive.mjs +22 -0
  107. package/esm2022/lib/molecules/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +22 -0
  108. package/esm2022/lib/molecules/dropdown/dropdown-item/dropdown-item.directive.mjs +93 -0
  109. package/esm2022/lib/molecules/dropdown/dropdown-menu/dropdown-menu.directive.mjs +75 -0
  110. package/esm2022/lib/molecules/dropdown/dropdown.module.mjs +56 -0
  111. package/esm2022/lib/molecules/dropdown/dropdown.service.mjs +18 -0
  112. package/esm2022/lib/molecules/dropdown/index.mjs +2 -0
  113. package/esm2022/lib/molecules/dropdown/public_api.mjs +10 -0
  114. package/esm2022/lib/molecules/file-input/file-input/file-input.component.mjs +144 -0
  115. package/esm2022/lib/molecules/file-input/file-input/file-input.model.mjs +2 -0
  116. package/esm2022/lib/molecules/file-input/file-input.module.mjs +18 -0
  117. package/esm2022/lib/molecules/file-input/index.mjs +2 -0
  118. package/esm2022/lib/molecules/file-input/public_api.mjs +4 -0
  119. package/esm2022/lib/molecules/form/form/form.directive.mjs +33 -0
  120. package/esm2022/lib/molecules/form/form-check/form-check-input.directive.mjs +62 -0
  121. package/esm2022/lib/molecules/form/form-check/form-check-label.directive.mjs +22 -0
  122. package/esm2022/lib/molecules/form/form-check/form-check.component.mjs +77 -0
  123. package/esm2022/lib/molecules/form/form-control/form-control.directive.mjs +66 -0
  124. package/esm2022/lib/molecules/form/form-feedback/form-feedback.component.mjs +38 -0
  125. package/esm2022/lib/molecules/form/form-floating/form-floating.directive.mjs +32 -0
  126. package/esm2022/lib/molecules/form/form-label/form-label.directive.mjs +40 -0
  127. package/esm2022/lib/molecules/form/form-select/form-select.directive.mjs +35 -0
  128. package/esm2022/lib/molecules/form/form-text/form-text.directive.mjs +22 -0
  129. package/esm2022/lib/molecules/form/form.module.mjs +75 -0
  130. package/esm2022/lib/molecules/form/index.mjs +2 -0
  131. package/esm2022/lib/molecules/form/input-group/input-group.component.mjs +32 -0
  132. package/esm2022/lib/molecules/form/input-group-text/input-group-text.directive.mjs +23 -0
  133. package/esm2022/lib/molecules/form/public_api.mjs +14 -0
  134. package/esm2022/lib/molecules/numeric-counter/index.mjs +2 -0
  135. package/esm2022/lib/molecules/numeric-counter/numeric-counter/numeric-counter.component.mjs +158 -0
  136. package/esm2022/lib/molecules/numeric-counter/numeric-counter/numeric-counter.const.mjs +2 -0
  137. package/esm2022/lib/molecules/numeric-counter/numeric-counter/numeric-counter.type.mjs +2 -0
  138. package/esm2022/lib/molecules/numeric-counter/numeric-counter.module.mjs +19 -0
  139. package/esm2022/lib/molecules/numeric-counter/public_api.mjs +5 -0
  140. package/esm2022/lib/molecules/pagination/helpers/index.mjs +3 -0
  141. package/esm2022/lib/molecules/pagination/helpers/models/index.mjs +3 -0
  142. package/esm2022/lib/molecules/pagination/helpers/models/pagination.interface.mjs +2 -0
  143. package/esm2022/lib/molecules/pagination/helpers/models/pagination.model.mjs +3 -0
  144. package/esm2022/lib/molecules/pagination/helpers/pipes/index.mjs +2 -0
  145. package/esm2022/lib/molecules/pagination/helpers/pipes/validate-page/validate-page.pipe.mjs +21 -0
  146. package/esm2022/lib/molecules/pagination/index.mjs +2 -0
  147. package/esm2022/lib/molecules/pagination/pagination/pagination.component.mjs +146 -0
  148. package/esm2022/lib/molecules/pagination/pagination/pagination.mjs +80 -0
  149. package/esm2022/lib/molecules/pagination/pagination.module.mjs +21 -0
  150. package/esm2022/lib/molecules/pagination/public_api.mjs +4 -0
  151. package/esm2022/lib/molecules/select/helpers/enums/index.mjs +2 -0
  152. package/esm2022/lib/molecules/select/helpers/enums/select.enums.mjs +6 -0
  153. package/esm2022/lib/molecules/select/helpers/index.mjs +4 -0
  154. package/esm2022/lib/molecules/select/helpers/pipes/format-selected-value/format-selected-value.pipe.mjs +57 -0
  155. package/esm2022/lib/molecules/select/helpers/pipes/index.mjs +3 -0
  156. package/esm2022/lib/molecules/select/helpers/pipes/trim-text/trim-text.pipe.mjs +26 -0
  157. package/esm2022/lib/molecules/select/helpers/types/index.mjs +2 -0
  158. package/esm2022/lib/molecules/select/helpers/types/select.type.mjs +2 -0
  159. package/esm2022/lib/molecules/select/index.mjs +2 -0
  160. package/esm2022/lib/molecules/select/public_api.mjs +4 -0
  161. package/esm2022/lib/molecules/select/select/select.component.mjs +445 -0
  162. package/esm2022/lib/molecules/select/select.module.mjs +37 -0
  163. package/esm2022/lib/molecules/shared/html-attr.directive.mjs +55 -0
  164. package/esm2022/lib/molecules/shared/index.mjs +2 -0
  165. package/esm2022/lib/molecules/shared/public_api.mjs +4 -0
  166. package/esm2022/lib/molecules/shared/shared.module.mjs +22 -0
  167. package/esm2022/lib/molecules/shared/template-id.directive.mjs +20 -0
  168. package/esm2022/lib/molecules/stat-card/index.mjs +2 -0
  169. package/esm2022/lib/molecules/stat-card/public_api.mjs +3 -0
  170. package/esm2022/lib/molecules/stat-card/stat-card.component.mjs +135 -0
  171. package/esm2022/lib/molecules/stat-card/stat-card.module.mjs +21 -0
  172. package/esm2022/lib/molecules/time-picker/index.mjs +2 -0
  173. package/esm2022/lib/molecules/time-picker/public_api.mjs +3 -0
  174. package/esm2022/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +106 -0
  175. package/esm2022/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +107 -0
  176. package/esm2022/lib/molecules/time-picker/time-picker.component.mjs +512 -0
  177. package/esm2022/lib/molecules/time-picker/time-picker.module.mjs +51 -0
  178. package/esm2022/lib/molecules/time-picker/time.utils.mjs +676 -0
  179. package/esm2022/public-api.mjs +38 -0
  180. package/fesm2022/gettrx-core-components-angular.mjs +9696 -0
  181. package/fesm2022/gettrx-core-components-angular.mjs.map +1 -0
  182. package/generated/components.d.ts +124 -124
  183. package/generated/proxies-list.d.ts +1 -1
  184. package/generated/text-value-accessor.d.ts +1 -1
  185. package/gettrx-module.d.ts +1 -1
  186. package/index.d.ts +1 -5
  187. package/lib/atoms/badge/badge.component.d.ts +25 -0
  188. package/lib/atoms/badge/badge.module.d.ts +9 -0
  189. package/lib/atoms/badge/index.d.ts +1 -0
  190. package/lib/atoms/badge/public_api.d.ts +2 -0
  191. package/lib/atoms/button/button-close.directive.d.ts +13 -0
  192. package/lib/atoms/button/button.directive.d.ts +48 -0
  193. package/lib/atoms/button/button.module.d.ts +8 -0
  194. package/lib/atoms/button/index.d.ts +1 -0
  195. package/lib/atoms/button/public_api.d.ts +3 -0
  196. package/lib/atoms/custom-button/custom-button.component.d.ts +39 -0
  197. package/lib/atoms/custom-button/custom-button.module.d.ts +9 -0
  198. package/lib/atoms/custom-button/index.d.ts +2 -0
  199. package/lib/atoms/custom-button/utils/utils.d.ts +3 -0
  200. package/lib/atoms/custom-gtr-switch/custom-gtr-switch.component.d.ts +56 -0
  201. package/lib/atoms/custom-gtr-switch/custom-gtr-switch.module.d.ts +8 -0
  202. package/lib/atoms/custom-gtr-switch/index.d.ts +1 -0
  203. package/lib/atoms/custom-gtr-switch/public_api.d.ts +2 -0
  204. package/lib/atoms/custom-gtr-tooltip/custom-gtr-tooltip.component.d.ts +59 -0
  205. package/lib/atoms/custom-gtr-tooltip/custom-gtr-tooltip.module.d.ts +8 -0
  206. package/lib/atoms/custom-gtr-tooltip/index.d.ts +1 -0
  207. package/lib/atoms/custom-gtr-tooltip/public_api.d.ts +2 -0
  208. package/lib/atoms/custom-gtr-tooltip/utils/utils.d.ts +1 -0
  209. package/lib/atoms/custom-input/custom-input.component.d.ts +161 -0
  210. package/lib/atoms/custom-input/custom-input.module.d.ts +10 -0
  211. package/lib/atoms/custom-input/index.d.ts +1 -0
  212. package/lib/atoms/custom-input/public_api.d.ts +2 -0
  213. package/lib/atoms/custom-input/utils/input-utils.d.ts +30 -0
  214. package/lib/atoms/custom-textarea/custom-textarea.component.d.ts +112 -0
  215. package/lib/atoms/custom-textarea/custom-textarea.module.d.ts +10 -0
  216. package/lib/atoms/custom-textarea/index.d.ts +1 -0
  217. package/lib/atoms/custom-textarea/public_api.d.ts +2 -0
  218. package/lib/atoms/custom-textarea/utils/gtr-textarea.types.d.ts +12 -0
  219. package/lib/atoms/gtr.types.d.ts +46 -0
  220. package/lib/atoms/icon/icon.component.d.ts +27 -0
  221. package/lib/atoms/icon/icon.module.d.ts +8 -0
  222. package/lib/atoms/icon/index.d.ts +1 -0
  223. package/lib/atoms/icon/public_api.d.ts +2 -0
  224. package/lib/atoms/popover/index.d.ts +1 -0
  225. package/lib/atoms/popover/popover.component.d.ts +35 -0
  226. package/lib/atoms/popover/popover.module.d.ts +8 -0
  227. package/lib/atoms/popover/public_api.d.ts +2 -0
  228. package/lib/atoms/radio-button/index.d.ts +1 -0
  229. package/lib/atoms/radio-button/public_api.d.ts +2 -0
  230. package/lib/atoms/radio-button/radio-button.component.d.ts +89 -0
  231. package/lib/atoms/radio-button/radio-button.module.d.ts +9 -0
  232. package/lib/atoms/skeleton/index.d.ts +1 -0
  233. package/lib/atoms/skeleton/public_api.d.ts +3 -0
  234. package/lib/atoms/skeleton/skeleton.component.d.ts +12 -0
  235. package/lib/atoms/skeleton/skeleton.module.d.ts +9 -0
  236. package/lib/atoms/skeleton/utils/skeleton.directive.d.ts +15 -0
  237. package/lib/molecules/accordion/accordion/accordion.component.d.ts +59 -0
  238. package/lib/molecules/accordion/accordion-wrapper/accordion-wrapper.component.d.ts +37 -0
  239. package/lib/molecules/accordion/accordion.module.d.ts +11 -0
  240. package/lib/molecules/accordion/index.d.ts +1 -0
  241. package/lib/molecules/accordion/public_api.d.ts +3 -0
  242. package/lib/molecules/button/button-close.directive.d.ts +13 -0
  243. package/lib/molecules/button/button.directive.d.ts +48 -0
  244. package/lib/molecules/button/button.module.d.ts +8 -0
  245. package/lib/molecules/button/index.d.ts +1 -0
  246. package/lib/molecules/button/public_api.d.ts +3 -0
  247. package/lib/molecules/calendar/calendar/calendar-class-view.pipe.d.ts +7 -0
  248. package/lib/molecules/calendar/calendar/calendar.component.d.ts +177 -0
  249. package/lib/molecules/calendar/calendar-month/calendar-class-day.pipe.d.ts +15 -0
  250. package/lib/molecules/calendar/calendar-month/calendar-class-month.pipe.d.ts +7 -0
  251. package/lib/molecules/calendar/calendar-month/calendar-class-year.pipe.d.ts +7 -0
  252. package/lib/molecules/calendar/calendar-month/calendar-day-title.pipe.d.ts +7 -0
  253. package/lib/molecules/calendar/calendar-month/calendar-day.directive.d.ts +33 -0
  254. package/lib/molecules/calendar/calendar-month/calendar-day.pipe.d.ts +8 -0
  255. package/lib/molecules/calendar/calendar-month/calendar-month-title.pipe.d.ts +7 -0
  256. package/lib/molecules/calendar/calendar-month/calendar-month.component.d.ts +134 -0
  257. package/lib/molecules/calendar/calendar-month/calendar-month.pipe.d.ts +7 -0
  258. package/lib/molecules/calendar/calendar-month/calendar-weekday.pipe.d.ts +8 -0
  259. package/lib/molecules/calendar/calendar-navigation/calendar-navigation.component.d.ts +32 -0
  260. package/lib/molecules/calendar/calendar.module.d.ts +19 -0
  261. package/lib/molecules/calendar/calendar.service.d.ts +36 -0
  262. package/lib/molecules/calendar/calendar.utils.d.ts +26 -0
  263. package/lib/molecules/calendar/index.d.ts +1 -0
  264. package/lib/molecules/calendar/public_api.d.ts +4 -0
  265. package/lib/molecules/checkbox/checkbox/checkbox.component.d.ts +54 -0
  266. package/lib/molecules/checkbox/checkbox/checkbox.model.d.ts +4 -0
  267. package/lib/molecules/checkbox/checkbox.module.d.ts +10 -0
  268. package/lib/molecules/checkbox/index.d.ts +1 -0
  269. package/lib/molecules/checkbox/public_api.d.ts +3 -0
  270. package/lib/molecules/core-components.types.d.ts +46 -0
  271. package/lib/molecules/custom-gtr-modal/custom-gtr-modal.component.d.ts +75 -0
  272. package/lib/molecules/custom-gtr-modal/custom-gtr-modal.module.d.ts +8 -0
  273. package/lib/molecules/custom-gtr-modal/index.d.ts +1 -0
  274. package/lib/molecules/custom-gtr-modal/public_api.d.ts +2 -0
  275. package/lib/molecules/date-picker/date-picker.component.d.ts +18 -0
  276. package/lib/molecules/date-picker/date-picker.module.d.ts +18 -0
  277. package/lib/molecules/date-picker/index.d.ts +1 -0
  278. package/lib/molecules/date-picker/public_api.d.ts +2 -0
  279. package/lib/molecules/date-range-picker/date-range-picker/date-range-picker.component.d.ts +272 -0
  280. package/lib/molecules/date-range-picker/date-range-picker.module.d.ts +18 -0
  281. package/lib/molecules/date-range-picker/index.d.ts +1 -0
  282. package/lib/molecules/date-range-picker/public_api.d.ts +2 -0
  283. package/lib/molecules/dropdown/dropdown/dropdown.component.d.ts +136 -0
  284. package/lib/molecules/dropdown/dropdown-close/dropdown-close.directive.d.ts +26 -0
  285. package/lib/molecules/dropdown/dropdown-divider/dropdown-divider.directive.d.ts +6 -0
  286. package/lib/molecules/dropdown/dropdown-header/dropdown-header.directive.d.ts +6 -0
  287. package/lib/molecules/dropdown/dropdown-item/dropdown-item-plain.directive.d.ts +6 -0
  288. package/lib/molecules/dropdown/dropdown-item/dropdown-item.directive.d.ts +36 -0
  289. package/lib/molecules/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +34 -0
  290. package/lib/molecules/dropdown/dropdown.module.d.ts +13 -0
  291. package/lib/molecules/dropdown/dropdown.service.d.ts +13 -0
  292. package/lib/molecules/dropdown/index.d.ts +1 -0
  293. package/lib/molecules/dropdown/public_api.d.ts +9 -0
  294. package/lib/molecules/file-input/file-input/file-input.component.d.ts +72 -0
  295. package/lib/molecules/file-input/file-input/file-input.model.d.ts +3 -0
  296. package/lib/molecules/file-input/file-input.module.d.ts +8 -0
  297. package/lib/molecules/file-input/index.d.ts +1 -0
  298. package/lib/molecules/file-input/public_api.d.ts +3 -0
  299. package/lib/molecules/form/form/form.directive.d.ts +13 -0
  300. package/lib/molecules/form/form-check/form-check-input.directive.d.ts +31 -0
  301. package/lib/molecules/form/form-check/form-check-label.directive.d.ts +6 -0
  302. package/lib/molecules/form/form-check/form-check.component.d.ts +39 -0
  303. package/lib/molecules/form/form-control/form-control.directive.d.ts +31 -0
  304. package/lib/molecules/form/form-feedback/form-feedback.component.d.ts +17 -0
  305. package/lib/molecules/form/form-floating/form-floating.directive.d.ts +12 -0
  306. package/lib/molecules/form/form-label/form-label.directive.d.ts +16 -0
  307. package/lib/molecules/form/form-select/form-select.directive.d.ts +16 -0
  308. package/lib/molecules/form/form-text/form-text.directive.d.ts +6 -0
  309. package/lib/molecules/form/form.module.d.ts +18 -0
  310. package/lib/molecules/form/index.d.ts +1 -0
  311. package/lib/molecules/form/input-group/input-group.component.d.ts +11 -0
  312. package/lib/molecules/form/input-group-text/input-group-text.directive.d.ts +7 -0
  313. package/lib/molecules/form/public_api.d.ts +13 -0
  314. package/lib/molecules/numeric-counter/index.d.ts +1 -0
  315. package/lib/molecules/numeric-counter/numeric-counter/numeric-counter.component.d.ts +27 -0
  316. package/lib/molecules/numeric-counter/numeric-counter/numeric-counter.const.d.ts +1 -0
  317. package/lib/molecules/numeric-counter/numeric-counter/numeric-counter.type.d.ts +4 -0
  318. package/lib/molecules/numeric-counter/numeric-counter.module.d.ts +9 -0
  319. package/lib/molecules/numeric-counter/public_api.d.ts +4 -0
  320. package/lib/molecules/pagination/helpers/index.d.ts +2 -0
  321. package/lib/molecules/pagination/helpers/models/index.d.ts +2 -0
  322. package/lib/molecules/pagination/helpers/models/pagination.interface.d.ts +7 -0
  323. package/lib/molecules/pagination/helpers/models/pagination.model.d.ts +2 -0
  324. package/lib/molecules/pagination/helpers/pipes/index.d.ts +1 -0
  325. package/lib/molecules/pagination/helpers/pipes/validate-page/validate-page.pipe.d.ts +8 -0
  326. package/lib/molecules/pagination/index.d.ts +1 -0
  327. package/lib/molecules/pagination/pagination/pagination.component.d.ts +65 -0
  328. package/lib/molecules/pagination/pagination/pagination.d.ts +21 -0
  329. package/lib/molecules/pagination/pagination.module.d.ts +11 -0
  330. package/lib/molecules/pagination/public_api.d.ts +3 -0
  331. package/lib/molecules/select/helpers/enums/index.d.ts +1 -0
  332. package/lib/molecules/select/helpers/enums/select.enums.d.ts +4 -0
  333. package/lib/molecules/select/helpers/index.d.ts +3 -0
  334. package/lib/molecules/select/helpers/pipes/format-selected-value/format-selected-value.pipe.d.ts +8 -0
  335. package/lib/molecules/select/helpers/pipes/index.d.ts +2 -0
  336. package/lib/molecules/select/helpers/pipes/trim-text/trim-text.pipe.d.ts +7 -0
  337. package/lib/molecules/select/helpers/types/index.d.ts +1 -0
  338. package/lib/molecules/select/helpers/types/select.type.d.ts +7 -0
  339. package/lib/molecules/select/index.d.ts +1 -0
  340. package/lib/molecules/select/public_api.d.ts +3 -0
  341. package/lib/molecules/select/select/select.component.d.ts +159 -0
  342. package/lib/molecules/select/select.module.d.ts +12 -0
  343. package/lib/molecules/shared/html-attr.directive.d.ts +16 -0
  344. package/lib/molecules/shared/index.d.ts +1 -0
  345. package/lib/molecules/shared/public_api.d.ts +3 -0
  346. package/lib/molecules/shared/shared.module.d.ts +10 -0
  347. package/lib/molecules/shared/template-id.directive.d.ts +9 -0
  348. package/lib/molecules/stat-card/index.d.ts +1 -0
  349. package/lib/molecules/stat-card/public_api.d.ts +2 -0
  350. package/lib/molecules/stat-card/stat-card.component.d.ts +56 -0
  351. package/lib/molecules/stat-card/stat-card.module.d.ts +11 -0
  352. package/lib/molecules/time-picker/index.d.ts +1 -0
  353. package/lib/molecules/time-picker/public_api.d.ts +2 -0
  354. package/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.d.ts +39 -0
  355. package/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-col.component.d.ts +38 -0
  356. package/lib/molecules/time-picker/time-picker.component.d.ts +196 -0
  357. package/lib/molecules/time-picker/time-picker.module.d.ts +14 -0
  358. package/lib/molecules/time-picker/time.utils.d.ts +57 -0
  359. package/package.json +8 -15
  360. package/public-api.d.ts +31 -0
  361. package/esm2020/generated/components.mjs +0 -729
  362. package/esm2020/generated/number-value-accessor.mjs +0 -40
  363. package/esm2020/generated/proxies-list.mjs +0 -30
  364. package/esm2020/generated/text-value-accessor.mjs +0 -36
  365. package/esm2020/index.mjs +0 -9
  366. package/fesm2015/gettrx-core-components-angular.mjs +0 -918
  367. package/fesm2015/gettrx-core-components-angular.mjs.map +0 -1
  368. package/fesm2020/gettrx-core-components-angular.mjs +0 -918
  369. package/fesm2020/gettrx-core-components-angular.mjs.map +0 -1
  370. package/generated/number-value-accessor.d.ts +0 -9
  371. /package/{esm2020 → esm2022}/generated/angular-component-lib/utils.mjs +0 -0
  372. /package/{esm2020 → esm2022}/gettrx-core-components-angular.mjs +0 -0
@@ -0,0 +1,177 @@
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
+ static ngAcceptInputType_selectAdjacentDays: BooleanInput;
12
+ constructor(calendarService: CalendarService);
13
+ /**
14
+ * Default date of the component
15
+ * @type (Date | string)
16
+ */
17
+ set calendarDate(value: Date | string | number);
18
+ get calendarDate(): Date;
19
+ private _calendarDate;
20
+ /**
21
+ * The number of calendars that render on desktop devices.
22
+ * @type number
23
+ * default 1
24
+ */
25
+ set calendars(value: number);
26
+ get calendars(): number;
27
+ private _calendars;
28
+ get calendarsArray(): unknown[];
29
+ /**
30
+ * Set the format of day name.
31
+ * @default 'numeric'
32
+ * @type DayFormatType
33
+ */
34
+ set dayFormat(value: DayFormatType);
35
+ get dayFormat(): DayFormatType;
36
+ private _dayFormat;
37
+ /**
38
+ * Specify the list of dates that cannot be selected.
39
+ * @type (Date[] | Date[][])
40
+ */
41
+ set disabledDates(value: Date[] | Date[][]);
42
+ get disabledDates(): Date[] | Date[][];
43
+ private _disabledDates;
44
+ /**
45
+ * Initial selected date.
46
+ * @type (Date | null)
47
+ */
48
+ set startDate(value: Date | number | string | null | undefined);
49
+ get startDate(): Date | number | string | null | undefined;
50
+ _startDate: Date | null;
51
+ /**
52
+ * Initial selected to date (range).
53
+ * @type (Date | null)
54
+ */
55
+ set endDate(value: Date | number | string | null | undefined);
56
+ get endDate(): Date | number | string | null | undefined;
57
+ _endDate: Date | null;
58
+ /**
59
+ * Sets the day of start week.
60
+ * - 0 - Sunday,
61
+ * - 1 - Monday,
62
+ * - 2 - Tuesday,
63
+ * - 3 - Wednesday,
64
+ * - 4 - Thursday,
65
+ * - 5 - Friday,
66
+ * - 6 - Saturday,
67
+ *
68
+ * @type number
69
+ * @default 1
70
+ */
71
+ set firstDayOfWeek(value: number);
72
+ get firstDayOfWeek(): number;
73
+ private _firstDayOfWeek;
74
+ /**
75
+ * Sets the default locale for components. If not set, it is inherited from the browser.
76
+ * @default 'default'
77
+ */
78
+ set locale(value: string);
79
+ get locale(): string;
80
+ private _locale;
81
+ /**
82
+ * Max selectable date.
83
+ */
84
+ set maxDate(value: Date | string | null | undefined);
85
+ get maxDate(): Date | string | null | undefined;
86
+ private _maxDate;
87
+ /**
88
+ * Min selectable date.
89
+ */
90
+ set minDate(value: Date | string | null | undefined);
91
+ get minDate(): Date | string | null | undefined;
92
+ private _minDate;
93
+ /**
94
+ * Show navigation.
95
+ * @type boolean
96
+ */
97
+ set navigation(value: boolean);
98
+ get navigation(): boolean;
99
+ private _navigation;
100
+ /**
101
+ * Reorder year-month navigation, and render year first.
102
+ * @type boolean
103
+ * @default false
104
+ */
105
+ set navYearFirst(value: boolean);
106
+ get navYearFirst(): boolean;
107
+ private _navYearFirst;
108
+ /**
109
+ * Allow range selection.
110
+ * @type boolean
111
+ * @default false
112
+ */
113
+ set range(value: boolean);
114
+ get range(): boolean;
115
+ private _range;
116
+ /**
117
+ * Set calendar view.
118
+ * @type 'days' | 'months' | 'years'
119
+ * @default 'days'
120
+ */
121
+ set view(value: "days" | "months" | "years");
122
+ get view(): "days" | "months" | "years";
123
+ private _view;
124
+ /**
125
+ * Set calendar type.
126
+ * @type 'days' | 'months' | 'years'
127
+ * @default 'days'
128
+ */
129
+ set type(value: 'days' | 'months' | 'years');
130
+ get type(): 'days' | 'months' | 'years';
131
+ private _type;
132
+ /**
133
+ * Set length or format of day name.
134
+ * @type number | 'long' | 'narrow' | 'short'
135
+ * @default 'short'
136
+ */
137
+ set weekdayFormat(value: WeekdayFormatType);
138
+ get weekdayFormat(): WeekdayFormatType;
139
+ private _weekdayFormat;
140
+ set dateFilter(value: DateFilterType | undefined);
141
+ /**
142
+ * Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the `showAdjacentDays` option is set to true.
143
+ * @type boolean
144
+ * @default false
145
+ * @since 4.4.10
146
+ */
147
+ selectAdjacentDays: boolean;
148
+ /**
149
+ * Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.
150
+ * @type boolean
151
+ * @default true
152
+ */
153
+ showAdjacentDays: boolean;
154
+ calendarCellHover: EventEmitter<Date | null>;
155
+ calendarDateChange: EventEmitter<Date>;
156
+ endDateChange: EventEmitter<Date | null>;
157
+ startDateChange: EventEmitter<Date | null>;
158
+ viewChange: EventEmitter<string>;
159
+ set hoverDate(value: Date | null);
160
+ get hoverDate(): Date | null;
161
+ private _hoverDate;
162
+ private calendarStateSubscription;
163
+ get hostClasses(): any;
164
+ calendarMonths: QueryList<CalendarMonthComponent>;
165
+ ngOnDestroy(): void;
166
+ ngOnInit(): void;
167
+ calendarStateSubscribe(subscribe?: boolean): void;
168
+ setCalendarPage(years: number, months?: number, setMonth?: number): void;
169
+ handleNavigationClick(direction: 'prev' | 'next', years?: boolean): void;
170
+ /**
171
+ * Clear startDate and endDate
172
+ * @type void
173
+ */
174
+ clearDates(): void;
175
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
176
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "gtr-calendar", ["gtrCalendar"], { "calendarDate": { "alias": "calendarDate"; "required": false; }; "calendars": { "alias": "calendars"; "required": false; }; "dayFormat": { "alias": "dayFormat"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "navYearFirst": { "alias": "navYearFirst"; "required": false; }; "range": { "alias": "range"; "required": false; }; "view": { "alias": "view"; "required": false; }; "type": { "alias": "type"; "required": false; }; "weekdayFormat": { "alias": "weekdayFormat"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "selectAdjacentDays": { "alias": "selectAdjacentDays"; "required": false; }; "showAdjacentDays": { "alias": "showAdjacentDays"; "required": false; }; }, { "calendarCellHover": "calendarCellHover"; "calendarDateChange": "calendarDateChange"; "endDateChange": "endDateChange"; "startDateChange": "startDateChange"; "viewChange": "viewChange"; }, never, never, true, never>;
177
+ }
@@ -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", true>;
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: string | number | Date, monthIndex: number): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarClassMonthPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalendarClassMonthPipe, "calendarClassMonth", true>;
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", true>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CalendarDayTitlePipe implements PipeTransform {
4
+ transform(date: Date, locale?: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDayTitlePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalendarDayTitlePipe, "calendarDayTitle", true>;
7
+ }
@@ -0,0 +1,33 @@
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 selectAdjacentDays;
19
+ private type;
20
+ private _dateObj?;
21
+ set dateObj(value: {
22
+ date: Date;
23
+ month: string;
24
+ } | string);
25
+ set dateMonth(date: Date);
26
+ set dateYear(year: number);
27
+ get selectEndDate(): boolean;
28
+ get hostClasses(): any;
29
+ ngOnDestroy(): void;
30
+ calendarStateSubscribe(subscribe?: boolean): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDayDirective, never>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CalendarDayDirective, "[gtrCalendarDay]", never, { "dateObj": { "alias": "gtrCalendarDay"; "required": false; }; "dateMonth": { "alias": "gtrCalendarMonth"; "required": false; }; "dateYear": { "alias": "gtrCalendarYear"; "required": false; }; }, {}, never, never, true, never>;
33
+ }
@@ -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", true>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CalendarMonthTitlePipe implements PipeTransform {
4
+ transform(date: Date, monthIndex: number, locale?: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthTitlePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalendarMonthTitlePipe, "calendarMonthTitle", true>;
7
+ }
@@ -0,0 +1,134 @@
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 | null);
13
+ get startDate(): Date | null;
14
+ _startDate: Date | null;
15
+ /**
16
+ * Initial selected to date (range).
17
+ * @type (Date | null)
18
+ */
19
+ set endDate(value: Date | null);
20
+ get endDate(): Date | null;
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: "days" | "months" | "years");
67
+ get view(): "days" | "months" | "years";
68
+ private _view;
69
+ /**
70
+ * Set calendar type.
71
+ * @type 'days' | 'months' | 'years'
72
+ * @default 'days'
73
+ */
74
+ set type(value: "days" | "months" | "years");
75
+ get type(): "days" | "months" | "years";
76
+ private _type;
77
+ /**
78
+ * Max selectable date.
79
+ */
80
+ set maxDate(value: Date | null);
81
+ get maxDate(): Date | null;
82
+ private _maxDate;
83
+ /**
84
+ * Min selectable date.
85
+ */
86
+ set minDate(value: Date | null);
87
+ get minDate(): Date | null;
88
+ private _minDate;
89
+ listOfMonths: any[][];
90
+ listOfYears: any[][];
91
+ private calendarStateSubscription;
92
+ /**
93
+ * Default date of the component
94
+ * @type Date
95
+ */
96
+ set calendarDate(value: Date | string | number);
97
+ get calendarDate(): Date;
98
+ private _calendarDate;
99
+ dateFilter: DateFilterType;
100
+ get date(): Date;
101
+ dayFormat: DayFormatType;
102
+ selectAdjacentDays: boolean;
103
+ showAdjacentDays: boolean;
104
+ private _monthDetails;
105
+ get monthDetails(): {
106
+ date: Date;
107
+ month: string;
108
+ }[][];
109
+ get weekDays(): {
110
+ date: Date;
111
+ month: string;
112
+ }[];
113
+ ngOnInit(): void;
114
+ setListOfYears(date: Date): void;
115
+ setMonthDetails(date?: Date): void;
116
+ yearNumber(year: any): string;
117
+ isDateDisabled(date: Date): any;
118
+ calendarCellTitle(date: Date): string;
119
+ handleYearCellMouseEnter(year: number): void;
120
+ handleMonthCellMouseEnter(date: Date, i: number, idx: number): void;
121
+ handleCellMouseEnter(hoverDate: Date): void;
122
+ handleYearCellClick(year: any): void;
123
+ handleYearCellKeyUp($event: KeyboardEvent, year: any): void;
124
+ handleMonthCellKeyUp($event: KeyboardEvent, date: Date, i: number, idx: number): void;
125
+ handleMonthCellClick(i: number, idx: number): void;
126
+ setCalendarPage(years: number, months?: number, setMonth?: number): void;
127
+ handleCellMouseLeave(): void;
128
+ handleDayCellKeyUp($event: KeyboardEvent, date: Date): void;
129
+ handleDayCellClick(date: Date): void;
130
+ calendarStateSubscribe(subscribe?: boolean): void;
131
+ ngOnDestroy(): void;
132
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthComponent, never>;
133
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarMonthComponent, "gtr-calendar-month", ["gtrCalendarMonth"], { "addMonths": { "alias": "addMonths"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "range": { "alias": "range"; "required": false; }; "weekdayFormat": { "alias": "weekdayFormat"; "required": false; }; "view": { "alias": "view"; "required": false; }; "type": { "alias": "type"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "calendarDate": { "alias": "calendarDate"; "required": false; }; }, {}, never, never, true, never>;
134
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CalendarMonthPipe implements PipeTransform {
4
+ transform(date: Date, monthIndex: number): Date;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalendarMonthPipe, "calendarMonth", true>;
7
+ }
@@ -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", true>;
8
+ }
@@ -0,0 +1,32 @@
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
+ navShowYear: boolean;
17
+ navYearFirst: boolean;
18
+ locale: string;
19
+ view: 'days' | 'months' | 'years';
20
+ type: 'days' | 'months' | 'years';
21
+ navigationClick: EventEmitter<INavigationClick>;
22
+ private calendarStateSubscription;
23
+ get date(): Date;
24
+ get hostClasses(): any;
25
+ ngOnDestroy(): void;
26
+ calendarStateSubscribe(subscribe?: boolean): void;
27
+ setView(view: 'days' | 'months' | 'years'): void;
28
+ handleNavigationClick(direction: 'prev' | 'next', years?: boolean): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarNavigationComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarNavigationComponent, "gtr-calendar-navigation", never, { "addMonths": { "alias": "addMonths"; "required": false; }; "calendarDate": { "alias": "calendarDate"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "navShowYear": { "alias": "navShowYear"; "required": false; }; "navYearFirst": { "alias": "navYearFirst"; "required": false; }; }, { "navigationClick": "navigationClick"; }, never, never, true, never>;
31
+ }
32
+ export {};
@@ -0,0 +1,19 @@
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 "./calendar-month/calendar-day-title.pipe";
13
+ import * as i12 from "./calendar-month/calendar-month-title.pipe";
14
+ import * as i13 from "./calendar-month/calendar-month.pipe";
15
+ export declare class CalendarModule {
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarModule, never>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CalendarModule, never, [typeof i1.CalendarComponent, typeof i2.CalendarClassYearPipe, typeof i3.CalendarClassDayPipe, typeof i4.CalendarClassMonthPipe, typeof i5.CalendarDayDirective, typeof i6.CalendarClassViewPipe, typeof i7.CalendarNavigationComponent, typeof i8.CalendarMonthComponent, typeof i9.CalendarDayPipe, typeof i10.CalendarWeekdayPipe, typeof i11.CalendarDayTitlePipe, typeof i12.CalendarMonthTitlePipe, typeof i13.CalendarMonthPipe], [typeof i1.CalendarComponent, typeof i8.CalendarMonthComponent, typeof i7.CalendarNavigationComponent]>;
18
+ static ɵinj: i0.ɵɵInjectorDeclaration<CalendarModule>;
19
+ }
@@ -0,0 +1,36 @@
1
+ import { KeyValueDiffers } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export type DateFilterType = (date: Date) => boolean;
4
+ export type DayFormatType = 'numeric' | '2-digit' | ((date: Date) => string | number);
5
+ export 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
+ type?: string;
18
+ locale?: string;
19
+ dateFilter?: DateFilterType;
20
+ dayFormat?: DayFormatType;
21
+ weekdayFormat?: WeekdayFormatType;
22
+ navYearFirst?: boolean;
23
+ showAdjacentDays?: boolean;
24
+ selectAdjacentDays?: boolean;
25
+ }
26
+ export declare class CalendarService {
27
+ private keyValueDiffers;
28
+ constructor(keyValueDiffers: KeyValueDiffers);
29
+ private readonly differ;
30
+ calendarStateObject: ICalendarState;
31
+ private calendarState;
32
+ calendarState$: import("rxjs").Observable<ICalendarState>;
33
+ update(state: ICalendarState): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarService, never>;
35
+ static ɵprov: i0.ɵɵInjectableDeclaration<CalendarService>;
36
+ }
@@ -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) => any[];
9
+ export declare const getYears: (year: number, variation?: number) => any[];
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[])[]) => any;
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) => any;
26
+ export declare const isDateInRangeDisabled: (startDate?: Date | number | string | null | undefined, endDate?: Date | number | string | null | undefined, 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';
@@ -0,0 +1,54 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { GtrCheckboxValueChanged } from './checkbox.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CheckboxComponent implements ControlValueAccessor {
6
+ /**
7
+ * To pass identifier to checkbox
8
+ */
9
+ identifier: string;
10
+ /**
11
+ * To pass additional value to checkbox
12
+ */
13
+ value: any;
14
+ /**
15
+ * Option to add checkbox label
16
+ * */
17
+ label: string;
18
+ /**
19
+ * Option to mark checkbox checked
20
+ * @default false
21
+ */
22
+ checked: boolean;
23
+ /**
24
+ * Option to mark checkbox disabled
25
+ * @default false
26
+ */
27
+ disabled: boolean;
28
+ /**
29
+ * Option to mark checkbox readonly
30
+ * @default false
31
+ */
32
+ readonly: boolean;
33
+ /**
34
+ * Option to send event when checkbox value changed
35
+ */
36
+ readonly selectionChanged: EventEmitter<GtrCheckboxValueChanged>;
37
+ private onChange;
38
+ private onTouch;
39
+ writeValue(value: any): void;
40
+ registerOnChange(fn: any): void;
41
+ registerOnTouched(fn: any): void;
42
+ setDisabledState(isDisabled: boolean): void;
43
+ /**
44
+ * Method to handle click on checkbox input
45
+ */
46
+ handleClick(): void;
47
+ /**
48
+ * Method to handle keydown events for checkbox input
49
+ * @param event
50
+ */
51
+ handleKeydown(event: KeyboardEvent): void;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "gtr-checkbox", never, { "identifier": { "alias": "identifier"; "required": false; }; "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "selectionChanged": "selectionChanged"; }, never, never, false, never>;
54
+ }
@@ -0,0 +1,4 @@
1
+ export interface GtrCheckboxValueChanged {
2
+ value: any;
3
+ checked: boolean;
4
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./checkbox/checkbox.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../../atoms/icon/icon.module";
6
+ export declare class CheckboxModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxModule, [typeof i1.CheckboxComponent], [typeof i2.NgIf, typeof i2.NgForOf, typeof i3.FormsModule, typeof i4.GtrIconModule], [typeof i1.CheckboxComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxModule>;
10
+ }
@@ -0,0 +1 @@
1
+ export * from './public_api';
@@ -0,0 +1,3 @@
1
+ export { CheckboxModule } from './checkbox.module';
2
+ export { CheckboxComponent } from './checkbox/checkbox.component';
3
+ export * from './checkbox/checkbox.model';