@bravobit/bb-foundation 0.15.4 → 0.16.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 (377) hide show
  1. package/auth/lib/auth.interceptor.d.ts +1 -1
  2. package/auth/lib/auth.service.d.ts +1 -1
  3. package/auth/package.json +5 -5
  4. package/collections/package.json +5 -5
  5. package/controls/bravobit-bb-foundation-controls.d.ts +5 -0
  6. package/controls/lib/checkbox/checkbox.component.d.ts +27 -0
  7. package/controls/lib/checkbox/checkbox.module.d.ts +9 -0
  8. package/controls/lib/controls.module.d.ts +7 -0
  9. package/controls/package.json +10 -0
  10. package/controls/public_api.d.ts +3 -0
  11. package/dashboard/package.json +5 -5
  12. package/dialog/package.json +5 -5
  13. package/elements/package.json +5 -5
  14. package/{esm2015/auth/bravobit-bb-foundation-auth.js → esm2020/auth/bravobit-bb-foundation-auth.mjs} +0 -0
  15. package/esm2020/auth/lib/auth.interceptor.mjs +94 -0
  16. package/{esm2015/auth/lib/auth.module.js → esm2020/auth/lib/auth.module.mjs} +5 -5
  17. package/esm2020/auth/lib/auth.service.mjs +276 -0
  18. package/esm2020/auth/lib/auth.session.mjs +131 -0
  19. package/{esm2015/auth/lib/directives/authenticated.directive.js → esm2020/auth/lib/directives/authenticated.directive.mjs} +5 -6
  20. package/esm2020/auth/lib/directives/permission.directive.mjs +80 -0
  21. package/esm2020/auth/lib/directives/role.directive.mjs +37 -0
  22. package/esm2020/auth/lib/guards/anonymous.guard.mjs +34 -0
  23. package/esm2020/auth/lib/guards/authenticated.guard.mjs +35 -0
  24. package/{esm2015/auth/lib/helpers/jwt.helper.js → esm2020/auth/lib/helpers/jwt.helper.mjs} +3 -3
  25. package/{esm2015/auth/lib/helpers/mapper.helper.js → esm2020/auth/lib/helpers/mapper.helper.mjs} +4 -4
  26. package/{esm2015/auth/lib/interfaces/config.interface.js → esm2020/auth/lib/interfaces/config.interface.mjs} +0 -0
  27. package/{esm2015/auth/lib/interfaces/mapper.interface.js → esm2020/auth/lib/interfaces/mapper.interface.mjs} +0 -0
  28. package/{esm2015/auth/lib/interfaces/provider.interface.js → esm2020/auth/lib/interfaces/provider.interface.mjs} +0 -0
  29. package/{esm2015/auth/lib/interfaces/token.interface.js → esm2020/auth/lib/interfaces/token.interface.mjs} +0 -0
  30. package/esm2020/auth/lib/permissions.service.mjs +56 -0
  31. package/esm2020/auth/lib/providers/email.provider.mjs +25 -0
  32. package/esm2020/auth/lib/providers/verify.provider.mjs +19 -0
  33. package/{esm2015/auth/lib/tokens/use-authorization.token.js → esm2020/auth/lib/tokens/use-authorization.token.mjs} +0 -0
  34. package/{esm2015/auth/public_api.js → esm2020/auth/public_api.mjs} +0 -0
  35. package/{esm2015/bravobit-bb-foundation.js → esm2020/bravobit-bb-foundation.mjs} +0 -0
  36. package/{esm2015/collections/bravobit-bb-foundation-collections.js → esm2020/collections/bravobit-bb-foundation-collections.mjs} +0 -0
  37. package/esm2020/collections/lib/collection.mjs +98 -0
  38. package/{esm2015/collections/lib/collections.module.js → esm2020/collections/lib/collections.module.mjs} +5 -5
  39. package/esm2020/collections/lib/components/collections-pager/collections-pager.component.mjs +123 -0
  40. package/esm2020/collections/lib/components/collections-viewer/collections-viewer.component.mjs +31 -0
  41. package/{esm2015/collections/lib/components/collections.directive.js → esm2020/collections/lib/components/collections.directive.mjs} +13 -13
  42. package/{esm2015/collections/lib/interfaces/collection.interface.js → esm2020/collections/lib/interfaces/collection.interface.mjs} +0 -0
  43. package/esm2020/collections/lib/providers/api-collection.provider.mjs +68 -0
  44. package/esm2020/collections/lib/providers/collection.provider.mjs +13 -0
  45. package/{esm2015/collections/lib/providers/local-collection.provider.js → esm2020/collections/lib/providers/local-collection.provider.mjs} +0 -0
  46. package/{esm2015/collections/public_api.js → esm2020/collections/public_api.mjs} +0 -0
  47. package/esm2020/controls/bravobit-bb-foundation-controls.mjs +5 -0
  48. package/esm2020/controls/lib/checkbox/checkbox.component.mjs +86 -0
  49. package/esm2020/controls/lib/checkbox/checkbox.module.mjs +19 -0
  50. package/esm2020/controls/lib/controls.module.mjs +16 -0
  51. package/esm2020/controls/public_api.mjs +4 -0
  52. package/{esm2015/dashboard/bravobit-bb-foundation-dashboard.js → esm2020/dashboard/bravobit-bb-foundation-dashboard.mjs} +0 -0
  53. package/esm2020/dashboard/lib/dashboard/dashboard.component.mjs +56 -0
  54. package/esm2020/dashboard/lib/dashboard-header/dashboard-header.component.mjs +30 -0
  55. package/esm2020/dashboard/lib/dashboard-menu/dashboard-menu.component.mjs +31 -0
  56. package/esm2020/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.mjs +29 -0
  57. package/esm2020/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.mjs +75 -0
  58. package/esm2020/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.mjs +99 -0
  59. package/esm2020/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.mjs +62 -0
  60. package/{esm2015/dashboard/lib/dashboard.module.js → esm2020/dashboard/lib/dashboard.module.mjs} +5 -5
  61. package/{esm2015/dashboard/public_api.js → esm2020/dashboard/public_api.mjs} +0 -0
  62. package/{esm2015/dialog/bravobit-bb-foundation-dialog.js → esm2020/dialog/bravobit-bb-foundation-dialog.mjs} +0 -0
  63. package/esm2020/dialog/lib/dialog-actions/dialog-actions.component.mjs +12 -0
  64. package/esm2020/dialog/lib/dialog-confirm/dialog-confirm.component.mjs +37 -0
  65. package/{esm2015/dialog/lib/dialog-container/dialog-container.component.js → esm2020/dialog/lib/dialog-container/dialog-container.component.mjs} +6 -15
  66. package/esm2020/dialog/lib/dialog-header/dialog-header.component.mjs +25 -0
  67. package/esm2020/dialog/lib/dialog-link/dialog-link.component.mjs +11 -0
  68. package/esm2020/dialog/lib/dialog-modal/dialog-modal.component.mjs +46 -0
  69. package/esm2020/dialog/lib/dialog-overlay/dialog-overlay.component.mjs +134 -0
  70. package/{esm2015/dialog/lib/dialog.injector.js → esm2020/dialog/lib/dialog.injector.mjs} +0 -0
  71. package/{esm2015/dialog/lib/dialog.insertion.js → esm2020/dialog/lib/dialog.insertion.mjs} +4 -4
  72. package/{esm2015/dialog/lib/dialog.interfaces.js → esm2020/dialog/lib/dialog.interfaces.mjs} +0 -0
  73. package/{esm2015/dialog/lib/dialog.module.js → esm2020/dialog/lib/dialog.module.mjs} +5 -9
  74. package/{esm2015/dialog/lib/dialog.ref.js → esm2020/dialog/lib/dialog.ref.mjs} +0 -0
  75. package/{esm2015/dialog/lib/dialog.service.js → esm2020/dialog/lib/dialog.service.mjs} +5 -5
  76. package/{esm2015/dialog/public_api.js → esm2020/dialog/public_api.mjs} +0 -0
  77. package/{esm2015/elements/bravobit-bb-foundation-elements.js → esm2020/elements/bravobit-bb-foundation-elements.mjs} +0 -0
  78. package/esm2020/elements/lib/avatar/avatar.component.mjs +142 -0
  79. package/esm2020/elements/lib/button/button.component.mjs +61 -0
  80. package/esm2020/elements/lib/checkbox/checkbox.component.mjs +73 -0
  81. package/esm2020/elements/lib/date-picker/date-picker.component.mjs +304 -0
  82. package/{esm2015/elements/lib/directives/addon.directive.js → esm2020/elements/lib/directives/addon.directive.mjs} +7 -7
  83. package/esm2020/elements/lib/directives/autosize.directive.mjs +72 -0
  84. package/{esm2015/elements/lib/directives/focus-trap.directive.js → esm2020/elements/lib/directives/focus-trap.directive.mjs} +4 -4
  85. package/{esm2015/elements/lib/directives/focus.directive.js → esm2020/elements/lib/directives/focus.directive.mjs} +4 -4
  86. package/esm2020/elements/lib/directives/form-submit.directive.mjs +50 -0
  87. package/esm2020/elements/lib/directives/input.directive.mjs +136 -0
  88. package/{esm2015/elements/lib/directives/template.directive.js → esm2020/elements/lib/directives/template.directive.mjs} +4 -4
  89. package/esm2020/elements/lib/dropdown/dropdown.component.mjs +100 -0
  90. package/{esm2015/elements/lib/elements.interfaces.js → esm2020/elements/lib/elements.interfaces.mjs} +0 -0
  91. package/{esm2015/elements/lib/elements.module.js → esm2020/elements/lib/elements.module.mjs} +5 -5
  92. package/esm2020/elements/lib/file-picker/file-picker.component.mjs +236 -0
  93. package/esm2020/elements/lib/form-control/form-control.component.mjs +49 -0
  94. package/esm2020/elements/lib/form-error/form-error.component.mjs +108 -0
  95. package/esm2020/elements/lib/form-group/form-group.component.mjs +18 -0
  96. package/esm2020/elements/lib/icon/icon.component.mjs +102 -0
  97. package/esm2020/elements/lib/image-picker/image-picker.component.mjs +106 -0
  98. package/esm2020/elements/lib/pipes/file-image.pipe.mjs +42 -0
  99. package/{esm2015/elements/lib/pipes/file-size.pipe.js → esm2020/elements/lib/pipes/file-size.pipe.mjs} +4 -4
  100. package/esm2020/elements/lib/pipes/relative-time.pipe.mjs +94 -0
  101. package/esm2020/elements/lib/spinner/spinner.component.mjs +25 -0
  102. package/esm2020/elements/lib/tag/tag.component.mjs +18 -0
  103. package/{esm2015/elements/public_api.js → esm2020/elements/public_api.mjs} +0 -0
  104. package/{esm2015/http/bravobit-bb-foundation-http.js → esm2020/http/bravobit-bb-foundation-http.mjs} +0 -0
  105. package/esm2020/http/lib/classes/http.config.mjs +29 -0
  106. package/esm2020/http/lib/classes/http.error.mjs +20 -0
  107. package/{esm2015/http/lib/http.interfaces.js → esm2020/http/lib/http.interfaces.mjs} +0 -0
  108. package/{esm2015/http/lib/http.module.js → esm2020/http/lib/http.module.mjs} +5 -5
  109. package/esm2020/http/lib/interceptors/base-url.interceptor.mjs +50 -0
  110. package/esm2020/http/lib/interceptors/error.interceptor.mjs +32 -0
  111. package/{esm2015/http/public_api.js → esm2020/http/public_api.mjs} +0 -0
  112. package/{esm2015/lib/core/coercions/boolean-coercion.js → esm2020/lib/core/coercions/boolean-coercion.mjs} +0 -0
  113. package/{esm2015/lib/core/miscellaneous/regex.js → esm2020/lib/core/miscellaneous/regex.mjs} +0 -0
  114. package/esm2020/lib/core/miscellaneous/validator.mjs +85 -0
  115. package/{esm2015/lib/core/mixins/can-disable.js → esm2020/lib/core/mixins/can-disable.mjs} +0 -0
  116. package/{esm2015/lib/core/mixins/can-hide-errors.js → esm2020/lib/core/mixins/can-hide-errors.mjs} +0 -0
  117. package/{esm2015/lib/core/mixins/can-load.js → esm2020/lib/core/mixins/can-load.mjs} +0 -0
  118. package/{esm2015/lib/core/mixins/constructor.js → esm2020/lib/core/mixins/constructor.mjs} +0 -0
  119. package/{esm2015/lib/core/mixins/has-error.js → esm2020/lib/core/mixins/has-error.mjs} +0 -0
  120. package/{esm2015/lib/core/mixins/is-focused.js → esm2020/lib/core/mixins/is-focused.mjs} +0 -0
  121. package/{esm2015/lib/core/mixins/is-grouped.js → esm2020/lib/core/mixins/is-grouped.mjs} +0 -0
  122. package/{esm2015/lib/core/mixins/is-readonly.js → esm2020/lib/core/mixins/is-readonly.mjs} +0 -0
  123. package/{esm2015/lib/core/mixins/is-required.js → esm2020/lib/core/mixins/is-required.mjs} +0 -0
  124. package/esm2020/lib/core/services/clipboard.service.mjs +70 -0
  125. package/esm2020/lib/core/services/exif.service.mjs +163 -0
  126. package/esm2020/lib/core/services/file-loader.service.mjs +87 -0
  127. package/esm2020/lib/core/services/image-converter.service.mjs +123 -0
  128. package/{esm2015/lib/core/services/languages.service.js → esm2020/lib/core/services/languages.service.mjs} +4 -4
  129. package/{esm2015/lib/core/services/network.service.js → esm2020/lib/core/services/network.service.mjs} +5 -6
  130. package/esm2020/lib/core/services/patch.service.mjs +63 -0
  131. package/{esm2015/lib/core/services/platform.service.js → esm2020/lib/core/services/platform.service.mjs} +5 -5
  132. package/{esm2015/lib/core/tokens/accept-language.token.js → esm2020/lib/core/tokens/accept-language.token.mjs} +0 -0
  133. package/{esm2015/lib/core/tokens/base-url.token.js → esm2020/lib/core/tokens/base-url.token.mjs} +0 -0
  134. package/{esm2015/lib/core/tokens/cookie.token.js → esm2020/lib/core/tokens/cookie.token.mjs} +0 -0
  135. package/{esm2015/lib/core/tokens/location.token.js → esm2020/lib/core/tokens/location.token.mjs} +0 -0
  136. package/{esm2015/lib/core/tokens/navigator.token.js → esm2020/lib/core/tokens/navigator.token.mjs} +0 -0
  137. package/{esm2015/lib/core/tokens/window.token.js → esm2020/lib/core/tokens/window.token.mjs} +0 -0
  138. package/{esm2015/localize/bravobit-bb-foundation-localize.js → esm2020/localize/bravobit-bb-foundation-localize.mjs} +0 -0
  139. package/{esm2015/localize/lib/functions/date.function.js → esm2020/localize/lib/functions/date.function.mjs} +0 -0
  140. package/{esm2015/localize/lib/functions/lowercase.function.js → esm2020/localize/lib/functions/lowercase.function.mjs} +0 -0
  141. package/{esm2015/localize/lib/functions/uppercase.function.js → esm2020/localize/lib/functions/uppercase.function.mjs} +0 -0
  142. package/{esm2015/localize/lib/handlers/missing.handler.js → esm2020/localize/lib/handlers/missing.handler.mjs} +0 -0
  143. package/{esm2015/localize/lib/interfaces/config.interfaces.js → esm2020/localize/lib/interfaces/config.interfaces.mjs} +0 -0
  144. package/{esm2015/localize/lib/interfaces/dictionary.interfaces.js → esm2020/localize/lib/interfaces/dictionary.interfaces.mjs} +0 -0
  145. package/{esm2015/localize/lib/interfaces/functions.interfaces.js → esm2020/localize/lib/interfaces/functions.interfaces.mjs} +0 -0
  146. package/{esm2015/localize/lib/interfaces/handlers.interfaces.js → esm2020/localize/lib/interfaces/handlers.interfaces.mjs} +0 -0
  147. package/{esm2015/localize/lib/interfaces/options.interfaces.js → esm2020/localize/lib/interfaces/options.interfaces.mjs} +0 -0
  148. package/{esm2015/localize/lib/localizations/dutch.localization.js → esm2020/localize/lib/localizations/dutch.localization.mjs} +0 -0
  149. package/{esm2015/localize/lib/localizations/english.localization.js → esm2020/localize/lib/localizations/english.localization.mjs} +0 -0
  150. package/esm2020/localize/lib/localize.dictionary.mjs +135 -0
  151. package/{esm2015/localize/lib/localize.module.js → esm2020/localize/lib/localize.module.mjs} +5 -5
  152. package/{esm2015/localize/lib/localize.pipe.js → esm2020/localize/lib/localize.pipe.mjs} +5 -5
  153. package/esm2020/localize/lib/localize.service.mjs +277 -0
  154. package/esm2020/localize/lib/views/localize-string/localize-string.component.mjs +88 -0
  155. package/{esm2015/localize/lib/views/localize-template-or-string.directive.js → esm2020/localize/lib/views/localize-template-or-string.directive.mjs} +4 -4
  156. package/{esm2015/localize/lib/views/localize-template.directive.js → esm2020/localize/lib/views/localize-template.directive.mjs} +4 -4
  157. package/{esm2015/localize/public_api.js → esm2020/localize/public_api.mjs} +0 -0
  158. package/{esm2015/notifications/bravobit-bb-foundation-notifications.js → esm2020/notifications/bravobit-bb-foundation-notifications.mjs} +0 -0
  159. package/esm2020/notifications/lib/notifications-item/notifications-item.component.mjs +100 -0
  160. package/esm2020/notifications/lib/notifications-list/notifications-list.component.mjs +47 -0
  161. package/{esm2015/notifications/lib/notifications.animations.js → esm2020/notifications/lib/notifications.animations.mjs} +0 -0
  162. package/{esm2015/notifications/lib/notifications.injector.js → esm2020/notifications/lib/notifications.injector.mjs} +0 -0
  163. package/{esm2015/notifications/lib/notifications.interfaces.js → esm2020/notifications/lib/notifications.interfaces.mjs} +0 -0
  164. package/{esm2015/notifications/lib/notifications.module.js → esm2020/notifications/lib/notifications.module.mjs} +6 -7
  165. package/{esm2015/notifications/lib/notifications.service.js → esm2020/notifications/lib/notifications.service.mjs} +5 -5
  166. package/{esm2015/notifications/public_api.js → esm2020/notifications/public_api.mjs} +0 -0
  167. package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
  168. package/{esm2015/recaptcha/bravobit-bb-foundation-recaptcha.js → esm2020/recaptcha/bravobit-bb-foundation-recaptcha.mjs} +0 -0
  169. package/esm2020/recaptcha/lib/recaptcha/recaptcha.component.mjs +185 -0
  170. package/esm2020/recaptcha/lib/recaptcha-loader.service.mjs +90 -0
  171. package/{esm2015/recaptcha/lib/recaptcha.interface.js → esm2020/recaptcha/lib/recaptcha.interface.mjs} +0 -0
  172. package/{esm2015/recaptcha/lib/recaptcha.module.js → esm2020/recaptcha/lib/recaptcha.module.mjs} +5 -5
  173. package/{esm2015/recaptcha/public_api.js → esm2020/recaptcha/public_api.mjs} +0 -0
  174. package/{esm2015/rxjs/bravobit-bb-foundation-rxjs.js → esm2020/rxjs/bravobit-bb-foundation-rxjs.mjs} +0 -0
  175. package/esm2020/rxjs/lib/operators/combine-latest-map.operator.mjs +10 -0
  176. package/{esm2015/rxjs/lib/operators/filter-nil.operator.js → esm2020/rxjs/lib/operators/filter-nil.operator.mjs} +0 -0
  177. package/{esm2015/rxjs/public_api.js → esm2020/rxjs/public_api.mjs} +0 -0
  178. package/{esm2015/storage/bravobit-bb-foundation-storage.js → esm2020/storage/bravobit-bb-foundation-storage.mjs} +0 -0
  179. package/{esm2015/storage/lib/interfaces/attributes.interface.js → esm2020/storage/lib/interfaces/attributes.interface.mjs} +0 -0
  180. package/{esm2015/storage/lib/interfaces/memory.interface.js → esm2020/storage/lib/interfaces/memory.interface.mjs} +0 -0
  181. package/{esm2015/storage/lib/interfaces/strategy.interface.js → esm2020/storage/lib/interfaces/strategy.interface.mjs} +0 -0
  182. package/esm2020/storage/lib/storage.service.mjs +109 -0
  183. package/esm2020/storage/lib/strategies/cookie-storage.strategy.mjs +142 -0
  184. package/{esm2015/storage/lib/strategies/memory-storage.strategy.js → esm2020/storage/lib/strategies/memory-storage.strategy.mjs} +2 -2
  185. package/esm2020/storage/lib/strategies/polyfill-storage.strategy.mjs +102 -0
  186. package/{esm2015/storage/public_api.js → esm2020/storage/public_api.mjs} +0 -0
  187. package/{esm2015/table/bravobit-bb-foundation-table.js → esm2020/table/bravobit-bb-foundation-table.mjs} +0 -0
  188. package/esm2020/table/lib/components/table/table.component.mjs +191 -0
  189. package/esm2020/table/lib/components/table-cell/table-cell.component.mjs +11 -0
  190. package/esm2020/table/lib/components/table-header-cell/table-header-cell.component.mjs +131 -0
  191. package/esm2020/table/lib/components/table-pager/table-pager.component.mjs +136 -0
  192. package/esm2020/table/lib/data/datasource.data.mjs +32 -0
  193. package/esm2020/table/lib/data/generic.data.mjs +72 -0
  194. package/{esm2015/table/lib/interfaces/datasource.interface.js → esm2020/table/lib/interfaces/datasource.interface.mjs} +0 -0
  195. package/{esm2015/table/lib/interfaces/table.interfaces.js → esm2020/table/lib/interfaces/table.interfaces.mjs} +0 -0
  196. package/{esm2015/table/lib/table.module.js → esm2020/table/lib/table.module.mjs} +5 -5
  197. package/{esm2015/table/public_api.js → esm2020/table/public_api.mjs} +0 -0
  198. package/fesm2015/{bravobit-bb-foundation-auth.js → bravobit-bb-foundation-auth.mjs} +79 -68
  199. package/fesm2015/bravobit-bb-foundation-auth.mjs.map +1 -0
  200. package/fesm2015/{bravobit-bb-foundation-collections.js → bravobit-bb-foundation-collections.mjs} +33 -47
  201. package/fesm2015/bravobit-bb-foundation-collections.mjs.map +1 -0
  202. package/fesm2015/bravobit-bb-foundation-controls.mjs +123 -0
  203. package/fesm2015/bravobit-bb-foundation-controls.mjs.map +1 -0
  204. package/fesm2015/bravobit-bb-foundation-dashboard.mjs +416 -0
  205. package/fesm2015/bravobit-bb-foundation-dashboard.mjs.map +1 -0
  206. package/fesm2015/{bravobit-bb-foundation-dialog.js → bravobit-bb-foundation-dialog.mjs} +45 -106
  207. package/fesm2015/bravobit-bb-foundation-dialog.mjs.map +1 -0
  208. package/fesm2015/{bravobit-bb-foundation-elements.js → bravobit-bb-foundation-elements.mjs} +193 -302
  209. package/fesm2015/bravobit-bb-foundation-elements.mjs.map +1 -0
  210. package/fesm2015/{bravobit-bb-foundation-http.js → bravobit-bb-foundation-http.mjs} +18 -16
  211. package/fesm2015/bravobit-bb-foundation-http.mjs.map +1 -0
  212. package/fesm2015/{bravobit-bb-foundation-localize.js → bravobit-bb-foundation-localize.mjs} +63 -69
  213. package/fesm2015/bravobit-bb-foundation-localize.mjs.map +1 -0
  214. package/fesm2015/bravobit-bb-foundation-notifications.mjs +377 -0
  215. package/fesm2015/bravobit-bb-foundation-notifications.mjs.map +1 -0
  216. package/fesm2015/{bravobit-bb-foundation-recaptcha.js → bravobit-bb-foundation-recaptcha.mjs} +40 -47
  217. package/fesm2015/bravobit-bb-foundation-recaptcha.mjs.map +1 -0
  218. package/fesm2015/{bravobit-bb-foundation-rxjs.js → bravobit-bb-foundation-rxjs.mjs} +1 -1
  219. package/fesm2015/bravobit-bb-foundation-rxjs.mjs.map +1 -0
  220. package/fesm2015/{bravobit-bb-foundation-storage.js → bravobit-bb-foundation-storage.mjs} +12 -10
  221. package/fesm2015/bravobit-bb-foundation-storage.mjs.map +1 -0
  222. package/fesm2015/bravobit-bb-foundation-table.mjs +603 -0
  223. package/fesm2015/bravobit-bb-foundation-table.mjs.map +1 -0
  224. package/fesm2015/{bravobit-bb-foundation.js → bravobit-bb-foundation.mjs} +74 -64
  225. package/fesm2015/bravobit-bb-foundation.mjs.map +1 -0
  226. package/fesm2020/bravobit-bb-foundation-auth.mjs +928 -0
  227. package/fesm2020/bravobit-bb-foundation-auth.mjs.map +1 -0
  228. package/fesm2020/bravobit-bb-foundation-collections.mjs +434 -0
  229. package/fesm2020/bravobit-bb-foundation-collections.mjs.map +1 -0
  230. package/fesm2020/bravobit-bb-foundation-controls.mjs +121 -0
  231. package/fesm2020/bravobit-bb-foundation-controls.mjs.map +1 -0
  232. package/fesm2020/bravobit-bb-foundation-dashboard.mjs +404 -0
  233. package/fesm2020/bravobit-bb-foundation-dashboard.mjs.map +1 -0
  234. package/fesm2020/bravobit-bb-foundation-dialog.mjs +584 -0
  235. package/fesm2020/bravobit-bb-foundation-dialog.mjs.map +1 -0
  236. package/fesm2020/bravobit-bb-foundation-elements.mjs +1993 -0
  237. package/fesm2020/bravobit-bb-foundation-elements.mjs.map +1 -0
  238. package/fesm2020/bravobit-bb-foundation-http.mjs +168 -0
  239. package/fesm2020/bravobit-bb-foundation-http.mjs.map +1 -0
  240. package/fesm2020/bravobit-bb-foundation-localize.mjs +832 -0
  241. package/fesm2020/bravobit-bb-foundation-localize.mjs.map +1 -0
  242. package/fesm2020/bravobit-bb-foundation-notifications.mjs +375 -0
  243. package/fesm2020/bravobit-bb-foundation-notifications.mjs.map +1 -0
  244. package/fesm2020/bravobit-bb-foundation-recaptcha.mjs +300 -0
  245. package/fesm2020/bravobit-bb-foundation-recaptcha.mjs.map +1 -0
  246. package/fesm2020/bravobit-bb-foundation-rxjs.mjs +21 -0
  247. package/fesm2020/bravobit-bb-foundation-rxjs.mjs.map +1 -0
  248. package/fesm2020/bravobit-bb-foundation-storage.mjs +413 -0
  249. package/fesm2020/bravobit-bb-foundation-storage.mjs.map +1 -0
  250. package/fesm2020/bravobit-bb-foundation-table.mjs +592 -0
  251. package/fesm2020/bravobit-bb-foundation-table.mjs.map +1 -0
  252. package/fesm2020/bravobit-bb-foundation.mjs +895 -0
  253. package/fesm2020/bravobit-bb-foundation.mjs.map +1 -0
  254. package/http/package.json +5 -5
  255. package/localize/package.json +5 -5
  256. package/notifications/package.json +5 -5
  257. package/package.json +125 -8
  258. package/recaptcha/package.json +5 -5
  259. package/rxjs/package.json +5 -5
  260. package/storage/package.json +5 -5
  261. package/table/lib/components/table/table.component.d.ts +3 -0
  262. package/table/package.json +5 -5
  263. package/bundles/bravobit-bb-foundation-auth.umd.js +0 -1483
  264. package/bundles/bravobit-bb-foundation-auth.umd.js.map +0 -1
  265. package/bundles/bravobit-bb-foundation-collections.umd.js +0 -868
  266. package/bundles/bravobit-bb-foundation-collections.umd.js.map +0 -1
  267. package/bundles/bravobit-bb-foundation-dashboard.umd.js +0 -876
  268. package/bundles/bravobit-bb-foundation-dashboard.umd.js.map +0 -1
  269. package/bundles/bravobit-bb-foundation-dialog.umd.js +0 -716
  270. package/bundles/bravobit-bb-foundation-dialog.umd.js.map +0 -1
  271. package/bundles/bravobit-bb-foundation-elements.umd.js +0 -2768
  272. package/bundles/bravobit-bb-foundation-elements.umd.js.map +0 -1
  273. package/bundles/bravobit-bb-foundation-http.umd.js +0 -535
  274. package/bundles/bravobit-bb-foundation-http.umd.js.map +0 -1
  275. package/bundles/bravobit-bb-foundation-localize.umd.js +0 -1292
  276. package/bundles/bravobit-bb-foundation-localize.umd.js.map +0 -1
  277. package/bundles/bravobit-bb-foundation-notifications.umd.js +0 -794
  278. package/bundles/bravobit-bb-foundation-notifications.umd.js.map +0 -1
  279. package/bundles/bravobit-bb-foundation-recaptcha.umd.js +0 -683
  280. package/bundles/bravobit-bb-foundation-recaptcha.umd.js.map +0 -1
  281. package/bundles/bravobit-bb-foundation-rxjs.umd.js +0 -29
  282. package/bundles/bravobit-bb-foundation-rxjs.umd.js.map +0 -1
  283. package/bundles/bravobit-bb-foundation-storage.umd.js +0 -799
  284. package/bundles/bravobit-bb-foundation-storage.umd.js.map +0 -1
  285. package/bundles/bravobit-bb-foundation-table.umd.js +0 -1070
  286. package/bundles/bravobit-bb-foundation-table.umd.js.map +0 -1
  287. package/bundles/bravobit-bb-foundation.umd.js +0 -1440
  288. package/bundles/bravobit-bb-foundation.umd.js.map +0 -1
  289. package/esm2015/auth/lib/auth.interceptor.js +0 -95
  290. package/esm2015/auth/lib/auth.service.js +0 -299
  291. package/esm2015/auth/lib/auth.session.js +0 -136
  292. package/esm2015/auth/lib/directives/permission.directive.js +0 -81
  293. package/esm2015/auth/lib/directives/role.directive.js +0 -38
  294. package/esm2015/auth/lib/guards/anonymous.guard.js +0 -35
  295. package/esm2015/auth/lib/guards/authenticated.guard.js +0 -36
  296. package/esm2015/auth/lib/permissions.service.js +0 -58
  297. package/esm2015/auth/lib/providers/email.provider.js +0 -26
  298. package/esm2015/auth/lib/providers/verify.provider.js +0 -20
  299. package/esm2015/collections/lib/collection.js +0 -104
  300. package/esm2015/collections/lib/components/collections-pager/collections-pager.component.js +0 -136
  301. package/esm2015/collections/lib/components/collections-viewer/collections-viewer.component.js +0 -39
  302. package/esm2015/collections/lib/providers/api-collection.provider.js +0 -69
  303. package/esm2015/collections/lib/providers/collection.provider.js +0 -14
  304. package/esm2015/dashboard/lib/dashboard/dashboard.component.js +0 -64
  305. package/esm2015/dashboard/lib/dashboard-header/dashboard-header.component.js +0 -41
  306. package/esm2015/dashboard/lib/dashboard-menu/dashboard-menu.component.js +0 -39
  307. package/esm2015/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.js +0 -38
  308. package/esm2015/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.js +0 -83
  309. package/esm2015/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.js +0 -110
  310. package/esm2015/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.js +0 -71
  311. package/esm2015/dialog/lib/dialog-actions/dialog-actions.component.js +0 -20
  312. package/esm2015/dialog/lib/dialog-confirm/dialog-confirm.component.js +0 -45
  313. package/esm2015/dialog/lib/dialog-header/dialog-header.component.js +0 -33
  314. package/esm2015/dialog/lib/dialog-link/dialog-link.component.js +0 -19
  315. package/esm2015/dialog/lib/dialog-modal/dialog-modal.component.js +0 -54
  316. package/esm2015/dialog/lib/dialog-overlay/dialog-overlay.component.js +0 -143
  317. package/esm2015/elements/lib/avatar/avatar.component.js +0 -151
  318. package/esm2015/elements/lib/button/button.component.js +0 -79
  319. package/esm2015/elements/lib/checkbox/checkbox.component.js +0 -83
  320. package/esm2015/elements/lib/date-picker/date-picker.component.js +0 -322
  321. package/esm2015/elements/lib/directives/autosize.directive.js +0 -74
  322. package/esm2015/elements/lib/directives/form-submit.directive.js +0 -53
  323. package/esm2015/elements/lib/directives/input.directive.js +0 -139
  324. package/esm2015/elements/lib/dropdown/dropdown.component.js +0 -111
  325. package/esm2015/elements/lib/file-picker/file-picker.component.js +0 -247
  326. package/esm2015/elements/lib/form-control/form-control.component.js +0 -58
  327. package/esm2015/elements/lib/form-error/form-error.component.js +0 -116
  328. package/esm2015/elements/lib/form-group/form-group.component.js +0 -27
  329. package/esm2015/elements/lib/icon/icon.component.js +0 -110
  330. package/esm2015/elements/lib/image-picker/image-picker.component.js +0 -119
  331. package/esm2015/elements/lib/pipes/file-image.pipe.js +0 -45
  332. package/esm2015/elements/lib/pipes/relative-time.pipe.js +0 -96
  333. package/esm2015/elements/lib/spinner/spinner.component.js +0 -34
  334. package/esm2015/elements/lib/tag/tag.component.js +0 -26
  335. package/esm2015/http/lib/classes/http.config.js +0 -31
  336. package/esm2015/http/lib/classes/http.error.js +0 -21
  337. package/esm2015/http/lib/interceptors/base-url.interceptor.js +0 -52
  338. package/esm2015/http/lib/interceptors/error.interceptor.js +0 -33
  339. package/esm2015/lib/core/miscellaneous/validator.js +0 -86
  340. package/esm2015/lib/core/services/clipboard.service.js +0 -72
  341. package/esm2015/lib/core/services/exif.service.js +0 -168
  342. package/esm2015/lib/core/services/file-loader.service.js +0 -90
  343. package/esm2015/lib/core/services/image-converter.service.js +0 -130
  344. package/esm2015/lib/core/services/patch.service.js +0 -65
  345. package/esm2015/localize/lib/localize.dictionary.js +0 -137
  346. package/esm2015/localize/lib/localize.service.js +0 -282
  347. package/esm2015/localize/lib/views/localize-string/localize-string.component.js +0 -99
  348. package/esm2015/notifications/lib/notifications-item/notifications-item.component.js +0 -108
  349. package/esm2015/notifications/lib/notifications-list/notifications-list.component.js +0 -56
  350. package/esm2015/recaptcha/lib/recaptcha/recaptcha.component.js +0 -199
  351. package/esm2015/recaptcha/lib/recaptcha-loader.service.js +0 -93
  352. package/esm2015/rxjs/lib/operators/combine-latest-map.operator.js +0 -7
  353. package/esm2015/storage/lib/storage.service.js +0 -111
  354. package/esm2015/storage/lib/strategies/cookie-storage.strategy.js +0 -143
  355. package/esm2015/storage/lib/strategies/polyfill-storage.strategy.js +0 -102
  356. package/esm2015/table/lib/components/table/table.component.js +0 -196
  357. package/esm2015/table/lib/components/table-cell/table-cell.component.js +0 -19
  358. package/esm2015/table/lib/components/table-header-cell/table-header-cell.component.js +0 -141
  359. package/esm2015/table/lib/components/table-pager/table-pager.component.js +0 -146
  360. package/esm2015/table/lib/data/datasource.data.js +0 -32
  361. package/esm2015/table/lib/data/generic.data.js +0 -73
  362. package/fesm2015/bravobit-bb-foundation-auth.js.map +0 -1
  363. package/fesm2015/bravobit-bb-foundation-collections.js.map +0 -1
  364. package/fesm2015/bravobit-bb-foundation-dashboard.js +0 -468
  365. package/fesm2015/bravobit-bb-foundation-dashboard.js.map +0 -1
  366. package/fesm2015/bravobit-bb-foundation-dialog.js.map +0 -1
  367. package/fesm2015/bravobit-bb-foundation-elements.js.map +0 -1
  368. package/fesm2015/bravobit-bb-foundation-http.js.map +0 -1
  369. package/fesm2015/bravobit-bb-foundation-localize.js.map +0 -1
  370. package/fesm2015/bravobit-bb-foundation-notifications.js +0 -393
  371. package/fesm2015/bravobit-bb-foundation-notifications.js.map +0 -1
  372. package/fesm2015/bravobit-bb-foundation-recaptcha.js.map +0 -1
  373. package/fesm2015/bravobit-bb-foundation-rxjs.js.map +0 -1
  374. package/fesm2015/bravobit-bb-foundation-storage.js.map +0 -1
  375. package/fesm2015/bravobit-bb-foundation-table.js +0 -626
  376. package/fesm2015/bravobit-bb-foundation-table.js.map +0 -1
  377. package/fesm2015/bravobit-bb-foundation.js.map +0 -1
@@ -1,876 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@bravobit/bb-foundation/storage'), require('@bravobit/bb-foundation'), require('@angular/common'), require('@angular/router'), require('@bravobit/bb-foundation/elements')) :
3
- typeof define === 'function' && define.amd ? define('@bravobit/bb-foundation/dashboard', ['exports', '@angular/core', 'rxjs', 'rxjs/operators', '@bravobit/bb-foundation/storage', '@bravobit/bb-foundation', '@angular/common', '@angular/router', '@bravobit/bb-foundation/elements'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.bravobit = global.bravobit || {}, global.bravobit["bb-foundation"] = global.bravobit["bb-foundation"] || {}, global.bravobit["bb-foundation"].dashboard = {}), global.ng.core, global.rxjs, global.rxjs.operators, global.bravobit["bb-foundation"].storage, global.bravobit["bb-foundation"], global.ng.common, global.ng.router, global.bravobit["bb-foundation"].elements));
5
- })(this, (function (exports, i0, rxjs, operators, i1, i1$1, i2, i2$1, i2$2) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
- var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
28
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
29
- var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
30
- var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
31
-
32
- var BbDashboardSidebar = /** @class */ (function () {
33
- function BbDashboardSidebar(_storage) {
34
- this._storage = _storage;
35
- // Bindings.
36
- this.visibilityChanges = new rxjs.BehaviorSubject(true);
37
- // State.
38
- this._state$ = new rxjs.BehaviorSubject({});
39
- // Token.
40
- this._localStorageToken = 'bb-dashboard-sidebar-state';
41
- }
42
- BbDashboardSidebar.prototype.ngOnInit = function () {
43
- // Retrieve the cache.
44
- this._cache = this._storage.get(this._localStorageToken) || {};
45
- };
46
- BbDashboardSidebar.prototype.registerGroup = function (id) {
47
- var _a;
48
- // Get the old state.
49
- var oldState = this._state$.getValue();
50
- // Get the cache value so when it is undefined
51
- // we will default to true.
52
- var cacheValue = this._cache[id] === undefined ? true : this._cache[id];
53
- // Push the new state.
54
- this._state$.next(Object.assign(Object.assign({}, oldState), (_a = {}, _a[id] = cacheValue, _a)));
55
- // Return the slice of the state that the group needs.
56
- return this._state$.pipe(operators.map(function (state) { return state[id]; }));
57
- };
58
- BbDashboardSidebar.prototype.unregisterGroup = function (id) {
59
- // Get the old groups.
60
- var oldState = this._state$.getValue();
61
- // Generate the new state without the id.
62
- var newState = Object.keys(oldState).reduce(function (object, key) {
63
- if (key !== id) {
64
- object[key] = oldState[key];
65
- }
66
- return object;
67
- }, {});
68
- // Push the new state.
69
- this._state$.next(newState);
70
- };
71
- BbDashboardSidebar.prototype.toggleGroup = function (id, newValue) {
72
- var _a;
73
- // Get the old state.
74
- var oldState = this._state$.getValue();
75
- // Create the new state.
76
- var newState = Object.assign(Object.assign({}, oldState), (_a = {}, _a[id] = newValue, _a));
77
- // Push the new state.
78
- this._state$.next(newState);
79
- // Save in the cache.
80
- this._storage.set(this._localStorageToken, newState);
81
- };
82
- BbDashboardSidebar.prototype.toggle = function () {
83
- var current = this.visibilityChanges.getValue();
84
- this.visibilityChanges.next(!current);
85
- };
86
- BbDashboardSidebar.prototype.open = function () {
87
- this.visibilityChanges.next(true);
88
- };
89
- BbDashboardSidebar.prototype.close = function () {
90
- this.visibilityChanges.next(false);
91
- };
92
- return BbDashboardSidebar;
93
- }());
94
- BbDashboardSidebar.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboardSidebar, deps: [{ token: i1__namespace.Storage }], target: i0__namespace.ɵɵFactoryTarget.Component });
95
- BbDashboardSidebar.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: BbDashboardSidebar, selector: "bb-dashboard-sidebar", host: { attributes: { "role": "navigation" }, properties: { "class.visible": "visibilityChanges.getValue()" }, classAttribute: "bb-dashboard-sidebar" }, ngImport: i0__namespace, template: "<!--\n The optional header element.\n-->\n<ng-content select=\"header\"></ng-content>\n\n<!--\n The scroll area that contains the\n groups in the navigation.\n-->\n<div class=\"bb-dashboard-sidebar-scroll\">\n <ng-content select=\"bb-dashboard-sidebar-group\"></ng-content>\n</div>\n\n<!--\n The optional footer element.\n-->\n<ng-content select=\"footer\"></ng-content>\n", styles: [".bb-dashboard-sidebar{top:0;bottom:0;z-index:10;left:-256px;width:256px;height:100vh;display:flex;position:fixed;min-width:256px;will-change:transform;flex-direction:column;transform:translate(256px);height:calc(1vh * 100);height:calc(var(--vh, 1vh) * 100);border-right:1px solid rgba(0,0,0,.4);transition:transform .25s cubic-bezier(0,0,.2,1);background:white linear-gradient(to bottom,white,#f2f2f2)}.bb-dashboard-sidebar.visible{transform:none}.bb-dashboard-sidebar-scroll{flex:1;overflow:auto}.bb-dashboard-sidebar>header{border-bottom:1px solid #d8d8d8;background-color:#ffffff80}.bb-dashboard-sidebar>footer{border-top:1px solid #d8d8d8;background-color:#ffffff80}@media only screen and (min-width: 768px){.bb-dashboard-sidebar{left:0;z-index:auto;transform:none;position:relative;margin-left:-256px;transition:margin-left .25s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar.visible{margin-left:0}}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
96
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboardSidebar, decorators: [{
97
- type: i0.Component,
98
- args: [{
99
- selector: 'bb-dashboard-sidebar',
100
- templateUrl: './dashboard-sidebar.component.html',
101
- styleUrls: ['./dashboard-sidebar.component.scss'],
102
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
103
- encapsulation: i0.ViewEncapsulation.None,
104
- preserveWhitespaces: false,
105
- host: {
106
- 'class': 'bb-dashboard-sidebar',
107
- '[class.visible]': 'visibilityChanges.getValue()',
108
- 'role': 'navigation'
109
- }
110
- }]
111
- }], ctorParameters: function () { return [{ type: i1__namespace.Storage }]; } });
112
-
113
- var BbDashboard = /** @class */ (function () {
114
- function BbDashboard(_patch, _platform, _renderer) {
115
- this._patch = _patch;
116
- this._platform = _platform;
117
- this._renderer = _renderer;
118
- // Inputs.
119
- this.backgroundColor = '#e7eaed';
120
- this.maxWidth = '1200px';
121
- this.padding = '20px';
122
- }
123
- BbDashboard.prototype.ngOnInit = function () {
124
- // Set the vertical height for mobile devices.
125
- this._patch.mobileVerticalHeight();
126
- // Set the HTML class to prevent scrolling.
127
- return this.setHtmlClass();
128
- };
129
- BbDashboard.prototype.ngOnDestroy = function () {
130
- // Remove the HTML class.
131
- this.setHtmlClass(true);
132
- };
133
- BbDashboard.prototype.setHtmlClass = function (shouldRemove) {
134
- if (shouldRemove === void 0) { shouldRemove = false; }
135
- // Check if we are on a browser.
136
- if (!this._platform.isBrowser) {
137
- return;
138
- }
139
- // Define the class name.
140
- var className = 'bb-dashboard-html';
141
- // Add or remove the class.
142
- return shouldRemove
143
- ? this._renderer.removeClass(document.documentElement, className)
144
- : this._renderer.addClass(document.documentElement, className);
145
- };
146
- return BbDashboard;
147
- }());
148
- BbDashboard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboard, deps: [{ token: i1__namespace$1.Patch }, { token: i1__namespace$1.Platform }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
149
- BbDashboard.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: BbDashboard, selector: "bb-dashboard", inputs: { backgroundColor: "backgroundColor", maxWidth: "maxWidth", padding: "padding" }, host: { classAttribute: "bb-dashboard" }, queries: [{ propertyName: "sidebar", first: true, predicate: BbDashboardSidebar, descendants: true }], ngImport: i0__namespace, template: "<!--\n The outlet for where the sidebar\n will be placed (if provided).\n-->\n<ng-content select=\"bb-dashboard-sidebar\">\n</ng-content>\n\n<!--\n The section containing the header\n and the main content.\n-->\n<section [style.background-color]=\"backgroundColor\"\n class=\"bb-dashboard-section\">\n <!--\n The outlet for where the header\n will be placed (if provided).\n -->\n <ng-content select=\"bb-dashboard-header\">\n </ng-content>\n\n <!--\n The outlet of the content that\n will be provided by the router.\n -->\n <main [style.padding]=\"padding\"\n class=\"bb-dashboard-scroll\">\n <div [style.max-width]=\"maxWidth\"\n class=\"bb-dashboard-container\">\n <ng-content select=\"bb-dashboard-menu\"></ng-content>\n\n <ng-content></ng-content>\n </div>\n <!--\n The outlet for where the footer\n will be placed (if provided).\n -->\n <ng-content select=\"bb-dashboard-footer\">\n </ng-content>\n </main>\n</section>\n\n<!--\n The backdrop that will be visible when\n the sidebar is opened (only on mobile).\n-->\n<div *ngIf=\"!!sidebar\"\n [class.visible]=\"!(sidebar?.visibilityChanges | async)\"\n (click)=\"sidebar?.toggle()\"\n class=\"bb-dashboard-backdrop\">\n</div>\n", styles: [".bb-dashboard{height:100vh;display:flex;overflow:hidden;position:relative;height:calc(1vh * 100);height:calc(var(--vh, 1vh) * 100)}.bb-dashboard-section{flex:1;height:100vh;display:flex;overflow-x:hidden;flex-direction:column;height:calc(1vh * 100);height:calc(var(--vh, 1vh) * 100)}.bb-dashboard-scroll{flex:1;display:flex;overflow-x:hidden;overflow-y:scroll;flex-direction:column;-webkit-overflow-scrolling:touch}.bb-dashboard-container{width:100%;display:flex;margin:0 auto;flex-direction:column}.bb-dashboard-backdrop{top:0;left:0;right:0;bottom:0;opacity:0;z-index:5;position:absolute;will-change:opacity;pointer-events:none;background-color:#00000080;transition:opacity .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-backdrop.visible{opacity:1;cursor:pointer;pointer-events:all}@media only screen and (min-width: 768px){.bb-dashboard-backdrop{display:none}}.bb-dashboard-html{height:100%;overflow:hidden}\n"], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
150
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboard, decorators: [{
151
- type: i0.Component,
152
- args: [{
153
- selector: 'bb-dashboard',
154
- templateUrl: './dashboard.component.html',
155
- styleUrls: ['./dashboard.component.scss'],
156
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
157
- encapsulation: i0.ViewEncapsulation.None,
158
- preserveWhitespaces: false,
159
- host: {
160
- 'class': 'bb-dashboard'
161
- }
162
- }]
163
- }], ctorParameters: function () { return [{ type: i1__namespace$1.Patch }, { type: i1__namespace$1.Platform }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { sidebar: [{
164
- type: i0.ContentChild,
165
- args: [BbDashboardSidebar]
166
- }], backgroundColor: [{
167
- type: i0.Input
168
- }], maxWidth: [{
169
- type: i0.Input
170
- }], padding: [{
171
- type: i0.Input
172
- }] } });
173
-
174
- var BbDashboardHeader = /** @class */ (function () {
175
- function BbDashboardHeader(_parent) {
176
- this._parent = _parent;
177
- }
178
- Object.defineProperty(BbDashboardHeader.prototype, "showSidebarButton", {
179
- get: function () {
180
- var _a;
181
- return !!((_a = this._parent) === null || _a === void 0 ? void 0 : _a.sidebar);
182
- },
183
- enumerable: false,
184
- configurable: true
185
- });
186
- Object.defineProperty(BbDashboardHeader.prototype, "isSidebarVisible", {
187
- get: function () {
188
- var _a, _b, _c;
189
- return (_c = (_b = (_a = this._parent) === null || _a === void 0 ? void 0 : _a.sidebar) === null || _b === void 0 ? void 0 : _b.visibilityChanges) !== null && _c !== void 0 ? _c : rxjs.of(false);
190
- },
191
- enumerable: false,
192
- configurable: true
193
- });
194
- BbDashboardHeader.prototype.onToggleSidebarClicked = function () {
195
- var _a, _b;
196
- (_b = (_a = this._parent) === null || _a === void 0 ? void 0 : _a.sidebar) === null || _b === void 0 ? void 0 : _b.toggle();
197
- };
198
- return BbDashboardHeader;
199
- }());
200
- BbDashboardHeader.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboardHeader, deps: [{ token: BbDashboard, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
201
- BbDashboardHeader.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: BbDashboardHeader, selector: "bb-dashboard-header", host: { classAttribute: "bb-dashboard-header" }, ngImport: i0__namespace, template: "<!--\n The button that toggles the sidebar.\n-->\n<button *ngIf=\"showSidebarButton\"\n (click)=\"onToggleSidebarClicked()\"\n [class.reversed]=\"isSidebarVisible | async\"\n class=\"bb-dashboard-header-button\"\n type=\"button\"\n tabindex=\"0\"\n role=\"switch\">\n <svg xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 157 109\"\n width=\"17\"\n height=\"12\"\n role=\"img\">\n <title>\n Toggle\n </title>\n <path fill=\"#fff\"\n d=\"M82 42V11.2L30 54.5l52 43.3V67h75V42zM9.5 109h-2c-4.1 0-7.5-3.4-7.5-7.5v-94C0 3.4 3.4 0 7.5 0h2C13.6 0 17 3.4 17 7.5v94c0 4.1-3.4 7.5-7.5 7.5z\">\n </path>\n </svg>\n</button>\n\n<!--\n The extra items of the header.\n-->\n<div class=\"bb-dashboard-header-items\">\n <ng-content></ng-content>\n</div>\n", styles: [".bb-dashboard-header{z-index:1;width:100%;color:#fff;height:50px;display:flex;padding:0 8px;min-height:50px;align-items:center;background-color:#5b53ff;border-bottom:1px solid #4d46d6}.bb-dashboard-header-button{width:68px;height:34px;border-radius:4px;align-items:center;display:inline-flex;justify-content:center;border:1px solid #4d46d6;background-color:transparent}.bb-dashboard-header-button>svg{height:100%;transform:none;transition:transform .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-header-button.reversed>svg{transform:rotateY(180deg)}.bb-dashboard-header-button:hover{background-color:#0000000a}.bb-dashboard-header-button:active{background-color:#00000014}.bb-dashboard-header-items{display:flex;margin-left:auto;align-items:center}.bb-dashboard-header-items>*:not(:first-child){margin-left:8px}@media only screen and (min-width: 768px){.bb-dashboard-header-button>svg{transform:rotateY(180deg)}.bb-dashboard-header-button.reversed>svg{transform:none}}\n"], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
202
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboardHeader, decorators: [{
203
- type: i0.Component,
204
- args: [{
205
- selector: 'bb-dashboard-header',
206
- templateUrl: './dashboard-header.component.html',
207
- styleUrls: ['./dashboard-header.component.scss'],
208
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
209
- encapsulation: i0.ViewEncapsulation.None,
210
- preserveWhitespaces: false,
211
- host: {
212
- 'class': 'bb-dashboard-header'
213
- }
214
- }]
215
- }], ctorParameters: function () {
216
- return [{ type: BbDashboard, decorators: [{
217
- type: i0.Optional
218
- }] }];
219
- } });
220
-
221
- var BbDashboardMenu = /** @class */ (function () {
222
- function BbDashboardMenu() {
223
- // Inputs.
224
- this.title = null;
225
- this.imageUrl = null;
226
- this.backUrlLink = null;
227
- this.backUrlTitle = null;
228
- }
229
- return BbDashboardMenu;
230
- }());
231
- BbDashboardMenu.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboardMenu, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
232
- BbDashboardMenu.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: BbDashboardMenu, selector: "bb-dashboard-menu", inputs: { title: "title", imageUrl: "imageUrl", backUrlLink: "backUrlLink", backUrlTitle: "backUrlTitle" }, host: { attributes: { "role": "navigation" }, classAttribute: "bb-dashboard-menu" }, ngImport: i0__namespace, template: "<a *ngIf=\"backUrlLink && backUrlTitle\"\n [routerLink]=\"backUrlLink\"\n class=\"bb-dashboard-menu-link\">\n {{ backUrlTitle }}\n</a>\n\n<div class=\"bb-dashboard-menu-row\">\n <img *ngIf=\"imageUrl\"\n [src]=\"imageUrl\"\n class=\"bb-dashboard-menu-image\"\n alt=\"Menu image\">\n <h1 *ngIf=\"title as titleLabel\"\n class=\"bb-dashboard-menu-title\">\n {{ titleLabel }}\n </h1>\n</div>\n\n<nav class=\"bb-dashboard-menu-navigation\">\n <ng-content select=\"[bb-dashboard-menu-item]\"></ng-content>\n</nav>\n", styles: [".bb-dashboard-menu{display:block;margin-bottom:20px}.bb-dashboard-menu-link,.bb-dashboard-menu-title{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.bb-dashboard-menu-link{display:block;font-weight:500;margin-bottom:16px;text-decoration:none}.bb-dashboard-menu-link,.bb-dashboard-menu-link:visited{color:#a7a9c4!important}.bb-dashboard-menu-link:before{width:14px;content:\"\";height:13px;margin-right:3px;display:inline-block;background-size:cover;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 492 492'%3E%3Cpath fill='%23a7a9c4' d='M464.344 207.418l.768.168H135.888l103.496-103.724c5.068-5.064 7.848-11.924 7.848-19.124 0-7.2-2.78-14.012-7.848-19.088L223.28 49.538c-5.064-5.064-11.812-7.864-19.008-7.864-7.2 0-13.952 2.78-19.016 7.844L7.844 226.914C2.76 231.998-.02 238.77 0 245.974c-.02 7.244 2.76 14.02 7.844 19.096l177.412 177.412c5.064 5.06 11.812 7.844 19.016 7.844 7.196 0 13.944-2.788 19.008-7.844l16.104-16.112c5.068-5.056 7.848-11.808 7.848-19.008 0-7.196-2.78-13.592-7.848-18.652L134.72 284.406h329.992c14.828 0 27.288-12.78 27.288-27.6v-22.788c0-14.82-12.828-26.6-27.656-26.6z'/%3E%3C/svg%3E\")}.bb-dashboard-menu-row{display:flex;align-items:center;margin-bottom:10px}.bb-dashboard-menu-image{display:block;margin-right:10px;width:30px;height:30px;border-radius:50%}.bb-dashboard-menu-title{color:#272838;display:block;line-height:1;font-size:34px;font-weight:500}.bb-dashboard-menu-navigation{display:flex;overflow-x:auto;border-bottom:1px solid #d8d8d8}\n"], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
233
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboardMenu, decorators: [{
234
- type: i0.Component,
235
- args: [{
236
- selector: 'bb-dashboard-menu',
237
- templateUrl: './dashboard-menu.component.html',
238
- styleUrls: ['./dashboard-menu.component.scss'],
239
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
240
- encapsulation: i0.ViewEncapsulation.None,
241
- preserveWhitespaces: false,
242
- host: {
243
- 'class': 'bb-dashboard-menu',
244
- 'role': 'navigation'
245
- }
246
- }]
247
- }], propDecorators: { title: [{
248
- type: i0.Input
249
- }], imageUrl: [{
250
- type: i0.Input
251
- }], backUrlLink: [{
252
- type: i0.Input
253
- }], backUrlTitle: [{
254
- type: i0.Input
255
- }] } });
256
-
257
- /*! *****************************************************************************
258
- Copyright (c) Microsoft Corporation.
259
-
260
- Permission to use, copy, modify, and/or distribute this software for any
261
- purpose with or without fee is hereby granted.
262
-
263
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
264
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
265
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
266
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
267
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
268
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
269
- PERFORMANCE OF THIS SOFTWARE.
270
- ***************************************************************************** */
271
- /* global Reflect, Promise */
272
- var extendStatics = function (d, b) {
273
- extendStatics = Object.setPrototypeOf ||
274
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
275
- function (d, b) { for (var p in b)
276
- if (Object.prototype.hasOwnProperty.call(b, p))
277
- d[p] = b[p]; };
278
- return extendStatics(d, b);
279
- };
280
- function __extends(d, b) {
281
- if (typeof b !== "function" && b !== null)
282
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
283
- extendStatics(d, b);
284
- function __() { this.constructor = d; }
285
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
286
- }
287
- var __assign = function () {
288
- __assign = Object.assign || function __assign(t) {
289
- for (var s, i = 1, n = arguments.length; i < n; i++) {
290
- s = arguments[i];
291
- for (var p in s)
292
- if (Object.prototype.hasOwnProperty.call(s, p))
293
- t[p] = s[p];
294
- }
295
- return t;
296
- };
297
- return __assign.apply(this, arguments);
298
- };
299
- function __rest(s, e) {
300
- var t = {};
301
- for (var p in s)
302
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
303
- t[p] = s[p];
304
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
305
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
306
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
307
- t[p[i]] = s[p[i]];
308
- }
309
- return t;
310
- }
311
- function __decorate(decorators, target, key, desc) {
312
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
313
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
314
- r = Reflect.decorate(decorators, target, key, desc);
315
- else
316
- for (var i = decorators.length - 1; i >= 0; i--)
317
- if (d = decorators[i])
318
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
319
- return c > 3 && r && Object.defineProperty(target, key, r), r;
320
- }
321
- function __param(paramIndex, decorator) {
322
- return function (target, key) { decorator(target, key, paramIndex); };
323
- }
324
- function __metadata(metadataKey, metadataValue) {
325
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
326
- return Reflect.metadata(metadataKey, metadataValue);
327
- }
328
- function __awaiter(thisArg, _arguments, P, generator) {
329
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
330
- return new (P || (P = Promise))(function (resolve, reject) {
331
- function fulfilled(value) { try {
332
- step(generator.next(value));
333
- }
334
- catch (e) {
335
- reject(e);
336
- } }
337
- function rejected(value) { try {
338
- step(generator["throw"](value));
339
- }
340
- catch (e) {
341
- reject(e);
342
- } }
343
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
344
- step((generator = generator.apply(thisArg, _arguments || [])).next());
345
- });
346
- }
347
- function __generator(thisArg, body) {
348
- var _ = { label: 0, sent: function () { if (t[0] & 1)
349
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
350
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
351
- function verb(n) { return function (v) { return step([n, v]); }; }
352
- function step(op) {
353
- if (f)
354
- throw new TypeError("Generator is already executing.");
355
- while (_)
356
- try {
357
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
358
- return t;
359
- if (y = 0, t)
360
- op = [op[0] & 2, t.value];
361
- switch (op[0]) {
362
- case 0:
363
- case 1:
364
- t = op;
365
- break;
366
- case 4:
367
- _.label++;
368
- return { value: op[1], done: false };
369
- case 5:
370
- _.label++;
371
- y = op[1];
372
- op = [0];
373
- continue;
374
- case 7:
375
- op = _.ops.pop();
376
- _.trys.pop();
377
- continue;
378
- default:
379
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
380
- _ = 0;
381
- continue;
382
- }
383
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
384
- _.label = op[1];
385
- break;
386
- }
387
- if (op[0] === 6 && _.label < t[1]) {
388
- _.label = t[1];
389
- t = op;
390
- break;
391
- }
392
- if (t && _.label < t[2]) {
393
- _.label = t[2];
394
- _.ops.push(op);
395
- break;
396
- }
397
- if (t[2])
398
- _.ops.pop();
399
- _.trys.pop();
400
- continue;
401
- }
402
- op = body.call(thisArg, _);
403
- }
404
- catch (e) {
405
- op = [6, e];
406
- y = 0;
407
- }
408
- finally {
409
- f = t = 0;
410
- }
411
- if (op[0] & 5)
412
- throw op[1];
413
- return { value: op[0] ? op[1] : void 0, done: true };
414
- }
415
- }
416
- var __createBinding = Object.create ? (function (o, m, k, k2) {
417
- if (k2 === undefined)
418
- k2 = k;
419
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
420
- }) : (function (o, m, k, k2) {
421
- if (k2 === undefined)
422
- k2 = k;
423
- o[k2] = m[k];
424
- });
425
- function __exportStar(m, o) {
426
- for (var p in m)
427
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
428
- __createBinding(o, m, p);
429
- }
430
- function __values(o) {
431
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
432
- if (m)
433
- return m.call(o);
434
- if (o && typeof o.length === "number")
435
- return {
436
- next: function () {
437
- if (o && i >= o.length)
438
- o = void 0;
439
- return { value: o && o[i++], done: !o };
440
- }
441
- };
442
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
443
- }
444
- function __read(o, n) {
445
- var m = typeof Symbol === "function" && o[Symbol.iterator];
446
- if (!m)
447
- return o;
448
- var i = m.call(o), r, ar = [], e;
449
- try {
450
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
451
- ar.push(r.value);
452
- }
453
- catch (error) {
454
- e = { error: error };
455
- }
456
- finally {
457
- try {
458
- if (r && !r.done && (m = i["return"]))
459
- m.call(i);
460
- }
461
- finally {
462
- if (e)
463
- throw e.error;
464
- }
465
- }
466
- return ar;
467
- }
468
- /** @deprecated */
469
- function __spread() {
470
- for (var ar = [], i = 0; i < arguments.length; i++)
471
- ar = ar.concat(__read(arguments[i]));
472
- return ar;
473
- }
474
- /** @deprecated */
475
- function __spreadArrays() {
476
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
477
- s += arguments[i].length;
478
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
479
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
480
- r[k] = a[j];
481
- return r;
482
- }
483
- function __spreadArray(to, from, pack) {
484
- if (pack || arguments.length === 2)
485
- for (var i = 0, l = from.length, ar; i < l; i++) {
486
- if (ar || !(i in from)) {
487
- if (!ar)
488
- ar = Array.prototype.slice.call(from, 0, i);
489
- ar[i] = from[i];
490
- }
491
- }
492
- return to.concat(ar || Array.prototype.slice.call(from));
493
- }
494
- function __await(v) {
495
- return this instanceof __await ? (this.v = v, this) : new __await(v);
496
- }
497
- function __asyncGenerator(thisArg, _arguments, generator) {
498
- if (!Symbol.asyncIterator)
499
- throw new TypeError("Symbol.asyncIterator is not defined.");
500
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
501
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
502
- function verb(n) { if (g[n])
503
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
504
- function resume(n, v) { try {
505
- step(g[n](v));
506
- }
507
- catch (e) {
508
- settle(q[0][3], e);
509
- } }
510
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
511
- function fulfill(value) { resume("next", value); }
512
- function reject(value) { resume("throw", value); }
513
- function settle(f, v) { if (f(v), q.shift(), q.length)
514
- resume(q[0][0], q[0][1]); }
515
- }
516
- function __asyncDelegator(o) {
517
- var i, p;
518
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
519
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
520
- }
521
- function __asyncValues(o) {
522
- if (!Symbol.asyncIterator)
523
- throw new TypeError("Symbol.asyncIterator is not defined.");
524
- var m = o[Symbol.asyncIterator], i;
525
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
526
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
527
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
528
- }
529
- function __makeTemplateObject(cooked, raw) {
530
- if (Object.defineProperty) {
531
- Object.defineProperty(cooked, "raw", { value: raw });
532
- }
533
- else {
534
- cooked.raw = raw;
535
- }
536
- return cooked;
537
- }
538
- ;
539
- var __setModuleDefault = Object.create ? (function (o, v) {
540
- Object.defineProperty(o, "default", { enumerable: true, value: v });
541
- }) : function (o, v) {
542
- o["default"] = v;
543
- };
544
- function __importStar(mod) {
545
- if (mod && mod.__esModule)
546
- return mod;
547
- var result = {};
548
- if (mod != null)
549
- for (var k in mod)
550
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
551
- __createBinding(result, mod, k);
552
- __setModuleDefault(result, mod);
553
- return result;
554
- }
555
- function __importDefault(mod) {
556
- return (mod && mod.__esModule) ? mod : { default: mod };
557
- }
558
- function __classPrivateFieldGet(receiver, state, kind, f) {
559
- if (kind === "a" && !f)
560
- throw new TypeError("Private accessor was defined without a getter");
561
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
562
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
563
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
564
- }
565
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
566
- if (kind === "m")
567
- throw new TypeError("Private method is not writable");
568
- if (kind === "a" && !f)
569
- throw new TypeError("Private accessor was defined without a setter");
570
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
571
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
572
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
573
- }
574
-
575
- var BbDashboardMenuItemBase = /** @class */ (function () {
576
- function BbDashboardMenuItemBase() {
577
- }
578
- return BbDashboardMenuItemBase;
579
- }());
580
- var BbDashboardMenuItemMixinBase = i1$1.mixinDisabled(BbDashboardMenuItemBase);
581
- var BbDashboardMenuItem = /** @class */ (function (_super) {
582
- __extends(BbDashboardMenuItem, _super);
583
- function BbDashboardMenuItem() {
584
- return _super !== null && _super.apply(this, arguments) || this;
585
- }
586
- BbDashboardMenuItem.prototype.stopDisabledEvents = function (event) {
587
- // If the menu item is not disabled let all events pass.
588
- if (!this.disabled) {
589
- return;
590
- }
591
- // If the menu item is disabled stop the event from
592
- // bubbling up.
593
- event.preventDefault();
594
- event.stopImmediatePropagation();
595
- };
596
- return BbDashboardMenuItem;
597
- }(BbDashboardMenuItemMixinBase));
598
- BbDashboardMenuItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboardMenuItem, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
599
- BbDashboardMenuItem.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: BbDashboardMenuItem, selector: "[bb-dashboard-menu-item]", inputs: { disabled: "disabled" }, host: { listeners: { "click": "stopDisabledEvents($event)" }, properties: { "class.disabled": "disabled" }, classAttribute: "bb-dashboard-menu-item" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-content select=\"[bbPrefix]\"></ng-content>\n<span class=\"bb-dashboard-menu-item-content\">\n <ng-content></ng-content>\n</span>\n<ng-content select=\"[bbSuffix]\"></ng-content>\n", styles: [".bb-dashboard-menu-item{margin:0;padding:0;border:none;display:flex;max-width:100%;font-size:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;white-space:nowrap;background-color:transparent;text-decoration:none!important;border-bottom:2px solid transparent}.bb-dashboard-menu-item,.bb-dashboard-menu-item:visited{color:#6b5c5c}.bb-dashboard-menu-item:not(:first-child){margin-left:10px}.bb-dashboard-menu-item:not(:last-child){margin-right:10px}.bb-dashboard-menu-item:hover:not(.disabled):not(.active){border-color:#75779433}.bb-dashboard-menu-item.active,.bb-dashboard-menu-item.active:visited .bb-dashboard-menu-item.active:hover{color:#5b53ff;border-color:#5b53ff}.bb-dashboard-menu-item.disabled,.bb-dashboard-menu-item.disabled:focus,.bb-dashboard-menu-item.disabled:hover,.bb-dashboard-menu-item.disabled:active{opacity:.4;cursor:default;box-shadow:none}.bb-dashboard-menu-item>.bb-prefix{margin-right:5px}.bb-dashboard-menu-item>.bb-suffix{margin-left:5px}.bb-dashboard-menu-item-content{height:38px;display:block;font-weight:500;line-height:38px}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
600
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboardMenuItem, decorators: [{
601
- type: i0.Component,
602
- args: [{
603
- selector: '[bb-dashboard-menu-item]',
604
- templateUrl: './dashboard-menu-item.component.html',
605
- styleUrls: ['./dashboard-menu-item.component.scss'],
606
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
607
- encapsulation: i0.ViewEncapsulation.None,
608
- preserveWhitespaces: false,
609
- inputs: ['disabled'],
610
- host: {
611
- 'class': 'bb-dashboard-menu-item',
612
- '[class.disabled]': 'disabled',
613
- '(click)': 'stopDisabledEvents($event)'
614
- }
615
- }]
616
- }] });
617
-
618
- var BbDashboardSidebarGroupBase = /** @class */ (function () {
619
- function BbDashboardSidebarGroupBase(_parent) {
620
- this._parent = _parent;
621
- }
622
- return BbDashboardSidebarGroupBase;
623
- }());
624
- var BbDashboardSidebarGroupMixinBase = i1$1.mixinDisabled(BbDashboardSidebarGroupBase);
625
- var BbDashboardSidebarGroup = /** @class */ (function (_super) {
626
- __extends(BbDashboardSidebarGroup, _super);
627
- function BbDashboardSidebarGroup(_parent) {
628
- var _this = _super.call(this, _parent) || this;
629
- _this._parent = _parent;
630
- // Inputs.
631
- _this.id = null;
632
- _this.icon = null;
633
- _this.title = null;
634
- // State.
635
- _this._isExpanded = false;
636
- return _this;
637
- }
638
- Object.defineProperty(BbDashboardSidebarGroup.prototype, "hasToggle", {
639
- get: function () {
640
- // Check if the user provided a icon and/or title.
641
- return !!this.icon || !!this.title;
642
- },
643
- enumerable: false,
644
- configurable: true
645
- });
646
- Object.defineProperty(BbDashboardSidebarGroup.prototype, "isExpanded", {
647
- get: function () {
648
- // If there is an icon or title the group can be
649
- // expanded by clicking, else not.
650
- return this.hasToggle
651
- ? this._isExpanded
652
- : true;
653
- },
654
- enumerable: false,
655
- configurable: true
656
- });
657
- BbDashboardSidebarGroup.prototype.ngOnInit = function () {
658
- var _this = this;
659
- var _a, _b;
660
- // Check if the id has been supplied.
661
- if (!this.id) {
662
- throw new Error('Id is required.');
663
- }
664
- // Register the group at the parent and
665
- // retrieve the slice of the state.
666
- var observable$ = (_b = (_a = this._parent) === null || _a === void 0 ? void 0 : _a.registerGroup(this.id)) !== null && _b !== void 0 ? _b : rxjs.of(false);
667
- // Subscribe to the state.
668
- this._subscription = observable$
669
- .subscribe(function (isExpanded) { return _this._isExpanded = isExpanded; });
670
- };
671
- BbDashboardSidebarGroup.prototype.ngOnDestroy = function () {
672
- // Unsubscribe to prevent memory leaks.
673
- this._subscription && this._subscription.unsubscribe();
674
- // Unregister the group at the parent.
675
- this._parent && this._parent.unregisterGroup(this.id);
676
- };
677
- BbDashboardSidebarGroup.prototype.onClick = function () {
678
- var _a;
679
- // Verify the group is not disabled.
680
- if (this.disabled) {
681
- return;
682
- }
683
- // Change the state.
684
- var newValue = !this._isExpanded;
685
- // Set the state of the sidebar group.
686
- (_a = this._parent) === null || _a === void 0 ? void 0 : _a.toggleGroup(this.id, newValue);
687
- };
688
- BbDashboardSidebarGroup.prototype.onGroupClicked = function (event) {
689
- // If the group is not disabled don't do anything.
690
- if (!this.disabled) {
691
- return;
692
- }
693
- event.preventDefault();
694
- event.stopPropagation();
695
- };
696
- return BbDashboardSidebarGroup;
697
- }(BbDashboardSidebarGroupMixinBase));
698
- BbDashboardSidebarGroup.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboardSidebarGroup, deps: [{ token: BbDashboardSidebar, host: true, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
699
- BbDashboardSidebarGroup.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: BbDashboardSidebarGroup, selector: "bb-dashboard-sidebar-group", inputs: { disabled: "disabled", id: "id", icon: "icon", title: "title" }, host: { attributes: { "role": "group" }, listeners: { "click": "onGroupClicked($event)" }, properties: { "class.expanded": "isExpanded", "class.with-toggle": "hasToggle", "class.has-icon": "!!icon", "class.disabled": "disabled" }, classAttribute: "bb-dashboard-sidebar-group" }, usesInheritance: true, ngImport: i0__namespace, template: "<!--\n The wrapper that contains the title and icon.\n-->\n<button *ngIf=\"hasToggle\"\n (click)=\"onClick()\"\n class=\"bb-dashboard-sidebar-group-title\"\n type=\"button\"\n role=\"switch\">\n <bb-icon *ngIf=\"icon as iconName\"\n [src]=\"iconName\"\n class=\"bb-dashboard-sidebar-group-icon\">\n </bb-icon>\n <span *ngIf=\"title as titleText\"\n role=\"heading\"\n class=\"bb-dashboard-sidebar-group-text\">\n {{ titleText }}\n </span>\n <span class=\"bb-dashboard-sidebar-group-toggle\">\n <svg xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 21.7 30.9\"\n width=\"10\"\n height=\"10\"\n role=\"img\">\n <path\n d=\"M10.1.3L.2 11.8c-.6.6-.1 1.7.8 1.7h19.7c.9 0 1.3-1 .8-1.7L11.6.3c-.4-.4-1.1-.4-1.5 0zM10.1 30.6L.2 19.1c-.6-.6-.1-1.7.8-1.7h19.7c.9 0 1.3 1 .8 1.7l-9.8 11.5c-.5.4-1.2.4-1.6 0z\">\n </path>\n </svg>\n </span>\n</button>\n\n<!--\n The sidebar items that contain the\n links to navigate to other pages.\n-->\n<ng-content select=\"[bb-dashboard-sidebar-item]\">\n</ng-content>\n", styles: [".bb-dashboard-sidebar-group{color:#000;display:block;overflow:hidden;border-bottom:1px solid rgba(0,0,0,.1);transition:background-color .2s cubic-bezier(0,0,.2,1),padding-bottom .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar-group.expanded{background-color:#0000000a}.bb-dashboard-sidebar-group.expanded .bb-dashboard-sidebar-group-title{color:#000}.bb-dashboard-sidebar-group.expanded .bb-dashboard-sidebar-item{opacity:1;height:32px;line-height:32px;padding:6px 16px}.bb-dashboard-sidebar-group.expanded .bb-dashboard-sidebar-group-toggle{opacity:0;transform:translate(10px)}.bb-dashboard-sidebar-group.with-toggle.expanded{padding-bottom:20px}.bb-dashboard-sidebar-group.has-icon .bb-dashboard-sidebar-item{padding-left:54px}.bb-dashboard-sidebar-group.disabled{opacity:.5}.bb-dashboard-sidebar-group-title{margin:0;width:100%;border:none;display:flex;cursor:pointer;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;align-items:center;padding:17px 15px;color:#000c;background-color:transparent;transition:color .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar-group-title:active>.bb-dashboard-sidebar-group-toggle{background-color:#00000014}.bb-dashboard-sidebar-group-icon{margin-right:15px;color:#00000040}.bb-dashboard-sidebar-group-text{width:100%;display:block;font-size:14px;max-width:100%;overflow:hidden;font-weight:500;line-height:15px;white-space:nowrap;text-overflow:ellipsis;text-transform:uppercase}.bb-dashboard-sidebar-group-toggle{width:22px;height:22px;display:flex;min-width:22px;min-height:22px;margin-left:auto;border-radius:3px;align-items:center;justify-content:center;transition:opacity .2s cubic-bezier(0,0,.2,1),transform .2s cubic-bezier(0,0,.2,1),background-color .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar-group-toggle>svg{width:10px;height:10px;fill:#00000040}\n"], components: [{ type: i2__namespace$2.BbIcon, selector: "bb-icon", inputs: ["alt", "size", "src", "ariaHidden"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
700
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboardSidebarGroup, decorators: [{
701
- type: i0.Component,
702
- args: [{
703
- selector: 'bb-dashboard-sidebar-group',
704
- templateUrl: './dashboard-sidebar-group.component.html',
705
- styleUrls: ['./dashboard-sidebar-group.component.scss'],
706
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
707
- encapsulation: i0.ViewEncapsulation.None,
708
- preserveWhitespaces: false,
709
- inputs: ['disabled'],
710
- host: {
711
- 'class': 'bb-dashboard-sidebar-group',
712
- '[class.expanded]': 'isExpanded',
713
- '[class.with-toggle]': 'hasToggle',
714
- '[class.has-icon]': '!!icon',
715
- '[class.disabled]': 'disabled',
716
- 'role': 'group'
717
- }
718
- }]
719
- }], ctorParameters: function () {
720
- return [{ type: BbDashboardSidebar, decorators: [{
721
- type: i0.Optional
722
- }, {
723
- type: i0.Host
724
- }] }];
725
- }, propDecorators: { id: [{
726
- type: i0.Input
727
- }], icon: [{
728
- type: i0.Input
729
- }], title: [{
730
- type: i0.Input
731
- }], onGroupClicked: [{
732
- type: i0.HostListener,
733
- args: ['click', ['$event']]
734
- }] } });
735
-
736
- var BbDashboardSidebarItem = /** @class */ (function () {
737
- function BbDashboardSidebarItem(_sidebar, _group) {
738
- this._sidebar = _sidebar;
739
- this._group = _group;
740
- // Inputs.
741
- this.tabIndex = 0;
742
- }
743
- BbDashboardSidebarItem.prototype.onClick = function () {
744
- var _a;
745
- // Try to "open" the sidebar if it exists.
746
- // This will close it on mobile.
747
- (_a = this._sidebar) === null || _a === void 0 ? void 0 : _a.open();
748
- };
749
- Object.defineProperty(BbDashboardSidebarItem.prototype, "attributeTabIndex", {
750
- get: function () {
751
- // Make the items tabindex -1 so it can't
752
- // be tabbed to when the parent is not visible
753
- // or the parent is disabled.
754
- if (this.isHidden) {
755
- return -1;
756
- }
757
- // Else return the specified tabindex.
758
- return this.tabIndex;
759
- },
760
- enumerable: false,
761
- configurable: true
762
- });
763
- Object.defineProperty(BbDashboardSidebarItem.prototype, "isHidden", {
764
- get: function () {
765
- return !this.isVisible || this.isDisabled;
766
- },
767
- enumerable: false,
768
- configurable: true
769
- });
770
- Object.defineProperty(BbDashboardSidebarItem.prototype, "isVisible", {
771
- get: function () {
772
- return this._group
773
- ? this._group.isExpanded
774
- : true;
775
- },
776
- enumerable: false,
777
- configurable: true
778
- });
779
- Object.defineProperty(BbDashboardSidebarItem.prototype, "isDisabled", {
780
- get: function () {
781
- return this._group
782
- ? this._group.disabled
783
- : false;
784
- },
785
- enumerable: false,
786
- configurable: true
787
- });
788
- return BbDashboardSidebarItem;
789
- }());
790
- BbDashboardSidebarItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboardSidebarItem, deps: [{ token: BbDashboardSidebar, host: true, optional: true }, { token: BbDashboardSidebarGroup, host: true, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
791
- BbDashboardSidebarItem.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.11", type: BbDashboardSidebarItem, selector: "[bb-dashboard-sidebar-item]", inputs: { tabIndex: "tabIndex" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.tabindex": "attributeTabIndex", "attr.aria-hidden": "isHidden" }, classAttribute: "bb-dashboard-sidebar-item" }, ngImport: i0__namespace, template: "<!--\n The content between the tags will\n be reflected here.\n-->\n<span class=\"bb-dashboard-sidebar-item-content\">\n <ng-content></ng-content>\n</span>\n", styles: [".bb-dashboard-sidebar-item{height:0;opacity:0;padding:0;display:flex;line-height:0;cursor:pointer;font-size:14px;font-weight:500;align-items:center;text-decoration:none;will-change:opacity,height;color:#000000d9!important;transition:height .2s cubic-bezier(0,0,.2,1),opacity .2s 50ms cubic-bezier(0,0,.2,1),color .2s cubic-bezier(0,0,.2,1),background-color .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar-item:focus,.bb-dashboard-sidebar-item:hover{background-color:#00000005}.bb-dashboard-sidebar-item:active{background-color:#0000000a}.bb-dashboard-sidebar-item.active,.bb-dashboard-sidebar-item.active:hover,.bb-dashboard-sidebar-item.active:focus,.bb-dashboard-sidebar-item.active:active{color:#000!important;background-color:#0000000f}.bb-dashboard-sidebar-item-content{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
792
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: BbDashboardSidebarItem, decorators: [{
793
- type: i0.Component,
794
- args: [{
795
- selector: '[bb-dashboard-sidebar-item]',
796
- templateUrl: './dashboard-sidebar-item.component.html',
797
- styleUrls: ['./dashboard-sidebar-item.component.scss'],
798
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
799
- encapsulation: i0.ViewEncapsulation.None,
800
- preserveWhitespaces: false,
801
- host: {
802
- 'class': 'bb-dashboard-sidebar-item',
803
- '[attr.tabindex]': 'attributeTabIndex',
804
- '[attr.aria-hidden]': 'isHidden',
805
- '(click)': 'onClick()'
806
- }
807
- }]
808
- }], ctorParameters: function () {
809
- return [{ type: BbDashboardSidebar, decorators: [{
810
- type: i0.Optional
811
- }, {
812
- type: i0.Host
813
- }] }, { type: BbDashboardSidebarGroup, decorators: [{
814
- type: i0.Optional
815
- }, {
816
- type: i0.Host
817
- }] }];
818
- }, propDecorators: { tabIndex: [{
819
- type: i0.Input
820
- }] } });
821
-
822
- var DECLARATIONS_EXPORTS = [
823
- BbDashboard,
824
- BbDashboardHeader,
825
- BbDashboardMenu,
826
- BbDashboardMenuItem,
827
- BbDashboardSidebar,
828
- BbDashboardSidebarGroup,
829
- BbDashboardSidebarItem
830
- ];
831
- var DashboardModule = /** @class */ (function () {
832
- function DashboardModule() {
833
- }
834
- return DashboardModule;
835
- }());
836
- DashboardModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: DashboardModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
837
- DashboardModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: DashboardModule, declarations: [BbDashboard,
838
- BbDashboardHeader,
839
- BbDashboardMenu,
840
- BbDashboardMenuItem,
841
- BbDashboardSidebar,
842
- BbDashboardSidebarGroup,
843
- BbDashboardSidebarItem], imports: [i2.CommonModule, i2$1.RouterModule, i2$2.ElementsModule], exports: [BbDashboard,
844
- BbDashboardHeader,
845
- BbDashboardMenu,
846
- BbDashboardMenuItem,
847
- BbDashboardSidebar,
848
- BbDashboardSidebarGroup,
849
- BbDashboardSidebarItem] });
850
- DashboardModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: DashboardModule, imports: [[i2.CommonModule, i2$1.RouterModule, i2$2.ElementsModule]] });
851
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.11", ngImport: i0__namespace, type: DashboardModule, decorators: [{
852
- type: i0.NgModule,
853
- args: [{
854
- imports: [i2.CommonModule, i2$1.RouterModule, i2$2.ElementsModule],
855
- declarations: __spreadArray([], __read(DECLARATIONS_EXPORTS)),
856
- exports: __spreadArray([], __read(DECLARATIONS_EXPORTS))
857
- }]
858
- }] });
859
-
860
- /**
861
- * Generated bundle index. Do not edit.
862
- */
863
-
864
- exports.BbDashboard = BbDashboard;
865
- exports.BbDashboardHeader = BbDashboardHeader;
866
- exports.BbDashboardMenu = BbDashboardMenu;
867
- exports.BbDashboardMenuItem = BbDashboardMenuItem;
868
- exports.BbDashboardSidebar = BbDashboardSidebar;
869
- exports.BbDashboardSidebarGroup = BbDashboardSidebarGroup;
870
- exports.BbDashboardSidebarItem = BbDashboardSidebarItem;
871
- exports.DashboardModule = DashboardModule;
872
-
873
- Object.defineProperty(exports, '__esModule', { value: true });
874
-
875
- }));
876
- //# sourceMappingURL=bravobit-bb-foundation-dashboard.umd.js.map