@bravobit/bb-foundation 0.44.1 → 0.44.4

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 (151) hide show
  1. package/esm2022/auth/lib/auth.interceptor.mjs +3 -3
  2. package/esm2022/auth/lib/auth.module.mjs +4 -4
  3. package/esm2022/auth/lib/auth.service.mjs +3 -3
  4. package/esm2022/auth/lib/directives/authenticated.directive.mjs +3 -3
  5. package/esm2022/collections/lib/collections.module.mjs +4 -4
  6. package/esm2022/collections/lib/components/collections-actions/collections-actions.component.mjs +3 -3
  7. package/esm2022/collections/lib/components/collections-grid/collections-grid.component.mjs +3 -3
  8. package/esm2022/collections/lib/components/collections-pager/collections-pager.component.mjs +3 -3
  9. package/esm2022/collections/lib/components/collections-table/collections-table.component.mjs +3 -3
  10. package/esm2022/collections/lib/components/collections-table-label/collections-table-label.component.mjs +3 -3
  11. package/esm2022/collections/lib/components/collections-table-sorting/collections-table-sorting.component.mjs +3 -3
  12. package/esm2022/collections/lib/components/collections-viewer/collections-viewer.component.mjs +3 -3
  13. package/esm2022/collections/lib/directives/collections-data-row.directive.mjs +3 -3
  14. package/esm2022/collections/lib/directives/collections-data.directive.mjs +3 -3
  15. package/esm2022/collections/lib/directives/collections-empty.directive.mjs +3 -3
  16. package/esm2022/collections/lib/directives/collections-error.directive.mjs +3 -3
  17. package/esm2022/collections/lib/directives/collections-initial.directive.mjs +3 -3
  18. package/esm2022/collections/lib/directives/collections-item.directive.mjs +3 -3
  19. package/esm2022/combobox/combobox/combobox-container.directive.mjs +3 -3
  20. package/esm2022/combobox/combobox/combobox.component.mjs +3 -3
  21. package/esm2022/combobox/combobox-label.directive.mjs +3 -3
  22. package/esm2022/combobox/combobox-option.directive.mjs +3 -3
  23. package/esm2022/combobox/combobox-panel/combobox-panel.component.mjs +3 -3
  24. package/esm2022/dashboard/lib/dashboard/dashboard.component.mjs +3 -3
  25. package/esm2022/dashboard/lib/dashboard-header/dashboard-header.component.mjs +3 -3
  26. package/esm2022/dashboard/lib/dashboard-menu/dashboard-menu.component.mjs +3 -3
  27. package/esm2022/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.mjs +3 -3
  28. package/esm2022/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.mjs +3 -3
  29. package/esm2022/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.mjs +3 -3
  30. package/esm2022/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.mjs +3 -3
  31. package/esm2022/dashboard/lib/dashboard.module.mjs +4 -4
  32. package/esm2022/dialog/lib/dialog-actions/dialog-actions.component.mjs +3 -3
  33. package/esm2022/dialog/lib/dialog-confirm/dialog-confirm.component.mjs +3 -3
  34. package/esm2022/dialog/lib/dialog-container/dialog-container.component.mjs +3 -3
  35. package/esm2022/dialog/lib/dialog-header/dialog-header.component.mjs +3 -3
  36. package/esm2022/dialog/lib/dialog-link/dialog-link.component.mjs +3 -3
  37. package/esm2022/dialog/lib/dialog-modal/dialog-modal.component.mjs +3 -3
  38. package/esm2022/dialog/lib/dialog-overlay/dialog-overlay.component.mjs +3 -3
  39. package/esm2022/dialog/lib/dialog.insertion.mjs +3 -3
  40. package/esm2022/dialog/lib/dialog.module.mjs +4 -4
  41. package/esm2022/dialog/lib/dialog.service.mjs +3 -3
  42. package/esm2022/dialog/lib/directives/confirm.directive.mjs +3 -3
  43. package/esm2022/elements/lib/avatar/avatar.component.mjs +3 -3
  44. package/esm2022/elements/lib/button/button.component.mjs +9 -9
  45. package/esm2022/elements/lib/checkbox/checkbox.component.mjs +3 -3
  46. package/esm2022/elements/lib/checkbox-group/checkbox-group.component.mjs +3 -3
  47. package/esm2022/elements/lib/date-picker/date-picker.component.mjs +3 -3
  48. package/esm2022/elements/lib/directives/addon.directive.mjs +6 -6
  49. package/esm2022/elements/lib/directives/extra-error-controls.directive.mjs +3 -3
  50. package/esm2022/elements/lib/directives/file-drop.directive.mjs +3 -3
  51. package/esm2022/elements/lib/directives/form-submit.directive.mjs +3 -3
  52. package/esm2022/elements/lib/directives/form-submitter.directive.mjs +3 -3
  53. package/esm2022/elements/lib/directives/image-upload.directive.mjs +3 -3
  54. package/esm2022/elements/lib/directives/input.directive.mjs +3 -3
  55. package/esm2022/elements/lib/elements.module.mjs +4 -4
  56. package/esm2022/elements/lib/file-picker/file-picker.component.mjs +3 -3
  57. package/esm2022/elements/lib/form-control/form-control.component.mjs +3 -3
  58. package/esm2022/elements/lib/form-error/form-error.component.mjs +3 -3
  59. package/esm2022/elements/lib/form-group/form-group.component.mjs +3 -3
  60. package/esm2022/elements/lib/icon/icon.component.mjs +3 -3
  61. package/esm2022/elements/lib/image-picker/image-picker.component.mjs +3 -3
  62. package/esm2022/elements/lib/multi-file-control/multi-file-control.component.mjs +3 -3
  63. package/esm2022/elements/lib/pipes/date.pipe.mjs +3 -3
  64. package/esm2022/elements/lib/pipes/file-image.pipe.mjs +3 -3
  65. package/esm2022/elements/lib/pipes/file-size.pipe.mjs +3 -3
  66. package/esm2022/elements/lib/pipes/relative-time.pipe.mjs +3 -3
  67. package/esm2022/elements/lib/radio-button/radio-button.component.mjs +3 -3
  68. package/esm2022/elements/lib/radio-group/radio-group.component.mjs +3 -3
  69. package/esm2022/elements/lib/spinner/spinner.component.mjs +3 -3
  70. package/esm2022/http/lib/http.module.mjs +4 -4
  71. package/esm2022/http/lib/interceptors/base-url.interceptor.mjs +3 -3
  72. package/esm2022/http/lib/interceptors/error.interceptor.mjs +3 -3
  73. package/esm2022/lib/core/services/exif.service.mjs +3 -3
  74. package/esm2022/lib/core/services/file-loader.service.mjs +3 -3
  75. package/esm2022/lib/core/services/files.service.mjs +3 -3
  76. package/esm2022/lib/core/services/image-converter.service.mjs +3 -3
  77. package/esm2022/lib/core/services/languages.service.mjs +3 -3
  78. package/esm2022/lib/core/services/network.service.mjs +3 -3
  79. package/esm2022/lib/core/services/patch.service.mjs +3 -3
  80. package/esm2022/lib/core/tokens/global-focus-mode.token.mjs +10 -0
  81. package/esm2022/localize/lib/localize.module.mjs +4 -4
  82. package/esm2022/localize/lib/localize.pipe.mjs +3 -3
  83. package/esm2022/localize/lib/localize.service.mjs +3 -3
  84. package/esm2022/localize/lib/views/localize-string/localize-string.component.mjs +3 -3
  85. package/esm2022/localize/lib/views/localize-template.directive.mjs +3 -3
  86. package/esm2022/masking/lib/directives/currency-mask.directive.mjs +3 -3
  87. package/esm2022/masking/lib/directives/date-mask.directive.mjs +3 -3
  88. package/esm2022/masking/lib/directives/input-mask.directive.mjs +3 -3
  89. package/esm2022/masking/lib/masking.module.mjs +4 -4
  90. package/esm2022/masking/lib/masking.service.mjs +3 -3
  91. package/esm2022/notifications/lib/notifications-item/notifications-item.component.mjs +3 -3
  92. package/esm2022/notifications/lib/notifications-list/notifications-list.component.mjs +3 -3
  93. package/esm2022/notifications/lib/notifications.module.mjs +4 -4
  94. package/esm2022/notifications/lib/notifications.service.mjs +3 -3
  95. package/esm2022/permissions/lib/directives/permission.directive.mjs +3 -3
  96. package/esm2022/permissions/lib/permissions.module.mjs +4 -4
  97. package/esm2022/permissions/lib/permissions.service.mjs +3 -3
  98. package/esm2022/public_api.mjs +2 -1
  99. package/esm2022/recaptcha/lib/recaptcha/recaptcha.component.mjs +3 -3
  100. package/esm2022/recaptcha/lib/recaptcha-loader.service.mjs +3 -3
  101. package/esm2022/recaptcha/lib/recaptcha.module.mjs +4 -4
  102. package/esm2022/select/lib/select/select.component.mjs +17 -11
  103. package/esm2022/select/lib/select-label.directive.mjs +3 -3
  104. package/esm2022/select/lib/select-multi-label.directive.mjs +3 -3
  105. package/esm2022/select/lib/select-option-group.directive.mjs +3 -3
  106. package/esm2022/select/lib/select-option.directive.mjs +3 -3
  107. package/esm2022/select/lib/select.module.mjs +4 -4
  108. package/esm2022/storage/lib/storage.service.mjs +3 -3
  109. package/esm2022/table/lib/components/table/table.component.mjs +9 -9
  110. package/esm2022/table/lib/components/table-cell/table-cell.component.mjs +3 -3
  111. package/esm2022/table/lib/components/table-header-cell/table-header-cell.component.mjs +3 -3
  112. package/esm2022/table/lib/components/table-pager/table-pager.component.mjs +3 -3
  113. package/esm2022/table/lib/table.module.mjs +4 -4
  114. package/esm2022/tooltip/lib/tooltip-container/tooltip-container.component.mjs +3 -3
  115. package/esm2022/tooltip/lib/tooltip.directive.mjs +3 -3
  116. package/esm2022/tooltip/lib/tooltip.module.mjs +4 -4
  117. package/esm2022/utils/lib/directives/autosize.directive.mjs +3 -3
  118. package/esm2022/utils/lib/directives/focus-trap.directive.mjs +3 -3
  119. package/esm2022/utils/lib/directives/focus.directive.mjs +13 -10
  120. package/esm2022/utils/lib/directives/template.directive.mjs +3 -3
  121. package/esm2022/utils/lib/utils.module.mjs +4 -4
  122. package/fesm2022/bravobit-bb-foundation-auth.mjs +13 -13
  123. package/fesm2022/bravobit-bb-foundation-collections.mjs +43 -43
  124. package/fesm2022/bravobit-bb-foundation-combobox.mjs +15 -15
  125. package/fesm2022/bravobit-bb-foundation-dashboard.mjs +25 -25
  126. package/fesm2022/bravobit-bb-foundation-dialog.mjs +34 -34
  127. package/fesm2022/bravobit-bb-foundation-elements.mjs +90 -90
  128. package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
  129. package/fesm2022/bravobit-bb-foundation-http.mjs +10 -10
  130. package/fesm2022/bravobit-bb-foundation-localize.mjs +16 -16
  131. package/fesm2022/bravobit-bb-foundation-masking.mjs +16 -16
  132. package/fesm2022/bravobit-bb-foundation-notifications.mjs +13 -13
  133. package/fesm2022/bravobit-bb-foundation-permissions.mjs +10 -10
  134. package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +10 -10
  135. package/fesm2022/bravobit-bb-foundation-select.mjs +32 -26
  136. package/fesm2022/bravobit-bb-foundation-select.mjs.map +1 -1
  137. package/fesm2022/bravobit-bb-foundation-storage.mjs +3 -3
  138. package/fesm2022/bravobit-bb-foundation-table.mjs +22 -22
  139. package/fesm2022/bravobit-bb-foundation-tooltip.mjs +10 -10
  140. package/fesm2022/bravobit-bb-foundation-utils.mjs +25 -22
  141. package/fesm2022/bravobit-bb-foundation-utils.mjs.map +1 -1
  142. package/fesm2022/bravobit-bb-foundation.mjs +32 -23
  143. package/fesm2022/bravobit-bb-foundation.mjs.map +1 -1
  144. package/lib/core/tokens/global-focus-mode.token.d.ts +4 -0
  145. package/localize/lib/transforms/interpolate.transform.d.ts +1 -1
  146. package/localize/lib/transforms/plural.transform.d.ts +1 -1
  147. package/localize/lib/transforms/reference.transform.d.ts +1 -1
  148. package/package.json +25 -25
  149. package/public_api.d.ts +1 -0
  150. package/select/lib/select/select.component.d.ts +5 -3
  151. package/utils/lib/directives/focus.directive.d.ts +4 -3
@@ -15,7 +15,6 @@ export declare class BbSelect<T> implements ControlValueAccessor, OnInit, OnDest
15
15
  hint: string | TemplateRef<any> | null;
16
16
  data: Observable<T[]> | null;
17
17
  required: boolean;
18
- disabled: boolean;
19
18
  readonly: boolean;
20
19
  grouped: boolean;
21
20
  hideErrors: boolean;
@@ -41,12 +40,15 @@ export declare class BbSelect<T> implements ControlValueAccessor, OnInit, OnDest
41
40
  clearSearchOnAdd: boolean;
42
41
  addTag: boolean | ((term: string) => any | Promise<any>);
43
42
  appendTo: string | null;
43
+ set disabled(value: boolean);
44
+ get disabled(): boolean;
44
45
  get value(): any | null;
45
46
  valueChange: EventEmitter<any>;
46
47
  onBlur: EventEmitter<FocusEvent>;
47
48
  onChange: EventEmitter<any>;
48
49
  set value(value: any | null);
49
50
  error: boolean;
51
+ private _disabled;
50
52
  onTouchedCallback: () => void;
51
53
  onChangeCallback: (_: T | null) => void;
52
54
  private _subscription;
@@ -62,10 +64,9 @@ export declare class BbSelect<T> implements ControlValueAccessor, OnInit, OnDest
62
64
  } | null): void;
63
65
  private handleValueChanges;
64
66
  static ɵfac: i0.ɵɵFactoryDeclaration<BbSelect<any>, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<BbSelect<any>, "bb-select", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "data": { "alias": "data"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "selectableGroup": { "alias": "selectableGroup"; "required": false; }; "selectableGroupAsModel": { "alias": "selectableGroupAsModel"; "required": false; }; "hideArrow": { "alias": "hideArrow"; "required": false; }; "selectOnTab": { "alias": "selectOnTab"; "required": false; }; "hideSelected": { "alias": "hideSelected"; "required": false; }; "maxSelectedItems": { "alias": "maxSelectedItems"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "typeahead": { "alias": "typeahead"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "groupBy": { "alias": "groupBy"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "clearSearchOnAdd": { "alias": "clearSearchOnAdd"; "required": false; }; "addTag": { "alias": "addTag"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "onBlur": "onBlur"; "onChange": "onChange"; }, ["optionTemplate", "optionGroupTemplate", "labelTemplate", "multiLabelTemplate"], never, true, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<BbSelect<any>, "bb-select", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "data": { "alias": "data"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "selectableGroup": { "alias": "selectableGroup"; "required": false; }; "selectableGroupAsModel": { "alias": "selectableGroupAsModel"; "required": false; }; "hideArrow": { "alias": "hideArrow"; "required": false; }; "selectOnTab": { "alias": "selectOnTab"; "required": false; }; "hideSelected": { "alias": "hideSelected"; "required": false; }; "maxSelectedItems": { "alias": "maxSelectedItems"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "typeahead": { "alias": "typeahead"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "groupBy": { "alias": "groupBy"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "clearSearchOnAdd": { "alias": "clearSearchOnAdd"; "required": false; }; "addTag": { "alias": "addTag"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "onBlur": "onBlur"; "onChange": "onChange"; }, ["optionTemplate", "optionGroupTemplate", "labelTemplate", "multiLabelTemplate"], never, true, never>;
66
68
  static ngAcceptInputType_data: unknown;
67
69
  static ngAcceptInputType_required: unknown;
68
- static ngAcceptInputType_disabled: unknown;
69
70
  static ngAcceptInputType_readonly: unknown;
70
71
  static ngAcceptInputType_grouped: unknown;
71
72
  static ngAcceptInputType_hideErrors: unknown;
@@ -81,4 +82,5 @@ export declare class BbSelect<T> implements ControlValueAccessor, OnInit, OnDest
81
82
  static ngAcceptInputType_selectOnTab: unknown;
82
83
  static ngAcceptInputType_hideSelected: unknown;
83
84
  static ngAcceptInputType_maxSelectedItems: unknown;
85
+ static ngAcceptInputType_disabled: unknown;
84
86
  }
@@ -1,17 +1,18 @@
1
1
  import { AfterViewInit, ElementRef, NgZone } from '@angular/core';
2
+ import { FocusMode } from '@bravobit/bb-foundation';
2
3
  import { Platform } from '@angular/cdk/platform';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class BbFocus implements AfterViewInit {
5
6
  private _zone;
6
7
  private _platform;
7
8
  private _elementRef;
8
- bbFocusOnlyDesktop: boolean;
9
+ private readonly _globalFocusMode;
10
+ bbFocusMode: FocusMode | null;
9
11
  constructor(_zone: NgZone, _platform: Platform, _elementRef: ElementRef);
10
12
  private get nativeElement();
11
13
  ngAfterViewInit(): void;
12
14
  private isMobile;
13
15
  private focus;
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<BbFocus, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<BbFocus, "[bbFocus]", never, { "bbFocusOnlyDesktop": { "alias": "bbFocusOnlyDesktop"; "required": false; }; }, {}, never, never, true, never>;
16
- static ngAcceptInputType_bbFocusOnlyDesktop: unknown;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BbFocus, "[bbFocus]", never, { "bbFocusMode": { "alias": "bbFocusMode"; "required": false; }; }, {}, never, never, true, never>;
17
18
  }