@villedemontreal/angular-ui 14.1.0 → 15.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/esm2020/lib/alert/alert.component.mjs +15 -15
  2. package/esm2020/lib/alert/module.mjs +4 -4
  3. package/esm2020/lib/avatar/avatar.component.mjs +6 -6
  4. package/esm2020/lib/avatar/module.mjs +4 -4
  5. package/esm2020/lib/badge/badge.component.mjs +3 -3
  6. package/esm2020/lib/badge/module.mjs +4 -4
  7. package/esm2020/lib/bao.module.mjs +12 -11
  8. package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +3 -3
  9. package/esm2020/lib/breadcrumb/module.mjs +4 -4
  10. package/esm2020/lib/button/button.component.mjs +3 -3
  11. package/esm2020/lib/button/module.mjs +4 -4
  12. package/esm2020/lib/card/card.component.mjs +15 -15
  13. package/esm2020/lib/card/module.mjs +4 -4
  14. package/esm2020/lib/checkbox/checkbox-group.component.mjs +3 -3
  15. package/esm2020/lib/checkbox/checkbox.component.mjs +10 -10
  16. package/esm2020/lib/checkbox/module.mjs +4 -4
  17. package/esm2020/lib/common-components/error-text/errorText.component.mjs +3 -3
  18. package/esm2020/lib/common-components/guiding-text/guidingText.component.mjs +3 -3
  19. package/esm2020/lib/common-components/label-text/labelText.component.mjs +3 -3
  20. package/esm2020/lib/common-components/module.mjs +4 -4
  21. package/esm2020/lib/common-components/title-text/titleText.component.mjs +3 -3
  22. package/esm2020/lib/core/colors.mjs +9 -9
  23. package/esm2020/lib/dropdown-menu/dropdown-menu.component.mjs +42 -26
  24. package/esm2020/lib/dropdown-menu/module.mjs +4 -4
  25. package/esm2020/lib/file/file-input.component.mjs +9 -9
  26. package/esm2020/lib/file/file-intl.mjs +6 -6
  27. package/esm2020/lib/file/file-preview.component.mjs +3 -3
  28. package/esm2020/lib/file/module.mjs +4 -4
  29. package/esm2020/lib/header-info/header-info.component.mjs +18 -18
  30. package/esm2020/lib/header-info/module.mjs +4 -4
  31. package/esm2020/lib/hyperlink/hyperlink.component.mjs +3 -3
  32. package/esm2020/lib/hyperlink/module.mjs +4 -4
  33. package/esm2020/lib/icon/bao-icon-registry.mjs +3 -3
  34. package/esm2020/lib/icon/icon.component.mjs +3 -3
  35. package/esm2020/lib/icon/module.mjs +4 -4
  36. package/esm2020/lib/list/list.component.mjs +15 -15
  37. package/esm2020/lib/list/module.mjs +4 -4
  38. package/esm2020/lib/modal/modal-container.mjs +7 -7
  39. package/esm2020/lib/modal/modal-directives.mjs +3 -3
  40. package/esm2020/lib/modal/modal-ref.mjs +4 -4
  41. package/esm2020/lib/modal/modal.mjs +6 -6
  42. package/esm2020/lib/modal/module.mjs +4 -4
  43. package/esm2020/lib/radio/module.mjs +4 -4
  44. package/esm2020/lib/radio/radio-group.component.mjs +3 -3
  45. package/esm2020/lib/radio/radio.component.mjs +6 -6
  46. package/esm2020/lib/snack-bar/index.mjs +12 -0
  47. package/esm2020/lib/snack-bar/module.mjs +52 -0
  48. package/esm2020/lib/snack-bar/simple-snack-bar.component.mjs +92 -0
  49. package/esm2020/lib/snack-bar/snack-bar-animations.mjs +28 -0
  50. package/esm2020/lib/snack-bar/snack-bar-config.mjs +37 -0
  51. package/esm2020/lib/snack-bar/snack-bar-container.mjs +272 -0
  52. package/esm2020/lib/snack-bar/snack-bar-ref.mjs +75 -0
  53. package/esm2020/lib/snack-bar/snack-bar.mjs +251 -0
  54. package/esm2020/lib/summary/list-summary.component.mjs +6 -6
  55. package/esm2020/lib/summary/module.mjs +4 -4
  56. package/esm2020/lib/summary/summary.component.mjs +8 -8
  57. package/esm2020/lib/tabs/module.mjs +4 -4
  58. package/esm2020/lib/tabs/tabs.component.mjs +12 -12
  59. package/esm2020/lib/tag/module.mjs +4 -4
  60. package/esm2020/lib/tag/tag.component.mjs +3 -3
  61. package/esm2020/public-api.mjs +2 -1
  62. package/fesm2015/villedemontreal-angular-ui.mjs +1103 -310
  63. package/fesm2015/villedemontreal-angular-ui.mjs.map +1 -1
  64. package/fesm2020/villedemontreal-angular-ui.mjs +1099 -310
  65. package/fesm2020/villedemontreal-angular-ui.mjs.map +1 -1
  66. package/lib/alert/alert.component.d.ts +5 -5
  67. package/lib/avatar/avatar.component.d.ts +2 -2
  68. package/lib/badge/badge.component.d.ts +1 -1
  69. package/lib/bao.module.d.ts +2 -1
  70. package/lib/breadcrumb/breadcrumb.component.d.ts +1 -1
  71. package/lib/button/button.component.d.ts +1 -1
  72. package/lib/card/card.component.d.ts +5 -5
  73. package/lib/checkbox/checkbox-group.component.d.ts +1 -1
  74. package/lib/checkbox/checkbox.component.d.ts +2 -2
  75. package/lib/common-components/error-text/errorText.component.d.ts +1 -1
  76. package/lib/common-components/guiding-text/guidingText.component.d.ts +1 -1
  77. package/lib/common-components/label-text/labelText.component.d.ts +1 -1
  78. package/lib/common-components/title-text/titleText.component.d.ts +1 -1
  79. package/lib/dropdown-menu/dropdown-menu.component.d.ts +16 -10
  80. package/lib/file/file-input.component.d.ts +3 -3
  81. package/lib/file/file-preview.component.d.ts +1 -1
  82. package/lib/header-info/header-info.component.d.ts +6 -6
  83. package/lib/hyperlink/hyperlink.component.d.ts +1 -1
  84. package/lib/icon/icon.component.d.ts +1 -1
  85. package/lib/list/list.component.d.ts +5 -5
  86. package/lib/modal/modal-config.d.ts +2 -2
  87. package/lib/modal/modal-container.d.ts +2 -2
  88. package/lib/modal/modal-directives.d.ts +1 -1
  89. package/lib/modal/modal.d.ts +1 -1
  90. package/lib/radio/radio-group.component.d.ts +1 -1
  91. package/lib/radio/radio.component.d.ts +2 -2
  92. package/lib/snack-bar/index.d.ts +6 -0
  93. package/lib/snack-bar/module.d.ts +13 -0
  94. package/lib/snack-bar/simple-snack-bar.component.d.ts +51 -0
  95. package/lib/snack-bar/snack-bar-animations.d.ts +8 -0
  96. package/lib/snack-bar/snack-bar-config.d.ts +51 -0
  97. package/lib/snack-bar/snack-bar-container.d.ts +111 -0
  98. package/lib/snack-bar/snack-bar-ref.d.ts +51 -0
  99. package/lib/snack-bar/snack-bar.d.ts +89 -0
  100. package/lib/summary/list-summary.component.d.ts +2 -2
  101. package/lib/summary/summary.component.d.ts +2 -2
  102. package/lib/tabs/tabs.component.d.ts +4 -4
  103. package/lib/tag/tag.component.d.ts +1 -1
  104. package/package.json +5 -5
  105. package/public-api.d.ts +1 -0
@@ -15,7 +15,7 @@ import * as i0 from "@angular/core";
15
15
  */
16
16
  export declare class BaoAlertTitle {
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoAlertTitle, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertTitle, "bao-alert-title", never, {}, {}, never, never, false>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertTitle, "bao-alert-title", never, {}, {}, never, never, false, never>;
19
19
  }
20
20
  /**
21
21
  * Content of an alert, intended for use within `<bao-alert>`. This component is an optional
@@ -26,7 +26,7 @@ export declare class BaoAlertTitle {
26
26
  */
27
27
  export declare class BaoAlertContent {
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoAlertContent, never>;
29
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertContent, "bao-alert-content", never, {}, {}, never, never, false>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertContent, "bao-alert-content", never, {}, {}, never, never, false, never>;
30
30
  }
31
31
  /**
32
32
  * Bottom area of an alert that contains action buttons, intended for use within `<bao-alert>`.
@@ -37,7 +37,7 @@ export declare class BaoAlertContent {
37
37
  */
38
38
  export declare class BaoAlertActions {
39
39
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoAlertActions, never>;
40
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertActions, "bao-alert-actions", ["baoAlertActions"], {}, {}, never, never, false>;
40
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertActions, "bao-alert-actions", ["baoAlertActions"], {}, {}, never, never, false, never>;
41
41
  }
42
42
  /**
43
43
  * Link inside an alert message, intended for use within `<bao-alert>`.
@@ -48,7 +48,7 @@ export declare class BaoAlertActions {
48
48
  */
49
49
  export declare class BaoAlertLink {
50
50
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoAlertLink, never>;
51
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertLink, "bao-alert-link", never, {}, {}, never, never, false>;
51
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertLink, "bao-alert-link", never, {}, {}, never, never, false, never>;
52
52
  }
53
53
  /**
54
54
  * BAO alert component. Alerts should be used when the message concerns an
@@ -72,5 +72,5 @@ export declare class BaoAlertComponent implements OnChanges {
72
72
  alertTitleIcon(value: string): any;
73
73
  onDismissClicked(): void;
74
74
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoAlertComponent, never>;
75
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoAlertComponent, "bao-alert", never, { "type": "type"; "dismissible": "dismissible"; }, { "dismiss": "dismiss"; }, never, ["*"], false>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoAlertComponent, "bao-alert", never, { "type": "type"; "dismissible": "dismissible"; }, { "dismiss": "dismiss"; }, never, ["*"], false, never>;
76
76
  }
@@ -2,7 +2,7 @@ import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BaoAvatarContent {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoAvatarContent, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAvatarContent, "bao-avatar-content, [bao-avatar-content]", ["baoAvatarContent"], {}, {}, never, never, false>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAvatarContent, "bao-avatar-content, [bao-avatar-content]", ["baoAvatarContent"], {}, {}, never, never, false, never>;
6
6
  }
7
7
  export declare class BaoAvatarComponent implements AfterViewInit {
8
8
  private renderer;
@@ -22,5 +22,5 @@ export declare class BaoAvatarComponent implements AfterViewInit {
22
22
  private setProfileName;
23
23
  private formatInitials;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoAvatarComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoAvatarComponent, "bao-avatar", never, { "profileName": "profileName"; "color": "color"; }, {}, never, ["bao-avatar-content, [bao-avatar-content]"], false>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoAvatarComponent, "bao-avatar", never, { "profileName": "profileName"; "color": "color"; }, {}, never, ["bao-avatar-content, [bao-avatar-content]"], false, never>;
26
26
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class BaoBadgeComponent {
3
3
  type: '' | 'success' | 'danger' | 'warning' | 'info';
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoBadgeComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoBadgeComponent, "bao-badge", never, { "type": "type"; }, {}, never, ["*"], false>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoBadgeComponent, "bao-badge", never, { "type": "type"; }, {}, never, ["*"], false, never>;
6
6
  }
@@ -17,8 +17,9 @@ import * as i15 from "./tabs/module";
17
17
  import * as i16 from "./hyperlink/module";
18
18
  import * as i17 from "./dropdown-menu/module";
19
19
  import * as i18 from "./file/module";
20
+ import * as i19 from "./snack-bar/module";
20
21
  export declare class BaoModule {
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<BaoModule, never, [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i4.BaoCardModule, typeof i5.BaoBreadcrumbModule, typeof i6.BaoModalModule], [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i5.BaoBreadcrumbModule, typeof i4.BaoCardModule, typeof i7.BaoTagModule, typeof i8.BaoHeaderInfoModule, typeof i9.BaoListModule, typeof i10.BaoCommonComponentsModule, typeof i11.BaoCheckboxModule, typeof i12.BaoRadioModule, typeof i13.BaoSummaryModule, typeof i14.BaoAvatarModule, typeof i15.BaoTabsModule, typeof i6.BaoModalModule, typeof i16.BaoHyperlinkModule, typeof i17.BaoDropdownMenuModule, typeof i18.BaoFileModule]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BaoModule, never, [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i4.BaoCardModule, typeof i5.BaoBreadcrumbModule, typeof i6.BaoModalModule], [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i5.BaoBreadcrumbModule, typeof i4.BaoCardModule, typeof i7.BaoTagModule, typeof i8.BaoHeaderInfoModule, typeof i9.BaoListModule, typeof i10.BaoCommonComponentsModule, typeof i11.BaoCheckboxModule, typeof i12.BaoRadioModule, typeof i13.BaoSummaryModule, typeof i14.BaoAvatarModule, typeof i15.BaoTabsModule, typeof i6.BaoModalModule, typeof i16.BaoHyperlinkModule, typeof i17.BaoDropdownMenuModule, typeof i18.BaoFileModule, typeof i19.BaoSnackBarModule]>;
23
24
  static ɵinj: i0.ɵɵInjectorDeclaration<BaoModule>;
24
25
  }
@@ -8,5 +8,5 @@ export declare class BaoBreadcrumbComponent implements AfterViewInit {
8
8
  onContentChange(): void;
9
9
  private setLastLinkAttribute;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoBreadcrumbComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoBreadcrumbComponent, "bao-breadcrumb", never, {}, {}, never, ["*"], false>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoBreadcrumbComponent, "bao-breadcrumb", never, {}, {}, never, ["*"], false, never>;
12
12
  }
@@ -43,5 +43,5 @@ export declare class BaoButtonComponent implements AfterViewInit {
43
43
  get nativeElement(): HTMLElement;
44
44
  ngAfterViewInit(): void;
45
45
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoButtonComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoButtonComponent, "button[bao-button]", never, { "displayType": "displayType"; "level": "level"; "size": "size"; "loading": "loading"; "reversed": "reversed"; "loadingSpinnerAriaLabel": "loadingSpinnerAriaLabel"; "fullWidth": "fullWidth"; }, {}, never, ["*"], false>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoButtonComponent, "button[bao-button]", never, { "displayType": "displayType"; "level": "level"; "size": "size"; "loading": "loading"; "reversed": "reversed"; "loadingSpinnerAriaLabel": "loadingSpinnerAriaLabel"; "fullWidth": "fullWidth"; }, {}, never, ["*"], false, never>;
47
47
  }
@@ -12,33 +12,33 @@ import * as i0 from "@angular/core";
12
12
  export declare class BaoCardComponent {
13
13
  padding: 'normal' | 'large';
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoCardComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoCardComponent, "bao-card, [bao-card], [baoCard]", never, { "padding": "padding"; }, {}, never, ["bao-card-header", "bao-card-content"], false>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoCardComponent, "bao-card, [bao-card], [baoCard]", never, { "padding": "padding"; }, {}, never, ["bao-card-header", "bao-card-content"], false, never>;
16
16
  }
17
17
  /**
18
18
  * Header of a card, needed as it's used as a selector in the API.
19
19
  */
20
20
  export declare class BaoCardHeader {
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoCardHeader, never>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardHeader, "bao-card-header, [bao-card-header], [baoCardHeader]", never, {}, {}, never, never, false>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardHeader, "bao-card-header, [bao-card-header], [baoCardHeader]", never, {}, {}, never, never, false, never>;
23
23
  }
24
24
  /**
25
25
  * Body of a card, needed as it's used as a selector in the API.
26
26
  */
27
27
  export declare class BaoCardContent {
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoCardContent, never>;
29
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardContent, "bao-card-content, [bao-card-content], [baoCardContent]", never, {}, {}, never, never, false>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardContent, "bao-card-content, [bao-card-content], [baoCardContent]", never, {}, {}, never, never, false, never>;
30
30
  }
31
31
  /**
32
32
  * Title of a card, needed as it's used as a selector in the API.
33
33
  */
34
34
  export declare class BaoCardTitle {
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoCardTitle, never>;
36
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardTitle, "bao-card-title, [bao-card-title], [baoCardTitle]", never, {}, {}, never, never, false>;
36
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardTitle, "bao-card-title, [bao-card-title], [baoCardTitle]", never, {}, {}, never, never, false, never>;
37
37
  }
38
38
  /**
39
39
  * Text of a card, needed as it's used as a selector in the API.
40
40
  */
41
41
  export declare class BaoCardTextInterface {
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoCardTextInterface, never>;
43
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardTextInterface, "bao-card-text-interface, [bao-card-text-interface], [baoCardTextInterface]", never, {}, {}, never, never, false>;
43
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardTextInterface, "bao-card-text-interface, [bao-card-text-interface], [baoCardTextInterface]", never, {}, {}, never, never, false, never>;
44
44
  }
@@ -21,5 +21,5 @@ export declare class BaoCheckboxGroupComponent implements AfterViewInit {
21
21
  private setAriaDescribedByToDescription;
22
22
  private showAriaDescribedBy;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoCheckboxGroupComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoCheckboxGroupComponent, "bao-checkbox-group, [bao-checkbox-group]", never, { "id": "id"; }, {}, never, ["*", "bao-error, [bao-error], bao-guiding-text, [bao-guiding-text]"], false>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoCheckboxGroupComponent, "bao-checkbox-group, [bao-checkbox-group]", never, { "id": "id"; }, {}, never, ["*", "bao-error, [bao-error], bao-guiding-text, [bao-guiding-text]"], false, never>;
25
25
  }
@@ -144,9 +144,9 @@ export declare class BaoCheckboxComponent implements ControlValueAccessor, After
144
144
  private onModelChange;
145
145
  private onTouch;
146
146
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoCheckboxComponent, never>;
147
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoCheckboxComponent, "bao-checkbox, [bao-checkbox]", never, { "id": "id"; "ariaLabel": "aria-label"; "brandBorder": "brandBorder"; "inline": "inline"; "name": "name"; "hiddenLabel": "hiddenLabel"; "checked": "checked"; "disabled": "disabled"; "required": "required"; "indeterminate": "indeterminate"; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*", "bao-checkbox-description, [bao-checkbox-description], [baoCheckboxDescription]"], false>;
147
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoCheckboxComponent, "bao-checkbox, [bao-checkbox]", never, { "id": "id"; "ariaLabel": "aria-label"; "brandBorder": "brandBorder"; "inline": "inline"; "name": "name"; "hiddenLabel": "hiddenLabel"; "checked": "checked"; "disabled": "disabled"; "required": "required"; "indeterminate": "indeterminate"; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*", "bao-checkbox-description, [bao-checkbox-description], [baoCheckboxDescription]"], false, never>;
148
148
  }
149
149
  export declare class BaoCheckBoxDescription {
150
150
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoCheckBoxDescription, never>;
151
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCheckBoxDescription, "bao-checkbox-description, [bao-checkbox-description], [baoCheckboxDescription]", never, {}, {}, never, never, false>;
151
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCheckBoxDescription, "bao-checkbox-description, [bao-checkbox-description], [baoCheckboxDescription]", never, {}, {}, never, never, false, never>;
152
152
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BaoErrorTextComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoErrorTextComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoErrorTextComponent, "bao-error, [bao-error]", never, {}, {}, never, ["*"], false>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoErrorTextComponent, "bao-error, [bao-error]", never, {}, {}, never, ["*"], false, never>;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BaoGuidingTextComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoGuidingTextComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoGuidingTextComponent, "bao-guiding-text, [bao-guiding-text]", never, {}, {}, never, ["*"], false>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoGuidingTextComponent, "bao-guiding-text, [bao-guiding-text]", never, {}, {}, never, ["*"], false, never>;
5
5
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class BaoLabelTextComponent {
3
3
  required: boolean;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoLabelTextComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoLabelTextComponent, "bao-label, [bao-label]", never, { "required": "required"; }, {}, never, ["*"], false>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoLabelTextComponent, "bao-label, [bao-label]", never, { "required": "required"; }, {}, never, ["*"], false, never>;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BaoTitleTextComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoTitleTextComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoTitleTextComponent, "bao-title-text, [bao-title-text]", never, {}, {}, never, ["*"], false>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoTitleTextComponent, "bao-title-text, [bao-title-text]", never, {}, {}, never, ["*"], false, never>;
5
5
  }
@@ -10,6 +10,10 @@ export declare class BaoDropdownMenuItem implements AfterViewInit, OnChanges {
10
10
  * Is the list item disabled
11
11
  */
12
12
  disabled: boolean;
13
+ /**
14
+ * Emits when menu item is clicked
15
+ */
16
+ itemClicked: EventEmitter<any>;
13
17
  constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>, _parent: BaoDropdownMenuComponent);
14
18
  get nativeElement(): HTMLElement;
15
19
  spaceKeyEvent(): void;
@@ -22,13 +26,14 @@ export declare class BaoDropdownMenuItem implements AfterViewInit, OnChanges {
22
26
  private addPaddingClass;
23
27
  private disableItem;
24
28
  /**
25
- * This method propagates a click event to menu item children with inputs (checkbox, radio button)
29
+ * This method propagates a click event to menu item children with inputs (checkbox, radio button).
30
+ * It emits event to close menu if item does not contain an input.
26
31
  */
27
32
  private propagateClick;
28
33
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuItem, never>;
29
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItem, "bao-dropdown-menu-item, [bao-dropdown-menu-item]", never, { "disabled": "disabled"; }, {}, never, never, false>;
34
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItem, "bao-dropdown-menu-item, [bao-dropdown-menu-item]", never, { "disabled": "disabled"; }, { "itemClicked": "itemClicked"; }, never, never, false, never>;
30
35
  }
31
- export declare class BaoDropdownMenuComponent implements AfterViewInit {
36
+ export declare class BaoDropdownMenuComponent implements AfterContentInit, AfterViewInit {
32
37
  private cdr;
33
38
  private renderer;
34
39
  private elementRef;
@@ -78,6 +83,7 @@ export declare class BaoDropdownMenuComponent implements AfterViewInit {
78
83
  /** Prevents focus to be lost when SHIFT + TAB has reached beginning of menu */
79
84
  shiftTabKeyEvent(): void;
80
85
  ngAfterViewInit(): void;
86
+ ngAfterContentInit(): void;
81
87
  focusFirstItem(): void;
82
88
  open(): void;
83
89
  close(): void;
@@ -100,7 +106,7 @@ export declare class BaoDropdownMenuComponent implements AfterViewInit {
100
106
  */
101
107
  private canMove;
102
108
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuComponent, never>;
103
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuComponent, "bao-dropdown-menu", never, {}, { "isOpenChange": "isOpenChange"; "isClosedByKeyEvent": "isClosedByKeyEvent"; }, ["_listItems"], ["*"], false>;
109
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuComponent, "bao-dropdown-menu", never, {}, { "isOpenChange": "isOpenChange"; "isClosedByKeyEvent": "isClosedByKeyEvent"; }, ["_listItems"], ["*"], false, never>;
104
110
  }
105
111
  /**
106
112
  * Directive to be applied on element that will trigger the opening and closing of menu.
@@ -117,7 +123,7 @@ export declare class BaoDropdownMenuTrigger implements AfterViewInit, OnDestroy
117
123
  escapeKeyEvent(): void;
118
124
  /** Enter key event triggers click event which opens menu,
119
125
  * then focus is put on first item in the menu */
120
- enterKeyEvent(): void;
126
+ enterKeyEvent(event: KeyboardEvent): void;
121
127
  onClick(): void;
122
128
  ngAfterViewInit(): void;
123
129
  ngOnDestroy(): void;
@@ -127,7 +133,7 @@ export declare class BaoDropdownMenuTrigger implements AfterViewInit, OnDestroy
127
133
  private createOverlay;
128
134
  private getOverlayConfig;
129
135
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuTrigger, never>;
130
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuTrigger, "bao-dropdown-menu-trigger, [bao-dropdown-menu-trigger], [baoDropdownMenuTriggerFor]", never, { "menu": "baoDropdownMenuTriggerFor"; }, {}, never, never, false>;
136
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuTrigger, "bao-dropdown-menu-trigger, [bao-dropdown-menu-trigger], [baoDropdownMenuTriggerFor]", never, { "menu": "baoDropdownMenuTriggerFor"; }, {}, never, never, false, never>;
131
137
  }
132
138
  /**
133
139
  * Sections of list items in menu. Apply proper styling to section's title if there is one.
@@ -140,21 +146,21 @@ export declare class BaoDropdownMenuSection implements AfterViewInit {
140
146
  ngAfterViewInit(): void;
141
147
  private insertTitle;
142
148
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuSection, never>;
143
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuSection, "bao-dropdown-menu-section, [bao-dropdown-menu-section]", never, {}, {}, never, never, false>;
149
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuSection, "bao-dropdown-menu-section, [bao-dropdown-menu-section]", never, {}, {}, never, never, false, never>;
144
150
  }
145
151
  /**
146
152
  * Label of a list item, add css class to apply proper styling.
147
153
  */
148
154
  export declare class BaoDropdownMenuItemLabel {
149
155
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuItemLabel, never>;
150
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemLabel, "bao-dropdown-menu-item-label, [bao-dropdown-menu-item-label]", never, {}, {}, never, never, false>;
156
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemLabel, "bao-dropdown-menu-item-label, [bao-dropdown-menu-item-label]", never, {}, {}, never, never, false, never>;
151
157
  }
152
158
  /**
153
159
  * Description of a list item, add css class to apply proper styling.
154
160
  */
155
161
  export declare class BaoDropdownMenuItemDescription {
156
162
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuItemDescription, never>;
157
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemDescription, "bao-dropdown-menu-item-description, [bao-dropdown-menu-item-description]", never, {}, {}, never, never, false>;
163
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemDescription, "bao-dropdown-menu-item-description, [bao-dropdown-menu-item-description]", never, {}, {}, never, never, false, never>;
158
164
  }
159
165
  /**
160
166
  * Divider to separate sections.
@@ -166,5 +172,5 @@ export declare class BaoDropdownMenuDivider implements AfterContentInit {
166
172
  get nativeElement(): HTMLElement;
167
173
  ngAfterContentInit(): void;
168
174
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuDivider, never>;
169
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuDivider, "bao-dropdown-menu-divider, [bao-dropdown-menu-divider]", never, {}, {}, never, never, false>;
175
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuDivider, "bao-dropdown-menu-divider, [bao-dropdown-menu-divider]", never, {}, {}, never, never, false, never>;
170
176
  }
@@ -99,7 +99,7 @@ export declare class BaoFileInputComponent implements AfterContentInit, AfterVie
99
99
  private setDescribedByAttribute;
100
100
  private setErrorTextsAttribute;
101
101
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoFileInputComponent, never>;
102
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoFileInputComponent, "bao-file-input, [bao-file-input]", never, { "inputId": "id"; "label": "label"; "size": "size"; "maximalFileSize": "maximalFileSize"; "acceptedMIMETypes": "acceptedMIMETypes"; "required": "required"; "disabled": "disabled"; }, { "uploadedFile": "uploadedFile"; }, ["_files", "_errorForm"], ["bao-guiding-text", "bao-file-dropzone-instructions", "bao-error", "*"], false>;
102
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoFileInputComponent, "bao-file-input, [bao-file-input]", never, { "inputId": "id"; "label": "label"; "size": "size"; "maximalFileSize": "maximalFileSize"; "acceptedMIMETypes": "acceptedMIMETypes"; "required": "required"; "disabled": "disabled"; }, { "uploadedFile": "uploadedFile"; }, ["_files", "_errorForm"], ["bao-guiding-text", "bao-file-dropzone-instructions", "bao-error", "*"], false, never>;
103
103
  }
104
104
  export declare class BaoFileDropDirective {
105
105
  fileDrop: EventEmitter<File>;
@@ -110,7 +110,7 @@ export declare class BaoFileDropDirective {
110
110
  private preventAndStop;
111
111
  private getDataTransfer;
112
112
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoFileDropDirective, never>;
113
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoFileDropDirective, "[baoFileDrop]", never, {}, { "fileDrop": "fileDrop"; }, never, never, false>;
113
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoFileDropDirective, "[baoFileDrop]", never, {}, { "fileDrop": "fileDrop"; }, never, never, false, never>;
114
114
  }
115
115
  export declare class BaoFileDropzoneIntructions implements AfterContentInit {
116
116
  private renderer;
@@ -119,5 +119,5 @@ export declare class BaoFileDropzoneIntructions implements AfterContentInit {
119
119
  get nativeElement(): HTMLElement;
120
120
  ngAfterContentInit(): void;
121
121
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoFileDropzoneIntructions, never>;
122
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoFileDropzoneIntructions, "bao-file-dropzone-instructions, [bao-file-dropzone-instructions]", never, {}, {}, never, never, false>;
122
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoFileDropzoneIntructions, "bao-file-dropzone-instructions, [bao-file-dropzone-instructions]", never, {}, {}, never, never, false, never>;
123
123
  }
@@ -25,5 +25,5 @@ export declare class BaoFilePreviewComponent implements AfterContentInit {
25
25
  private formatSize;
26
26
  private getSizeAndUnit;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoFilePreviewComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoFilePreviewComponent, "bao-file-preview, [bao-file-preview]", never, { "file": "file"; "isLoading": "isLoading"; }, {}, never, ["bao-icon", "button[bao-button]", "baoDropdownTriggerFor"], false>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoFilePreviewComponent, "bao-file-preview, [bao-file-preview]", never, { "file": "file"; "isLoading": "isLoading"; }, {}, never, ["bao-icon", "button[bao-button]", "baoDropdownTriggerFor"], false, never>;
29
29
  }
@@ -15,25 +15,25 @@ export declare class BaoHeaderInfoComponent {
15
15
  imageUrl: string;
16
16
  brandBorder: boolean;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoHeaderInfoComponent, "bao-header-info", never, { "notch": "notch"; "imageUrl": "imageUrl"; "brandBorder": "brandBorder"; }, {}, never, ["bao-header-info-title-group", "*"], false>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoHeaderInfoComponent, "bao-header-info", never, { "notch": "notch"; "imageUrl": "imageUrl"; "brandBorder": "brandBorder"; }, {}, never, ["bao-header-info-title-group", "*"], false, never>;
19
19
  }
20
20
  export declare class BaoHeaderInfoTitleGroupComponent {
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoTitleGroupComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoHeaderInfoTitleGroupComponent, "bao-header-info-title-group", never, {}, {}, never, ["*", "bao-header-surtitle, [bao-header-surtitle], [baoHeaderSurtitle], \n bao-header-title, [bao-header-title], [baoHeaderTitle],\n bao-header-subtitle, [bao-header-subtitle], [baoHeaderSubtitle]"], false>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoHeaderInfoTitleGroupComponent, "bao-header-info-title-group", never, {}, {}, never, ["*", "bao-header-surtitle, [bao-header-surtitle], [baoHeaderSurtitle], \n bao-header-title, [bao-header-title], [baoHeaderTitle],\n bao-header-subtitle, [bao-header-subtitle], [baoHeaderSubtitle]"], false, never>;
23
23
  }
24
24
  export declare class BaoHeaderInfoContent {
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoContent, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoContent, "bao-header-info-content", never, {}, {}, never, never, false>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoContent, "bao-header-info-content", never, {}, {}, never, never, false, never>;
27
27
  }
28
28
  export declare class BaoHeaderInfoSurtitle {
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoSurtitle, never>;
30
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoSurtitle, "bao-header-info-surtitle, [bao-header-info-surtitle], [baoHeaderInfoSurtitle]", never, {}, {}, never, never, false>;
30
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoSurtitle, "bao-header-info-surtitle, [bao-header-info-surtitle], [baoHeaderInfoSurtitle]", never, {}, {}, never, never, false, never>;
31
31
  }
32
32
  export declare class BaoHeaderInfoSubtitle {
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoSubtitle, never>;
34
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoSubtitle, "bao-header-info-subtitle, [bao-header-info-subtitle], [baoHeaderInfoSubtitle]", never, {}, {}, never, never, false>;
34
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoSubtitle, "bao-header-info-subtitle, [bao-header-info-subtitle], [baoHeaderInfoSubtitle]", never, {}, {}, never, never, false, never>;
35
35
  }
36
36
  export declare class BaoHeaderInfoTitle {
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoTitle, never>;
38
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoTitle, "bao-header-info-title, [bao-header-info-title], [baoHeaderInfoTitle]", never, {}, {}, never, never, false>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoTitle, "bao-header-info-title, [bao-header-info-title], [baoHeaderInfoTitle]", never, {}, {}, never, never, false, never>;
39
39
  }
@@ -13,5 +13,5 @@ export declare class BaoHyperlinkComponent implements AfterViewInit {
13
13
  private setIcon;
14
14
  private addIconClass;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoHyperlinkComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoHyperlinkComponent, "bao-hyperlink, [bao-hyperlink]", never, { "size": "size"; }, {}, never, ["*"], false>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoHyperlinkComponent, "bao-hyperlink, [bao-hyperlink]", never, { "size": "size"; }, {}, never, ["*"], false, never>;
17
17
  }
@@ -39,5 +39,5 @@ export declare class BaoIconComponent implements OnDestroy {
39
39
  private addTitleToSVG;
40
40
  private generateUniqueTitleId;
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoIconComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoIconComponent, "bao-icon", ["baoIcon"], { "color": "color"; "size": "size"; "svgIcon": "svgIcon"; "title": "title"; }, {}, never, ["*"], false>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoIconComponent, "bao-icon", ["baoIcon"], { "color": "color"; "size": "size"; "svgIcon": "svgIcon"; "title": "title"; }, {}, never, ["*"], false, never>;
43
43
  }
@@ -1,21 +1,21 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class BaoListItem {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoListItem, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoListItem, "bao-list-item, [bao-list-item]", never, {}, {}, never, ["baoIconItemType, [baoIconItemType]", "*", "bao-tag, [bao-tag], baoIconTag, [baoIconTag]"], false>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoListItem, "bao-list-item, [bao-list-item]", never, {}, {}, never, ["baoIconItemType, [baoIconItemType]", "*", "bao-tag, [bao-tag], baoIconTag, [baoIconTag]"], false, never>;
5
5
  }
6
6
  export declare class BaoList {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoList, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoList, "bao-list, [bao-list]", never, {}, {}, never, never, false>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoList, "bao-list, [bao-list]", never, {}, {}, never, never, false, never>;
9
9
  }
10
10
  export declare class BaoNavList {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoNavList, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoNavList, "bao-nav-list, [bao-nav-list]", never, {}, {}, never, never, false>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoNavList, "bao-nav-list, [bao-nav-list]", never, {}, {}, never, never, false, never>;
13
13
  }
14
14
  export declare class BaoListItemDescription {
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoListItemDescription, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoListItemDescription, "bao-list-item-description, [bao-list-item-description]", never, {}, {}, never, never, false>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoListItemDescription, "bao-list-item-description, [bao-list-item-description]", never, {}, {}, never, never, false, never>;
17
17
  }
18
18
  export declare class BaoListItemTitle {
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoListItemTitle, never>;
20
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoListItemTitle, "bao-list-item-title, [bao-list-item-title]", never, {}, {}, never, never, false>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoListItemTitle, "bao-list-item-title, [bao-list-item-title]", never, {}, {}, never, never, false, never>;
21
21
  }
@@ -17,9 +17,9 @@ export interface BaoModalConfig {
17
17
  ariaLabelledBy?: string;
18
18
  }
19
19
  /** Options for where to set focus to automatically on dialog open */
20
- export declare type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';
20
+ export type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';
21
21
  /** Valid ARIA roles for a dialog element. */
22
- export declare type ModalRole = 'dialog' | 'alertdialog';
22
+ export type ModalRole = 'dialog' | 'alertdialog';
23
23
  /** Possible overrides for a dialog's position. */
24
24
  export interface ModalPosition {
25
25
  /** Override for the dialog's top position. */
@@ -89,7 +89,7 @@ export declare abstract class _BaoModalContainerBase extends BasePortalOutlet {
89
89
  abstract _startExitAnimation(): void;
90
90
  abstract _startOpenAnimation(): void;
91
91
  static ɵfac: i0.ɵɵFactoryDeclaration<_BaoModalContainerBase, [null, null, null, { optional: true; }, null, null, null, null]>;
92
- static ɵdir: i0.ɵɵDirectiveDeclaration<_BaoModalContainerBase, never, never, {}, {}, never, never, false>;
92
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_BaoModalContainerBase, never, never, {}, {}, never, never, false, never>;
93
93
  }
94
94
  export declare class BaoModalContainer extends _BaoModalContainerBase {
95
95
  /** State of the modal animation. */
@@ -100,6 +100,6 @@ export declare class BaoModalContainer extends _BaoModalContainerBase {
100
100
  private _finishDialogOpen;
101
101
  private _openAnimationDone;
102
102
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoModalContainer, never>;
103
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoModalContainer, "bao-modal-container", never, {}, {}, never, never, false>;
103
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoModalContainer, "bao-modal-container", never, {}, {}, never, never, false, never>;
104
104
  }
105
105
  export {};
@@ -21,5 +21,5 @@ export declare class BaoModalClose implements OnInit, OnChanges {
21
21
  ngOnChanges(changes: SimpleChanges): void;
22
22
  _onButtonClick(event: MouseEvent): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoModalClose, [{ optional: true; }, null, null]>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoModalClose, "[bao-modal-close], [baoModalClose]", ["BaoModalClose"], { "ariaLabel": "aria-label"; "type": "type"; "dialogResult": "bao-modal-close"; "_baoModalClose": "baoModalClose"; }, {}, never, never, false>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoModalClose, "[bao-modal-close], [baoModalClose]", ["BaoModalClose"], { "ariaLabel": "aria-label"; "type": "type"; "dialogResult": "bao-modal-close"; "_baoModalClose": "baoModalClose"; }, {}, never, never, false, never>;
25
25
  }
@@ -78,7 +78,7 @@ export declare abstract class BaoModalBase<C extends _BaoModalContainerBase> imp
78
78
  */
79
79
  private _applyConfigDefaults;
80
80
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoModalBase<any>, never>;
81
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoModalBase<any>, never, never, {}, {}, never, never, false>;
81
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoModalBase<any>, never, never, {}, {}, never, never, false, never>;
82
82
  }
83
83
  /**
84
84
  * Service to open modal.
@@ -106,5 +106,5 @@ export declare class BaoRadioButtonGroupComponent implements AfterContentInit, C
106
106
  private showAriaDescribedBy;
107
107
  private onTouch;
108
108
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoRadioButtonGroupComponent, never>;
109
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoRadioButtonGroupComponent, "bao-radio-button-group, [bao-radio-button-group], [baoRadioButtonGroup]", ["baoRadioGroup"], { "id": "id"; "name": "name"; "value": "value"; "selected": "selected"; "disabled": "disabled"; "required": "required"; }, { "change": "change"; }, ["staticContainer"], ["*", "bao-error, [bao-error], bao-guiding-text, [bao-guiding-text]"], false>;
109
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoRadioButtonGroupComponent, "bao-radio-button-group, [bao-radio-button-group], [baoRadioButtonGroup]", ["baoRadioGroup"], { "id": "id"; "name": "name"; "value": "value"; "selected": "selected"; "disabled": "disabled"; "required": "required"; }, { "change": "change"; }, ["staticContainer"], ["*", "bao-error, [bao-error], bao-guiding-text, [bao-guiding-text]"], false, never>;
110
110
  }
@@ -104,9 +104,9 @@ export declare class BaoRadioButtonComponent implements AfterViewInit, OnInit, O
104
104
  /** Unregister function for radioDispatcher */
105
105
  private _removeUniqueSelectionListener;
106
106
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoRadioButtonComponent, [{ optional: true; }, null, null, null, null]>;
107
- static ɵcmp: i0.ɵɵComponentDeclaration<BaoRadioButtonComponent, "bao-radio-button, [bao-radio-button]", never, { "id": "id"; "ariaLabel": "aria-label"; "brandBorder": "brandBorder"; "inline": "inline"; "name": "name"; "hiddenLabel": "hiddenLabel"; "checked": "checked"; "value": "value"; "disabled": "disabled"; "required": "required"; }, { "change": "change"; }, never, ["*", "bao-radio-button-description, [bao-radio-button-description], [baoRadioButtonDescription]"], false>;
107
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoRadioButtonComponent, "bao-radio-button, [bao-radio-button]", never, { "id": "id"; "ariaLabel": "aria-label"; "brandBorder": "brandBorder"; "inline": "inline"; "name": "name"; "hiddenLabel": "hiddenLabel"; "checked": "checked"; "value": "value"; "disabled": "disabled"; "required": "required"; }, { "change": "change"; }, never, ["*", "bao-radio-button-description, [bao-radio-button-description], [baoRadioButtonDescription]"], false, never>;
108
108
  }
109
109
  export declare class BaoRadioDescription {
110
110
  static ɵfac: i0.ɵɵFactoryDeclaration<BaoRadioDescription, never>;
111
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaoRadioDescription, "bao-radio-button-description, [bao-radio-button-description], [baoRadioButtonDescription]", never, {}, {}, never, never, false>;
111
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaoRadioDescription, "bao-radio-button-description, [bao-radio-button-description], [baoRadioButtonDescription]", never, {}, {}, never, never, false, never>;
112
112
  }
@@ -0,0 +1,6 @@
1
+ export * from './module';
2
+ export * from './snack-bar';
3
+ export * from './snack-bar-config';
4
+ export * from './snack-bar-ref';
5
+ export * from './snack-bar-container';
6
+ export * from './simple-snack-bar.component';
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./simple-snack-bar.component";
3
+ import * as i2 from "./snack-bar-container";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/cdk/overlay";
6
+ import * as i5 from "@angular/cdk/portal";
7
+ import * as i6 from "../button/module";
8
+ import * as i7 from "../icon/module";
9
+ export declare class BaoSnackBarModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaoSnackBarModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BaoSnackBarModule, [typeof i1.BaoSimpleSnackBarComponent, typeof i2.BaoSnackBarContainerComponent], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.PortalModule, typeof i6.BaoButtonModule, typeof i7.BaoIconModule], [typeof i1.BaoSimpleSnackBarComponent, typeof i2.BaoSnackBarContainerComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<BaoSnackBarModule>;
13
+ }
@@ -0,0 +1,51 @@
1
+ import { BaoSnackBarToastType } from './snack-bar-config';
2
+ import { BaoSnackBarRef } from './snack-bar-ref';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Interface for a simple snack bar component that has a message and a single action.
6
+ */
7
+ export interface ITextOnlySnackBar {
8
+ data: {
9
+ message: string;
10
+ toastType: BaoSnackBarToastType;
11
+ actionLabelOrIcon: string;
12
+ showClose: boolean;
13
+ };
14
+ snackBarRef: BaoSnackBarRef<ITextOnlySnackBar>;
15
+ action: () => void;
16
+ hasAction: boolean;
17
+ }
18
+ /**
19
+ * A component used to open as the default snack bar, matching material spec.
20
+ * This should only be used internally by the snack bar service.
21
+ */
22
+ export declare class BaoSimpleSnackBarComponent implements ITextOnlySnackBar {
23
+ snackBarRef: BaoSnackBarRef<BaoSimpleSnackBarComponent>;
24
+ showCloseTitle: string;
25
+ /** Data that was injected into the snack bar. */
26
+ data: {
27
+ message: string;
28
+ toastType: BaoSnackBarToastType;
29
+ actionLabelOrIcon: string;
30
+ showClose: boolean;
31
+ };
32
+ constructor(snackBarRef: BaoSnackBarRef<BaoSimpleSnackBarComponent>, data: any);
33
+ /** Returns the politeness */
34
+ get politeness(): string;
35
+ /** Returns the toast class */
36
+ get toastClass(): string;
37
+ /** Returns the toast icon */
38
+ get toastIcon(): string;
39
+ /** Returns the toast icon title */
40
+ get toastIconTitle(): string;
41
+ /** If the action button should be shown. */
42
+ get hasAction(): boolean;
43
+ /** If the action is an icon */
44
+ get isActionIcon(): boolean;
45
+ /** Performs the action on the snack bar. */
46
+ action(): void;
47
+ /** Closes the snack bar. */
48
+ close(): void;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaoSimpleSnackBarComponent, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaoSimpleSnackBarComponent, "bao-simple-snack-bar", never, {}, {}, never, never, false, never>;
51
+ }
@@ -0,0 +1,8 @@
1
+ import { AnimationTriggerMetadata } from '@angular/animations';
2
+ /**
3
+ * Animations used by the Material snack bar.
4
+ * @docs-private
5
+ */
6
+ export declare const matSnackBarAnimations: {
7
+ readonly snackBarState: AnimationTriggerMetadata;
8
+ };