ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
1 lines • 17.9 kB
Source Map (JSON)
{"version":3,"file":"ng-zorro-antd-badge.mjs","sources":["../../components/badge/preset-colors.ts","../../components/badge/badge-sup.component.ts","../../components/badge/badge.component.ts","../../components/badge/ribbon.component.ts","../../components/badge/badge.module.ts","../../components/badge/public-api.ts","../../components/badge/ng-zorro-antd-badge.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\nexport const badgePresetColors: readonly string[] = [\n 'pink',\n 'red',\n 'yellow',\n 'orange',\n 'cyan',\n 'green',\n 'blue',\n 'purple',\n 'geekblue',\n 'magenta',\n 'volcano',\n 'gold',\n 'lime'\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 {\n ChangeDetectionStrategy,\n Component,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\n\nimport { zoomBadgeMotion } from 'ng-zorro-antd/core/animation';\nimport { NzSafeAny } from 'ng-zorro-antd/core/types';\n\n@Component({\n selector: 'nz-badge-sup',\n exportAs: 'nzBadgeSup',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [zoomBadgeMotion],\n template: `\n <ng-container *ngIf=\"count <= nzOverflowCount; else overflowTemplate\">\n <span\n [nzNoAnimation]=\"noAnimation\"\n *ngFor=\"let n of maxNumberArray; let i = index\"\n class=\"ant-scroll-number-only\"\n [style.transform]=\"'translateY(' + -countArray[i] * 100 + '%)'\"\n >\n <ng-container *ngIf=\"!nzDot && countArray[i] !== undefined\">\n <p\n *ngFor=\"let p of countSingleArray\"\n class=\"ant-scroll-number-only-unit\"\n [class.current]=\"p === countArray[i]\"\n >\n {{ p }}\n </p>\n </ng-container>\n </span>\n </ng-container>\n <ng-template #overflowTemplate>{{ nzOverflowCount }}+</ng-template>\n `,\n host: {\n class: 'ant-scroll-number',\n '[@.disabled]': `disableAnimation`,\n '[@zoomBadgeMotion]': '',\n '[attr.title]': `nzTitle === null ? '' : nzTitle || nzCount`,\n '[style]': `nzStyle`,\n '[style.right.px]': `nzOffset && nzOffset[0] ? -nzOffset[0] : null`,\n '[style.margin-top.px]': `nzOffset && nzOffset[1] ? nzOffset[1] : null`,\n '[class.ant-badge-count]': `!nzDot`,\n '[class.ant-badge-dot]': `nzDot`,\n '[class.ant-badge-multiple-words]': `countArray.length >= 2`\n }\n})\nexport class NzBadgeSupComponent implements OnInit, OnChanges {\n @Input() nzOffset?: [number, number];\n @Input() nzTitle?: string | null | undefined;\n @Input() nzStyle: { [key: string]: string } | null = null;\n @Input() nzDot = false;\n @Input() nzOverflowCount: number = 99;\n @Input() disableAnimation = false;\n @Input() nzCount?: number | TemplateRef<NzSafeAny>;\n @Input() noAnimation = false;\n maxNumberArray: string[] = [];\n countArray: number[] = [];\n count: number = 0;\n countSingleArray = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];\n\n constructor() {}\n\n generateMaxNumberArray(): void {\n this.maxNumberArray = this.nzOverflowCount.toString().split('');\n }\n\n ngOnInit(): void {\n this.generateMaxNumberArray();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const { nzOverflowCount, nzCount } = changes;\n if (nzCount && typeof nzCount.currentValue === 'number') {\n this.count = Math.max(0, nzCount.currentValue);\n this.countArray = this.count\n .toString()\n .split('')\n .map(item => +item);\n }\n if (nzOverflowCount) {\n this.generateMaxNumberArray();\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 { Direction, Directionality } from '@angular/cdk/bidi';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n Host,\n Input,\n OnChanges,\n OnDestroy,\n OnInit,\n Optional,\n Renderer2,\n SimpleChanges,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { zoomBadgeMotion } from 'ng-zorro-antd/core/animation';\nimport { NzConfigKey, NzConfigService, WithConfig } from 'ng-zorro-antd/core/config';\nimport { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';\nimport { BooleanInput, NzSafeAny } from 'ng-zorro-antd/core/types';\nimport { InputBoolean } from 'ng-zorro-antd/core/util';\n\nimport { badgePresetColors } from './preset-colors';\nimport { NzBadgeStatusType } from './types';\n\nconst NZ_CONFIG_MODULE_NAME: NzConfigKey = 'badge';\n\n@Component({\n selector: 'nz-badge',\n exportAs: 'nzBadge',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [zoomBadgeMotion],\n template: `\n <ng-container *ngIf=\"nzStatus || nzColor\">\n <span\n class=\"ant-badge-status-dot ant-badge-status-{{ nzStatus || presetColor }}\"\n [style.background]=\"!presetColor && nzColor\"\n [ngStyle]=\"nzStyle\"\n ></span>\n <span class=\"ant-badge-status-text\">\n <ng-container *nzStringTemplateOutlet=\"nzText\">{{ nzText }}</ng-container>\n </span>\n </ng-container>\n <ng-content></ng-content>\n <ng-container *nzStringTemplateOutlet=\"nzCount\">\n <nz-badge-sup\n *ngIf=\"showSup\"\n [nzOffset]=\"nzOffset\"\n [nzTitle]=\"nzTitle\"\n [nzStyle]=\"nzStyle\"\n [nzDot]=\"nzDot\"\n [nzOverflowCount]=\"nzOverflowCount\"\n [disableAnimation]=\"!!(nzStandalone || nzStatus || nzColor || noAnimation?.nzNoAnimation)\"\n [nzCount]=\"nzCount\"\n [noAnimation]=\"!!noAnimation?.nzNoAnimation\"\n ></nz-badge-sup>\n </ng-container>\n `,\n host: {\n class: 'ant-badge',\n '[class.ant-badge-status]': 'nzStatus',\n '[class.ant-badge-not-a-wrapper]': '!!(nzStandalone || nzStatus || nzColor)'\n }\n})\nexport class NzBadgeComponent implements OnChanges, OnDestroy, OnInit {\n readonly _nzModuleName: NzConfigKey = NZ_CONFIG_MODULE_NAME;\n static ngAcceptInputType_nzShowZero: BooleanInput;\n static ngAcceptInputType_nzShowDot: BooleanInput;\n static ngAcceptInputType_nzDot: BooleanInput;\n static ngAcceptInputType_nzStandalone: BooleanInput;\n showSup = false;\n presetColor: string | null = null;\n dir: Direction = 'ltr';\n private destroy$ = new Subject<void>();\n @Input() @InputBoolean() nzShowZero: boolean = false;\n @Input() @InputBoolean() nzShowDot = true;\n @Input() @InputBoolean() nzStandalone = false;\n @Input() @InputBoolean() nzDot = false;\n @Input() @WithConfig() nzOverflowCount: number = 99;\n @Input() @WithConfig() nzColor?: string = undefined;\n @Input() nzStyle: { [key: string]: string } | null = null;\n @Input() nzText?: string | TemplateRef<void> | null = null;\n @Input() nzTitle?: string | null | undefined;\n @Input() nzStatus?: NzBadgeStatusType | string;\n @Input() nzCount?: number | TemplateRef<NzSafeAny>;\n @Input() nzOffset?: [number, number];\n\n constructor(\n public nzConfigService: NzConfigService,\n private renderer: Renderer2,\n private cdr: ChangeDetectorRef,\n private elementRef: ElementRef,\n @Optional() private directionality: Directionality,\n @Host() @Optional() public noAnimation?: NzNoAnimationDirective\n ) {}\n ngOnInit(): void {\n this.directionality.change?.pipe(takeUntil(this.destroy$)).subscribe((direction: Direction) => {\n this.dir = direction;\n this.prepareBadgeForRtl();\n this.cdr.detectChanges();\n });\n this.dir = this.directionality.value;\n this.prepareBadgeForRtl();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const { nzColor, nzShowDot, nzDot, nzCount, nzShowZero } = changes;\n if (nzColor) {\n this.presetColor = this.nzColor && badgePresetColors.indexOf(this.nzColor) !== -1 ? this.nzColor : null;\n }\n if (nzShowDot || nzDot || nzCount || nzShowZero) {\n this.showSup = (this.nzShowDot && this.nzDot) || this.nzCount! > 0 || (this.nzCount! <= 0 && this.nzShowZero);\n }\n }\n\n private prepareBadgeForRtl(): void {\n if (this.isRtlLayout) {\n this.renderer.addClass(this.elementRef.nativeElement, 'ant-badge-rtl');\n } else {\n this.renderer.removeClass(this.elementRef.nativeElement, 'ant-badge-rtl');\n }\n }\n\n get isRtlLayout(): boolean {\n return this.dir === 'rtl';\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\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 {\n ChangeDetectionStrategy,\n Component,\n Input,\n OnChanges,\n SimpleChanges,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\n\nimport { badgePresetColors } from './preset-colors';\n\n@Component({\n selector: 'nz-ribbon',\n exportAs: 'nzRibbon',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <ng-content></ng-content>\n <div\n class=\"ant-ribbon\"\n [class]=\"presetColor && 'ant-ribbon-color-' + presetColor\"\n [class.ant-ribbon-placement-end]=\"nzPlacement === 'end'\"\n [class.ant-ribbon-placement-start]=\"nzPlacement === 'start'\"\n [style.background-color]=\"!presetColor && nzColor\"\n >\n <ng-container *nzStringTemplateOutlet=\"nzText\">{{ nzText }}</ng-container>\n <div class=\"ant-ribbon-corner\" [style.color]=\"!presetColor && nzColor\"></div>\n </div>\n `,\n host: { class: 'ant-ribbon-wrapper' }\n})\nexport class NzRibbonComponent implements OnChanges {\n @Input() nzColor: string | undefined;\n @Input() nzPlacement: 'start' | 'end' = 'end';\n @Input() nzText: string | TemplateRef<void> | null = null;\n presetColor: string | null = null;\n\n constructor() {}\n\n ngOnChanges(changes: SimpleChanges): void {\n const { nzColor } = changes;\n if (nzColor) {\n this.presetColor = this.nzColor && badgePresetColors.indexOf(this.nzColor) !== -1 ? this.nzColor : null;\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 { BidiModule } from '@angular/cdk/bidi';\nimport { ObserversModule } from '@angular/cdk/observers';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { NzNoAnimationModule } from 'ng-zorro-antd/core/no-animation';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\n\nimport { NzBadgeSupComponent } from './badge-sup.component';\nimport { NzBadgeComponent } from './badge.component';\nimport { NzRibbonComponent } from './ribbon.component';\n\n@NgModule({\n declarations: [NzBadgeComponent, NzBadgeSupComponent, NzRibbonComponent],\n exports: [NzBadgeComponent, NzRibbonComponent],\n imports: [BidiModule, CommonModule, ObserversModule, NzOutletModule, NzNoAnimationModule]\n})\nexport class NzBadgeModule {}\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\nexport * from './badge.component';\nexport * from './ribbon.component';\nexport * from './badge.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;AAKO,MAAM,iBAAiB,GAAsB;IAClD,MAAM;IACN,KAAK;IACL,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,OAAO;IACP,MAAM;IACN,QAAQ;IACR,UAAU;IACV,SAAS;IACT,SAAS;IACT,MAAM;IACN,MAAM;CACP;;ACnBD;;;;MA4Da,mBAAmB;IAc9B;QAXS,YAAO,GAAqC,IAAI,CAAC;QACjD,UAAK,GAAG,KAAK,CAAC;QACd,oBAAe,GAAW,EAAE,CAAC;QAC7B,qBAAgB,GAAG,KAAK,CAAC;QAEzB,gBAAW,GAAG,KAAK,CAAC;QAC7B,mBAAc,GAAa,EAAE,CAAC;QAC9B,eAAU,GAAa,EAAE,CAAC;QA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