@bravobit/bb-foundation 0.54.4 → 0.55.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 (302) hide show
  1. package/auth/index.d.ts +267 -5
  2. package/collections/index.d.ts +350 -5
  3. package/combobox/index.d.ts +58 -5
  4. package/dashboard/index.d.ts +104 -5
  5. package/dialog/index.d.ts +168 -5
  6. package/elements/index.d.ts +838 -5
  7. package/fesm2022/bravobit-bb-foundation-auth.mjs +22 -22
  8. package/fesm2022/bravobit-bb-foundation-auth.mjs.map +1 -1
  9. package/fesm2022/bravobit-bb-foundation-collections.mjs +44 -44
  10. package/fesm2022/bravobit-bb-foundation-collections.mjs.map +1 -1
  11. package/fesm2022/bravobit-bb-foundation-combobox.mjs +15 -15
  12. package/fesm2022/bravobit-bb-foundation-combobox.mjs.map +1 -1
  13. package/fesm2022/bravobit-bb-foundation-dashboard.mjs +25 -25
  14. package/fesm2022/bravobit-bb-foundation-dashboard.mjs.map +1 -1
  15. package/fesm2022/bravobit-bb-foundation-dialog.mjs +33 -33
  16. package/fesm2022/bravobit-bb-foundation-dialog.mjs.map +1 -1
  17. package/fesm2022/bravobit-bb-foundation-elements.mjs +105 -105
  18. package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
  19. package/fesm2022/bravobit-bb-foundation-http.mjs +10 -10
  20. package/fesm2022/bravobit-bb-foundation-http.mjs.map +1 -1
  21. package/fesm2022/bravobit-bb-foundation-localize.mjs +18 -18
  22. package/fesm2022/bravobit-bb-foundation-localize.mjs.map +1 -1
  23. package/fesm2022/bravobit-bb-foundation-masking.mjs +16 -16
  24. package/fesm2022/bravobit-bb-foundation-masking.mjs.map +1 -1
  25. package/fesm2022/bravobit-bb-foundation-notifications.mjs +15 -15
  26. package/fesm2022/bravobit-bb-foundation-notifications.mjs.map +1 -1
  27. package/fesm2022/bravobit-bb-foundation-permissions.mjs +10 -10
  28. package/fesm2022/bravobit-bb-foundation-permissions.mjs.map +1 -1
  29. package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +11 -12
  30. package/fesm2022/bravobit-bb-foundation-recaptcha.mjs.map +1 -1
  31. package/fesm2022/bravobit-bb-foundation-select.mjs +21 -21
  32. package/fesm2022/bravobit-bb-foundation-select.mjs.map +1 -1
  33. package/fesm2022/bravobit-bb-foundation-storage.mjs +3 -3
  34. package/fesm2022/bravobit-bb-foundation-storage.mjs.map +1 -1
  35. package/fesm2022/bravobit-bb-foundation-table.mjs +22 -22
  36. package/fesm2022/bravobit-bb-foundation-table.mjs.map +1 -1
  37. package/fesm2022/bravobit-bb-foundation-tooltip.mjs +10 -10
  38. package/fesm2022/bravobit-bb-foundation-tooltip.mjs.map +1 -1
  39. package/fesm2022/bravobit-bb-foundation-utils.mjs +16 -16
  40. package/fesm2022/bravobit-bb-foundation-utils.mjs.map +1 -1
  41. package/fesm2022/bravobit-bb-foundation.mjs +25 -25
  42. package/fesm2022/bravobit-bb-foundation.mjs.map +1 -1
  43. package/http/index.d.ts +78 -5
  44. package/index.d.ts +215 -5
  45. package/localize/index.d.ts +546 -5
  46. package/masking/index.d.ts +104 -5
  47. package/notifications/index.d.ts +78 -5
  48. package/package.json +26 -26
  49. package/permissions/index.d.ts +89 -5
  50. package/recaptcha/index.d.ts +92 -5
  51. package/rxjs/index.d.ts +19 -5
  52. package/select/index.d.ts +129 -5
  53. package/storage/index.d.ts +109 -5
  54. package/table/index.d.ts +197 -5
  55. package/tooltip/index.d.ts +45 -5
  56. package/utils/index.d.ts +66 -5
  57. package/auth/lib/acting.interceptor.d.ts +0 -9
  58. package/auth/lib/acting.service.d.ts +0 -17
  59. package/auth/lib/auth.config.d.ts +0 -3
  60. package/auth/lib/auth.interceptor.d.ts +0 -20
  61. package/auth/lib/auth.module.d.ts +0 -10
  62. package/auth/lib/auth.service.d.ts +0 -51
  63. package/auth/lib/auth.session.d.ts +0 -50
  64. package/auth/lib/directives/anonymous.directive.d.ts +0 -20
  65. package/auth/lib/directives/authenticated.directive.d.ts +0 -20
  66. package/auth/lib/guards/anonymous.guard.d.ts +0 -2
  67. package/auth/lib/guards/authenticated.guard.d.ts +0 -2
  68. package/auth/lib/helpers/jwt.helper.d.ts +0 -8
  69. package/auth/lib/interfaces/config.interface.d.ts +0 -27
  70. package/auth/lib/interfaces/provider.interface.d.ts +0 -23
  71. package/auth/lib/interfaces/token.interface.d.ts +0 -11
  72. package/auth/lib/providers/email.provider.d.ts +0 -9
  73. package/auth/lib/providers/verify.provider.d.ts +0 -9
  74. package/auth/lib/tokens/use-authorization.token.d.ts +0 -2
  75. package/auth/public_api.d.ts +0 -17
  76. package/collections/lib/classes/array.collection.d.ts +0 -17
  77. package/collections/lib/collection.d.ts +0 -40
  78. package/collections/lib/collections.config.d.ts +0 -3
  79. package/collections/lib/collections.interfaces.d.ts +0 -10
  80. package/collections/lib/collections.module.d.ts +0 -19
  81. package/collections/lib/components/collections-actions/collections-actions.component.d.ts +0 -13
  82. package/collections/lib/components/collections-grid/collections-grid.component.d.ts +0 -18
  83. package/collections/lib/components/collections-pager/collections-pager.component.d.ts +0 -38
  84. package/collections/lib/components/collections-table/collections-table.component.d.ts +0 -26
  85. package/collections/lib/components/collections-table-label/collections-table-label.component.d.ts +0 -11
  86. package/collections/lib/components/collections-table-sorting/collections-table-sorting.component.d.ts +0 -18
  87. package/collections/lib/components/collections-viewer/collections-viewer.component.d.ts +0 -16
  88. package/collections/lib/directives/collections-data-row.directive.d.ts +0 -14
  89. package/collections/lib/directives/collections-data.directive.d.ts +0 -14
  90. package/collections/lib/directives/collections-empty.directive.d.ts +0 -14
  91. package/collections/lib/directives/collections-error.directive.d.ts +0 -14
  92. package/collections/lib/directives/collections-initial.directive.d.ts +0 -11
  93. package/collections/lib/directives/collections-item.directive.d.ts +0 -14
  94. package/collections/lib/interfaces/array-collection.interface.d.ts +0 -6
  95. package/collections/lib/interfaces/collection.interface.d.ts +0 -32
  96. package/collections/lib/providers/api-collection.provider.d.ts +0 -19
  97. package/collections/lib/providers/collection.provider.d.ts +0 -9
  98. package/collections/lib/providers/local-collection.provider.d.ts +0 -16
  99. package/collections/public_api.d.ts +0 -23
  100. package/combobox/combobox/combobox-container.directive.d.ts +0 -28
  101. package/combobox/combobox/combobox.component.d.ts +0 -37
  102. package/combobox/combobox-label.directive.d.ts +0 -5
  103. package/combobox/combobox-option.directive.d.ts +0 -7
  104. package/combobox/combobox-panel/combobox-panel.animation.d.ts +0 -1
  105. package/combobox/combobox-panel/combobox-panel.component.d.ts +0 -18
  106. package/combobox/combobox.interface.d.ts +0 -8
  107. package/combobox/public_api.d.ts +0 -3
  108. package/dashboard/lib/dashboard/dashboard.component.d.ts +0 -17
  109. package/dashboard/lib/dashboard-header/dashboard-header.component.d.ts +0 -9
  110. package/dashboard/lib/dashboard-menu/dashboard-menu.component.d.ts +0 -9
  111. package/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.d.ts +0 -8
  112. package/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.d.ts +0 -19
  113. package/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.d.ts +0 -22
  114. package/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.d.ts +0 -16
  115. package/dashboard/lib/dashboard.module.d.ts +0 -13
  116. package/dashboard/public_api.d.ts +0 -8
  117. package/dialog/lib/dialog-actions/dialog-actions.component.d.ts +0 -5
  118. package/dialog/lib/dialog-confirm/dialog-confirm.component.d.ts +0 -22
  119. package/dialog/lib/dialog-container/dialog-container.component.d.ts +0 -23
  120. package/dialog/lib/dialog-header/dialog-header.component.d.ts +0 -13
  121. package/dialog/lib/dialog-modal/dialog-modal.component.d.ts +0 -16
  122. package/dialog/lib/dialog-overlay/dialog-overlay.component.d.ts +0 -19
  123. package/dialog/lib/dialog.config.d.ts +0 -3
  124. package/dialog/lib/dialog.insertion.d.ts +0 -7
  125. package/dialog/lib/dialog.interfaces.d.ts +0 -21
  126. package/dialog/lib/dialog.module.d.ts +0 -17
  127. package/dialog/lib/dialog.ref.d.ts +0 -8
  128. package/dialog/lib/dialog.service.d.ts +0 -15
  129. package/dialog/lib/directives/confirm.directive.d.ts +0 -14
  130. package/dialog/public_api.d.ts +0 -10
  131. package/elements/lib/avatar/avatar.component.d.ts +0 -31
  132. package/elements/lib/button/button.component.d.ts +0 -21
  133. package/elements/lib/checkbox/checkbox.component.d.ts +0 -36
  134. package/elements/lib/checkbox-group/checkbox-group.component.d.ts +0 -13
  135. package/elements/lib/color-picker/color-picker.component.d.ts +0 -18
  136. package/elements/lib/color-slider/color-slider.component.d.ts +0 -24
  137. package/elements/lib/date-picker/date-picker.component.d.ts +0 -77
  138. package/elements/lib/directives/color-picker.directive.d.ts +0 -27
  139. package/elements/lib/directives/extra-error-controls.directive.d.ts +0 -13
  140. package/elements/lib/directives/file-drop.directive.d.ts +0 -13
  141. package/elements/lib/directives/form-submit.directive.d.ts +0 -17
  142. package/elements/lib/directives/form-submitter.directive.d.ts +0 -9
  143. package/elements/lib/directives/image-upload.directive.d.ts +0 -25
  144. package/elements/lib/directives/input.directive.d.ts +0 -16
  145. package/elements/lib/elements.config.d.ts +0 -3
  146. package/elements/lib/elements.inject.d.ts +0 -3
  147. package/elements/lib/elements.interfaces.d.ts +0 -41
  148. package/elements/lib/elements.module.d.ts +0 -39
  149. package/elements/lib/file-picker/file-picker.component.d.ts +0 -57
  150. package/elements/lib/form-control/form-control.component.d.ts +0 -20
  151. package/elements/lib/form-error/form-error.component.d.ts +0 -36
  152. package/elements/lib/form-group/form-group.component.d.ts +0 -7
  153. package/elements/lib/icon/icon.component.d.ts +0 -26
  154. package/elements/lib/image-control/image-control.component.d.ts +0 -44
  155. package/elements/lib/image-picker/image-picker.component.d.ts +0 -39
  156. package/elements/lib/multi-file-control/multi-file-control.component.d.ts +0 -72
  157. package/elements/lib/pincode-control/pincode-control.component.d.ts +0 -65
  158. package/elements/lib/pipes/date.pipe.d.ts +0 -9
  159. package/elements/lib/pipes/file-data-url.pipe.d.ts +0 -12
  160. package/elements/lib/pipes/file-image.pipe.d.ts +0 -14
  161. package/elements/lib/pipes/file-size.pipe.d.ts +0 -7
  162. package/elements/lib/pipes/relative-time.pipe.d.ts +0 -19
  163. package/elements/lib/radio-button/radio-button.component.d.ts +0 -16
  164. package/elements/lib/radio-group/radio-group.component.d.ts +0 -38
  165. package/elements/lib/spinner/spinner.component.d.ts +0 -9
  166. package/elements/public_api.d.ts +0 -35
  167. package/http/lib/classes/http.config.d.ts +0 -9
  168. package/http/lib/classes/http.error.d.ts +0 -7
  169. package/http/lib/http.config.d.ts +0 -5
  170. package/http/lib/http.interfaces.d.ts +0 -21
  171. package/http/lib/http.module.d.ts +0 -11
  172. package/http/lib/interceptors/base-url.interceptor.d.ts +0 -15
  173. package/http/lib/interceptors/error.interceptor.d.ts +0 -9
  174. package/http/public_api.d.ts +0 -7
  175. package/lib/core/colors/hex.d.ts +0 -18
  176. package/lib/core/colors/hsl.d.ts +0 -7
  177. package/lib/core/colors/hsv.d.ts +0 -13
  178. package/lib/core/colors/rgb.d.ts +0 -7
  179. package/lib/core/functions/array.utils.d.ts +0 -1
  180. package/lib/core/functions/date.utils.d.ts +0 -4
  181. package/lib/core/functions/file.utils.d.ts +0 -3
  182. package/lib/core/functions/format.utils.d.ts +0 -1
  183. package/lib/core/functions/password.utils.d.ts +0 -1
  184. package/lib/core/functions/route-cache.utils.d.ts +0 -10
  185. package/lib/core/functions/utils.d.ts +0 -1
  186. package/lib/core/miscellaneous/coercion.d.ts +0 -2
  187. package/lib/core/miscellaneous/regex.d.ts +0 -5
  188. package/lib/core/miscellaneous/validator.d.ts +0 -13
  189. package/lib/core/services/exif.service.d.ts +0 -12
  190. package/lib/core/services/file-loader.service.d.ts +0 -13
  191. package/lib/core/services/files.service.d.ts +0 -15
  192. package/lib/core/services/image-converter.service.d.ts +0 -17
  193. package/lib/core/services/languages.service.d.ts +0 -15
  194. package/lib/core/services/network.service.d.ts +0 -13
  195. package/lib/core/services/patch.service.d.ts +0 -14
  196. package/lib/core/tokens/accept-language.token.d.ts +0 -2
  197. package/lib/core/tokens/cookie.token.d.ts +0 -2
  198. package/lib/core/tokens/global-focus-mode.token.d.ts +0 -4
  199. package/lib/core/tokens/location.token.d.ts +0 -2
  200. package/lib/core/tokens/navigator.token.d.ts +0 -2
  201. package/lib/core/tokens/window.token.d.ts +0 -2
  202. package/localize/lib/dictionary/dictionary.class.d.ts +0 -28
  203. package/localize/lib/dictionary/dictionary.context.d.ts +0 -7
  204. package/localize/lib/dictionary/dictionary.data.d.ts +0 -7
  205. package/localize/lib/functions/date.function.d.ts +0 -5
  206. package/localize/lib/functions/lowercase.function.d.ts +0 -5
  207. package/localize/lib/functions/uppercase.function.d.ts +0 -5
  208. package/localize/lib/handlers/missing.handler.d.ts +0 -6
  209. package/localize/lib/interfaces/config.interfaces.d.ts +0 -18
  210. package/localize/lib/interfaces/functions.interfaces.d.ts +0 -7
  211. package/localize/lib/interfaces/handlers.interfaces.d.ts +0 -6
  212. package/localize/lib/interfaces/options.interfaces.d.ts +0 -11
  213. package/localize/lib/localizations/dutch.localization.d.ts +0 -74
  214. package/localize/lib/localizations/english.localization.d.ts +0 -74
  215. package/localize/lib/localizations/papiamento.localization.d.ts +0 -74
  216. package/localize/lib/localizations/spanish.localization.d.ts +0 -74
  217. package/localize/lib/localize.config.d.ts +0 -5
  218. package/localize/lib/localize.module.d.ts +0 -12
  219. package/localize/lib/localize.pipe.d.ts +0 -12
  220. package/localize/lib/localize.service.d.ts +0 -43
  221. package/localize/lib/localize.tokens.d.ts +0 -11
  222. package/localize/lib/transforms/abstract.transform.d.ts +0 -13
  223. package/localize/lib/transforms/interpolate.transform.d.ts +0 -13
  224. package/localize/lib/transforms/plural.transform.d.ts +0 -16
  225. package/localize/lib/transforms/reference.transform.d.ts +0 -9
  226. package/localize/lib/views/localize-string/localize-string.component.d.ts +0 -23
  227. package/localize/lib/views/localize-template.directive.d.ts +0 -9
  228. package/localize/public_api.d.ts +0 -26
  229. package/masking/lib/directives/currency-mask.directive.d.ts +0 -17
  230. package/masking/lib/directives/date-mask.directive.d.ts +0 -17
  231. package/masking/lib/directives/input-mask.directive.d.ts +0 -38
  232. package/masking/lib/input-mask.interface.d.ts +0 -19
  233. package/masking/lib/masking.module.d.ts +0 -9
  234. package/masking/lib/masking.service.d.ts +0 -12
  235. package/masking/public_api.d.ts +0 -6
  236. package/notifications/lib/notifications-item/notifications-item.component.d.ts +0 -33
  237. package/notifications/lib/notifications-list/notifications-list.component.d.ts +0 -18
  238. package/notifications/lib/notifications.animations.d.ts +0 -1
  239. package/notifications/lib/notifications.config.d.ts +0 -3
  240. package/notifications/lib/notifications.interfaces.d.ts +0 -36
  241. package/notifications/lib/notifications.module.d.ts +0 -9
  242. package/notifications/lib/notifications.service.d.ts +0 -30
  243. package/notifications/public_api.d.ts +0 -4
  244. package/permissions/lib/directives/permission.directive.d.ts +0 -27
  245. package/permissions/lib/guards/permission.guard.d.ts +0 -3
  246. package/permissions/lib/handlers/abstract.handler.d.ts +0 -4
  247. package/permissions/lib/handlers/local.handler.d.ts +0 -10
  248. package/permissions/lib/permissions.config.d.ts +0 -3
  249. package/permissions/lib/permissions.interface.d.ts +0 -13
  250. package/permissions/lib/permissions.module.d.ts +0 -10
  251. package/permissions/lib/permissions.service.d.ts +0 -23
  252. package/permissions/public_api.d.ts +0 -8
  253. package/public_api.d.ts +0 -27
  254. package/recaptcha/lib/recaptcha/recaptcha.component.d.ts +0 -47
  255. package/recaptcha/lib/recaptcha-loader.service.d.ts +0 -19
  256. package/recaptcha/lib/recaptcha.config.d.ts +0 -3
  257. package/recaptcha/lib/recaptcha.interface.d.ts +0 -13
  258. package/recaptcha/lib/recaptcha.module.d.ts +0 -10
  259. package/recaptcha/public_api.d.ts +0 -5
  260. package/rxjs/lib/observables/get-control-value.observable.d.ts +0 -3
  261. package/rxjs/lib/observables/get-route-param.observable.d.ts +0 -3
  262. package/rxjs/lib/operators/combine-latest-map.operator.d.ts +0 -8
  263. package/rxjs/lib/operators/filter-nil.operator.d.ts +0 -1
  264. package/rxjs/public_api.d.ts +0 -4
  265. package/select/lib/select/select.component.d.ts +0 -94
  266. package/select/lib/select-label.directive.d.ts +0 -7
  267. package/select/lib/select-multi-label.directive.d.ts +0 -7
  268. package/select/lib/select-option-group.directive.d.ts +0 -7
  269. package/select/lib/select-option.directive.d.ts +0 -7
  270. package/select/lib/select.config.d.ts +0 -2
  271. package/select/lib/select.module.d.ts +0 -11
  272. package/select/public_api.d.ts +0 -7
  273. package/storage/lib/interfaces/attributes.interface.d.ts +0 -13
  274. package/storage/lib/interfaces/memory.interface.d.ts +0 -7
  275. package/storage/lib/interfaces/strategy.interface.d.ts +0 -17
  276. package/storage/lib/storage.service.d.ts +0 -25
  277. package/storage/lib/strategies/cookie-storage.strategy.d.ts +0 -20
  278. package/storage/lib/strategies/memory-storage.strategy.d.ts +0 -11
  279. package/storage/lib/strategies/polyfill-storage.strategy.d.ts +0 -15
  280. package/storage/public_api.d.ts +0 -7
  281. package/table/lib/components/table/table.component.d.ts +0 -57
  282. package/table/lib/components/table-cell/table-cell.component.d.ts +0 -5
  283. package/table/lib/components/table-header-cell/table-header-cell.component.d.ts +0 -26
  284. package/table/lib/components/table-pager/table-pager.component.d.ts +0 -40
  285. package/table/lib/data/datasource.data.d.ts +0 -14
  286. package/table/lib/data/generic.data.d.ts +0 -25
  287. package/table/lib/interfaces/datasource.interface.d.ts +0 -17
  288. package/table/lib/interfaces/table.interfaces.d.ts +0 -11
  289. package/table/lib/table.config.d.ts +0 -3
  290. package/table/lib/table.module.d.ts +0 -10
  291. package/table/public_api.d.ts +0 -10
  292. package/tooltip/lib/tooltip-container/tooltip-container.component.d.ts +0 -9
  293. package/tooltip/lib/tooltip.directive.d.ts +0 -23
  294. package/tooltip/lib/tooltip.interfaces.d.ts +0 -4
  295. package/tooltip/lib/tooltip.module.d.ts +0 -7
  296. package/tooltip/public_api.d.ts +0 -4
  297. package/utils/lib/directives/autosize.directive.d.ts +0 -19
  298. package/utils/lib/directives/focus-trap.directive.d.ts +0 -14
  299. package/utils/lib/directives/focus.directive.d.ts +0 -16
  300. package/utils/lib/directives/template.directive.d.ts +0 -10
  301. package/utils/lib/utils.module.d.ts +0 -10
  302. package/utils/public_api.d.ts +0 -5
@@ -1,5 +1,58 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@bravobit/bb-foundation/combobox" />
5
- export * from './public_api';
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit, OnDestroy, TemplateRef, EventEmitter } from '@angular/core';
3
+ import { Observable } from 'rxjs';
4
+
5
+ interface ComboboxItem<T> {
6
+ label: any;
7
+ value: any;
8
+ data: T;
9
+ }
10
+ interface ComboboxOptionContext {
11
+ item: ComboboxItem<unknown>;
12
+ }
13
+
14
+ declare class BbComboboxLabel {
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbComboboxLabel, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbComboboxLabel, "[bbComboboxLabel]", never, {}, {}, never, never, true, never>;
17
+ }
18
+
19
+ declare class BbCombobox<T = unknown> implements OnInit, OnDestroy {
20
+ labelComponent?: TemplateRef<BbComboboxLabel>;
21
+ optionTemplate?: TemplateRef<ComboboxOptionContext>;
22
+ value: T | null;
23
+ bindLabel: string | null;
24
+ bindValue: string | null;
25
+ disabled: boolean;
26
+ set data(items: T[] | Observable<T[]>);
27
+ get data(): T[] | Observable<T[]>;
28
+ valueChange: EventEmitter<T>;
29
+ items$: Observable<ComboboxItem<T>[]>;
30
+ onChange: (newValue: T) => void;
31
+ onTouched: () => void;
32
+ private _cache$;
33
+ private _dataSubscription;
34
+ ngOnInit(): void;
35
+ ngOnDestroy(): void;
36
+ registerOnChange(fn: (newValue: T) => void): void;
37
+ registerOnTouched(fn: () => void): void;
38
+ setDisabledState(isDisabled: boolean): void;
39
+ writeValue(newValue: T): void;
40
+ select(value: T): void;
41
+ private setItems;
42
+ private createComboboxItem;
43
+ private setCache;
44
+ private handleData;
45
+ private handleDataObservable;
46
+ private emitChangeEvent;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCombobox<any>, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbCombobox<any>, "bb-combobox", never, { "value": { "alias": "value"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "valueChange": "valueChange"; }, ["labelComponent", "optionTemplate"], never, true, never>;
49
+ static ngAcceptInputType_disabled: unknown;
50
+ }
51
+
52
+ declare class BbComboboxOption {
53
+ static ngTemplateContextGuard(directive: BbComboboxOption, context: unknown): context is ComboboxOptionContext;
54
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbComboboxOption, never>;
55
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbComboboxOption, "ng-template[bbComboboxOption]", never, {}, {}, never, never, true, never>;
56
+ }
57
+
58
+ export { BbCombobox, BbComboboxLabel, BbComboboxOption };
@@ -1,5 +1,104 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@bravobit/bb-foundation/dashboard" />
5
- export * from './public_api';
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit, OnDestroy } from '@angular/core';
3
+ import * as rxjs from 'rxjs';
4
+ import { BehaviorSubject } from 'rxjs';
5
+
6
+ declare class BbDashboardSidebar implements OnInit {
7
+ private readonly _localStorageToken;
8
+ private readonly _storage;
9
+ visibilityChanges: BehaviorSubject<boolean>;
10
+ private _state$;
11
+ private _cache;
12
+ ngOnInit(): void;
13
+ registerGroup(id: string): rxjs.Observable<boolean>;
14
+ unregisterGroup(id: string): void;
15
+ toggleGroup(id: string, newValue: boolean): void;
16
+ toggle(): void;
17
+ open(): void;
18
+ close(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardSidebar, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardSidebar, "bb-dashboard-sidebar", never, {}, {}, never, ["header", "bb-dashboard-sidebar-group", "footer"], true, never>;
21
+ }
22
+
23
+ declare class BbDashboard implements OnInit, OnDestroy {
24
+ private readonly _patch;
25
+ private readonly _platform;
26
+ private readonly _renderer;
27
+ sidebar?: BbDashboardSidebar;
28
+ backgroundColor: string;
29
+ maxWidth: string;
30
+ padding: string;
31
+ ngOnInit(): void;
32
+ ngOnDestroy(): void;
33
+ private setHtmlClass;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboard, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboard, "bb-dashboard", never, { "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; }, {}, ["sidebar"], ["bb-dashboard-sidebar", "bb-dashboard-header", "bb-dashboard-menu", "*", "bb-dashboard-footer"], true, never>;
36
+ }
37
+
38
+ declare class BbDashboardHeader {
39
+ private readonly _parent;
40
+ get showSidebarButton(): boolean;
41
+ get isSidebarVisible(): rxjs.Observable<boolean>;
42
+ onToggleSidebarClicked(): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardHeader, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardHeader, "bb-dashboard-header", never, {}, {}, never, ["*"], true, never>;
45
+ }
46
+
47
+ declare class BbDashboardMenu {
48
+ title: string | null;
49
+ imageUrl: string | null;
50
+ backUrlLink: string | null;
51
+ backUrlTitle: string | null;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardMenu, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardMenu, "bb-dashboard-menu", never, { "title": { "alias": "title"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "backUrlLink": { "alias": "backUrlLink"; "required": false; }; "backUrlTitle": { "alias": "backUrlTitle"; "required": false; }; }, {}, never, ["[bb-dashboard-menu-item]"], true, never>;
54
+ }
55
+
56
+ declare class BbDashboardMenuItem {
57
+ disabled: boolean;
58
+ stopDisabledEvents(event: Event): void;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardMenuItem, never>;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardMenuItem, "[bb-dashboard-menu-item]", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["[bbPrefix]", "*", "[bbSuffix]"], true, never>;
61
+ static ngAcceptInputType_disabled: unknown;
62
+ }
63
+
64
+ declare class BbDashboardSidebarGroup implements OnInit, OnDestroy {
65
+ private _parent;
66
+ id: string | null;
67
+ icon: string | null;
68
+ title: string | null;
69
+ disabled: boolean;
70
+ private _isExpanded;
71
+ private _subscription;
72
+ constructor(_parent: BbDashboardSidebar);
73
+ get hasToggle(): boolean;
74
+ get isExpanded(): boolean;
75
+ ngOnInit(): void;
76
+ ngOnDestroy(): void;
77
+ onClick(): void;
78
+ onGroupClicked(event: MouseEvent): void;
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardSidebarGroup, [{ optional: true; }]>;
80
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardSidebarGroup, "bb-dashboard-sidebar-group", never, { "id": { "alias": "id"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["[bb-dashboard-sidebar-item]"], true, never>;
81
+ static ngAcceptInputType_disabled: unknown;
82
+ }
83
+
84
+ declare class BbDashboardSidebarItem {
85
+ private _sidebar;
86
+ private _group;
87
+ tabIndex: number;
88
+ constructor(_sidebar: BbDashboardSidebar, _group: BbDashboardSidebarGroup);
89
+ onClick(): void;
90
+ get attributeTabIndex(): number;
91
+ get isHidden(): boolean;
92
+ private get isVisible();
93
+ private get isDisabled();
94
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDashboardSidebarItem, [{ optional: true; }, { optional: true; }]>;
95
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDashboardSidebarItem, "[bb-dashboard-sidebar-item]", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["*"], true, never>;
96
+ }
97
+
98
+ declare class DashboardModule {
99
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardModule, never>;
100
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardModule, never, [typeof BbDashboard, typeof BbDashboardHeader, typeof BbDashboardMenu, typeof BbDashboardMenuItem, typeof BbDashboardSidebar, typeof BbDashboardSidebarGroup, typeof BbDashboardSidebarItem], [typeof BbDashboard, typeof BbDashboardHeader, typeof BbDashboardMenu, typeof BbDashboardMenuItem, typeof BbDashboardSidebar, typeof BbDashboardSidebarGroup, typeof BbDashboardSidebarItem]>;
101
+ static ɵinj: i0.ɵɵInjectorDeclaration<DashboardModule>;
102
+ }
103
+
104
+ export { BbDashboard, BbDashboardHeader, BbDashboardMenu, BbDashboardMenuItem, BbDashboardSidebar, BbDashboardSidebarGroup, BbDashboardSidebarItem, DashboardModule };
package/dialog/index.d.ts CHANGED
@@ -1,5 +1,168 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@bravobit/bb-foundation/dialog" />
5
- export * from './public_api';
1
+ import * as rxjs from 'rxjs';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import * as i0 from '@angular/core';
4
+ import { InjectionToken, OnInit, OnDestroy, EventEmitter, Type, TemplateRef, EnvironmentProviders, ViewContainerRef, ComponentRef, ModuleWithProviders } from '@angular/core';
5
+
6
+ declare class BbDialogRef<T = any> {
7
+ private readonly _afterClosed$;
8
+ private readonly _overlayClicked$;
9
+ readonly afterClosed: rxjs.Observable<T>;
10
+ readonly overlayClicked: rxjs.Observable<void>;
11
+ onOverlayClicked(): void;
12
+ close(result?: T): void;
13
+ }
14
+
15
+ declare class BbDialogConfig<T = any> {
16
+ data?: T;
17
+ }
18
+ interface DialogConfirmOptions {
19
+ cancelButtonClass: string;
20
+ cancelButtonText: string;
21
+ confirmButtonText: string;
22
+ confirmButtonClass: string;
23
+ confirmIconName: string;
24
+ width: string;
25
+ onConfirmed: () => Promise<any>;
26
+ }
27
+ declare class DialogConfig {
28
+ animationMs?: number;
29
+ icons?: {
30
+ closeIcon?: string;
31
+ confirmIcon?: string;
32
+ };
33
+ }
34
+ declare const DIALOG_CONFIG: InjectionToken<DialogConfig>;
35
+
36
+ declare class BbDialogOverlay implements OnInit, OnDestroy {
37
+ private readonly _config?;
38
+ private readonly _renderer;
39
+ private readonly _elementRef;
40
+ private readonly _document;
41
+ closeRequestedDisabled: boolean;
42
+ closeRequested: EventEmitter<void>;
43
+ private _subscription;
44
+ ngOnInit(): void;
45
+ ngOnDestroy(): void;
46
+ close(): Promise<0>;
47
+ private handleOverlayClicks;
48
+ private getMoveDistance;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogOverlay, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogOverlay, "bb-dialog-overlay", never, { "closeRequestedDisabled": { "alias": "closeRequestedDisabled"; "required": false; }; }, { "closeRequested": "closeRequested"; }, never, ["[bb-dialog-modal]"], true, never>;
51
+ static ngAcceptInputType_closeRequestedDisabled: unknown;
52
+ }
53
+
54
+ declare class BbDialogModal implements OnInit {
55
+ private readonly _renderer;
56
+ private readonly _document;
57
+ maxWidth: string | null;
58
+ fullscreen: boolean;
59
+ withoutBodyPadding: boolean;
60
+ ngOnInit(): void;
61
+ ngOnDestroy(): void;
62
+ private allowGlobalOverflow;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogModal, never>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogModal, "[bb-dialog-modal]", never, { "maxWidth": { "alias": "maxWidth"; "required": false; }; "fullscreen": { "alias": "fullscreen"; "required": false; }; "withoutBodyPadding": { "alias": "withoutBodyPadding"; "required": false; }; }, {}, never, ["[bb-dialog-header]", "*", "[bb-dialog-actions]"], true, never>;
65
+ static ngAcceptInputType_fullscreen: unknown;
66
+ static ngAcceptInputType_withoutBodyPadding: unknown;
67
+ }
68
+
69
+ declare class BbDialogHeader {
70
+ private readonly _config;
71
+ readonly closeIconName: string;
72
+ icon: string | null;
73
+ closeRequestedDisabled: boolean;
74
+ closeRequested: EventEmitter<void>;
75
+ onKeyEvent(event: KeyboardEvent): void;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogHeader, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogHeader, "[bb-dialog-header]", never, { "icon": { "alias": "icon"; "required": false; }; "closeRequestedDisabled": { "alias": "closeRequestedDisabled"; "required": false; }; }, { "closeRequested": "closeRequested"; }, never, ["*"], true, never>;
78
+ static ngAcceptInputType_closeRequestedDisabled: unknown;
79
+ }
80
+
81
+ declare class BbDialogActions {
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogActions, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogActions, "[bb-dialog-actions]", never, {}, {}, never, ["*"], true, never>;
84
+ }
85
+
86
+ declare class BbConfirm {
87
+ private _dialog;
88
+ bbConfirmTitle: string;
89
+ bbConfirmDescription: string;
90
+ bbConfirmIconName: string | null;
91
+ bbConfirmButtonText: string | null;
92
+ bbCancelButtonText: string | null;
93
+ confirm: EventEmitter<MouseEvent>;
94
+ onClick(event: MouseEvent): Promise<void>;
95
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbConfirm, never>;
96
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbConfirm, "[bbConfirm]", never, { "bbConfirmTitle": { "alias": "bbConfirmTitle"; "required": false; }; "bbConfirmDescription": { "alias": "bbConfirmDescription"; "required": false; }; "bbConfirmIconName": { "alias": "bbConfirmIconName"; "required": false; }; "bbConfirmButtonText": { "alias": "bbConfirmButtonText"; "required": false; }; "bbCancelButtonText": { "alias": "bbCancelButtonText"; "required": false; }; }, { "confirm": "bbConfirm"; }, never, never, true, never>;
97
+ }
98
+
99
+ declare class Dialog {
100
+ private readonly _config?;
101
+ private readonly _applicationRef;
102
+ private readonly _environmentInjector;
103
+ open<T = any>(componentType: Type<any>, config?: BbDialogConfig): BbDialogRef<T>;
104
+ confirm(title: string | TemplateRef<any>, description: string | TemplateRef<any>, options?: Partial<DialogConfirmOptions>): Promise<boolean>;
105
+ private createDialog;
106
+ private deleteDialog;
107
+ static ɵfac: i0.ɵɵFactoryDeclaration<Dialog, never>;
108
+ static ɵprov: i0.ɵɵInjectableDeclaration<Dialog>;
109
+ }
110
+
111
+ declare function provideDialogConfig(config?: DialogConfig): EnvironmentProviders;
112
+
113
+ declare class BbDialogInsertion {
114
+ readonly viewContainerRef: ViewContainerRef;
115
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogInsertion, never>;
116
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbDialogInsertion, "[bbDialogInsertion]", never, {}, {}, never, never, true, never>;
117
+ }
118
+
119
+ declare class BbDialogContainer implements OnInit, OnDestroy {
120
+ private readonly _config?;
121
+ private readonly _renderer;
122
+ private readonly _elementRef;
123
+ private readonly _document;
124
+ insertion: BbDialogInsertion;
125
+ componentRef: ComponentRef<any> | null;
126
+ childComponentType: Type<any> | null;
127
+ private _overlayClicked$;
128
+ onOverlayClicked: rxjs.Observable<void>;
129
+ private _subscription;
130
+ ngOnInit(): void;
131
+ ngOnDestroy(): void;
132
+ close(): Promise<0>;
133
+ private loadChildComponent;
134
+ private handleOverlayClicks;
135
+ private getMoveDistance;
136
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogContainer, never>;
137
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogContainer, "bb-dialog-container", never, {}, {}, never, never, true, never>;
138
+ }
139
+
140
+ declare class BbDialogConfirm {
141
+ private readonly _config;
142
+ private readonly _dialogRef;
143
+ readonly dialogId: string;
144
+ readonly title: string | TemplateRef<any>;
145
+ readonly description: string | TemplateRef<any>;
146
+ readonly confirmButtonText: string;
147
+ readonly cancelButtonText: string;
148
+ readonly confirmButtonClass: string;
149
+ readonly cancelButtonClass: string;
150
+ readonly onConfirmed: () => Promise<any>;
151
+ readonly icon: string;
152
+ readonly width: string;
153
+ loading$: BehaviorSubject<boolean>;
154
+ onClose(result: boolean): Promise<void>;
155
+ onConfirmedClose(): Promise<void>;
156
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDialogConfirm, never>;
157
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDialogConfirm, "bb-dialog-confirm", never, {}, {}, never, never, true, never>;
158
+ }
159
+
160
+ declare class DialogModule {
161
+ static forRoot(config?: DialogConfig): ModuleWithProviders<DialogModule>;
162
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
163
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, never, [typeof BbDialogContainer, typeof BbDialogOverlay, typeof BbDialogModal, typeof BbDialogHeader, typeof BbDialogActions, typeof BbDialogConfirm, typeof BbDialogInsertion, typeof BbConfirm], [typeof BbDialogOverlay, typeof BbDialogModal, typeof BbDialogHeader, typeof BbDialogActions, typeof BbConfirm]>;
164
+ static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
165
+ }
166
+
167
+ export { BbConfirm, BbDialogActions, BbDialogConfig, BbDialogHeader, BbDialogModal, BbDialogOverlay, BbDialogRef, DIALOG_CONFIG, Dialog, DialogConfig, DialogModule, provideDialogConfig };
168
+ export type { DialogConfirmOptions };