@bravobit/bb-foundation 0.54.3 → 0.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) 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-collections.mjs +44 -44
  9. package/fesm2022/bravobit-bb-foundation-collections.mjs.map +1 -1
  10. package/fesm2022/bravobit-bb-foundation-combobox.mjs +15 -15
  11. package/fesm2022/bravobit-bb-foundation-dashboard.mjs +25 -25
  12. package/fesm2022/bravobit-bb-foundation-dialog.mjs +33 -33
  13. package/fesm2022/bravobit-bb-foundation-dialog.mjs.map +1 -1
  14. package/fesm2022/bravobit-bb-foundation-elements.mjs +102 -102
  15. package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
  16. package/fesm2022/bravobit-bb-foundation-http.mjs +10 -10
  17. package/fesm2022/bravobit-bb-foundation-localize.mjs +18 -18
  18. package/fesm2022/bravobit-bb-foundation-localize.mjs.map +1 -1
  19. package/fesm2022/bravobit-bb-foundation-masking.mjs +16 -16
  20. package/fesm2022/bravobit-bb-foundation-notifications.mjs +15 -15
  21. package/fesm2022/bravobit-bb-foundation-notifications.mjs.map +1 -1
  22. package/fesm2022/bravobit-bb-foundation-permissions.mjs +10 -10
  23. package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +11 -12
  24. package/fesm2022/bravobit-bb-foundation-recaptcha.mjs.map +1 -1
  25. package/fesm2022/bravobit-bb-foundation-select.mjs +21 -21
  26. package/fesm2022/bravobit-bb-foundation-select.mjs.map +1 -1
  27. package/fesm2022/bravobit-bb-foundation-storage.mjs +3 -3
  28. package/fesm2022/bravobit-bb-foundation-table.mjs +22 -22
  29. package/fesm2022/bravobit-bb-foundation-tooltip.mjs +10 -10
  30. package/fesm2022/bravobit-bb-foundation-utils.mjs +16 -16
  31. package/fesm2022/bravobit-bb-foundation.mjs +25 -25
  32. package/fesm2022/bravobit-bb-foundation.mjs.map +1 -1
  33. package/http/index.d.ts +78 -5
  34. package/index.d.ts +215 -5
  35. package/localize/index.d.ts +546 -5
  36. package/masking/index.d.ts +104 -5
  37. package/notifications/index.d.ts +78 -5
  38. package/package.json +21 -21
  39. package/permissions/index.d.ts +89 -5
  40. package/recaptcha/index.d.ts +92 -5
  41. package/rxjs/index.d.ts +19 -5
  42. package/select/index.d.ts +129 -5
  43. package/storage/index.d.ts +109 -5
  44. package/table/index.d.ts +197 -5
  45. package/tooltip/index.d.ts +45 -5
  46. package/utils/index.d.ts +66 -5
  47. package/auth/lib/acting.interceptor.d.ts +0 -9
  48. package/auth/lib/acting.service.d.ts +0 -17
  49. package/auth/lib/auth.config.d.ts +0 -3
  50. package/auth/lib/auth.interceptor.d.ts +0 -20
  51. package/auth/lib/auth.module.d.ts +0 -10
  52. package/auth/lib/auth.service.d.ts +0 -51
  53. package/auth/lib/auth.session.d.ts +0 -50
  54. package/auth/lib/directives/anonymous.directive.d.ts +0 -20
  55. package/auth/lib/directives/authenticated.directive.d.ts +0 -20
  56. package/auth/lib/guards/anonymous.guard.d.ts +0 -2
  57. package/auth/lib/guards/authenticated.guard.d.ts +0 -2
  58. package/auth/lib/helpers/jwt.helper.d.ts +0 -8
  59. package/auth/lib/interfaces/config.interface.d.ts +0 -27
  60. package/auth/lib/interfaces/provider.interface.d.ts +0 -23
  61. package/auth/lib/interfaces/token.interface.d.ts +0 -11
  62. package/auth/lib/providers/email.provider.d.ts +0 -9
  63. package/auth/lib/providers/verify.provider.d.ts +0 -9
  64. package/auth/lib/tokens/use-authorization.token.d.ts +0 -2
  65. package/auth/public_api.d.ts +0 -17
  66. package/collections/lib/classes/array.collection.d.ts +0 -17
  67. package/collections/lib/collection.d.ts +0 -40
  68. package/collections/lib/collections.config.d.ts +0 -3
  69. package/collections/lib/collections.interfaces.d.ts +0 -10
  70. package/collections/lib/collections.module.d.ts +0 -19
  71. package/collections/lib/components/collections-actions/collections-actions.component.d.ts +0 -13
  72. package/collections/lib/components/collections-grid/collections-grid.component.d.ts +0 -18
  73. package/collections/lib/components/collections-pager/collections-pager.component.d.ts +0 -38
  74. package/collections/lib/components/collections-table/collections-table.component.d.ts +0 -26
  75. package/collections/lib/components/collections-table-label/collections-table-label.component.d.ts +0 -11
  76. package/collections/lib/components/collections-table-sorting/collections-table-sorting.component.d.ts +0 -18
  77. package/collections/lib/components/collections-viewer/collections-viewer.component.d.ts +0 -16
  78. package/collections/lib/directives/collections-data-row.directive.d.ts +0 -14
  79. package/collections/lib/directives/collections-data.directive.d.ts +0 -14
  80. package/collections/lib/directives/collections-empty.directive.d.ts +0 -14
  81. package/collections/lib/directives/collections-error.directive.d.ts +0 -14
  82. package/collections/lib/directives/collections-initial.directive.d.ts +0 -11
  83. package/collections/lib/directives/collections-item.directive.d.ts +0 -14
  84. package/collections/lib/interfaces/array-collection.interface.d.ts +0 -6
  85. package/collections/lib/interfaces/collection.interface.d.ts +0 -32
  86. package/collections/lib/providers/api-collection.provider.d.ts +0 -19
  87. package/collections/lib/providers/collection.provider.d.ts +0 -9
  88. package/collections/lib/providers/local-collection.provider.d.ts +0 -16
  89. package/collections/public_api.d.ts +0 -23
  90. package/combobox/combobox/combobox-container.directive.d.ts +0 -28
  91. package/combobox/combobox/combobox.component.d.ts +0 -37
  92. package/combobox/combobox-label.directive.d.ts +0 -5
  93. package/combobox/combobox-option.directive.d.ts +0 -7
  94. package/combobox/combobox-panel/combobox-panel.animation.d.ts +0 -1
  95. package/combobox/combobox-panel/combobox-panel.component.d.ts +0 -18
  96. package/combobox/combobox.interface.d.ts +0 -8
  97. package/combobox/public_api.d.ts +0 -3
  98. package/dashboard/lib/dashboard/dashboard.component.d.ts +0 -17
  99. package/dashboard/lib/dashboard-header/dashboard-header.component.d.ts +0 -9
  100. package/dashboard/lib/dashboard-menu/dashboard-menu.component.d.ts +0 -9
  101. package/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.d.ts +0 -8
  102. package/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.d.ts +0 -19
  103. package/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.d.ts +0 -22
  104. package/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.d.ts +0 -16
  105. package/dashboard/lib/dashboard.module.d.ts +0 -13
  106. package/dashboard/public_api.d.ts +0 -8
  107. package/dialog/lib/dialog-actions/dialog-actions.component.d.ts +0 -5
  108. package/dialog/lib/dialog-confirm/dialog-confirm.component.d.ts +0 -22
  109. package/dialog/lib/dialog-container/dialog-container.component.d.ts +0 -23
  110. package/dialog/lib/dialog-header/dialog-header.component.d.ts +0 -13
  111. package/dialog/lib/dialog-modal/dialog-modal.component.d.ts +0 -16
  112. package/dialog/lib/dialog-overlay/dialog-overlay.component.d.ts +0 -19
  113. package/dialog/lib/dialog.config.d.ts +0 -3
  114. package/dialog/lib/dialog.insertion.d.ts +0 -7
  115. package/dialog/lib/dialog.interfaces.d.ts +0 -21
  116. package/dialog/lib/dialog.module.d.ts +0 -17
  117. package/dialog/lib/dialog.ref.d.ts +0 -8
  118. package/dialog/lib/dialog.service.d.ts +0 -15
  119. package/dialog/lib/directives/confirm.directive.d.ts +0 -14
  120. package/dialog/public_api.d.ts +0 -10
  121. package/elements/lib/avatar/avatar.component.d.ts +0 -31
  122. package/elements/lib/button/button.component.d.ts +0 -21
  123. package/elements/lib/checkbox/checkbox.component.d.ts +0 -36
  124. package/elements/lib/checkbox-group/checkbox-group.component.d.ts +0 -13
  125. package/elements/lib/color-picker/color-picker.component.d.ts +0 -18
  126. package/elements/lib/color-slider/color-slider.component.d.ts +0 -24
  127. package/elements/lib/date-picker/date-picker.component.d.ts +0 -77
  128. package/elements/lib/directives/color-picker.directive.d.ts +0 -27
  129. package/elements/lib/directives/extra-error-controls.directive.d.ts +0 -13
  130. package/elements/lib/directives/file-drop.directive.d.ts +0 -13
  131. package/elements/lib/directives/form-submit.directive.d.ts +0 -17
  132. package/elements/lib/directives/form-submitter.directive.d.ts +0 -9
  133. package/elements/lib/directives/image-upload.directive.d.ts +0 -25
  134. package/elements/lib/directives/input.directive.d.ts +0 -16
  135. package/elements/lib/elements.config.d.ts +0 -3
  136. package/elements/lib/elements.inject.d.ts +0 -3
  137. package/elements/lib/elements.interfaces.d.ts +0 -41
  138. package/elements/lib/elements.module.d.ts +0 -39
  139. package/elements/lib/file-picker/file-picker.component.d.ts +0 -57
  140. package/elements/lib/form-control/form-control.component.d.ts +0 -20
  141. package/elements/lib/form-error/form-error.component.d.ts +0 -36
  142. package/elements/lib/form-group/form-group.component.d.ts +0 -7
  143. package/elements/lib/icon/icon.component.d.ts +0 -26
  144. package/elements/lib/image-control/image-control.component.d.ts +0 -44
  145. package/elements/lib/image-picker/image-picker.component.d.ts +0 -39
  146. package/elements/lib/multi-file-control/multi-file-control.component.d.ts +0 -72
  147. package/elements/lib/pincode-control/pincode-control.component.d.ts +0 -65
  148. package/elements/lib/pipes/date.pipe.d.ts +0 -9
  149. package/elements/lib/pipes/file-data-url.pipe.d.ts +0 -12
  150. package/elements/lib/pipes/file-image.pipe.d.ts +0 -14
  151. package/elements/lib/pipes/file-size.pipe.d.ts +0 -7
  152. package/elements/lib/pipes/relative-time.pipe.d.ts +0 -19
  153. package/elements/lib/radio-button/radio-button.component.d.ts +0 -16
  154. package/elements/lib/radio-group/radio-group.component.d.ts +0 -38
  155. package/elements/lib/spinner/spinner.component.d.ts +0 -9
  156. package/elements/public_api.d.ts +0 -35
  157. package/http/lib/classes/http.config.d.ts +0 -9
  158. package/http/lib/classes/http.error.d.ts +0 -7
  159. package/http/lib/http.config.d.ts +0 -5
  160. package/http/lib/http.interfaces.d.ts +0 -21
  161. package/http/lib/http.module.d.ts +0 -11
  162. package/http/lib/interceptors/base-url.interceptor.d.ts +0 -15
  163. package/http/lib/interceptors/error.interceptor.d.ts +0 -9
  164. package/http/public_api.d.ts +0 -7
  165. package/lib/core/colors/hex.d.ts +0 -18
  166. package/lib/core/colors/hsl.d.ts +0 -7
  167. package/lib/core/colors/hsv.d.ts +0 -13
  168. package/lib/core/colors/rgb.d.ts +0 -7
  169. package/lib/core/functions/array.utils.d.ts +0 -1
  170. package/lib/core/functions/date.utils.d.ts +0 -4
  171. package/lib/core/functions/file.utils.d.ts +0 -3
  172. package/lib/core/functions/format.utils.d.ts +0 -1
  173. package/lib/core/functions/password.utils.d.ts +0 -1
  174. package/lib/core/functions/route-cache.utils.d.ts +0 -10
  175. package/lib/core/functions/utils.d.ts +0 -1
  176. package/lib/core/miscellaneous/coercion.d.ts +0 -2
  177. package/lib/core/miscellaneous/regex.d.ts +0 -5
  178. package/lib/core/miscellaneous/validator.d.ts +0 -13
  179. package/lib/core/services/exif.service.d.ts +0 -12
  180. package/lib/core/services/file-loader.service.d.ts +0 -13
  181. package/lib/core/services/files.service.d.ts +0 -15
  182. package/lib/core/services/image-converter.service.d.ts +0 -17
  183. package/lib/core/services/languages.service.d.ts +0 -15
  184. package/lib/core/services/network.service.d.ts +0 -13
  185. package/lib/core/services/patch.service.d.ts +0 -14
  186. package/lib/core/tokens/accept-language.token.d.ts +0 -2
  187. package/lib/core/tokens/cookie.token.d.ts +0 -2
  188. package/lib/core/tokens/global-focus-mode.token.d.ts +0 -4
  189. package/lib/core/tokens/location.token.d.ts +0 -2
  190. package/lib/core/tokens/navigator.token.d.ts +0 -2
  191. package/lib/core/tokens/window.token.d.ts +0 -2
  192. package/localize/lib/dictionary/dictionary.class.d.ts +0 -28
  193. package/localize/lib/dictionary/dictionary.context.d.ts +0 -7
  194. package/localize/lib/dictionary/dictionary.data.d.ts +0 -7
  195. package/localize/lib/functions/date.function.d.ts +0 -5
  196. package/localize/lib/functions/lowercase.function.d.ts +0 -5
  197. package/localize/lib/functions/uppercase.function.d.ts +0 -5
  198. package/localize/lib/handlers/missing.handler.d.ts +0 -6
  199. package/localize/lib/interfaces/config.interfaces.d.ts +0 -18
  200. package/localize/lib/interfaces/functions.interfaces.d.ts +0 -7
  201. package/localize/lib/interfaces/handlers.interfaces.d.ts +0 -6
  202. package/localize/lib/interfaces/options.interfaces.d.ts +0 -11
  203. package/localize/lib/localizations/dutch.localization.d.ts +0 -74
  204. package/localize/lib/localizations/english.localization.d.ts +0 -74
  205. package/localize/lib/localizations/papiamento.localization.d.ts +0 -74
  206. package/localize/lib/localizations/spanish.localization.d.ts +0 -74
  207. package/localize/lib/localize.config.d.ts +0 -5
  208. package/localize/lib/localize.module.d.ts +0 -12
  209. package/localize/lib/localize.pipe.d.ts +0 -12
  210. package/localize/lib/localize.service.d.ts +0 -43
  211. package/localize/lib/localize.tokens.d.ts +0 -11
  212. package/localize/lib/transforms/abstract.transform.d.ts +0 -13
  213. package/localize/lib/transforms/interpolate.transform.d.ts +0 -13
  214. package/localize/lib/transforms/plural.transform.d.ts +0 -16
  215. package/localize/lib/transforms/reference.transform.d.ts +0 -9
  216. package/localize/lib/views/localize-string/localize-string.component.d.ts +0 -23
  217. package/localize/lib/views/localize-template.directive.d.ts +0 -9
  218. package/localize/public_api.d.ts +0 -26
  219. package/masking/lib/directives/currency-mask.directive.d.ts +0 -17
  220. package/masking/lib/directives/date-mask.directive.d.ts +0 -17
  221. package/masking/lib/directives/input-mask.directive.d.ts +0 -38
  222. package/masking/lib/input-mask.interface.d.ts +0 -19
  223. package/masking/lib/masking.module.d.ts +0 -9
  224. package/masking/lib/masking.service.d.ts +0 -12
  225. package/masking/public_api.d.ts +0 -6
  226. package/notifications/lib/notifications-item/notifications-item.component.d.ts +0 -33
  227. package/notifications/lib/notifications-list/notifications-list.component.d.ts +0 -18
  228. package/notifications/lib/notifications.animations.d.ts +0 -1
  229. package/notifications/lib/notifications.config.d.ts +0 -3
  230. package/notifications/lib/notifications.interfaces.d.ts +0 -36
  231. package/notifications/lib/notifications.module.d.ts +0 -9
  232. package/notifications/lib/notifications.service.d.ts +0 -30
  233. package/notifications/public_api.d.ts +0 -4
  234. package/permissions/lib/directives/permission.directive.d.ts +0 -27
  235. package/permissions/lib/guards/permission.guard.d.ts +0 -3
  236. package/permissions/lib/handlers/abstract.handler.d.ts +0 -4
  237. package/permissions/lib/handlers/local.handler.d.ts +0 -10
  238. package/permissions/lib/permissions.config.d.ts +0 -3
  239. package/permissions/lib/permissions.interface.d.ts +0 -13
  240. package/permissions/lib/permissions.module.d.ts +0 -10
  241. package/permissions/lib/permissions.service.d.ts +0 -23
  242. package/permissions/public_api.d.ts +0 -8
  243. package/public_api.d.ts +0 -27
  244. package/recaptcha/lib/recaptcha/recaptcha.component.d.ts +0 -47
  245. package/recaptcha/lib/recaptcha-loader.service.d.ts +0 -19
  246. package/recaptcha/lib/recaptcha.config.d.ts +0 -3
  247. package/recaptcha/lib/recaptcha.interface.d.ts +0 -13
  248. package/recaptcha/lib/recaptcha.module.d.ts +0 -10
  249. package/recaptcha/public_api.d.ts +0 -5
  250. package/rxjs/lib/observables/get-control-value.observable.d.ts +0 -3
  251. package/rxjs/lib/observables/get-route-param.observable.d.ts +0 -3
  252. package/rxjs/lib/operators/combine-latest-map.operator.d.ts +0 -8
  253. package/rxjs/lib/operators/filter-nil.operator.d.ts +0 -1
  254. package/rxjs/public_api.d.ts +0 -4
  255. package/select/lib/select/select.component.d.ts +0 -94
  256. package/select/lib/select-label.directive.d.ts +0 -7
  257. package/select/lib/select-multi-label.directive.d.ts +0 -7
  258. package/select/lib/select-option-group.directive.d.ts +0 -7
  259. package/select/lib/select-option.directive.d.ts +0 -7
  260. package/select/lib/select.config.d.ts +0 -2
  261. package/select/lib/select.module.d.ts +0 -11
  262. package/select/public_api.d.ts +0 -7
  263. package/storage/lib/interfaces/attributes.interface.d.ts +0 -13
  264. package/storage/lib/interfaces/memory.interface.d.ts +0 -7
  265. package/storage/lib/interfaces/strategy.interface.d.ts +0 -17
  266. package/storage/lib/storage.service.d.ts +0 -25
  267. package/storage/lib/strategies/cookie-storage.strategy.d.ts +0 -20
  268. package/storage/lib/strategies/memory-storage.strategy.d.ts +0 -11
  269. package/storage/lib/strategies/polyfill-storage.strategy.d.ts +0 -15
  270. package/storage/public_api.d.ts +0 -7
  271. package/table/lib/components/table/table.component.d.ts +0 -57
  272. package/table/lib/components/table-cell/table-cell.component.d.ts +0 -5
  273. package/table/lib/components/table-header-cell/table-header-cell.component.d.ts +0 -26
  274. package/table/lib/components/table-pager/table-pager.component.d.ts +0 -40
  275. package/table/lib/data/datasource.data.d.ts +0 -14
  276. package/table/lib/data/generic.data.d.ts +0 -25
  277. package/table/lib/interfaces/datasource.interface.d.ts +0 -17
  278. package/table/lib/interfaces/table.interfaces.d.ts +0 -11
  279. package/table/lib/table.config.d.ts +0 -3
  280. package/table/lib/table.module.d.ts +0 -10
  281. package/table/public_api.d.ts +0 -10
  282. package/tooltip/lib/tooltip-container/tooltip-container.component.d.ts +0 -9
  283. package/tooltip/lib/tooltip.directive.d.ts +0 -23
  284. package/tooltip/lib/tooltip.interfaces.d.ts +0 -4
  285. package/tooltip/lib/tooltip.module.d.ts +0 -7
  286. package/tooltip/public_api.d.ts +0 -4
  287. package/utils/lib/directives/autosize.directive.d.ts +0 -19
  288. package/utils/lib/directives/focus-trap.directive.d.ts +0 -14
  289. package/utils/lib/directives/focus.directive.d.ts +0 -16
  290. package/utils/lib/directives/template.directive.d.ts +0 -10
  291. package/utils/lib/utils.module.d.ts +0 -10
  292. package/utils/public_api.d.ts +0 -5
@@ -1,5 +1,838 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@bravobit/bb-foundation/elements" />
5
- export * from './public_api';
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit, ElementRef, TemplateRef, EventEmitter, OnDestroy, PipeTransform, InjectionToken, AfterViewInit, Renderer2, ChangeDetectorRef, EnvironmentProviders, ModuleWithProviders } from '@angular/core';
3
+ import * as rxjs from 'rxjs';
4
+ import { Observable, BehaviorSubject } from 'rxjs';
5
+ import { FormGroupDirective, NgControl, ValidationErrors, AbstractControl, ControlValueAccessor, FormControl, FormGroup, Validator } from '@angular/forms';
6
+ import { ImageConverter } from '@bravobit/bb-foundation';
7
+ import { DomSanitizer } from '@angular/platform-browser';
8
+ import { Platform } from '@angular/cdk/platform';
9
+ import { Localize } from '@bravobit/bb-foundation/localize';
10
+
11
+ declare class BbFormSubmit implements OnInit {
12
+ private _host;
13
+ private _formDirective;
14
+ submitStatus$: Observable<boolean>;
15
+ constructor(_host: ElementRef<HTMLFormElement>, _formDirective: FormGroupDirective);
16
+ ngOnInit(): void;
17
+ submit(): void;
18
+ reset(): void;
19
+ private get nativeElement();
20
+ private reactiveSubmitChanges;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbFormSubmit, [null, { optional: true; self: true; }]>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbFormSubmit, "form", ["bbForm"], {}, {}, never, never, true, never>;
23
+ }
24
+
25
+ declare class BbFormSubmitter {
26
+ submitted$: BehaviorSubject<boolean>;
27
+ submit(): void;
28
+ reset(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbFormSubmitter, never>;
30
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbFormSubmitter, "[bbFormSubmitter]", ["bbFormSubmitter"], {}, {}, never, never, true, never>;
31
+ }
32
+
33
+ declare class BbFormControl {
34
+ readonly labelId: string;
35
+ ngControl: NgControl;
36
+ label: string | TemplateRef<any> | null;
37
+ hint: string | TemplateRef<any> | null;
38
+ grouped: boolean;
39
+ hideErrors: boolean;
40
+ error: boolean;
41
+ onErrorChange(error: {
42
+ token: string;
43
+ data?: any;
44
+ } | null): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbFormControl, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbFormControl, "bb-form-control", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; }, {}, ["ngControl"], ["[bbPrefix]", "[bbInput]", "[bbSuffix]"], true, never>;
47
+ static ngAcceptInputType_grouped: unknown;
48
+ static ngAcceptInputType_hideErrors: unknown;
49
+ }
50
+
51
+ declare class BbInput {
52
+ private _elementRef;
53
+ private _formControl;
54
+ constructor(_elementRef: ElementRef, _formControl: BbFormControl);
55
+ focus(): any;
56
+ get id(): string;
57
+ get required(): boolean;
58
+ set required(value: boolean);
59
+ private _required;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbInput, [null, { optional: true; host: true; }]>;
61
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbInput, "input[bbInput],textarea[bbInput],select[bbInput]", never, { "required": { "alias": "required"; "required": false; }; }, {}, never, never, true, never>;
62
+ static ngAcceptInputType_required: unknown;
63
+ }
64
+
65
+ declare class BbImageUpload {
66
+ private readonly _files;
67
+ private readonly _platform;
68
+ private readonly _renderer;
69
+ width: number | null;
70
+ height: number | null;
71
+ mode: 'aspect-fit' | 'aspect-fill';
72
+ type: 'png' | 'jpg';
73
+ onDataUri: EventEmitter<string>;
74
+ onFile: EventEmitter<File>;
75
+ onClick(): Promise<void>;
76
+ private openFilePicker;
77
+ private toDataUri;
78
+ private toImage;
79
+ private scaleImage;
80
+ private getExportType;
81
+ private getScaleByMode;
82
+ private getFileName;
83
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbImageUpload, never>;
84
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbImageUpload, "button[bbImageUpload]", never, { "width": { "alias": "bbImageUploadWidth"; "required": false; }; "height": { "alias": "bbImageUploadHeight"; "required": false; }; "mode": { "alias": "bbImageUploadMode"; "required": false; }; "type": { "alias": "bbImageUploadType"; "required": false; }; }, { "onDataUri": "onDataUri"; "onFile": "onFile"; }, never, never, true, never>;
85
+ static ngAcceptInputType_width: unknown;
86
+ static ngAcceptInputType_height: unknown;
87
+ }
88
+
89
+ declare class BbExtraErrorControls implements OnDestroy {
90
+ readonly changes: BehaviorSubject<ValidationErrors>;
91
+ private _subscription;
92
+ set extraControls(controls: AbstractControl[]);
93
+ ngOnDestroy(): void;
94
+ private handle;
95
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbExtraErrorControls, never>;
96
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbExtraErrorControls, "[bbExtraErrorControls]", never, { "extraControls": { "alias": "bbExtraErrorControls"; "required": false; }; }, {}, never, never, true, never>;
97
+ }
98
+
99
+ declare class BbFileDrop {
100
+ disabled: boolean;
101
+ onFileDropped: EventEmitter<File[]>;
102
+ hovered: boolean;
103
+ onDrag(event: Event, isHovered: boolean): void;
104
+ onDrop(event: Event): void;
105
+ private setHovered;
106
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbFileDrop, never>;
107
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbFileDrop, "[bbFileDrop]", never, { "disabled": { "alias": "bbFileDropDisabled"; "required": false; }; }, { "onFileDropped": "bbFileDrop"; }, never, never, true, never>;
108
+ static ngAcceptInputType_disabled: unknown;
109
+ }
110
+
111
+ declare class ColorPickerDirective implements OnInit, OnDestroy {
112
+ private readonly _overlay;
113
+ private readonly _viewContainerRef;
114
+ private readonly _elementRef;
115
+ private readonly _environmentInjector;
116
+ bbColorPicker: string;
117
+ bbColorPickerShowAlpha: boolean;
118
+ bbColorPickerDisabled: boolean;
119
+ bbColorPickerChange: EventEmitter<string>;
120
+ private _overlayRef;
121
+ private _subscription;
122
+ showColorPicker(): void;
123
+ hideColorPicker(): void;
124
+ ngOnInit(): void;
125
+ ngOnDestroy(): void;
126
+ private attachColorPicker;
127
+ private getPositionStrategy;
128
+ private handleOverlayEvents;
129
+ private createOverlay;
130
+ private getPositions;
131
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerDirective, never>;
132
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ColorPickerDirective, "[bbColorPicker]", never, { "bbColorPicker": { "alias": "bbColorPicker"; "required": true; }; "bbColorPickerShowAlpha": { "alias": "bbColorPickerShowAlpha"; "required": false; }; "bbColorPickerDisabled": { "alias": "bbColorPickerDisabled"; "required": false; }; }, { "bbColorPickerChange": "bbColorPickerChange"; }, never, never, true, never>;
133
+ static ngAcceptInputType_bbColorPickerShowAlpha: unknown;
134
+ static ngAcceptInputType_bbColorPickerDisabled: unknown;
135
+ }
136
+
137
+ declare class BbFileSize implements PipeTransform {
138
+ transform(value: number): string;
139
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbFileSize, never>;
140
+ static ɵpipe: i0.ɵɵPipeDeclaration<BbFileSize, "bbFileSize", true>;
141
+ }
142
+
143
+ declare class BbFileImage implements PipeTransform {
144
+ private _platform;
145
+ private _image;
146
+ private _sanitizer;
147
+ constructor(_platform: Platform, _image: ImageConverter, _sanitizer: DomSanitizer);
148
+ transform(file: File): Promise<any>;
149
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbFileImage, never>;
150
+ static ɵpipe: i0.ɵɵPipeDeclaration<BbFileImage, "bbFileImage", true>;
151
+ }
152
+
153
+ declare class BbFileDataUrl implements PipeTransform {
154
+ private readonly _platform;
155
+ private readonly _exif;
156
+ private readonly _fileLoader;
157
+ transform(input: File | Blob): Promise<string>;
158
+ private stripExif;
159
+ private isFileLike;
160
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbFileDataUrl, never>;
161
+ static ɵpipe: i0.ɵɵPipeDeclaration<BbFileDataUrl, "bbFileDataUrl", true>;
162
+ }
163
+
164
+ declare class BbRelativeTime implements PipeTransform {
165
+ private _localeId;
166
+ private _localize?;
167
+ constructor(_localeId: string, _localize?: Localize);
168
+ transform(value: string | number | Date): string | number | Date;
169
+ private format;
170
+ private formatString;
171
+ private get locale();
172
+ private isValidDate;
173
+ private parseAsDate;
174
+ private isToday;
175
+ private isYesterday;
176
+ private isTomorrow;
177
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbRelativeTime, [null, { optional: true; }]>;
178
+ static ɵpipe: i0.ɵɵPipeDeclaration<BbRelativeTime, "bbRelativeTime", true>;
179
+ }
180
+
181
+ declare class BbDate implements PipeTransform {
182
+ private readonly _localize;
183
+ private readonly _localeId;
184
+ transform(value: string | number | Date, format?: string): string;
185
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDate, never>;
186
+ static ɵpipe: i0.ɵɵPipeDeclaration<BbDate, "bbDate", true>;
187
+ }
188
+
189
+ declare class BbSpinner {
190
+ color: string;
191
+ alt: string;
192
+ disabled: boolean;
193
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbSpinner, never>;
194
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbSpinner, "bb-spinner", never, { "color": { "alias": "color"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["img", "*"], true, never>;
195
+ static ngAcceptInputType_disabled: unknown;
196
+ }
197
+
198
+ declare class BbButton {
199
+ protected elementRef: ElementRef<HTMLButtonElement>;
200
+ disabled: boolean;
201
+ loading: boolean;
202
+ constructor(elementRef: ElementRef<HTMLButtonElement>);
203
+ focus(): void;
204
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbButton, never>;
205
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbButton, "button[bb-button]", ["bbButton"], { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["[prefix]", "*", "[suffix]"], true, never>;
206
+ static ngAcceptInputType_disabled: unknown;
207
+ static ngAcceptInputType_loading: unknown;
208
+ }
209
+ declare class BbAnchor extends BbButton {
210
+ protected elementRef: ElementRef;
211
+ tabIndex: number | null;
212
+ constructor(elementRef: ElementRef);
213
+ stopDisabledEvents(event: Event): void;
214
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbAnchor, never>;
215
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbAnchor, "a[bb-button]", ["bbButton", "bbAnchor"], { "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["[prefix]", "*", "[suffix]"], true, never>;
216
+ }
217
+
218
+ declare const ELEMENTS_CONFIG: InjectionToken<ElementsConfig>;
219
+ declare const ELEMENTS_ICONS: InjectionToken<ElementsIcon[]>;
220
+ declare const ELEMENTS_ERRORS: InjectionToken<ElementsError[]>;
221
+ type ElementsIcon = ElementsIconFont | ElementsIconImage | ElementsIconUrl | ElementsIconUnknown;
222
+ type ElementsError = {
223
+ [error: string]: (data?: any) => string | {
224
+ token: string;
225
+ data?: any;
226
+ };
227
+ };
228
+ interface ElementsIconFont {
229
+ namespace: string;
230
+ className: string;
231
+ uses: 'content' | 'data-attribute';
232
+ type: 'font';
233
+ }
234
+ interface ElementsIconImage {
235
+ namespace: string;
236
+ name: string;
237
+ src: string;
238
+ type: 'image';
239
+ }
240
+ interface ElementsIconUrl {
241
+ namespace: string;
242
+ url: string;
243
+ type: 'url';
244
+ }
245
+ interface ElementsIconUnknown {
246
+ type: 'unknown';
247
+ }
248
+ interface ElementsConfig {
249
+ useMaterialDesignIcons?: boolean;
250
+ iconFonts?: ElementsIcon[];
251
+ errors?: ElementsError;
252
+ defaultDisplayUnit?: ElementsDisplayUnit;
253
+ allowedFileTypes?: string[];
254
+ maxFileSize?: number;
255
+ maxTotalFileSize?: number;
256
+ }
257
+ type ElementsDisplayUnit = 'rem' | 'px';
258
+
259
+ declare class BbIcon {
260
+ private _config?;
261
+ private _registry?;
262
+ private _src;
263
+ state$: BehaviorSubject<any>;
264
+ alt: string | null;
265
+ size: number;
266
+ ariaHidden: boolean;
267
+ unit: ElementsDisplayUnit | null;
268
+ set src(newValue: string | null);
269
+ get src(): string | null;
270
+ get sizes(): string;
271
+ constructor(_config?: ElementsConfig, _registry?: ElementsIcon[]);
272
+ private convert;
273
+ private findImageIcon;
274
+ private findUrlIcon;
275
+ private findFontIcon;
276
+ private warn;
277
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbIcon, [{ optional: true; }, { optional: true; }]>;
278
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbIcon, "bb-icon", never, { "alt": { "alias": "alt"; "required": false; }; "size": { "alias": "size"; "required": false; }; "ariaHidden": { "alias": "ariaHidden"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, never, true, never>;
279
+ static ngAcceptInputType_size: unknown;
280
+ static ngAcceptInputType_ariaHidden: unknown;
281
+ }
282
+
283
+ declare class BbFormGroup {
284
+ grouped: boolean;
285
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbFormGroup, never>;
286
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbFormGroup, "bb-form-group", never, { "grouped": { "alias": "grouped"; "required": false; }; }, {}, never, ["*"], true, never>;
287
+ static ngAcceptInputType_grouped: unknown;
288
+ }
289
+
290
+ declare class BbFormError implements OnInit {
291
+ private _form?;
292
+ private _ngControl?;
293
+ private _formSubmitter?;
294
+ private _extraErrorControls?;
295
+ private _errors?;
296
+ readonly errorsMap: ElementsError;
297
+ control: NgControl | null;
298
+ errorChange: EventEmitter<{
299
+ token: string;
300
+ data?: any;
301
+ }>;
302
+ error$: Observable<{
303
+ token: string;
304
+ data?: any;
305
+ } | null>;
306
+ constructor(_form?: BbFormSubmit, _ngControl?: NgControl, _formSubmitter?: BbFormSubmitter, _extraErrorControls?: BbExtraErrorControls, _errors?: ElementsError[]);
307
+ ngOnInit(): void;
308
+ private setControl;
309
+ private setError;
310
+ private formatError;
311
+ private submitStatusChanges;
312
+ private getNativeFormSubmit;
313
+ private getManualFormSubmit;
314
+ private getErrors;
315
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbFormError, [{ optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
316
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbFormError, "bb-form-error", never, { "control": { "alias": "control"; "required": false; }; }, { "errorChange": "errorChange"; }, never, never, true, never>;
317
+ }
318
+
319
+ declare class BbCheckbox implements AfterViewInit, ControlValueAccessor {
320
+ private _renderer;
321
+ private _changeDetectorRef;
322
+ readonly labelId: string;
323
+ inputElementRef: ElementRef<HTMLInputElement>;
324
+ checked: boolean;
325
+ indeterminate: boolean;
326
+ disabled: boolean;
327
+ grouped: boolean;
328
+ hideText: boolean;
329
+ checkedChange: EventEmitter<boolean>;
330
+ indeterminateChange: EventEmitter<boolean>;
331
+ onTouchedCallback: () => void;
332
+ onChangeCallback: (_: boolean | null) => void;
333
+ constructor(_renderer: Renderer2, _changeDetectorRef: ChangeDetectorRef);
334
+ ngAfterViewInit(): void;
335
+ toggle(): void;
336
+ writeValue(newValue: boolean): void;
337
+ registerOnChange(method: (_: boolean | null) => void): void;
338
+ registerOnTouched(method: () => void): void;
339
+ setDisabledState(isDisabled: boolean): void;
340
+ onClickEvent(event: Event): void;
341
+ onChangeEvent(event: Event): void;
342
+ private emitChangeEvent;
343
+ private syncField;
344
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCheckbox, never>;
345
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbCheckbox, "bb-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "hideText": { "alias": "hideText"; "required": false; }; }, { "checkedChange": "checkedChange"; "indeterminateChange": "indeterminateChange"; }, never, ["*"], true, never>;
346
+ static ngAcceptInputType_checked: unknown;
347
+ static ngAcceptInputType_indeterminate: unknown;
348
+ static ngAcceptInputType_disabled: unknown;
349
+ static ngAcceptInputType_grouped: unknown;
350
+ static ngAcceptInputType_hideText: unknown;
351
+ }
352
+
353
+ declare class BbCheckboxGroup {
354
+ label: string | TemplateRef<any> | null;
355
+ required: boolean;
356
+ grouped: boolean;
357
+ inline: boolean;
358
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbCheckboxGroup, never>;
359
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbCheckboxGroup, "bb-checkbox-group", never, { "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; }, {}, never, ["bb-checkbox"], true, never>;
360
+ static ngAcceptInputType_required: unknown;
361
+ static ngAcceptInputType_grouped: unknown;
362
+ static ngAcceptInputType_inline: unknown;
363
+ }
364
+
365
+ declare class BbRadioGroup<T> implements ControlValueAccessor {
366
+ private _changeDetectorRef;
367
+ label: string | TemplateRef<any> | null;
368
+ disabled: boolean;
369
+ readonly: boolean;
370
+ required: boolean;
371
+ grouped: boolean;
372
+ inline: boolean;
373
+ hideErrors: boolean;
374
+ valueChange: EventEmitter<T>;
375
+ get value(): T;
376
+ set value(value: T);
377
+ private _value;
378
+ onTouchedCallback: () => void;
379
+ onChangeCallback: (_: T | null) => void;
380
+ error: boolean;
381
+ constructor(_changeDetectorRef: ChangeDetectorRef);
382
+ select(value: any): void;
383
+ registerOnChange(fn: (newValue: T) => void): void;
384
+ registerOnTouched(fn: () => void): void;
385
+ setDisabledState(isDisabled: boolean): void;
386
+ writeValue(newValue: T): void;
387
+ onErrorChange(error: {
388
+ token: string;
389
+ data?: any;
390
+ } | null): void;
391
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbRadioGroup<any>, never>;
392
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbRadioGroup<any>, "bb-radio-group", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, ["bb-radio-button"], true, never>;
393
+ static ngAcceptInputType_disabled: unknown;
394
+ static ngAcceptInputType_readonly: unknown;
395
+ static ngAcceptInputType_required: unknown;
396
+ static ngAcceptInputType_grouped: unknown;
397
+ static ngAcceptInputType_inline: unknown;
398
+ static ngAcceptInputType_hideErrors: unknown;
399
+ }
400
+
401
+ declare class BbRadioButton<T> {
402
+ private readonly _radioGroup?;
403
+ value: T | null;
404
+ hideText: boolean;
405
+ set disabled(value: boolean);
406
+ get disabled(): boolean;
407
+ private _disabled;
408
+ onClick(): void;
409
+ onSpacePressed(): void;
410
+ get selected(): boolean;
411
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbRadioButton<any>, never>;
412
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbRadioButton<any>, "bb-radio-button", never, { "value": { "alias": "value"; "required": false; }; "hideText": { "alias": "hideText"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
413
+ static ngAcceptInputType_hideText: unknown;
414
+ static ngAcceptInputType_disabled: unknown;
415
+ }
416
+
417
+ declare class BbAvatar {
418
+ private readonly _config?;
419
+ size: number;
420
+ unit: ElementsDisplayUnit | null;
421
+ state$: BehaviorSubject<string>;
422
+ private _src;
423
+ private _title;
424
+ private _initials;
425
+ private _color;
426
+ private _backgroundColor;
427
+ set src(value: string);
428
+ set title(value: string);
429
+ set tintColor(value: string);
430
+ get sizes(): string;
431
+ get fontSize(): string;
432
+ get src(): string;
433
+ get color(): string;
434
+ get backgroundColor(): string;
435
+ get title(): string;
436
+ get initials(): string;
437
+ private setColors;
438
+ private toRgb;
439
+ private getInitials;
440
+ private parseColorFormat;
441
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbAvatar, never>;
442
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbAvatar, "bb-avatar", never, { "size": { "alias": "size"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "src": { "alias": "src"; "required": false; }; "title": { "alias": "title"; "required": false; }; "tintColor": { "alias": "tintColor"; "required": false; }; }, {}, never, never, true, never>;
443
+ static ngAcceptInputType_size: unknown;
444
+ }
445
+
446
+ declare class BbMultiFileControl implements ControlValueAccessor {
447
+ private readonly _files;
448
+ private readonly _changeDetectorRef;
449
+ readonly labelId: string;
450
+ fileInput: ElementRef<HTMLInputElement>;
451
+ label: string | TemplateRef<any> | null;
452
+ hint: string | TemplateRef<any> | null;
453
+ accept: string;
454
+ maxFileSize: number;
455
+ maxTotalFileSize: number;
456
+ grouped: boolean;
457
+ required: boolean;
458
+ disabled: boolean;
459
+ hideErrors: boolean;
460
+ items: {
461
+ id: number;
462
+ label: string;
463
+ url: string;
464
+ }[];
465
+ delete: EventEmitter<{
466
+ id: number;
467
+ label: string;
468
+ url: string;
469
+ }>;
470
+ value: File[];
471
+ error: boolean;
472
+ onTouchedCallback: () => void;
473
+ onChangeCallback: (_: File[] | null) => void;
474
+ get showList(): boolean;
475
+ downloadFile(file: File): void;
476
+ openFileDialog(): void;
477
+ onFileChange(event: Event): void;
478
+ deleteFile(index: number): void;
479
+ writeValue(value: File[] | null): void;
480
+ registerOnChange(method: (_: File[] | null) => void): void;
481
+ registerOnTouched(method: () => void): void;
482
+ setDisabledState(isDisabled: boolean): void;
483
+ onErrorChange(error: {
484
+ token: string;
485
+ data?: any;
486
+ } | null): void;
487
+ validate(control: FormControl<File[]>): {
488
+ invalidFiles: Record<number, boolean>;
489
+ maxFileSize?: undefined;
490
+ maxTotalFileSize?: undefined;
491
+ } | {
492
+ maxFileSize: {
493
+ maxSize: string;
494
+ };
495
+ invalidFiles?: undefined;
496
+ maxTotalFileSize?: undefined;
497
+ } | {
498
+ maxTotalFileSize: {
499
+ max: string;
500
+ current: string;
501
+ };
502
+ invalidFiles?: undefined;
503
+ maxFileSize?: undefined;
504
+ };
505
+ addFiles(files: File[]): void;
506
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbMultiFileControl, never>;
507
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbMultiFileControl, "bb-multi-file-control", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "maxTotalFileSize": { "alias": "maxTotalFileSize"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "delete": "delete"; }, never, never, true, never>;
508
+ static ngAcceptInputType_maxFileSize: unknown;
509
+ static ngAcceptInputType_maxTotalFileSize: unknown;
510
+ static ngAcceptInputType_grouped: unknown;
511
+ static ngAcceptInputType_required: unknown;
512
+ static ngAcceptInputType_disabled: unknown;
513
+ static ngAcceptInputType_hideErrors: unknown;
514
+ }
515
+
516
+ declare class BbFilePicker implements ControlValueAccessor {
517
+ readonly labelId: string;
518
+ fileInput: ElementRef<HTMLInputElement>;
519
+ extraTemplate: TemplateRef<any>;
520
+ label: string | TemplateRef<any> | null;
521
+ hint: string | TemplateRef<any> | null;
522
+ accept: string;
523
+ maxFileSize: number;
524
+ showImages: boolean;
525
+ grouped: boolean;
526
+ required: boolean;
527
+ disabled: boolean;
528
+ hideErrors: boolean;
529
+ error: boolean;
530
+ value$: BehaviorSubject<{
531
+ file?: File;
532
+ }>;
533
+ onTouchedCallback: () => void;
534
+ onChangeCallback: (_: File | null) => void;
535
+ get value(): File | null;
536
+ valueChange: EventEmitter<File>;
537
+ set value(value: File | null);
538
+ onButtonPressed(file?: File): void;
539
+ openFilePicker(): void;
540
+ onFileChange(event: Event): void;
541
+ writeValue(value: File | null): void;
542
+ registerOnChange(method: (_: File | null) => void): void;
543
+ registerOnTouched(method: () => void): void;
544
+ setDisabledState(isDisabled: boolean): void;
545
+ onErrorChange(error: {
546
+ token: string;
547
+ data?: any;
548
+ } | null): void;
549
+ validate({ value }: FormControl<File>): {
550
+ invalidFileType: boolean;
551
+ maxFileSize?: undefined;
552
+ } | {
553
+ maxFileSize: {
554
+ maxSize: string;
555
+ };
556
+ invalidFileType?: undefined;
557
+ };
558
+ saveFile(files: File[]): void;
559
+ private getFilesFromEvent;
560
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbFilePicker, never>;
561
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbFilePicker, "bb-file-picker", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "showImages": { "alias": "showImages"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, ["extraTemplate"], never, true, never>;
562
+ static ngAcceptInputType_maxFileSize: unknown;
563
+ static ngAcceptInputType_showImages: unknown;
564
+ static ngAcceptInputType_grouped: unknown;
565
+ static ngAcceptInputType_required: unknown;
566
+ static ngAcceptInputType_disabled: unknown;
567
+ static ngAcceptInputType_hideErrors: unknown;
568
+ }
569
+
570
+ declare class BbImagePicker implements ControlValueAccessor {
571
+ private _converter;
572
+ fileInput: ElementRef<HTMLInputElement>;
573
+ label: string | null;
574
+ placeholder: string | null;
575
+ styleDimensions: {
576
+ width: string;
577
+ height: string;
578
+ } | null;
579
+ cropDimensions: {
580
+ width: number;
581
+ height: number;
582
+ } | null;
583
+ buttonClass: string | null;
584
+ disabled: boolean;
585
+ grouped: boolean;
586
+ onTouchedCallback: () => void;
587
+ onChangeCallback: (_: string | null) => void;
588
+ private _value$;
589
+ constructor(_converter: ImageConverter);
590
+ get value(): string | null;
591
+ valueChange: EventEmitter<string>;
592
+ set value(value: string | null);
593
+ get image(): rxjs.Observable<string>;
594
+ onFileChange(event: any): Promise<void>;
595
+ openFilePicker(): void;
596
+ writeValue(value: string | null): void;
597
+ registerOnChange(method: (_: string | null) => void): void;
598
+ registerOnTouched(method: () => void): void;
599
+ setDisabledState(isDisabled: boolean): void;
600
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbImagePicker, never>;
601
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbImagePicker, "bb-image-picker", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "styleDimensions": { "alias": "styleDimensions"; "required": false; }; "cropDimensions": { "alias": "cropDimensions"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
602
+ static ngAcceptInputType_disabled: unknown;
603
+ static ngAcceptInputType_grouped: unknown;
604
+ }
605
+
606
+ declare class BbDatePicker implements ControlValueAccessor, OnInit, OnDestroy {
607
+ private _changeDetectorRef;
608
+ private _localizeId;
609
+ readonly _yearRegex: RegExp;
610
+ label: string | TemplateRef<any> | null;
611
+ hint: string | TemplateRef<any> | null;
612
+ dayPlaceholder: string | null;
613
+ monthPlaceholder: string | null;
614
+ yearPlaceholder: string | null;
615
+ required: boolean;
616
+ grouped: boolean;
617
+ readonly: boolean;
618
+ hideErrors: boolean;
619
+ set disabled(value: boolean);
620
+ get disabled(): boolean;
621
+ set years(value: [string | number, string | number] | null);
622
+ form: FormGroup;
623
+ data$: Observable<{
624
+ days?: {
625
+ label: string;
626
+ value: number;
627
+ }[];
628
+ months?: {
629
+ label: string;
630
+ value: number;
631
+ }[];
632
+ years?: number[] | null;
633
+ }>;
634
+ years$: BehaviorSubject<number[]>;
635
+ get value(): string | null;
636
+ set value(value: string | null);
637
+ valueChange: EventEmitter<string>;
638
+ error: boolean;
639
+ private _disabled;
640
+ onTouchedCallback: () => void;
641
+ onChangeCallback: (_: string | null) => void;
642
+ private _subscription;
643
+ constructor(_changeDetectorRef: ChangeDetectorRef, _localizeId: Observable<string>);
644
+ ngOnInit(): void;
645
+ ngOnDestroy(): void;
646
+ writeValue(value: string | null): void;
647
+ registerOnChange(method: (_: string | null) => void): void;
648
+ registerOnTouched(method: () => void): void;
649
+ setDisabledState(isDisabled: boolean): void;
650
+ onErrorChange(error: {
651
+ token: string;
652
+ data?: any;
653
+ } | null): void;
654
+ validate({ value }: FormControl<string>): {
655
+ invalidDate: boolean;
656
+ };
657
+ private handleChanges;
658
+ private getData;
659
+ private verifyListData;
660
+ private getDayData;
661
+ private getMonthData;
662
+ private composeForm;
663
+ private parseDateStringInForm;
664
+ private parseDateString;
665
+ private parseYears;
666
+ private formToDateString;
667
+ private parseYearFormat;
668
+ private getDaysInMonth;
669
+ private isValidDateString;
670
+ private padString;
671
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbDatePicker, never>;
672
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbDatePicker, "bb-date-picker", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "dayPlaceholder": { "alias": "dayPlaceholder"; "required": false; }; "monthPlaceholder": { "alias": "monthPlaceholder"; "required": false; }; "yearPlaceholder": { "alias": "yearPlaceholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "years": { "alias": "years"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
673
+ static ngAcceptInputType_required: unknown;
674
+ static ngAcceptInputType_grouped: unknown;
675
+ static ngAcceptInputType_readonly: unknown;
676
+ static ngAcceptInputType_hideErrors: unknown;
677
+ static ngAcceptInputType_disabled: unknown;
678
+ }
679
+
680
+ declare class BbColorSlider implements OnInit, OnDestroy {
681
+ private readonly _elementRef;
682
+ private readonly _document;
683
+ xOffset: number;
684
+ yOffset: number;
685
+ size: number;
686
+ xOffsetChange: EventEmitter<number>;
687
+ yOffsetChange: EventEmitter<number>;
688
+ private _subscription;
689
+ get x(): number;
690
+ get y(): number;
691
+ ngOnInit(): void;
692
+ ngOnDestroy(): void;
693
+ private updateValue;
694
+ private setOffsets;
695
+ private calculate;
696
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbColorSlider, never>;
697
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbColorSlider, "bb-color-slider", never, { "xOffset": { "alias": "xOffset"; "required": false; }; "yOffset": { "alias": "yOffset"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "xOffsetChange": "xOffsetChange"; "yOffsetChange": "yOffsetChange"; }, never, never, true, never>;
698
+ static ngAcceptInputType_xOffset: unknown;
699
+ static ngAcceptInputType_yOffset: unknown;
700
+ static ngAcceptInputType_size: unknown;
701
+ }
702
+
703
+ declare class BbColorPicker {
704
+ showAlpha: boolean;
705
+ set color(value: string);
706
+ get color(): string;
707
+ colorChange: EventEmitter<string>;
708
+ hueOffset: number;
709
+ saturationOffset: number;
710
+ valueOffset: number;
711
+ opacityOffset: number;
712
+ private _color;
713
+ setColor(): void;
714
+ private setUIVariables;
715
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbColorPicker, never>;
716
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbColorPicker, "bb-color-picker", never, { "showAlpha": { "alias": "showAlpha"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, true, never>;
717
+ static ngAcceptInputType_showAlpha: unknown;
718
+ }
719
+
720
+ declare class BbImageControl implements ControlValueAccessor {
721
+ private readonly _changeDetectorRef;
722
+ readonly labelId: string;
723
+ label: string | TemplateRef<any> | null;
724
+ hint: string | TemplateRef<any> | null;
725
+ buttonLabel: string | null;
726
+ imageUrl: string | null;
727
+ mode: 'aspect-fit' | 'aspect-fill';
728
+ type: 'png' | 'jpg';
729
+ cropWidth: number;
730
+ visualMaxWidth: number | null;
731
+ aspectRatio: number;
732
+ grouped: boolean;
733
+ required: boolean;
734
+ disabled: boolean;
735
+ hideErrors: boolean;
736
+ delete: EventEmitter<void>;
737
+ value: File | null;
738
+ error: boolean;
739
+ onTouchedCallback: () => void;
740
+ onChangeCallback: (_: File | null) => void;
741
+ onFile(file: File): void;
742
+ onDelete(): Promise<void>;
743
+ writeValue(value: File | null): void;
744
+ registerOnChange(method: (_: File | null) => void): void;
745
+ registerOnTouched(method: () => void): void;
746
+ setDisabledState(isDisabled: boolean): void;
747
+ onErrorChange(error: {
748
+ token: string;
749
+ data?: any;
750
+ } | null): void;
751
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbImageControl, never>;
752
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbImageControl, "bb-image-control", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "type": { "alias": "type"; "required": false; }; "cropWidth": { "alias": "cropWidth"; "required": false; }; "visualMaxWidth": { "alias": "visualMaxWidth"; "required": false; }; "aspectRatio": { "alias": "aspectRatio"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; }, { "delete": "delete"; }, never, ["[suffix]"], true, never>;
753
+ static ngAcceptInputType_cropWidth: unknown;
754
+ static ngAcceptInputType_visualMaxWidth: unknown;
755
+ static ngAcceptInputType_aspectRatio: unknown;
756
+ static ngAcceptInputType_grouped: unknown;
757
+ static ngAcceptInputType_required: unknown;
758
+ static ngAcceptInputType_disabled: unknown;
759
+ static ngAcceptInputType_hideErrors: unknown;
760
+ }
761
+
762
+ declare class BbPincodeControl implements OnInit, OnDestroy, ControlValueAccessor, Validator {
763
+ private readonly _platform;
764
+ private readonly _changeDetectorRef;
765
+ htmlInputElementRef: ElementRef<HTMLInputElement>;
766
+ label: string | TemplateRef<any> | null;
767
+ hint: string | TemplateRef<any> | null;
768
+ placeholder: string | null;
769
+ autoFocus: boolean;
770
+ required: boolean;
771
+ readonly: boolean;
772
+ grouped: boolean;
773
+ digits: number;
774
+ get value(): string | null;
775
+ valueChange: EventEmitter<string>;
776
+ set value(value: string | null);
777
+ data$: Observable<{
778
+ items?: {
779
+ index: number;
780
+ value: string;
781
+ active: boolean;
782
+ }[];
783
+ }>;
784
+ control: FormControl<string>;
785
+ error: boolean;
786
+ onTouchedCallback: () => void;
787
+ onChangeCallback: (_: string | null) => void;
788
+ private _subscription;
789
+ ngOnInit(): void;
790
+ ngOnDestroy(): void;
791
+ writeValue(value: string | null): void;
792
+ registerOnChange(method: (_: string | null) => void): void;
793
+ registerOnTouched(method: () => void): void;
794
+ setDisabledState(isDisabled: boolean): void;
795
+ onErrorChange(error: {
796
+ token: string;
797
+ data?: any;
798
+ } | null): void;
799
+ validate(control: FormControl): {
800
+ maxlength: {
801
+ actualLength: any;
802
+ requiredLength: number;
803
+ };
804
+ minlength?: undefined;
805
+ } | {
806
+ minlength: {
807
+ actualLength: any;
808
+ requiredLength: number;
809
+ };
810
+ maxlength?: undefined;
811
+ };
812
+ private setData;
813
+ private handleValueChanges;
814
+ private handleAutoFocus;
815
+ static ɵfac: i0.ɵɵFactoryDeclaration<BbPincodeControl, never>;
816
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbPincodeControl, "bb-pincode-control", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "digits": { "alias": "digits"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
817
+ static ngAcceptInputType_autoFocus: unknown;
818
+ static ngAcceptInputType_required: unknown;
819
+ static ngAcceptInputType_readonly: unknown;
820
+ static ngAcceptInputType_grouped: unknown;
821
+ static ngAcceptInputType_digits: unknown;
822
+ }
823
+
824
+ declare function injectAcceptString(): string;
825
+ declare function injectMaxFileSize(): number;
826
+ declare function injectMaxTotalFileSize(): number;
827
+
828
+ declare function provideElementsConfig(config?: ElementsConfig): EnvironmentProviders;
829
+
830
+ declare class ElementsModule {
831
+ static forRoot(config?: ElementsConfig): ModuleWithProviders<ElementsModule>;
832
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementsModule, never>;
833
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElementsModule, never, [typeof BbFormError, typeof BbFormSubmit, typeof BbFormSubmitter, typeof BbInput, typeof BbImageUpload, typeof BbExtraErrorControls, typeof BbFileDrop, typeof ColorPickerDirective, typeof BbFileSize, typeof BbFileImage, typeof BbRelativeTime, typeof BbDate, typeof BbButton, typeof BbAnchor, typeof BbSpinner, typeof BbIcon, typeof BbFormControl, typeof BbFormGroup, typeof BbCheckbox, typeof BbCheckboxGroup, typeof BbRadioGroup, typeof BbRadioButton, typeof BbAvatar, typeof BbMultiFileControl, typeof BbFilePicker, typeof BbImagePicker, typeof BbDatePicker, typeof BbColorSlider, typeof BbColorPicker, typeof BbImageControl, typeof BbPincodeControl], [typeof BbFormError, typeof BbFormSubmit, typeof BbFormSubmitter, typeof BbInput, typeof BbImageUpload, typeof BbExtraErrorControls, typeof BbFileDrop, typeof ColorPickerDirective, typeof BbFileSize, typeof BbFileImage, typeof BbRelativeTime, typeof BbDate, typeof BbButton, typeof BbAnchor, typeof BbSpinner, typeof BbIcon, typeof BbFormControl, typeof BbFormGroup, typeof BbCheckbox, typeof BbCheckboxGroup, typeof BbRadioGroup, typeof BbRadioButton, typeof BbAvatar, typeof BbMultiFileControl, typeof BbFilePicker, typeof BbImagePicker, typeof BbDatePicker, typeof BbColorSlider, typeof BbColorPicker, typeof BbImageControl, typeof BbPincodeControl]>;
834
+ static ɵinj: i0.ɵɵInjectorDeclaration<ElementsModule>;
835
+ }
836
+
837
+ export { BbAnchor, BbAvatar, BbButton, BbCheckbox, BbCheckboxGroup, BbColorPicker, BbColorSlider, BbDate, BbDatePicker, BbExtraErrorControls, BbFileDataUrl, BbFileDrop, BbFileImage, BbFilePicker, BbFileSize, BbFormControl, BbFormError, BbFormGroup, BbFormSubmit, BbFormSubmitter, BbIcon, BbImageControl, BbImagePicker, BbImageUpload, BbInput, BbMultiFileControl, BbPincodeControl, BbRadioButton, BbRadioGroup, BbRelativeTime, BbSpinner, ColorPickerDirective, ELEMENTS_CONFIG, ELEMENTS_ERRORS, ELEMENTS_ICONS, ElementsModule, injectAcceptString, injectMaxFileSize, injectMaxTotalFileSize, provideElementsConfig };
838
+ export type { ElementsConfig, ElementsDisplayUnit, ElementsError, ElementsIcon, ElementsIconFont, ElementsIconImage, ElementsIconUnknown, ElementsIconUrl };