@skyux/progress-indicator 5.6.2 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/skyux-progress-indicator.umd.js +1 -1
- package/esm2015/lib/modules/shared/sky-progress-indicator-resources.module.js +1 -1
- package/esm2015/lib/modules/shared/sky-progress-indicator-resources.module.js.map +1 -1
- package/fesm2015/skyux-progress-indicator.js +1 -1
- package/fesm2015/skyux-progress-indicator.js.map +1 -1
- package/lib/modules/shared/sky-progress-indicator-resources.module.d.ts +1 -1
- package/package.json +5 -5
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
/**
|
|
33
33
|
* NOTICE: DO NOT MODIFY THIS FILE!
|
|
34
34
|
* The contents of this file were automatically generated by
|
|
35
|
-
* the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-progress-indicator' schematic.
|
|
35
|
+
* the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-progress-indicator' schematic.
|
|
36
36
|
* To update this file, simply rerun the command.
|
|
37
37
|
*/
|
|
38
38
|
var RESOURCES = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTICE: DO NOT MODIFY THIS FILE!
|
|
3
3
|
* The contents of this file were automatically generated by
|
|
4
|
-
* the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-progress-indicator' schematic.
|
|
4
|
+
* the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-progress-indicator' schematic.
|
|
5
5
|
* To update this file, simply rerun the command.
|
|
6
6
|
*/
|
|
7
7
|
import { NgModule } from '@angular/core';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sky-progress-indicator-resources.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/progress-indicator/src/lib/modules/shared/sky-progress-indicator-resources.module.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EACL,2BAA2B,EAE3B,aAAa,EAGb,qBAAqB,GACtB,MAAM,aAAa,CAAC;;AAErB,MAAM,SAAS,GAA0C;IACvD,OAAO,EAAE;QACP,yCAAyC,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;QAChE,uCAAuC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;QAC5D,2CAA2C,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;QACpE,wCAAwC,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;KAC/D;CACF,CAAC;AAEF,MAAM,OAAO,qCAAqC;IAGzC,SAAS,
|
|
1
|
+
{"version":3,"file":"sky-progress-indicator-resources.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/progress-indicator/src/lib/modules/shared/sky-progress-indicator-resources.module.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EACL,2BAA2B,EAE3B,aAAa,EAGb,qBAAqB,GACtB,MAAM,aAAa,CAAC;;AAErB,MAAM,SAAS,GAA0C;IACvD,OAAO,EAAE;QACP,yCAAyC,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;QAChE,uCAAuC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;QAC5D,2CAA2C,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;QACpE,wCAAwC,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;KAC/D;CACF,CAAC;AAEF,MAAM,OAAO,qCAAqC;IAGzC,SAAS,CACd,UAA4B,EAC5B,IAAY;QAEZ,OAAO,qBAAqB,CAAC,SAAS,EAAE,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;CACF;AAED;;GAEG;AAWH,MAAM,OAAO,mCAAmC;;iIAAnC,mCAAmC;kIAAnC,mCAAmC,YATpC,aAAa;kIASZ,mCAAmC,aARnC;QACT;YACE,OAAO,EAAE,2BAA2B;YACpC,QAAQ,EAAE,qCAAqC;YAC/C,KAAK,EAAE,IAAI;SACZ;KACF,YAPS,aAAa;4FASZ,mCAAmC;kBAV/C,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,aAAa,CAAC;oBACxB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,2BAA2B;4BACpC,QAAQ,EAAE,qCAAqC;4BAC/C,KAAK,EAAE,IAAI;yBACZ;qBACF;iBACF","sourcesContent":["/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-progress-indicator' schematic.\n * To update this file, simply rerun the command.\n */\nimport { NgModule } from '@angular/core';\nimport {\n SKY_LIB_RESOURCES_PROVIDERS,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n getLibStringForLocale,\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': {\n skyux_progress_indicator_navigator_finish: { message: 'Finish' },\n skyux_progress_indicator_navigator_next: { message: 'Next' },\n skyux_progress_indicator_navigator_previous: { message: 'Previous' },\n skyux_progress_indicator_navigator_reset: { message: 'Reset' },\n },\n};\n\nexport class SkyProgressIndicatorResourcesProvider\n implements SkyLibResourcesProvider\n{\n public getString(\n localeInfo: SkyAppLocaleInfo,\n name: string\n ): string | undefined {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [\n {\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyProgressIndicatorResourcesProvider,\n multi: true,\n },\n ],\n})\nexport class SkyProgressIndicatorResourcesModule {}\n"]}
|
|
@@ -15,7 +15,7 @@ import * as i1$1 from '@skyux/core';
|
|
|
15
15
|
/**
|
|
16
16
|
* NOTICE: DO NOT MODIFY THIS FILE!
|
|
17
17
|
* The contents of this file were automatically generated by
|
|
18
|
-
* the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-progress-indicator' schematic.
|
|
18
|
+
* the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-progress-indicator' schematic.
|
|
19
19
|
* To update this file, simply rerun the command.
|
|
20
20
|
*/
|
|
21
21
|
const RESOURCES = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skyux-progress-indicator.js","sources":["../../../../../libs/components/progress-indicator/src/lib/modules/shared/sky-progress-indicator-resources.module.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/types/progress-indicator-item-status.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-status-marker/progress-indicator-status-marker.component.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-status-marker/progress-indicator-status-marker.component.html","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-item/progress-indicator-item.component.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-item/progress-indicator-item.component.html","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/types/progress-indicator-message-type.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/types/progress-indicator-mode.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator.component.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator.component.html","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/types/progress-indicator-action-click-progress-handler.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.html","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.html","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-title/progress-indicator-title.component.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-title/progress-indicator-title.component.html","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator.module.ts","../../../../../libs/components/progress-indicator/src/skyux-progress-indicator.ts"],"sourcesContent":["/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-progress-indicator' schematic.\n * To update this file, simply rerun the command.\n */\nimport { NgModule } from '@angular/core';\nimport {\n SKY_LIB_RESOURCES_PROVIDERS,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n getLibStringForLocale,\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': {\n skyux_progress_indicator_navigator_finish: { message: 'Finish' },\n skyux_progress_indicator_navigator_next: { message: 'Next' },\n skyux_progress_indicator_navigator_previous: { message: 'Previous' },\n skyux_progress_indicator_navigator_reset: { message: 'Reset' },\n },\n};\n\nexport class SkyProgressIndicatorResourcesProvider\n implements SkyLibResourcesProvider\n{\n public getString(localeInfo: SkyAppLocaleInfo, name: string): string {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [\n {\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyProgressIndicatorResourcesProvider,\n multi: true,\n },\n ],\n})\nexport class SkyProgressIndicatorResourcesModule {}\n","export enum SkyProgressIndicatorItemStatus {\n /**\n * Indicates the item is active.\n */\n Active = 0,\n\n /**\n * Indicates the item is complete.\n */\n Complete,\n\n /**\n * Indicates the item is incomplete.\n */\n Incomplete,\n\n /**\n * Indicates the item is pending.\n */\n Pending,\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Input,\n OnDestroy,\n Optional,\n} from '@angular/core';\nimport { SkyThemeService } from '@skyux/theme';\n\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { SkyProgressIndicatorItemStatus } from '../types/progress-indicator-item-status';\n\n/**\n * Specifies the content to display in the status marker.\n * @internal\n */\n@Component({\n selector: 'sky-progress-indicator-status-marker',\n templateUrl: './progress-indicator-status-marker.component.html',\n styleUrls: ['./progress-indicator-status-marker.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyProgressIndicatorStatusMarkerComponent implements OnDestroy {\n @Input()\n public set displayMode(value: 'vertical' | 'horizontal') {\n this._displayMode = value;\n }\n\n public get displayMode(): 'vertical' | 'horizontal' {\n if (this._displayMode === undefined) {\n return 'vertical';\n }\n\n return this._displayMode;\n }\n\n @Input()\n public set status(value: SkyProgressIndicatorItemStatus) {\n this._status = value;\n this.changeDetector.markForCheck();\n }\n\n public get cssClassNames(): string {\n const classNames = [\n `sky-progress-indicator-status-marker-mode-${this.displayMode}`,\n `sky-progress-indicator-status-marker-status-${this.statusName}`,\n ];\n\n return classNames.join(' ');\n }\n\n public get statusName(): string {\n let name: string;\n\n /* tslint:disable-next-line:switch-default */\n switch (this._status) {\n case SkyProgressIndicatorItemStatus.Active:\n name = 'active';\n break;\n\n case SkyProgressIndicatorItemStatus.Complete:\n name = 'complete';\n break;\n\n case SkyProgressIndicatorItemStatus.Incomplete:\n name = 'incomplete';\n break;\n\n case SkyProgressIndicatorItemStatus.Pending:\n name = 'pending';\n break;\n }\n\n return name;\n }\n\n private ngUnsubscribe = new Subject<void>();\n\n private _displayMode: 'vertical' | 'horizontal';\n private _status: SkyProgressIndicatorItemStatus;\n\n constructor(\n private changeDetector: ChangeDetectorRef,\n @Optional() themeSvc?: SkyThemeService\n ) {\n // Update icons when theme changes.\n themeSvc?.settingsChange\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe(() => {\n this.changeDetector.markForCheck();\n });\n }\n\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n}\n","<div\n class=\"sky-progress-indicator-status-marker\"\n role=\"presentation\"\n [ngClass]=\"cssClassNames\"\n>\n <div\n *skyThemeIf=\"'default'\"\n class=\"sky-progress-indicator-status-marker-icon\"\n >\n <sky-icon *ngIf=\"statusName === 'complete'\" icon=\"check\"> </sky-icon>\n </div>\n <div *skyThemeIf=\"'modern'\" class=\"sky-progress-indicator-status-marker-icon\">\n <sky-icon *ngIf=\"statusName === 'complete'\" icon=\"check\" iconType=\"skyux\">\n </sky-icon>\n </div>\n <div class=\"sky-progress-indicator-status-marker-line\"></div>\n</div>\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Input,\n} from '@angular/core';\n\nimport { SkyProgressIndicatorItemStatus } from '../types/progress-indicator-item-status';\n\n/**\n * Specifies a step to include in the progress indicator. Each step requires a label,\n * and you can also specify step details within the `sky-progress-indicator-item` element.\n */\n@Component({\n selector: 'sky-progress-indicator-item',\n templateUrl: './progress-indicator-item.component.html',\n styleUrls: ['./progress-indicator-item.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyProgressIndicatorItemComponent {\n /**\n * Specifies a step label for the step in the progress indicator.\n * @required\n */\n @Input()\n public title: string;\n\n public get formattedTitle(): string {\n return `${this.titlePrefix}${this.title}`;\n }\n\n public get status(): SkyProgressIndicatorItemStatus {\n /* istanbul ignore next */\n if (this._status === undefined) {\n return SkyProgressIndicatorItemStatus.Incomplete;\n }\n\n return this._status;\n }\n\n public set status(value: SkyProgressIndicatorItemStatus) {\n if (value === this._status) {\n return;\n }\n\n this._status = value;\n this.changeDetector.markForCheck();\n }\n\n public get statusName(): string {\n let name: string;\n\n /* tslint:disable-next-line:switch-default */\n switch (this.status) {\n case SkyProgressIndicatorItemStatus.Active:\n name = 'active';\n break;\n\n case SkyProgressIndicatorItemStatus.Complete:\n name = 'complete';\n break;\n\n case SkyProgressIndicatorItemStatus.Incomplete:\n name = 'incomplete';\n break;\n\n case SkyProgressIndicatorItemStatus.Pending:\n name = 'pending';\n break;\n }\n\n return name;\n }\n\n public isVisible = false;\n public showStatusMarker = true;\n public showTitle = true;\n\n private titlePrefix: string;\n\n private _status: SkyProgressIndicatorItemStatus;\n\n constructor(private changeDetector: ChangeDetectorRef) {}\n\n public showStepNumber(step: number): void {\n this.titlePrefix = `${step} - `;\n }\n\n public hideStepNumber(): void {\n this.titlePrefix = '';\n }\n}\n","<div\n *ngIf=\"isVisible\"\n class=\"sky-progress-indicator-item\"\n [ngClass]=\"'sky-progress-indicator-item-status-' + statusName\"\n>\n <sky-progress-indicator-status-marker\n *ngIf=\"showStatusMarker\"\n [status]=\"status\"\n >\n </sky-progress-indicator-status-marker>\n\n <div class=\"sky-progress-indicator-item-content\">\n <div\n *ngIf=\"showTitle\"\n aria-level=\"2\"\n class=\"sky-progress-indicator-item-heading\"\n role=\"heading\"\n [ngClass]=\"{\n 'sky-deemphasized': statusName === 'pending'\n }\"\n [skyThemeClass]=\"{\n 'sky-font-display-3': 'modern'\n }\"\n >\n {{ formattedTitle }}\n </div>\n <div class=\"sky-progress-indicator-item-body\">\n <ng-template [ngIf]=\"statusName !== 'incomplete'\">\n <ng-content></ng-content>\n </ng-template>\n </div>\n </div>\n</div>\n","export enum SkyProgressIndicatorMessageType {\n /**\n * Indicates that the current step is complete.\n * This completes the active item and moves to the next item.\n */\n Progress = 0,\n\n /**\n * Indicates that progress should return to the previous step.\n * This moves from the active item to the item that precedes it.\n */\n Regress = 1,\n\n /**\n * Indicates that progress is incomplete.\n * This marks all items as incomplete and sets the first item as the active item.\n */\n Reset = 2,\n\n /**\n * Indicates that progress is complete.\n * This marks all items as complete and sets the last item as the active item.\n */\n Finish = 3,\n\n /**\n * Indicates that progress should move to the item indicated by the `data.activeIndex` property.\n */\n GoTo = 4,\n}\n","/**\n * @deprecated Use `SkyProgressIndicatorDisplayModeType` instead.\n * @internal\n */\nexport enum SkyProgressIndicatorDisplayMode {\n /**\n * Specifies a vertical layout for the progress indicator.\n */\n Vertical = 0,\n\n /**\n * Specifies a horizontal layout for the progress indicator.\n */\n Horizontal,\n}\n","import {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n EventEmitter,\n Input,\n OnDestroy,\n OnInit,\n Output,\n QueryList,\n} from '@angular/core';\nimport { SkyAppWindowRef } from '@skyux/core';\n\nimport { Subject, Subscription } from 'rxjs';\nimport { delay, takeUntil } from 'rxjs/operators';\n\nimport { SkyProgressIndicatorItemComponent } from './progress-indicator-item/progress-indicator-item.component';\nimport { SkyProgressIndicatorChange } from './types/progress-indicator-change';\nimport { SkyProgressIndicatorDisplayModeType } from './types/progress-indicator-display-mode-type';\nimport { SkyProgressIndicatorItemStatus } from './types/progress-indicator-item-status';\nimport { SkyProgressIndicatorMessage } from './types/progress-indicator-message';\nimport { SkyProgressIndicatorMessageType } from './types/progress-indicator-message-type';\nimport { SkyProgressIndicatorDisplayMode } from './types/progress-indicator-mode';\n\n@Component({\n selector: 'sky-progress-indicator',\n templateUrl: './progress-indicator.component.html',\n styleUrls: ['./progress-indicator.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyProgressIndicatorComponent\n implements OnInit, AfterContentInit, OnDestroy\n{\n /**\n * Specifies whether to display the progress indicator vertically or horizontally.\n * For [passive progress indicators](https://developer.blackbaud.com/skyux-progress-indicator/docs/passive-indicator)\n * and [waterfall progress indicators](https://developer.blackbaud.com/skyux/components/progress-indicator/waterfall-progress-indicator),\n * use the vertical display mode. For [modal wizards](https://developer.blackbaud.com/skyux/components/wizard),\n * use the horizontal display mode.\n * @default \"vertical\"\n */\n @Input()\n public set displayMode(value: SkyProgressIndicatorDisplayModeType) {\n this._displayMode = value;\n }\n\n public get displayMode(): SkyProgressIndicatorDisplayModeType {\n if (this._displayMode === undefined) {\n return 'vertical';\n }\n\n return this._displayMode;\n }\n\n /**\n * Indicates whether the progress indicator is passive. Passive progress indicators inform users of\n * progress that concerns them but that they are not responsible for, and they must use the vertical display mode.\n * @default false\n */\n @Input()\n public set isPassive(value: boolean) {\n this._isPassive = value;\n }\n\n public get isPassive(): boolean {\n // Currently, passive mode is not supported for horizontal displays.\n if (this.displayModeResolved === 'horizontal') {\n return false;\n }\n\n return this._isPassive || false;\n }\n\n /**\n * Specifies an observable of `SkyProgressIndicatorMessage` that determines the status to\n * display for items in the progress indicator. The message stream is a queue of\n * commanding messages to change the state of the progress indicator based on the message type.\n */\n @Input()\n public set messageStream(\n value: Subject<\n SkyProgressIndicatorMessage | SkyProgressIndicatorMessageType\n >\n ) {\n this._messageStream = value;\n\n this.subscribeToMessageStream();\n }\n\n /**\n * Specifies the index for the item to make active when the progress indicator\n * loads. All steps that precede the active item are marked as complete, and all steps\n * that follow the active item are marked as incomplete.\n */\n @Input()\n public set startingIndex(value: number) {\n this._startingIndex = value;\n }\n\n public get startingIndex(): number {\n return this._startingIndex || 0;\n }\n\n /**\n * Fires when the progress indicator changes the status of an item.\n */\n @Output()\n public progressChanges = new EventEmitter<SkyProgressIndicatorChange>();\n\n public get cssClassNames(): string {\n const classNames = [\n `sky-progress-indicator-mode-${this.displayModeResolved}`,\n ];\n\n if (this.isPassive) {\n classNames.push('sky-progress-indicator-passive');\n }\n\n return classNames.join(' ');\n }\n\n /**\n * Returns the newly-supported string union type value to be used by the template.\n * @internal\n */\n public get displayModeResolved(): 'vertical' | 'horizontal' {\n switch (this.displayMode) {\n case SkyProgressIndicatorDisplayMode.Vertical:\n case 'vertical':\n return 'vertical';\n default:\n return 'horizontal';\n }\n }\n\n public get hasFinishButton(): boolean {\n return this._hasFinishButton || false;\n }\n\n public set hasFinishButton(value: boolean) {\n this._hasFinishButton = value;\n }\n\n public get itemStatuses(): SkyProgressIndicatorItemStatus[] {\n if (!this.itemComponents) {\n return [];\n }\n\n return this.itemComponents.map((c) => c.status);\n }\n\n @ContentChildren(SkyProgressIndicatorItemComponent)\n private itemComponents: QueryList<SkyProgressIndicatorItemComponent>;\n\n private get activeIndex(): number {\n return this._activeIndex || 0;\n }\n\n private set activeIndex(value: number) {\n const lastIndex = this.itemComponents.length - 1;\n\n let newIndex = value;\n\n if (value > lastIndex) {\n newIndex = lastIndex;\n } else if (value < 0) {\n newIndex = 0;\n }\n\n this._activeIndex = newIndex;\n }\n\n private messageStreamSub: Subscription | undefined;\n private initialized = false;\n private ngUnsubscribe = new Subject<void>();\n\n private _activeIndex: number;\n private _displayMode: SkyProgressIndicatorDisplayModeType;\n private _hasFinishButton: boolean;\n private _isPassive: boolean;\n private _messageStream = new Subject<\n SkyProgressIndicatorMessage | SkyProgressIndicatorMessageType\n >();\n private _startingIndex: number;\n\n constructor(\n private changeDetector: ChangeDetectorRef,\n private windowRef: SkyAppWindowRef\n ) {}\n\n public ngOnInit(): void {\n this.initialized = true;\n\n this.subscribeToMessageStream();\n }\n\n public ngAfterContentInit(): void {\n this.activeIndex = this.startingIndex;\n\n this.updateSteps();\n\n // Note: The delay here is to ensure all change detection on the items has finished. Without\n // the delay we receive a changed before checked error for vertical progress indicators\n this.itemComponents.changes\n .pipe(takeUntil(this.ngUnsubscribe), delay(0))\n .subscribe(() => {\n this.updateSteps();\n this.notifyChange();\n });\n\n // Wait for item components' change detection to complete\n // before notifying changes to the consumer.\n this.windowRef.nativeWindow.setTimeout(() => {\n this.notifyChange();\n });\n }\n\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n\n public sendMessage(message: SkyProgressIndicatorMessage): void {\n this._messageStream.next(message);\n }\n\n private gotoNextStep(): void {\n const nextIndex = this.activeIndex + 1;\n const lastIndex = this.itemComponents.length - 1;\n\n if (nextIndex > lastIndex) {\n return;\n }\n\n this.gotoStep(nextIndex);\n }\n\n private gotoPreviousStep(): void {\n const previousIndex = this.activeIndex - 1;\n\n if (previousIndex < 0) {\n return;\n }\n\n this.gotoStep(previousIndex);\n }\n\n private gotoStep(index: number): void {\n this.activeIndex = index;\n this.updateSteps();\n this.notifyChange();\n }\n\n private finishSteps(): void {\n this.activeIndex = this.itemComponents.length - 1;\n\n this.itemComponents.forEach((component) => {\n component.status = SkyProgressIndicatorItemStatus.Complete;\n });\n\n this.notifyChange({\n isComplete: true,\n });\n }\n\n private resetSteps(): void {\n this.gotoStep(0);\n }\n\n private updateSteps(): void {\n if (this.activeIndex > this.itemComponents.length - 1) {\n this.activeIndex--;\n }\n\n const activeIndex = this.activeIndex;\n const isPassive = this.isPassive;\n const isVertical = this.displayModeResolved === 'vertical';\n\n this.itemComponents.forEach((component, i) => {\n // Set visibility.\n component.isVisible = activeIndex === i || isVertical;\n\n // Set status.\n let status: SkyProgressIndicatorItemStatus;\n if (activeIndex === i) {\n if (isPassive) {\n status = SkyProgressIndicatorItemStatus.Pending;\n } else {\n status = SkyProgressIndicatorItemStatus.Active;\n }\n } else if (activeIndex > i) {\n status = SkyProgressIndicatorItemStatus.Complete;\n } else {\n status = SkyProgressIndicatorItemStatus.Incomplete;\n }\n\n component.status = status;\n\n // Show or hide the status markers.\n component.showStatusMarker = isVertical;\n\n // Show or hide the step number.\n if (isPassive) {\n component.hideStepNumber();\n } else {\n component.showStepNumber(i + 1);\n }\n\n // If we're in passive mode, don't show titles for incomplete items.\n component.showTitle = !(isPassive && activeIndex < i);\n });\n }\n\n private handleIncomingMessage(\n message: SkyProgressIndicatorMessage | SkyProgressIndicatorMessageType\n ): void {\n const value: any = message;\n\n let type: SkyProgressIndicatorMessageType;\n\n // Prints a deprecation warning if the consumer provides only `SkyProgressIndicatorMessageType`.\n if (value.type === undefined) {\n console.warn(\n \"[Deprecation warning] The progress indicator component's `messageStream` input is set \" +\n 'to `Subject<SkyProgressIndicatorMessageType>`. We will remove this deprecated type in ' +\n 'the next major version release. Instead, set the `messageStream` input to a value of ' +\n '`Subject<SkyProgressIndicatorMessage>`.'\n );\n\n type = value;\n } else {\n type = value.type;\n }\n\n switch (type) {\n case SkyProgressIndicatorMessageType.Progress:\n this.gotoNextStep();\n break;\n\n case SkyProgressIndicatorMessageType.Regress:\n this.gotoPreviousStep();\n break;\n\n case SkyProgressIndicatorMessageType.Finish:\n this.finishSteps();\n break;\n\n case SkyProgressIndicatorMessageType.Reset:\n this.resetSteps();\n break;\n\n case SkyProgressIndicatorMessageType.GoTo:\n if (!value.data || value.data.activeIndex === undefined) {\n console.warn(\n 'A message type of `SkyProgressIndicatorMessageType.GoTo` was passed to the progress ' +\n 'indicator, but no step index was provided. You can pass the desired active ' +\n 'index via:\\n' +\n '{\\n' +\n ' type: SkyProgressIndicatorMessageType.GoTo,\\n' +\n ' data: { activeIndex: 0 }\\n' +\n '}'\n );\n return;\n }\n\n this.gotoStep(value.data.activeIndex);\n break;\n\n default:\n break;\n }\n\n // Update the view after a message is received.\n this.changeDetector.markForCheck();\n }\n\n private subscribeToMessageStream(): void {\n if (this.initialized) {\n if (this.messageStreamSub) {\n this.messageStreamSub.unsubscribe();\n this.messageStreamSub = undefined;\n }\n\n if (this._messageStream) {\n this.messageStreamSub = this._messageStream\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe((message) => {\n this.handleIncomingMessage(message);\n });\n }\n }\n }\n\n private notifyChange(change?: SkyProgressIndicatorChange): void {\n this.progressChanges.next(\n Object.assign(\n {},\n {\n activeIndex: this.activeIndex,\n itemStatuses: this.itemStatuses,\n },\n change\n )\n );\n }\n}\n","<div class=\"sky-progress-indicator\" [ngClass]=\"cssClassNames\">\n <div\n *ngIf=\"displayModeResolved === 'horizontal'\"\n class=\"sky-progress-indicator-horizontal-status-markers\"\n >\n <sky-progress-indicator-status-marker\n *ngFor=\"let status of itemStatuses\"\n [displayMode]=\"displayModeResolved\"\n [status]=\"status\"\n >\n </sky-progress-indicator-status-marker>\n </div>\n <ng-content></ng-content>\n</div>\n","/**\n * Allows the consumer to decide whether the button's action should be completed successfully.\n * The handler is provided with all nav button types.\n */\nexport class SkyProgressIndicatorActionClickProgressHandler {\n /**\n *\n * @param advance Advances the progress indicator to the next step.\n */\n constructor(public readonly advance: Function) {}\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Input,\n OnDestroy,\n Optional,\n Output,\n} from '@angular/core';\n\nimport { Subject } from 'rxjs';\nimport { distinctUntilChanged, takeUntil } from 'rxjs/operators';\n\nimport { SkyProgressIndicatorComponent } from '../progress-indicator.component';\nimport { SkyProgressIndicatorActionClickArgs } from '../types/progress-indicator-action-click-args';\nimport { SkyProgressIndicatorActionClickProgressHandler } from '../types/progress-indicator-action-click-progress-handler';\nimport { SkyProgressIndicatorChange } from '../types/progress-indicator-change';\nimport { SkyProgressIndicatorMessageType } from '../types/progress-indicator-message-type';\nimport { SkyProgressIndicatorNavButtonType } from '../types/progress-indicator-nav-button-type';\n\n/**\n * Displays a button to navigate the steps in modal wizards. We recommend against using it in\n * passive progress indicators and waterfall progress indicators.\n */\n@Component({\n selector: 'sky-progress-indicator-nav-button',\n templateUrl: './progress-indicator-nav-button.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyProgressIndicatorNavButtonComponent\n implements AfterViewInit, OnDestroy\n{\n /**\n * Specifies the label to display on the nav button.\n * @default \"Next\"\n */\n @Input()\n public buttonText: string;\n\n /**\n * Specifies the type of nav button to include.\n * The valid options are `\"finish\"`, `\"next\"`, `\"previous\"`, and `\"reset\"`.\n * @default \"next\"\n */\n @Input()\n public set buttonType(value: SkyProgressIndicatorNavButtonType) {\n this._buttonType = value;\n }\n\n public get buttonType(): SkyProgressIndicatorNavButtonType {\n if (this._buttonType === undefined) {\n return 'next';\n }\n\n return this._buttonType;\n }\n\n /**\n * Indicates whether to disable the nav button.\n * @default false\n */\n @Input()\n public set disabled(value: boolean) {\n this._disabled = value;\n this.changeDetector.markForCheck();\n }\n\n public get disabled(): boolean {\n const buttonType = this.buttonType;\n const activeIndex = this.lastProgressChange.activeIndex;\n const isLastStep =\n activeIndex === this.lastProgressChange.itemStatuses.length - 1;\n\n if (buttonType === 'previous' && activeIndex === 0) {\n return true;\n }\n\n if (buttonType === 'next' && isLastStep) {\n return true;\n }\n\n return this._disabled || false;\n }\n\n /**\n * Specifies the progress indicator component to associate with the nav button.\n * @required\n */\n @Input()\n public set progressIndicator(value: SkyProgressIndicatorComponent) {\n this._progressIndicator = value;\n\n if (value) {\n if (this.buttonType === 'finish') {\n // The `hasFinishButton` field was added to support legacy API.\n // Some implementations only include a next button; we cannot\n // assume that every implementation includes both a finish button and a next button.\n this._progressIndicator.hasFinishButton = true;\n }\n\n this._progressIndicator.progressChanges\n .pipe(distinctUntilChanged(), takeUntil(this.ngUnsubscribe))\n .subscribe((change: SkyProgressIndicatorChange) => {\n this.lastProgressChange = change;\n this.updateButtonVisibility(change);\n });\n } else {\n if (!this.parentTimeout) {\n this.parentTimeout = window.setTimeout(() => {\n /* istanbul ignore else */\n if (!this.progressIndicator) {\n throw new Error(\n 'The `<sky-progress-indicator-nav-button>` component requires a reference to ' +\n 'the `<sky-progress-indicator>` component it controls. For example:\\n' +\n '<sky-progress-indicator\\n' +\n ' #myProgressIndicator\\n' +\n '>\\n' +\n '</sky-progress-indicator>\\n' +\n '<sky-progress-indicator-nav-button\\n' +\n ' [progressIndicator]=\"myProgressIndicator\"\\n' +\n '>\\n' +\n '</sky-progress-indicator-nav-button>'\n );\n }\n }, 50);\n }\n }\n }\n\n public get progressIndicator(): SkyProgressIndicatorComponent {\n return this._progressIndicator;\n }\n\n /**\n * Fires when users select the nav button and emits a `SkyProgressIndicatorActionClickArgs`\n * object that is passed into the callback function to allow consumers to decide whether\n * the button’s action should complete successfully.\n */\n @Output()\n public actionClick = new EventEmitter<SkyProgressIndicatorActionClickArgs>();\n\n public get cssClassNames(): string {\n const buttonType = this.buttonType;\n\n const classNames = [`sky-progress-indicator-nav-button-${this.buttonType}`];\n\n switch (buttonType) {\n case 'next':\n case 'finish':\n classNames.push('sky-btn-primary');\n break;\n\n case 'reset':\n classNames.push('sky-btn-link');\n break;\n\n default:\n classNames.push('sky-btn-default');\n break;\n }\n\n return classNames.join(' ');\n }\n\n public get buttonLabelResourceString(): string {\n return `skyux_progress_indicator_navigator_${this.buttonType}`;\n }\n\n public set isVisible(value: boolean) {\n this._isVisible = value;\n this.changeDetector.markForCheck();\n }\n\n public get isVisible(): boolean {\n return this._isVisible || false;\n }\n\n private lastProgressChange: SkyProgressIndicatorChange;\n private ngUnsubscribe = new Subject<void>();\n private parentTimeout: number;\n\n private _buttonType: SkyProgressIndicatorNavButtonType;\n private _disabled: boolean;\n private _isVisible: boolean;\n private _progressIndicator: SkyProgressIndicatorComponent;\n\n constructor(\n private changeDetector: ChangeDetectorRef,\n @Optional() private parentComponent: SkyProgressIndicatorComponent\n ) {}\n\n public ngAfterViewInit(): void {\n if (!this.progressIndicator && this.parentComponent) {\n this.progressIndicator = this.parentComponent;\n } else if (!this.progressIndicator) {\n this.progressIndicator = undefined;\n }\n }\n\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n this.actionClick.complete();\n }\n\n public onClick(event: MouseEvent): void {\n event.preventDefault();\n\n let type: SkyProgressIndicatorMessageType;\n\n switch (this.buttonType) {\n case 'finish':\n type = SkyProgressIndicatorMessageType.Finish;\n break;\n\n case 'next':\n type = SkyProgressIndicatorMessageType.Progress;\n break;\n\n case 'previous':\n type = SkyProgressIndicatorMessageType.Regress;\n break;\n\n case 'reset':\n type = SkyProgressIndicatorMessageType.Reset;\n break;\n\n default:\n break;\n }\n\n // If the consumer has subscribed to the `actionClick` event,\n // allow them to decide when to advance to the next step.\n if (this.actionClick.observers.length > 0) {\n this.actionClick.emit({\n event,\n progressHandler: new SkyProgressIndicatorActionClickProgressHandler(\n () => {\n this.progressIndicator.sendMessage({ type });\n }\n ),\n });\n } else {\n this.progressIndicator.sendMessage({ type });\n }\n }\n\n private updateButtonVisibility(change: SkyProgressIndicatorChange): void {\n const isLastStep = change.activeIndex === change.itemStatuses.length - 1;\n const buttonType = this.buttonType;\n\n // Hide the button if all steps are complete\n // (except for the reset button)\n if (buttonType !== 'reset' && change.isComplete) {\n this.isVisible = false;\n return;\n }\n\n if (buttonType === 'finish') {\n this.isVisible = isLastStep;\n return;\n }\n\n // Hide the next button on the last step only if a finish button exists.\n if (\n buttonType === 'next' &&\n isLastStep &&\n this.progressIndicator.hasFinishButton\n ) {\n this.isVisible = false;\n return;\n }\n\n this.isVisible = true;\n }\n}\n","<button\n *ngIf=\"isVisible\"\n class=\"sky-btn\"\n type=\"button\"\n [disabled]=\"disabled\"\n [ngClass]=\"cssClassNames\"\n [skyThemeClass]=\"{\n 'sky-margin-inline-compact': 'default',\n 'sky-btn-link': 'modern'\n }\"\n (click)=\"onClick($event)\"\n>\n {{ buttonText || (buttonLabelResourceString | skyLibResources) }}\n</button>\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Input,\n OnDestroy,\n Output,\n} from '@angular/core';\n\nimport { SkyProgressIndicatorComponent } from '../progress-indicator.component';\nimport { SkyProgressIndicatorMessageType } from '../types/progress-indicator-message-type';\n\n/**\n * Displays a button to mark all items in the progress indicator as incomplete and set the\n * first item as the active item. The steps after the active item remain incomplete until\n * users reach them in their sequential order.\n */\n@Component({\n selector: 'sky-progress-indicator-reset-button',\n templateUrl: './progress-indicator-reset-button.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyProgressIndicatorResetButtonComponent implements OnDestroy {\n /**\n * Indicates whether to disable the reset button.\n * @default false\n */\n @Input()\n public set disabled(value: boolean) {\n this._disabled = value;\n this.changeDetector.markForCheck();\n }\n\n public get disabled(): boolean {\n return this._disabled || false;\n }\n\n /**\n * Specifies the progress indicator component to associate with the reset button.\n * @required\n */\n @Input()\n public progressIndicator: SkyProgressIndicatorComponent;\n\n /**\n * Fires when users select the reset button that marks all items as incomplete and sets the\n * first item as the active item.\n */\n @Output()\n public resetClick = new EventEmitter<any>();\n\n private _disabled: boolean;\n\n constructor(private changeDetector: ChangeDetectorRef) {\n console.warn(\n '[Deprecation warning] The `<sky-progress-indicator-reset-button>` component is ' +\n 'deprecated. Please use the `<sky-progress-indicator-nav-button>` component instead, with ' +\n '`buttonType` set to \"reset\".'\n );\n }\n\n public ngOnDestroy(): void {\n this.resetClick.complete();\n }\n\n public onClick(): void {\n this.resetClick.emit();\n\n this.progressIndicator.sendMessage({\n type: SkyProgressIndicatorMessageType.Reset,\n });\n }\n}\n","<button\n class=\"sky-btn sky-btn-link\"\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"onClick()\"\n>\n <ng-content></ng-content>\n</button>\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * Specifies a header to display above the progress indicator.\n */\n@Component({\n selector: 'sky-progress-indicator-title',\n templateUrl: './progress-indicator-title.component.html',\n styleUrls: ['./progress-indicator-title.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyProgressIndicatorTitleComponent {}\n","<div\n aria-level=\"1\"\n class=\"sky-progress-indicator-title\"\n role=\"heading\"\n [skyThemeClass]=\"{\n 'sky-section-heading': 'default',\n 'sky-font-heading-1': 'modern'\n }\"\n>\n <ng-content></ng-content>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyI18nModule } from '@skyux/i18n';\nimport { SkyIconModule } from '@skyux/indicators';\nimport { SkyThemeModule } from '@skyux/theme';\n\nimport { SkyProgressIndicatorResourcesModule } from '../shared/sky-progress-indicator-resources.module';\n\nimport { SkyProgressIndicatorItemComponent } from './progress-indicator-item/progress-indicator-item.component';\nimport { SkyProgressIndicatorNavButtonComponent } from './progress-indicator-nav-button/progress-indicator-nav-button.component';\nimport { SkyProgressIndicatorResetButtonComponent } from './progress-indicator-reset-button/progress-indicator-reset-button.component';\nimport { SkyProgressIndicatorStatusMarkerComponent } from './progress-indicator-status-marker/progress-indicator-status-marker.component';\nimport { SkyProgressIndicatorTitleComponent } from './progress-indicator-title/progress-indicator-title.component';\nimport { SkyProgressIndicatorComponent } from './progress-indicator.component';\n\n@NgModule({\n declarations: [\n SkyProgressIndicatorComponent,\n SkyProgressIndicatorItemComponent,\n SkyProgressIndicatorNavButtonComponent,\n SkyProgressIndicatorResetButtonComponent,\n SkyProgressIndicatorStatusMarkerComponent,\n SkyProgressIndicatorTitleComponent,\n ],\n imports: [\n CommonModule,\n SkyI18nModule,\n SkyIconModule,\n SkyProgressIndicatorResourcesModule,\n SkyThemeModule,\n ],\n exports: [\n SkyProgressIndicatorComponent,\n SkyProgressIndicatorItemComponent,\n SkyProgressIndicatorNavButtonComponent,\n SkyProgressIndicatorResetButtonComponent,\n SkyProgressIndicatorTitleComponent,\n ],\n})\nexport class SkyProgressIndicatorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA;;;;;;AAgBA,MAAM,SAAS,GAA0C;IACvD,OAAO,EAAE;QACP,yCAAyC,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;QAChE,uCAAuC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;QAC5D,2CAA2C,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;QACpE,wCAAwC,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;KAC/D;CACF,CAAC;MAEW,qCAAqC;IAGzC,SAAS,CAAC,UAA4B,EAAE,IAAY;QACzD,OAAO,qBAAqB,CAAC,SAAS,EAAE,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;KAClE;CACF;AAED;;;MAaa,mCAAmC;;iIAAnC,mCAAmC;kIAAnC,mCAAmC,YATpC,aAAa;kIASZ,mCAAmC,aARnC;QACT;YACE,OAAO,EAAE,2BAA2B;YACpC,QAAQ,EAAE,qCAAqC;YAC/C,KAAK,EAAE,IAAI;SACZ;KACF,YAPS,aAAa;4FASZ,mCAAmC;kBAV/C,QAAQ;mBAAC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e,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;;ME6BY,0BAA0B;;wHAA1B,0BAA0B;yHAA1B,0BAA0B,iBAtBnC,6BAA6B;QAC7B,iCAAiC;QACjC,sCAAsC;QACtC,wCAAwC;QACxC,yCAAyC;QACzC,kCAAkC,aAGlC,YAAY;QACZ,aAAa;QACb,aAAa;QACb,mCAAmC;QACnC,cAAc,aAGd,6BAA6B;QAC7B,iCAAiC;QACjC,sCAAsC;QACtC,wCAAwC;QACxC,kCAAkC;yHAGzB,0BAA0B,YAf5B;YACP,YAAY;YACZ,aAAa;YACb,aAAa;YACb,mCAAmC;YACnC,cAAc;SACf;4FASU,0BAA0B;kBAxBtC,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,6BAA6B;wBAC7B,iCAAiC;wBACjC,sCAAsC;wBACtC,wCAAwC;wBACxC,yCAAyC;wBACzC,kCAAkC;qBACnC;oBACD,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;wBACb,aAAa;wBACb,mCAAmC;wBACnC,cAAc;qBACf;oBACD,OAAO,EAAE;wBACP,6BAA6B;wBAC7B,iCAAiC;wBACjC,sCAAsC;wBACtC,wCAAwC;wBACxC,kCAAkC;qBACnC;iBACF;;;ACtCD;;;;;;"}
|
|
1
|
+
{"version":3,"file":"skyux-progress-indicator.js","sources":["../../../../../libs/components/progress-indicator/src/lib/modules/shared/sky-progress-indicator-resources.module.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/types/progress-indicator-item-status.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-status-marker/progress-indicator-status-marker.component.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-status-marker/progress-indicator-status-marker.component.html","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-item/progress-indicator-item.component.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-item/progress-indicator-item.component.html","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/types/progress-indicator-message-type.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/types/progress-indicator-mode.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator.component.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator.component.html","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/types/progress-indicator-action-click-progress-handler.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-nav-button/progress-indicator-nav-button.component.html","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-reset-button/progress-indicator-reset-button.component.html","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-title/progress-indicator-title.component.ts","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator-title/progress-indicator-title.component.html","../../../../../libs/components/progress-indicator/src/lib/modules/progress-indicator/progress-indicator.module.ts","../../../../../libs/components/progress-indicator/src/skyux-progress-indicator.ts"],"sourcesContent":["/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-progress-indicator' schematic.\n * To update this file, simply rerun the command.\n */\nimport { NgModule } from '@angular/core';\nimport {\n SKY_LIB_RESOURCES_PROVIDERS,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n getLibStringForLocale,\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': {\n skyux_progress_indicator_navigator_finish: { message: 'Finish' },\n skyux_progress_indicator_navigator_next: { message: 'Next' },\n skyux_progress_indicator_navigator_previous: { message: 'Previous' },\n skyux_progress_indicator_navigator_reset: { message: 'Reset' },\n },\n};\n\nexport class SkyProgressIndicatorResourcesProvider\n implements SkyLibResourcesProvider\n{\n public getString(\n localeInfo: SkyAppLocaleInfo,\n name: string\n ): string | undefined {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [\n {\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyProgressIndicatorResourcesProvider,\n multi: true,\n },\n ],\n})\nexport class SkyProgressIndicatorResourcesModule {}\n","export enum SkyProgressIndicatorItemStatus {\n /**\n * Indicates the item is active.\n */\n Active = 0,\n\n /**\n * Indicates the item is complete.\n */\n Complete,\n\n /**\n * Indicates the item is incomplete.\n */\n Incomplete,\n\n /**\n * Indicates the item is pending.\n */\n Pending,\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Input,\n OnDestroy,\n Optional,\n} from '@angular/core';\nimport { SkyThemeService } from '@skyux/theme';\n\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { SkyProgressIndicatorItemStatus } from '../types/progress-indicator-item-status';\n\n/**\n * Specifies the content to display in the status marker.\n * @internal\n */\n@Component({\n selector: 'sky-progress-indicator-status-marker',\n templateUrl: './progress-indicator-status-marker.component.html',\n styleUrls: ['./progress-indicator-status-marker.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyProgressIndicatorStatusMarkerComponent implements OnDestroy {\n @Input()\n public set displayMode(value: 'vertical' | 'horizontal') {\n this._displayMode = value;\n }\n\n public get displayMode(): 'vertical' | 'horizontal' {\n if (this._displayMode === undefined) {\n return 'vertical';\n }\n\n return this._displayMode;\n }\n\n @Input()\n public set status(value: SkyProgressIndicatorItemStatus) {\n this._status = value;\n this.changeDetector.markForCheck();\n }\n\n public get cssClassNames(): string {\n const classNames = [\n `sky-progress-indicator-status-marker-mode-${this.displayMode}`,\n `sky-progress-indicator-status-marker-status-${this.statusName}`,\n ];\n\n return classNames.join(' ');\n }\n\n public get statusName(): string {\n let name: string;\n\n /* tslint:disable-next-line:switch-default */\n switch (this._status) {\n case SkyProgressIndicatorItemStatus.Active:\n name = 'active';\n break;\n\n case SkyProgressIndicatorItemStatus.Complete:\n name = 'complete';\n break;\n\n case SkyProgressIndicatorItemStatus.Incomplete:\n name = 'incomplete';\n break;\n\n case SkyProgressIndicatorItemStatus.Pending:\n name = 'pending';\n break;\n }\n\n return name;\n }\n\n private ngUnsubscribe = new Subject<void>();\n\n private _displayMode: 'vertical' | 'horizontal';\n private _status: SkyProgressIndicatorItemStatus;\n\n constructor(\n private changeDetector: ChangeDetectorRef,\n @Optional() themeSvc?: SkyThemeService\n ) {\n // Update icons when theme changes.\n themeSvc?.settingsChange\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe(() => {\n this.changeDetector.markForCheck();\n });\n }\n\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n}\n","<div\n class=\"sky-progress-indicator-status-marker\"\n role=\"presentation\"\n [ngClass]=\"cssClassNames\"\n>\n <div\n *skyThemeIf=\"'default'\"\n class=\"sky-progress-indicator-status-marker-icon\"\n >\n <sky-icon *ngIf=\"statusName === 'complete'\" icon=\"check\"> </sky-icon>\n </div>\n <div *skyThemeIf=\"'modern'\" class=\"sky-progress-indicator-status-marker-icon\">\n <sky-icon *ngIf=\"statusName === 'complete'\" icon=\"check\" iconType=\"skyux\">\n </sky-icon>\n </div>\n <div class=\"sky-progress-indicator-status-marker-line\"></div>\n</div>\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Input,\n} from '@angular/core';\n\nimport { SkyProgressIndicatorItemStatus } from '../types/progress-indicator-item-status';\n\n/**\n * Specifies a step to include in the progress indicator. Each step requires a label,\n * and you can also specify step details within the `sky-progress-indicator-item` element.\n */\n@Component({\n selector: 'sky-progress-indicator-item',\n templateUrl: './progress-indicator-item.component.html',\n styleUrls: ['./progress-indicator-item.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyProgressIndicatorItemComponent {\n /**\n * Specifies a step label for the step in the progress indicator.\n * @required\n */\n @Input()\n public title: string;\n\n public get formattedTitle(): string {\n return `${this.titlePrefix}${this.title}`;\n }\n\n public get status(): SkyProgressIndicatorItemStatus {\n /* istanbul ignore next */\n if (this._status === undefined) {\n return SkyProgressIndicatorItemStatus.Incomplete;\n }\n\n return this._status;\n }\n\n public set status(value: SkyProgressIndicatorItemStatus) {\n if (value === this._status) {\n return;\n }\n\n this._status = value;\n this.changeDetector.markForCheck();\n }\n\n public get statusName(): string {\n let name: string;\n\n /* tslint:disable-next-line:switch-default */\n switch (this.status) {\n case SkyProgressIndicatorItemStatus.Active:\n name = 'active';\n break;\n\n case SkyProgressIndicatorItemStatus.Complete:\n name = 'complete';\n break;\n\n case SkyProgressIndicatorItemStatus.Incomplete:\n name = 'incomplete';\n break;\n\n case SkyProgressIndicatorItemStatus.Pending:\n name = 'pending';\n break;\n }\n\n return name;\n }\n\n public isVisible = false;\n public showStatusMarker = true;\n public showTitle = true;\n\n private titlePrefix: string;\n\n private _status: SkyProgressIndicatorItemStatus;\n\n constructor(private changeDetector: ChangeDetectorRef) {}\n\n public showStepNumber(step: number): void {\n this.titlePrefix = `${step} - `;\n }\n\n public hideStepNumber(): void {\n this.titlePrefix = '';\n }\n}\n","<div\n *ngIf=\"isVisible\"\n class=\"sky-progress-indicator-item\"\n [ngClass]=\"'sky-progress-indicator-item-status-' + statusName\"\n>\n <sky-progress-indicator-status-marker\n *ngIf=\"showStatusMarker\"\n [status]=\"status\"\n >\n </sky-progress-indicator-status-marker>\n\n <div class=\"sky-progress-indicator-item-content\">\n <div\n *ngIf=\"showTitle\"\n aria-level=\"2\"\n class=\"sky-progress-indicator-item-heading\"\n role=\"heading\"\n [ngClass]=\"{\n 'sky-deemphasized': statusName === 'pending'\n }\"\n [skyThemeClass]=\"{\n 'sky-font-display-3': 'modern'\n }\"\n >\n {{ formattedTitle }}\n </div>\n <div class=\"sky-progress-indicator-item-body\">\n <ng-template [ngIf]=\"statusName !== 'incomplete'\">\n <ng-content></ng-content>\n </ng-template>\n </div>\n </div>\n</div>\n","export enum SkyProgressIndicatorMessageType {\n /**\n * Indicates that the current step is complete.\n * This completes the active item and moves to the next item.\n */\n Progress = 0,\n\n /**\n * Indicates that progress should return to the previous step.\n * This moves from the active item to the item that precedes it.\n */\n Regress = 1,\n\n /**\n * Indicates that progress is incomplete.\n * This marks all items as incomplete and sets the first item as the active item.\n */\n Reset = 2,\n\n /**\n * Indicates that progress is complete.\n * This marks all items as complete and sets the last item as the active item.\n */\n Finish = 3,\n\n /**\n * Indicates that progress should move to the item indicated by the `data.activeIndex` property.\n */\n GoTo = 4,\n}\n","/**\n * @deprecated Use `SkyProgressIndicatorDisplayModeType` instead.\n * @internal\n */\nexport enum SkyProgressIndicatorDisplayMode {\n /**\n * Specifies a vertical layout for the progress indicator.\n */\n Vertical = 0,\n\n /**\n * Specifies a horizontal layout for the progress indicator.\n */\n Horizontal,\n}\n","import {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n EventEmitter,\n Input,\n OnDestroy,\n OnInit,\n Output,\n QueryList,\n} from '@angular/core';\nimport { SkyAppWindowRef } from '@skyux/core';\n\nimport { Subject, Subscription } from 'rxjs';\nimport { delay, takeUntil } from 'rxjs/operators';\n\nimport { SkyProgressIndicatorItemComponent } from './progress-indicator-item/progress-indicator-item.component';\nimport { SkyProgressIndicatorChange } from './types/progress-indicator-change';\nimport { SkyProgressIndicatorDisplayModeType } from './types/progress-indicator-display-mode-type';\nimport { SkyProgressIndicatorItemStatus } from './types/progress-indicator-item-status';\nimport { SkyProgressIndicatorMessage } from './types/progress-indicator-message';\nimport { SkyProgressIndicatorMessageType } from './types/progress-indicator-message-type';\nimport { SkyProgressIndicatorDisplayMode } from './types/progress-indicator-mode';\n\n@Component({\n selector: 'sky-progress-indicator',\n templateUrl: './progress-indicator.component.html',\n styleUrls: ['./progress-indicator.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyProgressIndicatorComponent\n implements OnInit, AfterContentInit, OnDestroy\n{\n /**\n * Specifies whether to display the progress indicator vertically or horizontally.\n * For [passive progress indicators](https://developer.blackbaud.com/skyux-progress-indicator/docs/passive-indicator)\n * and [waterfall progress indicators](https://developer.blackbaud.com/skyux/components/progress-indicator/waterfall-progress-indicator),\n * use the vertical display mode. For [modal wizards](https://developer.blackbaud.com/skyux/components/wizard),\n * use the horizontal display mode.\n * @default \"vertical\"\n */\n @Input()\n public set displayMode(value: SkyProgressIndicatorDisplayModeType) {\n this._displayMode = value;\n }\n\n public get displayMode(): SkyProgressIndicatorDisplayModeType {\n if (this._displayMode === undefined) {\n return 'vertical';\n }\n\n return this._displayMode;\n }\n\n /**\n * Indicates whether the progress indicator is passive. Passive progress indicators inform users of\n * progress that concerns them but that they are not responsible for, and they must use the vertical display mode.\n * @default false\n */\n @Input()\n public set isPassive(value: boolean) {\n this._isPassive = value;\n }\n\n public get isPassive(): boolean {\n // Currently, passive mode is not supported for horizontal displays.\n if (this.displayModeResolved === 'horizontal') {\n return false;\n }\n\n return this._isPassive || false;\n }\n\n /**\n * Specifies an observable of `SkyProgressIndicatorMessage` that determines the status to\n * display for items in the progress indicator. The message stream is a queue of\n * commanding messages to change the state of the progress indicator based on the message type.\n */\n @Input()\n public set messageStream(\n value: Subject<\n SkyProgressIndicatorMessage | SkyProgressIndicatorMessageType\n >\n ) {\n this._messageStream = value;\n\n this.subscribeToMessageStream();\n }\n\n /**\n * Specifies the index for the item to make active when the progress indicator\n * loads. All steps that precede the active item are marked as complete, and all steps\n * that follow the active item are marked as incomplete.\n */\n @Input()\n public set startingIndex(value: number) {\n this._startingIndex = value;\n }\n\n public get startingIndex(): number {\n return this._startingIndex || 0;\n }\n\n /**\n * Fires when the progress indicator changes the status of an item.\n */\n @Output()\n public progressChanges = new EventEmitter<SkyProgressIndicatorChange>();\n\n public get cssClassNames(): string {\n const classNames = [\n `sky-progress-indicator-mode-${this.displayModeResolved}`,\n ];\n\n if (this.isPassive) {\n classNames.push('sky-progress-indicator-passive');\n }\n\n return classNames.join(' ');\n }\n\n /**\n * Returns the newly-supported string union type value to be used by the template.\n * @internal\n */\n public get displayModeResolved(): 'vertical' | 'horizontal' {\n switch (this.displayMode) {\n case SkyProgressIndicatorDisplayMode.Vertical:\n case 'vertical':\n return 'vertical';\n default:\n return 'horizontal';\n }\n }\n\n public get hasFinishButton(): boolean {\n return this._hasFinishButton || false;\n }\n\n public set hasFinishButton(value: boolean) {\n this._hasFinishButton = value;\n }\n\n public get itemStatuses(): SkyProgressIndicatorItemStatus[] {\n if (!this.itemComponents) {\n return [];\n }\n\n return this.itemComponents.map((c) => c.status);\n }\n\n @ContentChildren(SkyProgressIndicatorItemComponent)\n private itemComponents: QueryList<SkyProgressIndicatorItemComponent>;\n\n private get activeIndex(): number {\n return this._activeIndex || 0;\n }\n\n private set activeIndex(value: number) {\n const lastIndex = this.itemComponents.length - 1;\n\n let newIndex = value;\n\n if (value > lastIndex) {\n newIndex = lastIndex;\n } else if (value < 0) {\n newIndex = 0;\n }\n\n this._activeIndex = newIndex;\n }\n\n private messageStreamSub: Subscription | undefined;\n private initialized = false;\n private ngUnsubscribe = new Subject<void>();\n\n private _activeIndex: number;\n private _displayMode: SkyProgressIndicatorDisplayModeType;\n private _hasFinishButton: boolean;\n private _isPassive: boolean;\n private _messageStream = new Subject<\n SkyProgressIndicatorMessage | SkyProgressIndicatorMessageType\n >();\n private _startingIndex: number;\n\n constructor(\n private changeDetector: ChangeDetectorRef,\n private windowRef: SkyAppWindowRef\n ) {}\n\n public ngOnInit(): void {\n this.initialized = true;\n\n this.subscribeToMessageStream();\n }\n\n public ngAfterContentInit(): void {\n this.activeIndex = this.startingIndex;\n\n this.updateSteps();\n\n // Note: The delay here is to ensure all change detection on the items has finished. Without\n // the delay we receive a changed before checked error for vertical progress indicators\n this.itemComponents.changes\n .pipe(takeUntil(this.ngUnsubscribe), delay(0))\n .subscribe(() => {\n this.updateSteps();\n this.notifyChange();\n });\n\n // Wait for item components' change detection to complete\n // before notifying changes to the consumer.\n this.windowRef.nativeWindow.setTimeout(() => {\n this.notifyChange();\n });\n }\n\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n\n public sendMessage(message: SkyProgressIndicatorMessage): void {\n this._messageStream.next(message);\n }\n\n private gotoNextStep(): void {\n const nextIndex = this.activeIndex + 1;\n const lastIndex = this.itemComponents.length - 1;\n\n if (nextIndex > lastIndex) {\n return;\n }\n\n this.gotoStep(nextIndex);\n }\n\n private gotoPreviousStep(): void {\n const previousIndex = this.activeIndex - 1;\n\n if (previousIndex < 0) {\n return;\n }\n\n this.gotoStep(previousIndex);\n }\n\n private gotoStep(index: number): void {\n this.activeIndex = index;\n this.updateSteps();\n this.notifyChange();\n }\n\n private finishSteps(): void {\n this.activeIndex = this.itemComponents.length - 1;\n\n this.itemComponents.forEach((component) => {\n component.status = SkyProgressIndicatorItemStatus.Complete;\n });\n\n this.notifyChange({\n isComplete: true,\n });\n }\n\n private resetSteps(): void {\n this.gotoStep(0);\n }\n\n private updateSteps(): void {\n if (this.activeIndex > this.itemComponents.length - 1) {\n this.activeIndex--;\n }\n\n const activeIndex = this.activeIndex;\n const isPassive = this.isPassive;\n const isVertical = this.displayModeResolved === 'vertical';\n\n this.itemComponents.forEach((component, i) => {\n // Set visibility.\n component.isVisible = activeIndex === i || isVertical;\n\n // Set status.\n let status: SkyProgressIndicatorItemStatus;\n if (activeIndex === i) {\n if (isPassive) {\n status = SkyProgressIndicatorItemStatus.Pending;\n } else {\n status = SkyProgressIndicatorItemStatus.Active;\n }\n } else if (activeIndex > i) {\n status = SkyProgressIndicatorItemStatus.Complete;\n } else {\n status = SkyProgressIndicatorItemStatus.Incomplete;\n }\n\n component.status = status;\n\n // Show or hide the status markers.\n component.showStatusMarker = isVertical;\n\n // Show or hide the step number.\n if (isPassive) {\n component.hideStepNumber();\n } else {\n component.showStepNumber(i + 1);\n }\n\n // If we're in passive mode, don't show titles for incomplete items.\n component.showTitle = !(isPassive && activeIndex < i);\n });\n }\n\n private handleIncomingMessage(\n message: SkyProgressIndicatorMessage | SkyProgressIndicatorMessageType\n ): void {\n const value: any = message;\n\n let type: SkyProgressIndicatorMessageType;\n\n // Prints a deprecation warning if the consumer provides only `SkyProgressIndicatorMessageType`.\n if (value.type === undefined) {\n console.warn(\n \"[Deprecation warning] The progress indicator component's `messageStream` input is set \" +\n 'to `Subject<SkyProgressIndicatorMessageType>`. We will remove this deprecated type in ' +\n 'the next major version release. Instead, set the `messageStream` input to a value of ' +\n '`Subject<SkyProgressIndicatorMessage>`.'\n );\n\n type = value;\n } else {\n type = value.type;\n }\n\n switch (type) {\n case SkyProgressIndicatorMessageType.Progress:\n this.gotoNextStep();\n break;\n\n case SkyProgressIndicatorMessageType.Regress:\n this.gotoPreviousStep();\n break;\n\n case SkyProgressIndicatorMessageType.Finish:\n this.finishSteps();\n break;\n\n case SkyProgressIndicatorMessageType.Reset:\n this.resetSteps();\n break;\n\n case SkyProgressIndicatorMessageType.GoTo:\n if (!value.data || value.data.activeIndex === undefined) {\n console.warn(\n 'A message type of `SkyProgressIndicatorMessageType.GoTo` was passed to the progress ' +\n 'indicator, but no step index was provided. You can pass the desired active ' +\n 'index via:\\n' +\n '{\\n' +\n ' type: SkyProgressIndicatorMessageType.GoTo,\\n' +\n ' data: { activeIndex: 0 }\\n' +\n '}'\n );\n return;\n }\n\n this.gotoStep(value.data.activeIndex);\n break;\n\n default:\n break;\n }\n\n // Update the view after a message is received.\n this.changeDetector.markForCheck();\n }\n\n private subscribeToMessageStream(): void {\n if (this.initialized) {\n if (this.messageStreamSub) {\n this.messageStreamSub.unsubscribe();\n this.messageStreamSub = undefined;\n }\n\n if (this._messageStream) {\n this.messageStreamSub = this._messageStream\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe((message) => {\n this.handleIncomingMessage(message);\n });\n }\n }\n }\n\n private notifyChange(change?: SkyProgressIndicatorChange): void {\n this.progressChanges.next(\n Object.assign(\n {},\n {\n activeIndex: this.activeIndex,\n itemStatuses: this.itemStatuses,\n },\n change\n )\n );\n }\n}\n","<div class=\"sky-progress-indicator\" [ngClass]=\"cssClassNames\">\n <div\n *ngIf=\"displayModeResolved === 'horizontal'\"\n class=\"sky-progress-indicator-horizontal-status-markers\"\n >\n <sky-progress-indicator-status-marker\n *ngFor=\"let status of itemStatuses\"\n [displayMode]=\"displayModeResolved\"\n [status]=\"status\"\n >\n </sky-progress-indicator-status-marker>\n </div>\n <ng-content></ng-content>\n</div>\n","/**\n * Allows the consumer to decide whether the button's action should be completed successfully.\n * The handler is provided with all nav button types.\n */\nexport class SkyProgressIndicatorActionClickProgressHandler {\n /**\n *\n * @param advance Advances the progress indicator to the next step.\n */\n constructor(public readonly advance: Function) {}\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Input,\n OnDestroy,\n Optional,\n Output,\n} from '@angular/core';\n\nimport { Subject } from 'rxjs';\nimport { distinctUntilChanged, takeUntil } from 'rxjs/operators';\n\nimport { SkyProgressIndicatorComponent } from '../progress-indicator.component';\nimport { SkyProgressIndicatorActionClickArgs } from '../types/progress-indicator-action-click-args';\nimport { SkyProgressIndicatorActionClickProgressHandler } from '../types/progress-indicator-action-click-progress-handler';\nimport { SkyProgressIndicatorChange } from '../types/progress-indicator-change';\nimport { SkyProgressIndicatorMessageType } from '../types/progress-indicator-message-type';\nimport { SkyProgressIndicatorNavButtonType } from '../types/progress-indicator-nav-button-type';\n\n/**\n * Displays a button to navigate the steps in modal wizards. We recommend against using it in\n * passive progress indicators and waterfall progress indicators.\n */\n@Component({\n selector: 'sky-progress-indicator-nav-button',\n templateUrl: './progress-indicator-nav-button.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyProgressIndicatorNavButtonComponent\n implements AfterViewInit, OnDestroy\n{\n /**\n * Specifies the label to display on the nav button.\n * @default \"Next\"\n */\n @Input()\n public buttonText: string;\n\n /**\n * Specifies the type of nav button to include.\n * The valid options are `\"finish\"`, `\"next\"`, `\"previous\"`, and `\"reset\"`.\n * @default \"next\"\n */\n @Input()\n public set buttonType(value: SkyProgressIndicatorNavButtonType) {\n this._buttonType = value;\n }\n\n public get buttonType(): SkyProgressIndicatorNavButtonType {\n if (this._buttonType === undefined) {\n return 'next';\n }\n\n return this._buttonType;\n }\n\n /**\n * Indicates whether to disable the nav button.\n * @default false\n */\n @Input()\n public set disabled(value: boolean) {\n this._disabled = value;\n this.changeDetector.markForCheck();\n }\n\n public get disabled(): boolean {\n const buttonType = this.buttonType;\n const activeIndex = this.lastProgressChange.activeIndex;\n const isLastStep =\n activeIndex === this.lastProgressChange.itemStatuses.length - 1;\n\n if (buttonType === 'previous' && activeIndex === 0) {\n return true;\n }\n\n if (buttonType === 'next' && isLastStep) {\n return true;\n }\n\n return this._disabled || false;\n }\n\n /**\n * Specifies the progress indicator component to associate with the nav button.\n * @required\n */\n @Input()\n public set progressIndicator(value: SkyProgressIndicatorComponent) {\n this._progressIndicator = value;\n\n if (value) {\n if (this.buttonType === 'finish') {\n // The `hasFinishButton` field was added to support legacy API.\n // Some implementations only include a next button; we cannot\n // assume that every implementation includes both a finish button and a next button.\n this._progressIndicator.hasFinishButton = true;\n }\n\n this._progressIndicator.progressChanges\n .pipe(distinctUntilChanged(), takeUntil(this.ngUnsubscribe))\n .subscribe((change: SkyProgressIndicatorChange) => {\n this.lastProgressChange = change;\n this.updateButtonVisibility(change);\n });\n } else {\n if (!this.parentTimeout) {\n this.parentTimeout = window.setTimeout(() => {\n /* istanbul ignore else */\n if (!this.progressIndicator) {\n throw new Error(\n 'The `<sky-progress-indicator-nav-button>` component requires a reference to ' +\n 'the `<sky-progress-indicator>` component it controls. For example:\\n' +\n '<sky-progress-indicator\\n' +\n ' #myProgressIndicator\\n' +\n '>\\n' +\n '</sky-progress-indicator>\\n' +\n '<sky-progress-indicator-nav-button\\n' +\n ' [progressIndicator]=\"myProgressIndicator\"\\n' +\n '>\\n' +\n '</sky-progress-indicator-nav-button>'\n );\n }\n }, 50);\n }\n }\n }\n\n public get progressIndicator(): SkyProgressIndicatorComponent {\n return this._progressIndicator;\n }\n\n /**\n * Fires when users select the nav button and emits a `SkyProgressIndicatorActionClickArgs`\n * object that is passed into the callback function to allow consumers to decide whether\n * the button’s action should complete successfully.\n */\n @Output()\n public actionClick = new EventEmitter<SkyProgressIndicatorActionClickArgs>();\n\n public get cssClassNames(): string {\n const buttonType = this.buttonType;\n\n const classNames = [`sky-progress-indicator-nav-button-${this.buttonType}`];\n\n switch (buttonType) {\n case 'next':\n case 'finish':\n classNames.push('sky-btn-primary');\n break;\n\n case 'reset':\n classNames.push('sky-btn-link');\n break;\n\n default:\n classNames.push('sky-btn-default');\n break;\n }\n\n return classNames.join(' ');\n }\n\n public get buttonLabelResourceString(): string {\n return `skyux_progress_indicator_navigator_${this.buttonType}`;\n }\n\n public set isVisible(value: boolean) {\n this._isVisible = value;\n this.changeDetector.markForCheck();\n }\n\n public get isVisible(): boolean {\n return this._isVisible || false;\n }\n\n private lastProgressChange: SkyProgressIndicatorChange;\n private ngUnsubscribe = new Subject<void>();\n private parentTimeout: number;\n\n private _buttonType: SkyProgressIndicatorNavButtonType;\n private _disabled: boolean;\n private _isVisible: boolean;\n private _progressIndicator: SkyProgressIndicatorComponent;\n\n constructor(\n private changeDetector: ChangeDetectorRef,\n @Optional() private parentComponent: SkyProgressIndicatorComponent\n ) {}\n\n public ngAfterViewInit(): void {\n if (!this.progressIndicator && this.parentComponent) {\n this.progressIndicator = this.parentComponent;\n } else if (!this.progressIndicator) {\n this.progressIndicator = undefined;\n }\n }\n\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n this.actionClick.complete();\n }\n\n public onClick(event: MouseEvent): void {\n event.preventDefault();\n\n let type: SkyProgressIndicatorMessageType;\n\n switch (this.buttonType) {\n case 'finish':\n type = SkyProgressIndicatorMessageType.Finish;\n break;\n\n case 'next':\n type = SkyProgressIndicatorMessageType.Progress;\n break;\n\n case 'previous':\n type = SkyProgressIndicatorMessageType.Regress;\n break;\n\n case 'reset':\n type = SkyProgressIndicatorMessageType.Reset;\n break;\n\n default:\n break;\n }\n\n // If the consumer has subscribed to the `actionClick` event,\n // allow them to decide when to advance to the next step.\n if (this.actionClick.observers.length > 0) {\n this.actionClick.emit({\n event,\n progressHandler: new SkyProgressIndicatorActionClickProgressHandler(\n () => {\n this.progressIndicator.sendMessage({ type });\n }\n ),\n });\n } else {\n this.progressIndicator.sendMessage({ type });\n }\n }\n\n private updateButtonVisibility(change: SkyProgressIndicatorChange): void {\n const isLastStep = change.activeIndex === change.itemStatuses.length - 1;\n const buttonType = this.buttonType;\n\n // Hide the button if all steps are complete\n // (except for the reset button)\n if (buttonType !== 'reset' && change.isComplete) {\n this.isVisible = false;\n return;\n }\n\n if (buttonType === 'finish') {\n this.isVisible = isLastStep;\n return;\n }\n\n // Hide the next button on the last step only if a finish button exists.\n if (\n buttonType === 'next' &&\n isLastStep &&\n this.progressIndicator.hasFinishButton\n ) {\n this.isVisible = false;\n return;\n }\n\n this.isVisible = true;\n }\n}\n","<button\n *ngIf=\"isVisible\"\n class=\"sky-btn\"\n type=\"button\"\n [disabled]=\"disabled\"\n [ngClass]=\"cssClassNames\"\n [skyThemeClass]=\"{\n 'sky-margin-inline-compact': 'default',\n 'sky-btn-link': 'modern'\n }\"\n (click)=\"onClick($event)\"\n>\n {{ buttonText || (buttonLabelResourceString | skyLibResources) }}\n</button>\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Input,\n OnDestroy,\n Output,\n} from '@angular/core';\n\nimport { SkyProgressIndicatorComponent } from '../progress-indicator.component';\nimport { SkyProgressIndicatorMessageType } from '../types/progress-indicator-message-type';\n\n/**\n * Displays a button to mark all items in the progress indicator as incomplete and set the\n * first item as the active item. The steps after the active item remain incomplete until\n * users reach them in their sequential order.\n */\n@Component({\n selector: 'sky-progress-indicator-reset-button',\n templateUrl: './progress-indicator-reset-button.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyProgressIndicatorResetButtonComponent implements OnDestroy {\n /**\n * Indicates whether to disable the reset button.\n * @default false\n */\n @Input()\n public set disabled(value: boolean) {\n this._disabled = value;\n this.changeDetector.markForCheck();\n }\n\n public get disabled(): boolean {\n return this._disabled || false;\n }\n\n /**\n * Specifies the progress indicator component to associate with the reset button.\n * @required\n */\n @Input()\n public progressIndicator: SkyProgressIndicatorComponent;\n\n /**\n * Fires when users select the reset button that marks all items as incomplete and sets the\n * first item as the active item.\n */\n @Output()\n public resetClick = new EventEmitter<any>();\n\n private _disabled: boolean;\n\n constructor(private changeDetector: ChangeDetectorRef) {\n console.warn(\n '[Deprecation warning] The `<sky-progress-indicator-reset-button>` component is ' +\n 'deprecated. Please use the `<sky-progress-indicator-nav-button>` component instead, with ' +\n '`buttonType` set to \"reset\".'\n );\n }\n\n public ngOnDestroy(): void {\n this.resetClick.complete();\n }\n\n public onClick(): void {\n this.resetClick.emit();\n\n this.progressIndicator.sendMessage({\n type: SkyProgressIndicatorMessageType.Reset,\n });\n }\n}\n","<button\n class=\"sky-btn sky-btn-link\"\n type=\"button\"\n [disabled]=\"disabled\"\n (click)=\"onClick()\"\n>\n <ng-content></ng-content>\n</button>\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * Specifies a header to display above the progress indicator.\n */\n@Component({\n selector: 'sky-progress-indicator-title',\n templateUrl: './progress-indicator-title.component.html',\n styleUrls: ['./progress-indicator-title.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyProgressIndicatorTitleComponent {}\n","<div\n aria-level=\"1\"\n class=\"sky-progress-indicator-title\"\n role=\"heading\"\n [skyThemeClass]=\"{\n 'sky-section-heading': 'default',\n 'sky-font-heading-1': 'modern'\n }\"\n>\n <ng-content></ng-content>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyI18nModule } from '@skyux/i18n';\nimport { SkyIconModule } from '@skyux/indicators';\nimport { SkyThemeModule } from '@skyux/theme';\n\nimport { SkyProgressIndicatorResourcesModule } from '../shared/sky-progress-indicator-resources.module';\n\nimport { SkyProgressIndicatorItemComponent } from './progress-indicator-item/progress-indicator-item.component';\nimport { SkyProgressIndicatorNavButtonComponent } from './progress-indicator-nav-button/progress-indicator-nav-button.component';\nimport { SkyProgressIndicatorResetButtonComponent } from './progress-indicator-reset-button/progress-indicator-reset-button.component';\nimport { SkyProgressIndicatorStatusMarkerComponent } from './progress-indicator-status-marker/progress-indicator-status-marker.component';\nimport { SkyProgressIndicatorTitleComponent } from './progress-indicator-title/progress-indicator-title.component';\nimport { SkyProgressIndicatorComponent } from './progress-indicator.component';\n\n@NgModule({\n declarations: [\n SkyProgressIndicatorComponent,\n SkyProgressIndicatorItemComponent,\n SkyProgressIndicatorNavButtonComponent,\n SkyProgressIndicatorResetButtonComponent,\n SkyProgressIndicatorStatusMarkerComponent,\n SkyProgressIndicatorTitleComponent,\n ],\n imports: [\n CommonModule,\n SkyI18nModule,\n SkyIconModule,\n SkyProgressIndicatorResourcesModule,\n SkyThemeModule,\n ],\n exports: [\n SkyProgressIndicatorComponent,\n SkyProgressIndicatorItemComponent,\n SkyProgressIndicatorNavButtonComponent,\n SkyProgressIndicatorResetButtonComponent,\n SkyProgressIndicatorTitleComponent,\n ],\n})\nexport class SkyProgressIndicatorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA;;;;;;AAgBA,MAAM,SAAS,GAA0C;IACvD,OAAO,EAAE;QACP,yCAAyC,EAAE,EAAE,OAAO,EAAE,QAAQ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BAA6B;wBAC7B,iCAAiC;wBACjC,sCAAsC;wBACtC,wCAAwC;wBACxC,kCAAkC;qBACnC;iBACF;;;ACtCD;;;;;;"}
|
|
@@ -2,7 +2,7 @@ import { SkyAppLocaleInfo, SkyLibResourcesProvider } from '@skyux/i18n';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "@skyux/i18n";
|
|
4
4
|
export declare class SkyProgressIndicatorResourcesProvider implements SkyLibResourcesProvider {
|
|
5
|
-
getString(localeInfo: SkyAppLocaleInfo, name: string): string;
|
|
5
|
+
getString(localeInfo: SkyAppLocaleInfo, name: string): string | undefined;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Import into any component library module that needs to use resource strings.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/progress-indicator",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"@angular/common": "^12.2.16",
|
|
20
20
|
"@angular/core": "^12.2.16",
|
|
21
|
-
"@skyux/core": "5.
|
|
22
|
-
"@skyux/i18n": "5.
|
|
23
|
-
"@skyux/indicators": "5.
|
|
24
|
-
"@skyux/theme": "5.
|
|
21
|
+
"@skyux/core": "5.7.0",
|
|
22
|
+
"@skyux/i18n": "5.7.0",
|
|
23
|
+
"@skyux/indicators": "5.7.0",
|
|
24
|
+
"@skyux/theme": "5.7.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"tslib": "^2.3.1"
|