@bravobit/bb-foundation 0.23.5 → 0.23.7

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 (177) hide show
  1. package/auth/lib/auth.session.d.ts +5 -0
  2. package/auth/lib/permissions/permissions.service.d.ts +2 -0
  3. package/controls/lib/control-error/control-error.utils.d.ts +3 -0
  4. package/controls/lib/controls.module.d.ts +4 -2
  5. package/controls/lib/form-control/form-control/form-control.component.d.ts +0 -2
  6. package/controls/lib/radio/radio-button/radio-button.component.d.ts +24 -0
  7. package/controls/lib/radio/radio-group/radio-group.component.d.ts +53 -0
  8. package/controls/lib/radio/radio.module.d.ts +11 -0
  9. package/controls/lib/toggle/toggle/toggle.component.d.ts +45 -0
  10. package/controls/lib/toggle/toggle-group/toggle-group.component.d.ts +23 -0
  11. package/controls/lib/toggle/toggle.module.d.ts +10 -0
  12. package/controls/public_api.d.ts +7 -0
  13. package/elements/lib/avatar/avatar.component.d.ts +1 -1
  14. package/esm2020/auth/lib/auth.interceptor.mjs +3 -3
  15. package/esm2020/auth/lib/auth.module.mjs +4 -4
  16. package/esm2020/auth/lib/auth.service.mjs +5 -5
  17. package/esm2020/auth/lib/auth.session.mjs +8 -1
  18. package/esm2020/auth/lib/directives/authenticated.directive.mjs +3 -3
  19. package/esm2020/auth/lib/directives/permission.directive.mjs +3 -3
  20. package/esm2020/auth/lib/guards/anonymous.guard.mjs +3 -3
  21. package/esm2020/auth/lib/guards/authenticated.guard.mjs +3 -3
  22. package/esm2020/auth/lib/guards/permission.guard.mjs +3 -3
  23. package/esm2020/auth/lib/permissions/permissions.service.mjs +26 -17
  24. package/esm2020/collections/lib/collections.module.mjs +4 -4
  25. package/esm2020/collections/lib/components/collections-pager/collections-pager.component.mjs +3 -3
  26. package/esm2020/collections/lib/components/collections-viewer/collections-viewer.component.mjs +3 -3
  27. package/esm2020/collections/lib/components/collections.directive.mjs +12 -12
  28. package/esm2020/controls/lib/checkbox/checkbox/checkbox.component.mjs +22 -10
  29. package/esm2020/controls/lib/checkbox/checkbox-group/checkbox-group.component.mjs +13 -7
  30. package/esm2020/controls/lib/checkbox/checkbox.module.mjs +4 -4
  31. package/esm2020/controls/lib/control-error/control-error/control-error.component.mjs +3 -3
  32. package/esm2020/controls/lib/control-error/control-error-submit.directive.mjs +3 -3
  33. package/esm2020/controls/lib/control-error/control-error.module.mjs +4 -4
  34. package/esm2020/controls/lib/control-error/control-error.utils.mjs +20 -0
  35. package/esm2020/controls/lib/controls.module.mjs +19 -10
  36. package/esm2020/controls/lib/form-control/form-control/form-control.component.mjs +14 -30
  37. package/esm2020/controls/lib/form-control/form-control-addon/form-control-addon.component.mjs +3 -3
  38. package/esm2020/controls/lib/form-control/form-control-input.directive.mjs +3 -3
  39. package/esm2020/controls/lib/form-control/form-control.module.mjs +4 -4
  40. package/esm2020/controls/lib/radio/radio-button/radio-button.component.mjs +75 -0
  41. package/esm2020/controls/lib/radio/radio-group/radio-group.component.mjs +168 -0
  42. package/esm2020/controls/lib/radio/radio.module.mjs +21 -0
  43. package/esm2020/controls/lib/toggle/toggle/toggle.component.mjs +153 -0
  44. package/esm2020/controls/lib/toggle/toggle-group/toggle-group.component.mjs +62 -0
  45. package/esm2020/controls/lib/toggle/toggle.module.mjs +20 -0
  46. package/esm2020/controls/public_api.mjs +8 -1
  47. package/esm2020/dashboard/lib/dashboard/dashboard.component.mjs +3 -3
  48. package/esm2020/dashboard/lib/dashboard-header/dashboard-header.component.mjs +3 -3
  49. package/esm2020/dashboard/lib/dashboard-menu/dashboard-menu.component.mjs +3 -3
  50. package/esm2020/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.mjs +3 -3
  51. package/esm2020/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.mjs +3 -3
  52. package/esm2020/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.mjs +3 -3
  53. package/esm2020/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.mjs +3 -3
  54. package/esm2020/dashboard/lib/dashboard.module.mjs +4 -4
  55. package/esm2020/dialog/lib/dialog-actions/dialog-actions.component.mjs +3 -3
  56. package/esm2020/dialog/lib/dialog-confirm/dialog-confirm.component.mjs +3 -3
  57. package/esm2020/dialog/lib/dialog-container/dialog-container.component.mjs +3 -3
  58. package/esm2020/dialog/lib/dialog-header/dialog-header.component.mjs +3 -3
  59. package/esm2020/dialog/lib/dialog-link/dialog-link.component.mjs +3 -3
  60. package/esm2020/dialog/lib/dialog-modal/dialog-modal.component.mjs +3 -3
  61. package/esm2020/dialog/lib/dialog-overlay/dialog-overlay.component.mjs +3 -3
  62. package/esm2020/dialog/lib/dialog.insertion.mjs +3 -3
  63. package/esm2020/dialog/lib/dialog.module.mjs +4 -4
  64. package/esm2020/dialog/lib/dialog.service.mjs +3 -3
  65. package/esm2020/elements/lib/avatar/avatar.component.mjs +15 -13
  66. package/esm2020/elements/lib/button/button.component.mjs +6 -6
  67. package/esm2020/elements/lib/checkbox/checkbox.component.mjs +3 -3
  68. package/esm2020/elements/lib/date-picker/date-picker.component.mjs +3 -3
  69. package/esm2020/elements/lib/directives/addon.directive.mjs +6 -6
  70. package/esm2020/elements/lib/directives/form-submit.directive.mjs +3 -3
  71. package/esm2020/elements/lib/directives/form-submitter.directive.mjs +3 -3
  72. package/esm2020/elements/lib/directives/input.directive.mjs +6 -6
  73. package/esm2020/elements/lib/dropdown/dropdown.component.mjs +6 -6
  74. package/esm2020/elements/lib/elements.module.mjs +4 -4
  75. package/esm2020/elements/lib/file-picker/file-picker.component.mjs +3 -3
  76. package/esm2020/elements/lib/form-control/form-control.component.mjs +3 -3
  77. package/esm2020/elements/lib/form-error/form-error.component.mjs +3 -3
  78. package/esm2020/elements/lib/form-group/form-group.component.mjs +3 -3
  79. package/esm2020/elements/lib/icon/icon.component.mjs +3 -3
  80. package/esm2020/elements/lib/image-picker/image-picker.component.mjs +3 -3
  81. package/esm2020/elements/lib/pipes/file-image.pipe.mjs +3 -3
  82. package/esm2020/elements/lib/pipes/file-size.pipe.mjs +3 -3
  83. package/esm2020/elements/lib/pipes/relative-time.pipe.mjs +3 -3
  84. package/esm2020/elements/lib/spinner/spinner.component.mjs +3 -3
  85. package/esm2020/elements/lib/tag/tag.component.mjs +3 -3
  86. package/esm2020/http/lib/http.module.mjs +4 -4
  87. package/esm2020/http/lib/interceptors/base-url.interceptor.mjs +3 -3
  88. package/esm2020/http/lib/interceptors/error.interceptor.mjs +3 -3
  89. package/esm2020/lib/core/services/clipboard.service.mjs +3 -3
  90. package/esm2020/lib/core/services/exif.service.mjs +3 -3
  91. package/esm2020/lib/core/services/file-loader.service.mjs +3 -3
  92. package/esm2020/lib/core/services/image-converter.service.mjs +3 -3
  93. package/esm2020/lib/core/services/languages.service.mjs +3 -3
  94. package/esm2020/lib/core/services/network.service.mjs +3 -3
  95. package/esm2020/lib/core/services/patch.service.mjs +3 -3
  96. package/esm2020/localize/lib/localize.module.mjs +4 -4
  97. package/esm2020/localize/lib/localize.pipe.mjs +3 -3
  98. package/esm2020/localize/lib/localize.service.mjs +3 -3
  99. package/esm2020/localize/lib/views/localize-string/localize-string.component.mjs +3 -3
  100. package/esm2020/localize/lib/views/localize-template.directive.mjs +3 -3
  101. package/esm2020/masking/lib/directives/currency-mask.directive.mjs +3 -3
  102. package/esm2020/masking/lib/directives/date-mask.directive.mjs +3 -3
  103. package/esm2020/masking/lib/directives/input-mask.directive.mjs +3 -3
  104. package/esm2020/masking/lib/masking.module.mjs +4 -4
  105. package/esm2020/masking/lib/masking.service.mjs +3 -3
  106. package/esm2020/notifications/lib/notifications-item/notifications-item.component.mjs +3 -3
  107. package/esm2020/notifications/lib/notifications-list/notifications-list.component.mjs +3 -3
  108. package/esm2020/notifications/lib/notifications.module.mjs +4 -4
  109. package/esm2020/notifications/lib/notifications.service.mjs +3 -3
  110. package/esm2020/recaptcha/lib/recaptcha/recaptcha.component.mjs +3 -3
  111. package/esm2020/recaptcha/lib/recaptcha-loader.service.mjs +3 -3
  112. package/esm2020/recaptcha/lib/recaptcha.module.mjs +4 -4
  113. package/esm2020/storage/lib/storage.service.mjs +3 -3
  114. package/esm2020/table/lib/components/table/table.component.mjs +9 -9
  115. package/esm2020/table/lib/components/table-cell/table-cell.component.mjs +3 -3
  116. package/esm2020/table/lib/components/table-header-cell/table-header-cell.component.mjs +3 -3
  117. package/esm2020/table/lib/components/table-pager/table-pager.component.mjs +3 -3
  118. package/esm2020/table/lib/table.module.mjs +4 -4
  119. package/esm2020/theming/lib/themes/radio-button.theme.mjs +29 -0
  120. package/esm2020/theming/lib/themes/radio-group.theme.mjs +20 -0
  121. package/esm2020/theming/lib/themes/toggle-group.theme.mjs +17 -0
  122. package/esm2020/theming/lib/themes/toggle.theme.mjs +28 -0
  123. package/esm2020/theming/lib/theming.data.mjs +9 -1
  124. package/esm2020/theming/lib/theming.directive.mjs +3 -3
  125. package/esm2020/theming/lib/theming.interface.mjs +1 -1
  126. package/esm2020/theming/lib/theming.module.mjs +4 -4
  127. package/esm2020/utils/lib/directives/autosize.directive.mjs +3 -3
  128. package/esm2020/utils/lib/directives/focus-trap.directive.mjs +3 -3
  129. package/esm2020/utils/lib/directives/focus.directive.mjs +3 -3
  130. package/esm2020/utils/lib/directives/template.directive.mjs +3 -3
  131. package/esm2020/utils/lib/utils.module.mjs +4 -4
  132. package/fesm2015/bravobit-bb-foundation-auth.mjs +62 -45
  133. package/fesm2015/bravobit-bb-foundation-auth.mjs.map +1 -1
  134. package/fesm2015/bravobit-bb-foundation-collections.mjs +22 -22
  135. package/fesm2015/bravobit-bb-foundation-controls.mjs +677 -179
  136. package/fesm2015/bravobit-bb-foundation-controls.mjs.map +1 -1
  137. package/fesm2015/bravobit-bb-foundation-dashboard.mjs +25 -25
  138. package/fesm2015/bravobit-bb-foundation-dialog.mjs +31 -31
  139. package/fesm2015/bravobit-bb-foundation-elements.mjs +87 -85
  140. package/fesm2015/bravobit-bb-foundation-elements.mjs.map +1 -1
  141. package/fesm2015/bravobit-bb-foundation-http.mjs +10 -10
  142. package/fesm2015/bravobit-bb-foundation-localize.mjs +16 -16
  143. package/fesm2015/bravobit-bb-foundation-masking.mjs +16 -16
  144. package/fesm2015/bravobit-bb-foundation-notifications.mjs +13 -13
  145. package/fesm2015/bravobit-bb-foundation-recaptcha.mjs +10 -10
  146. package/fesm2015/bravobit-bb-foundation-storage.mjs +3 -3
  147. package/fesm2015/bravobit-bb-foundation-table.mjs +22 -22
  148. package/fesm2015/bravobit-bb-foundation-theming.mjs +102 -7
  149. package/fesm2015/bravobit-bb-foundation-theming.mjs.map +1 -1
  150. package/fesm2015/bravobit-bb-foundation-utils.mjs +16 -16
  151. package/fesm2015/bravobit-bb-foundation.mjs +21 -21
  152. package/fesm2020/bravobit-bb-foundation-auth.mjs +58 -42
  153. package/fesm2020/bravobit-bb-foundation-auth.mjs.map +1 -1
  154. package/fesm2020/bravobit-bb-foundation-collections.mjs +22 -22
  155. package/fesm2020/bravobit-bb-foundation-controls.mjs +663 -173
  156. package/fesm2020/bravobit-bb-foundation-controls.mjs.map +1 -1
  157. package/fesm2020/bravobit-bb-foundation-dashboard.mjs +25 -25
  158. package/fesm2020/bravobit-bb-foundation-dialog.mjs +31 -31
  159. package/fesm2020/bravobit-bb-foundation-elements.mjs +87 -85
  160. package/fesm2020/bravobit-bb-foundation-elements.mjs.map +1 -1
  161. package/fesm2020/bravobit-bb-foundation-http.mjs +10 -10
  162. package/fesm2020/bravobit-bb-foundation-localize.mjs +16 -16
  163. package/fesm2020/bravobit-bb-foundation-masking.mjs +16 -16
  164. package/fesm2020/bravobit-bb-foundation-notifications.mjs +13 -13
  165. package/fesm2020/bravobit-bb-foundation-recaptcha.mjs +10 -10
  166. package/fesm2020/bravobit-bb-foundation-storage.mjs +3 -3
  167. package/fesm2020/bravobit-bb-foundation-table.mjs +22 -22
  168. package/fesm2020/bravobit-bb-foundation-theming.mjs +102 -7
  169. package/fesm2020/bravobit-bb-foundation-theming.mjs.map +1 -1
  170. package/fesm2020/bravobit-bb-foundation-utils.mjs +16 -16
  171. package/fesm2020/bravobit-bb-foundation.mjs +21 -21
  172. package/package.json +1 -1
  173. package/theming/lib/themes/radio-button.theme.d.ts +26 -0
  174. package/theming/lib/themes/radio-group.theme.d.ts +17 -0
  175. package/theming/lib/themes/toggle-group.theme.d.ts +16 -0
  176. package/theming/lib/themes/toggle.theme.d.ts +25 -0
  177. package/theming/lib/theming.interface.d.ts +8 -0
@@ -1 +1 @@
1
- {"version":3,"file":"bravobit-bb-foundation-controls.mjs","sources":["../../../projects/bb-foundation/controls/src/lib/checkbox/checkbox-group/checkbox-group.component.ts","../../../projects/bb-foundation/controls/src/lib/checkbox/checkbox-group/checkbox-group.component.html","../../../projects/bb-foundation/controls/src/lib/checkbox/checkbox/checkbox.component.ts","../../../projects/bb-foundation/controls/src/lib/checkbox/checkbox/checkbox.component.html","../../../projects/bb-foundation/controls/src/lib/checkbox/checkbox.module.ts","../../../projects/bb-foundation/controls/src/lib/form-control/form-control-input.directive.ts","../../../projects/bb-foundation/controls/src/lib/control-error/control-error-submit.directive.ts","../../../projects/bb-foundation/controls/src/lib/control-error/control-error.interface.ts","../../../projects/bb-foundation/controls/src/lib/control-error/control-error/control-error.animation.ts","../../../projects/bb-foundation/controls/src/lib/control-error/control-error/control-error.component.ts","../../../projects/bb-foundation/controls/src/lib/control-error/control-error/control-error.component.html","../../../projects/bb-foundation/controls/src/lib/form-control/form-control/form-control.component.ts","../../../projects/bb-foundation/controls/src/lib/form-control/form-control/form-control.component.html","../../../projects/bb-foundation/controls/src/lib/form-control/form-control-addon/form-control-addon.component.ts","../../../projects/bb-foundation/controls/src/lib/form-control/form-control-addon/form-control-addon.component.html","../../../projects/bb-foundation/controls/src/lib/control-error/control-error.module.ts","../../../projects/bb-foundation/controls/src/lib/form-control/form-control.module.ts","../../../projects/bb-foundation/controls/src/lib/control-error/control-error.defaults.ts","../../../projects/bb-foundation/controls/src/lib/controls.module.ts","../../../projects/bb-foundation/controls/src/bravobit-bb-foundation-controls.ts"],"sourcesContent":["import {ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, TemplateRef, ViewEncapsulation} from '@angular/core';\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\n\n@Component({\n selector: 'bbi-checkbox-group',\n templateUrl: './checkbox-group.component.html',\n styleUrls: ['./checkbox-group.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'class': 'bbi-checkbox-group',\n '[class.grouped]': 'grouped',\n '[class.required]': 'required',\n '[class.inline]': 'inline'\n },\n preserveWhitespaces: false\n})\nexport class BbiCheckboxGroup {\n\n // Inputs.\n @Input() label: string| TemplateRef<any> | null = null;\n\n // Grouped.\n @Input()\n get grouped(): boolean { return this._grouped; }\n\n set grouped(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.grouped) {\n this._grouped = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _grouped: boolean = false;\n\n // Required.\n @Input()\n get required(): boolean { return this._required; }\n\n set required(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.required) {\n this._required = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _required: boolean = false;\n\n // Inline.\n @Input()\n get inline(): boolean { return this._inline; }\n\n set inline(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.inline) {\n this._inline = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _inline: boolean = false;\n\n constructor(private _changeDetectorRef: ChangeDetectorRef) {\n }\n\n // Required so that the template type checker can infer the type of the coerced inputs.\n static ngAcceptInputType_label: string | TemplateRef<any> | null | undefined;\n static ngAcceptInputType_grouped: BooleanInput;\n static ngAcceptInputType_required: BooleanInput;\n static ngAcceptInputType_inline: BooleanInput;\n\n}\n","<label *ngIf=\"label as labelContent\"\n class=\"bbi-checkbox-group-label\">\n <ng-template [bbTemplate]=\"labelContent\">{{ labelContent }}</ng-template>\n</label>\n\n<div class=\"bbi-checkbox-group-items\">\n <ng-content select=\"bbi-checkbox\"></ng-content>\n</div>\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n Input, Output,\n Renderer2,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';\n\nlet nextUniqueId = 0;\n\n@Component({\n selector: 'bbi-checkbox',\n templateUrl: './checkbox.component.html',\n styleUrls: ['./checkbox.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BbiCheckbox), multi: true}\n ],\n host: {\n 'class': 'bbi-checkbox',\n '[class.grouped]': 'grouped',\n '[class.indeterminate]': 'indeterminate',\n '[class.required]': 'required'\n },\n preserveWhitespaces: false\n})\nexport class BbiCheckbox implements ControlValueAccessor, AfterViewInit {\n\n // Readonly data.\n readonly labelId = `bbi-checkbox-${nextUniqueId++}`;\n\n // Views.\n @ViewChild('input', {static: true}) inputElementRef: ElementRef<HTMLInputElement>;\n\n // Outputs.\n @Output() checkedChange = new EventEmitter<boolean>();\n @Output() indeterminateChange = new EventEmitter<boolean>();\n\n // Checked.\n @Input()\n get checked(): boolean { return this._checked;}\n\n set checked(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.checked) {\n this._checked = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _checked: boolean = false;\n\n // Disabled.\n @Input()\n get disabled(): boolean { return this._disabled; }\n\n set disabled(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.disabled) {\n this._disabled = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _disabled: boolean = false;\n\n // Grouped.\n @Input()\n get grouped(): boolean { return this._grouped; }\n\n set grouped(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.grouped) {\n this._grouped = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _grouped: boolean = false;\n\n // Indeterminate.\n @Input()\n get indeterminate(): boolean { return this._indeterminate; }\n\n set indeterminate(value: BooleanInput) {\n this._indeterminate = coerceBooleanProperty(value);\n this.syncField('indeterminate', this._indeterminate);\n }\n\n private _indeterminate: boolean = false;\n\n // Required.\n @Input()\n get required(): boolean { return this._required; }\n\n set required(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.required) {\n this._required = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _required: boolean = false;\n\n // Hide text.\n @Input()\n get hideText(): boolean { return this._hideText; }\n\n set hideText(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.hideText) {\n this._hideText = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _hideText: boolean = false;\n\n // Methods.\n onChange: (newValue: boolean) => void = () => ({});\n onTouched: () => void = () => ({});\n\n constructor(private _renderer: Renderer2,\n private _changeDetectorRef: ChangeDetectorRef) {\n }\n\n ngAfterViewInit() {\n this.syncField('indeterminate', this._indeterminate);\n }\n\n registerOnChange(fn: (newValue: boolean) => void) {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void) {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean) {\n this.disabled = isDisabled;\n }\n\n writeValue(newValue: boolean) {\n this.checked = !!newValue;\n }\n\n toggle() {\n this.checked = !this.checked;\n }\n\n onClickEvent(event: Event) {\n event.stopPropagation();\n if (this.disabled) {\n return;\n }\n\n // When user manually click on the checkbox, `indeterminate` is set to false.\n if (this.indeterminate) {\n Promise.resolve().then(() => {\n this._indeterminate = false;\n this.indeterminateChange.emit(this._indeterminate);\n });\n }\n\n this.toggle();\n\n // Emit our custom change event if the native input emitted one.\n // It is important to only emit it, if the native input triggered one, because\n // we don't want to trigger a change event, when the `checked` variable changes for example.\n this.emitChangeEvent();\n }\n\n onChangeEvent(event: Event) {\n // We always have to stop propagation on the change event.\n // Otherwise the change event, from the input element, will bubble up and\n // emit its event object to the `change` output.\n event.stopPropagation();\n }\n\n private emitChangeEvent() {\n this.onChange?.(this.checked);\n this.checkedChange.emit(this.checked);\n this.syncField('checked', this.checked);\n }\n\n private syncField(field: string, value: boolean) {\n const element = this.inputElementRef?.nativeElement;\n if (!element) {\n return;\n }\n this._renderer.setProperty(element, field, value);\n }\n\n // Required so that the template type checker can infer the type of the coerced inputs.\n static ngAcceptInputType_checked: BooleanInput;\n static ngAcceptInputType_disabled: BooleanInput;\n static ngAcceptInputType_required: BooleanInput;\n static ngAcceptInputType_grouped: BooleanInput;\n static ngAcceptInputType_indeterminate: BooleanInput;\n static ngAcceptInputType_hideText: BooleanInput;\n\n}\n","<input #input\n [id]=\"labelId\"\n [disabled]=\"disabled\"\n [checked]=\"checked\"\n (change)=\"onChangeEvent($event)\"\n (click)=\"onClickEvent($event)\"\n (blur)=\"onTouched()\"\n class=\"bbi-checkbox-input\"\n type=\"checkbox\">\n<label [attr.for]=\"labelId\"\n class=\"bbi-checkbox-label\">\n <span *ngIf=\"!hideText\"\n class=\"bbi-checkbox-text\"><ng-content></ng-content></span>\n</label>\n","import {BbiCheckboxGroup} from './checkbox-group/checkbox-group.component';\nimport {UtilsModule} from '@bravobit/bb-foundation/utils';\nimport {BbiCheckbox} from './checkbox/checkbox.component';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\n@NgModule({\n imports: [CommonModule, UtilsModule],\n declarations: [BbiCheckbox, BbiCheckboxGroup],\n exports: [BbiCheckbox, BbiCheckboxGroup]\n})\nexport class CheckboxModule {\n}\n","import {ChangeDetectorRef, Directive, ElementRef, HostBinding, Input, OnDestroy, OnInit, Optional, Self} from '@angular/core';\nimport {delay, distinctUntilChanged, map, pairwise, startWith, switchMap} from 'rxjs/operators';\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {NgControl, ValidationErrors, Validators} from '@angular/forms';\nimport {BbiFormControl} from './form-control/form-control.component';\nimport {fromEvent, merge, of, Subscription} from 'rxjs';\n\n@Directive({\n selector: 'input[bbiFormControlInput]'\n})\nexport class BbiFormControlInput implements OnInit, OnDestroy {\n\n // Readonly data.\n @HostBinding('attr.id') readonly labelId: string = this._formControl?.labelId ?? null;\n\n // State.\n errors: ValidationErrors | null = null;\n focused: boolean = false;\n\n // Subscriptions.\n private _subscription = new Subscription();\n\n constructor(private _elementRef: ElementRef,\n private _formControl: BbiFormControl,\n private _changeDetectorRef: ChangeDetectorRef,\n @Optional() @Self() private _ngControl: NgControl) {\n }\n\n ngOnInit() {\n this.handleControlDisabledStatus();\n this.handleControlErrorStatus();\n this.handleFocusedState();\n }\n\n ngOnDestroy() {\n this._subscription?.unsubscribe();\n }\n\n get control() {\n return this._ngControl ?? null;\n }\n\n get disabled(): boolean { return this._disabled; }\n\n @Input()\n set disabled(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.disabled) {\n this._disabled = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _disabled: boolean = false;\n\n get readonly(): boolean { return this._readonly; }\n\n @Input()\n set readonly(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.readonly) {\n this._readonly = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _readonly: boolean = false;\n\n get required() {\n if (this._ngControl) {\n return this._ngControl?.control?.hasValidator(Validators.required);\n }\n return this._required;\n }\n\n @HostBinding('required')\n @Input()\n set required(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.required) {\n this._required = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _required: boolean = false;\n\n private handleControlErrorStatus() {\n if (!this._ngControl) {\n return;\n }\n\n const errors$ = this._ngControl.statusChanges.pipe(\n startWith(this._ngControl.status),\n map(() => this._ngControl?.errors ?? null)\n );\n\n const subscription = errors$.subscribe(errors => {\n this.errors = errors;\n this._changeDetectorRef.markForCheck();\n });\n this._subscription.add(subscription);\n }\n\n private handleControlDisabledStatus() {\n if (!this._ngControl) {\n return;\n }\n\n const disabled$ = this._ngControl.statusChanges.pipe(\n startWith(this._ngControl.status),\n map(status => status === 'DISABLED'),\n distinctUntilChanged()\n );\n\n const subscription = disabled$.subscribe(disabled => {\n this.disabled = disabled;\n });\n this._subscription.add(subscription);\n }\n\n private handleFocusedState() {\n const focus$ = fromEvent(this._elementRef.nativeElement, 'focus').pipe(\n map(() => true)\n );\n const blur$ = fromEvent(this._elementRef.nativeElement, 'blur').pipe(\n map(() => false)\n );\n\n const focused$ = merge(focus$, blur$).pipe(\n startWith(false),\n pairwise(),\n switchMap(([oldValue, currentValue]) => {\n if (oldValue && !currentValue) {\n return of(currentValue).pipe(delay(100));\n }\n\n return of(currentValue);\n }),\n distinctUntilChanged()\n );\n\n const subscription = focused$.subscribe(focused => this.focused = focused);\n this._subscription.add(subscription);\n }\n\n // Required so that the template type checker can infer the type of the coerced inputs.\n static ngAcceptInputType_disabled: BooleanInput;\n static ngAcceptInputType_required: BooleanInput;\n\n}\n","import {BehaviorSubject, fromEvent, merge, Subscription} from 'rxjs';\nimport {Directive, ElementRef, OnInit} from '@angular/core';\nimport {map} from 'rxjs/operators';\n\n@Directive({\n selector: 'form',\n exportAs: 'bbiControlErrorSubmit'\n})\nexport class BbiControlErrorSubmit implements OnInit {\n\n // State.\n private _submitted$ = new BehaviorSubject(false);\n\n // Subscriptions.\n private _subscription = new Subscription();\n\n constructor(private _elementRef: ElementRef<HTMLFormElement>) {\n }\n\n ngOnInit() {\n this.handleNativeForm();\n }\n\n get submitted() {\n return this._submitted$.getValue();\n }\n\n submit() {\n this._submitted$.next(true);\n }\n\n reset() {\n this._submitted$.next(false);\n }\n\n private handleNativeForm() {\n const element = this._elementRef?.nativeElement;\n if (!element) {\n return;\n }\n\n const formSubmit$ = fromEvent(element, 'submit').pipe(\n map(() => true)\n );\n\n const formReset$ = fromEvent(element, 'reset').pipe(\n map(() => false)\n );\n\n const subscription = merge(formSubmit$, formReset$).subscribe(submitted => {\n this._submitted$.next(submitted);\n });\n this._subscription.add(subscription);\n }\n\n}\n","import {InjectionToken} from '@angular/core';\n\nexport type ControlErrorData = { [key: string]: any };\n\nexport type ControlError = {\n [name: string]: (data: ControlErrorData) => string | { token: string, data: object };\n}\n\nexport const BBI_CONTROL_ERRORS: InjectionToken<ControlError[]> = new InjectionToken('bbi_control_errors');\n\nexport type ControlErrorMode = 'blur' | 'changes' | 'hidden';\n","import {animate, style, transition, trigger} from '@angular/animations';\n\nexport const controlErrorAnimation = trigger('errorAnimation', [\n transition(':enter', [\n style({height: 0, opacity: 0, overflow: 'hidden'}),\n animate('150ms cubic-bezier(0, 0, 0.2, 1)', style({height: '*'})),\n animate('100ms cubic-bezier(0, 0, 0.2, 1)', style({opacity: 1}))\n ]),\n transition(':leave', [\n style({overflow: 'hidden'}),\n animate('100ms cubic-bezier(0, 0, 0.2, 1)', style({opacity: 0})),\n animate('150ms cubic-bezier(0, 0, 0.2, 1)', style({height: 0}))\n ])\n]);\n","import {ChangeDetectionStrategy, Component, HostBinding, Inject, Input, Optional, ViewEncapsulation} from '@angular/core';\nimport {BBI_CONTROL_ERRORS, ControlError} from '../control-error.interface';\nimport {controlErrorAnimation} from './control-error.animation';\nimport {Localize} from '@bravobit/bb-foundation/localize';\nimport {ValidationErrors} from '@angular/forms';\n\n@Component({\n selector: 'bbi-control-error',\n templateUrl: './control-error.component.html',\n styleUrls: ['./control-error.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {'class': 'bbi-control-error'},\n preserveWhitespaces: false,\n animations: [controlErrorAnimation]\n})\nexport class BbiControlError {\n\n // Readonly data.\n readonly errorFunctions: ControlError = (this._functions ?? [])\n .reduce((previous, current) => ({...previous, ...current}), {});\n\n // Host bindings.\n @HostBinding('@errorAnimation') animation: boolean = true;\n\n // Inputs.\n @Input()\n set errors(errors: ValidationErrors | null) {\n this.error = this.parseError(errors);\n }\n\n // State.\n error: string | null = null;\n\n constructor(@Optional() private _localize?: Localize,\n @Optional() @Inject(BBI_CONTROL_ERRORS) private _functions?: ControlError[]) {\n }\n\n private parseError(errors: ValidationErrors | null) {\n const errorName = Object.keys(errors ?? {})?.[0] ?? null;\n if (!errorName) {\n return null;\n }\n\n const errorFunction = this.errorFunctions?.[errorName] ?? this.errorFunctions?.['unknown'] ?? null;\n if (!errorFunction) {\n return null;\n }\n\n const errorData = errors?.[errorName] ?? {};\n const result = errorFunction(errorData);\n if (!result) {\n return null;\n }\n\n const resultObject = typeof result === 'string' ? {token: result} : result;\n return this.getErrorSentence(resultObject);\n }\n\n private getErrorSentence(data: { token: string }) {\n return !!this._localize\n ? this._localize.translate(data)\n : data?.token;\n }\n\n}\n","{{ error ?? '...' }}\n","import {ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, DoCheck, Input, Optional, TemplateRef, ViewEncapsulation} from '@angular/core';\nimport {BbiControlErrorSubmit} from '../../control-error/control-error-submit.directive';\nimport {ControlErrorMode} from '../../control-error/control-error.interface';\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {BbiFormControlInput} from '../form-control-input.directive';\nimport {debounceTime, distinctUntilChanged} from 'rxjs/operators';\nimport {ValidationErrors} from '@angular/forms';\nimport {BehaviorSubject} from 'rxjs';\n\nlet nextUniqueId = 0;\n\n@Component({\n selector: 'bbi-form-control',\n templateUrl: './form-control.component.html',\n styleUrls: ['./form-control.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'class': 'bbi-form-control',\n '[class.grouped]': 'grouped',\n '[class.disabled]': 'formControlInput?.disabled',\n '[class.required]': 'formControlInput?.required',\n '[class.readonly]': 'formControlInput?.readonly',\n '[class.focused]': 'formControlInput?.focused',\n '[class.error]': 'validationErrors$?.getValue()'\n },\n preserveWhitespaces: false\n})\nexport class BbiFormControl implements DoCheck {\n\n // Readonly data.\n readonly labelId: string = `bbi-form-control-${nextUniqueId++}`;\n\n // Views.\n @ContentChild(BbiFormControlInput, {static: false}) formControlInput?: BbiFormControlInput;\n\n // Inputs.\n @Input() label: string | TemplateRef<any> | null = null;\n @Input() hint: string | TemplateRef<any> | null = null;\n @Input() errorMode: ControlErrorMode = 'blur';\n\n // State.\n validationErrors$ = new BehaviorSubject<ValidationErrors | null>(null);\n errors$ = this.validationErrors$.pipe(debounceTime(5), distinctUntilChanged());\n\n // Grouped.\n @Input()\n get grouped(): boolean { return this._grouped; }\n\n set grouped(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.grouped) {\n this._grouped = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _grouped: boolean = false;\n\n constructor(private _changeDetectorRef: ChangeDetectorRef,\n @Optional() private _errorSubmit?: BbiControlErrorSubmit) {\n }\n\n ngDoCheck() {\n const hasErrors = this.showErrors();\n const errors = this.formControlInput?.errors ?? null;\n const newValue = hasErrors ? errors : null;\n\n const equal = JSON.stringify(newValue) === JSON.stringify(this.validationErrors$.getValue());\n if (equal) {\n return;\n }\n\n this.validationErrors$.next(newValue);\n }\n\n private showErrors() {\n // When the error mode is none we don't want to show\n if (this.errorMode === 'hidden' || this.formControlInput?.readonly) {\n return false;\n }\n\n // When submitted always show the errors.\n const focused = this.formControlInput?.focused;\n if (this._errorSubmit?.submitted && !focused) {\n return true;\n }\n\n // We want to show changes even when the user is focused.\n if (this.errorMode === 'changes') {\n return this.formControlInput?.control?.dirty ?? false;\n }\n\n // On blur show the error.\n if (this.errorMode === 'blur' && !focused) {\n return this.formControlInput?.control?.touched ?? false;\n }\n\n // Must not show the errors.\n return false;\n }\n\n // Required so that the template type checker can infer the type of the coerced inputs.\n static ngAcceptInputType_label: string | TemplateRef<any> | null | undefined;\n static ngAcceptInputType_hint: string | TemplateRef<any> | null | undefined;\n static ngAcceptInputType_errorMode: ControlErrorMode;\n static ngAcceptInputType_grouped: BooleanInput;\n\n}\n","<!-- Label of the form control. -->\n<label *ngIf=\"label as labelContent\"\n [attr.for]=\"labelId\"\n class=\"bbi-form-control-label\">\n <ng-template [bbTemplate]=\"labelContent\">{{ labelContent }}</ng-template>\n</label>\n\n<div class=\"bbi-form-control-container\">\n <ng-content select=\"[bbi-form-control-addon=prefix]\"></ng-content>\n <ng-content select=\"input[bbiFormControlInput]\"></ng-content>\n <ng-content select=\"[bbi-form-control-addon=suffix]\"></ng-content>\n</div>\n\n<bbi-control-error *ngIf=\"errors$ | async as errors\"\n [errors]=\"errors\">\n</bbi-control-error>\n\n<div *ngIf=\"hint as hintContent\"\n class=\"bbi-form-control-hint\">\n <ng-template [bbTemplate]=\"hintContent\">{{ hintContent }}</ng-template>\n</div>\n","import {ChangeDetectionStrategy, Component, Input, ViewEncapsulation} from '@angular/core';\n\n@Component({\n selector: '[bbi-form-control-addon]',\n templateUrl: './form-control-addon.component.html',\n styleUrls: ['./form-control-addon.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'class': 'bbi-form-control-addon',\n '[class.prefix]': 'type === \\'prefix\\'',\n '[class.suffix]': 'type === \\'suffix\\''\n },\n preserveWhitespaces: false\n})\nexport class BbiFormControlAddon {\n\n // Inputs.\n @Input('bbi-form-control-addon') type: 'prefix' | 'suffix' | null = null;\n\n}\n","<ng-content></ng-content>\n","import {BbiControlError} from './control-error/control-error.component';\nimport {BbiControlErrorSubmit} from './control-error-submit.directive';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [BbiControlError, BbiControlErrorSubmit],\n exports: [BbiControlError, BbiControlErrorSubmit]\n})\nexport class ControlErrorModule {\n}\n","import {BbiFormControlAddon} from './form-control-addon/form-control-addon.component';\nimport {ControlErrorModule} from '../control-error/control-error.module';\nimport {BbiFormControl} from './form-control/form-control.component';\nimport {BbiFormControlInput} from './form-control-input.directive';\nimport {UtilsModule} from '@bravobit/bb-foundation/utils';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\n@NgModule({\n imports: [CommonModule, ControlErrorModule, UtilsModule],\n declarations: [\n BbiFormControl,\n BbiFormControlInput,\n BbiFormControlAddon\n ],\n exports: [\n BbiFormControl,\n BbiFormControlInput,\n BbiFormControlAddon\n ]\n})\nexport class FormControlModule {\n}\n","import {ControlError} from './control-error.interface';\n\nexport const controlErrorDefaults: ControlError = {\n unknown: () => 'form-control-errors.unknown',\n required: () => 'form-control-errors.required',\n pattern: () => 'form-control-errors.pattern',\n email: () => 'form-control-errors.email',\n emailTaken: () => 'form-control-errors.emailTaken',\n passwordMatch: () => 'form-control-errors.passwordMatch',\n confirm: () => 'form-control-errors.confirm',\n fullNumber: () => 'form-control-errors.fullNumber',\n min: ({min}) => ({token: 'form-control-errors.min', data: {min}}),\n max: ({max}) => ({token: 'form-control-errors.max', data: {max}}),\n maxFileSize: ({maxSize}) => ({token: 'form-control-errors.maxFileSize', data: {maxSize}}),\n minDate: ({date}) => ({token: 'form-control-errors.minDate', data: {date}}),\n maxDate: ({date}) => ({token: 'form-control-errors.maxDate', data: {date}}),\n invalidDate: () => 'form-control-errors.invalidDate',\n invalidFileType: () => 'form-control-errors.invalidFileType',\n minlength: ({requiredLength, actualLength}) => ({\n token: 'form-control-errors.minlength',\n data: {requiredLength, actualLength}\n }),\n maxlength: ({requiredLength, actualLength}) => ({\n token: 'form-control-errors.maxlength',\n data: {requiredLength, actualLength}\n })\n};\n","import {controlErrorDefaults} from './control-error/control-error.defaults';\nimport {BBI_CONTROL_ERRORS} from './control-error/control-error.interface';\nimport {ControlErrorModule} from './control-error/control-error.module';\nimport {FormControlModule} from './form-control/form-control.module';\nimport {ModuleWithProviders, NgModule} from '@angular/core';\nimport {CheckboxModule} from './checkbox/checkbox.module';\nimport {ControlsConfig} from './controls.interfaces';\n\n@NgModule({\n imports: [\n FormControlModule,\n CheckboxModule,\n ControlErrorModule\n ],\n exports: [\n FormControlModule,\n CheckboxModule,\n ControlErrorModule\n ]\n})\nexport class ControlsModule {\n\n static forRoot(config?: ControlsConfig): ModuleWithProviders<ControlsModule> {\n return {\n ngModule: ControlsModule,\n providers: [\n {\n provide: BBI_CONTROL_ERRORS,\n useValue: {...controlErrorDefaults, ...(config?.errors ?? {})},\n multi: true\n },\n {\n provide: null,\n useFactory: () => '',\n multi: true\n }\n ]\n };\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["nextUniqueId","i1.BbiFormControl","i2","i1.BbiControlErrorSubmit","i3.BbiControlError","i4"],"mappings":";;;;;;;;;;;;;;MAiBa,gBAAgB,CAAA;AA+CzB,IAAA,WAAA,CAAoB,kBAAqC,EAAA;QAArC,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAmB;;QA5ChD,IAAK,CAAA,KAAA,GAAoC,IAAI,CAAC;QAc/C,IAAQ,CAAA,QAAA,GAAY,KAAK,CAAC;QAc1B,IAAS,CAAA,SAAA,GAAY,KAAK,CAAC;QAc3B,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;KAGhC;;IA1CD,IACI,OAAO,KAAc,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE;IAEhD,IAAI,OAAO,CAAC,KAAmB,EAAA;AAC3B,QAAA,MAAM,QAAQ,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAC9C,QAAA,IAAI,QAAQ,KAAK,IAAI,CAAC,OAAO,EAAE;AAC3B,YAAA,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACzB,YAAA,IAAI,CAAC,kBAAkB,CAAC,YAAY,EAAE,CAAC;AAC1C,SAAA;KACJ;;IAKD,IACI,QAAQ,KAAc,OAAO,IAAI,CAAC,SAAS,CAAC,EAAE;IAElD,IAAI,QAAQ,CAAC,KAAmB,EAA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CAAA;kBAZ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,iBAAiB;wBACjB,cAAc;wBACd,kBAAkB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,iBAAiB;wBACjB,cAAc;wBACd,kBAAkB;AACrB,qBAAA;AACJ,iBAAA,CAAA;;;ACnBD;;AAEG;;;;"}
1
+ {"version":3,"file":"bravobit-bb-foundation-controls.mjs","sources":["../../../projects/bb-foundation/controls/src/lib/checkbox/checkbox-group/checkbox-group.component.ts","../../../projects/bb-foundation/controls/src/lib/checkbox/checkbox-group/checkbox-group.component.html","../../../projects/bb-foundation/controls/src/lib/checkbox/checkbox/checkbox.component.ts","../../../projects/bb-foundation/controls/src/lib/checkbox/checkbox/checkbox.component.html","../../../projects/bb-foundation/controls/src/lib/checkbox/checkbox.module.ts","../../../projects/bb-foundation/controls/src/lib/toggle/toggle-group/toggle-group.component.ts","../../../projects/bb-foundation/controls/src/lib/toggle/toggle-group/toggle-group.component.html","../../../projects/bb-foundation/controls/src/lib/toggle/toggle/toggle.component.ts","../../../projects/bb-foundation/controls/src/lib/toggle/toggle/toggle.component.html","../../../projects/bb-foundation/controls/src/lib/toggle/toggle.module.ts","../../../projects/bb-foundation/controls/src/lib/control-error/control-error.utils.ts","../../../projects/bb-foundation/controls/src/lib/control-error/control-error-submit.directive.ts","../../../projects/bb-foundation/controls/src/lib/control-error/control-error.interface.ts","../../../projects/bb-foundation/controls/src/lib/control-error/control-error/control-error.animation.ts","../../../projects/bb-foundation/controls/src/lib/control-error/control-error/control-error.component.ts","../../../projects/bb-foundation/controls/src/lib/control-error/control-error/control-error.component.html","../../../projects/bb-foundation/controls/src/lib/radio/radio-group/radio-group.component.ts","../../../projects/bb-foundation/controls/src/lib/radio/radio-group/radio-group.component.html","../../../projects/bb-foundation/controls/src/lib/radio/radio-button/radio-button.component.ts","../../../projects/bb-foundation/controls/src/lib/radio/radio-button/radio-button.component.html","../../../projects/bb-foundation/controls/src/lib/control-error/control-error.module.ts","../../../projects/bb-foundation/controls/src/lib/radio/radio.module.ts","../../../projects/bb-foundation/controls/src/lib/form-control/form-control-input.directive.ts","../../../projects/bb-foundation/controls/src/lib/form-control/form-control/form-control.component.ts","../../../projects/bb-foundation/controls/src/lib/form-control/form-control/form-control.component.html","../../../projects/bb-foundation/controls/src/lib/form-control/form-control-addon/form-control-addon.component.ts","../../../projects/bb-foundation/controls/src/lib/form-control/form-control-addon/form-control-addon.component.html","../../../projects/bb-foundation/controls/src/lib/form-control/form-control.module.ts","../../../projects/bb-foundation/controls/src/lib/control-error/control-error.defaults.ts","../../../projects/bb-foundation/controls/src/lib/controls.module.ts","../../../projects/bb-foundation/controls/src/bravobit-bb-foundation-controls.ts"],"sourcesContent":["import {ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, TemplateRef, ViewEncapsulation} from '@angular/core';\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\n\n@Component({\n selector: 'bbi-checkbox-group',\n templateUrl: './checkbox-group.component.html',\n styleUrls: ['./checkbox-group.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'class': 'bbi-checkbox-group',\n '[class.grouped]': 'grouped',\n '[class.required]': 'required',\n '[class.inline]': 'inline'\n },\n preserveWhitespaces: false\n})\nexport class BbiCheckboxGroup {\n\n // Inputs.\n @Input() label: string | TemplateRef<any> | null = null;\n\n // Grouped.\n @Input()\n get grouped(): boolean {\n return this._grouped;\n }\n\n set grouped(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.grouped) {\n this._grouped = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _grouped: boolean = false;\n\n // Required.\n @Input()\n get required(): boolean {\n return this._required;\n }\n\n set required(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.required) {\n this._required = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _required: boolean = false;\n\n // Inline.\n @Input()\n get inline(): boolean {\n return this._inline;\n }\n\n set inline(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.inline) {\n this._inline = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _inline: boolean = false;\n\n constructor(private _changeDetectorRef: ChangeDetectorRef) {\n }\n\n // Required so that the template type checker can infer the type of the coerced inputs.\n static ngAcceptInputType_label: string | TemplateRef<any> | null | undefined;\n static ngAcceptInputType_grouped: BooleanInput;\n static ngAcceptInputType_required: BooleanInput;\n static ngAcceptInputType_inline: BooleanInput;\n\n}\n","<label *ngIf=\"label as labelContent\"\n class=\"bbi-checkbox-group-label\">\n <ng-template [bbTemplate]=\"labelContent\">{{ labelContent }}</ng-template>\n</label>\n\n<div class=\"bbi-checkbox-group-items\">\n <ng-content select=\"bbi-checkbox\"></ng-content>\n</div>\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n Input, Output,\n Renderer2,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';\n\nlet nextUniqueId = 0;\n\n@Component({\n selector: 'bbi-checkbox',\n templateUrl: './checkbox.component.html',\n styleUrls: ['./checkbox.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BbiCheckbox), multi: true}\n ],\n host: {\n 'class': 'bbi-checkbox',\n '[class.grouped]': 'grouped',\n '[class.indeterminate]': 'indeterminate',\n '[class.required]': 'required'\n },\n preserveWhitespaces: false\n})\nexport class BbiCheckbox implements ControlValueAccessor, AfterViewInit {\n\n // Readonly data.\n readonly labelId = `bbi-checkbox-${nextUniqueId++}`;\n\n // Views.\n @ViewChild('input', {static: true}) inputElementRef: ElementRef<HTMLInputElement>;\n\n // Outputs.\n @Output() checkedChange = new EventEmitter<boolean>();\n @Output() indeterminateChange = new EventEmitter<boolean>();\n\n // Checked.\n @Input()\n get checked(): boolean {\n return this._checked;\n }\n\n set checked(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.checked) {\n this._checked = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _checked: boolean = false;\n\n // Disabled.\n @Input()\n get disabled(): boolean {\n return this._disabled;\n }\n\n set disabled(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.disabled) {\n this._disabled = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _disabled: boolean = false;\n\n // Grouped.\n @Input()\n get grouped(): boolean {\n return this._grouped;\n }\n\n set grouped(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.grouped) {\n this._grouped = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _grouped: boolean = false;\n\n // Indeterminate.\n @Input()\n get indeterminate(): boolean {\n return this._indeterminate;\n }\n\n set indeterminate(value: BooleanInput) {\n this._indeterminate = coerceBooleanProperty(value);\n this.syncField('indeterminate', this._indeterminate);\n }\n\n private _indeterminate: boolean = false;\n\n // Required.\n @Input()\n get required(): boolean {\n return this._required;\n }\n\n set required(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.required) {\n this._required = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _required: boolean = false;\n\n // Hide text.\n @Input()\n get hideText(): boolean {\n return this._hideText;\n }\n\n set hideText(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.hideText) {\n this._hideText = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _hideText: boolean = false;\n\n // Methods.\n onChange: (newValue: boolean) => void = () => ({});\n onTouched: () => void = () => ({});\n\n constructor(private _renderer: Renderer2,\n private _changeDetectorRef: ChangeDetectorRef) {\n }\n\n ngAfterViewInit() {\n this.syncField('indeterminate', this._indeterminate);\n }\n\n registerOnChange(fn: (newValue: boolean) => void) {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void) {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean) {\n this.disabled = isDisabled;\n }\n\n writeValue(newValue: boolean) {\n this.checked = !!newValue;\n }\n\n toggle() {\n this.checked = !this.checked;\n }\n\n onClickEvent(event: Event) {\n event.stopPropagation();\n if (this.disabled) {\n return;\n }\n\n // When user manually click on the checkbox, `indeterminate` is set to false.\n if (this.indeterminate) {\n Promise.resolve().then(() => {\n this._indeterminate = false;\n this.indeterminateChange.emit(this._indeterminate);\n });\n }\n\n this.toggle();\n\n // Emit our custom change event if the native input emitted one.\n // It is important to only emit it, if the native input triggered one, because\n // we don't want to trigger a change event, when the `checked` variable changes for example.\n this.emitChangeEvent();\n }\n\n onChangeEvent(event: Event) {\n // We always have to stop propagation on the change event.\n // Otherwise the change event, from the input element, will bubble up and\n // emit its event object to the `change` output.\n event.stopPropagation();\n }\n\n private emitChangeEvent() {\n this.onChange?.(this.checked);\n this.checkedChange.emit(this.checked);\n this.syncField('checked', this.checked);\n }\n\n private syncField(field: string, value: boolean) {\n const element = this.inputElementRef?.nativeElement;\n if (!element) {\n return;\n }\n this._renderer.setProperty(element, field, value);\n }\n\n // Required so that the template type checker can infer the type of the coerced inputs.\n static ngAcceptInputType_checked: BooleanInput;\n static ngAcceptInputType_disabled: BooleanInput;\n static ngAcceptInputType_required: BooleanInput;\n static ngAcceptInputType_grouped: BooleanInput;\n static ngAcceptInputType_indeterminate: BooleanInput;\n static ngAcceptInputType_hideText: BooleanInput;\n\n}\n","<input #input\n [id]=\"labelId\"\n [disabled]=\"disabled\"\n [checked]=\"checked\"\n (change)=\"onChangeEvent($event)\"\n (click)=\"onClickEvent($event)\"\n (blur)=\"onTouched()\"\n class=\"bbi-checkbox-input\"\n type=\"checkbox\">\n<label [attr.for]=\"labelId\"\n class=\"bbi-checkbox-label\">\n <span *ngIf=\"!hideText\"\n class=\"bbi-checkbox-text\"><ng-content></ng-content></span>\n</label>\n","import {BbiCheckboxGroup} from './checkbox-group/checkbox-group.component';\nimport {UtilsModule} from '@bravobit/bb-foundation/utils';\nimport {BbiCheckbox} from './checkbox/checkbox.component';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\n@NgModule({\n imports: [CommonModule, UtilsModule],\n declarations: [BbiCheckbox, BbiCheckboxGroup],\n exports: [BbiCheckbox, BbiCheckboxGroup]\n})\nexport class CheckboxModule {\n}\n","import {ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, TemplateRef, ViewEncapsulation} from '@angular/core';\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\n\n@Component({\n selector: 'bbi-toggle-group',\n templateUrl: './toggle-group.component.html',\n styleUrls: ['./toggle-group.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'class': 'bbi-toggle-group',\n '[class.grouped]': 'grouped',\n '[class.required]': 'required',\n '[class.inline]': 'inline'\n },\n preserveWhitespaces: false\n})\nexport class BbiToggleGroup {\n\n // Inputs.\n @Input() label: string| TemplateRef<any> | null = null;\n\n // Grouped.\n @Input()\n get grouped(): boolean { return this._grouped; }\n\n set grouped(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.grouped) {\n this._grouped = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _grouped: boolean = false;\n\n // Required.\n @Input()\n get required(): boolean { return this._required; }\n\n set required(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.required) {\n this._required = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _required: boolean = false;\n\n // Inline.\n @Input()\n get inline(): boolean { return this._inline; }\n\n set inline(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.inline) {\n this._inline = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _inline: boolean = false;\n\n constructor(private _changeDetectorRef: ChangeDetectorRef) {\n }\n\n // Required so that the template type checker can infer the type of the coerced inputs.\n static ngAcceptInputType_label: string | TemplateRef<any> | null | undefined;\n static ngAcceptInputType_grouped: BooleanInput;\n static ngAcceptInputType_required: BooleanInput;\n static ngAcceptInputType_inline: BooleanInput;\n\n}\n","<label *ngIf=\"label as labelContent\"\n class=\"bbi-toggle-group-label\">\n <ng-template [bbTemplate]=\"labelContent\">{{ labelContent }}</ng-template>\n</label>\n\n<div class=\"bbi-toggle-group-items\">\n <ng-content select=\"bbi-toggle\"></ng-content>\n</div>\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n Input, Output,\n Renderer2,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';\n\nlet nextUniqueId = 0;\n\n@Component({\n selector: 'bbi-toggle',\n templateUrl: './toggle.component.html',\n styleUrls: ['./toggle.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BbiToggle), multi: true}\n ],\n host: {\n 'class': 'bbi-toggle',\n '[class.grouped]': 'grouped',\n '[class.required]': 'required'\n },\n preserveWhitespaces: false\n})\nexport class BbiToggle implements ControlValueAccessor {\n\n // Readonly data.\n readonly labelId = `bbi-toggle-${nextUniqueId++}`;\n\n // Views.\n @ViewChild('input', {static: true}) inputElementRef: ElementRef<HTMLInputElement>;\n\n // Outputs.\n @Output() checkedChange = new EventEmitter<boolean>();\n\n // Checked.\n @Input()\n get checked(): boolean {\n return this._checked;\n }\n\n set checked(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.checked) {\n this._checked = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _checked: boolean = false;\n\n // Disabled.\n @Input()\n get disabled(): boolean {\n return this._disabled;\n }\n\n set disabled(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.disabled) {\n this._disabled = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _disabled: boolean = false;\n\n // Grouped.\n @Input()\n get grouped(): boolean {\n return this._grouped;\n }\n\n set grouped(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.grouped) {\n this._grouped = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _grouped: boolean = false;\n\n // Required.\n @Input()\n get required(): boolean {\n return this._required;\n }\n\n set required(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.required) {\n this._required = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _required: boolean = false;\n\n // Hide text.\n @Input()\n get hideText(): boolean {\n return this._hideText;\n }\n\n set hideText(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.hideText) {\n this._hideText = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _hideText: boolean = false;\n\n // Methods.\n onChange: (newValue: boolean) => void = () => ({});\n onTouched: () => void = () => ({});\n\n constructor(private _renderer: Renderer2,\n private _changeDetectorRef: ChangeDetectorRef) {\n }\n\n registerOnChange(fn: (newValue: boolean) => void) {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void) {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean) {\n this.disabled = isDisabled;\n }\n\n writeValue(newValue: boolean) {\n this.checked = !!newValue;\n }\n\n toggle() {\n this.checked = !this.checked;\n }\n\n onClickEvent(event: Event) {\n event.stopPropagation();\n if (this.disabled) {\n return;\n }\n\n this.toggle();\n\n // Emit our custom change event if the native input emitted one.\n // It is important to only emit it, if the native input triggered one, because\n // we don't want to trigger a change event, when the `checked` variable changes for example.\n this.emitChangeEvent();\n }\n\n onChangeEvent(event: Event) {\n // We always have to stop propagation on the change event.\n // Otherwise the change event, from the input element, will bubble up and\n // emit its event object to the `change` output.\n event.stopPropagation();\n }\n\n private emitChangeEvent() {\n this.onChange?.(this.checked);\n this.checkedChange.emit(this.checked);\n this.syncField('checked', this.checked);\n }\n\n private syncField(field: string, value: boolean) {\n const element = this.inputElementRef?.nativeElement;\n if (!element) {\n return;\n }\n this._renderer.setProperty(element, field, value);\n }\n\n // Required so that the template type checker can infer the type of the coerced inputs.\n static ngAcceptInputType_checked: BooleanInput;\n static ngAcceptInputType_disabled: BooleanInput;\n static ngAcceptInputType_required: BooleanInput;\n static ngAcceptInputType_grouped: BooleanInput;\n static ngAcceptInputType_hideText: BooleanInput;\n\n}\n","<input #input\n [id]=\"labelId\"\n [disabled]=\"disabled\"\n [checked]=\"checked\"\n (change)=\"onChangeEvent($event)\"\n (click)=\"onClickEvent($event)\"\n (blur)=\"onTouched()\"\n class=\"bbi-toggle-input\"\n type=\"checkbox\">\n<label [attr.for]=\"labelId\"\n class=\"bbi-toggle-label\">\n <div class=\"bbi-toggle-switch\"></div>\n <span *ngIf=\"!hideText\"\n class=\"bbi-toggle-text\"><ng-content></ng-content></span>\n</label>\n","import {BbiToggleGroup} from './toggle-group/toggle-group.component';\nimport {UtilsModule} from '@bravobit/bb-foundation/utils';\nimport {BbiToggle} from './toggle/toggle.component';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\n@NgModule({\n imports: [CommonModule, UtilsModule],\n declarations: [BbiToggle, BbiToggleGroup],\n exports: [BbiToggle, BbiToggleGroup]\n})\nexport class ToggleModule {\n}\n","import {ControlErrorMode} from './control-error.interface';\nimport {NgControl} from '@angular/forms';\n\nexport function shouldShowErrors(mode: ControlErrorMode, control: NgControl, submitted: boolean, focused: boolean, readonly: boolean) {\n if (mode === 'hidden' || readonly || control?.disabled) {\n return false;\n }\n\n // When submitted always show the errors.\n if (submitted && !focused) {\n return true;\n }\n\n // We want to show changes even when the user is focused.\n if (mode === 'changes') {\n return control?.dirty ?? false;\n }\n\n // On blur show the error.\n if (mode === 'blur' && !focused) {\n return control?.touched ?? false;\n }\n\n // Must not show the errors.\n return false;\n}\n","import {BehaviorSubject, fromEvent, merge, Subscription} from 'rxjs';\nimport {Directive, ElementRef, OnInit} from '@angular/core';\nimport {map} from 'rxjs/operators';\n\n@Directive({\n selector: 'form',\n exportAs: 'bbiControlErrorSubmit'\n})\nexport class BbiControlErrorSubmit implements OnInit {\n\n // State.\n private _submitted$ = new BehaviorSubject(false);\n\n // Subscriptions.\n private _subscription = new Subscription();\n\n constructor(private _elementRef: ElementRef<HTMLFormElement>) {\n }\n\n ngOnInit() {\n this.handleNativeForm();\n }\n\n get submitted() {\n return this._submitted$.getValue();\n }\n\n submit() {\n this._submitted$.next(true);\n }\n\n reset() {\n this._submitted$.next(false);\n }\n\n private handleNativeForm() {\n const element = this._elementRef?.nativeElement;\n if (!element) {\n return;\n }\n\n const formSubmit$ = fromEvent(element, 'submit').pipe(\n map(() => true)\n );\n\n const formReset$ = fromEvent(element, 'reset').pipe(\n map(() => false)\n );\n\n const subscription = merge(formSubmit$, formReset$).subscribe(submitted => {\n this._submitted$.next(submitted);\n });\n this._subscription.add(subscription);\n }\n\n}\n","import {InjectionToken} from '@angular/core';\n\nexport type ControlErrorData = { [key: string]: any };\n\nexport type ControlError = {\n [name: string]: (data: ControlErrorData) => string | { token: string, data: object };\n}\n\nexport const BBI_CONTROL_ERRORS: InjectionToken<ControlError[]> = new InjectionToken('bbi_control_errors');\n\nexport type ControlErrorMode = 'blur' | 'changes' | 'hidden';\n","import {animate, style, transition, trigger} from '@angular/animations';\n\nexport const controlErrorAnimation = trigger('errorAnimation', [\n transition(':enter', [\n style({height: 0, opacity: 0, overflow: 'hidden'}),\n animate('150ms cubic-bezier(0, 0, 0.2, 1)', style({height: '*'})),\n animate('100ms cubic-bezier(0, 0, 0.2, 1)', style({opacity: 1}))\n ]),\n transition(':leave', [\n style({overflow: 'hidden'}),\n animate('100ms cubic-bezier(0, 0, 0.2, 1)', style({opacity: 0})),\n animate('150ms cubic-bezier(0, 0, 0.2, 1)', style({height: 0}))\n ])\n]);\n","import {ChangeDetectionStrategy, Component, HostBinding, Inject, Input, Optional, ViewEncapsulation} from '@angular/core';\nimport {BBI_CONTROL_ERRORS, ControlError} from '../control-error.interface';\nimport {controlErrorAnimation} from './control-error.animation';\nimport {Localize} from '@bravobit/bb-foundation/localize';\nimport {ValidationErrors} from '@angular/forms';\n\n@Component({\n selector: 'bbi-control-error',\n templateUrl: './control-error.component.html',\n styleUrls: ['./control-error.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {'class': 'bbi-control-error'},\n preserveWhitespaces: false,\n animations: [controlErrorAnimation]\n})\nexport class BbiControlError {\n\n // Readonly data.\n readonly errorFunctions: ControlError = (this._functions ?? [])\n .reduce((previous, current) => ({...previous, ...current}), {});\n\n // Host bindings.\n @HostBinding('@errorAnimation') animation: boolean = true;\n\n // Inputs.\n @Input()\n set errors(errors: ValidationErrors | null) {\n this.error = this.parseError(errors);\n }\n\n // State.\n error: string | null = null;\n\n constructor(@Optional() private _localize?: Localize,\n @Optional() @Inject(BBI_CONTROL_ERRORS) private _functions?: ControlError[]) {\n }\n\n private parseError(errors: ValidationErrors | null) {\n const errorName = Object.keys(errors ?? {})?.[0] ?? null;\n if (!errorName) {\n return null;\n }\n\n const errorFunction = this.errorFunctions?.[errorName] ?? this.errorFunctions?.['unknown'] ?? null;\n if (!errorFunction) {\n return null;\n }\n\n const errorData = errors?.[errorName] ?? {};\n const result = errorFunction(errorData);\n if (!result) {\n return null;\n }\n\n const resultObject = typeof result === 'string' ? {token: result} : result;\n return this.getErrorSentence(resultObject);\n }\n\n private getErrorSentence(data: { token: string }) {\n return !!this._localize\n ? this._localize.translate(data)\n : data?.token;\n }\n\n}\n","{{ error ?? '...' }}\n","import {ChangeDetectionStrategy, ChangeDetectorRef, Component, DoCheck, EventEmitter, forwardRef, Injector, Input, Optional, Output, TemplateRef, ViewEncapsulation} from '@angular/core';\nimport {ControlValueAccessor, NG_VALUE_ACCESSOR, NgControl, ValidationErrors} from '@angular/forms';\nimport {BbiControlErrorSubmit} from '../../control-error/control-error-submit.directive';\nimport {ControlErrorMode} from '../../control-error/control-error.interface';\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {shouldShowErrors} from '../../control-error/control-error.utils';\nimport {BehaviorSubject} from 'rxjs';\n\n@Component({\n selector: 'bbi-radio-group',\n templateUrl: './radio-group.component.html',\n styleUrls: ['./radio-group.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BbiRadioGroup), multi: true}\n ],\n host: {\n 'class': 'bbi-radio-group',\n '[class.disabled]': 'disabled',\n '[class.readonly]': 'readonly',\n '[class.grouped]': 'grouped',\n '[class.required]': 'required',\n '[class.inline]': 'inline',\n '[class.error]': 'validationErrors$?.getValue()'\n },\n preserveWhitespaces: false\n})\nexport class BbiRadioGroup implements DoCheck, ControlValueAccessor {\n\n // Inputs.\n @Input() label: string | TemplateRef<any> | null = null;\n @Input() errorMode: ControlErrorMode = 'blur';\n\n // Outputs.\n @Output() valueChange = new EventEmitter<any>();\n\n // State.\n validationErrors$ = new BehaviorSubject<ValidationErrors | null>(null);\n\n // Value.\n @Input()\n get value(): any {\n return this._value;\n }\n\n set value(value: any) {\n this._value = value;\n this._changeDetectorRef.markForCheck();\n }\n\n private _value: any = null;\n\n // Disabled.\n @Input()\n get disabled(): boolean {\n return this._disabled;\n }\n\n set disabled(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.disabled) {\n this._disabled = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _disabled: boolean = false;\n\n // Grouped.\n @Input()\n get grouped(): boolean {\n return this._grouped;\n }\n\n set grouped(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.grouped) {\n this._grouped = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _grouped: boolean = false;\n\n // Readonly.\n @Input()\n get readonly(): boolean {\n return this._readonly;\n }\n\n set readonly(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.grouped) {\n this._readonly = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _readonly: boolean = false;\n\n // Required.\n @Input()\n get required(): boolean {\n return this._required;\n }\n\n set required(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.required) {\n this._required = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _required: boolean = false;\n\n // Inline.\n @Input()\n get inline(): boolean {\n return this._inline;\n }\n\n set inline(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.inline) {\n this._inline = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _inline: boolean = false;\n\n // Methods.\n onChange: (newValue: any) => void = () => ({});\n onTouched: () => void = () => ({});\n\n constructor(private _injector: Injector,\n private _changeDetectorRef: ChangeDetectorRef,\n @Optional() private _errorSubmit?: BbiControlErrorSubmit) {\n }\n\n ngDoCheck() {\n const control = this._injector.get(NgControl);\n const submitted = this._errorSubmit?.submitted;\n const hasErrors = shouldShowErrors(this.errorMode, control, submitted, false, this.readonly);\n const errors = control?.errors ?? null;\n const newValue = hasErrors ? errors : null;\n\n const equal = JSON.stringify(newValue) === JSON.stringify(this.validationErrors$.getValue());\n if (equal) {\n return;\n }\n\n this.validationErrors$.next(newValue);\n }\n\n select(value: any) {\n if (this.value === value || this.disabled || this.readonly) {\n return;\n }\n this.value = value;\n this.onChange?.(this.value);\n this.valueChange.emit(this.value);\n this.onTouched?.();\n }\n\n registerOnChange(fn: (newValue: boolean) => void) {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void) {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean) {\n this.disabled = isDisabled;\n }\n\n writeValue(newValue: any) {\n this.value = newValue;\n }\n\n // Required so that the template type checker can infer the type of the coerced inputs.\n static ngAcceptInputType_label: string | TemplateRef<any> | null | undefined;\n static ngAcceptInputType_value: any;\n static ngAcceptInputType_disabled: BooleanInput;\n static ngAcceptInputType_readonly: BooleanInput;\n static ngAcceptInputType_grouped: BooleanInput;\n static ngAcceptInputType_required: BooleanInput;\n static ngAcceptInputType_inline: BooleanInput;\n static ngAcceptInputType_errorMode: ControlErrorMode;\n\n}\n","<label *ngIf=\"label as labelContent\"\n class=\"bbi-radio-group-label\">\n <ng-template [bbTemplate]=\"labelContent\">{{ labelContent }}</ng-template>\n</label>\n\n<div class=\"bbi-radio-group-items\">\n <ng-content select=\"bbi-radio-button\"></ng-content>\n</div>\n\n<bbi-control-error *ngIf=\"validationErrors$ | async as errors\"\n [errors]=\"errors\">\n</bbi-control-error>\n","import {ChangeDetectionStrategy, ChangeDetectorRef, Component, HostBinding, HostListener, Input, ViewEncapsulation} from '@angular/core';\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {BbiRadioGroup} from '../radio-group/radio-group.component';\n\n@Component({\n selector: 'bbi-radio-button',\n templateUrl: './radio-button.component.html',\n styleUrls: ['./radio-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'class': 'bbi-radio-button',\n '[class.disabled]': 'disabled',\n '[tabindex]': 'disabled ? -1 : 0'\n },\n preserveWhitespaces: false\n})\nexport class BbiRadioButton {\n\n // Inputs.\n @Input() value: any | null = null;\n\n // Disabled.\n @Input()\n get disabled(): boolean {\n return this._radioGroup?.disabled || this._disabled;\n }\n\n set disabled(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.disabled) {\n this._disabled = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _disabled: boolean = false;\n\n // Hide text.\n @Input()\n get hideText(): boolean {\n return this._hideText;\n }\n\n set hideText(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.hideText) {\n this._hideText = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _hideText: boolean = false;\n\n @HostListener('click')\n onClick() {\n if (this.disabled) {\n return;\n }\n this._radioGroup.select(this.value);\n }\n\n @HostListener('keydown.space')\n onSpacePressed() {\n return this.onClick();\n }\n\n @HostBinding('class.selected')\n get selected() {\n return this._radioGroup?.value === this.value;\n }\n\n constructor(private _radioGroup: BbiRadioGroup,\n private _changeDetectorRef: ChangeDetectorRef) {\n }\n\n // Required so that the template type checker can infer the type of the coerced inputs.\n static ngAcceptInputType_value: any;\n static ngAcceptInputType_disabled: BooleanInput;\n static ngAcceptInputType_hideText: BooleanInput;\n\n}\n","<div class=\"bbi-radio-button-indicator\"></div>\n<span *ngIf=\"!hideText\"\n class=\"bbi-radio-button-text\"><ng-content></ng-content></span>\n","import {BbiControlError} from './control-error/control-error.component';\nimport {BbiControlErrorSubmit} from './control-error-submit.directive';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [BbiControlError, BbiControlErrorSubmit],\n exports: [BbiControlError, BbiControlErrorSubmit]\n})\nexport class ControlErrorModule {\n}\n","import {ControlErrorModule} from '../control-error/control-error.module';\nimport {BbiRadioButton} from './radio-button/radio-button.component';\nimport {BbiRadioGroup} from './radio-group/radio-group.component';\nimport {UtilsModule} from '@bravobit/bb-foundation/utils';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\n@NgModule({\n imports: [CommonModule, ControlErrorModule, UtilsModule],\n declarations: [BbiRadioGroup, BbiRadioButton],\n exports: [BbiRadioGroup, BbiRadioButton]\n})\nexport class RadioModule {\n}\n","import {ChangeDetectorRef, Directive, ElementRef, HostBinding, Input, OnDestroy, OnInit, Optional, Self} from '@angular/core';\nimport {delay, distinctUntilChanged, map, pairwise, startWith, switchMap} from 'rxjs/operators';\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {NgControl, ValidationErrors, Validators} from '@angular/forms';\nimport {BbiFormControl} from './form-control/form-control.component';\nimport {fromEvent, merge, of, Subscription} from 'rxjs';\n\n@Directive({\n selector: 'input[bbiFormControlInput]'\n})\nexport class BbiFormControlInput implements OnInit, OnDestroy {\n\n // Readonly data.\n @HostBinding('attr.id') readonly labelId: string = this._formControl?.labelId ?? null;\n\n // State.\n errors: ValidationErrors | null = null;\n focused: boolean = false;\n\n // Subscriptions.\n private _subscription = new Subscription();\n\n constructor(private _elementRef: ElementRef,\n private _formControl: BbiFormControl,\n private _changeDetectorRef: ChangeDetectorRef,\n @Optional() @Self() private _ngControl: NgControl) {\n }\n\n ngOnInit() {\n this.handleControlDisabledStatus();\n this.handleControlErrorStatus();\n this.handleFocusedState();\n }\n\n ngOnDestroy() {\n this._subscription?.unsubscribe();\n }\n\n get control() {\n return this._ngControl ?? null;\n }\n\n get disabled(): boolean { return this._disabled; }\n\n @Input()\n set disabled(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.disabled) {\n this._disabled = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _disabled: boolean = false;\n\n get readonly(): boolean { return this._readonly; }\n\n @Input()\n set readonly(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.readonly) {\n this._readonly = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _readonly: boolean = false;\n\n get required() {\n if (this._ngControl) {\n return this._ngControl?.control?.hasValidator(Validators.required);\n }\n return this._required;\n }\n\n @HostBinding('required')\n @Input()\n set required(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.required) {\n this._required = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _required: boolean = false;\n\n private handleControlErrorStatus() {\n if (!this._ngControl) {\n return;\n }\n\n const errors$ = this._ngControl.statusChanges.pipe(\n startWith(this._ngControl.status),\n map(() => this._ngControl?.errors ?? null)\n );\n\n const subscription = errors$.subscribe(errors => {\n this.errors = errors;\n this._changeDetectorRef.markForCheck();\n });\n this._subscription.add(subscription);\n }\n\n private handleControlDisabledStatus() {\n if (!this._ngControl) {\n return;\n }\n\n const disabled$ = this._ngControl.statusChanges.pipe(\n startWith(this._ngControl.status),\n map(status => status === 'DISABLED'),\n distinctUntilChanged()\n );\n\n const subscription = disabled$.subscribe(disabled => {\n this.disabled = disabled;\n });\n this._subscription.add(subscription);\n }\n\n private handleFocusedState() {\n const focus$ = fromEvent(this._elementRef.nativeElement, 'focus').pipe(\n map(() => true)\n );\n const blur$ = fromEvent(this._elementRef.nativeElement, 'blur').pipe(\n map(() => false)\n );\n\n const focused$ = merge(focus$, blur$).pipe(\n startWith(false),\n pairwise(),\n switchMap(([oldValue, currentValue]) => {\n if (oldValue && !currentValue) {\n return of(currentValue).pipe(delay(100));\n }\n\n return of(currentValue);\n }),\n distinctUntilChanged()\n );\n\n const subscription = focused$.subscribe(focused => this.focused = focused);\n this._subscription.add(subscription);\n }\n\n // Required so that the template type checker can infer the type of the coerced inputs.\n static ngAcceptInputType_disabled: BooleanInput;\n static ngAcceptInputType_required: BooleanInput;\n\n}\n","import {ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, DoCheck, Input, Optional, TemplateRef, ViewEncapsulation} from '@angular/core';\nimport {BbiControlErrorSubmit} from '../../control-error/control-error-submit.directive';\nimport {ControlErrorMode} from '../../control-error/control-error.interface';\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {shouldShowErrors} from '../../control-error/control-error.utils';\nimport {BbiFormControlInput} from '../form-control-input.directive';\nimport {ValidationErrors} from '@angular/forms';\nimport {BehaviorSubject} from 'rxjs';\n\nlet nextUniqueId = 0;\n\n@Component({\n selector: 'bbi-form-control',\n templateUrl: './form-control.component.html',\n styleUrls: ['./form-control.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'class': 'bbi-form-control',\n '[class.grouped]': 'grouped',\n '[class.disabled]': 'formControlInput?.disabled',\n '[class.required]': 'formControlInput?.required',\n '[class.readonly]': 'formControlInput?.readonly',\n '[class.focused]': 'formControlInput?.focused',\n '[class.error]': 'validationErrors$?.getValue()'\n },\n preserveWhitespaces: false\n})\nexport class BbiFormControl implements DoCheck {\n\n // Readonly data.\n readonly labelId: string = `bbi-form-control-${nextUniqueId++}`;\n\n // Views.\n @ContentChild(BbiFormControlInput, {static: false}) formControlInput?: BbiFormControlInput;\n\n // Inputs.\n @Input() label: string | TemplateRef<any> | null = null;\n @Input() hint: string | TemplateRef<any> | null = null;\n @Input() errorMode: ControlErrorMode = 'blur';\n\n // State.\n validationErrors$ = new BehaviorSubject<ValidationErrors | null>(null);\n\n // Grouped.\n @Input()\n get grouped(): boolean {\n return this._grouped;\n }\n\n set grouped(value: BooleanInput) {\n const newValue = coerceBooleanProperty(value);\n if (newValue !== this.grouped) {\n this._grouped = newValue;\n this._changeDetectorRef.markForCheck();\n }\n }\n\n private _grouped: boolean = false;\n\n constructor(private _changeDetectorRef: ChangeDetectorRef,\n @Optional() private _errorSubmit?: BbiControlErrorSubmit) {\n }\n\n ngDoCheck() {\n const control = this.formControlInput?.control;\n const submitted = this._errorSubmit?.submitted;\n const focused = this.formControlInput?.focused;\n const readonly = this.formControlInput?.readonly;\n const hasErrors = shouldShowErrors(this.errorMode, control, submitted, focused, readonly);\n const errors = this.formControlInput?.errors ?? null;\n const newValue = hasErrors ? errors : null;\n\n const equal = JSON.stringify(newValue) === JSON.stringify(this.validationErrors$.getValue());\n if (equal) {\n return;\n }\n\n this.validationErrors$.next(newValue);\n }\n\n // Required so that the template type checker can infer the type of the coerced inputs.\n static ngAcceptInputType_label: string | TemplateRef<any> | null | undefined;\n static ngAcceptInputType_hint: string | TemplateRef<any> | null | undefined;\n static ngAcceptInputType_errorMode: ControlErrorMode;\n static ngAcceptInputType_grouped: BooleanInput;\n\n}\n","<!-- Label of the form control. -->\n<label *ngIf=\"label as labelContent\"\n [attr.for]=\"labelId\"\n class=\"bbi-form-control-label\">\n <ng-template [bbTemplate]=\"labelContent\">{{ labelContent }}</ng-template>\n</label>\n\n<div class=\"bbi-form-control-container\">\n <ng-content select=\"[bbi-form-control-addon=prefix]\"></ng-content>\n <ng-content select=\"input[bbiFormControlInput]\"></ng-content>\n <ng-content select=\"[bbi-form-control-addon=suffix]\"></ng-content>\n</div>\n\n<bbi-control-error *ngIf=\"validationErrors$ | async as errors\"\n [errors]=\"errors\">\n</bbi-control-error>\n\n<div *ngIf=\"hint as hintContent\"\n class=\"bbi-form-control-hint\">\n <ng-template [bbTemplate]=\"hintContent\">{{ hintContent }}</ng-template>\n</div>\n","import {ChangeDetectionStrategy, Component, Input, ViewEncapsulation} from '@angular/core';\n\n@Component({\n selector: '[bbi-form-control-addon]',\n templateUrl: './form-control-addon.component.html',\n styleUrls: ['./form-control-addon.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'class': 'bbi-form-control-addon',\n '[class.prefix]': 'type === \\'prefix\\'',\n '[class.suffix]': 'type === \\'suffix\\''\n },\n preserveWhitespaces: false\n})\nexport class BbiFormControlAddon {\n\n // Inputs.\n @Input('bbi-form-control-addon') type: 'prefix' | 'suffix' | null = null;\n\n}\n","<ng-content></ng-content>\n","import {BbiFormControlAddon} from './form-control-addon/form-control-addon.component';\nimport {ControlErrorModule} from '../control-error/control-error.module';\nimport {BbiFormControl} from './form-control/form-control.component';\nimport {BbiFormControlInput} from './form-control-input.directive';\nimport {UtilsModule} from '@bravobit/bb-foundation/utils';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\n@NgModule({\n imports: [CommonModule, ControlErrorModule, UtilsModule],\n declarations: [\n BbiFormControl,\n BbiFormControlInput,\n BbiFormControlAddon\n ],\n exports: [\n BbiFormControl,\n BbiFormControlInput,\n BbiFormControlAddon\n ]\n})\nexport class FormControlModule {\n}\n","import {ControlError} from './control-error.interface';\n\nexport const controlErrorDefaults: ControlError = {\n unknown: () => 'form-control-errors.unknown',\n required: () => 'form-control-errors.required',\n pattern: () => 'form-control-errors.pattern',\n email: () => 'form-control-errors.email',\n emailTaken: () => 'form-control-errors.emailTaken',\n passwordMatch: () => 'form-control-errors.passwordMatch',\n confirm: () => 'form-control-errors.confirm',\n fullNumber: () => 'form-control-errors.fullNumber',\n min: ({min}) => ({token: 'form-control-errors.min', data: {min}}),\n max: ({max}) => ({token: 'form-control-errors.max', data: {max}}),\n maxFileSize: ({maxSize}) => ({token: 'form-control-errors.maxFileSize', data: {maxSize}}),\n minDate: ({date}) => ({token: 'form-control-errors.minDate', data: {date}}),\n maxDate: ({date}) => ({token: 'form-control-errors.maxDate', data: {date}}),\n invalidDate: () => 'form-control-errors.invalidDate',\n invalidFileType: () => 'form-control-errors.invalidFileType',\n minlength: ({requiredLength, actualLength}) => ({\n token: 'form-control-errors.minlength',\n data: {requiredLength, actualLength}\n }),\n maxlength: ({requiredLength, actualLength}) => ({\n token: 'form-control-errors.maxlength',\n data: {requiredLength, actualLength}\n })\n};\n","import {controlErrorDefaults} from './control-error/control-error.defaults';\nimport {BBI_CONTROL_ERRORS} from './control-error/control-error.interface';\nimport {ControlErrorModule} from './control-error/control-error.module';\nimport {FormControlModule} from './form-control/form-control.module';\nimport {ModuleWithProviders, NgModule} from '@angular/core';\nimport {CheckboxModule} from './checkbox/checkbox.module';\nimport {ControlsConfig} from './controls.interfaces';\nimport {ToggleModule} from './toggle/toggle.module';\nimport {RadioModule} from './radio/radio.module';\n\n@NgModule({\n imports: [\n FormControlModule,\n CheckboxModule,\n RadioModule,\n ToggleModule,\n ControlErrorModule\n ],\n exports: [\n FormControlModule,\n CheckboxModule,\n RadioModule,\n ToggleModule,\n ControlErrorModule\n ]\n})\nexport class ControlsModule {\n\n static forRoot(config?: ControlsConfig): ModuleWithProviders<ControlsModule> {\n return {\n ngModule: ControlsModule,\n providers: [\n {\n provide: BBI_CONTROL_ERRORS,\n useValue: {...controlErrorDefaults, ...(config?.errors ?? {})},\n multi: true\n }\n ]\n };\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1","i2","nextUniqueId","i1.BbiControlErrorSubmit","i3.BbiControlError","i4","i1.BbiRadioGroup","i1.BbiFormControl"],"mappings":";;;;;;;;;;;;;;MAiBa,gBAAgB,CAAA;AAqDzB,IAAA,WAAA,CAAoB,kBAAqC,EAAA;QAArC,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAmB;;QAlDhD,IAAK,CAAA,KAAA,GAAqC,IAAI,CAAC;QAgBhD,IAAQ,CAAA,QAAA,GAAY,KAAK,CAAC;QAgB1B,IAAS,CAAA,SAAA,GAAY,KAAK,CAAC;QAgB3B,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;KAGhC;;AAhDD,IAAA,IACI,OAAO,GAAA;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;KACxB;IAED,IAAI,OAAO,CAAC,KAAmB,EAAA;AAC3B,QAAA,MAAM,QAAQ,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAC9C,QAAA,IAAI,QAAQ,KAAK,IAAI,CAAC,OAAO,EAAE;AAC3B,YAAA,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACzB,YAAA,IAAI,CAAC,kBAAkB,CAAC,YAAY,EAAE,CAAC;AAC1C,SAAA;KACJ;;AAKD,IAAA,IACI,QAAQ,GAAA;QACR,OAAO,IAAI,CAAC,SAAS,CAAC;KACzB;IAED,IAAI,QAAQ,CAAC,KAAmB,EAAA;AAC5B,QAAA,MAAM,QAAQ,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAC9C,QAAA,IAAI,QAAQ,KAAK,IAAI,CAAC,QAAQ,EAAE;AAC5B,YAAA,IAAI,C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d,WAAW;QACX,YAAY;AACZ,QAAA,kBAAkB,aAGlB,iBAAiB;QACjB,cAAc;QACd,WAAW;QACX,YAAY;QACZ,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAGb,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAdnB,iBAAiB;QACjB,cAAc;QACd,WAAW;QACX,YAAY;AACZ,QAAA,kBAAkB,EAGlB,iBAAiB;QACjB,cAAc;QACd,WAAW;QACX,YAAY;QACZ,kBAAkB,CAAA,EAAA,CAAA,CAAA;2FAGb,cAAc,EAAA,UAAA,EAAA,CAAA;kBAhB1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,iBAAiB;wBACjB,cAAc;wBACd,WAAW;wBACX,YAAY;wBACZ,kBAAkB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,iBAAiB;wBACjB,cAAc;wBACd,WAAW;wBACX,YAAY;wBACZ,kBAAkB;AACrB,qBAAA;AACJ,iBAAA,CAAA;;;ACzBD;;AAEG;;;;"}
@@ -72,9 +72,9 @@ class BbDashboardSidebar {
72
72
  this.visibilityChanges.next(false);
73
73
  }
74
74
  }
75
- BbDashboardSidebar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboardSidebar, deps: [{ token: i1.Storage }], target: i0.ɵɵFactoryTarget.Component });
76
- BbDashboardSidebar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: BbDashboardSidebar, selector: "bb-dashboard-sidebar", host: { attributes: { "role": "navigation" }, properties: { "class.visible": "visibilityChanges.getValue()" }, classAttribute: "bb-dashboard-sidebar" }, ngImport: i0, template: "<!--\n The optional header element.\n-->\n<ng-content select=\"header\"></ng-content>\n\n<!--\n The scroll area that contains the\n groups in the navigation.\n-->\n<div class=\"bb-dashboard-sidebar-scroll\">\n <ng-content select=\"bb-dashboard-sidebar-group\"></ng-content>\n</div>\n\n<!--\n The optional footer element.\n-->\n<ng-content select=\"footer\"></ng-content>\n", styles: [".bb-dashboard-sidebar{top:0;bottom:0;z-index:10;left:-256px;width:256px;height:100vh;display:flex;position:fixed;min-width:256px;will-change:transform;flex-direction:column;transform:translate(256px);height:calc(var(--vh, 1vh) * 100);border-right:1px solid rgba(0,0,0,.4);transition:transform .25s cubic-bezier(0,0,.2,1);background:white linear-gradient(to bottom,white,#f2f2f2)}.bb-dashboard-sidebar.visible{transform:none}.bb-dashboard-sidebar-scroll{flex:1;overflow:auto}.bb-dashboard-sidebar>header{border-bottom:1px solid #d8d8d8;background-color:#ffffff80}.bb-dashboard-sidebar>footer{border-top:1px solid #d8d8d8;background-color:#ffffff80}@media only screen and (min-width: 768px){.bb-dashboard-sidebar{left:0;z-index:auto;transform:none;position:relative;margin-left:-256px;transition:margin-left .25s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar.visible{margin-left:0}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboardSidebar, decorators: [{
75
+ BbDashboardSidebar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboardSidebar, deps: [{ token: i1.Storage }], target: i0.ɵɵFactoryTarget.Component });
76
+ BbDashboardSidebar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.5", type: BbDashboardSidebar, selector: "bb-dashboard-sidebar", host: { attributes: { "role": "navigation" }, properties: { "class.visible": "visibilityChanges.getValue()" }, classAttribute: "bb-dashboard-sidebar" }, ngImport: i0, template: "<!--\n The optional header element.\n-->\n<ng-content select=\"header\"></ng-content>\n\n<!--\n The scroll area that contains the\n groups in the navigation.\n-->\n<div class=\"bb-dashboard-sidebar-scroll\">\n <ng-content select=\"bb-dashboard-sidebar-group\"></ng-content>\n</div>\n\n<!--\n The optional footer element.\n-->\n<ng-content select=\"footer\"></ng-content>\n", styles: [".bb-dashboard-sidebar{top:0;bottom:0;z-index:10;left:-256px;width:256px;height:100vh;display:flex;position:fixed;min-width:256px;will-change:transform;flex-direction:column;transform:translate(256px);height:calc(var(--vh, 1vh) * 100);border-right:1px solid rgba(0,0,0,.4);transition:transform .25s cubic-bezier(0,0,.2,1);background:white linear-gradient(to bottom,white,#f2f2f2)}.bb-dashboard-sidebar.visible{transform:none}.bb-dashboard-sidebar-scroll{flex:1;overflow:auto}.bb-dashboard-sidebar>header{border-bottom:1px solid #d8d8d8;background-color:#ffffff80}.bb-dashboard-sidebar>footer{border-top:1px solid #d8d8d8;background-color:#ffffff80}@media only screen and (min-width: 768px){.bb-dashboard-sidebar{left:0;z-index:auto;transform:none;position:relative;margin-left:-256px;transition:margin-left .25s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar.visible{margin-left:0}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboardSidebar, decorators: [{
78
78
  type: Component,
79
79
  args: [{ selector: 'bb-dashboard-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, host: {
80
80
  'class': 'bb-dashboard-sidebar',
@@ -116,9 +116,9 @@ class BbDashboard {
116
116
  : this._renderer.addClass(document.documentElement, className);
117
117
  }
118
118
  }
119
- BbDashboard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboard, deps: [{ token: i1$1.Patch }, { token: i2.Platform }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
120
- BbDashboard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: BbDashboard, selector: "bb-dashboard", inputs: { backgroundColor: "backgroundColor", maxWidth: "maxWidth", padding: "padding" }, host: { classAttribute: "bb-dashboard" }, queries: [{ propertyName: "sidebar", first: true, predicate: BbDashboardSidebar, descendants: true }], ngImport: i0, template: "<!--\n The outlet for where the sidebar\n will be placed (if provided).\n-->\n<ng-content select=\"bb-dashboard-sidebar\">\n</ng-content>\n\n<!--\n The section containing the header\n and the main content.\n-->\n<section [style.background-color]=\"backgroundColor\"\n class=\"bb-dashboard-section\">\n <!--\n The outlet for where the header\n will be placed (if provided).\n -->\n <ng-content select=\"bb-dashboard-header\">\n </ng-content>\n\n <!--\n The outlet of the content that\n will be provided by the router.\n -->\n <main [style.padding]=\"padding\"\n class=\"bb-dashboard-scroll\">\n <div [style.max-width]=\"maxWidth\"\n class=\"bb-dashboard-container\">\n <ng-content select=\"bb-dashboard-menu\"></ng-content>\n\n <ng-content></ng-content>\n </div>\n <!--\n The outlet for where the footer\n will be placed (if provided).\n -->\n <ng-content select=\"bb-dashboard-footer\">\n </ng-content>\n </main>\n</section>\n\n<!--\n The backdrop that will be visible when\n the sidebar is opened (only on mobile).\n-->\n<div *ngIf=\"!!sidebar\"\n [class.visible]=\"!(sidebar?.visibilityChanges | async)\"\n (click)=\"sidebar?.toggle()\"\n class=\"bb-dashboard-backdrop\">\n</div>\n", styles: [".bb-dashboard{height:100vh;display:flex;overflow:hidden;position:relative;height:calc(var(--vh, 1vh) * 100)}.bb-dashboard-section{flex:1;height:100vh;display:flex;overflow-x:hidden;flex-direction:column;height:calc(var(--vh, 1vh) * 100)}.bb-dashboard-scroll{flex:1;display:flex;overflow-x:hidden;overflow-y:scroll;flex-direction:column;-webkit-overflow-scrolling:touch}.bb-dashboard-container{width:100%;display:flex;margin:0 auto;flex-direction:column}.bb-dashboard-backdrop{top:0;left:0;right:0;bottom:0;opacity:0;z-index:5;position:absolute;will-change:opacity;pointer-events:none;background-color:#00000080;transition:opacity .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-backdrop.visible{opacity:1;cursor:pointer;pointer-events:all}@media only screen and (min-width: 768px){.bb-dashboard-backdrop{display:none}}.bb-dashboard-html{height:100%;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
121
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboard, decorators: [{
119
+ BbDashboard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboard, deps: [{ token: i1$1.Patch }, { token: i2.Platform }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
120
+ BbDashboard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.5", type: BbDashboard, selector: "bb-dashboard", inputs: { backgroundColor: "backgroundColor", maxWidth: "maxWidth", padding: "padding" }, host: { classAttribute: "bb-dashboard" }, queries: [{ propertyName: "sidebar", first: true, predicate: BbDashboardSidebar, descendants: true }], ngImport: i0, template: "<!--\n The outlet for where the sidebar\n will be placed (if provided).\n-->\n<ng-content select=\"bb-dashboard-sidebar\">\n</ng-content>\n\n<!--\n The section containing the header\n and the main content.\n-->\n<section [style.background-color]=\"backgroundColor\"\n class=\"bb-dashboard-section\">\n <!--\n The outlet for where the header\n will be placed (if provided).\n -->\n <ng-content select=\"bb-dashboard-header\">\n </ng-content>\n\n <!--\n The outlet of the content that\n will be provided by the router.\n -->\n <main [style.padding]=\"padding\"\n class=\"bb-dashboard-scroll\">\n <div [style.max-width]=\"maxWidth\"\n class=\"bb-dashboard-container\">\n <ng-content select=\"bb-dashboard-menu\"></ng-content>\n\n <ng-content></ng-content>\n </div>\n <!--\n The outlet for where the footer\n will be placed (if provided).\n -->\n <ng-content select=\"bb-dashboard-footer\">\n </ng-content>\n </main>\n</section>\n\n<!--\n The backdrop that will be visible when\n the sidebar is opened (only on mobile).\n-->\n<div *ngIf=\"!!sidebar\"\n [class.visible]=\"!(sidebar?.visibilityChanges | async)\"\n (click)=\"sidebar?.toggle()\"\n class=\"bb-dashboard-backdrop\">\n</div>\n", styles: [".bb-dashboard{height:100vh;display:flex;overflow:hidden;position:relative;height:calc(var(--vh, 1vh) * 100)}.bb-dashboard-section{flex:1;height:100vh;display:flex;overflow-x:hidden;flex-direction:column;height:calc(var(--vh, 1vh) * 100)}.bb-dashboard-scroll{flex:1;display:flex;overflow-x:hidden;overflow-y:scroll;flex-direction:column;-webkit-overflow-scrolling:touch}.bb-dashboard-container{width:100%;display:flex;margin:0 auto;flex-direction:column}.bb-dashboard-backdrop{top:0;left:0;right:0;bottom:0;opacity:0;z-index:5;position:absolute;will-change:opacity;pointer-events:none;background-color:#00000080;transition:opacity .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-backdrop.visible{opacity:1;cursor:pointer;pointer-events:all}@media only screen and (min-width: 768px){.bb-dashboard-backdrop{display:none}}.bb-dashboard-html{height:100%;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboard, decorators: [{
122
122
  type: Component,
123
123
  args: [{ selector: 'bb-dashboard', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, host: {
124
124
  'class': 'bb-dashboard'
@@ -148,9 +148,9 @@ class BbDashboardHeader {
148
148
  this._parent?.sidebar?.toggle();
149
149
  }
150
150
  }
151
- BbDashboardHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboardHeader, deps: [{ token: BbDashboard, optional: true }], target: i0.ɵɵFactoryTarget.Component });
152
- BbDashboardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: BbDashboardHeader, selector: "bb-dashboard-header", host: { classAttribute: "bb-dashboard-header" }, ngImport: i0, template: "<!--\n The button that toggles the sidebar.\n-->\n<button *ngIf=\"showSidebarButton\"\n (click)=\"onToggleSidebarClicked()\"\n [class.reversed]=\"isSidebarVisible | async\"\n class=\"bb-dashboard-header-button\"\n type=\"button\"\n tabindex=\"0\"\n role=\"switch\">\n <svg xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 157 109\"\n width=\"17\"\n height=\"12\"\n role=\"img\">\n <title>\n Toggle\n </title>\n <path fill=\"#fff\"\n d=\"M82 42V11.2L30 54.5l52 43.3V67h75V42zM9.5 109h-2c-4.1 0-7.5-3.4-7.5-7.5v-94C0 3.4 3.4 0 7.5 0h2C13.6 0 17 3.4 17 7.5v94c0 4.1-3.4 7.5-7.5 7.5z\">\n </path>\n </svg>\n</button>\n\n<!--\n The extra items of the header.\n-->\n<div class=\"bb-dashboard-header-items\">\n <ng-content></ng-content>\n</div>\n", styles: [".bb-dashboard-header{z-index:1;width:100%;color:#fff;height:50px;display:flex;padding:0 8px;min-height:50px;align-items:center;background-color:#5b53ff;border-bottom:1px solid #4d46d6}.bb-dashboard-header-button{width:68px;height:34px;border-radius:4px;align-items:center;display:inline-flex;justify-content:center;border:1px solid #4d46d6;background-color:transparent}.bb-dashboard-header-button>svg{height:100%;transform:none;transition:transform .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-header-button.reversed>svg{transform:rotateY(180deg)}.bb-dashboard-header-button:hover{background-color:#0000000a}.bb-dashboard-header-button:active{background-color:#00000014}.bb-dashboard-header-items{display:flex;margin-left:auto;align-items:center}.bb-dashboard-header-items>*:not(:first-child){margin-left:8px}@media only screen and (min-width: 768px){.bb-dashboard-header-button>svg{transform:rotateY(180deg)}.bb-dashboard-header-button.reversed>svg{transform:none}}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboardHeader, decorators: [{
151
+ BbDashboardHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboardHeader, deps: [{ token: BbDashboard, optional: true }], target: i0.ɵɵFactoryTarget.Component });
152
+ BbDashboardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.5", type: BbDashboardHeader, selector: "bb-dashboard-header", host: { classAttribute: "bb-dashboard-header" }, ngImport: i0, template: "<!--\n The button that toggles the sidebar.\n-->\n<button *ngIf=\"showSidebarButton\"\n (click)=\"onToggleSidebarClicked()\"\n [class.reversed]=\"isSidebarVisible | async\"\n class=\"bb-dashboard-header-button\"\n type=\"button\"\n tabindex=\"0\"\n role=\"switch\">\n <svg xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 157 109\"\n width=\"17\"\n height=\"12\"\n role=\"img\">\n <title>\n Toggle\n </title>\n <path fill=\"#fff\"\n d=\"M82 42V11.2L30 54.5l52 43.3V67h75V42zM9.5 109h-2c-4.1 0-7.5-3.4-7.5-7.5v-94C0 3.4 3.4 0 7.5 0h2C13.6 0 17 3.4 17 7.5v94c0 4.1-3.4 7.5-7.5 7.5z\">\n </path>\n </svg>\n</button>\n\n<!--\n The extra items of the header.\n-->\n<div class=\"bb-dashboard-header-items\">\n <ng-content></ng-content>\n</div>\n", styles: [".bb-dashboard-header{z-index:1;width:100%;color:#fff;height:50px;display:flex;padding:0 8px;min-height:50px;align-items:center;background-color:#5b53ff;border-bottom:1px solid #4d46d6}.bb-dashboard-header-button{width:68px;height:34px;border-radius:4px;align-items:center;display:inline-flex;justify-content:center;border:1px solid #4d46d6;background-color:transparent}.bb-dashboard-header-button>svg{height:100%;transform:none;transition:transform .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-header-button.reversed>svg{transform:rotateY(180deg)}.bb-dashboard-header-button:hover{background-color:#0000000a}.bb-dashboard-header-button:active{background-color:#00000014}.bb-dashboard-header-items{display:flex;margin-left:auto;align-items:center}.bb-dashboard-header-items>*:not(:first-child){margin-left:8px}@media only screen and (min-width: 768px){.bb-dashboard-header-button>svg{transform:rotateY(180deg)}.bb-dashboard-header-button.reversed>svg{transform:none}}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboardHeader, decorators: [{
154
154
  type: Component,
155
155
  args: [{ selector: 'bb-dashboard-header', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, host: {
156
156
  'class': 'bb-dashboard-header'
@@ -168,9 +168,9 @@ class BbDashboardMenu {
168
168
  this.backUrlTitle = null;
169
169
  }
170
170
  }
171
- BbDashboardMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboardMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
172
- BbDashboardMenu.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: BbDashboardMenu, selector: "bb-dashboard-menu", inputs: { title: "title", imageUrl: "imageUrl", backUrlLink: "backUrlLink", backUrlTitle: "backUrlTitle" }, host: { attributes: { "role": "navigation" }, classAttribute: "bb-dashboard-menu" }, ngImport: i0, template: "<a *ngIf=\"backUrlLink && backUrlTitle\"\n [routerLink]=\"backUrlLink\"\n class=\"bb-dashboard-menu-link\">\n {{ backUrlTitle }}\n</a>\n\n<div class=\"bb-dashboard-menu-row\">\n <img *ngIf=\"imageUrl\"\n [src]=\"imageUrl\"\n class=\"bb-dashboard-menu-image\"\n alt=\"Menu image\">\n <h1 *ngIf=\"title as titleLabel\"\n class=\"bb-dashboard-menu-title\">\n {{ titleLabel }}\n </h1>\n</div>\n\n<nav class=\"bb-dashboard-menu-navigation\">\n <ng-content select=\"[bb-dashboard-menu-item]\"></ng-content>\n</nav>\n", styles: [".bb-dashboard-menu{display:block;margin-bottom:20px}.bb-dashboard-menu-link,.bb-dashboard-menu-title{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.bb-dashboard-menu-link{display:block;font-weight:500;margin-bottom:16px;text-decoration:none}.bb-dashboard-menu-link,.bb-dashboard-menu-link:visited{color:#a7a9c4!important}.bb-dashboard-menu-link:before{width:14px;content:\"\";height:13px;margin-right:3px;display:inline-block;background-size:cover;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 492 492'%3E%3Cpath fill='%23a7a9c4' d='M464.344 207.418l.768.168H135.888l103.496-103.724c5.068-5.064 7.848-11.924 7.848-19.124 0-7.2-2.78-14.012-7.848-19.088L223.28 49.538c-5.064-5.064-11.812-7.864-19.008-7.864-7.2 0-13.952 2.78-19.016 7.844L7.844 226.914C2.76 231.998-.02 238.77 0 245.974c-.02 7.244 2.76 14.02 7.844 19.096l177.412 177.412c5.064 5.06 11.812 7.844 19.016 7.844 7.196 0 13.944-2.788 19.008-7.844l16.104-16.112c5.068-5.056 7.848-11.808 7.848-19.008 0-7.196-2.78-13.592-7.848-18.652L134.72 284.406h329.992c14.828 0 27.288-12.78 27.288-27.6v-22.788c0-14.82-12.828-26.6-27.656-26.6z'/%3E%3C/svg%3E\")}.bb-dashboard-menu-row{display:flex;align-items:center;margin-bottom:10px}.bb-dashboard-menu-image{display:block;margin-right:10px;width:30px;height:30px;border-radius:50%}.bb-dashboard-menu-title{color:#272838;display:block;line-height:1;font-size:34px;font-weight:500}.bb-dashboard-menu-navigation{display:flex;overflow-x:auto;border-bottom:1px solid #d8d8d8}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboardMenu, decorators: [{
171
+ BbDashboardMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboardMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
172
+ BbDashboardMenu.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.5", type: BbDashboardMenu, selector: "bb-dashboard-menu", inputs: { title: "title", imageUrl: "imageUrl", backUrlLink: "backUrlLink", backUrlTitle: "backUrlTitle" }, host: { attributes: { "role": "navigation" }, classAttribute: "bb-dashboard-menu" }, ngImport: i0, template: "<a *ngIf=\"backUrlLink && backUrlTitle\"\n [routerLink]=\"backUrlLink\"\n class=\"bb-dashboard-menu-link\">\n {{ backUrlTitle }}\n</a>\n\n<div class=\"bb-dashboard-menu-row\">\n <img *ngIf=\"imageUrl\"\n [src]=\"imageUrl\"\n class=\"bb-dashboard-menu-image\"\n alt=\"Menu image\">\n <h1 *ngIf=\"title as titleLabel\"\n class=\"bb-dashboard-menu-title\">\n {{ titleLabel }}\n </h1>\n</div>\n\n<nav class=\"bb-dashboard-menu-navigation\">\n <ng-content select=\"[bb-dashboard-menu-item]\"></ng-content>\n</nav>\n", styles: [".bb-dashboard-menu{display:block;margin-bottom:20px}.bb-dashboard-menu-link,.bb-dashboard-menu-title{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.bb-dashboard-menu-link{display:block;font-weight:500;margin-bottom:16px;text-decoration:none}.bb-dashboard-menu-link,.bb-dashboard-menu-link:visited{color:#a7a9c4!important}.bb-dashboard-menu-link:before{width:14px;content:\"\";height:13px;margin-right:3px;display:inline-block;background-size:cover;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 492 492'%3E%3Cpath fill='%23a7a9c4' d='M464.344 207.418l.768.168H135.888l103.496-103.724c5.068-5.064 7.848-11.924 7.848-19.124 0-7.2-2.78-14.012-7.848-19.088L223.28 49.538c-5.064-5.064-11.812-7.864-19.008-7.864-7.2 0-13.952 2.78-19.016 7.844L7.844 226.914C2.76 231.998-.02 238.77 0 245.974c-.02 7.244 2.76 14.02 7.844 19.096l177.412 177.412c5.064 5.06 11.812 7.844 19.016 7.844 7.196 0 13.944-2.788 19.008-7.844l16.104-16.112c5.068-5.056 7.848-11.808 7.848-19.008 0-7.196-2.78-13.592-7.848-18.652L134.72 284.406h329.992c14.828 0 27.288-12.78 27.288-27.6v-22.788c0-14.82-12.828-26.6-27.656-26.6z'/%3E%3C/svg%3E\")}.bb-dashboard-menu-row{display:flex;align-items:center;margin-bottom:10px}.bb-dashboard-menu-image{display:block;margin-right:10px;width:30px;height:30px;border-radius:50%}.bb-dashboard-menu-title{color:#272838;display:block;line-height:1;font-size:34px;font-weight:500}.bb-dashboard-menu-navigation{display:flex;overflow-x:auto;border-bottom:1px solid #d8d8d8}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboardMenu, decorators: [{
174
174
  type: Component,
175
175
  args: [{ selector: 'bb-dashboard-menu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, host: {
176
176
  'class': 'bb-dashboard-menu',
@@ -201,9 +201,9 @@ class BbDashboardMenuItem extends BbDashboardMenuItemMixinBase {
201
201
  event.stopImmediatePropagation();
202
202
  }
203
203
  }
204
- BbDashboardMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboardMenuItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
205
- BbDashboardMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: BbDashboardMenuItem, selector: "[bb-dashboard-menu-item]", inputs: { disabled: "disabled" }, host: { listeners: { "click": "stopDisabledEvents($event)" }, properties: { "class.disabled": "disabled" }, classAttribute: "bb-dashboard-menu-item" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"[bbPrefix]\"></ng-content>\n<span class=\"bb-dashboard-menu-item-content\">\n <ng-content></ng-content>\n</span>\n<ng-content select=\"[bbSuffix]\"></ng-content>\n", styles: [".bb-dashboard-menu-item{margin:0;padding:0;border:none;display:flex;max-width:100%;font-size:16px;-webkit-appearance:none;appearance:none;align-items:center;white-space:nowrap;background-color:transparent;text-decoration:none!important;border-bottom:2px solid transparent}.bb-dashboard-menu-item,.bb-dashboard-menu-item:visited{color:#6b5c5c}.bb-dashboard-menu-item:not(:first-child){margin-left:10px}.bb-dashboard-menu-item:not(:last-child){margin-right:10px}.bb-dashboard-menu-item:hover:not(.disabled):not(.active){border-color:#75779433}.bb-dashboard-menu-item.active,.bb-dashboard-menu-item.active:visited .bb-dashboard-menu-item.active:hover{color:#5b53ff;border-color:#5b53ff}.bb-dashboard-menu-item.disabled,.bb-dashboard-menu-item.disabled:focus,.bb-dashboard-menu-item.disabled:hover,.bb-dashboard-menu-item.disabled:active{opacity:.4;cursor:default;box-shadow:none}.bb-dashboard-menu-item>.bb-prefix{margin-right:5px}.bb-dashboard-menu-item>.bb-suffix{margin-left:5px}.bb-dashboard-menu-item-content{height:38px;display:block;font-weight:500;line-height:38px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboardMenuItem, decorators: [{
204
+ BbDashboardMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboardMenuItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
205
+ BbDashboardMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.5", type: BbDashboardMenuItem, selector: "[bb-dashboard-menu-item]", inputs: { disabled: "disabled" }, host: { listeners: { "click": "stopDisabledEvents($event)" }, properties: { "class.disabled": "disabled" }, classAttribute: "bb-dashboard-menu-item" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"[bbPrefix]\"></ng-content>\n<span class=\"bb-dashboard-menu-item-content\">\n <ng-content></ng-content>\n</span>\n<ng-content select=\"[bbSuffix]\"></ng-content>\n", styles: [".bb-dashboard-menu-item{margin:0;padding:0;border:none;display:flex;max-width:100%;font-size:16px;-webkit-appearance:none;appearance:none;align-items:center;white-space:nowrap;background-color:transparent;text-decoration:none!important;border-bottom:2px solid transparent}.bb-dashboard-menu-item,.bb-dashboard-menu-item:visited{color:#6b5c5c}.bb-dashboard-menu-item:not(:first-child){margin-left:10px}.bb-dashboard-menu-item:not(:last-child){margin-right:10px}.bb-dashboard-menu-item:hover:not(.disabled):not(.active){border-color:#75779433}.bb-dashboard-menu-item.active,.bb-dashboard-menu-item.active:visited .bb-dashboard-menu-item.active:hover{color:#5b53ff;border-color:#5b53ff}.bb-dashboard-menu-item.disabled,.bb-dashboard-menu-item.disabled:focus,.bb-dashboard-menu-item.disabled:hover,.bb-dashboard-menu-item.disabled:active{opacity:.4;cursor:default;box-shadow:none}.bb-dashboard-menu-item>.bb-prefix{margin-right:5px}.bb-dashboard-menu-item>.bb-suffix{margin-left:5px}.bb-dashboard-menu-item-content{height:38px;display:block;font-weight:500;line-height:38px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboardMenuItem, decorators: [{
207
207
  type: Component,
208
208
  args: [{ selector: '[bb-dashboard-menu-item]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, inputs: ['disabled'], host: {
209
209
  'class': 'bb-dashboard-menu-item',
@@ -277,9 +277,9 @@ class BbDashboardSidebarGroup extends BbDashboardSidebarGroupMixinBase {
277
277
  event.stopPropagation();
278
278
  }
279
279
  }
280
- BbDashboardSidebarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboardSidebarGroup, deps: [{ token: BbDashboardSidebar, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component });
281
- BbDashboardSidebarGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: BbDashboardSidebarGroup, selector: "bb-dashboard-sidebar-group", inputs: { disabled: "disabled", id: "id", icon: "icon", title: "title" }, host: { attributes: { "role": "group" }, listeners: { "click": "onGroupClicked($event)" }, properties: { "class.expanded": "isExpanded", "class.with-toggle": "hasToggle", "class.has-icon": "!!icon", "class.disabled": "disabled" }, classAttribute: "bb-dashboard-sidebar-group" }, usesInheritance: true, ngImport: i0, template: "<!--\n The wrapper that contains the title and icon.\n-->\n<button *ngIf=\"hasToggle\"\n (click)=\"onClick()\"\n class=\"bb-dashboard-sidebar-group-title\"\n type=\"button\"\n role=\"switch\">\n <bb-icon *ngIf=\"icon as iconName\"\n [src]=\"iconName\"\n class=\"bb-dashboard-sidebar-group-icon\">\n </bb-icon>\n <span *ngIf=\"title as titleText\"\n role=\"heading\"\n class=\"bb-dashboard-sidebar-group-text\">\n {{ titleText }}\n </span>\n <span class=\"bb-dashboard-sidebar-group-toggle\">\n <svg xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 21.7 30.9\"\n width=\"10\"\n height=\"10\"\n role=\"img\">\n <path\n d=\"M10.1.3L.2 11.8c-.6.6-.1 1.7.8 1.7h19.7c.9 0 1.3-1 .8-1.7L11.6.3c-.4-.4-1.1-.4-1.5 0zM10.1 30.6L.2 19.1c-.6-.6-.1-1.7.8-1.7h19.7c.9 0 1.3 1 .8 1.7l-9.8 11.5c-.5.4-1.2.4-1.6 0z\">\n </path>\n </svg>\n </span>\n</button>\n\n<!--\n The sidebar items that contain the\n links to navigate to other pages.\n-->\n<ng-content select=\"[bb-dashboard-sidebar-item]\">\n</ng-content>\n", styles: [".bb-dashboard-sidebar-group{color:#000;display:block;overflow:hidden;border-bottom:1px solid rgba(0,0,0,.1);transition:background-color .2s cubic-bezier(0,0,.2,1),padding-bottom .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar-group.expanded{background-color:#0000000a}.bb-dashboard-sidebar-group.expanded .bb-dashboard-sidebar-group-title{color:#000}.bb-dashboard-sidebar-group.expanded .bb-dashboard-sidebar-item{opacity:1;height:32px;line-height:32px;padding:6px 16px}.bb-dashboard-sidebar-group.expanded .bb-dashboard-sidebar-group-toggle{opacity:0;transform:translate(10px)}.bb-dashboard-sidebar-group.with-toggle.expanded{padding-bottom:20px}.bb-dashboard-sidebar-group.has-icon .bb-dashboard-sidebar-item{padding-left:54px}.bb-dashboard-sidebar-group.disabled{opacity:.5}.bb-dashboard-sidebar-group-title{margin:0;width:100%;border:none;display:flex;cursor:pointer;text-align:left;-webkit-user-select:none;user-select:none;align-items:center;padding:17px 15px;color:#000c;background-color:transparent;transition:color .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar-group-title:active>.bb-dashboard-sidebar-group-toggle{background-color:#00000014}.bb-dashboard-sidebar-group-icon{margin-right:15px;color:#00000040}.bb-dashboard-sidebar-group-text{width:100%;display:block;font-size:14px;max-width:100%;overflow:hidden;font-weight:500;line-height:15px;white-space:nowrap;text-overflow:ellipsis;text-transform:uppercase}.bb-dashboard-sidebar-group-toggle{width:22px;height:22px;display:flex;min-width:22px;min-height:22px;margin-left:auto;border-radius:3px;align-items:center;justify-content:center;transition:opacity .2s cubic-bezier(0,0,.2,1),transform .2s cubic-bezier(0,0,.2,1),background-color .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar-group-toggle>svg{width:10px;height:10px;fill:#00000040}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.BbIcon, selector: "bb-icon", inputs: ["alt", "size", "src", "ariaHidden"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
282
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboardSidebarGroup, decorators: [{
280
+ BbDashboardSidebarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboardSidebarGroup, deps: [{ token: BbDashboardSidebar, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component });
281
+ BbDashboardSidebarGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.5", type: BbDashboardSidebarGroup, selector: "bb-dashboard-sidebar-group", inputs: { disabled: "disabled", id: "id", icon: "icon", title: "title" }, host: { attributes: { "role": "group" }, listeners: { "click": "onGroupClicked($event)" }, properties: { "class.expanded": "isExpanded", "class.with-toggle": "hasToggle", "class.has-icon": "!!icon", "class.disabled": "disabled" }, classAttribute: "bb-dashboard-sidebar-group" }, usesInheritance: true, ngImport: i0, template: "<!--\n The wrapper that contains the title and icon.\n-->\n<button *ngIf=\"hasToggle\"\n (click)=\"onClick()\"\n class=\"bb-dashboard-sidebar-group-title\"\n type=\"button\"\n role=\"switch\">\n <bb-icon *ngIf=\"icon as iconName\"\n [src]=\"iconName\"\n class=\"bb-dashboard-sidebar-group-icon\">\n </bb-icon>\n <span *ngIf=\"title as titleText\"\n role=\"heading\"\n class=\"bb-dashboard-sidebar-group-text\">\n {{ titleText }}\n </span>\n <span class=\"bb-dashboard-sidebar-group-toggle\">\n <svg xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 21.7 30.9\"\n width=\"10\"\n height=\"10\"\n role=\"img\">\n <path\n d=\"M10.1.3L.2 11.8c-.6.6-.1 1.7.8 1.7h19.7c.9 0 1.3-1 .8-1.7L11.6.3c-.4-.4-1.1-.4-1.5 0zM10.1 30.6L.2 19.1c-.6-.6-.1-1.7.8-1.7h19.7c.9 0 1.3 1 .8 1.7l-9.8 11.5c-.5.4-1.2.4-1.6 0z\">\n </path>\n </svg>\n </span>\n</button>\n\n<!--\n The sidebar items that contain the\n links to navigate to other pages.\n-->\n<ng-content select=\"[bb-dashboard-sidebar-item]\">\n</ng-content>\n", styles: [".bb-dashboard-sidebar-group{color:#000;display:block;overflow:hidden;border-bottom:1px solid rgba(0,0,0,.1);transition:background-color .2s cubic-bezier(0,0,.2,1),padding-bottom .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar-group.expanded{background-color:#0000000a}.bb-dashboard-sidebar-group.expanded .bb-dashboard-sidebar-group-title{color:#000}.bb-dashboard-sidebar-group.expanded .bb-dashboard-sidebar-item{opacity:1;height:32px;line-height:32px;padding:6px 16px}.bb-dashboard-sidebar-group.expanded .bb-dashboard-sidebar-group-toggle{opacity:0;transform:translate(10px)}.bb-dashboard-sidebar-group.with-toggle.expanded{padding-bottom:20px}.bb-dashboard-sidebar-group.has-icon .bb-dashboard-sidebar-item{padding-left:54px}.bb-dashboard-sidebar-group.disabled{opacity:.5}.bb-dashboard-sidebar-group-title{margin:0;width:100%;border:none;display:flex;cursor:pointer;text-align:left;-webkit-user-select:none;user-select:none;align-items:center;padding:17px 15px;color:#000c;background-color:transparent;transition:color .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar-group-title:active>.bb-dashboard-sidebar-group-toggle{background-color:#00000014}.bb-dashboard-sidebar-group-icon{margin-right:15px;color:#00000040}.bb-dashboard-sidebar-group-text{width:100%;display:block;font-size:14px;max-width:100%;overflow:hidden;font-weight:500;line-height:15px;white-space:nowrap;text-overflow:ellipsis;text-transform:uppercase}.bb-dashboard-sidebar-group-toggle{width:22px;height:22px;display:flex;min-width:22px;min-height:22px;margin-left:auto;border-radius:3px;align-items:center;justify-content:center;transition:opacity .2s cubic-bezier(0,0,.2,1),transform .2s cubic-bezier(0,0,.2,1),background-color .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar-group-toggle>svg{width:10px;height:10px;fill:#00000040}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.BbIcon, selector: "bb-icon", inputs: ["alt", "size", "src", "ariaHidden"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
282
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboardSidebarGroup, decorators: [{
283
283
  type: Component,
284
284
  args: [{ selector: 'bb-dashboard-sidebar-group', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, inputs: ['disabled'], host: {
285
285
  'class': 'bb-dashboard-sidebar-group',
@@ -340,9 +340,9 @@ class BbDashboardSidebarItem {
340
340
  : false;
341
341
  }
342
342
  }
343
- BbDashboardSidebarItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboardSidebarItem, deps: [{ token: BbDashboardSidebar, host: true, optional: true }, { token: BbDashboardSidebarGroup, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component });
344
- BbDashboardSidebarItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: BbDashboardSidebarItem, selector: "[bb-dashboard-sidebar-item]", inputs: { tabIndex: "tabIndex" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.tabindex": "attributeTabIndex", "attr.aria-hidden": "isHidden" }, classAttribute: "bb-dashboard-sidebar-item" }, ngImport: i0, template: "<!--\n The content between the tags will\n be reflected here.\n-->\n<span class=\"bb-dashboard-sidebar-item-content\">\n <ng-content></ng-content>\n</span>\n", styles: [".bb-dashboard-sidebar-item{height:0;opacity:0;padding:0;display:flex;line-height:0;cursor:pointer;font-size:14px;font-weight:500;align-items:center;text-decoration:none;will-change:opacity,height;color:#000000d9!important;transition:height .2s cubic-bezier(0,0,.2,1),opacity .2s 50ms cubic-bezier(0,0,.2,1),color .2s cubic-bezier(0,0,.2,1),background-color .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar-item:focus,.bb-dashboard-sidebar-item:hover{background-color:#00000005}.bb-dashboard-sidebar-item:active{background-color:#0000000a}.bb-dashboard-sidebar-item.active,.bb-dashboard-sidebar-item.active:hover,.bb-dashboard-sidebar-item.active:focus,.bb-dashboard-sidebar-item.active:active{color:#000!important;background-color:#0000000f}.bb-dashboard-sidebar-item-content{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
345
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BbDashboardSidebarItem, decorators: [{
343
+ BbDashboardSidebarItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboardSidebarItem, deps: [{ token: BbDashboardSidebar, host: true, optional: true }, { token: BbDashboardSidebarGroup, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component });
344
+ BbDashboardSidebarItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.5", type: BbDashboardSidebarItem, selector: "[bb-dashboard-sidebar-item]", inputs: { tabIndex: "tabIndex" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.tabindex": "attributeTabIndex", "attr.aria-hidden": "isHidden" }, classAttribute: "bb-dashboard-sidebar-item" }, ngImport: i0, template: "<!--\n The content between the tags will\n be reflected here.\n-->\n<span class=\"bb-dashboard-sidebar-item-content\">\n <ng-content></ng-content>\n</span>\n", styles: [".bb-dashboard-sidebar-item{height:0;opacity:0;padding:0;display:flex;line-height:0;cursor:pointer;font-size:14px;font-weight:500;align-items:center;text-decoration:none;will-change:opacity,height;color:#000000d9!important;transition:height .2s cubic-bezier(0,0,.2,1),opacity .2s 50ms cubic-bezier(0,0,.2,1),color .2s cubic-bezier(0,0,.2,1),background-color .2s cubic-bezier(0,0,.2,1)}.bb-dashboard-sidebar-item:focus,.bb-dashboard-sidebar-item:hover{background-color:#00000005}.bb-dashboard-sidebar-item:active{background-color:#0000000a}.bb-dashboard-sidebar-item.active,.bb-dashboard-sidebar-item.active:hover,.bb-dashboard-sidebar-item.active:focus,.bb-dashboard-sidebar-item.active:active{color:#000!important;background-color:#0000000f}.bb-dashboard-sidebar-item-content{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
345
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: BbDashboardSidebarItem, decorators: [{
346
346
  type: Component,
347
347
  args: [{ selector: '[bb-dashboard-sidebar-item]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, host: {
348
348
  'class': 'bb-dashboard-sidebar-item',
@@ -373,8 +373,8 @@ const DECLARATIONS_EXPORTS = [
373
373
  ];
374
374
  class DashboardModule {
375
375
  }
376
- DashboardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: DashboardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
377
- DashboardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: DashboardModule, declarations: [BbDashboard,
376
+ DashboardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: DashboardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
377
+ DashboardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.5", ngImport: i0, type: DashboardModule, declarations: [BbDashboard,
378
378
  BbDashboardHeader,
379
379
  BbDashboardMenu,
380
380
  BbDashboardMenuItem,
@@ -387,8 +387,8 @@ DashboardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
387
387
  BbDashboardSidebar,
388
388
  BbDashboardSidebarGroup,
389
389
  BbDashboardSidebarItem] });
390
- DashboardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: DashboardModule, imports: [CommonModule, RouterModule, ElementsModule] });
391
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: DashboardModule, decorators: [{
390
+ DashboardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: DashboardModule, imports: [CommonModule, RouterModule, ElementsModule] });
391
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: DashboardModule, decorators: [{
392
392
  type: NgModule,
393
393
  args: [{
394
394
  imports: [CommonModule, RouterModule, ElementsModule],