ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
9 lines • 19.9 kB
JavaScript
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/cdk/platform"),require("@angular/forms"),require("rxjs/operators"),require("@angular/common"),require("rxjs"),require("ng-zorro-antd/tooltip"),require("@angular/core"),require("ng-zorro-antd/core")):"function"==typeof define&&define.amd?define("ng-zorro-antd/slider",["exports","@angular/cdk/platform","@angular/forms","rxjs/operators","@angular/common","rxjs","ng-zorro-antd/tooltip","@angular/core","ng-zorro-antd/core"],e):e((t["ng-zorro-antd"]=t["ng-zorro-antd"]||{},t["ng-zorro-antd"].slider={}),t.ng.cdk.platform,t.ng.forms,t.rxjs.operators,t.ng.common,t.rxjs,t["ng-zorro-antd"].tooltip,t.ng.core,t["ng-zorro-antd"].core)}(this,function(t,e,n,u,r,p,i,o,d){"use strict";var s=function(){return(s=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;0<=a;a--)(i=t[a])&&(s=(o<3?i(s):3<o?i(e,n,s):i(e,n))||s);return 3<o&&s&&Object.defineProperty(e,n,s),s}function l(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function h(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t}function g(){}function f(t){return t instanceof Array&&2===t.length}function z(t){return t instanceof Object}
/**
* @license
* Copyright Alibaba.com All Rights Reserved.
*
* 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
*/var y=(v.prototype.ngOnInit=function(){this.handles=this.generateHandles(this.nzRange?2:1),this.sliderDOM=this.slider.nativeElement,this.marksArray=this.nzMarks?this.generateMarkItems(this.nzMarks):null,this.platform.isBrowser&&this.createDraggingObservables(),this.toggleDragDisabled(this.nzDisabled),null===this.getValue()&&this.setValue(this.formatValue(null))},v.prototype.ngOnChanges=function(t){var e=t.nzDisabled,n=t.nzMarks,r=t.nzRange;e&&!e.firstChange?this.toggleDragDisabled(e.currentValue):n&&!n.firstChange?this.marksArray=this.nzMarks?this.generateMarkItems(this.nzMarks):null:r&&!r.firstChange&&this.setValue(this.formatValue(null))},v.prototype.ngOnDestroy=function(){this.unsubscribeDrag()},v.prototype.writeValue=function(t){this.setValue(t,!0)},v.prototype.onValueChange=function(t){},v.prototype.onTouched=function(){},v.prototype.registerOnChange=function(t){this.onValueChange=t},v.prototype.registerOnTouched=function(t){this.onTouched=t},v.prototype.setDisabledState=function(t){this.nzDisabled=t,this.toggleDragDisabled(t)},v.prototype.setValue=function(t,e){void 0===e&&(e=!1),e?(this.value=this.formatValue(t),this.updateTrackAndHandles()):this.valuesEqual(this.value,t)||(this.value=t,this.updateTrackAndHandles(),this.onValueChange(this.getValue(!0)))},v.prototype.getValue=function(t){return void 0===t&&(t=!1),t&&this.value&&f(this.value)?d.shallowCopyArray(this.value).sort(function(t,e){return t-e}):this.value},v.prototype.getValueToOffset=function(t){var e=this,n=t;return void 0===n&&(n=this.getValue(!0)),f(n)?n.map(function(t){return e.valueToOffset(t)}):this.valueToOffset(n)},v.prototype.setActiveValueIndex=function(n){var t=this.getValue();if(f(t)){var r,i=null,o=-1;t.forEach(function(t,e){r=Math.abs(n-t),(null===i||r<i)&&(i=r,o=e)}),this.activeValueIndex=o}},v.prototype.setActiveValue=function(t){if(f(this.value)){var e=d.shallowCopyArray(this.value);e[this.activeValueIndex]=t,this.setValue(e)}else this.setValue(t)},v.prototype.updateTrackAndHandles=function(){var t,e,n=this.getValue(),r=this.getValueToOffset(n),i=this.getValue(!0),o=this.getValueToOffset(i),s=f(i)?i:[0,i],a=f(o)?[o[0],o[1]-o[0]]:[0,o];this.handles.forEach(function(t,e){t.offset=f(r)?r[e]:r,t.value=f(n)?n[e]:n||0}),t=h(s,2),this.bounds.lower=t[0],this.bounds.upper=t[1],e=h(a,2),this.track.offset=e[0],this.track.length=e[1],this.cdr.markForCheck()},v.prototype.onDragStart=function(t){this.toggleDragMoving(!0),this.cacheSliderProperty(),this.setActiveValueIndex(t),this.setActiveValue(t),this.showHandleTooltip(this.nzRange?this.activeValueIndex:0)},v.prototype.onDragMove=function(t){this.setActiveValue(t),this.cdr.markForCheck()},v.prototype.onDragEnd=function(){this.nzOnAfterChange.emit(this.getValue(!0)),this.toggleDragMoving(!1),this.cacheSliderProperty(!0),this.hideAllHandleTooltip(),this.cdr.markForCheck()},v.prototype.createDraggingObservables=function(){var a=this,l=this.sliderDOM,t=this.nzVertical?"pageY":"pageX",e={start:"mousedown",move:"mousemove",end:"mouseup",pluckKey:[t]},n={start:"touchstart",move:"touchmove",end:"touchend",pluckKey:["touches","0",t],filter:function(t){return t instanceof TouchEvent}};[e,n].forEach(function(t){var e=t.start,n=t.move,r=t.end,i=t.pluckKey,o=t.filter,s=void 0===o?function(){return!0}:o;t.startPlucked$=p.fromEvent(l,e).pipe(u.filter(s),u.tap(d.silentEvent),u.pluck.apply(void 0,c(i)),u.map(function(t){return a.findClosestValue(t)})),t.end$=p.fromEvent(document,r),t.moveResolved$=p.fromEvent(document,n).pipe(u.filter(s),u.tap(d.silentEvent),u.pluck.apply(void 0,c(i)),u.distinctUntilChanged(),u.map(function(t){return a.findClosestValue(t)}),u.distinctUntilChanged(),u.takeUntil(t.end$))}),this.dragStart$=p.merge(e.startPlucked$,n.startPlucked$),this.dragMove$=p.merge(e.moveResolved$,n.moveResolved$),this.dragEnd$=p.merge(e.end$,n.end$)},v.prototype.subscribeDrag=function(t){void 0===t&&(t=["start","move","end"]),-1!==t.indexOf("start")&&this.dragStart$&&!this.dragStart_&&(this.dragStart_=this.dragStart$.subscribe(this.onDragStart.bind(this))),-1!==t.indexOf("move")&&this.dragMove$&&!this.dragMove_&&(this.dragMove_=this.dragMove$.subscribe(this.onDragMove.bind(this))),-1!==t.indexOf("end")&&this.dragEnd$&&!this.dragEnd_&&(this.dragEnd_=this.dragEnd$.subscribe(this.onDragEnd.bind(this)))},v.prototype.unsubscribeDrag=function(t){void 0===t&&(t=["start","move","end"]),-1!==t.indexOf("start")&&this.dragStart_&&(this.dragStart_.unsubscribe(),this.dragStart_=null),-1!==t.indexOf("move")&&this.dragMove_&&(this.dragMove_.unsubscribe(),this.dragMove_=null),-1!==t.indexOf("end")&&this.dragEnd_&&(this.dragEnd_.unsubscribe(),this.dragEnd_=null)},v.prototype.toggleDragMoving=function(t){var e=["move","end"];t?(this.isDragging=!0,this.subscribeDrag(e)):(this.isDragging=!1,this.unsubscribeDrag(e))},v.prototype.toggleDragDisabled=function(t){t?this.unsubscribeDrag():this.subscribeDrag(["start"])},v.prototype.findClosestValue=function(t){var e=this.getSliderStartPosition(),n=this.getSliderLength(),r=d.ensureNumberInRange((t-e)/n,0,1),i=(this.nzMax-this.nzMin)*(this.nzVertical?1-r:r)+this.nzMin,o=null===this.nzMarks?[]:Object.keys(this.nzMarks).map(parseFloat);if(null!==this.nzStep&&!this.nzDots){var s=Math.round(i/this.nzStep)*this.nzStep;o.push(s)}var a=o.map(function(t){return Math.abs(i-t)}),l=o[a.indexOf(Math.min.apply(Math,c(a)))];return null===this.nzStep?l:parseFloat(l.toFixed(d.getPrecision(this.nzStep)))},v.prototype.valueToOffset=function(t){return d.getPercent(this.nzMin,this.nzMax,t)},v.prototype.getSliderStartPosition=function(){if(null!==this.cacheSliderStart)return this.cacheSliderStart;var t=d.getElementOffset(this.sliderDOM);return this.nzVertical?t.top:t.left},v.prototype.getSliderLength=function(){if(null!==this.cacheSliderLength)return this.cacheSliderLength;var t=this.sliderDOM;return this.nzVertical?t.clientHeight:t.clientWidth},v.prototype.cacheSliderProperty=function(t){void 0===t&&(t=!1),this.cacheSliderStart=t?null:this.getSliderStartPosition(),this.cacheSliderLength=t?null:this.getSliderLength()},v.prototype.formatValue=function(t){var e=this;return this.assertValueValid(t)?f(t)?t.map(function(t){return d.ensureNumberInRange(t,e.nzMin,e.nzMax)}):d.ensureNumberInRange(t,this.nzMin,this.nzMax):null===this.nzDefaultValue?this.nzRange?[this.nzMin,this.nzMax]:this.nzMin:this.nzDefaultValue},v.prototype.assertValueValid=function(t){return!(!Array.isArray(t)&&isNaN("number"!=typeof t?parseFloat(t):t))&&this.assertValueTypeMatch(t)},v.prototype.assertValueTypeMatch=function(t){if(t){if(f(t)!==this.nzRange)throw function e(){return new Error('The "nzRange" can\'t match the "ngModel"\'s type, please check these properties: "nzRange", "ngModel", "nzDefaultValue".')}();return!0}return!0},v.prototype.valuesEqual=function(t,e){return typeof t==typeof e&&(f(t)&&f(e)?d.arraysEqual(t,e):t===e)},v.prototype.showHandleTooltip=function(n){void 0===n&&(n=0),this.handles.forEach(function(t,e){t.active=e===n})},v.prototype.hideAllHandleTooltip=function(){this.handles.forEach(function(t){return t.active=!1})},v.prototype.generateHandles=function(t){return Array(t).fill(0).map(function(){return{offset:null,value:null,active:!1}})},v.prototype.generateMarkItems=function(t){var e=[];for(var n in t){var r=t[n],i="number"==typeof n?n:parseFloat(n);i>=this.nzMin&&i<=this.nzMax&&e.push({value:i,offset:this.valueToOffset(i),config:r})}return e.length?e:null},v.decorators=[{type:o.Component,args:[{changeDetection:o.ChangeDetectionStrategy.OnPush,encapsulation:o.ViewEncapsulation.None,selector:"nz-slider",exportAs:"nzSlider",preserveWhitespaces:!1,providers:[{provide:n.NG_VALUE_ACCESSOR,useExisting:o.forwardRef(function(){return v}),multi:!0}],template:'<div #slider\n class="ant-slider"\n [class.ant-slider-disabled]="nzDisabled"\n [class.ant-slider-vertical]="nzVertical"\n [class.ant-slider-with-marks]="marksArray">\n <div class="ant-slider-rail"></div>\n <nz-slider-track\n [nzVertical]="nzVertical"\n [nzIncluded]="nzIncluded"\n [nzOffset]="track.offset"\n [nzLength]="track.length"></nz-slider-track>\n <nz-slider-step\n *ngIf="marksArray"\n [nzVertical]="nzVertical"\n [nzLowerBound]="bounds.lower"\n [nzUpperBound]="bounds.upper"\n [nzMarksArray]="marksArray"\n [nzIncluded]="nzIncluded"></nz-slider-step>\n <nz-slider-handle\n *ngFor="let handle of handles"\n [nzVertical]="nzVertical"\n [nzOffset]="handle.offset"\n [nzValue]="handle.value"\n [nzActive]="handle.active"\n [nzTipFormatter]="nzTipFormatter"\n [nzTooltipVisible]="nzTooltipVisible"></nz-slider-handle>\n <nz-slider-marks \n *ngIf="marksArray"\n [nzVertical]="nzVertical"\n [nzMin]="nzMin"\n [nzMax]="nzMax"\n [nzLowerBound]="bounds.lower"\n [nzUpperBound]="bounds.upper"\n [nzMarksArray]="marksArray"\n [nzIncluded]="nzIncluded"></nz-slider-marks>\n</div>'}]}],v.ctorParameters=function(){return[{type:o.ChangeDetectorRef},{type:e.Platform}]},v.propDecorators={slider:[{type:o.ViewChild,args:["slider"]}],nzDisabled:[{type:o.Input}],nzDots:[{type:o.Input}],nzIncluded:[{type:o.Input}],nzRange:[{type:o.Input}],nzVertical:[{type:o.Input}],nzDefaultValue:[{type:o.Input}],nzMarks:[{type:o.Input}],nzMax:[{type:o.Input}],nzMin:[{type:o.Input}],nzStep:[{type:o.Input}],nzTooltipVisible:[{type:o.Input}],nzTipFormatter:[{type:o.Input}],nzOnAfterChange:[{type:o.Output}]},a([d.InputBoolean(),l("design:type",Object)],v.prototype,"nzDisabled",void 0),a([d.InputBoolean(),l("design:type",Boolean)],v.prototype,"nzDots",void 0),a([d.InputBoolean(),l("design:type",Boolean)],v.prototype,"nzIncluded",void 0),a([d.InputBoolean(),l("design:type",Boolean)],v.prototype,"nzRange",void 0),a([d.InputBoolean(),l("design:type",Boolean)],v.prototype,"nzVertical",void 0),v);function v(t,e){this.cdr=t,this.platform=e,this.nzDisabled=!1,this.nzDots=!1,this.nzIncluded=!0,this.nzRange=!1,this.nzVertical=!1,this.nzDefaultValue=null,this.nzMarks=null,this.nzMax=100,this.nzMin=0,this.nzStep=1,this.nzTooltipVisible="default",this.nzOnAfterChange=new o.EventEmitter,this.value=null,this.cacheSliderStart=null,this.cacheSliderLength=null,this.activeValueIndex=undefined,this.track={offset:null,length:null},this.bounds={lower:null,upper:null},this.isDragging=!1}var m=(b.prototype.ngOnChanges=function(t){var e=this,n=t.nzOffset,r=t.nzValue,i=t.nzActive,o=t.nzTooltipVisible;n&&this.updateStyle(),r&&(this.updateTooltipTitle(),this.updateTooltipPosition()),i&&(i.currentValue?this.toggleTooltip(!0):this.toggleTooltip(!1)),o&&"always"===o.currentValue&&Promise.resolve().then(function(){return e.toggleTooltip(!0,!0)})},b.prototype.ngOnDestroy=function(){this.hovers_.unsubscribe()},b.prototype.toggleTooltip=function(t,e){void 0===e&&(e=!1),(e||"default"===this.nzTooltipVisible&&this.tooltip)&&(t?this.tooltip.show():this.tooltip.hide())},b.prototype.updateTooltipTitle=function(){this.tooltipTitle=this.nzTipFormatter?this.nzTipFormatter(this.nzValue):""+this.nzValue},b.prototype.updateTooltipPosition=function(){var t=this;this.tooltip&&Promise.resolve().then(function(){return t.tooltip.updatePosition()})},b.prototype.updateStyle=function(){this.style[this.nzVertical?"bottom":"left"]=this.nzOffset+"%"},b.decorators=[{type:o.Component,args:[{changeDetection:o.ChangeDetectionStrategy.OnPush,encapsulation:o.ViewEncapsulation.None,selector:"nz-slider-handle",exportAs:"nzSliderHandle",preserveWhitespaces:!1,template:'<nz-tooltip\n *ngIf="nzTipFormatter !== null && nzTooltipVisible !== \'never\'"\n [nzTitle]="tooltipTitle"\n [nzTrigger]="null">\n <div nz-tooltip class="ant-slider-handle" [ngStyle]="style"></div>\n</nz-tooltip>\n<div *ngIf="nzTipFormatter === null || nzTooltipVisible === \'never\'" class="ant-slider-handle" [ngStyle]="style"></div>\n',host:{"(mouseenter)":"enterHandle()","(mouseleave)":"leaveHandle()"}}]}],b.ctorParameters=function(){return[{type:y},{type:o.ChangeDetectorRef}]},b.propDecorators={tooltip:[{type:o.ViewChild,args:[i.NzToolTipComponent]}],nzVertical:[{type:o.Input}],nzOffset:[{type:o.Input}],nzValue:[{type:o.Input}],nzTooltipVisible:[{type:o.Input}],nzTipFormatter:[{type:o.Input}],nzActive:[{type:o.Input}]},a([d.InputBoolean(),l("design:type",Object)],b.prototype,"nzActive",void 0),b);function b(t,e){var n=this;this.sliderComponent=t,this.cdr=e,this.nzTooltipVisible="default",this.nzActive=!1,this.style={},this.hovers_=new p.Subscription,this.enterHandle=function(){n.sliderComponent.isDragging||(n.toggleTooltip(!0),n.updateTooltipPosition(),n.cdr.detectChanges())},this.leaveHandle=function(){n.sliderComponent.isDragging||(n.toggleTooltip(!1),n.cdr.detectChanges())}}var V=(I.prototype.ngOnChanges=function(t){t.nzMarksArray&&this.buildMarks(),(t.nzMarksArray||t.nzLowerBound||t.nzUpperBound)&&this.togglePointActive()},I.prototype.trackById=function(t,e){return e.value},I.prototype.buildMarks=function(){var o=this,s=this.nzMax-this.nzMin;this.marks=this.nzMarksArray.map(function(t){var e=t.value,n=t.offset,r=t.config,i=o.buildStyles(e,s,r);return{label:z(r)?r.label:r,offset:n,style:i,value:e,config:r,active:!1}})},I.prototype.buildStyles=function(t,e,n){var r;if(this.nzVertical)r={marginBottom:"-50%",bottom:(t-this.nzMin)/e*100+"%"};else{var i=100/(this.nzMarksArray.length-1)*.9;r={width:i+"%",marginLeft:-i/2+"%",left:(t-this.nzMin)/e*100+"%"}}return z(n)&&n.style&&(r=s({},r,n.style)),r},I.prototype.togglePointActive=function(){var r=this;this.marks&&null!==this.nzLowerBound&&null!==this.nzUpperBound&&this.marks.forEach(function(t){var e=t.value,n=!r.nzIncluded&&e===r.nzUpperBound||r.nzIncluded&&e<=r.nzUpperBound&&e>=r.nzLowerBound;t.active=n})},I.decorators=[{type:o.Component,args:[{changeDetection:o.ChangeDetectionStrategy.OnPush,encapsulation:o.ViewEncapsulation.None,preserveWhitespaces:!1,selector:"nz-slider-marks",exportAs:"nzSliderMarks",template:'<div class="ant-slider-mark">\n <span\n class="ant-slider-mark-text"\n *ngFor="let attr of marks; trackBy: trackById"\n [class.ant-slider-mark-active]="attr.active"\n [ngStyle]="attr.style"\n [innerHTML]="attr.label">\n </span>\n</div>'}]}],I.propDecorators={nzLowerBound:[{type:o.Input}],nzUpperBound:[{type:o.Input}],nzMarksArray:[{type:o.Input}],nzMin:[{type:o.Input}],nzMax:[{type:o.Input}],nzVertical:[{type:o.Input}],nzIncluded:[{type:o.Input}]},a([d.InputBoolean(),l("design:type",Object)],I.prototype,"nzVertical",void 0),a([d.InputBoolean(),l("design:type",Object)],I.prototype,"nzIncluded",void 0),I);function I(){this.nzLowerBound=null,this.nzUpperBound=null,this.nzVertical=!1,this.nzIncluded=!1}var k=(M.prototype.ngOnChanges=function(t){t.nzMarksArray&&this.buildSteps(),(t.nzMarksArray||t.nzLowerBound||t.nzUpperBound)&&this.togglePointActive()},M.prototype.trackById=function(t,e){return e.value},M.prototype.buildSteps=function(){var i=this.nzVertical?"bottom":"left";this.steps=this.nzMarksArray.map(function(t){var e,n=t.value,r=t.offset;return{value:n,offset:r,config:t.config,active:!1,style:(e={},e[i]=r+"%",e)}})},M.prototype.togglePointActive=function(){var r=this;this.steps&&null!==this.nzLowerBound&&null!==this.nzUpperBound&&this.steps.forEach(function(t){var e=t.value,n=!r.nzIncluded&&e===r.nzUpperBound||r.nzIncluded&&e<=r.nzUpperBound&&e>=r.nzLowerBound;t.active=n})},M.decorators=[{type:o.Component,args:[{changeDetection:o.ChangeDetectionStrategy.OnPush,encapsulation:o.ViewEncapsulation.None,selector:"nz-slider-step",exportAs:"nzSliderStep",preserveWhitespaces:!1,template:'<div class="ant-slider-step">\n <span\n class="ant-slider-dot"\n *ngFor="let mark of steps; trackBy: trackById"\n [class.ant-slider-dot-active]="mark.active"\n [ngStyle]="mark.style">\n </span>\n</div>'}]}],M.propDecorators={nzLowerBound:[{type:o.Input}],nzUpperBound:[{type:o.Input}],nzMarksArray:[{type:o.Input}],nzVertical:[{type:o.Input}],nzIncluded:[{type:o.Input}]},a([d.InputBoolean(),l("design:type",Object)],M.prototype,"nzVertical",void 0),a([d.InputBoolean(),l("design:type",Object)],M.prototype,"nzIncluded",void 0),M);function M(){this.nzLowerBound=null,this.nzUpperBound=null,this.nzVertical=!1,this.nzIncluded=!1}var S=(D.prototype.ngOnChanges=function(t){t.nzIncluded&&(this.style.visibility=this.nzIncluded?"visible":"hidden"),(t.nzVertical||t.nzOffset||t.nzLength)&&(this.nzVertical?(this.style.bottom=this.nzOffset+"%",this.style.height=this.nzLength+"%",this.style.left=null,this.style.width=null):(this.style.left=this.nzOffset+"%",this.style.width=this.nzLength+"%",this.style.bottom=null,this.style.height=null))},D.decorators=[{type:o.Component,args:[{changeDetection:o.ChangeDetectionStrategy.OnPush,encapsulation:o.ViewEncapsulation.None,selector:"nz-slider-track",exportAs:"nzSliderTrack",preserveWhitespaces:!1,template:'<div class="ant-slider-track" [ngStyle]="style"></div>'}]}],D.propDecorators={nzOffset:[{type:o.Input}],nzLength:[{type:o.Input}],nzVertical:[{type:o.Input}],nzIncluded:[{type:o.Input}]},a([d.InputNumber(),l("design:type",Number)],D.prototype,"nzOffset",void 0),a([d.InputNumber(),l("design:type",Number)],D.prototype,"nzLength",void 0),a([d.InputBoolean(),l("design:type",Object)],D.prototype,"nzVertical",void 0),a([d.InputBoolean(),l("design:type",Object)],D.prototype,"nzIncluded",void 0),D);function D(){this.nzVertical=!1,this.nzIncluded=!1,this.style={}}var O=(T.decorators=[{type:o.NgModule,args:[{exports:[y,S,m,k,V],declarations:[y,S,m,k,V],imports:[r.CommonModule,i.NzToolTipModule]}]}],T);function T(){}t.NzSliderComponent=y,t.NzSliderModule=O,t.NzSliderHandleComponent=m,t.NzSliderMarksComponent=V,t.NzSliderStepComponent=k,t.NzSliderTrackComponent=S,t.isValueARange=f,t.isConfigAObject=z,t.Marks=g,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=ng-zorro-antd-slider.umd.min.js.map