@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,60 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class ButtonComponent {
4
- constructor() {
5
- /** (optional) Button type */
6
- this.type = 'button';
7
- /** (optional) Button type */
8
- this.btnId = '';
9
- /**
10
- * (optional) color.
11
- * @default primary
12
- */
13
- this.color = 'primary';
14
- /**
15
- * (optional) loading.
16
- * @default isLoading
17
- */
18
- this.isLoading = false;
19
- /**
20
- * Optional variant. <br />
21
- * `raised` : Rectangular contained button w/ elevation <br />
22
- * `flat` : Rectangular contained button w/ no elevation <br />
23
- * `outline` : Rectangular outlined button w/ no elevation <br />
24
- * `link` : Rectangular text button w/ no elevation <br />
25
- * `icon` : Circular button with a transparent background, meant to contain an icon
26
- */
27
- this.variant = 'raised';
28
- /** (optional) If `true`, the button is disabled */
29
- this.disabled = false;
30
- }
31
- getCssClassMap() {
32
- return {
33
- [`${this.type}`]: true,
34
- [`${this.color}`]: true,
35
- [`${this.variant}`]: true,
36
- ['button--loading']: this.isLoading,
37
- ['disabled']: this.disabled,
38
- };
39
- }
40
- ngOnInit() { }
41
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
42
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ButtonComponent, selector: "gtr-button", inputs: { type: "type", btnId: "btnId", color: "color", isLoading: "isLoading", variant: "variant", disabled: "disabled" }, ngImport: i0, template: "<button [type]=\"this.type\" [class]=\"getCssClassMap()\" [id]=\"btnId\" [attr.data-testid]=\"btnId\"\n [attr.aria-disabled]=\"this.disabled ? 'true' : 'false'\" [disabled]=\"this.disabled\">\n <ng-content></ng-content>\n</button>\n", styles: [":root{--gtr-content-layout-grid-row-columns: 6;--gtr-content-layout-grid-columns: 12;--gtr-content-box-shadow-base: 0px 6px 12px -6px rgba(24, 39, 75, .12), 0px 8px 24px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-80: 0px 8px 22px -6px rgba(24, 39, 75, .12), 0px 14px 64px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-70: 0px 8px 18px -6px rgba(24, 39, 75, .12), 0px 12px 42px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-60: 0px 6px 14px -6px rgba(24, 39, 75, .12), 0px 10px 32px -4px rgba(24, 39, 75, .1);--gtr-content-box-shadow-40: 0px 6px 8px -6px rgba(24, 39, 75, .12), 0px 8px 16px -6px rgba(24, 39, 75, .08);--gtr-content-box-shadow-30: 0px 4px 6px -4px rgba(24, 39, 75, .12), 0px 8px 8px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-20: 0px 2px 4px -2px rgba(24, 39, 75, .12), 0px 4px 4px -2px rgba(24, 39, 75, .08);--gtr-content-border-style: solid;--gtr-size-layout-grid-gutter-width: 1.5rem;--gtr-size-layout-container-max-width-xxl: 1320rem;--gtr-size-layout-container-max-width-xl: 1140rem;--gtr-size-layout-container-max-width-lg: 960rem;--gtr-size-layout-container-max-width-md: 720rem;--gtr-size-layout-container-max-width-sm: 540rem;--gtr-size-layout-breakpoints-xxl: 1400rem;--gtr-size-layout-breakpoints-xl: 1200rem;--gtr-size-layout-breakpoints-lg: 992rem;--gtr-size-layout-breakpoints-md: 768rem;--gtr-size-layout-breakpoints-sm: 576rem;--gtr-size-layout-breakpoints-xs: 0rem;--gtr-size-spacing-none: 0rem;--gtr-size-spacing-16: 10rem;--gtr-size-spacing-15: 6rem;--gtr-size-spacing-14: 5.5rem;--gtr-size-spacing-13: 5rem;--gtr-size-spacing-12: 4.5rem;--gtr-size-spacing-11: 4rem;--gtr-size-spacing-10: 3.5rem;--gtr-size-spacing-9: 3rem;--gtr-size-spacing-8: 2.5rem;--gtr-size-spacing-7: 2rem;--gtr-size-spacing-6: 1.75rem;--gtr-size-spacing-5: 1.5rem;--gtr-size-spacing-4: 1rem;--gtr-size-spacing-3: .75rem;--gtr-size-spacing-2: .5rem;--gtr-size-spacing-1: .25rem;--gtr-size-padding-xxl: 3rem;--gtr-size-padding-xl: 2rem;--gtr-size-padding-large: 1.5rem;--gtr-size-padding-medium: 1rem;--gtr-size-padding-small: .5rem;--gtr-size-padding-tiny: .25rem;--gtr-size-icon-xxl: 5rem;--gtr-size-icon-xl: 3rem;--gtr-size-icon-large: 2.5rem;--gtr-size-icon-base: 2rem;--gtr-size-icon-small: 1.5rem;--gtr-size-font-heading-5: 1.25rem;--gtr-size-font-heading-4: 1.5rem;--gtr-size-font-heading-3: 1.75rem;--gtr-size-font-heading-2: 2rem;--gtr-size-font-heading-1: 2.5rem;--gtr-size-font-weight-bolder: 800rem;--gtr-size-font-weight-bold: 700rem;--gtr-size-font-weight-semibold: 600rem;--gtr-size-font-weight-medium: 500rem;--gtr-size-font-weight-normal: 400rem;--gtr-size-font-weight-light: 300rem;--gtr-size-font-weight-lighter: 200rem;--gtr-size-font-size-lg: 1.25rem;--gtr-size-font-size-sm: .875rem;--gtr-size-font-size-base: 1rem;--gtr-size-font-size-root: 1rem;--gtr-size-border-radius-pill: 50rem;--gtr-size-border-radius-xxl: 2rem;--gtr-size-border-radius-xl: 1.5rem;--gtr-size-border-radius-lg: 1rem;--gtr-size-border-radius-sm: .75rem;--gtr-size-border-radius-xxs: .25rem;--gtr-size-border-radius-base: .5rem;--gtr-size-border-radius-none: 0rem;--gtr-size-border-width-bolder: 5rem;--gtr-size-border-width-bold: 4rem;--gtr-size-border-width-semibold: 3rem;--gtr-size-border-width-medium: 2rem;--gtr-size-border-width-normal: 1rem;--gtr-component-position-100: 100%;--gtr-component-position-50: 50%;--gtr-component-position-0: 0;--gtr-component-font-line-height-lg: 2;--gtr-component-font-line-height-sm: 1.25;--gtr-component-font-line-height-base: 1.5;--gtr-component-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--gtr-component-font-family-sans-serif: system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--gtr-component-button-text-align: center;--gtr-component-button-font-size: 2rem;--gtr-color-base-white-pressed: #d9d9d9;--gtr-color-base-white-hover: #e6e6e6;--gtr-color-base-white-100: #ffffff;--gtr-color-base-white-80: rgba(255, 255, 255, .8);--gtr-color-base-white-60: rgba(255, 255, 255, .6);--gtr-color-base-white-40: rgba(255, 255, 255, .4);--gtr-color-base-white-20: rgba(255, 255, 255, .2);--gtr-color-base-white-10: rgba(255, 255, 255, .1);--gtr-color-base-white-5: rgba(255, 255, 255, .05);--gtr-color-base-black-pressed: #000000;--gtr-color-base-black-hover: #000000;--gtr-color-base-black-100: #000000;--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-40: rgba(0, 0, 0, .4);--gtr-color-base-black-20: rgba(0, 0, 0, .2);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gtr-color-base-black-5: rgba(0, 0, 0, .05);--gtr-color-base-danger-pressed: #d71a1c;--gtr-color-base-danger-hover: #e42728;--gtr-color-base-danger-100: #ea5455;--gtr-color-base-danger-80: rgba(234, 84, 85, .8);--gtr-color-base-danger-60: rgba(234, 84, 85, .6);--gtr-color-base-danger-40: rgba(234, 84, 85, .4);--gtr-color-base-danger-20: rgba(234, 84, 85, .2);--gtr-color-base-danger-10: rgba(234, 84, 85, .1);--gtr-color-base-danger-5: rgba(234, 84, 85, .05);--gtr-color-base-success-pressed: #005125;--gtr-color-base-success-hover: #006b30;--gtr-color-base-success-100: #009e47;--gtr-color-base-success-80: rgba(0, 158, 71, .8);--gtr-color-base-success-60: rgba(0, 158, 71, .6);--gtr-color-base-success-40: rgba(0, 158, 71, .4);--gtr-color-base-success-20: rgba(0, 158, 71, .2);--gtr-color-base-success-10: rgba(0, 158, 71, .1);--gtr-color-base-success-5: rgba(0, 158, 71, .05);--gtr-color-base-secondary-pressed: #df7210;--gtr-color-base-secondary-hover: #ef7e1a;--gtr-color-base-secondary-100: #f2994a;--gtr-color-base-secondary-80: rgba(242, 153, 74, .8);--gtr-color-base-secondary-60: rgba(242, 153, 74, .6);--gtr-color-base-secondary-40: rgba(242, 153, 74, .4);--gtr-color-base-secondary-20: rgba(242, 153, 74, .2);--gtr-color-base-secondary-10: rgba(242, 153, 74, .1);--gtr-color-base-secondary-5: rgba(242, 153, 74, .05);--gtr-color-base-primary-pressed: #002d4f;--gtr-color-base-primary-hover: #003c69;--gtr-color-base-primary-100: #00599c;--gtr-color-base-primary-80: rgba(0, 89, 156, .8);--gtr-color-base-primary-60: rgba(0, 89, 156, .6);--gtr-color-base-primary-40: rgba(0, 89, 156, .4);--gtr-color-base-primary-20: rgba(0, 89, 156, .2);--gtr-color-base-primary-10: rgba(0, 89, 156, .1);--gtr-color-base-primary-5: rgba(0, 89, 156, .05);--gtr-content-layout-container-padding-x: var(--gtr-size-layout-grid-gutter-width);--gtr-content-box-shadow-50: var(--gtr-content-box-shadow-base);--gtr-size-spacing-base: var(--gtr-size-spacing-4);--gtr-size-padding-base: var(--gtr-size-padding-medium);--gtr-size-font-heading-6: var(--gtr-size-font-size-base);--gtr-size-font-weight-base: var(--gtr-size-font-weight-normal);--gtr-size-border-radius-xs: var(--gtr-size-border-radius-base);--gtr-component-font-family-code: var(--gtr-component-font-family-monospace);--gtr-component-font-family-base: var(--gtr-component-font-family-sans-serif);--gtr-component-button-background-color-danger-hover: var(--gtr-color-base-danger-hover);--gtr-component-button-background-color-danger-focus: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-active: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-disabled: var(--gtr-color-base-danger-40);--gtr-component-button-background-color-danger-base: var(--gtr-color-base-danger-100);--gtr-component-button-background-color-success-hover: var(--gtr-color-base-success-hover);--gtr-component-button-background-color-success-focus: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-active: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-disabled: var(--gtr-color-base-success-40);--gtr-component-button-background-color-success-base: var(--gtr-color-base-success-100);--gtr-component-button-background-color-secondary-hover: var(--gtr-color-base-secondary-hover);--gtr-component-button-background-color-secondary-focus: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-active: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-disabled: var(--gtr-color-base-secondary-40);--gtr-component-button-background-color-secondary-base: var(--gtr-color-base-secondary-100);--gtr-component-button-background-color-primary-hover: var(--gtr-color-base-primary-hover);--gtr-component-button-background-color-primary-focus: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-active: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-disabled: var(--gtr-color-base-primary-40);--gtr-component-button-background-color-primary-base: var(--gtr-color-base-primary-100);--gtr-component-button-background-color-gray-hover: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-focus: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-active: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-disabled: var(--gtr-color-base-black-5);--gtr-component-button-background-color-gray-base: var(--gtr-color-base-black-5);--gtr-component-button-text-color-gray: var(--gtr-color-base-black-100);--gtr-component-button-padding: var(--gtr-size-padding-medium);--gtr-color-font-inverse-white: var(--gtr-color-base-black-80);--gtr-color-font-inverse-black: var(--gtr-color-base-white-100);--gtr-color-font-inverse-danger: var(--gtr-color-base-white-100);--gtr-color-font-inverse-success: var(--gtr-color-base-white-100);--gtr-color-font-inverse-secondary: var(--gtr-color-base-white-100);--gtr-color-font-inverse-primary: var(--gtr-color-base-white-100);--gtr-color-font-white: var(--gtr-color-base-white-100);--gtr-color-font-black: var(--gtr-color-base-black-100);--gtr-color-font-danger: var(--gtr-color-base-danger-100);--gtr-color-font-success: var(--gtr-color-base-success-100);--gtr-color-font-secondary: var(--gtr-color-base-secondary-100);--gtr-color-font-primary: var(--gtr-color-base-primary-100);--gtr-color-border-white: var(--gtr-color-base-white-100);--gtr-color-border-black: var(--gtr-color-base-black-100);--gtr-color-border-danger: var(--gtr-color-base-danger-100);--gtr-color-border-success: var(--gtr-color-base-success-100);--gtr-color-border-secondary: var(--gtr-color-base-secondary-100);--gtr-color-border-primary: var(--gtr-color-base-primary-100);--gtr-color-base-white-base: var(--gtr-color-base-white-100);--gtr-color-base-black-base: var(--gtr-color-base-black-100);--gtr-color-base-danger-base: var(--gtr-color-base-danger-100);--gtr-color-base-success-base: var(--gtr-color-base-success-100);--gtr-color-base-secondary-base: var(--gtr-color-base-secondary-100);--gtr-color-base-primary-base: var(--gtr-color-base-primary-100);--gtr-color-background-danger: var(--gtr-color-base-danger-100);--gtr-color-background-success: var(--gtr-color-base-success-100);--gtr-color-background-base: var(--gtr-color-base-white-100);--gtr-component-button-text-color-danger: var(--gtr-color-font-inverse-danger);--gtr-component-button-text-color-success: var(--gtr-color-font-inverse-success);--gtr-component-button-text-color-secondary: var(--gtr-color-font-inverse-secondary);--gtr-component-button-text-color-primary: var(--gtr-color-font-inverse-primary)}:host{box-sizing:border-box}:host([disabled]){pointer-events:none}button{font-family:var(--gtr-component-font-family-base);line-height:18px;font-size:15px;font-weight:400;letter-spacing:.43px;cursor:pointer;border:1px solid transparent;border-radius:6px;padding:8px 12px 8px 10px;display:flex;justify-content:center;align-items:center;outline:none}button.raised{box-shadow:0 2px 4px #a5a3ae4d}button.raised,button.flat{color:var(--gtr-component-button-text-color-primary)}button.raised.primary,button.flat.primary{background-color:var(--gtr-color-base-primary-base)}button.raised.primary:hover,button.flat.primary:hover{background-color:var(--gtr-color-base-primary-hover)}button.raised.primary:active,button.raised.primary:focus,button.flat.primary:active,button.flat.primary:focus{background-color:var(--gtr-color-base-primary-pressed)}button.raised.primary:disabled,button.raised.primary.disabled,button.flat.primary:disabled,button.flat.primary.disabled{background-color:var(--gtr-color-base-primary-40)}button.raised.secondary,button.flat.secondary{background-color:var(--gtr-color-base-secondary-base);color:var(--gtr-component-button-text-color-secondary)!important}button.raised.secondary:hover,button.flat.secondary:hover{background-color:var(--gtr-color-base-secondary-hover)}button.raised.secondary:active,button.raised.secondary:focus,button.flat.secondary:active,button.flat.secondary:focus{background-color:var(--gtr-color-base-secondary-pressed)}button.raised.secondary:disabled,button.raised.secondary.disabled,button.flat.secondary:disabled,button.flat.secondary.disabled{background-color:var(--gtr-color-base-secondary-40)}button.raised.success,button.flat.success{background-color:var(--gtr-color-base-success-base)}button.raised.success:hover,button.flat.success:hover{background-color:var(--gtr-color-base-success-hover)}button.raised.success:active,button.raised.success:focus,button.flat.success:active,button.flat.success:focus{background-color:var(--gtr-color-base-success-pressed)}button.raised.success:disabled,button.raised.success.disabled,button.flat.success:disabled,button.flat.success.disabled{background-color:var(--gtr-color-base-success-40)}button.raised.danger,button.flat.danger{background-color:var(--gtr-color-base-danger-base)}button.raised.danger:hover,button.flat.danger:hover{background-color:var(--gtr-color-base-danger-hover)}button.raised.danger:active,button.raised.danger:focus,button.flat.danger:active,button.flat.danger:focus{background-color:var(--gtr-color-base-danger-pressed)}button.raised.danger:disabled,button.raised.danger.disabled,button.flat.danger:disabled,button.flat.danger.disabled{background-color:var(--gtr-color-base-danger-40)}button.raised.gray,button.flat.gray{background-color:var(--gtr-component-button-background-color-gray-base);color:var(--gtr-color-base-black-80, rgba(0, 0, 0, .8))}button.raised.gray:hover,button.flat.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:active,button.raised.gray:focus,button.flat.gray:active,button.flat.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:disabled,button.raised.gray.disabled,button.flat.gray:disabled,button.flat.gray.disabled{background-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline{background-color:transparent}button.outline.primary{border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-primary-base)}button.outline.primary:hover{background-color:var(--gtr-color-base-primary-base);border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-white-base)}button.outline.primary:active,button.outline.primary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-primary-pressed);border-color:var(--gtr-color-base-primary-pressed)}button.outline.primary:disabled,button.outline.primary.disabled{color:var(--gtr-color-base-primary-40);border-color:var(--gtr-color-base-primary-40)}button.outline.secondary{border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-secondary-base)}button.outline.secondary:hover{background-color:var(--gtr-color-base-secondary-base);border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-white-base)}button.outline.secondary:active,button.outline.secondary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-secondary-pressed);border-color:var(--gtr-color-base-secondary-pressed)}button.outline.secondary:disabled,button.outline.secondary.disabled{color:var(--gtr-color-base-secondary-40);border-color:var(--gtr-color-base-secondary-40)}button.outline.success{border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-success-base)}button.outline.success:hover{background-color:var(--gtr-color-base-success-base);border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-white-base)}button.outline.success:active,button.outline.success:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-success-pressed);border-color:var(--gtr-color-base-success-pressed)}button.outline.success:disabled,button.outline.success.disabled{color:var(--gtr-color-base-success-40);border-color:var(--gtr-color-base-success-40)}button.outline.danger{border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-danger-base)}button.outline.danger:hover{background-color:var(--gtr-color-base-danger-base);border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-white-base)}button.outline.danger:active,button.outline.danger:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-danger-pressed);border-color:var(--gtr-color-base-danger-pressed)}button.outline.danger:disabled,button.outline.danger.disabled{color:var(--gtr-color-base-danger-40);border-color:var(--gtr-color-base-danger-40)}button.outline.gray{border-color:var(--gtr-color-base-black-40);color:var(--gtr-color-base-black-80)}button.outline.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:active,button.outline.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:disabled,button.outline.gray.disabled{border-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.link{border-color:transparent;background-color:transparent}button.link:hover{text-decoration:underline}button.link.primary{color:var(--gtr-color-base-primary-base)}button.link.primary:disabled,button.link.primary.disabled{color:var(--gtr-color-base-primary-40)}button.link.secondary{color:var(--gtr-color-base-secondary-base)}button.link.secondary:disabled,button.link.secondary.disabled{color:var(--gtr-color-base-secondary-40)}button.link.success{color:var(--gtr-color-base-success-base)}button.link.success:disabled,button.link.success.disabled{color:var(--gtr-color-base-success-40)}button.link.danger{color:var(--gtr-color-base-danger-base)}button.link.danger:disabled,button.link.danger.disabled{color:var(--gtr-color-base-danger-40)}button.link.gray{color:var(--gtr-color-base-black-80)}button.link.gray:disabled,button.link.gray.disabled{color:var(--gtr-color-base-black-40)}.button--loading:before{content:\" \";width:.75em;height:.75em;margin-right:.5em;display:inline-block;border-radius:50%;border:2px solid #fff;border-color:#fff transparent #fff transparent;animation:loading-spinner-animation 1s linear infinite}@keyframes loading-spinner-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }); }
43
- }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonComponent, decorators: [{
45
- type: Component,
46
- args: [{ selector: 'gtr-button', template: "<button [type]=\"this.type\" [class]=\"getCssClassMap()\" [id]=\"btnId\" [attr.data-testid]=\"btnId\"\n [attr.aria-disabled]=\"this.disabled ? 'true' : 'false'\" [disabled]=\"this.disabled\">\n <ng-content></ng-content>\n</button>\n", styles: [":root{--gtr-content-layout-grid-row-columns: 6;--gtr-content-layout-grid-columns: 12;--gtr-content-box-shadow-base: 0px 6px 12px -6px rgba(24, 39, 75, .12), 0px 8px 24px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-80: 0px 8px 22px -6px rgba(24, 39, 75, .12), 0px 14px 64px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-70: 0px 8px 18px -6px rgba(24, 39, 75, .12), 0px 12px 42px -4px rgba(24, 39, 75, .12);--gtr-content-box-shadow-60: 0px 6px 14px -6px rgba(24, 39, 75, .12), 0px 10px 32px -4px rgba(24, 39, 75, .1);--gtr-content-box-shadow-40: 0px 6px 8px -6px rgba(24, 39, 75, .12), 0px 8px 16px -6px rgba(24, 39, 75, .08);--gtr-content-box-shadow-30: 0px 4px 6px -4px rgba(24, 39, 75, .12), 0px 8px 8px -4px rgba(24, 39, 75, .08);--gtr-content-box-shadow-20: 0px 2px 4px -2px rgba(24, 39, 75, .12), 0px 4px 4px -2px rgba(24, 39, 75, .08);--gtr-content-border-style: solid;--gtr-size-layout-grid-gutter-width: 1.5rem;--gtr-size-layout-container-max-width-xxl: 1320rem;--gtr-size-layout-container-max-width-xl: 1140rem;--gtr-size-layout-container-max-width-lg: 960rem;--gtr-size-layout-container-max-width-md: 720rem;--gtr-size-layout-container-max-width-sm: 540rem;--gtr-size-layout-breakpoints-xxl: 1400rem;--gtr-size-layout-breakpoints-xl: 1200rem;--gtr-size-layout-breakpoints-lg: 992rem;--gtr-size-layout-breakpoints-md: 768rem;--gtr-size-layout-breakpoints-sm: 576rem;--gtr-size-layout-breakpoints-xs: 0rem;--gtr-size-spacing-none: 0rem;--gtr-size-spacing-16: 10rem;--gtr-size-spacing-15: 6rem;--gtr-size-spacing-14: 5.5rem;--gtr-size-spacing-13: 5rem;--gtr-size-spacing-12: 4.5rem;--gtr-size-spacing-11: 4rem;--gtr-size-spacing-10: 3.5rem;--gtr-size-spacing-9: 3rem;--gtr-size-spacing-8: 2.5rem;--gtr-size-spacing-7: 2rem;--gtr-size-spacing-6: 1.75rem;--gtr-size-spacing-5: 1.5rem;--gtr-size-spacing-4: 1rem;--gtr-size-spacing-3: .75rem;--gtr-size-spacing-2: .5rem;--gtr-size-spacing-1: .25rem;--gtr-size-padding-xxl: 3rem;--gtr-size-padding-xl: 2rem;--gtr-size-padding-large: 1.5rem;--gtr-size-padding-medium: 1rem;--gtr-size-padding-small: .5rem;--gtr-size-padding-tiny: .25rem;--gtr-size-icon-xxl: 5rem;--gtr-size-icon-xl: 3rem;--gtr-size-icon-large: 2.5rem;--gtr-size-icon-base: 2rem;--gtr-size-icon-small: 1.5rem;--gtr-size-font-heading-5: 1.25rem;--gtr-size-font-heading-4: 1.5rem;--gtr-size-font-heading-3: 1.75rem;--gtr-size-font-heading-2: 2rem;--gtr-size-font-heading-1: 2.5rem;--gtr-size-font-weight-bolder: 800rem;--gtr-size-font-weight-bold: 700rem;--gtr-size-font-weight-semibold: 600rem;--gtr-size-font-weight-medium: 500rem;--gtr-size-font-weight-normal: 400rem;--gtr-size-font-weight-light: 300rem;--gtr-size-font-weight-lighter: 200rem;--gtr-size-font-size-lg: 1.25rem;--gtr-size-font-size-sm: .875rem;--gtr-size-font-size-base: 1rem;--gtr-size-font-size-root: 1rem;--gtr-size-border-radius-pill: 50rem;--gtr-size-border-radius-xxl: 2rem;--gtr-size-border-radius-xl: 1.5rem;--gtr-size-border-radius-lg: 1rem;--gtr-size-border-radius-sm: .75rem;--gtr-size-border-radius-xxs: .25rem;--gtr-size-border-radius-base: .5rem;--gtr-size-border-radius-none: 0rem;--gtr-size-border-width-bolder: 5rem;--gtr-size-border-width-bold: 4rem;--gtr-size-border-width-semibold: 3rem;--gtr-size-border-width-medium: 2rem;--gtr-size-border-width-normal: 1rem;--gtr-component-position-100: 100%;--gtr-component-position-50: 50%;--gtr-component-position-0: 0;--gtr-component-font-line-height-lg: 2;--gtr-component-font-line-height-sm: 1.25;--gtr-component-font-line-height-base: 1.5;--gtr-component-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--gtr-component-font-family-sans-serif: system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--gtr-component-button-text-align: center;--gtr-component-button-font-size: 2rem;--gtr-color-base-white-pressed: #d9d9d9;--gtr-color-base-white-hover: #e6e6e6;--gtr-color-base-white-100: #ffffff;--gtr-color-base-white-80: rgba(255, 255, 255, .8);--gtr-color-base-white-60: rgba(255, 255, 255, .6);--gtr-color-base-white-40: rgba(255, 255, 255, .4);--gtr-color-base-white-20: rgba(255, 255, 255, .2);--gtr-color-base-white-10: rgba(255, 255, 255, .1);--gtr-color-base-white-5: rgba(255, 255, 255, .05);--gtr-color-base-black-pressed: #000000;--gtr-color-base-black-hover: #000000;--gtr-color-base-black-100: #000000;--gtr-color-base-black-80: rgba(0, 0, 0, .8);--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-40: rgba(0, 0, 0, .4);--gtr-color-base-black-20: rgba(0, 0, 0, .2);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gtr-color-base-black-5: rgba(0, 0, 0, .05);--gtr-color-base-danger-pressed: #d71a1c;--gtr-color-base-danger-hover: #e42728;--gtr-color-base-danger-100: #ea5455;--gtr-color-base-danger-80: rgba(234, 84, 85, .8);--gtr-color-base-danger-60: rgba(234, 84, 85, .6);--gtr-color-base-danger-40: rgba(234, 84, 85, .4);--gtr-color-base-danger-20: rgba(234, 84, 85, .2);--gtr-color-base-danger-10: rgba(234, 84, 85, .1);--gtr-color-base-danger-5: rgba(234, 84, 85, .05);--gtr-color-base-success-pressed: #005125;--gtr-color-base-success-hover: #006b30;--gtr-color-base-success-100: #009e47;--gtr-color-base-success-80: rgba(0, 158, 71, .8);--gtr-color-base-success-60: rgba(0, 158, 71, .6);--gtr-color-base-success-40: rgba(0, 158, 71, .4);--gtr-color-base-success-20: rgba(0, 158, 71, .2);--gtr-color-base-success-10: rgba(0, 158, 71, .1);--gtr-color-base-success-5: rgba(0, 158, 71, .05);--gtr-color-base-secondary-pressed: #df7210;--gtr-color-base-secondary-hover: #ef7e1a;--gtr-color-base-secondary-100: #f2994a;--gtr-color-base-secondary-80: rgba(242, 153, 74, .8);--gtr-color-base-secondary-60: rgba(242, 153, 74, .6);--gtr-color-base-secondary-40: rgba(242, 153, 74, .4);--gtr-color-base-secondary-20: rgba(242, 153, 74, .2);--gtr-color-base-secondary-10: rgba(242, 153, 74, .1);--gtr-color-base-secondary-5: rgba(242, 153, 74, .05);--gtr-color-base-primary-pressed: #002d4f;--gtr-color-base-primary-hover: #003c69;--gtr-color-base-primary-100: #00599c;--gtr-color-base-primary-80: rgba(0, 89, 156, .8);--gtr-color-base-primary-60: rgba(0, 89, 156, .6);--gtr-color-base-primary-40: rgba(0, 89, 156, .4);--gtr-color-base-primary-20: rgba(0, 89, 156, .2);--gtr-color-base-primary-10: rgba(0, 89, 156, .1);--gtr-color-base-primary-5: rgba(0, 89, 156, .05);--gtr-content-layout-container-padding-x: var(--gtr-size-layout-grid-gutter-width);--gtr-content-box-shadow-50: var(--gtr-content-box-shadow-base);--gtr-size-spacing-base: var(--gtr-size-spacing-4);--gtr-size-padding-base: var(--gtr-size-padding-medium);--gtr-size-font-heading-6: var(--gtr-size-font-size-base);--gtr-size-font-weight-base: var(--gtr-size-font-weight-normal);--gtr-size-border-radius-xs: var(--gtr-size-border-radius-base);--gtr-component-font-family-code: var(--gtr-component-font-family-monospace);--gtr-component-font-family-base: var(--gtr-component-font-family-sans-serif);--gtr-component-button-background-color-danger-hover: var(--gtr-color-base-danger-hover);--gtr-component-button-background-color-danger-focus: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-active: var(--gtr-color-base-danger-pressed);--gtr-component-button-background-color-danger-disabled: var(--gtr-color-base-danger-40);--gtr-component-button-background-color-danger-base: var(--gtr-color-base-danger-100);--gtr-component-button-background-color-success-hover: var(--gtr-color-base-success-hover);--gtr-component-button-background-color-success-focus: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-active: var(--gtr-color-base-success-pressed);--gtr-component-button-background-color-success-disabled: var(--gtr-color-base-success-40);--gtr-component-button-background-color-success-base: var(--gtr-color-base-success-100);--gtr-component-button-background-color-secondary-hover: var(--gtr-color-base-secondary-hover);--gtr-component-button-background-color-secondary-focus: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-active: var(--gtr-color-base-secondary-pressed);--gtr-component-button-background-color-secondary-disabled: var(--gtr-color-base-secondary-40);--gtr-component-button-background-color-secondary-base: var(--gtr-color-base-secondary-100);--gtr-component-button-background-color-primary-hover: var(--gtr-color-base-primary-hover);--gtr-component-button-background-color-primary-focus: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-active: var(--gtr-color-base-primary-pressed);--gtr-component-button-background-color-primary-disabled: var(--gtr-color-base-primary-40);--gtr-component-button-background-color-primary-base: var(--gtr-color-base-primary-100);--gtr-component-button-background-color-gray-hover: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-focus: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-active: var(--gtr-color-base-black-10);--gtr-component-button-background-color-gray-disabled: var(--gtr-color-base-black-5);--gtr-component-button-background-color-gray-base: var(--gtr-color-base-black-5);--gtr-component-button-text-color-gray: var(--gtr-color-base-black-100);--gtr-component-button-padding: var(--gtr-size-padding-medium);--gtr-color-font-inverse-white: var(--gtr-color-base-black-80);--gtr-color-font-inverse-black: var(--gtr-color-base-white-100);--gtr-color-font-inverse-danger: var(--gtr-color-base-white-100);--gtr-color-font-inverse-success: var(--gtr-color-base-white-100);--gtr-color-font-inverse-secondary: var(--gtr-color-base-white-100);--gtr-color-font-inverse-primary: var(--gtr-color-base-white-100);--gtr-color-font-white: var(--gtr-color-base-white-100);--gtr-color-font-black: var(--gtr-color-base-black-100);--gtr-color-font-danger: var(--gtr-color-base-danger-100);--gtr-color-font-success: var(--gtr-color-base-success-100);--gtr-color-font-secondary: var(--gtr-color-base-secondary-100);--gtr-color-font-primary: var(--gtr-color-base-primary-100);--gtr-color-border-white: var(--gtr-color-base-white-100);--gtr-color-border-black: var(--gtr-color-base-black-100);--gtr-color-border-danger: var(--gtr-color-base-danger-100);--gtr-color-border-success: var(--gtr-color-base-success-100);--gtr-color-border-secondary: var(--gtr-color-base-secondary-100);--gtr-color-border-primary: var(--gtr-color-base-primary-100);--gtr-color-base-white-base: var(--gtr-color-base-white-100);--gtr-color-base-black-base: var(--gtr-color-base-black-100);--gtr-color-base-danger-base: var(--gtr-color-base-danger-100);--gtr-color-base-success-base: var(--gtr-color-base-success-100);--gtr-color-base-secondary-base: var(--gtr-color-base-secondary-100);--gtr-color-base-primary-base: var(--gtr-color-base-primary-100);--gtr-color-background-danger: var(--gtr-color-base-danger-100);--gtr-color-background-success: var(--gtr-color-base-success-100);--gtr-color-background-base: var(--gtr-color-base-white-100);--gtr-component-button-text-color-danger: var(--gtr-color-font-inverse-danger);--gtr-component-button-text-color-success: var(--gtr-color-font-inverse-success);--gtr-component-button-text-color-secondary: var(--gtr-color-font-inverse-secondary);--gtr-component-button-text-color-primary: var(--gtr-color-font-inverse-primary)}:host{box-sizing:border-box}:host([disabled]){pointer-events:none}button{font-family:var(--gtr-component-font-family-base);line-height:18px;font-size:15px;font-weight:400;letter-spacing:.43px;cursor:pointer;border:1px solid transparent;border-radius:6px;padding:8px 12px 8px 10px;display:flex;justify-content:center;align-items:center;outline:none}button.raised{box-shadow:0 2px 4px #a5a3ae4d}button.raised,button.flat{color:var(--gtr-component-button-text-color-primary)}button.raised.primary,button.flat.primary{background-color:var(--gtr-color-base-primary-base)}button.raised.primary:hover,button.flat.primary:hover{background-color:var(--gtr-color-base-primary-hover)}button.raised.primary:active,button.raised.primary:focus,button.flat.primary:active,button.flat.primary:focus{background-color:var(--gtr-color-base-primary-pressed)}button.raised.primary:disabled,button.raised.primary.disabled,button.flat.primary:disabled,button.flat.primary.disabled{background-color:var(--gtr-color-base-primary-40)}button.raised.secondary,button.flat.secondary{background-color:var(--gtr-color-base-secondary-base);color:var(--gtr-component-button-text-color-secondary)!important}button.raised.secondary:hover,button.flat.secondary:hover{background-color:var(--gtr-color-base-secondary-hover)}button.raised.secondary:active,button.raised.secondary:focus,button.flat.secondary:active,button.flat.secondary:focus{background-color:var(--gtr-color-base-secondary-pressed)}button.raised.secondary:disabled,button.raised.secondary.disabled,button.flat.secondary:disabled,button.flat.secondary.disabled{background-color:var(--gtr-color-base-secondary-40)}button.raised.success,button.flat.success{background-color:var(--gtr-color-base-success-base)}button.raised.success:hover,button.flat.success:hover{background-color:var(--gtr-color-base-success-hover)}button.raised.success:active,button.raised.success:focus,button.flat.success:active,button.flat.success:focus{background-color:var(--gtr-color-base-success-pressed)}button.raised.success:disabled,button.raised.success.disabled,button.flat.success:disabled,button.flat.success.disabled{background-color:var(--gtr-color-base-success-40)}button.raised.danger,button.flat.danger{background-color:var(--gtr-color-base-danger-base)}button.raised.danger:hover,button.flat.danger:hover{background-color:var(--gtr-color-base-danger-hover)}button.raised.danger:active,button.raised.danger:focus,button.flat.danger:active,button.flat.danger:focus{background-color:var(--gtr-color-base-danger-pressed)}button.raised.danger:disabled,button.raised.danger.disabled,button.flat.danger:disabled,button.flat.danger.disabled{background-color:var(--gtr-color-base-danger-40)}button.raised.gray,button.flat.gray{background-color:var(--gtr-component-button-background-color-gray-base);color:var(--gtr-color-base-black-80, rgba(0, 0, 0, .8))}button.raised.gray:hover,button.flat.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:active,button.raised.gray:focus,button.flat.gray:active,button.flat.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.raised.gray:disabled,button.raised.gray.disabled,button.flat.gray:disabled,button.flat.gray.disabled{background-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline{background-color:transparent}button.outline.primary{border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-primary-base)}button.outline.primary:hover{background-color:var(--gtr-color-base-primary-base);border-color:var(--gtr-color-base-primary-base);color:var(--gtr-color-base-white-base)}button.outline.primary:active,button.outline.primary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-primary-pressed);border-color:var(--gtr-color-base-primary-pressed)}button.outline.primary:disabled,button.outline.primary.disabled{color:var(--gtr-color-base-primary-40);border-color:var(--gtr-color-base-primary-40)}button.outline.secondary{border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-secondary-base)}button.outline.secondary:hover{background-color:var(--gtr-color-base-secondary-base);border-color:var(--gtr-color-base-secondary-base);color:var(--gtr-color-base-white-base)}button.outline.secondary:active,button.outline.secondary:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-secondary-pressed);border-color:var(--gtr-color-base-secondary-pressed)}button.outline.secondary:disabled,button.outline.secondary.disabled{color:var(--gtr-color-base-secondary-40);border-color:var(--gtr-color-base-secondary-40)}button.outline.success{border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-success-base)}button.outline.success:hover{background-color:var(--gtr-color-base-success-base);border-color:var(--gtr-color-base-success-base);color:var(--gtr-color-base-white-base)}button.outline.success:active,button.outline.success:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-success-pressed);border-color:var(--gtr-color-base-success-pressed)}button.outline.success:disabled,button.outline.success.disabled{color:var(--gtr-color-base-success-40);border-color:var(--gtr-color-base-success-40)}button.outline.danger{border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-danger-base)}button.outline.danger:hover{background-color:var(--gtr-color-base-danger-base);border-color:var(--gtr-color-base-danger-base);color:var(--gtr-color-base-white-base)}button.outline.danger:active,button.outline.danger:focus{color:var(--gtr-color-base-white-base);background-color:var(--gtr-color-base-danger-pressed);border-color:var(--gtr-color-base-danger-pressed)}button.outline.danger:disabled,button.outline.danger.disabled{color:var(--gtr-color-base-danger-40);border-color:var(--gtr-color-base-danger-40)}button.outline.gray{border-color:var(--gtr-color-base-black-40);color:var(--gtr-color-base-black-80)}button.outline.gray:hover{background-color:var(--gtr-component-button-background-color-gray-hover);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:active,button.outline.gray:focus{background-color:var(--gtr-component-button-background-color-gray-active);border-color:transparent;color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.outline.gray:disabled,button.outline.gray.disabled{border-color:var(--gtr-component-button-background-color-gray-disabled);color:var(--gtr-color-base-black-40, rgba(0, 0, 0, .4))}button.link{border-color:transparent;background-color:transparent}button.link:hover{text-decoration:underline}button.link.primary{color:var(--gtr-color-base-primary-base)}button.link.primary:disabled,button.link.primary.disabled{color:var(--gtr-color-base-primary-40)}button.link.secondary{color:var(--gtr-color-base-secondary-base)}button.link.secondary:disabled,button.link.secondary.disabled{color:var(--gtr-color-base-secondary-40)}button.link.success{color:var(--gtr-color-base-success-base)}button.link.success:disabled,button.link.success.disabled{color:var(--gtr-color-base-success-40)}button.link.danger{color:var(--gtr-color-base-danger-base)}button.link.danger:disabled,button.link.danger.disabled{color:var(--gtr-color-base-danger-40)}button.link.gray{color:var(--gtr-color-base-black-80)}button.link.gray:disabled,button.link.gray.disabled{color:var(--gtr-color-base-black-40)}.button--loading:before{content:\" \";width:.75em;height:.75em;margin-right:.5em;display:inline-block;border-radius:50%;border:2px solid #fff;border-color:#fff transparent #fff transparent;animation:loading-spinner-animation 1s linear infinite}@keyframes loading-spinner-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
47
- }], propDecorators: { type: [{
48
- type: Input
49
- }], btnId: [{
50
- type: Input
51
- }], color: [{
52
- type: Input
53
- }], isLoading: [{
54
- type: Input
55
- }], variant: [{
56
- type: Input
57
- }], disabled: [{
58
- type: Input
59
- }] } });
60
- //#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06IHRydWUsXG4gICAgICBbYCR7dGhpcy52YXJpYW50fWBdOiB0cnVlLFxuICAgICAgWydidXR0b24tLWxvYWRpbmcnXTogdGhpcy5pc0xvYWRpbmcsXG4gICAgICBbJ2Rpc2FibGVkJ106IHRoaXMuZGlzYWJsZWQsXG4gICAgfTtcbiAgfVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge31cbn1cbiIsIjxidXR0b24gW3R5cGVdPVwidGhpcy50eXBlXCIgW2NsYXNzXT1cImdldENzc0NsYXNzTWFwKClcIiBbaWRdPVwiYnRuSWRcIiBbYXR0ci5kYXRhLXRlc3RpZF09XCJidG5JZFwiXG4gIFthdHRyLmFyaWEtZGlzYWJsZWRdPVwidGhpcy5kaXNhYmxlZCA/ICd0cnVlJyA6ICdmYWxzZSdcIiBbZGlzYWJsZWRdPVwidGhpcy5kaXNhYmxlZFwiPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2J1dHRvbj5cbiJdfQ==
@@ -1,19 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { FormsModule } from '@angular/forms';
4
- import { ButtonComponent } from './button.component';
5
- import * as i0 from "@angular/core";
6
- export class ButtonModule {
7
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ButtonModule, declarations: [ButtonComponent], imports: [CommonModule, FormsModule], exports: [ButtonComponent] }); }
9
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonModule, imports: [CommonModule, FormsModule] }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonModule, decorators: [{
12
- type: NgModule,
13
- args: [{
14
- declarations: [ButtonComponent],
15
- imports: [CommonModule, FormsModule],
16
- exports: [ButtonComponent],
17
- }]
18
- }] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvYXRvbXMvYnV0dG9uL2J1dHRvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQzs7QUFPckQsTUFBTSxPQUFPLFlBQVk7a0lBQVosWUFBWTttSUFBWixZQUFZLGlCQUpSLGVBQWUsYUFDcEIsWUFBWSxFQUFFLFdBQVcsYUFDekIsZUFBZTttSUFFZCxZQUFZLFlBSGIsWUFBWSxFQUFFLFdBQVc7OzRGQUd4QixZQUFZO2tCQUx4QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLGVBQWUsQ0FBQztvQkFDL0IsT0FBTyxFQUFFLENBQUMsWUFBWSxFQUFFLFdBQVcsQ0FBQztvQkFDcEMsT0FBTyxFQUFFLENBQUMsZUFBZSxDQUFDO2lCQUMzQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgRm9ybXNNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5pbXBvcnQgeyBCdXR0b25Db21wb25lbnQgfSBmcm9tICcuL2J1dHRvbi5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtCdXR0b25Db21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBGb3Jtc01vZHVsZV0sXG4gIGV4cG9ydHM6IFtCdXR0b25Db21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBCdXR0b25Nb2R1bGUge31cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2F0b21zL2J1dHRvbi91dGlscy91dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgQnV0dG9uVHlwZSA9ICdidXR0b24nIHwgJ3Jlc2V0JyB8ICdzdWJtaXQnO1xuZXhwb3J0IHR5cGUgQnV0dG9uQ29sb3IgPSAncHJpbWFyeScgfCAnc2Vjb25kYXJ5JyB8ICdzdWNjZXNzJyB8ICdkYW5nZXInIHwgJ2dyYXknO1xuZXhwb3J0IHR5cGUgQnV0dG9uVmFyaWFudCA9ICdyYWlzZWQnIHwgJ2ZsYXQnIHwgJ291dGxpbmUnIHwgJ2xpbmsnIHwgJ2ljb24nO1xuIl19
@@ -1,39 +0,0 @@
1
- import { booleanAttribute, Directive, HostBinding, Input } from '@angular/core';
2
- import { ButtonDirective } from './button.directive';
3
- import * as i0 from "@angular/core";
4
- export class ButtonCloseDirective extends ButtonDirective {
5
- constructor() {
6
- super(...arguments);
7
- /**
8
- * Change the default color to white.
9
- * @type boolean
10
- */
11
- this.white = false;
12
- }
13
- get hostClasses() {
14
- return {
15
- btn: true,
16
- 'btn-close': true,
17
- 'btn-close-white': this.white,
18
- [`btn-${this.size}`]: !!this.size,
19
- disabled: this.disabled,
20
- active: this.active,
21
- };
22
- }
23
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonCloseDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
24
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "16.2.12", type: ButtonCloseDirective, isStandalone: true, selector: "[gtrButtonClose]", inputs: { white: ["white", "white", booleanAttribute] }, host: { properties: { "class": "this.hostClasses" } }, usesInheritance: true, ngImport: i0 }); }
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonCloseDirective, decorators: [{
27
- type: Directive,
28
- args: [{
29
- selector: '[gtrButtonClose]',
30
- standalone: true,
31
- }]
32
- }], propDecorators: { white: [{
33
- type: Input,
34
- args: [{ transform: booleanAttribute }]
35
- }], hostClasses: [{
36
- type: HostBinding,
37
- args: ['class']
38
- }] } });
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWNsb3NlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvYXRvbXMvYnV0dG9uLWRpcmVjdGl2ZS9idXR0b24tY2xvc2UuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNoRixPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0J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J1ZSxcbn0pXG5leHBvcnQgY2xhc3MgQnV0dG9uQ2xvc2VEaXJlY3RpdmUgZXh0ZW5kcyBCdXR0b25EaXJlY3RpdmUge1xuICAvKipcbiAgICogQ2hhbmdlIHRoZSBkZWZhdWx0IGNvbG9yIHRvIHdoaXRlLlxuICAgKiBAdHlwZSBib29sZWFuXG4gICAqL1xuICBASW5wdXQoeyB0cmFuc2Zvcm06IGJvb2xlYW5BdHRyaWJ1dGUgfSkgd2hpdGU6IHN0cmluZyB8IGJvb2xlYW4gPSBmYWxzZTtcblxuICBASG9zdEJpbmRpbmcoJ2NsYXNzJylcbiAgb3ZlcnJpZGUgZ2V0IGhvc3RDbGFzc2VzKCk6IGFueSB7XG4gICAgcmV0dXJuIHtcbiAgICAgIGJ0bjogdHJ1ZSxcbiAgICAgICdidG4tY2xvc2UnOiB0cnVlLFxuICAgICAgJ2J0bi1jbG9zZS13aGl0ZSc6IHRoaXMud2hpdGUsXG4gICAgICBbYGJ0bi0ke3RoaXMuc2l6ZX1gXTogISF0aGlzLnNpemUsXG4gICAgICBkaXNhYmxlZDogdGhpcy5kaXNhYmxlZCxcbiAgICAgIGFjdGl2ZTogdGhpcy5hY3RpdmUsXG4gICAgfTtcbiAgfVxufVxuIl19
@@ -1,17 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { ButtonDirective } from './button.directive';
3
- import { ButtonCloseDirective } from './button-close.directive';
4
- import * as i0 from "@angular/core";
5
- export class ButtonDirectiveModule {
6
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ButtonDirectiveModule, imports: [ButtonDirective, ButtonCloseDirective], exports: [ButtonDirective, ButtonCloseDirective] }); }
8
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonDirectiveModule }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonDirectiveModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- imports: [ButtonDirective, ButtonCloseDirective],
14
- exports: [ButtonDirective, ButtonCloseDirective],
15
- }]
16
- }] });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWRpcmVjdGl2ZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2F0b21zL2J1dHRvbi1kaXJlY3RpdmUvYnV0dG9uLWRpcmVjdGl2ZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDckQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7O0FBTWhFLE1BQU0sT0FBTyxxQkFBcUI7a0lBQXJCLHFCQUFxQjttSUFBckIscUJBQXFCLFlBSHRCLGVBQWUsRUFBRSxvQkFBb0IsYUFDckMsZUFBZSxFQUFFLG9CQUFvQjttSUFFcEMscUJBQXFCOzs0RkFBckIscUJBQXFCO2tCQUpqQyxRQUFRO21CQUFDO29CQUNSLE9BQU8sRUFBRSxDQUFDLGVBQWUsRUFBRSxvQkFBb0IsQ0FBQztvQkFDaEQsT0FBTyxFQUFFLENBQUMsZUFBZSxFQUFFLG9CQUFvQixDQUFDO2lCQUNqRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IEJ1dHRvbkRpcmVjdGl2ZSB9IGZyb20gJy4vYnV0dG9uLmRpcmVjdGl2ZSc7XG5pbXBvcnQgeyBCdXR0b25DbG9zZURpcmVjdGl2ZSB9IGZyb20gJy4vYnV0dG9uLWNsb3NlLmRpcmVjdGl2ZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtCdXR0b25EaXJlY3RpdmUsIEJ1dHRvbkNsb3NlRGlyZWN0aXZlXSxcbiAgZXhwb3J0czogW0J1dHRvbkRpcmVjdGl2ZSwgQnV0dG9uQ2xvc2VEaXJlY3RpdmVdLFxufSlcbmV4cG9ydCBjbGFzcyBCdXR0b25EaXJlY3RpdmVNb2R1bGUge31cbiJdfQ==
@@ -1,102 +0,0 @@
1
- import { booleanAttribute, Directive, HostBinding, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class ButtonDirective {
4
- constructor() {
5
- /**
6
- * Toggle the active state for the component. [docs]
7
- * @type boolean
8
- */
9
- this.active = false;
10
- /**
11
- * Sets the color context of the component to one of Gettrx’s themed colors. [docs]
12
- * @type Colors
13
- */
14
- this.color = 'primary';
15
- /**
16
- * Toggle the disabled state for the component.
17
- * @type boolean
18
- */
19
- this.disabled = false;
20
- /**
21
- * Size the component small or large.
22
- * @type {'sm' | 'lg'}
23
- */
24
- this.size = '';
25
- /**
26
- * Specifies the type of button. Always specify the type attribute for the `<button>` element.
27
- * Different browsers may use different default types for the `<button>` element.
28
- */
29
- this.type = 'button';
30
- }
31
- get hostClasses() {
32
- return {
33
- btn: true,
34
- [`btn-${this.color}`]: !!this.color && !this.variant,
35
- [`btn-${this.variant}`]: !!this.variant && !this.color,
36
- [`btn-${this.variant}-${this.color}`]: !!this.variant && !!this.color,
37
- [`btn-${this.size}`]: !!this.size,
38
- [`${this.shape}`]: !!this.shape,
39
- disabled: this.disabled,
40
- active: this.active,
41
- };
42
- }
43
- // btn-primary
44
- // btn-outline
45
- get ariaDisabled() {
46
- return this.disabled || null;
47
- }
48
- get isActive() {
49
- return this.active || null;
50
- }
51
- get attrDisabled() {
52
- return this.disabled ? '' : null;
53
- }
54
- get tabIndex() {
55
- return this.disabled ? '-1' : null;
56
- }
57
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
58
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "16.2.12", type: ButtonDirective, isStandalone: true, selector: "[gtrButton]", inputs: { active: ["active", "active", booleanAttribute], color: "color", disabled: ["disabled", "disabled", booleanAttribute], shape: "shape", size: "size", type: "type", variant: "variant" }, host: { properties: { "attr.type": "this.type", "class": "this.hostClasses", "attr.aria-disabled": "this.ariaDisabled", "attr.aria-pressed": "this.isActive", "attr.disabled": "this.attrDisabled", "attr.tabindex": "this.tabIndex" } }, exportAs: ["gtrButton"], ngImport: i0 }); }
59
- }
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonDirective, decorators: [{
61
- type: Directive,
62
- args: [{
63
- selector: '[gtrButton]',
64
- exportAs: 'gtrButton',
65
- standalone: true,
66
- }]
67
- }], propDecorators: { active: [{
68
- type: Input,
69
- args: [{ transform: booleanAttribute }]
70
- }], color: [{
71
- type: Input
72
- }], disabled: [{
73
- type: Input,
74
- args: [{ transform: booleanAttribute }]
75
- }], shape: [{
76
- type: Input
77
- }], size: [{
78
- type: Input
79
- }], type: [{
80
- type: HostBinding,
81
- args: ['attr.type']
82
- }, {
83
- type: Input
84
- }], variant: [{
85
- type: Input
86
- }], hostClasses: [{
87
- type: HostBinding,
88
- args: ['class']
89
- }], ariaDisabled: [{
90
- type: HostBinding,
91
- args: ['attr.aria-disabled']
92
- }], isActive: [{
93
- type: HostBinding,
94
- args: ['attr.aria-pressed']
95
- }], attrDisabled: [{
96
- type: HostBinding,
97
- args: ['attr.disabled']
98
- }], tabIndex: [{
99
- type: HostBinding,
100
- args: ['attr.tabindex']
101
- }] } });
102
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvYXRvbXMvYnV0dG9uLWRpcmVjdGl2ZS9idXR0b24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFTaEYsTUFBTSxPQUFPLGVBQWU7SUFMNUI7UUFNRTs7O1dBR0c7UUFDcUMsV0FBTSxHQUFxQixLQUFLLENBQUM7UUFFekU7OztXQUdHO1FBQ00sVUFBSyxHQUFZLFNBQVMsQ0FBQztRQUNwQzs7O1dBR0c7UUFDcUMsYUFBUSxHQUFxQixLQUFLLENBQUM7UUFRM0U7OztXQUdHO1FBQ00sU0FBSSxHQUFzQixFQUFFLENBQUM7UUFFdEM7OztXQUdHO1FBR0gsU0FBSSxHQUFlLFFBQVEsQ0FBQztLQTJDN0I7SUFuQ0MsSUFDSSxXQUFXO1FBQ2IsT0FBTztZQUNMLEdBQUcsRUFBRSxJQUFJO1lBQ1QsQ0FBQyxPQUFPLElBQUksQ0FBQyxLQUFLLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsS0FBSyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU87WUFDcEQsQ0FBQyxPQUFPLElBQUksQ0FBQyxPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFD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IsXG4gICAgICBbYGJ0bi0ke3RoaXMuc2l6ZX1gXTogISF0aGlzLnNpemUsXG4gICAgICBbYCR7dGhpcy5zaGFwZX1gXTogISF0aGlzLnNoYXBlLFxuICAgICAgZGlzYWJsZWQ6IHRoaXMuZGlzYWJsZWQsXG4gICAgICBhY3RpdmU6IHRoaXMuYWN0aXZlLFxuICAgIH07XG4gIH1cbiAgLy8gYnRuLXByaW1hcnlcbiAgLy8gYnRuLW91dGxpbmVcblxuICBASG9zdEJpbmRpbmcoJ2F0dHIuYXJpYS1kaXNhYmxlZCcpXG4gIGdldCBhcmlhRGlzYWJsZWQoKSB7XG4gICAgcmV0dXJuIHRoaXMuZGlzYWJsZWQgfHwgbnVsbDtcbiAgfVxuXG4gIEBIb3N0QmluZGluZygnYXR0ci5hcmlhLXByZXNzZWQnKVxuICBnZXQgaXNBY3RpdmUoKTogYm9vbGVhbiB8IG51bGwge1xuICAgIHJldHVybiA8Ym9vbGVhbj50aGlzLmFjdGl2ZSB8fCBudWxsO1xuICB9XG5cbiAgQEhvc3RCaW5kaW5nKCdhdHRyLmRpc2FibGVkJylcbiAgZ2V0IGF0dHJEaXNhYmxlZCgpIHtcbiAgICByZXR1cm4gdGhpcy5kaXNhYmxlZCA/ICcnIDogbnVsbDtcbiAgfVxuXG4gIEBIb3N0QmluZGluZygnYXR0ci50YWJpbmRleCcpXG4gIGdldCB0YWJJbmRleCgpOiBzdHJpbmcgfCBudWxsIHtcbiAgICByZXR1cm4gdGhpcy5kaXNhYmxlZCA/ICctMScgOiBudWxsO1xuICB9XG59XG4iXX0=
@@ -1,50 +0,0 @@
1
- import { Component, HostBinding, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class IconComponent {
4
- constructor() {
5
- /**
6
- * The font icon
7
- */
8
- this.name = '123';
9
- /**
10
- * The icon width
11
- */
12
- this.weight = 'normal';
13
- /**
14
- * The icon color
15
- */
16
- this.color = 'currentColor';
17
- /**
18
- * The element id
19
- */
20
- this.iconId = '';
21
- this.height = this.size + 'px';
22
- }
23
- /**
24
- * The icon size
25
- */
26
- set size(value) {
27
- this.height = value + 'px';
28
- }
29
- ngOnDestroy() { }
30
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
31
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IconComponent, selector: "gtr-icon", inputs: { name: "name", weight: "weight", color: "color", size: "size", iconId: "iconId" }, host: { properties: { "style.height": "this.height" } }, ngImport: i0, template: "<i [id]=\"iconId+'-icon'\" [attr.data-testid]=\"iconId+'-icon'\" [class]=\"'gtr-icon gtr-icon-'+name\"\n [style.font-size]=\"this.height\" [style.color]=\"this.color\" [style.font-weight]=\"this.weight\"></i>\n", styles: [":host{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;padding:0;margin:0}\n"] }); }
32
- }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IconComponent, decorators: [{
34
- type: Component,
35
- args: [{ selector: 'gtr-icon', template: "<i [id]=\"iconId+'-icon'\" [attr.data-testid]=\"iconId+'-icon'\" [class]=\"'gtr-icon gtr-icon-'+name\"\n [style.font-size]=\"this.height\" [style.color]=\"this.color\" [style.font-weight]=\"this.weight\"></i>\n", styles: [":host{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;padding:0;margin:0}\n"] }]
36
- }], propDecorators: { name: [{
37
- type: Input
38
- }], weight: [{
39
- type: Input
40
- }], color: [{
41
- type: Input
42
- }], size: [{
43
- type: Input
44
- }], iconId: [{
45
- type: Input
46
- }], height: [{
47
- type: HostBinding,
48
- args: ['style.height']
49
- }] } });
50
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5jb21wb25lbnQuanMiLCJzb3Vy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VwiXG4gIFtzdHlsZS5mb250LXNpemVdPVwidGhpcy5oZWlnaHRcIiBbc3R5bGUuY29sb3JdPVwidGhpcy5jb2xvclwiIFtzdHlsZS5mb250LXdlaWdodF09XCJ0aGlzLndlaWdodFwiPjwvaT5cbiJdfQ==
@@ -1,18 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { IconComponent } from './icon.component';
3
- import { CommonModule } from '@angular/common';
4
- import * as i0 from "@angular/core";
5
- export class IconModule {
6
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IconModule, declarations: [IconComponent], imports: [CommonModule], exports: [IconComponent] }); }
8
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IconModule, imports: [CommonModule] }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IconModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- declarations: [IconComponent],
14
- imports: [CommonModule],
15
- exports: [IconComponent],
16
- }]
17
- }] });
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2F0b21zL2ljb24vaWNvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDakQsT0FB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