@sebgroup/green-angular 4.5.0 → 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 (321) hide show
  1. package/esm2022/index.mjs +19 -1
  2. package/esm2022/lib/shared/on-scroll.directive.mjs +2 -2
  3. package/esm2022/src/lib/shared/on-scroll.directive.mjs +2 -2
  4. package/esm2022/src/v-angular/base-control-value-accessor/base-control-value-accessor.component.mjs +287 -0
  5. package/esm2022/src/v-angular/base-control-value-accessor/base-control-value-accessor.module.mjs +17 -0
  6. package/esm2022/src/v-angular/base-control-value-accessor/index.mjs +3 -0
  7. package/esm2022/src/v-angular/base-control-value-accessor/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs +5 -0
  8. package/esm2022/src/v-angular/breadcrumbs/breadcrumbs.component.mjs +25 -0
  9. package/esm2022/src/v-angular/breadcrumbs/breadcrumbs.module.mjs +20 -0
  10. package/esm2022/src/v-angular/breadcrumbs/index.mjs +3 -0
  11. package/esm2022/src/v-angular/breadcrumbs/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs +5 -0
  12. package/esm2022/src/v-angular/button/button.component.mjs +108 -0
  13. package/esm2022/src/v-angular/button/button.module.mjs +20 -0
  14. package/esm2022/src/v-angular/button/index.mjs +3 -0
  15. package/esm2022/src/v-angular/button/sebgroup-green-angular-src-v-angular-button.mjs +5 -0
  16. package/esm2022/src/v-angular/card/card.component.mjs +11 -0
  17. package/esm2022/src/v-angular/card/card.module.mjs +18 -0
  18. package/esm2022/src/v-angular/card/index.mjs +3 -0
  19. package/esm2022/src/v-angular/card/sebgroup-green-angular-src-v-angular-card.mjs +5 -0
  20. package/esm2022/src/v-angular/character-countdown/character-countdown.directive.mjs +51 -0
  21. package/esm2022/src/v-angular/character-countdown/character-countdown.module.mjs +18 -0
  22. package/esm2022/src/v-angular/character-countdown/index.mjs +3 -0
  23. package/esm2022/src/v-angular/character-countdown/sebgroup-green-angular-src-v-angular-character-countdown.mjs +5 -0
  24. package/esm2022/src/v-angular/checkbox/checkbox.component.mjs +72 -0
  25. package/esm2022/src/v-angular/checkbox/checkbox.module.mjs +19 -0
  26. package/esm2022/src/v-angular/checkbox/index.mjs +3 -0
  27. package/esm2022/src/v-angular/checkbox/sebgroup-green-angular-src-v-angular-checkbox.mjs +5 -0
  28. package/esm2022/src/v-angular/core/core.globals.mjs +17 -0
  29. package/esm2022/src/v-angular/core/core.utils.mjs +28 -0
  30. package/esm2022/src/v-angular/core/index.mjs +3 -0
  31. package/esm2022/src/v-angular/core/sebgroup-green-angular-src-v-angular-core.mjs +5 -0
  32. package/esm2022/src/v-angular/dropdown/dropdown-list/dropdown-list.component.mjs +256 -0
  33. package/esm2022/src/v-angular/dropdown/dropdown-list/index.mjs +2 -0
  34. package/esm2022/src/v-angular/dropdown/dropdown.component.mjs +239 -0
  35. package/esm2022/src/v-angular/dropdown/dropdown.module.mjs +22 -0
  36. package/esm2022/src/v-angular/dropdown/index.mjs +6 -0
  37. package/esm2022/src/v-angular/dropdown/sebgroup-green-angular-src-v-angular-dropdown.mjs +5 -0
  38. package/esm2022/src/v-angular/dropdown/typeahead/index.mjs +3 -0
  39. package/esm2022/src/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.mjs +98 -0
  40. package/esm2022/src/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.mjs +85 -0
  41. package/esm2022/src/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.mjs +132 -0
  42. package/esm2022/src/v-angular/dropdown/typeahead/typeahead.module.mjs +33 -0
  43. package/esm2022/src/v-angular/external-link/external-link.directive.mjs +37 -0
  44. package/esm2022/src/v-angular/external-link/external-link.module.mjs +18 -0
  45. package/esm2022/src/v-angular/external-link/index.mjs +3 -0
  46. package/esm2022/src/v-angular/external-link/sebgroup-green-angular-src-v-angular-external-link.mjs +5 -0
  47. package/esm2022/src/v-angular/i18n/i18n.json +12 -0
  48. package/esm2022/src/v-angular/i18n/i18n.module.mjs +83 -0
  49. package/esm2022/src/v-angular/i18n/i18n.test.module.mjs +89 -0
  50. package/esm2022/src/v-angular/i18n/index.mjs +3 -0
  51. package/esm2022/src/v-angular/i18n/sebgroup-green-angular-src-v-angular-i18n.mjs +5 -0
  52. package/esm2022/src/v-angular/info-circle/index.mjs +3 -0
  53. package/esm2022/src/v-angular/info-circle/info-circle.component.mjs +28 -0
  54. package/esm2022/src/v-angular/info-circle/info-circle.module.mjs +21 -0
  55. package/esm2022/src/v-angular/info-circle/sebgroup-green-angular-src-v-angular-info-circle.mjs +5 -0
  56. package/esm2022/src/v-angular/input/index.mjs +3 -0
  57. package/esm2022/src/v-angular/input/input.component.mjs +221 -0
  58. package/esm2022/src/v-angular/input/input.module.mjs +32 -0
  59. package/esm2022/src/v-angular/input/sebgroup-green-angular-src-v-angular-input.mjs +5 -0
  60. package/esm2022/src/v-angular/input-mask/config.mjs +9 -0
  61. package/esm2022/src/v-angular/input-mask/constants.mjs +2 -0
  62. package/esm2022/src/v-angular/input-mask/index.mjs +6 -0
  63. package/esm2022/src/v-angular/input-mask/input-mask-format.pipe.mjs +20 -0
  64. package/esm2022/src/v-angular/input-mask/input-mask.directive.mjs +165 -0
  65. package/esm2022/src/v-angular/input-mask/input-mask.module.mjs +35 -0
  66. package/esm2022/src/v-angular/input-mask/input-mask.types.mjs +2 -0
  67. package/esm2022/src/v-angular/input-mask/sebgroup-green-angular-src-v-angular-input-mask.mjs +5 -0
  68. package/esm2022/src/v-angular/modal/dialog/dialog.component.mjs +190 -0
  69. package/esm2022/src/v-angular/modal/fold-out/fold-out.component.mjs +56 -0
  70. package/esm2022/src/v-angular/modal/fold-out/fold-out.directive.mjs +19 -0
  71. package/esm2022/src/v-angular/modal/index.mjs +6 -0
  72. package/esm2022/src/v-angular/modal/modal.globals.mjs +17 -0
  73. package/esm2022/src/v-angular/modal/modal.module.mjs +40 -0
  74. package/esm2022/src/v-angular/modal/modal.types.mjs +2 -0
  75. package/esm2022/src/v-angular/modal/sebgroup-green-angular-src-v-angular-modal.mjs +5 -0
  76. package/esm2022/src/v-angular/modal/slide-out/slide-out.component.mjs +229 -0
  77. package/esm2022/src/v-angular/radio/index.mjs +3 -0
  78. package/esm2022/src/v-angular/radio/radio.component.mjs +130 -0
  79. package/esm2022/src/v-angular/radio/radio.module.mjs +20 -0
  80. package/esm2022/src/v-angular/radio/sebgroup-green-angular-src-v-angular-radio.mjs +5 -0
  81. package/esm2022/src/v-angular/slug/index.mjs +3 -0
  82. package/esm2022/src/v-angular/slug/sebgroup-green-angular-src-v-angular-slug.mjs +5 -0
  83. package/esm2022/src/v-angular/slug/slug.module.mjs +18 -0
  84. package/esm2022/src/v-angular/slug/slug.pipe.mjs +27 -0
  85. package/esm2022/src/v-angular/textarea/index.mjs +3 -0
  86. package/esm2022/src/v-angular/textarea/sebgroup-green-angular-src-v-angular-textarea.mjs +5 -0
  87. package/esm2022/src/v-angular/textarea/textarea.component.mjs +101 -0
  88. package/esm2022/src/v-angular/textarea/textarea.module.mjs +18 -0
  89. package/esm2022/src/v-angular/tooltip/index.mjs +3 -0
  90. package/esm2022/src/v-angular/tooltip/sebgroup-green-angular-src-v-angular-tooltip.mjs +5 -0
  91. package/esm2022/src/v-angular/tooltip/tooltip.directive.mjs +273 -0
  92. package/esm2022/src/v-angular/tooltip/tooltip.module.mjs +18 -0
  93. package/esm2022/v-angular/base-control-value-accessor/base-control-value-accessor.component.mjs +287 -0
  94. package/esm2022/v-angular/base-control-value-accessor/base-control-value-accessor.module.mjs +17 -0
  95. package/esm2022/v-angular/base-control-value-accessor/index.mjs +3 -0
  96. package/esm2022/v-angular/breadcrumbs/breadcrumbs.component.mjs +25 -0
  97. package/esm2022/v-angular/breadcrumbs/breadcrumbs.module.mjs +20 -0
  98. package/esm2022/v-angular/breadcrumbs/index.mjs +3 -0
  99. package/esm2022/v-angular/button/button.component.mjs +108 -0
  100. package/esm2022/v-angular/button/button.module.mjs +20 -0
  101. package/esm2022/v-angular/button/index.mjs +3 -0
  102. package/esm2022/v-angular/card/card.component.mjs +11 -0
  103. package/esm2022/v-angular/card/card.module.mjs +18 -0
  104. package/esm2022/v-angular/card/index.mjs +3 -0
  105. package/esm2022/v-angular/checkbox/checkbox.component.mjs +72 -0
  106. package/esm2022/v-angular/checkbox/checkbox.module.mjs +19 -0
  107. package/esm2022/v-angular/checkbox/index.mjs +3 -0
  108. package/esm2022/v-angular/dropdown/dropdown-list/dropdown-list.component.mjs +256 -0
  109. package/esm2022/v-angular/dropdown/dropdown-list/index.mjs +2 -0
  110. package/esm2022/v-angular/dropdown/dropdown.component.mjs +239 -0
  111. package/esm2022/v-angular/dropdown/dropdown.module.mjs +22 -0
  112. package/esm2022/v-angular/dropdown/index.mjs +6 -0
  113. package/esm2022/v-angular/dropdown/typeahead/index.mjs +3 -0
  114. package/esm2022/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.mjs +98 -0
  115. package/esm2022/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.mjs +85 -0
  116. package/esm2022/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.mjs +132 -0
  117. package/esm2022/v-angular/dropdown/typeahead/typeahead.module.mjs +33 -0
  118. package/esm2022/v-angular/i18n/i18n.json +12 -0
  119. package/esm2022/v-angular/i18n/i18n.module.mjs +83 -0
  120. package/esm2022/v-angular/i18n/i18n.test.module.mjs +89 -0
  121. package/esm2022/v-angular/i18n/index.mjs +3 -0
  122. package/esm2022/v-angular/info-circle/index.mjs +3 -0
  123. package/esm2022/v-angular/info-circle/info-circle.component.mjs +28 -0
  124. package/esm2022/v-angular/info-circle/info-circle.module.mjs +21 -0
  125. package/esm2022/v-angular/input/index.mjs +3 -0
  126. package/esm2022/v-angular/input/input.component.mjs +221 -0
  127. package/esm2022/v-angular/input/input.module.mjs +32 -0
  128. package/esm2022/v-angular/input-mask/config.mjs +9 -0
  129. package/esm2022/v-angular/input-mask/constants.mjs +2 -0
  130. package/esm2022/v-angular/input-mask/index.mjs +6 -0
  131. package/esm2022/v-angular/input-mask/input-mask-format.pipe.mjs +20 -0
  132. package/esm2022/v-angular/input-mask/input-mask.directive.mjs +165 -0
  133. package/esm2022/v-angular/input-mask/input-mask.module.mjs +35 -0
  134. package/esm2022/v-angular/input-mask/input-mask.types.mjs +2 -0
  135. package/esm2022/v-angular/modal/dialog/dialog.component.mjs +190 -0
  136. package/esm2022/v-angular/modal/fold-out/fold-out.component.mjs +56 -0
  137. package/esm2022/v-angular/modal/fold-out/fold-out.directive.mjs +19 -0
  138. package/esm2022/v-angular/modal/index.mjs +6 -0
  139. package/esm2022/v-angular/modal/modal.globals.mjs +17 -0
  140. package/esm2022/v-angular/modal/modal.module.mjs +40 -0
  141. package/esm2022/v-angular/modal/modal.types.mjs +2 -0
  142. package/esm2022/v-angular/modal/slide-out/slide-out.component.mjs +229 -0
  143. package/esm2022/v-angular/radio/index.mjs +3 -0
  144. package/esm2022/v-angular/radio/radio.component.mjs +130 -0
  145. package/esm2022/v-angular/radio/radio.module.mjs +20 -0
  146. package/esm2022/v-angular/textarea/index.mjs +3 -0
  147. package/esm2022/v-angular/textarea/textarea.component.mjs +101 -0
  148. package/esm2022/v-angular/textarea/textarea.module.mjs +18 -0
  149. package/esm2022/v-angular/tooltip/index.mjs +3 -0
  150. package/esm2022/v-angular/tooltip/tooltip.directive.mjs +273 -0
  151. package/esm2022/v-angular/tooltip/tooltip.module.mjs +18 -0
  152. package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs +1 -1
  153. package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs.map +1 -1
  154. package/fesm2022/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs +308 -0
  155. package/fesm2022/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs.map +1 -0
  156. package/fesm2022/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs +49 -0
  157. package/fesm2022/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs.map +1 -0
  158. package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs +131 -0
  159. package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs.map +1 -0
  160. package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs +33 -0
  161. package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs.map +1 -0
  162. package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs +73 -0
  163. package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs.map +1 -0
  164. package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs +94 -0
  165. package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs.map +1 -0
  166. package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs +51 -0
  167. package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs.map +1 -0
  168. package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs +830 -0
  169. package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs.map +1 -0
  170. package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs +58 -0
  171. package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs.map +1 -0
  172. package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs +192 -0
  173. package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs.map +1 -0
  174. package/fesm2022/sebgroup-green-angular-src-v-angular-info-circle.mjs +53 -0
  175. package/fesm2022/sebgroup-green-angular-src-v-angular-info-circle.mjs.map +1 -0
  176. package/fesm2022/sebgroup-green-angular-src-v-angular-input-mask.mjs +226 -0
  177. package/fesm2022/sebgroup-green-angular-src-v-angular-input-mask.mjs.map +1 -0
  178. package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs +256 -0
  179. package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs.map +1 -0
  180. package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs +542 -0
  181. package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs.map +1 -0
  182. package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs +153 -0
  183. package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs.map +1 -0
  184. package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs +49 -0
  185. package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs.map +1 -0
  186. package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs +122 -0
  187. package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs.map +1 -0
  188. package/fesm2022/sebgroup-green-angular-src-v-angular-tooltip.mjs +295 -0
  189. package/fesm2022/sebgroup-green-angular-src-v-angular-tooltip.mjs.map +1 -0
  190. package/fesm2022/sebgroup-green-angular.mjs +3106 -14
  191. package/fesm2022/sebgroup-green-angular.mjs.map +1 -1
  192. package/index.d.ts +18 -0
  193. package/package.json +114 -3
  194. package/src/v-angular/base-control-value-accessor/base-control-value-accessor.component.d.ts +124 -0
  195. package/src/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +7 -0
  196. package/src/v-angular/base-control-value-accessor/index.d.ts +2 -0
  197. package/src/v-angular/breadcrumbs/breadcrumbs.component.d.ts +18 -0
  198. package/src/v-angular/breadcrumbs/breadcrumbs.module.d.ts +10 -0
  199. package/src/v-angular/breadcrumbs/index.d.ts +2 -0
  200. package/src/v-angular/button/button.component.d.ts +62 -0
  201. package/src/v-angular/button/button.module.d.ts +10 -0
  202. package/src/v-angular/button/index.d.ts +2 -0
  203. package/src/v-angular/card/card.component.d.ts +5 -0
  204. package/src/v-angular/card/card.module.d.ts +8 -0
  205. package/src/v-angular/card/index.d.ts +2 -0
  206. package/src/v-angular/character-countdown/character-countdown.directive.d.ts +17 -0
  207. package/src/v-angular/character-countdown/character-countdown.module.d.ts +8 -0
  208. package/src/v-angular/character-countdown/index.d.ts +2 -0
  209. package/src/v-angular/checkbox/checkbox.component.d.ts +27 -0
  210. package/src/v-angular/checkbox/checkbox.module.d.ts +9 -0
  211. package/src/v-angular/checkbox/index.d.ts +2 -0
  212. package/src/v-angular/core/core.globals.d.ts +13 -0
  213. package/src/v-angular/core/core.utils.d.ts +22 -0
  214. package/src/v-angular/core/index.d.ts +2 -0
  215. package/src/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +89 -0
  216. package/src/v-angular/dropdown/dropdown-list/index.d.ts +1 -0
  217. package/src/v-angular/dropdown/dropdown.component.d.ts +99 -0
  218. package/src/v-angular/dropdown/dropdown.module.d.ts +12 -0
  219. package/src/v-angular/dropdown/index.d.ts +5 -0
  220. package/src/v-angular/dropdown/typeahead/index.d.ts +2 -0
  221. package/src/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +34 -0
  222. package/src/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +34 -0
  223. package/src/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +59 -0
  224. package/src/v-angular/dropdown/typeahead/typeahead.module.d.ts +11 -0
  225. package/src/v-angular/external-link/external-link.directive.d.ts +17 -0
  226. package/src/v-angular/external-link/external-link.module.d.ts +8 -0
  227. package/src/v-angular/external-link/index.d.ts +2 -0
  228. package/src/v-angular/i18n/i18n.module.d.ts +15 -0
  229. package/src/v-angular/i18n/i18n.test.module.d.ts +27 -0
  230. package/src/v-angular/i18n/index.d.ts +2 -0
  231. package/src/v-angular/info-circle/index.d.ts +2 -0
  232. package/src/v-angular/info-circle/info-circle.component.d.ts +16 -0
  233. package/src/v-angular/info-circle/info-circle.module.d.ts +10 -0
  234. package/src/v-angular/input/index.d.ts +2 -0
  235. package/src/v-angular/input/input.component.d.ts +90 -0
  236. package/src/v-angular/input/input.module.d.ts +11 -0
  237. package/src/v-angular/input-mask/config.d.ts +6 -0
  238. package/src/v-angular/input-mask/constants.d.ts +2 -0
  239. package/src/v-angular/input-mask/index.d.ts +5 -0
  240. package/src/v-angular/input-mask/input-mask-format.pipe.d.ts +8 -0
  241. package/src/v-angular/input-mask/input-mask.directive.d.ts +39 -0
  242. package/src/v-angular/input-mask/input-mask.module.d.ts +11 -0
  243. package/src/v-angular/input-mask/input-mask.types.d.ts +20 -0
  244. package/src/v-angular/modal/dialog/dialog.component.d.ts +55 -0
  245. package/src/v-angular/modal/fold-out/fold-out.component.d.ts +24 -0
  246. package/src/v-angular/modal/fold-out/fold-out.directive.d.ts +6 -0
  247. package/src/v-angular/modal/index.d.ts +5 -0
  248. package/src/v-angular/modal/modal.globals.d.ts +13 -0
  249. package/src/v-angular/modal/modal.module.d.ts +13 -0
  250. package/src/v-angular/modal/modal.types.d.ts +5 -0
  251. package/src/v-angular/modal/slide-out/slide-out.component.d.ts +76 -0
  252. package/src/v-angular/radio/index.d.ts +2 -0
  253. package/src/v-angular/radio/radio.component.d.ts +48 -0
  254. package/src/v-angular/radio/radio.module.d.ts +9 -0
  255. package/src/v-angular/slug/index.d.ts +2 -0
  256. package/src/v-angular/slug/slug.module.d.ts +8 -0
  257. package/src/v-angular/slug/slug.pipe.d.ts +12 -0
  258. package/src/v-angular/textarea/index.d.ts +2 -0
  259. package/src/v-angular/textarea/textarea.component.d.ts +44 -0
  260. package/src/v-angular/textarea/textarea.module.d.ts +8 -0
  261. package/src/v-angular/tooltip/index.d.ts +2 -0
  262. package/src/v-angular/tooltip/tooltip.directive.d.ts +106 -0
  263. package/src/v-angular/tooltip/tooltip.module.d.ts +8 -0
  264. package/v-angular/base-control-value-accessor/base-control-value-accessor.component.d.ts +124 -0
  265. package/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +7 -0
  266. package/v-angular/base-control-value-accessor/index.d.ts +2 -0
  267. package/v-angular/breadcrumbs/breadcrumbs.component.d.ts +18 -0
  268. package/v-angular/breadcrumbs/breadcrumbs.module.d.ts +10 -0
  269. package/v-angular/breadcrumbs/index.d.ts +2 -0
  270. package/v-angular/button/button.component.d.ts +62 -0
  271. package/v-angular/button/button.module.d.ts +10 -0
  272. package/v-angular/button/index.d.ts +2 -0
  273. package/v-angular/card/card.component.d.ts +5 -0
  274. package/v-angular/card/card.module.d.ts +8 -0
  275. package/v-angular/card/index.d.ts +2 -0
  276. package/v-angular/checkbox/checkbox.component.d.ts +27 -0
  277. package/v-angular/checkbox/checkbox.module.d.ts +9 -0
  278. package/v-angular/checkbox/index.d.ts +2 -0
  279. package/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +89 -0
  280. package/v-angular/dropdown/dropdown-list/index.d.ts +1 -0
  281. package/v-angular/dropdown/dropdown.component.d.ts +99 -0
  282. package/v-angular/dropdown/dropdown.module.d.ts +12 -0
  283. package/v-angular/dropdown/index.d.ts +5 -0
  284. package/v-angular/dropdown/typeahead/index.d.ts +2 -0
  285. package/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +34 -0
  286. package/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +34 -0
  287. package/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +59 -0
  288. package/v-angular/dropdown/typeahead/typeahead.module.d.ts +11 -0
  289. package/v-angular/i18n/i18n.module.d.ts +15 -0
  290. package/v-angular/i18n/i18n.test.module.d.ts +27 -0
  291. package/v-angular/i18n/index.d.ts +2 -0
  292. package/v-angular/info-circle/index.d.ts +2 -0
  293. package/v-angular/info-circle/info-circle.component.d.ts +16 -0
  294. package/v-angular/info-circle/info-circle.module.d.ts +10 -0
  295. package/v-angular/input/index.d.ts +2 -0
  296. package/v-angular/input/input.component.d.ts +90 -0
  297. package/v-angular/input/input.module.d.ts +11 -0
  298. package/v-angular/input-mask/config.d.ts +6 -0
  299. package/v-angular/input-mask/constants.d.ts +2 -0
  300. package/v-angular/input-mask/index.d.ts +5 -0
  301. package/v-angular/input-mask/input-mask-format.pipe.d.ts +8 -0
  302. package/v-angular/input-mask/input-mask.directive.d.ts +39 -0
  303. package/v-angular/input-mask/input-mask.module.d.ts +11 -0
  304. package/v-angular/input-mask/input-mask.types.d.ts +20 -0
  305. package/v-angular/modal/dialog/dialog.component.d.ts +55 -0
  306. package/v-angular/modal/fold-out/fold-out.component.d.ts +24 -0
  307. package/v-angular/modal/fold-out/fold-out.directive.d.ts +6 -0
  308. package/v-angular/modal/index.d.ts +5 -0
  309. package/v-angular/modal/modal.globals.d.ts +13 -0
  310. package/v-angular/modal/modal.module.d.ts +13 -0
  311. package/v-angular/modal/modal.types.d.ts +5 -0
  312. package/v-angular/modal/slide-out/slide-out.component.d.ts +76 -0
  313. package/v-angular/radio/index.d.ts +2 -0
  314. package/v-angular/radio/radio.component.d.ts +48 -0
  315. package/v-angular/radio/radio.module.d.ts +9 -0
  316. package/v-angular/textarea/index.d.ts +2 -0
  317. package/v-angular/textarea/textarea.component.d.ts +44 -0
  318. package/v-angular/textarea/textarea.module.d.ts +8 -0
  319. package/v-angular/tooltip/index.d.ts +2 -0
  320. package/v-angular/tooltip/tooltip.directive.d.ts +106 -0
  321. package/v-angular/tooltip/tooltip.module.d.ts +8 -0
@@ -0,0 +1,39 @@
1
+ import { AfterViewInit, ElementRef, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
+ import { AbstractControl, ControlValueAccessor, NgControl, Validator } from '@angular/forms';
3
+ import type Inputmask from 'inputmask';
4
+ import { InputMaskConfig } from './config';
5
+ import type { InputmaskOptions } from './input-mask.types';
6
+ import * as i0 from "@angular/core";
7
+ export declare class NgvInputMaskDirective<T = any> implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor, Validator {
8
+ ngControl: NgControl;
9
+ private platformId;
10
+ private elementRef;
11
+ private renderer;
12
+ private ngZone;
13
+ /** Input settings of directive */
14
+ ngvInputMask: InputmaskOptions<T>;
15
+ inputMaskPlugin: Inputmask.Instance | undefined;
16
+ nativeInputElement: HTMLInputElement | undefined;
17
+ defaultInputMaskConfig: InputMaskConfig;
18
+ private mutationObserver;
19
+ constructor(ngControl: NgControl, config: InputMaskConfig, platformId: string, elementRef: ElementRef<HTMLInputElement | any>, renderer: Renderer2, ngZone: NgZone);
20
+ onInput: (_: any) => void;
21
+ onTouched: (_: any) => void;
22
+ onKeyUp(event: KeyboardEvent): void;
23
+ ngOnInit(): void;
24
+ ngOnDestroy(): void;
25
+ initInputMask(): void;
26
+ ngAfterViewInit(): void;
27
+ get inputMaskOptions(): Inputmask.Options;
28
+ writeValue(value: string): void;
29
+ registerOnChange(fn: (_: T | null) => void): void;
30
+ registerOnTouched(fn: any): void;
31
+ validate: (control: AbstractControl) => {
32
+ [key: string]: any;
33
+ } | null;
34
+ setDisabledState(disabled: boolean): void;
35
+ private get control();
36
+ private setNativeInputElement;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvInputMaskDirective<any>, [{ optional: true; self: true; }, null, null, null, null, null]>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgvInputMaskDirective<any>, "[ngvInputMask]", never, { "ngvInputMask": { "alias": "ngvInputMask"; "required": false; }; }, {}, never, never, false, never>;
39
+ }
@@ -0,0 +1,11 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { InputMaskConfig } from './config';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "./input-mask.directive";
5
+ import * as i2 from "./input-mask-format.pipe";
6
+ export declare class NgvInputMaskModule {
7
+ static forRoot(config?: Partial<InputMaskConfig>): ModuleWithProviders<NgvInputMaskModule>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvInputMaskModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgvInputMaskModule, [typeof i1.NgvInputMaskDirective, typeof i2.InputMaskFormatPipe], never, [typeof i1.NgvInputMaskDirective, typeof i2.InputMaskFormatPipe]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgvInputMaskModule>;
11
+ }
@@ -0,0 +1,20 @@
1
+ import type Inputmask from 'inputmask';
2
+ export type InputmaskOptions<T> = Inputmask.Options & {
3
+ parser?: (value: any) => T;
4
+ };
5
+ /**
6
+ * Useful when you want to add input-mask on input which is child of your component
7
+ *
8
+ * @since 2.1.0
9
+ */
10
+ export type InputMaskConfig = {
11
+ /**
12
+ * If set true, MutationObserver will be used to look for changes until it finds input with inputSelector
13
+ */
14
+ isAsync: boolean;
15
+ /**
16
+ * CSS like selector, which will be used with `querySelector` to get the native input.
17
+ * If your input is loaded lazily, please use `isAsync` option with this
18
+ */
19
+ inputSelector: string;
20
+ };
@@ -0,0 +1,55 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { DialogButtons } from '../modal.types';
3
+ import * as i0 from "@angular/core";
4
+ export interface DialogEvent<T = any> {
5
+ original: Event | undefined;
6
+ payload: T | undefined;
7
+ }
8
+ export declare class NgvDialogComponent implements OnInit {
9
+ dialogRef: ElementRef | undefined;
10
+ /** Special property used for selecting DOM elements during automated UI testing. */
11
+ thook: string;
12
+ /** @internal */
13
+ baseClass: boolean;
14
+ /** @internal Defines the default visibility state of the dialog. */
15
+ shown: boolean;
16
+ /** @internal */
17
+ get ariaHidden(): boolean;
18
+ /** Defines the default visibility state of the dialog. */
19
+ initiallyShown: boolean;
20
+ /** Sets modal heading. Will be translated (using transloco) if the string matches a cms key. */
21
+ heading: string;
22
+ /**
23
+ * Sets modal title. Will be translated (using transloco) if the string matches a cms key.
24
+ * @deprecated - use heading instead.
25
+ */
26
+ title: string;
27
+ /** Sets content body and can contain html code. The content body can also be set by nesting children to the dialog tag. */
28
+ content?: string;
29
+ /** Defines if dialog should close on action. */
30
+ autoClose: boolean;
31
+ /** An array of event payloads that will be added to every click context menu item click. */
32
+ payload: any;
33
+ dialogTitleId: string;
34
+ dialogBodyId: string;
35
+ /** It gives an ability for parent component to control if modal should be closed on esc button click. */
36
+ closeModalOnEscape: boolean;
37
+ _buttons: DialogButtons | undefined;
38
+ /** Buttons are defined as a key-value pair where key is one of "positive|neutral|negative" and value is the button label. */
39
+ set buttons(buttons: DialogButtons);
40
+ ngvCloseEvent: EventEmitter<DialogEvent<any>>;
41
+ ngvPositiveEvent: EventEmitter<DialogEvent<any>>;
42
+ ngvNeutralEvent: EventEmitter<DialogEvent<any>>;
43
+ ngvNegativeEvent: EventEmitter<DialogEvent<any>>;
44
+ protected _previous: HTMLElement | undefined;
45
+ protected _firstFocusable: HTMLElement | undefined;
46
+ protected _lastFocusable: HTMLElement | undefined;
47
+ ngOnInit(): void;
48
+ onAction(event: Event, action: string): void;
49
+ open(opener?: HTMLElement): boolean;
50
+ protected _limitFocusable(): void;
51
+ close(event?: Event, initiator?: string): void;
52
+ focusTrap(event: KeyboardEvent): void;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvDialogComponent, never>;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgvDialogComponent, "ngv-dialog", ["dialog"], { "thook": { "alias": "thook"; "required": false; }; "shown": { "alias": "shown"; "required": false; }; "initiallyShown": { "alias": "initiallyShown"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "payload": { "alias": "payload"; "required": false; }; "dialogTitleId": { "alias": "dialogTitleId"; "required": false; }; "dialogBodyId": { "alias": "dialogBodyId"; "required": false; }; "closeModalOnEscape": { "alias": "closeModalOnEscape"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, { "ngvCloseEvent": "ngvCloseEvent"; "ngvPositiveEvent": "ngvPositiveEvent"; "ngvNeutralEvent": "ngvNeutralEvent"; "ngvNegativeEvent": "ngvNegativeEvent"; }, never, ["*"], false, never>;
55
+ }
@@ -0,0 +1,24 @@
1
+ import { ElementRef, OnDestroy } from '@angular/core';
2
+ import '@sebgroup/green-core/components/icon/icons/dot-grid-one-horizontal';
3
+ import { Subscription } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NgvFoldOutComponent implements OnDestroy {
6
+ /** Special property used for selecting DOM elements during automated UI testing. */
7
+ thook: string;
8
+ inputRef?: ElementRef;
9
+ /** Aligns the dropdown list with the buttons right or left side */
10
+ alignOptions: 'left' | 'right';
11
+ onClickSubscription: Subscription | undefined;
12
+ /** @internal */
13
+ shown: boolean;
14
+ constructor();
15
+ ngOnDestroy(): void;
16
+ /** Toggle display of the option list */
17
+ toggleVisibility(event?: Event, setVisibility?: boolean): void;
18
+ /**
19
+ * Closes the fold-out on click outside.
20
+ */
21
+ subscribeToOutsideClickEvent(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvFoldOutComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgvFoldOutComponent, "ngv-fold-out", never, { "thook": { "alias": "thook"; "required": false; }; "alignOptions": { "alias": "alignOptions"; "required": false; }; }, {}, never, ["*"], false, never>;
24
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NgvFoldOutOptionDirective {
3
+ baseClass: boolean;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvFoldOutOptionDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgvFoldOutOptionDirective, "[ngvOption]", never, {}, {}, never, never, false, never>;
6
+ }
@@ -0,0 +1,5 @@
1
+ export * from './modal.module';
2
+ export * from './dialog/dialog.component';
3
+ export * from './slide-out/slide-out.component';
4
+ export * from './fold-out/fold-out.component';
5
+ export * from './fold-out/fold-out.directive';
@@ -0,0 +1,13 @@
1
+ export {};
2
+ declare global {
3
+ interface Window {
4
+ /** Counter for unique identifiers */
5
+ ngv: {
6
+ ids: {
7
+ [namespace: string]: number;
8
+ default: number;
9
+ };
10
+ nextId: (namespace?: string) => string;
11
+ };
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ import './modal.globals';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./dialog/dialog.component";
4
+ import * as i2 from "./slide-out/slide-out.component";
5
+ import * as i3 from "./fold-out/fold-out.component";
6
+ import * as i4 from "./fold-out/fold-out.directive";
7
+ import * as i5 from "@angular/common";
8
+ import * as i6 from "@sebgroup/green-angular/src/v-angular/button";
9
+ export declare class NgvModalModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvModalModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgvModalModule, [typeof i1.NgvDialogComponent, typeof i2.NgvSlideOutComponent, typeof i3.NgvFoldOutComponent, typeof i4.NgvFoldOutOptionDirective], [typeof i5.CommonModule, typeof i6.NgvButtonModule], [typeof i1.NgvDialogComponent, typeof i2.NgvSlideOutComponent, typeof i3.NgvFoldOutComponent, typeof i4.NgvFoldOutOptionDirective]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgvModalModule>;
13
+ }
@@ -0,0 +1,5 @@
1
+ export interface DialogButtons {
2
+ positive?: string | null;
3
+ neutral?: string | null;
4
+ negative?: string | null;
5
+ }
@@ -0,0 +1,76 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { DialogButtons } from '../modal.types';
3
+ import * as i0 from "@angular/core";
4
+ /** Modal slide-out component based on vanilla pattern library design.
5
+ * The modal title can be set using the @Input heading, and will automatically be translated if
6
+ * the string matches a cms key.
7
+ * Content can be injected into the body of the slide-out by either setting the @Input content to any type of
8
+ * markdown, or using content projection (adding content between the `ngv-slideout-modal`-start and end tag).
9
+ * If the content needs to stretch outside the normal padded area, add the attribute `slot="outside-content"` to the
10
+ * projected content main element.
11
+ * Test hooks:
12
+ * The modal hook defaults to 'slideout' but is customizeable.
13
+ * The closing button can be selected using 'slideout-close'.
14
+ * The backdrop is selectable using 'slideout-backdrop'.
15
+ */
16
+ export declare class NgvSlideOutComponent implements OnInit {
17
+ private host;
18
+ /** @internal */
19
+ slideOutRef: ElementRef | undefined;
20
+ /** Sets from which side the modal should open. */
21
+ side: 'left' | 'right';
22
+ /** Defines the default visibility state of the slide-out. */
23
+ shown: boolean;
24
+ /** Defines the default visibility state of the modal. */
25
+ initiallyShown: boolean;
26
+ /** Sets modal heading. Will be translated (using transloco) if the string matches a cms key. */
27
+ heading: string;
28
+ /**
29
+ * Sets modal title. Will be translated (using transloco) if the string matches a cms key.
30
+ * @deprecated - use @Input() heading instead.
31
+ */
32
+ title: string;
33
+ /** Sets content body of the modal and can contain html code. The content body can also be set by nesting children to the modal tag. */
34
+ content?: string;
35
+ /** Sets whether it is possible to close the modal from the top right corner. */
36
+ closable: boolean;
37
+ /** Allows the modal content to decide the width of the modal. */
38
+ autoWidth: boolean;
39
+ /** Special property used for selecting DOM elements during automated UI testing. */
40
+ thook: string;
41
+ /** @internal */
42
+ get fromLeft(): boolean;
43
+ _buttons: DialogButtons | undefined;
44
+ /** Buttons are defined as a key-value pair where key is one of "positive|neutral|negative" and value is the button label. */
45
+ set buttons(buttons: DialogButtons);
46
+ /** Will emit true on closing event. */
47
+ ngvCloseEvent: EventEmitter<boolean>;
48
+ ngvPositiveEvent: EventEmitter<void>;
49
+ ngvNeutralEvent: EventEmitter<void>;
50
+ ngvNegativeEvent: EventEmitter<void>;
51
+ private previous;
52
+ private firstFocusable;
53
+ private lastFocusable;
54
+ constructor(host: ElementRef);
55
+ ngOnInit(): void;
56
+ onAction(event: Event, action: string): void;
57
+ /**
58
+ * Called on a modal element. Opens the modal and sets focus to the last focusable element in the modal.
59
+ *
60
+ * @param opener - reference to last focused element before opening modal
61
+ * @returns - true
62
+ */
63
+ open(opener?: HTMLElement): boolean;
64
+ /**
65
+ * Called on a modal element. Closes the modal and emits a `ngvCloseEvent`. Sets focus to the lats focused element if an element was sent in to open function.
66
+ *
67
+ * @param event
68
+ * @param initiator
69
+ */
70
+ close(event?: Event, initiator?: string): void;
71
+ /** @internal */
72
+ focusTrap(event: KeyboardEvent): void;
73
+ private limitFocusable;
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvSlideOutComponent, never>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgvSlideOutComponent, "ngv-slideout-modal", never, { "side": { "alias": "side"; "required": false; }; "shown": { "alias": "shown"; "required": false; }; "initiallyShown": { "alias": "initiallyShown"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "autoWidth": { "alias": "autoWidth"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, { "ngvCloseEvent": "ngvCloseEvent"; "ngvPositiveEvent": "ngvPositiveEvent"; "ngvNeutralEvent": "ngvNeutralEvent"; "ngvNegativeEvent": "ngvNegativeEvent"; }, never, ["*", "[slot='outside-content']"], false, never>;
76
+ }
@@ -0,0 +1,2 @@
1
+ export * from './radio.component';
2
+ export * from './radio.module';
@@ -0,0 +1,48 @@
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } 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 * as i0 from "@angular/core";
6
+ /** @internal Internal class used to uncheck radio buttons with the matching name. */
7
+ export declare class NgvRadioControlRegistry {
8
+ private _radios;
9
+ add(control: NgControl, radio: NgvRadioComponent): void;
10
+ remove(radio: NgvRadioComponent): void;
11
+ select(radio: NgvRadioComponent): void;
12
+ private _isSameGroup;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvRadioControlRegistry, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<NgvRadioControlRegistry>;
15
+ }
16
+ /**
17
+ * Use radio buttons when users must select one option in a list with exclusive options out of a set of two or more options.
18
+ * https://designlibrary.sebgroup.com/components/component-radiobutton
19
+ */
20
+ export declare class NgvRadioComponent extends NgvBaseControlValueAccessorComponent implements OnInit, OnDestroy {
21
+ ngControl: NgControl;
22
+ protected translocoScope: TranslocoScope;
23
+ protected registry: NgvRadioControlRegistry;
24
+ protected cdr: ChangeDetectorRef;
25
+ /** Special property used for selecting DOM elements during automated UI testing. */
26
+ thook: string;
27
+ /** Syncs a FormControl in an existing FormGroup to a form control element by name. */
28
+ formControlName?: string;
29
+ /**
30
+ * Creates a new RadioComponent
31
+ * @param ngControl optional FormControl provided when component is used in a form, through dependency injection.
32
+ * @param registry internal registry used to uncheck radio buttons with the matching name, through dependency injection.
33
+ * @param cdr change detection reference for rendering purposes.
34
+ */
35
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, registry: NgvRadioControlRegistry, cdr: ChangeDetectorRef);
36
+ ngOnInit(): void;
37
+ ngOnDestroy(): void;
38
+ /** @internal */
39
+ onInputChange(event: Event): void;
40
+ /** Writes a new value of true or false based on if argument matches this components value property. */
41
+ writeValue(value: any): void;
42
+ /** Registers a callback function that is called when the child input element's value changes. */
43
+ registerOnChange(fn: (value: any) => any): void;
44
+ /** Checks that the name properties match and updates name property if only formControlName is given. */
45
+ private _checkName;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvRadioComponent, [{ optional: true; self: true; }, { optional: true; }, null, null]>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgvRadioComponent, "ngv-radio", never, { "thook": { "alias": "thook"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; }, {}, never, ["*"], false, never>;
48
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./radio.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@sebgroup/green-angular/src/v-angular/i18n";
5
+ export declare class NgvRadioModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvRadioModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgvRadioModule, [typeof i1.NgvRadioComponent], [typeof i2.CommonModule, typeof i3.NgvI18nModule], [typeof i1.NgvRadioComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgvRadioModule>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export * from './slug.pipe';
2
+ export * from './slug.module';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./slug.pipe";
3
+ import * as i2 from "@angular/common";
4
+ export declare class NggSlugPipeModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggSlugPipeModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggSlugPipeModule, [typeof i1.SlugPipe], [typeof i2.CommonModule], [typeof i1.SlugPipe]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggSlugPipeModule>;
8
+ }
@@ -0,0 +1,12 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /** Pipe used to transform text with special characters into a simple kebab-case id. */
4
+ export declare class SlugPipe implements PipeTransform {
5
+ /**
6
+ * Function for executing the transformation to kebab-case id.
7
+ * @param value the text with special characters which to transform.
8
+ */
9
+ transform(value?: string): unknown;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SlugPipe, never>;
11
+ static ɵpipe: i0.ɵɵPipeDeclaration<SlugPipe, "slug", false>;
12
+ }
@@ -0,0 +1,2 @@
1
+ export * from './textarea.component';
2
+ export * from './textarea.module';
@@ -0,0 +1,44 @@
1
+ import { ChangeDetectorRef } 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 * as i0 from "@angular/core";
6
+ /** Textarea fields allow users to add and edit longer or multiple line text. */
7
+ export declare class NgvTextareaComponent extends NgvBaseControlValueAccessorComponent {
8
+ ngControl: NgControl;
9
+ protected translocoScope: TranslocoScope;
10
+ protected cdr: ChangeDetectorRef;
11
+ /** Special property used for selecting DOM elements during automated UI testing. */
12
+ thook: string;
13
+ /** Text shown before input has a written value. */
14
+ placeholder?: string;
15
+ /** If set to true, the value will not be editable. */
16
+ readonly: boolean;
17
+ /** Minimum length (number of characters) of value. */
18
+ set minLength(length: number);
19
+ get minlength(): number;
20
+ /**
21
+ * Minimum length (number of characters) of value.
22
+ * @deprecated minlength triggers angular-template-validation. Use @Input() minLength instead.
23
+ */
24
+ set minlength(length: number);
25
+ /** Maximum length (number of characters) of value. */
26
+ set maxLength(length: number);
27
+ get maxlength(): number;
28
+ /**
29
+ * Maximum length (number of characters) of value.
30
+ * @deprecated maxlength triggers angular-template-validation. Use @Input() maxLength instead.
31
+ */
32
+ set maxlength(length: number);
33
+ /** Returns if maxlength is used */
34
+ get hasMaxLength(): boolean;
35
+ private _maxlength;
36
+ private _minlength;
37
+ /** Sets the height of the textarea and disables resize. A scrollbar will appear if necessary. */
38
+ rows?: number;
39
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
40
+ /** @internal */
41
+ onInput(event: Event): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvTextareaComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgvTextareaComponent, "ngv-textarea", never, { "thook": { "alias": "thook"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; }, {}, never, ["*"], false, never>;
44
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./textarea.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class NgvTextareaModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvTextareaModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgvTextareaModule, [typeof i1.NgvTextareaComponent], [typeof i2.CommonModule], [typeof i1.NgvTextareaComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgvTextareaModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './tooltip.directive';
2
+ export * from './tooltip.module';
@@ -0,0 +1,106 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, Renderer2, SimpleChange, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export type Placement = 'top' | 'right' | 'bottom' | 'left';
4
+ type Position = {
5
+ top?: number;
6
+ right?: number;
7
+ bottom?: number;
8
+ left?: number;
9
+ };
10
+ /**
11
+ * A tooltip is a text label that acts as a helper to a specific item.
12
+ * Recommended to use value `top` or `bottom` with `placement` for responsive design.
13
+ * Dynamic resizing and tooltip position are a work in progress.
14
+ * https://designlibrary.sebgroup.com/components/component-tooltip
15
+ */
16
+ export declare class NgvTooltipDirective implements AfterViewInit, OnChanges, OnDestroy {
17
+ private anchorElementRef;
18
+ private renderer;
19
+ /** The text that will be shown in the tooltip. */
20
+ ngvTooltip?: string;
21
+ /** Special property used for selecting DOM elements during automated UI testing. */
22
+ thook: string;
23
+ /** The side of the anchor which the tooltip will be rendered.
24
+ * Recommended `top` and `bottom` for responsive designs as these are more stable.
25
+ */
26
+ placement: Placement;
27
+ /** Initial state and subsequent updates on wether the tooltip is visible. */
28
+ shown: boolean;
29
+ /** How far off from the text the tooltip will be rendered. */
30
+ offset: number;
31
+ /** How frequently the tooltip will be re-rendered when the page size changes. */
32
+ resizeThrottle: number;
33
+ /** Numeric max-width for tooltip. */
34
+ maxWidth: number;
35
+ /** Emits a show event triggered changing visibility state of the tooltip. */
36
+ ngvShow: EventEmitter<HTMLElement>;
37
+ /** Emits a hide event triggered changing visibility state of the tooltip. */
38
+ ngvHide: EventEmitter<HTMLElement>;
39
+ /** @internal */
40
+ protected timeout: number;
41
+ /** @internal */
42
+ protected parentElement: HTMLElement;
43
+ /** @internal */
44
+ protected anchorElement: HTMLElement;
45
+ /** @internal */
46
+ protected tooltipElement: HTMLElement | undefined;
47
+ /** @internal */
48
+ protected arrowElement: HTMLElement | undefined;
49
+ /** @internal Check if changes should trigger a re-render */
50
+ static shouldUpdate(change: SimpleChange): boolean;
51
+ constructor(anchorElementRef: ElementRef, renderer: Renderer2);
52
+ ngAfterViewInit(): void;
53
+ ngOnChanges(changes: SimpleChanges): void;
54
+ ngOnDestroy(): void;
55
+ /** @internal */
56
+ onMouseEnter(): void;
57
+ /** @internal */
58
+ onMouseLeave(): void;
59
+ /** @internal */
60
+ resize(): void;
61
+ /**
62
+ * Sets the visibility state of the tooltip to true and creates a new tooltip if it doesn't exist or `recreate` is set.
63
+ * @param recreate if set to true, destroy any existing tooltip and create a new one.
64
+ */
65
+ show(recreate?: boolean): void;
66
+ /**
67
+ * Sets the visibility state of the tooltip to false and destroys an existing tooltip if `destroy` is set.
68
+ * @param destroy if set to true, destroy any existing tooltip.
69
+ */
70
+ hide(destroy?: boolean): void;
71
+ /**
72
+ * @internal
73
+ * Creates a new tooltip with the set placement and a given text as its body.
74
+ * @param text the string to be displayed in the tooltip body.
75
+ */
76
+ create(text: string): void;
77
+ /**
78
+ * @internal
79
+ * Destroys the current tooltip by un-setting variables, should only be used after detaching elements from the DOM.
80
+ */
81
+ destroy(): void;
82
+ /**
83
+ * @internal
84
+ * Recalculates the position of the tooltip.
85
+ */
86
+ updatePosition(): void;
87
+ /**
88
+ * @internal
89
+ * Calculates and set the position of the tooltip when the placement is `top` or `bottom`.
90
+ */
91
+ alignVertical(above: boolean, scrollPos: number, anchor: DOMRect, tooltipWidth: number, tooltipHeight: number, arrowWidth: number): void;
92
+ /**
93
+ * @internal
94
+ * Calculates and set the position of the tooltip when the placement is `left` or `right`.
95
+ */
96
+ alignHorizontal(before: boolean, scrollPos: number, anchor: DOMRect, tooltipHeight: number): void;
97
+ /**
98
+ * @internal
99
+ * Updates the CSS properties for the tooltip position.
100
+ */
101
+ setStyle(tooltip: Position, arrow: Position): void;
102
+ private pxToRem;
103
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvTooltipDirective, never>;
104
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgvTooltipDirective, "[ngvTooltip]", never, { "ngvTooltip": { "alias": "ngvTooltip"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "shown": { "alias": "shown"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "resizeThrottle": { "alias": "resizeThrottle"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, { "ngvShow": "ngvShow"; "ngvHide": "ngvHide"; }, never, never, false, never>;
105
+ }
106
+ export {};
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./tooltip.directive";
3
+ import * as i2 from "@sebgroup/green-angular/src/v-angular/i18n";
4
+ export declare class NgvTooltipModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgvTooltipModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgvTooltipModule, [typeof i1.NgvTooltipDirective], [typeof i2.NgvI18nModule], [typeof i1.NgvTooltipDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgvTooltipModule>;
8
+ }