@daffodil/design 0.72.0 → 0.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -22
- package/article/README.md +0 -5
- package/article/article.module.d.ts +3 -5
- package/article/examples/article-examples.module.d.ts +8 -9
- package/article/examples/public_api.d.ts +0 -1
- package/article/public_api.d.ts +0 -2
- package/container/README.md +11 -8
- package/esm2022/article/article/article.component.mjs +2 -2
- package/esm2022/article/article.module.mjs +1 -11
- package/esm2022/article/examples/article-examples.module.mjs +7 -8
- package/esm2022/article/examples/examples.mjs +1 -3
- package/esm2022/article/examples/public_api.mjs +1 -2
- package/esm2022/article/public_api.mjs +1 -3
- package/esm2022/daffodil-design.mjs +2 -2
- package/esm2022/index.mjs +6 -0
- package/esm2022/notification/daffodil-design-notification.mjs +2 -2
- package/esm2022/notification/examples/default-notification/default-notification.component.mjs +12 -7
- package/esm2022/notification/examples/dismissible-notification/dismissible-notification.component.mjs +11 -6
- package/esm2022/notification/examples/notification-orientations/notification-orientations.component.mjs +5 -6
- package/esm2022/notification/examples/notification-status/notification-status.component.mjs +5 -6
- package/esm2022/notification/examples/notification-with-actions/notification-with-actions.component.mjs +24 -0
- package/esm2022/notification/examples/notification-with-actions/notification-with-actions.module.mjs +36 -0
- package/esm2022/notification/examples/public_api.mjs +4 -1
- package/esm2022/notification/index.mjs +2 -0
- package/esm2022/notification/notification/notification.component.mjs +30 -16
- package/esm2022/paginator/daffodil-design-paginator.mjs +2 -2
- package/esm2022/paginator/index.mjs +2 -0
- package/esm2022/progress-bar/daffodil-design-progress-bar.mjs +2 -2
- package/esm2022/progress-bar/index.mjs +2 -0
- package/esm2022/tree/tree-item/tree-item.directive.mjs +4 -2
- package/fesm2022/daffodil-design-article-examples.mjs +2 -12
- package/fesm2022/daffodil-design-article-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-article.mjs +3 -51
- package/fesm2022/daffodil-design-article.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification-examples.mjs +70 -16
- package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification.mjs +46 -33
- package/fesm2022/daffodil-design-notification.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
- package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree.mjs +3 -1
- package/fesm2022/daffodil-design-tree.mjs.map +1 -1
- package/fesm2022/daffodil-design.mjs +5 -0
- package/fesm2022/daffodil-design.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/loading-icon/README.md +1 -1
- package/notification/README.md +49 -23
- package/notification/examples/default-notification/default-notification.component.d.ts +2 -0
- package/notification/examples/dismissible-notification/dismissible-notification.component.d.ts +2 -0
- package/notification/examples/notification-with-actions/notification-with-actions.component.d.ts +8 -0
- package/notification/examples/notification-with-actions/notification-with-actions.module.d.ts +11 -0
- package/notification/index.d.ts +0 -4
- package/notification/notification/notification.component.d.ts +15 -6
- package/package.json +1 -1
- package/paginator/index.d.ts +0 -4
- package/progress-bar/index.d.ts +0 -4
- package/scss/typography/_classes.scss +0 -5
- package/scss/typography/_index.scss +1 -2
- package/scss/typography/mixins/_text-truncate.scss +1 -6
- package/scss/typography/utilities/_variables.scss +14 -4
- package/sidebar/README.md +1 -1
- package/toast/README.md +2 -2
- package/article/article-lead/article-lead.directive.d.ts +0 -9
- package/article/article-title/article-title.directive.d.ts +0 -9
- package/article/examples/article-lead/article-lead.component.d.ts +0 -5
- package/esm2022/article/article-lead/article-lead.directive.mjs +0 -22
- package/esm2022/article/article-title/article-title.directive.mjs +0 -22
- package/esm2022/article/examples/article-lead/article-lead.component.mjs +0 -12
- package/scss/daff-global.scss +0 -5
- package/scss/daff-typography.scss +0 -55
- package/scss/daff-util.scss +0 -5
- package/scss/typography/mixins/_text-transform.scss +0 -4
@@ -5,9 +5,8 @@ import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/common";
|
6
6
|
import * as i2 from "@daffodil/design/notification";
|
7
7
|
import * as i3 from "@daffodil/design";
|
8
|
-
import * as i4 from "@
|
9
|
-
import * as i5 from "@
|
10
|
-
import * as i6 from "@angular/forms";
|
8
|
+
import * as i4 from "@fortawesome/angular-fontawesome";
|
9
|
+
import * as i5 from "@angular/forms";
|
11
10
|
export class NotificationStatusComponent {
|
12
11
|
constructor() {
|
13
12
|
this.faInfoCircle = faInfoCircle;
|
@@ -16,10 +15,10 @@ export class NotificationStatusComponent {
|
|
16
15
|
this.statusControl = new UntypedFormControl('success');
|
17
16
|
}
|
18
17
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationStatusComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
19
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: NotificationStatusComponent, selector: "notification-status", ngImport: i0, template: "<daff-notification [status]=\"statusControl.value\">\n\t<fa-icon *ngIf=\"statusControl.value === 'success'\" daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'warn'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'error'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n
|
18
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: NotificationStatusComponent, selector: "notification-status", ngImport: i0, template: "<daff-notification [status]=\"statusControl.value\">\n\t<fa-icon *ngIf=\"statusControl.value === 'success'\" daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'warn'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'error'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"statusControl\">\n\t<option value=\"success\">Success</option>\n\t<option value=\"warn\">Warn</option>\n\t<option value=\"error\">Error</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.DaffNotificationComponent, selector: "daff-notification", inputs: ["status", "dismissible", "orientation"], outputs: ["closeNotification"] }, { kind: "directive", type: i2.DaffNotificationTitleDirective, selector: "[daffNotificationTitle]" }, { kind: "directive", type: i2.DaffNotificationSubtitleDirective, selector: "[daffNotificationSubtitle]" }, { kind: "directive", type: i3.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "component", type: i4.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "directive", type: i5.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
20
19
|
}
|
21
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationStatusComponent, decorators: [{
|
22
21
|
type: Component,
|
23
|
-
args: [{ selector: 'notification-status', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-notification [status]=\"statusControl.value\">\n\t<fa-icon *ngIf=\"statusControl.value === 'success'\" daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'warn'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'error'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n
|
22
|
+
args: [{ selector: 'notification-status', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-notification [status]=\"statusControl.value\">\n\t<fa-icon *ngIf=\"statusControl.value === 'success'\" daffPrefix [icon]=\"faCheck\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'warn'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<fa-icon *ngIf=\"statusControl.value === 'error'\" daffPrefix [icon]=\"faExclamation\" [fixedWidth]=\"true\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n</daff-notification>\n\n<select [formControl]=\"statusControl\">\n\t<option value=\"success\">Success</option>\n\t<option value=\"warn\">Warn</option>\n\t<option value=\"error\">Error</option>\n</select>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"] }]
|
24
23
|
}] });
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLXN0YX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cmVmaXggW2ljb25dPVwiZmFDaGVja1wiIFtmaXhlZFdpZHRoXT1cInRydWVcIj48L2ZhLWljb24+XG5cdDxmYS1pY29uICpuZ0lmPVwic3RhdHVzQ29udHJvbC52YWx1ZSA9PT0gJ3dhcm4nXCIgZGFmZlByZWZpeCBbaWNvbl09XCJmYUV4Y2xhbWF0aW9uXCIgW2ZpeGVkV2lkdGhdPVwidHJ1ZVwiPjwvZmEtaWNvbj5cblx0PGZhLWljb24gKm5nSWY9XCJzdGF0dXNDb250cm9sLnZhbHVlID09PSAnZXJyb3InXCIgZGFmZlByZWZpeCBbaWNvbl09XCJmYUV4Y2xhbWF0aW9uXCIgW2ZpeGVkV2lkdGhdPVwidHJ1ZVwiPjwvZmEtaWNvbj5cblx0PGRpdiBkYWZmTm90aWZpY2F0aW9uVGl0bGU+VGl0bGU8L2Rpdj5cblx0PGRpdiBkYWZmTm90aWZpY2F0aW9uU3VidGl0bGU+VGhpcyBpcyB0aGUgc3VidGl0bGUgd2l0aCBpbmZvcm1hdGlvbjwvZGl2PlxuPC9kYWZmLW5vdGlmaWNhdGlvbj5cblxuPHNlbGVjdCBbZm9ybUNvbnRyb2xdPVwic3RhdHVzQ29udHJvbFwiPlxuXHQ8b3B0aW9uIHZhbHVlPVwic3VjY2Vzc1wiPlN1Y2Nlc3M8L29wdGlvbj5cblx0PG9wdGlvbiB2YWx1ZT1cIndhcm5cIj5XYXJuPC9vcHRpb24+XG5cdDxvcHRpb24gdmFsdWU9XCJlcnJvclwiPkVycm9yPC9vcHRpb24+XG48L3NlbGVjdD4iXX0=
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { ChangeDetectionStrategy, Component, } from '@angular/core';
|
2
|
+
import { faExclamationCircle } from '@fortawesome/free-solid-svg-icons';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@angular/common";
|
5
|
+
import * as i2 from "@daffodil/design/notification";
|
6
|
+
import * as i3 from "@daffodil/design";
|
7
|
+
import * as i4 from "@fortawesome/angular-fontawesome";
|
8
|
+
import * as i5 from "@daffodil/design/button";
|
9
|
+
export class NotificationWithActionsComponent {
|
10
|
+
constructor() {
|
11
|
+
this.faExclamationCircle = faExclamationCircle;
|
12
|
+
this.showNotification = false;
|
13
|
+
}
|
14
|
+
toggleNotification() {
|
15
|
+
this.showNotification = !this.showNotification;
|
16
|
+
}
|
17
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationWithActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
18
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: NotificationWithActionsComponent, selector: "notification-with-actions", ngImport: i0, template: "<button daff-button (click)=\"toggleNotification()\">\n\t<ng-container *ngIf=\"showNotification\">Show Notification</ng-container>\n\t<ng-container *ngIf=\"!showNotification\">Hide Notification</ng-container>\n</button>\n\n<daff-notification status=\"error\" *ngIf=\"showNotification\">\n\t<fa-icon daffPrefix [icon]=\"faExclamationCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n\t<div daffNotificationActions>\n\t\t<button daff-button size=\"sm\" color=\"theme-contrast\">Confirm</button>\n\t\t<button daff-flat-button size=\"sm\" color=\"theme-contrast\">Cancel</button>\n\t</div>\n</daff-notification>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.DaffNotificationComponent, selector: "daff-notification", inputs: ["status", "dismissible", "orientation"], outputs: ["closeNotification"] }, { kind: "directive", type: i2.DaffNotificationActionsDirective, selector: "[daffNotificationActions]" }, { kind: "directive", type: i2.DaffNotificationTitleDirective, selector: "[daffNotificationTitle]" }, { kind: "directive", type: i2.DaffNotificationSubtitleDirective, selector: "[daffNotificationSubtitle]" }, { kind: "directive", type: i3.DaffPrefixDirective, selector: "[daffPrefix]" }, { kind: "component", type: i4.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "component", type: i5.DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: ["color", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
19
|
+
}
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationWithActionsComponent, decorators: [{
|
21
|
+
type: Component,
|
22
|
+
args: [{ selector: 'notification-with-actions', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button daff-button (click)=\"toggleNotification()\">\n\t<ng-container *ngIf=\"showNotification\">Show Notification</ng-container>\n\t<ng-container *ngIf=\"!showNotification\">Hide Notification</ng-container>\n</button>\n\n<daff-notification status=\"error\" *ngIf=\"showNotification\">\n\t<fa-icon daffPrefix [icon]=\"faExclamationCircle\"></fa-icon>\n\t<div daffNotificationTitle>Title</div>\n\t<div daffNotificationSubtitle>This is the subtitle with information</div>\n\t<div daffNotificationActions>\n\t\t<button daff-button size=\"sm\" color=\"theme-contrast\">Confirm</button>\n\t\t<button daff-flat-button size=\"sm\" color=\"theme-contrast\">Cancel</button>\n\t</div>\n</daff-notification>", styles: [":host{display:flex;flex-direction:column;align-items:center;gap:16px}\n"] }]
|
23
|
+
}] });
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLXdpdGgtYWN0aW9ucy5jb21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uZ0lmPVwiIXNob3dOb3RpZmljYXRpb25cIj5IaWRlIE5vdGlmaWNhdGlvbjwvbmctY29udGFpbmVyPlxuPC9idXR0b24+XG5cbjxkYWZmLW5vdGlmaWNhdGlvbiBzdGF0dXM9XCJlcnJvclwiICpuZ0lmPVwic2hvd05vdGlmaWNhdGlvblwiPlxuXHQ8ZmEtaWNvbiBkYWZmUHJlZml4IFtpY29uXT1cImZhRXhjbGFtYXRpb25DaXJjbGVcIj48L2ZhLWljb24+XG5cdDxkaXYgZGFmZk5vdGlmaWNhdGlvblRpdGxlPlRpdGxlPC9kaXY+XG5cdDxkaXYgZGFmZk5vdGlmaWNhdGlvblN1YnRpdGxlPlRoaXMgaXMgdGhlIHN1YnRpdGxlIHdpdGggaW5mb3JtYXRpb248L2Rpdj5cblx0PGRpdiBkYWZmTm90aWZpY2F0aW9uQWN0aW9ucz5cblx0XHQ8YnV0dG9uIGRhZmYtYnV0dG9uIHNpemU9XCJzbVwiIGNvbG9yPVwidGhlbWUtY29udHJhc3RcIj5Db25maXJtPC9idXR0b24+XG5cdFx0PGJ1dHRvbiBkYWZmLWZsYXQtYnV0dG9uIHNpemU9XCJzbVwiIGNvbG9yPVwidGhlbWUtY29udHJhc3RcIj5DYW5jZWw8L2J1dHRvbj5cblx0PC9kaXY+XG48L2RhZmYtbm90aWZpY2F0aW9uPiJdfQ==
|
package/esm2022/notification/examples/notification-with-actions/notification-with-actions.module.mjs
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
2
|
+
import { NgModule } from '@angular/core';
|
3
|
+
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
4
|
+
import { DaffButtonModule } from '@daffodil/design/button';
|
5
|
+
import { DaffNotificationModule } from '@daffodil/design/notification';
|
6
|
+
import { NotificationWithActionsComponent } from './notification-with-actions.component';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export class NotificationWithActionsModule {
|
9
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationWithActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
10
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: NotificationWithActionsModule, declarations: [NotificationWithActionsComponent], imports: [CommonModule,
|
11
|
+
DaffNotificationModule,
|
12
|
+
FontAwesomeModule,
|
13
|
+
DaffButtonModule], exports: [NotificationWithActionsComponent] }); }
|
14
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationWithActionsModule, imports: [CommonModule,
|
15
|
+
DaffNotificationModule,
|
16
|
+
FontAwesomeModule,
|
17
|
+
DaffButtonModule] }); }
|
18
|
+
}
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationWithActionsModule, decorators: [{
|
20
|
+
type: NgModule,
|
21
|
+
args: [{
|
22
|
+
declarations: [
|
23
|
+
NotificationWithActionsComponent,
|
24
|
+
],
|
25
|
+
imports: [
|
26
|
+
CommonModule,
|
27
|
+
DaffNotificationModule,
|
28
|
+
FontAwesomeModule,
|
29
|
+
DaffButtonModule,
|
30
|
+
],
|
31
|
+
exports: [
|
32
|
+
NotificationWithActionsComponent,
|
33
|
+
],
|
34
|
+
}]
|
35
|
+
}] });
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLXdpdGgtYWN0aW9ucy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9ub3RpZmljYXRpb24vZXhhbXBsZXMvc3JjL25vdGlmaWNhdGlvbi13aXRoLWFjdGlvbnMvbm90aWZpY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20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgRm9udEF3ZXNvbWVNb2R1bGUgfSBmcm9tICdAZm9ydGF3ZXNvbWUvYW5ndWxhci1mb250YXdlc29tZSc7XG5cbmltcG9ydCB7IERhZmZCdXR0b25Nb2R1bGUgfSBmcm9tICdAZGFmZm9kaWwvZGVzaWduL2J1dHRvbic7XG5pbXBvcnQgeyBEYWZmTm90aWZpY2F0aW9uTW9kdWxlIH0gZnJvbSAnQGRhZmZvZGlsL2Rlc2lnbi9ub3RpZmljYXRpb24nO1xuXG5pbXBvcnQgeyBOb3RpZmljYXRpb25XaXRoQWN0aW9uc0NvbXBvbmVudCB9IGZyb20gJy4vbm90aWZpY2F0aW9uLXdpdGgtYWN0aW9ucy5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtcbiAgICBOb3RpZmljYXRpb25XaXRoQWN0aW9uc0NvbXBvbmVudCxcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBEYWZmTm90aWZpY2F0aW9uTW9kdWxlLFxuICAgIEZvbnRBd2Vzb21lTW9kdWxlLFxuICAgIERhZmZCdXR0b25Nb2R1bGUsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBOb3RpZmljYXRpb25XaXRoQWN0aW9uc0NvbXBvbmVudCxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgTm90aWZpY2F0aW9uV2l0aEFjdGlvbnNNb2R1bGUgeyB9XG4iXX0=
|
@@ -6,10 +6,13 @@ import { NotificationOrientationsComponent } from './notification-orientations/n
|
|
6
6
|
import { NotificationOrientationsModule } from './notification-orientations/notification-orientations.module';
|
7
7
|
import { NotificationStatusComponent } from './notification-status/notification-status.component';
|
8
8
|
import { NotificationStatusModule } from './notification-status/notification-status.module';
|
9
|
+
import { NotificationWithActionsComponent } from './notification-with-actions/notification-with-actions.component';
|
10
|
+
import { NotificationWithActionsModule } from './notification-with-actions/notification-with-actions.module';
|
9
11
|
export const NOTIFICATION_EXAMPLES = [
|
10
12
|
{ component: DefaultNotificationComponent, module: DefaultNotificationModule },
|
11
13
|
{ component: NotificationStatusComponent, module: NotificationStatusModule },
|
12
14
|
{ component: NotificationOrientationsComponent, module: NotificationOrientationsModule },
|
13
15
|
{ component: DismissibleNotificationComponent, module: DismissibleNotificationModule },
|
16
|
+
{ component: NotificationWithActionsComponent, module: NotificationWithActionsModule },
|
14
17
|
];
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL25vdGlmaWNhdGlvbi9leGFtcGxlcy9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSx1REFBdUQsQ0FBQztBQUNyRyxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxvREFBb0QsQ0FBQztBQUMvRixPQUFPLEVBQUUsZ0NBQWdDLEVBQUUsTUFBTSwrREFBK0QsQ0FBQztBQUNqSCxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSw0REFBNEQsQ0FBQztBQUMzRyxPQUFPLEVBQUUsaUNBQWlDLEVBQUUsTUFBTSxpRUFBaUUsQ0FBQztBQUNwSCxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSw4REFBOEQsQ0FBQztBQUM5RyxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSxxREFBcUQsQ0FBQztBQUNsRyxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxrREFBa0QsQ0FBQztBQUM1RixPQUFPLEVBQUUsZ0NBQWdDLEVBQUUsTUFBT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XVsdE5vdGlmaWNhdGlvbkNvbXBvbmVudCwgbW9kdWxlOiBEZWZhdWx0Tm90aWZpY2F0aW9uTW9kdWxlIH0sXG4gIHsgY29tcG9uZW50OiBOb3RpZmljYXRpb25TdGF0dXNDb21wb25lbnQsIG1vZHVsZTogTm90aWZpY2F0aW9uU3RhdHVzTW9kdWxlIH0sXG4gIHsgY29tcG9uZW50OiBOb3RpZmljYXRpb25PcmllbnRhdGlvbnNDb21wb25lbnQsIG1vZHVsZTogTm90aWZpY2F0aW9uT3JpZW50YXRpb25zTW9kdWxlIH0sXG4gIHsgY29tcG9uZW50OiBEaXNtaXNzaWJsZU5vdGlmaWNhdGlvbkNvbXBvbmVudCwgbW9kdWxlOiBEaXNtaXNzaWJsZU5vdGlmaWNhdGlvbk1vZHVsZSB9LFxuICB7IGNvbXBvbmVudDogTm90aWZpY2F0aW9uV2l0aEFjdGlvbnNDb21wb25lbnQsIG1vZHVsZTogTm90aWZpY2F0aW9uV2l0aEFjdGlvbnNNb2R1bGUgfSxcbl07XG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export * from './public_api';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9ub3RpZmljYXRpb24vc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { Component, Input, ElementRef, Renderer2, HostBinding, ContentChild, ViewEncapsulation, ChangeDetectionStrategy, Output, EventEmitter, } from '@angular/core';
|
2
2
|
import { faTimes } from '@fortawesome/free-solid-svg-icons';
|
3
|
-
import { daffArticleEncapsulatedMixin, DaffPrefixDirective, daffStatusMixin, } from '@daffodil/design';
|
3
|
+
import { daffArticleEncapsulatedMixin, DaffPrefixDirective, DaffStatusEnum, daffStatusMixin, } from '@daffodil/design';
|
4
|
+
import { DaffNotificationActionsDirective } from '../notification-actions/notification-actions.directive';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
import * as i1 from "@angular/common";
|
6
7
|
import * as i2 from "@fortawesome/angular-fontawesome";
|
@@ -20,10 +21,18 @@ var DaffNotificationOrientationEnum;
|
|
20
21
|
DaffNotificationOrientationEnum["Vertical"] = "vertical";
|
21
22
|
})(DaffNotificationOrientationEnum || (DaffNotificationOrientationEnum = {}));
|
22
23
|
/**
|
23
|
-
* DaffNotificationComponent provides a way to display and
|
24
|
-
*
|
24
|
+
* DaffNotificationComponent provides a way to display and communicate
|
25
|
+
* information related to user actions within a page's content.
|
25
26
|
*/
|
26
27
|
export class DaffNotificationComponent extends _daffNotificationBase {
|
28
|
+
/**
|
29
|
+
* Sets role to alert when `status="warn"` or `status="danger"`.
|
30
|
+
* Sets role to status on all other instances.
|
31
|
+
*/
|
32
|
+
get role() {
|
33
|
+
return this.status === DaffStatusEnum.Warn || this.status === DaffStatusEnum.Danger ? 'alert' : 'status';
|
34
|
+
}
|
35
|
+
;
|
27
36
|
get verticalOrientation() {
|
28
37
|
return this.orientation === DaffNotificationOrientationEnum.Vertical;
|
29
38
|
}
|
@@ -49,30 +58,38 @@ export class DaffNotificationComponent extends _daffNotificationBase {
|
|
49
58
|
this.faTimes = faTimes;
|
50
59
|
this.class = true;
|
51
60
|
this.tabindex = '0';
|
52
|
-
this.ariaLive = 'polite';
|
53
61
|
/** Whether or not a notification is closable */
|
54
62
|
this.dismissible = false;
|
55
|
-
this.closeNotification = new EventEmitter();
|
56
63
|
this._orientation = DaffNotificationOrientationEnum.Vertical;
|
64
|
+
/**
|
65
|
+
* Output event triggered when the close icon is clicked.
|
66
|
+
*/
|
67
|
+
this.closeNotification = new EventEmitter();
|
57
68
|
}
|
58
69
|
onCloseNotification(event) {
|
59
70
|
this.closeNotification.emit();
|
60
71
|
}
|
61
72
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffNotificationComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
62
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffNotificationComponent, selector: "daff-notification", inputs: { status: "status", dismissible: "dismissible", orientation: "orientation" }, outputs: { closeNotification: "closeNotification" }, host: { properties: { "class.daff-notification": "this.class", "attr.tabindex": "this.tabindex", "attr.
|
73
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: DaffNotificationComponent, selector: "daff-notification", inputs: { status: "status", dismissible: "dismissible", orientation: "orientation" }, outputs: { closeNotification: "closeNotification" }, host: { properties: { "class.daff-notification": "this.class", "attr.tabindex": "this.tabindex", "attr.role": "this.role", "class.vertical": "this.verticalOrientation", "class.horizontal": "this.horizontalOrientation", "class.dismissible": "this.dismissible" } }, queries: [{ propertyName: "_prefix", first: true, predicate: DaffPrefixDirective, descendants: true }, { propertyName: "_actions", first: true, predicate: DaffNotificationActionsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-notification__body\">\n <div class=\"daff-notification__content\">\n <ng-content select=\"[daffNotificationTitle]\"></ng-content>\n <ng-content select=\"[daffNotificationSubtitle]\"></ng-content>\n </div>\n <ng-container *ngIf=\"_actions\">\n <ng-content select=\"[daffNotificationActions]\"></ng-content>\n </ng-container>\n</div>\n<button class=\"daff-notification__close-icon\" *ngIf=\"dismissible\" (click)=\"onCloseNotification($event)\">\n <fa-icon [icon]=\"faTimes\" [fixedWidth]=\"true\"></fa-icon>\n</button>", styles: [".daff-notification{display:flex;border-radius:4px;font-size:1rem;line-height:1.5rem;position:relative}.daff-notification .daff-prefix{padding:16px 0 16px 16px}.daff-notification__close-icon{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;appearance:none;background:none;border:none;color:currentColor;margin:0;min-height:3rem;height:3rem;min-width:3rem;width:3rem}.daff-notification__body{display:flex;font-size:1rem;line-height:1.5rem;padding:16px;width:100%}.daff-notification__content{display:flex;flex-direction:column;gap:4px}.daff-notification__title{font-size:1rem;font-weight:600;line-height:1.5rem}.daff-notification__subtitle{font-size:1rem;font-weight:400;line-height:1.25rem}.daff-notification__actions{display:flex;gap:8px}.daff-notification.dismissible.horizontal .daff-notification__actions{padding:8px 0}.daff-notification.vertical .daff-notification__body{flex-direction:column;gap:16px}.daff-notification.horizontal .daff-prefix{padding:12px 0 12px 16px}.daff-notification.horizontal .daff-notification__subtitle{align-self:center}.daff-notification.horizontal .daff-notification__body{flex-direction:row;gap:0;padding:0}.daff-notification.horizontal .daff-notification__content{flex-direction:row;flex-wrap:wrap;flex-grow:1;padding:12px 16px 12px 12px}.daff-notification.horizontal .daff-notification__actions{min-height:3rem;padding:8px 16px 8px 0;margin:0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
63
74
|
}
|
64
75
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: DaffNotificationComponent, decorators: [{
|
65
76
|
type: Component,
|
66
|
-
args: [{ selector: 'daff-notification', inputs: ['status'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-
|
67
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: {
|
77
|
+
args: [{ selector: 'daff-notification', inputs: ['status'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<div class=\"daff-notification__body\">\n <div class=\"daff-notification__content\">\n <ng-content select=\"[daffNotificationTitle]\"></ng-content>\n <ng-content select=\"[daffNotificationSubtitle]\"></ng-content>\n </div>\n <ng-container *ngIf=\"_actions\">\n <ng-content select=\"[daffNotificationActions]\"></ng-content>\n </ng-container>\n</div>\n<button class=\"daff-notification__close-icon\" *ngIf=\"dismissible\" (click)=\"onCloseNotification($event)\">\n <fa-icon [icon]=\"faTimes\" [fixedWidth]=\"true\"></fa-icon>\n</button>", styles: [".daff-notification{display:flex;border-radius:4px;font-size:1rem;line-height:1.5rem;position:relative}.daff-notification .daff-prefix{padding:16px 0 16px 16px}.daff-notification__close-icon{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;appearance:none;background:none;border:none;color:currentColor;margin:0;min-height:3rem;height:3rem;min-width:3rem;width:3rem}.daff-notification__body{display:flex;font-size:1rem;line-height:1.5rem;padding:16px;width:100%}.daff-notification__content{display:flex;flex-direction:column;gap:4px}.daff-notification__title{font-size:1rem;font-weight:600;line-height:1.5rem}.daff-notification__subtitle{font-size:1rem;font-weight:400;line-height:1.25rem}.daff-notification__actions{display:flex;gap:8px}.daff-notification.dismissible.horizontal .daff-notification__actions{padding:8px 0}.daff-notification.vertical .daff-notification__body{flex-direction:column;gap:16px}.daff-notification.horizontal .daff-prefix{padding:12px 0 12px 16px}.daff-notification.horizontal .daff-notification__subtitle{align-self:center}.daff-notification.horizontal .daff-notification__body{flex-direction:row;gap:0;padding:0}.daff-notification.horizontal .daff-notification__content{flex-direction:row;flex-wrap:wrap;flex-grow:1;padding:12px 16px 12px 12px}.daff-notification.horizontal .daff-notification__actions{min-height:3rem;padding:8px 16px 8px 0;margin:0}\n"] }]
|
78
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { _prefix: [{
|
79
|
+
type: ContentChild,
|
80
|
+
args: [DaffPrefixDirective]
|
81
|
+
}], _actions: [{
|
82
|
+
type: ContentChild,
|
83
|
+
args: [DaffNotificationActionsDirective]
|
84
|
+
}], class: [{
|
68
85
|
type: HostBinding,
|
69
86
|
args: ['class.daff-notification']
|
70
87
|
}], tabindex: [{
|
71
88
|
type: HostBinding,
|
72
89
|
args: ['attr.tabindex']
|
73
|
-
}],
|
90
|
+
}], role: [{
|
74
91
|
type: HostBinding,
|
75
|
-
args: ['attr.
|
92
|
+
args: ['attr.role']
|
76
93
|
}], verticalOrientation: [{
|
77
94
|
type: HostBinding,
|
78
95
|
args: ['class.vertical']
|
@@ -84,12 +101,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
84
101
|
}, {
|
85
102
|
type: HostBinding,
|
86
103
|
args: ['class.dismissible']
|
87
|
-
}], closeNotification: [{
|
88
|
-
type: Output
|
89
104
|
}], orientation: [{
|
90
105
|
type: Input
|
91
|
-
}],
|
92
|
-
type:
|
93
|
-
args: [DaffPrefixDirective]
|
106
|
+
}], closeNotification: [{
|
107
|
+
type: Output
|
94
108
|
}] } });
|
95
|
-
//# sourceMappingURL=data:application/json;base64,
|
109
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4u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b24gY2xhc3M9XCJkYWZmLW5vdGlmaWNhdGlvbl9fY2xvc2UtaWNvblwiICpuZ0lmPVwiZGlzbWlzc2libGVcIiAoY2xpY2spPVwib25DbG9zZU5vdGlmaWNhdGlvbigkZXZlbnQpXCI+XG4gIDxmYS1pY29uIFtpY29uXT1cImZhVGltZXNcIiBbZml4ZWRXaWR0aF09XCJ0cnVlXCI+PC9mYS1pY29uPlxuPC9idXR0b24+Il19
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
2
|
* Generated bundle index. Do not edit.
|
3
3
|
*/
|
4
|
-
export * from './
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
4
|
+
export * from './index';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFmZm9kaWwtZGVzaWduLXBhZ2luYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3BhZ2luYXRvci9zcmMvZGFmZm9kaWwtZGVzaWduLXBhZ2luYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export * from './public_api';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9wYWdpbmF0b3Ivc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
2
|
* Generated bundle index. Do not edit.
|
3
3
|
*/
|
4
|
-
export * from './
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
4
|
+
export * from './index';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFmZm9kaWwtZGVzaWduLXByb2dyZXNzLWJhci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3Byb2dyZXNzLWJhci9zcmMvZGFmZm9kaWwtZGVzaWduLXByb2dyZXNzLWJhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export * from './public_api';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9wcm9ncmVzcy1iYXIvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
@@ -42,10 +42,12 @@ export class DaffTreeItemDirective {
|
|
42
42
|
set node(val) {
|
43
43
|
this._node = val;
|
44
44
|
this.id = 'tree-' + this._node.id;
|
45
|
-
this.ariaExpanded = this._node._treeRef.open ? 'true' : 'false';
|
46
45
|
this.depth = this._node.level;
|
47
46
|
this.classParent = this._node.hasChildren;
|
48
47
|
this.openClass = this._node._treeRef.open;
|
48
|
+
if (this._node.hasChildren) {
|
49
|
+
this.ariaExpanded = this._node._treeRef.open ? 'true' : 'false';
|
50
|
+
}
|
49
51
|
}
|
50
52
|
constructor(document, treeNotifier) {
|
51
53
|
this.document = document;
|
@@ -151,4 +153,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
151
153
|
type: HostListener,
|
152
154
|
args: ['click']
|
153
155
|
}] } });
|
154
|
-
//# sourceMappingURL=data:application/json;base64,
|
156
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1pdGVtLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3RyZWUvc3JjL3RyZWUtaXRlbS90cmVlLWl0ZW0uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMzQyxPQUFPLEVBQ0wsU0FBUyxFQUNULFdBQVcsRUFDWCxZQUFZLEVBQ1osTUFBTSxFQUNOLEtBQUssR0FDTixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7O0FBR3hFOzs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQW9CRztBQUlILE1BQU0sT0FBTyxxQkFBcUI7SUFzQ2hDOztPQUVHO0lBQ0gsSUFBbUMsYUFBYTtRQUM5QyxPQUFPLElBQUksQ0FBQyxRQUFRLENBQU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pcy50cmVlTm90aWZpZXIubm90aWZ5KCk7XG4gIH1cblxuICAvKipcbiAgICogVG9nZ2xlIHRoZSBvcGVuIHN0YXRlIG9mIHRoZSB0cmVlJ3MgcGFyZW50LlxuICAgKi9cbiAgdG9nZ2xlUGFyZW50KG5vZGU6IERhZmZUcmVlRmxhdE5vZGUpIHtcbiAgICBpZihub2RlLl90cmVlUmVmPy5wYXJlbnQucGFyZW50ID09PSB1bmRlZmluZWQpIHtcbiAgICAgIHJldHVybjtcbiAgICB9XG4gICAgbm9kZS5fdHJlZVJlZi5wYXJlbnQub3BlbiA9ICFub2RlLl90cmVlUmVmLnBhcmVudC5vcGVuO1xuICAgICg8RG9jdW1lbnQ+dGhpcy5kb2N1bWVudCkuZ2V0RWxlbWVudEJ5SWQoJ3RyZWUtJyArIG5vZGUuX3RyZWVSZWYucGFyZW50LmlkKS5mb2N1cygpO1xuICB9XG5cbiAgLyoqXG4gICAqIFRvZ2dsZSB0aGUgb3BlbiBzdGF0ZSBvZiB0aGlzIHNwZWNpZmljIHN1YnRyZWUgdHJlZS5cbiAgICovXG4gIHRvZ2dsZVRyZWUobm9kZTogRGFmZlRyZWVGbGF0Tm9kZSkge1xuICAgIGlmKG5vZGUuX3RyZWVSZWYub3BlbiA9PT0gZmFsc2UpIHtcbiAgICAgIG5vZGUuX3RyZWVSZWYub3BlbiA9IHRydWU7XG4gICAgfSBlbHNlIHtcbiAgICAgIG5vZGUuX3RyZWVSZWYub3BlbiA9IGZhbHNlO1xuICAgIH1cbiAgfVxufVxuIl19
|
@@ -67,15 +67,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
67
67
|
args: [{ selector: 'article-link', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-article>\n <a href=\"#\">This is a link.</a>\n</daff-article>" }]
|
68
68
|
}] });
|
69
69
|
|
70
|
-
class ArticleLeadComponent {
|
71
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ArticleLeadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
72
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ArticleLeadComponent, selector: "article-lead", ngImport: i0, template: "<daff-article>\n <p daffArticleLead>This is an Article Lead.</p>\n</daff-article>", dependencies: [{ kind: "component", type: i1.DaffArticleComponent, selector: "daff-article" }, { kind: "directive", type: i1.DaffArticleLeadDirective, selector: "[daffArticleLead]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
73
|
-
}
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ArticleLeadComponent, decorators: [{
|
75
|
-
type: Component,
|
76
|
-
args: [{ selector: 'article-lead', changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-article>\n <p daffArticleLead>This is an Article Lead.</p>\n</daff-article>" }]
|
77
|
-
}] });
|
78
|
-
|
79
70
|
class ArticleBlockquoteComponent {
|
80
71
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ArticleBlockquoteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
81
72
|
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ArticleBlockquoteComponent, selector: "article-blockquote", ngImport: i0, template: "<daff-article>\n <blockquote>\n This is a blockquote. This can be used for customer testimonals, document references, etc.\n <cite>Name your quote source here.</cite>\n </blockquote>\n</daff-article>", dependencies: [{ kind: "component", type: i1.DaffArticleComponent, selector: "daff-article" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
@@ -109,7 +100,6 @@ const ARTICLE_EXAMPLES = [
|
|
109
100
|
ArticleCodeInlineComponent,
|
110
101
|
ArticleHeadingsComponent,
|
111
102
|
ArticleHrComponent,
|
112
|
-
ArticleLeadComponent,
|
113
103
|
ArticleLinkComponent,
|
114
104
|
ArticleMetaComponent,
|
115
105
|
ArticleOlComponent,
|
@@ -119,7 +109,7 @@ const ARTICLE_EXAMPLES = [
|
|
119
109
|
|
120
110
|
class ArticleExamplesModule {
|
121
111
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ArticleExamplesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
122
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: ArticleExamplesModule, declarations: [ArticleBlockquoteComponent, ArticleCodeBlockComponent, ArticleCodeInlineComponent, ArticleHeadingsComponent, ArticleHrComponent,
|
112
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: ArticleExamplesModule, declarations: [ArticleBlockquoteComponent, ArticleCodeBlockComponent, ArticleCodeInlineComponent, ArticleHeadingsComponent, ArticleHrComponent, ArticleLinkComponent, ArticleMetaComponent, ArticleOlComponent, ArticleUlComponent, ArticleTableComponent], imports: [CommonModule,
|
123
113
|
DaffArticleModule] }); }
|
124
114
|
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ArticleExamplesModule, imports: [CommonModule,
|
125
115
|
DaffArticleModule] }); }
|
@@ -141,5 +131,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
141
131
|
* Generated bundle index. Do not edit.
|
142
132
|
*/
|
143
133
|
|
144
|
-
export { ARTICLE_EXAMPLES, ArticleBlockquoteComponent, ArticleCodeInlineComponent, ArticleExamplesModule, ArticleHeadingsComponent, ArticleHrComponent,
|
134
|
+
export { ARTICLE_EXAMPLES, ArticleBlockquoteComponent, ArticleCodeInlineComponent, ArticleExamplesModule, ArticleHeadingsComponent, ArticleHrComponent, ArticleLinkComponent, ArticleMetaComponent, ArticleOlComponent, ArticleTableComponent, ArticleUlComponent };
|
145
135
|
//# sourceMappingURL=daffodil-design-article-examples.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-design-article-examples.mjs","sources":["../../../libs/design/article/examples/src/article-headings/article-headings.component.ts","../../../libs/design/article/examples/src/article-headings/article-headings.component.html","../../../libs/design/article/examples/src/article-code-inline/article-code-inline.component.ts","../../../libs/design/article/examples/src/article-code-inline/article-code-inline.component.html","../../../libs/design/article/examples/src/article-hr/article-hr.component.ts","../../../libs/design/article/examples/src/article-hr/article-hr.component.html","../../../libs/design/article/examples/src/article-ol/article-ol.component.ts","../../../libs/design/article/examples/src/article-ol/article-ol.component.html","../../../libs/design/article/examples/src/article-ul/article-ul.component.ts","../../../libs/design/article/examples/src/article-ul/article-ul.component.html","../../../libs/design/article/examples/src/article-meta/article-meta.component.ts","../../../libs/design/article/examples/src/article-meta/article-meta.component.html","../../../libs/design/article/examples/src/article-link/article-link.component.ts","../../../libs/design/article/examples/src/article-link/article-link.component.html","../../../libs/design/article/examples/src/article-lead/article-lead.component.ts","../../../libs/design/article/examples/src/article-lead/article-lead.component.html","../../../libs/design/article/examples/src/article-blockquote/article-blockquote.component.ts","../../../libs/design/article/examples/src/article-blockquote/article-blockquote.component.html","../../../libs/design/article/examples/src/article-table/article-table.component.ts","../../../libs/design/article/examples/src/article-table/article-table.component.html","../../../libs/design/article/examples/src/article-code-block/article-code-block.component.ts","../../../libs/design/article/examples/src/article-code-block/article-code-block.component.html","../../../libs/design/article/examples/src/examples.ts","../../../libs/design/article/examples/src/article-examples.module.ts","../../../libs/design/article/examples/src/daffodil-design-article-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-headings',\n templateUrl: './article-headings.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleHeadingsComponent {}\n","<h1>This is a h1 heading with <code>code</code></h1>\n<h2>This is a h2 heading with <code>code</code></h2>\n<h3>This is a h3 heading with <code>code</code></h3>\n<h4>This is a h4 heading with <code>code</code></h4>\n<h5>This is a h5 heading with <code>code</code></h5>\n<h6>This is a h6 heading with <code>code</code></h6>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-code-inline',\n templateUrl: './article-code-inline.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleCodeInlineComponent {}\n","<daff-article>\n <p>We could be discussing <code>functions</code> or <code>types</code>, but we should indicate the difference between these elements and regular text!</p>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-hr',\n templateUrl: './article-hr.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleHrComponent {}\n","<daff-article>\n <hr>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-ol',\n templateUrl: './article-ol.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleOlComponent {}\n","<daff-article>\n <ol>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n </ol>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-ul',\n templateUrl: './article-ul.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleUlComponent {}\n","<daff-article>\n <ul>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n </ul>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-meta',\n templateUrl: './article-meta.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleMetaComponent {}\n","<daff-article>\n <p daffArticleMeta>Some interesting information about an article</p>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-link',\n templateUrl: './article-link.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleLinkComponent {}\n","<daff-article>\n <a href=\"#\">This is a link.</a>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-lead',\n templateUrl: './article-lead.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleLeadComponent {}\n","<daff-article>\n <p daffArticleLead>This is an Article Lead.</p>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-blockquote',\n templateUrl: './article-blockquote.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleBlockquoteComponent {}\n","<daff-article>\n <blockquote>\n This is a blockquote. This can be used for customer testimonals, document references, etc.\n <cite>Name your quote source here.</cite>\n </blockquote>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-table',\n templateUrl: './article-table.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleTableComponent {}\n","<daff-article>\n <table>\n <thead>\n <tr>\n <th>Product Name</th>\n <th>Description</th>\n <th>Price</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>T-Shirt</td>\n <td>White Crew Neck T-Shirt</td>\n <td>$20.00</td>\n </tr>\n <tr>\n <td>Shorts</td>\n <td>Black Denim Shorts</td>\n <td>$40.00</td>\n </tr>\n <tr>\n <td>Shoes</td>\n <td>White Sneakers</td>\n <td>$100.00</td>\n </tr>\n </tbody>\n </table>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-code-block',\n templateUrl: './article-code-block.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleCodeBlockComponent {}\n","<daff-article>\n<pre><code>This is a line of code.\nThis is another line of code.\n</code></pre>\n</daff-article>\n","import { ArticleBlockquoteComponent } from './article-blockquote/article-blockquote.component';\nimport { ArticleCodeBlockComponent } from './article-code-block/article-code-block.component';\nimport { ArticleCodeInlineComponent } from './article-code-inline/article-code-inline.component';\nimport { ArticleHeadingsComponent } from './article-headings/article-headings.component';\nimport { ArticleHrComponent } from './article-hr/article-hr.component';\nimport { ArticleLeadComponent } from './article-lead/article-lead.component';\nimport { ArticleLinkComponent } from './article-link/article-link.component';\nimport { ArticleMetaComponent } from './article-meta/article-meta.component';\nimport { ArticleOlComponent } from './article-ol/article-ol.component';\nimport { ArticleTableComponent } from './article-table/article-table.component';\nimport { ArticleUlComponent } from './article-ul/article-ul.component';\n\nexport const ARTICLE_EXAMPLES = [\n ArticleBlockquoteComponent,\n ArticleCodeBlockComponent,\n ArticleCodeInlineComponent,\n ArticleHeadingsComponent,\n ArticleHrComponent,\n ArticleLeadComponent,\n ArticleLinkComponent,\n ArticleMetaComponent,\n ArticleOlComponent,\n ArticleUlComponent,\n ArticleTableComponent,\n];\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffArticleModule } from '@daffodil/design/article';\n\nimport { ARTICLE_EXAMPLES } from './examples';\n\n@NgModule({\n declarations: [\n ...ARTICLE_EXAMPLES,\n ],\n imports: [\n CommonModule,\n DaffArticleModule,\n ],\n})\nexport class ArticleExamplesModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAWa,wBAAwB,CAAA;kIAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAxB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,wDCXrC,oUAKoD,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FDMvC,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBANpC,SAAS;+BAEE,kBAAkB,EAAA,eAAA,EAEX,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,oUAAA,EAAA,CAAA;;;MEEpC,0BAA0B,CAAA;kIAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA1B,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,0BAA0B,2DCXvC,+LAEe,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,cAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EA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C1B,wBAAwB;IACxB,kBAAkB;IAClB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,kBAAkB;IAClB,kBAAkB;IAClB,qBAAqB;;;MCPV,qBAAqB,CAAA;kIAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAArB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,8RAJ9B,YAAY;YACZ,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGR,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAJ9B,YAAY;YACZ,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGR,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBATjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;AACZ,wBAAA,GAAG,gBAAgB;AACpB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,iBAAiB;AAClB,qBAAA;AACF,iBAAA,CAAA;;;ACfD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"daffodil-design-article-examples.mjs","sources":["../../../libs/design/article/examples/src/article-headings/article-headings.component.ts","../../../libs/design/article/examples/src/article-headings/article-headings.component.html","../../../libs/design/article/examples/src/article-code-inline/article-code-inline.component.ts","../../../libs/design/article/examples/src/article-code-inline/article-code-inline.component.html","../../../libs/design/article/examples/src/article-hr/article-hr.component.ts","../../../libs/design/article/examples/src/article-hr/article-hr.component.html","../../../libs/design/article/examples/src/article-ol/article-ol.component.ts","../../../libs/design/article/examples/src/article-ol/article-ol.component.html","../../../libs/design/article/examples/src/article-ul/article-ul.component.ts","../../../libs/design/article/examples/src/article-ul/article-ul.component.html","../../../libs/design/article/examples/src/article-meta/article-meta.component.ts","../../../libs/design/article/examples/src/article-meta/article-meta.component.html","../../../libs/design/article/examples/src/article-link/article-link.component.ts","../../../libs/design/article/examples/src/article-link/article-link.component.html","../../../libs/design/article/examples/src/article-blockquote/article-blockquote.component.ts","../../../libs/design/article/examples/src/article-blockquote/article-blockquote.component.html","../../../libs/design/article/examples/src/article-table/article-table.component.ts","../../../libs/design/article/examples/src/article-table/article-table.component.html","../../../libs/design/article/examples/src/article-code-block/article-code-block.component.ts","../../../libs/design/article/examples/src/article-code-block/article-code-block.component.html","../../../libs/design/article/examples/src/examples.ts","../../../libs/design/article/examples/src/article-examples.module.ts","../../../libs/design/article/examples/src/daffodil-design-article-examples.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-headings',\n templateUrl: './article-headings.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleHeadingsComponent {}\n","<h1>This is a h1 heading with <code>code</code></h1>\n<h2>This is a h2 heading with <code>code</code></h2>\n<h3>This is a h3 heading with <code>code</code></h3>\n<h4>This is a h4 heading with <code>code</code></h4>\n<h5>This is a h5 heading with <code>code</code></h5>\n<h6>This is a h6 heading with <code>code</code></h6>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-code-inline',\n templateUrl: './article-code-inline.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleCodeInlineComponent {}\n","<daff-article>\n <p>We could be discussing <code>functions</code> or <code>types</code>, but we should indicate the difference between these elements and regular text!</p>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-hr',\n templateUrl: './article-hr.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleHrComponent {}\n","<daff-article>\n <hr>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-ol',\n templateUrl: './article-ol.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleOlComponent {}\n","<daff-article>\n <ol>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n <li>This is an ordered list.</li>\n </ol>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-ul',\n templateUrl: './article-ul.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleUlComponent {}\n","<daff-article>\n <ul>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n <li>This is an unordered list.</li>\n </ul>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-meta',\n templateUrl: './article-meta.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleMetaComponent {}\n","<daff-article>\n <p daffArticleMeta>Some interesting information about an article</p>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-link',\n templateUrl: './article-link.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleLinkComponent {}\n","<daff-article>\n <a href=\"#\">This is a link.</a>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-blockquote',\n templateUrl: './article-blockquote.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleBlockquoteComponent {}\n","<daff-article>\n <blockquote>\n This is a blockquote. This can be used for customer testimonals, document references, etc.\n <cite>Name your quote source here.</cite>\n </blockquote>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-table',\n templateUrl: './article-table.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleTableComponent {}\n","<daff-article>\n <table>\n <thead>\n <tr>\n <th>Product Name</th>\n <th>Description</th>\n <th>Price</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>T-Shirt</td>\n <td>White Crew Neck T-Shirt</td>\n <td>$20.00</td>\n </tr>\n <tr>\n <td>Shorts</td>\n <td>Black Denim Shorts</td>\n <td>$40.00</td>\n </tr>\n <tr>\n <td>Shoes</td>\n <td>White Sneakers</td>\n <td>$100.00</td>\n </tr>\n </tbody>\n </table>\n</daff-article>","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'article-code-block',\n templateUrl: './article-code-block.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ArticleCodeBlockComponent {}\n","<daff-article>\n<pre><code>This is a line of code.\nThis is another line of code.\n</code></pre>\n</daff-article>\n","import { ArticleBlockquoteComponent } from './article-blockquote/article-blockquote.component';\nimport { ArticleCodeBlockComponent } from './article-code-block/article-code-block.component';\nimport { ArticleCodeInlineComponent } from './article-code-inline/article-code-inline.component';\nimport { ArticleHeadingsComponent } from './article-headings/article-headings.component';\nimport { ArticleHrComponent } from './article-hr/article-hr.component';\nimport { ArticleLinkComponent } from './article-link/article-link.component';\nimport { ArticleMetaComponent } from './article-meta/article-meta.component';\nimport { ArticleOlComponent } from './article-ol/article-ol.component';\nimport { ArticleTableComponent } from './article-table/article-table.component';\nimport { ArticleUlComponent } from './article-ul/article-ul.component';\n\nexport const ARTICLE_EXAMPLES = [\n ArticleBlockquoteComponent,\n ArticleCodeBlockComponent,\n ArticleCodeInlineComponent,\n ArticleHeadingsComponent,\n ArticleHrComponent,\n ArticleLinkComponent,\n ArticleMetaComponent,\n ArticleOlComponent,\n ArticleUlComponent,\n ArticleTableComponent,\n];\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffArticleModule } from '@daffodil/design/article';\n\nimport { ARTICLE_EXAMPLES } from './examples';\n\n@NgModule({\n declarations: [\n ...ARTICLE_EXAMPLES,\n ],\n imports: [\n CommonModule,\n DaffArticleModule,\n ],\n})\nexport class ArticleExamplesModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAWa,wBAAwB,CAAA;kIAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAxB,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,wDCXrC,oUAKoD,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FDMvC,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBANpC,SAAS;+BAEE,kBAAkB,EAAA,eAAA,EAEX,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,oUAAA,EAAA,CAAA;;;MEEpC,0BAA0B,CAAA;kIAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA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