novo-elements 9.3.0-next.1 → 9.3.0-next.2

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.
@@ -224,6 +224,7 @@ class NovoStepper extends CdkStepper {
224
224
  // Mark the component for change detection whenever the content children query changes
225
225
  this.steps.changes.pipe(takeUntil(this._destroyed)).subscribe(() => this._stateChanged());
226
226
  }
227
+ ngOnDestroy() { }
227
228
  complete() {
228
229
  try {
229
230
  const steps = this.steps.toArray();
@@ -1 +1 @@
1
- {"version":3,"file":"novo-elements-elements-stepper.mjs","sources":["../../../projects/novo-elements/src/elements/stepper/step-label.component.ts","../../../projects/novo-elements/src/elements/stepper/step-status.component.ts","../../../projects/novo-elements/src/elements/stepper/step-status.component.html","../../../projects/novo-elements/src/elements/stepper/step-header.component.ts","../../../projects/novo-elements/src/elements/stepper/step-header.component.html","../../../projects/novo-elements/src/elements/stepper/stepper-buttons.component.ts","../../../projects/novo-elements/src/elements/stepper/stepper.animations.ts","../../../projects/novo-elements/src/elements/stepper/stepper.component.ts","../../../projects/novo-elements/src/elements/stepper/step.component.html","../../../projects/novo-elements/src/elements/stepper/stepper-horizontal.html","../../../projects/novo-elements/src/elements/stepper/stepper-vertical.html","../../../projects/novo-elements/src/elements/stepper/stepper.module.ts","../../../projects/novo-elements/src/elements/stepper/novo-elements-elements-stepper.ts"],"sourcesContent":["import { CdkStepLabel } from '@angular/cdk/stepper';\nimport { Directive, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[novoStepLabel]',\n})\nexport class NovoStepLabel extends CdkStepLabel {\n constructor(template: TemplateRef<any>) {\n super(template);\n }\n}\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'novo-step-status',\n templateUrl: 'step-status.component.html',\n // encapsulation: ViewEncapsulation.None,\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'novo-step-status',\n },\n})\nexport class NovoStepStatus {\n @Input()\n state: string;\n\n constructor() {}\n}\n","<div class=\"novo-stepper-status-line\" [ngClass]=\"state\"></div>\n<div [ngSwitch]=\"state\" class=\"novo-stepper-status-icon\">\n <novo-icon color=\"positive\" *ngSwitchCase=\"'edit'\">check-circle</novo-icon>\n <novo-icon color=\"positive\" *ngSwitchCase=\"'done'\">check-circle-filled</novo-icon>\n <novo-icon color=\"positive\" *ngSwitchDefault>circle-o</novo-icon>\n</div>","import { FocusMonitor } from '@angular/cdk/a11y';\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { CdkStepHeader } from '@angular/cdk/stepper';\nimport { ChangeDetectionStrategy, Component, ElementRef, Input, OnDestroy, TemplateRef } from '@angular/core';\nimport { NovoStepLabel } from './step-label.component';\n\n@Component({\n selector: 'novo-step-header',\n templateUrl: 'step-header.component.html',\n styleUrls: ['step-header.component.scss'],\n host: {\n class: 'novo-step-header',\n role: 'tab',\n },\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NovoStepHeader extends CdkStepHeader implements OnDestroy {\n @Input()\n theme: string;\n @Input()\n color: string;\n @Input()\n icon: string;\n /** State of the given step. */\n @Input()\n state: string;\n\n /** Label of the given step. */\n @Input()\n label: NovoStepLabel | string;\n\n /** Overrides for the header icons, passed in via the stepper. */\n @Input()\n iconOverrides: { [key: string]: TemplateRef<any> };\n\n /** Index of the given step. */\n @Input()\n get index(): number {\n return this._index;\n }\n set index(value: number) {\n this._index = coerceNumberProperty(value);\n }\n private _index: number;\n\n /** Whether the given step is selected. */\n @Input()\n get selected(): boolean {\n return this._selected;\n }\n set selected(value: boolean) {\n this._selected = coerceBooleanProperty(value);\n }\n private _selected: boolean;\n\n /** Whether the given step label is active. */\n @Input()\n get active(): boolean {\n return this._active;\n }\n set active(value: boolean) {\n this._active = coerceBooleanProperty(value);\n }\n private _active: boolean;\n\n /** Whether the given step label is active. */\n get touched(): boolean {\n return this.selected || this.state === 'edit' || this.state === 'done';\n }\n\n /** Whether the given step is optional. */\n @Input()\n get optional(): boolean {\n return this._optional;\n }\n set optional(value: boolean) {\n this._optional = coerceBooleanProperty(value);\n }\n private _optional: boolean;\n\n constructor(private _focusMonitor: FocusMonitor, private _element: ElementRef) {\n super(_element);\n _focusMonitor.monitor(_element.nativeElement, true);\n }\n\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._element.nativeElement);\n }\n\n /** Returns string label of given step if it is a text label. */\n _stringLabel(): string | null {\n return this.label instanceof NovoStepLabel ? null : this.label;\n }\n\n /** Returns NovoStepLabel if the label of given step is a template label. */\n _templateLabel(): NovoStepLabel | null {\n return this.label instanceof NovoStepLabel ? this.label : null;\n }\n\n /** Returns the host HTML element. */\n _getHostElement() {\n return this._element.nativeElement;\n }\n}\n","<div [class.novo-step-icon]=\"touched\"\n [class.novo-step-icon-not-touched]=\"!touched\">\n <ng-container *ngIf=\"icon\">\n <novo-icon raised=\"true\" [theme]=\"theme\">{{icon}}</novo-icon>\n </ng-container>\n <ng-container *ngIf=\"!icon\">\n <span class=\"novo-step-number\">{{index + 1}}</span>\n </ng-container>\n</div>\n<div class=\"novo-step-label\"\n [class.novo-step-label-active]=\"active\"\n [class.novo-step-label-selected]=\"selected\">\n <!-- If there is a label template, use it. -->\n <ng-container *ngIf=\"_templateLabel()\" [ngTemplateOutlet]=\"_templateLabel()!.template\">\n </ng-container>\n <!-- It there is no label template, fall back to the text label. -->\n <div class=\"novo-step-text-label\" *ngIf=\"_stringLabel()\">{{label}}</div>\n</div>\n<novo-step-status [state]=\"state\"></novo-step-status>","import { CdkStepperNext, CdkStepperPrevious } from '@angular/cdk/stepper';\nimport { Directive } from '@angular/core';\n\n/** Button that moves to the next step in a stepper workflow. */\n@Directive({\n selector: 'button[novoStepperNext],novo-button[novoStepperNext]',\n host: {\n class: 'novo-stepper-next',\n '[type]': 'type',\n },\n inputs: ['type'],\n})\nexport class NovoStepperNext extends CdkStepperNext {}\n\n/** Button that moves to the previous step in a stepper workflow. */\n@Directive({\n selector: 'button[novoStepperPrevious],novo-button[novoStepperPrevious]',\n host: {\n class: 'novo-stepper-previous',\n '[type]': 'type',\n },\n inputs: ['type'],\n})\nexport class NovoStepperPrevious extends CdkStepperPrevious {}\n","import { animate, AnimationTriggerMetadata, state, style, transition, trigger } from '@angular/animations';\n\n/** Animations used by the Novo steppers. */\nexport const novoStepperAnimations: {\n readonly horizontalStepTransition: AnimationTriggerMetadata;\n readonly verticalStepTransition: AnimationTriggerMetadata;\n} = {\n /** Animation that transitions the step along the X axis in a horizontal stepper. */\n horizontalStepTransition: trigger('stepTransition', [\n state('previous', style({ transform: 'translate3d(-100%, 0, 0)', visibility: 'hidden' })),\n state('current', style({ transform: 'none', visibility: 'visible' })),\n state('next', style({ transform: 'translate3d(100%, 0, 0)', visibility: 'hidden' })),\n transition('* => *', animate('500ms cubic-bezier(0.35, 0, 0.25, 1)')),\n ]),\n\n /** Animation that transitions the step along the Y axis in a vertical stepper. */\n verticalStepTransition: trigger('stepTransition', [\n state('previous', style({ height: '0px', visibility: 'hidden' })),\n state('next', style({ height: '0px', visibility: 'hidden' })),\n state('current', style({ height: '*', visibility: 'visible' })),\n transition('* <=> current', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),\n ]),\n};\n","import { Directionality } from '@angular/cdk/bidi';\nimport { CdkStep, CdkStepHeader, CdkStepper } from '@angular/cdk/stepper';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ContentChildren,\n Directive,\n ElementRef,\n forwardRef,\n Inject,\n Input,\n Optional,\n QueryList,\n TemplateRef,\n ViewChildren,\n} from '@angular/core';\nimport { takeUntil } from 'rxjs/operators';\nimport { NovoIconComponent } from 'novo-elements/elements/icon';\nimport { NovoStepHeader } from './step-header.component';\nimport { NovoStepLabel } from './step-label.component';\nimport { novoStepperAnimations } from './stepper.animations';\n\n@Component({\n selector: 'novo-step',\n templateUrl: 'step.component.html',\n styleUrls: ['stepper.component.scss'],\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: CdkStep, useExisting: NovoStep }],\n})\nexport class NovoStep extends CdkStep {\n /** Content for step label given by `<ng-template novoStepLabel>`. */\n @ContentChild(NovoStepLabel)\n stepLabel: NovoStepLabel;\n\n @Input()\n theme: string;\n @Input()\n color: string;\n @Input()\n icon: string;\n\n constructor(@Inject(forwardRef(() => NovoStepper)) stepper: CdkStepper) {\n super(stepper);\n }\n}\n\n@Directive({\n selector: '[novoStepper]',\n providers: [\n { provide: CdkStep, useExisting: NovoStep },\n { provide: CdkStepper, useExisting: NovoStepper },\n ],\n})\nexport class NovoStepper extends CdkStepper implements AfterContentInit {\n /** The list of step headers of the steps in the stepper. */\n @ViewChildren(NovoStepHeader)\n _stepHeader: QueryList<CdkStepHeader>;\n\n /** Steps that the stepper holds. */\n @ContentChildren(NovoStep, { descendants: true })\n steps: QueryList<NovoStep>;\n\n /** Custom icon overrides passed in by the consumer. */\n @ContentChildren(NovoIconComponent)\n _icons: QueryList<NovoIconComponent>;\n\n /** Consumer-specified template-refs to be used to override the header icons. */\n _iconOverrides: { [key: string]: TemplateRef<any> } = {};\n\n get completed(): boolean {\n try {\n const steps = this.steps.toArray();\n const length = steps.length - 1;\n return steps[length].completed && length === this.selectedIndex;\n } catch (err) {\n return false;\n }\n }\n\n ngAfterContentInit() {\n // Mark the component for change detection whenever the content children query changes\n this.steps.changes.pipe(takeUntil(this._destroyed)).subscribe(() => this._stateChanged());\n }\n\n complete() {\n try {\n const steps = this.steps.toArray();\n steps[this.selectedIndex].completed = true;\n this.next();\n this._stateChanged();\n } catch (err) {\n // do nothing\n }\n }\n\n getIndicatorType(index: number): 'none' | '' | 'edit' | 'done' {\n const steps = this.steps.toArray();\n if (index === this.selectedIndex) {\n if (steps[index] && index === steps.length - 1 && steps[index].completed) {\n return 'done';\n }\n return 'edit';\n }\n if (index < this.selectedIndex) {\n return 'done';\n }\n return 'none';\n }\n}\n\n@Component({\n selector: 'novo-horizontal-stepper',\n exportAs: 'novoHorizontalStepper',\n templateUrl: 'stepper-horizontal.html',\n styleUrls: ['stepper.component.scss'],\n host: {\n class: 'novo-stepper-horizontal',\n 'aria-orientation': 'horizontal',\n role: 'tablist',\n },\n animations: [novoStepperAnimations.horizontalStepTransition],\n providers: [\n { provide: NovoStepper, useExisting: NovoHorizontalStepper },\n { provide: CdkStepper, useExisting: NovoHorizontalStepper },\n ],\n // encapsulation: ViewEncapsulation.None,\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NovoHorizontalStepper extends NovoStepper {}\n\n@Component({\n selector: 'novo-vertical-stepper',\n exportAs: 'novoVerticalStepper',\n templateUrl: 'stepper-vertical.html',\n styleUrls: ['stepper.component.scss'],\n host: {\n class: 'novo-stepper-vertical',\n 'aria-orientation': 'vertical',\n role: 'tablist',\n },\n animations: [novoStepperAnimations.verticalStepTransition],\n providers: [\n { provide: NovoStepper, useExisting: NovoVerticalStepper },\n { provide: CdkStepper, useExisting: NovoVerticalStepper },\n ],\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NovoVerticalStepper extends NovoStepper {\n constructor(@Optional() dir: Directionality, changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef) {\n super(dir, changeDetectorRef, elementRef, '');\n this._orientation = 'vertical';\n }\n}\n","<ng-template><ng-content></ng-content></ng-template>\n","<div class=\"novo-horizontal-stepper-header-container\">\n <div class=\"novo-stepper-horizontal-line complete\"></div>\n <ng-container *ngFor=\"let step of _steps; let i = index; let isLast = last\">\n <novo-step-header class=\"novo-horizontal-stepper-header\"\n (click)=\"step.select()\"\n (keydown)=\"_onKeydown($event)\"\n [tabIndex]=\"_getFocusIndex() === i ? 0 : -1\"\n [id]=\"_getStepLabelId(i)\"\n [attr.aria-controls]=\"_getStepContentId(i)\"\n [attr.aria-selected]=\"selectedIndex == i\"\n [index]=\"i\"\n [theme]=\"step.theme\"\n [color]=\"step.color\"\n [icon]=\"step.icon\"\n [state]=\"getIndicatorType(i)\"\n [label]=\"step.stepLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [active]=\"step.completed || selectedIndex === i || !linear\"\n [optional]=\"step.optional\"\n [iconOverrides]=\"_iconOverrides\">\n </novo-step-header>\n </ng-container>\n <div class=\"novo-stepper-horizontal-line\" [class.complete]=\"completed\"></div>\n</div>\n\n<div class=\"novo-horizontal-content-container\">\n <div *ngFor=\"let step of _steps; let i = index\"\n class=\"novo-horizontal-stepper-content\" role=\"tabpanel\"\n [@stepTransition]=\"_getAnimationDirection(i)\"\n [id]=\"_getStepContentId(i)\"\n [attr.aria-labelledby]=\"_getStepLabelId(i)\"\n [attr.aria-expanded]=\"selectedIndex === i\">\n <ng-container [ngTemplateOutlet]=\"step.content\"></ng-container>\n </div>\n</div>","<div class=\"novo-step\" *ngFor=\"let step of _steps; let i = index; let isLast = last\">\n <novo-step-header class=\"novo-vertical-stepper-header\"\n (click)=\"step.select()\"\n (keydown)=\"_onKeydown($event)\"\n [tabIndex]=\"_getFocusIndex() == i ? 0 : -1\"\n [id]=\"_getStepLabelId(i)\"\n [attr.aria-controls]=\"_getStepContentId(i)\"\n [attr.aria-selected]=\"selectedIndex === i\"\n [index]=\"i\"\n [theme]=\"step.theme\"\n [color]=\"step.color\"\n [icon]=\"step.icon\"\n [state]=\"getIndicatorType(i)\"\n [label]=\"step.stepLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [active]=\"step.completed || selectedIndex === i || !linear\"\n [optional]=\"step.optional\"\n [iconOverrides]=\"_iconOverrides\">\n </novo-step-header>\n\n <div class=\"novo-vertical-content-container\" [class.novo-stepper-vertical-line]=\"!isLast\"\n [ngClass]=\"getIndicatorType(i)\">\n <div class=\"novo-vertical-stepper-content\" role=\"tabpanel\"\n [@stepTransition]=\"_getAnimationDirection(i)\"\n [id]=\"_getStepContentId(i)\"\n [attr.aria-labelledby]=\"_getStepLabelId(i)\"\n [attr.aria-expanded]=\"selectedIndex === i\">\n <div class=\"novo-vertical-content\">\n <ng-container [ngTemplateOutlet]=\"step.content\"></ng-container>\n </div>\n </div>\n </div>\n</div>","import { A11yModule } from '@angular/cdk/a11y';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { CdkStepperModule } from '@angular/cdk/stepper';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { NovoButtonModule } from 'novo-elements/elements/button';\nimport { NovoIconModule } from 'novo-elements/elements/icon';\nimport { NovoStepHeader } from './step-header.component';\nimport { NovoStepLabel } from './step-label.component';\nimport { NovoStepStatus } from './step-status.component';\nimport { NovoStepperNext, NovoStepperPrevious } from './stepper-buttons.component';\nimport { NovoHorizontalStepper, NovoStep, NovoStepper, NovoVerticalStepper } from './stepper.component';\n@NgModule({\n imports: [CommonModule, PortalModule, NovoButtonModule, CdkStepperModule, NovoIconModule, A11yModule],\n exports: [\n NovoHorizontalStepper,\n NovoVerticalStepper,\n NovoStep,\n NovoStepLabel,\n NovoStepper,\n NovoStepHeader,\n NovoStepStatus,\n NovoStepperNext,\n NovoStepperPrevious,\n ],\n declarations: [\n NovoHorizontalStepper,\n NovoVerticalStepper,\n NovoStep,\n NovoStepLabel,\n NovoStepper,\n NovoStepHeader,\n NovoStepStatus,\n NovoStepperNext,\n NovoStepperPrevious,\n ],\n})\nexport class NovoStepperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i1","i3.NovoStepStatus","i4","i2.NovoStepHeader"],"mappings":";;;;;;;;;;;;;;;;;AAMM,MAAO,aAAc,SAAQ,YAAY,CAAA;AAC7C,IAAA,WAAA,CAAY,QAA0B,EAAA;QACpC,KAAK,CAAC,QAAQ,CAAC,CAAC;KACjB;;2GAHU,aAAa,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAA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wBACX,cAAc;wBACd,cAAc;wBACd,eAAe;wBACf,mBAAmB;AACpB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,qBAAqB;wBACrB,mBAAmB;wBACnB,QAAQ;wBACR,aAAa;wBACb,WAAW;wBACX,cAAc;wBACd,cAAc;wBACd,eAAe;wBACf,mBAAmB;AACpB,qBAAA;iBACF,CAAA;;;ACpCD;;AAEG;;;;"}
1
+ {"version":3,"file":"novo-elements-elements-stepper.mjs","sources":["../../../projects/novo-elements/src/elements/stepper/step-label.component.ts","../../../projects/novo-elements/src/elements/stepper/step-status.component.ts","../../../projects/novo-elements/src/elements/stepper/step-status.component.html","../../../projects/novo-elements/src/elements/stepper/step-header.component.ts","../../../projects/novo-elements/src/elements/stepper/step-header.component.html","../../../projects/novo-elements/src/elements/stepper/stepper-buttons.component.ts","../../../projects/novo-elements/src/elements/stepper/stepper.animations.ts","../../../projects/novo-elements/src/elements/stepper/stepper.component.ts","../../../projects/novo-elements/src/elements/stepper/step.component.html","../../../projects/novo-elements/src/elements/stepper/stepper-horizontal.html","../../../projects/novo-elements/src/elements/stepper/stepper-vertical.html","../../../projects/novo-elements/src/elements/stepper/stepper.module.ts","../../../projects/novo-elements/src/elements/stepper/novo-elements-elements-stepper.ts"],"sourcesContent":["import { CdkStepLabel } from '@angular/cdk/stepper';\nimport { Directive, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[novoStepLabel]',\n})\nexport class NovoStepLabel extends CdkStepLabel {\n constructor(template: TemplateRef<any>) {\n super(template);\n }\n}\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'novo-step-status',\n templateUrl: 'step-status.component.html',\n // encapsulation: ViewEncapsulation.None,\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'novo-step-status',\n },\n})\nexport class NovoStepStatus {\n @Input()\n state: string;\n\n constructor() {}\n}\n","<div class=\"novo-stepper-status-line\" [ngClass]=\"state\"></div>\n<div [ngSwitch]=\"state\" class=\"novo-stepper-status-icon\">\n <novo-icon color=\"positive\" *ngSwitchCase=\"'edit'\">check-circle</novo-icon>\n <novo-icon color=\"positive\" *ngSwitchCase=\"'done'\">check-circle-filled</novo-icon>\n <novo-icon color=\"positive\" *ngSwitchDefault>circle-o</novo-icon>\n</div>","import { FocusMonitor } from '@angular/cdk/a11y';\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { CdkStepHeader } from '@angular/cdk/stepper';\nimport { ChangeDetectionStrategy, Component, ElementRef, Input, OnDestroy, TemplateRef } from '@angular/core';\nimport { NovoStepLabel } from './step-label.component';\n\n@Component({\n selector: 'novo-step-header',\n templateUrl: 'step-header.component.html',\n styleUrls: ['step-header.component.scss'],\n host: {\n class: 'novo-step-header',\n role: 'tab',\n },\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NovoStepHeader extends CdkStepHeader implements OnDestroy {\n @Input()\n theme: string;\n @Input()\n color: string;\n @Input()\n icon: string;\n /** State of the given step. */\n @Input()\n state: string;\n\n /** Label of the given step. */\n @Input()\n label: NovoStepLabel | string;\n\n /** Overrides for the header icons, passed in via the stepper. */\n @Input()\n iconOverrides: { [key: string]: TemplateRef<any> };\n\n /** Index of the given step. */\n @Input()\n get index(): number {\n return this._index;\n }\n set index(value: number) {\n this._index = coerceNumberProperty(value);\n }\n private _index: number;\n\n /** Whether the given step is selected. */\n @Input()\n get selected(): boolean {\n return this._selected;\n }\n set selected(value: boolean) {\n this._selected = coerceBooleanProperty(value);\n }\n private _selected: boolean;\n\n /** Whether the given step label is active. */\n @Input()\n get active(): boolean {\n return this._active;\n }\n set active(value: boolean) {\n this._active = coerceBooleanProperty(value);\n }\n private _active: boolean;\n\n /** Whether the given step label is active. */\n get touched(): boolean {\n return this.selected || this.state === 'edit' || this.state === 'done';\n }\n\n /** Whether the given step is optional. */\n @Input()\n get optional(): boolean {\n return this._optional;\n }\n set optional(value: boolean) {\n this._optional = coerceBooleanProperty(value);\n }\n private _optional: boolean;\n\n constructor(private _focusMonitor: FocusMonitor, private _element: ElementRef) {\n super(_element);\n _focusMonitor.monitor(_element.nativeElement, true);\n }\n\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._element.nativeElement);\n }\n\n /** Returns string label of given step if it is a text label. */\n _stringLabel(): string | null {\n return this.label instanceof NovoStepLabel ? null : this.label;\n }\n\n /** Returns NovoStepLabel if the label of given step is a template label. */\n _templateLabel(): NovoStepLabel | null {\n return this.label instanceof NovoStepLabel ? this.label : null;\n }\n\n /** Returns the host HTML element. */\n _getHostElement() {\n return this._element.nativeElement;\n }\n}\n","<div [class.novo-step-icon]=\"touched\"\n [class.novo-step-icon-not-touched]=\"!touched\">\n <ng-container *ngIf=\"icon\">\n <novo-icon raised=\"true\" [theme]=\"theme\">{{icon}}</novo-icon>\n </ng-container>\n <ng-container *ngIf=\"!icon\">\n <span class=\"novo-step-number\">{{index + 1}}</span>\n </ng-container>\n</div>\n<div class=\"novo-step-label\"\n [class.novo-step-label-active]=\"active\"\n [class.novo-step-label-selected]=\"selected\">\n <!-- If there is a label template, use it. -->\n <ng-container *ngIf=\"_templateLabel()\" [ngTemplateOutlet]=\"_templateLabel()!.template\">\n </ng-container>\n <!-- It there is no label template, fall back to the text label. -->\n <div class=\"novo-step-text-label\" *ngIf=\"_stringLabel()\">{{label}}</div>\n</div>\n<novo-step-status [state]=\"state\"></novo-step-status>","import { CdkStepperNext, CdkStepperPrevious } from '@angular/cdk/stepper';\nimport { Directive } from '@angular/core';\n\n/** Button that moves to the next step in a stepper workflow. */\n@Directive({\n selector: 'button[novoStepperNext],novo-button[novoStepperNext]',\n host: {\n class: 'novo-stepper-next',\n '[type]': 'type',\n },\n inputs: ['type'],\n})\nexport class NovoStepperNext extends CdkStepperNext {}\n\n/** Button that moves to the previous step in a stepper workflow. */\n@Directive({\n selector: 'button[novoStepperPrevious],novo-button[novoStepperPrevious]',\n host: {\n class: 'novo-stepper-previous',\n '[type]': 'type',\n },\n inputs: ['type'],\n})\nexport class NovoStepperPrevious extends CdkStepperPrevious {}\n","import { animate, AnimationTriggerMetadata, state, style, transition, trigger } from '@angular/animations';\n\n/** Animations used by the Novo steppers. */\nexport const novoStepperAnimations: {\n readonly horizontalStepTransition: AnimationTriggerMetadata;\n readonly verticalStepTransition: AnimationTriggerMetadata;\n} = {\n /** Animation that transitions the step along the X axis in a horizontal stepper. */\n horizontalStepTransition: trigger('stepTransition', [\n state('previous', style({ transform: 'translate3d(-100%, 0, 0)', visibility: 'hidden' })),\n state('current', style({ transform: 'none', visibility: 'visible' })),\n state('next', style({ transform: 'translate3d(100%, 0, 0)', visibility: 'hidden' })),\n transition('* => *', animate('500ms cubic-bezier(0.35, 0, 0.25, 1)')),\n ]),\n\n /** Animation that transitions the step along the Y axis in a vertical stepper. */\n verticalStepTransition: trigger('stepTransition', [\n state('previous', style({ height: '0px', visibility: 'hidden' })),\n state('next', style({ height: '0px', visibility: 'hidden' })),\n state('current', style({ height: '*', visibility: 'visible' })),\n transition('* <=> current', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),\n ]),\n};\n","import { Directionality } from '@angular/cdk/bidi';\nimport { CdkStep, CdkStepHeader, CdkStepper } from '@angular/cdk/stepper';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ContentChildren,\n Directive,\n ElementRef,\n forwardRef,\n Inject,\n Input,\n OnDestroy,\n Optional,\n QueryList,\n TemplateRef,\n ViewChildren,\n} from '@angular/core';\nimport { takeUntil } from 'rxjs/operators';\nimport { NovoIconComponent } from 'novo-elements/elements/icon';\nimport { NovoStepHeader } from './step-header.component';\nimport { NovoStepLabel } from './step-label.component';\nimport { novoStepperAnimations } from './stepper.animations';\n\n@Component({\n selector: 'novo-step',\n templateUrl: 'step.component.html',\n styleUrls: ['stepper.component.scss'],\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: CdkStep, useExisting: NovoStep }],\n})\nexport class NovoStep extends CdkStep {\n /** Content for step label given by `<ng-template novoStepLabel>`. */\n @ContentChild(NovoStepLabel)\n stepLabel: NovoStepLabel;\n\n @Input()\n theme: string;\n @Input()\n color: string;\n @Input()\n icon: string;\n\n constructor(@Inject(forwardRef(() => NovoStepper)) stepper: CdkStepper) {\n super(stepper);\n }\n}\n\n@Directive({\n selector: '[novoStepper]',\n providers: [\n { provide: CdkStep, useExisting: NovoStep },\n { provide: CdkStepper, useExisting: NovoStepper },\n ],\n})\nexport class NovoStepper extends CdkStepper implements AfterContentInit, OnDestroy {\n /** The list of step headers of the steps in the stepper. */\n @ViewChildren(NovoStepHeader)\n _stepHeader: QueryList<CdkStepHeader>;\n\n /** Steps that the stepper holds. */\n @ContentChildren(NovoStep, { descendants: true })\n steps: QueryList<NovoStep>;\n\n /** Custom icon overrides passed in by the consumer. */\n @ContentChildren(NovoIconComponent)\n _icons: QueryList<NovoIconComponent>;\n\n /** Consumer-specified template-refs to be used to override the header icons. */\n _iconOverrides: { [key: string]: TemplateRef<any> } = {};\n\n get completed(): boolean {\n try {\n const steps = this.steps.toArray();\n const length = steps.length - 1;\n return steps[length].completed && length === this.selectedIndex;\n } catch (err) {\n return false;\n }\n }\n\n ngAfterContentInit() {\n // Mark the component for change detection whenever the content children query changes\n this.steps.changes.pipe(takeUntil(this._destroyed)).subscribe(() => this._stateChanged());\n }\n\n ngOnDestroy() {}\n\n complete() {\n try {\n const steps = this.steps.toArray();\n steps[this.selectedIndex].completed = true;\n this.next();\n this._stateChanged();\n } catch (err) {\n // do nothing\n }\n }\n\n getIndicatorType(index: number): 'none' | '' | 'edit' | 'done' {\n const steps = this.steps.toArray();\n if (index === this.selectedIndex) {\n if (steps[index] && index === steps.length - 1 && steps[index].completed) {\n return 'done';\n }\n return 'edit';\n }\n if (index < this.selectedIndex) {\n return 'done';\n }\n return 'none';\n }\n}\n\n@Component({\n selector: 'novo-horizontal-stepper',\n exportAs: 'novoHorizontalStepper',\n templateUrl: 'stepper-horizontal.html',\n styleUrls: ['stepper.component.scss'],\n host: {\n class: 'novo-stepper-horizontal',\n 'aria-orientation': 'horizontal',\n role: 'tablist',\n },\n animations: [novoStepperAnimations.horizontalStepTransition],\n providers: [\n { provide: NovoStepper, useExisting: NovoHorizontalStepper },\n { provide: CdkStepper, useExisting: NovoHorizontalStepper },\n ],\n // encapsulation: ViewEncapsulation.None,\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NovoHorizontalStepper extends NovoStepper {}\n\n@Component({\n selector: 'novo-vertical-stepper',\n exportAs: 'novoVerticalStepper',\n templateUrl: 'stepper-vertical.html',\n styleUrls: ['stepper.component.scss'],\n host: {\n class: 'novo-stepper-vertical',\n 'aria-orientation': 'vertical',\n role: 'tablist',\n },\n animations: [novoStepperAnimations.verticalStepTransition],\n providers: [\n { provide: NovoStepper, useExisting: NovoVerticalStepper },\n { provide: CdkStepper, useExisting: NovoVerticalStepper },\n ],\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NovoVerticalStepper extends NovoStepper {\n constructor(@Optional() dir: Directionality, changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef) {\n super(dir, changeDetectorRef, elementRef, '');\n this._orientation = 'vertical';\n }\n}\n","<ng-template><ng-content></ng-content></ng-template>\n","<div class=\"novo-horizontal-stepper-header-container\">\n <div class=\"novo-stepper-horizontal-line complete\"></div>\n <ng-container *ngFor=\"let step of _steps; let i = index; let isLast = last\">\n <novo-step-header class=\"novo-horizontal-stepper-header\"\n (click)=\"step.select()\"\n (keydown)=\"_onKeydown($event)\"\n [tabIndex]=\"_getFocusIndex() === i ? 0 : -1\"\n [id]=\"_getStepLabelId(i)\"\n [attr.aria-controls]=\"_getStepContentId(i)\"\n [attr.aria-selected]=\"selectedIndex == i\"\n [index]=\"i\"\n [theme]=\"step.theme\"\n [color]=\"step.color\"\n [icon]=\"step.icon\"\n [state]=\"getIndicatorType(i)\"\n [label]=\"step.stepLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [active]=\"step.completed || selectedIndex === i || !linear\"\n [optional]=\"step.optional\"\n [iconOverrides]=\"_iconOverrides\">\n </novo-step-header>\n </ng-container>\n <div class=\"novo-stepper-horizontal-line\" [class.complete]=\"completed\"></div>\n</div>\n\n<div class=\"novo-horizontal-content-container\">\n <div *ngFor=\"let step of _steps; let i = index\"\n class=\"novo-horizontal-stepper-content\" role=\"tabpanel\"\n [@stepTransition]=\"_getAnimationDirection(i)\"\n [id]=\"_getStepContentId(i)\"\n [attr.aria-labelledby]=\"_getStepLabelId(i)\"\n [attr.aria-expanded]=\"selectedIndex === i\">\n <ng-container [ngTemplateOutlet]=\"step.content\"></ng-container>\n </div>\n</div>","<div class=\"novo-step\" *ngFor=\"let step of _steps; let i = index; let isLast = last\">\n <novo-step-header class=\"novo-vertical-stepper-header\"\n (click)=\"step.select()\"\n (keydown)=\"_onKeydown($event)\"\n [tabIndex]=\"_getFocusIndex() == i ? 0 : -1\"\n [id]=\"_getStepLabelId(i)\"\n [attr.aria-controls]=\"_getStepContentId(i)\"\n [attr.aria-selected]=\"selectedIndex === i\"\n [index]=\"i\"\n [theme]=\"step.theme\"\n [color]=\"step.color\"\n [icon]=\"step.icon\"\n [state]=\"getIndicatorType(i)\"\n [label]=\"step.stepLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [active]=\"step.completed || selectedIndex === i || !linear\"\n [optional]=\"step.optional\"\n [iconOverrides]=\"_iconOverrides\">\n </novo-step-header>\n\n <div class=\"novo-vertical-content-container\" [class.novo-stepper-vertical-line]=\"!isLast\"\n [ngClass]=\"getIndicatorType(i)\">\n <div class=\"novo-vertical-stepper-content\" role=\"tabpanel\"\n [@stepTransition]=\"_getAnimationDirection(i)\"\n [id]=\"_getStepContentId(i)\"\n [attr.aria-labelledby]=\"_getStepLabelId(i)\"\n [attr.aria-expanded]=\"selectedIndex === i\">\n <div class=\"novo-vertical-content\">\n <ng-container [ngTemplateOutlet]=\"step.content\"></ng-container>\n </div>\n </div>\n </div>\n</div>","import { A11yModule } from '@angular/cdk/a11y';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { CdkStepperModule } from '@angular/cdk/stepper';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { NovoButtonModule } from 'novo-elements/elements/button';\nimport { NovoIconModule } from 'novo-elements/elements/icon';\nimport { NovoStepHeader } from './step-header.component';\nimport { NovoStepLabel } from './step-label.component';\nimport { NovoStepStatus } from './step-status.component';\nimport { NovoStepperNext, NovoStepperPrevious } from './stepper-buttons.component';\nimport { NovoHorizontalStepper, NovoStep, NovoStepper, NovoVerticalStepper } from './stepper.component';\n@NgModule({\n imports: [CommonModule, PortalModule, NovoButtonModule, CdkStepperModule, NovoIconModule, A11yModule],\n exports: [\n NovoHorizontalStepper,\n NovoVerticalStepper,\n NovoStep,\n NovoStepLabel,\n NovoStepper,\n NovoStepHeader,\n NovoStepStatus,\n NovoStepperNext,\n NovoStepperPrevious,\n ],\n declarations: [\n NovoHorizontalStepper,\n NovoVerticalStepper,\n NovoStep,\n NovoStepLabel,\n NovoStepper,\n NovoStepHeader,\n NovoStepStatus,\n NovoStepperNext,\n NovoStepperPrevious,\n ],\n})\nexport class NovoStepperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i1","i3.NovoStepStatus","i4","i2.NovoStepHeader"],"mappings":";;;;;;;;;;;;;;;;;AAMM,MAAO,aAAc,SAAQ,YAAY,CAAA;AAC7C,IAAA,WAAA,CAAY,QAA0B,EAAA;QACpC,KAAK,CAAC,QAAQ,CAAC,CAAC;KACjB;;2GAHU,aAAa,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;+FAAb,aAAa,EAAA,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Ac;wBACd,cAAc;wBACd,eAAe;wBACf,mBAAmB;AACpB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,qBAAqB;wBACrB,mBAAmB;wBACnB,QAAQ;wBACR,aAAa;wBACb,WAAW;wBACX,cAAc;wBACd,cAAc;wBACd,eAAe;wBACf,mBAAmB;AACpB,qBAAA;iBACF,CAAA;;;ACpCD;;AAEG;;;;"}
@@ -2641,7 +2641,6 @@ class NovoControlElement extends OutsideClick {
2641
2641
  methods: {
2642
2642
  restrictKeys: this.restrictKeys.bind(this),
2643
2643
  emitChange: this.emitChange.bind(this),
2644
- handleSimpleTextInput: this.handleSimpleTextInput.bind(this),
2645
2644
  handleAccept: this.handleAccept.bind(this),
2646
2645
  handleFocus: this.handleFocus.bind(this),
2647
2646
  handlePercentChange: this.handlePercentChange.bind(this),
@@ -2840,7 +2839,7 @@ class NovoControlElement extends OutsideClick {
2840
2839
  this.formattedValue = null;
2841
2840
  }
2842
2841
  handleTextAreaInput(event) {
2843
- this.emitChange(event.target.value);
2842
+ this.emitChange(event);
2844
2843
  this.restrictKeys(event);
2845
2844
  }
2846
2845
  checkMaxLength(value) {
@@ -2923,16 +2922,11 @@ class NovoControlElement extends OutsideClick {
2923
2922
  }
2924
2923
  }
2925
2924
  }
2926
- emitChange(value) {
2927
- this.change.emit(value);
2925
+ emitChange(event) {
2926
+ this.change.emit(event);
2927
+ const value = typeof event === 'object' ? event.target.value : event;
2928
2928
  this.checkMaxLength(value);
2929
2929
  }
2930
- handleSimpleTextInput(event) {
2931
- if (!this.control.textMaskEnabled) {
2932
- this.emitChange(event.target.value);
2933
- }
2934
- // if we have maskOptions, inputs will be absorbed in handleAccept()
2935
- }
2936
2930
  handleEdit(value) {
2937
2931
  this.edit.emit(value);
2938
2932
  }
@@ -4769,7 +4763,6 @@ NovoControlTemplates.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
4769
4763
  [id]="control.key"
4770
4764
  [type]="control?.type"
4771
4765
  [placeholder]="control?.placeholder"
4772
- (input)="methods.handleSimpleTextInput($event)"
4773
4766
  (accept)="methods.handleAccept($event)"
4774
4767
  (focus)="methods.handleFocus($event)"
4775
4768
  (blur)="methods.handleBlur($event)"
@@ -5475,7 +5468,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
5475
5468
  [id]="control.key"
5476
5469
  [type]="control?.type"
5477
5470
  [placeholder]="control?.placeholder"
5478
- (input)="methods.handleSimpleTextInput($event)"
5479
5471
  (accept)="methods.handleAccept($event)"
5480
5472
  (focus)="methods.handleFocus($event)"
5481
5473
  (blur)="methods.handleBlur($event)"
@@ -6313,7 +6305,7 @@ class NovoDynamicFormElement {
6313
6305
  this.form.fieldsets.forEach((fieldset) => {
6314
6306
  fieldset.controls.forEach((control) => {
6315
6307
  const ctl = this.form.controls[control.key];
6316
- if (!this.fieldsAlreadyHidden.includes(control.key)) {
6308
+ if (!this.fieldsAlreadyHidden?.includes(control.key)) {
6317
6309
  ctl.hidden = false;
6318
6310
  }
6319
6311
  });