@daffodil/design 0.92.3 → 0.93.1
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/accordion/README.md +4 -4
- package/beacon/README.md +61 -0
- package/beacon/src/beacon-theme.scss +61 -0
- package/breadcrumb/README.md +13 -35
- package/button/README.md +28 -50
- package/card/README.md +8 -22
- package/card/src/card/stroked/stroked-theme.scss +8 -1
- package/card/src/card-base-theme.scss +12 -1
- package/container/README.md +4 -26
- package/fesm2022/daffodil-design-accordion.mjs +15 -15
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
- package/fesm2022/daffodil-design-article.mjs +30 -30
- package/fesm2022/daffodil-design-article.mjs.map +1 -1
- package/fesm2022/daffodil-design-beacon.mjs +48 -0
- package/fesm2022/daffodil-design-beacon.mjs.map +1 -0
- package/fesm2022/daffodil-design-breadcrumb.mjs +20 -20
- package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
- package/fesm2022/daffodil-design-button.mjs +37 -49
- package/fesm2022/daffodil-design-button.mjs.map +1 -1
- package/fesm2022/daffodil-design-callout.mjs +22 -22
- package/fesm2022/daffodil-design-callout.mjs.map +1 -1
- package/fesm2022/daffodil-design-card.mjs +31 -31
- package/fesm2022/daffodil-design-card.mjs.map +1 -1
- package/fesm2022/daffodil-design-checkbox.mjs +13 -13
- package/fesm2022/daffodil-design-checkbox.mjs.map +1 -1
- package/fesm2022/daffodil-design-container.mjs +7 -7
- package/fesm2022/daffodil-design-container.mjs.map +1 -1
- package/fesm2022/daffodil-design-form-field.mjs +13 -12
- package/fesm2022/daffodil-design-form-field.mjs.map +1 -1
- package/fesm2022/daffodil-design-form.mjs +9 -9
- package/fesm2022/daffodil-design-form.mjs.map +1 -1
- package/fesm2022/daffodil-design-hero.mjs +22 -22
- package/fesm2022/daffodil-design-hero.mjs.map +1 -1
- package/fesm2022/daffodil-design-image.mjs +8 -8
- package/fesm2022/daffodil-design-image.mjs.map +1 -1
- package/fesm2022/daffodil-design-input.mjs +12 -11
- package/fesm2022/daffodil-design-input.mjs.map +1 -1
- package/fesm2022/daffodil-design-link-set.mjs +16 -16
- package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
- package/fesm2022/daffodil-design-list.mjs +20 -17
- package/fesm2022/daffodil-design-list.mjs.map +1 -1
- package/fesm2022/daffodil-design-loading-icon.mjs +7 -7
- package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
- package/fesm2022/daffodil-design-media-gallery.mjs +13 -13
- package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
- package/fesm2022/daffodil-design-menu.mjs +20 -20
- package/fesm2022/daffodil-design-menu.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal.mjs +33 -27
- package/fesm2022/daffodil-design-modal.mjs.map +1 -1
- package/fesm2022/daffodil-design-native-select.mjs +5 -3
- package/fesm2022/daffodil-design-native-select.mjs.map +1 -1
- package/fesm2022/daffodil-design-navbar.mjs +9 -9
- package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification.mjs +16 -16
- package/fesm2022/daffodil-design-notification.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator.mjs +8 -8
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar.mjs +11 -11
- package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
- package/fesm2022/daffodil-design-quantity-field.mjs +13 -13
- package/fesm2022/daffodil-design-quantity-field.mjs.map +1 -1
- package/fesm2022/daffodil-design-radio.mjs +16 -16
- package/fesm2022/daffodil-design-radio.mjs.map +1 -1
- package/fesm2022/daffodil-design-select.mjs +11 -11
- package/fesm2022/daffodil-design-select.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar.mjs +36 -30
- package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
- package/fesm2022/daffodil-design-spinner.mjs +8 -8
- package/fesm2022/daffodil-design-spinner.mjs.map +1 -1
- package/fesm2022/daffodil-design-switch.mjs +3 -3
- package/fesm2022/daffodil-design-switch.mjs.map +1 -1
- package/fesm2022/daffodil-design-tabs.mjs +17 -25
- package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
- package/fesm2022/daffodil-design-tag.mjs +43 -35
- package/fesm2022/daffodil-design-tag.mjs.map +1 -1
- package/fesm2022/daffodil-design-testing.mjs +19 -0
- package/fesm2022/daffodil-design-testing.mjs.map +1 -0
- package/fesm2022/daffodil-design-text-snippet.mjs +3 -3
- package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
- package/fesm2022/daffodil-design-textarea.mjs +3 -3
- package/fesm2022/daffodil-design-textarea.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast.mjs +22 -22
- package/fesm2022/daffodil-design-toast.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree.mjs +27 -25
- package/fesm2022/daffodil-design-tree.mjs.map +1 -1
- package/fesm2022/daffodil-design-youtube-player.mjs +22 -11
- package/fesm2022/daffodil-design-youtube-player.mjs.map +1 -1
- package/fesm2022/daffodil-design.mjs +126 -160
- package/fesm2022/daffodil-design.mjs.map +1 -1
- package/form/README.md +15 -6
- package/hero/README.md +14 -49
- package/image/README.md +6 -29
- package/input/README.md +8 -34
- package/list/README.md +29 -55
- package/list/src/list-theme.scss +16 -2
- package/media-gallery/README.md +36 -43
- package/menu/README.md +24 -55
- package/menu/src/menu-theme.scss +12 -2
- package/modal/README.md +15 -45
- package/native-select/README.md +8 -6
- package/navbar/README.md +18 -27
- package/notification/README.md +14 -49
- package/package.json +1 -1
- package/paginator/README.md +11 -31
- package/paginator/src/paginator-theme.scss +16 -2
- package/progress-bar/README.md +14 -41
- package/scss/global.scss +25 -2
- package/scss/theme.scss +2 -0
- package/select/README.md +5 -6
- package/select/src/select-theme.scss +10 -2
- package/sidebar/README.md +1 -1
- package/spinner/README.md +15 -9
- package/switch/README.md +17 -6
- package/tabs/README.md +39 -39
- package/tag/README.md +31 -31
- package/tag/src/tag-theme.scss +100 -3
- package/textarea/README.md +9 -7
- package/toast/README.md +55 -52
- package/tree/README.md +12 -43
- package/tree/src/tree-theme.scss +8 -4
- package/{accordion/index.d.ts → types/daffodil-design-accordion.d.ts} +1 -1
- package/types/daffodil-design-beacon.d.ts +26 -0
- package/{button/index.d.ts → types/daffodil-design-button.d.ts} +7 -8
- package/{input/index.d.ts → types/daffodil-design-input.d.ts} +4 -1
- package/{list/index.d.ts → types/daffodil-design-list.d.ts} +4 -1
- package/{menu/index.d.ts → types/daffodil-design-menu.d.ts} +3 -3
- package/{modal/index.d.ts → types/daffodil-design-modal.d.ts} +11 -5
- package/{native-select/index.d.ts → types/daffodil-design-native-select.d.ts} +3 -1
- package/{sidebar/index.d.ts → types/daffodil-design-sidebar.d.ts} +9 -3
- package/{tabs/index.d.ts → types/daffodil-design-tabs.d.ts} +0 -6
- package/types/daffodil-design-tag.d.ts +80 -0
- package/types/daffodil-design-testing.d.ts +11 -0
- package/{tree/index.d.ts → types/daffodil-design-tree.d.ts} +2 -0
- package/{youtube-player/index.d.ts → types/daffodil-design-youtube-player.d.ts} +15 -0
- package/{index.d.ts → types/daffodil-design.d.ts} +25 -67
- package/tag/index.d.ts +0 -71
- /package/{article/index.d.ts → types/daffodil-design-article.d.ts} +0 -0
- /package/{breadcrumb/index.d.ts → types/daffodil-design-breadcrumb.d.ts} +0 -0
- /package/{callout/index.d.ts → types/daffodil-design-callout.d.ts} +0 -0
- /package/{card/index.d.ts → types/daffodil-design-card.d.ts} +0 -0
- /package/{checkbox/index.d.ts → types/daffodil-design-checkbox.d.ts} +0 -0
- /package/{container/index.d.ts → types/daffodil-design-container.d.ts} +0 -0
- /package/{form-field/index.d.ts → types/daffodil-design-form-field.d.ts} +0 -0
- /package/{form/index.d.ts → types/daffodil-design-form.d.ts} +0 -0
- /package/{hero/index.d.ts → types/daffodil-design-hero.d.ts} +0 -0
- /package/{image/index.d.ts → types/daffodil-design-image.d.ts} +0 -0
- /package/{link-set/index.d.ts → types/daffodil-design-link-set.d.ts} +0 -0
- /package/{loading-icon/index.d.ts → types/daffodil-design-loading-icon.d.ts} +0 -0
- /package/{media-gallery/index.d.ts → types/daffodil-design-media-gallery.d.ts} +0 -0
- /package/{navbar/index.d.ts → types/daffodil-design-navbar.d.ts} +0 -0
- /package/{notification/index.d.ts → types/daffodil-design-notification.d.ts} +0 -0
- /package/{paginator/index.d.ts → types/daffodil-design-paginator.d.ts} +0 -0
- /package/{progress-bar/index.d.ts → types/daffodil-design-progress-bar.d.ts} +0 -0
- /package/{quantity-field/index.d.ts → types/daffodil-design-quantity-field.d.ts} +0 -0
- /package/{radio/index.d.ts → types/daffodil-design-radio.d.ts} +0 -0
- /package/{select/index.d.ts → types/daffodil-design-select.d.ts} +0 -0
- /package/{spinner/index.d.ts → types/daffodil-design-spinner.d.ts} +0 -0
- /package/{switch/index.d.ts → types/daffodil-design-switch.d.ts} +0 -0
- /package/{text-snippet/index.d.ts → types/daffodil-design-text-snippet.d.ts} +0 -0
- /package/{textarea/index.d.ts → types/daffodil-design-textarea.d.ts} +0 -0
- /package/{toast/index.d.ts → types/daffodil-design-toast.d.ts} +0 -0
|
@@ -7,7 +7,7 @@ import { fromEvent, BehaviorSubject } from 'rxjs';
|
|
|
7
7
|
import { filter } from 'rxjs/operators';
|
|
8
8
|
import * as i2 from '@daffodil/design';
|
|
9
9
|
import { daffFocusableElementsSelector, DaffOpenableDirective } from '@daffodil/design';
|
|
10
|
-
import { trigger, state,
|
|
10
|
+
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
11
11
|
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
|
|
12
12
|
import { faTimes } from '@fortawesome/free-solid-svg-icons';
|
|
13
13
|
import { createSingleInjectionToken } from '@daffodil/core';
|
|
@@ -118,7 +118,7 @@ class DaffSidebarComponent {
|
|
|
118
118
|
*/
|
|
119
119
|
get transformSidebar() {
|
|
120
120
|
return {
|
|
121
|
-
value: getAnimationState$1(this.openDirective.open, this.mode),
|
|
121
|
+
value: getAnimationState$1(this.openDirective.open(), this.mode),
|
|
122
122
|
params: { width: getSidebarAnimationWidth(this.side, this.width) },
|
|
123
123
|
};
|
|
124
124
|
}
|
|
@@ -236,12 +236,12 @@ class DaffSidebarComponent {
|
|
|
236
236
|
toggle() {
|
|
237
237
|
this.openDirective.toggle();
|
|
238
238
|
}
|
|
239
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
240
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
239
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.ConfigurableFocusTrapFactory }, { token: i2.DaffFocusStackService }, { token: i2.DaffOpenableDirective }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
240
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: DaffSidebarComponent, isStandalone: true, selector: "daff-sidebar", inputs: { side: "side", mode: "mode" }, outputs: { escapePressed: "escapePressed" }, host: { listeners: { "@transformSidebar.start": "onAnimationStart($event)", "@transformSidebar.done": "onAnimationComplete($event)" }, properties: { "class.side": "mode === \"side\"", "class.over": "mode === \"over\"", "class.under": "mode === \"under\"", "class.side-fixed": "mode === \"side-fixed\"", "class.left": "side === \"left\"", "class.right": "side === \"right\"", "@transformSidebar": "this.transformSidebar" }, classAttribute: "daff-sidebar" }, hostDirectives: [{ directive: i2.DaffOpenableDirective, inputs: ["open", "open"], outputs: ["toggled", "toggled"] }], ngImport: i0, template: "<ng-content select=\"daff-sidebar-header\"></ng-content>\n<div class=\"daff-sidebar__body\">\n\t<ng-content></ng-content>\n</div>\n<ng-content select=\"daff-sidebar-footer\"></ng-content>", styles: [":host{display:flex;flex-direction:column;flex-shrink:0;overflow-y:auto;width:15rem}:host.left{width:var(--daff-sidebar-left-width, 15rem)}:host.right{width:var(--daff-sidebar-right-width, 15rem)}:host.side-fixed{visibility:hidden;position:fixed;bottom:0;z-index:5;top:var(--daff-sidebar-side-fixed-top-shift, 64px);height:calc(100dvh - var(--daff-sidebar-side-fixed-top-shift, 64px))}:host.side-fixed.left{left:0}:host.side-fixed.right{right:0}@media(min-width:1024px){:host.side-fixed{visibility:visible}}:host.over,:host.under{position:fixed;top:0;bottom:0}:host.over.left,:host.under.left{left:0}:host.over.right,:host.under.right{right:0}:host.over{z-index:7}:host.under{z-index:2}.daff-sidebar__body{flex-grow:1;height:100%;overflow-y:auto}\n"], animations: [
|
|
241
241
|
daffSidebarAnimations.transformSidebar,
|
|
242
242
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
243
243
|
}
|
|
244
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarComponent, decorators: [{
|
|
245
245
|
type: Component,
|
|
246
246
|
args: [{ selector: 'daff-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [{
|
|
247
247
|
directive: DaffOpenableDirective,
|
|
@@ -257,7 +257,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
|
|
|
257
257
|
'[class.right]': 'side === "right"',
|
|
258
258
|
}, animations: [
|
|
259
259
|
daffSidebarAnimations.transformSidebar,
|
|
260
|
-
], template: "<ng-content select=\"daff-sidebar-header\"></ng-content>\n<div class=\"daff-sidebar__body\">\n\t<ng-content></ng-content>\n</div>\n<ng-content select=\"daff-sidebar-footer\"></ng-content>", styles: [":host{display:flex;flex-direction:column;flex-shrink:0;overflow-y:auto;width:15rem}:host.left{width:var(--daff-sidebar-left-width, 15rem)}:host.right{width:var(--daff-sidebar-right-width, 15rem)}:host.side-fixed{visibility:hidden;position:fixed;bottom:0;z-index:5;top:var(--daff-sidebar-side-fixed-top-shift, 64px);height:calc(100dvh - var(--daff-sidebar-side-fixed-top-shift, 64px))}:host.side-fixed.left{left:0}:host.side-fixed.right{right:0}@media(min-width:1024px){:host.side-fixed{visibility:visible}}:host.over,:host.under{position:fixed;top:0;bottom:0}:host.over.left,:host.under.left{left:0}:host.over.right,:host.under.right{right:0}:host.over{z-index:7}:host.under{z-index:2}
|
|
260
|
+
], template: "<ng-content select=\"daff-sidebar-header\"></ng-content>\n<div class=\"daff-sidebar__body\">\n\t<ng-content></ng-content>\n</div>\n<ng-content select=\"daff-sidebar-footer\"></ng-content>", styles: [":host{display:flex;flex-direction:column;flex-shrink:0;overflow-y:auto;width:15rem}:host.left{width:var(--daff-sidebar-left-width, 15rem)}:host.right{width:var(--daff-sidebar-right-width, 15rem)}:host.side-fixed{visibility:hidden;position:fixed;bottom:0;z-index:5;top:var(--daff-sidebar-side-fixed-top-shift, 64px);height:calc(100dvh - var(--daff-sidebar-side-fixed-top-shift, 64px))}:host.side-fixed.left{left:0}:host.side-fixed.right{right:0}@media(min-width:1024px){:host.side-fixed{visibility:visible}}:host.over,:host.under{position:fixed;top:0;bottom:0}:host.over.left,:host.under.left{left:0}:host.over.right,:host.under.right{right:0}:host.over{z-index:7}:host.under{z-index:2}.daff-sidebar__body{flex-grow:1;height:100%;overflow-y:auto}\n"] }]
|
|
261
261
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.ConfigurableFocusTrapFactory }, { type: i2.DaffFocusStackService }, { type: i2.DaffOpenableDirective }, { type: undefined, decorators: [{
|
|
262
262
|
type: Inject,
|
|
263
263
|
args: [DOCUMENT]
|
|
@@ -288,10 +288,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
|
|
|
288
288
|
* ```
|
|
289
289
|
*/
|
|
290
290
|
class DaffSidebarFooterComponent {
|
|
291
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
292
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
291
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
292
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: DaffSidebarFooterComponent, isStandalone: true, selector: "daff-sidebar-footer", host: { classAttribute: "daff-sidebar-footer" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;width:100%;flex-grow:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
293
293
|
}
|
|
294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarFooterComponent, decorators: [{
|
|
295
295
|
type: Component,
|
|
296
296
|
args: [{ selector: 'daff-sidebar-footer', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
297
297
|
'class': 'daff-sidebar-footer',
|
|
@@ -313,10 +313,10 @@ class DaffSidebarHeaderTitleDirective {
|
|
|
313
313
|
*/
|
|
314
314
|
this.class = true;
|
|
315
315
|
}
|
|
316
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
317
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
316
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarHeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
317
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: DaffSidebarHeaderTitleDirective, isStandalone: true, selector: "[daffSidebarHeaderTitle]", host: { properties: { "class.daff-sidebar-header__title": "this.class" } }, ngImport: i0 }); }
|
|
318
318
|
}
|
|
319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarHeaderTitleDirective, decorators: [{
|
|
320
320
|
type: Directive,
|
|
321
321
|
args: [{
|
|
322
322
|
selector: '[daffSidebarHeaderTitle]',
|
|
@@ -355,10 +355,10 @@ class DaffSidebarHeaderComponent {
|
|
|
355
355
|
onCloseSidebar(event) {
|
|
356
356
|
this.closeSidebar.emit();
|
|
357
357
|
}
|
|
358
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
359
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
358
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
359
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DaffSidebarHeaderComponent, isStandalone: true, selector: "daff-sidebar-header", inputs: { dismissible: "dismissible" }, outputs: { closeSidebar: "closeSidebar" }, host: { properties: { "class.dismissible": "dismissible" }, classAttribute: "daff-sidebar-header" }, ngImport: i0, template: "@if (dismissible) {\n <button class=\"daff-sidebar-header__close-icon\" aria-label=\"Close Sidebar\" (click)=\"onCloseSidebar($event)\">\n <fa-icon [icon]=\"faTimes\" [fixedWidth]=\"true\" size=\"lg\"></fa-icon>\n </button>\n}\n<div class=\"daff-sidebar-header__content\">\n <ng-content></ng-content>\n</div>", styles: [".daff-sidebar-header{display:flex;align-items:center;position:relative;padding:0 1rem;min-height:3rem;max-height:3rem;width:100%}.daff-sidebar-header__close-icon{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;appearance:none;background:none;border:none;color:currentColor;height:3rem;margin:0;min-height:3rem;min-width:3rem;padding:0;width:3rem;left:initial;right:0;top:0}.daff-sidebar-header__title,.daff-sidebar-header__content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1rem;font-weight:500}.daff-sidebar-header__close-icon+.daff-sidebar-header__content{margin:0 1.75rem 0 0}.daff-sidebar.right .daff-sidebar-header__close-icon{left:0;right:initial}.daff-sidebar.right .daff-sidebar-header__close-icon+.daff-sidebar-header__title,.daff-sidebar.right .daff-sidebar-header__close-icon+.daff-sidebar-header__content{margin:0 0 0 1.75rem}\n"], dependencies: [{ kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"], outputs: ["iconChange", "titleChange", "animationChange", "maskChange", "flipChange", "sizeChange", "pullChange", "borderChange", "inverseChange", "symbolChange", "rotateChange", "fixedWidthChange", "transformChange", "a11yRoleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
360
360
|
}
|
|
361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarHeaderComponent, decorators: [{
|
|
362
362
|
type: Component,
|
|
363
363
|
args: [{ selector: 'daff-sidebar-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
364
364
|
'class': 'daff-sidebar-header',
|
|
@@ -443,13 +443,13 @@ const daffSidebarViewportScrollFactory = () => {
|
|
|
443
443
|
/**
|
|
444
444
|
* Determines, given a list of sidebars, whether or not the backdrop is interactable (typically clickable).
|
|
445
445
|
*/
|
|
446
|
-
const sidebarViewportBackdropInteractable = (sidebars) => sidebars.reduce((acc, sidebar) => ((sidebar.mode === 'over' || sidebar.mode === 'under') && sidebar.open) || acc, false);
|
|
446
|
+
const sidebarViewportBackdropInteractable = (sidebars) => sidebars.reduce((acc, sidebar) => ((sidebar.mode === 'over' || sidebar.mode === 'under') && sidebar.open()) || acc, false);
|
|
447
447
|
|
|
448
448
|
/**
|
|
449
449
|
* Given a list of sidebars, compute the whether or not the content is padded.
|
|
450
450
|
*/
|
|
451
451
|
const isSidebarViewportContentPadded = (sidebars, side) => sidebars.reduce((acc, sidebar) => {
|
|
452
|
-
if (!(sidebar.mode === "side-fixed" /* DaffSidebarModeEnum.SideFixed */ && sidebar.open)) {
|
|
452
|
+
if (!(sidebar.mode === "side-fixed" /* DaffSidebarModeEnum.SideFixed */ && sidebar.open())) {
|
|
453
453
|
return acc || false;
|
|
454
454
|
}
|
|
455
455
|
if (sidebar.side === side) {
|
|
@@ -467,7 +467,7 @@ const isViewportContentShifted = (mode, open) => (mode === 'under' && open);
|
|
|
467
467
|
* Given a list of sidebars, compute the associated content shift.
|
|
468
468
|
*/
|
|
469
469
|
const sidebarViewportContentShift = (sidebars) => sidebars.reduce((acc, sidebar) => {
|
|
470
|
-
if (!isViewportContentShifted(sidebar.mode, sidebar.open)) {
|
|
470
|
+
if (!isViewportContentShifted(sidebar.mode, sidebar.open())) {
|
|
471
471
|
return acc;
|
|
472
472
|
}
|
|
473
473
|
if (sidebar.side === 'left') {
|
|
@@ -566,12 +566,12 @@ class DaffSidebarViewportBackdropComponent {
|
|
|
566
566
|
onBackdropClicked() {
|
|
567
567
|
this.backdropClicked.emit();
|
|
568
568
|
}
|
|
569
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
570
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
569
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarViewportBackdropComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
570
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: DaffSidebarViewportBackdropComponent, isStandalone: true, selector: "daff-sidebar-viewport-backdrop", inputs: { transparent: "transparent", interactable: "interactable", fullscreen: "fullscreen" }, outputs: { backdropClicked: "backdropClicked" }, host: { listeners: { "@fadeBackdrop.done": "animationDone($event)", "@fadeBackdrop.start": "animationStart($event)", "click": "onBackdropClicked()" }, properties: { "class.interactable": "this.interactableClass", "class.transparent": "this.transparent", "class.fullscreen": "this.fullscreen", "@fadeBackdrop": "this.fadeBackdropTrigger" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;background:#0000004d;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;pointer-events:auto;height:100%;width:100%;visibility:hidden;z-index:6}:host.interactable{visibility:visible;pointer-events:all;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host.transparent{background:none}:host:focus,:host:active,:host:visited{outline:0}:host.fullscreen{position:absolute}\n"], animations: [
|
|
571
571
|
daffSidebarViewportBackdropAnimations.fadeBackdrop,
|
|
572
572
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
573
573
|
}
|
|
574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarViewportBackdropComponent, decorators: [{
|
|
575
575
|
type: Component,
|
|
576
576
|
args: [{ selector: 'daff-sidebar-viewport-backdrop', template: '<ng-content></ng-content>', animations: [
|
|
577
577
|
daffSidebarViewportBackdropAnimations.fadeBackdrop,
|
|
@@ -656,7 +656,13 @@ class DaffSidebarViewportComponent {
|
|
|
656
656
|
* right when there are child sidebars.
|
|
657
657
|
*/
|
|
658
658
|
this._shift = '0px';
|
|
659
|
+
/**
|
|
660
|
+
* @docs-private
|
|
661
|
+
*/
|
|
659
662
|
this._isPaddedLeft = false;
|
|
663
|
+
/**
|
|
664
|
+
* @docs-private
|
|
665
|
+
*/
|
|
660
666
|
this._isPaddedRight = false;
|
|
661
667
|
/**
|
|
662
668
|
* @docs-private
|
|
@@ -730,7 +736,7 @@ class DaffSidebarViewportComponent {
|
|
|
730
736
|
*/
|
|
731
737
|
updateAnimationState() {
|
|
732
738
|
this._animationState = {
|
|
733
|
-
value: getSidebarViewportAnimationState(this.sidebars.reduce((acc, sidebar) => acc || isViewportContentShifted(sidebar.mode, sidebar.open), false)),
|
|
739
|
+
value: getSidebarViewportAnimationState(this.sidebars.reduce((acc, sidebar) => acc || isViewportContentShifted(sidebar.mode, sidebar.open()), false)),
|
|
734
740
|
params: { shift: this._shift },
|
|
735
741
|
};
|
|
736
742
|
}
|
|
@@ -742,8 +748,8 @@ class DaffSidebarViewportComponent {
|
|
|
742
748
|
_backdropClicked() {
|
|
743
749
|
this.backdropClicked.emit();
|
|
744
750
|
}
|
|
745
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
746
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
751
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarViewportComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: DAFF_SIDEBAR_SCROLL_TOKEN, skipSelf: true }, { token: DaffSidebarViewportComponent, optional: true, skipSelf: true }, { token: DAFF_SIDEBAR_SCROLL_TOKEN }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
752
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: DaffSidebarViewportComponent, isStandalone: true, selector: "daff-sidebar-viewport", inputs: { navPlacement: "navPlacement" }, outputs: { backdropClicked: "backdropClicked" }, host: { properties: { "class.beside": "navPlacement === \"beside\"", "class.above": "navPlacement === \"above\"", "class.pad-left": "_isPaddedLeft", "class.pad-right": "_isPaddedRight" }, classAttribute: "daff-sidebar-viewport" }, providers: [
|
|
747
753
|
{
|
|
748
754
|
provide: DAFF_SIDEBAR_SCROLL_TOKEN,
|
|
749
755
|
useFactory: daffSidebarViewportScrollFactory,
|
|
@@ -752,7 +758,7 @@ class DaffSidebarViewportComponent {
|
|
|
752
758
|
daffSidebarAnimations.transformContent,
|
|
753
759
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
754
760
|
}
|
|
755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarViewportComponent, decorators: [{
|
|
756
762
|
type: Component,
|
|
757
763
|
args: [{ selector: 'daff-sidebar-viewport', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
758
764
|
daffSidebarAnimations.transformContent,
|
|
@@ -798,8 +804,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
|
|
|
798
804
|
* @deprecated in favor of {@link DAFF_SIDEBAR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
|
799
805
|
*/
|
|
800
806
|
class DaffSidebarModule {
|
|
801
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
802
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
807
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
808
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarModule, imports: [CommonModule,
|
|
803
809
|
A11yModule,
|
|
804
810
|
DaffSidebarComponent,
|
|
805
811
|
DaffSidebarViewportComponent,
|
|
@@ -810,11 +816,11 @@ class DaffSidebarModule {
|
|
|
810
816
|
DaffSidebarHeaderComponent,
|
|
811
817
|
DaffSidebarFooterComponent,
|
|
812
818
|
DaffSidebarHeaderTitleDirective] }); }
|
|
813
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
819
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarModule, imports: [CommonModule,
|
|
814
820
|
A11yModule,
|
|
815
821
|
DaffSidebarHeaderComponent] }); }
|
|
816
822
|
}
|
|
817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSidebarModule, decorators: [{
|
|
818
824
|
type: NgModule,
|
|
819
825
|
args: [{
|
|
820
826
|
imports: [
|
|
@@ -846,7 +852,7 @@ class DaffSidebarService {
|
|
|
846
852
|
return this._open.asReadonly();
|
|
847
853
|
}
|
|
848
854
|
constructor(defaultId = null) {
|
|
849
|
-
this._open = signal(false, ...(ngDevMode ? [{ debugName: "_open" }] : []));
|
|
855
|
+
this._open = signal(false, ...(ngDevMode ? [{ debugName: "_open" }] : /* istanbul ignore next */ []));
|
|
850
856
|
this._id$ = new BehaviorSubject(defaultId);
|
|
851
857
|
this.id$ = this._id$.asObservable();
|
|
852
858
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daffodil-design-sidebar.mjs","sources":["../../../libs/design/sidebar/src/sidebar/is-opening.ts","../../../libs/design/sidebar/src/animation/sidebar-animation.ts","../../../libs/design/sidebar/src/animation/sidebar-animation-state.ts","../../../libs/design/sidebar/src/animation/sidebar-animation-width.ts","../../../libs/design/sidebar/src/sidebar/sidebar.component.ts","../../../libs/design/sidebar/src/sidebar/sidebar.component.html","../../../libs/design/sidebar/src/sidebar-footer/sidebar-footer.component.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header-title/sidebar-header-title.directive.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header.component.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header.component.html","../../../libs/design/sidebar/src/sidebar-viewport/helper/has-parent-viewport.ts","../../../libs/design/sidebar/src/sidebar-viewport/nav-placement.ts","../../../libs/design/sidebar/src/sidebar-viewport/scroll-token/scroll.token.ts","../../../libs/design/sidebar/src/sidebar-viewport/utils/backdrop-interactable.ts","../../../libs/design/sidebar/src/sidebar-viewport/utils/content-pad.ts","../../../libs/design/sidebar/src/sidebar-viewport/utils/content-shift.ts","../../../libs/design/sidebar/src/animation/sidebar-viewport-animation-state.ts","../../../libs/design/sidebar/src/sidebar-viewport-backdrop/animation/backdrop-animation.ts","../../../libs/design/sidebar/src/sidebar-viewport-backdrop/animation/backdrop-animation-state.ts","../../../libs/design/sidebar/src/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.ts","../../../libs/design/sidebar/src/sidebar-viewport/sidebar-viewport.component.ts","../../../libs/design/sidebar/src/sidebar-viewport/sidebar-viewport.component.html","../../../libs/design/sidebar/src/sidebar.module.ts","../../../libs/design/sidebar/src/service/sidebar.service.ts","../../../libs/design/sidebar/src/helper/is-docked-mode.ts","../../../libs/design/sidebar/src/helper/is-floating-mode.ts","../../../libs/design/sidebar/src/sidebar.ts","../../../libs/design/sidebar/src/daffodil-design-sidebar.ts"],"sourcesContent":["import { DaffSidebarAnimationState } from '../animation/sidebar-animation-state';\n\n/**\n * Determine whether or animation states are going to an open state from a non-open state.\n */\nexport const isOpening = (fromState: DaffSidebarAnimationState, toState: DaffSidebarAnimationState): boolean => {\n if(fromState === 'under-open' && toState === 'open' || fromState === 'open' && toState === 'under-open') {\n return false;\n }\n\n if(toState === 'under-open' || toState === 'open') {\n return true;\n }\n return false;\n};\n","import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nconst duration = '200ms';\nconst sidebarAnimateInTransition = 'cubic-bezier(0.0, 0.0, 0.2, 1)';\nconst sidebarAnimateOutTransition = 'cubic-bezier(0.4, 0.0, 1, 1)';\n\nexport const daffSidebarAnimations: {\n readonly transformSidebar: AnimationTriggerMetadata;\n readonly transformContent: AnimationTriggerMetadata;\n readonly backdropTrigger: AnimationTriggerMetadata;\n} = {\n transformSidebar: trigger('transformSidebar', [\n // We remove the `transform` here completely, rather than setting it to zero, because\n // 3d transforms causes text to appear blurry on IE and Edge.\n state('open', style({\n transform: 'none',\n })),\n state('closed', style({\n transform: 'translateX({{width}})',\n }), { params: { width: '-240px' }}),\n transition('open => closed', animate(duration + ' ' + sidebarAnimateOutTransition)),\n transition('closed => open', animate(duration + ' ' + sidebarAnimateInTransition)),\n ]),\n transformContent: trigger('transformContent', [\n // We remove the `transform` here completely, rather than setting it to zero, because\n // 3d transforms causes text to appear blurry on IE and Edge.\n state('closed', style({\n transform: 'none',\n })),\n state('open', style({\n transform: 'translateX({{shift}})',\n }), { params: { shift: '-240px' }}),\n transition('open => closed', animate(duration + ' ' + sidebarAnimateInTransition)),\n transition('closed => open', animate(duration + ' ' + sidebarAnimateOutTransition)),\n ]),\n backdropTrigger: trigger('backdropTrigger', [\n state('open', style({\n opacity: 1,\n })),\n state('closed', style({\n opacity: 0,\n })),\n transition('open => closed', animate(duration + ' ' + sidebarAnimateOutTransition)),\n transition('closed => open', animate(duration + ' ' + sidebarAnimateInTransition)),\n ]),\n};\n\nexport enum DaffSidebarAnimationStates {\n OPEN = 'open',\n CLOSED = 'closed',\n UNDEROPEN = 'under-open',\n UNDERCLOSED = 'under-closed',\n SIDEFIXEDOPEN = 'side-fixed-open',\n SIDEFIXEDCLOSED = 'side-fixed-closed',\n NONE = 'none'\n}\n","import { DaffSidebarMode } from '../helper/sidebar-mode';\n\nexport type DaffSidebarAnimationState =\n'open' | 'closed' | 'under-open' | 'under-closed' | 'side-fixed-open' | 'side-fixed-closed' | 'none';\n\nexport const getAnimationState = (open: boolean, mode: DaffSidebarMode): DaffSidebarAnimationState => {\n if(mode === 'side') {\n return 'none';\n }\n\n if(mode === 'side-fixed' && open) {\n return 'side-fixed-open';\n }\n\n if(mode === 'side-fixed' && !open) {\n return 'side-fixed-closed';\n }\n\n if(open && mode === 'under') {\n return 'under-open';\n }\n\n if(!open && mode === 'under') {\n return 'under-closed';\n }\n\n if(open) {\n return 'open';\n } else {\n return 'closed';\n }\n};\n","import { DaffSidebarSide } from '../helper/sidebar-side';\n\nexport const getSidebarAnimationWidth =\n (side: DaffSidebarSide, width: number): string => side === 'left' ? -1 * width + 'px' : width + 'px';\n","/* eslint-disable quote-props */\nimport { AnimationEvent } from '@angular/animations';\nimport {\n ConfigurableFocusTrap,\n ConfigurableFocusTrapFactory,\n} from '@angular/cdk/a11y';\nimport {\n Component,\n NgZone,\n ElementRef,\n Output,\n EventEmitter,\n HostBinding,\n ChangeDetectionStrategy,\n Input,\n HostListener,\n Inject,\n DOCUMENT,\n} from '@angular/core';\nimport { fromEvent } from 'rxjs';\nimport { filter } from 'rxjs/operators';\n\nimport {\n daffFocusableElementsSelector,\n DaffFocusStackService,\n DaffOpenable,\n DaffOpenableDirective,\n} from '@daffodil/design';\n\nimport { isOpening } from './is-opening';\nimport { daffSidebarAnimations } from '../animation/sidebar-animation';\nimport {\n DaffSidebarAnimationState,\n getAnimationState,\n} from '../animation/sidebar-animation-state';\nimport { getSidebarAnimationWidth } from '../animation/sidebar-animation-width';\nimport { DaffSidebarMode } from '../helper/sidebar-mode';\nimport { DaffSidebarSide } from '../helper/sidebar-side';\n\n/**\n * DaffSidebarComponent is heavily based upon the work done by the `@angular/components`\n * team on `mat-drawer` and `mat-sidenav`. It's intended to be a simplified version\n * (with a different design) of `mat-drawer`.\n *\n * ```html\n * <daff-sidebar></daff-sidebar>\n * ```\n */\n@Component({\n selector: 'daff-sidebar',\n templateUrl: './sidebar.component.html',\n styleUrls: ['./sidebar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [{\n directive: DaffOpenableDirective,\n inputs: ['open'],\n outputs: ['toggled'],\n }],\n host: {\n 'class': 'daff-sidebar',\n '[class.side]': 'mode === \"side\"',\n '[class.over]': 'mode === \"over\"',\n '[class.under]': 'mode === \"under\"',\n '[class.side-fixed]': 'mode === \"side-fixed\"',\n '[class.left]': 'side === \"left\"',\n '[class.right]': 'side === \"right\"',\n },\n animations: [\n daffSidebarAnimations.transformSidebar,\n ],\n})\nexport class DaffSidebarComponent implements DaffOpenable {\n /**\n * @docs-private\n *\n * The animation state of the sidebar.\n */\n @HostBinding('@transformSidebar') get transformSidebar() {\n return {\n value: getAnimationState(this.openDirective.open, this.mode),\n params: { width: getSidebarAnimationWidth(this.side, this.width) },\n };\n }\n\n /**\n * Event fired when `ESC` key is pressed when the sidebar has focus.\n */\n @Output() escapePressed: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * What side of the viewport to show the sidebar on.\n */\n @Input() side: DaffSidebarSide = 'left';\n\n /**\n * The mode of the sidebar.\n */\n @Input() mode: DaffSidebarMode = 'side';\n\n /**\n * @docs-private\n *\n * The width of the sidebar.\n */\n get width() {\n return this._elementRef.nativeElement.offsetWidth;\n }\n\n /**\n * @docs-private\n */\n get open() {\n return this.openDirective.open;\n }\n\n constructor(\n private _elementRef: ElementRef<HTMLElement>,\n private _ngZone: NgZone,\n private _focusTrapFactory: ConfigurableFocusTrapFactory,\n private _focusStack: DaffFocusStackService,\n private openDirective: DaffOpenableDirective,\n @Inject(DOCUMENT) private _doc: any,\n ) {\n /**\n * Listen to `keydown` events outside the zone so that change detection is not run every\n * time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed.\n *\n */\n this._ngZone.runOutsideAngular(() => {\n fromEvent<KeyboardEvent>(this._elementRef.nativeElement, 'keydown').pipe(\n filter(event => event.key === 'Escape'),\n ).subscribe(event => this._ngZone.run(() => {\n this.escapePressed.emit();\n event.stopPropagation();\n }));\n });\n }\n\n private _focusTrap: ConfigurableFocusTrap;\n\n /**\n * @docs-private\n *\n * Animation event that can be used to hook into when the transformSidebar\n * animation begins. This is used in sidebar to determine when to show the\n * visibility of the sidebar so that the animation does not jump as the element is shown.\n */\n @HostListener('@transformSidebar.start', ['$event']) onAnimationStart(e: AnimationEvent) {\n if (e.toState === 'open' || e.toState === 'under-open' || e.toState === 'side-fixed-open') {\n this._elementRef.nativeElement.style.visibility = 'visible';\n }\n }\n\n /**\n * @docs-private\n *\n * Animation event that can be used to hook into when the\n * transformSidebar animation is complete.\n */\n @HostListener('@transformSidebar.done', ['$event']) onAnimationComplete(e: AnimationEvent) {\n if(isOpening(<DaffSidebarAnimationState>e.fromState, <DaffSidebarAnimationState>e.toState)) {\n this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement);\n\n const focusableChild = (<HTMLElement>this._elementRef.nativeElement.querySelector(daffFocusableElementsSelector));\n\n this._focusStack.push(this._doc.activeElement);\n\n if(focusableChild) {\n focusableChild.focus();\n } else {\n this._elementRef.nativeElement.tabIndex = 0;\n (<HTMLElement>this._elementRef.nativeElement).focus();\n }\n } else {\n if(this._focusTrap) {\n this._focusTrap.destroy();\n this._focusTrap = undefined;\n this._focusStack.pop();\n }\n }\n\n /**\n * @docs-private\n *\n * This is used in sidebar to determine when to hide the visibility\n * of the sidebar so that the animation does not jump as the element is hidden.\n */\n if (e.toState === 'closed' || e.toState === 'under-closed' || e.toState === 'side-fixed-closed') {\n this._elementRef.nativeElement.style.visibility = 'hidden';\n } else {\n this._elementRef.nativeElement.style.visibility = null;\n }\n }\n\n /**\n * Reveal the contents of the sidebar.\n */\n reveal() {\n this.openDirective.reveal();\n }\n\n /**\n * Hide the contents of the sidebar.\n */\n hide() {\n this.openDirective.hide();\n }\n\n /**\n * Toggle the visibility of the sidebar.\n */\n toggle() {\n this.openDirective.toggle();\n }\n}\n","<ng-content select=\"daff-sidebar-header\"></ng-content>\n<div class=\"daff-sidebar__body\">\n\t<ng-content></ng-content>\n</div>\n<ng-content select=\"daff-sidebar-footer\"></ng-content>","/* eslint-disable quote-props */\nimport {\n Component,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n/**\n * Sidebar footer is a child component of the sidebar that is used to display a\n * footer container, positioned at the bottom of a sidebar.\n *\n * ```html\n * <daff-sidebar-footer></daff-sidebar-footer>\n * ```\n */\n@Component({\n selector: 'daff-sidebar-footer',\n template: '<ng-content></ng-content>',\n styleUrls: ['./sidebar-footer.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n 'class': 'daff-sidebar-footer',\n },\n})\nexport class DaffSidebarFooterComponent {\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * Sidebar header title is a child directive of `DaffSidebarHeaderComponent`\n * that can be used to provide a title for the sidebar.\n *\n * ```html\n * <div daffSidebarHeaderTitle>Title</div>\n * ```\n */\n@Directive({\n selector: '[daffSidebarHeaderTitle]',\n})\nexport class DaffSidebarHeaderTitleDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-sidebar-header__title') class = true;\n}\n","/* eslint-disable quote-props */\nimport {\n Component,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n Input,\n Output,\n EventEmitter,\n} from '@angular/core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faTimes } from '@fortawesome/free-solid-svg-icons';\n\n/**\n * Sidebar header is a child component of the sidebar that is used to display a header container,\n * positioned at the top of a sidebar. It includes an optional title (`[daffSidebarHeaderTitle]`)\n * slot and a slot to render any custom content.\n *\n * ```html\n * <daff-sidebar-header></daff-sidebar-header>\n * ```\n */\n@Component({\n selector: 'daff-sidebar-header',\n templateUrl: './sidebar-header.component.html',\n styleUrls: ['./sidebar-header.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n 'class': 'daff-sidebar-header',\n '[class.dismissible]': 'dismissible',\n },\n imports: [\n FaIconComponent,\n ],\n})\nexport class DaffSidebarHeaderComponent {\n /**\n * @docs-private\n */\n faTimes = faTimes;\n\n /** Whether or not a sidebar header should display the close icon. */\n @Input() dismissible = false;\n\n /**\n * Output event triggered when the close icon is clicked.\n */\n @Output() closeSidebar: EventEmitter<void> = new EventEmitter();\n\n /**\n * @docs-private\n */\n onCloseSidebar(event: Event) {\n this.closeSidebar.emit();\n }\n}\n","@if (dismissible) {\n <button class=\"daff-sidebar-header__close-icon\" aria-label=\"Close Sidebar\" (click)=\"onCloseSidebar($event)\">\n <fa-icon [icon]=\"faTimes\" [fixedWidth]=\"true\" size=\"lg\"></fa-icon>\n </button>\n}\n<div class=\"daff-sidebar-header__content\">\n <ng-content></ng-content>\n</div>","/**\n * Fallback function for determining whether or not a viewport has a parent viewport.\n * This is really only used in the Daffodil docs when the injector heirarchy\n * doesn't act as anticipated as a result of custom elements.\n */\nexport const hasParentViewport = (element: HTMLElement) => {\n let currentElement = element.parentElement;\n\n while (currentElement !== null) {\n if (currentElement.tagName === 'DAFF-SIDEBAR-VIEWPORT') {\n return true;\n }\n currentElement = currentElement.parentElement;\n }\n\n return false;\n};\n","/**\n * The placement of the nav in relation to the sidebar.\n * See {@link DaffNavPlacementEnum }\n */\nexport type DaffNavPlacement = 'above' | 'beside';\n\n/**\n * The placement of the nav in relation to the sidebar.\n * See {@link DaffNavPlacement }\n */\nexport enum DaffNavPlacementEnum {\n ABOVE = 'above',\n BESIDE = 'beside',\n}\n","\nimport {\n ElementRef,\n inject,\n DOCUMENT,\n} from '@angular/core';\n\nimport { createSingleInjectionToken } from '@daffodil/core';\n\n/**\n * An interface that enables a user to enable or disable scrolling on sidebars.\n *\n * See {@link DAFF_SIDEBAR_SCROLL_TOKEN}\n */\nexport interface DaffSidebarScroll {\n enable(): void;\n disable(): void;\n}\n\nexport const {\n /**\n * An injection token that can be used within a sidebar to determine\n * what to do enabling and disabling scrolling. By default, the body\n * is the element where scrolling is controlled.\n */\n token: DAFF_SIDEBAR_SCROLL_TOKEN,\n /**\n * Provider function for {@link DAFF_SIDEBAR_SCROLL_TOKEN}.\n */\n provider: provideDaffSidebarScrollToken,\n} = createSingleInjectionToken<DaffSidebarScroll>(\n 'DAFF_SIDEBAR_SCROLL_TOKEN',\n {\n providedIn: 'root',\n factory: () => {\n const document = inject(DOCUMENT);\n return {\n enable: () => {\n document.body.style.overflow = null;\n },\n disable: () => {\n document.body.style.overflow = 'hidden';\n },\n };\n },\n },\n);\n\n\n/**\n * A factory function that return a DaffSidebarScroll\n * for the current sidebar viewport.\n *\n * See the providers of {@link DaffSidebarViewportComponent}\n */\nexport const daffSidebarViewportScrollFactory = (): DaffSidebarScroll => {\n const element = inject(ElementRef).nativeElement;\n return {\n enable: () => {\n element.style.overflow = null;\n },\n disable: () => {\n element.style.overflow = 'hidden';\n },\n };\n};\n","import { QueryList } from '@angular/core';\n\nimport { DaffSidebarComponent } from '../../sidebar/sidebar.component';\n\n/**\n * Determines, given a list of sidebars, whether or not the backdrop is interactable (typically clickable).\n */\nexport const sidebarViewportBackdropInteractable = (sidebars: QueryList<DaffSidebarComponent>): boolean => sidebars.reduce(\n (acc: boolean, sidebar) => ((sidebar.mode === 'over' || sidebar.mode === 'under') && sidebar.open) || acc,\n false);\n","import { QueryList } from '@angular/core';\n\nimport { DaffSidebarModeEnum } from '../../helper/sidebar-mode';\nimport { DaffSidebarSide } from '../../helper/sidebar-side';\nimport { DaffSidebarComponent } from '../../sidebar/sidebar.component';\n\n/**\n * Given a list of sidebars, compute the whether or not the content is padded.\n */\nexport const isSidebarViewportContentPadded = (sidebars: QueryList<DaffSidebarComponent>, side: DaffSidebarSide): boolean =>\n sidebars.reduce((acc: boolean, sidebar) => {\n if(!(sidebar.mode === DaffSidebarModeEnum.SideFixed && sidebar.open)) {\n return acc || false;\n }\n\n if(sidebar.side === side){\n return true;\n } else {\n // This component is \"stateless\", its possible to have two open \"under\" sidebars.\n // As such, we defer to \"left\" being open by default.\n return acc;\n }\n }, false);\n\n","import { QueryList } from '@angular/core';\n\nimport { DaffSidebarMode } from '../../helper/sidebar-mode';\nimport { DaffSidebarComponent } from '../../sidebar/sidebar.component';\n\nexport const isViewportContentShifted = (mode: DaffSidebarMode, open: boolean): boolean => (mode === 'under' && open);\n\n/**\n * Given a list of sidebars, compute the associated content shift.\n */\nexport const sidebarViewportContentShift = (sidebars: QueryList<DaffSidebarComponent>): number =>\n sidebars.reduce((acc: number, sidebar) => {\n if(!isViewportContentShifted(sidebar.mode, sidebar.open)) {\n return acc;\n }\n\n if(sidebar.side === 'left'){\n return sidebar.width;\n } else if (sidebar.side === 'right' && acc === 0) {\n return -1 * sidebar.width;\n } else {\n // This component is \"stateless\", its possible to have two open \"under\" sidebars.\n // As such, we defer to \"left\" being open by default.\n return acc;\n }\n }, 0);\n\n\n","import { AnimationStateWithParams } from '@daffodil/design';\n\nimport { DaffSidebarAnimationStates } from './sidebar-animation';\n\nexport type DaffSidebarViewportAnimationState = DaffSidebarAnimationStates.OPEN | DaffSidebarAnimationStates.CLOSED;\n\n\nexport interface DaffSidebarAnimationStateParams {\n shift: string;\n};\n\nexport type DaffSidebarViewportAnimationStateWithParams = AnimationStateWithParams<DaffSidebarViewportAnimationState, DaffSidebarAnimationStateParams>;\n\n\nexport const getSidebarViewportAnimationState = (open: boolean): DaffSidebarViewportAnimationState =>\n open ? DaffSidebarAnimationStates.OPEN : DaffSidebarAnimationStates.CLOSED;\n","import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nconst animationDuration = '350ms';\nconst backdropTransitionOut = 'cubic-bezier(0.4, 0.0, 1, 1)';\nconst backdropTransitionIn = 'cubic-bezier(0.0, 0.0, 0.2, 1)';\n\nexport const daffSidebarViewportBackdropAnimations: {\n readonly fadeBackdrop: AnimationTriggerMetadata;\n} = {\n fadeBackdrop: trigger('fadeBackdrop', [\n state('interactable', style({ opacity: 1 })),\n state('non-interactable', style({ opacity: 0 })),\n transition('interactable => non-interactable', animate(animationDuration + ' ' + backdropTransitionOut)),\n transition('non-interactable => interactable', animate(animationDuration + ' ' + backdropTransitionIn)),\n transition(':enter', [\n style({ opacity: 0 }),\n animate(animationDuration + ' ' + backdropTransitionIn, style({ opacity: 1 })),\n ]),\n transition(':leave', [\n animate(animationDuration + ' ' + backdropTransitionOut, style({ opacity: 0 })),\n ]),\n ]),\n};\n","export type DaffSidebarViewportBackdropAnimationState = 'interactable' | 'non-interactable';\nexport const getAnimationState = (interactable: boolean): DaffSidebarViewportBackdropAnimationState=> interactable ? 'interactable' : 'non-interactable';\n","import { AnimationEvent } from '@angular/animations';\nimport {\n Component,\n Output,\n EventEmitter,\n Input,\n ChangeDetectionStrategy,\n HostListener,\n HostBinding,\n OnInit,\n} from '@angular/core';\n\nimport { daffSidebarViewportBackdropAnimations } from './animation/backdrop-animation';\nimport { getAnimationState } from './animation/backdrop-animation-state';\n\n@Component({\n selector: 'daff-sidebar-viewport-backdrop',\n template: '<ng-content></ng-content>',\n styleUrls: ['./sidebar-viewport-backdrop.component.scss'],\n animations: [\n daffSidebarViewportBackdropAnimations.fadeBackdrop,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffSidebarViewportBackdropComponent implements OnInit {\n\n /**\n * @docs-private\n */\n @HostBinding('class.interactable') interactableClass = true;\n\n /**\n * Determines whether or not the backdrop is transparent.\n */\n @Input() @HostBinding('class.transparent') transparent = false;\n\n /**\n * Determines whether or not the backdrop is interactable.\n */\n @Input() interactable = true;\n\n /**\n * Boolean property that determines whether or not the\n * backdrop should fill up its containing window.\n */\n @Input() @HostBinding('class.fullscreen') fullscreen = false;\n\n /**\n * Output event triggered when the backdrop is clicked.\n */\n @Output() backdropClicked: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * @docs-private\n */\n ngOnInit(): void {\n this.interactableClass = this.interactable;\n }\n\n /**\n * @docs-private\n *\n * Animation hook for that controls the backdrops\n * entrance and fade animations.\n */\n @HostBinding('@fadeBackdrop') get fadeBackdropTrigger() {\n return getAnimationState(this.interactable);\n }\n\n /**\n * @docs-private\n */\n @HostListener('@fadeBackdrop.done', ['$event'])\n animationDone(e: AnimationEvent) {\n this.interactableClass = !(e.toState === ':leave' || e.toState === 'non-interactable');\n }\n\n /**\n * @docs-private\n */\n @HostListener('@fadeBackdrop.start', ['$event'])\n animationStart(e: AnimationEvent) {\n if(e.toState === ':enter' || e.toState === 'interactable'){\n this.interactableClass = true;\n }\n }\n\n /**\n * @docs-private\n */\n @HostListener('click')\n onBackdropClicked(): void {\n this.backdropClicked.emit();\n }\n}\n","/* eslint-disable quote-props */\nimport { AnimationEvent } from '@angular/animations';\nimport {\n Component,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n ContentChildren,\n QueryList,\n AfterContentChecked,\n ElementRef,\n Input,\n Inject,\n SkipSelf,\n Optional,\n OnDestroy,\n} from '@angular/core';\n\nimport { hasParentViewport } from './helper/has-parent-viewport';\nimport {\n DaffNavPlacement,\n DaffNavPlacementEnum,\n} from './nav-placement';\nimport {\n DAFF_SIDEBAR_SCROLL_TOKEN,\n DaffSidebarScroll,\n daffSidebarViewportScrollFactory,\n} from './scroll-token/scroll.token';\nimport { sidebarViewportBackdropInteractable } from './utils/backdrop-interactable';\nimport { isSidebarViewportContentPadded } from './utils/content-pad';\nimport {\n isViewportContentShifted,\n sidebarViewportContentShift,\n} from './utils/content-shift';\nimport {\n DaffSidebarAnimationStates,\n daffSidebarAnimations,\n} from '../animation/sidebar-animation';\nimport {\n DaffSidebarViewportAnimationStateWithParams,\n getSidebarViewportAnimationState,\n} from '../animation/sidebar-viewport-animation-state';\nimport { DaffSidebarComponent } from '../sidebar/sidebar.component';\nimport { DaffSidebarViewportBackdropComponent } from '../sidebar-viewport-backdrop/sidebar-viewport-backdrop.component';\n\n/**\n * DaffSidebarViewportComponent serves as the container for managing sidebars across an entire application.\n * Because it's a functional component, it supports multiple simultaneously open sidebar and is designed to\n * handle these scenarios gracefully.\n *\n * > However, there is one key contraint: only one sidebar per **mode** is allowed\n * on each **side** (e.g., left or right) at any given time.\n *\n * If this constraint is violated, the component will throw an exception to prevent unintended behavior.\n *\n * ```html\n * <daff-sidebar-viewport>\n * <daff-sidebar></daff-sidebar>\n * <div>Site content</div>\n * </daff-sidebar-viewport>\n * ```\n */\n@Component({\n selector: 'daff-sidebar-viewport',\n templateUrl: './sidebar-viewport.component.html',\n styleUrls: ['./sidebar-viewport.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [\n daffSidebarAnimations.transformContent,\n ],\n providers: [\n {\n provide: DAFF_SIDEBAR_SCROLL_TOKEN,\n useFactory: daffSidebarViewportScrollFactory,\n },\n ],\n host: {\n 'class': 'daff-sidebar-viewport',\n '[class.beside]': 'navPlacement === \"beside\"',\n '[class.above]': 'navPlacement === \"above\"',\n '[class.pad-left]': '_isPaddedLeft',\n '[class.pad-right]': '_isPaddedRight',\n },\n imports: [\n DaffSidebarViewportBackdropComponent,\n ],\n})\nexport class DaffSidebarViewportComponent implements AfterContentChecked, OnDestroy {\n /**\n * @docs-private\n */\n onContentAnimationStart(e: AnimationEvent) {\n if(e.toState === 'open') {\n this._elementRef.nativeElement.style.overflow = 'clip';\n }\n }\n\n /**\n * @docs-private\n */\n onContentAnimationDone(e: AnimationEvent) {\n if(e.toState === 'closed') {\n this._elementRef.nativeElement.style.overflow = null;\n }\n }\n\n /**\n * The placement of the nav in relation to the sidebar. Note that this is really only available when there is a `side-fixed` sidebar.\n */\n @Input() navPlacement: DaffNavPlacement = DaffNavPlacementEnum.ABOVE;\n\n constructor(\n private cdRef: ChangeDetectorRef,\n private _elementRef: ElementRef<HTMLElement>,\n @Inject(DAFF_SIDEBAR_SCROLL_TOKEN) @SkipSelf() private bodyScroll: DaffSidebarScroll,\n @Inject(DaffSidebarViewportComponent) @SkipSelf() @Optional() private parentViewport,\n @Inject(DAFF_SIDEBAR_SCROLL_TOKEN) private scroll: DaffSidebarScroll,\n ) { }\n\n /**\n * The list of sidebars in the viewport.\n *\n * @docs-private\n */\n @ContentChildren(DaffSidebarComponent, { descendants: false }) private sidebars: QueryList<DaffSidebarComponent>;\n\n /**\n * The number of pixels that the main content of the page should be shifted to\n * right when there are child sidebars.\n */\n private _shift = '0px';\n\n private _isPaddedLeft = false;\n\n private _isPaddedRight = false;\n\n /**\n * @docs-private\n *\n * Whether or not the backdrop is interactable\n */\n _backdropInteractable = false;\n\n /**\n * @docs-private\n *\n * The animation state\n */\n _animationState: DaffSidebarViewportAnimationStateWithParams = { value: DaffSidebarAnimationStates.CLOSED, params: { shift: '0px' }};\n\n /**\n * Event fired when the backdrop is clicked. This is often used to close the sidebar.\n */\n @Output() backdropClicked: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * @docs-private\n */\n ngAfterContentChecked() {\n const nextShift = sidebarViewportContentShift(this.sidebars) + 'px';\n if (this._shift !== nextShift) {\n this._shift = nextShift;\n\n this.updateAnimationState();\n this.cdRef.markForCheck();\n }\n const nextBackdropInteractable = sidebarViewportBackdropInteractable(this.sidebars);\n if (this._backdropInteractable !== nextBackdropInteractable) {\n this._backdropInteractable = nextBackdropInteractable;\n this.updateAnimationState();\n this.cdRef.markForCheck();\n if(nextBackdropInteractable) {\n if(!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {\n this.bodyScroll.disable();\n } else {\n this.scroll.disable();\n }\n } else { //if we are hiding the sidebars\n if(!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {\n this.bodyScroll.enable();\n } else {\n this.scroll.enable();\n }\n }\n };\n\n this._isPaddedLeft = isSidebarViewportContentPadded(this.sidebars, 'left');\n this._isPaddedRight = isSidebarViewportContentPadded(this.sidebars, 'right');\n }\n\n /**\n * @docs-private\n */\n ngOnDestroy() {\n if(!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {\n this.bodyScroll.enable();\n } else {\n this.scroll.enable();\n }\n }\n\n /**\n * @docs-private\n *\n * Updates the animation state of the viewport depending upon the state\n * of all sidebars within the viewport.\n */\n private updateAnimationState() {\n this._animationState = {\n value: getSidebarViewportAnimationState(\n this.sidebars.reduce((acc: boolean, sidebar) => acc || isViewportContentShifted(sidebar.mode, sidebar.open), false),\n ),\n params: { shift: this._shift },\n };\n }\n\n /**\n * @docs-private\n *\n * Called when the backdrop of the viewport is clicked upon.\n */\n _backdropClicked(): void {\n this.backdropClicked.emit();\n }\n}\n","<daff-sidebar-viewport-backdrop\n [@transformContent]=\"_animationState\"\n [interactable]=\"_backdropInteractable\"\n (backdropClicked)=\"_backdropClicked()\">\n</daff-sidebar-viewport-backdrop>\n\n<div class=\"daff-sidebar-viewport__nav\"\n [@transformContent]=\"_animationState\">\n <ng-content select=\"[daff-sidebar-viewport-nav]\"></ng-content>\n</div>\n\n<ng-content select=\"daff-sidebar:not([side=right])\"></ng-content>\n\n<div class=\"daff-sidebar-viewport__content\"\n [@transformContent]=\"_animationState\"\n (@transformContent.start)=\"onContentAnimationStart($event)\"\n (@transformContent.done)=\"onContentAnimationDone($event)\">\n <div class=\"daff-sidebar-viewport__inner\">\n <ng-content></ng-content>\n <div class=\"daff-sidebar-viewport__footer\">\n <ng-content select=\"[daff-sidebar-viewport-footer]\"></ng-content>\n </div>\n </div>\n</div>\n\n<ng-content select=\"daff-sidebar[side=right]\"></ng-content>\n","import { A11yModule } from '@angular/cdk/a11y';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffSidebarComponent } from './sidebar/sidebar.component';\nimport { DaffSidebarFooterComponent } from './sidebar-footer/sidebar-footer.component';\nimport { DaffSidebarHeaderTitleDirective } from './sidebar-header/sidebar-header-title/sidebar-header-title.directive';\nimport { DaffSidebarHeaderComponent } from './sidebar-header/sidebar-header.component';\nimport { DaffSidebarViewportComponent } from './sidebar-viewport/sidebar-viewport.component';\n\n/**\n * @deprecated in favor of {@link DAFF_SIDEBAR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n CommonModule,\n A11yModule,\n DaffSidebarComponent,\n DaffSidebarViewportComponent,\n DaffSidebarHeaderComponent,\n DaffSidebarFooterComponent,\n DaffSidebarHeaderTitleDirective,\n ],\n exports: [\n DaffSidebarComponent,\n DaffSidebarViewportComponent,\n DaffSidebarHeaderComponent,\n DaffSidebarFooterComponent,\n DaffSidebarHeaderTitleDirective,\n ],\n})\nexport class DaffSidebarModule { }\n","import {\n Signal,\n signal,\n} from '@angular/core';\nimport {\n BehaviorSubject,\n Observable,\n} from 'rxjs';\n\nimport { DaffSidebarRegistration } from './registration.type';\n\n/**\n * A service that stores the open state and ID of the currently opened sidebar.\n *\n * A default sidebar ID can be passed to the constructor that will be the initial value of `$id`.\n */\nexport abstract class DaffSidebarService {\n protected _id$: BehaviorSubject<DaffSidebarRegistration['id']>;\n protected _open = signal(false);\n\n readonly id$: Observable<DaffSidebarRegistration['id']>;\n\n get isOpen(): Signal<boolean> {\n return this._open.asReadonly();\n }\n\n constructor(\n defaultId: DaffSidebarRegistration['id'] = null,\n ) {\n this._id$ = new BehaviorSubject<DaffSidebarRegistration['id']>(defaultId);\n\n this.id$ = this._id$.asObservable();\n }\n\n /**\n * Opens the specified sidebar.\n *\n * @param id The optional sidebar ID. If omitted the most recently passed opened sidebar ID will persist (or the default if none was passed).\n */\n open(id?: DaffSidebarRegistration['id']) {\n if (id) {\n this._id$.next(id);\n }\n this._open.set(true);\n };\n\n /**\n * Closes the sidebar. Does not clear the ID.\n */\n close() {\n this._open.set(false);\n }\n}\n","import { DaffSidebarModeEnum } from './sidebar-mode';\n\nconst DOCKED_MODES = [\n DaffSidebarModeEnum.Side,\n DaffSidebarModeEnum.SideFixed,\n];\n\n/**\n * Returns whether the passed mode is a docked mode, i.e. side or side-fixed.\n */\nexport const daffSidebarIsDockedMode = (mode: DaffSidebarModeEnum): boolean => DOCKED_MODES.includes(mode);\n","import { DaffSidebarModeEnum } from './sidebar-mode';\n\nconst FLOATING_MODES = [\n DaffSidebarModeEnum.Under,\n DaffSidebarModeEnum.Over,\n];\n\n/**\n * Returns whether the passed mode is a floating mode, i.e. under or over.\n */\nexport const daffSidebarIsFloatingMode = (mode: DaffSidebarModeEnum): boolean => FLOATING_MODES.includes(mode);\n","import { DaffSidebarComponent } from './sidebar/sidebar.component';\nimport { DaffSidebarFooterComponent } from './sidebar-footer/sidebar-footer.component';\nimport { DaffSidebarHeaderTitleDirective } from './sidebar-header/sidebar-header-title/sidebar-header-title.directive';\nimport { DaffSidebarHeaderComponent } from './sidebar-header/sidebar-header.component';\nimport { DaffSidebarViewportComponent } from './sidebar-viewport/sidebar-viewport.component';\n\n/**\n * @docs-private\n */\nexport const DAFF_SIDEBAR_COMPONENTS = <const> [\n DaffSidebarComponent,\n DaffSidebarViewportComponent,\n DaffSidebarHeaderComponent,\n DaffSidebarFooterComponent,\n DaffSidebarHeaderTitleDirective,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["getAnimationState"],"mappings":";;;;;;;;;;;;;;AAEA;;AAEG;AACI,MAAM,SAAS,GAAG,CAAC,SAAoC,EAAE,OAAkC,KAAa;AAC7G,IAAA,IAAG,SAAS,KAAK,YAAY,IAAI,OAAO,KAAK,MAAM,IAAI,SAA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AAC,GAAG,CAAC,IAAI,CAAC;IACtB;;AAEA;;AAEG;IACH,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC;IACvB;AACD;;AClDD,MAAM,YAAY,GAAG;;;CAGpB;AAED;;AAEG;AACI,MAAM,uBAAuB,GAAG,CAAC,IAAyB,KAAc,YAAY,CAAC,QAAQ,CAAC,IAAI;;ACRzG,MAAM,cAAc,GAAG;;;CAGtB;AAED;;AAEG;AACI,MAAM,yBAAyB,GAAG,CAAC,IAAyB,KAAc,cAAc,CAAC,QAAQ,CAAC,IAAI;;ACJ7G;;AAEG;AACI,MAAM,uBAAuB,GAAW;IAC7C,oBAAoB;IACpB,4BAA4B;IAC5B,0BAA0B;IAC1B,0BAA0B;IAC1B,+BAA+B;;;ACdjC;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"daffodil-design-sidebar.mjs","sources":["../../../libs/design/sidebar/src/sidebar/is-opening.ts","../../../libs/design/sidebar/src/animation/sidebar-animation.ts","../../../libs/design/sidebar/src/animation/sidebar-animation-state.ts","../../../libs/design/sidebar/src/animation/sidebar-animation-width.ts","../../../libs/design/sidebar/src/sidebar/sidebar.component.ts","../../../libs/design/sidebar/src/sidebar/sidebar.component.html","../../../libs/design/sidebar/src/sidebar-footer/sidebar-footer.component.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header-title/sidebar-header-title.directive.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header.component.ts","../../../libs/design/sidebar/src/sidebar-header/sidebar-header.component.html","../../../libs/design/sidebar/src/sidebar-viewport/helper/has-parent-viewport.ts","../../../libs/design/sidebar/src/sidebar-viewport/nav-placement.ts","../../../libs/design/sidebar/src/sidebar-viewport/scroll-token/scroll.token.ts","../../../libs/design/sidebar/src/sidebar-viewport/utils/backdrop-interactable.ts","../../../libs/design/sidebar/src/sidebar-viewport/utils/content-pad.ts","../../../libs/design/sidebar/src/sidebar-viewport/utils/content-shift.ts","../../../libs/design/sidebar/src/animation/sidebar-viewport-animation-state.ts","../../../libs/design/sidebar/src/sidebar-viewport-backdrop/animation/backdrop-animation.ts","../../../libs/design/sidebar/src/sidebar-viewport-backdrop/animation/backdrop-animation-state.ts","../../../libs/design/sidebar/src/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.ts","../../../libs/design/sidebar/src/sidebar-viewport/sidebar-viewport.component.ts","../../../libs/design/sidebar/src/sidebar-viewport/sidebar-viewport.component.html","../../../libs/design/sidebar/src/sidebar.module.ts","../../../libs/design/sidebar/src/service/sidebar.service.ts","../../../libs/design/sidebar/src/helper/is-docked-mode.ts","../../../libs/design/sidebar/src/helper/is-floating-mode.ts","../../../libs/design/sidebar/src/sidebar.ts","../../../libs/design/sidebar/src/daffodil-design-sidebar.ts"],"sourcesContent":["import { DaffSidebarAnimationState } from '../animation/sidebar-animation-state';\n\n/**\n * Determine whether or animation states are going to an open state from a non-open state.\n */\nexport const isOpening = (fromState: DaffSidebarAnimationState, toState: DaffSidebarAnimationState): boolean => {\n if(fromState === 'under-open' && toState === 'open' || fromState === 'open' && toState === 'under-open') {\n return false;\n }\n\n if(toState === 'under-open' || toState === 'open') {\n return true;\n }\n return false;\n};\n","import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nconst duration = '200ms';\nconst sidebarAnimateInTransition = 'cubic-bezier(0.0, 0.0, 0.2, 1)';\nconst sidebarAnimateOutTransition = 'cubic-bezier(0.4, 0.0, 1, 1)';\n\nexport const daffSidebarAnimations: {\n readonly transformSidebar: AnimationTriggerMetadata;\n readonly transformContent: AnimationTriggerMetadata;\n readonly backdropTrigger: AnimationTriggerMetadata;\n} = {\n transformSidebar: trigger('transformSidebar', [\n // We remove the `transform` here completely, rather than setting it to zero, because\n // 3d transforms causes text to appear blurry on IE and Edge.\n state('open', style({\n transform: 'none',\n })),\n state('closed', style({\n transform: 'translateX({{width}})',\n }), { params: { width: '-240px' }}),\n transition('open => closed', animate(duration + ' ' + sidebarAnimateOutTransition)),\n transition('closed => open', animate(duration + ' ' + sidebarAnimateInTransition)),\n ]),\n transformContent: trigger('transformContent', [\n // We remove the `transform` here completely, rather than setting it to zero, because\n // 3d transforms causes text to appear blurry on IE and Edge.\n state('closed', style({\n transform: 'none',\n })),\n state('open', style({\n transform: 'translateX({{shift}})',\n }), { params: { shift: '-240px' }}),\n transition('open => closed', animate(duration + ' ' + sidebarAnimateInTransition)),\n transition('closed => open', animate(duration + ' ' + sidebarAnimateOutTransition)),\n ]),\n backdropTrigger: trigger('backdropTrigger', [\n state('open', style({\n opacity: 1,\n })),\n state('closed', style({\n opacity: 0,\n })),\n transition('open => closed', animate(duration + ' ' + sidebarAnimateOutTransition)),\n transition('closed => open', animate(duration + ' ' + sidebarAnimateInTransition)),\n ]),\n};\n\nexport enum DaffSidebarAnimationStates {\n OPEN = 'open',\n CLOSED = 'closed',\n UNDEROPEN = 'under-open',\n UNDERCLOSED = 'under-closed',\n SIDEFIXEDOPEN = 'side-fixed-open',\n SIDEFIXEDCLOSED = 'side-fixed-closed',\n NONE = 'none'\n}\n","import { DaffSidebarMode } from '../helper/sidebar-mode';\n\nexport type DaffSidebarAnimationState =\n'open' | 'closed' | 'under-open' | 'under-closed' | 'side-fixed-open' | 'side-fixed-closed' | 'none';\n\nexport const getAnimationState = (open: boolean, mode: DaffSidebarMode): DaffSidebarAnimationState => {\n if(mode === 'side') {\n return 'none';\n }\n\n if(mode === 'side-fixed' && open) {\n return 'side-fixed-open';\n }\n\n if(mode === 'side-fixed' && !open) {\n return 'side-fixed-closed';\n }\n\n if(open && mode === 'under') {\n return 'under-open';\n }\n\n if(!open && mode === 'under') {\n return 'under-closed';\n }\n\n if(open) {\n return 'open';\n } else {\n return 'closed';\n }\n};\n","import { DaffSidebarSide } from '../helper/sidebar-side';\n\nexport const getSidebarAnimationWidth =\n (side: DaffSidebarSide, width: number): string => side === 'left' ? -1 * width + 'px' : width + 'px';\n","/* eslint-disable quote-props */\nimport { AnimationEvent } from '@angular/animations';\nimport {\n ConfigurableFocusTrap,\n ConfigurableFocusTrapFactory,\n} from '@angular/cdk/a11y';\nimport {\n Component,\n NgZone,\n ElementRef,\n Output,\n EventEmitter,\n HostBinding,\n ChangeDetectionStrategy,\n Input,\n HostListener,\n Inject,\n DOCUMENT,\n} from '@angular/core';\nimport { fromEvent } from 'rxjs';\nimport { filter } from 'rxjs/operators';\n\nimport {\n daffFocusableElementsSelector,\n DaffFocusStackService,\n DaffOpenable,\n DaffOpenableDirective,\n} from '@daffodil/design';\n\nimport { isOpening } from './is-opening';\nimport { daffSidebarAnimations } from '../animation/sidebar-animation';\nimport {\n DaffSidebarAnimationState,\n getAnimationState,\n} from '../animation/sidebar-animation-state';\nimport { getSidebarAnimationWidth } from '../animation/sidebar-animation-width';\nimport { DaffSidebarMode } from '../helper/sidebar-mode';\nimport { DaffSidebarSide } from '../helper/sidebar-side';\n\n/**\n * DaffSidebarComponent is heavily based upon the work done by the `@angular/components`\n * team on `mat-drawer` and `mat-sidenav`. It's intended to be a simplified version\n * (with a different design) of `mat-drawer`.\n *\n * ```html\n * <daff-sidebar></daff-sidebar>\n * ```\n */\n@Component({\n selector: 'daff-sidebar',\n templateUrl: './sidebar.component.html',\n styleUrls: ['./sidebar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [{\n directive: DaffOpenableDirective,\n inputs: ['open'],\n outputs: ['toggled'],\n }],\n host: {\n 'class': 'daff-sidebar',\n '[class.side]': 'mode === \"side\"',\n '[class.over]': 'mode === \"over\"',\n '[class.under]': 'mode === \"under\"',\n '[class.side-fixed]': 'mode === \"side-fixed\"',\n '[class.left]': 'side === \"left\"',\n '[class.right]': 'side === \"right\"',\n },\n animations: [\n daffSidebarAnimations.transformSidebar,\n ],\n})\nexport class DaffSidebarComponent implements DaffOpenable {\n /**\n * @docs-private\n *\n * The animation state of the sidebar.\n */\n @HostBinding('@transformSidebar') get transformSidebar() {\n return {\n value: getAnimationState(this.openDirective.open(), this.mode),\n params: { width: getSidebarAnimationWidth(this.side, this.width) },\n };\n }\n\n /**\n * Event fired when `ESC` key is pressed when the sidebar has focus.\n */\n @Output() escapePressed: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * What side of the viewport to show the sidebar on.\n */\n @Input() side: DaffSidebarSide = 'left';\n\n /**\n * The mode of the sidebar.\n */\n @Input() mode: DaffSidebarMode = 'side';\n\n /**\n * @docs-private\n *\n * The width of the sidebar.\n */\n get width() {\n return this._elementRef.nativeElement.offsetWidth;\n }\n\n /**\n * @docs-private\n */\n get open() {\n return this.openDirective.open;\n }\n\n constructor(\n private _elementRef: ElementRef<HTMLElement>,\n private _ngZone: NgZone,\n private _focusTrapFactory: ConfigurableFocusTrapFactory,\n private _focusStack: DaffFocusStackService,\n private openDirective: DaffOpenableDirective,\n @Inject(DOCUMENT) private _doc: any,\n ) {\n /**\n * Listen to `keydown` events outside the zone so that change detection is not run every\n * time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed.\n *\n */\n this._ngZone.runOutsideAngular(() => {\n fromEvent<KeyboardEvent>(this._elementRef.nativeElement, 'keydown').pipe(\n filter(event => event.key === 'Escape'),\n ).subscribe(event => this._ngZone.run(() => {\n this.escapePressed.emit();\n event.stopPropagation();\n }));\n });\n }\n\n private _focusTrap: ConfigurableFocusTrap;\n\n /**\n * @docs-private\n *\n * Animation event that can be used to hook into when the transformSidebar\n * animation begins. This is used in sidebar to determine when to show the\n * visibility of the sidebar so that the animation does not jump as the element is shown.\n */\n @HostListener('@transformSidebar.start', ['$event']) onAnimationStart(e: AnimationEvent) {\n if (e.toState === 'open' || e.toState === 'under-open' || e.toState === 'side-fixed-open') {\n this._elementRef.nativeElement.style.visibility = 'visible';\n }\n }\n\n /**\n * @docs-private\n *\n * Animation event that can be used to hook into when the\n * transformSidebar animation is complete.\n */\n @HostListener('@transformSidebar.done', ['$event']) onAnimationComplete(e: AnimationEvent) {\n if(isOpening(<DaffSidebarAnimationState>e.fromState, <DaffSidebarAnimationState>e.toState)) {\n this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement);\n\n const focusableChild = (<HTMLElement>this._elementRef.nativeElement.querySelector(daffFocusableElementsSelector));\n\n this._focusStack.push(this._doc.activeElement);\n\n if(focusableChild) {\n focusableChild.focus();\n } else {\n this._elementRef.nativeElement.tabIndex = 0;\n (<HTMLElement>this._elementRef.nativeElement).focus();\n }\n } else {\n if(this._focusTrap) {\n this._focusTrap.destroy();\n this._focusTrap = undefined;\n this._focusStack.pop();\n }\n }\n\n /**\n * @docs-private\n *\n * This is used in sidebar to determine when to hide the visibility\n * of the sidebar so that the animation does not jump as the element is hidden.\n */\n if (e.toState === 'closed' || e.toState === 'under-closed' || e.toState === 'side-fixed-closed') {\n this._elementRef.nativeElement.style.visibility = 'hidden';\n } else {\n this._elementRef.nativeElement.style.visibility = null;\n }\n }\n\n /**\n * Reveal the contents of the sidebar.\n */\n reveal() {\n this.openDirective.reveal();\n }\n\n /**\n * Hide the contents of the sidebar.\n */\n hide() {\n this.openDirective.hide();\n }\n\n /**\n * Toggle the visibility of the sidebar.\n */\n toggle() {\n this.openDirective.toggle();\n }\n}\n","<ng-content select=\"daff-sidebar-header\"></ng-content>\n<div class=\"daff-sidebar__body\">\n\t<ng-content></ng-content>\n</div>\n<ng-content select=\"daff-sidebar-footer\"></ng-content>","/* eslint-disable quote-props */\nimport {\n Component,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n/**\n * Sidebar footer is a child component of the sidebar that is used to display a\n * footer container, positioned at the bottom of a sidebar.\n *\n * ```html\n * <daff-sidebar-footer></daff-sidebar-footer>\n * ```\n */\n@Component({\n selector: 'daff-sidebar-footer',\n template: '<ng-content></ng-content>',\n styleUrls: ['./sidebar-footer.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n 'class': 'daff-sidebar-footer',\n },\n})\nexport class DaffSidebarFooterComponent {\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * Sidebar header title is a child directive of `DaffSidebarHeaderComponent`\n * that can be used to provide a title for the sidebar.\n *\n * ```html\n * <div daffSidebarHeaderTitle>Title</div>\n * ```\n */\n@Directive({\n selector: '[daffSidebarHeaderTitle]',\n})\nexport class DaffSidebarHeaderTitleDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-sidebar-header__title') class = true;\n}\n","/* eslint-disable quote-props */\nimport {\n Component,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n Input,\n Output,\n EventEmitter,\n} from '@angular/core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport { faTimes } from '@fortawesome/free-solid-svg-icons';\n\n/**\n * Sidebar header is a child component of the sidebar that is used to display a header container,\n * positioned at the top of a sidebar. It includes an optional title (`[daffSidebarHeaderTitle]`)\n * slot and a slot to render any custom content.\n *\n * ```html\n * <daff-sidebar-header></daff-sidebar-header>\n * ```\n */\n@Component({\n selector: 'daff-sidebar-header',\n templateUrl: './sidebar-header.component.html',\n styleUrls: ['./sidebar-header.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n 'class': 'daff-sidebar-header',\n '[class.dismissible]': 'dismissible',\n },\n imports: [\n FaIconComponent,\n ],\n})\nexport class DaffSidebarHeaderComponent {\n /**\n * @docs-private\n */\n faTimes = faTimes;\n\n /** Whether or not a sidebar header should display the close icon. */\n @Input() dismissible = false;\n\n /**\n * Output event triggered when the close icon is clicked.\n */\n @Output() closeSidebar: EventEmitter<void> = new EventEmitter();\n\n /**\n * @docs-private\n */\n onCloseSidebar(event: Event) {\n this.closeSidebar.emit();\n }\n}\n","@if (dismissible) {\n <button class=\"daff-sidebar-header__close-icon\" aria-label=\"Close Sidebar\" (click)=\"onCloseSidebar($event)\">\n <fa-icon [icon]=\"faTimes\" [fixedWidth]=\"true\" size=\"lg\"></fa-icon>\n </button>\n}\n<div class=\"daff-sidebar-header__content\">\n <ng-content></ng-content>\n</div>","/**\n * Fallback function for determining whether or not a viewport has a parent viewport.\n * This is really only used in the Daffodil docs when the injector heirarchy\n * doesn't act as anticipated as a result of custom elements.\n */\nexport const hasParentViewport = (element: HTMLElement) => {\n let currentElement = element.parentElement;\n\n while (currentElement !== null) {\n if (currentElement.tagName === 'DAFF-SIDEBAR-VIEWPORT') {\n return true;\n }\n currentElement = currentElement.parentElement;\n }\n\n return false;\n};\n","/**\n * The placement of the nav in relation to the sidebar.\n * See {@link DaffNavPlacementEnum }\n */\nexport type DaffNavPlacement = 'above' | 'beside';\n\n/**\n * The placement of the nav in relation to the sidebar.\n * See {@link DaffNavPlacement }\n */\nexport enum DaffNavPlacementEnum {\n ABOVE = 'above',\n BESIDE = 'beside',\n}\n","\nimport {\n ElementRef,\n inject,\n DOCUMENT,\n} from '@angular/core';\n\nimport { createSingleInjectionToken } from '@daffodil/core';\n\n/**\n * An interface that enables a user to enable or disable scrolling on sidebars.\n *\n * See {@link DAFF_SIDEBAR_SCROLL_TOKEN}\n */\nexport interface DaffSidebarScroll {\n enable(): void;\n disable(): void;\n}\n\nexport const {\n /**\n * An injection token that can be used within a sidebar to determine\n * what to do enabling and disabling scrolling. By default, the body\n * is the element where scrolling is controlled.\n */\n token: DAFF_SIDEBAR_SCROLL_TOKEN,\n /**\n * Provider function for {@link DAFF_SIDEBAR_SCROLL_TOKEN}.\n */\n provider: provideDaffSidebarScrollToken,\n} = createSingleInjectionToken<DaffSidebarScroll>(\n 'DAFF_SIDEBAR_SCROLL_TOKEN',\n {\n providedIn: 'root',\n factory: () => {\n const document = inject(DOCUMENT);\n return {\n enable: () => {\n document.body.style.overflow = null;\n },\n disable: () => {\n document.body.style.overflow = 'hidden';\n },\n };\n },\n },\n);\n\n\n/**\n * A factory function that return a DaffSidebarScroll\n * for the current sidebar viewport.\n *\n * See the providers of {@link DaffSidebarViewportComponent}\n */\nexport const daffSidebarViewportScrollFactory = (): DaffSidebarScroll => {\n const element = inject(ElementRef).nativeElement;\n return {\n enable: () => {\n element.style.overflow = null;\n },\n disable: () => {\n element.style.overflow = 'hidden';\n },\n };\n};\n","import { QueryList } from '@angular/core';\n\nimport { DaffSidebarComponent } from '../../sidebar/sidebar.component';\n\n/**\n * Determines, given a list of sidebars, whether or not the backdrop is interactable (typically clickable).\n */\nexport const sidebarViewportBackdropInteractable = (sidebars: QueryList<DaffSidebarComponent>): boolean => sidebars.reduce(\n (acc: boolean, sidebar) => ((sidebar.mode === 'over' || sidebar.mode === 'under') && sidebar.open()) || acc,\n false);\n","import { QueryList } from '@angular/core';\n\nimport { DaffSidebarModeEnum } from '../../helper/sidebar-mode';\nimport { DaffSidebarSide } from '../../helper/sidebar-side';\nimport { DaffSidebarComponent } from '../../sidebar/sidebar.component';\n\n/**\n * Given a list of sidebars, compute the whether or not the content is padded.\n */\nexport const isSidebarViewportContentPadded = (sidebars: QueryList<DaffSidebarComponent>, side: DaffSidebarSide): boolean =>\n sidebars.reduce((acc: boolean, sidebar) => {\n if(!(sidebar.mode === DaffSidebarModeEnum.SideFixed && sidebar.open())) {\n return acc || false;\n }\n\n if(sidebar.side === side){\n return true;\n } else {\n // This component is \"stateless\", its possible to have two open \"under\" sidebars.\n // As such, we defer to \"left\" being open by default.\n return acc;\n }\n }, false);\n\n","import { QueryList } from '@angular/core';\n\nimport { DaffSidebarMode } from '../../helper/sidebar-mode';\nimport { DaffSidebarComponent } from '../../sidebar/sidebar.component';\n\nexport const isViewportContentShifted = (mode: DaffSidebarMode, open: boolean): boolean => (mode === 'under' && open);\n\n/**\n * Given a list of sidebars, compute the associated content shift.\n */\nexport const sidebarViewportContentShift = (sidebars: QueryList<DaffSidebarComponent>): number =>\n sidebars.reduce((acc: number, sidebar) => {\n if(!isViewportContentShifted(sidebar.mode, sidebar.open())) {\n return acc;\n }\n\n if(sidebar.side === 'left'){\n return sidebar.width;\n } else if (sidebar.side === 'right' && acc === 0) {\n return -1 * sidebar.width;\n } else {\n // This component is \"stateless\", its possible to have two open \"under\" sidebars.\n // As such, we defer to \"left\" being open by default.\n return acc;\n }\n }, 0);\n\n\n","import { AnimationStateWithParams } from '@daffodil/design';\n\nimport { DaffSidebarAnimationStates } from './sidebar-animation';\n\nexport type DaffSidebarViewportAnimationState = DaffSidebarAnimationStates.OPEN | DaffSidebarAnimationStates.CLOSED;\n\n\nexport interface DaffSidebarAnimationStateParams {\n shift: string;\n};\n\nexport type DaffSidebarViewportAnimationStateWithParams = AnimationStateWithParams<DaffSidebarViewportAnimationState, DaffSidebarAnimationStateParams>;\n\n\nexport const getSidebarViewportAnimationState = (open: boolean): DaffSidebarViewportAnimationState =>\n open ? DaffSidebarAnimationStates.OPEN : DaffSidebarAnimationStates.CLOSED;\n","import {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nconst animationDuration = '350ms';\nconst backdropTransitionOut = 'cubic-bezier(0.4, 0.0, 1, 1)';\nconst backdropTransitionIn = 'cubic-bezier(0.0, 0.0, 0.2, 1)';\n\nexport const daffSidebarViewportBackdropAnimations: {\n readonly fadeBackdrop: AnimationTriggerMetadata;\n} = {\n fadeBackdrop: trigger('fadeBackdrop', [\n state('interactable', style({ opacity: 1 })),\n state('non-interactable', style({ opacity: 0 })),\n transition('interactable => non-interactable', animate(animationDuration + ' ' + backdropTransitionOut)),\n transition('non-interactable => interactable', animate(animationDuration + ' ' + backdropTransitionIn)),\n transition(':enter', [\n style({ opacity: 0 }),\n animate(animationDuration + ' ' + backdropTransitionIn, style({ opacity: 1 })),\n ]),\n transition(':leave', [\n animate(animationDuration + ' ' + backdropTransitionOut, style({ opacity: 0 })),\n ]),\n ]),\n};\n","export type DaffSidebarViewportBackdropAnimationState = 'interactable' | 'non-interactable';\nexport const getAnimationState = (interactable: boolean): DaffSidebarViewportBackdropAnimationState=> interactable ? 'interactable' : 'non-interactable';\n","import { AnimationEvent } from '@angular/animations';\nimport {\n Component,\n Output,\n EventEmitter,\n Input,\n ChangeDetectionStrategy,\n HostListener,\n HostBinding,\n OnInit,\n} from '@angular/core';\n\nimport { daffSidebarViewportBackdropAnimations } from './animation/backdrop-animation';\nimport { getAnimationState } from './animation/backdrop-animation-state';\n\n@Component({\n selector: 'daff-sidebar-viewport-backdrop',\n template: '<ng-content></ng-content>',\n styleUrls: ['./sidebar-viewport-backdrop.component.scss'],\n animations: [\n daffSidebarViewportBackdropAnimations.fadeBackdrop,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffSidebarViewportBackdropComponent implements OnInit {\n\n /**\n * @docs-private\n */\n @HostBinding('class.interactable') interactableClass = true;\n\n /**\n * Determines whether or not the backdrop is transparent.\n */\n @Input() @HostBinding('class.transparent') transparent = false;\n\n /**\n * Determines whether or not the backdrop is interactable.\n */\n @Input() interactable = true;\n\n /**\n * Boolean property that determines whether or not the\n * backdrop should fill up its containing window.\n */\n @Input() @HostBinding('class.fullscreen') fullscreen = false;\n\n /**\n * Output event triggered when the backdrop is clicked.\n */\n @Output() backdropClicked: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * @docs-private\n */\n ngOnInit(): void {\n this.interactableClass = this.interactable;\n }\n\n /**\n * @docs-private\n *\n * Animation hook for that controls the backdrops\n * entrance and fade animations.\n */\n @HostBinding('@fadeBackdrop') get fadeBackdropTrigger() {\n return getAnimationState(this.interactable);\n }\n\n /**\n * @docs-private\n */\n @HostListener('@fadeBackdrop.done', ['$event'])\n animationDone(e: AnimationEvent) {\n this.interactableClass = !(e.toState === ':leave' || e.toState === 'non-interactable');\n }\n\n /**\n * @docs-private\n */\n @HostListener('@fadeBackdrop.start', ['$event'])\n animationStart(e: AnimationEvent) {\n if(e.toState === ':enter' || e.toState === 'interactable'){\n this.interactableClass = true;\n }\n }\n\n /**\n * @docs-private\n */\n @HostListener('click')\n onBackdropClicked(): void {\n this.backdropClicked.emit();\n }\n}\n","/* eslint-disable quote-props */\nimport { AnimationEvent } from '@angular/animations';\nimport {\n Component,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n ContentChildren,\n QueryList,\n AfterContentChecked,\n ElementRef,\n Input,\n Inject,\n SkipSelf,\n Optional,\n OnDestroy,\n} from '@angular/core';\n\nimport { hasParentViewport } from './helper/has-parent-viewport';\nimport {\n DaffNavPlacement,\n DaffNavPlacementEnum,\n} from './nav-placement';\nimport {\n DAFF_SIDEBAR_SCROLL_TOKEN,\n DaffSidebarScroll,\n daffSidebarViewportScrollFactory,\n} from './scroll-token/scroll.token';\nimport { sidebarViewportBackdropInteractable } from './utils/backdrop-interactable';\nimport { isSidebarViewportContentPadded } from './utils/content-pad';\nimport {\n isViewportContentShifted,\n sidebarViewportContentShift,\n} from './utils/content-shift';\nimport {\n DaffSidebarAnimationStates,\n daffSidebarAnimations,\n} from '../animation/sidebar-animation';\nimport {\n DaffSidebarViewportAnimationStateWithParams,\n getSidebarViewportAnimationState,\n} from '../animation/sidebar-viewport-animation-state';\nimport { DaffSidebarComponent } from '../sidebar/sidebar.component';\nimport { DaffSidebarViewportBackdropComponent } from '../sidebar-viewport-backdrop/sidebar-viewport-backdrop.component';\n\n/**\n * DaffSidebarViewportComponent serves as the container for managing sidebars across an entire application.\n * Because it's a functional component, it supports multiple simultaneously open sidebar and is designed to\n * handle these scenarios gracefully.\n *\n * > However, there is one key contraint: only one sidebar per **mode** is allowed\n * on each **side** (e.g., left or right) at any given time.\n *\n * If this constraint is violated, the component will throw an exception to prevent unintended behavior.\n *\n * ```html\n * <daff-sidebar-viewport>\n * <daff-sidebar></daff-sidebar>\n * <div>Site content</div>\n * </daff-sidebar-viewport>\n * ```\n */\n@Component({\n selector: 'daff-sidebar-viewport',\n templateUrl: './sidebar-viewport.component.html',\n styleUrls: ['./sidebar-viewport.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [\n daffSidebarAnimations.transformContent,\n ],\n providers: [\n {\n provide: DAFF_SIDEBAR_SCROLL_TOKEN,\n useFactory: daffSidebarViewportScrollFactory,\n },\n ],\n host: {\n 'class': 'daff-sidebar-viewport',\n '[class.beside]': 'navPlacement === \"beside\"',\n '[class.above]': 'navPlacement === \"above\"',\n '[class.pad-left]': '_isPaddedLeft',\n '[class.pad-right]': '_isPaddedRight',\n },\n imports: [\n DaffSidebarViewportBackdropComponent,\n ],\n})\nexport class DaffSidebarViewportComponent implements AfterContentChecked, OnDestroy {\n /**\n * @docs-private\n */\n onContentAnimationStart(e: AnimationEvent) {\n if(e.toState === 'open') {\n this._elementRef.nativeElement.style.overflow = 'clip';\n }\n }\n\n /**\n * @docs-private\n */\n onContentAnimationDone(e: AnimationEvent) {\n if(e.toState === 'closed') {\n this._elementRef.nativeElement.style.overflow = null;\n }\n }\n\n /**\n * The placement of the nav in relation to the sidebar. Note that this is really only available when there is a `side-fixed` sidebar.\n */\n @Input() navPlacement: DaffNavPlacement = DaffNavPlacementEnum.ABOVE;\n\n constructor(\n private cdRef: ChangeDetectorRef,\n private _elementRef: ElementRef<HTMLElement>,\n @Inject(DAFF_SIDEBAR_SCROLL_TOKEN) @SkipSelf() private bodyScroll: DaffSidebarScroll,\n @Inject(DaffSidebarViewportComponent) @SkipSelf() @Optional() private parentViewport,\n @Inject(DAFF_SIDEBAR_SCROLL_TOKEN) private scroll: DaffSidebarScroll,\n ) { }\n\n /**\n * The list of sidebars in the viewport.\n *\n * @docs-private\n */\n @ContentChildren(DaffSidebarComponent, { descendants: false }) private sidebars: QueryList<DaffSidebarComponent>;\n\n /**\n * The number of pixels that the main content of the page should be shifted to\n * right when there are child sidebars.\n */\n private _shift = '0px';\n\n /**\n * @docs-private\n */\n _isPaddedLeft = false;\n\n /**\n * @docs-private\n */\n _isPaddedRight = false;\n\n /**\n * @docs-private\n *\n * Whether or not the backdrop is interactable\n */\n _backdropInteractable = false;\n\n /**\n * @docs-private\n *\n * The animation state\n */\n _animationState: DaffSidebarViewportAnimationStateWithParams = { value: DaffSidebarAnimationStates.CLOSED, params: { shift: '0px' }};\n\n /**\n * Event fired when the backdrop is clicked. This is often used to close the sidebar.\n */\n @Output() backdropClicked: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * @docs-private\n */\n ngAfterContentChecked() {\n const nextShift = sidebarViewportContentShift(this.sidebars) + 'px';\n if (this._shift !== nextShift) {\n this._shift = nextShift;\n\n this.updateAnimationState();\n this.cdRef.markForCheck();\n }\n const nextBackdropInteractable = sidebarViewportBackdropInteractable(this.sidebars);\n if (this._backdropInteractable !== nextBackdropInteractable) {\n this._backdropInteractable = nextBackdropInteractable;\n this.updateAnimationState();\n this.cdRef.markForCheck();\n if(nextBackdropInteractable) {\n if(!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {\n this.bodyScroll.disable();\n } else {\n this.scroll.disable();\n }\n } else { //if we are hiding the sidebars\n if(!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {\n this.bodyScroll.enable();\n } else {\n this.scroll.enable();\n }\n }\n };\n\n this._isPaddedLeft = isSidebarViewportContentPadded(this.sidebars, 'left');\n this._isPaddedRight = isSidebarViewportContentPadded(this.sidebars, 'right');\n }\n\n /**\n * @docs-private\n */\n ngOnDestroy() {\n if(!this.parentViewport && !hasParentViewport(this._elementRef.nativeElement)) {\n this.bodyScroll.enable();\n } else {\n this.scroll.enable();\n }\n }\n\n /**\n * @docs-private\n *\n * Updates the animation state of the viewport depending upon the state\n * of all sidebars within the viewport.\n */\n private updateAnimationState() {\n this._animationState = {\n value: getSidebarViewportAnimationState(\n this.sidebars.reduce((acc: boolean, sidebar) => acc || isViewportContentShifted(sidebar.mode, sidebar.open()), false),\n ),\n params: { shift: this._shift },\n };\n }\n\n /**\n * @docs-private\n *\n * Called when the backdrop of the viewport is clicked upon.\n */\n _backdropClicked(): void {\n this.backdropClicked.emit();\n }\n}\n","<daff-sidebar-viewport-backdrop\n [@transformContent]=\"_animationState\"\n [interactable]=\"_backdropInteractable\"\n (backdropClicked)=\"_backdropClicked()\">\n</daff-sidebar-viewport-backdrop>\n\n<div class=\"daff-sidebar-viewport__nav\"\n [@transformContent]=\"_animationState\">\n <ng-content select=\"[daff-sidebar-viewport-nav]\"></ng-content>\n</div>\n\n<ng-content select=\"daff-sidebar:not([side=right])\"></ng-content>\n\n<div class=\"daff-sidebar-viewport__content\"\n [@transformContent]=\"_animationState\"\n (@transformContent.start)=\"onContentAnimationStart($event)\"\n (@transformContent.done)=\"onContentAnimationDone($event)\">\n <div class=\"daff-sidebar-viewport__inner\">\n <ng-content></ng-content>\n <div class=\"daff-sidebar-viewport__footer\">\n <ng-content select=\"[daff-sidebar-viewport-footer]\"></ng-content>\n </div>\n </div>\n</div>\n\n<ng-content select=\"daff-sidebar[side=right]\"></ng-content>\n","import { A11yModule } from '@angular/cdk/a11y';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffSidebarComponent } from './sidebar/sidebar.component';\nimport { DaffSidebarFooterComponent } from './sidebar-footer/sidebar-footer.component';\nimport { DaffSidebarHeaderTitleDirective } from './sidebar-header/sidebar-header-title/sidebar-header-title.directive';\nimport { DaffSidebarHeaderComponent } from './sidebar-header/sidebar-header.component';\nimport { DaffSidebarViewportComponent } from './sidebar-viewport/sidebar-viewport.component';\n\n/**\n * @deprecated in favor of {@link DAFF_SIDEBAR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n CommonModule,\n A11yModule,\n DaffSidebarComponent,\n DaffSidebarViewportComponent,\n DaffSidebarHeaderComponent,\n DaffSidebarFooterComponent,\n DaffSidebarHeaderTitleDirective,\n ],\n exports: [\n DaffSidebarComponent,\n DaffSidebarViewportComponent,\n DaffSidebarHeaderComponent,\n DaffSidebarFooterComponent,\n DaffSidebarHeaderTitleDirective,\n ],\n})\nexport class DaffSidebarModule { }\n","import {\n Signal,\n signal,\n} from '@angular/core';\nimport {\n BehaviorSubject,\n Observable,\n} from 'rxjs';\n\nimport { DaffSidebarRegistration } from './registration.type';\n\n/**\n * A service that stores the open state and ID of the currently opened sidebar.\n *\n * A default sidebar ID can be passed to the constructor that will be the initial value of `$id`.\n */\nexport abstract class DaffSidebarService {\n protected _id$: BehaviorSubject<DaffSidebarRegistration['id']>;\n protected _open = signal(false);\n\n readonly id$: Observable<DaffSidebarRegistration['id']>;\n\n get isOpen(): Signal<boolean> {\n return this._open.asReadonly();\n }\n\n constructor(\n defaultId: DaffSidebarRegistration['id'] = null,\n ) {\n this._id$ = new BehaviorSubject<DaffSidebarRegistration['id']>(defaultId);\n\n this.id$ = this._id$.asObservable();\n }\n\n /**\n * Opens the specified sidebar.\n *\n * @param id The optional sidebar ID. If omitted the most recently passed opened sidebar ID will persist (or the default if none was passed).\n */\n open(id?: DaffSidebarRegistration['id']) {\n if (id) {\n this._id$.next(id);\n }\n this._open.set(true);\n };\n\n /**\n * Closes the sidebar. Does not clear the ID.\n */\n close() {\n this._open.set(false);\n }\n}\n","import { DaffSidebarModeEnum } from './sidebar-mode';\n\nconst DOCKED_MODES = [\n DaffSidebarModeEnum.Side,\n DaffSidebarModeEnum.SideFixed,\n];\n\n/**\n * Returns whether the passed mode is a docked mode, i.e. side or side-fixed.\n */\nexport const daffSidebarIsDockedMode = (mode: DaffSidebarModeEnum): boolean => DOCKED_MODES.includes(mode);\n","import { DaffSidebarModeEnum } from './sidebar-mode';\n\nconst FLOATING_MODES = [\n DaffSidebarModeEnum.Under,\n DaffSidebarModeEnum.Over,\n];\n\n/**\n * Returns whether the passed mode is a floating mode, i.e. under or over.\n */\nexport const daffSidebarIsFloatingMode = (mode: DaffSidebarModeEnum): boolean => FLOATING_MODES.includes(mode);\n","import { DaffSidebarComponent } from './sidebar/sidebar.component';\nimport { DaffSidebarFooterComponent } from './sidebar-footer/sidebar-footer.component';\nimport { DaffSidebarHeaderTitleDirective } from './sidebar-header/sidebar-header-title/sidebar-header-title.directive';\nimport { DaffSidebarHeaderComponent } from './sidebar-header/sidebar-header.component';\nimport { DaffSidebarViewportComponent } from './sidebar-viewport/sidebar-viewport.component';\n\n/**\n * @docs-private\n */\nexport const DAFF_SIDEBAR_COMPONENTS = <const> [\n DaffSidebarComponent,\n DaffSidebarViewportComponent,\n DaffSidebarHeaderComponent,\n DaffSidebarFooterComponent,\n DaffSidebarHeaderTitleDirective,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["getAnimationState"],"mappings":";;;;;;;;;;;;;;AAEA;;AAEG;AACI,MAAM,SAAS,GAAG,CAAC,SAAoC,EAAE,OAAkC,KAAa;AAC7G,IAAA,IAAG,SAAS,KAAK,YAAY,IAAI,OAAO,KAAK,MAAM,IAAI,SAAS,KAAK,MAAM,IAAI,OAAO,KAAK,YAAY,EAAE;AACvG,QAAA,OAAO,KAAK;IACd;IAEA,IAAG,OAAO,KAAK,YAAY,IAAI,OAAO,KAAK,MAAM,EAAE;AACjD,QAAA,OAAO,IAAI;IACb;AACA,IAAA,OAAO,KAAK;AACd,CAAC;;ACLD,MAAM,QAAQ,GAAG,OAAO;AACxB,MAAM,0BAA0B,GAAG,gCAAgC;AACnE,MAAM,2BAA2B,GAAG,8BAA8B;AAE3D,MAAM,qBAAqB,GAI9B;AACF,IAAA,gBAAgB,EAAE,OAAO,CAAC,kBAAkB,EAAE;;;AAG5C,QAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;AAClB,YAAA,SAAS,EAAE,MAAM;AAClB,SAAA,CAAC,CAAC;AACH,QAAA,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC;AACpB,YAAA,SAAS,EAAE,uBAAuB;SACnC,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAC,CAAC;QACnC,UAAU,CAAC,gBAAgB,EAAE,OAAO,CAAC,QAAQ,GAAG,GAAG,GAAG,2BAA2B,CAAC,CAAC;QACnF,UAAU,CAAC,gBAAgB,EAAE,OAAO,CAAC,QAAQ,GAAG,GAAG,GAAG,0BAA0B,CAAC,CAAC;KACnF,CAAC;AACF,IAAA,gBAAgB,EAAE,OAAO,CAAC,kBAAkB,EAAE;;;A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A,WAAA,CACE,YAA2C,IAAI,EAAA;AATvC,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,KAAK,4EAAC;QAW7B,IAAI,CAAC,IAAI,GAAG,IAAI,eAAe,CAAgC,SAAS,CAAC;QAEzE,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;IACrC;AAEA;;;;AAIG;AACH,IAAA,IAAI,CAAC,EAAkC,EAAA;QACrC,IAAI,EAAE,EAAE;AACN,YAAA,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACpB;AACA,QAAA,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;IACtB;;AAEA;;AAEG;IACH,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC;IACvB;AACD;;AClDD,MAAM,YAAY,GAAG;;;CAGpB;AAED;;AAEG;AACI,MAAM,uBAAuB,GAAG,CAAC,IAAyB,KAAc,YAAY,CAAC,QAAQ,CAAC,IAAI;;ACRzG,MAAM,cAAc,GAAG;;;CAGtB;AAED;;AAEG;AACI,MAAM,yBAAyB,GAAG,CAAC,IAAyB,KAAc,cAAc,CAAC,QAAQ,CAAC,IAAI;;ACJ7G;;AAEG;AACI,MAAM,uBAAuB,GAAW;IAC7C,oBAAoB;IACpB,4BAA4B;IAC5B,0BAA0B;IAC1B,0BAA0B;IAC1B,+BAA+B;;;ACdjC;;AAEG;;;;"}
|
|
@@ -13,10 +13,10 @@ import { DaffColorableDirective, DaffSizableDirective } from '@daffodil/design';
|
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
class DaffSpinnerLabelDirective {
|
|
16
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
16
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSpinnerLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
17
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: DaffSpinnerLabelDirective, isStandalone: true, selector: "daff-spinner-label", ngImport: i0 }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSpinnerLabelDirective, decorators: [{
|
|
20
20
|
type: Directive,
|
|
21
21
|
args: [{
|
|
22
22
|
/* eslint-disable-next-line @angular-eslint/directive-selector */
|
|
@@ -56,13 +56,13 @@ class DaffSpinnerComponent {
|
|
|
56
56
|
/**
|
|
57
57
|
* The `aria-label` for the spinner. Defaults to "loading".
|
|
58
58
|
*/
|
|
59
|
-
this.ariaLabel = input('loading', ...(ngDevMode ?
|
|
59
|
+
this.ariaLabel = input('loading', { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
|
|
60
60
|
this.sizable.defaultSize = 'md';
|
|
61
61
|
}
|
|
62
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
63
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
62
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSpinnerComponent, deps: [{ token: i1.DaffSizableDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
63
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DaffSpinnerComponent, isStandalone: true, selector: "daff-spinner", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "status" }, properties: { "attr.aria-label": "_ariaLabel" }, classAttribute: "daff-spinner" }, queries: [{ propertyName: "_label", first: true, predicate: DaffSpinnerLabelDirective, descendants: true }], hostDirectives: [{ directive: i1.DaffColorableDirective, inputs: ["color", "color"] }, { directive: i1.DaffSizableDirective, inputs: ["size", "size"] }], ngImport: i0, template: "<svg\n [attr.height]=\"dimension\"\n [attr.width]=\"dimension\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n aria-hidden=\"true\"\n class=\"daff-spinner__svg\">\n <circle class=\"daff-spinner__track\" cx=\"8\" cy=\"8\" r=\"7\" vector-effect=\"non-scaling-stroke\"></circle>\n <path class=\"daff-spinner__path\" d=\"M15 8a7.002 7.002 0 00-7-7\" vector-effect=\"non-scaling-stroke\"></path>\n</svg>\n@if (_label) {\n <div class=\"daff-spinner__label\">\n <ng-content select=\"daff-spinner-label\"></ng-content>\n </div>\n}", styles: [":host{display:inline-flex;flex-direction:column;align-items:center;gap:.25rem}:host.daff-xs .daff-spinner__track,:host.daff-xs .daff-spinner__path{stroke-width:1.5}:host.daff-xl .daff-spinner__track,:host.daff-xl .daff-spinner__path{stroke-width:2.5}.daff-spinner__svg{display:block}.daff-spinner__track{stroke:currentColor;stroke-opacity:.25;stroke-width:2}.daff-spinner__path{stroke:currentColor;stroke-width:2;stroke-linecap:round;animation:spinner-rotation 1s cubic-bezier(0,0,1,1) infinite;transform-origin:center}@media screen and (prefers-reduced-motion:reduce){.daff-spinner__path{animation-duration:2s}}@keyframes spinner-rotation{to{transform:rotate(1turn)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
64
64
|
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DaffSpinnerComponent, decorators: [{
|
|
66
66
|
type: Component,
|
|
67
67
|
args: [{ selector: 'daff-spinner', host: {
|
|
68
68
|
class: 'daff-spinner',
|
|
@@ -77,7 +77,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
|
|
|
77
77
|
directive: DaffSizableDirective,
|
|
78
78
|
inputs: ['size'],
|
|
79
79
|
},
|
|
80
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<svg\n [attr.height]=\"dimension\"\n [attr.width]=\"dimension\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n aria-hidden=\"true\"\n class=\"daff-spinner__svg\">\n <circle class=\"daff-spinner__track\" cx=\"8\" cy=\"8\" r=\"7\" vector-effect=\"non-scaling-stroke\"></circle>\n <path class=\"daff-spinner__path\" d=\"M15 8a7.002 7.002 0 00-7-7\" vector-effect=\"non-scaling-stroke\"></path>\n</svg>\n@if (_label) {\n <div class=\"daff-spinner__label\">\n <ng-content select=\"daff-spinner-label\"></ng-content>\n </div>\n}", styles: [":host{display:inline-flex;flex-direction:column;align-items:center;gap:.25rem}:host.daff-xs .daff-spinner__track,:host.daff-xs .daff-spinner__path{stroke-width:1.5}:host.daff-xl .daff-spinner__track,:host.daff-xl .daff-spinner__path{stroke-width:2.5}.daff-spinner__svg{display:block}.daff-spinner__track{stroke:currentColor;stroke-opacity:.25;stroke-width:2}.daff-spinner__path{stroke:currentColor;stroke-width:2;stroke-linecap:round;animation:spinner-rotation 1s cubic-bezier(0,0,1,1) infinite;transform-origin:center}@keyframes spinner-rotation{to{transform:rotate(1turn)}}\n"] }]
|
|
80
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<svg\n [attr.height]=\"dimension\"\n [attr.width]=\"dimension\"\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n aria-hidden=\"true\"\n class=\"daff-spinner__svg\">\n <circle class=\"daff-spinner__track\" cx=\"8\" cy=\"8\" r=\"7\" vector-effect=\"non-scaling-stroke\"></circle>\n <path class=\"daff-spinner__path\" d=\"M15 8a7.002 7.002 0 00-7-7\" vector-effect=\"non-scaling-stroke\"></path>\n</svg>\n@if (_label) {\n <div class=\"daff-spinner__label\">\n <ng-content select=\"daff-spinner-label\"></ng-content>\n </div>\n}", styles: [":host{display:inline-flex;flex-direction:column;align-items:center;gap:.25rem}:host.daff-xs .daff-spinner__track,:host.daff-xs .daff-spinner__path{stroke-width:1.5}:host.daff-xl .daff-spinner__track,:host.daff-xl .daff-spinner__path{stroke-width:2.5}.daff-spinner__svg{display:block}.daff-spinner__track{stroke:currentColor;stroke-opacity:.25;stroke-width:2}.daff-spinner__path{stroke:currentColor;stroke-width:2;stroke-linecap:round;animation:spinner-rotation 1s cubic-bezier(0,0,1,1) infinite;transform-origin:center}@media screen and (prefers-reduced-motion:reduce){.daff-spinner__path{animation-duration:2s}}@keyframes spinner-rotation{to{transform:rotate(1turn)}}\n"] }]
|
|
81
81
|
}], ctorParameters: () => [{ type: i1.DaffSizableDirective }], propDecorators: { _label: [{
|
|
82
82
|
type: ContentChild,
|
|
83
83
|
args: [DaffSpinnerLabelDirective]
|