@bravobit/bb-foundation 0.32.1 → 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 (457) 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 +28 -0
  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 +21 -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 +9 -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 +140 -0
  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 +42 -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 +10 -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/functions/array.utils.mjs +7 -0
  161. package/esm2022/lib/core/miscellaneous/coercion.mjs +5 -0
  162. package/esm2022/lib/core/miscellaneous/regex.mjs +41 -2
  163. package/esm2022/lib/core/services/exif.service.mjs +3 -3
  164. package/esm2022/lib/core/services/file-loader.service.mjs +3 -3
  165. package/esm2022/lib/core/services/files.service.mjs +86 -0
  166. package/esm2022/lib/core/services/image-converter.service.mjs +3 -3
  167. package/esm2022/lib/core/services/languages.service.mjs +3 -3
  168. package/esm2022/lib/core/services/network.service.mjs +5 -5
  169. package/esm2022/lib/core/services/patch.service.mjs +3 -3
  170. package/esm2022/localize/lib/interfaces/config.interfaces.mjs +2 -7
  171. package/esm2022/localize/lib/interfaces/functions.interfaces.mjs +6 -6
  172. package/esm2022/localize/lib/localizations/dutch.localization.mjs +19 -1
  173. package/esm2022/localize/lib/localizations/english.localization.mjs +19 -1
  174. package/esm2022/localize/lib/localize.config.mjs +43 -0
  175. package/esm2022/localize/lib/localize.module.mjs +10 -54
  176. package/esm2022/localize/lib/localize.pipe.mjs +6 -5
  177. package/esm2022/localize/lib/localize.service.mjs +26 -13
  178. package/esm2022/localize/lib/localize.tokens.mjs +18 -0
  179. package/esm2022/localize/lib/transforms/interpolate.transform.mjs +3 -2
  180. package/esm2022/localize/lib/transforms/plural.transform.mjs +5 -3
  181. package/esm2022/localize/lib/transforms/reference.transform.mjs +5 -3
  182. package/esm2022/localize/lib/views/localize-string/localize-string.component.mjs +6 -10
  183. package/esm2022/localize/lib/views/localize-template.directive.mjs +6 -5
  184. package/esm2022/localize/public_api.mjs +3 -3
  185. package/esm2022/masking/lib/directives/currency-mask.directive.mjs +6 -5
  186. package/esm2022/masking/lib/directives/date-mask.directive.mjs +6 -5
  187. package/esm2022/masking/lib/directives/input-mask.directive.mjs +6 -5
  188. package/esm2022/masking/lib/masking.module.mjs +6 -6
  189. package/esm2022/masking/lib/masking.service.mjs +3 -3
  190. package/esm2022/notifications/lib/notifications-item/notifications-item.component.mjs +7 -9
  191. package/esm2022/notifications/lib/notifications-list/notifications-list.component.mjs +8 -8
  192. package/esm2022/notifications/lib/notifications.config.mjs +8 -0
  193. package/esm2022/notifications/lib/notifications.interfaces.mjs +3 -1
  194. package/esm2022/notifications/lib/notifications.module.mjs +8 -18
  195. package/esm2022/notifications/lib/notifications.service.mjs +14 -8
  196. package/esm2022/notifications/public_api.mjs +2 -1
  197. package/esm2022/permissions/lib/directives/permission.directive.mjs +6 -5
  198. package/esm2022/permissions/lib/guards/permission.guard.mjs +23 -54
  199. package/esm2022/permissions/lib/permissions.config.mjs +20 -0
  200. package/esm2022/permissions/lib/permissions.interface.mjs +3 -1
  201. package/esm2022/permissions/lib/permissions.module.mjs +9 -23
  202. package/esm2022/permissions/lib/permissions.service.mjs +8 -5
  203. package/esm2022/permissions/public_api.mjs +2 -1
  204. package/esm2022/public_api.mjs +4 -11
  205. package/esm2022/recaptcha/lib/recaptcha/recaptcha.component.mjs +12 -13
  206. package/esm2022/recaptcha/lib/recaptcha-loader.service.mjs +21 -36
  207. package/esm2022/recaptcha/lib/recaptcha.config.mjs +8 -0
  208. package/esm2022/recaptcha/lib/recaptcha.module.mjs +8 -8
  209. package/esm2022/recaptcha/public_api.mjs +2 -1
  210. package/esm2022/rxjs/lib/observables/get-route-param.observable.mjs +5 -0
  211. package/esm2022/rxjs/public_api.mjs +2 -1
  212. package/esm2022/select/bravobit-bb-foundation-select.mjs +5 -0
  213. package/esm2022/select/lib/select/select.component.mjs +210 -0
  214. package/esm2022/select/lib/select-label.directive.mjs +17 -0
  215. package/esm2022/select/lib/select-option-group.directive.mjs +17 -0
  216. package/esm2022/select/lib/select-option.directive.mjs +17 -0
  217. package/esm2022/select/lib/select.module.mjs +35 -0
  218. package/esm2022/select/public_api.mjs +6 -0
  219. package/esm2022/storage/lib/storage.service.mjs +3 -3
  220. package/esm2022/storage/lib/strategies/polyfill-storage.strategy.mjs +2 -5
  221. package/esm2022/table/lib/components/table/table.component.mjs +21 -22
  222. package/esm2022/table/lib/components/table-cell/table-cell.component.mjs +5 -5
  223. package/esm2022/table/lib/components/table-header-cell/table-header-cell.component.mjs +14 -14
  224. package/esm2022/table/lib/components/table-pager/table-pager.component.mjs +15 -17
  225. package/esm2022/table/lib/table.module.mjs +23 -21
  226. package/esm2022/tooltip/lib/tooltip-container/tooltip-container.component.mjs +11 -17
  227. package/esm2022/tooltip/lib/tooltip.directive.mjs +17 -27
  228. package/esm2022/tooltip/lib/tooltip.module.mjs +7 -22
  229. package/esm2022/tooltip/public_api.mjs +2 -2
  230. package/esm2022/utils/lib/directives/autosize.directive.mjs +9 -7
  231. package/esm2022/utils/lib/directives/focus-trap.directive.mjs +6 -5
  232. package/esm2022/utils/lib/directives/focus.directive.mjs +6 -5
  233. package/esm2022/utils/lib/directives/template.directive.mjs +6 -5
  234. package/esm2022/utils/lib/utils.module.mjs +6 -6
  235. package/fesm2022/bravobit-bb-foundation-auth.mjs +140 -175
  236. package/fesm2022/bravobit-bb-foundation-auth.mjs.map +1 -1
  237. package/fesm2022/bravobit-bb-foundation-collections.mjs +451 -106
  238. package/fesm2022/bravobit-bb-foundation-collections.mjs.map +1 -1
  239. package/fesm2022/bravobit-bb-foundation-combobox.mjs +18 -18
  240. package/fesm2022/bravobit-bb-foundation-combobox.mjs.map +1 -1
  241. package/fesm2022/bravobit-bb-foundation-dashboard.mjs +106 -116
  242. package/fesm2022/bravobit-bb-foundation-dashboard.mjs.map +1 -1
  243. package/fesm2022/bravobit-bb-foundation-dialog.mjs +125 -70
  244. package/fesm2022/bravobit-bb-foundation-dialog.mjs.map +1 -1
  245. package/fesm2022/bravobit-bb-foundation-elements.mjs +1780 -1368
  246. package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
  247. package/fesm2022/bravobit-bb-foundation-http.mjs +38 -27
  248. package/fesm2022/bravobit-bb-foundation-http.mjs.map +1 -1
  249. package/fesm2022/bravobit-bb-foundation-localize.mjs +310 -264
  250. package/fesm2022/bravobit-bb-foundation-localize.mjs.map +1 -1
  251. package/fesm2022/bravobit-bb-foundation-masking.mjs +23 -20
  252. package/fesm2022/bravobit-bb-foundation-masking.mjs.map +1 -1
  253. package/fesm2022/bravobit-bb-foundation-notifications.mjs +67 -62
  254. package/fesm2022/bravobit-bb-foundation-notifications.mjs.map +1 -1
  255. package/fesm2022/bravobit-bb-foundation-permissions.mjs +54 -72
  256. package/fesm2022/bravobit-bb-foundation-permissions.mjs.map +1 -1
  257. package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +44 -54
  258. package/fesm2022/bravobit-bb-foundation-recaptcha.mjs.map +1 -1
  259. package/fesm2022/bravobit-bb-foundation-rxjs.mjs +5 -1
  260. package/fesm2022/bravobit-bb-foundation-rxjs.mjs.map +1 -1
  261. package/fesm2022/bravobit-bb-foundation-select.mjs +288 -0
  262. package/fesm2022/bravobit-bb-foundation-select.mjs.map +1 -0
  263. package/fesm2022/bravobit-bb-foundation-storage.mjs +4 -7
  264. package/fesm2022/bravobit-bb-foundation-storage.mjs.map +1 -1
  265. package/fesm2022/bravobit-bb-foundation-table.mjs +67 -66
  266. package/fesm2022/bravobit-bb-foundation-table.mjs.map +1 -1
  267. package/fesm2022/bravobit-bb-foundation-tooltip.mjs +31 -61
  268. package/fesm2022/bravobit-bb-foundation-tooltip.mjs.map +1 -1
  269. package/fesm2022/bravobit-bb-foundation-utils.mjs +28 -23
  270. package/fesm2022/bravobit-bb-foundation-utils.mjs.map +1 -1
  271. package/fesm2022/bravobit-bb-foundation.mjs +166 -222
  272. package/fesm2022/bravobit-bb-foundation.mjs.map +1 -1
  273. package/http/lib/http.config.d.ts +5 -0
  274. package/http/lib/http.interfaces.d.ts +3 -0
  275. package/http/lib/http.module.d.ts +2 -6
  276. package/http/public_api.d.ts +1 -0
  277. package/lib/core/functions/array.utils.d.ts +1 -0
  278. package/lib/core/miscellaneous/coercion.d.ts +2 -0
  279. package/lib/core/miscellaneous/regex.d.ts +1 -0
  280. package/lib/core/services/files.service.d.ts +19 -0
  281. package/localize/lib/interfaces/config.interfaces.d.ts +1 -1
  282. package/localize/lib/interfaces/functions.interfaces.d.ts +0 -2
  283. package/localize/lib/localizations/dutch.localization.d.ts +18 -0
  284. package/localize/lib/localizations/english.localization.d.ts +18 -0
  285. package/localize/lib/localize.config.d.ts +6 -0
  286. package/localize/lib/localize.module.d.ts +2 -7
  287. package/localize/lib/localize.pipe.d.ts +1 -1
  288. package/localize/lib/localize.service.d.ts +4 -4
  289. package/localize/lib/localize.tokens.d.ts +11 -0
  290. package/localize/lib/views/localize-string/localize-string.component.d.ts +1 -1
  291. package/localize/lib/views/localize-template.directive.d.ts +1 -1
  292. package/localize/public_api.d.ts +2 -2
  293. package/masking/lib/directives/currency-mask.directive.d.ts +1 -1
  294. package/masking/lib/directives/date-mask.directive.d.ts +1 -1
  295. package/masking/lib/directives/input-mask.directive.d.ts +1 -1
  296. package/masking/lib/masking.module.d.ts +1 -1
  297. package/notifications/lib/notifications-item/notifications-item.component.d.ts +1 -1
  298. package/notifications/lib/notifications-list/notifications-list.component.d.ts +1 -1
  299. package/notifications/lib/notifications.config.d.ts +3 -0
  300. package/notifications/lib/notifications.interfaces.d.ts +2 -1
  301. package/notifications/lib/notifications.module.d.ts +1 -5
  302. package/notifications/public_api.d.ts +1 -0
  303. package/package.json +31 -36
  304. package/permissions/lib/directives/permission.directive.d.ts +1 -1
  305. package/permissions/lib/guards/permission.guard.d.ts +3 -15
  306. package/permissions/lib/permissions.config.d.ts +3 -0
  307. package/permissions/lib/permissions.interface.d.ts +2 -1
  308. package/permissions/lib/permissions.module.d.ts +1 -1
  309. package/permissions/public_api.d.ts +1 -0
  310. package/public_api.d.ts +3 -10
  311. package/recaptcha/lib/recaptcha/recaptcha.component.d.ts +4 -7
  312. package/recaptcha/lib/recaptcha-loader.service.d.ts +9 -13
  313. package/recaptcha/lib/recaptcha.config.d.ts +3 -0
  314. package/recaptcha/lib/recaptcha.module.d.ts +2 -2
  315. package/recaptcha/public_api.d.ts +1 -0
  316. package/rxjs/lib/observables/get-route-param.observable.d.ts +3 -0
  317. package/rxjs/public_api.d.ts +1 -0
  318. package/{theming → select}/index.d.ts +1 -1
  319. package/select/lib/select/select.component.d.ts +75 -0
  320. package/select/lib/select-label.directive.d.ts +8 -0
  321. package/select/lib/select-option-group.directive.d.ts +8 -0
  322. package/select/lib/select-option.directive.d.ts +8 -0
  323. package/select/lib/select.module.d.ts +10 -0
  324. package/select/public_api.d.ts +5 -0
  325. package/styles/colors.scss +20 -0
  326. package/styles/grid.scss +98 -0
  327. package/styles/reset.scss +65 -0
  328. package/styles/theme.scss +88 -0
  329. package/table/lib/components/table/table.component.d.ts +4 -6
  330. package/table/lib/components/table-cell/table-cell.component.d.ts +1 -1
  331. package/table/lib/components/table-header-cell/table-header-cell.component.d.ts +4 -7
  332. package/table/lib/components/table-pager/table-pager.component.d.ts +4 -8
  333. package/table/lib/table.module.d.ts +1 -5
  334. package/tooltip/lib/tooltip-container/tooltip-container.component.d.ts +3 -4
  335. package/tooltip/lib/tooltip.directive.d.ts +8 -17
  336. package/tooltip/lib/tooltip.module.d.ts +2 -5
  337. package/tooltip/public_api.d.ts +1 -1
  338. package/utils/lib/directives/autosize.directive.d.ts +2 -1
  339. package/utils/lib/directives/focus-trap.directive.d.ts +1 -1
  340. package/utils/lib/directives/focus.directive.d.ts +1 -1
  341. package/utils/lib/directives/template.directive.d.ts +1 -1
  342. package/utils/lib/utils.module.d.ts +1 -1
  343. package/auth/lib/directives/abstract.directive.d.ts +0 -12
  344. package/collections/lib/components/collections.directive.d.ts +0 -17
  345. package/controls/index.d.ts +0 -5
  346. package/controls/lib/checkbox/checkbox/checkbox.component.d.ts +0 -51
  347. package/controls/lib/checkbox/checkbox-group/checkbox-group.component.d.ts +0 -23
  348. package/controls/lib/checkbox/checkbox.module.d.ts +0 -10
  349. package/controls/lib/control-error/control-error/control-error.animation.d.ts +0 -1
  350. package/controls/lib/control-error/control-error/control-error.component.d.ts +0 -17
  351. package/controls/lib/control-error/control-error-submit.directive.d.ts +0 -15
  352. package/controls/lib/control-error/control-error.defaults.d.ts +0 -2
  353. package/controls/lib/control-error/control-error.interface.d.ts +0 -12
  354. package/controls/lib/control-error/control-error.module.d.ts +0 -9
  355. package/controls/lib/control-error/control-error.utils.d.ts +0 -3
  356. package/controls/lib/controls.interfaces.d.ts +0 -4
  357. package/controls/lib/controls.module.d.ts +0 -14
  358. package/controls/lib/form-control/form-control/form-control.component.d.ts +0 -29
  359. package/controls/lib/form-control/form-control-addon/form-control-addon.component.d.ts +0 -6
  360. package/controls/lib/form-control/form-control-input.directive.d.ts +0 -35
  361. package/controls/lib/form-control/form-control.module.d.ts +0 -12
  362. package/controls/lib/radio/radio-button/radio-button.component.d.ts +0 -24
  363. package/controls/lib/radio/radio-group/radio-group.component.d.ts +0 -53
  364. package/controls/lib/radio/radio.module.d.ts +0 -11
  365. package/controls/lib/toggle/toggle/toggle.component.d.ts +0 -45
  366. package/controls/lib/toggle/toggle-group/toggle-group.component.d.ts +0 -23
  367. package/controls/lib/toggle/toggle.module.d.ts +0 -10
  368. package/controls/public_api.d.ts +0 -20
  369. package/elements/lib/dropdown/dropdown.component.d.ts +0 -21
  370. package/elements/lib/tag/tag.component.d.ts +0 -7
  371. package/esm2022/auth/lib/directives/abstract.directive.mjs +0 -40
  372. package/esm2022/collections/lib/components/collections.directive.mjs +0 -43
  373. package/esm2022/controls/bravobit-bb-foundation-controls.mjs +0 -5
  374. package/esm2022/controls/lib/checkbox/checkbox/checkbox.component.mjs +0 -178
  375. package/esm2022/controls/lib/checkbox/checkbox-group/checkbox-group.component.mjs +0 -68
  376. package/esm2022/controls/lib/checkbox/checkbox.module.mjs +0 -20
  377. package/esm2022/controls/lib/control-error/control-error/control-error.animation.mjs +0 -14
  378. package/esm2022/controls/lib/control-error/control-error/control-error.component.mjs +0 -63
  379. package/esm2022/controls/lib/control-error/control-error-submit.directive.mjs +0 -47
  380. package/esm2022/controls/lib/control-error/control-error.defaults.mjs +0 -26
  381. package/esm2022/controls/lib/control-error/control-error.interface.mjs +0 -3
  382. package/esm2022/controls/lib/control-error/control-error.module.mjs +0 -19
  383. package/esm2022/controls/lib/control-error/control-error.utils.mjs +0 -20
  384. package/esm2022/controls/lib/controls.interfaces.mjs +0 -2
  385. package/esm2022/controls/lib/controls.module.mjs +0 -62
  386. package/esm2022/controls/lib/form-control/form-control/form-control.component.mjs +0 -79
  387. package/esm2022/controls/lib/form-control/form-control-addon/form-control-addon.component.mjs +0 -22
  388. package/esm2022/controls/lib/form-control/form-control-input.directive.mjs +0 -124
  389. package/esm2022/controls/lib/form-control/form-control.module.mjs +0 -34
  390. package/esm2022/controls/lib/radio/radio-button/radio-button.component.mjs +0 -75
  391. package/esm2022/controls/lib/radio/radio-group/radio-group.component.mjs +0 -168
  392. package/esm2022/controls/lib/radio/radio.module.mjs +0 -21
  393. package/esm2022/controls/lib/toggle/toggle/toggle.component.mjs +0 -153
  394. package/esm2022/controls/lib/toggle/toggle-group/toggle-group.component.mjs +0 -62
  395. package/esm2022/controls/lib/toggle/toggle.module.mjs +0 -20
  396. package/esm2022/controls/public_api.mjs +0 -21
  397. package/esm2022/elements/lib/dropdown/dropdown.component.mjs +0 -100
  398. package/esm2022/elements/lib/tag/tag.component.mjs +0 -18
  399. package/esm2022/lib/core/mixins/can-disable.mjs +0 -16
  400. package/esm2022/lib/core/mixins/can-hide-errors.mjs +0 -16
  401. package/esm2022/lib/core/mixins/can-load.mjs +0 -16
  402. package/esm2022/lib/core/mixins/constructor.mjs +0 -2
  403. package/esm2022/lib/core/mixins/has-error.mjs +0 -16
  404. package/esm2022/lib/core/mixins/is-focused.mjs +0 -16
  405. package/esm2022/lib/core/mixins/is-grouped.mjs +0 -16
  406. package/esm2022/lib/core/mixins/is-readonly.mjs +0 -16
  407. package/esm2022/lib/core/mixins/is-required.mjs +0 -16
  408. package/esm2022/lib/core/services/clipboard.service.mjs +0 -70
  409. package/esm2022/localize/lib/interfaces/transforms.interfaces.mjs +0 -3
  410. package/esm2022/localize/lib/locale.token.mjs +0 -14
  411. package/esm2022/theming/bravobit-bb-foundation-theming.mjs +0 -5
  412. package/esm2022/theming/lib/themes/checkbox-group.theme.mjs +0 -17
  413. package/esm2022/theming/lib/themes/checkbox.theme.mjs +0 -35
  414. package/esm2022/theming/lib/themes/control-error.theme.mjs +0 -11
  415. package/esm2022/theming/lib/themes/form-control-addon.theme.mjs +0 -6
  416. package/esm2022/theming/lib/themes/form-control.theme.mjs +0 -45
  417. package/esm2022/theming/lib/themes/radio-button.theme.mjs +0 -29
  418. package/esm2022/theming/lib/themes/radio-group.theme.mjs +0 -20
  419. package/esm2022/theming/lib/themes/toggle-group.theme.mjs +0 -17
  420. package/esm2022/theming/lib/themes/toggle.theme.mjs +0 -28
  421. package/esm2022/theming/lib/theming.data.mjs +0 -90
  422. package/esm2022/theming/lib/theming.directive.mjs +0 -38
  423. package/esm2022/theming/lib/theming.interface.mjs +0 -2
  424. package/esm2022/theming/lib/theming.module.mjs +0 -16
  425. package/esm2022/theming/lib/utils/theming.variable.mjs +0 -41
  426. package/esm2022/theming/public_api.mjs +0 -10
  427. package/fesm2022/bravobit-bb-foundation-controls.mjs +0 -1191
  428. package/fesm2022/bravobit-bb-foundation-controls.mjs.map +0 -1
  429. package/fesm2022/bravobit-bb-foundation-theming.mjs +0 -381
  430. package/fesm2022/bravobit-bb-foundation-theming.mjs.map +0 -1
  431. package/lib/core/mixins/can-disable.d.ts +0 -6
  432. package/lib/core/mixins/can-hide-errors.d.ts +0 -6
  433. package/lib/core/mixins/can-load.d.ts +0 -6
  434. package/lib/core/mixins/constructor.d.ts +0 -1
  435. package/lib/core/mixins/has-error.d.ts +0 -6
  436. package/lib/core/mixins/is-focused.d.ts +0 -6
  437. package/lib/core/mixins/is-grouped.d.ts +0 -6
  438. package/lib/core/mixins/is-readonly.d.ts +0 -6
  439. package/lib/core/mixins/is-required.d.ts +0 -6
  440. package/lib/core/services/clipboard.service.d.ts +0 -18
  441. package/localize/lib/interfaces/transforms.interfaces.d.ts +0 -3
  442. package/localize/lib/locale.token.d.ts +0 -3
  443. package/theming/lib/themes/checkbox-group.theme.d.ts +0 -16
  444. package/theming/lib/themes/checkbox.theme.d.ts +0 -32
  445. package/theming/lib/themes/control-error.theme.d.ts +0 -9
  446. package/theming/lib/themes/form-control-addon.theme.d.ts +0 -5
  447. package/theming/lib/themes/form-control.theme.d.ts +0 -32
  448. package/theming/lib/themes/radio-button.theme.d.ts +0 -26
  449. package/theming/lib/themes/radio-group.theme.d.ts +0 -17
  450. package/theming/lib/themes/toggle-group.theme.d.ts +0 -16
  451. package/theming/lib/themes/toggle.theme.d.ts +0 -25
  452. package/theming/lib/theming.data.d.ts +0 -17
  453. package/theming/lib/theming.directive.d.ts +0 -13
  454. package/theming/lib/theming.interface.d.ts +0 -34
  455. package/theming/lib/theming.module.d.ts +0 -7
  456. package/theming/lib/utils/theming.variable.d.ts +0 -16
  457. package/theming/public_api.d.ts +0 -9
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BbDialogActions {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogActions, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogActions, "[bb-dialog-actions]", never, {}, {}, never, ["*"], false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogActions, "[bb-dialog-actions]", never, {}, {}, never, ["*"], true, never>;
5
5
  }
@@ -6,6 +6,7 @@ import * as i0 from "@angular/core";
6
6
  export declare class BbDialogConfirm implements AfterViewInit {
7
7
  private _config;
8
8
  private _dialogRef;
9
+ readonly dialogId: string;
9
10
  readonly title: string | TemplateRef<any>;
10
11
  readonly description: string | TemplateRef<any>;
11
12
  readonly confirmButtonText: string;
@@ -14,10 +15,9 @@ export declare class BbDialogConfirm implements AfterViewInit {
14
15
  readonly cancelButtonClass: string;
15
16
  readonly width: string;
16
17
  confirmButton?: BbButton;
17
- dialogId: string;
18
18
  constructor(_config: BbDialogConfig, _dialogRef: BbDialogRef<boolean>);
19
19
  ngAfterViewInit(): void;
20
20
  onClose(result: boolean): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogConfirm, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogConfirm, "bb-dialog-confirm", never, {}, {}, never, never, false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogConfirm, "bb-dialog-confirm", never, {}, {}, never, never, true, never>;
23
23
  }
@@ -1,8 +1,8 @@
1
1
  import { ComponentRef, ElementRef, OnDestroy, OnInit, Type } from '@angular/core';
2
+ import { DialogConfig } from '../dialog.interfaces';
2
3
  import { Subject } from 'rxjs';
3
4
  import { BbDialogInsertion } from '../dialog.insertion';
4
5
  import { AnimationEvent } from '@angular/animations';
5
- import { DialogConfig } from '../dialog.interfaces';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class BbDialogContainer implements OnInit, OnDestroy {
8
8
  private _elementRef;
@@ -21,5 +21,5 @@ export declare class BbDialogContainer implements OnInit, OnDestroy {
21
21
  private listenForClicks;
22
22
  private loadChildComponent;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogContainer, [null, { optional: true; }]>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogContainer, "bb-dialog-container", never, {}, {}, never, never, false, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogContainer, "bb-dialog-container", never, {}, {}, never, never, true, never>;
25
25
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class BbDialogHeader {
4
4
  closeRequested: EventEmitter<void>;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogHeader, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogHeader, "[bb-dialog-header]", never, {}, { "closeRequested": "closeRequested"; }, never, ["*", "[bb-dialog-link]"], false, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogHeader, "[bb-dialog-header]", never, {}, { "closeRequested": "closeRequested"; }, never, ["*", "[bb-dialog-link]"], true, never>;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BbDialogLink {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogLink, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogLink, "[bb-dialog-link]", never, {}, {}, never, ["*"], false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogLink, "[bb-dialog-link]", never, {}, {}, never, ["*"], true, never>;
5
5
  }
@@ -12,5 +12,5 @@ export declare class BbDialogModal implements OnInit {
12
12
  ngOnDestroy(): void;
13
13
  private allowGlobalOverflow;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogModal, [null, null, { optional: true; }]>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogModal, "[bb-dialog-modal]", never, { "maxWidth": { "alias": "maxWidth"; "required": false; }; }, {}, never, ["[bb-dialog-header]", "*", "[bb-dialog-actions]"], false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogModal, "[bb-dialog-modal]", never, { "maxWidth": { "alias": "maxWidth"; "required": false; }; }, {}, never, ["[bb-dialog-header]", "*", "[bb-dialog-actions]"], true, never>;
16
16
  }
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { AnimationEvent } from '@angular/animations';
3
2
  import { DialogConfig } from '../dialog.interfaces';
3
+ import { AnimationEvent } from '@angular/animations';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class BbDialogOverlay implements OnInit, OnDestroy {
6
6
  private _elementRef;
@@ -19,5 +19,5 @@ export declare class BbDialogOverlay implements OnInit, OnDestroy {
19
19
  close(): Promise<void>;
20
20
  private listenForClicks;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogOverlay, [null, null, { optional: true; }]>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogOverlay, "bb-dialog-overlay", never, {}, { "closeRequested": "closeRequested"; }, never, ["[bb-dialog-modal]"], false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogOverlay, "bb-dialog-overlay", never, {}, { "closeRequested": "closeRequested"; }, never, ["[bb-dialog-modal]"], true, never>;
23
23
  }
@@ -0,0 +1,3 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+ import { DialogConfig } from './dialog.interfaces';
3
+ export declare function provideDialogConfig(config: DialogConfig): EnvironmentProviders;
@@ -4,5 +4,5 @@ export declare class BbDialogInsertion {
4
4
  viewContainerRef: ViewContainerRef;
5
5
  constructor(viewContainerRef: ViewContainerRef);
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogInsertion, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbDialogInsertion, "[bbDialogInsertion]", never, {}, {}, never, never, false, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbDialogInsertion, "[bbDialogInsertion]", never, {}, {}, never, never, true, never>;
8
8
  }
@@ -1,3 +1,4 @@
1
+ import { InjectionToken } from '@angular/core';
1
2
  export declare class BbDialogConfig<T = any> {
2
3
  data?: T;
3
4
  }
@@ -12,3 +13,4 @@ export declare class DialogConfig {
12
13
  disableContainerAnimations?: boolean;
13
14
  disableOverlayAnimations?: boolean;
14
15
  }
16
+ export declare const DIALOG_CONFIG: InjectionToken<DialogConfig>;
@@ -9,12 +9,10 @@ import * as i5 from "./dialog-link/dialog-link.component";
9
9
  import * as i6 from "./dialog-actions/dialog-actions.component";
10
10
  import * as i7 from "./dialog-confirm/dialog-confirm.component";
11
11
  import * as i8 from "./dialog.insertion";
12
- import * as i9 from "@angular/common";
13
- import * as i10 from "@bravobit/bb-foundation/localize";
14
- import * as i11 from "@bravobit/bb-foundation/elements";
12
+ import * as i9 from "./directives/confirm.directive";
15
13
  export declare class DialogModule {
16
14
  static forRoot(config?: DialogConfig): ModuleWithProviders<DialogModule>;
17
15
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, [typeof i1.BbDialogContainer, typeof i2.BbDialogOverlay, typeof i3.BbDialogModal, typeof i4.BbDialogHeader, typeof i5.BbDialogLink, typeof i6.BbDialogActions, typeof i7.BbDialogConfirm, typeof i8.BbDialogInsertion], [typeof i9.CommonModule, typeof i10.LocalizeModule, typeof i11.ElementsModule], [typeof i2.BbDialogOverlay, typeof i3.BbDialogModal, typeof i4.BbDialogHeader, typeof i5.BbDialogLink, typeof i6.BbDialogActions]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, never, [typeof i1.BbDialogContainer, typeof i2.BbDialogOverlay, typeof i3.BbDialogModal, typeof i4.BbDialogHeader, typeof i5.BbDialogLink, typeof i6.BbDialogActions, typeof i7.BbDialogConfirm, typeof i8.BbDialogInsertion, typeof i9.BbConfirm], [typeof i2.BbDialogOverlay, typeof i3.BbDialogModal, typeof i4.BbDialogHeader, typeof i5.BbDialogLink, typeof i6.BbDialogActions, typeof i9.BbConfirm]>;
19
17
  static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
20
18
  }
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BbConfirm {
4
+ private _dialog;
5
+ bbConfirmTitle: string;
6
+ bbConfirmDescription: string;
7
+ bbConfirmButtonText: string | null;
8
+ bbCancelButtonText: string | null;
9
+ confirm: EventEmitter<MouseEvent>;
10
+ onClick(event: MouseEvent): Promise<void>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbConfirm, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbConfirm, "[bbConfirm]", never, { "bbConfirmTitle": { "alias": "bbConfirmTitle"; "required": false; }; "bbConfirmDescription": { "alias": "bbConfirmDescription"; "required": false; }; "bbConfirmButtonText": { "alias": "bbConfirmButtonText"; "required": false; }; "bbCancelButtonText": { "alias": "bbCancelButtonText"; "required": false; }; }, { "confirm": "bbConfirm"; }, never, never, true, never>;
13
+ }
@@ -5,5 +5,7 @@ export * from './lib/dialog-modal/dialog-modal.component';
5
5
  export * from './lib/dialog-header/dialog-header.component';
6
6
  export * from './lib/dialog-link/dialog-link.component';
7
7
  export * from './lib/dialog-actions/dialog-actions.component';
8
+ export * from './lib/directives/confirm.directive';
8
9
  export * from './lib/dialog.service';
10
+ export * from './lib/dialog.config';
9
11
  export * from './lib/dialog.module';
@@ -21,5 +21,6 @@ export declare class BbAvatar {
21
21
  private getInitials;
22
22
  private parseColorFormat;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<BbAvatar, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<BbAvatar, "bb-avatar", never, { "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "title": { "alias": "title"; "required": false; }; "tintColor": { "alias": "tintColor"; "required": false; }; }, {}, never, never, false, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbAvatar, "bb-avatar", never, { "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "title": { "alias": "title"; "required": false; }; "tintColor": { "alias": "tintColor"; "required": false; }; }, {}, never, never, true, never>;
25
+ static ngAcceptInputType_size: unknown;
25
26
  }
@@ -1,23 +1,21 @@
1
- import { CanLoad, CanLoadConstructor, CanDisable, CanDisableConstructor } from '@bravobit/bb-foundation';
2
1
  import { ElementRef } from '@angular/core';
3
2
  import * as i0 from "@angular/core";
4
- declare class BbButtonBase {
5
- _elementRef: ElementRef;
6
- constructor(_elementRef: ElementRef);
7
- }
8
- declare const BbButtonMixinBase: CanDisableConstructor & CanLoadConstructor & typeof BbButtonBase;
9
- export declare class BbButton extends BbButtonMixinBase implements CanDisable, CanLoad {
10
- get nativeElement(): any;
11
- constructor(_elementRef: ElementRef<HTMLButtonElement>);
3
+ export declare class BbButton {
4
+ protected elementRef: ElementRef<HTMLButtonElement>;
5
+ disabled: boolean;
6
+ loading: boolean;
7
+ constructor(elementRef: ElementRef<HTMLButtonElement>);
12
8
  focus(): void;
13
9
  static ɵfac: i0.ɵɵFactoryDeclaration<BbButton, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<BbButton, "button[bb-button]", ["bbButton"], { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["*"], false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbButton, "button[bb-button]", ["bbButton"], { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["[prefix]", "*", "[suffix]"], true, never>;
11
+ static ngAcceptInputType_disabled: unknown;
12
+ static ngAcceptInputType_loading: unknown;
15
13
  }
16
14
  export declare class BbAnchor extends BbButton {
17
- tabIndex: number;
18
- constructor(_elementRef: ElementRef);
15
+ protected elementRef: ElementRef;
16
+ tabIndex: number | null;
17
+ constructor(elementRef: ElementRef);
19
18
  stopDisabledEvents(event: Event): void;
20
19
  static ɵfac: i0.ɵɵFactoryDeclaration<BbAnchor, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<BbAnchor, "a[bb-button]", ["bbButton", "bbAnchor"], { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["*"], false, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbAnchor, "a[bb-button]", ["bbButton", "bbAnchor"], { "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["[prefix]", "*", "[suffix]"], true, never>;
22
21
  }
23
- export {};
@@ -1,27 +1,34 @@
1
- import { CanDisable, CanDisableConstructor, IsGrouped, IsGroupedConstructor } from '@bravobit/bb-foundation';
2
- import { ChangeDetectorRef } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from '@angular/core';
3
2
  import { ControlValueAccessor } from '@angular/forms';
4
3
  import * as i0 from "@angular/core";
5
- declare class BbCheckboxBase {
6
- }
7
- declare const BbCheckboxMixinBase: IsGroupedConstructor & CanDisableConstructor & typeof BbCheckboxBase;
8
- export declare class BbCheckbox extends BbCheckboxMixinBase implements ControlValueAccessor, IsGrouped, CanDisable {
9
- private _changeDetection;
10
- labelId: string;
11
- tabIndex: number;
12
- get checked(): any;
13
- set checked(value: any);
14
- private _checked;
15
- constructor(_changeDetection: ChangeDetectorRef);
16
- onChange: (newValue: boolean) => void;
17
- onTouched: () => void;
18
- registerOnChange(fn: any): void;
19
- registerOnTouched(fn: any): void;
20
- setDisabledState(isDisabled: boolean): void;
4
+ export declare class BbCheckbox implements AfterViewInit, ControlValueAccessor {
5
+ private _renderer;
6
+ private _changeDetectorRef;
7
+ readonly labelId: string;
8
+ inputElementRef: ElementRef<HTMLInputElement>;
9
+ checked: boolean;
10
+ indeterminate: boolean;
11
+ disabled: boolean;
12
+ grouped: boolean;
13
+ checkedChange: EventEmitter<boolean>;
14
+ indeterminateChange: EventEmitter<boolean>;
15
+ onTouchedCallback: () => void;
16
+ onChangeCallback: (_: boolean | null) => void;
17
+ constructor(_renderer: Renderer2, _changeDetectorRef: ChangeDetectorRef);
18
+ ngAfterViewInit(): void;
19
+ toggle(): void;
21
20
  writeValue(newValue: boolean): void;
22
- onInteractionEvent(event: Event): void;
23
- onInputClick(event: Event): void;
21
+ registerOnChange(method: (_: boolean | null) => void): void;
22
+ registerOnTouched(method: () => void): void;
23
+ setDisabledState(isDisabled: boolean): void;
24
+ onClickEvent(event: Event): void;
25
+ onChangeEvent(event: Event): void;
26
+ private emitChangeEvent;
27
+ private syncField;
24
28
  static ɵfac: i0.ɵɵFactoryDeclaration<BbCheckbox, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<BbCheckbox, "bb-checkbox", never, { "grouped": { "alias": "grouped"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, {}, never, ["*"], false, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbCheckbox, "bb-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; }, { "checkedChange": "checkedChange"; "indeterminateChange": "indeterminateChange"; }, never, ["*"], true, never>;
30
+ static ngAcceptInputType_checked: unknown;
31
+ static ngAcceptInputType_indeterminate: unknown;
32
+ static ngAcceptInputType_disabled: unknown;
33
+ static ngAcceptInputType_grouped: unknown;
26
34
  }
27
- export {};
@@ -0,0 +1,13 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BbCheckboxGroup {
4
+ label: string | TemplateRef<any> | null;
5
+ required: boolean;
6
+ grouped: boolean;
7
+ inline: boolean;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCheckboxGroup, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbCheckboxGroup, "bb-checkbox-group", never, { "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; }, {}, never, ["bb-checkbox"], true, never>;
10
+ static ngAcceptInputType_required: unknown;
11
+ static ngAcceptInputType_grouped: unknown;
12
+ static ngAcceptInputType_inline: unknown;
13
+ }
@@ -1,12 +1,8 @@
1
- import { CanDisable, CanDisableConstructor, CanHideErrors, CanHideErrorsConstructor, HasError, HasErrorConstructor, IsGrouped, IsGroupedConstructor, IsReadonly, IsReadonlyConstructor, IsRequired, IsRequiredConstructor } from '@bravobit/bb-foundation';
2
1
  import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
3
2
  import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
4
3
  import { BehaviorSubject, Observable } from 'rxjs';
5
4
  import * as i0 from "@angular/core";
6
- declare class BbDatePickerBase {
7
- }
8
- declare const BbFilePickerMixinBase: IsRequiredConstructor & IsReadonlyConstructor & CanDisableConstructor & IsGroupedConstructor & HasErrorConstructor & CanHideErrorsConstructor & typeof BbDatePickerBase;
9
- export declare class BbDatePicker extends BbFilePickerMixinBase implements ControlValueAccessor, OnInit, OnDestroy, IsRequired, IsReadonly, CanDisable, IsGrouped, HasError, CanHideErrors {
5
+ export declare class BbDatePicker implements ControlValueAccessor, OnInit, OnDestroy {
10
6
  private _changeDetectorRef;
11
7
  private _localizeId;
12
8
  readonly _yearRegex: RegExp;
@@ -15,9 +11,14 @@ export declare class BbDatePicker extends BbFilePickerMixinBase implements Contr
15
11
  dayPlaceholder: string | null;
16
12
  monthPlaceholder: string | null;
17
13
  yearPlaceholder: string | null;
14
+ required: boolean;
15
+ grouped: boolean;
16
+ readonly: boolean;
17
+ hideErrors: boolean;
18
+ set disabled(value: boolean);
19
+ get disabled(): boolean;
18
20
  set years(value: [string | number, string | number] | null);
19
21
  form: FormGroup;
20
- trackByValue: (_: any, item: any) => any;
21
22
  data$: Observable<{
22
23
  days?: {
23
24
  label: string;
@@ -33,6 +34,10 @@ export declare class BbDatePicker extends BbFilePickerMixinBase implements Contr
33
34
  get value(): string | null;
34
35
  set value(value: string | null);
35
36
  valueChange: EventEmitter<string>;
37
+ error: boolean;
38
+ private _disabled;
39
+ onTouchedCallback: () => void;
40
+ onChangeCallback: (_: string | null) => void;
36
41
  private _subscription;
37
42
  constructor(_changeDetectorRef: ChangeDetectorRef, _localizeId: Observable<string>);
38
43
  ngOnInit(): void;
@@ -41,8 +46,6 @@ export declare class BbDatePicker extends BbFilePickerMixinBase implements Contr
41
46
  registerOnChange(method: (_: string | null) => void): void;
42
47
  registerOnTouched(method: () => void): void;
43
48
  setDisabledState(isDisabled: boolean): void;
44
- onTouchedCallback: () => void;
45
- onChangeCallback: (_: string | null) => void;
46
49
  onErrorChange(error: {
47
50
  token: string;
48
51
  data?: any;
@@ -65,6 +68,10 @@ export declare class BbDatePicker extends BbFilePickerMixinBase implements Contr
65
68
  private isValidDateString;
66
69
  private padString;
67
70
  static ɵfac: i0.ɵɵFactoryDeclaration<BbDatePicker, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<BbDatePicker, "bb-date-picker", never, { "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "dayPlaceholder": { "alias": "dayPlaceholder"; "required": false; }; "monthPlaceholder": { "alias": "monthPlaceholder"; "required": false; }; "yearPlaceholder": { "alias": "yearPlaceholder"; "required": false; }; "years": { "alias": "years"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDatePicker, "bb-date-picker", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "dayPlaceholder": { "alias": "dayPlaceholder"; "required": false; }; "monthPlaceholder": { "alias": "monthPlaceholder"; "required": false; }; "yearPlaceholder": { "alias": "yearPlaceholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "years": { "alias": "years"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
72
+ static ngAcceptInputType_required: unknown;
73
+ static ngAcceptInputType_grouped: unknown;
74
+ static ngAcceptInputType_readonly: unknown;
75
+ static ngAcceptInputType_hideErrors: unknown;
76
+ static ngAcceptInputType_disabled: unknown;
69
77
  }
70
- export {};
@@ -1,9 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BbSuffix {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<BbSuffix, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbSuffix, "[bbSuffix]", never, {}, {}, never, never, false, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbSuffix, "[bbSuffix]", never, {}, {}, never, never, true, never>;
5
5
  }
6
6
  export declare class BbPrefix {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<BbPrefix, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbPrefix, "[bbPrefix]", never, {}, {}, never, never, false, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbPrefix, "[bbPrefix]", never, {}, {}, never, never, true, never>;
9
9
  }
@@ -0,0 +1,13 @@
1
+ import { BehaviorSubject } from 'rxjs';
2
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
3
+ import { OnDestroy } from '@angular/core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BbExtraErrorControls implements OnDestroy {
6
+ readonly changes: BehaviorSubject<ValidationErrors>;
7
+ private _subscription;
8
+ set extraControls(controls: AbstractControl[]);
9
+ ngOnDestroy(): void;
10
+ private handle;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbExtraErrorControls, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbExtraErrorControls, "[bbExtraErrorControls]", never, { "extraControls": { "alias": "bbExtraErrorControls"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
@@ -13,5 +13,5 @@ export declare class BbFormSubmit implements OnInit {
13
13
  private get nativeElement();
14
14
  private reactiveSubmitChanges;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BbFormSubmit, [null, { optional: true; self: true; }]>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbFormSubmit, "form", ["bbForm"], {}, {}, never, never, false, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbFormSubmit, "form", ["bbForm"], {}, {}, never, never, true, never>;
17
17
  }
@@ -5,5 +5,5 @@ export declare class BbFormSubmitter {
5
5
  submit(): void;
6
6
  reset(): void;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<BbFormSubmitter, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbFormSubmitter, "[bbFormSubmitter]", ["bbFormSubmitter"], {}, {}, never, never, false, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbFormSubmitter, "[bbFormSubmitter]", ["bbFormSubmitter"], {}, {}, never, never, true, never>;
9
9
  }
@@ -0,0 +1,28 @@
1
+ import { EventEmitter, Renderer2 } from '@angular/core';
2
+ import { Platform } from '@angular/cdk/platform';
3
+ import { Files } from '@bravobit/bb-foundation';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BbImageUpload {
6
+ private _files;
7
+ private _platform;
8
+ private _renderer;
9
+ width: number | null;
10
+ height: number | null;
11
+ mode: 'aspect-fit' | 'aspect-fill';
12
+ type: 'png' | 'jpg';
13
+ onDataUri: EventEmitter<string>;
14
+ onFile: EventEmitter<File>;
15
+ constructor(_files: Files, _platform: Platform, _renderer: Renderer2);
16
+ onClick(): Promise<void>;
17
+ private openFilePicker;
18
+ private toDataUri;
19
+ private toImage;
20
+ private scaleImage;
21
+ private getExportType;
22
+ private getScaleByMode;
23
+ private getFileName;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbImageUpload, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbImageUpload, "button[bbImageUpload]", never, { "width": { "alias": "bbImageUploadWidth"; "required": false; }; "height": { "alias": "bbImageUploadHeight"; "required": false; }; "mode": { "alias": "bbImageUploadMode"; "required": false; }; "type": { "alias": "bbImageUploadType"; "required": false; }; }, { "onDataUri": "onDataUri"; "onFile": "onFile"; }, never, never, true, never>;
26
+ static ngAcceptInputType_width: unknown;
27
+ static ngAcceptInputType_height: unknown;
28
+ }
@@ -1,38 +1,16 @@
1
- import { DoCheck, ElementRef, OnDestroy, OnInit } from '@angular/core';
1
+ import { ElementRef } from '@angular/core';
2
2
  import { BbFormControl } from '../form-control/form-control.component';
3
- import { NgControl } from '@angular/forms';
4
3
  import * as i0 from "@angular/core";
5
- export declare class BbSelect implements OnInit, DoCheck, OnDestroy {
6
- protected _elementRef: ElementRef;
7
- protected _ngControl: NgControl;
8
- protected _formControl: BbFormControl;
9
- protected hasArrow: boolean;
10
- private _subscription;
11
- constructor(_elementRef: ElementRef, _ngControl: NgControl, _formControl: BbFormControl);
12
- ngOnInit(): void;
13
- ngDoCheck(): void;
14
- ngOnDestroy(): void;
4
+ export declare class BbInput {
5
+ private _elementRef;
6
+ private _formControl;
7
+ constructor(_elementRef: ElementRef, _formControl: BbFormControl);
15
8
  focus(): any;
16
- setFocus(hasFocus: boolean): void;
17
9
  get id(): string;
18
- get disabled(): boolean;
19
- set disabled(newValue: boolean);
20
- private _disabled;
21
10
  get required(): boolean;
22
- set required(newValue: boolean);
11
+ set required(value: boolean);
23
12
  private _required;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<BbSelect, [null, { optional: true; self: true; }, { optional: true; host: true; }]>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelect, "select[bbInput]", never, { "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, {}, never, never, false, never>;
26
- }
27
- export declare class BbInput extends BbSelect {
28
- protected _elementRef: ElementRef;
29
- protected _ngControl: NgControl;
30
- protected _formControl: BbFormControl;
31
- protected hasArrow: boolean;
32
- constructor(_elementRef: ElementRef, _ngControl: NgControl, _formControl: BbFormControl);
33
- get readonly(): boolean;
34
- set readonly(newValue: boolean);
35
- private _readonly;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<BbInput, [null, { optional: true; self: true; }, { optional: true; host: true; }]>;
37
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbInput, "input[bbInput], textarea[bbInput]", never, { "readonly": { "alias": "readonly"; "required": false; }; }, {}, never, never, false, never>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbInput, [null, { optional: true; host: true; }]>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbInput, "input[bbInput],textarea[bbInput],select[bbInput]", never, { "required": { "alias": "required"; "required": false; }; }, {}, never, never, true, never>;
15
+ static ngAcceptInputType_required: unknown;
38
16
  }
@@ -0,0 +1,84 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+ export declare function provideElementsConfig(): EnvironmentProviders;
3
+ export declare const ELEMENTS_MATERIAL_ICON: {
4
+ provide: import("@angular/core").InjectionToken<import("./elements.interfaces").ElementsIcon[]>;
5
+ useValue: {
6
+ namespace: string;
7
+ className: string;
8
+ uses: string;
9
+ type: string;
10
+ };
11
+ multi: boolean;
12
+ };
13
+ export declare function getErrors(): {
14
+ unknown: () => string;
15
+ required: () => string;
16
+ pattern: () => string;
17
+ email: () => string;
18
+ emailTaken: () => string;
19
+ passwordMatch: () => string;
20
+ confirm: () => string;
21
+ fullNumber: () => string;
22
+ min: ({ min }: {
23
+ min: any;
24
+ }) => {
25
+ token: string;
26
+ data: {
27
+ min: any;
28
+ };
29
+ };
30
+ max: ({ max }: {
31
+ max: any;
32
+ }) => {
33
+ token: string;
34
+ data: {
35
+ max: any;
36
+ };
37
+ };
38
+ maxFileSize: ({ maxSize }: {
39
+ maxSize: any;
40
+ }) => {
41
+ token: string;
42
+ data: {
43
+ maxSize: any;
44
+ };
45
+ };
46
+ minDate: ({ date }: {
47
+ date: any;
48
+ }) => {
49
+ token: string;
50
+ data: {
51
+ date: any;
52
+ };
53
+ };
54
+ maxDate: ({ date }: {
55
+ date: any;
56
+ }) => {
57
+ token: string;
58
+ data: {
59
+ date: any;
60
+ };
61
+ };
62
+ invalidDate: () => string;
63
+ invalidFileType: () => string;
64
+ minlength: ({ requiredLength, actualLength }: {
65
+ requiredLength: any;
66
+ actualLength: any;
67
+ }) => {
68
+ token: string;
69
+ data: {
70
+ requiredLength: any;
71
+ actualLength: any;
72
+ };
73
+ };
74
+ maxlength: ({ requiredLength, actualLength }: {
75
+ requiredLength: any;
76
+ actualLength: any;
77
+ }) => {
78
+ token: string;
79
+ data: {
80
+ requiredLength: any;
81
+ actualLength: any;
82
+ };
83
+ };
84
+ };