@bravobit/bb-foundation 0.33.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (444) hide show
  1. package/auth/lib/auth.config.d.ts +5 -0
  2. package/auth/lib/auth.interceptor.d.ts +2 -2
  3. package/auth/lib/auth.module.d.ts +1 -4
  4. package/auth/lib/auth.service.d.ts +2 -2
  5. package/auth/lib/directives/authenticated.directive.d.ts +11 -4
  6. package/auth/lib/guards/anonymous.guard.d.ts +2 -15
  7. package/auth/lib/guards/authenticated.guard.d.ts +2 -15
  8. package/auth/lib/interfaces/config.interface.d.ts +2 -1
  9. package/auth/public_api.d.ts +1 -0
  10. package/collections/lib/collections.module.d.ts +12 -3
  11. package/collections/lib/components/collections-actions/collections-actions.component.d.ts +10 -0
  12. package/collections/lib/components/collections-grid/collections-grid.component.d.ts +18 -0
  13. package/collections/lib/components/collections-pager/collections-pager.component.d.ts +15 -14
  14. package/collections/lib/components/collections-table/collections-table.component.d.ts +24 -0
  15. package/collections/lib/components/collections-table-label/collections-table-label.component.d.ts +11 -0
  16. package/collections/lib/components/collections-table-sorting/collections-table-sorting.component.d.ts +18 -0
  17. package/collections/lib/components/collections-viewer/collections-viewer.component.d.ts +9 -5
  18. package/collections/lib/directives/collections-data-row.directive.d.ts +14 -0
  19. package/collections/lib/directives/collections-data.directive.d.ts +14 -0
  20. package/collections/lib/directives/collections-empty.directive.d.ts +14 -0
  21. package/collections/lib/directives/collections-error.directive.d.ts +14 -0
  22. package/collections/lib/directives/collections-initial.directive.d.ts +11 -0
  23. package/collections/lib/directives/collections-item.directive.d.ts +14 -0
  24. package/collections/public_api.d.ts +11 -1
  25. package/dashboard/lib/dashboard/dashboard.component.d.ts +5 -8
  26. package/dashboard/lib/dashboard-header/dashboard-header.component.d.ts +3 -5
  27. package/dashboard/lib/dashboard-menu/dashboard-menu.component.d.ts +1 -1
  28. package/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.d.ts +4 -7
  29. package/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.d.ts +3 -5
  30. package/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.d.ts +6 -11
  31. package/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.d.ts +2 -2
  32. package/dashboard/lib/dashboard.module.d.ts +1 -4
  33. package/dialog/lib/dialog-actions/dialog-actions.component.d.ts +1 -1
  34. package/dialog/lib/dialog-confirm/dialog-confirm.component.d.ts +2 -2
  35. package/dialog/lib/dialog-container/dialog-container.component.d.ts +2 -2
  36. package/dialog/lib/dialog-header/dialog-header.component.d.ts +1 -1
  37. package/dialog/lib/dialog-link/dialog-link.component.d.ts +1 -1
  38. package/dialog/lib/dialog-modal/dialog-modal.component.d.ts +1 -1
  39. package/dialog/lib/dialog-overlay/dialog-overlay.component.d.ts +2 -2
  40. package/dialog/lib/dialog.config.d.ts +3 -0
  41. package/dialog/lib/dialog.insertion.d.ts +1 -1
  42. package/dialog/lib/dialog.interfaces.d.ts +2 -0
  43. package/dialog/lib/dialog.module.d.ts +2 -4
  44. package/dialog/lib/directives/confirm.directive.d.ts +13 -0
  45. package/dialog/public_api.d.ts +2 -0
  46. package/elements/lib/avatar/avatar.component.d.ts +2 -1
  47. package/elements/lib/button/button.component.d.ts +12 -14
  48. package/elements/lib/checkbox/checkbox.component.d.ts +29 -22
  49. package/elements/lib/checkbox-group/checkbox-group.component.d.ts +13 -0
  50. package/elements/lib/date-picker/date-picker.component.d.ts +17 -10
  51. package/elements/lib/directives/addon.directive.d.ts +2 -2
  52. package/elements/lib/directives/extra-error-controls.directive.d.ts +13 -0
  53. package/elements/lib/directives/form-submit.directive.d.ts +1 -1
  54. package/elements/lib/directives/form-submitter.directive.d.ts +1 -1
  55. package/elements/lib/directives/image-upload.directive.d.ts +1 -1
  56. package/elements/lib/directives/input.directive.d.ts +9 -31
  57. package/elements/lib/elements.config.d.ts +84 -0
  58. package/elements/lib/elements.module.d.ts +20 -102
  59. package/elements/lib/file-picker/file-picker.component.d.ts +14 -10
  60. package/elements/lib/form-control/form-control.component.d.ts +8 -9
  61. package/elements/lib/form-error/form-error.component.d.ts +12 -9
  62. package/elements/lib/form-group/form-group.component.d.ts +4 -7
  63. package/elements/lib/icon/icon.component.d.ts +4 -4
  64. package/elements/lib/image-picker/image-picker.component.d.ts +9 -9
  65. package/elements/lib/multi-file-control/multi-file-control.component.d.ts +58 -0
  66. package/elements/lib/pipes/date.pipe.d.ts +9 -0
  67. package/elements/lib/pipes/file-image.pipe.d.ts +1 -1
  68. package/elements/lib/pipes/file-size.pipe.d.ts +1 -1
  69. package/elements/lib/pipes/relative-time.pipe.d.ts +1 -1
  70. package/elements/lib/radio-button/radio-button.component.d.ts +18 -0
  71. package/elements/lib/radio-group/radio-group.component.d.ts +38 -0
  72. package/elements/lib/spinner/spinner.component.d.ts +4 -7
  73. package/elements/public_api.d.ts +8 -3
  74. package/esm2022/auth/lib/auth.config.mjs +16 -0
  75. package/esm2022/auth/lib/auth.interceptor.mjs +10 -7
  76. package/esm2022/auth/lib/auth.module.mjs +9 -19
  77. package/esm2022/auth/lib/auth.service.mjs +22 -13
  78. package/esm2022/auth/lib/directives/authenticated.directive.mjs +45 -11
  79. package/esm2022/auth/lib/guards/anonymous.guard.mjs +27 -51
  80. package/esm2022/auth/lib/guards/authenticated.guard.mjs +30 -54
  81. package/esm2022/auth/lib/helpers/jwt.helper.mjs +2 -2
  82. package/esm2022/auth/lib/interfaces/config.interface.mjs +2 -3
  83. package/esm2022/auth/public_api.mjs +2 -1
  84. package/esm2022/collections/lib/collections.module.mjs +53 -23
  85. package/esm2022/collections/lib/components/collections-actions/collections-actions.component.mjs +39 -0
  86. package/esm2022/collections/lib/components/collections-grid/collections-grid.component.mjs +52 -0
  87. package/esm2022/collections/lib/components/collections-pager/collections-pager.component.mjs +51 -60
  88. package/esm2022/collections/lib/components/collections-table/collections-table.component.mjs +86 -0
  89. package/esm2022/collections/lib/components/collections-table-label/collections-table-label.component.mjs +33 -0
  90. package/esm2022/collections/lib/components/collections-table-sorting/collections-table-sorting.component.mjs +62 -0
  91. package/esm2022/collections/lib/components/collections-viewer/collections-viewer.component.mjs +10 -7
  92. package/esm2022/collections/lib/directives/collections-data-row.directive.mjs +26 -0
  93. package/esm2022/collections/lib/directives/collections-data.directive.mjs +26 -0
  94. package/esm2022/collections/lib/directives/collections-empty.directive.mjs +26 -0
  95. package/esm2022/collections/lib/directives/collections-error.directive.mjs +26 -0
  96. package/esm2022/collections/lib/directives/collections-initial.directive.mjs +22 -0
  97. package/esm2022/collections/lib/directives/collections-item.directive.mjs +26 -0
  98. package/esm2022/collections/public_api.mjs +12 -2
  99. package/esm2022/combobox/combobox/combobox-container.directive.mjs +3 -3
  100. package/esm2022/combobox/combobox/combobox.component.mjs +6 -6
  101. package/esm2022/combobox/combobox-label.directive.mjs +3 -3
  102. package/esm2022/combobox/combobox-option.directive.mjs +3 -3
  103. package/esm2022/combobox/combobox-panel/combobox-panel.component.mjs +5 -5
  104. package/esm2022/dashboard/lib/dashboard/dashboard.component.mjs +17 -24
  105. package/esm2022/dashboard/lib/dashboard-header/dashboard-header.component.mjs +12 -15
  106. package/esm2022/dashboard/lib/dashboard-menu/dashboard-menu.component.mjs +7 -8
  107. package/esm2022/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.mjs +20 -15
  108. package/esm2022/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.mjs +15 -14
  109. package/esm2022/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.mjs +20 -27
  110. package/esm2022/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.mjs +6 -10
  111. package/esm2022/dashboard/lib/dashboard.module.mjs +30 -27
  112. package/esm2022/dialog/lib/dialog-actions/dialog-actions.component.mjs +6 -6
  113. package/esm2022/dialog/lib/dialog-confirm/dialog-confirm.component.mjs +12 -15
  114. package/esm2022/dialog/lib/dialog-container/dialog-container.component.mjs +10 -7
  115. package/esm2022/dialog/lib/dialog-header/dialog-header.component.mjs +5 -6
  116. package/esm2022/dialog/lib/dialog-link/dialog-link.component.mjs +5 -5
  117. package/esm2022/dialog/lib/dialog-modal/dialog-modal.component.mjs +7 -7
  118. package/esm2022/dialog/lib/dialog-overlay/dialog-overlay.component.mjs +11 -7
  119. package/esm2022/dialog/lib/dialog.config.mjs +8 -0
  120. package/esm2022/dialog/lib/dialog.insertion.mjs +6 -5
  121. package/esm2022/dialog/lib/dialog.interfaces.mjs +3 -1
  122. package/esm2022/dialog/lib/dialog.module.mjs +17 -25
  123. package/esm2022/dialog/lib/dialog.service.mjs +8 -5
  124. package/esm2022/dialog/lib/directives/confirm.directive.mjs +50 -0
  125. package/esm2022/dialog/public_api.mjs +3 -1
  126. package/esm2022/elements/lib/avatar/avatar.component.mjs +15 -14
  127. package/esm2022/elements/lib/button/button.component.mjs +37 -32
  128. package/esm2022/elements/lib/checkbox/checkbox.component.mjs +86 -47
  129. package/esm2022/elements/lib/checkbox-group/checkbox-group.component.mjs +36 -0
  130. package/esm2022/elements/lib/date-picker/date-picker.component.mjs +64 -51
  131. package/esm2022/elements/lib/directives/addon.directive.mjs +11 -13
  132. package/esm2022/elements/lib/directives/extra-error-controls.directive.mjs +43 -0
  133. package/esm2022/elements/lib/directives/form-submit.directive.mjs +6 -5
  134. package/esm2022/elements/lib/directives/form-submitter.directive.mjs +6 -5
  135. package/esm2022/elements/lib/directives/image-upload.directive.mjs +6 -5
  136. package/esm2022/elements/lib/directives/input.directive.mjs +21 -110
  137. package/esm2022/elements/lib/elements.config.mjs +42 -0
  138. package/esm2022/elements/lib/elements.module.mjs +38 -77
  139. package/esm2022/elements/lib/file-picker/file-picker.component.mjs +36 -24
  140. package/esm2022/elements/lib/form-control/form-control.component.mjs +21 -24
  141. package/esm2022/elements/lib/form-error/form-error.component.mjs +35 -60
  142. package/esm2022/elements/lib/form-group/form-group.component.mjs +15 -12
  143. package/esm2022/elements/lib/icon/icon.component.mjs +19 -24
  144. package/esm2022/elements/lib/image-picker/image-picker.component.mjs +33 -19
  145. package/esm2022/elements/lib/multi-file-control/multi-file-control.component.mjs +165 -0
  146. package/esm2022/elements/lib/pipes/date.pipe.mjs +30 -0
  147. package/esm2022/elements/lib/pipes/file-image.pipe.mjs +6 -5
  148. package/esm2022/elements/lib/pipes/file-size.pipe.mjs +6 -5
  149. package/esm2022/elements/lib/pipes/relative-time.pipe.mjs +6 -5
  150. package/esm2022/elements/lib/radio-button/radio-button.component.mjs +59 -0
  151. package/esm2022/elements/lib/radio-group/radio-group.component.mjs +102 -0
  152. package/esm2022/elements/lib/spinner/spinner.component.mjs +12 -13
  153. package/esm2022/elements/public_api.mjs +9 -4
  154. package/esm2022/http/lib/http.config.mjs +18 -0
  155. package/esm2022/http/lib/http.interfaces.mjs +4 -2
  156. package/esm2022/http/lib/http.module.mjs +9 -22
  157. package/esm2022/http/lib/interceptors/base-url.interceptor.mjs +9 -5
  158. package/esm2022/http/lib/interceptors/error.interceptor.mjs +10 -6
  159. package/esm2022/http/public_api.mjs +2 -1
  160. package/esm2022/lib/core/miscellaneous/coercion.mjs +5 -0
  161. package/esm2022/lib/core/services/exif.service.mjs +3 -3
  162. package/esm2022/lib/core/services/file-loader.service.mjs +3 -3
  163. package/esm2022/lib/core/services/files.service.mjs +3 -3
  164. package/esm2022/lib/core/services/image-converter.service.mjs +3 -3
  165. package/esm2022/lib/core/services/languages.service.mjs +3 -3
  166. package/esm2022/lib/core/services/network.service.mjs +3 -3
  167. package/esm2022/lib/core/services/patch.service.mjs +3 -3
  168. package/esm2022/localize/lib/interfaces/config.interfaces.mjs +2 -7
  169. package/esm2022/localize/lib/interfaces/functions.interfaces.mjs +6 -6
  170. package/esm2022/localize/lib/localizations/dutch.localization.mjs +19 -1
  171. package/esm2022/localize/lib/localizations/english.localization.mjs +19 -1
  172. package/esm2022/localize/lib/localize.config.mjs +43 -0
  173. package/esm2022/localize/lib/localize.module.mjs +10 -54
  174. package/esm2022/localize/lib/localize.pipe.mjs +6 -5
  175. package/esm2022/localize/lib/localize.service.mjs +26 -13
  176. package/esm2022/localize/lib/localize.tokens.mjs +18 -0
  177. package/esm2022/localize/lib/transforms/interpolate.transform.mjs +3 -2
  178. package/esm2022/localize/lib/transforms/plural.transform.mjs +5 -3
  179. package/esm2022/localize/lib/transforms/reference.transform.mjs +5 -3
  180. package/esm2022/localize/lib/views/localize-string/localize-string.component.mjs +6 -10
  181. package/esm2022/localize/lib/views/localize-template.directive.mjs +6 -5
  182. package/esm2022/localize/public_api.mjs +3 -3
  183. package/esm2022/masking/lib/directives/currency-mask.directive.mjs +6 -5
  184. package/esm2022/masking/lib/directives/date-mask.directive.mjs +6 -5
  185. package/esm2022/masking/lib/directives/input-mask.directive.mjs +6 -5
  186. package/esm2022/masking/lib/masking.module.mjs +6 -6
  187. package/esm2022/masking/lib/masking.service.mjs +3 -3
  188. package/esm2022/notifications/lib/notifications-item/notifications-item.component.mjs +7 -9
  189. package/esm2022/notifications/lib/notifications-list/notifications-list.component.mjs +8 -8
  190. package/esm2022/notifications/lib/notifications.config.mjs +8 -0
  191. package/esm2022/notifications/lib/notifications.interfaces.mjs +3 -1
  192. package/esm2022/notifications/lib/notifications.module.mjs +8 -18
  193. package/esm2022/notifications/lib/notifications.service.mjs +14 -8
  194. package/esm2022/notifications/public_api.mjs +2 -1
  195. package/esm2022/permissions/lib/directives/permission.directive.mjs +6 -5
  196. package/esm2022/permissions/lib/guards/permission.guard.mjs +23 -54
  197. package/esm2022/permissions/lib/permissions.config.mjs +20 -0
  198. package/esm2022/permissions/lib/permissions.interface.mjs +3 -1
  199. package/esm2022/permissions/lib/permissions.module.mjs +9 -23
  200. package/esm2022/permissions/lib/permissions.service.mjs +8 -5
  201. package/esm2022/permissions/public_api.mjs +2 -1
  202. package/esm2022/public_api.mjs +2 -10
  203. package/esm2022/recaptcha/lib/recaptcha/recaptcha.component.mjs +12 -13
  204. package/esm2022/recaptcha/lib/recaptcha-loader.service.mjs +21 -36
  205. package/esm2022/recaptcha/lib/recaptcha.config.mjs +8 -0
  206. package/esm2022/recaptcha/lib/recaptcha.module.mjs +8 -8
  207. package/esm2022/recaptcha/public_api.mjs +2 -1
  208. package/esm2022/select/bravobit-bb-foundation-select.mjs +5 -0
  209. package/esm2022/select/lib/select/select.component.mjs +210 -0
  210. package/esm2022/select/lib/select-label.directive.mjs +17 -0
  211. package/esm2022/select/lib/select-option-group.directive.mjs +17 -0
  212. package/esm2022/select/lib/select-option.directive.mjs +17 -0
  213. package/esm2022/select/lib/select.module.mjs +35 -0
  214. package/esm2022/select/public_api.mjs +6 -0
  215. package/esm2022/storage/lib/storage.service.mjs +3 -3
  216. package/esm2022/storage/lib/strategies/polyfill-storage.strategy.mjs +2 -5
  217. package/esm2022/table/lib/components/table/table.component.mjs +21 -22
  218. package/esm2022/table/lib/components/table-cell/table-cell.component.mjs +5 -5
  219. package/esm2022/table/lib/components/table-header-cell/table-header-cell.component.mjs +14 -14
  220. package/esm2022/table/lib/components/table-pager/table-pager.component.mjs +15 -17
  221. package/esm2022/table/lib/table.module.mjs +23 -21
  222. package/esm2022/tooltip/lib/tooltip-container/tooltip-container.component.mjs +11 -17
  223. package/esm2022/tooltip/lib/tooltip.directive.mjs +17 -27
  224. package/esm2022/tooltip/lib/tooltip.module.mjs +7 -22
  225. package/esm2022/tooltip/public_api.mjs +2 -2
  226. package/esm2022/utils/lib/directives/autosize.directive.mjs +9 -7
  227. package/esm2022/utils/lib/directives/focus-trap.directive.mjs +6 -5
  228. package/esm2022/utils/lib/directives/focus.directive.mjs +6 -5
  229. package/esm2022/utils/lib/directives/template.directive.mjs +6 -5
  230. package/esm2022/utils/lib/utils.module.mjs +6 -6
  231. package/fesm2022/bravobit-bb-foundation-auth.mjs +140 -175
  232. package/fesm2022/bravobit-bb-foundation-auth.mjs.map +1 -1
  233. package/fesm2022/bravobit-bb-foundation-collections.mjs +451 -106
  234. package/fesm2022/bravobit-bb-foundation-collections.mjs.map +1 -1
  235. package/fesm2022/bravobit-bb-foundation-combobox.mjs +18 -18
  236. package/fesm2022/bravobit-bb-foundation-combobox.mjs.map +1 -1
  237. package/fesm2022/bravobit-bb-foundation-dashboard.mjs +106 -116
  238. package/fesm2022/bravobit-bb-foundation-dashboard.mjs.map +1 -1
  239. package/fesm2022/bravobit-bb-foundation-dialog.mjs +125 -70
  240. package/fesm2022/bravobit-bb-foundation-dialog.mjs.map +1 -1
  241. package/fesm2022/bravobit-bb-foundation-elements.mjs +1652 -1378
  242. package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
  243. package/fesm2022/bravobit-bb-foundation-http.mjs +38 -27
  244. package/fesm2022/bravobit-bb-foundation-http.mjs.map +1 -1
  245. package/fesm2022/bravobit-bb-foundation-localize.mjs +310 -264
  246. package/fesm2022/bravobit-bb-foundation-localize.mjs.map +1 -1
  247. package/fesm2022/bravobit-bb-foundation-masking.mjs +23 -20
  248. package/fesm2022/bravobit-bb-foundation-masking.mjs.map +1 -1
  249. package/fesm2022/bravobit-bb-foundation-notifications.mjs +67 -62
  250. package/fesm2022/bravobit-bb-foundation-notifications.mjs.map +1 -1
  251. package/fesm2022/bravobit-bb-foundation-permissions.mjs +54 -72
  252. package/fesm2022/bravobit-bb-foundation-permissions.mjs.map +1 -1
  253. package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +44 -54
  254. package/fesm2022/bravobit-bb-foundation-recaptcha.mjs.map +1 -1
  255. package/fesm2022/bravobit-bb-foundation-select.mjs +288 -0
  256. package/fesm2022/bravobit-bb-foundation-select.mjs.map +1 -0
  257. package/fesm2022/bravobit-bb-foundation-storage.mjs +4 -7
  258. package/fesm2022/bravobit-bb-foundation-storage.mjs.map +1 -1
  259. package/fesm2022/bravobit-bb-foundation-table.mjs +67 -66
  260. package/fesm2022/bravobit-bb-foundation-table.mjs.map +1 -1
  261. package/fesm2022/bravobit-bb-foundation-tooltip.mjs +31 -61
  262. package/fesm2022/bravobit-bb-foundation-tooltip.mjs.map +1 -1
  263. package/fesm2022/bravobit-bb-foundation-utils.mjs +28 -23
  264. package/fesm2022/bravobit-bb-foundation-utils.mjs.map +1 -1
  265. package/fesm2022/bravobit-bb-foundation.mjs +27 -144
  266. package/fesm2022/bravobit-bb-foundation.mjs.map +1 -1
  267. package/http/lib/http.config.d.ts +5 -0
  268. package/http/lib/http.interfaces.d.ts +3 -0
  269. package/http/lib/http.module.d.ts +2 -6
  270. package/http/public_api.d.ts +1 -0
  271. package/lib/core/miscellaneous/coercion.d.ts +2 -0
  272. package/localize/lib/interfaces/config.interfaces.d.ts +1 -1
  273. package/localize/lib/interfaces/functions.interfaces.d.ts +0 -2
  274. package/localize/lib/localizations/dutch.localization.d.ts +18 -0
  275. package/localize/lib/localizations/english.localization.d.ts +18 -0
  276. package/localize/lib/localize.config.d.ts +6 -0
  277. package/localize/lib/localize.module.d.ts +2 -7
  278. package/localize/lib/localize.pipe.d.ts +1 -1
  279. package/localize/lib/localize.service.d.ts +4 -4
  280. package/localize/lib/localize.tokens.d.ts +11 -0
  281. package/localize/lib/views/localize-string/localize-string.component.d.ts +1 -1
  282. package/localize/lib/views/localize-template.directive.d.ts +1 -1
  283. package/localize/public_api.d.ts +2 -2
  284. package/masking/lib/directives/currency-mask.directive.d.ts +1 -1
  285. package/masking/lib/directives/date-mask.directive.d.ts +1 -1
  286. package/masking/lib/directives/input-mask.directive.d.ts +1 -1
  287. package/masking/lib/masking.module.d.ts +1 -1
  288. package/notifications/lib/notifications-item/notifications-item.component.d.ts +1 -1
  289. package/notifications/lib/notifications-list/notifications-list.component.d.ts +1 -1
  290. package/notifications/lib/notifications.config.d.ts +3 -0
  291. package/notifications/lib/notifications.interfaces.d.ts +2 -1
  292. package/notifications/lib/notifications.module.d.ts +1 -5
  293. package/notifications/public_api.d.ts +1 -0
  294. package/package.json +28 -33
  295. package/permissions/lib/directives/permission.directive.d.ts +1 -1
  296. package/permissions/lib/guards/permission.guard.d.ts +3 -15
  297. package/permissions/lib/permissions.config.d.ts +3 -0
  298. package/permissions/lib/permissions.interface.d.ts +2 -1
  299. package/permissions/lib/permissions.module.d.ts +1 -1
  300. package/permissions/public_api.d.ts +1 -0
  301. package/public_api.d.ts +1 -9
  302. package/recaptcha/lib/recaptcha/recaptcha.component.d.ts +4 -7
  303. package/recaptcha/lib/recaptcha-loader.service.d.ts +9 -13
  304. package/recaptcha/lib/recaptcha.config.d.ts +3 -0
  305. package/recaptcha/lib/recaptcha.module.d.ts +2 -2
  306. package/recaptcha/public_api.d.ts +1 -0
  307. package/{theming → select}/index.d.ts +1 -1
  308. package/select/lib/select/select.component.d.ts +75 -0
  309. package/select/lib/select-label.directive.d.ts +8 -0
  310. package/select/lib/select-option-group.directive.d.ts +8 -0
  311. package/select/lib/select-option.directive.d.ts +8 -0
  312. package/select/lib/select.module.d.ts +10 -0
  313. package/select/public_api.d.ts +5 -0
  314. package/styles/colors.scss +20 -0
  315. package/styles/grid.scss +98 -0
  316. package/styles/reset.scss +65 -0
  317. package/styles/theme.scss +88 -0
  318. package/table/lib/components/table/table.component.d.ts +4 -6
  319. package/table/lib/components/table-cell/table-cell.component.d.ts +1 -1
  320. package/table/lib/components/table-header-cell/table-header-cell.component.d.ts +4 -7
  321. package/table/lib/components/table-pager/table-pager.component.d.ts +4 -8
  322. package/table/lib/table.module.d.ts +1 -5
  323. package/tooltip/lib/tooltip-container/tooltip-container.component.d.ts +3 -4
  324. package/tooltip/lib/tooltip.directive.d.ts +8 -17
  325. package/tooltip/lib/tooltip.module.d.ts +2 -5
  326. package/tooltip/public_api.d.ts +1 -1
  327. package/utils/lib/directives/autosize.directive.d.ts +2 -1
  328. package/utils/lib/directives/focus-trap.directive.d.ts +1 -1
  329. package/utils/lib/directives/focus.directive.d.ts +1 -1
  330. package/utils/lib/directives/template.directive.d.ts +1 -1
  331. package/utils/lib/utils.module.d.ts +1 -1
  332. package/auth/lib/directives/abstract.directive.d.ts +0 -12
  333. package/collections/lib/components/collections.directive.d.ts +0 -17
  334. package/controls/index.d.ts +0 -5
  335. package/controls/lib/checkbox/checkbox/checkbox.component.d.ts +0 -51
  336. package/controls/lib/checkbox/checkbox-group/checkbox-group.component.d.ts +0 -23
  337. package/controls/lib/checkbox/checkbox.module.d.ts +0 -10
  338. package/controls/lib/control-error/control-error/control-error.animation.d.ts +0 -1
  339. package/controls/lib/control-error/control-error/control-error.component.d.ts +0 -17
  340. package/controls/lib/control-error/control-error-submit.directive.d.ts +0 -15
  341. package/controls/lib/control-error/control-error.defaults.d.ts +0 -2
  342. package/controls/lib/control-error/control-error.interface.d.ts +0 -12
  343. package/controls/lib/control-error/control-error.module.d.ts +0 -9
  344. package/controls/lib/control-error/control-error.utils.d.ts +0 -3
  345. package/controls/lib/controls.interfaces.d.ts +0 -4
  346. package/controls/lib/controls.module.d.ts +0 -14
  347. package/controls/lib/form-control/form-control/form-control.component.d.ts +0 -29
  348. package/controls/lib/form-control/form-control-addon/form-control-addon.component.d.ts +0 -6
  349. package/controls/lib/form-control/form-control-input.directive.d.ts +0 -35
  350. package/controls/lib/form-control/form-control.module.d.ts +0 -12
  351. package/controls/lib/radio/radio-button/radio-button.component.d.ts +0 -24
  352. package/controls/lib/radio/radio-group/radio-group.component.d.ts +0 -53
  353. package/controls/lib/radio/radio.module.d.ts +0 -11
  354. package/controls/lib/toggle/toggle/toggle.component.d.ts +0 -45
  355. package/controls/lib/toggle/toggle-group/toggle-group.component.d.ts +0 -23
  356. package/controls/lib/toggle/toggle.module.d.ts +0 -10
  357. package/controls/public_api.d.ts +0 -20
  358. package/elements/lib/dropdown/dropdown.component.d.ts +0 -21
  359. package/elements/lib/tag/tag.component.d.ts +0 -7
  360. package/esm2022/auth/lib/directives/abstract.directive.mjs +0 -40
  361. package/esm2022/collections/lib/components/collections.directive.mjs +0 -43
  362. package/esm2022/controls/bravobit-bb-foundation-controls.mjs +0 -5
  363. package/esm2022/controls/lib/checkbox/checkbox/checkbox.component.mjs +0 -178
  364. package/esm2022/controls/lib/checkbox/checkbox-group/checkbox-group.component.mjs +0 -68
  365. package/esm2022/controls/lib/checkbox/checkbox.module.mjs +0 -20
  366. package/esm2022/controls/lib/control-error/control-error/control-error.animation.mjs +0 -14
  367. package/esm2022/controls/lib/control-error/control-error/control-error.component.mjs +0 -63
  368. package/esm2022/controls/lib/control-error/control-error-submit.directive.mjs +0 -47
  369. package/esm2022/controls/lib/control-error/control-error.defaults.mjs +0 -26
  370. package/esm2022/controls/lib/control-error/control-error.interface.mjs +0 -3
  371. package/esm2022/controls/lib/control-error/control-error.module.mjs +0 -19
  372. package/esm2022/controls/lib/control-error/control-error.utils.mjs +0 -20
  373. package/esm2022/controls/lib/controls.interfaces.mjs +0 -2
  374. package/esm2022/controls/lib/controls.module.mjs +0 -62
  375. package/esm2022/controls/lib/form-control/form-control/form-control.component.mjs +0 -79
  376. package/esm2022/controls/lib/form-control/form-control-addon/form-control-addon.component.mjs +0 -22
  377. package/esm2022/controls/lib/form-control/form-control-input.directive.mjs +0 -124
  378. package/esm2022/controls/lib/form-control/form-control.module.mjs +0 -34
  379. package/esm2022/controls/lib/radio/radio-button/radio-button.component.mjs +0 -75
  380. package/esm2022/controls/lib/radio/radio-group/radio-group.component.mjs +0 -168
  381. package/esm2022/controls/lib/radio/radio.module.mjs +0 -21
  382. package/esm2022/controls/lib/toggle/toggle/toggle.component.mjs +0 -153
  383. package/esm2022/controls/lib/toggle/toggle-group/toggle-group.component.mjs +0 -62
  384. package/esm2022/controls/lib/toggle/toggle.module.mjs +0 -20
  385. package/esm2022/controls/public_api.mjs +0 -21
  386. package/esm2022/elements/lib/dropdown/dropdown.component.mjs +0 -100
  387. package/esm2022/elements/lib/tag/tag.component.mjs +0 -18
  388. package/esm2022/lib/core/mixins/can-disable.mjs +0 -16
  389. package/esm2022/lib/core/mixins/can-hide-errors.mjs +0 -16
  390. package/esm2022/lib/core/mixins/can-load.mjs +0 -16
  391. package/esm2022/lib/core/mixins/constructor.mjs +0 -2
  392. package/esm2022/lib/core/mixins/has-error.mjs +0 -16
  393. package/esm2022/lib/core/mixins/is-focused.mjs +0 -16
  394. package/esm2022/lib/core/mixins/is-grouped.mjs +0 -16
  395. package/esm2022/lib/core/mixins/is-readonly.mjs +0 -16
  396. package/esm2022/lib/core/mixins/is-required.mjs +0 -16
  397. package/esm2022/localize/lib/interfaces/transforms.interfaces.mjs +0 -3
  398. package/esm2022/localize/lib/locale.token.mjs +0 -14
  399. package/esm2022/theming/bravobit-bb-foundation-theming.mjs +0 -5
  400. package/esm2022/theming/lib/themes/checkbox-group.theme.mjs +0 -17
  401. package/esm2022/theming/lib/themes/checkbox.theme.mjs +0 -35
  402. package/esm2022/theming/lib/themes/control-error.theme.mjs +0 -11
  403. package/esm2022/theming/lib/themes/form-control-addon.theme.mjs +0 -6
  404. package/esm2022/theming/lib/themes/form-control.theme.mjs +0 -45
  405. package/esm2022/theming/lib/themes/radio-button.theme.mjs +0 -29
  406. package/esm2022/theming/lib/themes/radio-group.theme.mjs +0 -20
  407. package/esm2022/theming/lib/themes/toggle-group.theme.mjs +0 -17
  408. package/esm2022/theming/lib/themes/toggle.theme.mjs +0 -28
  409. package/esm2022/theming/lib/theming.data.mjs +0 -90
  410. package/esm2022/theming/lib/theming.directive.mjs +0 -38
  411. package/esm2022/theming/lib/theming.interface.mjs +0 -2
  412. package/esm2022/theming/lib/theming.module.mjs +0 -16
  413. package/esm2022/theming/lib/utils/theming.variable.mjs +0 -41
  414. package/esm2022/theming/public_api.mjs +0 -10
  415. package/fesm2022/bravobit-bb-foundation-controls.mjs +0 -1191
  416. package/fesm2022/bravobit-bb-foundation-controls.mjs.map +0 -1
  417. package/fesm2022/bravobit-bb-foundation-theming.mjs +0 -381
  418. package/fesm2022/bravobit-bb-foundation-theming.mjs.map +0 -1
  419. package/lib/core/mixins/can-disable.d.ts +0 -6
  420. package/lib/core/mixins/can-hide-errors.d.ts +0 -6
  421. package/lib/core/mixins/can-load.d.ts +0 -6
  422. package/lib/core/mixins/constructor.d.ts +0 -1
  423. package/lib/core/mixins/has-error.d.ts +0 -6
  424. package/lib/core/mixins/is-focused.d.ts +0 -6
  425. package/lib/core/mixins/is-grouped.d.ts +0 -6
  426. package/lib/core/mixins/is-readonly.d.ts +0 -6
  427. package/lib/core/mixins/is-required.d.ts +0 -6
  428. package/localize/lib/interfaces/transforms.interfaces.d.ts +0 -3
  429. package/localize/lib/locale.token.d.ts +0 -3
  430. package/theming/lib/themes/checkbox-group.theme.d.ts +0 -16
  431. package/theming/lib/themes/checkbox.theme.d.ts +0 -32
  432. package/theming/lib/themes/control-error.theme.d.ts +0 -9
  433. package/theming/lib/themes/form-control-addon.theme.d.ts +0 -5
  434. package/theming/lib/themes/form-control.theme.d.ts +0 -32
  435. package/theming/lib/themes/radio-button.theme.d.ts +0 -26
  436. package/theming/lib/themes/radio-group.theme.d.ts +0 -17
  437. package/theming/lib/themes/toggle-group.theme.d.ts +0 -16
  438. package/theming/lib/themes/toggle.theme.d.ts +0 -25
  439. package/theming/lib/theming.data.d.ts +0 -17
  440. package/theming/lib/theming.directive.d.ts +0 -13
  441. package/theming/lib/theming.interface.d.ts +0 -34
  442. package/theming/lib/theming.module.d.ts +0 -7
  443. package/theming/lib/utils/theming.variable.d.ts +0 -16
  444. package/theming/public_api.d.ts +0 -9
@@ -0,0 +1,5 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+ import { AuthConfig } from './interfaces/config.interface';
3
+ import { Auth } from './auth.service';
4
+ export declare function provideAuthConfig(config?: AuthConfig): EnvironmentProviders;
5
+ export declare function initializeAuth(auth: Auth): () => Promise<void>;
@@ -5,12 +5,12 @@ import { Auth } from './auth.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class AuthInterceptor implements HttpInterceptor {
7
7
  private _auth;
8
- private _config;
8
+ private _config?;
9
9
  private readonly _authHeaderString;
10
10
  private readonly _authScheme;
11
11
  isRefreshing: boolean;
12
12
  refreshingAccessToken$: BehaviorSubject<string>;
13
- constructor(_auth: Auth, _config: AuthConfig);
13
+ constructor(_auth: Auth, _config?: AuthConfig);
14
14
  intercept(request: HttpRequest<unknown>, next: HttpHandler): import("rxjs").Observable<import("@angular/common/http").HttpEvent<any>>;
15
15
  private handle401Error;
16
16
  private logoutUser;
@@ -1,13 +1,10 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
2
  import { AuthConfig } from './interfaces/config.interface';
3
- import { Auth } from './auth.service';
4
3
  import * as i0 from "@angular/core";
5
4
  import * as i1 from "./directives/authenticated.directive";
6
- import * as i2 from "@angular/common/http";
7
5
  export declare class AuthModule {
8
6
  static forRoot(config: AuthConfig): ModuleWithProviders<AuthModule>;
9
7
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<AuthModule, [typeof i1.BbAuthenticated], [typeof i2.HttpClientModule], [typeof i1.BbAuthenticated]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AuthModule, never, [typeof i1.BbAuthenticated], [typeof i1.BbAuthenticated]>;
11
9
  static ɵinj: i0.ɵɵInjectorDeclaration<AuthModule>;
12
10
  }
13
- export declare function initializeAuth(auth: Auth): () => Promise<void>;
@@ -13,8 +13,8 @@ export declare class Auth {
13
13
  private _injector;
14
14
  private _platform;
15
15
  private _httpClient;
16
- private _config?;
17
16
  private _state?;
17
+ private _config?;
18
18
  private _httpConfig?;
19
19
  private _handler?;
20
20
  private readonly _authStateKey;
@@ -22,7 +22,7 @@ export declare class Auth {
22
22
  readonly session: AuthSession;
23
23
  readonly user: Observable<any | null>;
24
24
  private _refreshHandler;
25
- constructor(_storage: Storage, _injector: Injector, _platform: Platform, _httpClient: HttpClient, _config?: AuthConfig, _state?: TransferState, _httpConfig?: HttpConfig, _handler?: AuthRedirectHandler);
25
+ constructor(_storage: Storage, _injector: Injector, _platform: Platform, _httpClient: HttpClient, _state?: TransferState, _config?: AuthConfig, _httpConfig?: HttpConfig, _handler?: AuthRedirectHandler);
26
26
  initialize(): () => Promise<void>;
27
27
  me<T = any>(): Observable<T>;
28
28
  signIn(provider: AuthProvider, as?: string[]): Promise<AuthSignInResponse>;
@@ -1,15 +1,22 @@
1
1
  import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
2
- import { AbstractAuthDirective } from './abstract.directive';
3
2
  import { Auth } from '../auth.service';
4
3
  import * as i0 from "@angular/core";
5
- export declare class BbAuthenticated extends AbstractAuthDirective implements OnInit, OnDestroy {
4
+ export declare class BbAuthenticated implements OnInit, OnDestroy {
6
5
  private _auth;
6
+ private _templateRef;
7
+ private _viewContainerRef;
8
+ private _valid;
9
+ private _elseTemplateRef;
10
+ private _thenViewRef;
11
+ private _elseViewRef;
7
12
  private _subscription;
8
13
  set bbAuthenticatedElse(templateRef: TemplateRef<any>);
9
- constructor(_auth: Auth, templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
14
+ constructor(_auth: Auth, _templateRef: TemplateRef<any>, _viewContainerRef: ViewContainerRef);
10
15
  ngOnInit(): void;
11
16
  ngOnDestroy(): void;
17
+ private updateView;
18
+ private assertTemplate;
12
19
  static ngAcceptInputType_bbAuthenticatedElse: TemplateRef<any>;
13
20
  static ɵfac: i0.ɵɵFactoryDeclaration<BbAuthenticated, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbAuthenticated, "[bbAuthenticated]", never, { "bbAuthenticatedElse": { "alias": "bbAuthenticatedElse"; "required": false; }; }, {}, never, never, false, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbAuthenticated, "[bbAuthenticated]", never, { "bbAuthenticatedElse": { "alias": "bbAuthenticatedElse"; "required": false; }; }, {}, never, never, true, never>;
15
22
  }
@@ -1,15 +1,2 @@
1
- import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router, RouterStateSnapshot } from '@angular/router';
2
- import { AuthConfig, AuthRedirectHandler } from '../interfaces/config.interface';
3
- import { Auth } from '../auth.service';
4
- import * as i0 from "@angular/core";
5
- export declare class BbAnonymousGuard implements CanActivate, CanActivateChild {
6
- private _auth;
7
- private _router;
8
- private _config?;
9
- private _handler?;
10
- constructor(_auth: Auth, _router: Router, _config?: AuthConfig, _handler?: AuthRedirectHandler);
11
- canActivate(snapshot: ActivatedRouteSnapshot, state: RouterStateSnapshot): import("rxjs").Observable<boolean | import("@angular/router").UrlTree>;
12
- canActivateChild(childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): import("rxjs").Observable<boolean | import("@angular/router").UrlTree>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<BbAnonymousGuard, [null, null, { optional: true; }, { optional: true; }]>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<BbAnonymousGuard>;
15
- }
1
+ import { CanActivateFn } from '@angular/router';
2
+ export declare const bbAnonymousGuard: CanActivateFn;
@@ -1,15 +1,2 @@
1
- import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router, RouterStateSnapshot } from '@angular/router';
2
- import { AuthConfig, AuthRedirectHandler } from '../interfaces/config.interface';
3
- import { Auth } from '../auth.service';
4
- import * as i0 from "@angular/core";
5
- export declare class BbAuthenticatedGuard implements CanActivate, CanActivateChild {
6
- private _auth;
7
- private _router;
8
- private _config?;
9
- private _handler?;
10
- constructor(_auth: Auth, _router: Router, _config?: AuthConfig, _handler?: AuthRedirectHandler);
11
- canActivate(snapshot: ActivatedRouteSnapshot, state: RouterStateSnapshot): import("rxjs").Observable<boolean | import("@angular/router").UrlTree>;
12
- canActivateChild(childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): import("rxjs").Observable<boolean | import("@angular/router").UrlTree>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<BbAuthenticatedGuard, [null, null, { optional: true; }, { optional: true; }]>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<BbAuthenticatedGuard>;
15
- }
1
+ import { CanActivateFn } from '@angular/router';
2
+ export declare const bbAuthenticatedGuard: CanActivateFn;
@@ -1,6 +1,6 @@
1
1
  import { ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree } from '@angular/router';
2
2
  import { InjectionToken } from '@angular/core';
3
- export declare class AuthConfig {
3
+ export interface AuthConfig {
4
4
  applicationId: string;
5
5
  http?: {
6
6
  scheme?: string;
@@ -15,6 +15,7 @@ export declare class AuthConfig {
15
15
  providers?: string[];
16
16
  autoRefresh?: boolean;
17
17
  }
18
+ export declare const AUTH_CONFIG: InjectionToken<AuthConfig>;
18
19
  export declare const AUTH_REDIRECT_HANDLER: InjectionToken<AuthRedirectHandler>;
19
20
  export interface AuthRedirectHandler {
20
21
  onFailedAuthenticated(snapshot?: ActivatedRouteSnapshot, state?: RouterStateSnapshot): boolean | UrlTree;
@@ -10,4 +10,5 @@ export * from './lib/providers/email.provider';
10
10
  export * from './lib/providers/verify.provider';
11
11
  export * from './lib/auth.session';
12
12
  export * from './lib/auth.service';
13
+ export * from './lib/auth.config';
13
14
  export * from './lib/auth.module';
@@ -1,10 +1,19 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./components/collections-viewer/collections-viewer.component";
3
3
  import * as i2 from "./components/collections-pager/collections-pager.component";
4
- import * as i3 from "./components/collections.directive";
5
- import * as i4 from "@angular/common";
4
+ import * as i3 from "./components/collections-table/collections-table.component";
5
+ import * as i4 from "./components/collections-table-sorting/collections-table-sorting.component";
6
+ import * as i5 from "./components/collections-table-label/collections-table-label.component";
7
+ import * as i6 from "./components/collections-grid/collections-grid.component";
8
+ import * as i7 from "./components/collections-actions/collections-actions.component";
9
+ import * as i8 from "./directives/collections-data.directive";
10
+ import * as i9 from "./directives/collections-data-row.directive";
11
+ import * as i10 from "./directives/collections-empty.directive";
12
+ import * as i11 from "./directives/collections-error.directive";
13
+ import * as i12 from "./directives/collections-initial.directive";
14
+ import * as i13 from "./directives/collections-item.directive";
6
15
  export declare class CollectionsModule {
7
16
  static ɵfac: i0.ɵɵFactoryDeclaration<CollectionsModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<CollectionsModule, [typeof i1.BbCollectionsViewer, typeof i2.BbCollectionsPager, typeof i3.BbCollectionsData, typeof i3.BbCollectionsEmpty, typeof i3.BbCollectionsError, typeof i3.BbCollectionsInitial], [typeof i4.CommonModule], [typeof i1.BbCollectionsViewer, typeof i2.BbCollectionsPager, typeof i3.BbCollectionsData, typeof i3.BbCollectionsEmpty, typeof i3.BbCollectionsError, typeof i3.BbCollectionsInitial]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CollectionsModule, never, [typeof i1.BbCollectionsViewer, typeof i2.BbCollectionsPager, typeof i3.BbCollectionsTable, typeof i4.BbCollectionsTableSorting, typeof i5.BbCollectionsTableLabel, typeof i6.BbCollectionsGrid, typeof i7.BbCollectionsActions, typeof i8.BbCollectionsData, typeof i9.BbCollectionsDataRow, typeof i10.BbCollectionsEmpty, typeof i11.BbCollectionsError, typeof i12.BbCollectionsInitial, typeof i13.BbCollectionsItem], [typeof i1.BbCollectionsViewer, typeof i2.BbCollectionsPager, typeof i3.BbCollectionsTable, typeof i4.BbCollectionsTableSorting, typeof i5.BbCollectionsTableLabel, typeof i6.BbCollectionsGrid, typeof i7.BbCollectionsActions, typeof i8.BbCollectionsData, typeof i9.BbCollectionsDataRow, typeof i10.BbCollectionsEmpty, typeof i11.BbCollectionsError, typeof i12.BbCollectionsInitial, typeof i13.BbCollectionsItem]>;
9
18
  static ɵinj: i0.ɵɵInjectorDeclaration<CollectionsModule>;
10
19
  }
@@ -0,0 +1,10 @@
1
+ import { Collection } from '../../collection';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BbCollectionsActions<T> {
4
+ collection: Collection<T> | null;
5
+ queryPlaceholder: string | null;
6
+ standalone: boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsActions<any>, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbCollectionsActions<any>, "bb-collections-actions", never, { "collection": { "alias": "collection"; "required": true; }; "queryPlaceholder": { "alias": "queryPlaceholder"; "required": false; }; "standalone": { "alias": "standalone"; "required": false; }; }, {}, never, ["[data-collections-action]", "*"], true, never>;
9
+ static ngAcceptInputType_standalone: unknown;
10
+ }
@@ -0,0 +1,18 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { BbCollectionsItemContext } from '../../directives/collections-item.directive';
3
+ import { Collection } from '../../collection';
4
+ import { BehaviorSubject } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BbCollectionsGrid<T> {
7
+ readonly collection$: BehaviorSubject<Collection<T>>;
8
+ itemTemplate?: TemplateRef<BbCollectionsItemContext<T>>;
9
+ queryPlaceholder: string | null;
10
+ hideActions: boolean;
11
+ hidePager: boolean;
12
+ set collection(collection: Collection<T>);
13
+ get collection(): Collection<T>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsGrid<any>, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbCollectionsGrid<any>, "bb-collections-grid", never, { "queryPlaceholder": { "alias": "queryPlaceholder"; "required": false; }; "hideActions": { "alias": "hideActions"; "required": false; }; "hidePager": { "alias": "hidePager"; "required": false; }; "collection": { "alias": "collection"; "required": true; }; }, {}, ["itemTemplate"], ["[data-collections-action]", "[data-collections-row]"], true, never>;
16
+ static ngAcceptInputType_hideActions: unknown;
17
+ static ngAcceptInputType_hidePager: unknown;
18
+ }
@@ -1,34 +1,35 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
- import { CollectionData } from '../../interfaces/collection.interface';
3
- import { BehaviorSubject, Observable } from 'rxjs';
2
+ import { Observable } from 'rxjs';
4
3
  import { Collection } from '../../collection';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class BbCollectionsPager implements OnInit, OnDestroy {
7
- readonly maxAmountOfButtons: number;
8
- set label(value: string);
6
+ set maxAmountOfButtons(value: number);
7
+ get maxAmountOfButtons(): number;
9
8
  set collection(collection: Collection<unknown> | null);
9
+ get collection(): Collection<unknown> | null;
10
10
  data$: Observable<{
11
- totalPages: number;
12
- pageNumber: number;
13
- pages: {
11
+ start?: number;
12
+ end?: number;
13
+ totalEntries?: number;
14
+ totalPages?: number;
15
+ pageNumber?: number;
16
+ pages?: {
14
17
  page: number;
15
18
  active: boolean;
16
19
  }[];
17
- allowNext: boolean;
18
- allowPrevious: boolean;
19
- label: string;
20
20
  }>;
21
- cache$: BehaviorSubject<Partial<CollectionData<unknown>>>;
22
- private _label;
23
21
  private _collection;
24
22
  private _subscription;
23
+ private _cache$;
24
+ private _maxAmountOfButtons$;
25
25
  ngOnInit(): void;
26
26
  ngOnDestroy(): void;
27
27
  setPage(pageNumber: number, totalPages: number): void;
28
+ private setData;
28
29
  private observeCollectionChanges;
29
- private calculateLabel;
30
30
  private calculatePages;
31
31
  private filterActivePages;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsPager, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<BbCollectionsPager, "bb-collections-pager", never, { "label": { "alias": "label"; "required": false; }; "collection": { "alias": "collection"; "required": false; }; }, {}, never, never, false, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbCollectionsPager, "bb-collections-pager", never, { "maxAmountOfButtons": { "alias": "maxAmountOfButtons"; "required": false; }; "collection": { "alias": "collection"; "required": true; }; }, {}, never, never, true, never>;
34
+ static ngAcceptInputType_maxAmountOfButtons: unknown;
34
35
  }
@@ -0,0 +1,24 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { BbCollectionsDataRowContext } from '../../directives/collections-data-row.directive';
3
+ import { Collection } from '../../collection';
4
+ import { BehaviorSubject } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BbCollectionsTable<T> {
7
+ readonly collection$: BehaviorSubject<Collection<T>>;
8
+ dataRowTemplate?: TemplateRef<BbCollectionsDataRowContext<T>>;
9
+ queryPlaceholder: string | null;
10
+ emptyContent: string | TemplateRef<any> | null;
11
+ noResultsContent: string | TemplateRef<any> | null;
12
+ errorContent: string | TemplateRef<any> | null;
13
+ trackByProperty: string | null;
14
+ includeVerticalLines: boolean;
15
+ hideActions: boolean;
16
+ hidePager: boolean;
17
+ set collection(collection: Collection<T>);
18
+ get collection(): Collection<T>;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsTable<any>, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbCollectionsTable<any>, "bb-collections-table", never, { "queryPlaceholder": { "alias": "queryPlaceholder"; "required": false; }; "emptyContent": { "alias": "emptyContent"; "required": false; }; "noResultsContent": { "alias": "noResultsContent"; "required": false; }; "errorContent": { "alias": "errorContent"; "required": false; }; "trackByProperty": { "alias": "trackByProperty"; "required": false; }; "includeVerticalLines": { "alias": "includeVerticalLines"; "required": false; }; "hideActions": { "alias": "hideActions"; "required": false; }; "hidePager": { "alias": "hidePager"; "required": false; }; "collection": { "alias": "collection"; "required": true; }; }, {}, ["dataRowTemplate"], ["[data-collections-action]", "[data-collections-row]", "thead", "tfoot"], true, never>;
21
+ static ngAcceptInputType_includeVerticalLines: unknown;
22
+ static ngAcceptInputType_hideActions: unknown;
23
+ static ngAcceptInputType_hidePager: unknown;
24
+ }
@@ -0,0 +1,11 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BbCollectionsTableLabel {
4
+ titleLabel: string | TemplateRef<any> | null;
5
+ descriptionLabel: string | TemplateRef<any> | null;
6
+ imageUrl: string | null;
7
+ alt: string | null;
8
+ type: 'image' | 'avatar' | 'content';
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsTableLabel, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbCollectionsTableLabel, "[bb-collections-table-label]", never, { "titleLabel": { "alias": "titleLabel"; "required": true; }; "descriptionLabel": { "alias": "descriptionLabel"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
11
+ }
@@ -0,0 +1,18 @@
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { BbCollectionsTable } from '../collections-table/collections-table.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BbCollectionsTableSorting implements OnInit, OnDestroy {
5
+ private _name;
6
+ private _changeDetectorRef;
7
+ private _parent?;
8
+ readonly orderedOptions: [null, 'asc', 'desc'];
9
+ direction: 'asc' | 'desc' | null;
10
+ private _subscription;
11
+ constructor(_name: string, _changeDetectorRef: ChangeDetectorRef, _parent?: BbCollectionsTable<unknown>);
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ onClick(): void;
15
+ private getNextOption;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsTableSorting, [{ attribute: "bb-collections-table-sorting"; }, null, { optional: true; }]>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbCollectionsTableSorting, "th[bb-collections-table-sorting]", never, {}, {}, never, ["*"], true, never>;
18
+ }
@@ -1,12 +1,16 @@
1
1
  import { TemplateRef } from '@angular/core';
2
+ import { BbCollectionsInitialContext } from '../../directives/collections-initial.directive';
3
+ import { BbCollectionsErrorContext } from '../../directives/collections-error.directive';
4
+ import { BbCollectionsEmptyContext } from '../../directives/collections-empty.directive';
5
+ import { BbCollectionsDataContext } from '../../directives/collections-data.directive';
2
6
  import { Collection } from '../../collection';
3
7
  import * as i0 from "@angular/core";
4
8
  export declare class BbCollectionsViewer<T = unknown> {
5
- dataTemplate?: TemplateRef<any>;
6
- emptyTemplate?: TemplateRef<any>;
7
- errorTemplate?: TemplateRef<any>;
8
- initialTemplate?: TemplateRef<any>;
9
+ dataTemplate?: TemplateRef<BbCollectionsDataContext<T>>;
10
+ emptyTemplate?: TemplateRef<BbCollectionsEmptyContext<T>>;
11
+ errorTemplate?: TemplateRef<BbCollectionsErrorContext<T>>;
12
+ initialTemplate?: TemplateRef<BbCollectionsInitialContext<T>>;
9
13
  collection: Collection<T> | null;
10
14
  static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsViewer<any>, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<BbCollectionsViewer<any>, "[bb-collections-viewer]", never, { "collection": { "alias": "collection"; "required": false; }; }, {}, ["dataTemplate", "emptyTemplate", "errorTemplate", "initialTemplate"], never, false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbCollectionsViewer<any>, "[bb-collections-viewer]", never, { "collection": { "alias": "collection"; "required": false; }; }, {}, ["dataTemplate", "emptyTemplate", "errorTemplate", "initialTemplate"], never, true, never>;
12
16
  }
@@ -0,0 +1,14 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BbCollectionsDataRowContext<T> {
4
+ item: T;
5
+ $implicit: T;
6
+ constructor(item: T);
7
+ }
8
+ export declare class BbCollectionsDataRow<T> {
9
+ template: TemplateRef<BbCollectionsDataRowContext<T>>;
10
+ constructor(template: TemplateRef<BbCollectionsDataRowContext<T>>);
11
+ static ngTemplateContextGuard<T>(dir: BbCollectionsDataRow<T>, ctx: unknown): ctx is BbCollectionsDataRowContext<T>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsDataRow<any>, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbCollectionsDataRow<any>, "[bbCollectionsDataRow]", never, {}, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,14 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BbCollectionsDataContext<T> {
4
+ items: T[];
5
+ loading: boolean;
6
+ constructor(items: T[], loading: boolean);
7
+ }
8
+ export declare class BbCollectionsData<T> {
9
+ template: TemplateRef<BbCollectionsDataContext<T>>;
10
+ constructor(template: TemplateRef<BbCollectionsDataContext<T>>);
11
+ static ngTemplateContextGuard<T>(dir: BbCollectionsData<T>, ctx: unknown): ctx is BbCollectionsDataContext<T>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsData<any>, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbCollectionsData<any>, "[bbCollectionsData]", never, {}, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,14 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BbCollectionsEmptyContext<T> {
4
+ query: string;
5
+ loading: boolean;
6
+ constructor(query: string, loading: boolean);
7
+ }
8
+ export declare class BbCollectionsEmpty<T> {
9
+ template: TemplateRef<BbCollectionsEmptyContext<T>>;
10
+ constructor(template: TemplateRef<BbCollectionsEmptyContext<T>>);
11
+ static ngTemplateContextGuard<T>(dir: BbCollectionsEmpty<T>, ctx: unknown): ctx is BbCollectionsEmptyContext<T>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsEmpty<any>, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbCollectionsEmpty<any>, "[bbCollectionsEmpty]", never, {}, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,14 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BbCollectionsErrorContext<T> {
4
+ error: Error;
5
+ loading: boolean;
6
+ constructor(error: Error, loading: boolean);
7
+ }
8
+ export declare class BbCollectionsError<T> {
9
+ template: TemplateRef<BbCollectionsErrorContext<T>>;
10
+ constructor(template: TemplateRef<BbCollectionsErrorContext<T>>);
11
+ static ngTemplateContextGuard<T>(dir: BbCollectionsError<T>, ctx: unknown): ctx is BbCollectionsErrorContext<T>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsError<any>, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbCollectionsError<any>, "[bbCollectionsError]", never, {}, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,11 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BbCollectionsInitialContext<T> {
4
+ }
5
+ export declare class BbCollectionsInitial<T> {
6
+ template: TemplateRef<BbCollectionsInitialContext<T>>;
7
+ constructor(template: TemplateRef<BbCollectionsInitialContext<T>>);
8
+ static ngTemplateContextGuard<T>(dir: BbCollectionsInitial<T>, ctx: unknown): ctx is BbCollectionsInitialContext<T>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsInitial<any>, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbCollectionsInitial<any>, "[bbCollectionsInitial]", never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,14 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BbCollectionsItemContext<T> {
4
+ item: T;
5
+ $implicit: T;
6
+ constructor(item: T);
7
+ }
8
+ export declare class BbCollectionsItem<T> {
9
+ template: TemplateRef<BbCollectionsItemContext<T>>;
10
+ constructor(template: TemplateRef<BbCollectionsItemContext<T>>);
11
+ static ngTemplateContextGuard<T>(dir: BbCollectionsItem<T>, ctx: unknown): ctx is BbCollectionsItemContext<T>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsItem<any>, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbCollectionsItem<any>, "[bbCollectionsItem]", never, {}, {}, never, never, true, never>;
14
+ }
@@ -2,8 +2,18 @@ export * from './lib/interfaces/collection.interface';
2
2
  export * from './lib/providers/collection.provider';
3
3
  export * from './lib/providers/api-collection.provider';
4
4
  export * from './lib/providers/local-collection.provider';
5
- export * from './lib/components/collections.directive';
5
+ export * from './lib/directives/collections-data.directive';
6
+ export * from './lib/directives/collections-data-row.directive';
7
+ export * from './lib/directives/collections-empty.directive';
8
+ export * from './lib/directives/collections-error.directive';
9
+ export * from './lib/directives/collections-initial.directive';
10
+ export * from './lib/directives/collections-item.directive';
6
11
  export * from './lib/components/collections-viewer/collections-viewer.component';
7
12
  export * from './lib/components/collections-pager/collections-pager.component';
13
+ export * from './lib/components/collections-table/collections-table.component';
14
+ export * from './lib/components/collections-table-sorting/collections-table-sorting.component';
15
+ export * from './lib/components/collections-table-label/collections-table-label.component';
16
+ export * from './lib/components/collections-grid/collections-grid.component';
17
+ export * from './lib/components/collections-actions/collections-actions.component';
8
18
  export * from './lib/collection';
9
19
  export * from './lib/collections.module';
@@ -1,20 +1,17 @@
1
- import { OnDestroy, OnInit, Renderer2 } from '@angular/core';
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { BbDashboardSidebar } from '../dashboard-sidebar/dashboard-sidebar.component';
3
- import { Platform } from '@angular/cdk/platform';
4
- import { Patch } from '@bravobit/bb-foundation';
5
3
  import * as i0 from "@angular/core";
6
4
  export declare class BbDashboard implements OnInit, OnDestroy {
7
- private _patch;
8
- private _platform;
9
- private _renderer;
5
+ private readonly _patch;
6
+ private readonly _platform;
7
+ private readonly _renderer;
10
8
  sidebar?: BbDashboardSidebar;
11
9
  backgroundColor: string;
12
10
  maxWidth: string;
13
11
  padding: string;
14
- constructor(_patch: Patch, _platform: Platform, _renderer: Renderer2);
15
12
  ngOnInit(): void;
16
13
  ngOnDestroy(): void;
17
14
  private setHtmlClass;
18
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboard, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboard, "bb-dashboard", never, { "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; }, {}, ["sidebar"], ["bb-dashboard-sidebar", "bb-dashboard-header", "bb-dashboard-menu", "*", "bb-dashboard-footer"], false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboard, "bb-dashboard", never, { "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; }, {}, ["sidebar"], ["bb-dashboard-sidebar", "bb-dashboard-header", "bb-dashboard-menu", "*", "bb-dashboard-footer"], true, never>;
20
17
  }
@@ -1,11 +1,9 @@
1
- import { BbDashboard } from '../dashboard/dashboard.component';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class BbDashboardHeader {
4
- private _parent;
5
- constructor(_parent: BbDashboard);
3
+ private readonly _parent;
6
4
  get showSidebarButton(): boolean;
7
5
  get isSidebarVisible(): import("rxjs").Observable<boolean>;
8
6
  onToggleSidebarClicked(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardHeader, [{ optional: true; }]>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardHeader, "bb-dashboard-header", never, {}, {}, never, ["*"], false, never>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardHeader, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardHeader, "bb-dashboard-header", never, {}, {}, never, ["*"], true, never>;
11
9
  }
@@ -5,5 +5,5 @@ export declare class BbDashboardMenu {
5
5
  backUrlLink: string | null;
6
6
  backUrlTitle: string | null;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardMenu, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardMenu, "bb-dashboard-menu", never, { "title": { "alias": "title"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "backUrlLink": { "alias": "backUrlLink"; "required": false; }; "backUrlTitle": { "alias": "backUrlTitle"; "required": false; }; }, {}, never, ["[bb-dashboard-menu-item]"], false, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardMenu, "bb-dashboard-menu", never, { "title": { "alias": "title"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "backUrlLink": { "alias": "backUrlLink"; "required": false; }; "backUrlTitle": { "alias": "backUrlTitle"; "required": false; }; }, {}, never, ["[bb-dashboard-menu-item]"], true, never>;
9
9
  }
@@ -1,11 +1,8 @@
1
- import { CanDisable, CanDisableConstructor } from '@bravobit/bb-foundation';
2
1
  import * as i0 from "@angular/core";
3
- declare class BbDashboardMenuItemBase {
4
- }
5
- declare const BbDashboardMenuItemMixinBase: CanDisableConstructor & typeof BbDashboardMenuItemBase;
6
- export declare class BbDashboardMenuItem extends BbDashboardMenuItemMixinBase implements CanDisable {
2
+ export declare class BbDashboardMenuItem {
3
+ disabled: boolean;
7
4
  stopDisabledEvents(event: Event): void;
8
5
  static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardMenuItem, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardMenuItem, "[bb-dashboard-menu-item]", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["[bbPrefix]", "*", "[bbSuffix]"], false, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardMenuItem, "[bb-dashboard-menu-item]", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["[bbPrefix]", "*", "[bbSuffix]"], true, never>;
7
+ static ngAcceptInputType_disabled: unknown;
10
8
  }
11
- export {};
@@ -1,14 +1,12 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { Storage } from '@bravobit/bb-foundation/storage';
3
2
  import { BehaviorSubject } from 'rxjs';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class BbDashboardSidebar implements OnInit {
6
- private _storage;
5
+ private readonly _localStorageToken;
6
+ private readonly _storage;
7
7
  visibilityChanges: BehaviorSubject<boolean>;
8
8
  private _state$;
9
9
  private _cache;
10
- private readonly _localStorageToken;
11
- constructor(_storage: Storage);
12
10
  ngOnInit(): void;
13
11
  registerGroup(id: string): import("rxjs").Observable<boolean>;
14
12
  unregisterGroup(id: string): void;
@@ -17,5 +15,5 @@ export declare class BbDashboardSidebar implements OnInit {
17
15
  open(): void;
18
16
  close(): void;
19
17
  static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardSidebar, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardSidebar, "bb-dashboard-sidebar", never, {}, {}, never, ["header", "bb-dashboard-sidebar-group", "footer"], false, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardSidebar, "bb-dashboard-sidebar", never, {}, {}, never, ["header", "bb-dashboard-sidebar-group", "footer"], true, never>;
21
19
  }
@@ -1,17 +1,12 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { BbDashboardSidebar } from '../dashboard-sidebar/dashboard-sidebar.component';
3
- import { CanDisableConstructor } from '@bravobit/bb-foundation';
4
3
  import * as i0 from "@angular/core";
5
- declare class BbDashboardSidebarGroupBase {
6
- protected _parent: BbDashboardSidebar;
7
- constructor(_parent: BbDashboardSidebar);
8
- }
9
- declare const BbDashboardSidebarGroupMixinBase: CanDisableConstructor & typeof BbDashboardSidebarGroupBase;
10
- export declare class BbDashboardSidebarGroup extends BbDashboardSidebarGroupMixinBase implements OnInit, OnDestroy {
11
- protected _parent: BbDashboardSidebar;
4
+ export declare class BbDashboardSidebarGroup implements OnInit, OnDestroy {
5
+ private _parent;
12
6
  id: string | null;
13
7
  icon: string | null;
14
8
  title: string | null;
9
+ disabled: boolean;
15
10
  private _isExpanded;
16
11
  private _subscription;
17
12
  constructor(_parent: BbDashboardSidebar);
@@ -21,7 +16,7 @@ export declare class BbDashboardSidebarGroup extends BbDashboardSidebarGroupMixi
21
16
  ngOnDestroy(): void;
22
17
  onClick(): void;
23
18
  onGroupClicked(event: MouseEvent): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardSidebarGroup, [{ optional: true; host: true; }]>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardSidebarGroup, "bb-dashboard-sidebar-group", never, { "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, ["[bb-dashboard-sidebar-item]"], false, never>;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardSidebarGroup, [{ optional: true; }]>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardSidebarGroup, "bb-dashboard-sidebar-group", never, { "id": { "alias": "id"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["[bb-dashboard-sidebar-item]"], true, never>;
21
+ static ngAcceptInputType_disabled: unknown;
26
22
  }
27
- export {};
@@ -11,6 +11,6 @@ export declare class BbDashboardSidebarItem {
11
11
  get isHidden(): boolean;
12
12
  private get isVisible();
13
13
  private get isDisabled();
14
- static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardSidebarItem, [{ optional: true; host: true; }, { optional: true; host: true; }]>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardSidebarItem, "[bb-dashboard-sidebar-item]", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["*"], false, never>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardSidebarItem, [{ optional: true; }, { optional: true; }]>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardSidebarItem, "[bb-dashboard-sidebar-item]", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["*"], true, never>;
16
16
  }
@@ -6,11 +6,8 @@ import * as i4 from "./dashboard-menu-item/dashboard-menu-item.component";
6
6
  import * as i5 from "./dashboard-sidebar/dashboard-sidebar.component";
7
7
  import * as i6 from "./dashboard-sidebar-group/dashboard-sidebar-group.component";
8
8
  import * as i7 from "./dashboard-sidebar-item/dashboard-sidebar-item.component";
9
- import * as i8 from "@angular/common";
10
- import * as i9 from "@angular/router";
11
- import * as i10 from "@bravobit/bb-foundation/elements";
12
9
  export declare class DashboardModule {
13
10
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardModule, [typeof i1.BbDashboard, typeof i2.BbDashboardHeader, typeof i3.BbDashboardMenu, typeof i4.BbDashboardMenuItem, typeof i5.BbDashboardSidebar, typeof i6.BbDashboardSidebarGroup, typeof i7.BbDashboardSidebarItem], [typeof i8.CommonModule, typeof i9.RouterModule, typeof i10.ElementsModule], [typeof i1.BbDashboard, typeof i2.BbDashboardHeader, typeof i3.BbDashboardMenu, typeof i4.BbDashboardMenuItem, typeof i5.BbDashboardSidebar, typeof i6.BbDashboardSidebarGroup, typeof i7.BbDashboardSidebarItem]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardModule, never, [typeof i1.BbDashboard, typeof i2.BbDashboardHeader, typeof i3.BbDashboardMenu, typeof i4.BbDashboardMenuItem, typeof i5.BbDashboardSidebar, typeof i6.BbDashboardSidebarGroup, typeof i7.BbDashboardSidebarItem], [typeof i1.BbDashboard, typeof i2.BbDashboardHeader, typeof i3.BbDashboardMenu, typeof i4.BbDashboardMenuItem, typeof i5.BbDashboardSidebar, typeof i6.BbDashboardSidebarGroup, typeof i7.BbDashboardSidebarItem]>;
15
12
  static ɵinj: i0.ɵɵInjectorDeclaration<DashboardModule>;
16
13
  }