@bravobit/bb-foundation 0.33.0 → 0.40.1

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 +214 -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 +292 -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 +17 -22
  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 +77 -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
@@ -4,6 +4,6 @@ import * as i2 from "./directives/currency-mask.directive";
4
4
  import * as i3 from "./directives/date-mask.directive";
5
5
  export declare class MaskingModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<MaskingModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<MaskingModule, [typeof i1.BbInputMask, typeof i2.BbCurrencyMask, typeof i3.BbDateMask], never, [typeof i1.BbInputMask, typeof i2.BbCurrencyMask, typeof i3.BbDateMask]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaskingModule, never, [typeof i1.BbInputMask, typeof i2.BbCurrencyMask, typeof i3.BbDateMask], [typeof i1.BbInputMask, typeof i2.BbCurrencyMask, typeof i3.BbDateMask]>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<MaskingModule>;
9
9
  }
@@ -30,5 +30,5 @@ export declare class BbNotificationsItem implements OnInit, OnDestroy {
30
30
  private instance;
31
31
  private setTimeout;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<BbNotificationsItem, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<BbNotificationsItem, "bb-notifications-item", never, { "notification": { "alias": "notification"; "required": false; }; "dismissButtonText": { "alias": "dismissButtonText"; "required": false; }; }, {}, never, never, false, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbNotificationsItem, "bb-notifications-item", never, { "notification": { "alias": "notification"; "required": false; }; "dismissButtonText": { "alias": "dismissButtonText"; "required": false; }; }, {}, never, never, true, never>;
34
34
  }
@@ -12,5 +12,5 @@ export declare class BbNotificationsList {
12
12
  };
13
13
  private get location();
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<BbNotificationsList, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<BbNotificationsList, "bb-notifications-list", never, {}, {}, never, never, false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbNotificationsList, "bb-notifications-list", never, {}, {}, never, never, true, never>;
16
16
  }
@@ -0,0 +1,3 @@
1
+ import { NotificationsConfig } from './notifications.interfaces';
2
+ import { EnvironmentProviders } from '@angular/core';
3
+ export declare function provideNotificationsConfig(config: NotificationsConfig): EnvironmentProviders;
@@ -1,4 +1,4 @@
1
- import { TemplateRef } from '@angular/core';
1
+ import { InjectionToken, TemplateRef } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  export interface Notification {
4
4
  content: string | TemplateRef<any>;
@@ -47,3 +47,4 @@ export declare class NotificationsData {
47
47
  dismissText: string;
48
48
  position: NotificationsPosition;
49
49
  }
50
+ export declare const NOTIFICATIONS_CONFIG: InjectionToken<NotificationsConfig>;
@@ -1,13 +1,9 @@
1
1
  import { NotificationsConfig } from './notifications.interfaces';
2
2
  import { ModuleWithProviders } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
- import * as i1 from "./notifications-list/notifications-list.component";
5
- import * as i2 from "./notifications-item/notifications-item.component";
6
- import * as i3 from "@angular/common";
7
- import * as i4 from "@bravobit/bb-foundation/localize";
8
4
  export declare class NotificationsModule {
9
5
  static forRoot(config?: NotificationsConfig): ModuleWithProviders<NotificationsModule>;
10
6
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationsModule, [typeof i1.BbNotificationsList, typeof i2.BbNotificationsItem], [typeof i3.CommonModule, typeof i4.LocalizeModule], never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationsModule, never, never, never>;
12
8
  static ɵinj: i0.ɵɵInjectorDeclaration<NotificationsModule>;
13
9
  }
@@ -1,3 +1,4 @@
1
1
  export * from './lib/notifications.interfaces';
2
2
  export * from './lib/notifications.service';
3
+ export * from './lib/notifications.config';
3
4
  export * from './lib/notifications.module';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bravobit/bb-foundation",
3
- "version": "0.33.0",
3
+ "version": "0.40.1",
4
4
  "description": "The Angular core foundation of the Bravobit team.",
5
5
  "author": {
6
6
  "name": "Stan van Heumen",
@@ -13,9 +13,10 @@
13
13
  "@angular/cdk": "^18.0.0"
14
14
  },
15
15
  "dependencies": {
16
- "tslib": "^2.6.2",
17
- "inputmask": "^5.0.8",
18
- "@types/grecaptcha": "^3.0.9"
16
+ "tslib": "^2.6.3",
17
+ "inputmask": "^5.0.9",
18
+ "@types/grecaptcha": "^3.0.9",
19
+ "@ng-select/ng-select": "~13.0.4"
19
20
  },
20
21
  "sideEffects": false,
21
22
  "module": "fesm2022/bravobit-bb-foundation.mjs",
@@ -42,12 +43,6 @@
42
43
  "esm": "./esm2022/collections/bravobit-bb-foundation-collections.mjs",
43
44
  "default": "./fesm2022/bravobit-bb-foundation-collections.mjs"
44
45
  },
45
- "./controls": {
46
- "types": "./controls/index.d.ts",
47
- "esm2022": "./esm2022/controls/bravobit-bb-foundation-controls.mjs",
48
- "esm": "./esm2022/controls/bravobit-bb-foundation-controls.mjs",
49
- "default": "./fesm2022/bravobit-bb-foundation-controls.mjs"
50
- },
51
46
  "./dialog": {
52
47
  "types": "./dialog/index.d.ts",
53
48
  "esm2022": "./esm2022/dialog/bravobit-bb-foundation-dialog.mjs",
@@ -60,18 +55,18 @@
60
55
  "esm": "./esm2022/dashboard/bravobit-bb-foundation-dashboard.mjs",
61
56
  "default": "./fesm2022/bravobit-bb-foundation-dashboard.mjs"
62
57
  },
63
- "./elements": {
64
- "types": "./elements/index.d.ts",
65
- "esm2022": "./esm2022/elements/bravobit-bb-foundation-elements.mjs",
66
- "esm": "./esm2022/elements/bravobit-bb-foundation-elements.mjs",
67
- "default": "./fesm2022/bravobit-bb-foundation-elements.mjs"
68
- },
69
58
  "./combobox": {
70
59
  "types": "./combobox/index.d.ts",
71
60
  "esm2022": "./esm2022/combobox/bravobit-bb-foundation-combobox.mjs",
72
61
  "esm": "./esm2022/combobox/bravobit-bb-foundation-combobox.mjs",
73
62
  "default": "./fesm2022/bravobit-bb-foundation-combobox.mjs"
74
63
  },
64
+ "./elements": {
65
+ "types": "./elements/index.d.ts",
66
+ "esm2022": "./esm2022/elements/bravobit-bb-foundation-elements.mjs",
67
+ "esm": "./esm2022/elements/bravobit-bb-foundation-elements.mjs",
68
+ "default": "./fesm2022/bravobit-bb-foundation-elements.mjs"
69
+ },
75
70
  "./http": {
76
71
  "types": "./http/index.d.ts",
77
72
  "esm2022": "./esm2022/http/bravobit-bb-foundation-http.mjs",
@@ -114,6 +109,12 @@
114
109
  "esm": "./esm2022/rxjs/bravobit-bb-foundation-rxjs.mjs",
115
110
  "default": "./fesm2022/bravobit-bb-foundation-rxjs.mjs"
116
111
  },
112
+ "./select": {
113
+ "types": "./select/index.d.ts",
114
+ "esm2022": "./esm2022/select/bravobit-bb-foundation-select.mjs",
115
+ "esm": "./esm2022/select/bravobit-bb-foundation-select.mjs",
116
+ "default": "./fesm2022/bravobit-bb-foundation-select.mjs"
117
+ },
117
118
  "./storage": {
118
119
  "types": "./storage/index.d.ts",
119
120
  "esm2022": "./esm2022/storage/bravobit-bb-foundation-storage.mjs",
@@ -126,12 +127,6 @@
126
127
  "esm": "./esm2022/table/bravobit-bb-foundation-table.mjs",
127
128
  "default": "./fesm2022/bravobit-bb-foundation-table.mjs"
128
129
  },
129
- "./theming": {
130
- "types": "./theming/index.d.ts",
131
- "esm2022": "./esm2022/theming/bravobit-bb-foundation-theming.mjs",
132
- "esm": "./esm2022/theming/bravobit-bb-foundation-theming.mjs",
133
- "default": "./fesm2022/bravobit-bb-foundation-theming.mjs"
134
- },
135
130
  "./tooltip": {
136
131
  "types": "./tooltip/index.d.ts",
137
132
  "esm2022": "./esm2022/tooltip/bravobit-bb-foundation-tooltip.mjs",
@@ -25,5 +25,5 @@ export declare class BbPermission implements OnInit, OnDestroy {
25
25
  static ngAcceptInputType_bbPermissionElse: TemplateRef<any>;
26
26
  static ngAcceptInputType_bbPermissionMode: PermissionsMode;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<BbPermission, never>;
28
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbPermission, "[bbPermission]", never, { "bbPermission": { "alias": "bbPermission"; "required": false; }; "bbPermissionElse": { "alias": "bbPermissionElse"; "required": false; }; "bbPermissionMode": { "alias": "bbPermissionMode"; "required": false; }; }, {}, never, never, false, never>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbPermission, "[bbPermission]", never, { "bbPermission": { "alias": "bbPermission"; "required": false; }; "bbPermissionElse": { "alias": "bbPermissionElse"; "required": false; }; "bbPermissionMode": { "alias": "bbPermissionMode"; "required": false; }; }, {}, never, never, true, never>;
29
29
  }
@@ -1,15 +1,3 @@
1
- import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router, RouterStateSnapshot } from '@angular/router';
2
- import { PermissionsConfig } from '../permissions.interface';
3
- import { Permissions } from '../permissions.service';
4
- import * as i0 from "@angular/core";
5
- export declare class BbPermissionGuard implements CanActivate, CanActivateChild {
6
- private _router;
7
- private _permissions;
8
- private _config?;
9
- constructor(_router: Router, _permissions: Permissions, _config?: PermissionsConfig);
10
- canActivate(snapshot: ActivatedRouteSnapshot, state: RouterStateSnapshot): import("rxjs").Observable<boolean | import("@angular/router").UrlTree>;
11
- canActivateChild(childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): import("rxjs").Observable<boolean | import("@angular/router").UrlTree>;
12
- private parsePermission;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<BbPermissionGuard, [null, null, { optional: true; }]>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<BbPermissionGuard>;
15
- }
1
+ import { CanActivateFn } from '@angular/router';
2
+ import { PermissionsOptions } from '../permissions.interface';
3
+ export declare const bbPermissionGuard: (value: string | string[], options?: PermissionsOptions) => CanActivateFn;
@@ -0,0 +1,3 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+ import { PermissionsConfig } from './permissions.interface';
3
+ export declare function providePermissionsConfig(config?: PermissionsConfig): EnvironmentProviders;
@@ -1,5 +1,5 @@
1
1
  import { ActivatedRouteSnapshot, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
2
- import { Provider } from '@angular/core';
2
+ import { InjectionToken, Provider } from '@angular/core';
3
3
  export declare class PermissionsConfig {
4
4
  provider?: Provider;
5
5
  localPermissions?: LocalPermissionsData;
@@ -10,3 +10,4 @@ export interface PermissionsOptions {
10
10
  }
11
11
  export type PermissionsMode = 'and' | 'or' | 'not';
12
12
  export type LocalPermissionsData<T extends string = any> = Record<string, T[] | '*'>;
13
+ export declare const PERMISSIONS_CONFIG: InjectionToken<PermissionsConfig>;
@@ -5,6 +5,6 @@ import * as i1 from "./directives/permission.directive";
5
5
  export declare class PermissionsModule {
6
6
  static forRoot(config?: PermissionsConfig): ModuleWithProviders<PermissionsModule>;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<PermissionsModule, [typeof i1.BbPermission], never, [typeof i1.BbPermission]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PermissionsModule, never, [typeof i1.BbPermission], [typeof i1.BbPermission]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<PermissionsModule>;
10
10
  }
@@ -4,4 +4,5 @@ export * from './lib/directives/permission.directive';
4
4
  export * from './lib/guards/permission.guard';
5
5
  export * from './lib/permissions.interface';
6
6
  export * from './lib/permissions.service';
7
+ export * from './lib/permissions.config';
7
8
  export * from './lib/permissions.module';
package/public_api.d.ts CHANGED
@@ -5,15 +5,6 @@ export * from './lib/core/services/languages.service';
5
5
  export * from './lib/core/services/network.service';
6
6
  export * from './lib/core/services/patch.service';
7
7
  export * from './lib/core/services/exif.service';
8
- export * from './lib/core/mixins/constructor';
9
- export * from './lib/core/mixins/can-disable';
10
- export * from './lib/core/mixins/can-load';
11
- export * from './lib/core/mixins/has-error';
12
- export * from './lib/core/mixins/can-hide-errors';
13
- export * from './lib/core/mixins/is-focused';
14
- export * from './lib/core/mixins/is-grouped';
15
- export * from './lib/core/mixins/is-readonly';
16
- export * from './lib/core/mixins/is-required';
17
8
  export * from './lib/core/tokens/base-url.token';
18
9
  export * from './lib/core/tokens/accept-language.token';
19
10
  export * from './lib/core/tokens/cookie.token';
@@ -22,6 +13,7 @@ export * from './lib/core/tokens/navigator.token';
22
13
  export * from './lib/core/tokens/location.token';
23
14
  export * from './lib/core/miscellaneous/regex';
24
15
  export * from './lib/core/miscellaneous/validator';
16
+ export * from './lib/core/miscellaneous/coercion';
25
17
  export * from './lib/core/functions/date.utils';
26
18
  export * from './lib/core/functions/password.utils';
27
19
  export * from './lib/core/functions/array.utils';
@@ -1,16 +1,12 @@
1
1
  /// <reference types="grecaptcha" />
2
2
  import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy, Renderer2 } from '@angular/core';
3
3
  import { RecaptchaConfig } from '../recaptcha.interface';
4
- import { IsGroupedConstructor } from '@bravobit/bb-foundation';
5
4
  import { ControlValueAccessor } from '@angular/forms';
6
5
  import { RecaptchaLoader } from '../recaptcha-loader.service';
7
6
  import { Platform } from '@angular/cdk/platform';
8
7
  import { Observable } from 'rxjs';
9
8
  import * as i0 from "@angular/core";
10
- declare class BbRecaptchaBase {
11
- }
12
- declare const BbRecaptchaMixinBase: IsGroupedConstructor & typeof BbRecaptchaBase;
13
- export declare class RecaptchaComponent extends BbRecaptchaMixinBase implements ControlValueAccessor, AfterViewInit, OnDestroy {
9
+ export declare class RecaptchaComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
14
10
  private _zone;
15
11
  private _platform;
16
12
  private _renderer;
@@ -26,6 +22,7 @@ export declare class RecaptchaComponent extends BbRecaptchaMixinBase implements
26
22
  theme: ReCaptchaV2.Theme | null;
27
23
  badge: ReCaptchaV2.Badge | null;
28
24
  errorMode: 'handled' | 'default';
25
+ grouped: boolean;
29
26
  resolved: EventEmitter<string>;
30
27
  error: EventEmitter<[]>;
31
28
  private _widgetId;
@@ -50,6 +47,6 @@ export declare class RecaptchaComponent extends BbRecaptchaMixinBase implements
50
47
  private handleLocaleChanges;
51
48
  private onLocaleChanged;
52
49
  static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaComponent, [null, null, null, null, null, null, { optional: true; }]>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<RecaptchaComponent, "bb-recaptcha", ["bbRecaptcha"], { "grouped": { "alias": "grouped"; "required": false; }; "id": { "alias": "id"; "required": false; }; "siteKey": { "alias": "siteKey"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "errorMode": { "alias": "errorMode"; "required": false; }; }, { "resolved": "resolved"; "error": "error"; }, never, never, false, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<RecaptchaComponent, "bb-recaptcha", ["bbRecaptcha"], { "id": { "alias": "id"; "required": false; }; "siteKey": { "alias": "siteKey"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "errorMode": { "alias": "errorMode"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; }, { "resolved": "resolved"; "error": "error"; }, never, never, true, never>;
51
+ static ngAcceptInputType_grouped: unknown;
54
52
  }
55
- export {};
@@ -1,24 +1,20 @@
1
1
  /// <reference types="grecaptcha" />
2
- import { RendererFactory2 } from '@angular/core';
3
- import { RecaptchaConfig } from './recaptcha.interface';
4
- import { Localize } from '@bravobit/bb-foundation/localize';
5
- import { Platform } from '@angular/cdk/platform';
6
2
  import { BehaviorSubject } from 'rxjs';
7
3
  import * as i0 from "@angular/core";
8
4
  export declare class RecaptchaLoader {
9
- private _platform;
10
- private _renderFactory;
11
- private _localize?;
12
- private _localeId?;
13
- private _document?;
14
- private _config?;
5
+ private readonly _platform;
6
+ private readonly _rendererFactory;
7
+ private readonly _config;
8
+ private readonly _localize;
9
+ private readonly _localeId;
10
+ private readonly _document;
11
+ private readonly _renderer;
15
12
  readonly ready$: BehaviorSubject<ReCaptchaV2.ReCaptcha | null> | null;
16
13
  private readonly _windowLoadFn;
17
- private readonly _renderer;
18
- constructor(_platform: Platform, _renderFactory: RendererFactory2, _localize?: Localize, _localeId?: string, _document?: Document, _config?: RecaptchaConfig);
14
+ constructor();
19
15
  private createScript;
20
16
  private getUrl;
21
17
  private getQueryParams;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaLoader, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaLoader, never>;
23
19
  static ɵprov: i0.ɵɵInjectableDeclaration<RecaptchaLoader>;
24
20
  }
@@ -0,0 +1,3 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+ import { RecaptchaConfig } from './recaptcha.interface';
3
+ export declare function provideRecaptchaConfig(config: RecaptchaConfig): EnvironmentProviders;
@@ -1,10 +1,10 @@
1
- import { RecaptchaConfig } from './recaptcha.interface';
2
1
  import { ModuleWithProviders } from '@angular/core';
2
+ import { RecaptchaConfig } from './recaptcha.interface';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "./recaptcha/recaptcha.component";
5
5
  export declare class RecaptchaModule {
6
6
  static forRoot(config?: RecaptchaConfig): ModuleWithProviders<RecaptchaModule>;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<RecaptchaModule, [typeof i1.RecaptchaComponent], never, [typeof i1.RecaptchaComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RecaptchaModule, never, [typeof i1.RecaptchaComponent], [typeof i1.RecaptchaComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<RecaptchaModule>;
10
10
  }
@@ -1,4 +1,5 @@
1
1
  export * from './lib/recaptcha.interface';
2
2
  export * from './lib/recaptcha-loader.service';
3
3
  export * from './lib/recaptcha/recaptcha.component';
4
+ export * from './lib/recaptcha.config';
4
5
  export * from './lib/recaptcha.module';
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- /// <amd-module name="@bravobit/bb-foundation/theming" />
4
+ /// <amd-module name="@bravobit/bb-foundation/select" />
5
5
  export * from './public_api';
@@ -0,0 +1,77 @@
1
+ import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
+ import { ControlValueAccessor, FormControl } from '@angular/forms';
3
+ import { NgSelectComponent } from '@ng-select/ng-select';
4
+ import { Observable, Subject } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BbSelect<T> implements ControlValueAccessor, OnInit, OnDestroy {
7
+ readonly labelId: string;
8
+ readonly control: FormControl<any>;
9
+ optionTemplate: TemplateRef<any>;
10
+ optionGroupTemplate: TemplateRef<any>;
11
+ labelTemplate: TemplateRef<any>;
12
+ selectComponent: NgSelectComponent;
13
+ label: string | TemplateRef<any> | null;
14
+ hint: string | TemplateRef<any> | null;
15
+ data: Observable<T[]> | null;
16
+ required: boolean;
17
+ disabled: boolean;
18
+ grouped: boolean;
19
+ hideErrors: boolean;
20
+ loading: boolean;
21
+ multiple: boolean;
22
+ clearable: boolean;
23
+ searchable: boolean;
24
+ virtualScroll: boolean;
25
+ closeOnSelect: boolean;
26
+ selectableGroup: boolean;
27
+ selectableGroupAsModel: boolean;
28
+ hideArrow: boolean;
29
+ selectOnTab: boolean;
30
+ bindLabel: string | null;
31
+ bindValue: string | null;
32
+ placeholder: string | null;
33
+ typeahead: Subject<string> | null;
34
+ trackByFn: any | null;
35
+ groupBy: string | null;
36
+ isOpen: boolean;
37
+ clearSearchOnAdd: boolean;
38
+ addTag: boolean | ((term: string) => any | Promise<any>);
39
+ appendTo: string | null;
40
+ get value(): any | null;
41
+ valueChange: EventEmitter<any>;
42
+ onBlur: EventEmitter<FocusEvent>;
43
+ onChange: EventEmitter<any>;
44
+ set value(value: any | null);
45
+ error: boolean;
46
+ onTouchedCallback: () => void;
47
+ onChangeCallback: (_: T | null) => void;
48
+ private _subscription;
49
+ ngOnInit(): void;
50
+ ngOnDestroy(): void;
51
+ writeValue(value: T | null): void;
52
+ registerOnChange(method: (_: T | null) => void): void;
53
+ registerOnTouched(method: () => void): void;
54
+ setDisabledState(isDisabled: boolean): void;
55
+ onErrorChange(error: {
56
+ token: string;
57
+ data?: any;
58
+ } | null): void;
59
+ private handleValueChanges;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbSelect<any>, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbSelect<any>, "bb-select", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "data": { "alias": "data"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "selectableGroup": { "alias": "selectableGroup"; "required": false; }; "selectableGroupAsModel": { "alias": "selectableGroupAsModel"; "required": false; }; "hideArrow": { "alias": "hideArrow"; "required": false; }; "selectOnTab": { "alias": "selectOnTab"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "typeahead": { "alias": "typeahead"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "groupBy": { "alias": "groupBy"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "clearSearchOnAdd": { "alias": "clearSearchOnAdd"; "required": false; }; "addTag": { "alias": "addTag"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "onBlur": "onBlur"; "onChange": "onChange"; }, ["optionTemplate", "optionGroupTemplate", "labelTemplate"], never, true, never>;
62
+ static ngAcceptInputType_data: unknown;
63
+ static ngAcceptInputType_required: unknown;
64
+ static ngAcceptInputType_disabled: unknown;
65
+ static ngAcceptInputType_grouped: unknown;
66
+ static ngAcceptInputType_hideErrors: unknown;
67
+ static ngAcceptInputType_loading: unknown;
68
+ static ngAcceptInputType_multiple: unknown;
69
+ static ngAcceptInputType_clearable: unknown;
70
+ static ngAcceptInputType_searchable: unknown;
71
+ static ngAcceptInputType_virtualScroll: unknown;
72
+ static ngAcceptInputType_closeOnSelect: unknown;
73
+ static ngAcceptInputType_selectableGroup: unknown;
74
+ static ngAcceptInputType_selectableGroupAsModel: unknown;
75
+ static ngAcceptInputType_hideArrow: unknown;
76
+ static ngAcceptInputType_selectOnTab: unknown;
77
+ }
@@ -0,0 +1,8 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BbSelectLabel {
4
+ template: TemplateRef<any>;
5
+ constructor(template: TemplateRef<any>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectLabel, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectLabel, "ng-template[bbSelectLabel]", never, {}, {}, never, never, true, never>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BbSelectOptionGroup {
4
+ template: TemplateRef<any>;
5
+ constructor(template: TemplateRef<any>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectOptionGroup, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectOptionGroup, "ng-template[bbSelectOptionGroup]", never, {}, {}, never, never, true, never>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BbSelectOption {
4
+ template: TemplateRef<any>;
5
+ constructor(template: TemplateRef<any>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectOption, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectOption, "ng-template[bbSelectOption]", never, {}, {}, never, never, true, never>;
8
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./select/select.component";
3
+ import * as i2 from "./select-label.directive";
4
+ import * as i3 from "./select-option.directive";
5
+ import * as i4 from "./select-option-group.directive";
6
+ export declare class SelectModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, never, [typeof i1.BbSelect, typeof i2.BbSelectLabel, typeof i3.BbSelectOption, typeof i4.BbSelectOptionGroup], [typeof i1.BbSelect, typeof i2.BbSelectLabel, typeof i3.BbSelectOption, typeof i4.BbSelectOptionGroup]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
10
+ }
@@ -0,0 +1,5 @@
1
+ export * from './lib/select-option-group.directive';
2
+ export * from './lib/select/select.component';
3
+ export * from './lib/select-option.directive';
4
+ export * from './lib/select-label.directive';
5
+ export * from './lib/select.module';
@@ -0,0 +1,20 @@
1
+ @use 'sass:color';
2
+ @use 'sass:map';
3
+
4
+ @mixin generate-color-palette($base-color, $name, $custom: null) {
5
+ $colors: (50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800, 850, 900);
6
+ $color-map: ();
7
+
8
+ @each $value in $colors {
9
+ $color: color.adjust($base-color, $lightness: (500 - $value) * 0.1%);
10
+ $color-map: map.merge($color-map, ($value: $color));
11
+ }
12
+
13
+ @if $custom != null {
14
+ $color-map: map.deep-merge($color-map, $custom);
15
+ }
16
+
17
+ @each $value, $color in $color-map {
18
+ --#{$name}-#{$value}: #{$color};
19
+ }
20
+ }
@@ -0,0 +1,98 @@
1
+ .row, .column {
2
+ box-sizing: border-box;
3
+ }
4
+
5
+ .row {
6
+ &::before, &::after {
7
+ content: '';
8
+ display: table;
9
+ }
10
+
11
+ &::after {
12
+ clear: both;
13
+ }
14
+ }
15
+
16
+ .column {
17
+ float: left;
18
+ display: block;
19
+ position: relative;
20
+ }
21
+
22
+ .column-1,
23
+ .column-2,
24
+ .column-3,
25
+ .column-4,
26
+ .column-5,
27
+ .column-6,
28
+ .column-7,
29
+ .column-8,
30
+ .column-9,
31
+ .column-10,
32
+ .column-11,
33
+ .column-12 {
34
+ float: none;
35
+ width: auto;
36
+ }
37
+
38
+ .column + .column {
39
+ margin-left: 0;
40
+ }
41
+
42
+ @media only screen and (min-width: 768px) {
43
+ .column-1,
44
+ .column-2,
45
+ .column-3,
46
+ .column-4,
47
+ .column-5,
48
+ .column-6,
49
+ .column-7,
50
+ .column-8,
51
+ .column-9,
52
+ .column-10,
53
+ .column-11,
54
+ .column-12 {
55
+ float: left;
56
+ }
57
+
58
+ .column + .column {
59
+ margin-left: 1.6%;
60
+ }
61
+ .column-1 {
62
+ width: 6.86666666667%;
63
+ }
64
+ .column-2 {
65
+ width: 15.3333333333%;
66
+ }
67
+ .column-3 {
68
+ width: 23.8%;
69
+ }
70
+ .column-4 {
71
+ width: 32.2666666667%;
72
+ }
73
+ .column-5 {
74
+ width: 40.7333333333%;
75
+ }
76
+ .column-6 {
77
+ width: 49.2%;
78
+ }
79
+ .column-7 {
80
+ width: 57.6666666667%;
81
+ }
82
+ .column-8 {
83
+ width: 66.1333333333%;
84
+ }
85
+ .column-9 {
86
+ width: 74.6%;
87
+ }
88
+ .column-10 {
89
+ width: 83.0666666667%;
90
+ }
91
+ .column-11 {
92
+ width: 91.5333333333%;
93
+ }
94
+ .column-12 {
95
+ width: 100%;
96
+ margin-left: 0;
97
+ }
98
+ }