@daffodil/design 0.85.0 → 0.86.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.
Files changed (60) hide show
  1. package/atoms/form/error-message/error-message.component.d.ts +6 -0
  2. package/atoms/form/form-field/form-field/form-field.component.d.ts +83 -13
  3. package/atoms/form/form-field/form-field-control.d.ts +2 -0
  4. package/atoms/form/form-field/form-field.d.ts +2 -1
  5. package/atoms/form/form-field/label/label.directive.d.ts +5 -0
  6. package/atoms/form/form-field/public_api.d.ts +1 -0
  7. package/atoms/form/form-label/form-label.directive.d.ts +3 -0
  8. package/atoms/form/hint/hint.component.d.ts +1 -1
  9. package/button/README.md +3 -3
  10. package/button/button/button-base.directive.d.ts +1 -2
  11. package/button/src/button/button-base.scss +0 -18
  12. package/core/compactable/compactable.directive.d.ts +3 -0
  13. package/core/openable/openable.directive.d.ts +1 -1
  14. package/core/selectable/selectable.directive.d.ts +3 -1
  15. package/core/sizable/sizable.directive.d.ts +2 -2
  16. package/core/skeletonable/public_api.d.ts +0 -1
  17. package/core/skeletonable/skeletonable.directive.d.ts +3 -0
  18. package/core/text-alignable/text-alignable.directive.d.ts +9 -5
  19. package/fesm2022/daffodil-design-article.mjs +2 -2
  20. package/fesm2022/daffodil-design-breadcrumb.mjs +2 -2
  21. package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
  22. package/fesm2022/daffodil-design-button-examples.mjs +12 -12
  23. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  24. package/fesm2022/daffodil-design-button.mjs +15 -39
  25. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  26. package/fesm2022/daffodil-design-image.mjs +2 -2
  27. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  28. package/fesm2022/daffodil-design-input-examples.mjs +10 -10
  29. package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
  30. package/fesm2022/daffodil-design-input.mjs +48 -5
  31. package/fesm2022/daffodil-design-input.mjs.map +1 -1
  32. package/fesm2022/daffodil-design-media-gallery.mjs +2 -2
  33. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  34. package/fesm2022/daffodil-design-quantity-field-examples.mjs +4 -4
  35. package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +1 -1
  36. package/fesm2022/daffodil-design-toast-examples.mjs +0 -59
  37. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  38. package/fesm2022/daffodil-design-toast.mjs +52 -40
  39. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  40. package/fesm2022/daffodil-design.mjs +228 -98
  41. package/fesm2022/daffodil-design.mjs.map +1 -1
  42. package/input/input.component.d.ts +21 -5
  43. package/package.json +1 -1
  44. package/scss/state/skeleton/_mixins.scss +4 -1
  45. package/scss/theming/contrast/luminance/luminance.scss +3 -3
  46. package/src/atoms/form/form-field/form-field/form-field-theme.scss +7 -2
  47. package/toast/README.md +21 -1
  48. package/toast/examples/public_api.d.ts +1 -2
  49. package/toast/helpers/toast-position.d.ts +8 -0
  50. package/toast/interfaces/toast-options.d.ts +19 -0
  51. package/toast/interfaces/toast.d.ts +1 -1
  52. package/toast/public_api.d.ts +2 -2
  53. package/toast/service/position-strategy.d.ts +1 -1
  54. package/toast/service/position.service.d.ts +1 -1
  55. package/toast/service/toast.service.d.ts +1 -1
  56. package/toast/toast/toast-provider.d.ts +16 -4
  57. package/toast/toast/toast-template.component.d.ts +1 -1
  58. package/core/skeletonable/skeletonable.d.ts +0 -6
  59. package/toast/examples/toast-positions/toast-positions.component.d.ts +0 -20
  60. package/toast/options/daff-toast-options.d.ts +0 -14
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-design.mjs","sources":["../../../libs/design/src/atoms/form/core/error-state-matcher/error-state-matcher.ts","../../../libs/design/src/core/prefix-suffix/prefix.directive.ts","../../../libs/design/src/core/prefix-suffix/suffix.directive.ts","../../../libs/design/src/core/skeletonable/skeletonable.directive.ts","../../../libs/design/src/atoms/form/form-field/form-field-control.ts","../../../libs/design/src/atoms/form/form-field/form-field-errors.ts","../../../libs/design/src/atoms/form/form-field/form-field/form-field.component.ts","../../../libs/design/src/atoms/form/form-field/form-field/form-field.component.html","../../../libs/design/src/atoms/form/error-message/error-message.component.ts","../../../libs/design/src/atoms/form/error-message/error-message.module.ts","../../../libs/design/src/atoms/form/form-label/form-label.directive.ts","../../../libs/design/src/atoms/form/form-label/form-label.module.ts","../../../libs/design/src/atoms/form/form-field/form-field.module.ts","../../../libs/design/src/atoms/form/hint/hint.component.ts","../../../libs/design/src/atoms/form/form-field/form-field.ts","../../../libs/design/src/atoms/form/native-select/native-select.component.ts","../../../libs/design/src/atoms/form/native-select/native-select.module.ts","../../../libs/design/src/atoms/form/checkbox/checkbox.component.ts","../../../libs/design/src/atoms/form/checkbox/checkbox.component.html","../../../libs/design/src/atoms/form/checkbox/cva/checkbox-cva.directive.ts","../../../libs/design/src/atoms/form/checkbox-set/checkbox-set.component.ts","../../../libs/design/src/atoms/form/checkbox-set/checkbox-set.component.html","../../../libs/design/src/atoms/form/checkbox/checkbox.module.ts","../../../libs/design/src/atoms/form/radio-set/radio-set.component.ts","../../../libs/design/src/atoms/form/radio-set/radio-set.component.html","../../../libs/design/src/atoms/form/radio/radio.component.ts","../../../libs/design/src/atoms/form/radio/radio.html","../../../libs/design/src/atoms/form/radio/registry/radio-registry.ts","../../../libs/design/src/atoms/form/radio/cva/radio-cva.directive.ts","../../../libs/design/src/atoms/form/radio/radio.module.ts","../../../libs/design/src/core/prefix-suffix/prefix-suffix.module.ts","../../../libs/design/src/core/colorable/colorable.ts","../../../libs/design/src/core/colorable/colorable.directive.ts","../../../libs/design/src/core/breakpoints/breakpoints.ts","../../../libs/design/src/core/breakpoints/noop.service.ts","../../../libs/design/src/core/breakpoints/provider.ts","../../../libs/design/src/core/constructor/constructor.ts","../../../libs/design/src/core/statusable/statusable.ts","../../../libs/design/src/core/statusable/statusable.directive.ts","../../../libs/design/src/core/text-alignable/text-alignable.ts","../../../libs/design/src/core/text-alignable/text-alignable.directive.ts","../../../libs/design/src/core/compactable/compactable.directive.ts","../../../libs/design/src/core/manage-container-layout/manage-container-layout.directive.ts","../../../libs/design/src/core/article-encapsulated/article-encapsulated.directive.ts","../../../libs/design/src/core/theming/types/theme.ts","../../../libs/design/src/core/theming/services/os-theme/ostheme.service.ts","../../../libs/design/src/core/theming/services/storage/theme-storage.service.ts","../../../libs/design/src/core/theming/functions/computer.ts","../../../libs/design/src/core/theming/services/theming.service.ts","../../../libs/design/src/core/theming/services/class-setter/theme-class-setter.service.ts","../../../libs/design/src/core/theming/initializer.ts","../../../libs/design/src/core/focus/focusable-elements.ts","../../../libs/design/src/core/focus/stack.service.ts","../../../libs/design/src/core/sizable/sizable.ts","../../../libs/design/src/core/sizable/sizable.directive.ts","../../../libs/design/src/core/openable/utils/state-error.ts","../../../libs/design/src/core/openable/openable.directive.ts","../../../libs/design/src/core/selectable/selectable.directive.ts","../../../libs/design/src/core/public_api.ts","../../../libs/design/src/public_api.ts","../../../libs/design/src/index.ts","../../../libs/design/src/daffodil-design.ts"],"sourcesContent":["import { UntypedFormControl } from '@angular/forms';\n\nexport class DaffErrorStateMatcher {\n\n isErrorState(control: UntypedFormControl, formSubmitted: boolean): boolean {\n return control.errors && (control.touched || formSubmitted);\n }\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n *\n * Prefix can be used to place content before another piece of content in components like\n * `daff-form-field`, `daff-solo-field`, and `daff-list`.\n */\n@Directive({\n selector: '[daffPrefix]',\n})\nexport class DaffPrefixDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-prefix') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n *\n * Prefix can be used to place content after another piece of content in components like\n * `daff-form-field`, `daff-solo-field`, and `daff-list`.\n */\n@Directive({\n selector: '[daffSuffix]',\n})\nexport class DaffSuffixDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-suffix') class = true;\n}\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\n/**\n * `DaffSkeletonableDirective` allows a component to display a skeleton loading\n * state by conditionally applying a CSS class. This is useful for indicating to\n * users that content is loading or being processed. This directive can be used to\n * apply a skeleton loading state to any component by toggling the `skeleton`\n * input property. When `skeleton` is `true`, the `daff-skeleton` CSS class\n * is applied, which should style the component to look like a loading placeholder.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffSkeletonable [skeleton]=\"isLoading\">Content</div>\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffSkeletonableDirective,\n * inputs: ['skeleton'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * :host {\n * .daff-skeleton {\n * @include state.skeleton-screen(48px, 24px);\n * }\n * }\n * ```\n *\n * The directive applies the `daff-skeleton` class to the component should be defined in your styles to display the loading\n * state as desired. It can be used in conjuction with the `skeleton-screen` mixin, which provides predefined loading styles.\n */\n@Directive({\n selector: '[daffSkeletonable]',\n standalone: true,\n})\nexport class DaffSkeletonableDirective {\n @Input() @HostBinding('class.daff-skeleton') skeleton = false;\n}\n","import { NgControl } from '@angular/forms';\nimport {\n BehaviorSubject,\n Observable,\n} from 'rxjs';\n\nimport { DaffFormFieldState } from './form-field-state';\n\n/**\n *\n * The class that a form control must **implement** in order to be\n * used with the DaffFormFieldComponent.\n *\n * You may ask: \"Why are you implementing an abstract class, not extending it?\"\n * We do this so that the Angular DI container can match the class token. A typical\n * interface would be \"more accurate\" here, but since interfaces don't exist\n * in javascript, they get thrown out by the typescript compiler and cannot\n * be used for the necessary dependency injection.\n */\nexport abstract class DaffFormFieldControl<T> {\n abstract readonly controlType?: any;\n\n abstract readonly focused: boolean;\n\n get raised() {\n return this.focused;\n };\n\n abstract focus(event?: Event): void;\n\n abstract readonly value: T;\n\n constructor(public ngControl: NgControl | null) {\n }\n\n get state(): DaffFormFieldState {\n return {\n focused: this.focused,\n filled: !!this.value,\n disabled: this.ngControl?.disabled,\n error: this.ngControl?.errors && (this.ngControl?.dirty || this.ngControl?.touched),\n valid: !this.ngControl?.errors && (this.ngControl?.dirty || this.ngControl?.touched),\n };\n }\n\n _stateChanges = new BehaviorSubject({\n focused: false,\n filled: false,\n disabled: false,\n error: false,\n valid: true,\n });\n\n stateChanges: Observable<DaffFormFieldState>;\n\n emitState() {\n this._stateChanges.next(this.state);\n }\n};\n","export const DaffFormFieldMissingControlMessage = 'A DaffFormFieldComponent must contain a DaffFormFieldControl';\n","import {\n Component,\n ViewEncapsulation,\n ContentChild,\n AfterContentInit,\n AfterContentChecked,\n HostBinding,\n ChangeDetectorRef,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\nimport { DaffPrefixDirective } from '../../../../core/prefix-suffix/prefix.directive';\nimport { DaffSuffixDirective } from '../../../../core/prefix-suffix/suffix.directive';\nimport { DaffSkeletonableDirective } from '../../../../core/skeletonable/skeletonable.directive';\nimport { DaffFormFieldControl } from '../form-field-control';\nimport { DaffFormFieldMissingControlMessage } from '../form-field-errors';\n\n@Component({\n selector: 'daff-form-field',\n templateUrl: './form-field.component.html',\n styleUrls: ['./form-field.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: DaffSkeletonableDirective,\n inputs: ['skeleton'],\n },\n ],\n})\nexport class DaffFormFieldComponent implements AfterContentInit, AfterContentChecked {\n /** @docs-private */\n @HostBinding('class.daff-form-field') class = true;\n\n /** @docs-private */\n get isSelectField(): boolean {\n return this._control.controlType === 'native-select';\n }\n\n /** @docs-private */\n @ContentChild(DaffPrefixDirective) _prefix: DaffPrefixDirective;\n\n /** @docs-private */\n @ContentChild(DaffSuffixDirective) _suffix: DaffSuffixDirective;\n\n /**\n * The child form control that the form field manages.\n *\n * @docs-private\n */\n @ContentChild(DaffFormFieldControl) _control: DaffFormFieldControl<unknown>;\n\n /**\n * Tracking property to keep a record of whether or not the\n * form field should be marked as error.\n */\n isError = false;\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-error') get errorClass() {\n return this.isError;\n }\n\n /**\n * Tracking property to keep a record of whether or not the\n * form field contains any user input.\n */\n isFilled = false;\n\n isDisabled = false;\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-disabled') get disabledClass() {\n return this.isDisabled;\n }\n\n /**\n * Tracking property to keep a record of whether or not the\n * form field should be marked as valid.\n */\n isValid = false;\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-valid') get validClass() {\n return this.isValid;\n }\n\n constructor(private cd: ChangeDetectorRef) {}\n\n /**\n * Determines whether or not the form field should display its focused state.\n */\n get isFocused() {\n return this._control?.focused;\n }\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-focused') get focusedClass() {\n return this.isFocused;\n }\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-raised') get raisedClass() {\n return this._control?.raised || this.isFilled;\n }\n\n /**\n * Validate whether or not the FormField is in a \"usable\" state.\n */\n private _validateFormControl() {\n if (!this._control) {\n throw new Error(DaffFormFieldMissingControlMessage);\n }\n }\n\n /**\n * Life cycle hook to verify that the form field has an acceptable\n * child control instance. Mostly useful for development-time\n * validation of usage.\n *\n * @docs-private\n */\n ngAfterContentInit() {\n this._validateFormControl();\n\n this._control.stateChanges?.subscribe(({ focused, filled, disabled, error, valid }) => {\n this.isFilled = filled;\n this.isError = error;\n this.isDisabled = disabled;\n this.isValid = valid;\n\n this.cd.markForCheck();\n });\n }\n\n /**\n * Life cycle hook to verify that the form field has an acceptable\n * child control instance. Mostly useful for development-time\n * validation of usage.\n *\n * @docs-private\n */\n ngAfterContentChecked() {\n this._validateFormControl();\n }\n}\n","<div class=\"daff-form-field__control\">\n\t@if (_prefix) {\n\t\t<ng-content select=\"[daffPrefix]\"></ng-content>\n\t}\n\t<div class=\"daff-form-field__form-wrapper\">\n\t\t<ng-content select=\"label[daffFormLabel]\"></ng-content>\n\t\t<ng-content></ng-content>\n\t\t@if (isSelectField) {\n\t\t\t<div class=\"daff-form-field__icon\"></div>\n\t\t}\n\t</div>\n @if (_suffix) {\n\t\t<ng-content select=\"[daffSuffix]\"></ng-content>\n\t}\n</div>\n<ng-content select=\"daff-hint\"></ng-content>\n<ng-content select=\"daff-error-message\"></ng-content>","import {\n Component,\n ChangeDetectionStrategy,\n HostBinding,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-error-message',\n template: '<ng-content></ng-content>',\n styleUrls: ['./error-message.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffErrorMessageComponent {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-error-message') class = true;\n}\n","import { NgModule } from '@angular/core';\n\nimport { DaffErrorMessageComponent } from './error-message.component';\n\n/**\n * @deprecated in favor of standalone components. Deprecated in version 0.84.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n exports: [\n DaffErrorMessageComponent,\n ],\n imports: [\n DaffErrorMessageComponent,\n ],\n})\nexport class DaffErrorMessageModule { }\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n@Directive({\n selector: '[daffFormLabel]',\n})\nexport class DaffFormLabelDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-form-label') class = true;\n}\n","import { NgModule } from '@angular/core';\n\nimport { DaffFormLabelDirective } from './form-label.directive';\n\n/**\n * @deprecated in favor of standalone components. Deprecated in version 0.84.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n exports: [\n DaffFormLabelDirective,\n ],\n imports: [\n DaffFormLabelDirective,\n ],\n})\n\nexport class DaffFormLabelModule {}\n","import { NgModule } from '@angular/core';\n\nimport { DaffFormFieldComponent } from './form-field/form-field.component';\nimport { DaffErrorMessageModule } from '../error-message/error-message.module';\nimport { DaffFormLabelModule } from '../form-label/form-label.module';\n\n/**\n * @deprecated in favor of standalone components. Deprecated in version 0.84.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n DaffFormFieldComponent,\n DaffErrorMessageModule,\n DaffFormLabelModule,\n ],\n exports: [\n DaffFormFieldComponent,\n DaffErrorMessageModule,\n DaffFormLabelModule,\n ],\n})\nexport class DaffFormFieldModule { }\n","import {\n Component,\n ChangeDetectionStrategy,\n HostBinding,\n Input,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-hint',\n template: '<ng-content></ng-content>',\n styleUrls: ['./hint.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class DaffHintComponent {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hint') class = true;\n\n /**\n * Whether or not the hint has been validated\n * */\n @Input() @HostBinding('class.validated') validated = false;\n}\n","import { DaffFormFieldComponent } from './form-field/form-field.component';\nimport { DaffPrefixDirective } from '../../../core/prefix-suffix/prefix.directive';\nimport { DaffSuffixDirective } from '../../../core/prefix-suffix/suffix.directive';\nimport { DaffErrorMessageComponent } from '../error-message/error-message.component';\nimport { DaffFormLabelDirective } from '../form-label/form-label.directive';\nimport { DaffHintComponent } from '../hint/hint.component';\n\n/**\n * @docs-private\n */\nexport const DAFF_FORM_FIELD_COMPONENTS = <const> [\n DaffFormFieldComponent,\n DaffErrorMessageComponent,\n DaffFormLabelDirective,\n DaffHintComponent,\n DaffPrefixDirective,\n DaffSuffixDirective,\n];\n","import {\n Component,\n ViewEncapsulation,\n Optional,\n Self,\n Input,\n ElementRef,\n HostListener,\n HostBinding,\n ChangeDetectionStrategy,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\nimport { DaffFormFieldControl } from '../form-field/form-field-control';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'select[daff-native-select]',\n template: '<ng-content></ng-content>',\n styleUrls: ['./native-select.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n { provide: DaffFormFieldControl, useExisting: DaffNativeSelectComponent },\n ],\n standalone: false,\n})\n\nexport class DaffNativeSelectComponent extends DaffFormFieldControl<string | number> implements DaffFormFieldControl<string | number> {\n /**\n * @docs-private\n */\n controlType = 'native-select';\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-native-select') class = true;\n\n /**\n * Has the form been submitted.\n */\n @Input() formSubmitted: boolean;\n focused = false;\n\n /**\n * @docs-private\n */\n @HostListener('focus') focus() {\n this.focused = true;\n this.emitState();\n }\n\n /**\n * @docs-private\n */\n @HostListener('blur') blur() {\n this.focused = false;\n this.emitState();\n }\n\n constructor(\n /**\n * @docs-private\n */\n @Optional() @Self() public ngControl: NgControl,\n private _elementRef: ElementRef<HTMLInputElement>,\n ) {\n super(ngControl);\n }\n\n onFocus() {\n this._elementRef.nativeElement.focus();\n }\n\n get value() {\n return this._elementRef.nativeElement.value;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffNativeSelectComponent } from './native-select.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n exports: [\n DaffNativeSelectComponent,\n ],\n declarations: [\n DaffNativeSelectComponent,\n ],\n})\nexport class DaffNativeSelectModule { }\n","import {\n Component,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n EventEmitter,\n Output,\n ChangeDetectorRef,\n ViewChild,\n ElementRef,\n} from '@angular/core';\n\nlet checkboxIdNum = 0;\n\n@Component({\n selector: 'daff-checkbox',\n templateUrl: './checkbox.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class DaffCheckboxComponent {\n /**\n * @docs-private\n */\n @ViewChild('inputElement', { static: true, read: ElementRef }) nativeCheckbox: ElementRef<HTMLInputElement>;\n /**\n * The name of the checkbox.\n */\n @Input() name: string;\n /**\n * The value of the checkbox.\n */\n @Input() value: any;\n /**\n * Boolean value to determine whether or not the checkbox is checked.\n */\n private _checked = false;\n\n @Input()\n get checked() {\n return this._checked;\n }\n set checked(value: boolean) {\n if (this._checked === value) {\n return;\n }\n if (value === true) {\n this.nativeCheckbox.nativeElement.checked = true;\n this.becameChecked.emit(this._checked);\n } else {\n this.nativeCheckbox.nativeElement.checked = false;\n this.becameUnchecked.emit();\n }\n\n this._checked = value;\n }\n /**\n * The id of the checkbox. Must be unique. If not entered by a user then it is generated.\n */\n @Input() id: string = 'daff-checkbox-' + checkboxIdNum;\n\n /**\n * The aria-label of the checkbox.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-label') label = '';\n\n /**\n * The aria-labeledby of the checkbox.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-labelledby') labeledBy: string;\n\n /**\n * Event on whether or not the selection has changed.\n */\n @Output() becameChecked: EventEmitter<boolean> = new EventEmitter();\n @Output() becameUnchecked: EventEmitter<void> = new EventEmitter();\n\n /**\n * Whether the checkbox is focused\n */\n focused: boolean;\n /**\n * Whether the checkbox is disabled.\n */\n disabled: boolean;\n\n /**\n * The role of the component. Set to \"checkbox\".\n *\n * @docs-private\n */\n @HostBinding('attr.role') role = 'checkbox';\n\n\n /**\n * @docs-private\n */\n _onChange(val: Event) {\n if ((<HTMLInputElement>val.target).checked) {\n this.select();\n } else {\n this.deselect();\n }\n };\n /**\n * @docs-private\n */\n @HostBinding('class.focused') get focusClass() {\n return this.focused === true;\n };\n /**\n * @docs-private\n */\n @HostBinding('class.disabled') get disabledClass() {\n return this.disabled === true;\n };\n /**\n * Sets focused to false.\n */\n onBlur() {\n this.focused = false;\n }\n /**\n * Sets focused to true.\n */\n onFocus() {\n this.focused = true;\n }\n\n constructor(private _cdRef: ChangeDetectorRef) {\n /**\n * Increments id number on new checkbox. Gurantees unique ID on generation.\n */\n checkboxIdNum++;\n }\n /**\n * Sets checked to true.\n */\n select() {\n this.checked = true;\n this._cdRef.markForCheck();\n }\n /**\n * Sets checked to false\n */\n deselect() {\n this.checked = false;\n this._cdRef.markForCheck();\n }\n}\n","<input #inputElement\ntype=\"checkbox\"\n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labeledBy\"\n[attr.checked]=\"checked ? '' : null\"\n[attr.id] = \"id\"\n[attr.value]=\"value\"\n[attr.name]=\"name\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"_onChange($event)\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"\n/>\n<label [attr.for]=\"id\"><ng-content></ng-content></label>","import {\n Directive,\n Input,\n OnInit,\n Self,\n Optional,\n} from '@angular/core';\nimport {\n NgControl,\n ControlValueAccessor,\n} from '@angular/forms';\n\nimport { DaffCheckboxComponent } from '../checkbox.component';\n\n/**\n * A directive for binding the DaffCheckboxComponent and the Control Value Accessor.\n */\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'daff-checkbox[ngModel], daff-checkbox[formControl], daff-checkbox[formControlName]',\n standalone: false,\n})\nexport class DaffCheckboxControlValueAccessorDirective implements OnInit, ControlValueAccessor {\n _onChange: (val: any) => void;\n _onTouched: () => void;\n\n /**\n * The value of the ControlValueAccessor\n */\n @Input() value: any;\n\n /**\n * The name of the ControlValueAccessor\n */\n @Input() name: string;\n\n constructor(\n @Optional() @Self() public _control: NgControl,\n private _checkbox: DaffCheckboxComponent,\n ) {\n if (this._control != null) {\n this._control.valueAccessor = this;\n }\n }\n\n\n /**\n * A lifecycle method called when the directive is initialized.\n */\n /**\n * @docs-private\n */\n ngOnInit(): void {\n // See the note about `writeValue` usage.\n this.writeValue(this._control.value);\n\n // Watch for user events on the component to update the state\n this._checkbox.becameChecked.subscribe(\n () => {\n this._onChange(true);\n },\n );\n this._checkbox.becameUnchecked.subscribe(\n () => {\n this._onChange(false);\n },\n );\n }\n\n /**\n * writes a new value down into the component.\n */\n writeValue(value: any): void {\n value = !!value;\n if (value === true) {\n this.fireSelect();\n } else {\n this.fireDeselect();\n }\n }\n\n /**\n * Registers the change handler\n */\n registerOnChange(fn: any): void {\n this._onChange = (val) => {\n fn(val);\n };\n }\n\n /**\n * Registers the touched handler\n */\n registerOnTouched(fn: any): void {\n this._onTouched = fn;\n }\n\n /**\n * Sets the disabled state.\n */\n setDisabledState?(isDisabled: boolean): void {\n this._checkbox.disabled = isDisabled;\n }\n\n /**\n * calls the child checkbox's select function\n */\n fireSelect() {\n this._checkbox.select();\n }\n\n /**\n * calls the child checkbox's deselect function\n */\n fireDeselect() {\n this._checkbox.deselect();\n }\n\n}\n","import {\n Component,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n ContentChildren,\n QueryList,\n Output,\n EventEmitter,\n} from '@angular/core';\nimport { UntypedFormArray } from '@angular/forms';\n\nimport { DaffCheckboxComponent } from '../checkbox/checkbox.component';\n\n@Component({\n selector: 'daff-checkbox-set',\n templateUrl: './checkbox-set.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class DaffCheckboxSetComponent {\n\n @Input() formArray: UntypedFormArray;\n /**\n * The name of the checkbox-set\n */\n @Input() name: string;\n\n /**\n * The role of the component. Set to \"checkbox\".\n *\n * @docs-private\n */\n @HostBinding('attr.role') role = 'group';\n\n /**\n * The list of checkboxes in the set.\n *\n * @docs-private\n */\n @ContentChildren(DaffCheckboxComponent) checkboxes: QueryList<DaffCheckboxComponent>;\n\n @Output() valueList = new EventEmitter<any[]>();\n\n getValues(): any[] {\n const checkboxes = this.checkboxes.toArray();\n return this.formArray.value.map((element, index) => element === true ? checkboxes[index].value : false).filter(element => element !== false);\n }\n}\n","<ng-content></ng-content>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffCheckboxComponent } from './checkbox.component';\nimport { DaffCheckboxControlValueAccessorDirective } from './cva/checkbox-cva.directive';\nimport { DaffCheckboxSetComponent } from '../checkbox-set/checkbox-set.component';\n\n@NgModule({\n exports: [\n DaffCheckboxComponent,\n DaffCheckboxSetComponent,\n DaffCheckboxControlValueAccessorDirective,\n ],\n declarations: [\n DaffCheckboxComponent,\n DaffCheckboxSetComponent,\n DaffCheckboxControlValueAccessorDirective,\n ],\n imports: [\n CommonModule,\n ],\n providers: [\n DaffCheckboxSetComponent,\n ],\n})\nexport class DaffCheckboxModule { }\n","import {\n Component,\n HostBinding,\n Input,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-radio-set',\n templateUrl: './radio-set.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class DaffRadioSetComponent {\n\n @Input() name: string;\n\n constructor() { }\n\n /**\n * @docs-private\n */\n @HostBinding('attr.role') role = 'radiogroup';\n\n}\n","<ng-content></ng-content>","import {\n Component,\n OnInit,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n Optional,\n Output,\n EventEmitter,\n} from '@angular/core';\n\nimport { DaffRadioSetComponent } from '../radio-set/radio-set.component';\n\nlet radioUniqueId = 0;\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'daff-radio',\n templateUrl: './radio.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class DaffRadioComponent implements OnInit {\n\n /**\n * @docs-private\n */\n @HostBinding('attr.role') role = 'radio';\n /**\n * @docs-private\n */\n @HostBinding('class.focused') get focusClass() {\n return this.focused === true;\n };\n /**\n * @docs-private\n */\n @HostBinding('class.disabled') get disabledClass() {\n return this.disabled === true;\n };\n\n /**\n * @docs-private\n */\n _checked = false;\n /**\n * Output event of selection being changed\n */\n @Output() selectionChange: EventEmitter<boolean> = new EventEmitter();\n\n\n /**\n * The checked property of the radio\n */\n @Input()\n get checked() {\n return this._checked;\n }\n set checked(value: boolean) {\n if (this._checked !== value) {\n this._checked = value;\n this.selectionChange.emit(this.value);\n }\n }\n /**\n * The value of the radio\n */\n @Input() value: any;\n /**\n * The id of the radio. It is uniquely generated but can be overwritten by the user. Must be unique.\n */\n @Input() id: string = 'daff-radio-' + radioUniqueId;\n\n /**\n * Name of the Radio\n */\n @Input() name = '';\n\n /**\n * Used for aria-label. Default to name if user does not input a label.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-label') label: string = this.name;\n\n /**\n * Used for aria-labelledby.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-labelledby') labelledby: string;\n\n\n disabled = false;\n focused = false;\n\n constructor(@Optional() private radioset: DaffRadioSetComponent) {\n radioUniqueId++;\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n this.name = this.radioset ? this.radioset.name : this.name;\n }\n\n /**\n * updates Focus styling\n */\n onFocus() {\n this.focused = true;\n }\n /**\n * updates Blur styling\n */\n onBlur() {\n this.focused = false;\n }\n /**\n * toggles checked attribute on\n */\n select(): void {\n this.checked = true;\n }\n /**\n * toggles checked attribute off\n */\n deselect(): void {\n this.checked = false;\n }\n onChange() {\n this.select();\n };\n}\n","<input type=\"radio\" \n[attr.checked]=\"checked ? '' : null\" \n[attr.id]=\"id\" \n[attr.name]=\"name\" \n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labelledby\"\n[attr.value]=\"value\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"onChange()\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"/>\n<label [attr.for]=\"id\">\n <ng-content></ng-content>\n</label>","import { Injectable } from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\nimport { DaffRadioControlValueAccessorDirective } from '../cva/radio-cva.directive';\n\nexport interface ControlAccessorPair {\n control: NgControl;\n accessor: DaffRadioControlValueAccessorDirective;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class DaffRadioRegistry {\n private _accessors: ControlAccessorPair[] = [];\n\n /**\n * @description\n * Adds a control to the internal registry.\n */\n add(control: NgControl, accessor: DaffRadioControlValueAccessorDirective) {\n this._accessors.push({\n control,\n accessor,\n });\n }\n\n /**\n * @description\n * Removes a control from the internal registry.\n */\n remove(accessor: DaffRadioControlValueAccessorDirective) {\n for (let i = this._accessors.length - 1; i >= 0; --i) {\n if (this._accessors[i]['accessor'] === accessor) {\n this._accessors.splice(i, 1);\n return;\n }\n }\n }\n\n /**\n * @description\n * Selects a radio button.\n */\n select(accessor: DaffRadioControlValueAccessorDirective) {\n this._accessors.forEach((c) => {\n if (this._isSameGroup(c, accessor) && c['accessor'] !== accessor) {\n c['accessor'].fireDeselect();\n }\n });\n }\n\n private _isSameGroup(\n controlPair: ControlAccessorPair,\n accessor: DaffRadioControlValueAccessorDirective): boolean {\n if (!controlPair['control'].control) {\n return false;\n }\n return controlPair['control'].control.parent === accessor._control.control.parent\n && controlPair['accessor'].name === accessor.name;\n }\n}\n","import {\n Directive,\n Input,\n OnInit,\n Self,\n Optional,\n} from '@angular/core';\nimport {\n NgControl,\n ControlValueAccessor,\n} from '@angular/forms';\n\nimport { DaffRadioComponent } from '../radio.component';\nimport { DaffRadioRegistry } from '../registry/radio-registry';\n\n/**\n * ControlValueAccessor functionality for the DaffRadio\n */\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'daff-radio[ngModel], daff-radio[formControl], daff-radio[formControlName]',\n standalone: false,\n})\nexport class DaffRadioControlValueAccessorDirective implements OnInit, ControlValueAccessor {\n _onChange: () => void;\n _onTouched: () => void;\n\n /**\n * The value of the ControlValueAccessor\n */\n @Input() value: any;\n\n /**\n * The name of the ControlValueAccessor\n */\n @Input() name: string;\n\n constructor(\n @Optional() @Self() public _control: NgControl,\n private _registry: DaffRadioRegistry,\n private _radio: DaffRadioComponent,\n ) {\n if (this._control != null) {\n this._control.valueAccessor = this;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit(): void {\n this.writeValue(this._control.value);\n this._registry.add(this._control, this);\n\n this._radio.selectionChange.subscribe(\n value => value ? this._onChange() : null,\n );\n }\n /**\n *\n * writeValue function from the CVA interface\n */\n writeValue(value: any): void {\n // the this._onChange null check here is necessary because of an ongoing bug in angular forms\n // where writeValue can be called before the component initializes: https://github.com/angular/angular/issues/29218\n if (this.value === value && this._onChange) {\n this._onChange();\n this.fireSelect();\n }\n }\n\n /**\n * registerOnChange implemented from the CVA interface\n */\n registerOnChange(fn: any): void {\n this._onChange = () => {\n fn(this.value);\n this._registry.select(this);\n };\n }\n\n /**\n * registerOnTouch implemented from the CVA interface\n */\n registerOnTouched(fn: any): void {\n this._onTouched = fn;\n }\n\n /**\n * sets the disabled state.\n */\n setDisabledState?(isDisabled: boolean): void {\n this._radio.disabled = isDisabled;\n }\n\n /**\n calls select function for the radio\n */\n fireSelect() {\n this._radio.select();\n }\n\n /**\n calls deselect function for the radio\n */\n fireDeselect() {\n this._radio.deselect();\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffRadioControlValueAccessorDirective } from './cva/radio-cva.directive';\nimport { DaffRadioComponent } from './radio.component';\nimport { DaffRadioSetComponent } from '../radio-set/radio-set.component';\n\n\n\n@NgModule({\n exports:[\n DaffRadioComponent,\n DaffRadioSetComponent,\n DaffRadioControlValueAccessorDirective,\n\n ],\n declarations: [\n DaffRadioControlValueAccessorDirective,\n DaffRadioComponent,\n DaffRadioSetComponent,\n ],\n imports: [\n CommonModule,\n ],\n})\nexport class DaffRadioModule { }\n","import { NgModule } from '@angular/core';\n\nimport { DaffPrefixDirective } from './prefix.directive';\nimport { DaffSuffixDirective } from './suffix.directive';\n\n@NgModule({\n imports: [\n DaffPrefixDirective,\n DaffSuffixDirective,\n ],\n exports: [\n DaffPrefixDirective,\n DaffSuffixDirective,\n ],\n})\nexport class DaffPrefixSuffixModule {}\n","export interface DaffColorable {\n color: DaffPalette;\n}\n\n/**\n * These are the valid options that can be passed to a DaffColorable component.\n */\nexport type DaffPalette = 'primary' | 'secondary' | 'tertiary' | 'light' | 'dark' | 'theme' | 'theme-contrast' | 'black' | 'white' | undefined;\n\n/**\n * Enumerates the available color palette options for a component.\n * These values can be used to apply specific color styles to components within the application.\n */\nexport enum DaffPaletteEnum {\n /**\n * Your primary color.\n */\n Primary = 'primary',\n\n /**\n * Your secondary color.\n */\n Secondary = 'secondary',\n\n /**\n * Your tertiary color.\n */\n Tertiary = 'tertiary',\n\n /**\n * A light color that does not change based on the defined theme.\n */\n Light = 'light',\n\n /**\n * A dark color that does not change based on the defined theme.\n */\n Dark = 'dark',\n\n /**\n * A color that matches the defined theme.\n */\n Theme = 'theme',\n\n /**\n * A color that contrasts against the defined theme.\n */\n ThemeContrast = 'theme-contrast',\n\n /**\n * @deprecated Deprecated in version 0.82.0. Will be removed in version 1.0.0.\n * Black. It's dark.\n */\n Black = 'black',\n\n /**\n * @deprecated Deprecated in version 0.82.0. Will be removed in version 1.0.0.\n * White. It's bright.\n */\n White = 'white',\n}\n","import {\n Directive,\n HostBinding,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffColorable,\n DaffPalette,\n DaffPaletteEnum,\n} from './colorable';\n\nconst colorInPalette = (color: string) => (<any>Object).values(DaffPaletteEnum).includes(color);\n\nconst validateColor = (color: string) => {\n if (color !== undefined && !colorInPalette(color)) {\n console.warn(color + ' is not a valid color in DaffPalette');\n }\n};\n\n/**\n * `DaffColorableDirective` allows a component to conditionally apply color-specific\n * styles by setting CSS classes based on the specified color. This directive is useful\n * for applying different color palettes to a component in an Angular application.\n *\n * Supported colors: `primary | secondary | tertiary | light | dark | theme | theme-contrast`\n *\n * | Color | Class |\n * | -------- | ----- |\n * | `primary` | `.daff-primary`|\n * | `secondary` | `.daff-secondary`|\n * | `tertiary` | `.daff-tertiary`|\n * | `light` | `daff-light` |\n * | `dark` | `daff-dark` |\n * | `theme` | `daff-theme`|\n * | `theme-contrast` | `.daff-theme-contrast`|\n *\n * `white` and `black` have been deprecated in favor of `light` and `dark`.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffColorable [color]=\"primary\">Colored content</div>\n * ```\n *\n * ```scss\n * .div {\n * &.daff-primary {\n * color: daff-color($primary);\n * }\n * }\n * ```\n *\n * In this example, the `daff-primary` class is applied to the `div` element, allowing you to\n * use the color class to style the `div`.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffColorableDirective,\n * inputs: ['color'],\n * },\n * ],\n * })\n * export class CustomComponent {\n * @HostBinding('class.custom-component') class = true;\n * }\n * ```\n *\n * ```scss\n * .custom-component {\n * &.daff-primary {\n * background: daff-color($primary, 10);\n * color: daff-color($primary, 90);\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffColorable]',\n})\nexport class DaffColorableDirective implements DaffColorable, OnChanges, OnInit {\n\n /**\n * Dynamically sets the CSS classes based on the color.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-primary': this.color === DaffPaletteEnum.Primary,\n 'daff-secondary': this.color === DaffPaletteEnum.Secondary,\n 'daff-tertiary': this.color === DaffPaletteEnum.Tertiary,\n 'daff-light': this.color === DaffPaletteEnum.Light,\n 'daff-dark': this.color === DaffPaletteEnum.Dark,\n 'daff-theme': this.color === DaffPaletteEnum.Theme,\n 'daff-theme-contrast': this.color === DaffPaletteEnum.ThemeContrast,\n 'daff-black': this.color === DaffPaletteEnum.Black,\n 'daff-white': this.color === DaffPaletteEnum.White,\n };\n }\n\n /**\n * Sets the color on a component.\n *\n * Default options are: `primary`, `secondary`, `tertiary`, `light`, `dark`, `theme`, and `theme-contrast`.\n */\n @Input() color: DaffPalette;\n\n /**\n * Sets a default color.\n */\n defaultColor: DaffPalette;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.color.currentValue) {\n this.color = this.defaultColor;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n validateColor(this.color);\n if (!this.color) {\n this.color = this.defaultColor;\n }\n }\n}\n\n","export enum DaffBreakpoints {\n DESKTOP = '(min-width: 1920px)',\n LAPTOP = '(min-width: 1440px)',\n SMALL_LAPTOP = '(min-width: 1200px)',\n BIG_TABLET = '(min-width: 1024px)',\n TABLET = '(min-width: 768px)',\n MOBILE = '(min-width: 480px)',\n}\n","import {\n BreakpointObserver,\n BreakpointState,\n} from '@angular/cdk/layout';\nimport { Injectable } from '@angular/core';\nimport {\n Observable,\n of,\n} from 'rxjs';\n\n/**\n * A stubbed out breakpoint observer service.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class NoopBreakpointObserver implements Omit<BreakpointObserver, never> {\n // eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method, @angular-eslint/use-lifecycle-interface\n ngOnDestroy(): void {}\n isMatched(value: string | readonly string[]): boolean {\n return false;\n }\n observe(value: string | readonly string[]): Observable<BreakpointState> {\n return of();\n }\n\n}\n","import { BreakpointObserver } from '@angular/cdk/layout';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n inject,\n InjectionToken,\n PLATFORM_ID,\n} from '@angular/core';\n\nimport { NoopBreakpointObserver } from './noop.service';\n\n/**\n * Provides a {@link NoopBreakpointObserver} if the platform is not browser.\n */\nexport const SERVER_SAFE_BREAKPOINT_OBSERVER = new InjectionToken<Omit<BreakpointObserver, never>>('SERVER_SAFE_BREAKPOINT_OBSERVER', {\n factory: () =>\n isPlatformBrowser(inject(PLATFORM_ID))\n ? inject(BreakpointObserver)\n : inject(NoopBreakpointObserver),\n});\n","/**\n * A basic constructor type useful for mixins\n * See https://blog.mariusschulz.com/2017/05/26/typescript-2-2-mixin-classes\n * for a really good explanation of why mixins are useful.\n */\n\nexport type Constructor<T = Record<string, any>> = new (...args: any[]) => T;\n","/**\n * The `DaffStatusable` interface defines a component that can have a status.\n * This status determines the styling or behavior of the component.\n */\nexport interface DaffStatusable {\n /**\n * The status of the component.\n */\n status: DaffStatus;\n}\n\n/**\n * The `DaffStatus` type defines the possible status values that a component can have.\n * - 'info': Indicatea an informational status.\n * - 'warn': Indicates a warning status.\n * - 'critical': Indicates a critical or error status.\n * - 'success': Indicates a success status.\n */\nexport type DaffStatus = 'info' | 'warn' | 'critical' | 'success';\n\n/**\n * The `DaffStatusEnum` enumerates the possible status values for a component.\n */\nexport enum DaffStatusEnum {\n Info = 'info',\n Warn = 'warn',\n Critical = 'critical',\n Success = 'success'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\nimport {\n DaffStatus,\n DaffStatusEnum,\n DaffStatusable,\n} from './statusable';\n\n/**\n * `DaffStatusableDirective` allows a component to conditionally apply status-specific\n * styles by setting CSS classes based on the specified status. This directive is useful\n * for indicating different statuses such as info, warning, critical, or success states.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffStatusable [status]=\"componentStatus\">Status content</div>\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffStatusableDirective,\n * inputs: ['status'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n *\n * ```scss\n * :host {\n * &.daff-critical {\n * background: daff-color($red, 10);\n * color: daff-color($red, 90);\n * }\n * }\n * ```\n *\n * The directive applies the following CSS classes to the component based on the status:\n *\n * - `daff-info`: Applied when the status is `info`.\n * - `daff-warn`: Applied when the status is `warn`.\n * - `daff-critical`: Applied when the status is `critical`.\n * - `daff-success`: Applied when the status is `success`.\n */\n@Directive({\n selector: '[daffStatusable]',\n standalone: true,\n})\nexport class DaffStatusableDirective implements DaffStatusable {\n\n /**\n * Dynamically sets the CSS classes based on the status.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-info': this.status === DaffStatusEnum.Info,\n 'daff-warn': this.status === DaffStatusEnum.Warn,\n 'daff-critical': this.status === DaffStatusEnum.Critical,\n 'daff-success': this.status === DaffStatusEnum.Success,\n };\n }\n\n /**\n * Sets the status on a component.\n *\n * Default options are: `info`, `warn`, `critical`, and `success`.\n */\n @Input() status: DaffStatus;\n}\n\n","/**\n * Interface for giving a component the ability to customize text alignment for component-specific UI.\n */\nexport interface DaffTextAlignable {\n textAlignment: DaffTextAlignment;\n}\n\n/**\n * The possible types that can be passed to a DaffTextAlignable component\n */\nexport type DaffTextAlignment = 'left' | 'center' | 'right';\nexport enum DaffTextAlignmentEnum {\n Left = 'left',\n Center = 'center',\n Right = 'right'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n OnChanges,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffTextAlignable,\n DaffTextAlignment,\n DaffTextAlignmentEnum,\n} from './text-alignable';\n\n/**\n * `DaffTextAlignableDirective` allows for dynamic text alignment of a component by\n * setting CSS classes based on the specified text alignment. This directive is\n * useful when text alignment needs to be managed dynamically in an Angular component.\n *\n * ## Why not just use CSS?\n *\n * While the native CSS `text-align` property can be used for static text alignment,\n * the `DaffTextAlignableDirective` provides a structured and consistent way to handle\n * dynamic text alignment within Angular components in more complex use cases where the\n * application of `text-align: center;` would cause unexpected side effects.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffTextAlignable textAlignment=\"center\">Aligned text</div>\n * ```\n *\n * In this example, the `daff-center` class is added to the `div` element, allowing\n * you to style the `div` as you wish using the class.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffTextAlignableDirective,\n * inputs: ['textAlignment'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .custom-component {\n * &.daff-left {\n * text-align: left;\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffTextAlignable]',\n standalone: true,\n})\nexport class DaffTextAlignableDirective implements DaffTextAlignable, OnChanges {\n\n /**\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-left': this.textAlignment === DaffTextAlignmentEnum.Left,\n 'daff-center': this.textAlignment === DaffTextAlignmentEnum.Center,\n 'daff-right': this.textAlignment === DaffTextAlignmentEnum.Right,\n };\n }\n\n /**\n * The text alignment of a component.\n *\n * Default options are: `left`, `center`, and `right`.\n */\n @Input() textAlignment: DaffTextAlignment;\n\n /**\n * Sets a default textAlignment.\n */\n public defaultAlignment: DaffTextAlignment;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.textAlignment?.currentValue) {\n this.textAlignment = this.defaultAlignment;\n }\n }\n}\n\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\n/**\n * `DaffCompactableDirective` allows a component to conditionally apply a compact\n * style by toggling a CSS class. This is useful for creating components that can\n * switch between regular and compact styles based on the `compact` property.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffCompactable [compact]=\"isCompact\">Content goes here</div>\n * ```\n *\n * In this example, the `daff-compact` class is applied to the `div` element when\n * `isCompact` is `true`, making the `div` display its compact state.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffCompactableDirective,\n * inputs: ['compact'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * The directive applies the `daff-compact` class to the component and\n * should be defined in your styles to display the compact state as desired.\n *\n * ```scss\n * :host {\n * padding: 8px 16px;\n *\n * &.daff-compact {\n * padding: 4px 8px;\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffCompactable]',\n standalone: true,\n})\nexport class DaffCompactableDirective {\n @Input() @HostBinding('class.daff-compact') compact = false;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * `DaffManageContainerLayoutDirective` gives a component the ability to manage a `DaffContainerComponent`'s layout.\n * By including this directive, predetermined layout styles are passed down to the container.\n *\n * To understand the motivation for this directive, consider:\n *\n * ```html\n * <daff-container>\n * <daff-hero></daff-hero>\n * </daff-container>\n * ```\n * vs.\n *\n * ```html\n * <daff-hero>\n * <daff-container></daff-container>\n * </daff-hero>\n * ```\n *\n * The former may inappropriately constrain the width of its child elements,\n * while the latter (without `DaffManageContainerLayoutDirective`) may unexpectedly\n * interfere in the layout features of its parent element (i.e. display: grid, display: flex).\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <my-custom-component daffManageContainerLayout>\n * <daff-container size=\"lg\"></daff-container>\n * </my-custom-component>\n * ```\n *\n * ```scss\n * :host {\n * display: grid;\n * grid-template-columns: 1fr 1fr;\n * }\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'my-custom-component',\n * template: 'my-custom-component.html',\n * hostDirectives: [{ directive: DaffManageContainerLayoutDirective }],\n * })\n * export class MyCustomComponent { }\n *\n * ```scss\n * :host {\n * display: grid;\n * grid-template-columns: 1fr 1fr;\n * }\n * ```\n *\n * This directive will apply the `daff-manage-container-layout` class to your component, ensuring that the styles set on `:host` are passed down to the container.\n */\n\n@Directive({\n selector: '[daffManageContainerLayout]',\n standalone: true,\n})\nexport class DaffManageContainerLayoutDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-manage-container-layout') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * `DaffArticleEncapsulatedDirective` is used to encapsulate custom components within an article,\n * preventing {@link DaffArticleComponent } styles from bleeding into the component.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <my-custom-component daffArticleEncapsulated></my-custom-component>\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [{ directive: DaffArticleEncapsulatedDirective }],\n * })\n * export class CustomComponent { }\n * ```\n *\n * This directive will apply the `daff-ae` class to the component, ensuring that it is encapsulated from the article's styles.\n */\n@Directive({\n selector: '[daffArticleEncapsulated]',\n standalone: true,\n})\nexport class DaffArticleEncapsulatedDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-ae') class = true;\n}\n","/**\n * The possible states of a theme.\n */\nexport enum DaffTheme {\n Light = 'light',\n Dark = 'dark',\n None = 'none'\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Observable,\n of,\n fromEventPattern,\n} from 'rxjs';\nimport {\n map,\n startWith,\n} from 'rxjs/operators';\n\nimport { DaffTheme } from '../../types/theme';\n\nexport const mediaQueryDarkPreference = '(prefers-color-scheme: dark)';\n\nexport const addHandlerFactory = (window: Window) => (handler: any) => {\n const query = window.matchMedia(mediaQueryDarkPreference);\n return 'addEventListener' in query\n ? query.addEventListener('change', handler)\n : (<MediaQueryList>query).addListener(handler);\n};\n\nexport const removeHandlerFactory = (window: Window) => (handler: any) => {\n const query = window.matchMedia(mediaQueryDarkPreference);\n return 'removeEventListener' in query\n ? query.removeEventListener('change', handler)\n : (<MediaQueryList>query).removeListener(handler);\n};\n\n/**\n * A service for retrieving the operating system's theme preference.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOsThemeService {\n\n preference$: Observable<DaffTheme>;\n\n private doc?: Document;\n\n constructor(@Inject(DOCUMENT) _doc: any) {\n this.doc = <Document>_doc;\n\n this.preference$ = this.doc.defaultView?.matchMedia\n ? fromEventPattern<MediaQueryListEvent>(\n addHandlerFactory(this.doc.defaultView),\n removeHandlerFactory(this.doc.defaultView),\n )\n .pipe(\n startWith(this.doc.defaultView?.matchMedia(mediaQueryDarkPreference)),\n map((e: MediaQueryListEvent) => e.matches),\n map((prefersDark) => prefersDark ? DaffTheme.Dark : DaffTheme.Light),\n )\n : of(DaffTheme.None);\n }\n\n /**\n * Get the operating system's theme preference.\n */\n public getThemePreference(): Observable<DaffTheme> {\n return this.preference$;\n }\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Observable,\n fromEvent,\n Subject,\n merge,\n EMPTY,\n of,\n} from 'rxjs';\nimport {\n map,\n filter,\n startWith,\n shareReplay,\n catchError,\n} from 'rxjs/operators';\n\nimport {\n DaffPersistenceService,\n DaffServerSafePersistenceServiceToken,\n} from '@daffodil/core';\n\nimport { DaffTheme } from '../../types/theme';\n\nexport type ThemeStorageEvent = Pick<StorageEvent, 'newValue' | 'key'>;\n\nexport const THEME_STORAGE_KEY = 'DAFF_THEME';\n\nexport const coerceValue = (val?: string): DaffTheme =>\n val === DaffTheme.Dark || val === DaffTheme.Light\n ? val\n : DaffTheme.None;\n\n/**\n * Generate a StorageEvent\n */\nconst storageEventBuilder = (\n value: DaffTheme,\n): ThemeStorageEvent => ({\n key: THEME_STORAGE_KEY,\n newValue: coerceValue(value) !== DaffTheme.None ? value : null,\n});\n\n/**\n * A service for retrieving and managing the application's stored theme.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffThemeStorageService {\n private theme$: Observable<DaffTheme>;\n private storage$: Subject<ThemeStorageEvent> = new Subject();\n private doc?: Document;\n\n constructor(\n @Inject(DaffServerSafePersistenceServiceToken)\n private storage: DaffPersistenceService,\n @Inject(DOCUMENT) _doc: any,\n ) {\n this.doc = <Document>_doc;\n this.theme$ = merge(\n this.storage$,\n this.doc.defaultView\n ? fromEvent<ThemeStorageEvent>(\n <Window & typeof globalThis>this.doc.defaultView,\n 'storage',\n ).pipe(\n startWith(\n storageEventBuilder(\n this.storage.getItem(THEME_STORAGE_KEY),\n ),\n ),\n catchError((e) => EMPTY),\n )\n : of(storageEventBuilder(\n this.storage.getItem(THEME_STORAGE_KEY),\n )),\n ).pipe(\n filter(\n (e: ThemeStorageEvent) => e.key === THEME_STORAGE_KEY,\n ),\n map((e) => coerceValue(e.newValue)),\n shareReplay(1),\n );\n }\n\n /**\n * Given that Safari doesn't respect in-tab storage events, we have to manually\n * fire storage events in the open tab on Webkit based browsers.\n */\n private progressStorageEvent(theme: DaffTheme) {\n this.storage$.next(storageEventBuilder(theme));\n }\n\n getThemeAsObservable(): Observable<DaffTheme> {\n return this.theme$;\n }\n\n getTheme(): DaffTheme {\n return coerceValue(this.storage.getItem(THEME_STORAGE_KEY));\n }\n\n setTheme(theme: DaffTheme): void {\n this.progressStorageEvent(theme);\n this.storage.setItem(THEME_STORAGE_KEY, theme);\n }\n\n removeThemeSetting(): void {\n this.progressStorageEvent(DaffTheme.None);\n this.storage.removeItem(THEME_STORAGE_KEY);\n }\n}\n","import { DaffTheme } from '../types/theme';\n\n/**\n * Computes the appropriate application theme from the specified values.\n * It cascades from `storedPreference` to `osPreference` to `defaultTheme`.\n */\nexport const daffComputeThemeSetting = (\n osPreference?: DaffTheme,\n storedPreference?: DaffTheme,\n defaultTheme: DaffTheme = DaffTheme.Dark,\n): DaffTheme => {\n if (storedPreference) {\n return storedPreference;\n }\n\n if (osPreference === 'dark') {\n return DaffTheme.Dark;\n }\n\n if (osPreference === 'light') {\n return DaffTheme.Light;\n }\n\n return defaultTheme;\n};\n","import { Injectable } from '@angular/core';\nimport {\n Observable,\n combineLatest,\n} from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { DaffOsThemeService } from './os-theme/ostheme.service';\nimport { DaffThemeStorageService } from './storage/theme-storage.service';\nimport { daffComputeThemeSetting } from '../functions/computer';\nimport { DaffTheme } from '../types/theme';\n\n/**\n * A service for controlling the application's theme.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffThemingService {\n private theme$: Observable<DaffTheme>;\n private theme: DaffTheme;\n\n constructor(\n private osTheme: DaffOsThemeService,\n private themeStorage: DaffThemeStorageService,\n ) {\n\n this.theme$ = combineLatest([\n this.osTheme.getThemePreference(),\n this.themeStorage.getThemeAsObservable(),\n ]).pipe(\n map(([osPreference, storedPreference]) => daffComputeThemeSetting(osPreference, storedPreference)),\n );\n\n this.theme$.subscribe((theme) => {\n this.theme = theme;\n });\n }\n\n /**\n * Get the current theme.\n */\n getTheme(): Observable<DaffTheme> {\n return this.theme$;\n }\n\n /**\n * Set the theme to dark mode.\n */\n darkMode() {\n this.themeStorage.setTheme(DaffTheme.Dark);\n }\n\n /**\n * Set the theme to light mode.\n */\n lightMode() {\n this.themeStorage.setTheme(DaffTheme.Light);\n }\n\n /**\n * Switch between themes.\n */\n switchTheme(): void {\n return this.theme === DaffTheme.Dark\n ? this.lightMode()\n : this.darkMode();\n }\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injectable,\n Inject,\n Renderer2,\n RendererFactory2,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\n\nimport { DaffTheme } from '../../types/theme';\nimport { DaffThemingService } from '../theming.service';\n\nexport const DAFF_THEME_DARK_CSS_CLASS = 'daff-theme-dark';\nexport const DAFF_THEME_LIGHT_CSS_CLASS = 'daff-theme-light';\n\n/**\n * This class updates the body of the application with the theme's appropriate class.\n * Note that this service is not provided tree-shakably by intention.\n * It is intended to be provided manually during setup.\n */\n@Injectable()\nexport class DaffThemeClassSetterService {\n private renderer: Renderer2;\n private subscription: Subscription;\n private doc?: Document;\n\n constructor(\n @Inject(DOCUMENT) _doc: any,\n private rendererFactory: RendererFactory2,\n private themingService: DaffThemingService,\n ) {\n this.doc = <Document>_doc;\n this.renderer = this.rendererFactory.createRenderer(null, null);\n }\n\n /**\n * This function is intended to only be called once when the service\n * is initialized for the very first time. This will mutate the class\n * on the body of the document for the appropriate theme as controlled\n * by the state of the application's theme.\n */\n beginThemeSync(): void {\n this.subscription = this.themingService.getTheme().subscribe((theme) => {\n // For simplicty, remove all previously applied themes.\n this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);\n this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);\n this.renderer.addClass(this.doc.body, theme === DaffTheme.Dark ? DAFF_THEME_DARK_CSS_CLASS : DAFF_THEME_LIGHT_CSS_CLASS);\n });\n }\n\n /**\n * This unsubscribes from the bodyClass subscription that exists.\n */\n destroy(): void {\n this.subscription?.unsubscribe();\n this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);\n this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);\n }\n}\n","import {\n inject,\n makeEnvironmentProviders,\n provideAppInitializer,\n} from '@angular/core';\n\nimport { DaffThemeClassSetterService } from './services/class-setter/theme-class-setter.service';\n\nexport const DAFF_THEME_INIT = (classSetter: DaffThemeClassSetterService) => () => classSetter.beginThemeSync();\n\n/**\n * The theme provider for the app.\n * This configures updating the body with the theme class.\n */\nexport const DAFF_THEME_INITIALIZER = makeEnvironmentProviders([\n DaffThemeClassSetterService,\n provideAppInitializer(() => {\n const initializerFn = (DAFF_THEME_INIT)(inject(DaffThemeClassSetterService));\n return initializerFn();\n }),\n]);\n","export const daffFocusableElementsSelector = 'a[href],a[routerlink], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])';\n","import { DOCUMENT } from '@angular/common';\nimport {\n Inject,\n Injectable,\n} from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\nexport class DaffFocusStackService {\n private _stack: HTMLElement[] = [];\n\n constructor(@Inject(DOCUMENT) private document: any) {\n\n }\n\n /**\n * Return the current length of the stack.\n */\n length(): number {\n return this._stack.length;\n }\n\n /**\n * Adds a HTML element to a focus stack and returns the new length of the stack.\n *\n * Generally, you will probably want to call this before you transition focus\n * onto a new element.\n *\n * @example Using the push function\n * ```ts\n * this._focusStack.push(this._doc.activeElement);\n * ```\n */\n push(el: HTMLElement | undefined = undefined): number {\n this._stack.push(el ?? this.document.activeElement);\n return this._stack.length;\n }\n\n /**\n * Focuses on the HTML element at the top of a stack.\n *\n * @example Using the focus function\n * ```ts\n * this._focusStack.focus(this._doc.activeElement);\n * ```\n */\n focus() {\n if(this._stack.length >= 1) {\n this._stack.slice(-1)[0].focus();\n } else {\n (<HTMLElement>this.document.activeElement).blur();\n }\n }\n\n /**\n * Removes the HMTL element at the top of a stack and focuses on it.\n */\n pop(focus: boolean = true): HTMLElement {\n let el = this._stack.pop();\n while(el === undefined && this._stack.length > 0) {\n el = this._stack.pop();\n }\n\n if(el) {\n if(focus) {\n el.focus();\n }\n return el;\n }\n\n (<HTMLElement>this.document.activeElement).blur();\n return this.document.activeElement;\n }\n}\n","/**\n * Interfaces that gives a component the ability to customize sizing for component specific UI.\n */\n\nexport interface DaffSizable<T extends DaffSizeAllType> {\n size: T;\n}\n\n/**\n * The possible types that can be passed to a component that implements DaffSizable\n */\n\nexport type DaffSizeXSmallType = 'xs';\nexport type DaffSizeSmallType = 'sm';\nexport type DaffSizeMediumType = 'md';\nexport type DaffSizeLargeType = 'lg';\nexport type DaffSizeXLargeType = 'xl';\n\n/**\n * The a type representing all available sizes.\n */\nexport type DaffSizeAllType = DaffSizeXSmallType | DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType | DaffSizeXLargeType;\n\nexport enum DaffSizableEnum {\n XSmall = 'xs',\n Small = 'sm',\n Medium = 'md',\n Large = 'lg',\n XLarge = 'xl'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffSizable,\n DaffSizableEnum,\n DaffSizeAllType,\n} from './sizable';\n\n/**\n * `DaffSizableDirective` allows for dynamic sizing of a component by setting\n * CSS classes based on the specified size.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffSizable [size]=\"small\">Sized content</div>\n * ```\n * In this example, the `daff-small` class is applied to the `div` element, allowing you to\n * use the class to style the `div`.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffSizableDirective,\n * inputs: ['size'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * :host {\n * &.daff-sm {\n * width: 24px;\n * }\n *\n * &.daff-md {\n * width: 32px;\n * }\n * }\n * ```\n *\n * The directive applies the following CSS classes to the component based on the size:\n *\n * - `daff-xs`: Applied when the size is `xs`.\n * - `daff-sm`: Applied when the size is `sm`.\n * - `daff-md`: Applied when the size is `md`.\n * - `daff-lg`: Applied when the size is `lg`.\n * - `daff-xl`: Applied when the size is `xl`.\n */\n@Directive({\n selector: '[daffSizable]',\n standalone: true,\n})\nexport class DaffSizableDirective<T extends DaffSizeAllType> implements DaffSizable<T>, OnChanges, OnInit {\n\n /**\n * Dynamically sets the CSS classes based on the size.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-xs': this.size === DaffSizableEnum.XSmall,\n 'daff-sm': this.size === DaffSizableEnum.Small,\n 'daff-md': this.size === DaffSizableEnum.Medium,\n 'daff-lg': this.size === DaffSizableEnum.Large,\n 'daff-xl': this.size === DaffSizableEnum.XLarge,\n };\n }\n\n /**\n * The size of a component.\n *\n * Default options are: `xs`, `sm`, `md`, `lg`, and `xl`.\n */\n @Input() size: T;\n\n /**\n * Sets a default size when no size is provided.\n */\n public defaultSize: T;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if(!changes.size?.currentValue) {\n this.size = this.defaultSize;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n if(!this.size) {\n this.size = this.defaultSize;\n }\n }\n}\n\n","export const DaffOpenableStateError = '`open` cannot be set as an input property on the DaffOpenableDirective if it is not stateless. Did you mean to call `reveal`, `hide`, or `toggle`?';\n","import {\n Directive,\n EventEmitter,\n HostBinding,\n Input,\n OnChanges,\n Output,\n SimpleChanges,\n isDevMode,\n} from '@angular/core';\n\nimport { DaffOpenable } from './openable';\nimport { DaffOpenableStateError } from './utils/state-error';\n\n/**\n * A directive that opens or closes a component. It should only be used as an [Angular Host Directive](https://angular.dev/guide/directives/directive-composition-api).\n * This directive is stateless by default, but it supports both a state and stateless implementation. Only one version should be used within a component.\n *\n * @example Using the DaffOpenableDirective\n * ```ts\n * import {\n * Component,\n * ChangeDetectionStrategy,\n * } from '@angular/core';\n *\n * import { DaffOpenableDirective } from '@daffodil/design';\n *\n * @Component({\n * selector: 'custom-component',\n * template: `\n * <button (click)=\"toggle()\">Click me!</button>\n * <div class=\"hidden-block\">This is a hidden block that can be shown by clicking the button.</div>\n * `,\n * styles: [`\n * :host {\n * .hidden-block {\n * display: none;\n * }\n *\n * &.daff-open {\n * .hidden-block {\n * display: block;\n * }\n * }\n * }`],\n * changeDetection: ChangeDetectionStrategy.OnPush,\n * hostDirectives: [{\n * directive: DaffOpenableDirective,\n * }],\n * })\n * export class CustomComponent {\n * constructor(private openDirective: DaffOpenableDirective) {}\n *\n * toggle() {\n * this.openDirective.toggle();\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffOpenable]',\n standalone: true,\n})\n\nexport class DaffOpenableDirective implements DaffOpenable, OnChanges {\n /** Whether or not a component implementing the directive is open */\n @Input() @HostBinding('class.daff-open') open = false;\n\n private _setOpen(v: boolean) {\n if(!this.stateless) {\n this.open = v;\n }\n }\n\n /** Whether or not a component should handle state\n *\n * @example Setting the `stateless` property on a component\n * ```ts\n * constructor(private openDirective: DaffOpenableDirective) {\n * this.openDirective.stateless = false;\n * }\n * ```\n */\n stateless = true;\n\n /**\n * Event fired when a component is opened (true) or closed (false)\n */\n @Output() toggled: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n /**\n * Open the component\n */\n reveal() {\n this._setOpen(true);\n\n this.toggled.emit(true);\n }\n\n /**\n * Close the component\n */\n hide() {\n this._setOpen(false);\n\n this.toggled.emit(false);\n }\n\n /**\n * Open or close the component, depending on if it's currently open or not\n */\n toggle() {\n const state = !this.open;\n\n this._setOpen(state);\n\n this.toggled.emit(state);\n }\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n /**\n * Throw an error if open is set in a component that is not stateless\n */\n if(changes.open.currentValue && !this.stateless) {\n this.open = changes.open.previousValue;\n\n if(isDevMode()) {\n throw new Error(DaffOpenableStateError);\n }\n }\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n EventEmitter,\n HostBinding,\n Input,\n Output,\n} from '@angular/core';\n\nimport { DaffSelectable } from '../selectable/selectable';\n\n@Directive({\n selector: '[daffSelected]',\n standalone: true,\n})\n\nexport class DaffSelectableDirective implements DaffSelectable {\n /** Whether or not a component implementing the directive is selected */\n @Input() @HostBinding('class.daff-selected') selected = false;\n\n /**\n * An event that fires after the media element becomes selected.\n */\n @Output() becameSelected: EventEmitter<void> = new EventEmitter<void>();\n\n constructor(private cd: ChangeDetectorRef) {}\n\n select() {\n this.selected = true;\n this.becameSelected.emit();\n this.cd.markForCheck();\n return this;\n }\n\n deselect() {\n this.selected = false;\n this.cd.markForCheck();\n return this;\n }\n}\n","// Core\nexport * from './animation/animation-state-with-params';\nexport * from './prefix-suffix/public_api';\nexport * from './colorable/public_api';\nexport * from './breakpoints/public_api';\nexport * from './constructor/constructor';\nexport * from './statusable/public_api';\nexport * from './skeletonable/public_api';\nexport * from './mutable/mutable';\nexport * from './text-alignable/public_api';\nexport * from './compactable/public_api';\nexport * from './manage-container-layout/public_api';\nexport * from './article-encapsulated/public_api';\nexport * from './theming/public_api';\nexport * from './lazy/public_api';\nexport * from './focus/public_api';\nexport * from './sizable/public_api';\nexport * from './openable/public_api';\nexport * from './selectable/public_api';\n","/*\n * Public API Surface of @daffodil/design\n */\n\n// Atoms\nexport * from './atoms/form/core/public_api';\nexport * from './atoms/form/form-field/public_api';\nexport * from './atoms/form/error-message/public_api';\nexport * from './atoms/form/hint/public_api';\nexport * from './atoms/form/native-select/public_api';\nexport * from './atoms/form/checkbox/public_api';\nexport * from './atoms/form/radio/public_api';\nexport * from './atoms/form/form-label/public_api';\n\n// Core\nexport * from './core/public_api';\n","/**\n * This is a filler file for making the\n * demo work in dev mode.\n */\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.DaffCheckboxComponent","i1.DaffRadioSetComponent","i2.DaffRadioRegistry","i3.DaffRadioComponent","i1.DaffOsThemeService","i2.DaffThemeStorageService","i1.DaffThemingService"],"mappings":";;;;;;;;;MAEa,qBAAqB,CAAA;IAEhC,YAAY,CAAC,OAA2B,EAAE,aAAsB,EAAA;QAC9D,OAAO,OAAO,CAAC,MAAM,KAAK,OAAO,CAAC,OAAO,IAAI,aAAa,CAAC;;AAE9D;;ACFD;;;;AAIG;MAIU,mBAAmB,CAAA;AAHhC,IAAA,WAAA,GAAA;AAKE;;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,QAAA,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE;AAC1B,QAAA,IAAI,CAAC,EAAE,CAAC,YAAY,EAAE;AACtB,QAAA,OAAO,IAAI;;IAGb,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK;AACrB,QAAA,IAAI,CAAC,EAAE,CAAC,YAAY,EAAE;AACtB,QAAA,OAAO,IAAI;;kIArBF,uBAAuB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;sHAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,qBAAA,EAAA,eAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;sFAI8C,QAAQ,EAAA,CAAA;sBAApD;;sBAAS,WAAW;uBAAC,qBAAqB;gBAKjC,cAAc,EAAA,CAAA;sBAAvB;;;ACvBH;;ACAA;;AAEG;AAEH;;ACJA;;;AAGG;;ACHH;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-design.mjs","sources":["../../../libs/design/src/atoms/form/core/error-state-matcher/error-state-matcher.ts","../../../libs/design/src/core/prefix-suffix/prefix.directive.ts","../../../libs/design/src/core/prefix-suffix/suffix.directive.ts","../../../libs/design/src/core/skeletonable/skeletonable.directive.ts","../../../libs/design/src/atoms/form/error-message/error-message.component.ts","../../../libs/design/src/atoms/form/form-label/form-label.directive.ts","../../../libs/design/src/atoms/form/hint/hint.component.ts","../../../libs/design/src/atoms/form/form-field/form-field-control.ts","../../../libs/design/src/atoms/form/form-field/form-field-errors.ts","../../../libs/design/src/atoms/form/form-field/label/label.directive.ts","../../../libs/design/src/atoms/form/form-field/form-field/form-field.component.ts","../../../libs/design/src/atoms/form/form-field/form-field/form-field.component.html","../../../libs/design/src/atoms/form/error-message/error-message.module.ts","../../../libs/design/src/atoms/form/form-label/form-label.module.ts","../../../libs/design/src/atoms/form/form-field/form-field.module.ts","../../../libs/design/src/atoms/form/form-field/form-field.ts","../../../libs/design/src/atoms/form/native-select/native-select.component.ts","../../../libs/design/src/atoms/form/native-select/native-select.module.ts","../../../libs/design/src/atoms/form/checkbox/checkbox.component.ts","../../../libs/design/src/atoms/form/checkbox/checkbox.component.html","../../../libs/design/src/atoms/form/checkbox/cva/checkbox-cva.directive.ts","../../../libs/design/src/atoms/form/checkbox-set/checkbox-set.component.ts","../../../libs/design/src/atoms/form/checkbox-set/checkbox-set.component.html","../../../libs/design/src/atoms/form/checkbox/checkbox.module.ts","../../../libs/design/src/atoms/form/radio-set/radio-set.component.ts","../../../libs/design/src/atoms/form/radio-set/radio-set.component.html","../../../libs/design/src/atoms/form/radio/radio.component.ts","../../../libs/design/src/atoms/form/radio/radio.html","../../../libs/design/src/atoms/form/radio/registry/radio-registry.ts","../../../libs/design/src/atoms/form/radio/cva/radio-cva.directive.ts","../../../libs/design/src/atoms/form/radio/radio.module.ts","../../../libs/design/src/core/prefix-suffix/prefix-suffix.module.ts","../../../libs/design/src/core/colorable/colorable.ts","../../../libs/design/src/core/colorable/colorable.directive.ts","../../../libs/design/src/core/breakpoints/breakpoints.ts","../../../libs/design/src/core/breakpoints/noop.service.ts","../../../libs/design/src/core/breakpoints/provider.ts","../../../libs/design/src/core/constructor/constructor.ts","../../../libs/design/src/core/statusable/statusable.ts","../../../libs/design/src/core/statusable/statusable.directive.ts","../../../libs/design/src/core/text-alignable/text-alignable.ts","../../../libs/design/src/core/text-alignable/text-alignable.directive.ts","../../../libs/design/src/core/compactable/compactable.directive.ts","../../../libs/design/src/core/manage-container-layout/manage-container-layout.directive.ts","../../../libs/design/src/core/article-encapsulated/article-encapsulated.directive.ts","../../../libs/design/src/core/theming/types/theme.ts","../../../libs/design/src/core/theming/services/os-theme/ostheme.service.ts","../../../libs/design/src/core/theming/services/storage/theme-storage.service.ts","../../../libs/design/src/core/theming/functions/computer.ts","../../../libs/design/src/core/theming/services/theming.service.ts","../../../libs/design/src/core/theming/services/class-setter/theme-class-setter.service.ts","../../../libs/design/src/core/theming/initializer.ts","../../../libs/design/src/core/focus/focusable-elements.ts","../../../libs/design/src/core/focus/stack.service.ts","../../../libs/design/src/core/sizable/sizable.ts","../../../libs/design/src/core/sizable/sizable.directive.ts","../../../libs/design/src/core/openable/utils/state-error.ts","../../../libs/design/src/core/openable/openable.directive.ts","../../../libs/design/src/core/selectable/selectable.directive.ts","../../../libs/design/src/core/public_api.ts","../../../libs/design/src/public_api.ts","../../../libs/design/src/index.ts","../../../libs/design/src/daffodil-design.ts"],"sourcesContent":["import { UntypedFormControl } from '@angular/forms';\n\nexport class DaffErrorStateMatcher {\n\n isErrorState(control: UntypedFormControl, formSubmitted: boolean): boolean {\n return control.errors && (control.touched || formSubmitted);\n }\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n *\n * Prefix can be used to place content before another piece of content in components like\n * `daff-form-field`, `daff-solo-field`, and `daff-list`.\n */\n@Directive({\n selector: '[daffPrefix]',\n})\nexport class DaffPrefixDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-prefix') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n *\n * Prefix can be used to place content after another piece of content in components like\n * `daff-form-field`, `daff-solo-field`, and `daff-list`.\n */\n@Directive({\n selector: '[daffSuffix]',\n})\nexport class DaffSuffixDirective {\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-suffix') class = true;\n}\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\n/**\n * `DaffSkeletonableDirective` allows a component to display a skeleton loading\n * state by conditionally applying a CSS class. This is useful for indicating to\n * users that content is loading or being processed. This directive can be used to\n * apply a skeleton loading state to any component by toggling the `skeleton`\n * input property. When `skeleton` is `true`, the `daff-skeleton` CSS class\n * is applied, which should style the component to look like a loading placeholder.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffSkeletonable [skeleton]=\"isLoading\">Content</div>\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffSkeletonableDirective,\n * inputs: ['skeleton'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * :host {\n * .daff-skeleton {\n * @include state.skeleton-screen(48px, 24px);\n * }\n * }\n * ```\n *\n * The directive applies the `daff-skeleton` class to the component should be defined in your styles to display the loading\n * state as desired. It can be used in conjuction with the `skeleton-screen` mixin, which provides predefined loading styles.\n */\n@Directive({\n selector: '[daffSkeletonable]',\n})\nexport class DaffSkeletonableDirective {\n /**\n * Controls whether the component displays a skeleton loading state.\n */\n @Input() @HostBinding('class.daff-skeleton') skeleton = false;\n}\n","import {\n Component,\n ChangeDetectionStrategy,\n HostBinding,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-error-message',\n template: '<ng-content></ng-content>',\n styleUrls: ['./error-message.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DaffErrorMessageComponent {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-error-message') class = true;\n\n /**\n * @docs-private\n *\n * Sets the aria-live of an error message to polite.\n */\n @HostBinding('attr.aria-live') ariaLive = 'polite';\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * @deprecated in favor of the {@link DaffFormFieldLabelDirective}. It will be removed in v1.0.0. Deprecated in version 0.86.0. Will be removed in version 0.89.0.\n */\n@Directive({\n selector: '[daffFormLabel]',\n})\nexport class DaffFormLabelDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-form-label') class = true;\n}\n","import {\n Component,\n ChangeDetectionStrategy,\n HostBinding,\n Input,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-hint',\n template: '<ng-content></ng-content>',\n styleUrls: ['./hint.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n})\nexport class DaffHintComponent {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-hint') class = true;\n\n /**\n * Displays a validated hint UI.\n * */\n @Input() @HostBinding('class.validated') validated = false;\n}\n","import { NgControl } from '@angular/forms';\nimport {\n BehaviorSubject,\n Observable,\n} from 'rxjs';\n\nimport { DaffFormFieldState } from './form-field-state';\n\n/**\n *\n * The class that a form control must **implement** in order to be\n * used with the DaffFormFieldComponent.\n *\n * You may ask: \"Why are you implementing an abstract class, not extending it?\"\n * We do this so that the Angular DI container can match the class token. A typical\n * interface would be \"more accurate\" here, but since interfaces don't exist\n * in javascript, they get thrown out by the typescript compiler and cannot\n * be used for the necessary dependency injection.\n */\nexport abstract class DaffFormFieldControl<T> {\n abstract readonly controlType?: any;\n\n readonly supportsAutoLabelling?: boolean = true;\n\n abstract readonly focused: boolean;\n\n readonly id?: string;\n\n get raised() {\n return this.focused;\n };\n\n abstract focus(event?: Event): void;\n\n abstract readonly value: T;\n\n constructor(public ngControl: NgControl | null) {\n }\n\n get state(): DaffFormFieldState {\n return {\n focused: this.focused,\n filled: !!this.value,\n disabled: this.ngControl?.disabled,\n error: this.ngControl?.errors && (this.ngControl?.dirty || this.ngControl?.touched),\n valid: !this.ngControl?.errors && (this.ngControl?.dirty || this.ngControl?.touched),\n };\n }\n\n _stateChanges = new BehaviorSubject({\n focused: false,\n filled: false,\n disabled: false,\n error: false,\n valid: true,\n });\n\n stateChanges: Observable<DaffFormFieldState>;\n\n emitState() {\n this._stateChanges.next(this.state);\n }\n};\n","export const DaffFormFieldMissingControlMessage = 'A DaffFormFieldComponent must contain a DaffFormFieldControl';\n","import { Directive } from '@angular/core';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'daff-form-label',\n})\nexport class DaffFormFieldLabelDirective {}\n","import {\n Component,\n ViewEncapsulation,\n ContentChild,\n AfterContentInit,\n AfterContentChecked,\n HostBinding,\n ChangeDetectorRef,\n ChangeDetectionStrategy,\n Input,\n AfterViewInit,\n isDevMode,\n} from '@angular/core';\n\nimport { DaffPrefixDirective } from '../../../../core/prefix-suffix/prefix.directive';\nimport { DaffSuffixDirective } from '../../../../core/prefix-suffix/suffix.directive';\nimport { DaffSkeletonableDirective } from '../../../../core/skeletonable/skeletonable.directive';\nimport { DaffErrorMessageComponent } from '../../error-message/error-message.component';\nimport { DaffFormLabelDirective } from '../../form-label/form-label.directive';\nimport { DaffHintComponent } from '../../hint/hint.component';\nimport { DaffFormFieldControl } from '../form-field-control';\nimport { DaffFormFieldMissingControlMessage } from '../form-field-errors';\nimport { DaffFormFieldLabelDirective } from '../label/label.directive';\n\nlet daffFormFieldId = 0;\n\n@Component({\n selector: 'daff-form-field',\n templateUrl: './form-field.component.html',\n styleUrls: ['./form-field.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: DaffSkeletonableDirective,\n inputs: ['skeleton'],\n },\n ],\n})\nexport class DaffFormFieldComponent implements AfterContentInit, AfterContentChecked, AfterViewInit {\n /** @docs-private */\n @HostBinding('class.daff-form-field') class = true;\n\n /** @docs-private */\n get isSelectField(): boolean {\n return this._control.controlType === 'native-select';\n }\n\n constructor(private cd: ChangeDetectorRef) {}\n\n /** @docs-private */\n @ContentChild(DaffPrefixDirective) _prefix: DaffPrefixDirective;\n\n /** @docs-private */\n @ContentChild(DaffSuffixDirective) _suffix: DaffSuffixDirective;\n\n /**\n * @docs-private\n *\n * The child form control that the form field manages.\n */\n @ContentChild(DaffFormFieldControl) _control: DaffFormFieldControl<unknown>;\n\n /**\n * @docs-private\n * @deprecated Should be removed in v1.0.0 Deprecated in version 0.86.0. Will be removed in version 0.89.0.\n */\n @ContentChild(DaffFormLabelDirective) _formLabelDirective: DaffFormLabelDirective;\n\n /**\n * @docs-private\n */\n @ContentChild(DaffFormFieldLabelDirective) _formFieldLabelDirective: DaffFormFieldLabelDirective;\n\n /**\n * @docs-private\n */\n @ContentChild(DaffHintComponent) private _hint: DaffHintComponent;\n\n /**\n * @docs-private\n */\n @ContentChild(DaffErrorMessageComponent) private _error: DaffErrorMessageComponent;\n\n /**\n * @docs-private\n *\n * Tracking property to keep a record of whether or not the\n * form field should be marked as error.\n */\n isError = false;\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-error') get errorClass() {\n return this.isError;\n }\n\n /**\n * @docs-private\n *\n * Tracking property to keep a record of whether or not the\n * form field contains any user input.\n */\n isFilled = false;\n\n /**\n * @docs-private\n *\n * Tracking property to keep a record of whether or not the\n * form field should be marked as disabled.\n */\n isDisabled = false;\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-disabled') get disabledClass() {\n return this.isDisabled;\n }\n\n /**\n * @docs-private\n *\n * Tracking property to keep a record of whether or not the\n * form field should be marked as valid.\n */\n isValid = false;\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-valid') get validClass() {\n return this.isValid;\n }\n\n /**\n * @docs-private\n *\n * Determines whether or not the form field should display its focused state.\n */\n get isFocused() {\n return this._control?.focused;\n }\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-focused') get focusedClass() {\n return this.isFocused;\n }\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-raised') get raisedClass() {\n return this._control?.raised || this.isFilled;\n }\n\n /**\n * The unique id of the form field. Defaults to an autogenerated value. When using this,\n * it's your responsibility to ensure that the id for each form field is unique.\n *\n * It gets assigned to the `for` attribute on the `<label>` inside of the form field.\n */\n @Input() id = 'daff-form-field-' + ++daffFormFieldId;\n\n /**\n * @docs-private\n */\n hasHint(): boolean {\n return this._hint ? true : false;\n }\n\n /**\n * @docs-private\n */\n hintId = this.id + '-hint';\n\n /**\n * @docs-private\n */\n hasErrorMessage(): boolean {\n return this._error ? true : false;\n }\n\n /**\n * @docs-private\n */\n errorMessageId = this.id + '-error';\n\n /**\n * @docs-private\n */\n get autoLabelId() {\n return this._control.supportsAutoLabelling ? this.id : null;\n }\n\n /**\n * @docs-private\n */\n get customId() {\n return this._control.supportsAutoLabelling ? null : this.id;\n }\n\n /**\n * @docs-private\n *\n * Displays a console warning if the `DaffFormFieldLabelDirective` is not used on controls (native HTML control elements) that support auto-labelling.\n */\n ngAfterViewInit() {\n if (isDevMode()) {\n if (!this._formFieldLabelDirective && this._control.supportsAutoLabelling && !(this._control.id)) {\n console.warn(\n `Accessibility Warning: The form field with id \"${this.id}\" uses a control that supports auto-labelling, but no <daff-form-label> component was found.\\n\\n` +\n `1. Add a <daff-form-label> component (recommended)\\n` +\n `2. OR manually set an 'id' on your input and matching 'for' attribute on your <label>.\\n\\n` +\n `Why this matters: Proper labelling ensures assistive technologies can identify form fields correctly.`,\n );\n }\n }\n }\n\n /**\n * Validates whether or not the form field is in a \"usable\" state.\n */\n private _validateFormControl() {\n if (!this._control) {\n throw new Error(DaffFormFieldMissingControlMessage);\n }\n }\n\n /**\n * @docs-private\n *\n * Lifecycle hook to verify that the form field has an acceptable\n * child control instance. Mostly useful for development-time\n * validation of usage.\n */\n ngAfterContentInit() {\n this._validateFormControl();\n\n this._control.stateChanges?.subscribe(({ focused, filled, disabled, error, valid }) => {\n this.isFilled = filled;\n this.isError = error;\n this.isDisabled = disabled;\n this.isValid = valid;\n\n this.cd.markForCheck();\n });\n }\n\n /**\n * @docs-private\n *\n * Lifecycle hook to verify that the form field has an acceptable\n * child control instance. Mostly useful for development-time\n * validation of usage.\n */\n ngAfterContentChecked() {\n this._validateFormControl();\n }\n}\n","<div class=\"daff-form-field__control\">\n\t@if (_prefix) {\n\t\t<ng-content select=\"[daffPrefix]\"></ng-content>\n\t}\n\t<div class=\"daff-form-field__form-wrapper\">\n\t\t@if (_formLabelDirective) {\n\t\t\t<ng-content select=\"label[daffFormLabel]\"></ng-content>\n\t\t} @else if(_formFieldLabelDirective) {\n\t\t\t<label class=\"daff-form-field__label\"\n\t\t\t\t[attr.for]=\"autoLabelId\"\n\t\t\t\t[attr.id]=\"customId\">\n\t\t\t\t<ng-content select=\"daff-form-label\"></ng-content>\n\t\t\t</label>\n\t\t} @else {\n\t\t\t<ng-content select=\"label\"></ng-content>\n\t\t}\n\t\t<ng-content></ng-content>\n\t\t@if (isSelectField) {\n\t\t\t<div class=\"daff-form-field__icon\"></div>\n\t\t}\n\t</div>\n @if (_suffix) {\n\t\t<ng-content select=\"[daffSuffix]\"></ng-content>\n\t}\n</div>\n@if (hasHint()) {\n\t<div\n\t\tclass=\"daff-form-field__hint-wrapper\"\n\t\t[id]=\"hintId\">\n\t\t<ng-content select=\"daff-hint\"></ng-content>\n\t</div>\n}\n@if (hasErrorMessage()) {\n\t<div\n\t\tclass=\"daff-form-field__error-wrapper\"\n\t\t[id]=\"errorMessageId\">\n\t\t<ng-content select=\"daff-error-message\"></ng-content>\n\t</div>\n}","import { NgModule } from '@angular/core';\n\nimport { DaffErrorMessageComponent } from './error-message.component';\n\n/**\n * @deprecated in favor of standalone components. Deprecated in version 0.84.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n exports: [\n DaffErrorMessageComponent,\n ],\n imports: [\n DaffErrorMessageComponent,\n ],\n})\nexport class DaffErrorMessageModule { }\n","import { NgModule } from '@angular/core';\n\nimport { DaffFormLabelDirective } from './form-label.directive';\n\n/**\n * @deprecated in favor of standalone components. Deprecated in version 0.84.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n exports: [\n DaffFormLabelDirective,\n ],\n imports: [\n DaffFormLabelDirective,\n ],\n})\n\nexport class DaffFormLabelModule {}\n","import { NgModule } from '@angular/core';\n\nimport { DaffFormFieldComponent } from './form-field/form-field.component';\nimport { DaffErrorMessageModule } from '../error-message/error-message.module';\nimport { DaffFormLabelModule } from '../form-label/form-label.module';\n\n/**\n * @deprecated in favor of standalone components. Deprecated in version 0.84.0. Will be removed in version 1.0.0.\n */\n@NgModule({\n imports: [\n DaffFormFieldComponent,\n DaffErrorMessageModule,\n DaffFormLabelModule,\n ],\n exports: [\n DaffFormFieldComponent,\n DaffErrorMessageModule,\n DaffFormLabelModule,\n ],\n})\nexport class DaffFormFieldModule { }\n","import { DaffFormFieldComponent } from './form-field/form-field.component';\nimport { DaffPrefixDirective } from '../../../core/prefix-suffix/prefix.directive';\nimport { DaffSuffixDirective } from '../../../core/prefix-suffix/suffix.directive';\nimport { DaffErrorMessageComponent } from '../error-message/error-message.component';\nimport { DaffFormLabelDirective } from '../form-label/form-label.directive';\nimport { DaffHintComponent } from '../hint/hint.component';\nimport { DaffFormFieldLabelDirective } from './label/label.directive';\n\n/**\n * @docs-private\n */\nexport const DAFF_FORM_FIELD_COMPONENTS = <const> [\n DaffFormFieldComponent,\n DaffErrorMessageComponent,\n DaffFormLabelDirective,\n DaffHintComponent,\n DaffPrefixDirective,\n DaffSuffixDirective,\n DaffFormFieldLabelDirective,\n];\n","import {\n Component,\n ViewEncapsulation,\n Optional,\n Self,\n Input,\n ElementRef,\n HostListener,\n HostBinding,\n ChangeDetectionStrategy,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\nimport { DaffFormFieldControl } from '../form-field/form-field-control';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'select[daff-native-select]',\n template: '<ng-content></ng-content>',\n styleUrls: ['./native-select.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n { provide: DaffFormFieldControl, useExisting: DaffNativeSelectComponent },\n ],\n standalone: false,\n})\n\nexport class DaffNativeSelectComponent extends DaffFormFieldControl<string | number> implements DaffFormFieldControl<string | number> {\n /**\n * @docs-private\n */\n controlType = 'native-select';\n\n /**\n * @docs-private\n */\n @HostBinding('class.daff-native-select') class = true;\n\n /**\n * Has the form been submitted.\n */\n @Input() formSubmitted: boolean;\n focused = false;\n\n /**\n * @docs-private\n */\n @HostListener('focus') focus() {\n this.focused = true;\n this.emitState();\n }\n\n /**\n * @docs-private\n */\n @HostListener('blur') blur() {\n this.focused = false;\n this.emitState();\n }\n\n constructor(\n /**\n * @docs-private\n */\n @Optional() @Self() public ngControl: NgControl,\n private _elementRef: ElementRef<HTMLInputElement>,\n ) {\n super(ngControl);\n }\n\n onFocus() {\n this._elementRef.nativeElement.focus();\n }\n\n get value() {\n return this._elementRef.nativeElement.value;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffNativeSelectComponent } from './native-select.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n exports: [\n DaffNativeSelectComponent,\n ],\n declarations: [\n DaffNativeSelectComponent,\n ],\n})\nexport class DaffNativeSelectModule { }\n","import {\n Component,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n EventEmitter,\n Output,\n ChangeDetectorRef,\n ViewChild,\n ElementRef,\n} from '@angular/core';\n\nlet checkboxIdNum = 0;\n\n@Component({\n selector: 'daff-checkbox',\n templateUrl: './checkbox.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class DaffCheckboxComponent {\n /**\n * @docs-private\n */\n @ViewChild('inputElement', { static: true, read: ElementRef }) nativeCheckbox: ElementRef<HTMLInputElement>;\n /**\n * The name of the checkbox.\n */\n @Input() name: string;\n /**\n * The value of the checkbox.\n */\n @Input() value: any;\n /**\n * Boolean value to determine whether or not the checkbox is checked.\n */\n private _checked = false;\n\n @Input()\n get checked() {\n return this._checked;\n }\n set checked(value: boolean) {\n if (this._checked === value) {\n return;\n }\n if (value === true) {\n this.nativeCheckbox.nativeElement.checked = true;\n this.becameChecked.emit(this._checked);\n } else {\n this.nativeCheckbox.nativeElement.checked = false;\n this.becameUnchecked.emit();\n }\n\n this._checked = value;\n }\n /**\n * The id of the checkbox. Must be unique. If not entered by a user then it is generated.\n */\n @Input() id: string = 'daff-checkbox-' + checkboxIdNum;\n\n /**\n * The aria-label of the checkbox.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-label') label = '';\n\n /**\n * The aria-labeledby of the checkbox.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-labelledby') labeledBy: string;\n\n /**\n * Event on whether or not the selection has changed.\n */\n @Output() becameChecked: EventEmitter<boolean> = new EventEmitter();\n @Output() becameUnchecked: EventEmitter<void> = new EventEmitter();\n\n /**\n * Whether the checkbox is focused\n */\n focused: boolean;\n /**\n * Whether the checkbox is disabled.\n */\n disabled: boolean;\n\n /**\n * The role of the component. Set to \"checkbox\".\n *\n * @docs-private\n */\n @HostBinding('attr.role') role = 'checkbox';\n\n\n /**\n * @docs-private\n */\n _onChange(val: Event) {\n if ((<HTMLInputElement>val.target).checked) {\n this.select();\n } else {\n this.deselect();\n }\n };\n /**\n * @docs-private\n */\n @HostBinding('class.focused') get focusClass() {\n return this.focused === true;\n };\n /**\n * @docs-private\n */\n @HostBinding('class.disabled') get disabledClass() {\n return this.disabled === true;\n };\n /**\n * Sets focused to false.\n */\n onBlur() {\n this.focused = false;\n }\n /**\n * Sets focused to true.\n */\n onFocus() {\n this.focused = true;\n }\n\n constructor(private _cdRef: ChangeDetectorRef) {\n /**\n * Increments id number on new checkbox. Gurantees unique ID on generation.\n */\n checkboxIdNum++;\n }\n /**\n * Sets checked to true.\n */\n select() {\n this.checked = true;\n this._cdRef.markForCheck();\n }\n /**\n * Sets checked to false\n */\n deselect() {\n this.checked = false;\n this._cdRef.markForCheck();\n }\n}\n","<input #inputElement\ntype=\"checkbox\"\n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labeledBy\"\n[attr.checked]=\"checked ? '' : null\"\n[attr.id] = \"id\"\n[attr.value]=\"value\"\n[attr.name]=\"name\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"_onChange($event)\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"\n/>\n<label [attr.for]=\"id\"><ng-content></ng-content></label>","import {\n Directive,\n Input,\n OnInit,\n Self,\n Optional,\n} from '@angular/core';\nimport {\n NgControl,\n ControlValueAccessor,\n} from '@angular/forms';\n\nimport { DaffCheckboxComponent } from '../checkbox.component';\n\n/**\n * A directive for binding the DaffCheckboxComponent and the Control Value Accessor.\n */\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'daff-checkbox[ngModel], daff-checkbox[formControl], daff-checkbox[formControlName]',\n standalone: false,\n})\nexport class DaffCheckboxControlValueAccessorDirective implements OnInit, ControlValueAccessor {\n _onChange: (val: any) => void;\n _onTouched: () => void;\n\n /**\n * The value of the ControlValueAccessor\n */\n @Input() value: any;\n\n /**\n * The name of the ControlValueAccessor\n */\n @Input() name: string;\n\n constructor(\n @Optional() @Self() public _control: NgControl,\n private _checkbox: DaffCheckboxComponent,\n ) {\n if (this._control != null) {\n this._control.valueAccessor = this;\n }\n }\n\n\n /**\n * A lifecycle method called when the directive is initialized.\n */\n /**\n * @docs-private\n */\n ngOnInit(): void {\n // See the note about `writeValue` usage.\n this.writeValue(this._control.value);\n\n // Watch for user events on the component to update the state\n this._checkbox.becameChecked.subscribe(\n () => {\n this._onChange(true);\n },\n );\n this._checkbox.becameUnchecked.subscribe(\n () => {\n this._onChange(false);\n },\n );\n }\n\n /**\n * writes a new value down into the component.\n */\n writeValue(value: any): void {\n value = !!value;\n if (value === true) {\n this.fireSelect();\n } else {\n this.fireDeselect();\n }\n }\n\n /**\n * Registers the change handler\n */\n registerOnChange(fn: any): void {\n this._onChange = (val) => {\n fn(val);\n };\n }\n\n /**\n * Registers the touched handler\n */\n registerOnTouched(fn: any): void {\n this._onTouched = fn;\n }\n\n /**\n * Sets the disabled state.\n */\n setDisabledState?(isDisabled: boolean): void {\n this._checkbox.disabled = isDisabled;\n }\n\n /**\n * calls the child checkbox's select function\n */\n fireSelect() {\n this._checkbox.select();\n }\n\n /**\n * calls the child checkbox's deselect function\n */\n fireDeselect() {\n this._checkbox.deselect();\n }\n\n}\n","import {\n Component,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n ContentChildren,\n QueryList,\n Output,\n EventEmitter,\n} from '@angular/core';\nimport { UntypedFormArray } from '@angular/forms';\n\nimport { DaffCheckboxComponent } from '../checkbox/checkbox.component';\n\n@Component({\n selector: 'daff-checkbox-set',\n templateUrl: './checkbox-set.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class DaffCheckboxSetComponent {\n\n @Input() formArray: UntypedFormArray;\n /**\n * The name of the checkbox-set\n */\n @Input() name: string;\n\n /**\n * The role of the component. Set to \"checkbox\".\n *\n * @docs-private\n */\n @HostBinding('attr.role') role = 'group';\n\n /**\n * The list of checkboxes in the set.\n *\n * @docs-private\n */\n @ContentChildren(DaffCheckboxComponent) checkboxes: QueryList<DaffCheckboxComponent>;\n\n @Output() valueList = new EventEmitter<any[]>();\n\n getValues(): any[] {\n const checkboxes = this.checkboxes.toArray();\n return this.formArray.value.map((element, index) => element === true ? checkboxes[index].value : false).filter(element => element !== false);\n }\n}\n","<ng-content></ng-content>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffCheckboxComponent } from './checkbox.component';\nimport { DaffCheckboxControlValueAccessorDirective } from './cva/checkbox-cva.directive';\nimport { DaffCheckboxSetComponent } from '../checkbox-set/checkbox-set.component';\n\n@NgModule({\n exports: [\n DaffCheckboxComponent,\n DaffCheckboxSetComponent,\n DaffCheckboxControlValueAccessorDirective,\n ],\n declarations: [\n DaffCheckboxComponent,\n DaffCheckboxSetComponent,\n DaffCheckboxControlValueAccessorDirective,\n ],\n imports: [\n CommonModule,\n ],\n providers: [\n DaffCheckboxSetComponent,\n ],\n})\nexport class DaffCheckboxModule { }\n","import {\n Component,\n HostBinding,\n Input,\n ChangeDetectionStrategy,\n} from '@angular/core';\n\n@Component({\n selector: 'daff-radio-set',\n templateUrl: './radio-set.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class DaffRadioSetComponent {\n\n @Input() name: string;\n\n constructor() { }\n\n /**\n * @docs-private\n */\n @HostBinding('attr.role') role = 'radiogroup';\n\n}\n","<ng-content></ng-content>","import {\n Component,\n OnInit,\n Input,\n HostBinding,\n ChangeDetectionStrategy,\n Optional,\n Output,\n EventEmitter,\n} from '@angular/core';\n\nimport { DaffRadioSetComponent } from '../radio-set/radio-set.component';\n\nlet radioUniqueId = 0;\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'daff-radio',\n templateUrl: './radio.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class DaffRadioComponent implements OnInit {\n\n /**\n * @docs-private\n */\n @HostBinding('attr.role') role = 'radio';\n /**\n * @docs-private\n */\n @HostBinding('class.focused') get focusClass() {\n return this.focused === true;\n };\n /**\n * @docs-private\n */\n @HostBinding('class.disabled') get disabledClass() {\n return this.disabled === true;\n };\n\n /**\n * @docs-private\n */\n _checked = false;\n /**\n * Output event of selection being changed\n */\n @Output() selectionChange: EventEmitter<boolean> = new EventEmitter();\n\n\n /**\n * The checked property of the radio\n */\n @Input()\n get checked() {\n return this._checked;\n }\n set checked(value: boolean) {\n if (this._checked !== value) {\n this._checked = value;\n this.selectionChange.emit(this.value);\n }\n }\n /**\n * The value of the radio\n */\n @Input() value: any;\n /**\n * The id of the radio. It is uniquely generated but can be overwritten by the user. Must be unique.\n */\n @Input() id: string = 'daff-radio-' + radioUniqueId;\n\n /**\n * Name of the Radio\n */\n @Input() name = '';\n\n /**\n * Used for aria-label. Default to name if user does not input a label.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-label') label: string = this.name;\n\n /**\n * Used for aria-labelledby.\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('aria-labelledby') labelledby: string;\n\n\n disabled = false;\n focused = false;\n\n constructor(@Optional() private radioset: DaffRadioSetComponent) {\n radioUniqueId++;\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n this.name = this.radioset ? this.radioset.name : this.name;\n }\n\n /**\n * updates Focus styling\n */\n onFocus() {\n this.focused = true;\n }\n /**\n * updates Blur styling\n */\n onBlur() {\n this.focused = false;\n }\n /**\n * toggles checked attribute on\n */\n select(): void {\n this.checked = true;\n }\n /**\n * toggles checked attribute off\n */\n deselect(): void {\n this.checked = false;\n }\n onChange() {\n this.select();\n };\n}\n","<input type=\"radio\" \n[attr.checked]=\"checked ? '' : null\" \n[attr.id]=\"id\" \n[attr.name]=\"name\" \n[attr.aria-label]=\"label\"\n[attr.aria-labelledby]=\"labelledby\"\n[attr.value]=\"value\"\n[attr.disabled] = \"disabled ? '' : null\" \n(change)=\"onChange()\"\n(blur)=\"onBlur()\"\n(focus)=\"onFocus()\"/>\n<label [attr.for]=\"id\">\n <ng-content></ng-content>\n</label>","import { Injectable } from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\nimport { DaffRadioControlValueAccessorDirective } from '../cva/radio-cva.directive';\n\nexport interface ControlAccessorPair {\n control: NgControl;\n accessor: DaffRadioControlValueAccessorDirective;\n}\n\n@Injectable({ providedIn: 'root' })\nexport class DaffRadioRegistry {\n private _accessors: ControlAccessorPair[] = [];\n\n /**\n * @description\n * Adds a control to the internal registry.\n */\n add(control: NgControl, accessor: DaffRadioControlValueAccessorDirective) {\n this._accessors.push({\n control,\n accessor,\n });\n }\n\n /**\n * @description\n * Removes a control from the internal registry.\n */\n remove(accessor: DaffRadioControlValueAccessorDirective) {\n for (let i = this._accessors.length - 1; i >= 0; --i) {\n if (this._accessors[i]['accessor'] === accessor) {\n this._accessors.splice(i, 1);\n return;\n }\n }\n }\n\n /**\n * @description\n * Selects a radio button.\n */\n select(accessor: DaffRadioControlValueAccessorDirective) {\n this._accessors.forEach((c) => {\n if (this._isSameGroup(c, accessor) && c['accessor'] !== accessor) {\n c['accessor'].fireDeselect();\n }\n });\n }\n\n private _isSameGroup(\n controlPair: ControlAccessorPair,\n accessor: DaffRadioControlValueAccessorDirective): boolean {\n if (!controlPair['control'].control) {\n return false;\n }\n return controlPair['control'].control.parent === accessor._control.control.parent\n && controlPair['accessor'].name === accessor.name;\n }\n}\n","import {\n Directive,\n Input,\n OnInit,\n Self,\n Optional,\n} from '@angular/core';\nimport {\n NgControl,\n ControlValueAccessor,\n} from '@angular/forms';\n\nimport { DaffRadioComponent } from '../radio.component';\nimport { DaffRadioRegistry } from '../registry/radio-registry';\n\n/**\n * ControlValueAccessor functionality for the DaffRadio\n */\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'daff-radio[ngModel], daff-radio[formControl], daff-radio[formControlName]',\n standalone: false,\n})\nexport class DaffRadioControlValueAccessorDirective implements OnInit, ControlValueAccessor {\n _onChange: () => void;\n _onTouched: () => void;\n\n /**\n * The value of the ControlValueAccessor\n */\n @Input() value: any;\n\n /**\n * The name of the ControlValueAccessor\n */\n @Input() name: string;\n\n constructor(\n @Optional() @Self() public _control: NgControl,\n private _registry: DaffRadioRegistry,\n private _radio: DaffRadioComponent,\n ) {\n if (this._control != null) {\n this._control.valueAccessor = this;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit(): void {\n this.writeValue(this._control.value);\n this._registry.add(this._control, this);\n\n this._radio.selectionChange.subscribe(\n value => value ? this._onChange() : null,\n );\n }\n /**\n *\n * writeValue function from the CVA interface\n */\n writeValue(value: any): void {\n // the this._onChange null check here is necessary because of an ongoing bug in angular forms\n // where writeValue can be called before the component initializes: https://github.com/angular/angular/issues/29218\n if (this.value === value && this._onChange) {\n this._onChange();\n this.fireSelect();\n }\n }\n\n /**\n * registerOnChange implemented from the CVA interface\n */\n registerOnChange(fn: any): void {\n this._onChange = () => {\n fn(this.value);\n this._registry.select(this);\n };\n }\n\n /**\n * registerOnTouch implemented from the CVA interface\n */\n registerOnTouched(fn: any): void {\n this._onTouched = fn;\n }\n\n /**\n * sets the disabled state.\n */\n setDisabledState?(isDisabled: boolean): void {\n this._radio.disabled = isDisabled;\n }\n\n /**\n calls select function for the radio\n */\n fireSelect() {\n this._radio.select();\n }\n\n /**\n calls deselect function for the radio\n */\n fireDeselect() {\n this._radio.deselect();\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffRadioControlValueAccessorDirective } from './cva/radio-cva.directive';\nimport { DaffRadioComponent } from './radio.component';\nimport { DaffRadioSetComponent } from '../radio-set/radio-set.component';\n\n\n\n@NgModule({\n exports:[\n DaffRadioComponent,\n DaffRadioSetComponent,\n DaffRadioControlValueAccessorDirective,\n\n ],\n declarations: [\n DaffRadioControlValueAccessorDirective,\n DaffRadioComponent,\n DaffRadioSetComponent,\n ],\n imports: [\n CommonModule,\n ],\n})\nexport class DaffRadioModule { }\n","import { NgModule } from '@angular/core';\n\nimport { DaffPrefixDirective } from './prefix.directive';\nimport { DaffSuffixDirective } from './suffix.directive';\n\n@NgModule({\n imports: [\n DaffPrefixDirective,\n DaffSuffixDirective,\n ],\n exports: [\n DaffPrefixDirective,\n DaffSuffixDirective,\n ],\n})\nexport class DaffPrefixSuffixModule {}\n","export interface DaffColorable {\n color: DaffPalette;\n}\n\n/**\n * These are the valid options that can be passed to a DaffColorable component.\n */\nexport type DaffPalette = 'primary' | 'secondary' | 'tertiary' | 'light' | 'dark' | 'theme' | 'theme-contrast' | 'black' | 'white' | undefined;\n\n/**\n * Enumerates the available color palette options for a component.\n * These values can be used to apply specific color styles to components within the application.\n */\nexport enum DaffPaletteEnum {\n /**\n * Your primary color.\n */\n Primary = 'primary',\n\n /**\n * Your secondary color.\n */\n Secondary = 'secondary',\n\n /**\n * Your tertiary color.\n */\n Tertiary = 'tertiary',\n\n /**\n * A light color that does not change based on the defined theme.\n */\n Light = 'light',\n\n /**\n * A dark color that does not change based on the defined theme.\n */\n Dark = 'dark',\n\n /**\n * A color that matches the defined theme.\n */\n Theme = 'theme',\n\n /**\n * A color that contrasts against the defined theme.\n */\n ThemeContrast = 'theme-contrast',\n\n /**\n * @deprecated Deprecated in version 0.82.0. Will be removed in version 1.0.0.\n * Black. It's dark.\n */\n Black = 'black',\n\n /**\n * @deprecated Deprecated in version 0.82.0. Will be removed in version 1.0.0.\n * White. It's bright.\n */\n White = 'white',\n}\n","import {\n Directive,\n HostBinding,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffColorable,\n DaffPalette,\n DaffPaletteEnum,\n} from './colorable';\n\nconst colorInPalette = (color: string) => (<any>Object).values(DaffPaletteEnum).includes(color);\n\nconst validateColor = (color: string) => {\n if (color !== undefined && !colorInPalette(color)) {\n console.warn(color + ' is not a valid color in DaffPalette');\n }\n};\n\n/**\n * `DaffColorableDirective` allows a component to conditionally apply color-specific\n * styles by setting CSS classes based on the specified color. This directive is useful\n * for applying different color palettes to a component in an Angular application.\n *\n * Supported colors: `primary | secondary | tertiary | light | dark | theme | theme-contrast`\n *\n * | Color | Class |\n * | -------- | ----- |\n * | `primary` | `.daff-primary`|\n * | `secondary` | `.daff-secondary`|\n * | `tertiary` | `.daff-tertiary`|\n * | `light` | `daff-light` |\n * | `dark` | `daff-dark` |\n * | `theme` | `daff-theme`|\n * | `theme-contrast` | `.daff-theme-contrast`|\n *\n * `white` and `black` have been deprecated in favor of `light` and `dark`.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffColorable [color]=\"primary\">Colored content</div>\n * ```\n *\n * ```scss\n * .div {\n * &.daff-primary {\n * color: daff-color($primary);\n * }\n * }\n * ```\n *\n * In this example, the `daff-primary` class is applied to the `div` element, allowing you to\n * use the color class to style the `div`.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffColorableDirective,\n * inputs: ['color'],\n * },\n * ],\n * })\n * export class CustomComponent {\n * @HostBinding('class.custom-component') class = true;\n * }\n * ```\n *\n * ```scss\n * .custom-component {\n * &.daff-primary {\n * background: daff-color($primary, 10);\n * color: daff-color($primary, 90);\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffColorable]',\n})\nexport class DaffColorableDirective implements DaffColorable, OnChanges, OnInit {\n\n /**\n * Dynamically sets the CSS classes based on the color.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-primary': this.color === DaffPaletteEnum.Primary,\n 'daff-secondary': this.color === DaffPaletteEnum.Secondary,\n 'daff-tertiary': this.color === DaffPaletteEnum.Tertiary,\n 'daff-light': this.color === DaffPaletteEnum.Light,\n 'daff-dark': this.color === DaffPaletteEnum.Dark,\n 'daff-theme': this.color === DaffPaletteEnum.Theme,\n 'daff-theme-contrast': this.color === DaffPaletteEnum.ThemeContrast,\n 'daff-black': this.color === DaffPaletteEnum.Black,\n 'daff-white': this.color === DaffPaletteEnum.White,\n };\n }\n\n /**\n * Sets the color on a component.\n *\n * Default options are: `primary`, `secondary`, `tertiary`, `light`, `dark`, `theme`, and `theme-contrast`.\n */\n @Input() color: DaffPalette;\n\n /**\n * Sets a default color.\n */\n defaultColor: DaffPalette;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.color.currentValue) {\n this.color = this.defaultColor;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n validateColor(this.color);\n if (!this.color) {\n this.color = this.defaultColor;\n }\n }\n}\n\n","export enum DaffBreakpoints {\n DESKTOP = '(min-width: 1920px)',\n LAPTOP = '(min-width: 1440px)',\n SMALL_LAPTOP = '(min-width: 1200px)',\n BIG_TABLET = '(min-width: 1024px)',\n TABLET = '(min-width: 768px)',\n MOBILE = '(min-width: 480px)',\n}\n","import {\n BreakpointObserver,\n BreakpointState,\n} from '@angular/cdk/layout';\nimport { Injectable } from '@angular/core';\nimport {\n Observable,\n of,\n} from 'rxjs';\n\n/**\n * A stubbed out breakpoint observer service.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class NoopBreakpointObserver implements Omit<BreakpointObserver, never> {\n // eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method, @angular-eslint/use-lifecycle-interface\n ngOnDestroy(): void {}\n isMatched(value: string | readonly string[]): boolean {\n return false;\n }\n observe(value: string | readonly string[]): Observable<BreakpointState> {\n return of();\n }\n\n}\n","import { BreakpointObserver } from '@angular/cdk/layout';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n inject,\n InjectionToken,\n PLATFORM_ID,\n} from '@angular/core';\n\nimport { NoopBreakpointObserver } from './noop.service';\n\n/**\n * Provides a {@link NoopBreakpointObserver} if the platform is not browser.\n */\nexport const SERVER_SAFE_BREAKPOINT_OBSERVER = new InjectionToken<Omit<BreakpointObserver, never>>('SERVER_SAFE_BREAKPOINT_OBSERVER', {\n factory: () =>\n isPlatformBrowser(inject(PLATFORM_ID))\n ? inject(BreakpointObserver)\n : inject(NoopBreakpointObserver),\n});\n","/**\n * A basic constructor type useful for mixins\n * See https://blog.mariusschulz.com/2017/05/26/typescript-2-2-mixin-classes\n * for a really good explanation of why mixins are useful.\n */\n\nexport type Constructor<T = Record<string, any>> = new (...args: any[]) => T;\n","/**\n * The `DaffStatusable` interface defines a component that can have a status.\n * This status determines the styling or behavior of the component.\n */\nexport interface DaffStatusable {\n /**\n * The status of the component.\n */\n status: DaffStatus;\n}\n\n/**\n * The `DaffStatus` type defines the possible status values that a component can have.\n * - 'info': Indicatea an informational status.\n * - 'warn': Indicates a warning status.\n * - 'critical': Indicates a critical or error status.\n * - 'success': Indicates a success status.\n */\nexport type DaffStatus = 'info' | 'warn' | 'critical' | 'success';\n\n/**\n * The `DaffStatusEnum` enumerates the possible status values for a component.\n */\nexport enum DaffStatusEnum {\n Info = 'info',\n Warn = 'warn',\n Critical = 'critical',\n Success = 'success'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\nimport {\n DaffStatus,\n DaffStatusEnum,\n DaffStatusable,\n} from './statusable';\n\n/**\n * `DaffStatusableDirective` allows a component to conditionally apply status-specific\n * styles by setting CSS classes based on the specified status. This directive is useful\n * for indicating different statuses such as info, warning, critical, or success states.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffStatusable [status]=\"componentStatus\">Status content</div>\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffStatusableDirective,\n * inputs: ['status'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n *\n * ```scss\n * :host {\n * &.daff-critical {\n * background: daff-color($red, 10);\n * color: daff-color($red, 90);\n * }\n * }\n * ```\n *\n * The directive applies the following CSS classes to the component based on the status:\n *\n * - `daff-info`: Applied when the status is `info`.\n * - `daff-warn`: Applied when the status is `warn`.\n * - `daff-critical`: Applied when the status is `critical`.\n * - `daff-success`: Applied when the status is `success`.\n */\n@Directive({\n selector: '[daffStatusable]',\n standalone: true,\n})\nexport class DaffStatusableDirective implements DaffStatusable {\n\n /**\n * Dynamically sets the CSS classes based on the status.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-info': this.status === DaffStatusEnum.Info,\n 'daff-warn': this.status === DaffStatusEnum.Warn,\n 'daff-critical': this.status === DaffStatusEnum.Critical,\n 'daff-success': this.status === DaffStatusEnum.Success,\n };\n }\n\n /**\n * Sets the status on a component.\n *\n * Default options are: `info`, `warn`, `critical`, and `success`.\n */\n @Input() status: DaffStatus;\n}\n\n","/**\n * Interface for giving a component the ability to customize text alignment for component-specific UI.\n */\nexport interface DaffTextAlignable {\n textAlignment: DaffTextAlignment;\n}\n\n/**\n * The possible types that can be passed to a DaffTextAlignable component\n */\nexport type DaffTextAlignment = 'left' | 'center' | 'right';\nexport enum DaffTextAlignmentEnum {\n Left = 'left',\n Center = 'center',\n Right = 'right'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffTextAlignable,\n DaffTextAlignment,\n DaffTextAlignmentEnum,\n} from './text-alignable';\n\nconst textAlignmentValues = (textAlignment: string) => (<any>Object).values(DaffTextAlignmentEnum).includes(textAlignment);\n\nconst validateTextAlignment = (textAlignment: string) => {\n if (textAlignment !== undefined && !textAlignmentValues(textAlignment)) {\n console.warn(`'${textAlignment}' is not a valid value of the textAlignment property. The available values are: left, center, or right.`);\n }\n};\n\n/**\n * `DaffTextAlignableDirective` allows for dynamic text alignment of a component by\n * setting CSS classes based on the specified text alignment. This directive is\n * useful when text alignment needs to be managed dynamically in an Angular component.\n *\n * ## Why not just use CSS?\n *\n * While the native CSS `text-align` property can be used for static text alignment,\n * the `DaffTextAlignableDirective` provides a structured and consistent way to handle\n * dynamic text alignment within Angular components in more complex use cases where the\n * application of `text-align: center;` would cause unexpected side effects.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffTextAlignable textAlignment=\"center\">Aligned text</div>\n * ```\n *\n * In this example, the `daff-center` class is added to the `div` element, allowing\n * you to style the `div` as you wish using the class.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffTextAlignableDirective,\n * inputs: ['textAlignment'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * .custom-component {\n * &.daff-left {\n * text-align: left;\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffTextAlignable]',\n})\nexport class DaffTextAlignableDirective implements DaffTextAlignable, OnChanges, OnInit {\n\n /**\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-left': this.textAlignment === DaffTextAlignmentEnum.Left,\n 'daff-center': this.textAlignment === DaffTextAlignmentEnum.Center,\n 'daff-right': this.textAlignment === DaffTextAlignmentEnum.Right,\n };\n }\n\n /**\n * The text alignment of the component.\n *\n * Options are: `left`, `center`, and `right`.\n */\n @Input() textAlignment: DaffTextAlignment;\n\n /**\n * Sets a default alignment when no text alignment is provided.\n */\n public defaultAlignment: DaffTextAlignment;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if (!changes.textAlignment?.currentValue) {\n this.textAlignment = this.defaultAlignment;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n validateTextAlignment(this.textAlignment);\n\n if (!this.textAlignment) {\n this.textAlignment = this.defaultAlignment;\n }\n }\n}\n\n","import {\n Directive,\n HostBinding,\n Input,\n} from '@angular/core';\n\n/**\n * `DaffCompactableDirective` allows a component to conditionally apply a compact\n * style by toggling a CSS class. This is useful for creating components that can\n * switch between regular and compact styles based on the `compact` property.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffCompactable [compact]=\"isCompact\">Content goes here</div>\n * ```\n *\n * In this example, the `daff-compact` class is applied to the `div` element when\n * `isCompact` is `true`, making the `div` display its compact state.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffCompactableDirective,\n * inputs: ['compact'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * The directive applies the `daff-compact` class to the component and\n * should be defined in your styles to display the compact state as desired.\n *\n * ```scss\n * :host {\n * padding: 8px 16px;\n *\n * &.daff-compact {\n * padding: 4px 8px;\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffCompactable]',\n standalone: true,\n})\nexport class DaffCompactableDirective {\n /**\n * Controls whether the component is compact.\n */\n @Input() @HostBinding('class.daff-compact') compact = false;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * `DaffManageContainerLayoutDirective` gives a component the ability to manage a `DaffContainerComponent`'s layout.\n * By including this directive, predetermined layout styles are passed down to the container.\n *\n * To understand the motivation for this directive, consider:\n *\n * ```html\n * <daff-container>\n * <daff-hero></daff-hero>\n * </daff-container>\n * ```\n * vs.\n *\n * ```html\n * <daff-hero>\n * <daff-container></daff-container>\n * </daff-hero>\n * ```\n *\n * The former may inappropriately constrain the width of its child elements,\n * while the latter (without `DaffManageContainerLayoutDirective`) may unexpectedly\n * interfere in the layout features of its parent element (i.e. display: grid, display: flex).\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <my-custom-component daffManageContainerLayout>\n * <daff-container size=\"lg\"></daff-container>\n * </my-custom-component>\n * ```\n *\n * ```scss\n * :host {\n * display: grid;\n * grid-template-columns: 1fr 1fr;\n * }\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'my-custom-component',\n * template: 'my-custom-component.html',\n * hostDirectives: [{ directive: DaffManageContainerLayoutDirective }],\n * })\n * export class MyCustomComponent { }\n *\n * ```scss\n * :host {\n * display: grid;\n * grid-template-columns: 1fr 1fr;\n * }\n * ```\n *\n * This directive will apply the `daff-manage-container-layout` class to your component, ensuring that the styles set on `:host` are passed down to the container.\n */\n\n@Directive({\n selector: '[daffManageContainerLayout]',\n standalone: true,\n})\nexport class DaffManageContainerLayoutDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-manage-container-layout') class = true;\n}\n","import {\n Directive,\n HostBinding,\n} from '@angular/core';\n\n/**\n * `DaffArticleEncapsulatedDirective` is used to encapsulate custom components within an article,\n * preventing {@link DaffArticleComponent } styles from bleeding into the component.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <my-custom-component daffArticleEncapsulated></my-custom-component>\n * ```\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [{ directive: DaffArticleEncapsulatedDirective }],\n * })\n * export class CustomComponent { }\n * ```\n *\n * This directive will apply the `daff-ae` class to the component, ensuring that it is encapsulated from the article's styles.\n */\n@Directive({\n selector: '[daffArticleEncapsulated]',\n standalone: true,\n})\nexport class DaffArticleEncapsulatedDirective {\n /**\n * @docs-private\n */\n @HostBinding('class.daff-ae') class = true;\n}\n","/**\n * The possible states of a theme.\n */\nexport enum DaffTheme {\n Light = 'light',\n Dark = 'dark',\n None = 'none'\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Observable,\n of,\n fromEventPattern,\n} from 'rxjs';\nimport {\n map,\n startWith,\n} from 'rxjs/operators';\n\nimport { DaffTheme } from '../../types/theme';\n\nexport const mediaQueryDarkPreference = '(prefers-color-scheme: dark)';\n\nexport const addHandlerFactory = (window: Window) => (handler: any) => {\n const query = window.matchMedia(mediaQueryDarkPreference);\n return 'addEventListener' in query\n ? query.addEventListener('change', handler)\n : (<MediaQueryList>query).addListener(handler);\n};\n\nexport const removeHandlerFactory = (window: Window) => (handler: any) => {\n const query = window.matchMedia(mediaQueryDarkPreference);\n return 'removeEventListener' in query\n ? query.removeEventListener('change', handler)\n : (<MediaQueryList>query).removeListener(handler);\n};\n\n/**\n * A service for retrieving the operating system's theme preference.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOsThemeService {\n\n preference$: Observable<DaffTheme>;\n\n private doc?: Document;\n\n constructor(@Inject(DOCUMENT) _doc: any) {\n this.doc = <Document>_doc;\n\n this.preference$ = this.doc.defaultView?.matchMedia\n ? fromEventPattern<MediaQueryListEvent>(\n addHandlerFactory(this.doc.defaultView),\n removeHandlerFactory(this.doc.defaultView),\n )\n .pipe(\n startWith(this.doc.defaultView?.matchMedia(mediaQueryDarkPreference)),\n map((e: MediaQueryListEvent) => e.matches),\n map((prefersDark) => prefersDark ? DaffTheme.Dark : DaffTheme.Light),\n )\n : of(DaffTheme.None);\n }\n\n /**\n * Get the operating system's theme preference.\n */\n public getThemePreference(): Observable<DaffTheme> {\n return this.preference$;\n }\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Observable,\n fromEvent,\n Subject,\n merge,\n EMPTY,\n of,\n} from 'rxjs';\nimport {\n map,\n filter,\n startWith,\n shareReplay,\n catchError,\n} from 'rxjs/operators';\n\nimport {\n DaffPersistenceService,\n DaffServerSafePersistenceServiceToken,\n} from '@daffodil/core';\n\nimport { DaffTheme } from '../../types/theme';\n\nexport type ThemeStorageEvent = Pick<StorageEvent, 'newValue' | 'key'>;\n\nexport const THEME_STORAGE_KEY = 'DAFF_THEME';\n\nexport const coerceValue = (val?: string): DaffTheme =>\n val === DaffTheme.Dark || val === DaffTheme.Light\n ? val\n : DaffTheme.None;\n\n/**\n * Generate a StorageEvent\n */\nconst storageEventBuilder = (\n value: DaffTheme,\n): ThemeStorageEvent => ({\n key: THEME_STORAGE_KEY,\n newValue: coerceValue(value) !== DaffTheme.None ? value : null,\n});\n\n/**\n * A service for retrieving and managing the application's stored theme.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffThemeStorageService {\n private theme$: Observable<DaffTheme>;\n private storage$: Subject<ThemeStorageEvent> = new Subject();\n private doc?: Document;\n\n constructor(\n @Inject(DaffServerSafePersistenceServiceToken)\n private storage: DaffPersistenceService,\n @Inject(DOCUMENT) _doc: any,\n ) {\n this.doc = <Document>_doc;\n this.theme$ = merge(\n this.storage$,\n this.doc.defaultView\n ? fromEvent<ThemeStorageEvent>(\n <Window & typeof globalThis>this.doc.defaultView,\n 'storage',\n ).pipe(\n startWith(\n storageEventBuilder(\n this.storage.getItem(THEME_STORAGE_KEY),\n ),\n ),\n catchError((e) => EMPTY),\n )\n : of(storageEventBuilder(\n this.storage.getItem(THEME_STORAGE_KEY),\n )),\n ).pipe(\n filter(\n (e: ThemeStorageEvent) => e.key === THEME_STORAGE_KEY,\n ),\n map((e) => coerceValue(e.newValue)),\n shareReplay(1),\n );\n }\n\n /**\n * Given that Safari doesn't respect in-tab storage events, we have to manually\n * fire storage events in the open tab on Webkit based browsers.\n */\n private progressStorageEvent(theme: DaffTheme) {\n this.storage$.next(storageEventBuilder(theme));\n }\n\n getThemeAsObservable(): Observable<DaffTheme> {\n return this.theme$;\n }\n\n getTheme(): DaffTheme {\n return coerceValue(this.storage.getItem(THEME_STORAGE_KEY));\n }\n\n setTheme(theme: DaffTheme): void {\n this.progressStorageEvent(theme);\n this.storage.setItem(THEME_STORAGE_KEY, theme);\n }\n\n removeThemeSetting(): void {\n this.progressStorageEvent(DaffTheme.None);\n this.storage.removeItem(THEME_STORAGE_KEY);\n }\n}\n","import { DaffTheme } from '../types/theme';\n\n/**\n * Computes the appropriate application theme from the specified values.\n * It cascades from `storedPreference` to `osPreference` to `defaultTheme`.\n */\nexport const daffComputeThemeSetting = (\n osPreference?: DaffTheme,\n storedPreference?: DaffTheme,\n defaultTheme: DaffTheme = DaffTheme.Dark,\n): DaffTheme => {\n if (storedPreference) {\n return storedPreference;\n }\n\n if (osPreference === 'dark') {\n return DaffTheme.Dark;\n }\n\n if (osPreference === 'light') {\n return DaffTheme.Light;\n }\n\n return defaultTheme;\n};\n","import { Injectable } from '@angular/core';\nimport {\n Observable,\n combineLatest,\n} from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { DaffOsThemeService } from './os-theme/ostheme.service';\nimport { DaffThemeStorageService } from './storage/theme-storage.service';\nimport { daffComputeThemeSetting } from '../functions/computer';\nimport { DaffTheme } from '../types/theme';\n\n/**\n * A service for controlling the application's theme.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffThemingService {\n private theme$: Observable<DaffTheme>;\n private theme: DaffTheme;\n\n constructor(\n private osTheme: DaffOsThemeService,\n private themeStorage: DaffThemeStorageService,\n ) {\n\n this.theme$ = combineLatest([\n this.osTheme.getThemePreference(),\n this.themeStorage.getThemeAsObservable(),\n ]).pipe(\n map(([osPreference, storedPreference]) => daffComputeThemeSetting(osPreference, storedPreference)),\n );\n\n this.theme$.subscribe((theme) => {\n this.theme = theme;\n });\n }\n\n /**\n * Get the current theme.\n */\n getTheme(): Observable<DaffTheme> {\n return this.theme$;\n }\n\n /**\n * Set the theme to dark mode.\n */\n darkMode() {\n this.themeStorage.setTheme(DaffTheme.Dark);\n }\n\n /**\n * Set the theme to light mode.\n */\n lightMode() {\n this.themeStorage.setTheme(DaffTheme.Light);\n }\n\n /**\n * Switch between themes.\n */\n switchTheme(): void {\n return this.theme === DaffTheme.Dark\n ? this.lightMode()\n : this.darkMode();\n }\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injectable,\n Inject,\n Renderer2,\n RendererFactory2,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\n\nimport { DaffTheme } from '../../types/theme';\nimport { DaffThemingService } from '../theming.service';\n\nexport const DAFF_THEME_DARK_CSS_CLASS = 'daff-theme-dark';\nexport const DAFF_THEME_LIGHT_CSS_CLASS = 'daff-theme-light';\n\n/**\n * This class updates the body of the application with the theme's appropriate class.\n * Note that this service is not provided tree-shakably by intention.\n * It is intended to be provided manually during setup.\n */\n@Injectable()\nexport class DaffThemeClassSetterService {\n private renderer: Renderer2;\n private subscription: Subscription;\n private doc?: Document;\n\n constructor(\n @Inject(DOCUMENT) _doc: any,\n private rendererFactory: RendererFactory2,\n private themingService: DaffThemingService,\n ) {\n this.doc = <Document>_doc;\n this.renderer = this.rendererFactory.createRenderer(null, null);\n }\n\n /**\n * This function is intended to only be called once when the service\n * is initialized for the very first time. This will mutate the class\n * on the body of the document for the appropriate theme as controlled\n * by the state of the application's theme.\n */\n beginThemeSync(): void {\n this.subscription = this.themingService.getTheme().subscribe((theme) => {\n // For simplicty, remove all previously applied themes.\n this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);\n this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);\n this.renderer.addClass(this.doc.body, theme === DaffTheme.Dark ? DAFF_THEME_DARK_CSS_CLASS : DAFF_THEME_LIGHT_CSS_CLASS);\n });\n }\n\n /**\n * This unsubscribes from the bodyClass subscription that exists.\n */\n destroy(): void {\n this.subscription?.unsubscribe();\n this.renderer.removeClass(this.doc.body, DAFF_THEME_LIGHT_CSS_CLASS);\n this.renderer.removeClass(this.doc.body, DAFF_THEME_DARK_CSS_CLASS);\n }\n}\n","import {\n inject,\n makeEnvironmentProviders,\n provideAppInitializer,\n} from '@angular/core';\n\nimport { DaffThemeClassSetterService } from './services/class-setter/theme-class-setter.service';\n\nexport const DAFF_THEME_INIT = (classSetter: DaffThemeClassSetterService) => () => classSetter.beginThemeSync();\n\n/**\n * The theme provider for the app.\n * This configures updating the body with the theme class.\n */\nexport const DAFF_THEME_INITIALIZER = makeEnvironmentProviders([\n DaffThemeClassSetterService,\n provideAppInitializer(() => {\n const initializerFn = (DAFF_THEME_INIT)(inject(DaffThemeClassSetterService));\n return initializerFn();\n }),\n]);\n","export const daffFocusableElementsSelector = 'a[href],a[routerlink], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])';\n","import { DOCUMENT } from '@angular/common';\nimport {\n Inject,\n Injectable,\n} from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\nexport class DaffFocusStackService {\n private _stack: HTMLElement[] = [];\n\n constructor(@Inject(DOCUMENT) private document: any) {\n\n }\n\n /**\n * Return the current length of the stack.\n */\n length(): number {\n return this._stack.length;\n }\n\n /**\n * Adds a HTML element to a focus stack and returns the new length of the stack.\n *\n * Generally, you will probably want to call this before you transition focus\n * onto a new element.\n *\n * @example Using the push function\n * ```ts\n * this._focusStack.push(this._doc.activeElement);\n * ```\n */\n push(el: HTMLElement | undefined = undefined): number {\n this._stack.push(el ?? this.document.activeElement);\n return this._stack.length;\n }\n\n /**\n * Focuses on the HTML element at the top of a stack.\n *\n * @example Using the focus function\n * ```ts\n * this._focusStack.focus(this._doc.activeElement);\n * ```\n */\n focus() {\n if(this._stack.length >= 1) {\n this._stack.slice(-1)[0].focus();\n } else {\n (<HTMLElement>this.document.activeElement).blur();\n }\n }\n\n /**\n * Removes the HMTL element at the top of a stack and focuses on it.\n */\n pop(focus: boolean = true): HTMLElement {\n let el = this._stack.pop();\n while(el === undefined && this._stack.length > 0) {\n el = this._stack.pop();\n }\n\n if(el) {\n if(focus) {\n el.focus();\n }\n return el;\n }\n\n (<HTMLElement>this.document.activeElement).blur();\n return this.document.activeElement;\n }\n}\n","/**\n * Interfaces that gives a component the ability to customize sizing for component specific UI.\n */\n\nexport interface DaffSizable<T extends DaffSizeAllType> {\n size: T;\n}\n\n/**\n * The possible types that can be passed to a component that implements DaffSizable\n */\n\nexport type DaffSizeXSmallType = 'xs';\nexport type DaffSizeSmallType = 'sm';\nexport type DaffSizeMediumType = 'md';\nexport type DaffSizeLargeType = 'lg';\nexport type DaffSizeXLargeType = 'xl';\n\n/**\n * The a type representing all available sizes.\n */\nexport type DaffSizeAllType = DaffSizeXSmallType | DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType | DaffSizeXLargeType;\n\nexport enum DaffSizableEnum {\n XSmall = 'xs',\n Small = 'sm',\n Medium = 'md',\n Large = 'lg',\n XLarge = 'xl'\n}\n","import {\n Directive,\n HostBinding,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\n\nimport {\n DaffSizable,\n DaffSizableEnum,\n DaffSizeAllType,\n} from './sizable';\n\n/**\n * `DaffSizableDirective` allows for dynamic sizing of a component by setting\n * CSS classes based on the specified size.\n *\n * @example Implementing it as an attribute directive\n *\n * ```html\n * <div daffSizable [size]=\"small\">Sized content</div>\n * ```\n * In this example, the `daff-small` class is applied to the `div` element, allowing you to\n * use the class to style the `div`.\n *\n * @example Implementing it as an Angular host directive\n *\n * ```ts\n * @Component({\n * standalone: true,\n * selector: 'custom-component',\n * template: 'custom-component.html',\n * hostDirectives: [\n * {\n * directive: DaffSizableDirective,\n * inputs: ['size'],\n * },\n * ],\n * })\n * export class CustomComponent { }\n * ```\n *\n * ```scss\n * :host {\n * &.daff-sm {\n * width: 24px;\n * }\n *\n * &.daff-md {\n * width: 32px;\n * }\n * }\n * ```\n *\n * The directive applies the following CSS classes to the component based on the size:\n *\n * - `daff-xs`: Applied when the size is `xs`.\n * - `daff-sm`: Applied when the size is `sm`.\n * - `daff-md`: Applied when the size is `md`.\n * - `daff-lg`: Applied when the size is `lg`.\n * - `daff-xl`: Applied when the size is `xl`.\n */\n@Directive({\n selector: '[daffSizable]',\n standalone: true,\n})\nexport class DaffSizableDirective<T extends DaffSizeAllType> implements DaffSizable<T>, OnChanges, OnInit {\n\n /**\n * Dynamically sets the CSS classes based on the size.\n * @docs-private\n */\n @HostBinding('class') get class() {\n return {\n 'daff-xs': this.size === DaffSizableEnum.XSmall,\n 'daff-sm': this.size === DaffSizableEnum.Small,\n 'daff-md': this.size === DaffSizableEnum.Medium,\n 'daff-lg': this.size === DaffSizableEnum.Large,\n 'daff-xl': this.size === DaffSizableEnum.XLarge,\n };\n }\n\n /**\n * The size of the component.\n *\n * Options are: `xs`, `sm`, `md`, `lg`, and `xl`.\n */\n @Input() size: T;\n\n /**\n * Sets a default size when no size is provided.\n */\n public defaultSize: T;\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n if(!changes.size?.currentValue) {\n this.size = this.defaultSize;\n }\n }\n\n /**\n * @docs-private\n */\n ngOnInit() {\n if(!this.size) {\n this.size = this.defaultSize;\n }\n }\n}\n\n","export const DaffOpenableStateError = '`open` cannot be set as an input property on the DaffOpenableDirective if it is not stateless. Did you mean to call `reveal`, `hide`, or `toggle`?';\n","import {\n Directive,\n EventEmitter,\n HostBinding,\n Input,\n OnChanges,\n Output,\n SimpleChanges,\n isDevMode,\n} from '@angular/core';\n\nimport { DaffOpenable } from './openable';\nimport { DaffOpenableStateError } from './utils/state-error';\n\n/**\n * A directive that opens or closes a component. It should only be used as an [Angular Host Directive](https://angular.dev/guide/directives/directive-composition-api).\n * This directive is stateless by default, but it supports both a state and stateless implementation. Only one version should be used within a component.\n *\n * @example Using the DaffOpenableDirective\n * ```ts\n * import {\n * Component,\n * ChangeDetectionStrategy,\n * } from '@angular/core';\n *\n * import { DaffOpenableDirective } from '@daffodil/design';\n *\n * @Component({\n * selector: 'custom-component',\n * template: `\n * <button (click)=\"toggle()\">Click me!</button>\n * <div class=\"hidden-block\">This is a hidden block that can be shown by clicking the button.</div>\n * `,\n * styles: [`\n * :host {\n * .hidden-block {\n * display: none;\n * }\n *\n * &.daff-open {\n * .hidden-block {\n * display: block;\n * }\n * }\n * }`],\n * changeDetection: ChangeDetectionStrategy.OnPush,\n * hostDirectives: [{\n * directive: DaffOpenableDirective,\n * }],\n * })\n * export class CustomComponent {\n * constructor(private openDirective: DaffOpenableDirective) {}\n *\n * toggle() {\n * this.openDirective.toggle();\n * }\n * }\n * ```\n */\n@Directive({\n selector: '[daffOpenable]',\n standalone: true,\n})\n\nexport class DaffOpenableDirective implements DaffOpenable, OnChanges {\n /** Controls whether the component is open. */\n @Input() @HostBinding('class.daff-open') open = false;\n\n private _setOpen(v: boolean) {\n if(!this.stateless) {\n this.open = v;\n }\n }\n\n /** Whether or not a component should handle state\n *\n * @example Setting the `stateless` property on a component\n * ```ts\n * constructor(private openDirective: DaffOpenableDirective) {\n * this.openDirective.stateless = false;\n * }\n * ```\n */\n stateless = true;\n\n /**\n * Event fired when a component is opened (true) or closed (false)\n */\n @Output() toggled: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n /**\n * Open the component\n */\n reveal() {\n this._setOpen(true);\n\n this.toggled.emit(true);\n }\n\n /**\n * Close the component\n */\n hide() {\n this._setOpen(false);\n\n this.toggled.emit(false);\n }\n\n /**\n * Open or close the component, depending on if it's currently open or not\n */\n toggle() {\n const state = !this.open;\n\n this._setOpen(state);\n\n this.toggled.emit(state);\n }\n\n /**\n * @docs-private\n */\n ngOnChanges(changes: SimpleChanges) {\n /**\n * Throw an error if open is set in a component that is not stateless\n */\n if(changes.open.currentValue && !this.stateless) {\n this.open = changes.open.previousValue;\n\n if(isDevMode()) {\n throw new Error(DaffOpenableStateError);\n }\n }\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n EventEmitter,\n HostBinding,\n Input,\n Output,\n} from '@angular/core';\n\nimport { DaffSelectable } from '../selectable/selectable';\n\n@Directive({\n selector: '[daffSelected]',\n standalone: true,\n})\n\nexport class DaffSelectableDirective implements DaffSelectable {\n /**\n * Controls whether the component is selected.\n */\n @Input() @HostBinding('class.daff-selected') selected = false;\n\n /**\n * An event that fires after the media element becomes selected.\n */\n @Output() becameSelected: EventEmitter<void> = new EventEmitter<void>();\n\n constructor(private cd: ChangeDetectorRef) {}\n\n select() {\n this.selected = true;\n this.becameSelected.emit();\n this.cd.markForCheck();\n return this;\n }\n\n deselect() {\n this.selected = false;\n this.cd.markForCheck();\n return this;\n }\n}\n","// Core\nexport * from './animation/animation-state-with-params';\nexport * from './prefix-suffix/public_api';\nexport * from './colorable/public_api';\nexport * from './breakpoints/public_api';\nexport * from './constructor/constructor';\nexport * from './statusable/public_api';\nexport * from './skeletonable/public_api';\nexport * from './mutable/mutable';\nexport * from './text-alignable/public_api';\nexport * from './compactable/public_api';\nexport * from './manage-container-layout/public_api';\nexport * from './article-encapsulated/public_api';\nexport * from './theming/public_api';\nexport * from './lazy/public_api';\nexport * from './focus/public_api';\nexport * from './sizable/public_api';\nexport * from './openable/public_api';\nexport * from './selectable/public_api';\n","/*\n * Public API Surface of @daffodil/design\n */\n\n// Atoms\nexport * from './atoms/form/core/public_api';\nexport * from './atoms/form/form-field/public_api';\nexport * from './atoms/form/error-message/public_api';\nexport * from './atoms/form/hint/public_api';\nexport * from './atoms/form/native-select/public_api';\nexport * from './atoms/form/checkbox/public_api';\nexport * from './atoms/form/radio/public_api';\nexport * from './atoms/form/form-label/public_api';\n\n// Core\nexport * from './core/public_api';\n","/**\n * This is a filler file for making the\n * demo work in dev mode.\n */\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.DaffCheckboxComponent","i1.DaffRadioSetComponent","i2.DaffRadioRegistry","i3.DaffR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