@villedemontreal/angular-ui 3.3.1 → 13.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.
- package/esm2020/lib/alert/alert.component.mjs +20 -20
- package/esm2020/lib/alert/index.mjs +2 -2
- package/esm2020/lib/alert/module.mjs +6 -6
- package/esm2020/lib/avatar/avatar.component.mjs +8 -8
- package/esm2020/lib/avatar/index.mjs +2 -2
- package/esm2020/lib/avatar/module.mjs +6 -6
- package/esm2020/lib/badge/badge.component.mjs +5 -5
- package/esm2020/lib/badge/index.mjs +2 -2
- package/esm2020/lib/badge/module.mjs +6 -6
- package/esm2020/lib/bao.module.mjs +19 -13
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +5 -5
- package/esm2020/lib/breadcrumb/index.mjs +2 -2
- package/esm2020/lib/breadcrumb/module.mjs +6 -6
- package/esm2020/lib/button/button.component.mjs +7 -7
- package/esm2020/lib/button/index.mjs +2 -2
- package/esm2020/lib/button/module.mjs +6 -6
- package/esm2020/lib/card/card.component.mjs +17 -17
- package/esm2020/lib/card/index.mjs +2 -2
- package/esm2020/lib/card/module.mjs +6 -6
- package/esm2020/lib/checkbox/checkbox-group.component.mjs +5 -5
- package/esm2020/lib/checkbox/checkbox.component.mjs +7 -7
- package/esm2020/lib/checkbox/index.mjs +2 -2
- package/esm2020/lib/checkbox/module.mjs +6 -6
- package/esm2020/lib/common-components/error-text/errorText.component.mjs +5 -5
- package/esm2020/lib/common-components/guiding-text/guidingText.component.mjs +5 -5
- package/esm2020/lib/common-components/index.mjs +2 -2
- package/esm2020/lib/common-components/label-text/labelText.component.mjs +6 -6
- package/esm2020/lib/common-components/module.mjs +10 -7
- package/esm2020/lib/common-components/title-text/titleText.component.mjs +5 -5
- package/esm2020/lib/core/colors.mjs +1 -1
- package/esm2020/lib/dropdown-menu/dropdown-menu.component.mjs +30 -23
- package/esm2020/lib/dropdown-menu/index.mjs +2 -2
- package/esm2020/lib/dropdown-menu/module.mjs +6 -6
- package/esm2020/lib/file/file-input.component.mjs +319 -0
- package/esm2020/lib/file/file-intl.mjs +65 -0
- package/esm2020/lib/file/file-preview.component.mjs +86 -0
- package/esm2020/lib/file/index.mjs +10 -0
- package/esm2020/lib/file/module.mjs +58 -0
- package/esm2020/lib/header-info/header-info.component.mjs +20 -20
- package/esm2020/lib/header-info/index.mjs +2 -2
- package/esm2020/lib/header-info/module.mjs +6 -6
- package/esm2020/lib/hyperlink/hyperlink.component.mjs +5 -5
- package/esm2020/lib/hyperlink/index.mjs +2 -2
- package/esm2020/lib/hyperlink/module.mjs +6 -6
- package/esm2020/lib/icon/bao-icon-registry.mjs +5 -5
- package/esm2020/lib/icon/icon.component.mjs +5 -5
- package/esm2020/lib/icon/icons-dictionary.mjs +3 -2
- package/esm2020/lib/icon/index.mjs +2 -2
- package/esm2020/lib/icon/module.mjs +6 -6
- package/esm2020/lib/list/index.mjs +2 -2
- package/esm2020/lib/list/list.component.mjs +17 -17
- package/esm2020/lib/list/module.mjs +6 -6
- package/esm2020/lib/modal/index.mjs +2 -2
- package/esm2020/lib/modal/modal-animations.mjs +2 -2
- package/esm2020/lib/modal/modal-config.mjs +2 -2
- package/esm2020/lib/modal/modal-container.mjs +8 -8
- package/esm2020/lib/modal/modal-directives.mjs +5 -5
- package/esm2020/lib/modal/modal-ref.mjs +1 -1
- package/esm2020/lib/modal/modal.mjs +8 -8
- package/esm2020/lib/modal/module.mjs +12 -10
- package/esm2020/lib/radio/index.mjs +2 -2
- package/esm2020/lib/radio/module.mjs +13 -11
- package/esm2020/lib/radio/radio-group.component.mjs +6 -6
- package/esm2020/lib/radio/radio.component.mjs +7 -7
- package/esm2020/lib/shared/enum/display-mode.mjs +1 -1
- package/esm2020/lib/shared/index.mjs +2 -2
- package/esm2020/lib/summary/index.mjs +2 -2
- package/esm2020/lib/summary/list-summary.component.mjs +17 -10
- package/esm2020/lib/summary/module.mjs +6 -6
- package/esm2020/lib/summary/summary.component.mjs +8 -8
- package/esm2020/lib/tabs/index.mjs +2 -2
- package/esm2020/lib/tabs/module.mjs +6 -6
- package/esm2020/lib/tabs/tabs.component.mjs +14 -14
- package/esm2020/lib/tag/index.mjs +2 -2
- package/esm2020/lib/tag/module.mjs +6 -6
- package/esm2020/lib/tag/tag.component.mjs +5 -5
- package/esm2020/public-api.mjs +3 -2
- package/fesm2015/villedemontreal-angular-ui.mjs +881 -350
- package/fesm2015/villedemontreal-angular-ui.mjs.map +1 -1
- package/fesm2020/villedemontreal-angular-ui.mjs +881 -350
- package/fesm2020/villedemontreal-angular-ui.mjs.map +1 -1
- package/lib/alert/alert.component.d.ts +5 -5
- package/lib/avatar/avatar.component.d.ts +2 -2
- package/lib/badge/badge.component.d.ts +1 -1
- package/lib/bao.module.d.ts +2 -1
- package/lib/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/lib/button/button.component.d.ts +1 -1
- package/lib/card/card.component.d.ts +5 -5
- package/lib/checkbox/checkbox-group.component.d.ts +1 -1
- package/lib/checkbox/checkbox.component.d.ts +2 -2
- package/lib/common-components/error-text/errorText.component.d.ts +1 -1
- package/lib/common-components/guiding-text/guidingText.component.d.ts +1 -1
- package/lib/common-components/label-text/labelText.component.d.ts +1 -1
- package/lib/common-components/title-text/titleText.component.d.ts +1 -1
- package/lib/dropdown-menu/dropdown-menu.component.d.ts +7 -7
- package/lib/file/file-input.component.d.ts +123 -0
- package/lib/file/file-intl.d.ts +44 -0
- package/lib/file/file-preview.component.d.ts +29 -0
- package/lib/file/index.d.ts +4 -0
- package/lib/file/module.d.ts +13 -0
- package/lib/header-info/header-info.component.d.ts +6 -6
- package/lib/hyperlink/hyperlink.component.d.ts +1 -1
- package/lib/icon/icon.component.d.ts +1 -1
- package/lib/list/list.component.d.ts +5 -5
- package/lib/modal/modal-container.d.ts +2 -2
- package/lib/modal/modal-directives.d.ts +1 -1
- package/lib/modal/modal.d.ts +1 -1
- package/lib/radio/radio-group.component.d.ts +1 -1
- package/lib/radio/radio.component.d.ts +2 -2
- package/lib/summary/list-summary.component.d.ts +2 -2
- package/lib/summary/summary.component.d.ts +2 -2
- package/lib/tabs/tabs.component.d.ts +4 -4
- package/lib/tag/tag.component.d.ts +1 -1
- package/package.json +7 -7
- package/public-api.d.ts +1 -0
- /package/{index.d.ts → villedemontreal-angular-ui.d.ts} +0 -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
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertTitle, "bao-alert-title", never, {}, {}, 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
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertContent, "bao-alert-content", never, {}, {}, 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
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertActions, "bao-alert-actions", ["baoAlertActions"], {}, {}, 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
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAlertLink, "bao-alert-link", never, {}, {}, 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, ["*"]
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoAlertComponent, "bao-alert", never, { "type": "type"; "dismissible": "dismissible"; }, { "dismiss": "dismiss"; }, 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
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoAvatarContent, "bao-avatar-content, [bao-avatar-content]", ["baoAvatarContent"], {}, {}, 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]"]
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoAvatarComponent, "bao-avatar", never, { "profileName": "profileName"; "color": "color"; }, {}, never, ["bao-avatar-content, [bao-avatar-content]"]>;
|
|
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, ["*"]
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoBadgeComponent, "bao-badge", never, { "type": "type"; }, {}, never, ["*"]>;
|
|
6
6
|
}
|
package/lib/bao.module.d.ts
CHANGED
|
@@ -16,8 +16,9 @@ import * as i14 from "./tabs/module";
|
|
|
16
16
|
import * as i15 from "./modal/module";
|
|
17
17
|
import * as i16 from "./hyperlink/module";
|
|
18
18
|
import * as i17 from "./dropdown-menu/module";
|
|
19
|
+
import * as i18 from "./file/module";
|
|
19
20
|
export declare class BaoModule {
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoModule, never, [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i4.BaoCardModule, typeof i5.BaoBreadcrumbModule], [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i5.BaoBreadcrumbModule, typeof i4.BaoCardModule, typeof i6.BaoTagModule, typeof i7.BaoHeaderInfoModule, typeof i8.BaoListModule, typeof i9.BaoCommonComponentsModule, typeof i10.BaoCheckboxModule, typeof i11.BaoRadioModule, typeof i12.BaoSummaryModule, typeof i13.BaoAvatarModule, typeof i14.BaoTabsModule, typeof i15.BaoModalModule, typeof i16.BaoHyperlinkModule, typeof i17.BaoDropdownMenuModule]>;
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoModule, never, [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i4.BaoCardModule, typeof i5.BaoBreadcrumbModule], [typeof i1.BaoIconModule, typeof i2.BaoButtonModule, typeof i3.BaoAlertModule, typeof i5.BaoBreadcrumbModule, typeof i4.BaoCardModule, typeof i6.BaoTagModule, typeof i7.BaoHeaderInfoModule, typeof i8.BaoListModule, typeof i9.BaoCommonComponentsModule, typeof i10.BaoCheckboxModule, typeof i11.BaoRadioModule, typeof i12.BaoSummaryModule, typeof i13.BaoAvatarModule, typeof i14.BaoTabsModule, typeof i15.BaoModalModule, typeof i16.BaoHyperlinkModule, typeof i17.BaoDropdownMenuModule, typeof i18.BaoFileModule]>;
|
|
22
23
|
static ɵinj: i0.ɵɵInjectorDeclaration<BaoModule>;
|
|
23
24
|
}
|
|
@@ -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, ["*"]
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoBreadcrumbComponent, "bao-breadcrumb", never, {}, {}, 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, ["*"]
|
|
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, ["*"]>;
|
|
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"]
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoCardComponent, "bao-card, [bao-card], [baoCard]", never, { "padding": "padding"; }, {}, never, ["bao-card-header", "bao-card-content"]>;
|
|
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
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardHeader, "bao-card-header, [bao-card-header], [baoCardHeader]", never, {}, {}, 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
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardContent, "bao-card-content, [bao-card-content], [baoCardContent]", never, {}, {}, 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
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardTitle, "bao-card-title, [bao-card-title], [baoCardTitle]", never, {}, {}, 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
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCardTextInterface, "bao-card-text-interface, [bao-card-text-interface], [baoCardTextInterface]", never, {}, {}, 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]"]
|
|
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]"]>;
|
|
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]"]
|
|
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]"]>;
|
|
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
|
|
151
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoCheckBoxDescription, "bao-checkbox-description, [bao-checkbox-description], [baoCheckboxDescription]", never, {}, {}, 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, ["*"]
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoErrorTextComponent, "bao-error, [bao-error]", never, {}, {}, 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, ["*"]
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoGuidingTextComponent, "bao-guiding-text, [bao-guiding-text]", never, {}, {}, 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, ["*"]
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoLabelTextComponent, "bao-label, [bao-label]", never, { "required": "required"; }, {}, 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, ["*"]
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoTitleTextComponent, "bao-title-text, [bao-title-text]", never, {}, {}, never, ["*"]>;
|
|
5
5
|
}
|
|
@@ -26,7 +26,7 @@ export declare class BaoDropdownMenuItem implements AfterViewInit, OnChanges {
|
|
|
26
26
|
*/
|
|
27
27
|
private propagateClick;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuItem, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItem, "bao-dropdown-menu-item, [bao-dropdown-menu-item]", never, { "disabled": "disabled"; }, {}, never
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItem, "bao-dropdown-menu-item, [bao-dropdown-menu-item]", never, { "disabled": "disabled"; }, {}, never>;
|
|
30
30
|
}
|
|
31
31
|
export declare class BaoDropdownMenuComponent implements AfterViewInit {
|
|
32
32
|
private cdr;
|
|
@@ -100,7 +100,7 @@ export declare class BaoDropdownMenuComponent implements AfterViewInit {
|
|
|
100
100
|
*/
|
|
101
101
|
private canMove;
|
|
102
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuComponent, never>;
|
|
103
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuComponent, "bao-dropdown-menu", never, {}, { "isOpenChange": "isOpenChange"; "isClosedByKeyEvent": "isClosedByKeyEvent"; }, ["_listItems"], ["*"]
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuComponent, "bao-dropdown-menu", never, {}, { "isOpenChange": "isOpenChange"; "isClosedByKeyEvent": "isClosedByKeyEvent"; }, ["_listItems"], ["*"]>;
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
106
|
* Directive to be applied on element that will trigger the opening and closing of menu.
|
|
@@ -127,7 +127,7 @@ export declare class BaoDropdownMenuTrigger implements AfterViewInit, OnDestroy
|
|
|
127
127
|
private createOverlay;
|
|
128
128
|
private getOverlayConfig;
|
|
129
129
|
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
|
|
130
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuTrigger, "bao-dropdown-menu-trigger, [bao-dropdown-menu-trigger], [baoDropdownMenuTriggerFor]", never, { "menu": "baoDropdownMenuTriggerFor"; }, {}, never>;
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
133
|
* Sections of list items in menu. Apply proper styling to section's title if there is one.
|
|
@@ -140,21 +140,21 @@ export declare class BaoDropdownMenuSection implements AfterViewInit {
|
|
|
140
140
|
ngAfterViewInit(): void;
|
|
141
141
|
private insertTitle;
|
|
142
142
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuSection, never>;
|
|
143
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuSection, "bao-dropdown-menu-section, [bao-dropdown-menu-section]", never, {}, {}, never
|
|
143
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuSection, "bao-dropdown-menu-section, [bao-dropdown-menu-section]", never, {}, {}, never>;
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
146
|
* Label of a list item, add css class to apply proper styling.
|
|
147
147
|
*/
|
|
148
148
|
export declare class BaoDropdownMenuItemLabel {
|
|
149
149
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuItemLabel, never>;
|
|
150
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemLabel, "bao-dropdown-menu-item-label, [bao-dropdown-menu-item-label]", never, {}, {}, never
|
|
150
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemLabel, "bao-dropdown-menu-item-label, [bao-dropdown-menu-item-label]", never, {}, {}, never>;
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
153
153
|
* Description of a list item, add css class to apply proper styling.
|
|
154
154
|
*/
|
|
155
155
|
export declare class BaoDropdownMenuItemDescription {
|
|
156
156
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuItemDescription, never>;
|
|
157
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemDescription, "bao-dropdown-menu-item-description, [bao-dropdown-menu-item-description]", never, {}, {}, never
|
|
157
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemDescription, "bao-dropdown-menu-item-description, [bao-dropdown-menu-item-description]", never, {}, {}, never>;
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
* Divider to separate sections.
|
|
@@ -166,5 +166,5 @@ export declare class BaoDropdownMenuDivider implements AfterContentInit {
|
|
|
166
166
|
get nativeElement(): HTMLElement;
|
|
167
167
|
ngAfterContentInit(): void;
|
|
168
168
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuDivider, never>;
|
|
169
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuDivider, "bao-dropdown-menu-divider, [bao-dropdown-menu-divider]", never, {}, {}, never, never
|
|
169
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuDivider, "bao-dropdown-menu-divider, [bao-dropdown-menu-divider]", never, {}, {}, never, never>;
|
|
170
170
|
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { BaoFileIntl } from './file-intl';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BaoFileInputComponent implements AfterContentInit, AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
6
|
+
intl: BaoFileIntl;
|
|
7
|
+
private elementRef;
|
|
8
|
+
private renderer;
|
|
9
|
+
private cdr;
|
|
10
|
+
/**
|
|
11
|
+
* Id of the file input field
|
|
12
|
+
*/
|
|
13
|
+
inputId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Label of field to be displayed above
|
|
16
|
+
*/
|
|
17
|
+
label: string;
|
|
18
|
+
/**
|
|
19
|
+
* Size of the file input label
|
|
20
|
+
*/
|
|
21
|
+
size: 'small' | 'medium';
|
|
22
|
+
/**
|
|
23
|
+
* Maximum size accepted for uploaded files
|
|
24
|
+
*/
|
|
25
|
+
maximalFileSize: number;
|
|
26
|
+
/**
|
|
27
|
+
* Accepted types of files
|
|
28
|
+
*/
|
|
29
|
+
acceptedMIMETypes: string[];
|
|
30
|
+
/**
|
|
31
|
+
* Is field required
|
|
32
|
+
*/
|
|
33
|
+
required?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Is field disabled
|
|
36
|
+
*/
|
|
37
|
+
disabled?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* File selected to be uploaded
|
|
40
|
+
*/
|
|
41
|
+
uploadedFile: EventEmitter<File>;
|
|
42
|
+
/**
|
|
43
|
+
* List of files that have been uploaded so far
|
|
44
|
+
*/
|
|
45
|
+
private _files;
|
|
46
|
+
/**
|
|
47
|
+
* Form errors when component is used in a form
|
|
48
|
+
*/
|
|
49
|
+
private _errorForm;
|
|
50
|
+
/**
|
|
51
|
+
* Error texts
|
|
52
|
+
*/
|
|
53
|
+
private _errorTexts;
|
|
54
|
+
/**
|
|
55
|
+
* File input that triggers uploading when clicked
|
|
56
|
+
*/
|
|
57
|
+
private uploader;
|
|
58
|
+
private dropzoneElement;
|
|
59
|
+
insertDefaultInstructions: boolean;
|
|
60
|
+
isFileTooBig: boolean;
|
|
61
|
+
isFileTypeInvalid: boolean;
|
|
62
|
+
private _value;
|
|
63
|
+
private _intlChanges;
|
|
64
|
+
private _helperTextId;
|
|
65
|
+
constructor(intl: BaoFileIntl, elementRef: ElementRef<HTMLElement>, renderer: Renderer2, cdr: ChangeDetectorRef);
|
|
66
|
+
get nativeElement(): HTMLElement;
|
|
67
|
+
enterKeyEvent(): void;
|
|
68
|
+
tabKeyEvent(): void;
|
|
69
|
+
shiftTabKeyEvent(): void;
|
|
70
|
+
ngAfterContentInit(): void;
|
|
71
|
+
ngAfterViewInit(): void;
|
|
72
|
+
ngOnDestroy(): void;
|
|
73
|
+
/**
|
|
74
|
+
* Implements ControlValueAccessor interface
|
|
75
|
+
*/
|
|
76
|
+
writeValue(obj: any): void;
|
|
77
|
+
/**
|
|
78
|
+
* Implements ControlValueAccessor interface
|
|
79
|
+
*/
|
|
80
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
81
|
+
/**
|
|
82
|
+
* Implements ControlValueAccessor interface
|
|
83
|
+
*/
|
|
84
|
+
registerOnTouched(fn: any): void;
|
|
85
|
+
/**
|
|
86
|
+
* Implements ControlValueAccessor interface
|
|
87
|
+
*/
|
|
88
|
+
setDisabledState(isDisabled: boolean): void;
|
|
89
|
+
uploadFile(file: File): void;
|
|
90
|
+
/**
|
|
91
|
+
* Saves the registerOnChange function so the component can call it whenever it wants.
|
|
92
|
+
*/
|
|
93
|
+
propagateChange: (_: any) => void;
|
|
94
|
+
/**
|
|
95
|
+
* Saves the registerOnTouched function so the component can call it whenever it wants.
|
|
96
|
+
*/
|
|
97
|
+
propagateTouched: () => void;
|
|
98
|
+
private setValue;
|
|
99
|
+
private setDescribedByAttribute;
|
|
100
|
+
private setErrorTextsAttribute;
|
|
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", "*"]>;
|
|
103
|
+
}
|
|
104
|
+
export declare class BaoFileDropDirective {
|
|
105
|
+
fileDrop: EventEmitter<File>;
|
|
106
|
+
private _isDragOver;
|
|
107
|
+
onDragOver(event: DragEvent): void;
|
|
108
|
+
onDragLeave(event: DragEvent): void;
|
|
109
|
+
onDrop(event: DragEvent): void;
|
|
110
|
+
private preventAndStop;
|
|
111
|
+
private getDataTransfer;
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoFileDropDirective, never>;
|
|
113
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoFileDropDirective, "[baoFileDrop]", never, {}, { "fileDrop": "fileDrop"; }, never>;
|
|
114
|
+
}
|
|
115
|
+
export declare class BaoFileDropzoneIntructions implements AfterContentInit {
|
|
116
|
+
private renderer;
|
|
117
|
+
private elementRef;
|
|
118
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>);
|
|
119
|
+
get nativeElement(): HTMLElement;
|
|
120
|
+
ngAfterContentInit(): void;
|
|
121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoFileDropzoneIntructions, never>;
|
|
122
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoFileDropzoneIntructions, "bao-file-dropzone-instructions, [bao-file-dropzone-instructions]", never, {}, {}, never>;
|
|
123
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Optional } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* To modify the labels and text displayed, create a new instance of BaoFileIntl and
|
|
6
|
+
* include it in a custom provider
|
|
7
|
+
*/
|
|
8
|
+
export declare class BaoFileIntl {
|
|
9
|
+
/**
|
|
10
|
+
* Stream to emit from when labels are changed. Use this to notify components when the labels have
|
|
11
|
+
* changed after initialization.
|
|
12
|
+
*/
|
|
13
|
+
readonly changes: Subject<void>;
|
|
14
|
+
/** The label for button in dropzone */
|
|
15
|
+
dropzoneButtonLabel: string;
|
|
16
|
+
/** The default dropzone instructions */
|
|
17
|
+
defaultDropzoneInstructions: string;
|
|
18
|
+
/** Error message displayed when uploaded file is too large */
|
|
19
|
+
fileTooBigErrorMessage: string;
|
|
20
|
+
/** Error message displayed when uploaded file has an invalid type */
|
|
21
|
+
invalidFileTypeErrorMessage: string;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoFileIntl, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaoFileIntl>;
|
|
24
|
+
}
|
|
25
|
+
export declare class BaoFileIntlEnglish extends BaoFileIntl {
|
|
26
|
+
/** The label for button in dropzone */
|
|
27
|
+
dropzoneButtonLabel: string;
|
|
28
|
+
/** The default dropzone instructions */
|
|
29
|
+
defaultDropzoneInstructions: string;
|
|
30
|
+
/** Error message displayed when uploaded file is too large */
|
|
31
|
+
fileTooBigErrorMessage: string;
|
|
32
|
+
/** Error message displayed when uploaded file has an invalid type */
|
|
33
|
+
invalidFileTypeErrorMessage: string;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoFileIntlEnglish, never>;
|
|
35
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BaoFileIntlEnglish>;
|
|
36
|
+
}
|
|
37
|
+
/** @docs-private */
|
|
38
|
+
export declare function BAO_FILE_INTL_PROVIDER_FACTORY(parentIntl: BaoFileIntl): BaoFileIntl;
|
|
39
|
+
/** @docs-private */
|
|
40
|
+
export declare const BAO_FILE_INTL_PROVIDER: {
|
|
41
|
+
provide: typeof BaoFileIntl;
|
|
42
|
+
deps: Optional[][];
|
|
43
|
+
useFactory: typeof BAO_FILE_INTL_PROVIDER_FACTORY;
|
|
44
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AfterContentInit, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BaoFilePreviewComponent implements AfterContentInit {
|
|
4
|
+
private elementRef;
|
|
5
|
+
private renderer;
|
|
6
|
+
/**
|
|
7
|
+
* Uploaded file to display in list.
|
|
8
|
+
*/
|
|
9
|
+
file: File;
|
|
10
|
+
/**
|
|
11
|
+
* Is file loading
|
|
12
|
+
*/
|
|
13
|
+
isLoading: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* True if projected content has no icon and file does not have a thumbnail.
|
|
16
|
+
*/
|
|
17
|
+
insertGenericIcon: boolean;
|
|
18
|
+
thumbnailURL: string;
|
|
19
|
+
constructor(elementRef: ElementRef<HTMLElement>, renderer: Renderer2);
|
|
20
|
+
get nativeElement(): HTMLElement;
|
|
21
|
+
get fileSize(): string;
|
|
22
|
+
ngAfterContentInit(): void;
|
|
23
|
+
private setIcon;
|
|
24
|
+
private getThumbnail;
|
|
25
|
+
private formatSize;
|
|
26
|
+
private getSizeAndUnit;
|
|
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"]>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./file-input.component";
|
|
3
|
+
import * as i2 from "./file-preview.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../dropdown-menu/module";
|
|
6
|
+
import * as i5 from "../common-components/module";
|
|
7
|
+
import * as i6 from "../icon/module";
|
|
8
|
+
import * as i7 from "../button/module";
|
|
9
|
+
export declare class BaoFileModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoFileModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoFileModule, [typeof i1.BaoFileInputComponent, typeof i1.BaoFileDropzoneIntructions, typeof i1.BaoFileDropDirective, typeof i2.BaoFilePreviewComponent], [typeof i3.CommonModule, typeof i4.BaoDropdownMenuModule, typeof i5.BaoCommonComponentsModule, typeof i6.BaoIconModule, typeof i7.BaoButtonModule], [typeof i1.BaoFileInputComponent, typeof i1.BaoFileDropzoneIntructions, typeof i1.BaoFileDropDirective, typeof i2.BaoFilePreviewComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BaoFileModule>;
|
|
13
|
+
}
|
|
@@ -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", "*"]
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoHeaderInfoComponent, "bao-header-info", never, { "notch": "notch"; "imageUrl": "imageUrl"; "brandBorder": "brandBorder"; }, {}, never, ["bao-header-info-title-group", "*"]>;
|
|
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]"]
|
|
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]"]>;
|
|
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
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoContent, "bao-header-info-content", never, {}, {}, 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
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoSurtitle, "bao-header-info-surtitle, [bao-header-info-surtitle], [baoHeaderInfoSurtitle]", never, {}, {}, 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
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoSubtitle, "bao-header-info-subtitle, [bao-header-info-subtitle], [baoHeaderInfoSubtitle]", never, {}, {}, 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
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoTitle, "bao-header-info-title, [bao-header-info-title], [baoHeaderInfoTitle]", never, {}, {}, 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, ["*"]
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoHyperlinkComponent, "bao-hyperlink, [bao-hyperlink]", never, { "size": "size"; }, {}, 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, ["*"]
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoIconComponent, "bao-icon", ["baoIcon"], { "color": "color"; "size": "size"; "svgIcon": "svgIcon"; "title": "title"; }, {}, 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]"]
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoListItem, "bao-list-item, [bao-list-item]", never, {}, {}, never, ["baoIconItemType, [baoIconItemType]", "*", "bao-tag, [bao-tag], baoIconTag, [baoIconTag]"]>;
|
|
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
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoList, "bao-list, [bao-list]", never, {}, {}, 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
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoNavList, "bao-nav-list, [bao-nav-list]", never, {}, {}, 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
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoListItemDescription, "bao-list-item-description, [bao-list-item-description]", never, {}, {}, 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
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoListItemTitle, "bao-list-item-title, [bao-list-item-title]", never, {}, {}, never>;
|
|
21
21
|
}
|
|
@@ -89,7 +89,7 @@ export declare abstract class _BaoModalContainerBase extends BasePortalOutlet {
|
|
|
89
89
|
/** Starts the modal exit animation. */
|
|
90
90
|
abstract _startExitAnimation(): 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
|
|
92
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_BaoModalContainerBase, never, never, {}, {}, never>;
|
|
93
93
|
}
|
|
94
94
|
export declare class BaoModalContainer extends _BaoModalContainerBase {
|
|
95
95
|
/** State of the modal animation. */
|
|
@@ -101,6 +101,6 @@ export declare class BaoModalContainer extends _BaoModalContainerBase {
|
|
|
101
101
|
/** Starts the modal exit animation. */
|
|
102
102
|
_startExitAnimation(): void;
|
|
103
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoModalContainer, never>;
|
|
104
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoModalContainer, "bao-modal-container", never, {}, {}, never, never
|
|
104
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoModalContainer, "bao-modal-container", never, {}, {}, never, never>;
|
|
105
105
|
}
|
|
106
106
|
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
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoModalClose, "[bao-modal-close], [baoModalClose]", ["BaoModalClose"], { "ariaLabel": "aria-label"; "type": "type"; "dialogResult": "bao-modal-close"; "_baoModalClose": "baoModalClose"; }, {}, never>;
|
|
25
25
|
}
|
package/lib/modal/modal.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ export declare abstract class BaoModalBase<C extends _BaoModalContainerBase> imp
|
|
|
79
79
|
*/
|
|
80
80
|
private _applyConfigDefaults;
|
|
81
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoModalBase<any>, never>;
|
|
82
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoModalBase<any>, never, never, {}, {}, never
|
|
82
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoModalBase<any>, never, never, {}, {}, never>;
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
85
|
* 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]"]
|
|
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]"]>;
|
|
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]"]
|
|
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]"]>;
|
|
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
|
|
111
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoRadioDescription, "bao-radio-button-description, [bao-radio-button-description], [baoRadioButtonDescription]", never, {}, {}, never>;
|
|
112
112
|
}
|