@villedemontreal/angular-ui 19.0.0 → 20.0.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/fesm2022/villedemontreal-angular-ui.mjs +373 -348
- package/fesm2022/villedemontreal-angular-ui.mjs.map +1 -1
- package/index.d.ts +2385 -3
- package/package.json +5 -5
- package/lib/alert/alert.component.d.ts +0 -78
- package/lib/alert/index.d.ts +0 -2
- package/lib/alert/module.d.ts +0 -10
- package/lib/avatar/avatar.component.d.ts +0 -26
- package/lib/avatar/index.d.ts +0 -2
- package/lib/avatar/module.d.ts +0 -8
- package/lib/badge/badge.component.d.ts +0 -6
- package/lib/badge/index.d.ts +0 -2
- package/lib/badge/module.d.ts +0 -8
- package/lib/bao.module.d.ts +0 -28
- package/lib/breadcrumb/breadcrumb.component.d.ts +0 -12
- package/lib/breadcrumb/index.d.ts +0 -2
- package/lib/breadcrumb/module.d.ts +0 -9
- package/lib/button/button.component.d.ts +0 -47
- package/lib/button/index.d.ts +0 -2
- package/lib/button/module.d.ts +0 -9
- package/lib/card/card.component.d.ts +0 -44
- package/lib/card/index.d.ts +0 -2
- package/lib/card/module.d.ts +0 -8
- package/lib/checkbox/checkbox-group.component.d.ts +0 -25
- package/lib/checkbox/checkbox.component.d.ts +0 -152
- package/lib/checkbox/index.d.ts +0 -3
- package/lib/checkbox/module.d.ts +0 -11
- package/lib/common-components/error-text/errorText.component.d.ts +0 -5
- package/lib/common-components/guiding-text/guidingText.component.d.ts +0 -5
- package/lib/common-components/index.d.ts +0 -5
- package/lib/common-components/label-text/labelText.component.d.ts +0 -6
- package/lib/common-components/module.d.ts +0 -11
- package/lib/common-components/title-text/titleText.component.d.ts +0 -5
- package/lib/core/breakpoints.d.ts +0 -7
- package/lib/core/colors.d.ts +0 -12
- package/lib/core/index.d.ts +0 -2
- package/lib/dropdown-menu/dropdown-menu.component.d.ts +0 -167
- package/lib/dropdown-menu/index.d.ts +0 -2
- package/lib/dropdown-menu/module.d.ts +0 -11
- package/lib/file/file-input.component.d.ts +0 -123
- package/lib/file/file-intl.d.ts +0 -44
- package/lib/file/file-preview.component.d.ts +0 -31
- package/lib/file/index.d.ts +0 -4
- package/lib/file/module.d.ts +0 -13
- package/lib/header-info/header-info.component.d.ts +0 -39
- package/lib/header-info/index.d.ts +0 -2
- package/lib/header-info/module.d.ts +0 -8
- package/lib/hyperlink/hyperlink.component.d.ts +0 -18
- package/lib/hyperlink/index.d.ts +0 -2
- package/lib/hyperlink/module.d.ts +0 -8
- package/lib/icon/bao-icon-registry.d.ts +0 -12
- package/lib/icon/icon.component.d.ts +0 -44
- package/lib/icon/icons-dictionary.d.ts +0 -4
- package/lib/icon/index.d.ts +0 -2
- package/lib/icon/module.d.ts +0 -8
- package/lib/list/index.d.ts +0 -2
- package/lib/list/list.component.d.ts +0 -21
- package/lib/list/module.d.ts +0 -8
- package/lib/message-bar/index.d.ts +0 -2
- package/lib/message-bar/message-bar.component.d.ts +0 -28
- package/lib/message-bar/module.d.ts +0 -11
- package/lib/modal/index.d.ts +0 -6
- package/lib/modal/modal-config.d.ts +0 -116
- package/lib/modal/modal-container.d.ts +0 -105
- package/lib/modal/modal-directives.d.ts +0 -25
- package/lib/modal/modal-ref.d.ts +0 -104
- package/lib/modal/modal.d.ts +0 -90
- package/lib/modal/module.d.ts +0 -11
- package/lib/pagination/index.d.ts +0 -2
- package/lib/pagination/module.d.ts +0 -10
- package/lib/pagination/pagination.component.d.ts +0 -106
- package/lib/radio/index.d.ts +0 -3
- package/lib/radio/module.d.ts +0 -13
- package/lib/radio/radio-group.component.d.ts +0 -110
- package/lib/radio/radio.component.d.ts +0 -112
- package/lib/shared/enum/display-mode.d.ts +0 -4
- package/lib/shared/index.d.ts +0 -1
- package/lib/snack-bar/index.d.ts +0 -6
- package/lib/snack-bar/module.d.ts +0 -13
- package/lib/snack-bar/simple-snack-bar.component.d.ts +0 -51
- package/lib/snack-bar/snack-bar-animations.d.ts +0 -8
- package/lib/snack-bar/snack-bar-config.d.ts +0 -51
- package/lib/snack-bar/snack-bar-container.d.ts +0 -111
- package/lib/snack-bar/snack-bar-ref.d.ts +0 -51
- package/lib/snack-bar/snack-bar.d.ts +0 -89
- package/lib/summary/index.d.ts +0 -3
- package/lib/summary/list-summary.component.d.ts +0 -9
- package/lib/summary/module.d.ts +0 -10
- package/lib/summary/summary.component.d.ts +0 -47
- package/lib/system-header/index.d.ts +0 -2
- package/lib/system-header/module.d.ts +0 -9
- package/lib/system-header/system-header.component.d.ts +0 -42
- package/lib/tabs/index.d.ts +0 -2
- package/lib/tabs/module.d.ts +0 -8
- package/lib/tabs/tabs.component.d.ts +0 -95
- package/lib/tag/index.d.ts +0 -2
- package/lib/tag/module.d.ts +0 -8
- package/lib/tag/tag.component.d.ts +0 -25
- package/public-api.d.ts +0 -25
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { DomPortal } from '@angular/cdk/portal';
|
|
3
|
-
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, QueryList, Renderer2, SimpleChanges } from '@angular/core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BaoDropdownMenuItem implements AfterViewInit, OnChanges {
|
|
6
|
-
private renderer;
|
|
7
|
-
private elementRef;
|
|
8
|
-
private _parent;
|
|
9
|
-
/**
|
|
10
|
-
* Is the list item disabled
|
|
11
|
-
*/
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Emits when menu item is clicked
|
|
15
|
-
*/
|
|
16
|
-
itemClicked: EventEmitter<any>;
|
|
17
|
-
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>, _parent: BaoDropdownMenuComponent);
|
|
18
|
-
get nativeElement(): HTMLElement;
|
|
19
|
-
spaceKeyEvent(): void;
|
|
20
|
-
onClick(el: HTMLElement): void;
|
|
21
|
-
enterKeyEvent(): void;
|
|
22
|
-
ngAfterViewInit(): void;
|
|
23
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
-
/** Regroups label and description in a new div to help with layout */
|
|
25
|
-
private addContentDiv;
|
|
26
|
-
private addPaddingClass;
|
|
27
|
-
private disableItem;
|
|
28
|
-
/**
|
|
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.
|
|
31
|
-
*/
|
|
32
|
-
private propagateClick;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuItem, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItem, "bao-dropdown-menu-item, [bao-dropdown-menu-item]", never, { "disabled": { "alias": "disabled"; "required": false; }; }, { "itemClicked": "itemClicked"; }, never, never, false, never>;
|
|
35
|
-
}
|
|
36
|
-
export declare class BaoDropdownMenuComponent implements AfterContentInit, AfterViewInit {
|
|
37
|
-
private cdr;
|
|
38
|
-
private renderer;
|
|
39
|
-
private elementRef;
|
|
40
|
-
/**
|
|
41
|
-
* Fired when the dropdown-menu changes its 'isOpen' value
|
|
42
|
-
*/
|
|
43
|
-
isOpenChange: EventEmitter<boolean>;
|
|
44
|
-
/**
|
|
45
|
-
* Fired when menu is closed by key event triggered from menu item
|
|
46
|
-
*/
|
|
47
|
-
isClosedByKeyEvent: EventEmitter<any>;
|
|
48
|
-
/**
|
|
49
|
-
* Content of menu to be loaded inside Overlay
|
|
50
|
-
*/
|
|
51
|
-
_menuContent: ElementRef<HTMLElement>;
|
|
52
|
-
/**
|
|
53
|
-
* All list items inside menu
|
|
54
|
-
*/
|
|
55
|
-
_listItems: QueryList<BaoDropdownMenuItem>;
|
|
56
|
-
/**
|
|
57
|
-
* Unique identifier of the dropdown menu
|
|
58
|
-
*/
|
|
59
|
-
readonly menuId: string;
|
|
60
|
-
/**
|
|
61
|
-
* Is the dropwdown menu currently open
|
|
62
|
-
*/
|
|
63
|
-
private _isOpen;
|
|
64
|
-
/**
|
|
65
|
-
* Reference to portal which is attached to Overlay
|
|
66
|
-
*/
|
|
67
|
-
private _menuPortal;
|
|
68
|
-
/**
|
|
69
|
-
* Index of currently active list item
|
|
70
|
-
*/
|
|
71
|
-
private _activeItemIndex;
|
|
72
|
-
constructor(cdr: ChangeDetectorRef, renderer: Renderer2, elementRef: ElementRef<HTMLElement>);
|
|
73
|
-
get isOpen(): boolean;
|
|
74
|
-
get activeItemIndex(): number;
|
|
75
|
-
get menuPortal(): DomPortal;
|
|
76
|
-
get nativeElement(): HTMLElement;
|
|
77
|
-
set isOpen(isOpen: boolean);
|
|
78
|
-
set activeItemIndex(index: number);
|
|
79
|
-
upKeyEvent(): void;
|
|
80
|
-
downKeyEvent(): void;
|
|
81
|
-
/** Prevents focus to be lost when TAB has reached end of menu */
|
|
82
|
-
tabKeyEvent(): void;
|
|
83
|
-
tabUpKeyEvent(): void;
|
|
84
|
-
/** Prevents focus to be lost when SHIFT + TAB has reached beginning of menu */
|
|
85
|
-
shiftTabKeyEvent(event: KeyboardEvent): void;
|
|
86
|
-
ngAfterViewInit(): void;
|
|
87
|
-
ngAfterContentInit(): void;
|
|
88
|
-
open(): void;
|
|
89
|
-
close(): void;
|
|
90
|
-
focus(): void;
|
|
91
|
-
/** Move the aria-current attribute to new active page */
|
|
92
|
-
setNavigationAttribute(activePageElement: HTMLElement): void;
|
|
93
|
-
private focusNextItem;
|
|
94
|
-
/**
|
|
95
|
-
* Finds the next activable tab index when navigating with up and down arrow or TAB keys
|
|
96
|
-
* @param currentIndex List item index which currently has focus
|
|
97
|
-
* @param isDown Whether the navigation is going in the down direction or not
|
|
98
|
-
* @param isBackward If recursive function is going backward looking for last activable item in list
|
|
99
|
-
* @returns Index of the next item that will receive focus
|
|
100
|
-
*/
|
|
101
|
-
private getNextActivableItemIndex;
|
|
102
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuComponent, never>;
|
|
103
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuComponent, "bao-dropdown-menu", never, {}, { "isOpenChange": "isOpenChange"; "isClosedByKeyEvent": "isClosedByKeyEvent"; }, ["_listItems"], ["*"], false, never>;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Directive to be applied on element that will trigger the opening and closing of menu.
|
|
107
|
-
*/
|
|
108
|
-
export declare class BaoDropdownMenuTrigger implements AfterViewInit, OnDestroy {
|
|
109
|
-
private renderer;
|
|
110
|
-
private elementRef;
|
|
111
|
-
private overlay;
|
|
112
|
-
menu: BaoDropdownMenuComponent | null;
|
|
113
|
-
private _overlayRef;
|
|
114
|
-
private _isMenuOpen;
|
|
115
|
-
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>, overlay: Overlay);
|
|
116
|
-
get nativeElement(): HTMLElement;
|
|
117
|
-
escapeKeyEvent(): void;
|
|
118
|
-
onClick(): void;
|
|
119
|
-
ngAfterViewInit(): void;
|
|
120
|
-
ngOnDestroy(): void;
|
|
121
|
-
private toggleMenu;
|
|
122
|
-
private closeMenu;
|
|
123
|
-
private openMenu;
|
|
124
|
-
private createOverlay;
|
|
125
|
-
private getOverlayConfig;
|
|
126
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuTrigger, never>;
|
|
127
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuTrigger, "bao-dropdown-menu-trigger, [bao-dropdown-menu-trigger], [baoDropdownMenuTriggerFor]", never, { "menu": { "alias": "baoDropdownMenuTriggerFor"; "required": false; }; }, {}, never, never, false, never>;
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Sections of list items in menu. Apply proper styling to section's title if there is one.
|
|
131
|
-
*/
|
|
132
|
-
export declare class BaoDropdownMenuSection implements AfterViewInit {
|
|
133
|
-
private elementRef;
|
|
134
|
-
private renderer;
|
|
135
|
-
constructor(elementRef: ElementRef<HTMLElement>, renderer: Renderer2);
|
|
136
|
-
get nativeElement(): HTMLElement;
|
|
137
|
-
ngAfterViewInit(): void;
|
|
138
|
-
private insertTitle;
|
|
139
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuSection, never>;
|
|
140
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuSection, "bao-dropdown-menu-section, [bao-dropdown-menu-section]", never, {}, {}, never, never, false, never>;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Label of a list item, add css class to apply proper styling.
|
|
144
|
-
*/
|
|
145
|
-
export declare class BaoDropdownMenuItemLabel {
|
|
146
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuItemLabel, never>;
|
|
147
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemLabel, "bao-dropdown-menu-item-label, [bao-dropdown-menu-item-label]", never, {}, {}, never, never, false, never>;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Description of a list item, add css class to apply proper styling.
|
|
151
|
-
*/
|
|
152
|
-
export declare class BaoDropdownMenuItemDescription {
|
|
153
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuItemDescription, never>;
|
|
154
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoDropdownMenuItemDescription, "bao-dropdown-menu-item-description, [bao-dropdown-menu-item-description]", never, {}, {}, never, never, false, never>;
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* Divider to separate sections.
|
|
158
|
-
*/
|
|
159
|
-
export declare class BaoDropdownMenuDivider implements AfterContentInit {
|
|
160
|
-
private renderer;
|
|
161
|
-
private elementRef;
|
|
162
|
-
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>);
|
|
163
|
-
get nativeElement(): HTMLElement;
|
|
164
|
-
ngAfterContentInit(): void;
|
|
165
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuDivider, never>;
|
|
166
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoDropdownMenuDivider, "bao-dropdown-menu-divider, [bao-dropdown-menu-divider]", never, {}, {}, never, never, false, never>;
|
|
167
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./dropdown-menu.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/cdk/observers";
|
|
5
|
-
import * as i4 from "@angular/cdk/overlay";
|
|
6
|
-
import * as i5 from "@angular/cdk/portal";
|
|
7
|
-
export declare class BaoDropdownMenuModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoDropdownMenuModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoDropdownMenuModule, [typeof i1.BaoDropdownMenuComponent, typeof i1.BaoDropdownMenuTrigger, typeof i1.BaoDropdownMenuItem, typeof i1.BaoDropdownMenuSection, typeof i1.BaoDropdownMenuItemLabel, typeof i1.BaoDropdownMenuItemDescription, typeof i1.BaoDropdownMenuDivider], [typeof i2.CommonModule, typeof i3.ObserversModule, typeof i4.OverlayModule, typeof i5.PortalModule], [typeof i1.BaoDropdownMenuComponent, typeof i1.BaoDropdownMenuTrigger, typeof i1.BaoDropdownMenuItem, typeof i1.BaoDropdownMenuSection, typeof i1.BaoDropdownMenuItemLabel, typeof i1.BaoDropdownMenuItemDescription, typeof i1.BaoDropdownMenuDivider]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BaoDropdownMenuModule>;
|
|
11
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
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": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "size": { "alias": "size"; "required": false; }; "maximalFileSize": { "alias": "maximalFileSize"; "required": false; }; "acceptedMIMETypes": { "alias": "acceptedMIMETypes"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "uploadedFile": "uploadedFile"; }, ["_files", "_errorForm"], ["bao-guiding-text", "bao-file-dropzone-instructions", "bao-error", "*"], false, never>;
|
|
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, never, false, 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, never, false, never>;
|
|
123
|
-
}
|
package/lib/file/file-intl.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BaoFilePreviewComponent {
|
|
4
|
-
private elementRef;
|
|
5
|
-
private renderer;
|
|
6
|
-
get file(): File;
|
|
7
|
-
/**
|
|
8
|
-
* Uploaded file to display in list.
|
|
9
|
-
*/
|
|
10
|
-
set file(f: File);
|
|
11
|
-
/**
|
|
12
|
-
* Is file loading
|
|
13
|
-
*/
|
|
14
|
-
isLoading: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* True if projected content has no icon and file does not have a thumbnail.
|
|
17
|
-
*/
|
|
18
|
-
insertGenericIcon: boolean;
|
|
19
|
-
thumbnailURL: string;
|
|
20
|
-
protected _file: File;
|
|
21
|
-
protected fileSize: string;
|
|
22
|
-
constructor(elementRef: ElementRef<HTMLElement>, renderer: Renderer2);
|
|
23
|
-
private get nativeElement();
|
|
24
|
-
private setFileData;
|
|
25
|
-
private setIcon;
|
|
26
|
-
private getThumbnail;
|
|
27
|
-
private formatSize;
|
|
28
|
-
private getSizeAndUnit;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoFilePreviewComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoFilePreviewComponent, "bao-file-preview, [bao-file-preview]", never, { "file": { "alias": "file"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; }, {}, never, ["bao-icon", "button[bao-button]", "baoDropdownTriggerFor"], false, never>;
|
|
31
|
-
}
|
package/lib/file/index.d.ts
DELETED
package/lib/file/module.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* A basic content container component that adds the styles of a BAO header-info
|
|
4
|
-
*
|
|
5
|
-
* While this component can be used alone, it also provides a number
|
|
6
|
-
* of preset styles for common header-info sections, including:
|
|
7
|
-
* - bao-header-info-title-group
|
|
8
|
-
* - bao-header-info-content
|
|
9
|
-
* - bao-header-info-title
|
|
10
|
-
* - bao-header-info-surtitle
|
|
11
|
-
* - bao-header-info-subtitle
|
|
12
|
-
*/
|
|
13
|
-
export declare class BaoHeaderInfoComponent {
|
|
14
|
-
notch: '' | 'left' | 'center';
|
|
15
|
-
imageUrl: string;
|
|
16
|
-
brandBorder: boolean;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoHeaderInfoComponent, "bao-header-info", never, { "notch": { "alias": "notch"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "brandBorder": { "alias": "brandBorder"; "required": false; }; }, {}, never, ["bao-header-info-title-group", "*"], false, never>;
|
|
19
|
-
}
|
|
20
|
-
export declare class BaoHeaderInfoTitleGroupComponent {
|
|
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, never>;
|
|
23
|
-
}
|
|
24
|
-
export declare class BaoHeaderInfoContent {
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoContent, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoHeaderInfoContent, "bao-header-info-content", never, {}, {}, never, never, false, never>;
|
|
27
|
-
}
|
|
28
|
-
export declare class BaoHeaderInfoSurtitle {
|
|
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, never>;
|
|
31
|
-
}
|
|
32
|
-
export declare class BaoHeaderInfoSubtitle {
|
|
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, never>;
|
|
35
|
-
}
|
|
36
|
-
export declare class BaoHeaderInfoTitle {
|
|
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, never>;
|
|
39
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./header-info.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class BaoHeaderInfoModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoHeaderInfoModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoHeaderInfoModule, [typeof i1.BaoHeaderInfoComponent, typeof i1.BaoHeaderInfoContent, typeof i1.BaoHeaderInfoTitleGroupComponent, typeof i1.BaoHeaderInfoSubtitle, typeof i1.BaoHeaderInfoSurtitle, typeof i1.BaoHeaderInfoTitle], [typeof i2.CommonModule], [typeof i1.BaoHeaderInfoComponent, typeof i1.BaoHeaderInfoContent, typeof i1.BaoHeaderInfoTitleGroupComponent, typeof i1.BaoHeaderInfoSubtitle, typeof i1.BaoHeaderInfoSurtitle, typeof i1.BaoHeaderInfoTitle]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BaoHeaderInfoModule>;
|
|
8
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BaoHyperlinkComponent implements AfterViewInit {
|
|
4
|
-
private renderer;
|
|
5
|
-
private elementRef;
|
|
6
|
-
/**
|
|
7
|
-
* Size of the link when it's in a list.
|
|
8
|
-
*/
|
|
9
|
-
size?: 'extra-small' | 'small' | 'medium';
|
|
10
|
-
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>);
|
|
11
|
-
get nativeElement(): HTMLElement;
|
|
12
|
-
ngAfterViewInit(): void;
|
|
13
|
-
private addTabIndex;
|
|
14
|
-
private setIcon;
|
|
15
|
-
private addIconClass;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoHyperlinkComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoHyperlinkComponent, "bao-hyperlink, [bao-hyperlink]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
18
|
-
}
|
package/lib/hyperlink/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./hyperlink.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class BaoHyperlinkModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoHyperlinkModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoHyperlinkModule, [typeof i1.BaoHyperlinkComponent], [typeof i2.CommonModule], [typeof i1.BaoHyperlinkComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BaoHyperlinkModule>;
|
|
8
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BaoIconDictionary {
|
|
4
|
-
private document;
|
|
5
|
-
private domSanitizer;
|
|
6
|
-
constructor(document: any, domSanitizer: DomSanitizer);
|
|
7
|
-
getNamedSvgIcon(iconName: string): SVGElement;
|
|
8
|
-
private getRawIconStringFromIconName;
|
|
9
|
-
private svgElementFromString;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoIconDictionary, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaoIconDictionary>;
|
|
12
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
-
import { BaoColors } from '../core/colors';
|
|
3
|
-
import { BaoIconDictionary as BaoIconRegistry } from './bao-icon-registry';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Component to display an icon. It can be used in the following ways:
|
|
7
|
-
*
|
|
8
|
-
* - Specify the svgIcon input to load an SVG icon from a preset list of icons.
|
|
9
|
-
* Examples:
|
|
10
|
-
* `<bao-icon svgIcon="heart"></bao-icon>`
|
|
11
|
-
*/
|
|
12
|
-
export declare class BaoIconComponent implements OnDestroy {
|
|
13
|
-
private elementRef;
|
|
14
|
-
private iconRegistry;
|
|
15
|
-
private renderer;
|
|
16
|
-
/** The color of the icon, if not specified the icon's parent current text color will be used */
|
|
17
|
-
color: BaoColors;
|
|
18
|
-
/**
|
|
19
|
-
* The size of the icon
|
|
20
|
-
*/
|
|
21
|
-
size: 'medium' | 'small' | 'x-small' | 'xx-small';
|
|
22
|
-
private _svgIcon;
|
|
23
|
-
private _title;
|
|
24
|
-
private _titleId;
|
|
25
|
-
private _elementsWithExternalReferences?;
|
|
26
|
-
constructor(elementRef: ElementRef<HTMLElement>, iconRegistry: BaoIconRegistry, renderer: Renderer2);
|
|
27
|
-
/** Name of the icon in the SVG icon set. */
|
|
28
|
-
get svgIcon(): string;
|
|
29
|
-
/** Title that will be used as an aria-label for the icon */
|
|
30
|
-
get title(): string;
|
|
31
|
-
get hexColor(): string | void;
|
|
32
|
-
get titleId(): string;
|
|
33
|
-
set svgIcon(value: string);
|
|
34
|
-
set title(value: string);
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
|
-
private setSvgElement;
|
|
37
|
-
private clearSvgElement;
|
|
38
|
-
private updateSvgIcon;
|
|
39
|
-
private addTitleToSVG;
|
|
40
|
-
private removeTitleAttributeFromHost;
|
|
41
|
-
private generateUniqueTitleId;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoIconComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoIconComponent, "bao-icon", ["baoIcon"], { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
44
|
-
}
|
package/lib/icon/index.d.ts
DELETED
package/lib/icon/module.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./icon.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class BaoIconModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoIconModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoIconModule, [typeof i1.BaoIconComponent], [typeof i2.CommonModule], [typeof i1.BaoIconComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BaoIconModule>;
|
|
8
|
-
}
|
package/lib/list/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BaoListItem {
|
|
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]", "bao-button, [bao-button], bao-dropdown-menu, [bao-dropdown-menu]"], false, never>;
|
|
5
|
-
}
|
|
6
|
-
export declare class BaoList {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoList, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoList, "bao-list, [bao-list]", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
10
|
-
export declare class BaoNavList {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoNavList, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoNavList, "bao-nav-list, [bao-nav-list]", never, {}, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
14
|
-
export declare class BaoListItemDescription {
|
|
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, never>;
|
|
17
|
-
}
|
|
18
|
-
export declare class BaoListItemTitle {
|
|
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, never>;
|
|
21
|
-
}
|
package/lib/list/module.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./list.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class BaoListModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoListModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoListModule, [typeof i1.BaoListItem, typeof i1.BaoList, typeof i1.BaoNavList, typeof i1.BaoListItemDescription, typeof i1.BaoListItemTitle], [typeof i2.CommonModule], [typeof i1.BaoListItem, typeof i1.BaoList, typeof i1.BaoNavList, typeof i1.BaoListItemDescription, typeof i1.BaoListItemTitle]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BaoListModule>;
|
|
8
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* The BaoMessageBarContent directive is used within the <bao-message-bar>
|
|
5
|
-
* It ensures consistency in text formatting and spacing.
|
|
6
|
-
*
|
|
7
|
-
* This directive is purely visual and does not provide any additional behaviors.
|
|
8
|
-
*/
|
|
9
|
-
export declare class BaoMessageBarContent {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoMessageBarContent, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoMessageBarContent, "bao-message-content", never, {}, {}, never, never, false, never>;
|
|
12
|
-
}
|
|
13
|
-
export declare class BaoMessageBarComponent implements OnChanges {
|
|
14
|
-
private elementRef;
|
|
15
|
-
type: 'info' | 'alert' | 'urgent' | 'neutral';
|
|
16
|
-
dismissible: boolean;
|
|
17
|
-
dismissibleButtonAriaLabel: string;
|
|
18
|
-
dismiss: EventEmitter<void>;
|
|
19
|
-
iconType: string;
|
|
20
|
-
iconTitle: string;
|
|
21
|
-
constructor(elementRef: ElementRef);
|
|
22
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
-
onDismissClicked(): void;
|
|
24
|
-
private getIconType;
|
|
25
|
-
private getIconTitle;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoMessageBarComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoMessageBarComponent, "bao-message-bar", never, { "type": { "alias": "type"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "dismissibleButtonAriaLabel": { "alias": "dismissibleButtonAriaLabel"; "required": false; }; }, { "dismiss": "dismiss"; }, never, ["*"], false, never>;
|
|
28
|
-
}
|