ng-zorro-antd-yj
Version:
An enterprise-class UI components based on Ant Design and Angular
89 lines • 4.33 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @record
*/
export function MarkObj() { }
if (false) {
/** @type {?|undefined} */
MarkObj.prototype.style;
/** @type {?} */
MarkObj.prototype.label;
}
var Marks = /** @class */ (function () {
function Marks() {
}
return Marks;
}());
export { Marks };
/**
* Processed steps that would be passed to sub components.
* @record
*/
export function ExtendedMark() { }
if (false) {
/** @type {?} */
ExtendedMark.prototype.value;
/** @type {?} */
ExtendedMark.prototype.offset;
/** @type {?} */
ExtendedMark.prototype.config;
}
/**
* Marks that would be rendered.
* @record
*/
export function DisplayedMark() { }
if (false) {
/** @type {?} */
DisplayedMark.prototype.active;
/** @type {?} */
DisplayedMark.prototype.label;
/** @type {?|undefined} */
DisplayedMark.prototype.style;
}
/**
* Steps that would be rendered.
* @record
*/
export function DisplayedStep() { }
if (false) {
/** @type {?} */
DisplayedStep.prototype.active;
/** @type {?|undefined} */
DisplayedStep.prototype.style;
}
/**
* @record
*/
export function SliderHandler() { }
if (false) {
/** @type {?} */
SliderHandler.prototype.offset;
/** @type {?} */
SliderHandler.prototype.value;
/** @type {?} */
SliderHandler.prototype.active;
}
/**
* @param {?} value
* @return {?}
*/
export function isValueARange(value) {
if (value instanceof Array) {
return value.length === 2;
}
else {
return false;
}
}
/**
* @param {?} config
* @return {?}
*/
export function isConfigAObject(config) {
return config instanceof Object;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnotc2xpZGVyLWRlZmluaXRpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmctem9ycm8tYW50ZC15ai8iLCJzb3VyY2VzIjpbInNsaWRlci9uei1zbGlkZXItZGVmaW5pdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUVB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