@villedemontreal/angular-ui 14.0.1 → 15.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/esm2020/lib/alert/alert.component.mjs +17 -17
- 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 -12
- 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 +5 -5
- 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 +10 -10
- 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 +10 -10
- package/esm2020/lib/dropdown-menu/dropdown-menu.component.mjs +50 -27
- 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 +56 -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-config.mjs +2 -2
- package/esm2020/lib/modal/modal-container.mjs +23 -37
- package/esm2020/lib/modal/modal-directives.mjs +5 -5
- package/esm2020/lib/modal/modal-ref.mjs +7 -4
- package/esm2020/lib/modal/modal.mjs +16 -37
- package/esm2020/lib/modal/module.mjs +7 -22
- package/esm2020/lib/radio/index.mjs +2 -2
- package/esm2020/lib/radio/module.mjs +6 -6
- package/esm2020/lib/radio/radio-group.component.mjs +5 -5
- 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 +8 -8
- package/esm2020/lib/summary/module.mjs +6 -6
- package/esm2020/lib/summary/summary.component.mjs +9 -9
- 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 +917 -458
- package/fesm2015/villedemontreal-angular-ui.mjs.map +1 -1
- package/fesm2020/villedemontreal-angular-ui.mjs +917 -456
- 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 +12 -11
- 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 +16 -10
- 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-config.d.ts +2 -2
- package/lib/modal/modal-container.d.ts +6 -7
- package/lib/modal/modal-directives.d.ts +1 -1
- package/lib/modal/modal-ref.d.ts +1 -0
- package/lib/modal/modal.d.ts +4 -5
- package/lib/modal/module.d.ts +1 -2
- 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 +5 -5
- package/public-api.d.ts +1 -0
- package/esm2020/lib/modal/modal-animations.mjs +0 -29
- package/lib/modal/modal-animations.d.ts +0 -8
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AnimationEvent } from '@angular/animations';
|
|
2
1
|
import { FocusMonitor, FocusOrigin, ConfigurableFocusTrapFactory, InteractivityChecker } from '@angular/cdk/a11y';
|
|
3
2
|
import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
4
3
|
import { ChangeDetectorRef, ComponentRef, ElementRef, EmbeddedViewRef, EventEmitter, NgZone } from '@angular/core';
|
|
@@ -88,19 +87,19 @@ export declare abstract class _BaoModalContainerBase extends BasePortalOutlet {
|
|
|
88
87
|
private _containsFocus;
|
|
89
88
|
/** Starts the modal exit animation. */
|
|
90
89
|
abstract _startExitAnimation(): void;
|
|
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. */
|
|
96
96
|
_state: 'void' | 'enter' | 'exit';
|
|
97
|
-
|
|
98
|
-
_onAnimationDone({ toState, totalTime }: AnimationEvent): Promise<void>;
|
|
99
|
-
/** Callback, invoked when an animation on the host starts. */
|
|
100
|
-
_onAnimationStart({ toState, totalTime }: AnimationEvent): void;
|
|
97
|
+
_startOpenAnimation(): void;
|
|
101
98
|
/** Starts the modal exit animation. */
|
|
102
99
|
_startExitAnimation(): void;
|
|
100
|
+
private _finishDialogOpen;
|
|
101
|
+
private _openAnimationDone;
|
|
103
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoModalContainer, never>;
|
|
104
|
-
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>;
|
|
105
104
|
}
|
|
106
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
|
}
|
package/lib/modal/modal-ref.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export declare class BaoModalRef<T, R = unknown> {
|
|
|
41
41
|
* @param modalResult Optional result to return to the modal opener.
|
|
42
42
|
*/
|
|
43
43
|
close(modalResult?: R): void;
|
|
44
|
+
startOpenAnimation(): void;
|
|
44
45
|
/**
|
|
45
46
|
* Gets an observable that is notified when the modal is finished opening.
|
|
46
47
|
*/
|
package/lib/modal/modal.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export declare abstract class BaoModalBase<C extends _BaoModalContainerBase> imp
|
|
|
15
15
|
private _modalRefConstructor;
|
|
16
16
|
private _modalContainerType;
|
|
17
17
|
private _modalDataToken;
|
|
18
|
-
private _animationMode?;
|
|
19
18
|
readonly afterAllClosed: Observable<void>;
|
|
20
19
|
private _openModalsAtThisLevel;
|
|
21
20
|
private readonly _afterAllClosedAtThisLevel;
|
|
@@ -24,7 +23,7 @@ export declare abstract class BaoModalBase<C extends _BaoModalContainerBase> imp
|
|
|
24
23
|
private _modalAnimatingOpen;
|
|
25
24
|
private _animationStateSubscriptions;
|
|
26
25
|
private _lastModalRef;
|
|
27
|
-
constructor(_overlay: Overlay, _injector: Injector, _parentModal: BaoModalBase<C> | undefined, _overlayContainer: OverlayContainer, _modalRefConstructor: Type<BaoModalRef<unknown>>, _modalContainerType: Type<C>, _modalDataToken: InjectionToken<unknown
|
|
26
|
+
constructor(_overlay: Overlay, _injector: Injector, _parentModal: BaoModalBase<C> | undefined, _overlayContainer: OverlayContainer, _modalRefConstructor: Type<BaoModalRef<unknown>>, _modalContainerType: Type<C>, _modalDataToken: InjectionToken<unknown>);
|
|
28
27
|
/** Keeps track of the currently-open modals. */
|
|
29
28
|
get openModals(): BaoModalRef<unknown>[];
|
|
30
29
|
/** Stream that emits when a modal has been opened. */
|
|
@@ -79,13 +78,13 @@ export declare abstract class BaoModalBase<C extends _BaoModalContainerBase> imp
|
|
|
79
78
|
*/
|
|
80
79
|
private _applyConfigDefaults;
|
|
81
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoModalBase<any>, never>;
|
|
82
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoModalBase<any>, never, never, {}, {}, never, never, false>;
|
|
81
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoModalBase<any>, never, never, {}, {}, never, never, false, never>;
|
|
83
82
|
}
|
|
84
83
|
/**
|
|
85
84
|
* Service to open modal.
|
|
86
85
|
*/
|
|
87
86
|
export declare class BaoModal extends BaoModalBase<BaoModalContainer> {
|
|
88
|
-
constructor(overlay: Overlay, injector: Injector, parentModal: BaoModal, overlayContainer: OverlayContainer
|
|
89
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaoModal, [null, null, { optional: true; skipSelf: true; }, null
|
|
87
|
+
constructor(overlay: Overlay, injector: Injector, parentModal: BaoModal, overlayContainer: OverlayContainer);
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaoModal, [null, null, { optional: true; skipSelf: true; }, null]>;
|
|
90
89
|
static ɵprov: i0.ɵɵInjectableDeclaration<BaoModal>;
|
|
91
90
|
}
|
package/lib/modal/module.d.ts
CHANGED
|
@@ -4,9 +4,8 @@ import * as i2 from "./modal-directives";
|
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
5
|
import * as i4 from "@angular/cdk/overlay";
|
|
6
6
|
import * as i5 from "@angular/cdk/portal";
|
|
7
|
-
import * as i6 from "@angular/platform-browser/animations";
|
|
8
7
|
export declare class BaoModalModule {
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoModalModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoModalModule, [typeof i1.BaoModalContainer, typeof i2.BaoModalClose], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.PortalModule
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaoModalModule, [typeof i1.BaoModalContainer, typeof i2.BaoModalClose], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.PortalModule], [typeof i1.BaoModalContainer, typeof i2.BaoModalClose]>;
|
|
11
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<BaoModalModule>;
|
|
12
11
|
}
|
|
@@ -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
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class BaoListSummaryItem {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoListSummaryItem, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoListSummaryItem, "bao-list-summary-item, [bao-list-summary-item], [baoListSummaryItem]", never, {}, {}, never, ["*"], false>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoListSummaryItem, "bao-list-summary-item, [bao-list-summary-item], [baoListSummaryItem]", never, {}, {}, never, ["*"], false, never>;
|
|
5
5
|
}
|
|
6
6
|
export declare class BaoListSummary {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoListSummary, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoListSummary, "bao-list-summary, [bao-list-summary], [baoListSummary]", never, {}, {}, never, ["*"], false>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoListSummary, "bao-list-summary, [bao-list-summary], [baoListSummary]", never, {}, {}, never, ["*"], false, never>;
|
|
9
9
|
}
|
|
@@ -39,9 +39,9 @@ export declare class BaoSummaryComponent implements OnInit, AfterViewInit {
|
|
|
39
39
|
setAriaDescribedByToDescription(): void;
|
|
40
40
|
private elementNode;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoSummaryComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoSummaryComponent, "bao-summary, [bao-summary], [baoSummary]", never, { "displayMode": "displayMode"; "id": "id"; }, {}, never, ["bao-label", "bao-guiding-text, [bao-guiding-text]", "bao-title-text, [bao-title-text]", "bao-summary-description", "bao-list-summary, [bao-list-summary], [baoListSummary]", "button[bao-button]", "bao-error, [bao-error]"], false>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoSummaryComponent, "bao-summary, [bao-summary], [baoSummary]", never, { "displayMode": "displayMode"; "id": "id"; }, {}, never, ["bao-label", "bao-guiding-text, [bao-guiding-text]", "bao-title-text, [bao-title-text]", "bao-summary-description", "bao-list-summary, [bao-list-summary], [baoListSummary]", "button[bao-button]", "bao-error, [bao-error]"], false, never>;
|
|
43
43
|
}
|
|
44
44
|
export declare class BaoSummaryDescription {
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoSummaryDescription, never>;
|
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoSummaryDescription, "bao-summary-description, [bao-summary-description], [baoSummaryDescription]", never, {}, {}, never, never, false>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoSummaryDescription, "bao-summary-description, [bao-summary-description], [baoSummaryDescription]", never, {}, {}, never, never, false, never>;
|
|
47
47
|
}
|
|
@@ -12,7 +12,7 @@ export declare class BaoTabHeader implements AfterViewInit {
|
|
|
12
12
|
onClick(el: HTMLElement): void;
|
|
13
13
|
ngAfterViewInit(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoTabHeader, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoTabHeader, "bao-tab-header, [bao-tab-header]", ["baoTabHeader"], {}, { "onTabClick": "onTabClick"; }, never, never, false>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoTabHeader, "bao-tab-header, [bao-tab-header]", ["baoTabHeader"], {}, { "onTabClick": "onTabClick"; }, never, never, false, never>;
|
|
16
16
|
}
|
|
17
17
|
export declare class BaoTabPanel implements AfterViewInit {
|
|
18
18
|
private renderer;
|
|
@@ -21,7 +21,7 @@ export declare class BaoTabPanel implements AfterViewInit {
|
|
|
21
21
|
get nativeElement(): HTMLElement;
|
|
22
22
|
ngAfterViewInit(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoTabPanel, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoTabPanel, "bao-panel, [bao-panel]", ["baoPanel"], {}, {}, never, never, false>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoTabPanel, "bao-panel, [bao-panel]", ["baoPanel"], {}, {}, never, never, false, never>;
|
|
25
25
|
}
|
|
26
26
|
export declare class BaoTablistComponent implements AfterViewInit, AfterContentInit, OnDestroy {
|
|
27
27
|
private renderer;
|
|
@@ -74,7 +74,7 @@ export declare class BaoTablistComponent implements AfterViewInit, AfterContentI
|
|
|
74
74
|
*/
|
|
75
75
|
private getNextActivableTabIndex;
|
|
76
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoTablistComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoTablistComponent, "bao-tablist, [bao-tablist]", never, { "size": "size"; "ariaLabel": "ariaLabel"; }, { "activeTabChange": "activeTabChange"; }, ["tabHeaders"], ["*"], false>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoTablistComponent, "bao-tablist, [bao-tablist]", never, { "size": "size"; "ariaLabel": "ariaLabel"; }, { "activeTabChange": "activeTabChange"; }, ["tabHeaders"], ["*"], false, never>;
|
|
78
78
|
}
|
|
79
79
|
export declare class BaoTabsContainer implements AfterViewInit, AfterContentInit, OnDestroy {
|
|
80
80
|
private renderer;
|
|
@@ -91,5 +91,5 @@ export declare class BaoTabsContainer implements AfterViewInit, AfterContentInit
|
|
|
91
91
|
private setInitialActivePanel;
|
|
92
92
|
private changeActivePanel;
|
|
93
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoTabsContainer, never>;
|
|
94
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoTabsContainer, "bao-tabs, [bao-tabs]", ["baoTabs"], {}, {}, ["tablist"], never, false>;
|
|
94
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaoTabsContainer, "bao-tabs, [bao-tabs]", ["baoTabs"], {}, {}, ["tablist"], never, false, never>;
|
|
95
95
|
}
|
|
@@ -21,5 +21,5 @@ export declare class BaoTagComponent implements AfterViewInit {
|
|
|
21
21
|
private addHiddenText;
|
|
22
22
|
private addIconClass;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaoTagComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaoTagComponent, "bao-tag, [bao-tag], [baoTag]", never, { "type": "type"; "variant": "variant"; "hiddenText": "hiddenText"; }, {}, never, ["bao-icon", "*"], false>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaoTagComponent, "bao-tag, [bao-tag], [baoTag]", never, { "type": "type"; "variant": "variant"; "hiddenText": "hiddenText"; }, {}, never, ["bao-icon", "*"], false, never>;
|
|
25
25
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@villedemontreal/angular-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/cdk": ">=
|
|
6
|
-
"@angular/common": ">=
|
|
7
|
-
"@angular/core": ">=
|
|
8
|
-
"@angular/forms": ">=
|
|
5
|
+
"@angular/cdk": ">=15.0.0 <16.0.0",
|
|
6
|
+
"@angular/common": ">=15.0.0 <16.0.0",
|
|
7
|
+
"@angular/core": ">=15.0.0 <16.0.0",
|
|
8
|
+
"@angular/forms": ">=15.0.0 <16.0.0"
|
|
9
9
|
},
|
|
10
10
|
"module": "fesm2015/villedemontreal-angular-ui.mjs",
|
|
11
11
|
"es2020": "fesm2020/villedemontreal-angular-ui.mjs",
|
package/public-api.d.ts
CHANGED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2022 Ville de Montreal. All rights reserved.
|
|
3
|
-
* Licensed under the MIT license.
|
|
4
|
-
* See LICENSE file in the project root for full license information.
|
|
5
|
-
*/
|
|
6
|
-
import { animate, state, style, transition, trigger, query, animateChild, group } from '@angular/animations';
|
|
7
|
-
/**
|
|
8
|
-
* Animations used by MatDialog.
|
|
9
|
-
* @docs-private
|
|
10
|
-
*/
|
|
11
|
-
export const baoModalAnimations = {
|
|
12
|
-
/** Animation that is applied on the modal container by default. */
|
|
13
|
-
modalContainer: trigger('modalContainer', [
|
|
14
|
-
// Note: The `enter` animation transitions to `transform: none`, because for some reason
|
|
15
|
-
// specifying the transform explicitly, causes IE both to blur the modal content and
|
|
16
|
-
// decimate the animation performance. Leaving it as `none` solves both issues.
|
|
17
|
-
state('void, exit', style({ opacity: 0, transform: 'scale(0.7)' })),
|
|
18
|
-
state('enter', style({ transform: 'none' })),
|
|
19
|
-
transition('* => enter', group([
|
|
20
|
-
animate('150ms cubic-bezier(0, 0, 0.2, 1)', style({ transform: 'none', opacity: 1 })),
|
|
21
|
-
query('@*', animateChild(), { optional: true })
|
|
22
|
-
])),
|
|
23
|
-
transition('* => void, * => exit', group([
|
|
24
|
-
animate('75ms cubic-bezier(0.4, 0.0, 0.2, 1)', style({ opacity: 0 })),
|
|
25
|
-
query('@*', animateChild(), { optional: true })
|
|
26
|
-
]))
|
|
27
|
-
])
|
|
28
|
-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