first commit
This commit is contained in:
56
node_modules/lit-html/development/private-ssr-support.d.ts
generated
vendored
Normal file
56
node_modules/lit-html/development/private-ssr-support.d.ts
generated
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2019 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
import { Directive, PartInfo, DirectiveClass, DirectiveResult } from './directive.js';
|
||||
import { AttributePart, Part, Disconnectable } from './lit-html.js';
|
||||
import type { PropertyPart, ChildPart, BooleanAttributePart, EventPart, ElementPart, TemplateInstance } from './lit-html.js';
|
||||
/**
|
||||
* END USERS SHOULD NOT RELY ON THIS OBJECT.
|
||||
*
|
||||
* We currently do not make a mangled rollup build of the lit-ssr code. In order
|
||||
* to keep a number of (otherwise private) top-level exports mangled in the
|
||||
* client side code, we export a _$LH object containing those members (or
|
||||
* helper methods for accessing private fields of those members), and then
|
||||
* re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the
|
||||
* client-side code is being used in `dev` mode or `prod` mode.
|
||||
* @private
|
||||
*/
|
||||
export declare const _$LH: {
|
||||
boundAttributeSuffix: string;
|
||||
marker: string;
|
||||
markerMatch: string;
|
||||
HTML_RESULT: number;
|
||||
getTemplateHtml: (strings: TemplateStringsArray, type: 1 | 2) => [import("trusted-types/lib/index.js").TrustedHTML, (string | undefined)[]];
|
||||
overrideDirectiveResolve: (directiveClass: new (part: PartInfo) => Directive & {
|
||||
render(): unknown;
|
||||
}, resolveOverrideFn: (directive: Directive, values: unknown[]) => unknown) => {
|
||||
new (part: PartInfo): {
|
||||
_$resolve(this: Directive, _part: Part, values: unknown[]): unknown;
|
||||
__part: Part;
|
||||
__attributeIndex: number | undefined;
|
||||
__directive?: Directive | undefined;
|
||||
_$parent: Disconnectable;
|
||||
_$disconnectableChildren?: Set<Disconnectable> | undefined;
|
||||
_$notifyDirectiveConnectionChanged?(isConnected: boolean): void;
|
||||
readonly _$isConnected: boolean;
|
||||
_$initialize(part: Part, parent: Disconnectable, attributeIndex: number | undefined): void;
|
||||
render: ((...props: unknown[]) => unknown) & (() => unknown);
|
||||
update(_part: Part, props: unknown[]): unknown;
|
||||
};
|
||||
};
|
||||
setDirectiveClass(value: DirectiveResult, directiveClass: DirectiveClass): void;
|
||||
getAttributePartCommittedValue: (part: AttributePart, value: unknown, index: number | undefined) => unknown;
|
||||
connectedDisconnectable: (props?: object) => Disconnectable;
|
||||
resolveDirective: (part: ChildPart | AttributePart | ElementPart, value: unknown, parent?: import("./lit-html.js").DirectiveParent, attributeIndex?: number | undefined) => unknown;
|
||||
AttributePart: typeof AttributePart;
|
||||
PropertyPart: typeof PropertyPart;
|
||||
BooleanAttributePart: typeof BooleanAttributePart;
|
||||
EventPart: typeof EventPart;
|
||||
ElementPart: typeof ElementPart;
|
||||
TemplateInstance: typeof TemplateInstance;
|
||||
isIterable: (value: unknown) => value is Iterable<unknown>;
|
||||
ChildPart: typeof ChildPart;
|
||||
};
|
||||
//# sourceMappingURL=private-ssr-support.d.ts.map
|
Reference in New Issue
Block a user