@lwc/ssr-runtime
Advanced tools
Comparing version 8.10.1 to 8.11.0
@@ -6,7 +6,7 @@ import { SYMBOL__GENERATE_MARKUP } from './lightning-element'; | ||
export declare function renderAttrsNoYield(emit: (segment: string) => void, instance: LightningElement, attrs: Attributes, hostScopeToken: string | undefined, scopeToken: string | undefined): void; | ||
export declare function fallbackTmpl(_props: unknown, _attrs: unknown, _slotted: unknown, Cmp: LightningElementConstructor, _instance: unknown): Generator<string, void, unknown>; | ||
export declare function fallbackTmplNoYield(emit: (segment: string) => void, _props: unknown, _attrs: unknown, _slotted: unknown, Cmp: LightningElementConstructor, _instance: unknown): void; | ||
export type GenerateMarkupFn = (tagName: string, props: Properties | null, attrs: Attributes | null, slotted: Record<number | string, AsyncGenerator<string>> | null) => AsyncGenerator<string>; | ||
export type GenerateMarkupFnAsyncNoGen = (emit: (segment: string) => void, tagName: string, props: Record<string, any> | null, attrs: Attributes | null, slotted: Record<number | string, AsyncGenerator<string>> | null) => Promise<void>; | ||
export type GenerateMarkupFnSyncNoGen = (emit: (segment: string) => void, tagName: string, props: Record<string, any> | null, attrs: Attributes | null, slotted: Record<number | string, AsyncGenerator<string>> | null) => void; | ||
export declare function fallbackTmpl(_props: unknown, _attrs: unknown, _shadowSlottedContent: unknown, _lightSlottedContent: unknown, Cmp: LightningElementConstructor, _instance: unknown): Generator<string, void, unknown>; | ||
export declare function fallbackTmplNoYield(emit: (segment: string) => void, _props: unknown, _attrs: unknown, _shadowSlottedContent: unknown, _lightSlottedContent: unknown, Cmp: LightningElementConstructor, _instance: unknown): void; | ||
export type GenerateMarkupFn = (tagName: string, props: Properties | null, attrs: Attributes | null, shadowSlottedContent: AsyncGenerator<string> | null, lightSlottedContent: Record<number | string, AsyncGenerator<string>> | null) => AsyncGenerator<string>; | ||
export type GenerateMarkupFnAsyncNoGen = (emit: (segment: string) => void, tagName: string, props: Record<string, any> | null, attrs: Attributes | null, shadowSlottedContent: AsyncGenerator<string> | null, lightSlottedContent: Record<number | string, AsyncGenerator<string>> | null) => Promise<void>; | ||
export type GenerateMarkupFnSyncNoGen = (emit: (segment: string) => void, tagName: string, props: Record<string, any> | null, attrs: Attributes | null, shadowSlottedContent: AsyncGenerator<string> | null, lightSlottedContent: Record<number | string, AsyncGenerator<string>> | null) => void; | ||
type GenerateMarkupFnVariants = GenerateMarkupFn | GenerateMarkupFnAsyncNoGen | GenerateMarkupFnSyncNoGen; | ||
@@ -16,3 +16,3 @@ interface ComponentWithGenerateMarkup { | ||
} | ||
export declare function serverSideRenderComponent(tagName: string, Component: GenerateMarkupFnVariants | ComponentWithGenerateMarkup, props?: Properties, mode?: 'asyncYield' | 'async' | 'sync'): Promise<string>; | ||
export declare function serverSideRenderComponent(tagName: string, Component: ComponentWithGenerateMarkup, props?: Properties, mode?: 'asyncYield' | 'async' | 'sync'): Promise<string>; | ||
export {}; |
import type { LightningElementConstructor } from './lightning-element'; | ||
import type { Stylesheets } from '@lwc/shared'; | ||
import type { Stylesheets, Stylesheet } from '@lwc/shared'; | ||
type ForgivingStylesheets = Stylesheets | Stylesheet | undefined | null | Array<Stylesheets | undefined | null>; | ||
export declare function hasScopedStaticStylesheets(Component: LightningElementConstructor): boolean; | ||
export declare function renderStylesheets(stylesheets: Array<Stylesheets | undefined>, scopeToken: string, Component: LightningElementConstructor, hasScopedTemplateStyles: boolean): string; | ||
export declare function renderStylesheets(defaultStylesheets: ForgivingStylesheets, defaultScopedStylesheets: ForgivingStylesheets, staticStylesheets: ForgivingStylesheets, scopeToken: string, Component: LightningElementConstructor, hasScopedTemplateStyles: boolean): string; | ||
export {}; |
@@ -7,3 +7,3 @@ { | ||
"name": "@lwc/ssr-runtime", | ||
"version": "8.10.1", | ||
"version": "8.11.0", | ||
"description": "Runtime complement to @lwc/ssr-compiler", | ||
@@ -48,6 +48,6 @@ "keywords": [ | ||
"devDependencies": { | ||
"@lwc/shared": "8.10.1", | ||
"@lwc/engine-core": "8.10.1", | ||
"@lwc/shared": "8.11.0", | ||
"@lwc/engine-core": "8.11.0", | ||
"observable-membrane": "2.0.0" | ||
} | ||
} |
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
424333
4035