@stencil/core 5.0.0-rc.0 → 5.0.0-rc.1
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-ClM4H9-P.mjs → client-BMtGBEQV.mjs} +3 -1
- package/dist/compiler/browser.js +1 -1
- package/dist/compiler/index.d.mts +1 -1
- 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-DFanjq9z.mjs → compiler-C_Y38j4m.mjs} +8 -8
- package/dist/{helpers-Cpp3qc3u.mjs → helpers-pTCZhNi0.mjs} +5 -0
- package/dist/{index-DvfFOkiJ.d.mts → index-CFiy6MZ3.d.mts} +5 -0
- package/dist/{index-aBMJC5F9.d.mts → index-CViiWNQ9.d.mts} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/jsx-runtime.mjs +1 -1
- package/dist/{node-DJP8JuAS.mjs → node-Bkq8vRnu.mjs} +3 -3
- package/dist/runtime/client/lazy.js +10 -3
- package/dist/runtime/client/runtime.js +10 -3
- package/dist/runtime/index.js +10 -3
- package/dist/runtime/server/index.mjs +10 -3
- 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.mjs +11 -4
- package/dist/{util-C-H1H84W.mjs → util-CP6-333M.mjs} +1 -1
- package/dist/{validation-ByYYKvnS.mjs → validation-C1mr0klL.mjs} +2 -2
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as HOST_FLAGS, C as CMP_FLAGS, G as NODE_TYPES, Z as SVG_NS, o as isComplexType, s as isDef, x as queryNonceMetaTagContent } from "./helpers-
|
|
1
|
+
import { B as HOST_FLAGS, C as CMP_FLAGS, G as NODE_TYPES, Z as SVG_NS, o as isComplexType, s as isDef, x as queryNonceMetaTagContent } from "./helpers-pTCZhNi0.mjs";
|
|
2
2
|
import * as SignalsCore from "@preact/signals-core";
|
|
3
3
|
//#region src/app-data/index.ts
|
|
4
4
|
/**
|
|
@@ -1735,7 +1735,9 @@ render() {
|
|
|
1735
1735
|
checkSlotFallbackVisibility = false;
|
|
1736
1736
|
checkSlotRelocate = !useNativeShadowDom && !!(cmpMeta.$flags$ & CMP_FLAGS.hasSlot);
|
|
1737
1737
|
}
|
|
1738
|
+
if (BUILD.serializer) hostRef.$flags$ |= HOST_FLAGS.isReflecting;
|
|
1738
1739
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
1740
|
+
if (BUILD.serializer) hostRef.$flags$ &= ~HOST_FLAGS.isReflecting;
|
|
1739
1741
|
if (BUILD.slotRelocation) {
|
|
1740
1742
|
plt.$flags$ |= PLATFORM_FLAGS.isTmpDisconnected;
|
|
1741
1743
|
if (checkSlotRelocate) {
|
package/dist/compiler/browser.js
CHANGED
|
@@ -1845,7 +1845,7 @@ const validateComponentTag = (tag) => {
|
|
|
1845
1845
|
};
|
|
1846
1846
|
//#endregion
|
|
1847
1847
|
//#region src/version.ts
|
|
1848
|
-
const version = "5.0.0-rc.
|
|
1848
|
+
const version = "5.0.0-rc.1";
|
|
1849
1849
|
//#endregion
|
|
1850
1850
|
//#region src/compiler/events.ts
|
|
1851
1851
|
const buildEvents = () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as CompilerFsStats, $n as WorkerMainController, $t as OutputTargetBuild, A as BuildOverrides, An as ResolveModuleIdResults, At as HotModuleReplacement, B as CompilerEventBuildLog, Bn as SsrFactoryOptions, Bt as Logger, C as BuildEmitEvents, Cn as PluginTransformResults, Cr as JsonDocsStyle, Ct as DevServerEditor, D as BuildOnEventRemove, Dn as PrerenderResults, Dr as JsonDocsValue, Dt as HistoryApiFallback, E as BuildNoChangeResults, En as PrerenderOptions, Er as JsonDocsUsage, Et as FsWatchResults, F as Compiler, Fn as SerializeDocumentOptions, Ft as LazyRequire, G as CompilerEventFileAdd, Gn as TransformOptions, Gt as OptimizeCssInput, H as CompilerEventBuildStart, Hn as StencilDevServerConfig, Ht as LoggerTimeSpan, I as CompilerBuildResults, In as ServiceWorkerConfig, It as LightDomPatches, J as CompilerEventFsChange, Jn as TranspileResults, Jt as OptimizeJsOutput, K as CompilerEventFileDelete, Kn as TranspileOnlyResults, Kt as OptimizeCssOutput, L as CompilerBuildStart, Ln as SitemapXmpOpts, Lt as LoadConfigInit, M as CliInitOptions, Mn as RobotsTxtOpts, Mt as HydrateFactoryOptions, N as CompileScriptMinifyOptions, Nn as RobotsTxtResults, Nt as HydratedFlag, O as BuildOnEvents, On as PrerenderStartOptions, Or as StyleDoc, Ot as HmrGlobalStyleUpdate, P as CompileTarget, Pn as RolldownConfig, Pt as LOG_LEVELS, Q as CompilerFileWatcherEvent, Qn as WatcherCloseResults, Qt as OutputTargetBaseNext, R as CompilerDependency, Rn as SitemapXmpResults, Rt as LoadConfigResults, S as AutoprefixerOptions, Sn as PluginCtx, Sr as JsonDocsSlot, St as DevServerConfig, T as BuildLog, Tn as PrerenderHydrateOptions, Tr as JsonDocsTypeLibrary, Tt as DocsReadmeCustomColumn, U as CompilerEventDirAdd, Un as StencilDocsConfig, Ut as ModeConfig, V as CompilerEventBuildNoChange, Vn as StencilConfig, Vt as LoggerLineUpdater, W as CompilerEventDirDelete, Wn as SystemDetails, Wt as NodeResolveConfig, X as CompilerFileWatcher, Xn as ValidatedConfig, Xt as OutputTargetAssets, Y as CompilerEventName, Yn as UnvalidatedConfig, Yt as OutputTarget, Z as CompilerFileWatcherCallback, Zn as ValidatedOutputTargetWww, Zt as OutputTargetBase, _ as PrintLine, _n as OutputTargetWww, _r as JsonDocsListener, _t as CopyTask, a as ComponentCompilerEvent, an as OutputTargetDocsCustom, at as CompilerSystemRealpathResults, b as SsrResults, bn as PlatformPath, br as JsonDocsPart, bt as CustomElementsExportBehaviorOptions, c as ComponentCompilerMethod, cn as OutputTargetDocsReadme, ct as CompilerSystemRemoveFileResults, d as ComponentCompilerTypeReferences, dn as OutputTargetLoaderBundle, dr as JsonDocMethodParameter, dt as CompilerSystemWriteFileResults, en as OutputTargetCollection, er as WorkerOptions, et as CompilerRequest, f as ComponentGlobalStyle, fn as OutputTargetSsr, fr as JsonDocs, ft as CompilerWatcher, g as PrerenderUrlResults, gn as OutputTargetTypes, gr as JsonDocsEvent, gt as CopyResults, h as PackageJsonData, hn as OutputTargetStats, hr as JsonDocsDependencyGraph, ht as ConfigCompat, i as CompilerWorkerContext, in as OutputTargetDocsAgentSkill, it as CompilerSystemCreateDirectoryResults, j as BuildResultsComponentGraph, jn as ResolveModuleOptions, jt as HydrateDocumentOptions, k as BuildOutput, kn as ResolveModuleIdOptions, kr as FsWriteResults, kt as HmrStyleUpdate, l as ComponentCompilerProperty, ln as OutputTargetDocsVscode, lr as UserBuildConditionals, lt as CompilerSystemRenameResults, m as LazyBundlesRuntimeData, mn as OutputTargetStandalone, mr as JsonDocsCustomState, mt as ConfigBundle, nn as OutputTargetCustom, nt as CompilerSystem, o as ComponentCompilerListener, on as OutputTargetDocsCustomElementsManifest, ot as CompilerSystemRemoveDirectoryOptions, pn as OutputTargetSsrWasm, pr as JsonDocsComponent, pt as Config, q as CompilerEventFileUpdate, qn as TranspileOptions, qt as OptimizeJsInput, r as CompilerCtx, rn as OutputTargetDistLazy, rt as CompilerSystemCreateDirectoryOptions, s as ComponentCompilerMeta, sn as OutputTargetDocsJson, st as CompilerSystemRemoveDirectoryResults, t as BuildCtx, tn as OutputTargetCopy, tt as CompilerRequestResponse, u as ComponentCompilerState, un as OutputTargetGlobalStyle, ut as CompilerSystemRenamedPath, vn as PageReloadStrategy, vr as JsonDocsMethod, vt as Credentials, w as BuildEvents, wn as PrerenderConfig, wr as JsonDocsTag, wt as Diagnostic, x as WorkerMsgHandler, xn as Plugin, xr as JsonDocsProp, xt as DevServer, yn as ParsedPath, yr as JsonDocsMethodReturn, yt as CustomElementsExportBehavior, z as CompilerEventBuildFinish, zn as SsrDocumentOptions, zt as LogLevel } from "../index-
|
|
1
|
+
import { $ as CompilerFsStats, $n as WorkerMainController, $t as OutputTargetBuild, A as BuildOverrides, An as ResolveModuleIdResults, At as HotModuleReplacement, B as CompilerEventBuildLog, Bn as SsrFactoryOptions, Bt as Logger, C as BuildEmitEvents, Cn as PluginTransformResults, Cr as JsonDocsStyle, Ct as DevServerEditor, D as BuildOnEventRemove, Dn as PrerenderResults, Dr as JsonDocsValue, Dt as HistoryApiFallback, E as BuildNoChangeResults, En as PrerenderOptions, Er as JsonDocsUsage, Et as FsWatchResults, F as Compiler, Fn as SerializeDocumentOptions, Ft as LazyRequire, G as CompilerEventFileAdd, Gn as TransformOptions, Gt as OptimizeCssInput, H as CompilerEventBuildStart, Hn as StencilDevServerConfig, Ht as LoggerTimeSpan, I as CompilerBuildResults, In as ServiceWorkerConfig, It as LightDomPatches, J as CompilerEventFsChange, Jn as TranspileResults, Jt as OptimizeJsOutput, K as CompilerEventFileDelete, Kn as TranspileOnlyResults, Kt as OptimizeCssOutput, L as CompilerBuildStart, Ln as SitemapXmpOpts, Lt as LoadConfigInit, M as CliInitOptions, Mn as RobotsTxtOpts, Mt as HydrateFactoryOptions, N as CompileScriptMinifyOptions, Nn as RobotsTxtResults, Nt as HydratedFlag, O as BuildOnEvents, On as PrerenderStartOptions, Or as StyleDoc, Ot as HmrGlobalStyleUpdate, P as CompileTarget, Pn as RolldownConfig, Pt as LOG_LEVELS, Q as CompilerFileWatcherEvent, Qn as WatcherCloseResults, Qt as OutputTargetBaseNext, R as CompilerDependency, Rn as SitemapXmpResults, Rt as LoadConfigResults, S as AutoprefixerOptions, Sn as PluginCtx, Sr as JsonDocsSlot, St as DevServerConfig, T as BuildLog, Tn as PrerenderHydrateOptions, Tr as JsonDocsTypeLibrary, Tt as DocsReadmeCustomColumn, U as CompilerEventDirAdd, Un as StencilDocsConfig, Ut as ModeConfig, V as CompilerEventBuildNoChange, Vn as StencilConfig, Vt as LoggerLineUpdater, W as CompilerEventDirDelete, Wn as SystemDetails, Wt as NodeResolveConfig, X as CompilerFileWatcher, Xn as ValidatedConfig, Xt as OutputTargetAssets, Y as CompilerEventName, Yn as UnvalidatedConfig, Yt as OutputTarget, Z as CompilerFileWatcherCallback, Zn as ValidatedOutputTargetWww, Zt as OutputTargetBase, _ as PrintLine, _n as OutputTargetWww, _r as JsonDocsListener, _t as CopyTask, a as ComponentCompilerEvent, an as OutputTargetDocsCustom, at as CompilerSystemRealpathResults, b as SsrResults, bn as PlatformPath, br as JsonDocsPart, bt as CustomElementsExportBehaviorOptions, c as ComponentCompilerMethod, cn as OutputTargetDocsReadme, ct as CompilerSystemRemoveFileResults, d as ComponentCompilerTypeReferences, dn as OutputTargetLoaderBundle, dr as JsonDocMethodParameter, dt as CompilerSystemWriteFileResults, en as OutputTargetCollection, er as WorkerOptions, et as CompilerRequest, f as ComponentGlobalStyle, fn as OutputTargetSsr, fr as JsonDocs, ft as CompilerWatcher, g as PrerenderUrlResults, gn as OutputTargetTypes, gr as JsonDocsEvent, gt as CopyResults, h as PackageJsonData, hn as OutputTargetStats, hr as JsonDocsDependencyGraph, ht as ConfigCompat, i as CompilerWorkerContext, in as OutputTargetDocsAgentSkill, it as CompilerSystemCreateDirectoryResults, j as BuildResultsComponentGraph, jn as ResolveModuleOptions, jt as HydrateDocumentOptions, k as BuildOutput, kn as ResolveModuleIdOptions, kr as FsWriteResults, kt as HmrStyleUpdate, l as ComponentCompilerProperty, ln as OutputTargetDocsVscode, lr as UserBuildConditionals, lt as CompilerSystemRenameResults, m as LazyBundlesRuntimeData, mn as OutputTargetStandalone, mr as JsonDocsCustomState, mt as ConfigBundle, nn as OutputTargetCustom, nt as CompilerSystem, o as ComponentCompilerListener, on as OutputTargetDocsCustomElementsManifest, ot as CompilerSystemRemoveDirectoryOptions, pn as OutputTargetSsrWasm, pr as JsonDocsComponent, pt as Config, q as CompilerEventFileUpdate, qn as TranspileOptions, qt as OptimizeJsInput, r as CompilerCtx, rn as OutputTargetDistLazy, rt as CompilerSystemCreateDirectoryOptions, s as ComponentCompilerMeta, sn as OutputTargetDocsJson, st as CompilerSystemRemoveDirectoryResults, t as BuildCtx, tn as OutputTargetCopy, tt as CompilerRequestResponse, u as ComponentCompilerState, un as OutputTargetGlobalStyle, ut as CompilerSystemRenamedPath, vn as PageReloadStrategy, vr as JsonDocsMethod, vt as Credentials, w as BuildEvents, wn as PrerenderConfig, wr as JsonDocsTag, wt as Diagnostic, x as WorkerMsgHandler, xn as Plugin, xr as JsonDocsProp, xt as DevServer, yn as ParsedPath, yr as JsonDocsMethodReturn, yt as CustomElementsExportBehavior, z as CompilerEventBuildFinish, zn as SsrDocumentOptions, zt as LogLevel } from "../index-CFiy6MZ3.mjs";
|
|
2
2
|
import ts from "typescript";
|
|
3
3
|
import { Plugin as Plugin$1 } from "rolldown";
|
|
4
4
|
//#region src/version.d.ts
|
package/dist/compiler/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as version, C as hasStencilHydrateImport, D as parseCssOnlyComponents, E as replaceStencilHydrateImport, M as scopeCss, O as buildId, S as hasStencilGlobalsImport, T as replaceStencilGlobalsImport, _ as cmpMetaToDocsComponent, a as createPrerenderer, b as buildHydrateCss, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as generateManifest, h as generateComponentTypesFile, i as createSystem, j as versions, k as vermoji, l as createWorkerMessageHandler, m as validateHydrated, n as transpile, o as loadConfig, p as validateConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, v as getScopeId, w as replaceStencilCssComponentsImport, x as hasStencilCssComponentsImport, y as foldBuildFlags } from "../compiler-
|
|
2
|
-
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-
|
|
1
|
+
import { A as version, C as hasStencilHydrateImport, D as parseCssOnlyComponents, E as replaceStencilHydrateImport, M as scopeCss, O as buildId, S as hasStencilGlobalsImport, T as replaceStencilGlobalsImport, _ as cmpMetaToDocsComponent, a as createPrerenderer, b as buildHydrateCss, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as generateManifest, h as generateComponentTypesFile, i as createSystem, j as versions, k as vermoji, l as createWorkerMessageHandler, m as validateHydrated, n as transpile, o as loadConfig, p as validateConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, v as getScopeId, w as replaceStencilCssComponentsImport, x as hasStencilCssComponentsImport, y as foldBuildFlags } from "../compiler-C_Y38j4m.mjs";
|
|
2
|
+
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-Bkq8vRnu.mjs";
|
|
3
3
|
export { CustomElementsExportBehaviorOptions, LOG_LEVELS, buildHydrateCss, buildId, cmpMetaToDocsComponent, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, foldBuildFlags, generateComponentTypesFile, generateManifest, getScopeId, hasStencilCssComponentsImport, hasStencilGlobalsImport, hasStencilHydrateImport, loadConfig, nodeRequire, optimizeCss, optimizeJs, parseCssOnlyComponents, replaceStencilCssComponentsImport, replaceStencilGlobalsImport, replaceStencilHydrateImport, scopeCss, transpile, transpileSync, ts, validateConfig, validateHydrated, vermoji, version, versions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $i as COLLECTION_APP_DATA_FILE_NAME, $r as result_d_exports, Aa as XLINK_NS, Ai as TASK_CANCELED_MSG, Ar as ModeValidationError, Bi as splitLineBreaks, Br as isJsFile, Ca as STATS, Ci as isOutputTargetStandalone, Da as VALID_CONFIG_OUTPUT_TARGETS, Di as isValidConfigOutputTarget, Ea as TYPES, Ei as isOutputTargetWww, Fi as hasError, Fr as createJsVarName, Gi as isRolldownError, Gr as readOnlyArrayHasStringMember, Hi as loadTypeScriptDiagnostic, Hr as isTsFile, Ii as hasWarning, Ir as generatePreamble, Ji as formatLazyBundleRuntimeMeta, Jr as getRolldownSourceMapOptions, Ki as loadRolldownDiagnostics, Kr as readPackageJson, Li as shouldIgnoreError, Lr as getTextDocs, Mi as buildJsonFileError, Mr as validateComponentTag, Ni as buildWarn, Nr as ParsePackageJsonResult, Oa as WATCH_FLAGS, Oi as relativeImport, Pi as catchError, Pr as addDocBlock, Qi as COLLECTION, Qr as rolldownToStencilSourceMap, Ri as escapeHtml, Rr as hasDependency, Sa as STANDALONE, Si as isOutputTargetSsrWasm, Ta as SVG_NS, Ti as isOutputTargetTypes, Ui as loadTypeScriptDiagnostics, Ur as isTsxFile, Vi as augmentDiagnosticWithNode, Vr as isJsxFile, Wi as createOnWarnFn, Wr as parsePackageJson, Xi as ASSETS, Xr as getSourceMappingUrlLinker, Yi as stringifyRuntimeData, Yr as getSourceMappingUrlForEndOfFile, Zi as CMP_FLAGS, Zr as relativizeSourceMap, _a as LOADER_BUNDLE, _i as isOutputTargetDocsVscode, aa as DOCS_AGENT_SKILL, ai as getComponentsFromModules, ba as SSR, bi as isOutputTargetServerRenderer, ca as DOCS_JSON, ci as isOutputTargetCopy, da as EVENT_FLAGS, di as isOutputTargetDocs, ea as COLLECTION_MANIFEST_FILE_NAME, ei as FilterComponentsResult, fa as GENERATED_DTS, fi as isOutputTargetDocsAgentSkill, ga as LISTENER_FLAGS, gi as isOutputTargetDocsReadme, ha as HTML_NS, hi as isOutputTargetDocsJson, ia as DIST_LAZY, ii as getComponentsDtsTypesFilePath, ji as buildError, jr as validateComponentModes, ka as WWW, ki as shouldExcludeComponent, la as DOCS_README, li as isOutputTargetCustom, ma as HOST_FLAGS, mi as isOutputTargetDocsCustomElementsManifest, na as CUSTOM, ni as filterExcludedComponents, oa as DOCS_CUSTOM, oi as isOutputTargetAssets, pa as GLOBAL_STYLE, pi as isOutputTargetDocsCustom, qi as formatComponentRuntimeMeta, qr as getInlineSourceMappingUrlLinker, ra as DEFAULT_STYLE_MODE, ri as getComponentsDtsSrcFilePath, sa as DOCS_CUSTOM_ELEMENTS_MANIFEST, si as isOutputTargetCollection, ta as COPY, ti as filterActiveTargets, ua as DOCS_VSCODE, ui as isOutputTargetDistLazy, va as MEMBER_FLAGS, vi as isOutputTargetGlobalStyle, wa as STYLE_EXT, wi as isOutputTargetStats, xa as SSR_WASM, xi as isOutputTargetSsr, ya as NODE_TYPES, yi as isOutputTargetLoaderBundle, zi as normalizeDiagnostics, zr as isDtsFile } from "../../index-
|
|
1
|
+
import { $i as COLLECTION_APP_DATA_FILE_NAME, $r as result_d_exports, Aa as XLINK_NS, Ai as TASK_CANCELED_MSG, Ar as ModeValidationError, Bi as splitLineBreaks, Br as isJsFile, Ca as STATS, Ci as isOutputTargetStandalone, Da as VALID_CONFIG_OUTPUT_TARGETS, Di as isValidConfigOutputTarget, Ea as TYPES, Ei as isOutputTargetWww, Fi as hasError, Fr as createJsVarName, Gi as isRolldownError, Gr as readOnlyArrayHasStringMember, Hi as loadTypeScriptDiagnostic, Hr as isTsFile, Ii as hasWarning, Ir as generatePreamble, Ji as formatLazyBundleRuntimeMeta, Jr as getRolldownSourceMapOptions, Ki as loadRolldownDiagnostics, Kr as readPackageJson, Li as shouldIgnoreError, Lr as getTextDocs, Mi as buildJsonFileError, Mr as validateComponentTag, Ni as buildWarn, Nr as ParsePackageJsonResult, Oa as WATCH_FLAGS, Oi as relativeImport, Pi as catchError, Pr as addDocBlock, Qi as COLLECTION, Qr as rolldownToStencilSourceMap, Ri as escapeHtml, Rr as hasDependency, Sa as STANDALONE, Si as isOutputTargetSsrWasm, Ta as SVG_NS, Ti as isOutputTargetTypes, Ui as loadTypeScriptDiagnostics, Ur as isTsxFile, Vi as augmentDiagnosticWithNode, Vr as isJsxFile, Wi as createOnWarnFn, Wr as parsePackageJson, Xi as ASSETS, Xr as getSourceMappingUrlLinker, Yi as stringifyRuntimeData, Yr as getSourceMappingUrlForEndOfFile, Zi as CMP_FLAGS, Zr as relativizeSourceMap, _a as LOADER_BUNDLE, _i as isOutputTargetDocsVscode, aa as DOCS_AGENT_SKILL, ai as getComponentsFromModules, ba as SSR, bi as isOutputTargetServerRenderer, ca as DOCS_JSON, ci as isOutputTargetCopy, da as EVENT_FLAGS, di as isOutputTargetDocs, ea as COLLECTION_MANIFEST_FILE_NAME, ei as FilterComponentsResult, fa as GENERATED_DTS, fi as isOutputTargetDocsAgentSkill, ga as LISTENER_FLAGS, gi as isOutputTargetDocsReadme, ha as HTML_NS, hi as isOutputTargetDocsJson, ia as DIST_LAZY, ii as getComponentsDtsTypesFilePath, ji as buildError, jr as validateComponentModes, ka as WWW, ki as shouldExcludeComponent, la as DOCS_README, li as isOutputTargetCustom, ma as HOST_FLAGS, mi as isOutputTargetDocsCustomElementsManifest, na as CUSTOM, ni as filterExcludedComponents, oa as DOCS_CUSTOM, oi as isOutputTargetAssets, pa as GLOBAL_STYLE, pi as isOutputTargetDocsCustom, qi as formatComponentRuntimeMeta, qr as getInlineSourceMappingUrlLinker, ra as DEFAULT_STYLE_MODE, ri as getComponentsDtsSrcFilePath, sa as DOCS_CUSTOM_ELEMENTS_MANIFEST, si as isOutputTargetCollection, ta as COPY, ti as filterActiveTargets, ua as DOCS_VSCODE, ui as isOutputTargetDistLazy, va as MEMBER_FLAGS, vi as isOutputTargetGlobalStyle, wa as STYLE_EXT, wi as isOutputTargetStats, xa as SSR_WASM, xi as isOutputTargetSsr, ya as NODE_TYPES, yi as isOutputTargetLoaderBundle, zi as normalizeDiagnostics, zr as isDtsFile } from "../../index-CFiy6MZ3.mjs";
|
|
2
2
|
//#region src/utils/byte-size.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Used to learn the size of a string in bytes.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as VALID_CONFIG_OUTPUT_TARGETS, A as DIST_LAZY, B as HOST_FLAGS, C as CMP_FLAGS, D as COPY, E as COLLECTION_MANIFEST_FILE_NAME, F as DOCS_README, G as NODE_TYPES, H as LISTENER_FLAGS, I as DOCS_VSCODE, J as STANDALONE, K as SSR, L as EVENT_FLAGS, M as DOCS_CUSTOM, N as DOCS_CUSTOM_ELEMENTS_MANIFEST, O as CUSTOM, P as DOCS_JSON, Q as TYPES, R as GENERATED_DTS, S as ASSETS, T as COLLECTION_APP_DATA_FILE_NAME, U as LOADER_BUNDLE, V as HTML_NS, W as MEMBER_FLAGS, X as STYLE_EXT, Y as STATS, Z as SVG_NS, _ as toCamelCase, a as isBoolean, b as unique, c as isFunction, d as isObject, et as WATCH_FLAGS, f as isString, g as sortBy, h as pluck, i as fromEntries, j as DOCS_AGENT_SKILL, k as DEFAULT_STYLE_MODE, l as isIterable, m as noop, n as escapeWithPattern, nt as XLINK_NS, o as isComplexType, p as mergeIntoWith, q as SSR_WASM, r as flatOne, s as isDef, t as dashToPascalCase, tt as WWW, u as isNumber, v as toDashCase, w as COLLECTION, x as queryNonceMetaTagContent, y as toTitleCase, z as GLOBAL_STYLE } from "../../helpers-
|
|
2
|
-
import { C as isRootPath, D as byteSize, E as stringifyRuntimeData, O as escapeRegExpSpecialCharacters, S as splitLineBreaks, T as formatLazyBundleRuntimeMeta, _ as createOnWarnFn, a as getRolldownSourceMapOptions, b as escapeHtml, c as relativizeSourceMap, g as loadTypeScriptDiagnostics, h as loadTypeScriptDiagnostic, i as getInlineSourceMappingUrlLinker, l as rolldownToStencilSourceMap, m as augmentDiagnosticWithNode, n as validateComponentTag, o as getSourceMappingUrlForEndOfFile, p as result_exports, r as isRemoteUrl, s as getSourceMappingUrlLinker, t as validateComponentModes, v as isRolldownError, w as formatComponentRuntimeMeta, x as normalizeDiagnostics, y as loadRolldownDiagnostics } from "../../validation-
|
|
3
|
-
import { $ as buildWarn, A as isOutputTargetDocsVscode, B as isValidConfigOutputTarget, C as isOutputTargetDistLazy, D as isOutputTargetDocsCustomElementsManifest, E as isOutputTargetDocsCustom, F as isOutputTargetSsrWasm, G as normalizeFsPath, H as shouldExcludeComponent, I as isOutputTargetStandalone, J as relative, K as normalizeFsPathQuery, L as isOutputTargetStats, M as isOutputTargetLoaderBundle, N as isOutputTargetServerRenderer, O as isOutputTargetDocsJson, P as isOutputTargetSsr, Q as buildJsonFileError, R as isOutputTargetTypes, S as isOutputTargetCustom, T as isOutputTargetDocsAgentSkill, U as join, V as relativeImport, W as normalize, X as TASK_CANCELED_MSG, Y as resolve, Z as buildError, _ as getComponentsDtsTypesFilePath, a as hasDependency, b as isOutputTargetCollection, c as isJsxFile, d as parsePackageJson, et as catchError, f as readOnlyArrayHasStringMember, g as getComponentsDtsSrcFilePath, h as filterExcludedComponents, i as getTextDocs, it as isGlob, j as isOutputTargetGlobalStyle, k as isOutputTargetDocsReadme, l as isTsFile, m as filterActiveTargets, n as createJsVarName, nt as hasWarning, o as isDtsFile, p as readPackageJson, q as normalizePath, r as generatePreamble, rt as shouldIgnoreError, s as isJsFile, t as addDocBlock, tt as hasError, u as isTsxFile, v as getComponentsFromModules, w as isOutputTargetDocs, x as isOutputTargetCopy, y as isOutputTargetAssets, z as isOutputTargetWww } from "../../util-
|
|
1
|
+
import { $ as VALID_CONFIG_OUTPUT_TARGETS, A as DIST_LAZY, B as HOST_FLAGS, C as CMP_FLAGS, D as COPY, E as COLLECTION_MANIFEST_FILE_NAME, F as DOCS_README, G as NODE_TYPES, H as LISTENER_FLAGS, I as DOCS_VSCODE, J as STANDALONE, K as SSR, L as EVENT_FLAGS, M as DOCS_CUSTOM, N as DOCS_CUSTOM_ELEMENTS_MANIFEST, O as CUSTOM, P as DOCS_JSON, Q as TYPES, R as GENERATED_DTS, S as ASSETS, T as COLLECTION_APP_DATA_FILE_NAME, U as LOADER_BUNDLE, V as HTML_NS, W as MEMBER_FLAGS, X as STYLE_EXT, Y as STATS, Z as SVG_NS, _ as toCamelCase, a as isBoolean, b as unique, c as isFunction, d as isObject, et as WATCH_FLAGS, f as isString, g as sortBy, h as pluck, i as fromEntries, j as DOCS_AGENT_SKILL, k as DEFAULT_STYLE_MODE, l as isIterable, m as noop, n as escapeWithPattern, nt as XLINK_NS, o as isComplexType, p as mergeIntoWith, q as SSR_WASM, r as flatOne, s as isDef, t as dashToPascalCase, tt as WWW, u as isNumber, v as toDashCase, w as COLLECTION, x as queryNonceMetaTagContent, y as toTitleCase, z as GLOBAL_STYLE } from "../../helpers-pTCZhNi0.mjs";
|
|
2
|
+
import { C as isRootPath, D as byteSize, E as stringifyRuntimeData, O as escapeRegExpSpecialCharacters, S as splitLineBreaks, T as formatLazyBundleRuntimeMeta, _ as createOnWarnFn, a as getRolldownSourceMapOptions, b as escapeHtml, c as relativizeSourceMap, g as loadTypeScriptDiagnostics, h as loadTypeScriptDiagnostic, i as getInlineSourceMappingUrlLinker, l as rolldownToStencilSourceMap, m as augmentDiagnosticWithNode, n as validateComponentTag, o as getSourceMappingUrlForEndOfFile, p as result_exports, r as isRemoteUrl, s as getSourceMappingUrlLinker, t as validateComponentModes, v as isRolldownError, w as formatComponentRuntimeMeta, x as normalizeDiagnostics, y as loadRolldownDiagnostics } from "../../validation-C1mr0klL.mjs";
|
|
3
|
+
import { $ as buildWarn, A as isOutputTargetDocsVscode, B as isValidConfigOutputTarget, C as isOutputTargetDistLazy, D as isOutputTargetDocsCustomElementsManifest, E as isOutputTargetDocsCustom, F as isOutputTargetSsrWasm, G as normalizeFsPath, H as shouldExcludeComponent, I as isOutputTargetStandalone, J as relative, K as normalizeFsPathQuery, L as isOutputTargetStats, M as isOutputTargetLoaderBundle, N as isOutputTargetServerRenderer, O as isOutputTargetDocsJson, P as isOutputTargetSsr, Q as buildJsonFileError, R as isOutputTargetTypes, S as isOutputTargetCustom, T as isOutputTargetDocsAgentSkill, U as join, V as relativeImport, W as normalize, X as TASK_CANCELED_MSG, Y as resolve, Z as buildError, _ as getComponentsDtsTypesFilePath, a as hasDependency, b as isOutputTargetCollection, c as isJsxFile, d as parsePackageJson, et as catchError, f as readOnlyArrayHasStringMember, g as getComponentsDtsSrcFilePath, h as filterExcludedComponents, i as getTextDocs, it as isGlob, j as isOutputTargetGlobalStyle, k as isOutputTargetDocsReadme, l as isTsFile, m as filterActiveTargets, n as createJsVarName, nt as hasWarning, o as isDtsFile, p as readPackageJson, q as normalizePath, r as generatePreamble, rt as shouldIgnoreError, s as isJsFile, t as addDocBlock, tt as hasError, u as isTsxFile, v as getComponentsFromModules, w as isOutputTargetDocs, x as isOutputTargetCopy, y as isOutputTargetAssets, z as isOutputTargetWww } from "../../util-CP6-333M.mjs";
|
|
4
4
|
export { ASSETS, CMP_FLAGS, COLLECTION, COLLECTION_APP_DATA_FILE_NAME, COLLECTION_MANIFEST_FILE_NAME, COPY, CUSTOM, DEFAULT_STYLE_MODE, DIST_LAZY, DOCS_AGENT_SKILL, DOCS_CUSTOM, DOCS_CUSTOM_ELEMENTS_MANIFEST, DOCS_JSON, DOCS_README, DOCS_VSCODE, EVENT_FLAGS, GENERATED_DTS, GLOBAL_STYLE, HOST_FLAGS, HTML_NS, LISTENER_FLAGS, LOADER_BUNDLE, MEMBER_FLAGS, NODE_TYPES, SSR, SSR_WASM, STANDALONE, STATS, STYLE_EXT, SVG_NS, TASK_CANCELED_MSG, TYPES, VALID_CONFIG_OUTPUT_TARGETS, WATCH_FLAGS, WWW, XLINK_NS, addDocBlock, augmentDiagnosticWithNode, buildError, buildJsonFileError, buildWarn, byteSize, catchError, createJsVarName, createOnWarnFn, dashToPascalCase, escapeHtml, escapeRegExpSpecialCharacters, escapeWithPattern, filterActiveTargets, filterExcludedComponents, flatOne, formatComponentRuntimeMeta, formatLazyBundleRuntimeMeta, fromEntries, generatePreamble, getComponentsDtsSrcFilePath, getComponentsDtsTypesFilePath, getComponentsFromModules, getInlineSourceMappingUrlLinker, getRolldownSourceMapOptions, getSourceMappingUrlForEndOfFile, getSourceMappingUrlLinker, getTextDocs, hasDependency, hasError, hasWarning, isBoolean, isComplexType, isDef, isDtsFile, isFunction, isGlob, isIterable, isJsFile, isJsxFile, isNumber, isObject, isOutputTargetAssets, isOutputTargetCollection, isOutputTargetCopy, isOutputTargetCustom, isOutputTargetDistLazy, isOutputTargetDocs, isOutputTargetDocsAgentSkill, isOutputTargetDocsCustom, isOutputTargetDocsCustomElementsManifest, isOutputTargetDocsJson, isOutputTargetDocsReadme, isOutputTargetDocsVscode, isOutputTargetGlobalStyle, isOutputTargetLoaderBundle, isOutputTargetServerRenderer, isOutputTargetSsr, isOutputTargetSsrWasm, isOutputTargetStandalone, isOutputTargetStats, isOutputTargetTypes, isOutputTargetWww, isRemoteUrl, isRolldownError, isRootPath, isString, isTsFile, isTsxFile, isValidConfigOutputTarget, join, loadRolldownDiagnostics, loadTypeScriptDiagnostic, loadTypeScriptDiagnostics, mergeIntoWith, noop, normalize, normalizeDiagnostics, normalizeFsPath, normalizeFsPathQuery, normalizePath, parsePackageJson, pluck, queryNonceMetaTagContent, readOnlyArrayHasStringMember, readPackageJson, relative, relativeImport, relativizeSourceMap, resolve, result_exports as result, rolldownToStencilSourceMap, shouldExcludeComponent, shouldIgnoreError, sortBy, splitLineBreaks, stringifyRuntimeData, toCamelCase, toDashCase, toTitleCase, unique, validateComponentModes, validateComponentTag };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as __require } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
2
|
-
import { A as SSR_PROP_REF_PREFIX, D as HYDRATE_ID, E as HYDRATE_CHILD_ID, O as SERVER_BUILD_FLAGS, T as HYDRATED_CSS, k as SSR_PROPS_REGISTRY_KEY, w as CLIENT_BUILD_FLAGS } from "./client-
|
|
3
|
-
import { $ as VALID_CONFIG_OUTPUT_TARGETS, A as DIST_LAZY, D as COPY, E as COLLECTION_MANIFEST_FILE_NAME, J as STANDALONE, L as EVENT_FLAGS, P as DOCS_JSON, Q as TYPES, R as GENERATED_DTS, S as ASSETS, T as COLLECTION_APP_DATA_FILE_NAME, U as LOADER_BUNDLE, X as STYLE_EXT, Y as STATS, a as isBoolean$1, b as unique, c as isFunction, d as isObject, et as WATCH_FLAGS, f as isString$1, g as sortBy, i as fromEntries, l as isIterable, m as noop, p as mergeIntoWith, r as flatOne, t as dashToPascalCase, u as isNumber$1, v as toDashCase, w as COLLECTION, y as toTitleCase, z as GLOBAL_STYLE } from "./helpers-
|
|
4
|
-
import { C as isRootPath, D as byteSize, E as stringifyRuntimeData, O as escapeRegExpSpecialCharacters, S as splitLineBreaks, _ as createOnWarnFn, a as getRolldownSourceMapOptions, c as relativizeSourceMap, d as map, f as ok, g as loadTypeScriptDiagnostics, h as loadTypeScriptDiagnostic, i as getInlineSourceMappingUrlLinker, l as rolldownToStencilSourceMap, m as augmentDiagnosticWithNode, n as validateComponentTag, o as getSourceMappingUrlForEndOfFile, r as isRemoteUrl, t as validateComponentModes, u as err, v as isRolldownError, w as formatComponentRuntimeMeta, x as normalizeDiagnostics, y as loadRolldownDiagnostics } from "./validation-
|
|
5
|
-
import { $ as buildWarn, A as isOutputTargetDocsVscode, B as isValidConfigOutputTarget, C as isOutputTargetDistLazy, D as isOutputTargetDocsCustomElementsManifest, E as isOutputTargetDocsCustom, F as isOutputTargetSsrWasm, G as normalizeFsPath, H as shouldExcludeComponent, I as isOutputTargetStandalone, J as relative$1, K as normalizeFsPathQuery, L as isOutputTargetStats, M as isOutputTargetLoaderBundle, N as isOutputTargetServerRenderer, O as isOutputTargetDocsJson, P as isOutputTargetSsr, Q as buildJsonFileError, R as isOutputTargetTypes, S as isOutputTargetCustom, T as isOutputTargetDocsAgentSkill, U as join$2, V as relativeImport, Y as resolve$2, Z as buildError, a as hasDependency, b as isOutputTargetCollection, d as parsePackageJson, et as catchError, f as readOnlyArrayHasStringMember, g as getComponentsDtsSrcFilePath, h as filterExcludedComponents, i as getTextDocs, it as isGlob, j as isOutputTargetGlobalStyle, k as isOutputTargetDocsReadme, l as isTsFile, m as filterActiveTargets, n as createJsVarName, nt as hasWarning, o as isDtsFile, p as readPackageJson, q as normalizePath, r as generatePreamble, t as addDocBlock, tt as hasError, u as isTsxFile, v as getComponentsFromModules, w as isOutputTargetDocs, x as isOutputTargetCopy, y as isOutputTargetAssets, z as isOutputTargetWww } from "./util-
|
|
6
|
-
import { i as CustomElementsExportBehaviorOptions, o as buildEvents, r as createNodeLogger, t as createNodeSys } from "./node-
|
|
2
|
+
import { A as SSR_PROP_REF_PREFIX, D as HYDRATE_ID, E as HYDRATE_CHILD_ID, O as SERVER_BUILD_FLAGS, T as HYDRATED_CSS, k as SSR_PROPS_REGISTRY_KEY, w as CLIENT_BUILD_FLAGS } from "./client-BMtGBEQV.mjs";
|
|
3
|
+
import { $ as VALID_CONFIG_OUTPUT_TARGETS, A as DIST_LAZY, D as COPY, E as COLLECTION_MANIFEST_FILE_NAME, J as STANDALONE, L as EVENT_FLAGS, P as DOCS_JSON, Q as TYPES, R as GENERATED_DTS, S as ASSETS, T as COLLECTION_APP_DATA_FILE_NAME, U as LOADER_BUNDLE, X as STYLE_EXT, Y as STATS, a as isBoolean$1, b as unique, c as isFunction, d as isObject, et as WATCH_FLAGS, f as isString$1, g as sortBy, i as fromEntries, l as isIterable, m as noop, p as mergeIntoWith, r as flatOne, t as dashToPascalCase, u as isNumber$1, v as toDashCase, w as COLLECTION, y as toTitleCase, z as GLOBAL_STYLE } from "./helpers-pTCZhNi0.mjs";
|
|
4
|
+
import { C as isRootPath, D as byteSize, E as stringifyRuntimeData, O as escapeRegExpSpecialCharacters, S as splitLineBreaks, _ as createOnWarnFn, a as getRolldownSourceMapOptions, c as relativizeSourceMap, d as map, f as ok, g as loadTypeScriptDiagnostics, h as loadTypeScriptDiagnostic, i as getInlineSourceMappingUrlLinker, l as rolldownToStencilSourceMap, m as augmentDiagnosticWithNode, n as validateComponentTag, o as getSourceMappingUrlForEndOfFile, r as isRemoteUrl, t as validateComponentModes, u as err, v as isRolldownError, w as formatComponentRuntimeMeta, x as normalizeDiagnostics, y as loadRolldownDiagnostics } from "./validation-C1mr0klL.mjs";
|
|
5
|
+
import { $ as buildWarn, A as isOutputTargetDocsVscode, B as isValidConfigOutputTarget, C as isOutputTargetDistLazy, D as isOutputTargetDocsCustomElementsManifest, E as isOutputTargetDocsCustom, F as isOutputTargetSsrWasm, G as normalizeFsPath, H as shouldExcludeComponent, I as isOutputTargetStandalone, J as relative$1, K as normalizeFsPathQuery, L as isOutputTargetStats, M as isOutputTargetLoaderBundle, N as isOutputTargetServerRenderer, O as isOutputTargetDocsJson, P as isOutputTargetSsr, Q as buildJsonFileError, R as isOutputTargetTypes, S as isOutputTargetCustom, T as isOutputTargetDocsAgentSkill, U as join$2, V as relativeImport, Y as resolve$2, Z as buildError, a as hasDependency, b as isOutputTargetCollection, d as parsePackageJson, et as catchError, f as readOnlyArrayHasStringMember, g as getComponentsDtsSrcFilePath, h as filterExcludedComponents, i as getTextDocs, it as isGlob, j as isOutputTargetGlobalStyle, k as isOutputTargetDocsReadme, l as isTsFile, m as filterActiveTargets, n as createJsVarName, nt as hasWarning, o as isDtsFile, p as readPackageJson, q as normalizePath, r as generatePreamble, t as addDocBlock, tt as hasError, u as isTsxFile, v as getComponentsFromModules, w as isOutputTargetDocs, x as isOutputTargetCopy, y as isOutputTargetAssets, z as isOutputTargetWww } from "./util-CP6-333M.mjs";
|
|
6
|
+
import { i as CustomElementsExportBehaviorOptions, o as buildEvents, r as createNodeLogger, t as createNodeSys } from "./node-Bkq8vRnu.mjs";
|
|
7
7
|
import ts, { default as ts$1 } from "typescript";
|
|
8
8
|
import { readFileSync } from "node:fs";
|
|
9
9
|
import { basename, dirname, isAbsolute, join, resolve } from "node:path";
|
|
@@ -461,9 +461,9 @@ const scopeCss = (cssText, scopeId, commentOriginalSelector) => {
|
|
|
461
461
|
};
|
|
462
462
|
//#endregion
|
|
463
463
|
//#region src/version.ts
|
|
464
|
-
const version = "5.0.0-rc.
|
|
465
|
-
const buildId = "
|
|
466
|
-
const vermoji = "
|
|
464
|
+
const version = "5.0.0-rc.1";
|
|
465
|
+
const buildId = "1794513770";
|
|
466
|
+
const vermoji = "🌹";
|
|
467
467
|
/**
|
|
468
468
|
* Get the installed version of a tool/dependency.
|
|
469
469
|
* Handles packages with exports maps that point to subdirectories.
|
|
@@ -52,6 +52,11 @@ const HOST_FLAGS = {
|
|
|
52
52
|
* is true while an initialization attempt is merely queued/in-flight.
|
|
53
53
|
*/
|
|
54
54
|
hasFailedLoad: 2048,
|
|
55
|
+
/**
|
|
56
|
+
* Set while `renderVdom` patches the host, so writes of a serialized reflected value
|
|
57
|
+
* coming from the runtime's own reflection aren't applied back to the prop.
|
|
58
|
+
*/
|
|
59
|
+
isReflecting: 16384,
|
|
55
60
|
devOnRender: 4096,
|
|
56
61
|
devOnDidLoad: 8192
|
|
57
62
|
};
|
|
@@ -58,6 +58,11 @@ declare const HOST_FLAGS: {
|
|
|
58
58
|
* is true while an initialization attempt is merely queued/in-flight.
|
|
59
59
|
*/
|
|
60
60
|
readonly hasFailedLoad: number;
|
|
61
|
+
/**
|
|
62
|
+
* Set while `renderVdom` patches the host, so writes of a serialized reflected value
|
|
63
|
+
* coming from the runtime's own reflection aren't applied back to the prop.
|
|
64
|
+
*/
|
|
65
|
+
readonly isReflecting: number;
|
|
61
66
|
readonly devOnRender: number;
|
|
62
67
|
readonly devOnDidLoad: number;
|
|
63
68
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ar as RafCallback, cr as TagTransformer, lr as UserBuildConditionals, n as ChildType, nr as ErrorHandler, p as HostElement, rr as FunctionalComponent, sr as ResolutionHandler, ur as VNode, v as PropsType, y as RuntimeRef } from "./index-
|
|
1
|
+
import { ar as RafCallback, cr as TagTransformer, lr as UserBuildConditionals, n as ChildType, nr as ErrorHandler, p as HostElement, rr as FunctionalComponent, sr as ResolutionHandler, ur as VNode, v as PropsType, y as RuntimeRef } from "./index-CFiy6MZ3.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-BMtGBEQV.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-BMtGBEQV.mjs";
|
|
3
|
+
import { c as isFunction, f as isString, m as noop, r as flatOne } from "./helpers-pTCZhNi0.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-CP6-333M.mjs";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import nodePath from "node:path";
|
|
7
7
|
import { pathToFileURL } from "node:url";
|
|
@@ -233,6 +233,11 @@ const HOST_FLAGS = {
|
|
|
233
233
|
* is true while an initialization attempt is merely queued/in-flight.
|
|
234
234
|
*/
|
|
235
235
|
hasFailedLoad: 2048,
|
|
236
|
+
/**
|
|
237
|
+
* Set while `renderVdom` patches the host, so writes of a serialized reflected value
|
|
238
|
+
* coming from the runtime's own reflection aren't applied back to the prop.
|
|
239
|
+
*/
|
|
240
|
+
isReflecting: 16384,
|
|
236
241
|
devOnRender: 4096,
|
|
237
242
|
devOnDidLoad: 8192
|
|
238
243
|
};
|
|
@@ -2751,7 +2756,9 @@ render() {
|
|
|
2751
2756
|
checkSlotFallbackVisibility = false;
|
|
2752
2757
|
checkSlotRelocate = !useNativeShadowDom && !!(cmpMeta.$flags$ & CMP_FLAGS.hasSlot);
|
|
2753
2758
|
}
|
|
2759
|
+
if (BUILD.serializer) hostRef.$flags$ |= HOST_FLAGS.isReflecting;
|
|
2754
2760
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
2761
|
+
if (BUILD.serializer) hostRef.$flags$ &= ~HOST_FLAGS.isReflecting;
|
|
2755
2762
|
if (BUILD.slotRelocation) {
|
|
2756
2763
|
plt.$flags$ |= PLATFORM_FLAGS.isTmpDisconnected;
|
|
2757
2764
|
if (checkSlotRelocate) {
|
|
@@ -4381,6 +4388,7 @@ const getValue = (ref, propName) => {
|
|
|
4381
4388
|
};
|
|
4382
4389
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
4383
4390
|
const hostRef = getHostRef(ref);
|
|
4391
|
+
if (BUILD.serializer && hostRef?.$flags$ & HOST_FLAGS.isReflecting && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newVal) return;
|
|
4384
4392
|
if (BUILD.signalBacking) {
|
|
4385
4393
|
const sig = hostRef?.$signalValues$?.get(propName);
|
|
4386
4394
|
if (sig !== void 0) {
|
|
@@ -4397,7 +4405,6 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
4397
4405
|
if (BUILD.lazyLoad) throw new Error(BUILD.isDev ? `Couldn't find host element for "${cmpMeta.$tagName$}". This usually happens when integrating a 3rd party Stencil component with another Stencil runtime. See https://github.com/stenciljs/core/issues/5457` : `Host element not found for "${cmpMeta.$tagName$}"`);
|
|
4398
4406
|
return;
|
|
4399
4407
|
}
|
|
4400
|
-
if (BUILD.serializer && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newVal) return;
|
|
4401
4408
|
const elm = BUILD.lazyLoad ? hostRef.$hostElement$ : ref;
|
|
4402
4409
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
4403
4410
|
const flags = hostRef.$flags$;
|
|
@@ -4573,7 +4580,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
4573
4580
|
plt.jmp(() => {
|
|
4574
4581
|
const propName = attrNameToPropName.get(attrName);
|
|
4575
4582
|
const hostRef = getHostRef(this);
|
|
4576
|
-
if (BUILD.serializer && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newValue) return;
|
|
4583
|
+
if (BUILD.serializer && hostRef.$flags$ & HOST_FLAGS.isReflecting && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newValue) return;
|
|
4577
4584
|
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
|
4578
4585
|
newValue = this[propName];
|
|
4579
4586
|
delete this[propName];
|
|
@@ -5233,7 +5240,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
5233
5240
|
if (!hostRef) return;
|
|
5234
5241
|
const i = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
5235
5242
|
if (i > -1) deferredConnectedCallbacks.splice(i, 1);
|
|
5236
|
-
if (hostRef
|
|
5243
|
+
if (hostRef.$vnode$?.$elm$?.isConnected === false) delete hostRef.$vnode$.$elm$;
|
|
5237
5244
|
});
|
|
5238
5245
|
}
|
|
5239
5246
|
componentOnReady() {
|
|
@@ -227,6 +227,11 @@ const HOST_FLAGS = {
|
|
|
227
227
|
* is true while an initialization attempt is merely queued/in-flight.
|
|
228
228
|
*/
|
|
229
229
|
hasFailedLoad: 2048,
|
|
230
|
+
/**
|
|
231
|
+
* Set while `renderVdom` patches the host, so writes of a serialized reflected value
|
|
232
|
+
* coming from the runtime's own reflection aren't applied back to the prop.
|
|
233
|
+
*/
|
|
234
|
+
isReflecting: 16384,
|
|
230
235
|
devOnRender: 4096,
|
|
231
236
|
devOnDidLoad: 8192
|
|
232
237
|
};
|
|
@@ -2745,7 +2750,9 @@ render() {
|
|
|
2745
2750
|
checkSlotFallbackVisibility = false;
|
|
2746
2751
|
checkSlotRelocate = !useNativeShadowDom && !!(cmpMeta.$flags$ & CMP_FLAGS.hasSlot);
|
|
2747
2752
|
}
|
|
2753
|
+
if (BUILD$1.serializer) hostRef.$flags$ |= HOST_FLAGS.isReflecting;
|
|
2748
2754
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
2755
|
+
if (BUILD$1.serializer) hostRef.$flags$ &= ~HOST_FLAGS.isReflecting;
|
|
2749
2756
|
if (BUILD$1.slotRelocation) {
|
|
2750
2757
|
plt.$flags$ |= PLATFORM_FLAGS.isTmpDisconnected;
|
|
2751
2758
|
if (checkSlotRelocate) {
|
|
@@ -4375,6 +4382,7 @@ const getValue = (ref, propName) => {
|
|
|
4375
4382
|
};
|
|
4376
4383
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
4377
4384
|
const hostRef = getHostRef(ref);
|
|
4385
|
+
if (BUILD$1.serializer && hostRef?.$flags$ & HOST_FLAGS.isReflecting && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newVal) return;
|
|
4378
4386
|
if (BUILD$1.signalBacking) {
|
|
4379
4387
|
const sig = hostRef?.$signalValues$?.get(propName);
|
|
4380
4388
|
if (sig !== void 0) {
|
|
@@ -4391,7 +4399,6 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
4391
4399
|
if (BUILD$1.lazyLoad) throw new Error(BUILD$1.isDev ? `Couldn't find host element for "${cmpMeta.$tagName$}". This usually happens when integrating a 3rd party Stencil component with another Stencil runtime. See https://github.com/stenciljs/core/issues/5457` : `Host element not found for "${cmpMeta.$tagName$}"`);
|
|
4392
4400
|
return;
|
|
4393
4401
|
}
|
|
4394
|
-
if (BUILD$1.serializer && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newVal) return;
|
|
4395
4402
|
const elm = BUILD$1.lazyLoad ? hostRef.$hostElement$ : ref;
|
|
4396
4403
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
4397
4404
|
const flags = hostRef.$flags$;
|
|
@@ -4567,7 +4574,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
4567
4574
|
plt.jmp(() => {
|
|
4568
4575
|
const propName = attrNameToPropName.get(attrName);
|
|
4569
4576
|
const hostRef = getHostRef(this);
|
|
4570
|
-
if (BUILD$1.serializer && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newValue) return;
|
|
4577
|
+
if (BUILD$1.serializer && hostRef.$flags$ & HOST_FLAGS.isReflecting && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newValue) return;
|
|
4571
4578
|
if (this.hasOwnProperty(propName) && BUILD$1.lazyLoad) {
|
|
4572
4579
|
newValue = this[propName];
|
|
4573
4580
|
delete this[propName];
|
|
@@ -5227,7 +5234,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
5227
5234
|
if (!hostRef) return;
|
|
5228
5235
|
const i = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
5229
5236
|
if (i > -1) deferredConnectedCallbacks.splice(i, 1);
|
|
5230
|
-
if (hostRef
|
|
5237
|
+
if (hostRef.$vnode$?.$elm$?.isConnected === false) delete hostRef.$vnode$.$elm$;
|
|
5231
5238
|
});
|
|
5232
5239
|
}
|
|
5233
5240
|
componentOnReady() {
|
package/dist/runtime/index.js
CHANGED
|
@@ -139,6 +139,11 @@ const HOST_FLAGS = {
|
|
|
139
139
|
* is true while an initialization attempt is merely queued/in-flight.
|
|
140
140
|
*/
|
|
141
141
|
hasFailedLoad: 2048,
|
|
142
|
+
/**
|
|
143
|
+
* Set while `renderVdom` patches the host, so writes of a serialized reflected value
|
|
144
|
+
* coming from the runtime's own reflection aren't applied back to the prop.
|
|
145
|
+
*/
|
|
146
|
+
isReflecting: 16384,
|
|
142
147
|
devOnRender: 4096,
|
|
143
148
|
devOnDidLoad: 8192
|
|
144
149
|
};
|
|
@@ -2617,7 +2622,9 @@ render() {
|
|
|
2617
2622
|
checkSlotFallbackVisibility = false;
|
|
2618
2623
|
checkSlotRelocate = !useNativeShadowDom && !!(cmpMeta.$flags$ & CMP_FLAGS.hasSlot);
|
|
2619
2624
|
}
|
|
2625
|
+
if (BUILD.serializer) hostRef.$flags$ |= HOST_FLAGS.isReflecting;
|
|
2620
2626
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
2627
|
+
if (BUILD.serializer) hostRef.$flags$ &= ~HOST_FLAGS.isReflecting;
|
|
2621
2628
|
if (BUILD.slotRelocation) {
|
|
2622
2629
|
plt.$flags$ |= PLATFORM_FLAGS.isTmpDisconnected;
|
|
2623
2630
|
if (checkSlotRelocate) {
|
|
@@ -4247,6 +4254,7 @@ const getValue = (ref, propName) => {
|
|
|
4247
4254
|
};
|
|
4248
4255
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
4249
4256
|
const hostRef = getHostRef(ref);
|
|
4257
|
+
if (BUILD.serializer && hostRef?.$flags$ & HOST_FLAGS.isReflecting && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newVal) return;
|
|
4250
4258
|
if (BUILD.signalBacking) {
|
|
4251
4259
|
const sig = hostRef?.$signalValues$?.get(propName);
|
|
4252
4260
|
if (sig !== void 0) {
|
|
@@ -4263,7 +4271,6 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
4263
4271
|
if (BUILD.lazyLoad) throw new Error(BUILD.isDev ? `Couldn't find host element for "${cmpMeta.$tagName$}". This usually happens when integrating a 3rd party Stencil component with another Stencil runtime. See https://github.com/stenciljs/core/issues/5457` : `Host element not found for "${cmpMeta.$tagName$}"`);
|
|
4264
4272
|
return;
|
|
4265
4273
|
}
|
|
4266
|
-
if (BUILD.serializer && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newVal) return;
|
|
4267
4274
|
const elm = BUILD.lazyLoad ? hostRef.$hostElement$ : ref;
|
|
4268
4275
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
4269
4276
|
const flags = hostRef.$flags$;
|
|
@@ -4439,7 +4446,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
4439
4446
|
plt.jmp(() => {
|
|
4440
4447
|
const propName = attrNameToPropName.get(attrName);
|
|
4441
4448
|
const hostRef = getHostRef(this);
|
|
4442
|
-
if (BUILD.serializer && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newValue) return;
|
|
4449
|
+
if (BUILD.serializer && hostRef.$flags$ & HOST_FLAGS.isReflecting && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newValue) return;
|
|
4443
4450
|
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
|
4444
4451
|
newValue = this[propName];
|
|
4445
4452
|
delete this[propName];
|
|
@@ -5099,7 +5106,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
5099
5106
|
if (!hostRef) return;
|
|
5100
5107
|
const i = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
5101
5108
|
if (i > -1) deferredConnectedCallbacks.splice(i, 1);
|
|
5102
|
-
if (hostRef
|
|
5109
|
+
if (hostRef.$vnode$?.$elm$?.isConnected === false) delete hostRef.$vnode$.$elm$;
|
|
5103
5110
|
});
|
|
5104
5111
|
}
|
|
5105
5112
|
componentOnReady() {
|
|
@@ -156,6 +156,11 @@ const HOST_FLAGS = {
|
|
|
156
156
|
* is true while an initialization attempt is merely queued/in-flight.
|
|
157
157
|
*/
|
|
158
158
|
hasFailedLoad: 2048,
|
|
159
|
+
/**
|
|
160
|
+
* Set while `renderVdom` patches the host, so writes of a serialized reflected value
|
|
161
|
+
* coming from the runtime's own reflection aren't applied back to the prop.
|
|
162
|
+
*/
|
|
163
|
+
isReflecting: 16384,
|
|
159
164
|
devOnRender: 4096,
|
|
160
165
|
devOnDidLoad: 8192
|
|
161
166
|
};
|
|
@@ -2389,7 +2394,9 @@ render() {
|
|
|
2389
2394
|
checkSlotFallbackVisibility = false;
|
|
2390
2395
|
checkSlotRelocate = !useNativeShadowDom && !!(cmpMeta.$flags$ & CMP_FLAGS.hasSlot);
|
|
2391
2396
|
}
|
|
2397
|
+
if (BUILD$1.serializer) hostRef.$flags$ |= HOST_FLAGS.isReflecting;
|
|
2392
2398
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
2399
|
+
if (BUILD$1.serializer) hostRef.$flags$ &= ~HOST_FLAGS.isReflecting;
|
|
2393
2400
|
if (BUILD$1.slotRelocation) {
|
|
2394
2401
|
plt.$flags$ |= PLATFORM_FLAGS.isTmpDisconnected;
|
|
2395
2402
|
if (checkSlotRelocate) {
|
|
@@ -4017,6 +4024,7 @@ const getValue = (ref, propName) => {
|
|
|
4017
4024
|
};
|
|
4018
4025
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
4019
4026
|
const hostRef = getHostRef(ref);
|
|
4027
|
+
if (BUILD$1.serializer && hostRef?.$flags$ & HOST_FLAGS.isReflecting && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newVal) return;
|
|
4020
4028
|
if (BUILD$1.signalBacking) {
|
|
4021
4029
|
const sig = hostRef?.$signalValues$?.get(propName);
|
|
4022
4030
|
if (sig !== void 0) {
|
|
@@ -4033,7 +4041,6 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
4033
4041
|
if (BUILD$1.lazyLoad) throw new Error(BUILD$1.isDev ? `Couldn't find host element for "${cmpMeta.$tagName$}". This usually happens when integrating a 3rd party Stencil component with another Stencil runtime. See https://github.com/stenciljs/core/issues/5457` : `Host element not found for "${cmpMeta.$tagName$}"`);
|
|
4034
4042
|
return;
|
|
4035
4043
|
}
|
|
4036
|
-
if (BUILD$1.serializer && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newVal) return;
|
|
4037
4044
|
const elm = BUILD$1.lazyLoad ? hostRef.$hostElement$ : ref;
|
|
4038
4045
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
4039
4046
|
const flags = hostRef.$flags$;
|
|
@@ -4209,7 +4216,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
4209
4216
|
plt.jmp(() => {
|
|
4210
4217
|
const propName = attrNameToPropName.get(attrName);
|
|
4211
4218
|
const hostRef = getHostRef(this);
|
|
4212
|
-
if (BUILD$1.serializer && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newValue) return;
|
|
4219
|
+
if (BUILD$1.serializer && hostRef.$flags$ & HOST_FLAGS.isReflecting && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newValue) return;
|
|
4213
4220
|
if (this.hasOwnProperty(propName) && BUILD$1.lazyLoad) {
|
|
4214
4221
|
newValue = this[propName];
|
|
4215
4222
|
delete this[propName];
|
|
@@ -4869,7 +4876,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4869
4876
|
if (!hostRef) return;
|
|
4870
4877
|
const i = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
4871
4878
|
if (i > -1) deferredConnectedCallbacks.splice(i, 1);
|
|
4872
|
-
if (hostRef
|
|
4879
|
+
if (hostRef.$vnode$?.$elm$?.isConnected === false) delete hostRef.$vnode$.$elm$;
|
|
4873
4880
|
});
|
|
4874
4881
|
}
|
|
4875
4882
|
componentOnReady() {
|
package/dist/sys/node/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as setupNodeProcess, r as createNodeLogger, t as createNodeSys } from "../../node-
|
|
1
|
+
import { n as setupNodeProcess, r as createNodeLogger, t as createNodeSys } from "../../node-Bkq8vRnu.mjs";
|
|
2
2
|
export { createNodeLogger, createNodeSys, setupNodeProcess };
|
package/dist/sys/node/worker.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as createWorkerMessageHandler } from "../../compiler-
|
|
2
|
-
import { t as createNodeSys } from "../../node-
|
|
1
|
+
import { l as createWorkerMessageHandler } from "../../compiler-C_Y38j4m.mjs";
|
|
2
|
+
import { t as createNodeSys } from "../../node-Bkq8vRnu.mjs";
|
|
3
3
|
//#region src/sys/node/node-worker-thread.ts
|
|
4
4
|
/**
|
|
5
5
|
* Initialize a worker thread, setting up various machinery for managing
|
package/dist/testing/index.mjs
CHANGED
|
@@ -33,7 +33,7 @@ import "@rollup/pluginutils";
|
|
|
33
33
|
import { createHash } from "crypto";
|
|
34
34
|
import { afterAll, vi } from "vitest";
|
|
35
35
|
//#region src/version.ts
|
|
36
|
-
const version = "5.0.0-rc.
|
|
36
|
+
const version = "5.0.0-rc.1";
|
|
37
37
|
const MEMBER_FLAGS = {
|
|
38
38
|
String: 1,
|
|
39
39
|
Number: 2,
|
|
@@ -88,6 +88,11 @@ const HOST_FLAGS = {
|
|
|
88
88
|
* is true while an initialization attempt is merely queued/in-flight.
|
|
89
89
|
*/
|
|
90
90
|
hasFailedLoad: 2048,
|
|
91
|
+
/**
|
|
92
|
+
* Set while `renderVdom` patches the host, so writes of a serialized reflected value
|
|
93
|
+
* coming from the runtime's own reflection aren't applied back to the prop.
|
|
94
|
+
*/
|
|
95
|
+
isReflecting: 16384,
|
|
91
96
|
devOnRender: 4096,
|
|
92
97
|
devOnDidLoad: 8192
|
|
93
98
|
};
|
|
@@ -3143,7 +3148,9 @@ render() {
|
|
|
3143
3148
|
checkSlotFallbackVisibility = false;
|
|
3144
3149
|
checkSlotRelocate = !useNativeShadowDom && !!(cmpMeta.$flags$ & CMP_FLAGS.hasSlot);
|
|
3145
3150
|
}
|
|
3151
|
+
if (BUILD.serializer) hostRef.$flags$ |= HOST_FLAGS.isReflecting;
|
|
3146
3152
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
3153
|
+
if (BUILD.serializer) hostRef.$flags$ &= ~HOST_FLAGS.isReflecting;
|
|
3147
3154
|
if (BUILD.slotRelocation) {
|
|
3148
3155
|
plt.$flags$ |= PLATFORM_FLAGS.isTmpDisconnected;
|
|
3149
3156
|
if (checkSlotRelocate) {
|
|
@@ -4758,6 +4765,7 @@ const getValue = (ref, propName) => {
|
|
|
4758
4765
|
};
|
|
4759
4766
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
4760
4767
|
const hostRef = getHostRef(ref);
|
|
4768
|
+
if (BUILD.serializer && hostRef?.$flags$ & HOST_FLAGS.isReflecting && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newVal) return;
|
|
4761
4769
|
if (BUILD.signalBacking) {
|
|
4762
4770
|
const sig = hostRef?.$signalValues$?.get(propName);
|
|
4763
4771
|
if (sig !== void 0) {
|
|
@@ -4774,7 +4782,6 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
4774
4782
|
if (BUILD.lazyLoad) throw new Error(BUILD.isDev ? `Couldn't find host element for "${cmpMeta.$tagName$}". This usually happens when integrating a 3rd party Stencil component with another Stencil runtime. See https://github.com/stenciljs/core/issues/5457` : `Host element not found for "${cmpMeta.$tagName$}"`);
|
|
4775
4783
|
return;
|
|
4776
4784
|
}
|
|
4777
|
-
if (BUILD.serializer && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newVal) return;
|
|
4778
4785
|
const elm = BUILD.lazyLoad ? hostRef.$hostElement$ : ref;
|
|
4779
4786
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
4780
4787
|
const flags = hostRef.$flags$;
|
|
@@ -4950,7 +4957,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
4950
4957
|
plt.jmp(() => {
|
|
4951
4958
|
const propName = attrNameToPropName.get(attrName);
|
|
4952
4959
|
const hostRef = getHostRef(this);
|
|
4953
|
-
if (BUILD.serializer && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newValue) return;
|
|
4960
|
+
if (BUILD.serializer && hostRef.$flags$ & HOST_FLAGS.isReflecting && hostRef.$serializerValues$.has(propName) && hostRef.$serializerValues$.get(propName) === newValue) return;
|
|
4954
4961
|
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
|
4955
4962
|
newValue = this[propName];
|
|
4956
4963
|
delete this[propName];
|
|
@@ -5493,7 +5500,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
5493
5500
|
if (!hostRef) return;
|
|
5494
5501
|
const i = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
5495
5502
|
if (i > -1) deferredConnectedCallbacks.splice(i, 1);
|
|
5496
|
-
if (hostRef
|
|
5503
|
+
if (hostRef.$vnode$?.$elm$?.isConnected === false) delete hostRef.$vnode$.$elm$;
|
|
5497
5504
|
});
|
|
5498
5505
|
}
|
|
5499
5506
|
componentOnReady() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as VALID_CONFIG_OUTPUT_TARGETS, A as DIST_LAZY, D as COPY, F as DOCS_README, I as DOCS_VSCODE, J as STANDALONE, M as DOCS_CUSTOM, N as DOCS_CUSTOM_ELEMENTS_MANIFEST, O as CUSTOM, P as DOCS_JSON, Q as TYPES, R as GENERATED_DTS, S as ASSETS, U as LOADER_BUNDLE, Y as STATS, f as isString, g as sortBy, j as DOCS_AGENT_SKILL, n as escapeWithPattern, q as SSR_WASM, r as flatOne, t as dashToPascalCase, v as toDashCase, w as COLLECTION, z as GLOBAL_STYLE } from "./helpers-
|
|
1
|
+
import { $ as VALID_CONFIG_OUTPUT_TARGETS, A as DIST_LAZY, D as COPY, F as DOCS_README, I as DOCS_VSCODE, J as STANDALONE, M as DOCS_CUSTOM, N as DOCS_CUSTOM_ELEMENTS_MANIFEST, O as CUSTOM, P as DOCS_JSON, Q as TYPES, R as GENERATED_DTS, S as ASSETS, U as LOADER_BUNDLE, Y as STATS, f as isString, g as sortBy, j as DOCS_AGENT_SKILL, n as escapeWithPattern, q as SSR_WASM, r as flatOne, t as dashToPascalCase, v as toDashCase, w as COLLECTION, z as GLOBAL_STYLE } from "./helpers-pTCZhNi0.mjs";
|
|
2
2
|
import nodePath, { basename, dirname, relative } from "node:path";
|
|
3
3
|
import picomatch from "picomatch";
|
|
4
4
|
//#region src/utils/is-glob.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
2
|
-
import { C as CMP_FLAGS, H as LISTENER_FLAGS, W as MEMBER_FLAGS, et as WATCH_FLAGS, f as isString, l as isIterable, y as toTitleCase } from "./helpers-
|
|
3
|
-
import { $ as buildWarn, J as relative$1, Y as resolve$1, q as normalizePath } from "./util-
|
|
2
|
+
import { C as CMP_FLAGS, H as LISTENER_FLAGS, W as MEMBER_FLAGS, et as WATCH_FLAGS, f as isString, l as isIterable, y as toTitleCase } from "./helpers-pTCZhNi0.mjs";
|
|
3
|
+
import { $ as buildWarn, J as relative$1, Y as resolve$1, q as normalizePath } from "./util-CP6-333M.mjs";
|
|
4
4
|
import nodePath from "node:path";
|
|
5
5
|
//#region src/utils/regular-expression.ts
|
|
6
6
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.1",
|
|
4
4
|
"description": "A Compiler for Web Components and Progressive Web Apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -126,9 +126,9 @@
|
|
|
126
126
|
"terser": "^5.50.0",
|
|
127
127
|
"tinyglobby": "^0.2.17",
|
|
128
128
|
"typescript": ">5.0.0 <7.0.0",
|
|
129
|
-
"@stencil/
|
|
130
|
-
"@stencil/mock-doc": "5.0.0-rc.
|
|
131
|
-
"@stencil/
|
|
129
|
+
"@stencil/dev-server": "5.0.0-rc.1",
|
|
130
|
+
"@stencil/mock-doc": "5.0.0-rc.1",
|
|
131
|
+
"@stencil/cli": "5.0.0-rc.1"
|
|
132
132
|
},
|
|
133
133
|
"devDependencies": {
|
|
134
134
|
"@ionic/prettier-config": "^4.0.0",
|