UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

1 lines • 19.7 kB
{"version":3,"file":"ng-zorro-antd-steps.mjs","names":[],"sources":["../../components/steps/step.component.ts","../../components/steps/steps.component.ts","../../components/steps/steps.module.ts"],"sourcesContent":["/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectorRef,\n Component,\n ElementRef,\n Input,\n OnInit,\n TemplateRef,\n ViewChild,\n ViewEncapsulation,\n booleanAttribute,\n inject,\n DestroyRef\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { Subject } from 'rxjs';\nimport { filter } from 'rxjs/operators';\n\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport { NgClassType, NzSizeDSType } from 'ng-zorro-antd/core/types';\nimport { fromEventOutsideAngular } from 'ng-zorro-antd/core/util';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzProgressFormatter, NzProgressModule } from 'ng-zorro-antd/progress';\n\n@Component({\n selector: 'nz-step',\n exportAs: 'nzStep',\n encapsulation: ViewEncapsulation.None,\n template: `\n <div\n #itemContainer\n class=\"ant-steps-item-container\"\n [attr.role]=\"clickable && !nzDisabled ? 'button' : null\"\n [tabindex]=\"clickable && !nzDisabled ? 0 : null\"\n >\n @if (!last) {\n <div class=\"ant-steps-item-tail\"></div>\n }\n <div class=\"ant-steps-item-icon\">\n @if (!showProcessDot) {\n @if (showProgress) {\n <div class=\"ant-steps-progress-icon\">\n <nz-progress\n [nzPercent]=\"nzPercentage\"\n nzType=\"circle\"\n [nzWidth]=\"nzSize === 'small' ? 32 : 40\"\n [nzFormat]=\"nullProcessFormat\"\n [nzStrokeWidth]=\"4\"\n />\n </div>\n }\n @if (nzStatus === 'finish' && !nzIcon) {\n <span class=\"ant-steps-icon\"><nz-icon nzType=\"check\" /></span>\n }\n @if (nzStatus === 'error') {\n <span class=\"ant-steps-icon\"><nz-icon nzType=\"close\" /></span>\n }\n @if ((nzStatus === 'process' || nzStatus === 'wait') && !nzIcon) {\n <span class=\"ant-steps-icon\">\n {{ index + 1 }}\n </span>\n }\n @if (nzIcon) {\n <span class=\"ant-steps-icon\">\n <ng-container *nzStringTemplateOutlet=\"nzIcon; let icon\">\n <nz-icon [nzType]=\"icon\" />\n </ng-container>\n </span>\n }\n }\n @if (showProcessDot) {\n <span class=\"ant-steps-icon\">\n <ng-template #processDotTemplate>\n <span class=\"ant-steps-icon-dot\"></span>\n </ng-template>\n <ng-template\n [ngTemplateOutlet]=\"customProcessTemplate || processDotTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: processDotTemplate,\n status: nzStatus,\n index: index\n }\"\n />\n </span>\n }\n </div>\n <div class=\"ant-steps-item-content\">\n <div class=\"ant-steps-item-title\">\n <ng-container *nzStringTemplateOutlet=\"nzTitle\">{{ nzTitle }}</ng-container>\n @if (nzSubtitle) {\n <div class=\"ant-steps-item-subtitle\">\n <ng-container *nzStringTemplateOutlet=\"nzSubtitle\">{{ nzSubtitle }}</ng-container>\n </div>\n }\n </div>\n <div class=\"ant-steps-item-description\">\n <ng-container *nzStringTemplateOutlet=\"nzDescription\">{{ nzDescription }}</ng-container>\n </div>\n </div>\n </div>\n `,\n host: {\n class: 'ant-steps-item',\n '[class.ant-steps-item-wait]': 'nzStatus === \"wait\"',\n '[class.ant-steps-item-process]': 'nzStatus === \"process\"',\n '[class.ant-steps-item-finish]': 'nzStatus === \"finish\"',\n '[class.ant-steps-item-error]': 'nzStatus === \"error\"',\n '[class.ant-steps-item-active]': 'currentIndex === index',\n '[class.ant-steps-item-disabled]': 'nzDisabled',\n '[class.ant-steps-item-custom]': '!!nzIcon',\n '[class.ant-steps-next-error]': '(outStatus === \"error\") && (currentIndex === index + 1)'\n },\n imports: [NzProgressModule, NzIconModule, NzOutletModule, NgTemplateOutlet]\n})\nexport class NzStepComponent implements OnInit {\n private cdr = inject(ChangeDetectorRef);\n private destroyRef = inject(DestroyRef);\n\n @ViewChild('processDotTemplate', { static: false }) processDotTemplate?: TemplateRef<void>;\n @ViewChild('itemContainer', { static: true }) itemContainer!: ElementRef<HTMLElement>;\n\n @Input() nzTitle?: string | TemplateRef<void>;\n @Input() nzSubtitle?: string | TemplateRef<void>;\n @Input() nzDescription?: string | TemplateRef<void>;\n @Input({ transform: booleanAttribute }) nzDisabled = false;\n @Input() nzPercentage: number | null = null;\n @Input() nzSize: NzSizeDSType = 'default';\n\n @Input()\n get nzStatus(): string {\n return this._status;\n }\n\n set nzStatus(status: string) {\n this._status = status;\n this.isCustomStatus = true;\n }\n\n isCustomStatus = false;\n private _status = 'wait';\n\n @Input()\n get nzIcon(): NgClassType | TemplateRef<void> | undefined {\n return this._icon;\n }\n\n set nzIcon(value: NgClassType | TemplateRef<void> | undefined) {\n if (!(value instanceof TemplateRef)) {\n this.oldAPIIcon = typeof value === 'string' && value.indexOf('anticon') > -1;\n }\n this._icon = value;\n }\n\n oldAPIIcon = true;\n private _icon?: NgClassType | TemplateRef<void>;\n\n customProcessTemplate?: TemplateRef<{ $implicit: TemplateRef<void>; status: string; index: number }>; // Set by parent.\n direction = 'horizontal';\n index = 0;\n last = false;\n outStatus = 'process';\n showProcessDot = false;\n clickable = false;\n\n clickOutsideAngular$ = new Subject<number>();\n\n readonly nullProcessFormat: NzProgressFormatter = () => null;\n\n get showProgress(): boolean {\n return (\n this.nzPercentage !== null &&\n !this.nzIcon &&\n this.nzStatus === 'process' &&\n this.nzPercentage >= 0 &&\n this.nzPercentage <= 100\n );\n }\n\n get currentIndex(): number {\n return this._currentIndex;\n }\n\n set currentIndex(current: number) {\n this._currentIndex = current;\n if (!this.isCustomStatus) {\n this._status = current > this.index ? 'finish' : current === this.index ? this.outStatus || '' : 'wait';\n }\n }\n\n private _currentIndex = 0;\n\n ngOnInit(): void {\n fromEventOutsideAngular(this.itemContainer.nativeElement, 'click')\n .pipe(\n filter(() => this.clickable && this.currentIndex !== this.index && !this.nzDisabled),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => {\n this.clickOutsideAngular$.next(this.index);\n });\n }\n\n enable(): void {\n this.nzDisabled = false;\n this.cdr.markForCheck();\n }\n\n disable(): void {\n this.nzDisabled = true;\n this.cdr.markForCheck();\n }\n\n markForCheck(): void {\n this.cdr.markForCheck();\n }\n}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { Directionality } from '@angular/cdk/bidi';\nimport {\n AfterContentInit,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n DestroyRef,\n EventEmitter,\n inject,\n Input,\n NgZone,\n OnChanges,\n OnInit,\n Output,\n QueryList,\n SimpleChanges,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { Subscription, merge } from 'rxjs';\nimport { startWith } from 'rxjs/operators';\n\nimport { BooleanInput, NzSizeDSType } from 'ng-zorro-antd/core/types';\nimport { toBoolean } from 'ng-zorro-antd/core/util';\n\nimport { NzStepComponent } from './step.component';\n\nexport type NzDirectionType = 'horizontal' | 'vertical';\nexport type NzStatusType = 'wait' | 'process' | 'finish' | 'error';\nexport type NzProgressDotTemplate = TemplateRef<{ $implicit: TemplateRef<void>; status: string; index: number }>;\n\n@Component({\n selector: 'nz-steps',\n exportAs: 'nzSteps',\n encapsulation: ViewEncapsulation.None,\n template: `<ng-content />`,\n host: {\n class: 'ant-steps',\n '[class.ant-steps-horizontal]': `nzDirection === 'horizontal'`,\n '[class.ant-steps-vertical]': `nzDirection === 'vertical'`,\n '[class.ant-steps-label-horizontal]': `nzDirection === 'horizontal'`,\n '[class.ant-steps-label-vertical]': `(showProcessDot || nzLabelPlacement === 'vertical') && nzDirection === 'horizontal'`,\n '[class.ant-steps-dot]': 'showProcessDot',\n '[class.ant-steps-small]': `nzSize === 'small'`,\n '[class.ant-steps-navigation]': `nzType === 'navigation'`,\n '[class.ant-steps-rtl]': `dir() === 'rtl'`,\n '[class.ant-steps-with-progress]': 'showProgress'\n }\n})\nexport class NzStepsComponent implements OnChanges, OnInit, AfterContentInit {\n static ngAcceptInputType_nzProgressDot: BooleanInput | NzProgressDotTemplate | undefined | null;\n\n private cdr = inject(ChangeDetectorRef);\n private ngZone = inject(NgZone);\n protected readonly dir = inject(Directionality).valueSignal;\n private destroyRef = inject(DestroyRef);\n\n @ContentChildren(NzStepComponent) steps!: QueryList<NzStepComponent>;\n\n @Input() nzCurrent = 0;\n @Input() nzDirection: NzDirectionType = 'horizontal';\n @Input() nzLabelPlacement: 'horizontal' | 'vertical' = 'horizontal';\n @Input() nzType: 'default' | 'navigation' = 'default';\n @Input() nzSize: NzSizeDSType = 'default';\n @Input() nzStartIndex = 0;\n @Input() nzStatus: NzStatusType = 'process';\n\n @Input()\n set nzProgressDot(value: boolean | NzProgressDotTemplate | undefined | null) {\n if (value instanceof TemplateRef) {\n this.showProcessDot = true;\n this.customProcessDotTemplate = value;\n } else {\n this.showProcessDot = toBoolean(value);\n }\n this.updateChildrenSteps();\n }\n\n @Output() readonly nzIndexChange = new EventEmitter<number>();\n\n private indexChangeSubscription = Subscription.EMPTY;\n\n showProcessDot = false;\n showProgress = false;\n customProcessDotTemplate?: TemplateRef<{ $implicit: TemplateRef<void>; status: string; index: number }>;\n\n ngOnChanges(changes: SimpleChanges): void {\n const { nzStartIndex, nzDirection, nzStatus, nzCurrent, nzSize } = changes;\n if (nzStartIndex || nzDirection || nzStatus || nzCurrent || nzSize) {\n this.updateChildrenSteps();\n }\n }\n\n ngOnInit(): void {\n this.updateChildrenSteps();\n }\n\n ngAfterContentInit(): void {\n if (this.steps) {\n this.steps.changes.pipe(startWith(null), takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n this.updateHostProgressClass();\n this.updateChildrenSteps();\n });\n }\n }\n\n private updateHostProgressClass(): void {\n if (this.steps && !this.showProcessDot) {\n this.showProgress = !!this.steps.toArray().find(step => step.nzPercentage !== null);\n }\n }\n\n private updateChildrenSteps(): void {\n if (this.steps) {\n const length = this.steps.length;\n this.steps.toArray().forEach((step, index) => {\n Promise.resolve().then(() => {\n step.nzSize = this.nzSize;\n step.outStatus = this.nzStatus;\n step.showProcessDot = this.showProcessDot;\n if (this.customProcessDotTemplate) {\n step.customProcessTemplate = this.customProcessDotTemplate;\n }\n step.clickable = this.nzIndexChange.observers.length > 0;\n step.direction = this.nzDirection;\n step.index = index + this.nzStartIndex;\n step.currentIndex = this.nzCurrent;\n step.last = length === index + 1;\n step.markForCheck();\n });\n });\n this.indexChangeSubscription.unsubscribe();\n this.indexChangeSubscription = merge(...this.steps.map(step => step.clickOutsideAngular$))\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(index => {\n if (this.nzIndexChange.observers.length) {\n this.ngZone.run(() => this.nzIndexChange.emit(index));\n }\n });\n }\n }\n}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { NgModule } from '@angular/core';\n\nimport { NzStepComponent } from './step.component';\nimport { NzStepsComponent } from './steps.component';\n\n@NgModule({\n imports: [NzStepsComponent, NzStepComponent],\n exports: [NzStepsComponent, NzStepComponent]\n})\nexport class NzStepsModule {}\n"],"mappings":";;;;;;;;;;;;;;AAuHA,IAAa,kBAAb,MAAa,gBAAe;CAClB,MAAM,OAAO,iBAAiB;CAC9B,aAAa,OAAO,UAAU;CAEc;CACN;CAErC;CACA;CACA;CAC+B,aAAa;CAC5C,eAA8B;CAC9B,SAAuB;CAEhC,IACI,WAAQ;EACV,OAAO,KAAK;CACd;CAEA,IAAI,SAAS,QAAc;EACzB,KAAK,UAAU;EACf,KAAK,iBAAiB;CACxB;CAEA,iBAAiB;CACT,UAAU;CAElB,IACI,SAAM;EACR,OAAO,KAAK;CACd;CAE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