@gettrx/core-components-angular 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (443) hide show
  1. package/esm2022/lib/atoms/badge/gtr-badge.component.mjs +77 -0
  2. package/esm2022/lib/atoms/badge/gtr-badge.module.mjs +19 -0
  3. package/esm2022/lib/atoms/badge/public_api.mjs +3 -3
  4. package/esm2022/lib/atoms/button/gtr-button.component.mjs +60 -0
  5. package/esm2022/lib/atoms/button/gtr-button.module.mjs +19 -0
  6. package/esm2022/lib/atoms/button/gtr-button.types.mjs +2 -0
  7. package/esm2022/lib/atoms/button/index.mjs +3 -3
  8. package/esm2022/lib/atoms/button-directive/gtr-button-close.directive.mjs +39 -0
  9. package/esm2022/lib/atoms/button-directive/gtr-button-directive.module.mjs +17 -0
  10. package/esm2022/lib/atoms/button-directive/gtr-button.directive.mjs +102 -0
  11. package/esm2022/lib/atoms/button-directive/public_api.mjs +4 -4
  12. package/esm2022/lib/atoms/icon/gtr-icon.component.mjs +50 -0
  13. package/esm2022/lib/atoms/icon/gtr-icon.module.mjs +18 -0
  14. package/esm2022/lib/atoms/icon/public_api.mjs +3 -3
  15. package/esm2022/lib/atoms/input/gtr-input.component.mjs +375 -0
  16. package/esm2022/lib/atoms/input/gtr-input.module.mjs +21 -0
  17. package/esm2022/lib/atoms/input/public_api.mjs +3 -3
  18. package/esm2022/lib/atoms/input/utils/gtr-input-utils.mjs +26 -0
  19. package/esm2022/lib/atoms/popover/gtr-popover.component.mjs +147 -0
  20. package/esm2022/lib/atoms/popover/gtr-popover.module.mjs +18 -0
  21. package/esm2022/lib/atoms/popover/public_api.mjs +3 -3
  22. package/esm2022/lib/atoms/radio-button/gtr-radio-button.component.mjs +184 -0
  23. package/esm2022/lib/atoms/radio-button/gtr-radio-button.module.mjs +19 -0
  24. package/esm2022/lib/atoms/radio-button/public_api.mjs +3 -3
  25. package/esm2022/lib/atoms/skeleton/gtr-skeleton.component.mjs +24 -0
  26. package/esm2022/lib/atoms/skeleton/gtr-skeleton.module.mjs +20 -0
  27. package/esm2022/lib/atoms/skeleton/public_api.mjs +4 -4
  28. package/esm2022/lib/atoms/skeleton/utils/gtr-skeleton.directive.mjs +51 -0
  29. package/esm2022/lib/atoms/switch/gtr-switch.component.mjs +106 -0
  30. package/esm2022/lib/atoms/switch/gtr-switch.module.mjs +18 -0
  31. package/esm2022/lib/atoms/switch/public_api.mjs +3 -3
  32. package/esm2022/lib/atoms/textarea/gtr-textarea.component.mjs +242 -0
  33. package/esm2022/lib/atoms/textarea/gtr-textarea.module.mjs +21 -0
  34. package/esm2022/lib/atoms/textarea/public_api.mjs +3 -3
  35. package/esm2022/lib/atoms/textarea/utils/gtr-textarea.types.mjs +9 -0
  36. package/esm2022/lib/atoms/tooltip/gtr-tooltip.component.mjs +111 -0
  37. package/esm2022/lib/atoms/tooltip/gtr-tooltip.module.mjs +18 -0
  38. package/esm2022/lib/atoms/tooltip/public_api.mjs +3 -3
  39. package/esm2022/lib/molecules/accordion/accordion/gtr-accordion.component.mjs +108 -0
  40. package/esm2022/lib/molecules/accordion/accordion-wrapper/gtr-accordion-wrapper.component.mjs +92 -0
  41. package/esm2022/lib/molecules/accordion/gtr-accordion.module.mjs +21 -0
  42. package/esm2022/lib/molecules/accordion/public_api.mjs +4 -4
  43. package/esm2022/lib/molecules/calendar/calendar/gtr-calendar-class-view.pipe.mjs +20 -0
  44. package/esm2022/lib/molecules/calendar/calendar/gtr-calendar.component.mjs +428 -0
  45. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-class-day.pipe.mjs +30 -0
  46. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-class-month.pipe.mjs +23 -0
  47. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-class-year.pipe.mjs +22 -0
  48. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-day-title.pipe.mjs +17 -0
  49. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-day.directive.mjs +119 -0
  50. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-day.pipe.mjs +19 -0
  51. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-month-title.pipe.mjs +20 -0
  52. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-month.component.mjs +418 -0
  53. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-month.pipe.mjs +17 -0
  54. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-weekday.pipe.mjs +21 -0
  55. package/esm2022/lib/molecules/calendar/calendar-navigation/gtr-calendar-navigation.component.mjs +85 -0
  56. package/esm2022/lib/molecules/calendar/gtr-calendar.module.mjs +55 -0
  57. package/esm2022/lib/molecules/calendar/gtr-calendar.service.mjs +62 -0
  58. package/esm2022/lib/molecules/calendar/gtr-calendar.utils.mjs +296 -0
  59. package/esm2022/lib/molecules/calendar/public_api.mjs +5 -5
  60. package/esm2022/lib/molecules/checkbox/checkbox/{checkbox.component.mjs → gtr-checkbox.component.mjs} +9 -9
  61. package/esm2022/lib/molecules/checkbox/checkbox/gtr-checkbox.utils.mjs +2 -0
  62. package/esm2022/lib/molecules/checkbox/gtr-checkbox.module.mjs +20 -0
  63. package/esm2022/lib/molecules/checkbox/public_api.mjs +4 -4
  64. package/esm2022/lib/molecules/date-picker/gtr-date-picker.component.mjs +81 -0
  65. package/esm2022/lib/molecules/date-picker/gtr-date-picker.module.mjs +58 -0
  66. package/esm2022/lib/molecules/date-picker/public_api.mjs +3 -3
  67. package/esm2022/lib/molecules/date-range-picker/date-range-picker/gtr-date-range-picker.component.mjs +700 -0
  68. package/esm2022/lib/molecules/date-range-picker/gtr-date-range-picker.module.mjs +60 -0
  69. package/esm2022/lib/molecules/date-range-picker/public_api.mjs +3 -3
  70. package/esm2022/lib/molecules/dropdown/dropdown/gtr-dropdown.component.mjs +387 -0
  71. package/esm2022/lib/molecules/dropdown/dropdown-close/gtr-dropdown-close.directive.mjs +79 -0
  72. package/esm2022/lib/molecules/dropdown/dropdown-divider/gtr-dropdown-divider.directive.mjs +22 -0
  73. package/esm2022/lib/molecules/dropdown/dropdown-header/gtr-dropdown-header.directive.mjs +22 -0
  74. package/esm2022/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item-plain.directive.mjs +22 -0
  75. package/esm2022/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item.directive.mjs +93 -0
  76. package/esm2022/lib/molecules/dropdown/dropdown-menu/gtr-dropdown-menu.directive.mjs +75 -0
  77. package/esm2022/lib/molecules/dropdown/gtr-dropdown.module.mjs +56 -0
  78. package/esm2022/lib/molecules/dropdown/gtr-dropdown.service.mjs +18 -0
  79. package/esm2022/lib/molecules/dropdown/public_api.mjs +10 -10
  80. package/esm2022/lib/molecules/file-input/file-input/gtr-file-input.component.mjs +144 -0
  81. package/esm2022/lib/molecules/file-input/file-input/gtr-file-input.model.mjs +2 -0
  82. package/esm2022/lib/molecules/file-input/gtr-file-input.module.mjs +18 -0
  83. package/esm2022/lib/molecules/file-input/public_api.mjs +4 -4
  84. package/esm2022/lib/molecules/form/form/gtr-form.directive.mjs +33 -0
  85. package/esm2022/lib/molecules/form/form-check/gtr-form-check-input.directive.mjs +62 -0
  86. package/esm2022/lib/molecules/form/form-check/gtr-form-check-label.directive.mjs +22 -0
  87. package/esm2022/lib/molecules/form/form-check/gtr-form-check.component.mjs +77 -0
  88. package/esm2022/lib/molecules/form/form-control/gtr-form-control.directive.mjs +66 -0
  89. package/esm2022/lib/molecules/form/form-feedback/gtr-form-feedback.component.mjs +38 -0
  90. package/esm2022/lib/molecules/form/form-floating/gtr-form-floating.directive.mjs +32 -0
  91. package/esm2022/lib/molecules/form/form-label/gtr-form-label.directive.mjs +40 -0
  92. package/esm2022/lib/molecules/form/form-select/gtr-form-select.directive.mjs +35 -0
  93. package/esm2022/lib/molecules/form/form-text/gtr-form-text.directive.mjs +22 -0
  94. package/esm2022/lib/molecules/form/gtr-form.module.mjs +75 -0
  95. package/esm2022/lib/molecules/form/input-group/gtr-input-group.component.mjs +32 -0
  96. package/esm2022/lib/molecules/form/input-group-text/gtr-input-group-text.directive.mjs +23 -0
  97. package/esm2022/lib/molecules/form/public_api.mjs +14 -14
  98. package/esm2022/lib/molecules/modal/gtr-modal.component.mjs +148 -0
  99. package/esm2022/lib/molecules/modal/gtr-modal.module.mjs +18 -0
  100. package/esm2022/lib/molecules/modal/public_api.mjs +3 -3
  101. package/esm2022/lib/molecules/numeric-counter/gtr-numeric-counter.module.mjs +19 -0
  102. package/esm2022/lib/molecules/numeric-counter/numeric-counter/{numeric-counter.component.mjs → gtr-numeric-counter.component.mjs} +9 -9
  103. package/esm2022/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.const.mjs +2 -0
  104. package/esm2022/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.type.mjs +2 -0
  105. package/esm2022/lib/molecules/numeric-counter/public_api.mjs +5 -5
  106. package/esm2022/lib/molecules/pagination/gtr-pagination.module.mjs +36 -0
  107. package/esm2022/lib/molecules/pagination/helpers/models/gtr-pagination.interface.mjs +2 -0
  108. package/esm2022/lib/molecules/pagination/helpers/models/gtr-pagination.model.mjs +3 -0
  109. package/esm2022/lib/molecules/pagination/helpers/models/index.mjs +3 -3
  110. package/esm2022/lib/molecules/pagination/helpers/pipes/index.mjs +2 -2
  111. package/esm2022/lib/molecules/pagination/helpers/pipes/validate-page/gtr-validate-page.pipe.mjs +21 -0
  112. package/esm2022/lib/molecules/pagination/pagination/gtr-pagination.component.mjs +146 -0
  113. package/esm2022/lib/molecules/pagination/pagination/gtr-pagination.utils.mjs +80 -0
  114. package/esm2022/lib/molecules/pagination/public_api.mjs +4 -4
  115. package/esm2022/lib/molecules/select/gtr-select.module.mjs +37 -0
  116. package/esm2022/lib/molecules/select/helpers/enums/gtr-select.enums.mjs +6 -0
  117. package/esm2022/lib/molecules/select/helpers/enums/index.mjs +2 -2
  118. package/esm2022/lib/molecules/select/helpers/pipes/format-selected-value/gtr-format-selected-value.pipe.mjs +57 -0
  119. package/esm2022/lib/molecules/select/helpers/pipes/index.mjs +3 -3
  120. package/esm2022/lib/molecules/select/helpers/pipes/trim-text/gtr-trim-text.pipe.mjs +26 -0
  121. package/esm2022/lib/molecules/select/helpers/types/gtr-select.type.mjs +2 -0
  122. package/esm2022/lib/molecules/select/helpers/types/index.mjs +2 -2
  123. package/esm2022/lib/molecules/select/public_api.mjs +3 -3
  124. package/esm2022/lib/molecules/select/select/gtr-select.component.mjs +445 -0
  125. package/esm2022/lib/molecules/shared/gtr-html-attr.directive.mjs +55 -0
  126. package/esm2022/lib/molecules/shared/gtr-shared.module.mjs +22 -0
  127. package/esm2022/lib/molecules/shared/gtr-template-id.directive.mjs +20 -0
  128. package/esm2022/lib/molecules/shared/public_api.mjs +4 -4
  129. package/esm2022/lib/molecules/stat-card/gtr-stat-card.component.mjs +135 -0
  130. package/esm2022/lib/molecules/stat-card/gtr-stat-card.module.mjs +22 -0
  131. package/esm2022/lib/molecules/stat-card/public_api.mjs +3 -3
  132. package/esm2022/lib/molecules/time-picker/gtr-time-picker.component.mjs +512 -0
  133. package/esm2022/lib/molecules/time-picker/gtr-time-picker.module.mjs +51 -0
  134. package/esm2022/lib/molecules/time-picker/gtr-time.utils.mjs +676 -0
  135. package/esm2022/lib/molecules/time-picker/public_api.mjs +3 -3
  136. package/esm2022/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-am-pm.component.mjs +106 -0
  137. package/esm2022/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-col.component.mjs +107 -0
  138. package/fesm2022/gettrx-core-components-angular.mjs +801 -786
  139. package/fesm2022/gettrx-core-components-angular.mjs.map +1 -1
  140. package/lib/atoms/badge/gtr-badge.component.d.ts +25 -0
  141. package/lib/atoms/badge/gtr-badge.module.d.ts +9 -0
  142. package/lib/atoms/badge/public_api.d.ts +2 -2
  143. package/lib/atoms/button/{button.component.d.ts → gtr-button.component.d.ts} +4 -4
  144. package/lib/atoms/button/gtr-button.module.d.ts +9 -0
  145. package/lib/atoms/button/index.d.ts +2 -2
  146. package/lib/atoms/button-directive/gtr-button-close.directive.d.ts +13 -0
  147. package/lib/atoms/button-directive/gtr-button-directive.module.d.ts +8 -0
  148. package/lib/atoms/button-directive/{button.directive.d.ts → gtr-button.directive.d.ts} +3 -3
  149. package/lib/atoms/button-directive/public_api.d.ts +3 -3
  150. package/lib/atoms/icon/gtr-icon.component.d.ts +28 -0
  151. package/lib/atoms/icon/gtr-icon.module.d.ts +8 -0
  152. package/lib/atoms/icon/public_api.d.ts +2 -2
  153. package/lib/atoms/input/{input.component.d.ts → gtr-input.component.d.ts} +5 -5
  154. package/lib/atoms/input/gtr-input.module.d.ts +10 -0
  155. package/lib/atoms/input/public_api.d.ts +2 -2
  156. package/lib/atoms/input/utils/{input-utils.d.ts → gtr-input-utils.d.ts} +5 -5
  157. package/lib/atoms/popover/gtr-popover.component.d.ts +35 -0
  158. package/lib/atoms/popover/gtr-popover.module.d.ts +8 -0
  159. package/lib/atoms/popover/public_api.d.ts +2 -2
  160. package/lib/atoms/radio-button/{radio-button.component.d.ts → gtr-radio-button.component.d.ts} +3 -3
  161. package/lib/atoms/radio-button/{radio-button.module.d.ts → gtr-radio-button.module.d.ts} +2 -2
  162. package/lib/atoms/radio-button/public_api.d.ts +2 -2
  163. package/lib/atoms/skeleton/gtr-skeleton.component.d.ts +12 -0
  164. package/lib/atoms/skeleton/gtr-skeleton.module.d.ts +9 -0
  165. package/lib/atoms/skeleton/public_api.d.ts +3 -3
  166. package/lib/atoms/skeleton/utils/gtr-skeleton.directive.d.ts +15 -0
  167. package/lib/atoms/switch/{switch.component.d.ts → gtr-switch.component.d.ts} +3 -3
  168. package/lib/atoms/switch/gtr-switch.module.d.ts +8 -0
  169. package/lib/atoms/switch/public_api.d.ts +2 -2
  170. package/lib/atoms/textarea/{textarea.component.d.ts → gtr-textarea.component.d.ts} +5 -5
  171. package/lib/atoms/textarea/gtr-textarea.module.d.ts +10 -0
  172. package/lib/atoms/textarea/public_api.d.ts +2 -2
  173. package/lib/atoms/textarea/utils/{textarea.types.d.ts → gtr-textarea.types.d.ts} +3 -3
  174. package/lib/atoms/tooltip/{tooltip.component.d.ts → gtr-tooltip.component.d.ts} +3 -3
  175. package/lib/atoms/tooltip/gtr-tooltip.module.d.ts +8 -0
  176. package/lib/atoms/tooltip/public_api.d.ts +2 -2
  177. package/lib/molecules/accordion/accordion/{accordion.component.d.ts → gtr-accordion.component.d.ts} +3 -3
  178. package/lib/molecules/accordion/accordion-wrapper/gtr-accordion-wrapper.component.d.ts +37 -0
  179. package/lib/molecules/accordion/gtr-accordion.module.d.ts +11 -0
  180. package/lib/molecules/accordion/public_api.d.ts +3 -3
  181. package/lib/molecules/calendar/calendar/gtr-calendar-class-view.pipe.d.ts +7 -0
  182. package/lib/molecules/calendar/calendar/{calendar.component.d.ts → gtr-calendar.component.d.ts} +13 -13
  183. package/lib/molecules/calendar/calendar-month/{calendar-class-day.pipe.d.ts → gtr-calendar-class-day.pipe.d.ts} +3 -3
  184. package/lib/molecules/calendar/calendar-month/gtr-calendar-class-month.pipe.d.ts +7 -0
  185. package/lib/molecules/calendar/calendar-month/gtr-calendar-class-year.pipe.d.ts +7 -0
  186. package/lib/molecules/calendar/calendar-month/gtr-calendar-day-title.pipe.d.ts +7 -0
  187. package/lib/molecules/calendar/calendar-month/{calendar-day.directive.d.ts → gtr-calendar-day.directive.d.ts} +5 -5
  188. package/lib/molecules/calendar/calendar-month/gtr-calendar-day.pipe.d.ts +8 -0
  189. package/lib/molecules/calendar/calendar-month/gtr-calendar-month-title.pipe.d.ts +7 -0
  190. package/lib/molecules/calendar/calendar-month/{calendar-month.component.d.ts → gtr-calendar-month.component.d.ts} +8 -8
  191. package/lib/molecules/calendar/calendar-month/gtr-calendar-month.pipe.d.ts +7 -0
  192. package/lib/molecules/calendar/calendar-month/gtr-calendar-weekday.pipe.d.ts +8 -0
  193. package/lib/molecules/calendar/calendar-navigation/gtr-calendar-navigation.component.d.ts +32 -0
  194. package/lib/molecules/calendar/gtr-calendar.module.d.ts +19 -0
  195. package/lib/molecules/calendar/gtr-calendar.service.d.ts +36 -0
  196. package/lib/molecules/calendar/public_api.d.ts +4 -4
  197. package/lib/molecules/checkbox/checkbox/{checkbox.component.d.ts → gtr-checkbox.component.d.ts} +4 -4
  198. package/lib/molecules/checkbox/gtr-checkbox.module.d.ts +10 -0
  199. package/lib/molecules/checkbox/public_api.d.ts +3 -3
  200. package/lib/molecules/date-picker/{date-picker.component.d.ts → gtr-date-picker.component.d.ts} +4 -4
  201. package/lib/molecules/date-picker/gtr-date-picker.module.d.ts +18 -0
  202. package/lib/molecules/date-picker/public_api.d.ts +2 -2
  203. package/lib/molecules/date-range-picker/date-range-picker/{date-range-picker.component.d.ts → gtr-date-range-picker.component.d.ts} +13 -13
  204. package/lib/molecules/date-range-picker/gtr-date-range-picker.module.d.ts +18 -0
  205. package/lib/molecules/date-range-picker/public_api.d.ts +2 -2
  206. package/lib/molecules/dropdown/dropdown/{dropdown.component.d.ts → gtr-dropdown.component.d.ts} +17 -17
  207. package/lib/molecules/dropdown/dropdown-close/gtr-dropdown-close.directive.d.ts +26 -0
  208. package/lib/molecules/dropdown/dropdown-divider/gtr-dropdown-divider.directive.d.ts +6 -0
  209. package/lib/molecules/dropdown/dropdown-header/gtr-dropdown-header.directive.d.ts +6 -0
  210. package/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item-plain.directive.d.ts +6 -0
  211. package/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item.directive.d.ts +36 -0
  212. package/lib/molecules/dropdown/dropdown-menu/{dropdown-menu.directive.d.ts → gtr-dropdown-menu.directive.d.ts} +5 -5
  213. package/lib/molecules/dropdown/gtr-dropdown.module.d.ts +13 -0
  214. package/lib/molecules/dropdown/gtr-dropdown.service.d.ts +13 -0
  215. package/lib/molecules/dropdown/public_api.d.ts +9 -9
  216. package/lib/molecules/file-input/file-input/{file-input.component.d.ts → gtr-file-input.component.d.ts} +4 -4
  217. package/lib/molecules/file-input/gtr-file-input.module.d.ts +8 -0
  218. package/lib/molecules/file-input/public_api.d.ts +3 -3
  219. package/lib/molecules/form/form/{form.directive.d.ts → gtr-form.directive.d.ts} +3 -3
  220. package/lib/molecules/form/form-check/{form-check-input.directive.d.ts → gtr-form-check-input.directive.d.ts} +3 -3
  221. package/lib/molecules/form/form-check/gtr-form-check-label.directive.d.ts +6 -0
  222. package/lib/molecules/form/form-check/{form-check.component.d.ts → gtr-form-check.component.d.ts} +5 -5
  223. package/lib/molecules/form/form-control/{form-control.directive.d.ts → gtr-form-control.directive.d.ts} +3 -3
  224. package/lib/molecules/form/form-feedback/{form-feedback.component.d.ts → gtr-form-feedback.component.d.ts} +3 -3
  225. package/lib/molecules/form/form-floating/gtr-form-floating.directive.d.ts +12 -0
  226. package/lib/molecules/form/form-label/{form-label.directive.d.ts → gtr-form-label.directive.d.ts} +3 -3
  227. package/lib/molecules/form/form-select/gtr-form-select.directive.d.ts +16 -0
  228. package/lib/molecules/form/form-text/gtr-form-text.directive.d.ts +6 -0
  229. package/lib/molecules/form/gtr-form.module.d.ts +18 -0
  230. package/lib/molecules/form/input-group/gtr-input-group.component.d.ts +11 -0
  231. package/lib/molecules/form/input-group-text/gtr-input-group-text.directive.d.ts +7 -0
  232. package/lib/molecules/form/public_api.d.ts +13 -13
  233. package/lib/molecules/modal/{modal.component.d.ts → gtr-modal.component.d.ts} +3 -3
  234. package/lib/molecules/modal/gtr-modal.module.d.ts +8 -0
  235. package/lib/molecules/modal/public_api.d.ts +2 -2
  236. package/lib/molecules/numeric-counter/gtr-numeric-counter.module.d.ts +9 -0
  237. package/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.component.d.ts +27 -0
  238. package/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.const.d.ts +1 -0
  239. package/lib/molecules/numeric-counter/public_api.d.ts +4 -4
  240. package/lib/molecules/pagination/gtr-pagination.module.d.ts +11 -0
  241. package/lib/molecules/pagination/helpers/models/index.d.ts +2 -2
  242. package/lib/molecules/pagination/helpers/pipes/index.d.ts +1 -1
  243. package/lib/molecules/pagination/helpers/pipes/validate-page/gtr-validate-page.pipe.d.ts +8 -0
  244. package/lib/molecules/pagination/pagination/{pagination.component.d.ts → gtr-pagination.component.d.ts} +4 -4
  245. package/lib/molecules/pagination/public_api.d.ts +3 -3
  246. package/lib/molecules/select/gtr-select.module.d.ts +12 -0
  247. package/lib/molecules/select/helpers/enums/index.d.ts +1 -1
  248. package/lib/molecules/select/helpers/pipes/format-selected-value/{format-selected-value.pipe.d.ts → gtr-format-selected-value.pipe.d.ts} +3 -3
  249. package/lib/molecules/select/helpers/pipes/index.d.ts +2 -2
  250. package/lib/molecules/select/helpers/pipes/trim-text/gtr-trim-text.pipe.d.ts +7 -0
  251. package/lib/molecules/select/helpers/types/index.d.ts +1 -1
  252. package/lib/molecules/select/public_api.d.ts +2 -2
  253. package/lib/molecules/select/select/{select.component.d.ts → gtr-select.component.d.ts} +3 -3
  254. package/lib/molecules/shared/gtr-html-attr.directive.d.ts +16 -0
  255. package/lib/molecules/shared/gtr-shared.module.d.ts +10 -0
  256. package/lib/molecules/shared/gtr-template-id.directive.d.ts +9 -0
  257. package/lib/molecules/shared/public_api.d.ts +3 -3
  258. package/lib/molecules/stat-card/{stat-card.component.d.ts → gtr-stat-card.component.d.ts} +3 -3
  259. package/lib/molecules/stat-card/gtr-stat-card.module.d.ts +11 -0
  260. package/lib/molecules/stat-card/public_api.d.ts +2 -2
  261. package/lib/molecules/time-picker/{time-picker.component.d.ts → gtr-time-picker.component.d.ts} +6 -6
  262. package/lib/molecules/time-picker/gtr-time-picker.module.d.ts +14 -0
  263. package/lib/molecules/time-picker/public_api.d.ts +2 -2
  264. package/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-am-pm.component.d.ts +39 -0
  265. package/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-col.component.d.ts +38 -0
  266. package/package.json +3 -3
  267. package/esm2022/lib/atoms/badge/badge.component.mjs +0 -77
  268. package/esm2022/lib/atoms/badge/badge.module.mjs +0 -19
  269. package/esm2022/lib/atoms/button/button.component.mjs +0 -60
  270. package/esm2022/lib/atoms/button/button.module.mjs +0 -19
  271. package/esm2022/lib/atoms/button/utils/utils.mjs +0 -2
  272. package/esm2022/lib/atoms/button-directive/button-close.directive.mjs +0 -39
  273. package/esm2022/lib/atoms/button-directive/button-directive.module.mjs +0 -17
  274. package/esm2022/lib/atoms/button-directive/button.directive.mjs +0 -102
  275. package/esm2022/lib/atoms/icon/icon.component.mjs +0 -50
  276. package/esm2022/lib/atoms/icon/icon.module.mjs +0 -18
  277. package/esm2022/lib/atoms/input/input.component.mjs +0 -375
  278. package/esm2022/lib/atoms/input/input.module.mjs +0 -21
  279. package/esm2022/lib/atoms/input/utils/input-utils.mjs +0 -26
  280. package/esm2022/lib/atoms/popover/popover.component.mjs +0 -147
  281. package/esm2022/lib/atoms/popover/popover.module.mjs +0 -18
  282. package/esm2022/lib/atoms/radio-button/radio-button.component.mjs +0 -184
  283. package/esm2022/lib/atoms/radio-button/radio-button.module.mjs +0 -19
  284. package/esm2022/lib/atoms/skeleton/skeleton.component.mjs +0 -24
  285. package/esm2022/lib/atoms/skeleton/skeleton.module.mjs +0 -20
  286. package/esm2022/lib/atoms/skeleton/utils/skeleton.directive.mjs +0 -51
  287. package/esm2022/lib/atoms/switch/switch.component.mjs +0 -106
  288. package/esm2022/lib/atoms/switch/switch.module.mjs +0 -18
  289. package/esm2022/lib/atoms/textarea/textarea.component.mjs +0 -242
  290. package/esm2022/lib/atoms/textarea/textarea.module.mjs +0 -21
  291. package/esm2022/lib/atoms/textarea/utils/textarea.types.mjs +0 -9
  292. package/esm2022/lib/atoms/tooltip/tooltip.component.mjs +0 -111
  293. package/esm2022/lib/atoms/tooltip/tooltip.module.mjs +0 -18
  294. package/esm2022/lib/molecules/accordion/accordion/accordion.component.mjs +0 -108
  295. package/esm2022/lib/molecules/accordion/accordion-wrapper/accordion-wrapper.component.mjs +0 -92
  296. package/esm2022/lib/molecules/accordion/accordion.module.mjs +0 -21
  297. package/esm2022/lib/molecules/calendar/calendar/calendar-class-view.pipe.mjs +0 -20
  298. package/esm2022/lib/molecules/calendar/calendar/calendar.component.mjs +0 -428
  299. package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-day.pipe.mjs +0 -30
  300. package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-month.pipe.mjs +0 -23
  301. package/esm2022/lib/molecules/calendar/calendar-month/calendar-class-year.pipe.mjs +0 -22
  302. package/esm2022/lib/molecules/calendar/calendar-month/calendar-day-title.pipe.mjs +0 -17
  303. package/esm2022/lib/molecules/calendar/calendar-month/calendar-day.directive.mjs +0 -119
  304. package/esm2022/lib/molecules/calendar/calendar-month/calendar-day.pipe.mjs +0 -19
  305. package/esm2022/lib/molecules/calendar/calendar-month/calendar-month-title.pipe.mjs +0 -20
  306. package/esm2022/lib/molecules/calendar/calendar-month/calendar-month.component.mjs +0 -418
  307. package/esm2022/lib/molecules/calendar/calendar-month/calendar-month.pipe.mjs +0 -17
  308. package/esm2022/lib/molecules/calendar/calendar-month/calendar-weekday.pipe.mjs +0 -21
  309. package/esm2022/lib/molecules/calendar/calendar-navigation/calendar-navigation.component.mjs +0 -85
  310. package/esm2022/lib/molecules/calendar/calendar.module.mjs +0 -55
  311. package/esm2022/lib/molecules/calendar/calendar.service.mjs +0 -62
  312. package/esm2022/lib/molecules/calendar/calendar.utils.mjs +0 -296
  313. package/esm2022/lib/molecules/checkbox/checkbox/checkbox.model.mjs +0 -2
  314. package/esm2022/lib/molecules/checkbox/checkbox.module.mjs +0 -20
  315. package/esm2022/lib/molecules/date-picker/date-picker.component.mjs +0 -81
  316. package/esm2022/lib/molecules/date-picker/date-picker.module.mjs +0 -58
  317. package/esm2022/lib/molecules/date-range-picker/date-range-picker/date-range-picker.component.mjs +0 -700
  318. package/esm2022/lib/molecules/date-range-picker/date-range-picker.module.mjs +0 -60
  319. package/esm2022/lib/molecules/dropdown/dropdown/dropdown.component.mjs +0 -387
  320. package/esm2022/lib/molecules/dropdown/dropdown-close/dropdown-close.directive.mjs +0 -79
  321. package/esm2022/lib/molecules/dropdown/dropdown-divider/dropdown-divider.directive.mjs +0 -22
  322. package/esm2022/lib/molecules/dropdown/dropdown-header/dropdown-header.directive.mjs +0 -22
  323. package/esm2022/lib/molecules/dropdown/dropdown-item/dropdown-item-plain.directive.mjs +0 -22
  324. package/esm2022/lib/molecules/dropdown/dropdown-item/dropdown-item.directive.mjs +0 -93
  325. package/esm2022/lib/molecules/dropdown/dropdown-menu/dropdown-menu.directive.mjs +0 -75
  326. package/esm2022/lib/molecules/dropdown/dropdown.module.mjs +0 -56
  327. package/esm2022/lib/molecules/dropdown/dropdown.service.mjs +0 -18
  328. package/esm2022/lib/molecules/file-input/file-input/file-input.component.mjs +0 -144
  329. package/esm2022/lib/molecules/file-input/file-input/file-input.model.mjs +0 -2
  330. package/esm2022/lib/molecules/file-input/file-input.module.mjs +0 -18
  331. package/esm2022/lib/molecules/form/form/form.directive.mjs +0 -33
  332. package/esm2022/lib/molecules/form/form-check/form-check-input.directive.mjs +0 -62
  333. package/esm2022/lib/molecules/form/form-check/form-check-label.directive.mjs +0 -22
  334. package/esm2022/lib/molecules/form/form-check/form-check.component.mjs +0 -77
  335. package/esm2022/lib/molecules/form/form-control/form-control.directive.mjs +0 -66
  336. package/esm2022/lib/molecules/form/form-feedback/form-feedback.component.mjs +0 -38
  337. package/esm2022/lib/molecules/form/form-floating/form-floating.directive.mjs +0 -32
  338. package/esm2022/lib/molecules/form/form-label/form-label.directive.mjs +0 -40
  339. package/esm2022/lib/molecules/form/form-select/form-select.directive.mjs +0 -35
  340. package/esm2022/lib/molecules/form/form-text/form-text.directive.mjs +0 -22
  341. package/esm2022/lib/molecules/form/form.module.mjs +0 -75
  342. package/esm2022/lib/molecules/form/input-group/input-group.component.mjs +0 -32
  343. package/esm2022/lib/molecules/form/input-group-text/input-group-text.directive.mjs +0 -23
  344. package/esm2022/lib/molecules/modal/modal.component.mjs +0 -148
  345. package/esm2022/lib/molecules/modal/modal.module.mjs +0 -18
  346. package/esm2022/lib/molecules/numeric-counter/numeric-counter/numeric-counter.const.mjs +0 -2
  347. package/esm2022/lib/molecules/numeric-counter/numeric-counter/numeric-counter.type.mjs +0 -2
  348. package/esm2022/lib/molecules/numeric-counter/numeric-counter.module.mjs +0 -19
  349. package/esm2022/lib/molecules/pagination/helpers/models/pagination.interface.mjs +0 -2
  350. package/esm2022/lib/molecules/pagination/helpers/models/pagination.model.mjs +0 -3
  351. package/esm2022/lib/molecules/pagination/helpers/pipes/validate-page/validate-page.pipe.mjs +0 -21
  352. package/esm2022/lib/molecules/pagination/pagination/pagination.component.mjs +0 -146
  353. package/esm2022/lib/molecules/pagination/pagination/pagination.mjs +0 -80
  354. package/esm2022/lib/molecules/pagination/pagination.module.mjs +0 -21
  355. package/esm2022/lib/molecules/select/helpers/enums/select.enums.mjs +0 -6
  356. package/esm2022/lib/molecules/select/helpers/pipes/format-selected-value/format-selected-value.pipe.mjs +0 -57
  357. package/esm2022/lib/molecules/select/helpers/pipes/trim-text/trim-text.pipe.mjs +0 -26
  358. package/esm2022/lib/molecules/select/helpers/types/select.type.mjs +0 -2
  359. package/esm2022/lib/molecules/select/select/select.component.mjs +0 -445
  360. package/esm2022/lib/molecules/select/select.module.mjs +0 -37
  361. package/esm2022/lib/molecules/shared/html-attr.directive.mjs +0 -55
  362. package/esm2022/lib/molecules/shared/shared.module.mjs +0 -22
  363. package/esm2022/lib/molecules/shared/template-id.directive.mjs +0 -20
  364. package/esm2022/lib/molecules/stat-card/stat-card.component.mjs +0 -135
  365. package/esm2022/lib/molecules/stat-card/stat-card.module.mjs +0 -22
  366. package/esm2022/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.mjs +0 -106
  367. package/esm2022/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-col.component.mjs +0 -107
  368. package/esm2022/lib/molecules/time-picker/time-picker.component.mjs +0 -512
  369. package/esm2022/lib/molecules/time-picker/time-picker.module.mjs +0 -51
  370. package/esm2022/lib/molecules/time-picker/time.utils.mjs +0 -676
  371. package/lib/atoms/badge/badge.component.d.ts +0 -25
  372. package/lib/atoms/badge/badge.module.d.ts +0 -9
  373. package/lib/atoms/button/button.module.d.ts +0 -9
  374. package/lib/atoms/button-directive/button-close.directive.d.ts +0 -13
  375. package/lib/atoms/button-directive/button-directive.module.d.ts +0 -8
  376. package/lib/atoms/icon/icon.component.d.ts +0 -28
  377. package/lib/atoms/icon/icon.module.d.ts +0 -8
  378. package/lib/atoms/input/input.module.d.ts +0 -10
  379. package/lib/atoms/popover/popover.component.d.ts +0 -35
  380. package/lib/atoms/popover/popover.module.d.ts +0 -8
  381. package/lib/atoms/skeleton/skeleton.component.d.ts +0 -12
  382. package/lib/atoms/skeleton/skeleton.module.d.ts +0 -9
  383. package/lib/atoms/skeleton/utils/skeleton.directive.d.ts +0 -15
  384. package/lib/atoms/switch/switch.module.d.ts +0 -8
  385. package/lib/atoms/textarea/textarea.module.d.ts +0 -10
  386. package/lib/atoms/tooltip/tooltip.module.d.ts +0 -8
  387. package/lib/molecules/accordion/accordion-wrapper/accordion-wrapper.component.d.ts +0 -37
  388. package/lib/molecules/accordion/accordion.module.d.ts +0 -11
  389. package/lib/molecules/calendar/calendar/calendar-class-view.pipe.d.ts +0 -7
  390. package/lib/molecules/calendar/calendar-month/calendar-class-month.pipe.d.ts +0 -7
  391. package/lib/molecules/calendar/calendar-month/calendar-class-year.pipe.d.ts +0 -7
  392. package/lib/molecules/calendar/calendar-month/calendar-day-title.pipe.d.ts +0 -7
  393. package/lib/molecules/calendar/calendar-month/calendar-day.pipe.d.ts +0 -8
  394. package/lib/molecules/calendar/calendar-month/calendar-month-title.pipe.d.ts +0 -7
  395. package/lib/molecules/calendar/calendar-month/calendar-month.pipe.d.ts +0 -7
  396. package/lib/molecules/calendar/calendar-month/calendar-weekday.pipe.d.ts +0 -8
  397. package/lib/molecules/calendar/calendar-navigation/calendar-navigation.component.d.ts +0 -32
  398. package/lib/molecules/calendar/calendar.module.d.ts +0 -19
  399. package/lib/molecules/calendar/calendar.service.d.ts +0 -36
  400. package/lib/molecules/checkbox/checkbox.module.d.ts +0 -10
  401. package/lib/molecules/date-picker/date-picker.module.d.ts +0 -18
  402. package/lib/molecules/date-range-picker/date-range-picker.module.d.ts +0 -18
  403. package/lib/molecules/dropdown/dropdown-close/dropdown-close.directive.d.ts +0 -26
  404. package/lib/molecules/dropdown/dropdown-divider/dropdown-divider.directive.d.ts +0 -6
  405. package/lib/molecules/dropdown/dropdown-header/dropdown-header.directive.d.ts +0 -6
  406. package/lib/molecules/dropdown/dropdown-item/dropdown-item-plain.directive.d.ts +0 -6
  407. package/lib/molecules/dropdown/dropdown-item/dropdown-item.directive.d.ts +0 -36
  408. package/lib/molecules/dropdown/dropdown.module.d.ts +0 -13
  409. package/lib/molecules/dropdown/dropdown.service.d.ts +0 -13
  410. package/lib/molecules/file-input/file-input.module.d.ts +0 -8
  411. package/lib/molecules/form/form-check/form-check-label.directive.d.ts +0 -6
  412. package/lib/molecules/form/form-floating/form-floating.directive.d.ts +0 -12
  413. package/lib/molecules/form/form-select/form-select.directive.d.ts +0 -16
  414. package/lib/molecules/form/form-text/form-text.directive.d.ts +0 -6
  415. package/lib/molecules/form/form.module.d.ts +0 -18
  416. package/lib/molecules/form/input-group/input-group.component.d.ts +0 -11
  417. package/lib/molecules/form/input-group-text/input-group-text.directive.d.ts +0 -7
  418. package/lib/molecules/modal/modal.module.d.ts +0 -8
  419. package/lib/molecules/numeric-counter/numeric-counter/numeric-counter.component.d.ts +0 -27
  420. package/lib/molecules/numeric-counter/numeric-counter/numeric-counter.const.d.ts +0 -1
  421. package/lib/molecules/numeric-counter/numeric-counter.module.d.ts +0 -9
  422. package/lib/molecules/pagination/helpers/pipes/validate-page/validate-page.pipe.d.ts +0 -8
  423. package/lib/molecules/pagination/pagination.module.d.ts +0 -11
  424. package/lib/molecules/select/helpers/pipes/trim-text/trim-text.pipe.d.ts +0 -7
  425. package/lib/molecules/select/select.module.d.ts +0 -12
  426. package/lib/molecules/shared/html-attr.directive.d.ts +0 -16
  427. package/lib/molecules/shared/shared.module.d.ts +0 -10
  428. package/lib/molecules/shared/template-id.directive.d.ts +0 -9
  429. package/lib/molecules/stat-card/stat-card.module.d.ts +0 -11
  430. package/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.d.ts +0 -39
  431. package/lib/molecules/time-picker/time-picker-roll-col/time-picker-roll-col.component.d.ts +0 -38
  432. package/lib/molecules/time-picker/time-picker.module.d.ts +0 -14
  433. /package/lib/atoms/button/{utils/utils.d.ts → gtr-button.types.d.ts} +0 -0
  434. /package/lib/molecules/calendar/{calendar.utils.d.ts → gtr-calendar.utils.d.ts} +0 -0
  435. /package/lib/molecules/checkbox/checkbox/{checkbox.model.d.ts → gtr-checkbox.utils.d.ts} +0 -0
  436. /package/lib/molecules/file-input/file-input/{file-input.model.d.ts → gtr-file-input.model.d.ts} +0 -0
  437. /package/lib/molecules/numeric-counter/numeric-counter/{numeric-counter.type.d.ts → gtr-numeric-counter.type.d.ts} +0 -0
  438. /package/lib/molecules/pagination/helpers/models/{pagination.interface.d.ts → gtr-pagination.interface.d.ts} +0 -0
  439. /package/lib/molecules/pagination/helpers/models/{pagination.model.d.ts → gtr-pagination.model.d.ts} +0 -0
  440. /package/lib/molecules/pagination/pagination/{pagination.d.ts → gtr-pagination.utils.d.ts} +0 -0
  441. /package/lib/molecules/select/helpers/enums/{select.enums.d.ts → gtr-select.enums.d.ts} +0 -0
  442. /package/lib/molecules/select/helpers/types/{select.type.d.ts → gtr-select.type.d.ts} +0 -0
  443. /package/lib/molecules/time-picker/{time.utils.d.ts → gtr-time.utils.d.ts} +0 -0
@@ -1,107 +0,0 @@
1
- import { Component, Directive, EventEmitter, HostBinding, Input, Output, ViewChildren, } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- export class TimeElementDirective {
6
- constructor(elementRef) {
7
- this.elementRef = elementRef;
8
- }
9
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimeElementDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
10
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TimeElementDirective, isStandalone: true, selector: "[gtrTimeElement]", inputs: { gtrTimeElement: "gtrTimeElement" }, exportAs: ["gtrTimeElement"], ngImport: i0 }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimeElementDirective, decorators: [{
13
- type: Directive,
14
- args: [{
15
- selector: '[gtrTimeElement]',
16
- exportAs: 'gtrTimeElement',
17
- standalone: true,
18
- }]
19
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { gtrTimeElement: [{
20
- type: Input
21
- }] } });
22
- export class TimePickerRollColComponent {
23
- constructor(elementRef) {
24
- this.elementRef = elementRef;
25
- this.init = true;
26
- this.disabled = false;
27
- this.elements = [];
28
- this.selectedChange = new EventEmitter();
29
- }
30
- get hostClasses() {
31
- return {
32
- 'time-picker-roll-col': true,
33
- disabled: this.disabled,
34
- };
35
- }
36
- ngAfterViewInit() {
37
- this.timeElements?.changes.subscribe((state) => {
38
- const selectedElement = this.timeElements?.find((element) => {
39
- return element.gtrTimeElement?.value === this.selected;
40
- });
41
- this.scrollToElement(selectedElement?.elementRef.nativeElement);
42
- });
43
- setTimeout(() => {
44
- const selectedElement = this.elementRef.nativeElement.querySelector('.selected');
45
- this.scrollToElement(selectedElement);
46
- }, 1000);
47
- }
48
- ngOnChanges(changes) {
49
- if ((changes['refresh'] && changes['refresh'].currentValue) ||
50
- (changes['selected'] && !changes['selected'].firstChange)) {
51
- const selectedElement = this.timeElements?.find((element) => {
52
- return element.gtrTimeElement?.value === this.selected;
53
- });
54
- this.init = !selectedElement;
55
- this.scrollToElement(selectedElement?.elementRef.nativeElement);
56
- }
57
- }
58
- scrollToElement(element) {
59
- setTimeout(() => {
60
- const elementSelected = element || this.elementRef.nativeElement.querySelector('.selected');
61
- if (elementSelected) {
62
- this.elementRef.nativeElement.scrollTo({
63
- top: elementSelected?.offsetTop,
64
- behavior: this.init ? 'auto' : 'smooth',
65
- });
66
- this.init = false;
67
- }
68
- });
69
- }
70
- handleElementClick($event, element) {
71
- if (element.disabled) {
72
- return;
73
- }
74
- this.selected = element.value;
75
- this.scrollToElement($event.target);
76
- this.onClick && this.onClick(element.value);
77
- this.selectedChange.emit(element.value);
78
- }
79
- trackByElement(index, element) {
80
- return element.value;
81
- }
82
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerRollColComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
83
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TimePickerRollColComponent, isStandalone: true, selector: "gtr-time-picker-roll-col", inputs: { disabled: "disabled", elements: "elements", onClick: "onClick", selected: "selected", refresh: "refresh" }, outputs: { selectedChange: "selectedChange" }, host: { properties: { "class": "this.hostClasses" } }, viewQueries: [{ propertyName: "timeElements", predicate: TimeElementDirective, descendants: true }], exportAs: ["gtrTimePickerRollCol"], usesOnChanges: true, ngImport: i0, template: "<div (click)=\"handleElementClick($event, element)\"\n *ngFor=\"let element of elements; index as i; trackBy: trackByElement\"\n [attr.disabled]=\"element.disabled || null\"\n [gtrTimeElement]=\"element\"\n [ngClass]=\"{'time-picker-roll-cell': true, selected: element.value === selected, disabled: element.disabled}\"\n [ngStyle]=\"{'width': 'fit-content'}\"\n role=\"button\"\n>\n {{element.label}}\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: TimeElementDirective, selector: "[gtrTimeElement]", inputs: ["gtrTimeElement"], exportAs: ["gtrTimeElement"] }] }); }
84
- }
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerRollColComponent, decorators: [{
86
- type: Component,
87
- args: [{ selector: 'gtr-time-picker-roll-col', exportAs: 'gtrTimePickerRollCol', standalone: true, imports: [CommonModule, TimeElementDirective], template: "<div (click)=\"handleElementClick($event, element)\"\n *ngFor=\"let element of elements; index as i; trackBy: trackByElement\"\n [attr.disabled]=\"element.disabled || null\"\n [gtrTimeElement]=\"element\"\n [ngClass]=\"{'time-picker-roll-cell': true, selected: element.value === selected, disabled: element.disabled}\"\n [ngStyle]=\"{'width': 'fit-content'}\"\n role=\"button\"\n>\n {{element.label}}\n</div>\n" }]
88
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { disabled: [{
89
- type: Input
90
- }], elements: [{
91
- type: Input
92
- }], onClick: [{
93
- type: Input
94
- }], selected: [{
95
- type: Input
96
- }], refresh: [{
97
- type: Input
98
- }], selectedChange: [{
99
- type: Output
100
- }], hostClasses: [{
101
- type: HostBinding,
102
- args: ['class']
103
- }], timeElements: [{
104
- type: ViewChildren,
105
- args: [TimeElementDirective]
106
- }] } });
107
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS1waWNrZXItcm9sbC1jb2wuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9tb2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