@stencil/core 5.0.0-rc.1 → 5.0.0-rc.11
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-BMtGBEQV.mjs → client-QadqfKfL.mjs} +32 -17
- package/dist/compiler/browser.d.ts +28 -5
- package/dist/compiler/browser.js +102 -19
- 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/utils/index.mjs +3 -3
- package/dist/{compiler-C_Y38j4m.mjs → compiler-DlA2VsX7.mjs} +335 -130
- package/dist/declarations/stencil-public-compiler.d.ts +30 -7
- package/dist/{helpers-pTCZhNi0.mjs → helpers-k8xQHE77.mjs} +5 -1
- package/dist/{index-CFiy6MZ3.d.mts → index-BDAZsQzV.d.mts} +34 -7
- package/dist/{index-CViiWNQ9.d.mts → index-BS1JKKvz.d.mts} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/jsx-runtime.mjs +1 -1
- package/dist/{node-Bkq8vRnu.mjs → node-BR2GYgzY.mjs} +3 -3
- package/dist/runtime/client/lazy.js +231 -178
- package/dist/runtime/client/runtime.js +231 -178
- package/dist/runtime/index.js +231 -178
- package/dist/runtime/server/index.mjs +231 -178
- package/dist/runtime/server/runner.mjs +82 -7
- 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 +5 -0
- package/dist/testing/index.mjs +228 -177
- package/dist/{util-CP6-333M.mjs → util-Cj2D3x_h.mjs} +1 -1
- package/dist/{validation-C1mr0klL.mjs → validation-GfBzquhJ.mjs} +2 -2
- package/package.json +4 -4
|
@@ -1148,6 +1148,11 @@ interface ComponentCompilerFeatures {
|
|
|
1148
1148
|
* - any lifecycle methods, including `render()`
|
|
1149
1149
|
*/
|
|
1150
1150
|
isPlain: boolean;
|
|
1151
|
+
/**
|
|
1152
|
+
* `true` for a CSS-only component: a `@component`-marked stylesheet with no backing JS
|
|
1153
|
+
* class. The element is never defined/upgraded, so it only has the attributes its CSS reads.
|
|
1154
|
+
*/
|
|
1155
|
+
isCssOnly: boolean;
|
|
1151
1156
|
/**
|
|
1152
1157
|
* A collection of tag names of web components that a component references in its JSX/h() function
|
|
1153
1158
|
*/
|
|
@@ -4442,10 +4447,18 @@ interface TranspileOptions {
|
|
|
4442
4447
|
*/
|
|
4443
4448
|
additionalTagTransformers?: boolean;
|
|
4444
4449
|
/**
|
|
4445
|
-
* Callback used to resolve
|
|
4446
|
-
*
|
|
4447
|
-
*
|
|
4448
|
-
*
|
|
4450
|
+
* Callback used to resolve imported source during a single-file transpile.
|
|
4451
|
+
* Return the resolved absolute path and source text of that module, or `null`
|
|
4452
|
+
* to leave the specifier unresolved.
|
|
4453
|
+
*
|
|
4454
|
+
* It is called in two situations, told apart by `context.kind`:
|
|
4455
|
+
* - **inheritance** (`context` is `undefined`): a component's `extends` clause
|
|
4456
|
+
* references a class from another module, so the compiler can merge the
|
|
4457
|
+
* parent's metadata.
|
|
4458
|
+
* - **`'type-info'`**: the file uses `resolveVar()`, so the compiler follows its
|
|
4459
|
+
* imports (and theirs) to read constants declared elsewhere. The returned
|
|
4460
|
+
* module is only used for type information - it is never emitted or treated
|
|
4461
|
+
* as a base class.
|
|
4449
4462
|
*
|
|
4450
4463
|
* @example
|
|
4451
4464
|
* ```ts
|
|
@@ -4457,7 +4470,7 @@ interface TranspileOptions {
|
|
|
4457
4470
|
* });
|
|
4458
4471
|
* ```
|
|
4459
4472
|
*/
|
|
4460
|
-
resolveImport?: (specifier: string, importer: string) => {
|
|
4473
|
+
resolveImport?: (specifier: string, importer: string, context?: ResolveImportContext) => {
|
|
4461
4474
|
code: string;
|
|
4462
4475
|
path: string;
|
|
4463
4476
|
} | null;
|
|
@@ -4521,7 +4534,7 @@ interface TransformOptions {
|
|
|
4521
4534
|
/**
|
|
4522
4535
|
* @see {@link TranspileOptions.resolveImport}
|
|
4523
4536
|
*/
|
|
4524
|
-
resolveImport?: (specifier: string, importer: string) => {
|
|
4537
|
+
resolveImport?: (specifier: string, importer: string, context?: ResolveImportContext) => {
|
|
4525
4538
|
code: string;
|
|
4526
4539
|
path: string;
|
|
4527
4540
|
} | null;
|
|
@@ -4530,6 +4543,16 @@ interface TransformOptions {
|
|
|
4530
4543
|
/** @see {@link TranspileOptions.buildOverrides} */
|
|
4531
4544
|
buildOverrides?: BuildOverrides;
|
|
4532
4545
|
}
|
|
4546
|
+
/**
|
|
4547
|
+
* Extra information passed as the third argument of {@link TranspileOptions.resolveImport}.
|
|
4548
|
+
*/
|
|
4549
|
+
interface ResolveImportContext {
|
|
4550
|
+
/**
|
|
4551
|
+
* `'type-info'` when the module is only needed for type information (e.g. `resolveVar()`
|
|
4552
|
+
* reading a constant declared in another file).
|
|
4553
|
+
*/
|
|
4554
|
+
kind: 'type-info';
|
|
4555
|
+
}
|
|
4533
4556
|
interface CompileScriptMinifyOptions {
|
|
4534
4557
|
target?: CompileTarget;
|
|
4535
4558
|
pretty?: boolean;
|
|
@@ -4574,4 +4597,4 @@ interface PluginCtx {
|
|
|
4574
4597
|
diagnostics: Diagnostic[];
|
|
4575
4598
|
}
|
|
4576
4599
|
//#endregion
|
|
4577
|
-
export { AutoprefixerOptions, BuildEmitEvents, BuildEvents, BuildLog, BuildNoChangeResults, BuildOnEventRemove, BuildOnEvents, BuildOutput, BuildOverrides, BuildResultsComponentGraph, CliInitOptions, CompileScriptMinifyOptions, CompileTarget, Compiler, CompilerBuildResults, CompilerBuildStart, CompilerDependency, CompilerEventBuildFinish, CompilerEventBuildLog, CompilerEventBuildNoChange, CompilerEventBuildStart, CompilerEventDirAdd, CompilerEventDirDelete, CompilerEventFileAdd, CompilerEventFileDelete, CompilerEventFileUpdate, CompilerEventFsChange, CompilerEventName, CompilerFileWatcher, CompilerFileWatcherCallback, CompilerFileWatcherEvent, CompilerFsStats, CompilerRequest, CompilerRequestResponse, CompilerSystem, CompilerSystemCreateDirectoryOptions, CompilerSystemCreateDirectoryResults, CompilerSystemRealpathResults, CompilerSystemRemoveDirectoryOptions, CompilerSystemRemoveDirectoryResults, CompilerSystemRemoveFileResults, CompilerSystemRenameResults, CompilerSystemRenamedPath, CompilerSystemWriteFileResults, CompilerWatcher, Config, ConfigBundle, ConfigCompat, CopyResults, CopyTask, Credentials, CustomElementsExportBehavior, CustomElementsExportBehaviorOptions, DevServer, DevServerConfig, DevServerEditor, Diagnostic, DocsReadmeCustomColumn, FsWatchResults, HistoryApiFallback, HmrGlobalStyleUpdate, HmrStyleUpdate, HotModuleReplacement, HydrateDocumentOptions, HydrateFactoryOptions, HydratedFlag, JsonDocMethodParameter, JsonDocs, JsonDocsComponent, JsonDocsCustomState, JsonDocsDependencyGraph, JsonDocsEvent, JsonDocsListener, JsonDocsMethod, JsonDocsMethodReturn, JsonDocsPart, JsonDocsProp, JsonDocsSlot, JsonDocsStyle, JsonDocsTag, JsonDocsTypeLibrary, JsonDocsUsage, JsonDocsValue, LOG_LEVELS, LazyRequire, LightDomPatches, LoadConfigInit, LoadConfigResults, LogLevel, Logger, LoggerLineUpdater, LoggerTimeSpan, ModeConfig, NodeResolveConfig, OptimizeCssInput, OptimizeCssOutput, OptimizeJsInput, OptimizeJsOutput, OutputTarget, OutputTargetAssets, OutputTargetBase, OutputTargetBaseNext, OutputTargetBuild, OutputTargetCollection, OutputTargetCopy, OutputTargetCustom, OutputTargetDistLazy, OutputTargetDocsAgentSkill, OutputTargetDocsCustom, OutputTargetDocsCustomElementsManifest, OutputTargetDocsJson, OutputTargetDocsReadme, OutputTargetDocsVscode, OutputTargetGlobalStyle, OutputTargetLoaderBundle, OutputTargetSsr, OutputTargetSsrWasm, OutputTargetStandalone, OutputTargetStats, OutputTargetTypes, OutputTargetWww, PageReloadStrategy, ParsedPath, PlatformPath, Plugin, PluginCtx, PluginTransformResults, PrerenderConfig, PrerenderHydrateOptions, PrerenderOptions, PrerenderResults, PrerenderStartOptions, ResolveModuleIdOptions, ResolveModuleIdResults, ResolveModuleOptions, RobotsTxtOpts, RobotsTxtResults, RolldownConfig, SerializeDocumentOptions, ServiceWorkerConfig, SitemapXmpOpts, SitemapXmpResults, SsrDocumentOptions, SsrFactoryOptions, StencilConfig, StencilDevServerConfig, StencilDocsConfig, StyleDoc, SystemDetails, TransformOptions, TranspileOnlyResults, TranspileOptions, TranspileResults, UnvalidatedConfig, ValidatedConfig, ValidatedOutputTargetWww, WatcherCloseResults, WorkerMainController, WorkerOptions };
|
|
4600
|
+
export { AutoprefixerOptions, BuildEmitEvents, BuildEvents, BuildLog, BuildNoChangeResults, BuildOnEventRemove, BuildOnEvents, BuildOutput, BuildOverrides, BuildResultsComponentGraph, CliInitOptions, CompileScriptMinifyOptions, CompileTarget, Compiler, CompilerBuildResults, CompilerBuildStart, CompilerDependency, CompilerEventBuildFinish, CompilerEventBuildLog, CompilerEventBuildNoChange, CompilerEventBuildStart, CompilerEventDirAdd, CompilerEventDirDelete, CompilerEventFileAdd, CompilerEventFileDelete, CompilerEventFileUpdate, CompilerEventFsChange, CompilerEventName, CompilerFileWatcher, CompilerFileWatcherCallback, CompilerFileWatcherEvent, CompilerFsStats, CompilerRequest, CompilerRequestResponse, CompilerSystem, CompilerSystemCreateDirectoryOptions, CompilerSystemCreateDirectoryResults, CompilerSystemRealpathResults, CompilerSystemRemoveDirectoryOptions, CompilerSystemRemoveDirectoryResults, CompilerSystemRemoveFileResults, CompilerSystemRenameResults, CompilerSystemRenamedPath, CompilerSystemWriteFileResults, CompilerWatcher, Config, ConfigBundle, ConfigCompat, CopyResults, CopyTask, Credentials, CustomElementsExportBehavior, CustomElementsExportBehaviorOptions, DevServer, DevServerConfig, DevServerEditor, Diagnostic, DocsReadmeCustomColumn, FsWatchResults, HistoryApiFallback, HmrGlobalStyleUpdate, HmrStyleUpdate, HotModuleReplacement, HydrateDocumentOptions, HydrateFactoryOptions, HydratedFlag, JsonDocMethodParameter, JsonDocs, JsonDocsComponent, JsonDocsCustomState, JsonDocsDependencyGraph, JsonDocsEvent, JsonDocsListener, JsonDocsMethod, JsonDocsMethodReturn, JsonDocsPart, JsonDocsProp, JsonDocsSlot, JsonDocsStyle, JsonDocsTag, JsonDocsTypeLibrary, JsonDocsUsage, JsonDocsValue, LOG_LEVELS, LazyRequire, LightDomPatches, LoadConfigInit, LoadConfigResults, LogLevel, Logger, LoggerLineUpdater, LoggerTimeSpan, ModeConfig, NodeResolveConfig, OptimizeCssInput, OptimizeCssOutput, OptimizeJsInput, OptimizeJsOutput, OutputTarget, OutputTargetAssets, OutputTargetBase, OutputTargetBaseNext, OutputTargetBuild, OutputTargetCollection, OutputTargetCopy, OutputTargetCustom, OutputTargetDistLazy, OutputTargetDocsAgentSkill, OutputTargetDocsCustom, OutputTargetDocsCustomElementsManifest, OutputTargetDocsJson, OutputTargetDocsReadme, OutputTargetDocsVscode, OutputTargetGlobalStyle, OutputTargetLoaderBundle, OutputTargetSsr, OutputTargetSsrWasm, OutputTargetStandalone, OutputTargetStats, OutputTargetTypes, OutputTargetWww, PageReloadStrategy, ParsedPath, PlatformPath, Plugin, PluginCtx, PluginTransformResults, PrerenderConfig, PrerenderHydrateOptions, PrerenderOptions, PrerenderResults, PrerenderStartOptions, ResolveImportContext, ResolveModuleIdOptions, ResolveModuleIdResults, ResolveModuleOptions, RobotsTxtOpts, RobotsTxtResults, RolldownConfig, SerializeDocumentOptions, ServiceWorkerConfig, SitemapXmpOpts, SitemapXmpResults, SsrDocumentOptions, SsrFactoryOptions, StencilConfig, StencilDevServerConfig, StencilDocsConfig, StyleDoc, SystemDetails, TransformOptions, TranspileOnlyResults, TranspileOptions, TranspileResults, UnvalidatedConfig, ValidatedConfig, ValidatedOutputTargetWww, WatcherCloseResults, WorkerMainController, WorkerOptions };
|
|
@@ -57,7 +57,11 @@ const HOST_FLAGS = {
|
|
|
57
57
|
* coming from the runtime's own reflection aren't applied back to the prop.
|
|
58
58
|
*/
|
|
59
59
|
isReflecting: 16384,
|
|
60
|
-
|
|
60
|
+
/**
|
|
61
|
+
* Set by `forceUpdate()` so the next update renders even if `componentShouldUpdate` returns `false`.
|
|
62
|
+
*/
|
|
63
|
+
isUpdateForced: 4096,
|
|
64
|
+
devOnRender: 32768,
|
|
61
65
|
devOnDidLoad: 8192
|
|
62
66
|
};
|
|
63
67
|
const CF_scopedCssEncapsulation = 2;
|
|
@@ -63,6 +63,10 @@ declare const HOST_FLAGS: {
|
|
|
63
63
|
* coming from the runtime's own reflection aren't applied back to the prop.
|
|
64
64
|
*/
|
|
65
65
|
readonly isReflecting: number;
|
|
66
|
+
/**
|
|
67
|
+
* Set by `forceUpdate()` so the next update renders even if `componentShouldUpdate` returns `false`.
|
|
68
|
+
*/
|
|
69
|
+
readonly isUpdateForced: number;
|
|
66
70
|
readonly devOnRender: number;
|
|
67
71
|
readonly devOnDidLoad: number;
|
|
68
72
|
};
|
|
@@ -4515,10 +4519,18 @@ interface TranspileOptions {
|
|
|
4515
4519
|
*/
|
|
4516
4520
|
additionalTagTransformers?: boolean;
|
|
4517
4521
|
/**
|
|
4518
|
-
* Callback used to resolve
|
|
4519
|
-
*
|
|
4520
|
-
*
|
|
4521
|
-
*
|
|
4522
|
+
* Callback used to resolve imported source during a single-file transpile.
|
|
4523
|
+
* Return the resolved absolute path and source text of that module, or `null`
|
|
4524
|
+
* to leave the specifier unresolved.
|
|
4525
|
+
*
|
|
4526
|
+
* It is called in two situations, told apart by `context.kind`:
|
|
4527
|
+
* - **inheritance** (`context` is `undefined`): a component's `extends` clause
|
|
4528
|
+
* references a class from another module, so the compiler can merge the
|
|
4529
|
+
* parent's metadata.
|
|
4530
|
+
* - **`'type-info'`**: the file uses `resolveVar()`, so the compiler follows its
|
|
4531
|
+
* imports (and theirs) to read constants declared elsewhere. The returned
|
|
4532
|
+
* module is only used for type information - it is never emitted or treated
|
|
4533
|
+
* as a base class.
|
|
4522
4534
|
*
|
|
4523
4535
|
* @example
|
|
4524
4536
|
* ```ts
|
|
@@ -4530,7 +4542,7 @@ interface TranspileOptions {
|
|
|
4530
4542
|
* });
|
|
4531
4543
|
* ```
|
|
4532
4544
|
*/
|
|
4533
|
-
resolveImport?: (specifier: string, importer: string) => {
|
|
4545
|
+
resolveImport?: (specifier: string, importer: string, context?: ResolveImportContext) => {
|
|
4534
4546
|
code: string;
|
|
4535
4547
|
path: string;
|
|
4536
4548
|
} | null;
|
|
@@ -4594,7 +4606,7 @@ interface TransformOptions {
|
|
|
4594
4606
|
/**
|
|
4595
4607
|
* @see {@link TranspileOptions.resolveImport}
|
|
4596
4608
|
*/
|
|
4597
|
-
resolveImport?: (specifier: string, importer: string) => {
|
|
4609
|
+
resolveImport?: (specifier: string, importer: string, context?: ResolveImportContext) => {
|
|
4598
4610
|
code: string;
|
|
4599
4611
|
path: string;
|
|
4600
4612
|
} | null;
|
|
@@ -4603,6 +4615,16 @@ interface TransformOptions {
|
|
|
4603
4615
|
/** @see {@link TranspileOptions.buildOverrides} */
|
|
4604
4616
|
buildOverrides?: BuildOverrides;
|
|
4605
4617
|
}
|
|
4618
|
+
/**
|
|
4619
|
+
* Extra information passed as the third argument of {@link TranspileOptions.resolveImport}.
|
|
4620
|
+
*/
|
|
4621
|
+
interface ResolveImportContext {
|
|
4622
|
+
/**
|
|
4623
|
+
* `'type-info'` when the module is only needed for type information (e.g. `resolveVar()`
|
|
4624
|
+
* reading a constant declared in another file).
|
|
4625
|
+
*/
|
|
4626
|
+
kind: 'type-info';
|
|
4627
|
+
}
|
|
4606
4628
|
interface CompileScriptMinifyOptions {
|
|
4607
4629
|
target?: CompileTarget;
|
|
4608
4630
|
pretty?: boolean;
|
|
@@ -5131,6 +5153,11 @@ interface ComponentCompilerFeatures {
|
|
|
5131
5153
|
* - any lifecycle methods, including `render()`
|
|
5132
5154
|
*/
|
|
5133
5155
|
isPlain: boolean;
|
|
5156
|
+
/**
|
|
5157
|
+
* `true` for a CSS-only component: a `@component`-marked stylesheet with no backing JS
|
|
5158
|
+
* class. The element is never defined/upgraded, so it only has the attributes its CSS reads.
|
|
5159
|
+
*/
|
|
5160
|
+
isCssOnly: boolean;
|
|
5134
5161
|
/**
|
|
5135
5162
|
* A collection of tag names of web components that a component references in its JSX/h() function
|
|
5136
5163
|
*/
|
|
@@ -6275,4 +6302,4 @@ type MsgToWorker<T extends WorkerContextMethod> = IPCSerializable<{
|
|
|
6275
6302
|
*/
|
|
6276
6303
|
type WorkerMsgHandler = <T extends WorkerContextMethod>(msgToWorker: MsgToWorker<T>) => ReturnType<CompilerWorkerContext[T]>;
|
|
6277
6304
|
//#endregion
|
|
6278
|
-
export { CompilerFsStats as $,
|
|
6305
|
+
export { CompilerFsStats as $, COLLECTION as $i, WatcherCloseResults as $n, rolldownToStencilSourceMap as $r, OutputTargetBuild as $t, BuildOverrides as A, WWW as Aa, shouldExcludeComponent as Ai, ResolveModuleIdOptions as An, FsWriteResults as Ar, HotModuleReplacement as At, CompilerEventBuildLog as B, normalizeDiagnostics as Bi, SsrDocumentOptions as Bn, isDtsFile as Br, Logger as Bt, BuildEmitEvents as C, STANDALONE as Ca, isOutputTargetSsrWasm as Ci, PluginTransformResults as Cn, JsonDocsSlot as Cr, DevServerEditor as Ct, BuildOnEventRemove as D, TYPES as Da, isOutputTargetWww as Di, PrerenderResults as Dn, JsonDocsUsage as Dr, HistoryApiFallback as Dt, BuildNoChangeResults as E, SVG_NS as Ea, isOutputTargetTypes as Ei, PrerenderOptions as En, JsonDocsTypeLibrary as Er, FsWatchResults as Et, Compiler as F, catchError as Fi, RolldownConfig as Fn, addDocBlock as Fr, LazyRequire as Ft, CompilerEventFileAdd as G, createOnWarnFn as Gi, SystemDetails as Gn, parsePackageJson as Gr, OptimizeCssInput as Gt, CompilerEventBuildStart as H, augmentDiagnosticWithNode as Hi, StencilConfig as Hn, isJsxFile as Hr, LoggerTimeSpan as Ht, CompilerBuildResults as I, hasError as Ii, SerializeDocumentOptions as In, createJsVarName as Ir, LightDomPatches as It, CompilerEventFsChange as J, formatComponentRuntimeMeta as Ji, TranspileOptions as Jn, getInlineSourceMappingUrlLinker as Jr, OptimizeJsOutput as Jt, CompilerEventFileDelete as K, isRolldownError as Ki, TransformOptions as Kn, readOnlyArrayHasStringMember as Kr, OptimizeCssOutput as Kt, CompilerBuildStart as L, hasWarning as Li, ServiceWorkerConfig as Ln, generatePreamble as Lr, LoadConfigInit as Lt, CliInitOptions as M, buildError as Mi, ResolveModuleOptions as Mn, validateComponentModes as Mr, HydrateFactoryOptions as Mt, CompileScriptMinifyOptions as N, buildJsonFileError as Ni, RobotsTxtOpts as Nn, validateComponentTag as Nr, HydratedFlag as Nt, BuildOnEvents as O, VALID_CONFIG_OUTPUT_TARGETS as Oa, isValidConfigOutputTarget as Oi, PrerenderStartOptions as On, JsonDocsValue as Or, HmrGlobalStyleUpdate as Ot, CompileTarget as P, buildWarn as Pi, RobotsTxtResults as Pn, ParsePackageJsonResult as Pr, LOG_LEVELS as Pt, CompilerFileWatcherEvent as Q, CMP_FLAGS as Qi, ValidatedOutputTargetWww as Qn, relativizeSourceMap as Qr, OutputTargetBaseNext as Qt, CompilerDependency as R, shouldIgnoreError as Ri, SitemapXmpOpts as Rn, getTextDocs as Rr, LoadConfigResults as Rt, AutoprefixerOptions as S, SSR_WASM as Sa, isOutputTargetSsr as Si, PluginCtx as Sn, JsonDocsProp as Sr, DevServerConfig as St, BuildLog as T, STYLE_EXT as Ta, isOutputTargetStats as Ti, PrerenderHydrateOptions as Tn, JsonDocsTag as Tr, DocsReadmeCustomColumn as Tt, CompilerEventDirAdd as U, loadTypeScriptDiagnostic as Ui, StencilDevServerConfig as Un, isTsFile as Ur, ModeConfig as Ut, CompilerEventBuildNoChange as V, splitLineBreaks as Vi, SsrFactoryOptions as Vn, isJsFile as Vr, LoggerLineUpdater as Vt, CompilerEventDirDelete as W, loadTypeScriptDiagnostics as Wi, StencilDocsConfig as Wn, isTsxFile as Wr, NodeResolveConfig as Wt, CompilerFileWatcher as X, stringifyRuntimeData as Xi, UnvalidatedConfig as Xn, getSourceMappingUrlForEndOfFile as Xr, OutputTargetAssets as Xt, CompilerEventName as Y, formatLazyBundleRuntimeMeta as Yi, TranspileResults as Yn, getRolldownSourceMapOptions as Yr, OutputTarget as Yt, CompilerFileWatcherCallback as Z, ASSETS as Zi, ValidatedConfig as Zn, getSourceMappingUrlLinker as Zr, OutputTargetBase as Zt, PrintLine as _, LISTENER_FLAGS as _a, isOutputTargetDocsReadme as _i, OutputTargetWww as _n, JsonDocsEvent as _r, CopyTask as _t, ComponentCompilerEvent as a, DIST_LAZY as aa, getComponentsDtsTypesFilePath as ai, OutputTargetDocsCustom as an, MixedInCtor as ar, CompilerSystemRealpathResults as at, SsrResults as b, NODE_TYPES as ba, isOutputTargetLoaderBundle as bi, PlatformPath as bn, JsonDocsMethodReturn as br, CustomElementsExportBehaviorOptions as bt, ComponentCompilerMethod as c, DOCS_CUSTOM_ELEMENTS_MANIFEST as ca, isOutputTargetCollection as ci, OutputTargetDocsReadme as cn, ResolutionHandler as cr, CompilerSystemRemoveFileResults as ct, ComponentCompilerTypeReferences as d, DOCS_VSCODE as da, isOutputTargetDistLazy as di, OutputTargetLoaderBundle as dn, VNode as dr, CompilerSystemWriteFileResults as dt, COLLECTION_APP_DATA_FILE_NAME as ea, result_d_exports as ei, OutputTargetCollection as en, WorkerMainController as er, CompilerRequest as et, ComponentGlobalStyle as f, EVENT_FLAGS as fa, isOutputTargetDocs as fi, OutputTargetSsr as fn, JsonDocMethodParameter as fr, CompilerWatcher as ft, PrerenderUrlResults as g, HTML_NS as ga, isOutputTargetDocsJson as gi, OutputTargetTypes as gn, JsonDocsDependencyGraph as gr, CopyResults as gt, PackageJsonData as h, HOST_FLAGS as ha, isOutputTargetDocsCustomElementsManifest as hi, OutputTargetStats as hn, JsonDocsCustomState as hr, ConfigCompat as ht, CompilerWorkerContext as i, DEFAULT_STYLE_MODE as ia, getComponentsDtsSrcFilePath as ii, OutputTargetDocsAgentSkill as in, FunctionalComponent as ir, CompilerSystemCreateDirectoryResults as it, BuildResultsComponentGraph as j, XLINK_NS as ja, TASK_CANCELED_MSG as ji, ResolveModuleIdResults as jn, ModeValidationError as jr, HydrateDocumentOptions as jt, BuildOutput as k, WATCH_FLAGS as ka, relativeImport as ki, ResolveImportContext as kn, StyleDoc as kr, HmrStyleUpdate as kt, ComponentCompilerProperty as l, DOCS_JSON as la, isOutputTargetCopy as li, OutputTargetDocsVscode as ln, TagTransformer as lr, CompilerSystemRenameResults as lt, LazyBundlesRuntimeData as m, GLOBAL_STYLE as ma, isOutputTargetDocsCustom as mi, OutputTargetStandalone as mn, JsonDocsComponent as mr, ConfigBundle as mt, ChildType as n, COPY as na, filterActiveTargets as ni, OutputTargetCustom as nn, ComponentInterface as nr, CompilerSystem as nt, ComponentCompilerListener as o, DOCS_AGENT_SKILL as oa, getComponentsFromModules as oi, OutputTargetDocsCustomElementsManifest as on, RafCallback as or, CompilerSystemRemoveDirectoryOptions as ot, HostElement as p, GENERATED_DTS as pa, isOutputTargetDocsAgentSkill as pi, OutputTargetSsrWasm as pn, JsonDocs as pr, Config as pt, CompilerEventFileUpdate as q, loadRolldownDiagnostics as qi, TranspileOnlyResults as qn, readPackageJson as qr, OptimizeJsInput as qt, CompilerCtx as r, CUSTOM as ra, filterExcludedComponents as ri, OutputTargetDistLazy as rn, ErrorHandler as rr, CompilerSystemCreateDirectoryOptions as rt, ComponentCompilerMeta as s, DOCS_CUSTOM as sa, isOutputTargetAssets as si, OutputTargetDocsJson as sn, ReactiveControllerHostInterface as sr, CompilerSystemRemoveDirectoryResults as st, BuildCtx as t, COLLECTION_MANIFEST_FILE_NAME as ta, FilterComponentsResult as ti, OutputTargetCopy as tn, WorkerOptions as tr, CompilerRequestResponse as tt, ComponentCompilerState as u, DOCS_README as ua, isOutputTargetCustom as ui, OutputTargetGlobalStyle as un, UserBuildConditionals as ur, CompilerSystemRenamedPath as ut, PropsType as v, LOADER_BUNDLE as va, isOutputTargetDocsVscode as vi, PageReloadStrategy as vn, JsonDocsListener as vr, Credentials as vt, BuildEvents as w, STATS as wa, isOutputTargetStandalone as wi, PrerenderConfig as wn, JsonDocsStyle as wr, Diagnostic$1 as wt, WorkerMsgHandler as x, SSR as xa, isOutputTargetServerRenderer as xi, Plugin$1 as xn, JsonDocsPart as xr, DevServer as xt, RuntimeRef as y, MEMBER_FLAGS as ya, isOutputTargetGlobalStyle as yi, ParsedPath as yn, JsonDocsMethod as yr, CustomElementsExportBehavior as yt, CompilerEventBuildFinish as z, escapeHtml as zi, SitemapXmpResults as zn, hasDependency as zr, LogLevel as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cr as ResolutionHandler, dr as VNode, ir as FunctionalComponent, lr as TagTransformer, n as ChildType, or as RafCallback, p as HostElement, rr as ErrorHandler, ur as UserBuildConditionals, v as PropsType, y as RuntimeRef } from "./index-BDAZsQzV.mjs";
|
|
2
2
|
//#region src/client/client-build.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* `isDev` / `isTesting` are getters, not copies: the transpile path (e.g. `@stencil/unplugin`)
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Build, S as setErrorHandler, _ as getAssetPath, a as transformTag, b as writeTask, c as Mixin, d as Host, f as h, g as getShadowRoot, h as getElement, i as setTagTransformer, l as getMode, m as getRenderingRef, o as render, p as forceUpdate, s as ReactiveControllerHost, u as setMode, v as setAssetPath, x as setPlatformHelpers, y as readTask } from "./client-
|
|
1
|
+
import { C as Build, S as setErrorHandler, _ as getAssetPath, a as transformTag, b as writeTask, c as Mixin, d as Host, f as h, g as getShadowRoot, h as getElement, i as setTagTransformer, l as getMode, m as getRenderingRef, o as render, p as forceUpdate, s as ReactiveControllerHost, u as setMode, v as setAssetPath, x as setPlatformHelpers, y as readTask } from "./client-QadqfKfL.mjs";
|
|
2
2
|
import { t as Fragment } from "./fragment-Di1hWOC8.mjs";
|
|
3
3
|
//#region src/client/client-decorators.ts
|
|
4
4
|
/**
|
package/dist/jsx-runtime.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __require } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
2
|
-
import "./client-
|
|
3
|
-
import { c as isFunction, f as isString, m as noop, r as flatOne } from "./helpers-
|
|
4
|
-
import { X as TASK_CANCELED_MSG, Z as buildError, et as catchError, it as isGlob, q as normalizePath, rt as shouldIgnoreError } from "./util-
|
|
2
|
+
import "./client-QadqfKfL.mjs";
|
|
3
|
+
import { c as isFunction, f as isString, m as noop, r as flatOne } from "./helpers-k8xQHE77.mjs";
|
|
4
|
+
import { X as TASK_CANCELED_MSG, Z as buildError, et as catchError, it as isGlob, q as normalizePath, rt as shouldIgnoreError } from "./util-Cj2D3x_h.mjs";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import nodePath from "node:path";
|
|
7
7
|
import { pathToFileURL } from "node:url";
|