123456789101112131415161718192021222324252627282930313233 |
- /**
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
- */
- import { TemplateRef } from '@angular/core';
- import { NgStyleInterface } from 'ng-zorro-antd/core/types';
- export type NzProgressGapPositionType = 'top' | 'bottom' | 'left' | 'right';
- export type NzProgressStatusType = 'success' | 'exception' | 'active' | 'normal';
- export type NzProgressTypeType = 'line' | 'circle' | 'dashboard';
- export type NzProgressStrokeLinecapType = 'round' | 'square';
- export interface NzProgressGradientProgress {
- [percent: string]: string;
- }
- export interface NzProgressGradientFromTo {
- from: string;
- to: string;
- }
- export type NzProgressColorGradient = {
- direction?: string;
- } & (NzProgressGradientProgress | NzProgressGradientFromTo);
- export type NzProgressStrokeColorType = string | NzProgressColorGradient;
- export type NzProgressFormatter = ((percent: number) => string | null) | TemplateRef<{
- $implicit: number;
- }>;
- export interface NzProgressCirclePath {
- stroke: string | null;
- strokePathStyle: NgStyleInterface;
- }
- export interface NzProgressStepItem {
- backgroundColor: string;
- width: string;
- height: string;
- }
|