@sebgroup/green-angular 4.4.1 → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. package/README.md +2 -2
  2. package/esm2022/index.mjs +19 -1
  3. package/esm2022/lib/in-page-wizard/in-page-wizard-step-card.component.mjs +11 -4
  4. package/esm2022/lib/shared/on-scroll.directive.mjs +2 -2
  5. package/esm2022/src/lib/in-page-wizard/in-page-wizard-step-card.component.mjs +11 -4
  6. package/esm2022/src/lib/shared/on-scroll.directive.mjs +2 -2
  7. package/esm2022/src/v-angular/base-control-value-accessor/base-control-value-accessor.component.mjs +287 -0
  8. package/esm2022/src/v-angular/base-control-value-accessor/base-control-value-accessor.module.mjs +17 -0
  9. package/esm2022/src/v-angular/base-control-value-accessor/index.mjs +3 -0
  10. package/esm2022/src/v-angular/base-control-value-accessor/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs +5 -0
  11. package/esm2022/src/v-angular/breadcrumbs/breadcrumbs.component.mjs +25 -0
  12. package/esm2022/src/v-angular/breadcrumbs/breadcrumbs.module.mjs +20 -0
  13. package/esm2022/src/v-angular/breadcrumbs/index.mjs +3 -0
  14. package/esm2022/src/v-angular/breadcrumbs/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs +5 -0
  15. package/esm2022/src/v-angular/button/button.component.mjs +108 -0
  16. package/esm2022/src/v-angular/button/button.module.mjs +20 -0
  17. package/esm2022/src/v-angular/button/index.mjs +3 -0
  18. package/esm2022/src/v-angular/button/sebgroup-green-angular-src-v-angular-button.mjs +5 -0
  19. package/esm2022/src/v-angular/card/card.component.mjs +11 -0
  20. package/esm2022/src/v-angular/card/card.module.mjs +18 -0
  21. package/esm2022/src/v-angular/card/index.mjs +3 -0
  22. package/esm2022/src/v-angular/card/sebgroup-green-angular-src-v-angular-card.mjs +5 -0
  23. package/esm2022/src/v-angular/character-countdown/character-countdown.directive.mjs +51 -0
  24. package/esm2022/src/v-angular/character-countdown/character-countdown.module.mjs +18 -0
  25. package/esm2022/src/v-angular/character-countdown/index.mjs +3 -0
  26. package/esm2022/src/v-angular/character-countdown/sebgroup-green-angular-src-v-angular-character-countdown.mjs +5 -0
  27. package/esm2022/src/v-angular/checkbox/checkbox.component.mjs +72 -0
  28. package/esm2022/src/v-angular/checkbox/checkbox.module.mjs +19 -0
  29. package/esm2022/src/v-angular/checkbox/index.mjs +3 -0
  30. package/esm2022/src/v-angular/checkbox/sebgroup-green-angular-src-v-angular-checkbox.mjs +5 -0
  31. package/esm2022/src/v-angular/core/core.globals.mjs +17 -0
  32. package/esm2022/src/v-angular/core/core.utils.mjs +28 -0
  33. package/esm2022/src/v-angular/core/index.mjs +3 -0
  34. package/esm2022/src/v-angular/core/sebgroup-green-angular-src-v-angular-core.mjs +5 -0
  35. package/esm2022/src/v-angular/dropdown/dropdown-list/dropdown-list.component.mjs +256 -0
  36. package/esm2022/src/v-angular/dropdown/dropdown-list/index.mjs +2 -0
  37. package/esm2022/src/v-angular/dropdown/dropdown.component.mjs +239 -0
  38. package/esm2022/src/v-angular/dropdown/dropdown.module.mjs +22 -0
  39. package/esm2022/src/v-angular/dropdown/index.mjs +6 -0
  40. package/esm2022/src/v-angular/dropdown/sebgroup-green-angular-src-v-angular-dropdown.mjs +5 -0
  41. package/esm2022/src/v-angular/dropdown/typeahead/index.mjs +3 -0
  42. package/esm2022/src/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.mjs +98 -0
  43. package/esm2022/src/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.mjs +85 -0
  44. package/esm2022/src/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.mjs +132 -0
  45. package/esm2022/src/v-angular/dropdown/typeahead/typeahead.module.mjs +33 -0
  46. package/esm2022/src/v-angular/external-link/external-link.directive.mjs +37 -0
  47. package/esm2022/src/v-angular/external-link/external-link.module.mjs +18 -0
  48. package/esm2022/src/v-angular/external-link/index.mjs +3 -0
  49. package/esm2022/src/v-angular/external-link/sebgroup-green-angular-src-v-angular-external-link.mjs +5 -0
  50. package/esm2022/src/v-angular/i18n/i18n.json +12 -0
  51. package/esm2022/src/v-angular/i18n/i18n.module.mjs +83 -0
  52. package/esm2022/src/v-angular/i18n/i18n.test.module.mjs +89 -0
  53. package/esm2022/src/v-angular/i18n/index.mjs +3 -0
  54. package/esm2022/src/v-angular/i18n/sebgroup-green-angular-src-v-angular-i18n.mjs +5 -0
  55. package/esm2022/src/v-angular/info-circle/index.mjs +3 -0
  56. package/esm2022/src/v-angular/info-circle/info-circle.component.mjs +28 -0
  57. package/esm2022/src/v-angular/info-circle/info-circle.module.mjs +21 -0
  58. package/esm2022/src/v-angular/info-circle/sebgroup-green-angular-src-v-angular-info-circle.mjs +5 -0
  59. package/esm2022/src/v-angular/input/index.mjs +3 -0
  60. package/esm2022/src/v-angular/input/input.component.mjs +221 -0
  61. package/esm2022/src/v-angular/input/input.module.mjs +32 -0
  62. package/esm2022/src/v-angular/input/sebgroup-green-angular-src-v-angular-input.mjs +5 -0
  63. package/esm2022/src/v-angular/input-mask/config.mjs +9 -0
  64. package/esm2022/src/v-angular/input-mask/constants.mjs +2 -0
  65. package/esm2022/src/v-angular/input-mask/index.mjs +6 -0
  66. package/esm2022/src/v-angular/input-mask/input-mask-format.pipe.mjs +20 -0
  67. package/esm2022/src/v-angular/input-mask/input-mask.directive.mjs +165 -0
  68. package/esm2022/src/v-angular/input-mask/input-mask.module.mjs +35 -0
  69. package/esm2022/src/v-angular/input-mask/input-mask.types.mjs +2 -0
  70. package/esm2022/src/v-angular/input-mask/sebgroup-green-angular-src-v-angular-input-mask.mjs +5 -0
  71. package/esm2022/src/v-angular/modal/dialog/dialog.component.mjs +190 -0
  72. package/esm2022/src/v-angular/modal/fold-out/fold-out.component.mjs +56 -0
  73. package/esm2022/src/v-angular/modal/fold-out/fold-out.directive.mjs +19 -0
  74. package/esm2022/src/v-angular/modal/index.mjs +6 -0
  75. package/esm2022/src/v-angular/modal/modal.globals.mjs +17 -0
  76. package/esm2022/src/v-angular/modal/modal.module.mjs +40 -0
  77. package/esm2022/src/v-angular/modal/modal.types.mjs +2 -0
  78. package/esm2022/src/v-angular/modal/sebgroup-green-angular-src-v-angular-modal.mjs +5 -0
  79. package/esm2022/src/v-angular/modal/slide-out/slide-out.component.mjs +229 -0
  80. package/esm2022/src/v-angular/radio/index.mjs +3 -0
  81. package/esm2022/src/v-angular/radio/radio.component.mjs +130 -0
  82. package/esm2022/src/v-angular/radio/radio.module.mjs +20 -0
  83. package/esm2022/src/v-angular/radio/sebgroup-green-angular-src-v-angular-radio.mjs +5 -0
  84. package/esm2022/src/v-angular/slug/index.mjs +3 -0
  85. package/esm2022/src/v-angular/slug/sebgroup-green-angular-src-v-angular-slug.mjs +5 -0
  86. package/esm2022/src/v-angular/slug/slug.module.mjs +18 -0
  87. package/esm2022/src/v-angular/slug/slug.pipe.mjs +27 -0
  88. package/esm2022/src/v-angular/textarea/index.mjs +3 -0
  89. package/esm2022/src/v-angular/textarea/sebgroup-green-angular-src-v-angular-textarea.mjs +5 -0
  90. package/esm2022/src/v-angular/textarea/textarea.component.mjs +101 -0
  91. package/esm2022/src/v-angular/textarea/textarea.module.mjs +18 -0
  92. package/esm2022/src/v-angular/tooltip/index.mjs +3 -0
  93. package/esm2022/src/v-angular/tooltip/sebgroup-green-angular-src-v-angular-tooltip.mjs +5 -0
  94. package/esm2022/src/v-angular/tooltip/tooltip.directive.mjs +273 -0
  95. package/esm2022/src/v-angular/tooltip/tooltip.module.mjs +18 -0
  96. package/esm2022/v-angular/base-control-value-accessor/base-control-value-accessor.component.mjs +287 -0
  97. package/esm2022/v-angular/base-control-value-accessor/base-control-value-accessor.module.mjs +17 -0
  98. package/esm2022/v-angular/base-control-value-accessor/index.mjs +3 -0
  99. package/esm2022/v-angular/breadcrumbs/breadcrumbs.component.mjs +25 -0
  100. package/esm2022/v-angular/breadcrumbs/breadcrumbs.module.mjs +20 -0
  101. package/esm2022/v-angular/breadcrumbs/index.mjs +3 -0
  102. package/esm2022/v-angular/button/button.component.mjs +108 -0
  103. package/esm2022/v-angular/button/button.module.mjs +20 -0
  104. package/esm2022/v-angular/button/index.mjs +3 -0
  105. package/esm2022/v-angular/card/card.component.mjs +11 -0
  106. package/esm2022/v-angular/card/card.module.mjs +18 -0
  107. package/esm2022/v-angular/card/index.mjs +3 -0
  108. package/esm2022/v-angular/checkbox/checkbox.component.mjs +72 -0
  109. package/esm2022/v-angular/checkbox/checkbox.module.mjs +19 -0
  110. package/esm2022/v-angular/checkbox/index.mjs +3 -0
  111. package/esm2022/v-angular/dropdown/dropdown-list/dropdown-list.component.mjs +256 -0
  112. package/esm2022/v-angular/dropdown/dropdown-list/index.mjs +2 -0
  113. package/esm2022/v-angular/dropdown/dropdown.component.mjs +239 -0
  114. package/esm2022/v-angular/dropdown/dropdown.module.mjs +22 -0
  115. package/esm2022/v-angular/dropdown/index.mjs +6 -0
  116. package/esm2022/v-angular/dropdown/typeahead/index.mjs +3 -0
  117. package/esm2022/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.mjs +98 -0
  118. package/esm2022/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.mjs +85 -0
  119. package/esm2022/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.mjs +132 -0
  120. package/esm2022/v-angular/dropdown/typeahead/typeahead.module.mjs +33 -0
  121. package/esm2022/v-angular/i18n/i18n.json +12 -0
  122. package/esm2022/v-angular/i18n/i18n.module.mjs +83 -0
  123. package/esm2022/v-angular/i18n/i18n.test.module.mjs +89 -0
  124. package/esm2022/v-angular/i18n/index.mjs +3 -0
  125. package/esm2022/v-angular/info-circle/index.mjs +3 -0
  126. package/esm2022/v-angular/info-circle/info-circle.component.mjs +28 -0
  127. package/esm2022/v-angular/info-circle/info-circle.module.mjs +21 -0
  128. package/esm2022/v-angular/input/index.mjs +3 -0
  129. package/esm2022/v-angular/input/input.component.mjs +221 -0
  130. package/esm2022/v-angular/input/input.module.mjs +32 -0
  131. package/esm2022/v-angular/input-mask/config.mjs +9 -0
  132. package/esm2022/v-angular/input-mask/constants.mjs +2 -0
  133. package/esm2022/v-angular/input-mask/index.mjs +6 -0
  134. package/esm2022/v-angular/input-mask/input-mask-format.pipe.mjs +20 -0
  135. package/esm2022/v-angular/input-mask/input-mask.directive.mjs +165 -0
  136. package/esm2022/v-angular/input-mask/input-mask.module.mjs +35 -0
  137. package/esm2022/v-angular/input-mask/input-mask.types.mjs +2 -0
  138. package/esm2022/v-angular/modal/dialog/dialog.component.mjs +190 -0
  139. package/esm2022/v-angular/modal/fold-out/fold-out.component.mjs +56 -0
  140. package/esm2022/v-angular/modal/fold-out/fold-out.directive.mjs +19 -0
  141. package/esm2022/v-angular/modal/index.mjs +6 -0
  142. package/esm2022/v-angular/modal/modal.globals.mjs +17 -0
  143. package/esm2022/v-angular/modal/modal.module.mjs +40 -0
  144. package/esm2022/v-angular/modal/modal.types.mjs +2 -0
  145. package/esm2022/v-angular/modal/slide-out/slide-out.component.mjs +229 -0
  146. package/esm2022/v-angular/radio/index.mjs +3 -0
  147. package/esm2022/v-angular/radio/radio.component.mjs +130 -0
  148. package/esm2022/v-angular/radio/radio.module.mjs +20 -0
  149. package/esm2022/v-angular/textarea/index.mjs +3 -0
  150. package/esm2022/v-angular/textarea/textarea.component.mjs +101 -0
  151. package/esm2022/v-angular/textarea/textarea.module.mjs +18 -0
  152. package/esm2022/v-angular/tooltip/index.mjs +3 -0
  153. package/esm2022/v-angular/tooltip/tooltip.directive.mjs +273 -0
  154. package/esm2022/v-angular/tooltip/tooltip.module.mjs +18 -0
  155. package/fesm2022/sebgroup-green-angular-src-lib-in-page-wizard.mjs +10 -3
  156. package/fesm2022/sebgroup-green-angular-src-lib-in-page-wizard.mjs.map +1 -1
  157. package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs +1 -1
  158. package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs.map +1 -1
  159. package/fesm2022/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs +308 -0
  160. package/fesm2022/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs.map +1 -0
  161. package/fesm2022/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs +49 -0
  162. package/fesm2022/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs.map +1 -0
  163. package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs +131 -0
  164. package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs.map +1 -0
  165. package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs +33 -0
  166. package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs.map +1 -0
  167. package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs +73 -0
  168. package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs.map +1 -0
  169. package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs +94 -0
  170. package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs.map +1 -0
  171. package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs +51 -0
  172. package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs.map +1 -0
  173. package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs +830 -0
  174. package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs.map +1 -0
  175. package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs +58 -0
  176. package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs.map +1 -0
  177. package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs +192 -0
  178. package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs.map +1 -0
  179. package/fesm2022/sebgroup-green-angular-src-v-angular-info-circle.mjs +53 -0
  180. package/fesm2022/sebgroup-green-angular-src-v-angular-info-circle.mjs.map +1 -0
  181. package/fesm2022/sebgroup-green-angular-src-v-angular-input-mask.mjs +226 -0
  182. package/fesm2022/sebgroup-green-angular-src-v-angular-input-mask.mjs.map +1 -0
  183. package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs +256 -0
  184. package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs.map +1 -0
  185. package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs +542 -0
  186. package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs.map +1 -0
  187. package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs +153 -0
  188. package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs.map +1 -0
  189. package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs +49 -0
  190. package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs.map +1 -0
  191. package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs +122 -0
  192. package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs.map +1 -0
  193. package/fesm2022/sebgroup-green-angular-src-v-angular-tooltip.mjs +295 -0
  194. package/fesm2022/sebgroup-green-angular-src-v-angular-tooltip.mjs.map +1 -0
  195. package/fesm2022/sebgroup-green-angular.mjs +3116 -17
  196. package/fesm2022/sebgroup-green-angular.mjs.map +1 -1
  197. package/index.d.ts +18 -0
  198. package/lib/in-page-wizard/in-page-wizard-step-card.component.d.ts +2 -1
  199. package/package.json +117 -6
  200. package/src/lib/in-page-wizard/in-page-wizard-step-card.component.d.ts +2 -1
  201. package/src/v-angular/base-control-value-accessor/base-control-value-accessor.component.d.ts +124 -0
  202. package/src/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +7 -0
  203. package/src/v-angular/base-control-value-accessor/index.d.ts +2 -0
  204. package/src/v-angular/breadcrumbs/breadcrumbs.component.d.ts +18 -0
  205. package/src/v-angular/breadcrumbs/breadcrumbs.module.d.ts +10 -0
  206. package/src/v-angular/breadcrumbs/index.d.ts +2 -0
  207. package/src/v-angular/button/button.component.d.ts +62 -0
  208. package/src/v-angular/button/button.module.d.ts +10 -0
  209. package/src/v-angular/button/index.d.ts +2 -0
  210. package/src/v-angular/card/card.component.d.ts +5 -0
  211. package/src/v-angular/card/card.module.d.ts +8 -0
  212. package/src/v-angular/card/index.d.ts +2 -0
  213. package/src/v-angular/character-countdown/character-countdown.directive.d.ts +17 -0
  214. package/src/v-angular/character-countdown/character-countdown.module.d.ts +8 -0
  215. package/src/v-angular/character-countdown/index.d.ts +2 -0
  216. package/src/v-angular/checkbox/checkbox.component.d.ts +27 -0
  217. package/src/v-angular/checkbox/checkbox.module.d.ts +9 -0
  218. package/src/v-angular/checkbox/index.d.ts +2 -0
  219. package/src/v-angular/core/core.globals.d.ts +13 -0
  220. package/src/v-angular/core/core.utils.d.ts +22 -0
  221. package/src/v-angular/core/index.d.ts +2 -0
  222. package/src/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +89 -0
  223. package/src/v-angular/dropdown/dropdown-list/index.d.ts +1 -0
  224. package/src/v-angular/dropdown/dropdown.component.d.ts +99 -0
  225. package/src/v-angular/dropdown/dropdown.module.d.ts +12 -0
  226. package/src/v-angular/dropdown/index.d.ts +5 -0
  227. package/src/v-angular/dropdown/typeahead/index.d.ts +2 -0
  228. package/src/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +34 -0
  229. package/src/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +34 -0
  230. package/src/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +59 -0
  231. package/src/v-angular/dropdown/typeahead/typeahead.module.d.ts +11 -0
  232. package/src/v-angular/external-link/external-link.directive.d.ts +17 -0
  233. package/src/v-angular/external-link/external-link.module.d.ts +8 -0
  234. package/src/v-angular/external-link/index.d.ts +2 -0
  235. package/src/v-angular/i18n/i18n.module.d.ts +15 -0
  236. package/src/v-angular/i18n/i18n.test.module.d.ts +27 -0
  237. package/src/v-angular/i18n/index.d.ts +2 -0
  238. package/src/v-angular/info-circle/index.d.ts +2 -0
  239. package/src/v-angular/info-circle/info-circle.component.d.ts +16 -0
  240. package/src/v-angular/info-circle/info-circle.module.d.ts +10 -0
  241. package/src/v-angular/input/index.d.ts +2 -0
  242. package/src/v-angular/input/input.component.d.ts +90 -0
  243. package/src/v-angular/input/input.module.d.ts +11 -0
  244. package/src/v-angular/input-mask/config.d.ts +6 -0
  245. package/src/v-angular/input-mask/constants.d.ts +2 -0
  246. package/src/v-angular/input-mask/index.d.ts +5 -0
  247. package/src/v-angular/input-mask/input-mask-format.pipe.d.ts +8 -0
  248. package/src/v-angular/input-mask/input-mask.directive.d.ts +39 -0
  249. package/src/v-angular/input-mask/input-mask.module.d.ts +11 -0
  250. package/src/v-angular/input-mask/input-mask.types.d.ts +20 -0
  251. package/src/v-angular/modal/dialog/dialog.component.d.ts +55 -0
  252. package/src/v-angular/modal/fold-out/fold-out.component.d.ts +24 -0
  253. package/src/v-angular/modal/fold-out/fold-out.directive.d.ts +6 -0
  254. package/src/v-angular/modal/index.d.ts +5 -0
  255. package/src/v-angular/modal/modal.globals.d.ts +13 -0
  256. package/src/v-angular/modal/modal.module.d.ts +13 -0
  257. package/src/v-angular/modal/modal.types.d.ts +5 -0
  258. package/src/v-angular/modal/slide-out/slide-out.component.d.ts +76 -0
  259. package/src/v-angular/radio/index.d.ts +2 -0
  260. package/src/v-angular/radio/radio.component.d.ts +48 -0
  261. package/src/v-angular/radio/radio.module.d.ts +9 -0
  262. package/src/v-angular/slug/index.d.ts +2 -0
  263. package/src/v-angular/slug/slug.module.d.ts +8 -0
  264. package/src/v-angular/slug/slug.pipe.d.ts +12 -0
  265. package/src/v-angular/textarea/index.d.ts +2 -0
  266. package/src/v-angular/textarea/textarea.component.d.ts +44 -0
  267. package/src/v-angular/textarea/textarea.module.d.ts +8 -0
  268. package/src/v-angular/tooltip/index.d.ts +2 -0
  269. package/src/v-angular/tooltip/tooltip.directive.d.ts +106 -0
  270. package/src/v-angular/tooltip/tooltip.module.d.ts +8 -0
  271. package/v-angular/base-control-value-accessor/base-control-value-accessor.component.d.ts +124 -0
  272. package/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +7 -0
  273. package/v-angular/base-control-value-accessor/index.d.ts +2 -0
  274. package/v-angular/breadcrumbs/breadcrumbs.component.d.ts +18 -0
  275. package/v-angular/breadcrumbs/breadcrumbs.module.d.ts +10 -0
  276. package/v-angular/breadcrumbs/index.d.ts +2 -0
  277. package/v-angular/button/button.component.d.ts +62 -0
  278. package/v-angular/button/button.module.d.ts +10 -0
  279. package/v-angular/button/index.d.ts +2 -0
  280. package/v-angular/card/card.component.d.ts +5 -0
  281. package/v-angular/card/card.module.d.ts +8 -0
  282. package/v-angular/card/index.d.ts +2 -0
  283. package/v-angular/checkbox/checkbox.component.d.ts +27 -0
  284. package/v-angular/checkbox/checkbox.module.d.ts +9 -0
  285. package/v-angular/checkbox/index.d.ts +2 -0
  286. package/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +89 -0
  287. package/v-angular/dropdown/dropdown-list/index.d.ts +1 -0
  288. package/v-angular/dropdown/dropdown.component.d.ts +99 -0
  289. package/v-angular/dropdown/dropdown.module.d.ts +12 -0
  290. package/v-angular/dropdown/index.d.ts +5 -0
  291. package/v-angular/dropdown/typeahead/index.d.ts +2 -0
  292. package/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +34 -0
  293. package/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +34 -0
  294. package/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +59 -0
  295. package/v-angular/dropdown/typeahead/typeahead.module.d.ts +11 -0
  296. package/v-angular/i18n/i18n.module.d.ts +15 -0
  297. package/v-angular/i18n/i18n.test.module.d.ts +27 -0
  298. package/v-angular/i18n/index.d.ts +2 -0
  299. package/v-angular/info-circle/index.d.ts +2 -0
  300. package/v-angular/info-circle/info-circle.component.d.ts +16 -0
  301. package/v-angular/info-circle/info-circle.module.d.ts +10 -0
  302. package/v-angular/input/index.d.ts +2 -0
  303. package/v-angular/input/input.component.d.ts +90 -0
  304. package/v-angular/input/input.module.d.ts +11 -0
  305. package/v-angular/input-mask/config.d.ts +6 -0
  306. package/v-angular/input-mask/constants.d.ts +2 -0
  307. package/v-angular/input-mask/index.d.ts +5 -0
  308. package/v-angular/input-mask/input-mask-format.pipe.d.ts +8 -0
  309. package/v-angular/input-mask/input-mask.directive.d.ts +39 -0
  310. package/v-angular/input-mask/input-mask.module.d.ts +11 -0
  311. package/v-angular/input-mask/input-mask.types.d.ts +20 -0
  312. package/v-angular/modal/dialog/dialog.component.d.ts +55 -0
  313. package/v-angular/modal/fold-out/fold-out.component.d.ts +24 -0
  314. package/v-angular/modal/fold-out/fold-out.directive.d.ts +6 -0
  315. package/v-angular/modal/index.d.ts +5 -0
  316. package/v-angular/modal/modal.globals.d.ts +13 -0
  317. package/v-angular/modal/modal.module.d.ts +13 -0
  318. package/v-angular/modal/modal.types.d.ts +5 -0
  319. package/v-angular/modal/slide-out/slide-out.component.d.ts +76 -0
  320. package/v-angular/radio/index.d.ts +2 -0
  321. package/v-angular/radio/radio.component.d.ts +48 -0
  322. package/v-angular/radio/radio.module.d.ts +9 -0
  323. package/v-angular/textarea/index.d.ts +2 -0
  324. package/v-angular/textarea/textarea.component.d.ts +44 -0
  325. package/v-angular/textarea/textarea.module.d.ts +8 -0
  326. package/v-angular/tooltip/index.d.ts +2 -0
  327. package/v-angular/tooltip/tooltip.directive.d.ts +106 -0
  328. package/v-angular/tooltip/tooltip.module.d.ts +8 -0
@@ -0,0 +1,89 @@
1
+ import { ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { Subscription } from 'rxjs';
3
+ import { TranslocoScope } from '@ngneat/transloco';
4
+ import { Option, OptionBase } from '@sebgroup/green-angular/src/v-angular/core';
5
+ import * as i0 from "@angular/core";
6
+ export declare class NgvDropdownListComponent implements OnInit, OnChanges {
7
+ protected translocoScope: TranslocoScope;
8
+ set expanded(state: boolean);
9
+ get expanded(): boolean;
10
+ state: any;
11
+ /** The additional amount to show when option is scrolled into view. */
12
+ scrollOffset: number;
13
+ optionContentTpl: TemplateRef<OptionBase<any>> | undefined;
14
+ /** @internal List of references to the option elements. */
15
+ optionRefs: QueryList<ElementRef<HTMLLIElement>> | undefined;
16
+ /** Id of the host element and is accessible by the children, automatically generated if not provided. */
17
+ id: any;
18
+ /** Special property used for selecting DOM elements during automated UI testing. */
19
+ thook: string;
20
+ options: any[];
21
+ textToHighlight?: string;
22
+ selectedValueChanged: EventEmitter<any>;
23
+ closed: EventEmitter<void>;
24
+ /** The current active option based on numeric index. */
25
+ activeIndex: number;
26
+ scope: string | undefined;
27
+ private dropdownUtils;
28
+ private _expanded;
29
+ private closed$;
30
+ selectedValue?: Option<string, any>;
31
+ /** Subscribe if dropdown expanded to listen to click outside to close dropdown. */
32
+ protected onClickSubscription: Subscription | undefined;
33
+ constructor(translocoScope: TranslocoScope);
34
+ ngOnInit(): void;
35
+ ngOnChanges(changes: SimpleChanges): void;
36
+ /**
37
+ * Returns true if argument is an {@link OptionGroup}.
38
+ * @param option the object to check.
39
+ */
40
+ isGroup(option: any): boolean;
41
+ /** @internal */
42
+ updateState(option: any, event: Event): void;
43
+ /**
44
+ * @internal
45
+ */
46
+ setExpanded(expanded?: boolean): void;
47
+ /**
48
+ * @internal
49
+ */
50
+ refreshSelectedOption(): void;
51
+ /**
52
+ * @internal
53
+ * @returns The active index (number) if option is found, -1 otherwise.
54
+ * - If a selectedValue exists that's not nullish and that options is found, return that index
55
+ * - Else, return first non nullish index
56
+ * - If none of the above criterias are met, -1 are returned
57
+ */
58
+ getActiveIndex(): number;
59
+ /**
60
+ * @internal
61
+ * evaluates wether the HTML element overflows
62
+ * @param elem The HTMLElement to evaluate
63
+ * */
64
+ isOverflow(elem: HTMLElement): boolean;
65
+ /**
66
+ * Typecast anything to an {@link OptionGroup}.
67
+ * @param group the object to typecast.
68
+ */
69
+ castGroup(group: any): any;
70
+ /**
71
+ * @internal
72
+ * Disables default events.
73
+ * @param event fired containing which key was pressed.
74
+ */
75
+ onKeyDown(event: KeyboardEvent): boolean;
76
+ /**
77
+ * @internal
78
+ * Enter toggles the dropdown, home, end, and, arrows change the index.
79
+ * @param event fired containing which key was released.
80
+ */
81
+ onKeyUp(event: KeyboardEvent): void;
82
+ /**
83
+ * Scrolls focused result into view with a specified offset.
84
+ * @param key the result index which to scroll to.
85
+ */
86
+ scrollToResult(option: any): void;
87
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvDropdownListComponent, [{ optional: true; }]>;
88
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgvDropdownListComponent, "ngv-dropdown-list", never, { "expanded": { "alias": "expanded"; "required": false; }; "state": { "alias": "state"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "optionContentTpl": { "alias": "optionContentTpl"; "required": false; }; "id": { "alias": "id"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "options": { "alias": "options"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; }, { "selectedValueChanged": "selectedValueChanged"; "closed": "closed"; }, never, never, false, never>;
89
+ }
@@ -0,0 +1 @@
1
+ export * from './dropdown-list.component';
@@ -0,0 +1,99 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { NgControl } from '@angular/forms';
3
+ import { TranslocoScope } from '@ngneat/transloco';
4
+ import { NgvBaseControlValueAccessorComponent } from '@sebgroup/green-angular/src/v-angular/base-control-value-accessor';
5
+ import { DropdownUtils, Option, OptionBase, OptionGroup } from '@sebgroup/green-angular/src/v-angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * A dropdown allows the user to select an option from a list.
9
+ * Dropdowns enables users to make a quick selection of the available options for a specific entry.
10
+ * https://designlibrary.sebgroup.com/components/component-dropdown
11
+ */
12
+ export declare class NgvDropdownComponent<K = string | null | undefined, V = string | null | undefined, T extends Option<K, V> = Option<K, V>> extends NgvBaseControlValueAccessorComponent implements OnDestroy, OnChanges {
13
+ ngControl: NgControl;
14
+ protected translocoScope: TranslocoScope;
15
+ protected cdr: ChangeDetectorRef;
16
+ protected dropdownUtils: DropdownUtils<K, V, T>;
17
+ /** Custom template for displaying selected option. */
18
+ selectedContentTpl: TemplateRef<OptionBase<T>> | undefined;
19
+ optionContentTpl: TemplateRef<OptionBase<any>> | undefined;
20
+ /** Special property used for selecting DOM elements during automated UI testing. */
21
+ thook: string;
22
+ /** Text shown before an option is selected. */
23
+ placeholder?: string;
24
+ /** List of {@link Option} and {@link OptionGroup} listed when dropdown is expanded. */
25
+ set options(value: OptionBase<T>[]);
26
+ get options(): OptionBase<T>[];
27
+ /** The additional amount to show when option is scrolled into view. */
28
+ scrollOffset: number;
29
+ /**
30
+ * Allow this component to add/ remove nullish options based on wether the control is required or not
31
+ * Defaults to true.
32
+ */
33
+ allowControlNullishOption: boolean;
34
+ /** Text to highlight in option */
35
+ textToHighlight?: string;
36
+ /**
37
+ * If only one option exists in options[], default is to select it.
38
+ * This input can be used to alter that behaviour so it doesn't automatically
39
+ * select a value if it's the only one.
40
+ * Defaults to true.
41
+ */
42
+ selectOnSingleOption: boolean;
43
+ /**
44
+ * Emits changes of the expanded state of the dropdown
45
+ */
46
+ expandedChange: EventEmitter<boolean>;
47
+ /** @internal nullish option. */
48
+ get defaultNullishOption(): OptionBase<any>;
49
+ /** The current expanded state of the dropdown options. */
50
+ expanded: boolean;
51
+ /** The current option selected based on numeric index. */
52
+ activeIndex: number;
53
+ /** Subscribe if dropdown expanded to listen to click outside to close dropdown. */
54
+ private onClickSubscription;
55
+ keyEvent: KeyboardEvent;
56
+ private _options;
57
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef, dropdownUtils: DropdownUtils<K, V, T>);
58
+ ngOnChanges(changes: SimpleChanges): void;
59
+ ngOnDestroy(): void;
60
+ /** @internal override to correctly set state from form value */
61
+ writeValue(value: any): void;
62
+ /** @internal */
63
+ onSelectChange(option: T): void;
64
+ onKeyUp(event: KeyboardEvent): void;
65
+ /**
66
+ * Closes the dropdown on click outside.
67
+ */
68
+ subscribeToOutsideClickEvent(): void;
69
+ /**
70
+ * Set the dropdown value to given option.
71
+ * @param value the dropdown option to select.
72
+ */
73
+ private updateModel;
74
+ /** Toggle the expanded state of the dropdown options. */
75
+ toggleDropdown(): void;
76
+ /**
77
+ * Set the expanded state of the dropdown options. If true the options are shown below the field.
78
+ * Activate on click event to be able to close dropdown on click outside.
79
+ * @param state the expanded state which to set.
80
+ */
81
+ setExpanded(state?: boolean): void;
82
+ /**
83
+ * Typecast anything to an {@link Option}.
84
+ * @param option the object to typecast.
85
+ */
86
+ castOption(option: any): T;
87
+ /**
88
+ * Typecast anything to an {@link OptionGroup}.
89
+ * @param group the object to typecast.
90
+ */
91
+ castGroup(group: any): OptionGroup<T>;
92
+ /**
93
+ * Returns true if argument is an {@link Option}.
94
+ * @param option the object to check.
95
+ */
96
+ isOption(option: OptionBase<T>): option is OptionGroup<T>;
97
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvDropdownComponent<any, any, any>, [{ optional: true; self: true; }, { optional: true; }, null, null]>;
98
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgvDropdownComponent<any, any, any>, "ngv-dropdown", never, { "thook": { "alias": "thook"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "allowControlNullishOption": { "alias": "allowControlNullishOption"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "selectOnSingleOption": { "alias": "selectOnSingleOption"; "required": false; }; }, { "expandedChange": "expandedChange"; }, ["selectedContentTpl", "optionContentTpl"], ["*"], false, never>;
99
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dropdown.component";
3
+ import * as i2 from "./dropdown-list/dropdown-list.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "./typeahead/typeahead.module";
6
+ import * as i5 from "@sebgroup/green-angular/src/v-angular/tooltip";
7
+ import * as i6 from "@sebgroup/green-angular/src/v-angular/i18n";
8
+ export declare class NgvDropdownModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvDropdownModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgvDropdownModule, [typeof i1.NgvDropdownComponent, typeof i2.NgvDropdownListComponent], [typeof i3.CommonModule, typeof i4.NgvTypeaheadModule, typeof i5.NgvTooltipModule, typeof i6.NgvI18nModule], [typeof i1.NgvDropdownComponent, typeof i2.NgvDropdownListComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgvDropdownModule>;
12
+ }
@@ -0,0 +1,5 @@
1
+ export * from './dropdown.component';
2
+ export * from './dropdown.module';
3
+ export * from './dropdown-list';
4
+ export * from './typeahead';
5
+ export * from './dropdown-list';
@@ -0,0 +1,2 @@
1
+ export * from './typeahead-highlight/typeahead-highlight.component';
2
+ export * from './typeahead-input/typeahead-input.component';
@@ -0,0 +1,34 @@
1
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { TranslocoScope } from '@ngneat/transloco';
3
+ import { OptionBase } from '@sebgroup/green-angular/src/v-angular/core';
4
+ import { NgvDropdownListComponent } from '../../dropdown-list/dropdown-list.component';
5
+ import { NgvInputComponent } from '@sebgroup/green-angular/src/v-angular/input';
6
+ import * as i0 from "@angular/core";
7
+ export declare class NgvTypeaheadDropdownListComponent extends NgvDropdownListComponent implements OnInit, OnDestroy {
8
+ protected translocoScope: TranslocoScope;
9
+ private element;
10
+ hostComponent: NgvInputComponent;
11
+ /** Formats each item that is displayed as an option. Only applies format if the option if it implement Option interface. */
12
+ resultFormatter?: (option: OptionBase<any>) => string;
13
+ /** Formats the selected item in the input when dropdown is opened. If no function is provided, it will display the value of the selected objects label property */
14
+ selectedFormatter?: (selected: OptionBase<any>) => string;
15
+ private _destroy$;
16
+ constructor(translocoScope: TranslocoScope, element: ElementRef);
17
+ ngOnInit(): void;
18
+ ngOnDestroy(): void;
19
+ /** @Internal Subscribe to click outside dropdownList and input to close dropdownList */
20
+ private subscribeToOutsideClickEvent;
21
+ /** @Internal Update state of the host-input to reflect the selected value */
22
+ private handleSelectedValueChanges;
23
+ /** @Internal Expand the dropdown when input receives focus. If no state, set empty string in input */
24
+ private handleFocusChanges;
25
+ /**
26
+ * @internal Formats the selected option to display in the input. Interpolate the returned value
27
+ * since we don't know the return type or label type.
28
+ * @param value The selected value
29
+ * @returns The formatted value
30
+ */
31
+ private formatSelected;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvTypeaheadDropdownListComponent, [{ optional: true; skipSelf: true; }, null]>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgvTypeaheadDropdownListComponent, "ngv-typeahead-dropdown-list", never, { "hostComponent": { "alias": "hostComponent"; "required": false; }; "resultFormatter": { "alias": "resultFormatter"; "required": false; }; "selectedFormatter": { "alias": "selectedFormatter"; "required": false; }; }, {}, never, never, false, never>;
34
+ }
@@ -0,0 +1,34 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NgvTypeaheadHighlightComponent implements OnChanges {
4
+ /** The text that is displayed in the dropdown list */
5
+ textContent?: string;
6
+ /** The substring that should be highlighted within textContent */
7
+ textToHighlight?: string;
8
+ prefix?: string;
9
+ match?: string;
10
+ suffix?: string;
11
+ text: string;
12
+ input: string;
13
+ /**
14
+ * Regexp of characters that are allowed in textContent without being found in textToHighlight
15
+ * Allow whitespaces.
16
+ * */
17
+ allowedNonMatchingChars: RegExp;
18
+ ngOnChanges(changes: SimpleChanges): void;
19
+ private updateValues;
20
+ /**
21
+ * Function that finds the start and end index of where the input is located within the text to display.
22
+ * First occurence is returned. Allows for spaces to occur despite input not matching space.
23
+ * Loops through each character in splittedText and when a char in splittedText equlas the first character of
24
+ * splittedInput, evaluate wether it's match on the entire input.
25
+ * - If it's => return indexes.
26
+ * - If it's not => break out and check next char in outer loop.
27
+ * @param splittedText the text content splitted in an array
28
+ * @param splittedInput the input splitted in an array
29
+ * @returns { start: number, end: number } Indexes of where the match starts and ends in the text displatyed
30
+ */
31
+ private getHighlightedPart;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvTypeaheadHighlightComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgvTypeaheadHighlightComponent, "ngv-typeahead-highlight", never, { "textContent": { "alias": "textContent"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; }, {}, never, never, false, never>;
34
+ }
@@ -0,0 +1,59 @@
1
+ import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
+ import { NgControl } from '@angular/forms';
3
+ import { TranslocoScope } from '@ngneat/transloco';
4
+ import { OptionBase } from '@sebgroup/green-angular/src/v-angular/core';
5
+ import { NgvDropdownComponent } from '../../dropdown.component';
6
+ import { NgvInputComponent } from '@sebgroup/green-angular/src/v-angular/input';
7
+ import * as i0 from "@angular/core";
8
+ export declare class NgvTypeaheadInputComponent extends NgvInputComponent implements OnInit, OnDestroy {
9
+ private element;
10
+ private renderer2;
11
+ ngControl: NgControl;
12
+ protected translocoScope: TranslocoScope;
13
+ protected cdr: ChangeDetectorRef;
14
+ /** Reference to the host dropdown */
15
+ hostComponent: NgvDropdownComponent;
16
+ /** Formats each item that is displayed as an option. Only applies format if the option if it implement Option interface. */
17
+ resultFormatter?: (option: OptionBase<any>) => string;
18
+ /** Formats the selected item in the input when dropdown is opened. If no function is provided, it will display the value of the selected objects label property */
19
+ selectedFormatter?: (selected: OptionBase<any>) => string;
20
+ get dropdownButton(): HTMLElement;
21
+ /** Boolean to indicate wether the dropdown is expanded or not, to apply appropriate styling */
22
+ expanded: boolean;
23
+ /** Used to determine the height of the inputin html */
24
+ buttonHeight?: number;
25
+ constructor(element: ElementRef, renderer2: Renderer2, ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
26
+ ngOnInit(): void;
27
+ /**
28
+ * @internal
29
+ * Allow space to be inputted as text
30
+ * @param event fired containing which key was released.
31
+ */
32
+ onKeyUp(event: KeyboardEvent): void;
33
+ /**
34
+ * @internal
35
+ * First time the dropdown is expanded, move the input sp it becomes a child of the dropdown button
36
+ * to better reflect semantics and styling.
37
+ */
38
+ private moveInput;
39
+ /**
40
+ * @internal
41
+ * When dropdown is expanded, focus on the input. If a value is selected, set it in the input.
42
+ * When the dropdown is collapsed, empty the input from text.
43
+ */
44
+ private handleExpandedChange;
45
+ /**
46
+ * @internal Formats the selected option to display in the input. Interpolate the returned value
47
+ * since we don't know the return type or label type.
48
+ * @param value The selected value
49
+ * @returns The formatted value
50
+ */
51
+ private formatSelected;
52
+ /**
53
+ * Sets the input programmatically instead of native HTML input event.
54
+ * @param input
55
+ */
56
+ private setInput;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvTypeaheadInputComponent, [null, null, { optional: true; self: true; }, { optional: true; }, null]>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgvTypeaheadInputComponent, "ngv-typeahead-input", never, { "hostComponent": { "alias": "hostComponent"; "required": false; }; "resultFormatter": { "alias": "resultFormatter"; "required": false; }; "selectedFormatter": { "alias": "selectedFormatter"; "required": false; }; }, {}, never, never, false, never>;
59
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./typeahead-highlight/typeahead-highlight.component";
3
+ import * as i2 from "./typeahead-input/typeahead-input.component";
4
+ import * as i3 from "./typeahead-dropdown-list/typeahead-dropdown-list.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "@sebgroup/green-angular/src/v-angular/tooltip";
7
+ export declare class NgvTypeaheadModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvTypeaheadModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgvTypeaheadModule, [typeof i1.NgvTypeaheadHighlightComponent, typeof i2.NgvTypeaheadInputComponent, typeof i3.NgvTypeaheadDropdownListComponent], [typeof i4.CommonModule, typeof i5.NgvTooltipModule], [typeof i1.NgvTypeaheadHighlightComponent, typeof i2.NgvTypeaheadInputComponent, typeof i3.NgvTypeaheadDropdownListComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgvTypeaheadModule>;
11
+ }
@@ -0,0 +1,17 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { RouterLink } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ /** Directive overrides routerLink attribute to allow external links. */
5
+ export declare class NgvExternalLinkDirective implements OnInit {
6
+ protected link: RouterLink;
7
+ /** If set to true, links will trigger a location change rather than an internal history push. */
8
+ external: boolean;
9
+ /**
10
+ * Creates a new ExternalLinkDirective
11
+ * @param link extracted routerLink metadata
12
+ */
13
+ constructor(link: RouterLink);
14
+ ngOnInit(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvExternalLinkDirective, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgvExternalLinkDirective, "a[routerLink]", never, { "external": { "alias": "external"; "required": false; }; }, {}, never, never, false, never>;
17
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./external-link.directive";
3
+ import * as i2 from "@angular/common";
4
+ export declare class NgvExternalLinkDirectiveModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvExternalLinkDirectiveModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgvExternalLinkDirectiveModule, [typeof i1.NgvExternalLinkDirective], [typeof i2.CommonModule], [typeof i1.NgvExternalLinkDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgvExternalLinkDirectiveModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './external-link.directive';
2
+ export * from './external-link.module';
@@ -0,0 +1,15 @@
1
+ import { HashMap, TranslocoMissingHandler, TranslocoMissingHandlerData, TranslocoTranspiler } from '@ngneat/transloco';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@ngneat/transloco";
4
+ export declare class NgvMissingHandler implements TranslocoMissingHandler {
5
+ private transpiler;
6
+ constructor(transpiler: TranslocoTranspiler);
7
+ handle(key: string, _: TranslocoMissingHandlerData, params: HashMap): any;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvMissingHandler, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<NgvMissingHandler>;
10
+ }
11
+ export declare class NgvI18nModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvI18nModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgvI18nModule, never, never, [typeof i1.TranslocoModule]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgvI18nModule>;
15
+ }
@@ -0,0 +1,27 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { HashMap, Translation, TranslocoConfig, TranslocoFallbackStrategy, TranslocoInterceptor, TranslocoMissingHandler, TranslocoTranspilerFunction } from '@ngneat/transloco';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ export declare class TranslocoMockPipe implements PipeTransform {
6
+ transform: (value: number) => number;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslocoMockPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<TranslocoMockPipe, "transloco", false>;
9
+ }
10
+ export declare class TranslocoMockTranspiler implements TranslocoTranspilerFunction {
11
+ transpile: (..._args: string[]) => string;
12
+ }
13
+ export declare class TranslocoMockMissingHandler implements TranslocoMissingHandler {
14
+ handle: (key: string, _: TranslocoConfig, _params: HashMap) => string;
15
+ }
16
+ export declare class TranslocoMockStrategy implements TranslocoFallbackStrategy {
17
+ getNextLangs: (_failedLang: string) => any;
18
+ }
19
+ export declare class TranslocoMockInterceptor implements TranslocoInterceptor {
20
+ preSaveTranslation(translation: Translation, _lang: string): Translation;
21
+ preSaveTranslationKey(_key: string, value: string, _lang: string): string;
22
+ }
23
+ export declare class NgvI18nTestModule {
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvI18nTestModule, never>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgvI18nTestModule, [typeof TranslocoMockPipe], [typeof i1.CommonModule], [typeof TranslocoMockPipe]>;
26
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgvI18nTestModule>;
27
+ }
@@ -0,0 +1,2 @@
1
+ export * from './i18n.module';
2
+ export * from './i18n.test.module';
@@ -0,0 +1,2 @@
1
+ export * from './info-circle.component';
2
+ export * from './info-circle.module';
@@ -0,0 +1,16 @@
1
+ import '@sebgroup/green-core/components/icon/icons/circle-info';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * A button that will present an explanation to a problem/question.
5
+ * https://designlibrary.sebgroup.com/components/component-contextual-help-button
6
+ */
7
+ export declare class NgvInfoCircleComponent {
8
+ /** Special property used for selecting DOM elements during automated UI testing. */
9
+ thook: string;
10
+ /**
11
+ * Text to display in tooltip when mouse hovers over icon.
12
+ */
13
+ info: string;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvInfoCircleComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgvInfoCircleComponent, "ngv-info-circle", never, { "thook": { "alias": "thook"; "required": false; }; "info": { "alias": "info"; "required": false; }; }, {}, never, never, false, never>;
16
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./info-circle.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@sebgroup/green-angular/src/lib/shared";
5
+ import * as i4 from "@sebgroup/green-angular/src/v-angular/tooltip";
6
+ export declare class NgvInfoCircleModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvInfoCircleModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgvInfoCircleModule, [typeof i1.NgvInfoCircleComponent], [typeof i2.CommonModule, typeof i3.NggCoreWrapperModule, typeof i4.NgvTooltipModule], [typeof i1.NgvInfoCircleComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgvInfoCircleModule>;
10
+ }
@@ -0,0 +1,2 @@
1
+ export * from './input.component';
2
+ export * from './input.module';
@@ -0,0 +1,90 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { NgControl, UntypedFormControl } from '@angular/forms';
3
+ import { Subject } from 'rxjs';
4
+ import { TranslocoScope } from '@ngneat/transloco';
5
+ import type { InputmaskOptions } from '@sebgroup/green-angular/src/v-angular/input-mask';
6
+ import { NgvBaseControlValueAccessorComponent } from '@sebgroup/green-angular/src/v-angular/base-control-value-accessor';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * Input fields allow users to add and edit text.
10
+ * https://designlibrary.sebgroup.com/components/component-input
11
+ */
12
+ export declare class NgvInputComponent extends NgvBaseControlValueAccessorComponent implements OnInit, OnDestroy {
13
+ ngControl: NgControl;
14
+ protected translocoScope: TranslocoScope;
15
+ protected cdr: ChangeDetectorRef;
16
+ /** Adding .gds-form-item as a class to host element */
17
+ class: string;
18
+ /** Special property used for selecting DOM elements during automated UI testing. */
19
+ thook: string;
20
+ /** Type of input field. Should avoid types that modify field too much such as range. */
21
+ type: string;
22
+ /** Text shown before input has a written value. */
23
+ placeholder?: string;
24
+ /** If set to "on", hint for form autofill feature. */
25
+ autocomplete: string;
26
+ /** If set to true, the value will not be editable. */
27
+ readonly: boolean;
28
+ /** If set to true, enables the Angular template-driven email validator. */
29
+ email: boolean;
30
+ /** Minimum value required for numeric input types. */
31
+ min: number;
32
+ /** Maximum value required for numeric input types. */
33
+ max: number;
34
+ /** Incremental values that are valid for numeric input types. */
35
+ step: number;
36
+ /** Minimum length (number of characters) of value. */
37
+ set minLength(length: number);
38
+ /**
39
+ * Minimum length (number of characters) of value.
40
+ * @deprecated minlength triggers angular-template-validation. Use @Input() minLength instead.
41
+ */
42
+ set minlength(length: number);
43
+ get minlength(): number;
44
+ /** Maximum length (number of characters) of value. */
45
+ set maxLength(length: number);
46
+ get maxlength(): number;
47
+ /**
48
+ * Maximum length (number of characters) of value.
49
+ * @deprecated maxlength triggers angular-template-validation. Use @Input() maxLength instead.
50
+ */
51
+ set maxlength(length: number);
52
+ private _maxlength;
53
+ private _minlength;
54
+ /** Wether to show label that tells how many characters are still left to be entered. Will only be set if maxLength is also set */
55
+ private _showCharacterCountDown;
56
+ set showCharacterCountdown(option: boolean);
57
+ get showCharacterCountdown(): boolean;
58
+ /** Pattern the value must match to be valid. */
59
+ pattern: string;
60
+ /** Amount of time to wait until emitting (ngvINput) event */
61
+ debounceTime: number;
62
+ /**
63
+ * @deprecated
64
+ * Text to put in badge
65
+ */
66
+ badgeText: string;
67
+ /** Settings for input mask if requested */
68
+ private _inputMask;
69
+ set inputMask(newInputMask: InputmaskOptions<any>);
70
+ get inputMask(): InputmaskOptions<any>;
71
+ /** Emits every time the value of the inner input field changes, independantly of updates on the formcontroller */
72
+ ngvInput: EventEmitter<any>;
73
+ private _formControl;
74
+ get control(): UntypedFormControl;
75
+ /** Returns if maxlength is used */
76
+ get hasMaxLength(): boolean;
77
+ /** Toggler for showing or hiding the input field */
78
+ hideInput$: Subject<boolean>;
79
+ protected inputChange$: Subject<any>;
80
+ protected _destroy$: Subject<boolean>;
81
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
82
+ ngOnInit(): void;
83
+ ngOnDestroy(): void;
84
+ writeValue(value: any): void;
85
+ cutTextAfterMaxLength(value: any): any;
86
+ /** @internal */
87
+ onInput(event: Event): void;
88
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvInputComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
89
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgvInputComponent, "ngv-input", never, { "thook": { "alias": "thook"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "email": { "alias": "email"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "showCharacterCountdown": { "alias": "showCharacterCountdown"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "badgeText": { "alias": "badgeText"; "required": false; }; "inputMask": { "alias": "inputMask"; "required": false; }; }, { "ngvInput": "ngvInput"; }, never, ["[slot='prefix']", "[slot='suffix']", "*"], false, never>;
90
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@sebgroup/green-angular/src/v-angular/i18n";
5
+ import * as i4 from "@sebgroup/green-angular/src/v-angular/input-mask";
6
+ import * as i5 from "@angular/forms";
7
+ export declare class NgvInputModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvInputModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgvInputModule, [typeof i1.NgvInputComponent], [typeof i2.CommonModule, typeof i3.NgvI18nModule, typeof i4.NgvInputMaskModule, typeof i5.ReactiveFormsModule], [typeof i1.NgvInputComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgvInputModule>;
11
+ }
@@ -0,0 +1,6 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare class InputMaskConfig {
3
+ isAsync: boolean;
4
+ inputSelector: string;
5
+ }
6
+ export declare const INPUT_MASK_CONFIG: InjectionToken<InputMaskConfig>;
@@ -0,0 +1,2 @@
1
+ import { InputmaskOptions } from './input-mask.types';
2
+ export declare const createMask: <T>(options: string | InputmaskOptions<T>) => InputmaskOptions<T>;
@@ -0,0 +1,5 @@
1
+ export * from './input-mask-format.pipe';
2
+ export * from './input-mask.directive';
3
+ export * from './input-mask.module';
4
+ export * from './input-mask.types';
5
+ export * from './constants';
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import type { InputmaskOptions } from './input-mask.types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class InputMaskFormatPipe implements PipeTransform {
5
+ transform<T = any>(value: any, options: InputmaskOptions<T>): any;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputMaskFormatPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputMaskFormatPipe, "ngvInputMaskFormat", false>;
8
+ }