{"version":3,"file":"ng-zorro-antd-slider.mjs","sources":["../../components/slider/slider.service.ts","../../components/slider/handle.component.ts","../../components/slider/marks.component.ts","../../components/slider/step.component.ts","../../components/slider/track.component.ts","../../components/slider/slider.component.ts","../../components/slider/slider.module.ts","../../components/slider/typings.ts","../../components/slider/public-api.ts","../../components/slider/ng-zorro-antd-slider.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 { Injectable } from '@angular/core';\n\n@Injectable()\nexport class NzSliderService {\n isDragging = false;\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 } from '@angular/cdk/bidi';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n Input,\n OnChanges,\n SimpleChanges,\n TemplateRef,\n ViewChild,\n ViewEncapsulation,\n booleanAttribute\n} from '@angular/core';\n\nimport { NgStyleInterface, NzTSType } from 'ng-zorro-antd/core/types';\nimport { numberAttributeWithZeroFallback } from 'ng-zorro-antd/core/util';\nimport { NzToolTipModule, NzTooltipDirective } from 'ng-zorro-antd/tooltip';\n\nimport { NzSliderService } from './slider.service';\nimport { NzSliderShowTooltip } from './typings';\n\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n selector: 'nz-slider-handle',\n exportAs: 'nzSliderHandle',\n preserveWhitespaces: false,\n template: `\n
\n `,\n host: {\n '(mouseenter)': 'enterHandle()',\n '(mouseleave)': 'leaveHandle()'\n },\n imports: [NzToolTipModule]\n})\nexport class NzSliderHandleComponent implements OnChanges {\n @ViewChild('handle', { static: false }) handleEl?: ElementRef;\n @ViewChild(NzTooltipDirective, { static: false }) tooltip?: NzTooltipDirective;\n\n @Input({ transform: booleanAttribute }) vertical?: boolean;\n @Input({ transform: booleanAttribute }) reverse?: boolean;\n @Input({ transform: numberAttributeWithZeroFallback }) offset?: number;\n @Input({ transform: numberAttributeWithZeroFallback }) value?: number;\n @Input() tooltipVisible: NzSliderShowTooltip = 'default';\n @Input() tooltipPlacement?: string;\n @Input() tooltipFormatter?: null | ((value: number) => string) | TemplateRef