@gettrx/core-components-angular 1.0.2 → 1.0.4

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 +362 -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 +112 -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 +94 -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 +830 -819
  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} +10 -8
  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,57 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import { TrimTextPipe } from '../trim-text/trim-text.pipe';
3
- import * as i0 from "@angular/core";
4
- export class FormatSelectedValuePipe {
5
- constructor() {
6
- this._limitText = new TrimTextPipe();
7
- }
8
- transform(value, options, valueKey, selectedLabel, labelKey, textLimit, multiple, selectedValueLazy, selectedValues, lazyLoaded) {
9
- if (multiple) {
10
- const optionsList = lazyLoaded
11
- ? selectedValueLazy?.length
12
- ? selectedValueLazy
13
- : options?.length
14
- ? options
15
- : []
16
- : options;
17
- const _option = optionsList?.find((option) => valueKey
18
- ? option[valueKey] === value
19
- : typeof value == 'object'
20
- ? JSON.stringify(option) == JSON.stringify(value)
21
- : option === value);
22
- let formattedOption;
23
- if (selectedLabel) {
24
- formattedOption = _option ? (selectedLabel ? _option[selectedLabel] : _option) : '';
25
- }
26
- else {
27
- formattedOption = _option ? (labelKey ? _option[labelKey] : _option) : '';
28
- }
29
- return formattedOption && this._limitText.transform(formattedOption, textLimit || 28);
30
- }
31
- else {
32
- const _option = options?.find((option) => valueKey
33
- ? option[valueKey] === selectedValues?.[0]
34
- : typeof selectedValues?.[0] === 'object'
35
- ? JSON.stringify(option) === JSON.stringify(selectedValues[0])
36
- : option === selectedValues?.[0]);
37
- let formattedOption;
38
- if (selectedLabel) {
39
- formattedOption = _option ? (selectedLabel ? _option[selectedLabel] : _option) : '';
40
- }
41
- else {
42
- formattedOption = _option ? (labelKey ? _option[labelKey] : _option) : '';
43
- }
44
- return formattedOption ? formattedOption : selectedValues?.[0] ? selectedValues?.[0] : '';
45
- }
46
- }
47
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatSelectedValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
48
- /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: FormatSelectedValuePipe, isStandalone: true, name: "formatSelectedValue" }); }
49
- }
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatSelectedValuePipe, decorators: [{
51
- type: Pipe,
52
- args: [{
53
- name: 'formatSelectedValue',
54
- standalone: true,
55
- }]
56
- }] });
57
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0LXNlbGVjdGVkLXZhbHVlLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL21vbGVjdWxlcy9zZWxlY3QvaGVscGVycy9waXBlcy9mb3JtYXQtc2VsZWN0ZWQtdmFsdWUvZm9ybWF0LXNlbGVjdGVkLXZhbHVlLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFDcEQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDZCQUE2QixDQUFDOztBQU0zRCxNQUFNLE9BQU8sdUJBQXVCO0lBSnBDO1FBS21CLGVBQVUsR0FBRyxJQUFJLFlBQVksRUFBRSxDQUFDO0tBc0RsRDtJQXBEQyxTQUFTLENBQ1AsS0FBVSxFQUNWLE9BQWMsRUFDZCxRQUFnQixFQUNoQixhQUFxQixFQUNyQixRQUFnQixFQUNoQixTQUFpQixFQUNqQixRQUFpQixFQUNqQixpQkFBd0IsRUFDeEIsY0FBaUMsRUFDakMsVUFBbUI7UUFFbkIsSUFBSSxRQUFRLEVBQUU7WUFDWixNQUFNLFdBQVcsR0FBRyxVQUFVO2dCQUM1QixDQUFDLENBQUMsaUJBQWlCLEVBQUUsTUFBTTtvQkFDekIsQ0FBQyxDQUFDLGlCQUFpQjtvQkFDbkIsQ0FBQyxDQUFDLE9BQU8sRUFBRSxNQUFNO3dCQUNqQixDQUFDLENBQUMsT0FBTzt3QkFDVCxDQUFDLENBQUMsRUFBRTtnQkFDTixDQUFDLENBQUMsT0FBTyxDQUFDO1lBQ1osTUFBTSxPQUFPLE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gOiB0eXBlb2Ygc2VsZWN0ZWRWYWx1ZXM/LlswXSA9PT0gJ29iamVjdCdcbiAgICAgICAgICA/IEpTT04uc3RyaW5naWZ5KG9wdGlvbikgPT09IEpTT04uc3RyaW5naWZ5KHNlbGVjdGVkVmFsdWVzWzBdKVxuICAgICAgICAgIDogb3B0aW9uID09PSBzZWxlY3RlZFZhbHVlcz8uWzBdLFxuICAgICAgKTtcblxuICAgICAgbGV0IGZvcm1hdHRlZE9wdGlvbjogYW55O1xuICAgICAgaWYgKHNlbGVjdGVkTGFiZWwpIHtcbiAgICAgICAgZm9ybWF0dGVkT3B0aW9uID0gX29wdGlvbiA/IChzZWxlY3RlZExhYmVsID8gX29wdGlvbltzZWxlY3RlZExhYmVsXSA6IF9vcHRpb24pIDogJyc7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBmb3JtYXR0ZWRPcHRpb24gPSBfb3B0aW9uID8gKGxhYmVsS2V5ID8gX29wdGlvbltsYWJlbEtleV0gOiBfb3B0aW9uKSA6ICcnO1xuICAgICAgfVxuICAgICAgcmV0dXJuIGZvcm1hdHRlZE9wdGlvbiA/IGZvcm1hdHRlZE9wdGlvbiA6IHNlbGVjdGVkVmFsdWVzPy5bMF0gPyBzZWxlY3RlZFZhbHVlcz8uWzBdIDogJyc7XG4gICAgfVxuICB9XG59XG4iXX0=
@@ -1,26 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class TrimTextPipe {
4
- transform(value, limit) {
5
- if (!value) {
6
- return;
7
- }
8
- if (typeof value === 'number') {
9
- return value;
10
- }
11
- if (value?.length <= limit) {
12
- return value;
13
- }
14
- return value?.substring(0, limit) + '...';
15
- }
16
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TrimTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
17
- /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TrimTextPipe, isStandalone: true, name: "limitText" }); }
18
- }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TrimTextPipe, decorators: [{
20
- type: Pipe,
21
- args: [{
22
- name: 'limitText',
23
- standalone: true,
24
- }]
25
- }] });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJpbS10ZXh0LnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL21vbGVjdWxlcy9zZWxlY3QvaGVscGVycy9waXBlcy90cmltLXRleHQvdHJpbS10ZXh0LnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBTXBELE1BQU0sT0FBTyxZQUFZO0lBQ3ZCLFNBQVMsQ0FBQyxLQUF5QyxFQUFFLEtBQWE7UUFDaEUsSUFBSSxDQUFDLEtBQUssRUFBRTtZQUNWLE9BQU87U0FDUjtRQUVELElBQUksT0FBTyxLQUFLLEtBQUssUUFBUSxFQUFFO1lBQzdCLE9BQU8sS0FBSyxDQUFDO1NBQ2Q7UUFFRCxJQUFJLEtBQUssRUFBRSxNQUFNLElBQUksS0FBSyxFQUFFO1lBQzFCLE9BQU8sS0FBSyxDQUFDO1NBQ2Q7UUFFRCxPQUFPLEtBQUssRUFBRSxTQUFTLENBQUMsQ0FBQyxFQUFFLEtBQUssQ0FBQyxHQUFHLEtBQUssQ0FBQztJQUM1QyxDQUFDO2tJQWZVLFlBQVk7Z0lBQVosWUFBWTs7NEZBQVosWUFBWTtrQkFKeEIsSUFBSTttQkFBQztvQkFDSixJQUFJLEVBQUUsV0FBVztvQkFDakIsVUFBVSxFQUFFLElBQUk7aUJBQ2pCIiwic291c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sVG9wOiBudW1iZXI7XG4gIGNsaWVudEhlaWdodDogbnVtYmVyO1xuICByZWFjaGVkQm90dG9tOiBib29sZWFuO1xuICByZWFjaGVkVG9wOiBib29sZWFuO1xufTtcbiJdfQ==