@sebgroup/green-angular 10.0.2 → 10.0.3-rc.20260616114541449

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 (469) hide show
  1. package/fesm2022/sebgroup-green-angular-src-lib-accordion.mjs +10 -10
  2. package/fesm2022/sebgroup-green-angular-src-lib-accordion.mjs.map +1 -1
  3. package/fesm2022/sebgroup-green-angular-src-lib-badge.mjs +7 -7
  4. package/fesm2022/sebgroup-green-angular-src-lib-badge.mjs.map +1 -1
  5. package/fesm2022/sebgroup-green-angular-src-lib-button.mjs +7 -7
  6. package/fesm2022/sebgroup-green-angular-src-lib-button.mjs.map +1 -1
  7. package/fesm2022/sebgroup-green-angular-src-lib-cell-table.mjs +23 -23
  8. package/fesm2022/sebgroup-green-angular-src-lib-cell-table.mjs.map +1 -1
  9. package/fesm2022/sebgroup-green-angular-src-lib-context-menu.mjs +11 -11
  10. package/fesm2022/sebgroup-green-angular-src-lib-context-menu.mjs.map +1 -1
  11. package/fesm2022/sebgroup-green-angular-src-lib-datepicker.mjs +11 -11
  12. package/fesm2022/sebgroup-green-angular-src-lib-datepicker.mjs.map +1 -1
  13. package/fesm2022/sebgroup-green-angular-src-lib-dropdown.mjs +24 -27
  14. package/fesm2022/sebgroup-green-angular-src-lib-dropdown.mjs.map +1 -1
  15. package/fesm2022/sebgroup-green-angular-src-lib-in-page-wizard.mjs +7 -7
  16. package/fesm2022/sebgroup-green-angular-src-lib-in-page-wizard.mjs.map +1 -1
  17. package/fesm2022/sebgroup-green-angular-src-lib-modal.mjs +45 -46
  18. package/fesm2022/sebgroup-green-angular-src-lib-modal.mjs.map +1 -1
  19. package/fesm2022/sebgroup-green-angular-src-lib-pagination.mjs +7 -7
  20. package/fesm2022/sebgroup-green-angular-src-lib-pagination.mjs.map +1 -1
  21. package/fesm2022/sebgroup-green-angular-src-lib-progress-circle.mjs +7 -7
  22. package/fesm2022/sebgroup-green-angular-src-lib-progress-circle.mjs.map +1 -1
  23. package/fesm2022/sebgroup-green-angular-src-lib-segmented-control.mjs +7 -7
  24. package/fesm2022/sebgroup-green-angular-src-lib-segmented-control.mjs.map +1 -1
  25. package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs +41 -41
  26. package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs.map +1 -1
  27. package/fesm2022/sebgroup-green-angular-src-lib-slider.mjs +7 -7
  28. package/fesm2022/sebgroup-green-angular-src-lib-slider.mjs.map +1 -1
  29. package/fesm2022/sebgroup-green-angular-src-lib-sortable-list.mjs +7 -7
  30. package/fesm2022/sebgroup-green-angular-src-lib-sortable-list.mjs.map +1 -1
  31. package/fesm2022/sebgroup-green-angular-src-v-angular-account-number.mjs +7 -7
  32. package/fesm2022/sebgroup-green-angular-src-v-angular-account-number.mjs.map +1 -1
  33. package/fesm2022/sebgroup-green-angular-src-v-angular-alert.mjs +8 -8
  34. package/fesm2022/sebgroup-green-angular-src-v-angular-alert.mjs.map +1 -1
  35. package/fesm2022/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs +8 -8
  36. package/fesm2022/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs.map +1 -1
  37. package/fesm2022/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs +8 -8
  38. package/fesm2022/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs.map +1 -1
  39. package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs +8 -8
  40. package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs.map +1 -1
  41. package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs +8 -8
  42. package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs.map +1 -1
  43. package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs +7 -7
  44. package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs.map +1 -1
  45. package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs +8 -8
  46. package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs.map +1 -1
  47. package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs +3 -3
  48. package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs.map +1 -1
  49. package/fesm2022/sebgroup-green-angular-src-v-angular-datepicker.mjs +37 -37
  50. package/fesm2022/sebgroup-green-angular-src-v-angular-datepicker.mjs.map +1 -1
  51. package/fesm2022/sebgroup-green-angular-src-v-angular-drag-drop.mjs +13 -13
  52. package/fesm2022/sebgroup-green-angular-src-v-angular-drag-drop.mjs.map +1 -1
  53. package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs +29 -29
  54. package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs.map +1 -1
  55. package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs +7 -7
  56. package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs.map +1 -1
  57. package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs +14 -14
  58. package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs.map +1 -1
  59. package/fesm2022/sebgroup-green-angular-src-v-angular-info-circle.mjs +7 -7
  60. package/fesm2022/sebgroup-green-angular-src-v-angular-info-circle.mjs.map +1 -1
  61. package/fesm2022/sebgroup-green-angular-src-v-angular-input-mask.mjs +10 -10
  62. package/fesm2022/sebgroup-green-angular-src-v-angular-input-mask.mjs.map +1 -1
  63. package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs +8 -8
  64. package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs.map +1 -1
  65. package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs +19 -19
  66. package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs.map +1 -1
  67. package/fesm2022/sebgroup-green-angular-src-v-angular-pagination.mjs +7 -7
  68. package/fesm2022/sebgroup-green-angular-src-v-angular-pagination.mjs.map +1 -1
  69. package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs +14 -14
  70. package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs.map +1 -1
  71. package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs +7 -7
  72. package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs.map +1 -1
  73. package/fesm2022/sebgroup-green-angular-src-v-angular-table.mjs +23 -23
  74. package/fesm2022/sebgroup-green-angular-src-v-angular-table.mjs.map +1 -1
  75. package/fesm2022/sebgroup-green-angular-src-v-angular-tabs.mjs +11 -11
  76. package/fesm2022/sebgroup-green-angular-src-v-angular-tabs.mjs.map +1 -1
  77. package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs +8 -8
  78. package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs.map +1 -1
  79. package/fesm2022/sebgroup-green-angular-src-v-angular-toast.mjs +10 -10
  80. package/fesm2022/sebgroup-green-angular-src-v-angular-toast.mjs.map +1 -1
  81. package/fesm2022/sebgroup-green-angular-src-v-angular-tooltip.mjs +7 -7
  82. package/fesm2022/sebgroup-green-angular-src-v-angular-tooltip.mjs.map +1 -1
  83. package/fesm2022/sebgroup-green-angular-v-angular.mjs +300 -300
  84. package/fesm2022/sebgroup-green-angular-v-angular.mjs.map +1 -1
  85. package/fesm2022/sebgroup-green-angular.mjs +222 -226
  86. package/fesm2022/sebgroup-green-angular.mjs.map +1 -1
  87. package/index.d.ts +1021 -17
  88. package/package.json +12 -12
  89. package/src/lib/accordion/index.d.ts +51 -3
  90. package/src/lib/badge/index.d.ts +46 -2
  91. package/src/lib/button/index.d.ts +20 -2
  92. package/src/lib/cell-table/index.d.ts +105 -3
  93. package/src/lib/context-menu/index.d.ts +63 -2
  94. package/src/lib/datepicker/index.d.ts +80 -2
  95. package/src/lib/dropdown/index.d.ts +114 -4
  96. package/src/lib/in-page-wizard/index.d.ts +30 -2
  97. package/src/lib/modal/index.d.ts +96 -4
  98. package/src/lib/pagination/index.d.ts +66 -2
  99. package/src/lib/progress-circle/index.d.ts +24 -2
  100. package/src/lib/segmented-control/index.d.ts +29 -2
  101. package/src/lib/shared/index.d.ts +223 -7
  102. package/src/lib/slider/index.d.ts +48 -2
  103. package/src/lib/sortable-list/index.d.ts +105 -2
  104. package/src/v-angular/account-number/index.d.ts +43 -2
  105. package/src/v-angular/alert/index.d.ts +44 -3
  106. package/src/v-angular/base-control-value-accessor/index.d.ts +143 -2
  107. package/src/v-angular/breadcrumbs/index.d.ts +29 -2
  108. package/src/v-angular/button/index.d.ts +75 -2
  109. package/src/v-angular/card/index.d.ts +15 -2
  110. package/src/v-angular/character-countdown/index.d.ts +27 -2
  111. package/src/v-angular/checkbox/index.d.ts +47 -2
  112. package/src/v-angular/core/index.d.ts +40 -2
  113. package/src/v-angular/datepicker/index.d.ts +577 -13
  114. package/src/v-angular/drag-drop/index.d.ts +233 -4
  115. package/src/v-angular/dropdown/index.d.ts +474 -5
  116. package/src/v-angular/external-link/index.d.ts +27 -2
  117. package/src/v-angular/i18n/index.d.ts +44 -2
  118. package/src/v-angular/info-circle/index.d.ts +27 -2
  119. package/src/v-angular/input/index.d.ts +127 -2
  120. package/src/v-angular/input-mask/index.d.ts +81 -5
  121. package/src/v-angular/modal/index.d.ts +243 -5
  122. package/src/v-angular/pagination/index.d.ts +75 -2
  123. package/src/v-angular/radio/index.d.ts +111 -3
  124. package/src/v-angular/slug/index.d.ts +22 -2
  125. package/src/v-angular/table/index.d.ts +379 -5
  126. package/src/v-angular/tabs/index.d.ts +138 -4
  127. package/src/v-angular/textarea/index.d.ts +69 -2
  128. package/src/v-angular/toast/index.d.ts +65 -4
  129. package/src/v-angular/tooltip/index.d.ts +118 -2
  130. package/v-angular/index.d.ts +3088 -28
  131. package/lib/accordion/accordion-list-item.component.d.ts +0 -16
  132. package/lib/accordion/accordion.component.d.ts +0 -21
  133. package/lib/accordion/accordion.module.d.ts +0 -14
  134. package/lib/accordion/index.d.ts +0 -3
  135. package/lib/badge/badge.component.d.ts +0 -30
  136. package/lib/badge/badge.module.d.ts +0 -13
  137. package/lib/badge/index.d.ts +0 -2
  138. package/lib/button/button.component.d.ts +0 -11
  139. package/lib/button/button.module.d.ts +0 -8
  140. package/lib/button/index.d.ts +0 -2
  141. package/lib/cell-table/cell-table-item.component.d.ts +0 -14
  142. package/lib/cell-table/cell-table.component.d.ts +0 -44
  143. package/lib/cell-table/cell-table.module.d.ts +0 -10
  144. package/lib/cell-table/cell-table.types.d.ts +0 -34
  145. package/lib/cell-table/cell-underline.directive.d.ts +0 -14
  146. package/lib/cell-table/index.d.ts +0 -3
  147. package/lib/context-menu/context-menu.component.d.ts +0 -48
  148. package/lib/context-menu/context-menu.module.d.ts +0 -14
  149. package/lib/context-menu/index.d.ts +0 -2
  150. package/lib/datepicker/datepicker.component.d.ts +0 -63
  151. package/lib/datepicker/datepicker.module.d.ts +0 -14
  152. package/lib/datepicker/index.d.ts +0 -2
  153. package/lib/dropdown/dropdown-button.directive.d.ts +0 -8
  154. package/lib/dropdown/dropdown-option.directive.d.ts +0 -8
  155. package/lib/dropdown/dropdown.component.d.ts +0 -87
  156. package/lib/dropdown/dropdown.module.d.ts +0 -16
  157. package/lib/dropdown/index.d.ts +0 -4
  158. package/lib/green-angular.module.d.ts +0 -21
  159. package/lib/in-page-wizard/in-page-wizard-step-card.component.d.ts +0 -19
  160. package/lib/in-page-wizard/in-page-wizard.module.d.ts +0 -9
  161. package/lib/in-page-wizard/index.d.ts +0 -2
  162. package/lib/modal/index.d.ts +0 -4
  163. package/lib/modal/modal-footer.directive.d.ts +0 -8
  164. package/lib/modal/modal-header.directive.d.ts +0 -8
  165. package/lib/modal/modal.component.d.ts +0 -74
  166. package/lib/modal/modal.module.d.ts +0 -14
  167. package/lib/pagination/index.d.ts +0 -2
  168. package/lib/pagination/pagination.component.d.ts +0 -56
  169. package/lib/pagination/pagination.module.d.ts +0 -8
  170. package/lib/progress-circle/index.d.ts +0 -2
  171. package/lib/progress-circle/progress-circle.component.d.ts +0 -15
  172. package/lib/progress-circle/progress-circle.module.d.ts +0 -8
  173. package/lib/segmented-control/index.d.ts +0 -2
  174. package/lib/segmented-control/segmented-control.component.d.ts +0 -14
  175. package/lib/segmented-control/segmented-control.module.d.ts +0 -12
  176. package/lib/shared/core-control/core-checkbox.directive.d.ts +0 -10
  177. package/lib/shared/core-control/core-control.directive.d.ts +0 -19
  178. package/lib/shared/core-control/core-control.module.d.ts +0 -10
  179. package/lib/shared/core-control/index.d.ts +0 -3
  180. package/lib/shared/core-element/core-element.directive.d.ts +0 -17
  181. package/lib/shared/core-element/core-element.module.d.ts +0 -11
  182. package/lib/shared/core-element/index.d.ts +0 -2
  183. package/lib/shared/core-renderer/core-renderer.d.ts +0 -111
  184. package/lib/shared/core-renderer/index.d.ts +0 -1
  185. package/lib/shared/core-router-link/core-router-link.directive.d.ts +0 -19
  186. package/lib/shared/core-router-link/core-router-link.module.d.ts +0 -10
  187. package/lib/shared/core-router-link/index.d.ts +0 -2
  188. package/lib/shared/id.d.ts +0 -1
  189. package/lib/shared/index.d.ts +0 -7
  190. package/lib/shared/on-scroll.directive.d.ts +0 -14
  191. package/lib/shared/scope-resolver.d.ts +0 -5
  192. package/lib/shared/shared.module.d.ts +0 -9
  193. package/lib/slider/index.d.ts +0 -2
  194. package/lib/slider/slider.component.d.ts +0 -38
  195. package/lib/slider/slider.module.d.ts +0 -9
  196. package/lib/sortable-list/index.d.ts +0 -2
  197. package/lib/sortable-list/sortable-list.component.d.ts +0 -92
  198. package/lib/sortable-list/sortable-list.module.d.ts +0 -11
  199. package/src/lib/accordion/accordion-list-item.component.d.ts +0 -16
  200. package/src/lib/accordion/accordion.component.d.ts +0 -21
  201. package/src/lib/accordion/accordion.module.d.ts +0 -14
  202. package/src/lib/badge/badge.component.d.ts +0 -30
  203. package/src/lib/badge/badge.module.d.ts +0 -13
  204. package/src/lib/button/button.component.d.ts +0 -11
  205. package/src/lib/button/button.module.d.ts +0 -8
  206. package/src/lib/cell-table/cell-table-item.component.d.ts +0 -14
  207. package/src/lib/cell-table/cell-table.component.d.ts +0 -44
  208. package/src/lib/cell-table/cell-table.module.d.ts +0 -10
  209. package/src/lib/cell-table/cell-table.types.d.ts +0 -34
  210. package/src/lib/cell-table/cell-underline.directive.d.ts +0 -14
  211. package/src/lib/context-menu/context-menu.component.d.ts +0 -48
  212. package/src/lib/context-menu/context-menu.module.d.ts +0 -14
  213. package/src/lib/datepicker/datepicker.component.d.ts +0 -63
  214. package/src/lib/datepicker/datepicker.module.d.ts +0 -14
  215. package/src/lib/dropdown/dropdown-button.directive.d.ts +0 -8
  216. package/src/lib/dropdown/dropdown-option.directive.d.ts +0 -8
  217. package/src/lib/dropdown/dropdown.component.d.ts +0 -87
  218. package/src/lib/dropdown/dropdown.module.d.ts +0 -16
  219. package/src/lib/in-page-wizard/in-page-wizard-step-card.component.d.ts +0 -19
  220. package/src/lib/in-page-wizard/in-page-wizard.module.d.ts +0 -9
  221. package/src/lib/modal/modal-footer.directive.d.ts +0 -8
  222. package/src/lib/modal/modal-header.directive.d.ts +0 -8
  223. package/src/lib/modal/modal.component.d.ts +0 -74
  224. package/src/lib/modal/modal.module.d.ts +0 -14
  225. package/src/lib/pagination/pagination.component.d.ts +0 -56
  226. package/src/lib/pagination/pagination.module.d.ts +0 -8
  227. package/src/lib/progress-circle/progress-circle.component.d.ts +0 -15
  228. package/src/lib/progress-circle/progress-circle.module.d.ts +0 -8
  229. package/src/lib/segmented-control/segmented-control.component.d.ts +0 -14
  230. package/src/lib/segmented-control/segmented-control.module.d.ts +0 -12
  231. package/src/lib/shared/core-control/core-checkbox.directive.d.ts +0 -10
  232. package/src/lib/shared/core-control/core-control.directive.d.ts +0 -19
  233. package/src/lib/shared/core-control/core-control.module.d.ts +0 -10
  234. package/src/lib/shared/core-control/index.d.ts +0 -3
  235. package/src/lib/shared/core-element/core-element.directive.d.ts +0 -17
  236. package/src/lib/shared/core-element/core-element.module.d.ts +0 -11
  237. package/src/lib/shared/core-element/index.d.ts +0 -2
  238. package/src/lib/shared/core-renderer/core-renderer.d.ts +0 -111
  239. package/src/lib/shared/core-renderer/index.d.ts +0 -1
  240. package/src/lib/shared/core-router-link/core-router-link.directive.d.ts +0 -19
  241. package/src/lib/shared/core-router-link/core-router-link.module.d.ts +0 -10
  242. package/src/lib/shared/core-router-link/index.d.ts +0 -2
  243. package/src/lib/shared/id.d.ts +0 -1
  244. package/src/lib/shared/on-scroll.directive.d.ts +0 -14
  245. package/src/lib/shared/scope-resolver.d.ts +0 -5
  246. package/src/lib/shared/shared.module.d.ts +0 -9
  247. package/src/lib/slider/slider.component.d.ts +0 -38
  248. package/src/lib/slider/slider.module.d.ts +0 -9
  249. package/src/lib/sortable-list/sortable-list.component.d.ts +0 -92
  250. package/src/lib/sortable-list/sortable-list.module.d.ts +0 -11
  251. package/src/v-angular/account-number/account-number.module.d.ts +0 -8
  252. package/src/v-angular/account-number/account-number.pipe.d.ts +0 -32
  253. package/src/v-angular/alert/alert.component.d.ts +0 -20
  254. package/src/v-angular/alert/alert.models.d.ts +0 -13
  255. package/src/v-angular/alert/alert.module.d.ts +0 -8
  256. package/src/v-angular/base-control-value-accessor/base-control-value-accessor.component.d.ts +0 -134
  257. package/src/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +0 -7
  258. package/src/v-angular/breadcrumbs/breadcrumbs.component.d.ts +0 -18
  259. package/src/v-angular/breadcrumbs/breadcrumbs.module.d.ts +0 -10
  260. package/src/v-angular/button/button.component.d.ts +0 -62
  261. package/src/v-angular/button/button.module.d.ts +0 -10
  262. package/src/v-angular/card/card.component.d.ts +0 -5
  263. package/src/v-angular/card/card.module.d.ts +0 -8
  264. package/src/v-angular/character-countdown/character-countdown.directive.d.ts +0 -17
  265. package/src/v-angular/character-countdown/character-countdown.module.d.ts +0 -8
  266. package/src/v-angular/checkbox/checkbox.component.d.ts +0 -36
  267. package/src/v-angular/checkbox/checkbox.module.d.ts +0 -10
  268. package/src/v-angular/core/core.globals.d.ts +0 -13
  269. package/src/v-angular/core/core.utils.d.ts +0 -23
  270. package/src/v-angular/datepicker/components/calendar/calendar.component.d.ts +0 -36
  271. package/src/v-angular/datepicker/components/calendar-control/calendar-control.component.d.ts +0 -30
  272. package/src/v-angular/datepicker/components/date-input/date-input.component.d.ts +0 -113
  273. package/src/v-angular/datepicker/components/datepicker/datepicker.component.d.ts +0 -76
  274. package/src/v-angular/datepicker/date-control-value-accessor/date-control-value-accessor.component.d.ts +0 -169
  275. package/src/v-angular/datepicker/datepicker.globals.d.ts +0 -13
  276. package/src/v-angular/datepicker/datepicker.models.d.ts +0 -50
  277. package/src/v-angular/datepicker/datepicker.module.d.ts +0 -19
  278. package/src/v-angular/datepicker/datepicker.utils.d.ts +0 -46
  279. package/src/v-angular/datepicker/directives/calendar-date.directive.d.ts +0 -21
  280. package/src/v-angular/datepicker/models/dates.d.ts +0 -15
  281. package/src/v-angular/datepicker/pipes/date-thook.pipe.d.ts +0 -8
  282. package/src/v-angular/datepicker/pipes/is-disabled.pipe.d.ts +0 -8
  283. package/src/v-angular/datepicker/pipes/matches.pipe.d.ts +0 -7
  284. package/src/v-angular/drag-drop/drag-drop.component.d.ts +0 -131
  285. package/src/v-angular/drag-drop/drag-drop.models.d.ts +0 -49
  286. package/src/v-angular/drag-drop/drag-drop.module.d.ts +0 -13
  287. package/src/v-angular/drag-drop/drag-drop.pipes.d.ts +0 -40
  288. package/src/v-angular/drag-drop/drag-drop.utils.d.ts +0 -33
  289. package/src/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +0 -135
  290. package/src/v-angular/dropdown/dropdown-list/index.d.ts +0 -1
  291. package/src/v-angular/dropdown/dropdown.component.d.ts +0 -129
  292. package/src/v-angular/dropdown/dropdown.module.d.ts +0 -13
  293. package/src/v-angular/dropdown/typeahead/index.d.ts +0 -5
  294. package/src/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +0 -40
  295. package/src/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +0 -34
  296. package/src/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +0 -61
  297. package/src/v-angular/dropdown/typeahead/typeahead.directive.d.ts +0 -78
  298. package/src/v-angular/dropdown/typeahead/typeahead.module.d.ts +0 -11
  299. package/src/v-angular/external-link/external-link.directive.d.ts +0 -17
  300. package/src/v-angular/external-link/external-link.module.d.ts +0 -8
  301. package/src/v-angular/i18n/i18n.module.d.ts +0 -15
  302. package/src/v-angular/i18n/i18n.test.module.d.ts +0 -27
  303. package/src/v-angular/info-circle/info-circle.component.d.ts +0 -16
  304. package/src/v-angular/info-circle/info-circle.module.d.ts +0 -10
  305. package/src/v-angular/input/input.component.d.ts +0 -112
  306. package/src/v-angular/input/input.module.d.ts +0 -13
  307. package/src/v-angular/input-mask/config.d.ts +0 -6
  308. package/src/v-angular/input-mask/constants.d.ts +0 -2
  309. package/src/v-angular/input-mask/input-mask-format.pipe.d.ts +0 -8
  310. package/src/v-angular/input-mask/input-mask.directive.d.ts +0 -39
  311. package/src/v-angular/input-mask/input-mask.module.d.ts +0 -11
  312. package/src/v-angular/input-mask/input-mask.types.d.ts +0 -20
  313. package/src/v-angular/modal/dialog/dialog.component.d.ts +0 -72
  314. package/src/v-angular/modal/fold-out/fold-out.component.d.ts +0 -51
  315. package/src/v-angular/modal/fold-out/fold-out.directive.d.ts +0 -6
  316. package/src/v-angular/modal/fold-out/keyboard-key.enum.d.ts +0 -8
  317. package/src/v-angular/modal/modal.globals.d.ts +0 -13
  318. package/src/v-angular/modal/modal.module.d.ts +0 -15
  319. package/src/v-angular/modal/modal.types.d.ts +0 -6
  320. package/src/v-angular/modal/slide-out/slide-out.component.d.ts +0 -85
  321. package/src/v-angular/pagination/pagination.component.d.ts +0 -64
  322. package/src/v-angular/pagination/pagination.module.d.ts +0 -12
  323. package/src/v-angular/radio/radio-group/radio-group.component.d.ts +0 -42
  324. package/src/v-angular/radio/radio.component.d.ts +0 -63
  325. package/src/v-angular/radio/radio.module.d.ts +0 -11
  326. package/src/v-angular/slug/slug.module.d.ts +0 -8
  327. package/src/v-angular/slug/slug.pipe.d.ts +0 -12
  328. package/src/v-angular/table/table.component.d.ts +0 -248
  329. package/src/v-angular/table/table.directive.d.ts +0 -36
  330. package/src/v-angular/table/table.models.d.ts +0 -78
  331. package/src/v-angular/table/table.module.d.ts +0 -12
  332. package/src/v-angular/table/table.tools.d.ts +0 -5
  333. package/src/v-angular/table/tr-thook.pipe.d.ts +0 -7
  334. package/src/v-angular/tabs/tab.directive.d.ts +0 -37
  335. package/src/v-angular/tabs/tabs.component.d.ts +0 -65
  336. package/src/v-angular/tabs/tabs.models.d.ts +0 -25
  337. package/src/v-angular/tabs/tabs.module.d.ts +0 -11
  338. package/src/v-angular/textarea/textarea.component.d.ts +0 -57
  339. package/src/v-angular/textarea/textarea.module.d.ts +0 -12
  340. package/src/v-angular/toast/toast-message.service.d.ts +0 -19
  341. package/src/v-angular/toast/toast.component.d.ts +0 -20
  342. package/src/v-angular/toast/toast.models.d.ts +0 -18
  343. package/src/v-angular/toast/toast.module.d.ts +0 -10
  344. package/src/v-angular/tooltip/tooltip.directive.d.ts +0 -108
  345. package/src/v-angular/tooltip/tooltip.module.d.ts +0 -8
  346. package/src/v-angular/tooltip/tooltip.styles.d.ts +0 -11
  347. package/v-angular/account-number/account-number.module.d.ts +0 -8
  348. package/v-angular/account-number/account-number.pipe.d.ts +0 -32
  349. package/v-angular/account-number/index.d.ts +0 -2
  350. package/v-angular/alert/alert.component.d.ts +0 -20
  351. package/v-angular/alert/alert.models.d.ts +0 -13
  352. package/v-angular/alert/alert.module.d.ts +0 -8
  353. package/v-angular/alert/index.d.ts +0 -3
  354. package/v-angular/base-control-value-accessor/base-control-value-accessor.component.d.ts +0 -134
  355. package/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +0 -7
  356. package/v-angular/base-control-value-accessor/index.d.ts +0 -2
  357. package/v-angular/breadcrumbs/breadcrumbs.component.d.ts +0 -18
  358. package/v-angular/breadcrumbs/breadcrumbs.module.d.ts +0 -10
  359. package/v-angular/breadcrumbs/index.d.ts +0 -2
  360. package/v-angular/button/button.component.d.ts +0 -62
  361. package/v-angular/button/button.module.d.ts +0 -10
  362. package/v-angular/button/index.d.ts +0 -2
  363. package/v-angular/card/card.component.d.ts +0 -5
  364. package/v-angular/card/card.module.d.ts +0 -8
  365. package/v-angular/card/index.d.ts +0 -2
  366. package/v-angular/character-countdown/character-countdown.directive.d.ts +0 -17
  367. package/v-angular/character-countdown/character-countdown.module.d.ts +0 -8
  368. package/v-angular/character-countdown/index.d.ts +0 -2
  369. package/v-angular/checkbox/checkbox.component.d.ts +0 -36
  370. package/v-angular/checkbox/checkbox.module.d.ts +0 -10
  371. package/v-angular/checkbox/index.d.ts +0 -2
  372. package/v-angular/core/core.globals.d.ts +0 -13
  373. package/v-angular/core/core.utils.d.ts +0 -23
  374. package/v-angular/core/index.d.ts +0 -2
  375. package/v-angular/datepicker/components/calendar/calendar.component.d.ts +0 -36
  376. package/v-angular/datepicker/components/calendar-control/calendar-control.component.d.ts +0 -30
  377. package/v-angular/datepicker/components/date-input/date-input.component.d.ts +0 -113
  378. package/v-angular/datepicker/components/datepicker/datepicker.component.d.ts +0 -76
  379. package/v-angular/datepicker/date-control-value-accessor/date-control-value-accessor.component.d.ts +0 -169
  380. package/v-angular/datepicker/datepicker.globals.d.ts +0 -13
  381. package/v-angular/datepicker/datepicker.models.d.ts +0 -50
  382. package/v-angular/datepicker/datepicker.module.d.ts +0 -19
  383. package/v-angular/datepicker/datepicker.utils.d.ts +0 -46
  384. package/v-angular/datepicker/directives/calendar-date.directive.d.ts +0 -21
  385. package/v-angular/datepicker/index.d.ts +0 -13
  386. package/v-angular/datepicker/models/dates.d.ts +0 -15
  387. package/v-angular/datepicker/pipes/date-thook.pipe.d.ts +0 -8
  388. package/v-angular/datepicker/pipes/is-disabled.pipe.d.ts +0 -8
  389. package/v-angular/datepicker/pipes/matches.pipe.d.ts +0 -7
  390. package/v-angular/drag-drop/drag-drop.component.d.ts +0 -131
  391. package/v-angular/drag-drop/drag-drop.models.d.ts +0 -49
  392. package/v-angular/drag-drop/drag-drop.module.d.ts +0 -13
  393. package/v-angular/drag-drop/drag-drop.pipes.d.ts +0 -40
  394. package/v-angular/drag-drop/drag-drop.utils.d.ts +0 -33
  395. package/v-angular/drag-drop/index.d.ts +0 -4
  396. package/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +0 -135
  397. package/v-angular/dropdown/dropdown-list/index.d.ts +0 -1
  398. package/v-angular/dropdown/dropdown.component.d.ts +0 -129
  399. package/v-angular/dropdown/dropdown.module.d.ts +0 -13
  400. package/v-angular/dropdown/index.d.ts +0 -5
  401. package/v-angular/dropdown/typeahead/index.d.ts +0 -5
  402. package/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +0 -40
  403. package/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +0 -34
  404. package/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +0 -61
  405. package/v-angular/dropdown/typeahead/typeahead.directive.d.ts +0 -78
  406. package/v-angular/dropdown/typeahead/typeahead.module.d.ts +0 -11
  407. package/v-angular/external-link/external-link.directive.d.ts +0 -17
  408. package/v-angular/external-link/external-link.module.d.ts +0 -8
  409. package/v-angular/external-link/index.d.ts +0 -2
  410. package/v-angular/i18n/i18n.module.d.ts +0 -15
  411. package/v-angular/i18n/i18n.test.module.d.ts +0 -27
  412. package/v-angular/i18n/index.d.ts +0 -2
  413. package/v-angular/info-circle/index.d.ts +0 -2
  414. package/v-angular/info-circle/info-circle.component.d.ts +0 -16
  415. package/v-angular/info-circle/info-circle.module.d.ts +0 -10
  416. package/v-angular/input/index.d.ts +0 -2
  417. package/v-angular/input/input.component.d.ts +0 -112
  418. package/v-angular/input/input.module.d.ts +0 -13
  419. package/v-angular/input-mask/config.d.ts +0 -6
  420. package/v-angular/input-mask/constants.d.ts +0 -2
  421. package/v-angular/input-mask/index.d.ts +0 -5
  422. package/v-angular/input-mask/input-mask-format.pipe.d.ts +0 -8
  423. package/v-angular/input-mask/input-mask.directive.d.ts +0 -39
  424. package/v-angular/input-mask/input-mask.module.d.ts +0 -11
  425. package/v-angular/input-mask/input-mask.types.d.ts +0 -20
  426. package/v-angular/modal/dialog/dialog.component.d.ts +0 -72
  427. package/v-angular/modal/fold-out/fold-out.component.d.ts +0 -51
  428. package/v-angular/modal/fold-out/fold-out.directive.d.ts +0 -6
  429. package/v-angular/modal/fold-out/keyboard-key.enum.d.ts +0 -8
  430. package/v-angular/modal/index.d.ts +0 -5
  431. package/v-angular/modal/modal.globals.d.ts +0 -13
  432. package/v-angular/modal/modal.module.d.ts +0 -15
  433. package/v-angular/modal/modal.types.d.ts +0 -6
  434. package/v-angular/modal/slide-out/slide-out.component.d.ts +0 -85
  435. package/v-angular/pagination/index.d.ts +0 -2
  436. package/v-angular/pagination/pagination.component.d.ts +0 -64
  437. package/v-angular/pagination/pagination.module.d.ts +0 -12
  438. package/v-angular/radio/index.d.ts +0 -3
  439. package/v-angular/radio/radio-group/radio-group.component.d.ts +0 -42
  440. package/v-angular/radio/radio.component.d.ts +0 -63
  441. package/v-angular/radio/radio.module.d.ts +0 -11
  442. package/v-angular/slug/index.d.ts +0 -2
  443. package/v-angular/slug/slug.module.d.ts +0 -8
  444. package/v-angular/slug/slug.pipe.d.ts +0 -12
  445. package/v-angular/table/index.d.ts +0 -5
  446. package/v-angular/table/table.component.d.ts +0 -248
  447. package/v-angular/table/table.directive.d.ts +0 -36
  448. package/v-angular/table/table.models.d.ts +0 -78
  449. package/v-angular/table/table.module.d.ts +0 -12
  450. package/v-angular/table/table.tools.d.ts +0 -5
  451. package/v-angular/table/tr-thook.pipe.d.ts +0 -7
  452. package/v-angular/tabs/index.d.ts +0 -4
  453. package/v-angular/tabs/tab.directive.d.ts +0 -37
  454. package/v-angular/tabs/tabs.component.d.ts +0 -65
  455. package/v-angular/tabs/tabs.models.d.ts +0 -25
  456. package/v-angular/tabs/tabs.module.d.ts +0 -11
  457. package/v-angular/textarea/index.d.ts +0 -2
  458. package/v-angular/textarea/textarea.component.d.ts +0 -57
  459. package/v-angular/textarea/textarea.module.d.ts +0 -12
  460. package/v-angular/toast/index.d.ts +0 -4
  461. package/v-angular/toast/toast-message.service.d.ts +0 -19
  462. package/v-angular/toast/toast.component.d.ts +0 -20
  463. package/v-angular/toast/toast.models.d.ts +0 -18
  464. package/v-angular/toast/toast.module.d.ts +0 -10
  465. package/v-angular/tooltip/index.d.ts +0 -2
  466. package/v-angular/tooltip/tooltip.directive.d.ts +0 -108
  467. package/v-angular/tooltip/tooltip.module.d.ts +0 -8
  468. package/v-angular/tooltip/tooltip.styles.d.ts +0 -11
  469. package/v-angular/v-angular.module.d.ts +0 -33
@@ -1,28 +1,3088 @@
1
- export * from './account-number';
2
- export * from './alert';
3
- export * from './base-control-value-accessor';
4
- export * from './breadcrumbs';
5
- export * from './button';
6
- export * from './card';
7
- export * from './core';
8
- export * from './character-countdown';
9
- export * from './checkbox';
10
- export * from './datepicker';
11
- export * from './drag-drop';
12
- export * from './dropdown';
13
- export * from './dropdown/dropdown-list';
14
- export * from './external-link';
15
- export * from './i18n';
16
- export * from './info-circle';
17
- export * from './input';
18
- export * from './input-mask';
19
- export * from './modal';
20
- export * from './pagination';
21
- export * from './radio';
22
- export * from './slug';
23
- export * from './table';
24
- export * from './tabs';
25
- export * from './textarea';
26
- export * from './toast';
27
- export * from './tooltip';
28
- export * from './v-angular.module';
1
+ import * as i0 from '@angular/core';
2
+ import { PipeTransform, EventEmitter, AfterViewInit, OnInit, OnDestroy, ChangeDetectorRef, TemplateRef, ElementRef, OnChanges, SimpleChanges, ViewContainerRef, QueryList, Renderer2, KeyValueDiffers, ComponentRef, NgZone, ModuleWithProviders, AfterContentInit, SimpleChange } from '@angular/core';
3
+ import * as i2 from '@angular/common';
4
+ import { WeekDay } from '@angular/common';
5
+ import * as i10 from '@angular/forms';
6
+ import { ControlValueAccessor, Validator, NgControl, AbstractControl, UntypedFormGroup, UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
7
+ import * as i5 from '@jsverse/transloco';
8
+ import { TranslocoScope, TranslocoService, TranslocoMissingHandler, TranslocoTranspiler, TranslocoMissingHandlerData, HashMap, TranslocoInterceptor, Translation, TranslocoConfig, TranslocoFallbackStrategy, TranslocoTranspilerFunction } from '@jsverse/transloco';
9
+ import * as rxjs from 'rxjs';
10
+ import { Observable, Subject, Subscription, OperatorFunction } from 'rxjs';
11
+ import * as i3 from '@sebgroup/green-angular/src/v-angular/external-link';
12
+ import * as i4 from '@angular/router';
13
+ import { RouterLink, Router } from '@angular/router';
14
+ import { NggvBaseControlValueAccessorComponent as NggvBaseControlValueAccessorComponent$1 } from '@sebgroup/green-angular/src/v-angular/base-control-value-accessor';
15
+ import * as i3$1 from '@sebgroup/green-angular/src/v-angular/i18n';
16
+ import * as i4$1 from '@sebgroup/green-angular/src/lib/shared';
17
+ import * as i12 from '@sebgroup/green-angular/src/v-angular/input-mask';
18
+ import { InputmaskOptions as InputmaskOptions$1 } from '@sebgroup/green-angular/src/v-angular/input-mask';
19
+ import * as _sebgroup_green_angular_v_angular from '@sebgroup/green-angular/v-angular';
20
+ import * as i5$1 from '@sebgroup/green-angular/src/v-angular/modal';
21
+ import { NggvDialogComponent as NggvDialogComponent$1, DialogEvent as DialogEvent$1 } from '@sebgroup/green-angular/src/v-angular/modal';
22
+ import * as i3$2 from '@angular/common/http';
23
+ import { HttpEvent } from '@angular/common/http';
24
+ import { Option as Option$1, DropdownUtils as DropdownUtils$1, OptionBase as OptionBase$1, OptionGroup as OptionGroup$1 } from '@sebgroup/green-angular/src/v-angular/core';
25
+ import { NggvInputComponent as NggvInputComponent$1 } from '@sebgroup/green-angular/src/v-angular/input';
26
+ import * as i5$2 from '@sebgroup/green-angular/src/v-angular/tooltip';
27
+ import * as i6 from '@sebgroup/green-angular/src/v-angular/character-countdown';
28
+ import Inputmask from 'inputmask';
29
+ import { ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
30
+ import * as i6$1 from '@sebgroup/green-angular/src/v-angular/button';
31
+
32
+ declare const enum SchemaType {
33
+ IBAN = "iban",
34
+ BBAN = "bban"
35
+ }
36
+ type AccountNumberSchema = 'iban' | 'bban';
37
+ declare const bbanPattern: RegExp;
38
+ declare const ibanPattern: RegExp;
39
+ /**
40
+ * Formats account number according to bban or iban standard, and adds non-breakable whitespace (\u00A0) between number groups.
41
+ *
42
+ * Example:
43
+ * BBAN format: 'XXXX XX XXX <XXXX>'
44
+ * IBAN format: 'SEXX XXXX XXXX XXXX <XXXX>'
45
+ *
46
+ * @param value - account number value to format.
47
+ * @param schema - accepts either 'iban' or 'bban'. If undefined, schema will be evaluated to 'iban' if value starts with 2 letters.
48
+ * @returns - formatted value, or original value if schema could not be determined
49
+ */
50
+ declare const formatAccountNumber: (value: string, schema?: AccountNumberSchema) => string;
51
+ /**
52
+ * Pipe for formatting account number according to bban or iban standard, and adds non-breakable whitespace (\u00A0) between number groups.
53
+ *
54
+ * BBAN format: 'XXXX XX XXX <XXXX>'
55
+ * IBAN format: 'SEXX XXXX XXXX XXXX <XXXX>'
56
+ */
57
+ declare class AccountNumberPipe implements PipeTransform {
58
+ transform: (value: string, schema?: AccountNumberSchema) => string;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccountNumberPipe, never>;
60
+ static ɵpipe: i0.ɵɵPipeDeclaration<AccountNumberPipe, "accountNumber", true>;
61
+ }
62
+
63
+ declare class NggvAccountNumberPipeModule {
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvAccountNumberPipeModule, never>;
65
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvAccountNumberPipeModule, never, [typeof i2.CommonModule, typeof AccountNumberPipe], [typeof AccountNumberPipe]>;
66
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvAccountNumberPipeModule>;
67
+ }
68
+
69
+ interface AlertMessage {
70
+ type: AlertType;
71
+ titleText?: string;
72
+ bodyText?: string;
73
+ linkText?: string;
74
+ actionText?: string;
75
+ }
76
+ declare enum AlertType {
77
+ Success = "success",
78
+ Information = "information",
79
+ Warning = "warning",
80
+ Danger = "danger"
81
+ }
82
+
83
+ declare class AlertComponent {
84
+ type: AlertType;
85
+ title?: string;
86
+ body?: string;
87
+ linkText?: string;
88
+ linkHref?: string;
89
+ actionText?: string;
90
+ closable: boolean;
91
+ closeAlert: EventEmitter<any>;
92
+ clickLink: EventEmitter<any>;
93
+ clickAction: EventEmitter<any>;
94
+ onClose(e: Event): void;
95
+ onLink(e: Event): void;
96
+ onAction(e: Event): void;
97
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
98
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "nggv-alert", never, { "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "body": { "alias": "body"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "linkHref": { "alias": "linkHref"; "required": false; }; "actionText": { "alias": "actionText"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; }, { "closeAlert": "closeAlert"; "clickLink": "clickLink"; "clickAction": "clickAction"; }, never, never, false, never>;
99
+ }
100
+
101
+ declare class NggvAlertModule {
102
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvAlertModule, never>;
103
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvAlertModule, [typeof AlertComponent], [typeof i2.CommonModule], [typeof AlertComponent]>;
104
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvAlertModule>;
105
+ }
106
+
107
+ declare class NggvBaseControlValueAccessorComponent implements AfterViewInit, OnInit, OnDestroy, ControlValueAccessor, Validator {
108
+ ngControl: NgControl;
109
+ protected translocoScope: TranslocoScope;
110
+ protected cdr: ChangeDetectorRef;
111
+ /** Custom template for displaying the content of the label.
112
+ * Specified by nesting an `<ng-template #labelTpl>Custom Label</ng-template>`.
113
+ */
114
+ labelContentTpl?: TemplateRef<undefined>;
115
+ /** Custom template for displaying value when the input is locked.
116
+ * Specified by nesting an `<ng-template #lockedTpl let-state>Custom locked content state: {{ state }}</ng-template>`.
117
+ */
118
+ lockedTpl?: TemplateRef<undefined>;
119
+ /** Reference to the native child input element. */
120
+ inputRef?: ElementRef;
121
+ /** Id of the host element and is accessible by the children, automatically generated if not provided. */
122
+ id: any;
123
+ /** Name of the child input element. */
124
+ name?: string;
125
+ /**
126
+ * Label of the child input element using the default template.
127
+ * Can be overwritten by specifying an `<ng-template #labelTpl>Custom Label</ng-template>`.
128
+ */
129
+ label?: string;
130
+ /** Role of the child input element. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles */
131
+ role?: string;
132
+ /** Value of the child input element. Mostly used in conjunction with radio and checkboxes. */
133
+ value: any;
134
+ /** An error string to be shown under invalid inputs. Overwrites any form errors. */
135
+ error?: string;
136
+ /** @deprecated Only one error should be shown under each field. */
137
+ errorList?: string[];
138
+ /** @deprecated Icon is always added before error. */
139
+ withErrorIcon?: boolean;
140
+ /** Description of the child input element. Both visibly and as `aria-label`. */
141
+ description?: string;
142
+ /** Determines if the label used to display the "description" text will be rendered to DOM */
143
+ descriptionIsVisible: boolean;
144
+ /** If set to true, the browser will try to automatically set focus to the child input element. */
145
+ autofocus: boolean;
146
+ /** Deafult value of the child input element. Used when resetting child element. */
147
+ defaultValue?: any;
148
+ /** If passed, the component will listen for updates and will reset its value. */
149
+ reset?: Observable<any>;
150
+ /** Adds (Optional) to input label. */
151
+ optional?: boolean | null | undefined;
152
+ private _locked;
153
+ /** Hides the input borders and displays current value as a text. */
154
+ set locked(value: boolean | null | undefined);
155
+ get locked(): boolean | null | undefined;
156
+ /** If set to true, using a controls disabled state will display input as locked. */
157
+ displayDisabledAsLocked?: boolean | null | undefined;
158
+ private _required;
159
+ /** Override the required flag of the component. */
160
+ set required(value: boolean | null | undefined);
161
+ /** Child input element is considered required and changes default label template accordingly. */
162
+ get required(): boolean | null | undefined;
163
+ private _invalid;
164
+ /** Override the invalid state of the component. */
165
+ set invalid(value: boolean);
166
+ /** The component has the invalid state, usually decorating the elements red and shows the first error. */
167
+ get invalid(): boolean;
168
+ private _valid;
169
+ /** Override the valid state of the component. */
170
+ set valid(value: boolean);
171
+ /** The component has the valid state, usually decorating the elements green. */
172
+ get valid(): boolean;
173
+ /** The component has the focused state, updated by the child input element's focus state. */
174
+ focused: boolean;
175
+ private _disabled;
176
+ /** Override the disabled state of the component. */
177
+ set disabled(value: boolean);
178
+ /** The component has the disabled state, usually muting the colors and removes interaction. */
179
+ get disabled(): boolean;
180
+ /** Emits focus events triggered by the child elements. */
181
+ readonly nggvFocus: EventEmitter<any>;
182
+ /** Emits focus events triggered by the child elements. */
183
+ readonly nggvBlur: EventEmitter<any>;
184
+ private _state;
185
+ /** @internal */
186
+ protected onChange: (_: any) => void;
187
+ /** @internal */
188
+ protected onTouched: () => void;
189
+ /** @internal */
190
+ protected onValidatorChange: () => void;
191
+ scope: string | undefined;
192
+ private _onDestroy$;
193
+ /**
194
+ * Creates a new BaseControlValueAccessorComponent.
195
+ * @param ngControl optional FormControl provided when component is used in a form, through dependency injection.
196
+ * @param translocoScope optional TranslocoScope provided if component is used within a scope.
197
+ */
198
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
199
+ ngOnInit(): void;
200
+ ngAfterViewInit(): void;
201
+ ngOnDestroy(): void;
202
+ detectChanges(): void;
203
+ /** @internal */
204
+ onFocus(event: Event): void;
205
+ /** @internal */
206
+ onBlur(event: Event): void;
207
+ /** Sets the focus on the actual input element. */
208
+ setFocus(): void;
209
+ /** Internal state/value that the native input element has. */
210
+ get state(): any;
211
+ /** Internal state/value that the native input element has. */
212
+ set state(value: any);
213
+ /** Writes a new value to the child input element. */
214
+ writeValue(value: any): void;
215
+ /** Registers a callback function that is called when the child input element's value changes. */
216
+ registerOnChange(fn: (_: any) => object): void;
217
+ /** Registers a callback function that is called when the child input element triggers on blur. */
218
+ registerOnTouched(fn: () => void): void;
219
+ /** Function that is called by the forms API when the control status changes to or from 'DISABLED'. */
220
+ setDisabledState(isDisabled: boolean): void;
221
+ /** Method that performs synchronous validation against the provided control. Used for internal validation. */
222
+ validate(_control: AbstractControl): {
223
+ [name: string]: any;
224
+ } | null;
225
+ /** Registers a callback function to call when the validator inputs change. */
226
+ registerOnValidatorChange(fn: () => void): void;
227
+ /** Returns the first entry in an error object. */
228
+ get firstError(): {
229
+ code: string;
230
+ params: any;
231
+ } | null;
232
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvBaseControlValueAccessorComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
233
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvBaseControlValueAccessorComponent, "ng-component", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "role": { "alias": "role"; "required": false; }; "value": { "alias": "value"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorList": { "alias": "errorList"; "required": false; }; "withErrorIcon": { "alias": "withErrorIcon"; "required": false; }; "description": { "alias": "description"; "required": false; }; "descriptionIsVisible": { "alias": "descriptionIsVisible"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "reset": { "alias": "reset"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; "displayDisabledAsLocked": { "alias": "displayDisabledAsLocked"; "required": false; }; "required": { "alias": "required"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "nggvFocus": "nggvFocus"; "nggvBlur": "nggvBlur"; }, ["labelContentTpl", "lockedTpl"], never, false, never>;
234
+ static ɵprov: i0.ɵɵInjectableDeclaration<NggvBaseControlValueAccessorComponent>;
235
+ }
236
+
237
+ declare class NggvBaseControlValueAccessorModule {
238
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvBaseControlValueAccessorModule, never>;
239
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvBaseControlValueAccessorModule, [typeof NggvBaseControlValueAccessorComponent], never, [typeof NggvBaseControlValueAccessorComponent]>;
240
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvBaseControlValueAccessorModule>;
241
+ }
242
+
243
+ type Breadcrumb = {
244
+ /** Title shown for the breadcrumb link. */
245
+ title: string;
246
+ /** The link which is redirected to when clicked. Can be relative with external set to `false`. */
247
+ href: string;
248
+ /** Flags this link to be either internal using router link or external using browser location. */
249
+ external?: boolean;
250
+ };
251
+ declare class NggvBreadcrumbsComponent {
252
+ /** Special property used for selecting DOM elements during automated UI testing. */
253
+ thook: string | null | undefined;
254
+ /** List of breadcrumbs to present. */
255
+ breadcrumbs: Breadcrumb[];
256
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvBreadcrumbsComponent, never>;
257
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvBreadcrumbsComponent, "nggv-breadcrumbs", never, { "thook": { "alias": "thook"; "required": false; }; "breadcrumbs": { "alias": "breadcrumbs"; "required": false; }; }, {}, never, never, false, never>;
258
+ }
259
+
260
+ declare class NggvBreadcrumbsModule {
261
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvBreadcrumbsModule, never>;
262
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvBreadcrumbsModule, [typeof NggvBreadcrumbsComponent], [typeof i2.CommonModule, typeof i3.NggvExternalLinkDirectiveModule, typeof i4.RouterModule], [typeof NggvBreadcrumbsComponent]>;
263
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvBreadcrumbsModule>;
264
+ }
265
+
266
+ type ButtonTypes = 'button' | 'submit' | 'reset' | 'link';
267
+ declare enum ButtonStyle {
268
+ Primary = 0,
269
+ Secondary = 1,
270
+ Alternative = 2,
271
+ Delete = 3,
272
+ DeleteConfirm = 4,
273
+ Ghost = 5,
274
+ GhostDark = 6,
275
+ Link = 7
276
+ }
277
+ /**
278
+ * Buttons allow users to take action with a single tap.
279
+ * https://designlibrary.sebgroup.com/components/component-button
280
+ */
281
+ declare class NggvButtonComponent extends NggvBaseControlValueAccessorComponent$1 implements OnInit, OnChanges {
282
+ ngControl: NgControl;
283
+ protected translocoScope: TranslocoScope;
284
+ protected cdr: ChangeDetectorRef;
285
+ /** Special property used for selecting DOM elements during automated UI testing. */
286
+ thook: string | null | undefined;
287
+ /** Type of button to one of button|submit|reset|link, where link creates an anchor tag. */
288
+ type: ButtonTypes;
289
+ /** Style of the button to one of Primary|Secondary|Alternative|Delete|DeleteConfirm|Ghost|GhostDark|Link. */
290
+ buttonStyle: ButtonStyle;
291
+ /** Size of the button to be smaller. */
292
+ small: boolean;
293
+ /** Where the button should link to if {@link ButtonTypes} is set to link. */
294
+ href?: string;
295
+ /** @internal Determines if the the href property should use internal routing. */
296
+ external: boolean;
297
+ /** @internal The classes determined by the buttonStyle and small properties. */
298
+ buttonClasses: {
299
+ [className: string]: boolean;
300
+ };
301
+ /** Emits click events triggered by the button or link.
302
+ * Use instead of click to avoid triggering events on disabled buttons and links.
303
+ */
304
+ nggvClick: EventEmitter<any>;
305
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
306
+ /** @internal */
307
+ static buttonStyleClasses(type: ButtonStyle, small: boolean): {
308
+ small: boolean;
309
+ primary: boolean;
310
+ secondary: boolean;
311
+ tertiary: boolean;
312
+ danger: boolean;
313
+ ghost: boolean;
314
+ 'ghost-light': boolean;
315
+ };
316
+ ngOnInit(): void;
317
+ ngOnChanges(changes: SimpleChanges): void;
318
+ /** @internal */
319
+ onClick(event: Event): void;
320
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvButtonComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
321
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvButtonComponent, "nggv-button", never, { "thook": { "alias": "thook"; "required": false; }; "type": { "alias": "type"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "small": { "alias": "small"; "required": false; }; "href": { "alias": "href"; "required": false; }; }, { "nggvClick": "nggvClick"; }, never, ["*"], false, never>;
322
+ }
323
+
324
+ declare class NggvButtonModule {
325
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvButtonModule, never>;
326
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvButtonModule, [typeof NggvButtonComponent], [typeof i2.CommonModule, typeof i3.NggvExternalLinkDirectiveModule, typeof i4.RouterModule], [typeof NggvButtonComponent]>;
327
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvButtonModule>;
328
+ }
329
+
330
+ declare class NggvCardComponent {
331
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvCardComponent, never>;
332
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvCardComponent, "nggv-card", never, {}, {}, never, ["*"], false, never>;
333
+ }
334
+
335
+ declare class NggvCardModule {
336
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvCardModule, never>;
337
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvCardModule, [typeof NggvCardComponent], [typeof i2.CommonModule], [typeof NggvCardComponent]>;
338
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvCardModule>;
339
+ }
340
+
341
+ declare global {
342
+ interface Window {
343
+ /** Counter for unique identifiers */
344
+ nggv: {
345
+ ids: {
346
+ [namespace: string]: number;
347
+ default: number;
348
+ };
349
+ nextId: (namespace?: string) => string;
350
+ };
351
+ }
352
+ }
353
+
354
+ interface Option<K, V> {
355
+ key: K;
356
+ label: V;
357
+ disabled?: boolean;
358
+ }
359
+ interface OptionGroup<T extends Option<any, any>> {
360
+ label: string;
361
+ options: T[];
362
+ disabled?: boolean;
363
+ }
364
+ type OptionBase<T extends Option<any, any>> = T | OptionGroup<T>;
365
+ declare class DropdownUtils<K = string | null, V = string, T extends Option<K, V> = Option<K, V>> {
366
+ flattenOptions(options: OptionBase<T>[] | undefined, mustHaveLabel: boolean): T[];
367
+ /**
368
+ * Returns true if argument is an {@link OptionGroup}.
369
+ * @param option the object to check.
370
+ */
371
+ isGroup(option: OptionBase<T>): option is OptionGroup<T>;
372
+ deepEqual(original: any, change: any): boolean;
373
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownUtils<any, any, any>, never>;
374
+ static ɵprov: i0.ɵɵInjectableDeclaration<DropdownUtils<any, any, any>>;
375
+ }
376
+
377
+ declare class CharacterCountdownDirective {
378
+ private readonly viewContainerRef;
379
+ private readonly templateRef;
380
+ set maxlength(value: number | undefined);
381
+ set currentLength(value: number);
382
+ private _maxlength;
383
+ private _currentLength;
384
+ private isViewCreated;
385
+ private context;
386
+ constructor(viewContainerRef: ViewContainerRef, templateRef: TemplateRef<any>);
387
+ updateContext(): void;
388
+ calculateCharactersLeft: (max: number, current: number) => number;
389
+ static ɵfac: i0.ɵɵFactoryDeclaration<CharacterCountdownDirective, never>;
390
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CharacterCountdownDirective, "[nggvCharacterCountdown]", never, { "maxlength": { "alias": "nggvCharacterCountdown"; "required": false; }; "currentLength": { "alias": "nggvCharacterCountdownCurrentLength"; "required": false; }; }, {}, never, never, false, never>;
391
+ }
392
+
393
+ declare class NggvCharacterCountdownDirectiveModule {
394
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvCharacterCountdownDirectiveModule, never>;
395
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvCharacterCountdownDirectiveModule, [typeof CharacterCountdownDirective], [typeof i2.CommonModule], [typeof CharacterCountdownDirective]>;
396
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvCharacterCountdownDirectiveModule>;
397
+ }
398
+
399
+ /**
400
+ * Checkboxes allow a user to toggle an option on or off, or make multiple choices in a set of available options.
401
+ * https://designlibrary.sebgroup.com/components/component-checkbox
402
+ */
403
+ declare class NggvCheckboxComponent extends NggvBaseControlValueAccessorComponent$1 {
404
+ ngControl: NgControl;
405
+ protected translocoScope: TranslocoScope;
406
+ protected cdr: ChangeDetectorRef;
407
+ /**
408
+ * Special property used for selecting DOM elements during automated UI testing.
409
+ */
410
+ thook: string | null | undefined;
411
+ get isSmall(): boolean;
412
+ get isLarge(): boolean;
413
+ /**
414
+ * Sets the displayed size of the checkbox
415
+ */
416
+ size: 'small' | 'large';
417
+ optionalLabel: string;
418
+ readonly valueChange: EventEmitter<string>;
419
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
420
+ /** @internal */
421
+ onInputChange(event: Event): void;
422
+ /** Writes a new value of true or false based on if argument matches this components value property. */
423
+ writeValue(value: any): void;
424
+ /** Registers a callback function that is called when the child input element's value changes. */
425
+ registerOnChange(fn: (checked: any) => any): void;
426
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvCheckboxComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
427
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvCheckboxComponent, "nggv-checkbox", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "optionalLabel": { "alias": "optionalLabel"; "required": false; }; }, { "valueChange": "valueChange"; }, never, ["*"], false, never>;
428
+ }
429
+
430
+ declare class NggvCheckboxModule {
431
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvCheckboxModule, never>;
432
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvCheckboxModule, [typeof NggvCheckboxComponent], [typeof i2.CommonModule, typeof i3$1.NggvI18nModule, typeof i4$1.NggCoreWrapperModule], [typeof NggvCheckboxComponent]>;
433
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvCheckboxModule>;
434
+ }
435
+
436
+ /**
437
+ * Helper function to generate InputmaskOptions by requested locale.
438
+ * @param locale - requested locale. If not given, it'll use the browsers locale
439
+ * @returns InputmaskOptions with date settings
440
+ */
441
+ declare const getLocaleDateMask: (dateCharacters?: DateCharacters, locale?: string) => InputmaskOptions$1<Date>;
442
+ declare const getLocaleDateString: (locale?: string) => string;
443
+ declare const getFormatDateMask: (format: string, dateCharacters?: DateCharacters) => InputmaskOptions$1<Date>;
444
+ interface DateCharacters {
445
+ year: string;
446
+ month: string;
447
+ day: string;
448
+ }
449
+ declare const setDateFormatCharacters: (format: string, dateCharacters?: DateCharacters) => string;
450
+
451
+ declare abstract class DateControlValueAccessorComponent implements AfterViewInit, OnInit, OnChanges, OnDestroy, ControlValueAccessor, Validator {
452
+ ngControl: NgControl;
453
+ protected translocoScope: TranslocoScope;
454
+ protected elementRef: ElementRef;
455
+ protected cdr: ChangeDetectorRef;
456
+ private _transloco;
457
+ /** Custom template for displaying the content of the label.
458
+ * Specified by nesting an `<ng-template #labelTpl>Custom Label</ng-template>`.
459
+ */
460
+ labelContentTpl?: TemplateRef<undefined>;
461
+ /** Custom template for displaying value when the input is locked.
462
+ * Specified by nesting an `<ng-template #lockedTpl let-selectedDate>Custom locked content date: {{ selectedDate }}</ng-template>`.
463
+ */
464
+ lockedTpl?: TemplateRef<undefined>;
465
+ /** Reference to the native child input element. */
466
+ inputRef?: ElementRef;
467
+ /** Id of the host element and is accessible by the children, automatically generated if not provided. */
468
+ id: any;
469
+ /** Name of the child input element. */
470
+ name?: string;
471
+ /** Label of the child input element using the default template.
472
+ * Can be overwritten by specifying an `<ng-template #labelTpl>Custom Label</ng-template>`.
473
+ */
474
+ label?: string;
475
+ /** Text shown before input has a written value. Default current date format by locale of transloco */
476
+ set placeholder(value: string | undefined);
477
+ get placeholder(): string | undefined;
478
+ private _placeholder;
479
+ defaultPlaceholder?: string;
480
+ /** What characters to use in date placeholder, e.g. {year: 'Y', month: 'M', day: 'D'} */
481
+ dateCharacters?: DateCharacters;
482
+ /** Role of the child input element. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles */
483
+ role?: string;
484
+ /** Value of the child input element. Mostly used in conjunction with radio and checkboxes. */
485
+ value: any;
486
+ /** An error string to be shown under invalid inputs. Overwrites any form errors. */
487
+ error?: string;
488
+ /** A list of errors string to be shown under invalid inputs. Overwrites any form errors. */
489
+ errorList?: string[];
490
+ /** Adds an icon before each error message. */
491
+ withErrorIcon?: boolean;
492
+ /** Description of the child input element. Both visibly and as `aria-label`. */
493
+ description?: string;
494
+ /** If set to true, the browser will try to automatically set focus to the child input element. */
495
+ autofocus: boolean;
496
+ /** Default value of the child input element. */
497
+ defaultValue?: any;
498
+ /** If passed, the component will listen for updates and will reset its value. */
499
+ reset?: Observable<any>;
500
+ /** Adds (Optional) to input label. */
501
+ optional?: boolean | null | undefined;
502
+ /**
503
+ * Settings for input mask for dates based on locale
504
+ * @see {@link getLocaleDateMask} use this tool to generate settings for `dateInputMask`
505
+ */
506
+ set dateInputMask(dateMask: InputmaskOptions$1<Date>);
507
+ get dateInputMask(): InputmaskOptions$1<Date>;
508
+ private _dateInputMask;
509
+ private _locked;
510
+ /** Hides the input borders and displays current value as a text. */
511
+ set locked(value: boolean | null | undefined);
512
+ get locked(): boolean | null | undefined;
513
+ /** If set to true, using a controls disabled state will display input as locked. */
514
+ displayDisabledAsLocked?: boolean | null | undefined;
515
+ private _required;
516
+ /** Override the required flag of the component. */
517
+ set required(value: boolean | null | undefined);
518
+ /** Child input element is considered required and changes default label template accordingly. */
519
+ get required(): boolean | null | undefined;
520
+ private _invalid;
521
+ /** Override the invalid state of the component. */
522
+ set invalid(value: boolean);
523
+ /** The component has the invalid state, usually decorating the elements red and shows the first error. */
524
+ get invalid(): boolean;
525
+ private _valid;
526
+ /** Override the valid state of the component. */
527
+ set valid(value: boolean);
528
+ /** The component has the valid state, usually decorating the elements green. */
529
+ get valid(): boolean;
530
+ /** The component has the focused state, updated by the child input element's focus state. */
531
+ focused: boolean;
532
+ /** The component has the disabled state, usually muting the colors and removes interaction. */
533
+ disabled: boolean;
534
+ /** Locale for using correct language in the datepicker. */
535
+ locale: string | undefined;
536
+ /** Date format used for placeholder and input mask. Should be in lower case {year: 'y', month: 'm', day: 'd'} */
537
+ dateFormat: string | undefined;
538
+ /** Date locale used for placeholder and input mask. */
539
+ dateLocale: string | undefined;
540
+ /** Toggler for showing or hiding the input field */
541
+ protected showInputDateSrc: Subject<boolean>;
542
+ /** Emits focus events triggered by the child elements. */
543
+ readonly ngvFocus: EventEmitter<any>;
544
+ /** Emits focus events triggered by the child elements. */
545
+ readonly ngvBlur: EventEmitter<any>;
546
+ /** @internal */
547
+ protected onChange: (_: any) => void;
548
+ /** @internal */
549
+ protected onTouched: () => void;
550
+ /** @internal */
551
+ protected onValidatorChange: () => void;
552
+ private _state;
553
+ scope: string | undefined;
554
+ /** @internal */
555
+ private _onDestroy$;
556
+ /**
557
+ * Creates a new BaseControlValueAccessorComponent.
558
+ * @param ngControl optional FormControl provided when component is used in a form, through dependency injection.
559
+ */
560
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, elementRef: ElementRef, cdr: ChangeDetectorRef, _transloco: TranslocoService);
561
+ static parseDateLike(value: any): null | undefined | string;
562
+ ngOnInit(): void;
563
+ ngAfterViewInit(): void;
564
+ ngOnChanges(changes: SimpleChanges): void;
565
+ ngOnDestroy(): void;
566
+ /** @internal */
567
+ onFocus(event: Event): void;
568
+ /** @internal */
569
+ onBlur(event: Event): void;
570
+ detectChanges(): void;
571
+ /** Sets the focus on the actual input element. */
572
+ setFocus(): void;
573
+ /**
574
+ * @internal
575
+ * Update placeholder and input mask to match locale.
576
+ * Order if choice for locale:
577
+ * 1. dateLocale - Used for specifying which locale to be used for formatting date
578
+ * 2. locale - Unless dateLocale is not provided, use locale form current translation
579
+ * 3. transloco.getActiveLang - as last resort, get active language form trnasloco
580
+ * If locale is undefined, transloco.activeLang will be used instead.
581
+ */
582
+ updatePlaceholderAndMask(): void;
583
+ updateFormat(): void;
584
+ /** Internal state/value that the native input element has. */
585
+ get state(): any;
586
+ /**
587
+ * Internal state/value that the native input element has.
588
+ */
589
+ set state(value: any);
590
+ /** Writes a new value to the child input element. */
591
+ writeValue(value: any): void;
592
+ /** Registers a callback function that is called when the child input element's value changes. */
593
+ registerOnChange(fn: (value: any) => void): void;
594
+ /** Registers a callback function that is called when the child input element triggers on blur. */
595
+ registerOnTouched(fn: () => void): void;
596
+ /** Function that is called by the forms API when the control status changes to or from 'DISABLED'. */
597
+ setDisabledState(isDisabled: boolean): void;
598
+ /** Method that performs synchronous validation against the provided control. Used for internal validation. */
599
+ validate(_control: AbstractControl): {
600
+ [name: string]: any;
601
+ } | null;
602
+ /** Registers a callback function to call when the validator inputs change. */
603
+ registerOnValidatorChange(fn: () => void): void;
604
+ /** Returns the first entry in an error object. */
605
+ get firstError(): {
606
+ code: string;
607
+ params: Record<string, any>;
608
+ } | null;
609
+ private updateValue;
610
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateControlValueAccessorComponent, [{ optional: true; self: true; }, { optional: true; }, null, null, null]>;
611
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DateControlValueAccessorComponent, never, never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "dateCharacters": { "alias": "dateCharacters"; "required": false; }; "role": { "alias": "role"; "required": false; }; "value": { "alias": "value"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorList": { "alias": "errorList"; "required": false; }; "withErrorIcon": { "alias": "withErrorIcon"; "required": false; }; "description": { "alias": "description"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "reset": { "alias": "reset"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "dateInputMask": { "alias": "dateInputMask"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; "displayDisabledAsLocked": { "alias": "displayDisabledAsLocked"; "required": false; }; "required": { "alias": "required"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "dateLocale": { "alias": "dateLocale"; "required": false; }; }, { "ngvFocus": "ngvFocus"; "ngvBlur": "ngvBlur"; }, ["labelContentTpl", "lockedTpl"], never, true, never>;
612
+ }
613
+
614
+ type CalendarType = 'normal' | 'extended';
615
+ declare const enum Month {
616
+ January = 0,
617
+ February = 1,
618
+ March = 2,
619
+ April = 3,
620
+ May = 4,
621
+ June = 5,
622
+ July = 6,
623
+ August = 7,
624
+ September = 8,
625
+ October = 9,
626
+ November = 10,
627
+ December = 11
628
+ }
629
+ interface DisableDateConfig {
630
+ fromDate?: Date | undefined;
631
+ toDate?: Date | undefined;
632
+ excludeDates?: Date[] | undefined;
633
+ excludeDays?: WeekDay[] | undefined;
634
+ closingTime?: Date | undefined;
635
+ }
636
+ declare class CalendarMonth {
637
+ year: number;
638
+ month: number;
639
+ id: string;
640
+ _date: Date;
641
+ constructor(date?: Date);
642
+ /** Creates an instance based of input year and month. */
643
+ static fromObject(obj: {
644
+ year: number;
645
+ month: number;
646
+ }): CalendarMonth;
647
+ /** Returns a Date representation for the instance. */
648
+ get date(): Date;
649
+ /** Returns the string id representing the instance in form of 'yyyyMM'. */
650
+ valueOf(): string;
651
+ /** Returns a new instance for next month. */
652
+ nextMonth(): CalendarMonth;
653
+ /** Returns a new instance for previous month. */
654
+ previousMonth(): CalendarMonth;
655
+ /** Returns a new instance for next year. */
656
+ nextYear(): CalendarMonth;
657
+ /** Returns a new instance for previous year. */
658
+ previousYear(): CalendarMonth;
659
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonth, never>;
660
+ static ɵprov: i0.ɵɵInjectableDeclaration<CalendarMonth>;
661
+ }
662
+
663
+ declare const enum DateCss {
664
+ notWithinMonth = "not-within-month",
665
+ selected = "selected",
666
+ today = "today"
667
+ }
668
+ declare class CalendarDateDirective implements OnInit, OnChanges {
669
+ private elementRef;
670
+ calendarDate: Date;
671
+ selected: boolean;
672
+ notWithinMonth: boolean;
673
+ isToday: boolean;
674
+ disabled: boolean;
675
+ get nativeElement(): HTMLElement;
676
+ constructor(elementRef: ElementRef);
677
+ ngOnInit(): void;
678
+ ngOnChanges(changes: SimpleChanges): void;
679
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDateDirective, never>;
680
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CalendarDateDirective, "[calendarDate]", never, { "calendarDate": { "alias": "calendarDate"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "notWithinMonth": { "alias": "notWithinMonth"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
681
+ }
682
+
683
+ declare class CalendarComponent implements OnChanges {
684
+ dateClick: EventEmitter<Date>;
685
+ dateButtonRefs: QueryList<CalendarDateDirective>;
686
+ year: number;
687
+ month: number;
688
+ selected: Date | undefined;
689
+ locale: string | undefined;
690
+ minCalendarRows: number;
691
+ firstDayOfWeek: WeekDay;
692
+ type: CalendarType;
693
+ set disableDates(value: Date[] | undefined);
694
+ set disableWeekDays(value: WeekDay[] | undefined);
695
+ set firstValid(value: Date | undefined);
696
+ set lastValid(value: Date | undefined);
697
+ set closingTime(value: Date | undefined);
698
+ dateMatrix: Date[][];
699
+ disableDateConfig: DisableDateConfig;
700
+ private lastDayOfWeek;
701
+ ngOnChanges(changes: SimpleChanges): void;
702
+ clickDate(date: Date): void;
703
+ keyNavigation(event: KeyboardEvent): void;
704
+ getElementWithOffset(fromElement: HTMLElement | undefined, offsetDays: number, returnOnlyEnabled?: boolean): HTMLElement | undefined;
705
+ getNextFocusable(fromElement: HTMLElement | undefined): HTMLElement | undefined;
706
+ getPreviousFocusable(fromElement: HTMLElement | undefined): HTMLElement | undefined;
707
+ firstDayOfWeekElement(): HTMLElement | undefined;
708
+ lastDayOfWeekElement(): HTMLElement | undefined;
709
+ getDayOffset(from: WeekDay, to: WeekDay, direction?: 'forward' | 'back'): number;
710
+ private updateDisableDateConfig;
711
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
712
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "nggv-calendar", never, { "year": { "alias": "year"; "required": false; }; "month": { "alias": "month"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "minCalendarRows": { "alias": "minCalendarRows"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disableDates": { "alias": "disableDates"; "required": false; }; "disableWeekDays": { "alias": "disableWeekDays"; "required": false; }; "firstValid": { "alias": "firstValid"; "required": false; }; "lastValid": { "alias": "lastValid"; "required": false; }; "closingTime": { "alias": "closingTime"; "required": false; }; }, { "dateClick": "dateClick"; }, never, never, false, never>;
713
+ }
714
+
715
+ declare class CalendarControlComponent implements OnInit, OnChanges, OnDestroy {
716
+ private fb;
717
+ calendarChange: EventEmitter<CalendarMonth>;
718
+ activeCalendar: CalendarMonth;
719
+ locale: string | undefined;
720
+ type: CalendarType;
721
+ monthArray: Date[];
722
+ yearArray: Date[];
723
+ selectedCalendar: UntypedFormGroup;
724
+ private subs;
725
+ constructor(fb: UntypedFormBuilder);
726
+ ngOnChanges(changes: SimpleChanges): void;
727
+ ngOnInit(): void;
728
+ ngOnDestroy(): void;
729
+ viewPreviousMonth(): void;
730
+ viewNextMonth(): void;
731
+ viewPreviousYear(): void;
732
+ viewNextYear(): void;
733
+ keyNavigation(event: KeyboardEvent): void;
734
+ private subscribeToFormChanges;
735
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarControlComponent, never>;
736
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarControlComponent, "nggv-calendar-control", never, { "activeCalendar": { "alias": "activeCalendar"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "calendarChange": "calendarChange"; }, never, never, false, never>;
737
+ }
738
+
739
+ declare global {
740
+ interface Window {
741
+ /** Counter for unique identifiers */
742
+ ngv: {
743
+ ids: {
744
+ [namespace: string]: number;
745
+ default: number;
746
+ };
747
+ nextId: (namespace?: string) => string;
748
+ };
749
+ }
750
+ }
751
+
752
+ /**
753
+ * Date pickers simplify the task of selecting a date in a visual representation of a calendar.
754
+ * https://designlibrary.sebgroup.com/components/component-datepicker
755
+ *
756
+ * Selector: `nggv-dateinput`
757
+ *
758
+ * When focusing an date element, the calendar allows for navigation using both tab and arrow keys.
759
+ * Pressing 'esc' will close the calendar.
760
+ *
761
+ * Requires TranslocoLocale, but in turn allows for setting locale dynamically:
762
+ * https://jsverse.github.io/transloco/docs/plugins/locale/#manually-setting-locale
763
+ *
764
+ * To configure TranslocoLocale, follow this guide:
765
+ * https://jsverse.github.io/transloco/docs/plugins/locale/#setup
766
+ */
767
+ declare class DateInputComponent extends DateControlValueAccessorComponent implements OnDestroy {
768
+ ngControl: NgControl;
769
+ protected translocoScope: TranslocoScope;
770
+ protected transloco: TranslocoService;
771
+ protected elementRef: ElementRef;
772
+ protected cdr: ChangeDetectorRef;
773
+ toggleButtonRef?: ElementRef<HTMLButtonElement>;
774
+ /** Special property used for selecting DOM elements during automated UI testing. */
775
+ thook: string | null | undefined;
776
+ get isSmall(): boolean;
777
+ get isLarge(): boolean;
778
+ /** Set type of calendar: either 'normal' or 'expanded'. Default is 'normal'. */
779
+ type: CalendarType;
780
+ /** If set to true, the value will not be editable. */
781
+ readonly: boolean;
782
+ /**
783
+ * An array of Dates or parsable strings that corresponds with dates that should not be selectable in the calendar.
784
+ * I.e. bank holidays.
785
+ */
786
+ disableDates: (string | Date)[];
787
+ /**
788
+ * An array of weekdays that should not be selectable in the calendar.
789
+ * Can be used together with or instead of @Input() disableDates.
790
+ */
791
+ disableWeekDays: WeekDay[];
792
+ /** Mininum number of rows shown in the calendar. */
793
+ minRows: number;
794
+ /** Sets a from-date of which all dates before will be invalid. */
795
+ firstValid: Date | undefined;
796
+ /** Sets a to-date of which all dates after will be invalid. */
797
+ lastValid: Date | undefined;
798
+ /** Sets a closing time for today to toggle availability for today's date. */
799
+ closingTime: Date | undefined;
800
+ /** Sets first day of week in calendar. Defaults to Monday. */
801
+ firstDayOfWeek: WeekDay;
802
+ /** If set to true, it will allow to close the calendar on escape button click. */
803
+ closeCalendarOnEscape: boolean;
804
+ /** If the date-input should close when scrolling the viewport. Default: false*/
805
+ closeOnScroll: boolean;
806
+ /**
807
+ * Sets the displayed size of the date input field.
808
+ */
809
+ size: 'small' | 'large';
810
+ dynamicPosition: boolean;
811
+ /** @internal */
812
+ /** @internal */
813
+ shown: boolean;
814
+ /** @internal */
815
+ showInput$: Observable<boolean>;
816
+ /** Observable for listening to scrolls when the datepicker is open */
817
+ private documentScroll$;
818
+ /** Observable for listening to clicks outside of the datepicker. */
819
+ private documentClick$;
820
+ /** Subject used for unsubscribe pattern on above observable. */
821
+ private datepickerClosed$;
822
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, transloco: TranslocoService, elementRef: ElementRef, cdr: ChangeDetectorRef);
823
+ ngOnDestroy(): void;
824
+ /**
825
+ * @internal
826
+ * Called from the datepicker-component when a date button is clicked in the calendar.
827
+ *
828
+ * @param date date object emitted when selecting a date in the datepicker.
829
+ */
830
+ onDateChange(date: Date): void;
831
+ /**
832
+ * @internal
833
+ * Called when entering date manually in input field.
834
+ */
835
+ onValueChange(eventTarget: any): void;
836
+ /**
837
+ * @internal
838
+ * Listen to 'esc' keypress and closes datepicker if open.
839
+ */
840
+ keyListener(event: KeyboardEvent): void;
841
+ /** @internal */
842
+ toggleDatepicker(): void;
843
+ /** To externally trigger the datepicker to close. */
844
+ close(): void;
845
+ /**
846
+ * Set the shown state of the datepicker popup. If true the popup will be visible.
847
+ * If the state is set to false, call onTouched to notify any state listeners
848
+ * @param state the shown state which to set.
849
+ */
850
+ private setShown;
851
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, [{ optional: true; self: true; }, { optional: true; }, null, null, null]>;
852
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "nggv-dateinput,nggv-input[type=date]", never, { "thook": { "alias": "thook"; "required": false; }; "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disableDates": { "alias": "disableDates"; "required": false; }; "disableWeekDays": { "alias": "disableWeekDays"; "required": false; }; "minRows": { "alias": "minRows"; "required": false; }; "firstValid": { "alias": "firstValid"; "required": false; }; "lastValid": { "alias": "lastValid"; "required": false; }; "closingTime": { "alias": "closingTime"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "closeCalendarOnEscape": { "alias": "closeCalendarOnEscape"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "size": { "alias": "size"; "required": false; }; "dynamicPosition": { "alias": "dynamicPosition"; "required": false; }; }, {}, never, ["*"], false, never>;
853
+ }
854
+
855
+ declare class DatepickerComponent implements OnInit, OnChanges, OnDestroy {
856
+ private elementRef;
857
+ private renderer;
858
+ calendarTemplate: TemplateRef<any> | null;
859
+ /** Emits a Date upon selection. */
860
+ ngvDateChange: EventEmitter<Date>;
861
+ /** Sets first day of week in calendar. Defaults to Monday. */
862
+ firstDayOfWeek: WeekDay;
863
+ /** Bank holidays. */
864
+ disableDates: (string | Date)[];
865
+ /** Other non selectable dates. */
866
+ disableWeekDays: WeekDay[];
867
+ /** Minimum number of calendar rows shown. */
868
+ minCalendarRows: number;
869
+ /** Initial date set as selected. */
870
+ selected: Date | undefined;
871
+ /** Set locale for date format. */
872
+ locale: string | undefined;
873
+ /** Set type of calendar. */
874
+ type: CalendarType;
875
+ /** Sets a from date of which all dates before will be invalid. */
876
+ firstValid: Date | undefined;
877
+ /** Sets a to date of which all dates after will be invalid. */
878
+ lastValid: Date | undefined;
879
+ /** Sets a closing time for today to toggle availability for today's date. */
880
+ closingTime: Date | undefined;
881
+ /**
882
+ * When true, the datepicker will automatically choose to open above or below the input
883
+ * based on available space in the viewport, and will scale its height to fit if needed.
884
+ */
885
+ dynamicPosition: boolean;
886
+ /** Needed to determent where to place datepicker if dropdownPosition === 'top' */
887
+ size: 'small' | 'large';
888
+ get positionAttr(): "bottom" | "top";
889
+ get sizeAttr(): "small" | "large";
890
+ /** @internal */
891
+ activeCalendar: CalendarMonth;
892
+ /** @internal */
893
+ /** @internal */
894
+ weekdayArray: Date[];
895
+ /** @internal */
896
+ disabledDatesForActiveMonth: Date[];
897
+ datepickerPosition: 'bottom' | 'top';
898
+ private subs;
899
+ constructor(elementRef: ElementRef, renderer: Renderer2);
900
+ ngOnChanges(changes: SimpleChanges): void;
901
+ ngOnInit(): void;
902
+ ngOnDestroy(): void;
903
+ /**
904
+ * @internal
905
+ * Update local calendar variable and changes displayed calendar.
906
+ */
907
+ changeActiveCalendar(calendar: CalendarMonth): void;
908
+ /**
909
+ * @internal
910
+ * Returns a subset of all disabled dates.
911
+ *
912
+ * @param month current month to filter from
913
+ * @param disableDates master list of all disabled dates
914
+ * @returns a subset with current and adjacent months disabled dates
915
+ */
916
+ getDisabledDatesFor(calendar: CalendarMonth, disableDates?: (string | Date)[]): Date[];
917
+ /**
918
+ * Handles date-clicks from calendar compoentn. Emits event or changes calendar.
919
+ * @param date date clicked in calendar
920
+ */
921
+ dateClickHandler(date: Date): void;
922
+ setDropdownPosition(): void;
923
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
924
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "nggv-datepicker", never, { "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "disableDates": { "alias": "disableDates"; "required": false; }; "disableWeekDays": { "alias": "disableWeekDays"; "required": false; }; "minCalendarRows": { "alias": "minCalendarRows"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "type": { "alias": "type"; "required": false; }; "firstValid": { "alias": "firstValid"; "required": false; }; "lastValid": { "alias": "lastValid"; "required": false; }; "closingTime": { "alias": "closingTime"; "required": false; }; "dynamicPosition": { "alias": "dynamicPosition"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "ngvDateChange": "ngvDateChange"; }, never, ["*"], false, never>;
925
+ }
926
+
927
+ declare class IsDisabledPipe implements PipeTransform {
928
+ transform(value: Date, config?: DisableDateConfig): boolean;
929
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsDisabledPipe, never>;
930
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsDisabledPipe, "isDisabled", false>;
931
+ }
932
+
933
+ declare class MatchesPipe implements PipeTransform {
934
+ transform(value: Date, selected: Date | undefined): boolean;
935
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchesPipe, never>;
936
+ static ɵpipe: i0.ɵɵPipeDeclaration<MatchesPipe, "matches", false>;
937
+ }
938
+
939
+ declare class DateThookPipe implements PipeTransform {
940
+ get today(): Date;
941
+ transform(date: Date, isDisabled: boolean): string;
942
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateThookPipe, never>;
943
+ static ɵpipe: i0.ɵɵPipeDeclaration<DateThookPipe, "dateThook", false>;
944
+ }
945
+
946
+ declare class NggvDatepickerModule {
947
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvDatepickerModule, never>;
948
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvDatepickerModule, [typeof CalendarComponent, typeof CalendarDateDirective, typeof IsDisabledPipe, typeof DateThookPipe, typeof CalendarControlComponent, typeof DatepickerComponent, typeof DateInputComponent, typeof MatchesPipe], [typeof i2.CommonModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i5.TranslocoModule, typeof i12.NggvInputMaskModule, typeof i4$1.NggCoreWrapperModule], [typeof DateInputComponent, typeof DatepickerComponent]>;
949
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvDatepickerModule>;
950
+ }
951
+
952
+ declare const sortWeekDays: (firstDayOfWeek: WeekDay) => WeekDay[];
953
+ /**
954
+ * Safely converts a value to a Date object, handling timezone issues.
955
+ * If the value is already a Date, returns it as-is.
956
+ * If it's a string in ISO format (YYYY-MM-DD), parses it in local timezone.
957
+ * Otherwise, uses standard Date constructor.
958
+ */
959
+ declare const toLocalDate: (value: Date | string) => Date;
960
+ /** Sets labels and sort weekday arrays based off of first day of week. */
961
+ declare const getSortedWeekDays: (firstDayOfWeek: WeekDay, startDate?: Date) => Date[];
962
+ /** Generate a matrix of dates used to visualize a calendar month. */
963
+ declare const generateDateMatrix: (month: number, year: number, minWeeks: number | undefined, firstDayOfWeek: WeekDay) => Date[][];
964
+ /** Returns the first date used in the calendars first button. */
965
+ declare const firstCalendarDate: (date: Date, firstDayOfWeek: WeekDay) => Date;
966
+ declare const getDayOffset: (from: WeekDay, to: WeekDay, firstDayOfWeek: WeekDay, direction?: "forward" | "back") => number;
967
+ /** Returns an array of Dates for each of month. */
968
+ declare const getMonthArray: () => Date[];
969
+ /** Returns an array of Dates for the current year and the next. */
970
+ declare const getYearArray: () => Date[];
971
+ /** Returns true if the two dates have the same year, month and date values. */
972
+ declare const match: (a: Date | undefined, b: Date | undefined) => boolean;
973
+ declare const afterClosingHours: (closingHours: Date | undefined) => boolean;
974
+ /**
975
+ * Checks if a date is before control date, regardless of time.
976
+ *
977
+ * @param date - comparison date
978
+ * @param controlDate - date to compare against
979
+ * @returns - true if the comparison date is before the control date
980
+ */
981
+ declare const isBefore: (date: Date, controlDate: Date) => boolean;
982
+ /**
983
+ * Checks if a date is after control date, regardless of time.
984
+ *
985
+ * @param date - comparison date
986
+ * @param controlDate - date to compare against
987
+ * @returns - true if the comparison date is before the control date
988
+ */
989
+ declare const isAfter: (date: Date, controlDate: Date) => boolean;
990
+ /**
991
+ * Checks if a value can be used to initiate a new Date object.
992
+ *
993
+ * @param value any value
994
+ * @returns - true if value can be coersed to a Date.
995
+ */
996
+ declare const isValid: (value: any) => boolean;
997
+
998
+ type UploadState = 'local' | 'uploading' | 'aborted' | 'uploaded' | 'validating' | 'error' | 'deleted' | 'done';
999
+ type StateMap = {
1000
+ [key in UploadState]: string | string[];
1001
+ };
1002
+ interface LocalFile {
1003
+ raw: File | undefined;
1004
+ progress: number;
1005
+ uploadState: UploadState;
1006
+ uploadRequests: Subscription | undefined;
1007
+ }
1008
+ interface APIStatusReason {
1009
+ originatorId: string;
1010
+ reason: string;
1011
+ additionalInformation?: string;
1012
+ }
1013
+ interface APIStatusBaseProperties {
1014
+ internalStatusReasonCode: string | null;
1015
+ statusReasonInformation: APIStatusReason[] | null;
1016
+ }
1017
+ type APIStatus<T = APIStatusBaseProperties> = T & {
1018
+ id: string;
1019
+ status: string;
1020
+ };
1021
+ interface APIFileBaseProperties {
1022
+ principal: string;
1023
+ uploadDate: string;
1024
+ registrarId: string;
1025
+ registrarName: string;
1026
+ }
1027
+ type APIFile<T = APIFileBaseProperties, U = APIStatusBaseProperties> = APIStatus<U> & T & {
1028
+ id: string;
1029
+ fileName: string;
1030
+ };
1031
+ interface EventStateChange extends Partial<APIStatus> {
1032
+ uploadState: UploadState;
1033
+ fileName: string;
1034
+ }
1035
+ interface FileService<T = APIFileBaseProperties, U = APIStatusBaseProperties> {
1036
+ uploadFile(file: File): Observable<HttpEvent<APIFile<T, U>>>;
1037
+ fetchFiles(statuses?: string[]): Observable<Array<APIFile<T, U>>>;
1038
+ fetchStatus(id: string): Observable<APIStatus<U> | undefined>;
1039
+ /** Uses file as param to fetch file status. */
1040
+ fetchStatusFor?(file: APIFile<T, U>): Observable<APIStatus<U> | undefined>;
1041
+ removeFile(id: string): Observable<void>;
1042
+ /** Uses file as param to remove file. */
1043
+ removeFileFor?(file: APIFile<T, U>): Observable<void>;
1044
+ }
1045
+
1046
+ type DragDropState = 'normal' | 'over' | 'uploading' | 'done';
1047
+ declare class NggvDragDropComponent implements OnInit, OnDestroy {
1048
+ /** @internal */
1049
+ deleteModalRef: NggvDialogComponent$1;
1050
+ /** Special property used for selecting DOM elements during automated UI testing. */
1051
+ thook: string | null | undefined;
1052
+ /** Allowing selecting or dropping multiple files. */
1053
+ service: FileService | undefined;
1054
+ /** Mime types allowed. */
1055
+ accept?: string;
1056
+ /** Disables deletion or cancellation during defined states [local | uploading | aborted | uploaded | validating | error | deleted | done]. */
1057
+ disableRemove: UploadState[];
1058
+ /** File size limit in mega bytes. */
1059
+ fileLimit: number;
1060
+ /** Allowing selecting or dropping multiple files. */
1061
+ multiple: boolean;
1062
+ /** Determines if list should be shown under upload, disabling list disables multiple upload. */
1063
+ list: boolean;
1064
+ /** Frequency of requests which to send to the API requesting status updates. */
1065
+ throttle: number;
1066
+ /** Maximum number of attempts to request a status update from the API if service is unreachable. */
1067
+ retryAttempts: number;
1068
+ /** If selection of multiple file should be possible with a checkbox.
1069
+ * @experimental work in progress and should not yet be used.
1070
+ * @internal
1071
+ */
1072
+ selectable: boolean;
1073
+ /** Allows multiple values from `apiFile.status` to be mapped to a single file upload state. */
1074
+ stateMap: StateMap;
1075
+ /** Statuses allowed to be fetch during the initial load. Used to hide "done" states from list. */
1076
+ fetchStatuses: string[];
1077
+ /** Statuses allowed be shown when status is "rejected". Will fallback to generic message. `null` allows all. */
1078
+ errorCodes: string[] | null;
1079
+ /** Event triggered on initialization and every time the "uploadState" for a file changes. */
1080
+ stateChange: EventEmitter<EventStateChange>;
1081
+ /** Event triggered when view details is clicked. */
1082
+ detailsClick: EventEmitter<LocalFile & _sebgroup_green_angular_v_angular.APIStatusBaseProperties & {
1083
+ id: string;
1084
+ status: string;
1085
+ } & _sebgroup_green_angular_v_angular.APIFileBaseProperties & {
1086
+ id: string;
1087
+ fileName: string;
1088
+ }>;
1089
+ /** @internal */
1090
+ isDragDropAvailable: boolean;
1091
+ /** @internal */
1092
+ componentState: DragDropState;
1093
+ /** @internal */
1094
+ files: Map<string, LocalFile & APIFile>;
1095
+ /** @internal */
1096
+ lastFile: (LocalFile & APIFile) | undefined;
1097
+ /** @internal */
1098
+ selected: string[];
1099
+ /** @internal */
1100
+ loading: boolean;
1101
+ /** @internal */
1102
+ markedForDeletion: APIFile | undefined;
1103
+ /**
1104
+ * Initialize the component and warn if service is not defined. Will also fetch files for the list if enabled.
1105
+ */
1106
+ ngOnInit(): void;
1107
+ /** Destroy all event listeners and polling running */
1108
+ ngOnDestroy(): void;
1109
+ /** @internal Warn user trying to leave page before all uploads are done. Custom message only works in older browsers. */
1110
+ onBeforeUnload(event: Event): "You still have files uploading, are you sure you want to leave this page?" | undefined;
1111
+ /** @internal Event handler for when a file is held over the drop area */
1112
+ onDragEnter(event: DragEvent): void;
1113
+ /** @internal Event handler for when a file leaves the drop area */
1114
+ onDragLeave(event: DragEvent): void;
1115
+ /** @internal Event handler for when a file is dropped on the drop area or when `input` files are selected */
1116
+ onDrop(event: DragEvent | Event): void;
1117
+ /** @internal Event trigger for when delete button is pressed */
1118
+ onRemove(id: string, state: UploadState): void;
1119
+ /** @internal */
1120
+ onConfirmRemove(event: DialogEvent$1<LocalFile & APIFile>): void;
1121
+ /** @internal Event handler for when the files should be uploaded */
1122
+ onSubmit(): void;
1123
+ /**
1124
+ * @internal
1125
+ * Using the state map convert `apiFile.state` to one of {@link UploadState}
1126
+ * @param apiState the state given by the file to be used for mapping
1127
+ */
1128
+ determineUploadState(apiState: string): UploadState;
1129
+ /** @internal */
1130
+ uploadStateIsArray(state: string | string[]): state is string[];
1131
+ /** @internal used for translation templating parameters */
1132
+ translateParams(file: LocalFile & APIFile): {
1133
+ fileLimit: string;
1134
+ raw: File | undefined;
1135
+ progress: number;
1136
+ uploadState: UploadState;
1137
+ uploadRequests: rxjs.Subscription | undefined;
1138
+ internalStatusReasonCode: string | null;
1139
+ statusReasonInformation: _sebgroup_green_angular_v_angular.APIStatusReason[] | null;
1140
+ id: string;
1141
+ status: string;
1142
+ principal: string;
1143
+ uploadDate: string;
1144
+ registrarId: string;
1145
+ registrarName: string;
1146
+ fileName: string;
1147
+ };
1148
+ /**
1149
+ * Poll the status endpoint to determine when file is valid
1150
+ * @param file file used to check state and update
1151
+ * @param delay how long each interval should wait before sending a request
1152
+ */
1153
+ private checkValidity;
1154
+ private fallbackError;
1155
+ /**
1156
+ * Check so that no files are still validating
1157
+ */
1158
+ private allValidationDone;
1159
+ /**
1160
+ * Check so that no files are still uploading
1161
+ */
1162
+ private allUploadingDone;
1163
+ /**
1164
+ * Helper to update the component state to done and then back to normal
1165
+ */
1166
+ private setComponentStateDone;
1167
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvDragDropComponent, never>;
1168
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvDragDropComponent, "nggv-drag-drop", never, { "thook": { "alias": "thook"; "required": false; }; "service": { "alias": "service"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "disableRemove": { "alias": "disableRemove"; "required": false; }; "fileLimit": { "alias": "fileLimit"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "list": { "alias": "list"; "required": false; }; "throttle": { "alias": "throttle"; "required": false; }; "retryAttempts": { "alias": "retryAttempts"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "stateMap": { "alias": "stateMap"; "required": false; }; "fetchStatuses": { "alias": "fetchStatuses"; "required": false; }; "errorCodes": { "alias": "errorCodes"; "required": false; }; }, { "stateChange": "stateChange"; "detailsClick": "detailsClick"; }, never, never, false, never>;
1169
+ }
1170
+
1171
+ declare class ValuePipe implements PipeTransform {
1172
+ private readonly differs;
1173
+ constructor(differs: KeyValueDiffers);
1174
+ private differ;
1175
+ private values;
1176
+ transform<K, V>(input: null): null;
1177
+ transform<V>(input: {
1178
+ [key: string]: V;
1179
+ } | Map<string, V>): Array<V>;
1180
+ transform<V>(input: {
1181
+ [key: string]: V;
1182
+ } | Map<string, V> | null): Array<V> | null;
1183
+ transform<K, V>(input: Map<K, V>): Array<V>;
1184
+ transform<K, V>(input: Map<K, V> | null): Array<V> | null;
1185
+ static ɵfac: i0.ɵɵFactoryDeclaration<ValuePipe, never>;
1186
+ static ɵpipe: i0.ɵɵPipeDeclaration<ValuePipe, "value", false>;
1187
+ }
1188
+ /**
1189
+ * Stand-alone version of existing value pipe.
1190
+ *
1191
+ * Impure flag needed due to keep track of changes in complex values (such as objects or arrays).
1192
+ */
1193
+ declare class ValueImpurePipe implements PipeTransform {
1194
+ private readonly differs;
1195
+ private differ;
1196
+ private values;
1197
+ transform<K, V>(input: null): null;
1198
+ transform<V>(input: {
1199
+ [key: string]: V;
1200
+ } | Map<string, V>): Array<V>;
1201
+ transform<V>(input: {
1202
+ [key: string]: V;
1203
+ } | Map<string, V> | null): Array<V> | null;
1204
+ transform<K, V>(input: Map<K, V>): Array<V>;
1205
+ transform<K, V>(input: Map<K, V> | null): Array<V> | null;
1206
+ static ɵfac: i0.ɵɵFactoryDeclaration<ValueImpurePipe, never>;
1207
+ static ɵpipe: i0.ɵɵPipeDeclaration<ValueImpurePipe, "valueImpure", true>;
1208
+ }
1209
+
1210
+ declare class NggvDragDropModule {
1211
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvDragDropModule, never>;
1212
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvDragDropModule, [typeof ValuePipe, typeof NggvDragDropComponent], [typeof i3$2.HttpClientModule, typeof i5.TranslocoModule, typeof i5$1.NggvModalModule, typeof i4$1.NggCoreWrapperModule, typeof i2.CommonModule], [typeof NggvDragDropComponent]>;
1213
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvDragDropModule>;
1214
+ }
1215
+
1216
+ /**
1217
+ * A dropdown allows the user to select an option from a list.
1218
+ * Dropdowns enables users to make a quick selection of the available options for a specific entry.
1219
+ * https://designlibrary.sebgroup.com/components/component-dropdown
1220
+ */
1221
+ declare class NggvDropdownComponent<K = string | null | undefined, V = string | null | undefined, T extends Option$1<K, V> = Option$1<K, V>> extends NggvBaseControlValueAccessorComponent$1 implements OnDestroy, OnChanges {
1222
+ ngControl: NgControl;
1223
+ protected translocoScope: TranslocoScope;
1224
+ protected cdr: ChangeDetectorRef;
1225
+ protected dropdownUtils: DropdownUtils$1<K, V, T>;
1226
+ /** Custom template for displaying options and groups. */
1227
+ selectedContentTpl: TemplateRef<OptionBase$1<T>> | undefined;
1228
+ optionContentTpl: TemplateRef<OptionBase$1<any>> | undefined;
1229
+ groupLabelTpl: TemplateRef<OptionBase$1<any>> | undefined;
1230
+ /**
1231
+ * Special property used for selecting DOM elements during automated UI testing.
1232
+ */
1233
+ thook: string | null | undefined;
1234
+ get isSmall(): boolean;
1235
+ get isLarge(): boolean;
1236
+ /**
1237
+ * Sets the displayed size of the dropdown.
1238
+ */
1239
+ size: 'small' | 'large';
1240
+ /** Text shown before an option is selected. */
1241
+ placeholder?: string;
1242
+ /** Specific value for aria-label. If not provided, label/labelTpl will be used. */
1243
+ ariaLabel?: string;
1244
+ /** If the dropdown should close when scrolling the viewport. Default: false */
1245
+ closeOnScroll: boolean;
1246
+ /** List of {@link Option} and {@link OptionGroup} listed when dropdown is expanded. */
1247
+ set options(value: OptionBase$1<T>[]);
1248
+ get options(): OptionBase$1<T>[];
1249
+ /** The additional amount to show when option is scrolled into view. */
1250
+ scrollOffset: number;
1251
+ /**
1252
+ * Allow this component to add/ remove nullish options based on wether the control is required or not
1253
+ * Defaults to true.
1254
+ */
1255
+ allowControlNullishOption: boolean;
1256
+ /** Text to highlight in option */
1257
+ textToHighlight?: string;
1258
+ /**
1259
+ * If only one option exists in options[], default is to select it.
1260
+ * This input can be used to alter that behaviour so it doesn't automatically
1261
+ * select a value if it's the only one.
1262
+ * Defaults to true.
1263
+ */
1264
+ selectOnSingleOption: boolean;
1265
+ /**
1266
+ * Used to control if the dropdown list should select the current active element, when Space is pressed on the keyboard.
1267
+ * Primary usage is for typeahead, where the should be able to write a filter query containing spaces,
1268
+ * but not select the current active element with Space.
1269
+ */
1270
+ selectWithSpace: boolean;
1271
+ /**
1272
+ * Used to determine which changes should be handled by the dropdown.
1273
+ * If set to false, all changes will be handled by the dropdown.
1274
+ * If set to true, only changes that are distinct from the current value will be handled.
1275
+ * Defaults to true.
1276
+ */
1277
+ onlyHandleDistinctChanges: boolean;
1278
+ /**
1279
+ * Emits changes of the expanded state of the dropdown
1280
+ */
1281
+ expandedChange: EventEmitter<boolean>;
1282
+ /** @internal nullish option. */
1283
+ get defaultNullishOption(): OptionBase$1<any>;
1284
+ /** The current expanded state of the dropdown options. */
1285
+ expanded: boolean;
1286
+ /** The current option selected based on numeric index. */
1287
+ activeIndex: number;
1288
+ /** Subscribe if dropdown expanded to listen to click outside to close dropdown. */
1289
+ private onClickSubscription;
1290
+ /** Subscribe if dropdown expanded to listen to scroll outside to close dropdown. */
1291
+ private onScrollSubscription;
1292
+ keyEvent: KeyboardEvent;
1293
+ private _options;
1294
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef, dropdownUtils: DropdownUtils$1<K, V, T>);
1295
+ ngOnChanges(changes: SimpleChanges): void;
1296
+ ngOnDestroy(): void;
1297
+ /** @internal override to correctly set state from form value */
1298
+ writeValue(value: any): void;
1299
+ /** @internal */
1300
+ onSelectChange(option: T): void;
1301
+ onKeyUp(event: KeyboardEvent): void;
1302
+ /**
1303
+ * Closes the dropdown on click outside.
1304
+ */
1305
+ subscribeToOutsideClickEvent(): void;
1306
+ subscribeToOutsideScrollEvent(): void;
1307
+ /**
1308
+ * Set the dropdown value to given option.
1309
+ * @param value the dropdown option to select.
1310
+ */
1311
+ private updateModel;
1312
+ /** Toggle the expanded state of the dropdown options. */
1313
+ toggleDropdown(): void;
1314
+ /**
1315
+ * Set the expanded state of the dropdown options. If true the options are shown below the field.
1316
+ * Activate on click event to be able to close dropdown on click outside.
1317
+ * @param state the expanded state which to set.
1318
+ */
1319
+ setExpanded(state?: boolean): void;
1320
+ /**
1321
+ * Typecast anything to an {@link Option}.
1322
+ * @param option the object to typecast.
1323
+ */
1324
+ castOption(option: any): T;
1325
+ /**
1326
+ * Typecast anything to an {@link OptionGroup}.
1327
+ * @param group the object to typecast.
1328
+ */
1329
+ castGroup(group: any): OptionGroup$1<T>;
1330
+ /**
1331
+ * Returns true if argument is an {@link Option}.
1332
+ * @param option the object to check.
1333
+ */
1334
+ isOption(option: OptionBase$1<T>): option is OptionGroup$1<T>;
1335
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownComponent<any, any, any>, [{ optional: true; self: true; }, { optional: true; }, null, null]>;
1336
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownComponent<any, any, any>, "nggv-dropdown", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "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; }; "selectWithSpace": { "alias": "selectWithSpace"; "required": false; }; "onlyHandleDistinctChanges": { "alias": "onlyHandleDistinctChanges"; "required": false; }; }, { "expandedChange": "expandedChange"; }, ["selectedContentTpl", "optionContentTpl", "groupLabelTpl"], ["*"], false, never>;
1337
+ }
1338
+
1339
+ declare class NggvDropdownListComponent implements OnInit, OnChanges {
1340
+ protected translocoScope: TranslocoScope;
1341
+ private renderer;
1342
+ private elRef;
1343
+ set expanded(state: boolean);
1344
+ get expanded(): boolean;
1345
+ state: any;
1346
+ /** The additional amount to show when option is scrolled into view. */
1347
+ scrollOffset: number;
1348
+ optionContentTpl: TemplateRef<OptionBase$1<any>> | undefined;
1349
+ groupLabelTpl: TemplateRef<OptionBase$1<any>> | undefined;
1350
+ /** @internal List of references to the option elements. */
1351
+ optionRefs: QueryList<ElementRef<HTMLLIElement>> | undefined;
1352
+ /** Id of the host element and is accessible by the children, automatically generated if not provided. */
1353
+ id: any;
1354
+ /** Special property used for selecting DOM elements during automated UI testing. */
1355
+ thook: string | null | undefined;
1356
+ get positionAttr(): "bottom" | "top";
1357
+ options: any[];
1358
+ textToHighlight?: string;
1359
+ /**
1360
+ * Used to control if "selectedValueChanged" only should emit distinct changes, or each time a value is selected
1361
+ * When true, value is not emitted if there's no distinct change
1362
+ * When false, value is emitted every time an option is selected
1363
+ * */
1364
+ onlyEmitDistinctChanges: boolean;
1365
+ /**
1366
+ * Used to control if the dropdown list should select the current active element, when Space is pressed on the keyboard.
1367
+ * Primary usage is for typeahead, where the should be able to write a filter query containing spaces,
1368
+ * but not select the current active element with Space.
1369
+ */
1370
+ selectWithSpace: boolean;
1371
+ /**
1372
+ * When true, the dropdown will automatically choose to open above or below the input
1373
+ * based on available space in the viewport, and will scale its height to fit if needed.
1374
+ */
1375
+ dynamicPosition: boolean;
1376
+ selectedValueChanged: EventEmitter<any>;
1377
+ /**
1378
+ * Emitted when the dropdown is closed by user interactions (e.g. Escape or Tab) or other immediate close triggers.
1379
+ * This notifies external consumers that the dropdown was closed as a result of a user action.
1380
+ */
1381
+ closed: EventEmitter<void>;
1382
+ /**
1383
+ * Emitted after the dropdown has fully closed and internal cleanup has been performed.
1384
+ * Use this for post-close tasks that must run after subscriptions are torn down and resources released.
1385
+ */
1386
+ afterClose: EventEmitter<void>;
1387
+ /** The current active option based on numeric index. */
1388
+ activeIndex: number;
1389
+ scope: string | undefined;
1390
+ dropdownPosition: 'bottom' | 'top';
1391
+ private dropdownUtils;
1392
+ private _expanded;
1393
+ private closed$;
1394
+ selectedValue?: Option$1<string, any>;
1395
+ /** Subscribe if dropdown expanded to listen to click outside to close dropdown. */
1396
+ protected onClickSubscription: Subscription | undefined;
1397
+ /** Subscribe to to keyboard events only when list is open. */
1398
+ private onKeyDownSubscription;
1399
+ private onKeyUpSubscription;
1400
+ private _flattenedOptions;
1401
+ constructor(translocoScope: TranslocoScope, renderer: Renderer2, elRef: ElementRef);
1402
+ ngOnInit(): void;
1403
+ ngOnChanges(changes: SimpleChanges): void;
1404
+ /**
1405
+ * Returns true if argument is an {@link OptionGroup}.
1406
+ * @param option the object to check.
1407
+ */
1408
+ isGroup(option: any): boolean;
1409
+ /** @internal */
1410
+ updateState(option: any, event: Event): void;
1411
+ /**
1412
+ * @internal
1413
+ */
1414
+ setExpanded(expanded?: boolean): void;
1415
+ /**
1416
+ * @internal
1417
+ */
1418
+ refreshSelectedOption(): void;
1419
+ /**
1420
+ * @internal
1421
+ * @returns The active index (number) if option is found, -1 otherwise.
1422
+ * - If a selectedValue exists that's not nullish and that options is found, return that index
1423
+ * - Else, return first non nullish index
1424
+ * - If none of the above criterias are met, -1 are returned
1425
+ */
1426
+ getActiveIndex(): number;
1427
+ /**
1428
+ * @internal
1429
+ * evaluates wether the HTML element overflows
1430
+ * @param elem The HTMLElement to evaluate
1431
+ * */
1432
+ isOverflow(elem: HTMLElement): boolean;
1433
+ /**
1434
+ * Typecast anything to an {@link OptionGroup}.
1435
+ * @param group the object to typecast.
1436
+ */
1437
+ castGroup(group: any): any;
1438
+ /**
1439
+ * @internal
1440
+ * Disables default events.
1441
+ * @param event fired containing which key was pressed.
1442
+ */
1443
+ onKeyDown(event: KeyboardEvent): boolean;
1444
+ /**
1445
+ * @internal
1446
+ * Enter toggles the dropdown, home, end, and, arrows change the index.
1447
+ * Space selects the currently active option if `selectWithSpace` is true.
1448
+ * @param event fired containing which key was released.
1449
+ */
1450
+ onKeyUp(event: KeyboardEvent): void;
1451
+ /** @internal */
1452
+ subscribeToKeyUpEvents(): void;
1453
+ /** @internal */
1454
+ subscribeToKeyDownEvents(): void;
1455
+ /**
1456
+ * Scrolls focused result into view with a specified offset.
1457
+ * @param key the result index which to scroll to.
1458
+ */
1459
+ scrollToResult(option: any, focusElement?: boolean): void;
1460
+ /**
1461
+ * Calculates available space above and below the dropdown input,
1462
+ * sets dropdownPosition ('top' or 'bottom') accordingly,
1463
+ * and dynamically sets the max-height of the dropdown list to fit the viewport.
1464
+ */
1465
+ setDropdownPosition(): void;
1466
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownListComponent, [{ optional: true; }, null, null]>;
1467
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownListComponent, "nggv-dropdown-list", never, { "expanded": { "alias": "expanded"; "required": false; }; "state": { "alias": "state"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "optionContentTpl": { "alias": "optionContentTpl"; "required": false; }; "groupLabelTpl": { "alias": "groupLabelTpl"; "required": false; }; "id": { "alias": "id"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "options": { "alias": "options"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "onlyEmitDistinctChanges": { "alias": "onlyEmitDistinctChanges"; "required": false; }; "selectWithSpace": { "alias": "selectWithSpace"; "required": false; }; "dynamicPosition": { "alias": "dynamicPosition"; "required": false; }; }, { "selectedValueChanged": "selectedValueChanged"; "closed": "closed"; "afterClose": "afterClose"; }, never, never, false, never>;
1468
+ }
1469
+
1470
+ declare class NggvTypeaheadHighlightComponent implements OnChanges {
1471
+ /** The text that is displayed in the dropdown list */
1472
+ textContent?: string;
1473
+ /** The substring that should be highlighted within textContent */
1474
+ textToHighlight?: string;
1475
+ prefix?: string;
1476
+ match?: string;
1477
+ suffix?: string;
1478
+ text: string;
1479
+ input: string;
1480
+ /**
1481
+ * Regexp of characters that are allowed in textContent without being found in textToHighlight
1482
+ * Allow whitespaces.
1483
+ * */
1484
+ allowedNonMatchingChars: RegExp;
1485
+ ngOnChanges(changes: SimpleChanges): void;
1486
+ private updateValues;
1487
+ /**
1488
+ * Function that finds the start and end index of where the input is located within the text to display.
1489
+ * First occurence is returned. Allows for spaces to occur despite input not matching space.
1490
+ * Loops through each character in splittedText and when a char in splittedText equlas the first character of
1491
+ * splittedInput, evaluate wether it's match on the entire input.
1492
+ * - If it's => return indexes.
1493
+ * - If it's not => break out and check next char in outer loop.
1494
+ * @param splittedText the text content splitted in an array
1495
+ * @param splittedInput the input splitted in an array
1496
+ * @returns { start: number, end: number } Indexes of where the match starts and ends in the text displatyed
1497
+ */
1498
+ private getHighlightedPart;
1499
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTypeaheadHighlightComponent, never>;
1500
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvTypeaheadHighlightComponent, "nggv-typeahead-highlight", never, { "textContent": { "alias": "textContent"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; }, {}, never, never, false, never>;
1501
+ }
1502
+
1503
+ declare class NggvTypeaheadInputComponent extends NggvInputComponent$1 implements OnInit, OnDestroy {
1504
+ element: ElementRef;
1505
+ private renderer2;
1506
+ ngControl: NgControl;
1507
+ protected translocoScope: TranslocoScope;
1508
+ protected cdr: ChangeDetectorRef;
1509
+ /** Reference to the host dropdown */
1510
+ hostComponent: NggvDropdownComponent;
1511
+ /** Formats each item that is displayed as an option. Only applies format if the option if it implement Option interface. */
1512
+ resultFormatter?: (option: OptionBase$1<any>) => string;
1513
+ /** 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 */
1514
+ selectedFormatter?: (selected: OptionBase$1<any>) => string;
1515
+ get dropdownButton(): HTMLElement;
1516
+ /** Boolean to indicate wether the dropdown is expanded or not, to apply appropriate styling */
1517
+ expanded: boolean;
1518
+ /** Used to determine the height of the inputin html */
1519
+ buttonHeight?: number;
1520
+ /** @internal Used to determine wether the input has been moved or not */
1521
+ inputMoved: boolean;
1522
+ constructor(element: ElementRef, renderer2: Renderer2, ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
1523
+ ngOnInit(): void;
1524
+ /**
1525
+ * @internal
1526
+ * Allow space to be inputted as text
1527
+ * @param event fired containing which key was released.
1528
+ */
1529
+ onKeyUp(event: KeyboardEvent): void;
1530
+ /**
1531
+ * @internal
1532
+ * First time the dropdown is expanded, move the input sp it becomes a child of the dropdown button
1533
+ * to better reflect semantics and styling.
1534
+ */
1535
+ private moveInput;
1536
+ /**
1537
+ * @internal
1538
+ * When dropdown is expanded, focus on the input. If a value is selected, set it in the input.
1539
+ * When the dropdown is collapsed, empty the input from text.
1540
+ */
1541
+ private handleExpandedChange;
1542
+ /**
1543
+ * @internal Formats the selected option to display in the input. Interpolate the returned value
1544
+ * since we don't know the return type or label type.
1545
+ * @param value The selected value
1546
+ * @returns The formatted value
1547
+ */
1548
+ private formatSelected;
1549
+ /**
1550
+ * Sets the input programmatically instead of native HTML input event.
1551
+ * @param input
1552
+ */
1553
+ private setInput;
1554
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTypeaheadInputComponent, [null, null, { optional: true; self: true; }, { optional: true; }, null]>;
1555
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvTypeaheadInputComponent, "nggv-typeahead-input", never, { "hostComponent": { "alias": "hostComponent"; "required": false; }; "resultFormatter": { "alias": "resultFormatter"; "required": false; }; "selectedFormatter": { "alias": "selectedFormatter"; "required": false; }; }, {}, never, never, false, never>;
1556
+ }
1557
+
1558
+ declare class NggvTypeaheadDropdownListComponent extends NggvDropdownListComponent implements OnInit, OnDestroy {
1559
+ protected translocoScope: TranslocoScope;
1560
+ private renderer2;
1561
+ private element;
1562
+ hostComponent: NggvInputComponent$1;
1563
+ /** Formats each item that is displayed as an option. Only applies format if the option if it implement Option interface. */
1564
+ resultFormatter?: (option: OptionBase$1<any>) => string;
1565
+ /** 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 */
1566
+ selectedFormatter?: (selected: OptionBase$1<any>) => string;
1567
+ private _destroy$;
1568
+ constructor(translocoScope: TranslocoScope, renderer2: Renderer2, element: ElementRef);
1569
+ ngOnInit(): void;
1570
+ ngOnDestroy(): void;
1571
+ /** @Internal Subscribe to click outside dropdownList and input to close dropdownList */
1572
+ private subscribeToOutsideClickEvent;
1573
+ /** @Internal Update state of the host-input to reflect the selected value */
1574
+ private handleSelectedValueChanges;
1575
+ /** @Internal Expand the dropdown when input receives focus. If no state, set empty string in input */
1576
+ private handleFocusChanges;
1577
+ /**
1578
+ * @internal Formats the selected option to display in the input. Interpolate the returned value
1579
+ * since we don't know the return type or label type.
1580
+ * @param value The selected value
1581
+ * @returns The formatted value
1582
+ */
1583
+ private formatSelected;
1584
+ /**
1585
+ *
1586
+ * @param expanded boolean to set if dropdown is expanded
1587
+ */
1588
+ setExpanded(expanded?: boolean): void;
1589
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTypeaheadDropdownListComponent, [{ optional: true; skipSelf: true; }, null, null]>;
1590
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvTypeaheadDropdownListComponent, "nggv-typeahead-dropdown-list", never, { "hostComponent": { "alias": "hostComponent"; "required": false; }; "resultFormatter": { "alias": "resultFormatter"; "required": false; }; "selectedFormatter": { "alias": "selectedFormatter"; "required": false; }; }, {}, never, never, false, never>;
1591
+ }
1592
+
1593
+ declare class NggvTypeaheadModule {
1594
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTypeaheadModule, never>;
1595
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvTypeaheadModule, [typeof NggvTypeaheadHighlightComponent, typeof NggvTypeaheadInputComponent, typeof NggvTypeaheadDropdownListComponent], [typeof i2.CommonModule, typeof i5$2.NggvTooltipModule], [typeof NggvTypeaheadHighlightComponent, typeof NggvTypeaheadInputComponent, typeof NggvTypeaheadDropdownListComponent]>;
1596
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvTypeaheadModule>;
1597
+ }
1598
+
1599
+ declare class NggvDropdownModule {
1600
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownModule, never>;
1601
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvDropdownModule, [typeof NggvDropdownComponent, typeof NggvDropdownListComponent], [typeof i2.CommonModule, typeof i4$1.NggCoreWrapperModule, typeof NggvTypeaheadModule, typeof i5$2.NggvTooltipModule, typeof i3$1.NggvI18nModule], [typeof NggvDropdownComponent, typeof NggvDropdownListComponent]>;
1602
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvDropdownModule>;
1603
+ }
1604
+
1605
+ declare class NggvTypeaheadDirective<K = string | null | undefined, V = string | null | undefined, T extends Option$1<K, V> = Option$1<K, V>> implements OnInit, OnDestroy {
1606
+ private viewContainerRef;
1607
+ private element;
1608
+ private hostDropdown;
1609
+ private hostInput;
1610
+ /** Function that filter the inputvalue */
1611
+ set nggvTypeahead(value: OperatorFunction<string, T[]> | undefined);
1612
+ /** Formats each item that is displayed as an option. Only applies format if the option if it implement Option interface. */
1613
+ resultFormatter?: (option: OptionBase$1<any>) => string;
1614
+ /** 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 */
1615
+ selectedFormatter?: (selected: OptionBase$1<any>) => string;
1616
+ /** Allow option to be unselected in the dropdown even if it is required. Defaults to true */
1617
+ allowUnselect: boolean;
1618
+ /** Custom label for the unselect option */
1619
+ unselectLabel?: string;
1620
+ /** Custom label for the empty option */
1621
+ emptyOptionLabel?: string;
1622
+ /** Emits the entered string the user has written in the input */
1623
+ filterPhraseChange: EventEmitter<string>;
1624
+ /** Forward text inputs to apply the filter function*/
1625
+ onNggvInput(event: any): void;
1626
+ /** Helper to the determine if the host is nggv-drodpown or nggv-input*/
1627
+ get hostIsDropdown(): boolean;
1628
+ /** Predefined options */
1629
+ get defaultNullishOption(): OptionBase$1<any>;
1630
+ get emptyOption(): OptionBase$1<any>;
1631
+ /** Name of the component. nggv-dropdown if NggvDropdownComponent or nggv-input if NggvInputComponent */
1632
+ get localName(): any;
1633
+ dropdownListComponent: ComponentRef<NggvTypeaheadDropdownListComponent>;
1634
+ inputComponent: ComponentRef<NggvTypeaheadInputComponent>;
1635
+ private typeaheadFunction?;
1636
+ private inputValue$;
1637
+ private inputSubscription$?;
1638
+ private onDestroy$;
1639
+ constructor(viewContainerRef: ViewContainerRef, element: ElementRef, hostDropdown: NggvDropdownComponent, hostInput: NggvInputComponent$1);
1640
+ ngOnInit(): void;
1641
+ ngOnDestroy(): void;
1642
+ /**
1643
+ * @internal
1644
+ * Core functionality of typeahead. Emits input, then filters the result based on the supplied function
1645
+ * If directive is applied on nggv-input, manually show or hide options in the list.
1646
+ * If directive is applied on nggv-dropdown, let the dropdown itself choose when to open or close
1647
+ */
1648
+ private handleInputChanges;
1649
+ /**
1650
+ * @internal
1651
+ * Creates a nggv-input if the host itself is not a text-input
1652
+ * Set styles to not display the input when closed
1653
+ * Trigger filtering when changes occur in the field
1654
+ * */
1655
+ private createInput;
1656
+ /** @internal Creates a nggv-dropdown-list if the host itself is a nggv-input */
1657
+ private createDropdownList;
1658
+ /**
1659
+ * @internal Sets the options the user can select.
1660
+ * If the host is a nggv-dropdown, utilize the dropdown itself to display the options
1661
+ * If the host is a nggv-input, use the created nggv-dropdown-list to displaye the options
1662
+ * @param filteredValues The options to display in the dropdown
1663
+ * @param emptyInput If the input is empty
1664
+ */
1665
+ private setOptions;
1666
+ /**
1667
+ * @internal Formats the available options to display in the dropdown list
1668
+ * @param options The selected value
1669
+ * @returns The formatted value
1670
+ */
1671
+ private formatOptions;
1672
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTypeaheadDirective<any, any, any>, [null, null, { optional: true; host: true; }, { optional: true; host: true; }]>;
1673
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NggvTypeaheadDirective<any, any, any>, "nggv-input[nggvTypeahead], nggv-dropdown[nggvTypeahead]", never, { "nggvTypeahead": { "alias": "nggvTypeahead"; "required": false; }; "resultFormatter": { "alias": "resultFormatter"; "required": false; }; "selectedFormatter": { "alias": "selectedFormatter"; "required": false; }; "allowUnselect": { "alias": "allowUnselect"; "required": false; }; "unselectLabel": { "alias": "unselectLabel"; "required": false; }; "emptyOptionLabel": { "alias": "emptyOptionLabel"; "required": false; }; }, { "filterPhraseChange": "filterPhraseChange"; }, never, never, true, never>;
1674
+ }
1675
+
1676
+ /** Directive overrides routerLink attribute to allow external links. */
1677
+ declare class NggvExternalLinkDirective implements OnInit {
1678
+ protected link: RouterLink;
1679
+ /** If set to true, links will trigger a location change rather than an internal history push. */
1680
+ external: boolean;
1681
+ /**
1682
+ * Creates a new ExternalLinkDirective
1683
+ * @param link extracted routerLink metadata
1684
+ */
1685
+ constructor(link: RouterLink);
1686
+ ngOnInit(): void;
1687
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvExternalLinkDirective, never>;
1688
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NggvExternalLinkDirective, "a[routerLink]", never, { "external": { "alias": "external"; "required": false; }; }, {}, never, never, false, never>;
1689
+ }
1690
+
1691
+ declare class NggvExternalLinkDirectiveModule {
1692
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvExternalLinkDirectiveModule, never>;
1693
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvExternalLinkDirectiveModule, [typeof NggvExternalLinkDirective], [typeof i2.CommonModule], [typeof NggvExternalLinkDirective]>;
1694
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvExternalLinkDirectiveModule>;
1695
+ }
1696
+
1697
+ declare class NggvMissingHandler implements TranslocoMissingHandler {
1698
+ private transpiler;
1699
+ constructor(transpiler: TranslocoTranspiler);
1700
+ handle(key: string, _: TranslocoMissingHandlerData, params: HashMap): any;
1701
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvMissingHandler, never>;
1702
+ static ɵprov: i0.ɵɵInjectableDeclaration<NggvMissingHandler>;
1703
+ }
1704
+ declare class NggvI18nModule {
1705
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvI18nModule, never>;
1706
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvI18nModule, never, never, [typeof i5.TranslocoModule]>;
1707
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvI18nModule>;
1708
+ }
1709
+
1710
+ declare class TranslocoMockPipe implements PipeTransform {
1711
+ transform: (value: number) => number;
1712
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslocoMockPipe, never>;
1713
+ static ɵpipe: i0.ɵɵPipeDeclaration<TranslocoMockPipe, "transloco", false>;
1714
+ }
1715
+ declare class TranslocoMockTranspiler implements TranslocoTranspilerFunction {
1716
+ transpile: (..._args: string[]) => string;
1717
+ }
1718
+ declare class TranslocoMockMissingHandler implements TranslocoMissingHandler {
1719
+ handle: (key: string, _: TranslocoConfig, _params: HashMap) => string;
1720
+ }
1721
+ declare class TranslocoMockStrategy implements TranslocoFallbackStrategy {
1722
+ getNextLangs: (_failedLang: string) => any;
1723
+ }
1724
+ declare class TranslocoMockInterceptor implements TranslocoInterceptor {
1725
+ preSaveTranslation(translation: Translation, _lang: string): Translation;
1726
+ preSaveTranslationKey(_key: string, value: string, _lang: string): string;
1727
+ }
1728
+ declare class NggvI18nTestModule {
1729
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvI18nTestModule, never>;
1730
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvI18nTestModule, [typeof TranslocoMockPipe], [typeof i2.CommonModule], [typeof TranslocoMockPipe]>;
1731
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvI18nTestModule>;
1732
+ }
1733
+
1734
+ /**
1735
+ * A button that will present an explanation to a problem/question.
1736
+ * https://designlibrary.sebgroup.com/components/component-contextual-help-button
1737
+ */
1738
+ declare class NggvInfoCircleComponent {
1739
+ /** Special property used for selecting DOM elements during automated UI testing. */
1740
+ thook: string | null | undefined;
1741
+ /**
1742
+ * Text to display in tooltip when mouse hovers over icon.
1743
+ */
1744
+ info: string;
1745
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvInfoCircleComponent, never>;
1746
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvInfoCircleComponent, "nggv-info-circle", never, { "thook": { "alias": "thook"; "required": false; }; "info": { "alias": "info"; "required": false; }; }, {}, never, never, false, never>;
1747
+ }
1748
+
1749
+ declare class NggvInfoCircleModule {
1750
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvInfoCircleModule, never>;
1751
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvInfoCircleModule, [typeof NggvInfoCircleComponent], [typeof i2.CommonModule, typeof i4$1.NggCoreWrapperModule, typeof i5$2.NggvTooltipModule], [typeof NggvInfoCircleComponent]>;
1752
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvInfoCircleModule>;
1753
+ }
1754
+
1755
+ /**
1756
+ * Input fields allow users to add and edit text.
1757
+ * https://designlibrary.sebgroup.com/components/component-input
1758
+ */
1759
+ declare class NggvInputComponent extends NggvBaseControlValueAccessorComponent$1 implements OnInit, OnDestroy {
1760
+ ngControl: NgControl;
1761
+ protected translocoScope: TranslocoScope;
1762
+ protected cdr: ChangeDetectorRef;
1763
+ element: ElementRef;
1764
+ /**
1765
+ * Adding .gds-form-item as a class to host element
1766
+ */
1767
+ class: string;
1768
+ /**
1769
+ * Adding .gds-form-item--small class based on size input for styling
1770
+ */
1771
+ size: 'small' | 'large';
1772
+ /**
1773
+ * Special property used for selecting DOM elements during automated UI testing.
1774
+ */
1775
+ thook: string | null | undefined;
1776
+ /**
1777
+ * Type of input field. Should avoid types that modify field too much such as range.
1778
+ */
1779
+ type: string;
1780
+ /**
1781
+ * Text shown before input has a written value.
1782
+ */
1783
+ placeholder?: string;
1784
+ /**
1785
+ * If set to "on", hint for form autofill feature.
1786
+ */
1787
+ autocomplete: string;
1788
+ /**
1789
+ * If set to true, the value will not be editable.
1790
+ */
1791
+ readonly: boolean;
1792
+ /**
1793
+ * If set to true, enables the Angular template-driven email validator.
1794
+ */
1795
+ email: boolean;
1796
+ /**
1797
+ * Minimum value required for numeric input types.
1798
+ */
1799
+ min: number;
1800
+ /**
1801
+ * Maximum value required for numeric input types.
1802
+ */
1803
+ max: number;
1804
+ /**
1805
+ * Incremental values that are valid for numeric input types.
1806
+ */
1807
+ step: number;
1808
+ /**
1809
+ * Minimum length (number of characters) of value.
1810
+ */
1811
+ set minLength(length: number);
1812
+ /**
1813
+ * Minimum length (number of characters) of value.
1814
+ * @deprecated minlength triggers angular-template-validation. Use @Input() minLength instead.
1815
+ */
1816
+ set minlength(length: number);
1817
+ get minlength(): number;
1818
+ /** Maximum length (number of characters) of value. */
1819
+ set maxLength(length: number);
1820
+ get maxlength(): number;
1821
+ /**
1822
+ * Maximum length (number of characters) of value.
1823
+ * @deprecated maxlength triggers angular-template-validation. Use @Input() maxLength instead.
1824
+ */
1825
+ set maxlength(length: number);
1826
+ private _maxlength;
1827
+ private _minlength;
1828
+ /** Wether to show label that tells how many characters are still left to be entered. Will only be set if maxLength is also set */
1829
+ private _showCharacterCountDown;
1830
+ set showCharacterCountdown(option: boolean);
1831
+ get showCharacterCountdown(): boolean;
1832
+ /** Pattern the value must match to be valid. */
1833
+ pattern: string;
1834
+ /** Amount of time to wait until emitting (nggvINput) event */
1835
+ debounceTime: number;
1836
+ /** Settings for input mask if requested */
1837
+ private _inputMask;
1838
+ set inputMask(newInputMask: InputmaskOptions$1<any>);
1839
+ get inputMask(): InputmaskOptions$1<any>;
1840
+ /** Emits every time the value of the inner input field changes, independantly of updates on the formcontroller */
1841
+ nggvInput: EventEmitter<any>;
1842
+ private _formControl;
1843
+ get control(): UntypedFormControl;
1844
+ /** Returns if maxlength is used */
1845
+ get hasMaxLength(): boolean;
1846
+ /** Toggler for showing or hiding the input field */
1847
+ hideInput$: Subject<boolean>;
1848
+ protected inputChange$: Subject<any>;
1849
+ protected _destroy$: Subject<boolean>;
1850
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef, element: ElementRef);
1851
+ ngOnInit(): void;
1852
+ ngOnDestroy(): void;
1853
+ writeValue(value: any): void;
1854
+ cutTextAfterMaxLength(value: any): any;
1855
+ /** @internal */
1856
+ onInput(event: Event): void;
1857
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvInputComponent, [{ optional: true; self: true; }, { optional: true; }, null, null]>;
1858
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvInputComponent, "nggv-input", never, { "size": { "alias": "size"; "required": false; }; "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; }; "inputMask": { "alias": "inputMask"; "required": false; }; }, { "nggvInput": "nggvInput"; }, never, ["[slot='prefix']", "[slot='suffix']", "*"], false, never>;
1859
+ }
1860
+
1861
+ declare class NggvInputModule {
1862
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvInputModule, never>;
1863
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvInputModule, [typeof NggvInputComponent], [typeof i2.CommonModule, typeof i3$1.NggvI18nModule, typeof i12.NggvInputMaskModule, typeof i10.ReactiveFormsModule, typeof i6.NggvCharacterCountdownDirectiveModule, typeof i4$1.NggCoreWrapperModule], [typeof NggvInputComponent]>;
1864
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvInputModule>;
1865
+ }
1866
+
1867
+ type InputmaskOptions<T> = Inputmask.Options & {
1868
+ parser?: (value: any) => T;
1869
+ };
1870
+ /**
1871
+ * Useful when you want to add input-mask on input which is child of your component
1872
+ *
1873
+ * @since 2.1.0
1874
+ */
1875
+ type InputMaskConfig$1 = {
1876
+ /**
1877
+ * If set true, MutationObserver will be used to look for changes until it finds input with inputSelector
1878
+ */
1879
+ isAsync: boolean;
1880
+ /**
1881
+ * CSS like selector, which will be used with `querySelector` to get the native input.
1882
+ * If your input is loaded lazily, please use `isAsync` option with this
1883
+ */
1884
+ inputSelector: string;
1885
+ };
1886
+
1887
+ declare class InputMaskFormatPipe implements PipeTransform {
1888
+ transform<T = any>(value: any, options: InputmaskOptions<T>): any;
1889
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputMaskFormatPipe, never>;
1890
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputMaskFormatPipe, "nggvInputMaskFormat", false>;
1891
+ }
1892
+
1893
+ declare class InputMaskConfig {
1894
+ isAsync: boolean;
1895
+ inputSelector: string;
1896
+ }
1897
+
1898
+ declare class NggvInputMaskDirective<T = any> implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor, Validator {
1899
+ ngControl: NgControl;
1900
+ private platformId;
1901
+ private elementRef;
1902
+ private renderer;
1903
+ private ngZone;
1904
+ /** Input settings of directive */
1905
+ nggvInputMask: InputmaskOptions<T>;
1906
+ inputMaskPlugin: Inputmask.Instance | undefined;
1907
+ nativeInputElement: HTMLInputElement | undefined;
1908
+ defaultInputMaskConfig: InputMaskConfig;
1909
+ private mutationObserver;
1910
+ constructor(ngControl: NgControl, config: InputMaskConfig, platformId: string, elementRef: ElementRef<HTMLInputElement | any>, renderer: Renderer2, ngZone: NgZone);
1911
+ onInput: (_: any) => void;
1912
+ onTouched: (_: any) => void;
1913
+ onKeyUp(event: KeyboardEvent): void;
1914
+ ngOnInit(): void;
1915
+ ngOnDestroy(): void;
1916
+ initInputMask(): void;
1917
+ ngAfterViewInit(): void;
1918
+ get inputMaskOptions(): Inputmask.Options;
1919
+ writeValue(value: string): void;
1920
+ registerOnChange(fn: (_: T | null) => void): void;
1921
+ registerOnTouched(fn: any): void;
1922
+ validate: (control: AbstractControl) => {
1923
+ [key: string]: any;
1924
+ } | null;
1925
+ setDisabledState(disabled: boolean): void;
1926
+ private get control();
1927
+ private setNativeInputElement;
1928
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvInputMaskDirective<any>, [{ optional: true; self: true; }, null, null, null, null, null]>;
1929
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NggvInputMaskDirective<any>, "[nggvInputMask]", never, { "nggvInputMask": { "alias": "nggvInputMask"; "required": false; }; }, {}, never, never, false, never>;
1930
+ }
1931
+
1932
+ declare class NggvInputMaskModule {
1933
+ static forRoot(config?: Partial<InputMaskConfig>): ModuleWithProviders<NggvInputMaskModule>;
1934
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvInputMaskModule, never>;
1935
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvInputMaskModule, [typeof NggvInputMaskDirective, typeof InputMaskFormatPipe], never, [typeof NggvInputMaskDirective, typeof InputMaskFormatPipe]>;
1936
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvInputMaskModule>;
1937
+ }
1938
+
1939
+ declare const createMask: <T>(options: string | InputmaskOptions<T>) => InputmaskOptions<T>;
1940
+
1941
+ declare global {
1942
+ interface Window {
1943
+ /** Counter for unique identifiers */
1944
+ nggv: {
1945
+ ids: {
1946
+ [namespace: string]: number;
1947
+ default: number;
1948
+ };
1949
+ nextId: (namespace?: string) => string;
1950
+ };
1951
+ }
1952
+ }
1953
+
1954
+ interface DialogButtons {
1955
+ positive?: string | null;
1956
+ neutral?: string | null;
1957
+ negative?: string | null;
1958
+ danger?: string | null;
1959
+ }
1960
+
1961
+ interface DialogEvent<T = any> {
1962
+ original: Event | undefined;
1963
+ payload: T | undefined;
1964
+ }
1965
+ declare class NggvDialogComponent implements OnInit, OnDestroy {
1966
+ private renderer;
1967
+ private ref;
1968
+ private configurableFocusTrapFactory;
1969
+ private configurableFocusTrap;
1970
+ dialogRef: ElementRef | undefined;
1971
+ /** Special property used for selecting DOM elements during automated UI testing. */
1972
+ thook: string | null | undefined;
1973
+ /** @internal */
1974
+ baseClass: boolean;
1975
+ /** @internal Defines the default visibility state of the dialog. */
1976
+ private _shown;
1977
+ set shown(value: boolean);
1978
+ get shown(): boolean;
1979
+ /** @internal */
1980
+ get ariaHidden(): boolean;
1981
+ /** Defines the default visibility state of the dialog. */
1982
+ initiallyShown: boolean;
1983
+ /** Sets modal heading. Will be translated (using transloco) if the string matches a cms key. */
1984
+ heading: string;
1985
+ /**
1986
+ * Sets modal title. Will be translated (using transloco) if the string matches a cms key.
1987
+ * @deprecated - use heading instead.
1988
+ */
1989
+ title: string;
1990
+ /** Sets content body and can contain html code. The content body can also be set by nesting children to the dialog tag. */
1991
+ content?: string;
1992
+ /** Defines if dialog should close on action. */
1993
+ autoClose: boolean;
1994
+ /** An array of event payloads that will be added to every click context menu item click. */
1995
+ payload: any;
1996
+ dialogTitleId: string;
1997
+ /** Pass the null if you don't want dialog body to be announced by the screen reader */
1998
+ dialogBodyId: string | null;
1999
+ /** It gives an ability for parent component to control if modal should be closed on esc button click. */
2000
+ closeModalOnEscape: boolean;
2001
+ /** Aria label for the Close button with "X" icon, in the header */
2002
+ closeButtonAriaLabel?: string;
2003
+ _buttons: DialogButtons | undefined;
2004
+ /** Buttons are defined as a key-value pair where key is one of "positive|neutral|negative" and value is the button label. */
2005
+ set buttons(buttons: DialogButtons);
2006
+ nggvCloseEvent: EventEmitter<DialogEvent<any>>;
2007
+ nggvPositiveEvent: EventEmitter<DialogEvent<any>>;
2008
+ nggvNeutralEvent: EventEmitter<DialogEvent<any>>;
2009
+ nggvNegativeEvent: EventEmitter<DialogEvent<any>>;
2010
+ nggvDangerEvent: EventEmitter<DialogEvent<any>>;
2011
+ protected _previous: HTMLElement | undefined;
2012
+ protected _firstFocusable: HTMLElement | undefined;
2013
+ protected _lastFocusable: HTMLElement | undefined;
2014
+ constructor(renderer: Renderer2, ref: ElementRef<HTMLElement>, configurableFocusTrapFactory: ConfigurableFocusTrapFactory);
2015
+ ngOnInit(): void;
2016
+ onAction(event: Event, action: string): void;
2017
+ open(opener?: HTMLElement): boolean;
2018
+ protected _limitFocusable(): void;
2019
+ close(event?: Event, initiator?: string): void;
2020
+ focusTrap(event: KeyboardEvent): void;
2021
+ private hideOverflow;
2022
+ private resetOverflow;
2023
+ private enableFocusTrap;
2024
+ private disableFocusTrap;
2025
+ ngOnDestroy(): void;
2026
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvDialogComponent, never>;
2027
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvDialogComponent, "nggv-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; }; "closeButtonAriaLabel": { "alias": "closeButtonAriaLabel"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, { "nggvCloseEvent": "nggvCloseEvent"; "nggvPositiveEvent": "nggvPositiveEvent"; "nggvNeutralEvent": "nggvNeutralEvent"; "nggvNegativeEvent": "nggvNegativeEvent"; "nggvDangerEvent": "nggvDangerEvent"; }, never, ["*"], false, never>;
2028
+ }
2029
+
2030
+ /** Modal slide-out component based on vanilla pattern library design.
2031
+ * The modal title can be set using the @Input heading, and will automatically be translated if
2032
+ * the string matches a cms key.
2033
+ * Content can be injected into the body of the slide-out by either setting the @Input content to any type of
2034
+ * markdown, or using content projection (adding content between the `nggv-slideout-modal`-start and end tag).
2035
+ * If the content needs to stretch outside the normal padded area, add the attribute `slot="outside-content"` to the
2036
+ * projected content main element.
2037
+ * Test hooks:
2038
+ * The modal hook defaults to 'slideout' but is customizeable.
2039
+ * The closing button can be selected using 'slideout-close'.
2040
+ * The backdrop is selectable using 'slideout-backdrop'.
2041
+ */
2042
+ declare class NggvSlideOutComponent implements OnInit {
2043
+ private host;
2044
+ private renderer;
2045
+ /** @internal */
2046
+ slideOutRef: ElementRef | undefined;
2047
+ /** Sets from which side the modal should open. */
2048
+ side: 'left' | 'right';
2049
+ /** Defines the default visibility state of the slide-out. */
2050
+ private _shown;
2051
+ set shown(value: boolean);
2052
+ get shown(): boolean;
2053
+ /** Defines the default visibility state of the modal. */
2054
+ initiallyShown: boolean;
2055
+ /** Sets modal heading. Will be translated (using transloco) if the string matches a cms key. */
2056
+ heading: string;
2057
+ /**
2058
+ * Sets modal title. Will be translated (using transloco) if the string matches a cms key.
2059
+ * @deprecated - use @Input() heading instead.
2060
+ */
2061
+ title: string;
2062
+ /** 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. */
2063
+ content?: string;
2064
+ /** Sets whether it is possible to close the modal from the top right corner. */
2065
+ closable: boolean;
2066
+ /** Sets whether it is possible to close the modal by clicking outside the modal area (on the backdrop). */
2067
+ closableOutside: boolean;
2068
+ /** Allows the modal content to decide the width of the modal. */
2069
+ autoWidth: boolean;
2070
+ /** Special property used for selecting DOM elements during automated UI testing. */
2071
+ thook: string;
2072
+ /** Aria label for the Close button with "X" icon, in the header */
2073
+ closeButtonAriaLabel?: string;
2074
+ /** @internal */
2075
+ get fromLeft(): boolean;
2076
+ _buttons: DialogButtons | undefined;
2077
+ /** Buttons are defined as a key-value pair where key is one of "positive|neutral|negative" and value is the button label. */
2078
+ set buttons(buttons: DialogButtons);
2079
+ /** Will emit true on closing event. */
2080
+ nggvCloseEvent: EventEmitter<boolean>;
2081
+ nggvPositiveEvent: EventEmitter<void>;
2082
+ nggvNeutralEvent: EventEmitter<void>;
2083
+ nggvNegativeEvent: EventEmitter<void>;
2084
+ private previous;
2085
+ private firstFocusable;
2086
+ private lastFocusable;
2087
+ constructor(host: ElementRef, renderer: Renderer2);
2088
+ ngOnInit(): void;
2089
+ onAction(event: Event, action: string): void;
2090
+ /**
2091
+ * Called on a modal element. Opens the modal and sets focus to the last focusable element in the modal.
2092
+ *
2093
+ * @param opener - reference to last focused element before opening modal
2094
+ * @returns - true
2095
+ */
2096
+ open(opener?: HTMLElement): boolean;
2097
+ /**
2098
+ * Called on a modal element. Closes the modal and emits a `nggvCloseEvent`. Sets focus to the lats focused element if an element was sent in to open function.
2099
+ *
2100
+ * @param event
2101
+ * @param initiator
2102
+ */
2103
+ close(event?: Event, initiator?: string): void;
2104
+ /** @internal */
2105
+ focusTrap(event: KeyboardEvent): void;
2106
+ private limitFocusable;
2107
+ private hideOverflow;
2108
+ private resetOverflow;
2109
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvSlideOutComponent, never>;
2110
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvSlideOutComponent, "nggv-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; }; "closableOutside": { "alias": "closableOutside"; "required": false; }; "autoWidth": { "alias": "autoWidth"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "closeButtonAriaLabel": { "alias": "closeButtonAriaLabel"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, { "nggvCloseEvent": "nggvCloseEvent"; "nggvPositiveEvent": "nggvPositiveEvent"; "nggvNeutralEvent": "nggvNeutralEvent"; "nggvNegativeEvent": "nggvNegativeEvent"; }, never, ["*", "[slot='outside-content']"], false, never>;
2111
+ }
2112
+
2113
+ declare class NggvFoldOutComponent implements OnDestroy, AfterViewInit {
2114
+ /** Special property used for selecting DOM elements during automated UI testing. */
2115
+ thook: string | null | undefined;
2116
+ inputRef?: ElementRef;
2117
+ container?: ElementRef;
2118
+ /** Aligns the dropdown list with the buttons right or left side */
2119
+ alignOptions: 'left' | 'right';
2120
+ /** Option to show text with action button */
2121
+ text?: string;
2122
+ /** Aria label for the fold-out button */
2123
+ ariaLabel?: string;
2124
+ /** Sets the width property of the list. Default = fit-content */
2125
+ listWidth: 'fit-content' | 'max-content' | 'min-content' | 'auto';
2126
+ /** Emits when the children container collapses, for components with change detection strategy "OnPush" */
2127
+ actionEmitter: EventEmitter<void>;
2128
+ /** @internal */
2129
+ protected shown: boolean;
2130
+ private activeIndex;
2131
+ private firstArrowClick;
2132
+ private ariaFocusAttributeName;
2133
+ private blurAllElements;
2134
+ private blurElement;
2135
+ private focusElement;
2136
+ private getChildIndex;
2137
+ private onClickSubscription;
2138
+ private onKeyUpSubscription;
2139
+ private get children();
2140
+ private get lastChild();
2141
+ private get focusedElement();
2142
+ ngAfterViewInit(): void;
2143
+ ngOnDestroy(): void;
2144
+ /** Toggle display of the option list */
2145
+ toggleVisibility(): void;
2146
+ setVisibility(setVisibility?: boolean): void;
2147
+ /**
2148
+ * Closes the fold-out on click outside.
2149
+ */
2150
+ private subscribeToOutsideClickEvent;
2151
+ private subscribeToKeyDownEvent;
2152
+ private onKeyDown;
2153
+ private handleArrowUpClick;
2154
+ private handleArrowDownClick;
2155
+ private handleFocus;
2156
+ private takeAction;
2157
+ private resetChildren;
2158
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvFoldOutComponent, never>;
2159
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvFoldOutComponent, "nggv-fold-out", never, { "thook": { "alias": "thook"; "required": false; }; "alignOptions": { "alias": "alignOptions"; "required": false; }; "text": { "alias": "text"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "listWidth": { "alias": "listWidth"; "required": false; }; }, { "actionEmitter": "actionEmitter"; }, never, ["*"], false, never>;
2160
+ }
2161
+
2162
+ declare class NggvFoldOutOptionDirective {
2163
+ baseClass: boolean;
2164
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvFoldOutOptionDirective, never>;
2165
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NggvFoldOutOptionDirective, "[nggvOption]", never, {}, {}, never, never, false, never>;
2166
+ }
2167
+
2168
+ declare class NggvModalModule {
2169
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvModalModule, never>;
2170
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvModalModule, [typeof NggvDialogComponent, typeof NggvSlideOutComponent, typeof NggvFoldOutComponent, typeof NggvFoldOutOptionDirective], [typeof i2.CommonModule, typeof i6$1.NggvButtonModule, typeof i3$1.NggvI18nModule, typeof i4$1.NggCoreWrapperModule], [typeof NggvDialogComponent, typeof NggvSlideOutComponent, typeof NggvFoldOutComponent, typeof NggvFoldOutOptionDirective]>;
2171
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvModalModule>;
2172
+ }
2173
+
2174
+ /** The Pagination component is used to separate long sets of data so that it is easier for a user to consume information. To change the current page simply click on the page number. */
2175
+ declare class PaginationComponent implements OnChanges {
2176
+ /** Total size of pagination */
2177
+ size: number;
2178
+ /** Selected page */
2179
+ value: number;
2180
+ /** First page text */
2181
+ firstText?: string;
2182
+ /** Last page text */
2183
+ lastText?: string;
2184
+ /** Next page text */
2185
+ nextText?: string;
2186
+ /** Offset per page */
2187
+ offset?: number;
2188
+ /** Number of pages to display*/
2189
+ pagingLength?: number;
2190
+ /** Previous page text */
2191
+ previousText?: string;
2192
+ /** Use first and last navigation buttons*/
2193
+ useFirstAndLast?: boolean;
2194
+ /** Use text-based navigation buttons*/
2195
+ useTextNav?: boolean;
2196
+ /** Use dot-navigation */
2197
+ useDotNav?: boolean;
2198
+ /** Use 'Go to page' input field */
2199
+ showGoToPage: boolean;
2200
+ /** Element class name */
2201
+ className: string;
2202
+ /** Element ID */
2203
+ id?: string;
2204
+ /** Callback on page change */
2205
+ pageNumberChange: EventEmitter<number>;
2206
+ /** @internal */
2207
+ pageNumber: number;
2208
+ /** @internal */
2209
+ list: Array<number>;
2210
+ /** @internal */
2211
+ dotnavList: Array<number>;
2212
+ /** @internal */
2213
+ pagingSize: number;
2214
+ /** @internal */
2215
+ showEllipsisStart: boolean;
2216
+ /** @internal */
2217
+ showEllipsisEnd: boolean;
2218
+ ngOnChanges(changes: SimpleChanges): void;
2219
+ /** @internal */
2220
+ setPagingSize(): void;
2221
+ /** @internal */
2222
+ handleOnChange(value: number): void;
2223
+ /** @internal */
2224
+ handlePageInput(pageInput: string): void;
2225
+ /**
2226
+ * Generates an array of the pages that needs to be displayed
2227
+ * It depends on the size, offset, and the current value
2228
+ */
2229
+ private generateList;
2230
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
2231
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "nggv-pagination", never, { "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "firstText": { "alias": "firstText"; "required": false; }; "lastText": { "alias": "lastText"; "required": false; }; "nextText": { "alias": "nextText"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "pagingLength": { "alias": "pagingLength"; "required": false; }; "previousText": { "alias": "previousText"; "required": false; }; "useFirstAndLast": { "alias": "useFirstAndLast"; "required": false; }; "useTextNav": { "alias": "useTextNav"; "required": false; }; "useDotNav": { "alias": "useDotNav"; "required": false; }; "showGoToPage": { "alias": "showGoToPage"; "required": false; }; "className": { "alias": "className"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "pageNumberChange": "pageNumberChange"; }, never, never, false, never>;
2232
+ }
2233
+
2234
+ declare class NggvPaginationModule {
2235
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvPaginationModule, never>;
2236
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvPaginationModule, [typeof PaginationComponent], [typeof i2.CommonModule, typeof i10.FormsModule, typeof i3$1.NggvI18nModule, typeof i5.TranslocoModule, typeof i4$1.NggCoreWrapperModule], [typeof PaginationComponent]>;
2237
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvPaginationModule>;
2238
+ }
2239
+
2240
+ /** @internal Internal class used to uncheck radio buttons with the matching name. */
2241
+ declare class NggvRadioControlRegistry {
2242
+ private _radios;
2243
+ add(control: NgControl, radio: NggvRadioComponent): void;
2244
+ remove(radio: NggvRadioComponent): void;
2245
+ select(radio: NggvRadioComponent): void;
2246
+ private _isSameGroup;
2247
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvRadioControlRegistry, never>;
2248
+ static ɵprov: i0.ɵɵInjectableDeclaration<NggvRadioControlRegistry>;
2249
+ }
2250
+ /**
2251
+ * Use radio buttons when users must select one option in a list with exclusive options out of a set of two or more options.
2252
+ * https://designlibrary.sebgroup.com/components/component-radiobutton
2253
+ */
2254
+ declare class NggvRadioComponent extends NggvBaseControlValueAccessorComponent$1 implements OnInit, OnDestroy {
2255
+ ngControl: NgControl;
2256
+ protected translocoScope: TranslocoScope;
2257
+ protected registry: NggvRadioControlRegistry;
2258
+ protected cdr: ChangeDetectorRef;
2259
+ /**
2260
+ * Special property used for selecting DOM elements during automated UI testing.
2261
+ */
2262
+ thook: string | null | undefined;
2263
+ /**
2264
+ * Sets class on host element based on size input for styling
2265
+ */
2266
+ size: 'small' | 'large';
2267
+ /**
2268
+ * Syncs a FormControl in an existing FormGroup to a form control element by name.
2269
+ */
2270
+ formControlName?: string;
2271
+ /**
2272
+ * Decides if error should be connected to each individual radio button.
2273
+ * If true, errors will be shown in nggv-radio-group component.
2274
+ * If false, errors will be show below each radio button
2275
+ */
2276
+ isGroup: boolean;
2277
+ /**
2278
+ * Creates a new RadioComponent
2279
+ * @param ngControl optional FormControl provided when component is used in a form, through dependency injection.
2280
+ * @param registry internal registry used to uncheck radio buttons with the matching name, through dependency injection.
2281
+ * @param cdr change detection reference for rendering purposes.
2282
+ */
2283
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, registry: NggvRadioControlRegistry, cdr: ChangeDetectorRef);
2284
+ ngOnInit(): void;
2285
+ ngOnDestroy(): void;
2286
+ /** @internal */
2287
+ onInputChange(event: Event): void;
2288
+ /** Writes a new value of true or false based on if argument matches this components value property. */
2289
+ writeValue(value: any): void;
2290
+ /** Registers a callback function that is called when the child input element's value changes. */
2291
+ registerOnChange(fn: (value: any) => any): void;
2292
+ /** Checks that the name properties match and updates name property if only formControlName is given. */
2293
+ private _checkName;
2294
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvRadioComponent, [{ optional: true; self: true; }, { optional: true; }, null, null]>;
2295
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvRadioComponent, "nggv-radio", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; }, {}, never, ["*"], false, never>;
2296
+ }
2297
+
2298
+ /**
2299
+ * Creates a wrapper around a group of radio buttons.
2300
+ * If there is an error to the form control connected to the radio buttons, it will be shown once below instead of below every individual radio button
2301
+ */
2302
+ declare class NggvRadioGroupComponent extends NggvBaseControlValueAccessorComponent$1 implements OnInit {
2303
+ ngControl: NgControl;
2304
+ protected translocoScope: TranslocoScope;
2305
+ protected cdr: ChangeDetectorRef;
2306
+ /**
2307
+ * Special property used for selecting DOM elements during automated UI testing.
2308
+ */
2309
+ thook: string | null | undefined;
2310
+ /**
2311
+ * Sets class on host element based on size input for styling
2312
+ */
2313
+ size: 'small' | 'large';
2314
+ /**
2315
+ * Syncs a FormControl in an existing FormGroup to a form control element by name.
2316
+ */
2317
+ formControlName?: string;
2318
+ /**
2319
+ * Sets "flex-direction" of parent of radio buttons.
2320
+ */
2321
+ direction?: 'row' | 'column';
2322
+ /**
2323
+ * Creates a new RadioComponent
2324
+ * @param ngControl optional FormControl provided when component is used in a form, through dependency injection.
2325
+ * @param cdr change detection reference for rendering purposes.
2326
+ */
2327
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
2328
+ ngOnInit(): void;
2329
+ /** Checks that the name properties match and updates name property if only formControlName is given. */
2330
+ private _checkName;
2331
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvRadioGroupComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
2332
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvRadioGroupComponent, "nggv-radio-group", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, {}, never, ["*"], false, never>;
2333
+ }
2334
+
2335
+ declare class NggvRadioModule {
2336
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvRadioModule, never>;
2337
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvRadioModule, [typeof NggvRadioComponent, typeof NggvRadioGroupComponent], [typeof i2.CommonModule, typeof i3$1.NggvI18nModule, typeof i4$1.NggCoreWrapperModule], [typeof NggvRadioComponent, typeof NggvRadioGroupComponent]>;
2338
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvRadioModule>;
2339
+ }
2340
+
2341
+ /** Pipe used to transform text with special characters into a simple kebab-case id. */
2342
+ declare class SlugPipe implements PipeTransform {
2343
+ /**
2344
+ * Function for executing the transformation to kebab-case id.
2345
+ * @param value the text with special characters which to transform.
2346
+ */
2347
+ transform(value?: string): unknown;
2348
+ static ɵfac: i0.ɵɵFactoryDeclaration<SlugPipe, never>;
2349
+ static ɵpipe: i0.ɵɵPipeDeclaration<SlugPipe, "slug", false>;
2350
+ }
2351
+
2352
+ declare class NggvSlugPipeModule {
2353
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvSlugPipeModule, never>;
2354
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvSlugPipeModule, [typeof SlugPipe], [typeof i2.CommonModule], [typeof SlugPipe]>;
2355
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvSlugPipeModule>;
2356
+ }
2357
+
2358
+ declare class TableDirective {
2359
+ columnType: 'numeric' | 'text' | undefined;
2360
+ sortable?: boolean;
2361
+ sortOrder?: 'desc' | 'asc';
2362
+ value: any;
2363
+ thook: string | null | undefined;
2364
+ get numericColumn(): boolean;
2365
+ get isSortable(): boolean;
2366
+ get orderAscending(): boolean;
2367
+ get orderDescending(): boolean;
2368
+ get negativeValue(): boolean;
2369
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableDirective, never>;
2370
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableDirective, "[columnType]", never, { "columnType": { "alias": "columnType"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; }, {}, never, never, false, never>;
2371
+ }
2372
+ declare class TableTemplateDirective<K = string> {
2373
+ templateRef: TemplateRef<any>;
2374
+ tableColumn: K;
2375
+ tableColumnTarget?: 'th' | 'td' | 'both';
2376
+ constructor(templateRef: TemplateRef<any>);
2377
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableTemplateDirective<any>, never>;
2378
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableTemplateDirective<any>, "[tableColumn]", never, { "tableColumn": { "alias": "tableColumn"; "required": false; }; "tableColumnTarget": { "alias": "tableColumnTarget"; "required": false; }; }, {}, never, never, false, never>;
2379
+ }
2380
+ declare class TableFooterTemplateDirective {
2381
+ templateRef: TemplateRef<any>;
2382
+ constructor(templateRef: TemplateRef<any>);
2383
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableFooterTemplateDirective, never>;
2384
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableFooterTemplateDirective, "[tableFooter]", never, {}, {}, never, never, false, never>;
2385
+ }
2386
+ declare class TableAppendableRowsTemplateDirective {
2387
+ templateRef: TemplateRef<any>;
2388
+ constructor(templateRef: TemplateRef<any>);
2389
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableAppendableRowsTemplateDirective, never>;
2390
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableAppendableRowsTemplateDirective, "[tableAppendableRows]", never, {}, {}, never, never, false, never>;
2391
+ }
2392
+
2393
+ type SortingOrder = 'asc' | 'desc';
2394
+ type ColumnType = 'numeric' | 'text';
2395
+ /** Generic type for TableRow data */
2396
+ type TableRow = Record<string, any>;
2397
+ /** Options applying to the table header */
2398
+ interface TableHeaderOptions {
2399
+ /**
2400
+ * Defined the text displayed in the table header.
2401
+ * @example <th> {{TableColumn.label}} </th>
2402
+ */
2403
+ label?: string;
2404
+ /** Adjusts text-alignment. */
2405
+ valueType?: ColumnType;
2406
+ /**
2407
+ * Defines whether the table data can be ordered using this column.
2408
+ * Setting this to false (or omitting it) will also remove the caret sorting symbol in specified column.
2409
+ */
2410
+ sortable?: boolean;
2411
+ /**
2412
+ * Defined aria label for a sortable column for the screen reader users.
2413
+ */
2414
+ ariaLabelSortable?: string;
2415
+ /**
2416
+ * Describes the sorting order of the column.
2417
+ * As the table can only be sorted based on one column property, if the property is not undefined,
2418
+ * it will instruct the table to sort the data based on this specific column.
2419
+ */
2420
+ order?: SortingOrder;
2421
+ /**
2422
+ * Dynamically hide or show the label and data on mobile view.
2423
+ * This is useful when the table is displayed on a small screen and the data is not relevant.
2424
+ */
2425
+ hideLabelOnMobile?: boolean;
2426
+ hidePropertyOnMobile?: boolean;
2427
+ /**
2428
+ * Set to true to make the text bold on mobile view.
2429
+ * This is useful when the label is hidden on mobile view but the data is still displayed.
2430
+ */
2431
+ boldTextOnMobile?: boolean;
2432
+ /**
2433
+ * Used to set label for the column.
2434
+ * This is useful when the column has an additional information that needs to be shown.
2435
+ */
2436
+ columnLabel?: string;
2437
+ }
2438
+ /** Options applying to table rows */
2439
+ interface TableRowOptions {
2440
+ /** Adjusts text-alignment. */
2441
+ valueType?: ColumnType;
2442
+ /** Used to prevent the default click event to be emitted when clicking in cells for specified column */
2443
+ preventDefaultClickEvent?: boolean;
2444
+ }
2445
+ /**
2446
+ * Interface used to describe how a table column should be displayed. This includes the text and class used for the table header,
2447
+ * and the data for each table row.
2448
+ */
2449
+ interface TableColumn<T extends TableRow> extends TableHeaderOptions, TableRowOptions {
2450
+ /**
2451
+ * The property name used to identify what value to display in a cell for that column.
2452
+ * @example <tr *ngFor="let data in dataList"> <td>{{ data[TableColumn.property] }}</td> </tr>
2453
+ */
2454
+ property: keyof T;
2455
+ }
2456
+ /**
2457
+ * Interface describing event emitted on reordering the table.
2458
+ */
2459
+ interface OrderBy<T extends TableRow> {
2460
+ property: keyof T;
2461
+ order: SortingOrder | undefined;
2462
+ }
2463
+ /**
2464
+ * Interface describing the aria labels for sorting in the table.
2465
+ * Aria label attributes are used for a screen reader to describe the sorting state of the table.
2466
+ */
2467
+ interface ariaLabelsOrderBy {
2468
+ asc: string;
2469
+ desc: string;
2470
+ }
2471
+
2472
+ /**
2473
+ * A table component with built-in sorting and selecting functionality.
2474
+ * By default, table cells (i.e. `<td>` elements) and table headers (i.e. `<th>` elements) are populated with text only values.
2475
+ *
2476
+ * To customize the contents of either the `<td>` or `<th>` elements (like adding color, icons, form fields, extra padding etc.), provide
2477
+ * the customized content within a `<ng-template>`-tag, and place the ng-template in the html between the start and ending tag of
2478
+ * the `<nggv-table>`. Add a `tableColumn`-attribute to the `<ng-template>`-element, and set the value to the specific column property.
2479
+ * Set `tableColumnTarget` to either `th`, `td` or `both` (default) depending on target element type.
2480
+ * The entire row from the `@Input() tableData` is available from the context `$implicit` variable.
2481
+ *
2482
+ * @example
2483
+ * <!-- for table cells i.e. td-elements -->
2484
+ * <ng-template tableColumn="status" tableColumnTarget="td" let-myDataVar="$implicit" let-status="$implicit.status">
2485
+ * <!-- my custom status element -->
2486
+ * </ng-template>
2487
+ *
2488
+ * @example
2489
+ * <!-- for table headers i.e. th-elements -->
2490
+ * <ng-template tableColumn="status" tableColumnTarget="th" let-myDataVar="$implicit" let-status="$implicit.status">
2491
+ * <!-- my custom status element -->
2492
+ * </ng-template>
2493
+ *
2494
+ * It is possible to add custom rows that are appended below data row. Use `<ng-template>`-tag and place the ng-template in the html between the start and ending tag of
2495
+ * the `<nggv-table>`. Add a `tableAppendableRows`-attribute to the `<ng-template>`-element. Any `tr` elements that exist within `<ng-template tableAppendableRows>` and `</ng-template>` tags will be put below data row's `tr` element in the table.
2496
+ *
2497
+ * @example
2498
+ * <!-- custom appended rows -->
2499
+ * <ng-template tableAppendableRows let-myDataVar="$implicit" let-status="$implicit.status">
2500
+ * <tr>
2501
+ * <!-- first row's columns -->
2502
+ * </tr>
2503
+ * <!-- more rows if needed -->
2504
+ * </ng-template>
2505
+ *
2506
+ * If custom styling is needed for data row that has appended rows, you can use data attribute `data-hasrowspan` to distinguish it from data row without appended rows.
2507
+ * You can pass your own custom method with conditional logic to define what value will be passed to data-hasrowspan.
2508
+ * In addition, hasRowSpan function accepts item from `@Input() tableData` as argument which is of the same type as value passed to context `$implicit` variable.
2509
+ * IMPORTANT: use arrow function style for defining function inside component, i.e. `hasRowSpan = (value) => output;`. If regular function will be defined, i.e. `hasRowSpan(value) { return output; }`, binding will not work.
2510
+ *
2511
+ * @example
2512
+ * <!-- inside component
2513
+ * class CustomComponent {
2514
+ * customHasRowSpanFunction = (item: CustomDataType) => item.appendedRowsData.length > 0 ? true : false;
2515
+ * }
2516
+ * -->
2517
+ * <!-- inside stylesheets
2518
+ * [data-hasrowspan="true"] {
2519
+ * color: blue;
2520
+ * }
2521
+ * .appended-row {
2522
+ * color: blue;
2523
+ * }
2524
+ * -->
2525
+ * <nggv-table [hasRowSpan]="customHasRowSpanFunction">
2526
+ * <!-- custom appended rows -->
2527
+ * <ng-template tableAppendableRows let-appendedRowsData="$implicit.appendedRowsData">
2528
+ * <tr *ngFor="let appendedRowItem of appendedRowsData" class="appended-row">
2529
+ * <td>{{ appendedRowItem }}</td>
2530
+ * <!-- other row's columns -->
2531
+ * </tr>
2532
+ * </ng-template>
2533
+ * </nggv-table>
2534
+ *
2535
+ * In addition, it is possible to add footer for the table. Similarly to adding custom columns, use `<ng-template>`-tag and place the ng-template in the html between the start and ending tag of
2536
+ * the `<nggv-table>`. Add a `tableFooter`-attribute to the `<ng-template>`-element. Any elements that exist within `<ng-template tableFooter>` and `</ng-template>` tags will be put to tfoot element inside the table.
2537
+ *
2538
+ * @example
2539
+ * <!-- for table footer i.e. tfoot-element -->
2540
+ * <ng-template tableFooter>
2541
+ * <tr>
2542
+ * <!-- first row's columns -->
2543
+ * </tr>
2544
+ * <!-- more rows if needed -->
2545
+ * </ng-template>
2546
+ *
2547
+ */
2548
+ declare class TableComponent<T extends TableRow> implements OnInit, OnChanges, AfterContentInit, OnDestroy {
2549
+ /**
2550
+ * @internal
2551
+ * Custom templates defined in the html.
2552
+ */
2553
+ customTemplates: QueryList<TableTemplateDirective<keyof T>>;
2554
+ /**
2555
+ * @internal
2556
+ * Custom appended rows template defined in the html.
2557
+ */
2558
+ appendedRowsTemplate: TableAppendableRowsTemplateDirective;
2559
+ /**
2560
+ * @internal
2561
+ * Custom footer template defined in the html.
2562
+ */
2563
+ customFooterTemplate: TableFooterTemplateDirective;
2564
+ /** Emits the table row that was clicked. Works on all columns if not preventDefaultEmit is set for that column. */
2565
+ ngvRowClick: EventEmitter<any>;
2566
+ /**
2567
+ * Emits currently selected and deselected items in the table as key-value pairs.
2568
+ * Uses each item`s itemId as key, and a boolean value to describe selected status.
2569
+ */
2570
+ ngvRowSelect: EventEmitter<string[]>;
2571
+ /**
2572
+ * Emits event to signal that the table should be reordered.
2573
+ */
2574
+ ngvOrderBy: EventEmitter<OrderBy<T>>;
2575
+ /**
2576
+ * An array of items describing how the table header should be rendered,
2577
+ * together with instructions for how each row should be displayed in that column.
2578
+ */
2579
+ tableColumns: TableColumn<T>[];
2580
+ /** Data array to display data in the table. Each item <T> in the array represents a row in the table. */
2581
+ tableData: T[];
2582
+ /**
2583
+ * Property name used to uniquely describe each item (i.e. row) in the data table.
2584
+ * Defaults to \'id\'.
2585
+ * Is required if selectable is true.
2586
+ */
2587
+ rowId: string;
2588
+ /**
2589
+ * Function's return value is used for data attribute \'data-hasrowspan\'.
2590
+ * If custom hasRowSpan function is not passed to the table,
2591
+ * then this function returns undefined value by default which results in \'data-hasrowspan\' attribute being omitted in html
2592
+ * (angular omits attributes that contain null or undefined value).
2593
+ * IMPORTANT: use arrow function style for defining function inside component, i.e. `hasRowSpan = (value) => output;`. If regular function will be defined, i.e. `hasRowSpan(value) { return output; }`, binding will not work.
2594
+ */
2595
+ hasRowSpan: (item: T) => any;
2596
+ /**
2597
+ * Used to enable/disable the left-side checkbox column.
2598
+ * Defaults to true.
2599
+ */
2600
+ selectable: boolean;
2601
+ /**
2602
+ * Array of row id's (as defined by rowId property) that should not have a checkbox even if selectable is true.
2603
+ */
2604
+ hiddenCheckboxRowIds: string[];
2605
+ /**
2606
+ * Used to enable/disable expandable rows.
2607
+ * Defaults to false.
2608
+ */
2609
+ expandable: boolean;
2610
+ /**
2611
+ * Used to enable/disable the right-side expand icon column.
2612
+ * Defaults to true.
2613
+ */
2614
+ expandedByDefault: boolean;
2615
+ /**
2616
+ * Property name used to describe the subItems in the data table.
2617
+ */
2618
+ subItemsProp: string;
2619
+ /**
2620
+ * Allow nggv-table to attempt sorting the data in the table. Not recommended if only a subset is loaded or if the dataset is very large.
2621
+ * Disabled by default.
2622
+ */
2623
+ allowLocalSort: boolean;
2624
+ /** Special property used for selecting DOM elements during automated UI testing. */
2625
+ thook: string;
2626
+ /** Function to overwrite generated thook for each row. */
2627
+ trThookFn?: (item: T) => string;
2628
+ /** Aria label for the checkbox in the table header */
2629
+ ariaLabelCheckboxTh?: string;
2630
+ /** Aria label for the checkbox in the table header */
2631
+ ariaLabelCheckboxTr?: string;
2632
+ /** Aria labels for sorting in the table header */
2633
+ ariaLabelsOrderBy?: ariaLabelsOrderBy;
2634
+ /**
2635
+ * @internal
2636
+ * Internal data structure used to keep track of added content templates used in td elements.
2637
+ */
2638
+ customRowTemplates: Map<keyof T, TemplateRef<any>>;
2639
+ /**
2640
+ * @internal
2641
+ * Internal data structure used to keep track of added content templates used in th elements.
2642
+ */
2643
+ customHeaderTemplates: Map<keyof T, TemplateRef<any>>;
2644
+ /**
2645
+ * @internal
2646
+ * Internal data structure used to hold custom appended rows i.e. tr elements (rows).
2647
+ */
2648
+ appendedRowsTemplateRef: TemplateRef<any>;
2649
+ /**
2650
+ * @internal
2651
+ * Internal data structure used to hold tfoot element children i.e. tr elements (rows).
2652
+ */
2653
+ customFooterTemplateRef: TemplateRef<any>;
2654
+ /**
2655
+ * @internal
2656
+ * Incremental id.
2657
+ */
2658
+ initId: number;
2659
+ /**
2660
+ * @internal
2661
+ * FormGroup containing all row id\'s as controls, and whether these are selected or not as values.
2662
+ */
2663
+ rowSelectors: UntypedFormGroup;
2664
+ /**
2665
+ * @internal
2666
+ * Master selector for selecting or deselecting all row selectors.
2667
+ */
2668
+ groupSelector: UntypedFormControl;
2669
+ private selected;
2670
+ private subs;
2671
+ ngOnChanges(changes: SimpleChanges): void;
2672
+ ngOnInit(): void;
2673
+ ngAfterContentInit(): void;
2674
+ ngOnDestroy(): void;
2675
+ /**
2676
+ * @internal
2677
+ * Returns a subscription to the master selector control that either selects or deselects all row controls.
2678
+ */
2679
+ get groupValueSubscription(): Subscription;
2680
+ /**
2681
+ * @internal
2682
+ * Returns a subscription to all individual row selectors and update the master selector if all are selected.
2683
+ */
2684
+ get rowValueSubscription(): Subscription;
2685
+ /**
2686
+ * @internal
2687
+ * Registers or disables row controls for new or removed rows.
2688
+ */
2689
+ registerSelectableRows(tableData: any[]): boolean;
2690
+ /**
2691
+ * @internal
2692
+ * Returns all enabled values unless all rows are disabled.
2693
+ */
2694
+ get rowSelectorsValue(): any;
2695
+ toggleSortOrderWithSpace(event: any, column: TableColumn<T>): void;
2696
+ /**
2697
+ * @internal
2698
+ * Switches sorting order between ascending and descending order for a column.
2699
+ * @param column the column to sort rows after.
2700
+ */
2701
+ toggleSortOrder(column: TableColumn<T>): void;
2702
+ /** If sortable, reorders the table data using the specified column as ordering attribute. */
2703
+ sortItemsBy(column: TableColumn<T>): TableRow[] | undefined;
2704
+ /**
2705
+ * @internal
2706
+ * Emits row data for what row was clicked if defaultEmit is allowed.
2707
+ */
2708
+ propagateItemClick(item: any, preventDefaultEmit?: boolean): void;
2709
+ getAriaLabel(column: TableColumn<T>): string | undefined;
2710
+ private toggleRowToExpand;
2711
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
2712
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "nggv-table", never, { "tableColumns": { "alias": "tableColumns"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "rowId": { "alias": "rowId"; "required": false; }; "hasRowSpan": { "alias": "hasRowSpan"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "hiddenCheckboxRowIds": { "alias": "hiddenCheckboxRowIds"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expandedByDefault": { "alias": "expandedByDefault"; "required": false; }; "subItemsProp": { "alias": "subItemsProp"; "required": false; }; "allowLocalSort": { "alias": "allowLocalSort"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "trThookFn": { "alias": "trThookFn"; "required": false; }; "ariaLabelCheckboxTh": { "alias": "ariaLabelCheckboxTh"; "required": false; }; "ariaLabelCheckboxTr": { "alias": "ariaLabelCheckboxTr"; "required": false; }; "ariaLabelsOrderBy": { "alias": "ariaLabelsOrderBy"; "required": false; }; }, { "ngvRowClick": "ngvRowClick"; "ngvRowSelect": "ngvRowSelect"; "ngvOrderBy": "ngvOrderBy"; }, ["appendedRowsTemplate", "customFooterTemplate", "customTemplates"], ["*"], false, never>;
2713
+ }
2714
+
2715
+ declare class TrThookPipe implements PipeTransform {
2716
+ transform<V>(value: V, index: number, thookFn?: (rowData: V) => string): string;
2717
+ static ɵfac: i0.ɵɵFactoryDeclaration<TrThookPipe, never>;
2718
+ static ɵpipe: i0.ɵɵPipeDeclaration<TrThookPipe, "trThook", true>;
2719
+ }
2720
+
2721
+ declare class NggvTableModule {
2722
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTableModule, never>;
2723
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvTableModule, [typeof TableComponent, typeof TableDirective, typeof TableTemplateDirective, typeof TableFooterTemplateDirective, typeof TableAppendableRowsTemplateDirective], [typeof i2.CommonModule, typeof i10.ReactiveFormsModule, typeof i5.TranslocoModule, typeof TrThookPipe], [typeof TableComponent, typeof TableTemplateDirective, typeof TableFooterTemplateDirective, typeof TableAppendableRowsTemplateDirective]>;
2724
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvTableModule>;
2725
+ }
2726
+
2727
+ /**
2728
+ * Directive that provides the tab container with data about its child tabs.
2729
+ * The directive sets its own active state and adds aria attributes.
2730
+ *
2731
+ * @example
2732
+ * <nggv-tabs>
2733
+ * <article tab="Tab title 1"> <!-- Content --> </article>
2734
+ * <article tab="Tab title 2" [active]="true"> <!-- Content --> </article>
2735
+ * <article tab="Tab title 3" disabled> <!-- Content --> </article>
2736
+ * <article tab="<strong>Tab title 4</strong>"> <!-- Content --> </article>
2737
+ * </nggv-tabs>
2738
+ */
2739
+ declare class TabDirective {
2740
+ /** @internal */
2741
+ baseClass: boolean;
2742
+ /** @internal */
2743
+ role: string;
2744
+ /** Special property used for selecting DOM elements during automated UI testing. */
2745
+ thook: string | null | undefined;
2746
+ /** Sets whether this tab should be the active tab on load. */
2747
+ active: boolean;
2748
+ /** @internal */
2749
+ get hidden(): boolean;
2750
+ /** Sets the title displayed in the tab list for this child. */
2751
+ tab: string;
2752
+ /** Sets whether this tab should be able to be selected. */
2753
+ disabled: boolean;
2754
+ /** Identifier used for aria attributes and selection. */
2755
+ id: string | number | undefined;
2756
+ /** @internal */
2757
+ get attrId(): string;
2758
+ /** @internal */
2759
+ get ariaLabelledby(): string;
2760
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabDirective, never>;
2761
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabDirective, "[tab]", never, { "thook": { "alias": "thook"; "required": false; }; "active": { "alias": "active"; "required": false; }; "tab": { "alias": "tab"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, false, never>;
2762
+ }
2763
+
2764
+ interface Tab {
2765
+ /** Sets the title displayed in the tab list for this child. */
2766
+ tab: string;
2767
+ id?: string | number;
2768
+ thook?: string;
2769
+ active?: boolean;
2770
+ disabled?: boolean;
2771
+ link?: string;
2772
+ directive?: TabDirective;
2773
+ }
2774
+ type EventTabChange = {
2775
+ type: 'start';
2776
+ prev: Tab | undefined;
2777
+ next: Tab;
2778
+ cancel: () => void;
2779
+ } | {
2780
+ type: 'cancel';
2781
+ prev: Tab | undefined;
2782
+ next: Tab;
2783
+ } | {
2784
+ type: 'end';
2785
+ prev: Tab | undefined;
2786
+ next: Tab;
2787
+ };
2788
+
2789
+ declare class TabsComponent implements OnChanges, OnInit, AfterContentInit, OnDestroy {
2790
+ protected router: Router;
2791
+ /** @internal */
2792
+ baseClass: boolean;
2793
+ /** Special property used for selecting DOM elements during automated UI testing. */
2794
+ thook: string | null | undefined;
2795
+ /** @internal List of children with a {@link TabDirective}. */
2796
+ tabRefs: QueryList<TabDirective>;
2797
+ /**
2798
+ * List of tabs to generate, this should not be used in conjunction with children that have a {@link TabDirective}.
2799
+ * It is useful for generating a list of tabs with links for navigation.
2800
+ * If any tab has the link property, a `<router-outlet>` is added below the tabs list.
2801
+ */
2802
+ tabs: Tab[];
2803
+ /**
2804
+ * Event triggered on initialization and every time the active tab changes.
2805
+ * The tab change can be cancelled if event type is set to `'before'` and `cancel()` is called.
2806
+ */
2807
+ ngvTabSwitch: EventEmitter<EventTabChange>;
2808
+ /** @internal Adds a `<router-outlet>` below the tabs list. */
2809
+ useRouting: boolean;
2810
+ /** @internal The currently active tab. */
2811
+ selectedTab: Tab | undefined;
2812
+ /** @internal If tab switching has started. */
2813
+ isSwitching: boolean;
2814
+ /** @internal */
2815
+ protected subs: Subscription[];
2816
+ constructor(router: Router);
2817
+ /** @internal */
2818
+ static uniqueIds(tabs: Tab[]): {
2819
+ tab: string;
2820
+ id?: string | number;
2821
+ thook?: string;
2822
+ active?: boolean;
2823
+ disabled?: boolean;
2824
+ link?: string;
2825
+ directive?: TabDirective;
2826
+ }[];
2827
+ ngOnChanges(changes: SimpleChanges): void;
2828
+ ngOnInit(): void;
2829
+ ngAfterContentInit(): void;
2830
+ /** @internal */
2831
+ protected updateFromInput: () => void;
2832
+ /** @internal */
2833
+ protected updateFromReferences: () => void;
2834
+ /** @internal */
2835
+ protected updateTabs(): void;
2836
+ ngOnDestroy(): void;
2837
+ /** @internal */
2838
+ protected activateTab(tab: Tab): void;
2839
+ /** @internal */
2840
+ onSelect(id: string | number | undefined): void;
2841
+ /** @internal */
2842
+ onKeyDown(event: KeyboardEvent): boolean;
2843
+ /** @internal */
2844
+ protected tabFocusHelper(event: KeyboardEvent, tabElement: HTMLElement): void;
2845
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
2846
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "nggv-tabs", never, { "thook": { "alias": "thook"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; }, { "ngvTabSwitch": "ngvTabSwitch"; }, ["tabRefs"], ["*"], false, never>;
2847
+ }
2848
+
2849
+ declare class NggvTabsModule {
2850
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTabsModule, never>;
2851
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvTabsModule, [typeof TabDirective, typeof TabsComponent], [typeof i2.CommonModule, typeof i5.TranslocoModule, typeof i4.RouterModule], [typeof TabDirective, typeof TabsComponent]>;
2852
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvTabsModule>;
2853
+ }
2854
+
2855
+ /** Textarea fields allow users to add and edit longer or multiple line text. */
2856
+ declare class NggvTextareaComponent extends NggvBaseControlValueAccessorComponent$1 {
2857
+ ngControl: NgControl;
2858
+ protected translocoScope: TranslocoScope;
2859
+ protected cdr: ChangeDetectorRef;
2860
+ /** Special property used for selecting DOM elements during automated UI testing. */
2861
+ thook: string | null | undefined;
2862
+ /**
2863
+ * Sets the small class based on the size input.
2864
+ */
2865
+ get isSmall(): boolean;
2866
+ /**
2867
+ * Sets the large class based on the size input.
2868
+ */
2869
+ get isLarge(): boolean;
2870
+ /** Text shown before input has a written value. */
2871
+ placeholder?: string;
2872
+ /** If set to true, the value will not be editable. */
2873
+ readonly: boolean;
2874
+ /** Minimum length (number of characters) of value. */
2875
+ set minLength(length: number);
2876
+ get minlength(): number;
2877
+ /**
2878
+ * Minimum length (number of characters) of value.
2879
+ * @deprecated minlength triggers angular-template-validation. Use @Input() minLength instead.
2880
+ */
2881
+ set minlength(length: number);
2882
+ /** Maximum length (number of characters) of value. */
2883
+ set maxLength(length: number);
2884
+ get maxlength(): number;
2885
+ /**
2886
+ * Maximum length (number of characters) of value.
2887
+ * @deprecated maxlength triggers angular-template-validation. Use @Input() maxLength instead.
2888
+ */
2889
+ set maxlength(length: number);
2890
+ /** Returns if maxlength is used */
2891
+ get hasMaxLength(): boolean;
2892
+ private _maxlength;
2893
+ private _minlength;
2894
+ /** Sets the height of the textarea and disables resize. A scrollbar will appear if necessary. */
2895
+ rows?: number;
2896
+ /**
2897
+ * Sets the displayed size of the textarea.
2898
+ */
2899
+ size: 'small' | 'large';
2900
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
2901
+ /** @internal */
2902
+ onInput(event: Event): void;
2903
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTextareaComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
2904
+ static ɵcmp: i0.ɵɵComponentDeclaration<NggvTextareaComponent, "nggv-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; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], false, never>;
2905
+ }
2906
+
2907
+ declare class NggvTextareaModule {
2908
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTextareaModule, never>;
2909
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvTextareaModule, [typeof NggvTextareaComponent], [typeof i2.CommonModule, typeof i3$1.NggvI18nModule, typeof i6.NggvCharacterCountdownDirectiveModule, typeof i4$1.NggCoreWrapperModule], [typeof NggvTextareaComponent]>;
2910
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvTextareaModule>;
2911
+ }
2912
+
2913
+ interface ToastMessage {
2914
+ type: MessageType | 'success' | 'information' | 'error' | 'warning';
2915
+ translocoScope?: string;
2916
+ titleText?: string;
2917
+ bodyText?: string;
2918
+ template?: TemplateRef<any>;
2919
+ templateContext?: any;
2920
+ timeout?: number;
2921
+ timeoutId?: number;
2922
+ timeoutStartTime?: number;
2923
+ }
2924
+ declare enum MessageType {
2925
+ Success = "success",
2926
+ Information = "information",
2927
+ Error = "error",
2928
+ Warning = "warning"
2929
+ }
2930
+
2931
+ declare class ToastMessageService {
2932
+ private messages;
2933
+ private messageSubject;
2934
+ add(message: ToastMessage): void;
2935
+ addMessage(type: 'success' | 'information' | 'error' | 'warning', translocoScope: string, titleText: string, bodyText?: string, timeout?: number, template?: TemplateRef<any>, templateContext?: any): void;
2936
+ removeMessage(message: ToastMessage): void;
2937
+ pauseMessageTimeout(message: ToastMessage): void;
2938
+ resumeMessageTimeout(message: ToastMessage): void;
2939
+ getMessages(): Observable<ToastMessage[]>;
2940
+ private getDuplicateMessageIndex;
2941
+ private removeMessageByIndex;
2942
+ private setMessageRemoveTimeout;
2943
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastMessageService, never>;
2944
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToastMessageService>;
2945
+ }
2946
+
2947
+ declare class ToastComponent implements OnInit, OnDestroy {
2948
+ private toastMessageService;
2949
+ closeButtonAriaLabel?: string;
2950
+ private toastMessagesSubscription;
2951
+ messages: ToastMessage[];
2952
+ constructor(toastMessageService: ToastMessageService);
2953
+ ngOnInit(): void;
2954
+ onMouseEnter(message: ToastMessage): void;
2955
+ onMouseLeave(message: ToastMessage): void;
2956
+ removeMessage(message: ToastMessage): void;
2957
+ trackByMessageIndex(index: number, message: ToastMessage): number;
2958
+ ngOnDestroy(): void;
2959
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
2960
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "nggv-toast", never, { "closeButtonAriaLabel": { "alias": "closeButtonAriaLabel"; "required": false; }; }, {}, never, never, false, never>;
2961
+ }
2962
+
2963
+ declare class NggvToastModule {
2964
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvToastModule, never>;
2965
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvToastModule, [typeof ToastComponent], [typeof i2.CommonModule, typeof i5.TranslocoModule, typeof i4$1.NggCoreWrapperModule], [typeof ToastComponent]>;
2966
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvToastModule>;
2967
+ }
2968
+
2969
+ type Placement = 'top' | 'right' | 'bottom' | 'left';
2970
+ type Position = {
2971
+ top?: number;
2972
+ right?: number;
2973
+ bottom?: number;
2974
+ left?: number;
2975
+ };
2976
+ /**
2977
+ * A tooltip is a text label that acts as a helper to a specific item.
2978
+ * Recommended to use value `top` or `bottom` with `placement` for responsive design.
2979
+ * Dynamic resizing and tooltip position are a work in progress.
2980
+ * https://designlibrary.sebgroup.com/components/component-tooltip
2981
+ */
2982
+ declare class NggvTooltipDirective implements AfterViewInit, OnChanges, OnDestroy {
2983
+ private anchorElementRef;
2984
+ private renderer;
2985
+ /** The text that will be shown in the tooltip. */
2986
+ nggvTooltip?: string;
2987
+ /** Special property used for selecting DOM elements during automated UI testing. */
2988
+ thook: string;
2989
+ /** The side of the anchor which the tooltip will be rendered.
2990
+ * Recommended `top` and `bottom` for responsive designs as these are more stable.
2991
+ */
2992
+ placement: Placement;
2993
+ /** Initial state and subsequent updates on wether the tooltip is visible. */
2994
+ shown: boolean;
2995
+ /** How far off from the text the tooltip will be rendered. */
2996
+ offset: number;
2997
+ /** How frequently the tooltip will be re-rendered when the page size changes. */
2998
+ resizeThrottle: number;
2999
+ /** Id of tooltip element. */
3000
+ tooltipId?: string;
3001
+ /** Numeric max-width for tooltip. */
3002
+ maxWidth: number;
3003
+ /** Emits a show event triggered changing visibility state of the tooltip. */
3004
+ nggvShow: EventEmitter<HTMLElement>;
3005
+ /** Emits a hide event triggered changing visibility state of the tooltip. */
3006
+ nggvHide: EventEmitter<HTMLElement>;
3007
+ /** @internal */
3008
+ protected timeout: number;
3009
+ /** @internal */
3010
+ protected parentElement: HTMLElement;
3011
+ /** @internal */
3012
+ protected anchorElement: HTMLElement;
3013
+ /** @internal */
3014
+ protected tooltipElement: HTMLElement | undefined;
3015
+ /** @internal */
3016
+ protected arrowElement: HTMLElement | undefined;
3017
+ /** @internal Check if changes should trigger a re-render */
3018
+ static shouldUpdate(change: SimpleChange): boolean;
3019
+ constructor(anchorElementRef: ElementRef, renderer: Renderer2);
3020
+ ngAfterViewInit(): void;
3021
+ ngOnChanges(changes: SimpleChanges): void;
3022
+ ngOnDestroy(): void;
3023
+ /** @internal */
3024
+ onMouseEnter(): void;
3025
+ /** @internal */
3026
+ onMouseLeave(): void;
3027
+ /** @internal */
3028
+ resize(): void;
3029
+ /**
3030
+ * Sets the visibility state of the tooltip to true and creates a new tooltip if it doesn't exist or `recreate` is set.
3031
+ * @param recreate if set to true, destroy any existing tooltip and create a new one.
3032
+ */
3033
+ show(recreate?: boolean): void;
3034
+ /**
3035
+ * Sets the visibility state of the tooltip to false and destroys an existing tooltip if `destroy` is set.
3036
+ * @param destroy if set to true, destroy any existing tooltip.
3037
+ */
3038
+ hide(destroy?: boolean): void;
3039
+ /**
3040
+ * @internal
3041
+ * Creates a new tooltip with the set placement and a given text as its body.
3042
+ * @param text the string to be displayed in the tooltip body.
3043
+ */
3044
+ create(text: string): void;
3045
+ /**
3046
+ * @internal
3047
+ * Destroys the current tooltip by un-setting variables, should only be used after detaching elements from the DOM.
3048
+ */
3049
+ destroy(): void;
3050
+ /**
3051
+ * @internal
3052
+ * Recalculates the position of the tooltip.
3053
+ */
3054
+ updatePosition(): void;
3055
+ /**
3056
+ * @internal
3057
+ * Calculates and set the position of the tooltip when the placement is `top` or `bottom`.
3058
+ */
3059
+ alignVertical(above: boolean, scrollPos: number, anchor: DOMRect, tooltipWidth: number, tooltipHeight: number, arrowWidth: number): void;
3060
+ /**
3061
+ * @internal
3062
+ * Calculates and set the position of the tooltip when the placement is `left` or `right`.
3063
+ */
3064
+ alignHorizontal(before: boolean, scrollPos: number, anchor: DOMRect, tooltipHeight: number): void;
3065
+ /**
3066
+ * @internal
3067
+ * Updates the CSS properties for the tooltip position.
3068
+ */
3069
+ setStyle(tooltip: Position, arrow: Position): void;
3070
+ private pxToRem;
3071
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTooltipDirective, never>;
3072
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NggvTooltipDirective, "[nggvTooltip]", never, { "nggvTooltip": { "alias": "nggvTooltip"; "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; }; "tooltipId": { "alias": "tooltipId"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, { "nggvShow": "nggvShow"; "nggvHide": "nggvHide"; }, never, never, false, never>;
3073
+ }
3074
+
3075
+ declare class NggvTooltipModule {
3076
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTooltipModule, never>;
3077
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvTooltipModule, [typeof NggvTooltipDirective], [typeof i3$1.NggvI18nModule], [typeof NggvTooltipDirective]>;
3078
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvTooltipModule>;
3079
+ }
3080
+
3081
+ declare class NggvModule {
3082
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvModule, never>;
3083
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvModule, never, [typeof i2.CommonModule], [typeof NggvCharacterCountdownDirectiveModule, typeof i4$1.NggCoreWrapperModule, typeof NggvSlugPipeModule, typeof NggvAlertModule, typeof NggvBaseControlValueAccessorModule, typeof NggvBreadcrumbsModule, typeof NggvButtonModule, typeof NggvCardModule, typeof NggvCheckboxModule, typeof NggvDatepickerModule, typeof NggvDragDropModule, typeof NggvDropdownModule, typeof NggvExternalLinkDirectiveModule, typeof NggvI18nModule, typeof NggvInfoCircleModule, typeof NggvInputMaskModule, typeof NggvInputModule, typeof NggvModalModule, typeof NggvPaginationModule, typeof NggvRadioModule, typeof NggvTableModule, typeof NggvTabsModule, typeof NggvTextareaModule, typeof NggvToastModule, typeof NggvTooltipModule, typeof NggvTypeaheadModule]>;
3084
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvModule>;
3085
+ }
3086
+
3087
+ export { AccountNumberPipe, AlertComponent, AlertType, ButtonStyle, CalendarComponent, CalendarControlComponent, CalendarDateDirective, CalendarMonth, CharacterCountdownDirective, DateControlValueAccessorComponent, DateCss, DateInputComponent, DatepickerComponent, DropdownUtils, InputMaskFormatPipe, IsDisabledPipe, MatchesPipe, MessageType, Month, NggvAccountNumberPipeModule, NggvAlertModule, NggvBaseControlValueAccessorComponent, NggvBaseControlValueAccessorModule, NggvBreadcrumbsComponent, NggvBreadcrumbsModule, NggvButtonComponent, NggvButtonModule, NggvCardComponent, NggvCardModule, NggvCharacterCountdownDirectiveModule, NggvCheckboxComponent, NggvCheckboxModule, NggvDatepickerModule, NggvDialogComponent, NggvDragDropComponent, NggvDragDropModule, NggvDropdownComponent, NggvDropdownListComponent, NggvDropdownModule, NggvExternalLinkDirective, NggvExternalLinkDirectiveModule, NggvFoldOutComponent, NggvFoldOutOptionDirective, NggvI18nModule, NggvI18nTestModule, NggvInfoCircleComponent, NggvInfoCircleModule, NggvInputComponent, NggvInputMaskDirective, NggvInputMaskModule, NggvInputModule, NggvMissingHandler, NggvModalModule, NggvModule, NggvPaginationModule, NggvRadioComponent, NggvRadioControlRegistry, NggvRadioGroupComponent, NggvRadioModule, NggvSlideOutComponent, NggvSlugPipeModule, NggvTableModule, NggvTabsModule, NggvTextareaComponent, NggvTextareaModule, NggvToastModule, NggvTooltipDirective, NggvTooltipModule, NggvTypeaheadDirective, NggvTypeaheadDropdownListComponent, NggvTypeaheadHighlightComponent, NggvTypeaheadInputComponent, NggvTypeaheadModule, PaginationComponent, SchemaType, SlugPipe, TabDirective, TableAppendableRowsTemplateDirective, TableComponent, TableDirective, TableFooterTemplateDirective, TableTemplateDirective, TabsComponent, ToastComponent, ToastMessageService, TrThookPipe, TranslocoMockInterceptor, TranslocoMockMissingHandler, TranslocoMockPipe, TranslocoMockStrategy, TranslocoMockTranspiler, ValueImpurePipe, ValuePipe, afterClosingHours, bbanPattern, createMask, firstCalendarDate, formatAccountNumber, generateDateMatrix, getDayOffset, getFormatDateMask, getLocaleDateMask, getLocaleDateString, getMonthArray, getSortedWeekDays, getYearArray, ibanPattern, isAfter, isBefore, isValid, match, setDateFormatCharacters, sortWeekDays, toLocalDate };
3088
+ export type { APIFile, APIFileBaseProperties, APIStatus, APIStatusBaseProperties, APIStatusReason, AccountNumberSchema, AlertMessage, ButtonTypes, CalendarType, ColumnType, DateCharacters, DialogEvent, DisableDateConfig, DragDropState, EventStateChange, EventTabChange, FileService, InputMaskConfig$1 as InputMaskConfig, InputmaskOptions, LocalFile, Option, OptionBase, OptionGroup, OrderBy, Placement, SortingOrder, StateMap, Tab, TableColumn, TableHeaderOptions, TableRow, TableRowOptions, ToastMessage, UploadState, ariaLabelsOrderBy };