New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@syncfusion/ej2-progressbar

Package Overview
Dependencies
Maintainers
3
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-progressbar - npm Package Compare versions

Comparing version 20.4.42 to 20.4.48

2

dist/ej2-progressbar.umd.min.js
/*!
* filename: ej2-progressbar.umd.min.js
* version : 20.4.42
* version : 20.4.48
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

/*!
* filename: ej2-progressbar.min.js
* version : 20.4.42
* version : 20.4.48
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

/*!
* filename: index.d.ts
* version : 20.4.42
* version : 20.4.48
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

{
"_from": "@syncfusion/ej2-progressbar@*",
"_id": "@syncfusion/ej2-progressbar@20.4.40",
"_id": "@syncfusion/ej2-progressbar@20.4.42",
"_inBundle": false,
"_integrity": "sha512-33U7AUrAXE6tGNszLaYr8nne8tFYJUKMPCqzLPS9g6rh7iwq7Bs61ZECK83BDOwHIUkf+dZm8064OmqyiPZUpw==",
"_integrity": "sha512-p7a+sP1v6+la6azw1q0CAOc0sp9tRtWwqwXx13Ya7Gbln+QCazROeqm97ldXY4eBXoas6EU2PuSQqGSkn0U3Xg==",
"_location": "/@syncfusion/ej2-progressbar",

@@ -26,4 +26,4 @@ "_phantomChildren": {},

],
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-progressbar/-/ej2-progressbar-20.4.40.tgz",
"_shasum": "ebbd70ed3e1c891d80ea7cc467c09ad752bddd28",
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-progressbar/-/ej2-progressbar-20.4.42.tgz",
"_shasum": "40a7563c821dab7bad7791bfc8778a2ed7d5b95a",
"_spec": "@syncfusion/ej2-progressbar@*",

@@ -36,5 +36,5 @@ "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",

"dependencies": {
"@syncfusion/ej2-base": "~20.4.42",
"@syncfusion/ej2-data": "~20.4.42",
"@syncfusion/ej2-svg-base": "~20.4.42"
"@syncfusion/ej2-base": "~20.4.48",
"@syncfusion/ej2-data": "~20.4.48",
"@syncfusion/ej2-svg-base": "~20.4.48"
},

@@ -59,5 +59,5 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "20.4.42",
"version": "20.4.48",
"sideEffects": false,
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
}

@@ -18,3 +18,3 @@ import { ProgressBar } from '../progressbar';

/**
* To process the annotation
* To process the annotation.
*

@@ -21,0 +21,0 @@ * @param {ProgressAnnotationSettings} annotation One of the parameter called annotation

@@ -24,3 +24,3 @@ import { createElement } from '@syncfusion/ej2-base';

/**
* To process the annotation
* To process the annotation.
*

@@ -27,0 +27,0 @@ * @param {ProgressAnnotationSettings} annotation One of the parameter called annotation

@@ -5,3 +5,3 @@ import { ProgressBar } from '../progressbar';

/**
* Class for progress annotation
* Class for progress annotation.
*/

@@ -14,3 +14,3 @@ export declare class ProgressAnnotation extends AnnotationBase {

/**
* Constructor for ProgressBar annotation
* Constructor for ProgressBar annotation.
*

@@ -23,3 +23,3 @@ * @private

/**
* Method to render the annotation for ProgressBar
* Method to render the annotation for ProgressBar.
*

@@ -26,0 +26,0 @@ * @param {Element} element Annotation element.

@@ -18,3 +18,3 @@ var __extends = (this && this.__extends) || (function () {

/**
* Class for progress annotation
* Class for progress annotation.
*/

@@ -24,3 +24,3 @@ var ProgressAnnotation = /** @class */ (function (_super) {

/**
* Constructor for ProgressBar annotation
* Constructor for ProgressBar annotation.
*

@@ -39,3 +39,3 @@ * @private

/**
* Method to render the annotation for ProgressBar
* Method to render the annotation for ProgressBar.
*

@@ -76,3 +76,3 @@ * @param {Element} element Annotation element.

ProgressAnnotation.prototype.destroy = function () {
// Destroy method performed here
// Destroy method performed here.
};

@@ -79,0 +79,0 @@ return ProgressAnnotation;

@@ -9,3 +9,3 @@ import { ChildProperty, Property } from '@syncfusion/ej2-base';import { TextAlignmentType } from '../utils/enum';

/**
* To customize top margin value
* To customize top margin value.
*

@@ -18,3 +18,3 @@ * @default 10

/**
* To customize top bottom value
* To customize top bottom value.
*

@@ -27,3 +27,3 @@ * @default 10

/**
* To customize top left value
* To customize top left value.
*

@@ -36,3 +36,3 @@ * @default 10

/**
* To customize top right value
* To customize top right value.
*

@@ -92,3 +92,3 @@ * @default 10

/**
* text alignment for label
* text alignment for label.
*

@@ -100,3 +100,3 @@ * @default Far

/**
* label text
* label text.
*

@@ -150,3 +150,3 @@ * @default ''

/**
* to move annotation
* to move annotation.
*

@@ -158,3 +158,3 @@ * @default 0

/**
* to move annotation
* to move annotation.
*

@@ -161,0 +161,0 @@ * @default '0%'

@@ -8,3 +8,3 @@ import { ChildProperty } from '@syncfusion/ej2-base';

/**
* To customize top margin value
* To customize top margin value.
*

@@ -15,3 +15,3 @@ * @default 10

/**
* To customize top bottom value
* To customize top bottom value.
*

@@ -22,3 +22,3 @@ * @default 10

/**
* To customize top left value
* To customize top left value.
*

@@ -29,3 +29,3 @@ * @default 10

/**
* To customize top right value
* To customize top right value.
*

@@ -75,3 +75,3 @@ * @default 10

/**
* text alignment for label
* text alignment for label.
*

@@ -82,3 +82,3 @@ * @default Far

/**
* label text
* label text.
*

@@ -123,3 +123,3 @@ * @default ''

/**
* to move annotation
* to move annotation.
*

@@ -130,3 +130,3 @@ * @default 0

/**
* to move annotation
* to move annotation.
*

@@ -133,0 +133,0 @@ * @default '0%'

@@ -7,7 +7,7 @@ import { ProgressBar } from '../progressbar';

export interface ILoadedEventArgs {
/** Defines the name of the event */
/** Defines the name of the event. */
name: string;
/** Defines the event cancel status */
/** Defines the event cancel status. */
cancel: boolean;
/** Defines the current chart instance */
/** Defines the current chart instance. */
progressBar: ProgressBar;

@@ -19,9 +19,9 @@ }

export interface ITextRenderEventArgs {
/** Defines the text */
/** Defines the text. */
cancel: boolean;
/** Defines the text */
/** Defines the text. */
text: string;
/** Defines the color */
/** Defines the color. */
color: string;
/** Defines the current progress bar instance */
/** Defines the current progress bar instance. */
progressBar?: ProgressBar;

@@ -39,11 +39,11 @@ }

export interface IProgressResizeEventArgs {
/** Defines the name of the Event */
/** Defines the name of the Event. */
name: string;
/** Defines the previous size of the progress bar */
/** Defines the previous size of the progress bar. */
previousSize: Size;
/** Defines the current size of the progress bar */
/** Defines the current size of the progress bar. */
currentSize: Size;
/** Defines progress bar instance */
/** Defines progress bar instance. */
bar: ProgressBar;
/** cancel the event */
/** cancel the event. */
cancel: boolean;

@@ -80,11 +80,11 @@ }

export interface IProgressEventArgs {
/** Defines the name of the event */
/** Defines the name of the event. */
name: string;
/** Defines the event cancel status */
/** Defines the event cancel status. */
cancel: boolean;
}
export interface IAnnotationRenderEventArgs extends IProgressEventArgs {
/** Defines the current annotation content */
/** Defines the current annotation content. */
content: HTMLElement;
/** Defines the current annotation location */
/** Defines the current annotation location. */
location: ProgressLocation;

@@ -94,25 +94,25 @@ }

export interface LinearGradient {
/** id for gradient */
/** id for gradient. */
id?: string;
/** x1 value */
/** x1 value. */
x1?: string;
/** x2 value */
/** x2 value. */
x2?: string;
/** y1 value */
/** y1 value. */
y1?: string;
/** y2 value */
/** y2 value. */
y2?: string;
/** gradientUnit for gradient */
/** gradientUnit for gradient. */
gradientUnits?: string;
/** spreadMethod for gradient */
/** spreadMethod for gradient. */
spreadMethod?: string;
/** gradientTransform for gradient */
/** gradientTransform for gradient. */
gradientTransform?: string;
}
export interface StopElement {
/** offset value */
/** offset value. */
offset?: string;
/** stop-color */
/** stop-color. */
['stop-color']?: string;
/** stop-opacity */
/** stop-opacity. */
['stop-opacity']?: string;

@@ -119,0 +119,0 @@ }

@@ -10,3 +10,3 @@ import { Component, Property, NotifyPropertyChanges, Browser, Complex, Event, Collection, EventHandler } from '@syncfusion/ej2-base';import { EmitType, INotifyPropertyChanged, createElement, remove, ModuleDeclaration, isNullOrUndefined } from '@syncfusion/ej2-base';import { Rect, Size, RectOption, stringToNumber } from './utils/helper';import { MarginModel, AnimationModel, FontModel, RangeColorModel } from './model/progress-base-model';import { Margin, Animation, Font, RangeColor } from './model/progress-base';import { ILoadedEventArgs, IProgressStyle, IProgressValueEventArgs } from './model/progress-interface';import { ITextRenderEventArgs, IProgressResizeEventArgs, IMouseEventArgs } from './model/progress-interface';import { SvgRenderer, PathOption, getElement } from '@syncfusion/ej2-svg-base';import { ProgressType, CornerType, ProgressTheme, ModeType } from './utils/enum';import { getProgressThemeColor } from './utils/theme';import { lineCapRadius, completeAngle, valueChanged, progressCompleted } from './model/constant';import { mouseClick, mouseDown, mouseLeave, mouseMove, mouseUp } from './model/constant';import { ProgressAnnotation } from './model/index';import { ProgressAnnotationSettingsModel } from './model/index';import { ProgressAnnotationSettings } from './model/index';import { Linear } from './types/linear-progress';import { Circular } from './types/circular-progress';import { ProgressAnimation } from './utils/progress-animation';

/**
* type of the progress bar
* type of the progress bar.
*

@@ -18,3 +18,3 @@ * @default Linear

/**
* progress value
* progress value.
*

@@ -26,3 +26,3 @@ * @default null

/**
* secondary progress value
* secondary progress value.
*

@@ -34,3 +34,3 @@ * @default null

/**
* minimum progress value
* minimum progress value.
*

@@ -42,3 +42,3 @@ * @default 0

/**
* maximum progress value
* maximum progress value.
*

@@ -50,3 +50,3 @@ * @default 0

/**
* startAngle for circular progress bar
* startAngle for circular progress bar.
*

@@ -58,3 +58,3 @@ * @default 0

/**
* endAngle for circular progress bar
* endAngle for circular progress bar.
*

@@ -66,3 +66,3 @@ * @default 0

/**
* track radius for circular
* track radius for circular.
*

@@ -74,3 +74,3 @@ * @default '100%'

/**
* progress radius for circular
* progress radius for circular.
*

@@ -82,3 +82,3 @@ * @default '100%'

/**
* segmentCount of the progress bar
* segmentCount of the progress bar.
*

@@ -90,3 +90,3 @@ * @default 1

/**
* gapwidth of the segment
* gapwidth of the segment.
*

@@ -98,3 +98,3 @@ * @default null

/**
* Segment color
* Segment color.
*

@@ -106,3 +106,3 @@ * @default null

/**
* corner type
* corner type.
*

@@ -114,3 +114,3 @@ * @default Auto

/**
* height of the progress bar
* height of the progress bar.
*

@@ -122,3 +122,3 @@ * @default null

/**
* width of the progress bar
* width of the progress bar.
*

@@ -130,3 +130,3 @@ * @default null

/**
* Indeterminate progress
* Indeterminate progress.
*

@@ -138,3 +138,3 @@ * @default false

/**
* Active state
* Active state.
*

@@ -146,3 +146,3 @@ * @default false

/**
* gradient
* gradient.
*

@@ -154,3 +154,3 @@ * @default false

/**
* striped
* striped.
*

@@ -162,3 +162,3 @@ * @default false

/**
* modes of linear progress
* modes of linear progress.
*

@@ -170,3 +170,3 @@ * @default null

/**
* right to left
* right to left.
*

@@ -178,3 +178,3 @@ * @default false

/**
* labelOnTrack
* labelOnTrack.
*

@@ -186,3 +186,3 @@ * @default true

/**
* trackColor
* trackColor.
*

@@ -194,3 +194,3 @@ * @default null

/**
* progressColor
* progressColor.
*

@@ -202,3 +202,3 @@ * @default null

/**
* track thickness
* track thickness.
*

@@ -210,3 +210,3 @@ * @default 0

/**
* progress thickness
* progress thickness.
*

@@ -218,3 +218,3 @@ * @default 0

/**
* pie view
* pie view.
*

@@ -226,3 +226,3 @@ * @default false

/**
* theme style
* theme style.
*

@@ -234,3 +234,3 @@ * @default Fabric

/**
* label of the progress bar
* label of the progress bar.
*

@@ -242,3 +242,3 @@ * @default false

/**
* disable the trackSegment
* disable the trackSegment.
*

@@ -255,3 +255,3 @@ * @default false

/**
* margin size
* margin size.
*/

@@ -261,3 +261,3 @@ margin?: MarginModel;

/**
* Animation for the progress bar
* Animation for the progress bar.
*/

@@ -309,3 +309,3 @@ animation?: AnimationModel;

/**
* Trigger after mouse click
* Trigger after mouse click.
*

@@ -317,3 +317,3 @@ * @event mouseClick

/**
* Trigger after mouse move
* Trigger after mouse move.
*

@@ -325,3 +325,3 @@ * @event mouseMove

/**
* Trigger after mouse up
* Trigger after mouse up.
*

@@ -333,3 +333,3 @@ * @event mouseUp

/**
* Trigger after mouse down
* Trigger after mouse down.
*

@@ -341,3 +341,3 @@ * @event mouseDown

/**
* Trigger after mouse down
* Trigger after mouse down.
*

@@ -344,0 +344,0 @@ * @event mouseLeave

@@ -16,3 +16,3 @@ import { Component } from '@syncfusion/ej2-base';

/**
* progress bar control
* progress bar control.
*/

@@ -22,3 +22,3 @@ export declare class ProgressBar extends Component<HTMLElement> implements INotifyPropertyChanged {

/**
* type of the progress bar
* type of the progress bar.
*

@@ -29,3 +29,3 @@ * @default Linear

/**
* progress value
* progress value.
*

@@ -36,3 +36,3 @@ * @default null

/**
* secondary progress value
* secondary progress value.
*

@@ -43,3 +43,3 @@ * @default null

/**
* minimum progress value
* minimum progress value.
*

@@ -50,3 +50,3 @@ * @default 0

/**
* maximum progress value
* maximum progress value.
*

@@ -57,3 +57,3 @@ * @default 0

/**
* startAngle for circular progress bar
* startAngle for circular progress bar.
*

@@ -64,3 +64,3 @@ * @default 0

/**
* endAngle for circular progress bar
* endAngle for circular progress bar.
*

@@ -71,3 +71,3 @@ * @default 0

/**
* track radius for circular
* track radius for circular.
*

@@ -78,3 +78,3 @@ * @default '100%'

/**
* progress radius for circular
* progress radius for circular.
*

@@ -85,3 +85,3 @@ * @default '100%'

/**
* segmentCount of the progress bar
* segmentCount of the progress bar.
*

@@ -92,3 +92,3 @@ * @default 1

/**
* gapwidth of the segment
* gapwidth of the segment.
*

@@ -99,3 +99,3 @@ * @default null

/**
* Segment color
* Segment color.
*

@@ -106,3 +106,3 @@ * @default null

/**
* corner type
* corner type.
*

@@ -113,3 +113,3 @@ * @default Auto

/**
* height of the progress bar
* height of the progress bar.
*

@@ -120,3 +120,3 @@ * @default null

/**
* width of the progress bar
* width of the progress bar.
*

@@ -127,3 +127,3 @@ * @default null

/**
* Indeterminate progress
* Indeterminate progress.
*

@@ -134,3 +134,3 @@ * @default false

/**
* Active state
* Active state.
*

@@ -141,3 +141,3 @@ * @default false

/**
* gradient
* gradient.
*

@@ -148,3 +148,3 @@ * @default false

/**
* striped
* striped.
*

@@ -155,3 +155,3 @@ * @default false

/**
* modes of linear progress
* modes of linear progress.
*

@@ -162,3 +162,3 @@ * @default null

/**
* right to left
* right to left.
*

@@ -169,3 +169,3 @@ * @default false

/**
* labelOnTrack
* labelOnTrack.
*

@@ -176,3 +176,3 @@ * @default true

/**
* trackColor
* trackColor.
*

@@ -183,3 +183,3 @@ * @default null

/**
* progressColor
* progressColor.
*

@@ -190,3 +190,3 @@ * @default null

/**
* track thickness
* track thickness.
*

@@ -197,3 +197,3 @@ * @default 0

/**
* progress thickness
* progress thickness.
*

@@ -204,3 +204,3 @@ * @default 0

/**
* pie view
* pie view.
*

@@ -211,3 +211,3 @@ * @default false

/**
* theme style
* theme style.
*

@@ -218,3 +218,3 @@ * @default Fabric

/**
* label of the progress bar
* label of the progress bar.
*

@@ -225,3 +225,3 @@ * @default false

/**
* disable the trackSegment
* disable the trackSegment.
*

@@ -236,7 +236,7 @@ * @default false

/**
* margin size
* margin size.
*/
margin: MarginModel;
/**
* Animation for the progress bar
* Animation for the progress bar.
*/

@@ -281,3 +281,3 @@ animation: AnimationModel;

/**
* Trigger after mouse click
* Trigger after mouse click.
*

@@ -288,3 +288,3 @@ * @event mouseClick

/**
* Trigger after mouse move
* Trigger after mouse move.
*

@@ -295,3 +295,3 @@ * @event mouseMove

/**
* Trigger after mouse up
* Trigger after mouse up.
*

@@ -302,3 +302,3 @@ * @event mouseUp

/**
* Trigger after mouse down
* Trigger after mouse down.
*

@@ -309,3 +309,3 @@ * @event mouseDown

/**
* Trigger after mouse down
* Trigger after mouse down.
*

@@ -312,0 +312,0 @@ * @event mouseLeave

@@ -35,3 +35,3 @@ var __extends = (this && this.__extends) || (function () {

/**
* progress bar control
* progress bar control.
*/

@@ -38,0 +38,0 @@ var ProgressBar = /** @class */ (function (_super) {

@@ -17,3 +17,3 @@ import { ProgressBar } from '../../progressbar';

constructor(progress: ProgressBar);
/** To render the circular track */
/** To render the circular track. */
renderCircularTrack(): void;

@@ -24,3 +24,3 @@ /** To render the circular progress */

private renderCircularBuffer;
/** To render the circular Label */
/** To render the circular Label. */
renderCircularLabel(isProgressRefresh?: boolean): void;

@@ -27,0 +27,0 @@ /** To render a progressbar active state */

@@ -15,3 +15,3 @@ import { ProgressAnimation } from '../utils/progress-animation';

}
/** To render the circular track */
/** To render the circular track. */
Circular.prototype.renderCircularTrack = function () {

@@ -180,3 +180,3 @@ var progress = this.progress;

};
/** To render the circular Label */
/** To render the circular Label. */
Circular.prototype.renderCircularLabel = function (isProgressRefresh) {

@@ -183,0 +183,0 @@ if (isProgressRefresh === void 0) { isProgressRefresh = false; }

@@ -13,20 +13,20 @@ import { ProgressBar } from '../../progressbar';

constructor(progress: ProgressBar);
/** To render the linear track */
/** To render the linear track. */
renderLinearTrack(): void;
/** To render the linear progress */
/** To render the linear progress. */
renderLinearProgress(refresh?: boolean, previousWidth?: number): void;
/** To render the linear buffer */
/** To render the linear buffer. */
private renderLinearBuffer;
/** Render the Linear Label */
/** Render the Linear Label. */
renderLinearLabel(isProgressRefresh?: boolean): void;
/** To render a progressbar active state */
/** To render a progressbar active state. */
private renderActiveState;
/** To render a striped stroke */
/** To render a striped stroke. */
private renderLinearStriped;
/** checking progress color */
/** checking progress color. */
private checkingLinearProgressColor;
/** Bootstrap 3 & Bootstrap 4 corner path */
/** Bootstrap 3 & Bootstrap 4 corner path. */
private cornerRadius;
/** Bootstrap 3 & Bootstrap 4 corner segment */
/** Bootstrap 3 & Bootstrap 4 corner segment. */
createRoundCornerSegment(id: string, stroke: string, thickness: number, isTrack: boolean, progressWidth: number, progress: ProgressBar, opacity?: number): Element;
}

@@ -15,3 +15,3 @@ import { ProgressAnimation } from '../utils/progress-animation';

}
/** To render the linear track */
/** To render the linear track. */
Linear.prototype.renderLinearTrack = function () {

@@ -50,3 +50,3 @@ var progress = this.progress;

};
/** To render the linear progress */
/** To render the linear progress. */
// tslint:disable-next-line:max-func-body-length

@@ -154,3 +154,3 @@ Linear.prototype.renderLinearProgress = function (refresh, previousWidth) {

};
/** To render the linear buffer */
/** To render the linear buffer. */
Linear.prototype.renderLinearBuffer = function (progress) {

@@ -202,3 +202,3 @@ var linearBuffer;

};
/** Render the Linear Label */
/** Render the Linear Label. */
//tslint:disable-next-line:max-func-body-length

@@ -305,3 +305,3 @@ Linear.prototype.renderLinearLabel = function (isProgressRefresh) {

};
/** To render a progressbar active state */
/** To render a progressbar active state. */
Linear.prototype.renderActiveState = function (progressGroup, progressWidth, linearProgressWidth, thickness, refresh) {

@@ -343,3 +343,3 @@ var linearActive;

};
/** To render a striped stroke */
/** To render a striped stroke. */
Linear.prototype.renderLinearStriped = function (color, group, progress) {

@@ -370,3 +370,3 @@ var defs = progress.renderer.createDefs();

};
/** checking progress color */
/** checking progress color. */
Linear.prototype.checkingLinearProgressColor = function () {

@@ -394,3 +394,3 @@ var linearColor;

};
/** Bootstrap 3 & Bootstrap 4 corner path */
/** Bootstrap 3 & Bootstrap 4 corner path. */
Linear.prototype.cornerRadius = function (x, y, width, height, radius, pathtype) {

@@ -443,3 +443,3 @@ var path = '';

};
/** Bootstrap 3 & Bootstrap 4 corner segment */
/** Bootstrap 3 & Bootstrap 4 corner segment. */
Linear.prototype.createRoundCornerSegment = function (id, stroke, thickness, isTrack, progressWidth, progress, opacity) {

@@ -446,0 +446,0 @@ var locX = progress.progressRect.x;

@@ -6,6 +6,6 @@ import { ProgressBar } from '../progressbar';

export declare class Segment {
/** To render the linear segment */
/** To render the linear segment. */
createLinearSegment(progress: ProgressBar, id: string, width: number, opacity: number, thickness: number, progressWidth: number): Element;
private getLinearSegmentPath;
/** To render the circular segment */
/** To render the circular segment. */
createCircularSegment(progress: ProgressBar, id: string, x: number, y: number, r: number, value: number, opacity: number, thickness: number, totalAngle: number, progressWidth: number): Element;

@@ -12,0 +12,0 @@ private widthToAngle;

@@ -10,3 +10,3 @@ import { lineCapRadius, completeAngle } from '../model/constant';

}
/** To render the linear segment */
/** To render the linear segment. */
Segment.prototype.createLinearSegment = function (progress, id, width, opacity, thickness, progressWidth) {

@@ -59,3 +59,3 @@ var locX = (progress.enableRtl) ? ((progress.cornerRadius === 'Round') ?

};
/** To render the circular segment */
/** To render the circular segment. */
Segment.prototype.createCircularSegment = function (progress, id, x, y, r, value, opacity, thickness, totalAngle, progressWidth) {

@@ -62,0 +62,0 @@ var start = progress.startAngle;

@@ -66,5 +66,5 @@ import { PathOption } from '@syncfusion/ej2-svg-base';

}
/** calculate the start and end point of circle */
/** calculate the start and end point of circle. */
export declare function degreeToLocation(centerX: number, centerY: number, radius: number, angleInDegrees: number): Pos;
/** calculate the path of the circle */
/** calculate the path of the circle. */
export declare function getPathArc(x: number, y: number, radius: number, startAngle: number, endAngle: number, enableRtl: boolean, pieView?: boolean): string;

@@ -71,0 +71,0 @@ /** @private */

@@ -126,3 +126,3 @@ var __extends = (this && this.__extends) || (function () {

export { TextOption };
/** calculate the start and end point of circle */
/** calculate the start and end point of circle. */
export function degreeToLocation(centerX, centerY, radius, angleInDegrees) {

@@ -135,3 +135,3 @@ var angleInRadians = (angleInDegrees - 90) * (Math.PI / 180);

}
/** calculate the path of the circle */
/** calculate the path of the circle. */
export function getPathArc(x, y, radius, startAngle, endAngle, enableRtl, pieView) {

@@ -138,0 +138,0 @@ var start = degreeToLocation(x, y, radius, startAngle);

@@ -6,17 +6,17 @@ import { ProgressBar } from '../progressbar';

export declare class ProgressAnimation {
/** Linear Animation */
/** Linear Animation. */
doLinearAnimation(element: Element, progress: ProgressBar, delay: number, previousWidth?: number, active?: Element): void;
/** Linear Indeterminate */
/** Linear Indeterminate. */
doLinearIndeterminate(element: Element, progressWidth: number, thickness: number, progress: ProgressBar, clipPath: Element): void;
/** Linear striped */
/** Linear striped. */
doStripedAnimation(element: Element, progress: ProgressBar, value: number): void;
/** Circular animation */
/** Circular animation. */
doCircularAnimation(x: number, y: number, radius: number, progressEnd: number, totalEnd: number, element: Element, progress: ProgressBar, thickness: number, delay: number, startValue?: number, previousTotal?: number, active?: Element): void;
/** Circular indeterminate */
/** Circular indeterminate. */
doCircularIndeterminate(circularProgress: Element, progress: ProgressBar, start: number, end: number, x: number, y: number, radius: number, thickness: number, clipPath: Element): void;
/** To do the label animation for progress bar */
/** To do the label animation for progress bar. */
doLabelAnimation(labelPath: Element, start: number, end: number, progress: ProgressBar, delay: number, textSize?: number): void;
/** To do the annotation animation for circular progress bar */
/** To do the annotation animation for circular progress bar. */
doAnnotationAnimation(circularPath: Element, progress: ProgressBar, previousEnd?: number, previousTotal?: number): void;
private activeAnimate;
}

@@ -12,3 +12,3 @@ /* eslint-disable valid-jsdoc */

}
/** Linear Animation */
/** Linear Animation. */
ProgressAnimation.prototype.doLinearAnimation = function (element, progress, delay, previousWidth, active) {

@@ -89,3 +89,3 @@ var _this = this;

};
/** Linear Indeterminate */
/** Linear Indeterminate. */
ProgressAnimation.prototype.doLinearIndeterminate = function (element, progressWidth, thickness, progress, clipPath) {

@@ -137,3 +137,3 @@ var _this = this;

};
/** Linear striped */
/** Linear striped. */
ProgressAnimation.prototype.doStripedAnimation = function (element, progress, value) {

@@ -157,3 +157,3 @@ var _this = this;

};
/** Circular animation */
/** Circular animation. */
ProgressAnimation.prototype.doCircularAnimation = function (x, y, radius, progressEnd, totalEnd, element, progress, thickness, delay, startValue, previousTotal, active) {

@@ -210,3 +210,3 @@ var _this = this;

};
/** Circular indeterminate */
/** Circular indeterminate. */
ProgressAnimation.prototype.doCircularIndeterminate = function (circularProgress, progress, start, end, x, y, radius, thickness, clipPath) {

@@ -232,3 +232,3 @@ var _this = this;

};
/** To do the label animation for progress bar */
/** To do the label animation for progress bar. */
ProgressAnimation.prototype.doLabelAnimation = function (labelPath, start, end, progress, delay, textSize) {

@@ -304,3 +304,3 @@ var animation = new Animation({});

};
/** To do the annotation animation for circular progress bar */
/** To do the annotation animation for circular progress bar. */
ProgressAnimation.prototype.doAnnotationAnimation = function (circularPath, progress, previousEnd, previousTotal) {

@@ -307,0 +307,0 @@ var animation = new Animation({});

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc