This commit is contained in:
2025-06-04 10:03:22 +02:00
commit 785a2b6134
14182 changed files with 1764617 additions and 0 deletions

View File

@@ -0,0 +1 @@
export function _drawfill(ctx: any, source: any, area: any): void;

View File

@@ -0,0 +1,14 @@
/**
* @param {PointElement[] | { x: number; y: number; }} boundary
* @param {LineElement} line
* @return {LineElement?}
*/
export function _createBoundaryLine(boundary: PointElement[] | {
x: number;
y: number;
}, line: LineElement): LineElement | null;
export function _shouldApplyFill(source: any): boolean;
export type Chart = import('../../core/core.controller.js').default;
export type Scale = import('../../core/core.scale.js').default;
export type PointElement = import('../../elements/element.point.js').default;
import { LineElement } from "../../elements/index.js";

View File

@@ -0,0 +1,30 @@
/**
* @typedef { import('../../core/core.scale.js').default } Scale
* @typedef { import('../../elements/element.line.js').default } LineElement
* @typedef { import('../../types/index.js').FillTarget } FillTarget
* @typedef { import('../../types/index.js').ComplexFillTarget } ComplexFillTarget
*/
export function _resolveTarget(sources: any, index: any, propagate: any): any;
/**
* @param {LineElement} line
* @param {number} index
* @param {number} count
*/
export function _decodeFill(line: LineElement, index: number, count: number): any;
/**
* @param {FillTarget | ComplexFillTarget} fill
* @param {Scale} scale
* @returns {number | null}
*/
export function _getTargetPixel(fill: FillTarget | ComplexFillTarget, scale: Scale): number | null;
/**
* @param {FillTarget | ComplexFillTarget} fill
* @param {Scale} scale
* @param {number} startValue
* @returns {number | undefined}
*/
export function _getTargetValue(fill: FillTarget | ComplexFillTarget, scale: Scale, startValue: number): number | undefined;
export type Scale = import('../../core/core.scale.js').default;
export type LineElement = import('../../elements/element.line.js').default;
export type FillTarget = import('../../types/index.js').FillTarget;
export type ComplexFillTarget = import('../../types/index.js').ComplexFillTarget;

View File

@@ -0,0 +1,36 @@
export function _segments(line: any, target: any, property: any): ({
source: any;
target: {
property: any;
start: any;
end: any;
};
start: any;
end: any;
} | {
source: {
start: number;
end: number;
loop: boolean;
style?: any;
};
target: {
start: number;
end: number;
loop: boolean;
style?: any;
};
start: {
[x: number]: any;
};
end: {
[x: number]: any;
};
})[];
export function _getBounds(property: any, first: any, last: any, loop: any): {
property: any;
start: any;
end: any;
};
export function _pointsFromSegments(boundary: any, line: any): any[];
export function _findSegmentEnd(start: any, end: any, points: any): any;

View File

@@ -0,0 +1,9 @@
/**
* @typedef { import('../../core/core.controller.js').default } Chart
* @typedef { import('../../core/core.scale.js').default } Scale
* @typedef { import('../../elements/element.point.js').default } PointElement
*/
export function _getTarget(source: any): any;
export type Chart = import('../../core/core.controller.js').default;
export type Scale = import('../../core/core.scale.js').default;
export type PointElement = import('../../elements/element.point.js').default;

View File

@@ -0,0 +1,14 @@
/**
* @param {{ chart: Chart; scale: Scale; index: number; line: LineElement; }} source
* @return {LineElement}
*/
export function _buildStackLine(source: {
chart: Chart;
scale: Scale;
index: number;
line: LineElement;
}): LineElement;
export type Chart = import('../../core/core.controller.js').default;
export type Scale = import('../../core/core.scale.js').default;
export type PointElement = import('../../elements/element.point.js').default;
import { LineElement } from "../../elements/index.js";

View File

@@ -0,0 +1,12 @@
declare namespace _default {
const id: string;
function afterDatasetsUpdate(chart: any, _args: any, options: any): void;
function beforeDraw(chart: any, _args: any, options: any): void;
function beforeDatasetsDraw(chart: any, _args: any, options: any): void;
function beforeDatasetDraw(chart: any, args: any, options: any): void;
namespace defaults {
const propagate: boolean;
const drawTime: string;
}
}
export default _default;

View File

@@ -0,0 +1,12 @@
export class simpleArc {
constructor(opts: any);
x: any;
y: any;
radius: any;
pathSegment(ctx: any, bounds: any, opts: any): boolean;
interpolate(point: any): {
x: any;
y: any;
angle: any;
};
}