From 83354b2b88218090988dd6e526b0a2505b57e0f1 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Thu, 6 Apr 2023 22:18:28 +0200 Subject: Updated 5 files and added 1110 files (automated) --- .../node_modules/css-select/lib/index.d.ts | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 includes/external/addressbook/node_modules/css-select/lib/index.d.ts (limited to 'includes/external/addressbook/node_modules/css-select/lib/index.d.ts') diff --git a/includes/external/addressbook/node_modules/css-select/lib/index.d.ts b/includes/external/addressbook/node_modules/css-select/lib/index.d.ts new file mode 100644 index 0000000..0911372 --- /dev/null +++ b/includes/external/addressbook/node_modules/css-select/lib/index.d.ts @@ -0,0 +1,50 @@ +import type { CompiledQuery, Options, Query, Adapter } from "./types.js"; +export type { Options }; +/** + * Compiles the query, returns a function. + */ +export declare const compile: (selector: string | import("css-what").Selector[][], options?: Options | undefined, context?: Node | Node[] | undefined) => CompiledQuery; +export declare const _compileUnsafe: (selector: string | import("css-what").Selector[][], options?: Options | undefined, context?: Node | Node[] | undefined) => CompiledQuery; +export declare const _compileToken: (selector: import("./types.js").InternalSelector[][], options?: Options | undefined, context?: Node | Node[] | undefined) => CompiledQuery; +export declare function prepareContext(elems: Node | Node[], adapter: Adapter, shouldTestNextSiblings?: boolean): Node[]; +/** + * @template Node The generic Node type for the DOM adapter being used. + * @template ElementNode The Node type for elements for the DOM adapter being used. + * @param elems Elements to query. If it is an element, its children will be queried.. + * @param query can be either a CSS selector string or a compiled query function. + * @param [options] options for querying the document. + * @see compile for supported selector queries. + * @returns All matching elements. + * + */ +export declare const selectAll: (query: Query, elements: Node | Node[], options?: Options | undefined) => ElementNode[]; +/** + * @template Node The generic Node type for the DOM adapter being used. + * @template ElementNode The Node type for elements for the DOM adapter being used. + * @param elems Elements to query. If it is an element, its children will be queried.. + * @param query can be either a CSS selector string or a compiled query function. + * @param [options] options for querying the document. + * @see compile for supported selector queries. + * @returns the first match, or null if there was no match. + */ +export declare const selectOne: (query: Query, elements: Node | Node[], options?: Options | undefined) => ElementNode | null; +/** + * Tests whether or not an element is matched by query. + * + * @template Node The generic Node type for the DOM adapter being used. + * @template ElementNode The Node type for elements for the DOM adapter being used. + * @param elem The element to test if it matches the query. + * @param query can be either a CSS selector string or a compiled query function. + * @param [options] options for querying the document. + * @see compile for supported selector queries. + * @returns + */ +export declare function is(elem: ElementNode, query: Query, options?: Options): boolean; +/** + * Alias for selectAll(query, elems, options). + * @see [compile] for supported selector queries. + */ +export default selectAll; +/** @deprecated Use the `pseudos` option instead. */ +export { filters, pseudos, aliases } from "./pseudo-selectors/index.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file -- cgit