@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,2 +1,22 @@
1
- export * from './slug.pipe';
2
- export * from './slug.module';
1
+ import * as i0 from '@angular/core';
2
+ import { PipeTransform } from '@angular/core';
3
+ import * as i2 from '@angular/common';
4
+
5
+ /** Pipe used to transform text with special characters into a simple kebab-case id. */
6
+ declare class SlugPipe implements PipeTransform {
7
+ /**
8
+ * Function for executing the transformation to kebab-case id.
9
+ * @param value the text with special characters which to transform.
10
+ */
11
+ transform(value?: string): unknown;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SlugPipe, never>;
13
+ static ɵpipe: i0.ɵɵPipeDeclaration<SlugPipe, "slug", false>;
14
+ }
15
+
16
+ declare class NggvSlugPipeModule {
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvSlugPipeModule, never>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvSlugPipeModule, [typeof SlugPipe], [typeof i2.CommonModule], [typeof SlugPipe]>;
19
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvSlugPipeModule>;
20
+ }
21
+
22
+ export { NggvSlugPipeModule, SlugPipe };
@@ -1,5 +1,379 @@
1
- export * from './table.component';
2
- export * from './table.directive';
3
- export * from './tr-thook.pipe';
4
- export * from './table.models';
5
- export * from './table.module';
1
+ import * as i0 from '@angular/core';
2
+ import { TemplateRef, OnInit, OnChanges, AfterContentInit, OnDestroy, QueryList, EventEmitter, SimpleChanges, PipeTransform } from '@angular/core';
3
+ import * as i4 from '@angular/forms';
4
+ import { UntypedFormGroup, UntypedFormControl } from '@angular/forms';
5
+ import { Subscription } from 'rxjs';
6
+ import * as i3 from '@angular/common';
7
+ import * as i5 from '@jsverse/transloco';
8
+
9
+ declare class TableDirective {
10
+ columnType: 'numeric' | 'text' | undefined;
11
+ sortable?: boolean;
12
+ sortOrder?: 'desc' | 'asc';
13
+ value: any;
14
+ thook: string | null | undefined;
15
+ get numericColumn(): boolean;
16
+ get isSortable(): boolean;
17
+ get orderAscending(): boolean;
18
+ get orderDescending(): boolean;
19
+ get negativeValue(): boolean;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableDirective, never>;
21
+ 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>;
22
+ }
23
+ declare class TableTemplateDirective<K = string> {
24
+ templateRef: TemplateRef<any>;
25
+ tableColumn: K;
26
+ tableColumnTarget?: 'th' | 'td' | 'both';
27
+ constructor(templateRef: TemplateRef<any>);
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableTemplateDirective<any>, never>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableTemplateDirective<any>, "[tableColumn]", never, { "tableColumn": { "alias": "tableColumn"; "required": false; }; "tableColumnTarget": { "alias": "tableColumnTarget"; "required": false; }; }, {}, never, never, false, never>;
30
+ }
31
+ declare class TableFooterTemplateDirective {
32
+ templateRef: TemplateRef<any>;
33
+ constructor(templateRef: TemplateRef<any>);
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableFooterTemplateDirective, never>;
35
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableFooterTemplateDirective, "[tableFooter]", never, {}, {}, never, never, false, never>;
36
+ }
37
+ declare class TableAppendableRowsTemplateDirective {
38
+ templateRef: TemplateRef<any>;
39
+ constructor(templateRef: TemplateRef<any>);
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableAppendableRowsTemplateDirective, never>;
41
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableAppendableRowsTemplateDirective, "[tableAppendableRows]", never, {}, {}, never, never, false, never>;
42
+ }
43
+
44
+ type SortingOrder = 'asc' | 'desc';
45
+ type ColumnType = 'numeric' | 'text';
46
+ /** Generic type for TableRow data */
47
+ type TableRow = Record<string, any>;
48
+ /** Options applying to the table header */
49
+ interface TableHeaderOptions {
50
+ /**
51
+ * Defined the text displayed in the table header.
52
+ * @example <th> {{TableColumn.label}} </th>
53
+ */
54
+ label?: string;
55
+ /** Adjusts text-alignment. */
56
+ valueType?: ColumnType;
57
+ /**
58
+ * Defines whether the table data can be ordered using this column.
59
+ * Setting this to false (or omitting it) will also remove the caret sorting symbol in specified column.
60
+ */
61
+ sortable?: boolean;
62
+ /**
63
+ * Defined aria label for a sortable column for the screen reader users.
64
+ */
65
+ ariaLabelSortable?: string;
66
+ /**
67
+ * Describes the sorting order of the column.
68
+ * As the table can only be sorted based on one column property, if the property is not undefined,
69
+ * it will instruct the table to sort the data based on this specific column.
70
+ */
71
+ order?: SortingOrder;
72
+ /**
73
+ * Dynamically hide or show the label and data on mobile view.
74
+ * This is useful when the table is displayed on a small screen and the data is not relevant.
75
+ */
76
+ hideLabelOnMobile?: boolean;
77
+ hidePropertyOnMobile?: boolean;
78
+ /**
79
+ * Set to true to make the text bold on mobile view.
80
+ * This is useful when the label is hidden on mobile view but the data is still displayed.
81
+ */
82
+ boldTextOnMobile?: boolean;
83
+ /**
84
+ * Used to set label for the column.
85
+ * This is useful when the column has an additional information that needs to be shown.
86
+ */
87
+ columnLabel?: string;
88
+ }
89
+ /** Options applying to table rows */
90
+ interface TableRowOptions {
91
+ /** Adjusts text-alignment. */
92
+ valueType?: ColumnType;
93
+ /** Used to prevent the default click event to be emitted when clicking in cells for specified column */
94
+ preventDefaultClickEvent?: boolean;
95
+ }
96
+ /**
97
+ * Interface used to describe how a table column should be displayed. This includes the text and class used for the table header,
98
+ * and the data for each table row.
99
+ */
100
+ interface TableColumn<T extends TableRow> extends TableHeaderOptions, TableRowOptions {
101
+ /**
102
+ * The property name used to identify what value to display in a cell for that column.
103
+ * @example <tr *ngFor="let data in dataList"> <td>{{ data[TableColumn.property] }}</td> </tr>
104
+ */
105
+ property: keyof T;
106
+ }
107
+ /**
108
+ * Interface describing event emitted on reordering the table.
109
+ */
110
+ interface OrderBy<T extends TableRow> {
111
+ property: keyof T;
112
+ order: SortingOrder | undefined;
113
+ }
114
+ /**
115
+ * Interface describing the aria labels for sorting in the table.
116
+ * Aria label attributes are used for a screen reader to describe the sorting state of the table.
117
+ */
118
+ interface ariaLabelsOrderBy {
119
+ asc: string;
120
+ desc: string;
121
+ }
122
+
123
+ /**
124
+ * A table component with built-in sorting and selecting functionality.
125
+ * By default, table cells (i.e. `<td>` elements) and table headers (i.e. `<th>` elements) are populated with text only values.
126
+ *
127
+ * To customize the contents of either the `<td>` or `<th>` elements (like adding color, icons, form fields, extra padding etc.), provide
128
+ * the customized content within a `<ng-template>`-tag, and place the ng-template in the html between the start and ending tag of
129
+ * the `<nggv-table>`. Add a `tableColumn`-attribute to the `<ng-template>`-element, and set the value to the specific column property.
130
+ * Set `tableColumnTarget` to either `th`, `td` or `both` (default) depending on target element type.
131
+ * The entire row from the `@Input() tableData` is available from the context `$implicit` variable.
132
+ *
133
+ * @example
134
+ * <!-- for table cells i.e. td-elements -->
135
+ * <ng-template tableColumn="status" tableColumnTarget="td" let-myDataVar="$implicit" let-status="$implicit.status">
136
+ * <!-- my custom status element -->
137
+ * </ng-template>
138
+ *
139
+ * @example
140
+ * <!-- for table headers i.e. th-elements -->
141
+ * <ng-template tableColumn="status" tableColumnTarget="th" let-myDataVar="$implicit" let-status="$implicit.status">
142
+ * <!-- my custom status element -->
143
+ * </ng-template>
144
+ *
145
+ * 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
146
+ * 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.
147
+ *
148
+ * @example
149
+ * <!-- custom appended rows -->
150
+ * <ng-template tableAppendableRows let-myDataVar="$implicit" let-status="$implicit.status">
151
+ * <tr>
152
+ * <!-- first row's columns -->
153
+ * </tr>
154
+ * <!-- more rows if needed -->
155
+ * </ng-template>
156
+ *
157
+ * 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.
158
+ * You can pass your own custom method with conditional logic to define what value will be passed to data-hasrowspan.
159
+ * In addition, hasRowSpan function accepts item from `@Input() tableData` as argument which is of the same type as value passed to context `$implicit` variable.
160
+ * 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.
161
+ *
162
+ * @example
163
+ * <!-- inside component
164
+ * class CustomComponent {
165
+ * customHasRowSpanFunction = (item: CustomDataType) => item.appendedRowsData.length > 0 ? true : false;
166
+ * }
167
+ * -->
168
+ * <!-- inside stylesheets
169
+ * [data-hasrowspan="true"] {
170
+ * color: blue;
171
+ * }
172
+ * .appended-row {
173
+ * color: blue;
174
+ * }
175
+ * -->
176
+ * <nggv-table [hasRowSpan]="customHasRowSpanFunction">
177
+ * <!-- custom appended rows -->
178
+ * <ng-template tableAppendableRows let-appendedRowsData="$implicit.appendedRowsData">
179
+ * <tr *ngFor="let appendedRowItem of appendedRowsData" class="appended-row">
180
+ * <td>{{ appendedRowItem }}</td>
181
+ * <!-- other row's columns -->
182
+ * </tr>
183
+ * </ng-template>
184
+ * </nggv-table>
185
+ *
186
+ * 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
187
+ * 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.
188
+ *
189
+ * @example
190
+ * <!-- for table footer i.e. tfoot-element -->
191
+ * <ng-template tableFooter>
192
+ * <tr>
193
+ * <!-- first row's columns -->
194
+ * </tr>
195
+ * <!-- more rows if needed -->
196
+ * </ng-template>
197
+ *
198
+ */
199
+ declare class TableComponent<T extends TableRow> implements OnInit, OnChanges, AfterContentInit, OnDestroy {
200
+ /**
201
+ * @internal
202
+ * Custom templates defined in the html.
203
+ */
204
+ customTemplates: QueryList<TableTemplateDirective<keyof T>>;
205
+ /**
206
+ * @internal
207
+ * Custom appended rows template defined in the html.
208
+ */
209
+ appendedRowsTemplate: TableAppendableRowsTemplateDirective;
210
+ /**
211
+ * @internal
212
+ * Custom footer template defined in the html.
213
+ */
214
+ customFooterTemplate: TableFooterTemplateDirective;
215
+ /** Emits the table row that was clicked. Works on all columns if not preventDefaultEmit is set for that column. */
216
+ ngvRowClick: EventEmitter<any>;
217
+ /**
218
+ * Emits currently selected and deselected items in the table as key-value pairs.
219
+ * Uses each item`s itemId as key, and a boolean value to describe selected status.
220
+ */
221
+ ngvRowSelect: EventEmitter<string[]>;
222
+ /**
223
+ * Emits event to signal that the table should be reordered.
224
+ */
225
+ ngvOrderBy: EventEmitter<OrderBy<T>>;
226
+ /**
227
+ * An array of items describing how the table header should be rendered,
228
+ * together with instructions for how each row should be displayed in that column.
229
+ */
230
+ tableColumns: TableColumn<T>[];
231
+ /** Data array to display data in the table. Each item <T> in the array represents a row in the table. */
232
+ tableData: T[];
233
+ /**
234
+ * Property name used to uniquely describe each item (i.e. row) in the data table.
235
+ * Defaults to \'id\'.
236
+ * Is required if selectable is true.
237
+ */
238
+ rowId: string;
239
+ /**
240
+ * Function's return value is used for data attribute \'data-hasrowspan\'.
241
+ * If custom hasRowSpan function is not passed to the table,
242
+ * then this function returns undefined value by default which results in \'data-hasrowspan\' attribute being omitted in html
243
+ * (angular omits attributes that contain null or undefined value).
244
+ * 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.
245
+ */
246
+ hasRowSpan: (item: T) => any;
247
+ /**
248
+ * Used to enable/disable the left-side checkbox column.
249
+ * Defaults to true.
250
+ */
251
+ selectable: boolean;
252
+ /**
253
+ * Array of row id's (as defined by rowId property) that should not have a checkbox even if selectable is true.
254
+ */
255
+ hiddenCheckboxRowIds: string[];
256
+ /**
257
+ * Used to enable/disable expandable rows.
258
+ * Defaults to false.
259
+ */
260
+ expandable: boolean;
261
+ /**
262
+ * Used to enable/disable the right-side expand icon column.
263
+ * Defaults to true.
264
+ */
265
+ expandedByDefault: boolean;
266
+ /**
267
+ * Property name used to describe the subItems in the data table.
268
+ */
269
+ subItemsProp: string;
270
+ /**
271
+ * 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.
272
+ * Disabled by default.
273
+ */
274
+ allowLocalSort: boolean;
275
+ /** Special property used for selecting DOM elements during automated UI testing. */
276
+ thook: string;
277
+ /** Function to overwrite generated thook for each row. */
278
+ trThookFn?: (item: T) => string;
279
+ /** Aria label for the checkbox in the table header */
280
+ ariaLabelCheckboxTh?: string;
281
+ /** Aria label for the checkbox in the table header */
282
+ ariaLabelCheckboxTr?: string;
283
+ /** Aria labels for sorting in the table header */
284
+ ariaLabelsOrderBy?: ariaLabelsOrderBy;
285
+ /**
286
+ * @internal
287
+ * Internal data structure used to keep track of added content templates used in td elements.
288
+ */
289
+ customRowTemplates: Map<keyof T, TemplateRef<any>>;
290
+ /**
291
+ * @internal
292
+ * Internal data structure used to keep track of added content templates used in th elements.
293
+ */
294
+ customHeaderTemplates: Map<keyof T, TemplateRef<any>>;
295
+ /**
296
+ * @internal
297
+ * Internal data structure used to hold custom appended rows i.e. tr elements (rows).
298
+ */
299
+ appendedRowsTemplateRef: TemplateRef<any>;
300
+ /**
301
+ * @internal
302
+ * Internal data structure used to hold tfoot element children i.e. tr elements (rows).
303
+ */
304
+ customFooterTemplateRef: TemplateRef<any>;
305
+ /**
306
+ * @internal
307
+ * Incremental id.
308
+ */
309
+ initId: number;
310
+ /**
311
+ * @internal
312
+ * FormGroup containing all row id\'s as controls, and whether these are selected or not as values.
313
+ */
314
+ rowSelectors: UntypedFormGroup;
315
+ /**
316
+ * @internal
317
+ * Master selector for selecting or deselecting all row selectors.
318
+ */
319
+ groupSelector: UntypedFormControl;
320
+ private selected;
321
+ private subs;
322
+ ngOnChanges(changes: SimpleChanges): void;
323
+ ngOnInit(): void;
324
+ ngAfterContentInit(): void;
325
+ ngOnDestroy(): void;
326
+ /**
327
+ * @internal
328
+ * Returns a subscription to the master selector control that either selects or deselects all row controls.
329
+ */
330
+ get groupValueSubscription(): Subscription;
331
+ /**
332
+ * @internal
333
+ * Returns a subscription to all individual row selectors and update the master selector if all are selected.
334
+ */
335
+ get rowValueSubscription(): Subscription;
336
+ /**
337
+ * @internal
338
+ * Registers or disables row controls for new or removed rows.
339
+ */
340
+ registerSelectableRows(tableData: any[]): boolean;
341
+ /**
342
+ * @internal
343
+ * Returns all enabled values unless all rows are disabled.
344
+ */
345
+ get rowSelectorsValue(): any;
346
+ toggleSortOrderWithSpace(event: any, column: TableColumn<T>): void;
347
+ /**
348
+ * @internal
349
+ * Switches sorting order between ascending and descending order for a column.
350
+ * @param column the column to sort rows after.
351
+ */
352
+ toggleSortOrder(column: TableColumn<T>): void;
353
+ /** If sortable, reorders the table data using the specified column as ordering attribute. */
354
+ sortItemsBy(column: TableColumn<T>): TableRow[] | undefined;
355
+ /**
356
+ * @internal
357
+ * Emits row data for what row was clicked if defaultEmit is allowed.
358
+ */
359
+ propagateItemClick(item: any, preventDefaultEmit?: boolean): void;
360
+ getAriaLabel(column: TableColumn<T>): string | undefined;
361
+ private toggleRowToExpand;
362
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
363
+ 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>;
364
+ }
365
+
366
+ declare class TrThookPipe implements PipeTransform {
367
+ transform<V>(value: V, index: number, thookFn?: (rowData: V) => string): string;
368
+ static ɵfac: i0.ɵɵFactoryDeclaration<TrThookPipe, never>;
369
+ static ɵpipe: i0.ɵɵPipeDeclaration<TrThookPipe, "trThook", true>;
370
+ }
371
+
372
+ declare class NggvTableModule {
373
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTableModule, never>;
374
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvTableModule, [typeof TableComponent, typeof TableDirective, typeof TableTemplateDirective, typeof TableFooterTemplateDirective, typeof TableAppendableRowsTemplateDirective], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.TranslocoModule, typeof TrThookPipe], [typeof TableComponent, typeof TableTemplateDirective, typeof TableFooterTemplateDirective, typeof TableAppendableRowsTemplateDirective]>;
375
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvTableModule>;
376
+ }
377
+
378
+ export { NggvTableModule, TableAppendableRowsTemplateDirective, TableComponent, TableDirective, TableFooterTemplateDirective, TableTemplateDirective, TrThookPipe };
379
+ export type { ColumnType, OrderBy, SortingOrder, TableColumn, TableHeaderOptions, TableRow, TableRowOptions, ariaLabelsOrderBy };
@@ -1,4 +1,138 @@
1
- export * from './tab.directive';
2
- export * from './tabs.component';
3
- export * from './tabs.models';
4
- export * from './tabs.module';
1
+ import * as i0 from '@angular/core';
2
+ import { OnChanges, OnInit, AfterContentInit, OnDestroy, QueryList, EventEmitter, SimpleChanges } from '@angular/core';
3
+ import * as i5 from '@angular/router';
4
+ import { Router } from '@angular/router';
5
+ import { Subscription } from 'rxjs';
6
+ import * as i3 from '@angular/common';
7
+ import * as i4 from '@jsverse/transloco';
8
+
9
+ /**
10
+ * Directive that provides the tab container with data about its child tabs.
11
+ * The directive sets its own active state and adds aria attributes.
12
+ *
13
+ * @example
14
+ * <nggv-tabs>
15
+ * <article tab="Tab title 1"> <!-- Content --> </article>
16
+ * <article tab="Tab title 2" [active]="true"> <!-- Content --> </article>
17
+ * <article tab="Tab title 3" disabled> <!-- Content --> </article>
18
+ * <article tab="<strong>Tab title 4</strong>"> <!-- Content --> </article>
19
+ * </nggv-tabs>
20
+ */
21
+ declare class TabDirective {
22
+ /** @internal */
23
+ baseClass: boolean;
24
+ /** @internal */
25
+ role: string;
26
+ /** Special property used for selecting DOM elements during automated UI testing. */
27
+ thook: string | null | undefined;
28
+ /** Sets whether this tab should be the active tab on load. */
29
+ active: boolean;
30
+ /** @internal */
31
+ get hidden(): boolean;
32
+ /** Sets the title displayed in the tab list for this child. */
33
+ tab: string;
34
+ /** Sets whether this tab should be able to be selected. */
35
+ disabled: boolean;
36
+ /** Identifier used for aria attributes and selection. */
37
+ id: string | number | undefined;
38
+ /** @internal */
39
+ get attrId(): string;
40
+ /** @internal */
41
+ get ariaLabelledby(): string;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabDirective, never>;
43
+ 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>;
44
+ }
45
+
46
+ interface Tab {
47
+ /** Sets the title displayed in the tab list for this child. */
48
+ tab: string;
49
+ id?: string | number;
50
+ thook?: string;
51
+ active?: boolean;
52
+ disabled?: boolean;
53
+ link?: string;
54
+ directive?: TabDirective;
55
+ }
56
+ type EventTabChange = {
57
+ type: 'start';
58
+ prev: Tab | undefined;
59
+ next: Tab;
60
+ cancel: () => void;
61
+ } | {
62
+ type: 'cancel';
63
+ prev: Tab | undefined;
64
+ next: Tab;
65
+ } | {
66
+ type: 'end';
67
+ prev: Tab | undefined;
68
+ next: Tab;
69
+ };
70
+
71
+ declare class TabsComponent implements OnChanges, OnInit, AfterContentInit, OnDestroy {
72
+ protected router: Router;
73
+ /** @internal */
74
+ baseClass: boolean;
75
+ /** Special property used for selecting DOM elements during automated UI testing. */
76
+ thook: string | null | undefined;
77
+ /** @internal List of children with a {@link TabDirective}. */
78
+ tabRefs: QueryList<TabDirective>;
79
+ /**
80
+ * List of tabs to generate, this should not be used in conjunction with children that have a {@link TabDirective}.
81
+ * It is useful for generating a list of tabs with links for navigation.
82
+ * If any tab has the link property, a `<router-outlet>` is added below the tabs list.
83
+ */
84
+ tabs: Tab[];
85
+ /**
86
+ * Event triggered on initialization and every time the active tab changes.
87
+ * The tab change can be cancelled if event type is set to `'before'` and `cancel()` is called.
88
+ */
89
+ ngvTabSwitch: EventEmitter<EventTabChange>;
90
+ /** @internal Adds a `<router-outlet>` below the tabs list. */
91
+ useRouting: boolean;
92
+ /** @internal The currently active tab. */
93
+ selectedTab: Tab | undefined;
94
+ /** @internal If tab switching has started. */
95
+ isSwitching: boolean;
96
+ /** @internal */
97
+ protected subs: Subscription[];
98
+ constructor(router: Router);
99
+ /** @internal */
100
+ static uniqueIds(tabs: Tab[]): {
101
+ tab: string;
102
+ id?: string | number;
103
+ thook?: string;
104
+ active?: boolean;
105
+ disabled?: boolean;
106
+ link?: string;
107
+ directive?: TabDirective;
108
+ }[];
109
+ ngOnChanges(changes: SimpleChanges): void;
110
+ ngOnInit(): void;
111
+ ngAfterContentInit(): void;
112
+ /** @internal */
113
+ protected updateFromInput: () => void;
114
+ /** @internal */
115
+ protected updateFromReferences: () => void;
116
+ /** @internal */
117
+ protected updateTabs(): void;
118
+ ngOnDestroy(): void;
119
+ /** @internal */
120
+ protected activateTab(tab: Tab): void;
121
+ /** @internal */
122
+ onSelect(id: string | number | undefined): void;
123
+ /** @internal */
124
+ onKeyDown(event: KeyboardEvent): boolean;
125
+ /** @internal */
126
+ protected tabFocusHelper(event: KeyboardEvent, tabElement: HTMLElement): void;
127
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
128
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "nggv-tabs", never, { "thook": { "alias": "thook"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; }, { "ngvTabSwitch": "ngvTabSwitch"; }, ["tabRefs"], ["*"], false, never>;
129
+ }
130
+
131
+ declare class NggvTabsModule {
132
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTabsModule, never>;
133
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvTabsModule, [typeof TabDirective, typeof TabsComponent], [typeof i3.CommonModule, typeof i4.TranslocoModule, typeof i5.RouterModule], [typeof TabDirective, typeof TabsComponent]>;
134
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvTabsModule>;
135
+ }
136
+
137
+ export { NggvTabsModule, TabDirective, TabsComponent };
138
+ export type { EventTabChange, Tab };
@@ -1,2 +1,69 @@
1
- export * from './textarea.component';
2
- export * from './textarea.module';
1
+ import * as i0 from '@angular/core';
2
+ import { ChangeDetectorRef } from '@angular/core';
3
+ import { NgControl } from '@angular/forms';
4
+ import { TranslocoScope } from '@jsverse/transloco';
5
+ import { NggvBaseControlValueAccessorComponent } from '@sebgroup/green-angular/src/v-angular/base-control-value-accessor';
6
+ import * as i2 from '@angular/common';
7
+ import * as i3 from '@sebgroup/green-angular/src/v-angular/i18n';
8
+ import * as i4 from '@sebgroup/green-angular/src/v-angular/character-countdown';
9
+ import * as i5 from '@sebgroup/green-angular/src/lib/shared';
10
+
11
+ /** Textarea fields allow users to add and edit longer or multiple line text. */
12
+ declare class NggvTextareaComponent extends NggvBaseControlValueAccessorComponent {
13
+ ngControl: NgControl;
14
+ protected translocoScope: TranslocoScope;
15
+ protected cdr: ChangeDetectorRef;
16
+ /** Special property used for selecting DOM elements during automated UI testing. */
17
+ thook: string | null | undefined;
18
+ /**
19
+ * Sets the small class based on the size input.
20
+ */
21
+ get isSmall(): boolean;
22
+ /**
23
+ * Sets the large class based on the size input.
24
+ */
25
+ get isLarge(): boolean;
26
+ /** Text shown before input has a written value. */
27
+ placeholder?: string;
28
+ /** If set to true, the value will not be editable. */
29
+ readonly: boolean;
30
+ /** Minimum length (number of characters) of value. */
31
+ set minLength(length: number);
32
+ get minlength(): number;
33
+ /**
34
+ * Minimum length (number of characters) of value.
35
+ * @deprecated minlength triggers angular-template-validation. Use @Input() minLength instead.
36
+ */
37
+ set minlength(length: number);
38
+ /** Maximum length (number of characters) of value. */
39
+ set maxLength(length: number);
40
+ get maxlength(): number;
41
+ /**
42
+ * Maximum length (number of characters) of value.
43
+ * @deprecated maxlength triggers angular-template-validation. Use @Input() maxLength instead.
44
+ */
45
+ set maxlength(length: number);
46
+ /** Returns if maxlength is used */
47
+ get hasMaxLength(): boolean;
48
+ private _maxlength;
49
+ private _minlength;
50
+ /** Sets the height of the textarea and disables resize. A scrollbar will appear if necessary. */
51
+ rows?: number;
52
+ /**
53
+ * Sets the displayed size of the textarea.
54
+ */
55
+ size: 'small' | 'large';
56
+ constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
57
+ /** @internal */
58
+ onInput(event: Event): void;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTextareaComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
60
+ 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>;
61
+ }
62
+
63
+ declare class NggvTextareaModule {
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<NggvTextareaModule, never>;
65
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NggvTextareaModule, [typeof NggvTextareaComponent], [typeof i2.CommonModule, typeof i3.NggvI18nModule, typeof i4.NggvCharacterCountdownDirectiveModule, typeof i5.NggCoreWrapperModule], [typeof NggvTextareaComponent]>;
66
+ static ɵinj: i0.ɵɵInjectorDeclaration<NggvTextareaModule>;
67
+ }
68
+
69
+ export { NggvTextareaComponent, NggvTextareaModule };