mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
This commit is contained in:
parent
746e163d01
commit
1c7ea28b46
808 changed files with 316395 additions and 381162 deletions
68
node_modules/chart.js/dist/helpers/helpers.config.d.ts
generated
vendored
68
node_modules/chart.js/dist/helpers/helpers.config.d.ts
generated
vendored
|
@ -1,61 +1,31 @@
|
|||
import type { AnyObject } from '../types/basic.js';
|
||||
import type { ChartMeta } from '../types/index.js';
|
||||
import type { ResolverObjectKey, ResolverCache, ResolverProxy, DescriptorDefaults, Descriptor, ContextProxy } from './helpers.config.types.js';
|
||||
export * from './helpers.config.types.js';
|
||||
/**
|
||||
* Creates a Proxy for resolving raw values for options.
|
||||
* @param {object[]} scopes - The option scopes to look for values, in resolution order
|
||||
* @param {string[]} [prefixes] - The prefixes for values, in resolution order.
|
||||
* @param {object[]} [rootScopes] - The root option scopes
|
||||
* @param {string|boolean} [fallback] - Parent scopes fallback
|
||||
* @param {function} [getTarget] - callback for getting the target for changed values
|
||||
* @param scopes - The option scopes to look for values, in resolution order
|
||||
* @param prefixes - The prefixes for values, in resolution order.
|
||||
* @param rootScopes - The root option scopes
|
||||
* @param fallback - Parent scopes fallback
|
||||
* @param getTarget - callback for getting the target for changed values
|
||||
* @returns Proxy
|
||||
* @private
|
||||
*/
|
||||
export function _createResolver(scopes: object[], prefixes?: string[], rootScopes?: object[], fallback?: string | boolean, getTarget?: Function): {
|
||||
[Symbol.toStringTag]: string;
|
||||
_cacheable: boolean;
|
||||
_scopes: any[];
|
||||
_rootScopes: any[];
|
||||
_fallback: string | boolean;
|
||||
_getTarget: Function;
|
||||
override: (scope: any) => any;
|
||||
};
|
||||
export declare function _createResolver<T extends AnyObject[] = AnyObject[], R extends AnyObject[] = T>(scopes: T, prefixes?: string[], rootScopes?: R, fallback?: ResolverObjectKey, getTarget?: () => AnyObject): any;
|
||||
/**
|
||||
* Returns an Proxy for resolving option values with context.
|
||||
* @param {object} proxy - The Proxy returned by `_createResolver`
|
||||
* @param {object} context - Context object for scriptable/indexable options
|
||||
* @param {object} [subProxy] - The proxy provided for scriptable options
|
||||
* @param {{scriptable: boolean, indexable: boolean, allKeys?: boolean}} [descriptorDefaults] - Defaults for descriptors
|
||||
* @param proxy - The Proxy returned by `_createResolver`
|
||||
* @param context - Context object for scriptable/indexable options
|
||||
* @param subProxy - The proxy provided for scriptable options
|
||||
* @param descriptorDefaults - Defaults for descriptors
|
||||
* @private
|
||||
*/
|
||||
export function _attachContext(proxy: object, context: object, subProxy?: object, descriptorDefaults?: {
|
||||
scriptable: boolean;
|
||||
indexable: boolean;
|
||||
allKeys?: boolean;
|
||||
}): {
|
||||
_cacheable: boolean;
|
||||
_proxy: any;
|
||||
_context: any;
|
||||
_subProxy: any;
|
||||
_stack: Set<any>;
|
||||
_descriptors: {
|
||||
allKeys: any;
|
||||
scriptable: any;
|
||||
indexable: any;
|
||||
isScriptable: (...args: any[]) => any;
|
||||
isIndexable: (...args: any[]) => any;
|
||||
};
|
||||
setContext: (ctx: any) => any;
|
||||
override: (scope: any) => any;
|
||||
};
|
||||
export declare function _attachContext<T extends AnyObject[] = AnyObject[], R extends AnyObject[] = T>(proxy: ResolverProxy<T, R>, context: AnyObject, subProxy?: ResolverProxy<T, R>, descriptorDefaults?: DescriptorDefaults): ContextProxy<T, R>;
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
export function _descriptors(proxy: any, defaults?: {
|
||||
scriptable: boolean;
|
||||
indexable: boolean;
|
||||
}): {
|
||||
allKeys: any;
|
||||
scriptable: any;
|
||||
indexable: any;
|
||||
isScriptable: (...args: any[]) => any;
|
||||
isIndexable: (...args: any[]) => any;
|
||||
};
|
||||
export function _parseObjectDataRadialScale(meta: any, data: any, start: any, count: any): any[];
|
||||
export declare function _descriptors(proxy: ResolverCache, defaults?: DescriptorDefaults): Descriptor;
|
||||
export declare function _parseObjectDataRadialScale(meta: ChartMeta<'line' | 'scatter'>, data: AnyObject[], start: number, count: number): {
|
||||
r: unknown;
|
||||
}[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue