@progress/kendo-angular-indicators
Version:
Kendo UI Indicators for Angular
29 lines (28 loc) • 1 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { validShapes } from "./models";
/**
* @hidden
*/
export const ANIMATION_CLASSES = {
pulse: 'k-skeleton-pulse',
wave: 'k-skeleton-wave'
};
/**
* @hidden
*/
export const SHAPE_CLASSES = {
rectangle: 'k-skeleton-rect',
circle: 'k-skeleton-circle',
text: 'k-skeleton-text'
};
/**
* @hidden
*/
export const skeletonShapeError = (input) => `"${input}" is not a valid kendo-skeleton shape. Valid shapes are: ${validShapes.map(s => `"${s}"`).join(" | ")}.`;
/**
* @hidden
*/
export const skeletonAnimationError = (input) => `"${input}" is not a valid kendo-skeleton animation. Valid values are: 'pulse' | 'wave' | false.`;