@stencil/core 5.0.0-alpha.3 → 5.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-CSm3x5ke.mjs → client-Dti6fFpE.mjs} +27 -9
- package/dist/compiler/index.d.mts +2 -2
- package/dist/compiler/index.mjs +2 -2
- package/dist/compiler/utils/index.d.mts +1 -1
- package/dist/{compiler-D6iP7Bzb.mjs → compiler-BYRrEeD-.mjs} +265 -65
- package/dist/declarations/stencil-public-compiler.d.ts +54 -0
- package/dist/{index-CXHCTQNt.d.mts → index-9LTuoSiw.d.mts} +5 -1
- package/dist/{index-tUR6pD3J.d.mts → index-BwTaN1Nq.d.mts} +55 -1
- package/dist/index.mjs +1 -1
- package/dist/jsx-runtime.js +1 -1
- package/dist/{node-Bg-mO5dw.mjs → node-BF2jSfWg.mjs} +1 -1
- package/dist/runtime/client/index.d.ts +4 -0
- package/dist/runtime/client/index.js +27 -9
- package/dist/runtime/index.d.ts +4 -0
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/server/index.d.mts +17 -4
- package/dist/runtime/server/index.mjs +25 -10
- package/dist/{runtime-BBCnuprF.js → runtime-COEYYPyw.js} +27 -9
- package/dist/sys/node/index.d.mts +1 -1
- package/dist/sys/node/index.mjs +1 -1
- package/dist/sys/node/worker.mjs +2 -2
- package/dist/testing/index.d.mts +2 -2
- package/dist/testing/index.mjs +5 -4
- package/package.json +4 -4
|
@@ -3921,9 +3921,11 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
3921
3921
|
return;
|
|
3922
3922
|
}
|
|
3923
3923
|
const propFlags = members.find(([m]) => m === propName);
|
|
3924
|
-
|
|
3924
|
+
const isBooleanTarget = propFlags && propFlags[1][0] & MEMBER_FLAGS.Boolean;
|
|
3925
|
+
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
3926
|
+
if (isBooleanTarget) newValue = !(newValue === null || newValue === "false");
|
|
3925
3927
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
3926
|
-
if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) this[propName] = newValue;
|
|
3928
|
+
if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) this[propName] = newValue;
|
|
3927
3929
|
});
|
|
3928
3930
|
};
|
|
3929
3931
|
Cstr.observedAttributes = Array.from(new Set([...Object.keys(cmpMeta.$watchers$ ?? {}), ...members.filter(([_, m]) => m[0] & MEMBER_FLAGS.HasAttribute).map(([propName, m]) => {
|
|
@@ -4340,8 +4342,19 @@ function Mixin(...mixins) {
|
|
|
4340
4342
|
//#endregion
|
|
4341
4343
|
//#region src/runtime/render.ts
|
|
4342
4344
|
/**
|
|
4345
|
+
* A WeakMap to persist HostRef objects across multiple render() calls to the
|
|
4346
|
+
* same container. This enables VNode diffing on re-renders — without it, each
|
|
4347
|
+
* call creates a fresh HostRef with no previous VNode, causing renderVdom to
|
|
4348
|
+
* replace the entire DOM subtree instead of patching only what changed.
|
|
4349
|
+
*/
|
|
4350
|
+
const hostRefCache = /* @__PURE__ */ new WeakMap();
|
|
4351
|
+
/**
|
|
4343
4352
|
* Method to render a virtual DOM tree to a container element.
|
|
4344
4353
|
*
|
|
4354
|
+
* Supports efficient re-renders: calling `render()` again on the same container
|
|
4355
|
+
* will diff the new VNode tree against the previous one and only update what changed,
|
|
4356
|
+
* preserving existing DOM elements and their state.
|
|
4357
|
+
*
|
|
4345
4358
|
* @example
|
|
4346
4359
|
* ```tsx
|
|
4347
4360
|
* import { render } from '@stencil/core';
|
|
@@ -4358,14 +4371,19 @@ function Mixin(...mixins) {
|
|
|
4358
4371
|
* @param container - The container element to render the virtual DOM tree to
|
|
4359
4372
|
*/
|
|
4360
4373
|
function render(vnode, container) {
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4374
|
+
let ref = hostRefCache.get(container);
|
|
4375
|
+
if (!ref) {
|
|
4376
|
+
ref = {
|
|
4364
4377
|
$flags$: 0,
|
|
4365
|
-
$
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4378
|
+
$cmpMeta$: {
|
|
4379
|
+
$flags$: 0,
|
|
4380
|
+
$tagName$: container.tagName
|
|
4381
|
+
},
|
|
4382
|
+
$hostElement$: container
|
|
4383
|
+
};
|
|
4384
|
+
hostRefCache.set(container, ref);
|
|
4385
|
+
}
|
|
4386
|
+
renderVdom(ref, vnode);
|
|
4369
4387
|
}
|
|
4370
4388
|
//#endregion
|
|
4371
4389
|
//#region src/runtime/tag-transform.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as ComponentCompilerVirtualProperty, $i as
|
|
1
|
+
import { $ as ComponentCompilerVirtualProperty, $i as TranspileOnlyResults, $n as CompilerDependency, $r as Logger, $t as PluginCtx, A as CompilerStyleDoc, Aa as JsonDocsValue, Ai as PlatformPath, An as TypesModule, Ar as ConfigExtras, At as HydrateImgElement, B as ComponentCompilerMeta, Bi as RolldownConfig, Bn as BuildLog, Br as EligiblePrimaryPackageOutputTarget, Bt as Module, C as CompilerBuildStatBundle, Ca as JsonDocsPart, Ci as OutputTargetDocsReadme, Cn as StyleMap, Cr as CompilerSystemRemoveFileResults, Ct as EventInitDict, D as CompilerJsDoc, Da as JsonDocsTag, Di as OutputTargetWww, Dn as TypeInfo, Dr as CompilerWatcher, Dt as HydrateAnchorElement, E as CompilerCtx, Ea as JsonDocsStyle, Ei as OutputTargetStats, En as TranspileModuleResults, Er as CompilerSystemWriteFileResults, Et as HostRef, F as ComponentCompilerData, Fi as ResolveModuleIdOptions, Fn as WorkerContextMethod, Fr as CustomElementsExportBehaviorOptions, Ft as ImportData, G as ComponentCompilerPropertyType, Gi as ServiceWorkerConfig, Gn as BuildResultsComponentGraph, Gr as HydrateDocumentOptions, Gt as NewSpecPageOptions, H as ComponentCompilerMethodComplexType, Hi as RolldownInterface, Hn as BuildOnEventRemove, Hr as HistoryApiFallback, Ht as ModuleMap, I as ComponentCompilerEvent, Ii as ResolveModuleIdResults, In as WorkerMsgHandler, Ir as DevServer, It as JSDocTagInfo, J as ComponentCompilerStaticEvent, Ji as StencilConfig, Jn as CompileScriptMinifyOptions, Jr as LOG_LEVELS, Jt as PackageJsonData, K as ComponentCompilerReferencedType, Ki as SitemapXmpOpts, Kn as CacheStorage, Kr as HydrateFactoryOptions, Kt as NodeMap, L as ComponentCompilerEventComplexType, Li as ResolveModuleOptions, Ln as AutoprefixerOptions, Lr as DevServerConfig, Lt as JsDoc, M as CompilerWorkerTask, Ma as FsWriteResults, Mi as PrerenderHydrateOptions, Mn as VNodeProdData, Mr as CopyTask, Mt as HydrateScriptElement, N as ComponentCompilerChangeHandler, Ni as PrerenderResults, Nn as ValidateTypesResults, Nr as Credentials, Nt as HydrateStaticData, O as CompilerJsDocTagInfo, Oa as JsonDocsTypeLibrary, Oi as PageReloadStrategy, On as TypesImportData, Or as Config, Ot as HydrateComponent, P as ComponentCompilerCustomState, Pi as PrerenderStartOptions, Pn as Workbox, Pr as CustomElementsExportBehavior, Pt as HydrateStyleElement, Q as ComponentCompilerTypeReferences, Qi as TransformOptions, Qn as CompilerBuildStart, Qr as LogLevel, Qt as Plugin, R as ComponentCompilerFeatures, Ri as RobotsTxtOpts, Rn as BuildEmitEvents, Rr as DevServerEditor, Rt as LazyBundleRuntimeData, S as CompilerAssetDir, Sa as JsonDocsMethodReturn, Si as OutputTargetDocsJson, Sn as StyleCompiler, Sr as CompilerSystemRemoveDirectoryResults, St as EntryModule, T as CompilerBuildStats, Ta as JsonDocsSlot, Ti as OutputTargetHydrate, Tn as TransformCssToEsmOutput, Tr as CompilerSystemRenamedPath, Tt as HostElement, U as ComponentCompilerProperty, Ui as RolldownOutputOptions, Un as BuildOnEvents, Ur as HmrStyleUpdate, Ut as MsgFromWorker, V as ComponentCompilerMethod, Vi as RolldownInputOptions, Vn as BuildNoChangeResults, Vr as FsWatchResults, Vt as ModuleFormat, W as ComponentCompilerPropertyComplexType, Wi as SerializeDocumentOptions, Wn as BuildOutput, Wr as HotModuleReplacement, Wt as MsgToWorker, X as ComponentCompilerStaticProperty, Xi as StencilDocsConfig, Xn as Compiler, Xr as LoadConfigInit, Xt as PatchedSlotNode, Y as ComponentCompilerStaticMethod, Yi as StencilDevServerConfig, Yn as CompileTarget, Yr as LazyRequire, Yt as ParsedImport, Z as ComponentCompilerTypeReference, Zi as SystemDetails, Zn as CompilerBuildResults, Zr as LoadConfigResults, Zt as PlatformRuntime, _ as CollectionCompilerVersion, _a as JsonDocsCustomState, _i as OutputTargetDistLazy, _n as SerializedEvent, _r as CompilerSystem, _t as CssImportData, a as BuildCtx, aa as WorkerMainController, ai as OptimizeJsInput, an as PrintLine, ar as CompilerEventDirDelete, at as ComponentConstructorProperties, b as CollectionDependencyManifest, ba as JsonDocsListener, bi as OutputTargetDocsCustom, bn as SpecPage, br as CompilerSystemRealpathResults, bt as DocData, c as BuildStyleUpdate, ci as OutputTargetBase, cn as RolldownAssetResult, cr as CompilerEventFileUpdate, ct as ComponentNativeConstructor, d as BundleModuleOutput, di as OutputTargetCopy, dn as RolldownResultModule, dr as CompilerFileWatcher, dt as ComponentRuntimeMember, ea as TranspileOptions, ei as LoggerLineUpdater, en as PluginTransformResults, er as CompilerEventBuildFinish, et as ComponentConstructor, f as Cache, fi as OutputTargetCustom, fn as RolldownResults, fr as CompilerFileWatcherCallback, ft as ComponentRuntimeMembers, g as CollectionCompilerMeta, ga as JsonDocsComponent, gi as OutputTargetDistGlobalStyles, gn as SerializeImportData, gr as CompilerRequestResponse, gt as ComponentTestingConstructor, h as CollectionCompiler, ha as JsonDocs, hi as OutputTargetDistCustomElements, hn as RuntimeRef, hr as CompilerRequest, ht as ComponentRuntimeReflectingAttr, i as BuildConditionals, ia as WatcherCloseResults, ii as OptimizeCssOutput, in as PrerenderUrlResults, ir as CompilerEventDirAdd, it as ComponentConstructorListener, j as CompilerWorkerContext, ja as StyleDoc, ji as PrerenderConfig, jn as UpdatedLazyBuildCtx, jr as CopyResults, jt as HydrateResults, k as CompilerModeStyles, ka as JsonDocsUsage, ki as ParsedPath, kn as TypesMemberNameData, kr as ConfigBundle, kt as HydrateElement, l as BuildTask, li as OutputTargetBaseNext, ln as RolldownChunkResult, lr as CompilerEventFsChange, lt as ComponentPatches, m as CollectionBundleManifest, ma as JsonDocMethodParameter, mi as OutputTargetDistCollection, mn as RootAppliedStyleMap, mr as CompilerFsStats, mt as ComponentRuntimeMetaCompact, n as AssetsMeta, na as UnvalidatedConfig, ni as NodeResolveConfig, nn as PrerenderManager, nr as CompilerEventBuildNoChange, nt as ComponentConstructorEncapsulation, o as BuildFeatures, oa as WorkerOptions, oi as OptimizeJsOutput, on as PropsType, or as CompilerEventFileAdd, ot as ComponentConstructorProperty, p as ChildType, pi as OutputTargetDist, pn as RolldownSourceMap, pr as CompilerFileWatcherEvent, pt as ComponentRuntimeMeta, q as ComponentCompilerState, qi as SitemapXmpResults, qn as CliInitOptions, qr as HydratedFlag, qt as OptimizeJsResult, r as BuildComponent, ra as ValidatedConfig, ri as OptimizeCssInput, rn as PrerenderUrlRequest, rr as CompilerEventBuildStart, rt as ComponentConstructorEvent, s as BuildSourceGraph, si as OutputTarget, sn as RenderNode, sr as CompilerEventFileDelete, st as ComponentConstructorPropertyType, t as AnyHTMLElement, ta as TranspileResults, ti as LoggerTimeSpan, tn as PluginTransformationDescriptor, tr as CompilerEventBuildLog, tt as ComponentConstructorChangeHandlers, u as BundleModule, ui as OutputTargetBuild, un as RolldownResult, ur as CompilerEventName, ut as ComponentRuntimeHostListener, v as CollectionComponentEntryPath, va as JsonDocsDependencyGraph, vi as OutputTargetDistLazyLoader, vn as SourceMap, vr as CompilerSystemCreateDirectoryOptions, vt as CssToEsmImportData, w as CompilerBuildStatCollection, wa as JsonDocsProp, wi as OutputTargetDocsVscode, wn as TransformCssToEsmInput, wr as CompilerSystemRenameResults, wt as ExternalStyleCompiler, x as CollectionManifest, xa as JsonDocsMethod, xi as OutputTargetDocsCustomElementsManifest, xn as StencilDocument, xr as CompilerSystemRemoveDirectoryOptions, xt as Encapsulation, y as CollectionDependencyData, ya as JsonDocsEvent, yi as OutputTargetDistTypes, yn as SourceTarget, yr as CompilerSystemCreateDirectoryResults, yt as CssTransformCacheEntry, z as ComponentCompilerListener, zi as RobotsTxtResults, zn as BuildEvents, zr as Diagnostic, zt as LazyBundlesRuntimeData } from "../index-BwTaN1Nq.mjs";
|
|
2
2
|
import ts from "typescript";
|
|
3
3
|
|
|
4
4
|
//#region src/version.d.ts
|
|
@@ -189,4 +189,4 @@ type ConfigValidationResults = {
|
|
|
189
189
|
*/
|
|
190
190
|
declare const validateConfig: (userConfig: UnvalidatedConfig, bootstrapConfig: LoadConfigInit) => ConfigValidationResults;
|
|
191
191
|
//#endregion
|
|
192
|
-
export { AnyHTMLElement, AssetsMeta, AutoprefixerOptions, BuildComponent, BuildConditionals, BuildCtx, BuildEmitEvents, BuildEvents, BuildFeatures, BuildLog, BuildNoChangeResults, BuildOnEventRemove, BuildOnEvents, BuildOutput, BuildResultsComponentGraph, BuildSourceGraph, BuildStyleUpdate, BuildTask, BundleModule, BundleModuleOutput, Cache, CacheStorage, ChildType, CliInitOptions, CollectionBundleManifest, CollectionCompiler, CollectionCompilerMeta, CollectionCompilerVersion, CollectionComponentEntryPath, CollectionDependencyData, CollectionDependencyManifest, CollectionManifest, CompileScriptMinifyOptions, CompileTarget, Compiler, CompilerAssetDir, CompilerBuildResults, CompilerBuildStart, CompilerBuildStatBundle, CompilerBuildStatCollection, CompilerBuildStats, CompilerCtx, CompilerDependency, CompilerEventBuildFinish, CompilerEventBuildLog, CompilerEventBuildNoChange, CompilerEventBuildStart, CompilerEventDirAdd, CompilerEventDirDelete, CompilerEventFileAdd, CompilerEventFileDelete, CompilerEventFileUpdate, CompilerEventFsChange, CompilerEventName, CompilerFileWatcher, CompilerFileWatcherCallback, CompilerFileWatcherEvent, CompilerFsStats, CompilerJsDoc, CompilerJsDocTagInfo, CompilerModeStyles, CompilerRequest, CompilerRequestResponse, CompilerStyleDoc, CompilerSystem, CompilerSystemCreateDirectoryOptions, CompilerSystemCreateDirectoryResults, CompilerSystemRealpathResults, CompilerSystemRemoveDirectoryOptions, CompilerSystemRemoveDirectoryResults, CompilerSystemRemoveFileResults, CompilerSystemRenameResults, CompilerSystemRenamedPath, CompilerSystemWriteFileResults, CompilerWatcher, CompilerWorkerContext, CompilerWorkerTask, ComponentCompilerChangeHandler, ComponentCompilerCustomState, ComponentCompilerData, ComponentCompilerEvent, ComponentCompilerEventComplexType, ComponentCompilerFeatures, ComponentCompilerListener, ComponentCompilerMeta, ComponentCompilerMethod, ComponentCompilerMethodComplexType, ComponentCompilerProperty, ComponentCompilerPropertyComplexType, ComponentCompilerPropertyType, ComponentCompilerReferencedType, ComponentCompilerState, ComponentCompilerStaticEvent, ComponentCompilerStaticMethod, ComponentCompilerStaticProperty, ComponentCompilerTypeReference, ComponentCompilerTypeReferences, ComponentCompilerVirtualProperty, ComponentConstructor, ComponentConstructorChangeHandlers, ComponentConstructorEncapsulation, ComponentConstructorEvent, ComponentConstructorListener, ComponentConstructorProperties, ComponentConstructorProperty, ComponentConstructorPropertyType, ComponentNativeConstructor, ComponentPatches, ComponentRuntimeHostListener, ComponentRuntimeMember, ComponentRuntimeMembers, ComponentRuntimeMeta, ComponentRuntimeMetaCompact, ComponentRuntimeReflectingAttr, ComponentTestingConstructor, Config, ConfigBundle, ConfigExtras, CopyResults, CopyTask, Credentials, CssImportData, CssToEsmImportData, CustomElementsExportBehavior, CustomElementsExportBehaviorOptions, DevServer, DevServerConfig, DevServerEditor, Diagnostic, DocData, EligiblePrimaryPackageOutputTarget, Encapsulation, EntryModule, EventInitDict, ExternalStyleCompiler, FsWatchResults, type FsWriteResults, HistoryApiFallback, HmrStyleUpdate, HostElement, HostRef, HotModuleReplacement, HydrateAnchorElement, HydrateComponent, HydrateDocumentOptions, HydrateElement, HydrateFactoryOptions, HydrateImgElement, HydrateResults, HydrateScriptElement, HydrateStaticData, HydrateStyleElement, HydratedFlag, ImportData, JSDocTagInfo, JsDoc, JsonDocMethodParameter, JsonDocs, JsonDocsComponent, JsonDocsCustomState, JsonDocsDependencyGraph, JsonDocsEvent, JsonDocsListener, JsonDocsMethod, JsonDocsMethodReturn, JsonDocsPart, JsonDocsProp, JsonDocsSlot, JsonDocsStyle, JsonDocsTag, JsonDocsTypeLibrary, JsonDocsUsage, JsonDocsValue, LOG_LEVELS, LazyBundleRuntimeData, LazyBundlesRuntimeData, LazyRequire, LoadConfigInit, LoadConfigResults, LogLevel, Logger, LoggerLineUpdater, LoggerTimeSpan, Module, ModuleFormat, ModuleMap, MsgFromWorker, MsgToWorker, NewSpecPageOptions, NodeMap, NodeResolveConfig, OptimizeCssInput, OptimizeCssOutput, OptimizeJsInput, OptimizeJsOutput, OptimizeJsResult, OutputTarget, OutputTargetBase, OutputTargetBaseNext, OutputTargetBuild, OutputTargetCopy, OutputTargetCustom, OutputTargetDist, OutputTargetDistCollection, OutputTargetDistCustomElements, OutputTargetDistGlobalStyles, OutputTargetDistLazy, OutputTargetDistLazyLoader, OutputTargetDistTypes, OutputTargetDocsCustom, OutputTargetDocsCustomElementsManifest, OutputTargetDocsJson, OutputTargetDocsReadme, OutputTargetDocsVscode, OutputTargetHydrate, OutputTargetStats, OutputTargetWww, PackageJsonData, PageReloadStrategy, ParsedImport, ParsedPath, PatchedSlotNode, PlatformPath, PlatformRuntime, Plugin, PluginCtx, PluginTransformResults, PluginTransformationDescriptor, PrerenderConfig, PrerenderHydrateOptions, PrerenderManager, PrerenderResults, PrerenderStartOptions, PrerenderUrlRequest, PrerenderUrlResults, PrintLine, PropsType, RenderNode, ResolveModuleIdOptions, ResolveModuleIdResults, ResolveModuleOptions, RobotsTxtOpts, RobotsTxtResults, RolldownAssetResult, RolldownChunkResult, RolldownConfig, RolldownInputOptions, RolldownInterface, RolldownOutputOptions, RolldownResult, RolldownResultModule, RolldownResults, RolldownSourceMap, RootAppliedStyleMap, RuntimeRef, SerializeDocumentOptions, SerializeImportData, SerializedEvent, ServiceWorkerConfig, SitemapXmpOpts, SitemapXmpResults, SourceMap, SourceTarget, SpecPage, StencilConfig, StencilDevServerConfig, StencilDocsConfig, StencilDocument, StyleCompiler, StyleDoc, StyleMap, SystemDetails, TransformCssToEsmInput, TransformCssToEsmOutput, TransformOptions, TranspileModuleResults, TranspileOnlyResults, TranspileOptions, TranspileResults, TypeInfo, TypesImportData, TypesMemberNameData, TypesModule, UnvalidatedConfig, UpdatedLazyBuildCtx, VNodeProdData, ValidateTypesResults, ValidatedConfig, WatcherCloseResults, Workbox, WorkerContextMethod, WorkerMainController, WorkerMsgHandler, WorkerOptions, buildId, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, loadConfig, nodeRequire, optimizeCss, optimizeJs, transpile, transpileSync, ts, validateConfig, vermoji, version, versions };
|
|
192
|
+
export { AnyHTMLElement, AssetsMeta, AutoprefixerOptions, BuildComponent, BuildConditionals, BuildCtx, BuildEmitEvents, BuildEvents, BuildFeatures, BuildLog, BuildNoChangeResults, BuildOnEventRemove, BuildOnEvents, BuildOutput, BuildResultsComponentGraph, BuildSourceGraph, BuildStyleUpdate, BuildTask, BundleModule, BundleModuleOutput, Cache, CacheStorage, ChildType, CliInitOptions, CollectionBundleManifest, CollectionCompiler, CollectionCompilerMeta, CollectionCompilerVersion, CollectionComponentEntryPath, CollectionDependencyData, CollectionDependencyManifest, CollectionManifest, CompileScriptMinifyOptions, CompileTarget, Compiler, CompilerAssetDir, CompilerBuildResults, CompilerBuildStart, CompilerBuildStatBundle, CompilerBuildStatCollection, CompilerBuildStats, CompilerCtx, CompilerDependency, CompilerEventBuildFinish, CompilerEventBuildLog, CompilerEventBuildNoChange, CompilerEventBuildStart, CompilerEventDirAdd, CompilerEventDirDelete, CompilerEventFileAdd, CompilerEventFileDelete, CompilerEventFileUpdate, CompilerEventFsChange, CompilerEventName, CompilerFileWatcher, CompilerFileWatcherCallback, CompilerFileWatcherEvent, CompilerFsStats, CompilerJsDoc, CompilerJsDocTagInfo, CompilerModeStyles, CompilerRequest, CompilerRequestResponse, CompilerStyleDoc, CompilerSystem, CompilerSystemCreateDirectoryOptions, CompilerSystemCreateDirectoryResults, CompilerSystemRealpathResults, CompilerSystemRemoveDirectoryOptions, CompilerSystemRemoveDirectoryResults, CompilerSystemRemoveFileResults, CompilerSystemRenameResults, CompilerSystemRenamedPath, CompilerSystemWriteFileResults, CompilerWatcher, CompilerWorkerContext, CompilerWorkerTask, ComponentCompilerChangeHandler, ComponentCompilerCustomState, ComponentCompilerData, ComponentCompilerEvent, ComponentCompilerEventComplexType, ComponentCompilerFeatures, ComponentCompilerListener, ComponentCompilerMeta, ComponentCompilerMethod, ComponentCompilerMethodComplexType, ComponentCompilerProperty, ComponentCompilerPropertyComplexType, ComponentCompilerPropertyType, ComponentCompilerReferencedType, ComponentCompilerState, ComponentCompilerStaticEvent, ComponentCompilerStaticMethod, ComponentCompilerStaticProperty, ComponentCompilerTypeReference, ComponentCompilerTypeReferences, ComponentCompilerVirtualProperty, ComponentConstructor, ComponentConstructorChangeHandlers, ComponentConstructorEncapsulation, ComponentConstructorEvent, ComponentConstructorListener, ComponentConstructorProperties, ComponentConstructorProperty, ComponentConstructorPropertyType, ComponentNativeConstructor, ComponentPatches, ComponentRuntimeHostListener, ComponentRuntimeMember, ComponentRuntimeMembers, ComponentRuntimeMeta, ComponentRuntimeMetaCompact, ComponentRuntimeReflectingAttr, ComponentTestingConstructor, Config, ConfigBundle, ConfigExtras, CopyResults, CopyTask, Credentials, CssImportData, CssToEsmImportData, CssTransformCacheEntry, CustomElementsExportBehavior, CustomElementsExportBehaviorOptions, DevServer, DevServerConfig, DevServerEditor, Diagnostic, DocData, EligiblePrimaryPackageOutputTarget, Encapsulation, EntryModule, EventInitDict, ExternalStyleCompiler, FsWatchResults, type FsWriteResults, HistoryApiFallback, HmrStyleUpdate, HostElement, HostRef, HotModuleReplacement, HydrateAnchorElement, HydrateComponent, HydrateDocumentOptions, HydrateElement, HydrateFactoryOptions, HydrateImgElement, HydrateResults, HydrateScriptElement, HydrateStaticData, HydrateStyleElement, HydratedFlag, ImportData, JSDocTagInfo, JsDoc, JsonDocMethodParameter, JsonDocs, JsonDocsComponent, JsonDocsCustomState, JsonDocsDependencyGraph, JsonDocsEvent, JsonDocsListener, JsonDocsMethod, JsonDocsMethodReturn, JsonDocsPart, JsonDocsProp, JsonDocsSlot, JsonDocsStyle, JsonDocsTag, JsonDocsTypeLibrary, JsonDocsUsage, JsonDocsValue, LOG_LEVELS, LazyBundleRuntimeData, LazyBundlesRuntimeData, LazyRequire, LoadConfigInit, LoadConfigResults, LogLevel, Logger, LoggerLineUpdater, LoggerTimeSpan, Module, ModuleFormat, ModuleMap, MsgFromWorker, MsgToWorker, NewSpecPageOptions, NodeMap, NodeResolveConfig, OptimizeCssInput, OptimizeCssOutput, OptimizeJsInput, OptimizeJsOutput, OptimizeJsResult, OutputTarget, OutputTargetBase, OutputTargetBaseNext, OutputTargetBuild, OutputTargetCopy, OutputTargetCustom, OutputTargetDist, OutputTargetDistCollection, OutputTargetDistCustomElements, OutputTargetDistGlobalStyles, OutputTargetDistLazy, OutputTargetDistLazyLoader, OutputTargetDistTypes, OutputTargetDocsCustom, OutputTargetDocsCustomElementsManifest, OutputTargetDocsJson, OutputTargetDocsReadme, OutputTargetDocsVscode, OutputTargetHydrate, OutputTargetStats, OutputTargetWww, PackageJsonData, PageReloadStrategy, ParsedImport, ParsedPath, PatchedSlotNode, PlatformPath, PlatformRuntime, Plugin, PluginCtx, PluginTransformResults, PluginTransformationDescriptor, PrerenderConfig, PrerenderHydrateOptions, PrerenderManager, PrerenderResults, PrerenderStartOptions, PrerenderUrlRequest, PrerenderUrlResults, PrintLine, PropsType, RenderNode, ResolveModuleIdOptions, ResolveModuleIdResults, ResolveModuleOptions, RobotsTxtOpts, RobotsTxtResults, RolldownAssetResult, RolldownChunkResult, RolldownConfig, RolldownInputOptions, RolldownInterface, RolldownOutputOptions, RolldownResult, RolldownResultModule, RolldownResults, RolldownSourceMap, RootAppliedStyleMap, RuntimeRef, SerializeDocumentOptions, SerializeImportData, SerializedEvent, ServiceWorkerConfig, SitemapXmpOpts, SitemapXmpResults, SourceMap, SourceTarget, SpecPage, StencilConfig, StencilDevServerConfig, StencilDocsConfig, StencilDocument, StyleCompiler, StyleDoc, StyleMap, SystemDetails, TransformCssToEsmInput, TransformCssToEsmOutput, TransformOptions, TranspileModuleResults, TranspileOnlyResults, TranspileOptions, TranspileResults, TypeInfo, TypesImportData, TypesMemberNameData, TypesModule, UnvalidatedConfig, UpdatedLazyBuildCtx, VNodeProdData, ValidateTypesResults, ValidatedConfig, WatcherCloseResults, Workbox, WorkerContextMethod, WorkerMainController, WorkerMsgHandler, WorkerOptions, buildId, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, loadConfig, nodeRequire, optimizeCss, optimizeJs, transpile, transpileSync, ts, validateConfig, vermoji, version, versions };
|
package/dist/compiler/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as createPrerenderer, b as version, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as validateConfig, i as createSystem, l as createWorkerMessageHandler, n as transpile, o as loadConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, v as buildId, x as versions, y as vermoji } from "../compiler-
|
|
2
|
-
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-
|
|
1
|
+
import { a as createPrerenderer, b as version, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as validateConfig, i as createSystem, l as createWorkerMessageHandler, n as transpile, o as loadConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, v as buildId, x as versions, y as vermoji } from "../compiler-BYRrEeD-.mjs";
|
|
2
|
+
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-BF2jSfWg.mjs";
|
|
3
3
|
export { CustomElementsExportBehaviorOptions, LOG_LEVELS, buildId, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, loadConfig, nodeRequire, optimizeCss, optimizeJs, transpile, transpileSync, ts, validateConfig, vermoji, version, versions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as
|
|
1
|
+
import { $a as result_d_exports, $o as isGlob, $s as XLINK_NS, Ao as isOutputTargetHydrate, As as DIST_CUSTOM_ELEMENTS, Ba as isDtsFile, Bo as catchError, Bs as DOCS_VSCODE, Co as isOutputTargetDistTypes, Cs as CMP_FLAGS, Do as isOutputTargetDocsJson, Ds as DEFAULT_STYLE_MODE, Eo as isOutputTargetDocsCustomElementsManifest, Es as CUSTOM, Fa as addDocBlock, Fo as shouldExcludeComponent, Fs as DIST_TYPES, Ga as parsePackageJson, Go as normalizeDiagnostics, Gs as LISTENER_FLAGS, Ha as isJsxFile, Ho as hasWarning, Hs as GENERATED_DTS, Ia as createJsVarName, Io as TASK_CANCELED_MSG, Is as DOCS_CUSTOM, Ja as isRemoteUrl, Jo as loadTypeScriptDiagnostic, Js as STATS, Ka as readOnlyArrayHasStringMember, Ko as splitLineBreaks, Ks as MEMBER_FLAGS, La as generatePreamble, Lo as buildError, Ls as DOCS_CUSTOM_ELEMENTS_MANIFEST, Mo as isOutputTargetWww, Ms as DIST_HYDRATE_SCRIPT, Na as validateComponentTag, No as isValidConfigOutputTarget, Ns as DIST_LAZY, Oo as isOutputTargetDocsReadme, Os as DIST, Pa as ParsePackageJsonResult, Po as relativeImport, Ps as DIST_LAZY_LOADER, Qa as rolldownToStencilSourceMap, Qo as isRootPath, Qs as WWW, Ra as getTextDocs, Ro as buildJsonFileError, Rs as DOCS_JSON, So as isOutputTargetDistLazyLoader, Ss as stringifyRuntimeData, To as isOutputTargetDocsCustom, Ts as COPY, Ua as isTsFile, Uo as shouldIgnoreError, Us as HOST_FLAGS, Va as isJsFile, Vo as hasError, Vs as EVENT_FLAGS, Wa as isTsxFile, Wo as escapeHtml, Ws as HTML_NS, Xa as getSourceMappingUrlForEndOfFile, Xo as createOnWarnFn, Xs as VALID_CONFIG_OUTPUT_TARGETS, Ya as getInlineSourceMappingUrlLinker, Yo as loadTypeScriptDiagnostics, Ys as SVG_NS, Za as getSourceMappingUrlLinker, Zo as loadRolldownDiagnostics, Zs as WATCH_FLAGS, _o as isOutputTargetDist, _s as toDashCase, ao as normalizeFsPathQuery, as as isComplexType, bo as isOutputTargetDistGlobalStyles, bs as formatComponentRuntimeMeta, co as resolve, cs as isIterable, do as getComponentsDtsSrcFilePath, ds as isString, ec as byteSize, eo as escapeRegExpSpecialCharacters, es as dashToPascalCase, fo as getComponentsDtsTypesFilePath, fs as mergeIntoWith, go as isOutputTargetCustom, gs as toCamelCase, ho as isOutputTargetCopy, hs as sortBy, io as normalizeFsPath, is as isBoolean, jo as isOutputTargetStats, js as DIST_GLOBAL_STYLES, ko as isOutputTargetDocsVscode, ks as DIST_COLLECTION, lo as FilterComponentsResult, ls as isNumber, mo as isEligiblePrimaryPackageOutputTarget, ms as pluck, no as join, ns as flatOne, oo as normalizePath, os as isDef, po as getComponentsFromModules, ps as noop, qa as readPackageJson, qo as augmentDiagnosticWithNode, qs as NODE_TYPES, ro as normalize, rs as fromEntries, so as relative, ss as isFunction, to as queryNonceMetaTagContent, ts as escapeWithPattern, uo as filterExcludedComponents, us as isObject, vo as isOutputTargetDistCollection, vs as toTitleCase, wo as isOutputTargetDocs, ws as COLLECTION_MANIFEST_FILE_NAME, xo as isOutputTargetDistLazy, xs as formatLazyBundleRuntimeMeta, yo as isOutputTargetDistCustomElements, ys as unique, za as hasDependency, zo as buildWarn, zs as DOCS_README } from "../../index-BwTaN1Nq.mjs";
|
|
2
2
|
export { CMP_FLAGS, COLLECTION_MANIFEST_FILE_NAME, COPY, CUSTOM, DEFAULT_STYLE_MODE, DIST, DIST_COLLECTION, DIST_CUSTOM_ELEMENTS, DIST_GLOBAL_STYLES, DIST_HYDRATE_SCRIPT, DIST_LAZY, DIST_LAZY_LOADER, DIST_TYPES, DOCS_CUSTOM, DOCS_CUSTOM_ELEMENTS_MANIFEST, DOCS_JSON, DOCS_README, DOCS_VSCODE, EVENT_FLAGS, FilterComponentsResult, GENERATED_DTS, HOST_FLAGS, HTML_NS, LISTENER_FLAGS, MEMBER_FLAGS, NODE_TYPES, ParsePackageJsonResult, STATS, SVG_NS, TASK_CANCELED_MSG, VALID_CONFIG_OUTPUT_TARGETS, WATCH_FLAGS, WWW, XLINK_NS, addDocBlock, augmentDiagnosticWithNode, buildError, buildJsonFileError, buildWarn, byteSize, catchError, createJsVarName, createOnWarnFn, dashToPascalCase, escapeHtml, escapeRegExpSpecialCharacters, escapeWithPattern, filterExcludedComponents, flatOne, formatComponentRuntimeMeta, formatLazyBundleRuntimeMeta, fromEntries, generatePreamble, getComponentsDtsSrcFilePath, getComponentsDtsTypesFilePath, getComponentsFromModules, getInlineSourceMappingUrlLinker, getSourceMappingUrlForEndOfFile, getSourceMappingUrlLinker, getTextDocs, hasDependency, hasError, hasWarning, isBoolean, isComplexType, isDef, isDtsFile, isEligiblePrimaryPackageOutputTarget, isFunction, isGlob, isIterable, isJsFile, isJsxFile, isNumber, isObject, isOutputTargetCopy, isOutputTargetCustom, isOutputTargetDist, isOutputTargetDistCollection, isOutputTargetDistCustomElements, isOutputTargetDistGlobalStyles, isOutputTargetDistLazy, isOutputTargetDistLazyLoader, isOutputTargetDistTypes, isOutputTargetDocs, isOutputTargetDocsCustom, isOutputTargetDocsCustomElementsManifest, isOutputTargetDocsJson, isOutputTargetDocsReadme, isOutputTargetDocsVscode, isOutputTargetHydrate, isOutputTargetStats, isOutputTargetWww, isRemoteUrl, isRootPath, isString, isTsFile, isTsxFile, isValidConfigOutputTarget, join, loadRolldownDiagnostics, loadTypeScriptDiagnostic, loadTypeScriptDiagnostics, mergeIntoWith, noop, normalize, normalizeDiagnostics, normalizeFsPath, normalizeFsPathQuery, normalizePath, parsePackageJson, pluck, queryNonceMetaTagContent, readOnlyArrayHasStringMember, readPackageJson, relative, relativeImport, resolve, result_d_exports as result, rolldownToStencilSourceMap, shouldExcludeComponent, shouldIgnoreError, sortBy, splitLineBreaks, stringifyRuntimeData, toCamelCase, toDashCase, toTitleCase, unique, validateComponentTag };
|