@stencil/core 5.0.0-alpha.8 → 5.0.0-alpha.9

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.
Files changed (32) hide show
  1. package/dist/app-data/index.d.ts +2 -0
  2. package/dist/{runtime/app-data → app-data}/index.js +1 -1
  3. package/dist/{client-Dd-NB5Ei.mjs → client-aTQ7xHxx.mjs} +2 -157
  4. package/dist/compiler/index.d.mts +1 -1
  5. package/dist/compiler/index.mjs +2 -2
  6. package/dist/compiler/utils/index.d.mts +1 -1
  7. package/dist/{compiler-B3pUYg_P.mjs → compiler-C0qmPoKu.mjs} +161 -21
  8. package/dist/declarations/stencil-public-compiler.d.ts +4 -0
  9. package/dist/{index-ch-cf-bZ.d.mts → index-BvkyxSY6.d.mts} +1 -1
  10. package/dist/{index-CVhWFUM0.d.mts → index-vY35H18z.d.mts} +4 -0
  11. package/dist/{index-BuveMLxy.d.ts → index-xAkMgLX_.d.ts} +1 -1
  12. package/dist/index.mjs +1 -1
  13. package/dist/jsx-runtime.mjs +1 -1
  14. package/dist/{node-10UamZmn.mjs → node--akYC-sG.mjs} +1 -1
  15. package/dist/runtime/client/lazy.js +3 -164
  16. package/dist/runtime/client/runtime.d.ts +2 -30
  17. package/dist/runtime/client/runtime.js +3 -164
  18. package/dist/runtime/index.d.ts +2 -30
  19. package/dist/runtime/index.js +3 -164
  20. package/dist/runtime/server/index.d.mts +1 -1
  21. package/dist/runtime/server/index.mjs +16 -16
  22. package/dist/runtime/server/runner.mjs +1 -1
  23. package/dist/signals/index.js +1 -1
  24. package/dist/sys/node/index.d.mts +1 -1
  25. package/dist/sys/node/index.mjs +1 -1
  26. package/dist/sys/node/worker.mjs +2 -2
  27. package/dist/testing/index.d.mts +2 -2
  28. package/dist/testing/index.mjs +160 -3
  29. package/package.json +10 -10
  30. package/dist/runtime/app-data/index.d.ts +0 -2
  31. /package/dist/{runtime/app-globals → app-globals}/index.d.ts +0 -0
  32. /package/dist/{runtime/app-globals → app-globals}/index.js +0 -0
@@ -0,0 +1,2 @@
1
+ import { n as Env, r as NAMESPACE, t as BUILD } from "../index-xAkMgLX_.js";
2
+ export { BUILD, Env, NAMESPACE };
@@ -15,7 +15,7 @@
15
15
  * }
16
16
  * ```
17
17
  *
18
- * `virtual:app-data`, the module that `BUILD` is imported from, is an alias for the `@stencil/core/runtime/app-data`, and is
18
+ * `virtual:app-data`, the module that `BUILD` is imported from, is an alias for `@stencil/core/app-data`, and is
19
19
  * partially referenced by {@link STENCIL_APP_DATA_ID}. The `src/compiler/bundle/app-data-plugin.ts` references
20
20
  * `STENCIL_APP_DATA_ID` uses it to replace these defaults with {@link BuildConditionals} that are derived from a
21
21
  * Stencil project's contents (i.e. metadata from the components). This replacement happens at a Stencil project's
@@ -17,7 +17,7 @@ import { effect, effect as effect$1, signal } from "@preact/signals-core";
17
17
  * }
18
18
  * ```
19
19
  *
20
- * `virtual:app-data`, the module that `BUILD` is imported from, is an alias for the `@stencil/core/runtime/app-data`, and is
20
+ * `virtual:app-data`, the module that `BUILD` is imported from, is an alias for `@stencil/core/app-data`, and is
21
21
  * partially referenced by {@link STENCIL_APP_DATA_ID}. The `src/compiler/bundle/app-data-plugin.ts` references
22
22
  * `STENCIL_APP_DATA_ID` uses it to replace these defaults with {@link BuildConditionals} that are derived from a
23
23
  * Stencil project's contents (i.e. metadata from the components). This replacement happens at a Stencil project's
@@ -4675,159 +4675,4 @@ function hasKeys(obj) {
4675
4675
  return false;
4676
4676
  }
4677
4677
  //#endregion
4678
- //#region src/runtime/vdom/vdom-annotations.ts
4679
- /**
4680
- * Updates the DOM generated on the server with annotations such as node attributes and
4681
- * comment nodes to facilitate future client-side hydration. These annotations are used for things
4682
- * like moving elements back to their original hosts if using Shadow DOM on the client, and for quickly
4683
- * reconstructing the vNode representations of the DOM.
4684
- *
4685
- * @param doc The DOM generated by the server.
4686
- * @param staticComponents Any components that should be considered static and do not need client-side hydration.
4687
- */
4688
- const insertVdomAnnotations = (doc, staticComponents) => {
4689
- if (doc != null) {
4690
- /**
4691
- * Initiated `docData` object from the document if it exists to ensure we
4692
- * maintain the same `docData` object across multiple hydration hydration runs.
4693
- */
4694
- const docData = "_stencilDocData" in doc ? doc[STENCIL_DOC_DATA] : { ...DEFAULT_DOC_DATA };
4695
- docData.staticComponents = new Set(staticComponents);
4696
- const orgLocationNodes = [];
4697
- parseVNodeAnnotations(doc, doc.body, docData, orgLocationNodes);
4698
- orgLocationNodes.forEach((orgLocationNode) => {
4699
- if (orgLocationNode != null && orgLocationNode["s-nr"]) {
4700
- const nodeRef = orgLocationNode["s-nr"];
4701
- let hostId = nodeRef["s-host-id"];
4702
- let nodeId = nodeRef["s-node-id"];
4703
- let childId = `${hostId}.${nodeId}`;
4704
- if (hostId == null) {
4705
- hostId = 0;
4706
- docData.rootLevelIds++;
4707
- nodeId = docData.rootLevelIds;
4708
- childId = `${hostId}.${nodeId}`;
4709
- if (nodeRef.nodeType === NODE_TYPE.ElementNode) {
4710
- nodeRef.setAttribute(HYDRATE_CHILD_ID, childId);
4711
- if (typeof nodeRef["s-sn"] === "string" && !nodeRef.getAttribute("slot")) nodeRef.setAttribute("s-sn", nodeRef["s-sn"]);
4712
- } else if (nodeRef.nodeType === NODE_TYPE.TextNode) {
4713
- if (hostId === 0) {
4714
- if (nodeRef.nodeValue?.trim() === "") {
4715
- orgLocationNode.remove();
4716
- return;
4717
- }
4718
- }
4719
- const commentBeforeTextNode = doc.createComment(childId);
4720
- commentBeforeTextNode.nodeValue = `t.${childId}`;
4721
- insertBefore(nodeRef.parentNode, commentBeforeTextNode, nodeRef);
4722
- } else if (nodeRef.nodeType === NODE_TYPE.CommentNode) {
4723
- const commentBeforeTextNode = doc.createComment(childId);
4724
- commentBeforeTextNode.nodeValue = `c.${childId}`;
4725
- nodeRef.parentNode.insertBefore(commentBeforeTextNode, nodeRef);
4726
- }
4727
- }
4728
- let orgLocationNodeId = `o.${childId}`;
4729
- const orgLocationParentNode = orgLocationNode.parentElement;
4730
- if (orgLocationParentNode) {
4731
- if (orgLocationParentNode["s-en"] === "") orgLocationNodeId += `.`;
4732
- else if (orgLocationParentNode["s-en"] === "c") orgLocationNodeId += `.c`;
4733
- }
4734
- orgLocationNode.nodeValue = orgLocationNodeId;
4735
- }
4736
- });
4737
- }
4738
- };
4739
- /**
4740
- * Recursively parses a node generated by the server and its children to set host and child id
4741
- * attributes read during client-side hydration. This function also tracks whether each node is
4742
- * an original location reference node meaning that a node has been moved via slot relocation.
4743
- *
4744
- * @param doc The DOM generated by the server.
4745
- * @param node The node to parse.
4746
- * @param docData An object containing metadata about the document.
4747
- * @param orgLocationNodes An array of nodes that have been moved via slot relocation.
4748
- */
4749
- const parseVNodeAnnotations = (doc, node, docData, orgLocationNodes) => {
4750
- if (node == null) return;
4751
- if (node["s-nr"] != null) orgLocationNodes.push(node);
4752
- if (node.nodeType === NODE_TYPE.ElementNode) [...Array.from(node.childNodes), ...Array.from(node.shadowRoot?.childNodes || [])].forEach((childNode) => {
4753
- const hostRef = getHostRef(childNode);
4754
- if (hostRef != null && !docData.staticComponents.has(childNode.nodeName.toLowerCase())) insertVNodeAnnotations(doc, childNode, hostRef.$vnode$, docData, { nodeIds: 0 });
4755
- parseVNodeAnnotations(doc, childNode, docData, orgLocationNodes);
4756
- });
4757
- };
4758
- /**
4759
- * Insert attribute annotations on an element for its host ID and, potentially, its child ID.
4760
- * Also makes calls to insert annotations on the element's children, keeping track of the depth of
4761
- * the component tree.
4762
- *
4763
- * @param doc The DOM generated by the server.
4764
- * @param hostElm The element to insert annotations for.
4765
- * @param vnode The vNode representation of the element.
4766
- * @param docData An object containing metadata about the document.
4767
- * @param cmpData An object containing metadata about the component.
4768
- */
4769
- const insertVNodeAnnotations = (doc, hostElm, vnode, docData, cmpData) => {
4770
- if (vnode != null) {
4771
- const hostId = ++docData.hostIds;
4772
- hostElm.setAttribute(HYDRATE_ID, hostId);
4773
- if (hostElm["s-cr"] != null) hostElm["s-cr"].nodeValue = `r.${hostId}`;
4774
- if (vnode.$children$ != null) {
4775
- const depth = 0;
4776
- vnode.$children$.forEach((vnodeChild, index) => {
4777
- insertChildVNodeAnnotations(doc, vnodeChild, cmpData, hostId, depth, index);
4778
- });
4779
- }
4780
- if (hostElm && vnode && vnode.$elm$ && !hostElm.hasAttribute("c-id")) {
4781
- const parent = hostElm.parentElement;
4782
- if (parent && parent.childNodes) {
4783
- const parentChildNodes = Array.from(parent.childNodes);
4784
- const comment = parentChildNodes.find((node) => node.nodeType === NODE_TYPE.CommentNode && node["s-sr"]);
4785
- if (comment) {
4786
- const index = parentChildNodes.indexOf(hostElm) - 1;
4787
- vnode.$elm$.setAttribute(HYDRATE_CHILD_ID, `${comment["s-host-id"]}.${comment["s-node-id"]}.0.${index}`);
4788
- }
4789
- }
4790
- }
4791
- }
4792
- };
4793
- /**
4794
- * Recursively analyzes the type of a child vNode and inserts annotations on the vNodes's element based on its type.
4795
- * Element nodes receive a child ID attribute, text nodes have a comment with the child ID inserted before them,
4796
- * and comment nodes representing a slot have their node value set to a slot node ID containing the child ID.
4797
- *
4798
- * @param doc The DOM generated by the server.
4799
- * @param vnodeChild The vNode to insert annotations for.
4800
- * @param cmpData An object containing metadata about the component.
4801
- * @param hostId The host ID of this element's parent.
4802
- * @param depth How deep this element sits in the component tree relative to its parent.
4803
- * @param index The index of this element in its parent's children array.
4804
- */
4805
- const insertChildVNodeAnnotations = (doc, vnodeChild, cmpData, hostId, depth, index) => {
4806
- const childElm = vnodeChild.$elm$;
4807
- if (childElm == null) return;
4808
- const nodeId = cmpData.nodeIds++;
4809
- const childId = `${hostId}.${nodeId}.${depth}.${index}`;
4810
- childElm["s-host-id"] = hostId;
4811
- childElm["s-node-id"] = nodeId;
4812
- if (childElm.nodeType === NODE_TYPE.ElementNode) {
4813
- childElm.setAttribute(HYDRATE_CHILD_ID, childId);
4814
- if (typeof childElm["s-sn"] === "string" && !childElm.getAttribute("slot")) childElm.setAttribute("s-sn", childElm["s-sn"]);
4815
- } else if (childElm.nodeType === NODE_TYPE.TextNode) {
4816
- const parentNode = childElm.parentNode;
4817
- const nodeName = parentNode?.nodeName;
4818
- if (nodeName !== "STYLE" && nodeName !== "SCRIPT") {
4819
- const textNodeId = `t.${childId}`;
4820
- insertBefore(parentNode, doc.createComment(textNodeId), childElm);
4821
- }
4822
- } else if (childElm.nodeType === NODE_TYPE.CommentNode) {
4823
- if (childElm["s-sr"]) childElm.nodeValue = `s.${childId}.${childElm["s-sn"] || ""}`;
4824
- }
4825
- if (vnodeChild.$children$ != null) {
4826
- const childDepth = depth + 1;
4827
- vnodeChild.$children$.forEach((vnode, childIndex) => {
4828
- insertChildVNodeAnnotations(doc, vnode, cmpData, hostId, childDepth, childIndex);
4829
- });
4830
- }
4831
- };
4832
- //#endregion
4833
- export { AttachInternals as A, Watch as B, setAssetPath as C, HYDRATED_CSS as D, setPlatformHelpers as E, Listen as F, Build as H, Method as I, Prop as L, Component as M, Element$1 as N, setErrorHandler as O, Event as P, PropSerialize as R, getAssetPath as S, writeTask as T, BUILD as U, resolveVar as V, Env as W, getRenderingRef as _, setTagTransformer as a, getElement as b, Mixin as c, getMode as d, setMode as f, forceUpdate as g, h, jsxs as i, AttrDeserialize as j, reWireGetterSetter as k, Fragment as l, Host as m, jsx as n, transformTag as o, scopeCss as p, jsxDEV as r, render as s, insertVdomAnnotations as t, bootstrapLazy as u, renderVdom as v, readTask as w, getShadowRoot as x, createEvent as y, State as z };
4678
+ export { HYDRATE_ID as A, Event as B, setAssetPath as C, DEFAULT_DOC_DATA as D, setPlatformHelpers as E, reWireGetterSetter as F, State as G, Method as H, AttachInternals as I, Build as J, Watch as K, AttrDeserialize as L, STENCIL_DOC_DATA as M, setErrorHandler as N, HYDRATED_CSS as O, getHostRef as P, Component as R, getAssetPath as S, writeTask as T, Prop as U, Listen as V, PropSerialize as W, Env as X, BUILD as Y, insertBefore as _, transformTag as a, getElement as b, Fragment as c, setMode as d, scopeCss as f, getRenderingRef as g, forceUpdate as h, setTagTransformer as i, NODE_TYPE as j, HYDRATE_CHILD_ID as k, bootstrapLazy as l, h as m, jsxDEV as n, render as o, Host as p, resolveVar as q, jsxs as r, Mixin as s, jsx as t, getMode as u, renderVdom as v, readTask as w, getShadowRoot as x, createEvent as y, Element$1 as z };
@@ -1,4 +1,4 @@
1
- import { $ as ComponentCompilerVirtualProperty, $i as SystemDetails, $n as CompilerBuildStart, $r as LogLevel, $t as PropsType, A as CompilerStyleDoc, Aa as JsonDocsTag, Ai as PageReloadStrategy, An as TypesMemberNameData, Ar as ConfigBundle, At as JsDoc, B as ComponentCompilerMeta, Bi as ResolveModuleOptions, Bn as BuildEvents, Br as Diagnostic, Bt as OptimizeJsResult, C as CompilerBuildStatBundle, Ca as JsonDocsListener, Ci as OutputTargetLoaderBundle, Cn as StyleCompiler, Cr as CompilerSystemRemoveDirectoryResults, Ct as EntryModule, D as CompilerJsDoc, Da as JsonDocsProp, Di as OutputTargetStats, Dn as TranspileModuleResults, Dr as CompilerSystemWriteFileResults, Dt as HostRef, E as CompilerCtx, Ea as JsonDocsPart, Ei as OutputTargetStandalone, En as TransformCssToEsmOutput, Er as CompilerSystemRenamedPath, Et as HostElement, F as ComponentCompilerData, Fa as FsWriteResults, Fi as PrerenderOptions, Fn as Workbox, Fr as CustomElementsExportBehavior, Ft as ModuleMap, G as ComponentCompilerPropertyType, Gi as ServiceWorkerConfig, Gn as BuildOutput, Gr as HydrateDocumentOptions, Gt as Plugin, H as ComponentCompilerMethodComplexType, Hi as RobotsTxtResults, Hn as BuildNoChangeResults, Hr as HistoryApiFallback, Ht as ParsedImport, I as ComponentCompilerEvent, Ia as InMemoryFileSystem, Ii as PrerenderResults, In as WorkerContextMethod, Ir as CustomElementsExportBehaviorOptions, It as MsgFromWorker, J as ComponentCompilerStaticEvent, Ji as SsrDocumentOptions, Jn as CliInitOptions, Jr as LOG_LEVELS, Jt as PluginTransformationDescriptor, K as ComponentCompilerReferencedType, Ki as SitemapXmpOpts, Kn as BuildResultsComponentGraph, Kr as HydrateFactoryOptions, Kt as PluginCtx, L as ComponentCompilerEventComplexType, Li as PrerenderStartOptions, Ln as WorkerMsgHandler, Lr as DevServer, Lt as MsgToWorker, M as CompilerWorkerTask, Ma as JsonDocsUsage, Mi as PlatformPath, Mn as UpdatedLazyBuildCtx, Mr as CopyResults, Mt as LazyBundlesRuntimeData, N as ComponentCompilerChangeHandler, Na as JsonDocsValue, Ni as PrerenderConfig, Nn as VNodeProdData, Nr as CopyTask, Nt as Module, O as CompilerJsDocTagInfo, Oa as JsonDocsSlot, Oi as OutputTargetTypes, On as TypeInfo, Or as CompilerWatcher, Ot as ImportData, P as ComponentCompilerCustomState, Pa as StyleDoc, Pi as PrerenderHydrateOptions, Pn as ValidateTypesResults, Pr as Credentials, Pt as ModuleFormat, Q as ComponentCompilerTypeReferences, Qi as StencilDocsConfig, Qn as CompilerBuildResults, Qr as LoadConfigResults, Qt as PrintLine, R as ComponentCompilerFeatures, Ri as ResolveModuleIdOptions, Rn as AutoprefixerOptions, Rr as DevServerConfig, Rt as NewSpecPageOptions, S as CompilerAssetDir, Sa as JsonDocsEvent, Si as OutputTargetGlobalStyle, Sn as StencilDocument, Sr as CompilerSystemRemoveDirectoryOptions, St as Encapsulation, T as CompilerBuildStats, Ta as JsonDocsMethodReturn, Ti as OutputTargetSsrWasm, Tn as TransformCssToEsmInput, Tr as CompilerSystemRenameResults, Tt as ExternalStyleCompiler, U as ComponentCompilerProperty, Ui as RolldownConfig, Un as BuildOnEventRemove, Ur as HmrStyleUpdate, Ut as PatchedSlotNode, V as ComponentCompilerMethod, Vi as RobotsTxtOpts, Vn as BuildLog, Vr as FsWatchResults, Vt as PackageJsonData, W as ComponentCompilerPropertyComplexType, Wi as SerializeDocumentOptions, Wn as BuildOnEvents, Wr as HotModuleReplacement, Wt as PlatformRuntime, X as ComponentCompilerStaticProperty, Xi as StencilConfig, Xn as CompileTarget, Xr as LightDomPatches, Xt as PrerenderUrlRequest, Y as ComponentCompilerStaticMethod, Yi as SsrFactoryOptions, Yn as CompileScriptMinifyOptions, Yr as LazyRequire, Yt as PrerenderManager, Z as ComponentCompilerTypeReference, Zi as StencilDevServerConfig, Zn as Compiler, Zr as LoadConfigInit, Zt as PrerenderUrlResults, _ as CollectionCompilerVersion, _a as JsonDocMethodParameter, _i as OutputTargetDocsCustom, _n as SsrImgElement, _r as CompilerRequestResponse, _t as ComponentTestingConstructor, a as BuildCtx, aa as ValidatedConfig, ai as OptimizeCssOutput, an as RolldownResults, ar as CompilerEventDirAdd, at as ComponentConstructorProperties, b as CollectionDependencyManifest, ba as JsonDocsCustomState, bi as OutputTargetDocsReadme, bn as SsrStaticData, br as CompilerSystemCreateDirectoryResults, bt as CssTransformCacheEntry, c as BuildStyleUpdate, ca as WorkerMainController, ci as OutputTarget, cn as RuntimeRef, cr as CompilerEventFileDelete, ct as ComponentGlobalStyle, d as BundleModuleOutput, di as OutputTargetBaseNext, dn as SourceMap, dr as CompilerEventName, dt as ComponentRuntimeHostListener, ea as TransformOptions, ei as Logger, en as RenderNode, er as CompilerDependency, et as ComponentConstructor, f as Cache, fi as OutputTargetBuild, fn as SourceTarget, fr as CompilerFileWatcher, ft as ComponentRuntimeMember, g as CollectionCompilerMeta, gi as OutputTargetDistLazy, gn as SsrElement, gr as CompilerRequest, gt as ComponentRuntimeReflectingAttr, h as CollectionCompiler, hi as OutputTargetCustom, hn as SsrComponent, hr as CompilerFsStats, ht as ComponentRuntimeMetaCompact, i as BuildConditionals, ia as UnvalidatedConfig, ii as OptimizeCssInput, in as RolldownResultModule, ir as CompilerEventBuildStart, it as ComponentConstructorListener, j as CompilerWorkerContext, ja as JsonDocsTypeLibrary, ji as ParsedPath, jn as TypesModule, jr as ConfigCompat, jt as LazyBundleRuntimeData, k as CompilerModeStyles, ka as JsonDocsStyle, ki as OutputTargetWww, kn as TypesImportData, kr as Config, kt as JSDocTagInfo, l as BuildTask, la as WorkerOptions, li as OutputTargetAssets, ln as SerializeImportData, lr as CompilerEventFileUpdate, lt as ComponentNativeConstructor, m as CollectionBundleManifest, mi as OutputTargetCopy, mn as SsrAnchorElement, mr as CompilerFileWatcherEvent, mt as ComponentRuntimeMeta, n as AssetsMeta, na as TranspileOptions, ni as LoggerTimeSpan, nn as RolldownChunkResult, nr as CompilerEventBuildLog, nt as ComponentConstructorEncapsulation, o as BuildFeatures, oa as ValidatedOutputTargetWww, oi as OptimizeJsInput, on as RolldownSourceMap, or as CompilerEventDirDelete, ot as ComponentConstructorProperty, p as ChildType, pi as OutputTargetCollection, pn as SpecPage, pr as CompilerFileWatcherCallback, pt as ComponentRuntimeMembers, q as ComponentCompilerState, qi as SitemapXmpResults, qn as CacheStorage, qr as HydratedFlag, qt as PluginTransformResults, r as BuildComponent, ra as TranspileResults, ri as NodeResolveConfig, rn as RolldownResult, rr as CompilerEventBuildNoChange, rt as ComponentConstructorEvent, s as BuildSourceGraph, sa as WatcherCloseResults, si as OptimizeJsOutput, sn as RootAppliedStyleMap, sr as CompilerEventFileAdd, st as ComponentConstructorPropertyType, t as AnyHTMLElement, ta as TranspileOnlyResults, ti as LoggerLineUpdater, tn as RolldownAssetResult, tr as CompilerEventBuildFinish, tt as ComponentConstructorChangeHandlers, u as BundleModule, ui as OutputTargetBase, un as SerializedEvent, ur as CompilerEventFsChange, ut as ComponentPatches, v as CollectionComponentEntryPath, va as JsonDocs, vi as OutputTargetDocsCustomElementsManifest, vn as SsrResults, vr as CompilerSystem, vt as CssImportData, w as CompilerBuildStatCollection, wa as JsonDocsMethod, wi as OutputTargetSsr, wn as StyleMap, wr as CompilerSystemRemoveFileResults, wt as EventInitDict, x as CollectionManifest, xa as JsonDocsDependencyGraph, xi as OutputTargetDocsVscode, xn as SsrStyleElement, xr as CompilerSystemRealpathResults, xt as DocData, y as CollectionDependencyData, ya as JsonDocsComponent, yi as OutputTargetDocsJson, yn as SsrScriptElement, yr as CompilerSystemCreateDirectoryOptions, yt as CssToEsmImportData, z as ComponentCompilerListener, zi as ResolveModuleIdResults, zn as BuildEmitEvents, zr as DevServerEditor, zt as NodeMap } from "../index-CVhWFUM0.mjs";
1
+ import { $ as ComponentCompilerVirtualProperty, $i as SystemDetails, $n as CompilerBuildStart, $r as LogLevel, $t as PropsType, A as CompilerStyleDoc, Aa as JsonDocsTag, Ai as PageReloadStrategy, An as TypesMemberNameData, Ar as ConfigBundle, At as JsDoc, B as ComponentCompilerMeta, Bi as ResolveModuleOptions, Bn as BuildEvents, Br as Diagnostic, Bt as OptimizeJsResult, C as CompilerBuildStatBundle, Ca as JsonDocsListener, Ci as OutputTargetLoaderBundle, Cn as StyleCompiler, Cr as CompilerSystemRemoveDirectoryResults, Ct as EntryModule, D as CompilerJsDoc, Da as JsonDocsProp, Di as OutputTargetStats, Dn as TranspileModuleResults, Dr as CompilerSystemWriteFileResults, Dt as HostRef, E as CompilerCtx, Ea as JsonDocsPart, Ei as OutputTargetStandalone, En as TransformCssToEsmOutput, Er as CompilerSystemRenamedPath, Et as HostElement, F as ComponentCompilerData, Fa as FsWriteResults, Fi as PrerenderOptions, Fn as Workbox, Fr as CustomElementsExportBehavior, Ft as ModuleMap, G as ComponentCompilerPropertyType, Gi as ServiceWorkerConfig, Gn as BuildOutput, Gr as HydrateDocumentOptions, Gt as Plugin, H as ComponentCompilerMethodComplexType, Hi as RobotsTxtResults, Hn as BuildNoChangeResults, Hr as HistoryApiFallback, Ht as ParsedImport, I as ComponentCompilerEvent, Ia as InMemoryFileSystem, Ii as PrerenderResults, In as WorkerContextMethod, Ir as CustomElementsExportBehaviorOptions, It as MsgFromWorker, J as ComponentCompilerStaticEvent, Ji as SsrDocumentOptions, Jn as CliInitOptions, Jr as LOG_LEVELS, Jt as PluginTransformationDescriptor, K as ComponentCompilerReferencedType, Ki as SitemapXmpOpts, Kn as BuildResultsComponentGraph, Kr as HydrateFactoryOptions, Kt as PluginCtx, L as ComponentCompilerEventComplexType, Li as PrerenderStartOptions, Ln as WorkerMsgHandler, Lr as DevServer, Lt as MsgToWorker, M as CompilerWorkerTask, Ma as JsonDocsUsage, Mi as PlatformPath, Mn as UpdatedLazyBuildCtx, Mr as CopyResults, Mt as LazyBundlesRuntimeData, N as ComponentCompilerChangeHandler, Na as JsonDocsValue, Ni as PrerenderConfig, Nn as VNodeProdData, Nr as CopyTask, Nt as Module, O as CompilerJsDocTagInfo, Oa as JsonDocsSlot, Oi as OutputTargetTypes, On as TypeInfo, Or as CompilerWatcher, Ot as ImportData, P as ComponentCompilerCustomState, Pa as StyleDoc, Pi as PrerenderHydrateOptions, Pn as ValidateTypesResults, Pr as Credentials, Pt as ModuleFormat, Q as ComponentCompilerTypeReferences, Qi as StencilDocsConfig, Qn as CompilerBuildResults, Qr as LoadConfigResults, Qt as PrintLine, R as ComponentCompilerFeatures, Ri as ResolveModuleIdOptions, Rn as AutoprefixerOptions, Rr as DevServerConfig, Rt as NewSpecPageOptions, S as CompilerAssetDir, Sa as JsonDocsEvent, Si as OutputTargetGlobalStyle, Sn as StencilDocument, Sr as CompilerSystemRemoveDirectoryOptions, St as Encapsulation, T as CompilerBuildStats, Ta as JsonDocsMethodReturn, Ti as OutputTargetSsrWasm, Tn as TransformCssToEsmInput, Tr as CompilerSystemRenameResults, Tt as ExternalStyleCompiler, U as ComponentCompilerProperty, Ui as RolldownConfig, Un as BuildOnEventRemove, Ur as HmrStyleUpdate, Ut as PatchedSlotNode, V as ComponentCompilerMethod, Vi as RobotsTxtOpts, Vn as BuildLog, Vr as FsWatchResults, Vt as PackageJsonData, W as ComponentCompilerPropertyComplexType, Wi as SerializeDocumentOptions, Wn as BuildOnEvents, Wr as HotModuleReplacement, Wt as PlatformRuntime, X as ComponentCompilerStaticProperty, Xi as StencilConfig, Xn as CompileTarget, Xr as LightDomPatches, Xt as PrerenderUrlRequest, Y as ComponentCompilerStaticMethod, Yi as SsrFactoryOptions, Yn as CompileScriptMinifyOptions, Yr as LazyRequire, Yt as PrerenderManager, Z as ComponentCompilerTypeReference, Zi as StencilDevServerConfig, Zn as Compiler, Zr as LoadConfigInit, Zt as PrerenderUrlResults, _ as CollectionCompilerVersion, _a as JsonDocMethodParameter, _i as OutputTargetDocsCustom, _n as SsrImgElement, _r as CompilerRequestResponse, _t as ComponentTestingConstructor, a as BuildCtx, aa as ValidatedConfig, ai as OptimizeCssOutput, an as RolldownResults, ar as CompilerEventDirAdd, at as ComponentConstructorProperties, b as CollectionDependencyManifest, ba as JsonDocsCustomState, bi as OutputTargetDocsReadme, bn as SsrStaticData, br as CompilerSystemCreateDirectoryResults, bt as CssTransformCacheEntry, c as BuildStyleUpdate, ca as WorkerMainController, ci as OutputTarget, cn as RuntimeRef, cr as CompilerEventFileDelete, ct as ComponentGlobalStyle, d as BundleModuleOutput, di as OutputTargetBaseNext, dn as SourceMap, dr as CompilerEventName, dt as ComponentRuntimeHostListener, ea as TransformOptions, ei as Logger, en as RenderNode, er as CompilerDependency, et as ComponentConstructor, f as Cache, fi as OutputTargetBuild, fn as SourceTarget, fr as CompilerFileWatcher, ft as ComponentRuntimeMember, g as CollectionCompilerMeta, gi as OutputTargetDistLazy, gn as SsrElement, gr as CompilerRequest, gt as ComponentRuntimeReflectingAttr, h as CollectionCompiler, hi as OutputTargetCustom, hn as SsrComponent, hr as CompilerFsStats, ht as ComponentRuntimeMetaCompact, i as BuildConditionals, ia as UnvalidatedConfig, ii as OptimizeCssInput, in as RolldownResultModule, ir as CompilerEventBuildStart, it as ComponentConstructorListener, j as CompilerWorkerContext, ja as JsonDocsTypeLibrary, ji as ParsedPath, jn as TypesModule, jr as ConfigCompat, jt as LazyBundleRuntimeData, k as CompilerModeStyles, ka as JsonDocsStyle, ki as OutputTargetWww, kn as TypesImportData, kr as Config, kt as JSDocTagInfo, l as BuildTask, la as WorkerOptions, li as OutputTargetAssets, ln as SerializeImportData, lr as CompilerEventFileUpdate, lt as ComponentNativeConstructor, m as CollectionBundleManifest, mi as OutputTargetCopy, mn as SsrAnchorElement, mr as CompilerFileWatcherEvent, mt as ComponentRuntimeMeta, n as AssetsMeta, na as TranspileOptions, ni as LoggerTimeSpan, nn as RolldownChunkResult, nr as CompilerEventBuildLog, nt as ComponentConstructorEncapsulation, o as BuildFeatures, oa as ValidatedOutputTargetWww, oi as OptimizeJsInput, on as RolldownSourceMap, or as CompilerEventDirDelete, ot as ComponentConstructorProperty, p as ChildType, pi as OutputTargetCollection, pn as SpecPage, pr as CompilerFileWatcherCallback, pt as ComponentRuntimeMembers, q as ComponentCompilerState, qi as SitemapXmpResults, qn as CacheStorage, qr as HydratedFlag, qt as PluginTransformResults, r as BuildComponent, ra as TranspileResults, ri as NodeResolveConfig, rn as RolldownResult, rr as CompilerEventBuildNoChange, rt as ComponentConstructorEvent, s as BuildSourceGraph, sa as WatcherCloseResults, si as OptimizeJsOutput, sn as RootAppliedStyleMap, sr as CompilerEventFileAdd, st as ComponentConstructorPropertyType, t as AnyHTMLElement, ta as TranspileOnlyResults, ti as LoggerLineUpdater, tn as RolldownAssetResult, tr as CompilerEventBuildFinish, tt as ComponentConstructorChangeHandlers, u as BundleModule, ui as OutputTargetBase, un as SerializedEvent, ur as CompilerEventFsChange, ut as ComponentPatches, v as CollectionComponentEntryPath, va as JsonDocs, vi as OutputTargetDocsCustomElementsManifest, vn as SsrResults, vr as CompilerSystem, vt as CssImportData, w as CompilerBuildStatCollection, wa as JsonDocsMethod, wi as OutputTargetSsr, wn as StyleMap, wr as CompilerSystemRemoveFileResults, wt as EventInitDict, x as CollectionManifest, xa as JsonDocsDependencyGraph, xi as OutputTargetDocsVscode, xn as SsrStyleElement, xr as CompilerSystemRealpathResults, xt as DocData, y as CollectionDependencyData, ya as JsonDocsComponent, yi as OutputTargetDocsJson, yn as SsrScriptElement, yr as CompilerSystemCreateDirectoryOptions, yt as CssToEsmImportData, z as ComponentCompilerListener, zi as ResolveModuleIdResults, zn as BuildEmitEvents, zr as DevServerEditor, zt as NodeMap } from "../index-vY35H18z.mjs";
2
2
  import ts from "typescript";
3
3
 
4
4
  //#region src/version.d.ts
@@ -1,3 +1,3 @@
1
- import { a as createPrerenderer, b as version, c as createWorkerContext, d as nodeRequire, f as optimizeCss, i as createSystem, l as createWorkerMessageHandler, m as validateConfig, 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-B3pUYg_P.mjs";
2
- import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-10UamZmn.mjs";
1
+ import { a as createPrerenderer, b as version, c as createWorkerContext, d as nodeRequire, f as optimizeCss, i as createSystem, l as createWorkerMessageHandler, m as validateConfig, 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-C0qmPoKu.mjs";
2
+ import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node--akYC-sG.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 getInlineSourceMappingUrlLinker, $o as loadTypeScriptDiagnostic, $s as SSR_WASM, Ao as isOutputTargetGlobalStyle, As as CMP_FLAGS, Ba as createJsVarName, Bo as shouldExcludeComponent, Bs as DOCS_JSON, Co as isOutputTargetDistLazy, Cs as toDashCase, Do as isOutputTargetDocsJson, Ds as formatLazyBundleRuntimeMeta, Eo as isOutputTargetDocsCustomElementsManifest, Es as formatComponentRuntimeMeta, Fo as isOutputTargetStats, Fs as CUSTOM, Ga as isJsFile, Go as catchError, Gs as GLOBAL_STYLE, Ha as getTextDocs, Ho as buildError, Hs as DOCS_VSCODE, Io as isOutputTargetTypes, Is as DEFAULT_STYLE_MODE, Ja as isTsxFile, Jo as shouldIgnoreError, Js as LISTENER_FLAGS, Ka as isJsxFile, Ko as hasError, Ks as HOST_FLAGS, La as validateComponentTag, Lo as isOutputTargetWww, Ls as DIST_LAZY, Mo as isOutputTargetSsr, Ms as COLLECTION_APP_DATA_FILE_NAME, No as isOutputTargetSsrWasm, Ns as COLLECTION_MANIFEST_FILE_NAME, Oo as isOutputTargetDocsReadme, Os as stringifyRuntimeData, Po as isOutputTargetStandalone, Ps as COPY, Qa as isRemoteUrl, Qo as augmentDiagnosticWithNode, Qs as SSR, Ra as ParsePackageJsonResult, Ro as isValidConfigOutputTarget, Rs as DOCS_CUSTOM, So as isOutputTargetCustom, Ss as toCamelCase, To as isOutputTargetDocsCustom, Ts as unique, Ua as hasDependency, Uo as buildJsonFileError, Us as EVENT_FLAGS, Va as generatePreamble, Vo as TASK_CANCELED_MSG, Vs as DOCS_README, Wa as isDtsFile, Wo as buildWarn, Ws as GENERATED_DTS, Xa as readOnlyArrayHasStringMember, Xo as normalizeDiagnostics, Xs as MEMBER_FLAGS, Ya as parsePackageJson, Yo as escapeHtml, Ys as LOADER_BUNDLE, Za as readPackageJson, Zo as splitLineBreaks, Zs as NODE_TYPES, _o as getComponentsDtsTypesFilePath, _s as isString, ac as VALID_CONFIG_OUTPUT_TARGETS, ao as queryNonceMetaTagContent, as as isGlob, bo as isOutputTargetCollection, bs as pluck, cc as XLINK_NS, co as normalizeFsPath, cs as flatOne, do as relative, ds as isComplexType, ec as STANDALONE, eo as getSourceMappingUrlForEndOfFile, es as loadTypeScriptDiagnostics, fo as resolve, fs as isDef, go as getComponentsDtsSrcFilePath, gs as isObject, ho as filterExcludedComponents, hs as isNumber, ic as TYPES, io as escapeRegExpSpecialCharacters, is as isRootPath, jo as isOutputTargetLoaderBundle, js as COLLECTION, ko as isOutputTargetDocsVscode, ks as ASSETS, lc as byteSize, lo as normalizeFsPathQuery, ls as fromEntries, mo as filterActiveTargets, ms as isIterable, nc as STYLE_EXT, no as rolldownToStencilSourceMap, ns as isRolldownError, oc as WATCH_FLAGS, oo as join, os as dashToPascalCase, po as FilterComponentsResult, ps as isFunction, qa as isTsFile, qo as hasWarning, qs as HTML_NS, rc as SVG_NS, ro as result_d_exports, rs as loadRolldownDiagnostics, sc as WWW, so as normalize, ss as escapeWithPattern, tc as STATS, to as getSourceMappingUrlLinker, ts as createOnWarnFn, uo as normalizePath, us as isBoolean, vo as getComponentsFromModules, vs as mergeIntoWith, wo as isOutputTargetDocs, ws as toTitleCase, xo as isOutputTargetCopy, xs as sortBy, yo as isOutputTargetAssets, ys as noop, za as addDocBlock, zo as relativeImport, zs as DOCS_CUSTOM_ELEMENTS_MANIFEST } from "../../index-CVhWFUM0.mjs";
1
+ import { $a as getInlineSourceMappingUrlLinker, $o as loadTypeScriptDiagnostic, $s as SSR_WASM, Ao as isOutputTargetGlobalStyle, As as CMP_FLAGS, Ba as createJsVarName, Bo as shouldExcludeComponent, Bs as DOCS_JSON, Co as isOutputTargetDistLazy, Cs as toDashCase, Do as isOutputTargetDocsJson, Ds as formatLazyBundleRuntimeMeta, Eo as isOutputTargetDocsCustomElementsManifest, Es as formatComponentRuntimeMeta, Fo as isOutputTargetStats, Fs as CUSTOM, Ga as isJsFile, Go as catchError, Gs as GLOBAL_STYLE, Ha as getTextDocs, Ho as buildError, Hs as DOCS_VSCODE, Io as isOutputTargetTypes, Is as DEFAULT_STYLE_MODE, Ja as isTsxFile, Jo as shouldIgnoreError, Js as LISTENER_FLAGS, Ka as isJsxFile, Ko as hasError, Ks as HOST_FLAGS, La as validateComponentTag, Lo as isOutputTargetWww, Ls as DIST_LAZY, Mo as isOutputTargetSsr, Ms as COLLECTION_APP_DATA_FILE_NAME, No as isOutputTargetSsrWasm, Ns as COLLECTION_MANIFEST_FILE_NAME, Oo as isOutputTargetDocsReadme, Os as stringifyRuntimeData, Po as isOutputTargetStandalone, Ps as COPY, Qa as isRemoteUrl, Qo as augmentDiagnosticWithNode, Qs as SSR, Ra as ParsePackageJsonResult, Ro as isValidConfigOutputTarget, Rs as DOCS_CUSTOM, So as isOutputTargetCustom, Ss as toCamelCase, To as isOutputTargetDocsCustom, Ts as unique, Ua as hasDependency, Uo as buildJsonFileError, Us as EVENT_FLAGS, Va as generatePreamble, Vo as TASK_CANCELED_MSG, Vs as DOCS_README, Wa as isDtsFile, Wo as buildWarn, Ws as GENERATED_DTS, Xa as readOnlyArrayHasStringMember, Xo as normalizeDiagnostics, Xs as MEMBER_FLAGS, Ya as parsePackageJson, Yo as escapeHtml, Ys as LOADER_BUNDLE, Za as readPackageJson, Zo as splitLineBreaks, Zs as NODE_TYPES, _o as getComponentsDtsTypesFilePath, _s as isString, ac as VALID_CONFIG_OUTPUT_TARGETS, ao as queryNonceMetaTagContent, as as isGlob, bo as isOutputTargetCollection, bs as pluck, cc as XLINK_NS, co as normalizeFsPath, cs as flatOne, do as relative, ds as isComplexType, ec as STANDALONE, eo as getSourceMappingUrlForEndOfFile, es as loadTypeScriptDiagnostics, fo as resolve, fs as isDef, go as getComponentsDtsSrcFilePath, gs as isObject, ho as filterExcludedComponents, hs as isNumber, ic as TYPES, io as escapeRegExpSpecialCharacters, is as isRootPath, jo as isOutputTargetLoaderBundle, js as COLLECTION, ko as isOutputTargetDocsVscode, ks as ASSETS, lc as byteSize, lo as normalizeFsPathQuery, ls as fromEntries, mo as filterActiveTargets, ms as isIterable, nc as STYLE_EXT, no as rolldownToStencilSourceMap, ns as isRolldownError, oc as WATCH_FLAGS, oo as join, os as dashToPascalCase, po as FilterComponentsResult, ps as isFunction, qa as isTsFile, qo as hasWarning, qs as HTML_NS, rc as SVG_NS, ro as result_d_exports, rs as loadRolldownDiagnostics, sc as WWW, so as normalize, ss as escapeWithPattern, tc as STATS, to as getSourceMappingUrlLinker, ts as createOnWarnFn, uo as normalizePath, us as isBoolean, vo as getComponentsFromModules, vs as mergeIntoWith, wo as isOutputTargetDocs, ws as toTitleCase, xo as isOutputTargetCopy, xs as sortBy, yo as isOutputTargetAssets, ys as noop, za as addDocBlock, zo as relativeImport, zs as DOCS_CUSTOM_ELEMENTS_MANIFEST } from "../../index-vY35H18z.mjs";
2
2
  export { ASSETS, CMP_FLAGS, COLLECTION, COLLECTION_APP_DATA_FILE_NAME, COLLECTION_MANIFEST_FILE_NAME, COPY, CUSTOM, DEFAULT_STYLE_MODE, DIST_LAZY, DOCS_CUSTOM, DOCS_CUSTOM_ELEMENTS_MANIFEST, DOCS_JSON, DOCS_README, DOCS_VSCODE, EVENT_FLAGS, FilterComponentsResult, GENERATED_DTS, GLOBAL_STYLE, HOST_FLAGS, HTML_NS, LISTENER_FLAGS, LOADER_BUNDLE, MEMBER_FLAGS, NODE_TYPES, ParsePackageJsonResult, 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, getSourceMappingUrlForEndOfFile, getSourceMappingUrlLinker, getTextDocs, hasDependency, hasError, hasWarning, isBoolean, isComplexType, isDef, isDtsFile, isFunction, isGlob, isIterable, isJsFile, isJsxFile, isNumber, isObject, isOutputTargetAssets, isOutputTargetCollection, isOutputTargetCopy, isOutputTargetCustom, isOutputTargetDistLazy, isOutputTargetDocs, isOutputTargetDocsCustom, isOutputTargetDocsCustomElementsManifest, isOutputTargetDocsJson, isOutputTargetDocsReadme, isOutputTargetDocsVscode, isOutputTargetGlobalStyle, isOutputTargetLoaderBundle, 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, resolve, result_d_exports as result, rolldownToStencilSourceMap, shouldExcludeComponent, shouldIgnoreError, sortBy, splitLineBreaks, stringifyRuntimeData, toCamelCase, toDashCase, toTitleCase, unique, validateComponentTag };
@@ -1,8 +1,8 @@
1
1
  import { n as __require } from "./chunk-z9aeyW2b.mjs";
2
- import { D as HYDRATED_CSS, p as scopeCss } from "./client-Dd-NB5Ei.mjs";
2
+ import { O as HYDRATED_CSS, f as scopeCss } from "./client-aTQ7xHxx.mjs";
3
3
  import { $ as VALID_CONFIG_OUTPUT_TARGETS, C as ASSETS, D as COLLECTION_MANIFEST_FILE_NAME, E as COLLECTION_APP_DATA_FILE_NAME, F as DOCS_README, J as STANDALONE, L as EVENT_FLAGS, O as COPY, P as DOCS_JSON, Q as TYPES, R as GENERATED_DTS, T as COLLECTION, U as LOADER_BUNDLE, X as STYLE_EXT, Y as STATS, _ as sortBy, a as fromEntries, b as toTitleCase, d as isNumber$1, et as WATCH_FLAGS, f as isObject, h as noop, i as flatOne, j as DIST_LAZY, l as isFunction, m as mergeIntoWith, n as dashToPascalCase, o as isBoolean$1, p as isString$1, u as isIterable, x as unique, y as toDashCase, z as GLOBAL_STYLE } from "./regular-expression-CFVJOTUh.mjs";
4
4
  import { $ as loadTypeScriptDiagnostics, A as isOutputTargetCollection, B as isOutputTargetGlobalStyle, Ct as formatComponentRuntimeMeta, E as getComponentsDtsSrcFilePath, Et as byteSize, F as isOutputTargetDocsCustom, G as isOutputTargetStats, H as isOutputTargetSsr, I as isOutputTargetDocsCustomElementsManifest, J as isValidConfigOutputTarget, K as isOutputTargetTypes, L as isOutputTargetDocsJson, M as isOutputTargetCustom, N as isOutputTargetDistLazy, O as getComponentsFromModules, P as isOutputTargetDocs, Q as loadTypeScriptDiagnostic, R as isOutputTargetDocsReadme, S as ok, St as isGlob, T as filterExcludedComponents, Tt as stringifyRuntimeData, U as isOutputTargetSsrWasm, V as isOutputTargetLoaderBundle, W as isOutputTargetStandalone, Y as relativeImport, Z as augmentDiagnosticWithNode, _ as getSourceMappingUrlForEndOfFile, _t as catchError, a as getTextDocs, at as relative$1, b as err, ct as isRolldownError, d as isTsxFile, dt as normalizeDiagnostics, et as join$2, f as parsePackageJson, ft as splitLineBreaks, g as getInlineSourceMappingUrlLinker, gt as buildWarn, h as isRemoteUrl, ht as buildJsonFileError, i as generatePreamble, it as normalizePath, j as isOutputTargetCopy, k as isOutputTargetAssets, lt as loadRolldownDiagnostics, m as readPackageJson, mt as buildError, n as addDocBlock, nt as normalizeFsPath, o as hasDependency, ot as resolve$2, p as readOnlyArrayHasStringMember, q as isOutputTargetWww, r as createJsVarName, rt as normalizeFsPathQuery, s as isDtsFile, st as createOnWarnFn, t as validateComponentTag, u as isTsFile, vt as hasError, w as filterActiveTargets, x as map, xt as isRootPath, y as rolldownToStencilSourceMap, yt as hasWarning, z as isOutputTargetDocsVscode } from "./validation-ByxKj8bC.mjs";
5
- import { i as CustomElementsExportBehaviorOptions, o as buildEvents, r as createNodeLogger, t as createNodeSys } from "./node-10UamZmn.mjs";
5
+ import { i as CustomElementsExportBehaviorOptions, o as buildEvents, r as createNodeLogger, t as createNodeSys } from "./node--akYC-sG.mjs";
6
6
  import ts, { default as ts$1 } from "typescript";
7
7
  import { readFileSync } from "node:fs";
8
8
  import { basename, dirname, isAbsolute, join, resolve } from "node:path";
@@ -28,8 +28,8 @@ import { createJiti } from "jiti";
28
28
  import * as process$1 from "process";
29
29
  import { dataToEsm } from "@rollup/pluginutils";
30
30
  //#region src/version.ts
31
- const version = "5.0.0-alpha.8";
32
- const buildId = "1781306567";
31
+ const version = "5.0.0-alpha.9";
32
+ const buildId = "1782143873";
33
33
  const vermoji = "❓";
34
34
  /**
35
35
  * Get the installed version of a tool/dependency.
@@ -3093,7 +3093,7 @@ const removeCollectionImports = (compilerCtx) => {
3093
3093
  //#region src/compiler/bundle/entry-alias-ids.ts
3094
3094
  const STENCIL_CORE_ID = "@stencil/core";
3095
3095
  const STENCIL_INTERNAL_ID = "@stencil/core/runtime";
3096
- const STENCIL_APP_GLOBALS_ID = "@stencil/core/runtime/app-globals";
3096
+ const STENCIL_APP_GLOBALS_ID = "@stencil/core/app-globals";
3097
3097
  const STENCIL_SSR_FACTORY_ID = "@stencil/core/runtime/server/ssr-factory";
3098
3098
  const STENCIL_INTERNAL_STANDALONE_CLIENT_PLATFORM_ID = "@stencil/core/runtime/client/standalone";
3099
3099
  const STENCIL_INTERNAL_LAZY_CLIENT_PLATFORM_ID = "@stencil/core/runtime/client/lazy";
@@ -3120,9 +3120,9 @@ const appDataPlugin = (config, compilerCtx, buildCtx, buildConditionals, platfor
3120
3120
  return {
3121
3121
  name: "appDataPlugin",
3122
3122
  resolveId: {
3123
- filter: { id: /^@stencil\/core\/runtime\/app-(data|globals)$/ },
3123
+ filter: { id: /^@stencil\/core\/app-(data|globals)$/ },
3124
3124
  handler(id, importer) {
3125
- if (id === "@stencil/core/runtime/app-data" || id === "@stencil/core/runtime/app-globals") {
3125
+ if (id === "@stencil/core/app-data" || id === "@stencil/core/app-globals") {
3126
3126
  if (platform === "worker") this.error("@stencil/core packages cannot be imported from a worker.");
3127
3127
  return id;
3128
3128
  }
@@ -3130,13 +3130,13 @@ const appDataPlugin = (config, compilerCtx, buildCtx, buildConditionals, platfor
3130
3130
  }
3131
3131
  },
3132
3132
  async load(id) {
3133
- if (id === "@stencil/core/runtime/app-globals") {
3133
+ if (id === "@stencil/core/app-globals") {
3134
3134
  const s = new MagicString(``);
3135
3135
  appendGlobalScripts(globalScripts, s);
3136
3136
  await appendGlobalStyles(config, compilerCtx, buildCtx, s, platform);
3137
3137
  return s.toString();
3138
3138
  }
3139
- if (id === "@stencil/core/runtime/app-data") {
3139
+ if (id === "@stencil/core/app-data") {
3140
3140
  const s = new MagicString(``);
3141
3141
  appendNamespace(config, s);
3142
3142
  appendBuildConditionals(config, buildConditionals, s);
@@ -10469,7 +10469,7 @@ const generateSsrApp = async (config, compilerCtx, buildCtx, outputTargets) => {
10469
10469
  filter: { id: /^@stencil\/core\/runtime\/(server\/ssr-factory|app-data)$/ },
10470
10470
  handler(id) {
10471
10471
  if (id === "@stencil/core/runtime/server/ssr-factory") return STENCIL_SSR_FACTORY_ID;
10472
- if (id === "@stencil/core/runtime/app-data") return appData;
10472
+ if (id === "@stencil/core/app-data") return appData;
10473
10473
  return null;
10474
10474
  }
10475
10475
  },
@@ -10603,7 +10603,7 @@ const generateSsrWasmApp = async (config, compilerCtx, buildCtx, outputTargets)
10603
10603
  filter: { id: /^@stencil\/core\/runtime\/(server\/ssr-factory|app-data)$/ },
10604
10604
  handler(id) {
10605
10605
  if (id === "@stencil/core/runtime/server/ssr-factory") return STENCIL_SSR_FACTORY_ID;
10606
- if (id === "@stencil/core/runtime/app-data") return appData;
10606
+ if (id === "@stencil/core/app-data") return appData;
10607
10607
  return null;
10608
10608
  }
10609
10609
  },
@@ -12821,13 +12821,14 @@ const parseElementDecorator = (prop, decoratorName) => {
12821
12821
  };
12822
12822
  //#endregion
12823
12823
  //#region src/compiler/transformers/decorators-to-static/event-decorator.ts
12824
- const eventDecoratorsToStatic = (diagnostics, decoratedProps, typeChecker, program, newMembers, decoratorName) => {
12825
- const events = decoratedProps.filter(ts.isPropertyDeclaration).map((prop) => parseEventDecorator(diagnostics, typeChecker, program, prop, decoratorName)).filter((ev) => !!ev);
12824
+ const eventDecoratorsToStatic = (config, diagnostics, decoratedProps, typeChecker, program, newMembers, decoratorName) => {
12825
+ const events = decoratedProps.filter(ts.isPropertyDeclaration).map((prop) => parseEventDecorator(config, diagnostics, typeChecker, program, prop, decoratorName)).filter((ev) => !!ev);
12826
12826
  if (events.length > 0) newMembers.push(createStaticGetter("events", convertValueToLiteral(events)));
12827
12827
  };
12828
12828
  /**
12829
12829
  * Parse a single instance of Stencil's `@Event()` decorator and generate metadata for the class member that is
12830
12830
  * decorated
12831
+ * @param config a user-supplied Stencil config
12831
12832
  * @param diagnostics a list of diagnostics used as a part of the parsing process. Any parse errors/warnings shall be
12832
12833
  * added to this collection
12833
12834
  * @param typeChecker an instance of the TypeScript type checker, used to generate information about the `@Event()` and
@@ -12837,7 +12838,7 @@ const eventDecoratorsToStatic = (diagnostics, decoratedProps, typeChecker, progr
12837
12838
  * @param decoratorName the name of the decorator to look for
12838
12839
  * @returns generated metadata for the class member decorated by `@Event()`, or `null` if none could be derived
12839
12840
  */
12840
- const parseEventDecorator = (diagnostics, typeChecker, program, prop, decoratorName) => {
12841
+ const parseEventDecorator = (config, diagnostics, typeChecker, program, prop, decoratorName) => {
12841
12842
  const eventDecorator = retrieveTsDecorators(prop)?.find(isDecoratorNamed(decoratorName));
12842
12843
  if (eventDecorator == null) return null;
12843
12844
  const memberName = prop.name.getText();
@@ -12845,7 +12846,7 @@ const parseEventDecorator = (diagnostics, typeChecker, program, prop, decoratorN
12845
12846
  const [eventOpts] = getDecoratorParameters(eventDecorator, typeChecker, diagnostics);
12846
12847
  const symbol = typeChecker.getSymbolAtLocation(prop.name);
12847
12848
  const eventName = getEventName(eventOpts, memberName);
12848
- validateEventName(diagnostics, prop.name, eventName);
12849
+ validateEventName(config, diagnostics, prop.name, eventName);
12849
12850
  return {
12850
12851
  method: memberName,
12851
12852
  name: eventName,
@@ -12891,12 +12892,13 @@ const getEventType = (type) => {
12891
12892
  *
12892
12893
  * This function assumes that the name of the event has been determined prior to calling it
12893
12894
  *
12895
+ * @param config a user-supplied Stencil config
12894
12896
  * @param diagnostics a list of diagnostics used as a part of the validation process. Any parse errors/warnings shall be
12895
12897
  * added to this collection
12896
- * @param node the node in the AT containing the class member decorated with `@Event()`
12898
+ * @param node the node in the AST containing the class member decorated with `@Event()`
12897
12899
  * @param eventName the name of the event
12898
12900
  */
12899
- const validateEventName = (diagnostics, node, eventName) => {
12901
+ const validateEventName = (config, diagnostics, node, eventName) => {
12900
12902
  if (/^[A-Z]/.test(eventName)) {
12901
12903
  const diagnostic = buildWarn(diagnostics);
12902
12904
  diagnostic.messageText = [
@@ -12913,7 +12915,7 @@ const validateEventName = (diagnostics, node, eventName) => {
12913
12915
  augmentDiagnosticWithNode(warn, node);
12914
12916
  return;
12915
12917
  }
12916
- if (DOM_EVENT_NAMES.has(eventName.toLowerCase())) {
12918
+ if (!config.suppressReservedEventNameWarnings && DOM_EVENT_NAMES.has(eventName.toLowerCase())) {
12917
12919
  const diagnostic = buildWarn(diagnostics);
12918
12920
  diagnostic.messageText = `The event name conflicts with the "${eventName}" native DOM event name.`;
12919
12921
  augmentDiagnosticWithNode(diagnostic, node);
@@ -13701,14 +13703,14 @@ const parsePropDecorator = (config, diagnostics, typeChecker, program, prop, dec
13701
13703
  propMeta.reflect = explicitReflect === null ? foundSerializer : explicitReflect;
13702
13704
  }
13703
13705
  if (typeStr !== "unknown" || propMeta.reflect || foundDeserializer) propMeta.attribute = getAttributeName(propName, propOptions);
13704
- if (ts.isPropertyDeclaration(prop) && prop.initializer) propMeta.defaultValue = prop.initializer.getText();
13706
+ if (ts.isPropertyDeclaration(prop) && prop.initializer) propMeta.defaultValue = resolveInitializerText(prop.initializer, typeChecker);
13705
13707
  else if (ts.isGetAccessorDeclaration(prop)) {
13706
13708
  const returnExpression = (prop.body?.statements.find((st) => ts.isReturnStatement(st))).expression;
13707
13709
  if (returnExpression && ts.isLiteralExpression(returnExpression)) propMeta.defaultValue = returnExpression.getText();
13708
13710
  else if (returnExpression && ts.isPropertyAccessExpression(returnExpression)) {
13709
13711
  const foundProp = findGetProp(returnExpression.name.getText(), newMembers);
13710
13712
  if (foundProp && foundProp.initializer) {
13711
- propMeta.defaultValue = foundProp.initializer.getText();
13713
+ propMeta.defaultValue = resolveInitializerText(foundProp.initializer, typeChecker);
13712
13714
  if (propMeta.type === "unknown") {
13713
13715
  const foundType = typeChecker.getTypeAtLocation(foundProp);
13714
13716
  propMeta.type = propTypeFromTSType(foundType);
@@ -13846,6 +13848,143 @@ const findSetter = (propName, members) => {
13846
13848
  const findGetProp = (propName, members) => {
13847
13849
  return members.find((m) => ts.isPropertyDeclaration(m) && m.name.getText() === propName);
13848
13850
  };
13851
+ /**
13852
+ * Maximum number of hops to follow when traversing variable references to
13853
+ * resolve an initializer to its literal value. With the guards below
13854
+ * (`depth > MAX_RESOLVE_DEPTH`), a chain of up to this many `const` / property
13855
+ * follows is supported before bailing out; any deeper chain falls back to the
13856
+ * original source text. Prevents pathological / cyclic chains from blowing the
13857
+ * stack.
13858
+ */
13859
+ const MAX_RESOLVE_DEPTH = 5;
13860
+ /**
13861
+ * Resolves the text representation of a `@Prop` initializer expression. Where possible,
13862
+ * variable / object-property references are followed to their underlying literal value
13863
+ * so that generated documentation (e.g. `@ionic/docs`) shows the real default rather
13864
+ * than the variable name from source. Any expression that cannot be resolved to a
13865
+ * primitive literal falls back to the original source text — preserving previous
13866
+ * behavior for cases that are not safe to evaluate at compile time.
13867
+ * @param node the initializer expression to resolve
13868
+ * @param typeChecker the TypeScript type checker, used to resolve identifiers to their declarations and initializers
13869
+ * @returns the resolved initializer text, or the original source text if it cannot be resolved to a literal
13870
+ */
13871
+ const resolveInitializerText = (node, typeChecker) => {
13872
+ return resolveLiteralText(node, typeChecker, 0) ?? node.getText();
13873
+ };
13874
+ const resolveLiteralText = (node, typeChecker, depth) => {
13875
+ if (depth > MAX_RESOLVE_DEPTH) return;
13876
+ node = unwrapValuePreservingWrappers(node);
13877
+ if (isPrimitiveLiteral(node)) return node.getText();
13878
+ if (ts.isObjectLiteralExpression(node) || ts.isArrayLiteralExpression(node)) return node.getText();
13879
+ if (ts.isIdentifier(node)) {
13880
+ const init = getConstVariableInitializer(node, typeChecker);
13881
+ if (init) return resolveLiteralText(init, typeChecker, depth + 1);
13882
+ if (node.text === "undefined") return "undefined";
13883
+ return;
13884
+ }
13885
+ if (ts.isPropertyAccessExpression(node)) {
13886
+ const obj = resolveObjectLiteral(node.expression, typeChecker, depth + 1);
13887
+ const prop = obj && findObjectLiteralMember(obj, node.name.text, typeChecker);
13888
+ return prop ? resolveLiteralText(prop, typeChecker, depth + 1) : void 0;
13889
+ }
13890
+ if (ts.isElementAccessExpression(node)) {
13891
+ const arg = unwrapValuePreservingWrappers(node.argumentExpression);
13892
+ let key;
13893
+ if (ts.isStringLiteralLike(arg)) key = arg.text;
13894
+ else if (ts.isNumericLiteral(arg)) key = arg.text;
13895
+ if (key === void 0) return;
13896
+ const obj = resolveObjectLiteral(node.expression, typeChecker, depth + 1);
13897
+ const prop = obj && findObjectLiteralMember(obj, key, typeChecker);
13898
+ return prop ? resolveLiteralText(prop, typeChecker, depth + 1) : void 0;
13899
+ }
13900
+ };
13901
+ /**
13902
+ * Strips value-preserving wrappers so callers can pattern-match the underlying
13903
+ * expression: `'x' as const`, `('x')`, `<T>x`, `x satisfies T`, `x!`.
13904
+ * @param node the expression to unwrap
13905
+ * @returns the unwrapped expression
13906
+ */
13907
+ const unwrapValuePreservingWrappers = (node) => {
13908
+ while (ts.isAsExpression(node) || ts.isParenthesizedExpression(node) || ts.isTypeAssertionExpression(node) || ts.isSatisfiesExpression(node) || ts.isNonNullExpression(node)) node = node.expression;
13909
+ return node;
13910
+ };
13911
+ const isPrimitiveLiteral = (node) => {
13912
+ return ts.isStringLiteralLike(node) || ts.isNumericLiteral(node) || isSignedNumericLiteral(node) || node.kind === ts.SyntaxKind.TrueKeyword || node.kind === ts.SyntaxKind.FalseKeyword || node.kind === ts.SyntaxKind.NullKeyword;
13913
+ };
13914
+ /**
13915
+ * TypeScript represents `-1` / `+1` as a `PrefixUnaryExpression` wrapping a
13916
+ * numeric literal — not as a `NumericLiteral` directly. Treat the (+|-)number
13917
+ * shape as a primitive literal so signed numeric defaults inline cleanly.
13918
+ * @param node the expression to check
13919
+ * @returns `true` if the expression is a signed numeric literal, `false` otherwise
13920
+ */
13921
+ const isSignedNumericLiteral = (node) => {
13922
+ return ts.isPrefixUnaryExpression(node) && (node.operator === ts.SyntaxKind.MinusToken || node.operator === ts.SyntaxKind.PlusToken) && ts.isNumericLiteral(node.operand);
13923
+ };
13924
+ /**
13925
+ * Walks a Symbol to the initializer expression of its underlying `const`
13926
+ * variable declaration, unwrapping import aliases along the way. Returns the
13927
+ * initializer as-is regardless of its shape — the caller is responsible for
13928
+ * deciding whether the expression is something it can resolve further (e.g.
13929
+ * a primitive literal, a nested const reference, an object literal, etc.).
13930
+ * Returns undefined for anything that isn't a `const` binding with an
13931
+ * initializer. Only `const` declarations are followed because `let` / `var`
13932
+ * bindings may be reassigned and so are not safe to inline at compile time.
13933
+ * @param symbol the symbol to resolve to a `const` initializer
13934
+ * @param typeChecker the TypeScript type checker, used to resolve symbols and their declarations
13935
+ * @returns the initializer expression of the `const` declaration underlying the symbol, or `undefined` if it cannot be resolved to a `const` initializer
13936
+ */
13937
+ const resolveConstSymbolInitializer = (symbol, typeChecker) => {
13938
+ if (symbol && (symbol.flags & ts.SymbolFlags.Alias) !== 0) symbol = typeChecker.getAliasedSymbol(symbol);
13939
+ const decl = symbol?.declarations?.find(ts.isVariableDeclaration);
13940
+ if (!decl || !decl.initializer) return;
13941
+ const list = decl.parent;
13942
+ if (!ts.isVariableDeclarationList(list) || (list.flags & ts.NodeFlags.Const) === 0) return;
13943
+ return decl.initializer;
13944
+ };
13945
+ const getConstVariableInitializer = (node, typeChecker) => {
13946
+ return resolveConstSymbolInitializer(typeChecker.getSymbolAtLocation(node), typeChecker);
13947
+ };
13948
+ /**
13949
+ * Resolves an expression to an object literal, walking through value-preserving
13950
+ * wrappers (`as const`, `(...)`, etc.) and chained `const` identifier
13951
+ * references. Bounded by `MAX_RESOLVE_DEPTH` so cyclic or pathological chains
13952
+ * cannot blow the stack.
13953
+ * @param node the expression to resolve
13954
+ * @param typeChecker the TypeScript type checker, used to resolve identifiers to their declarations and initializers
13955
+ * @param depth the current recursion depth. Callers should pass `0` when invoking this function.
13956
+ * @returns the resolved object literal expression, or `undefined` if it cannot be resolved to an object literal
13957
+ */
13958
+ const resolveObjectLiteral = (node, typeChecker, depth) => {
13959
+ if (depth > MAX_RESOLVE_DEPTH) return;
13960
+ node = unwrapValuePreservingWrappers(node);
13961
+ if (ts.isObjectLiteralExpression(node)) return node;
13962
+ if (ts.isIdentifier(node)) {
13963
+ const init = getConstVariableInitializer(node, typeChecker);
13964
+ if (init) return resolveObjectLiteral(init, typeChecker, depth + 1);
13965
+ }
13966
+ };
13967
+ const findObjectLiteralMember = (obj, name, typeChecker) => {
13968
+ for (const member of obj.properties) {
13969
+ if (ts.isPropertyAssignment(member)) {
13970
+ if (getPropertyNameText(member.name) === name) return member.initializer;
13971
+ continue;
13972
+ }
13973
+ if (ts.isShorthandPropertyAssignment(member) && member.name.text === name) return resolveConstSymbolInitializer(typeChecker.getShorthandAssignmentValueSymbol(member), typeChecker);
13974
+ }
13975
+ };
13976
+ /**
13977
+ * Returns the static text of an object-literal property name. Computed property
13978
+ * names (`{ [key]: 'v' }`) are intentionally unsupported and return `undefined`:
13979
+ * resolving them would require evaluating an arbitrary expression at compile
13980
+ * time, so the caller correctly falls back to the original source text instead.
13981
+ * @param name the property name to resolve
13982
+ * @returns the static text of the property name, or `undefined` if it cannot be determined
13983
+ */
13984
+ const getPropertyNameText = (name) => {
13985
+ if (ts.isIdentifier(name) || ts.isPrivateIdentifier(name)) return name.text;
13986
+ if (ts.isStringLiteralLike(name) || ts.isNumericLiteral(name)) return name.text;
13987
+ };
13849
13988
  //#endregion
13850
13989
  //#region src/compiler/transformers/decorators-to-static/serialize-decorators.ts
13851
13990
  const serializeDecoratorsToStatic = (typeChecker, decoratedProps, newMembers, decoratorName, translateType, propDecoratorName) => {
@@ -14002,7 +14141,7 @@ const visitClassDeclaration = (config, diagnostics, typeChecker, program, classN
14002
14141
  const deserializers = serializeDecoratorsToStatic(typeChecker, decoratedMembers, filteredMethodsAndFields, importAliasMap.get("AttrDeserialize"), "AttrDeserialize", importAliasMap.get("Prop"));
14003
14142
  propDecoratorsToStatic(config, diagnostics, decoratedMembers, typeChecker, program, filteredMethodsAndFields, importAliasMap.get("Prop"), serializers, deserializers);
14004
14143
  stateDecoratorsToStatic(decoratedMembers, filteredMethodsAndFields, typeChecker, importAliasMap.get("State"));
14005
- eventDecoratorsToStatic(diagnostics, decoratedMembers, typeChecker, program, filteredMethodsAndFields, importAliasMap.get("Event"));
14144
+ eventDecoratorsToStatic(config, diagnostics, decoratedMembers, typeChecker, program, filteredMethodsAndFields, importAliasMap.get("Event"));
14006
14145
  methodDecoratorsToStatic(config, diagnostics, classNode, decoratedMembers, typeChecker, program, filteredMethodsAndFields, importAliasMap.get("Method"));
14007
14146
  elementDecoratorsToStatic(diagnostics, decoratedMembers, filteredMethodsAndFields, importAliasMap.get("Element"));
14008
14147
  watchDecoratorsToStatic(typeChecker, decoratedMembers, filteredMethodsAndFields, importAliasMap.get("Watch"));
@@ -18772,6 +18911,7 @@ const validateConfig = (userConfig = {}, bootstrapConfig) => {
18772
18911
  setBooleanConfig(validatedConfig, "validateTypes", !validatedConfig._isTesting);
18773
18912
  setBooleanConfig(validatedConfig, "allowInlineScripts", true);
18774
18913
  setBooleanConfig(validatedConfig, "suppressReservedPublicNameWarnings", false);
18914
+ setBooleanConfig(validatedConfig, "suppressReservedEventNameWarnings", false);
18775
18915
  if (!isString$1(validatedConfig.taskQueue)) validatedConfig.taskQueue = "async";
18776
18916
  if (!validatedConfig.env) validatedConfig.env = {};
18777
18917
  validateOutputTargets(validatedConfig, diagnostics);
@@ -1812,6 +1812,10 @@ interface StencilConfig {
1812
1812
  * (for example, decorating a method named `focus` with `@Method()`). Defaults to `false`.
1813
1813
  */
1814
1814
  suppressReservedPublicNameWarnings?: boolean;
1815
+ /**
1816
+ * When `true`, Stencil will suppress diagnostics which warn about event names conflicting with native DOM event names. Defaults to `false`.
1817
+ */
1818
+ suppressReservedEventNameWarnings?: boolean;
1815
1819
  /**
1816
1820
  * Passes custom configuration down to the "@rolldown/plugin-node-resolve" that Stencil uses under the hood.
1817
1821
  * For further information: https://stenciljs.com/docs/module-bundling
@@ -1,4 +1,4 @@
1
- import { Et as HostElement, cn as RuntimeRef, da as FunctionalComponent, fa as RafCallback, ga as VNode, ha as UserBuildConditionals, ma as TagTransformer, p as ChildType, pa as ResolutionHandler, ua as ErrorHandler } from "./index-CVhWFUM0.mjs";
1
+ import { Et as HostElement, cn as RuntimeRef, da as FunctionalComponent, fa as RafCallback, ga as VNode, ha as UserBuildConditionals, ma as TagTransformer, p as ChildType, pa as ResolutionHandler, ua as ErrorHandler } from "./index-vY35H18z.mjs";
2
2
 
3
3
  //#region src/client/client-build.d.ts
4
4
  declare const Build: UserBuildConditionals;
@@ -1865,6 +1865,10 @@ interface StencilConfig {
1865
1865
  * (for example, decorating a method named `focus` with `@Method()`). Defaults to `false`.
1866
1866
  */
1867
1867
  suppressReservedPublicNameWarnings?: boolean;
1868
+ /**
1869
+ * When `true`, Stencil will suppress diagnostics which warn about event names conflicting with native DOM event names. Defaults to `false`.
1870
+ */
1871
+ suppressReservedEventNameWarnings?: boolean;
1868
1872
  /**
1869
1873
  * Passes custom configuration down to the "@rolldown/plugin-node-resolve" that Stencil uses under the hood.
1870
1874
  * For further information: https://stenciljs.com/docs/module-bundling
@@ -1929,7 +1929,7 @@ type ChildType = VNode | number | string;
1929
1929
  * }
1930
1930
  * ```
1931
1931
  *
1932
- * `virtual:app-data`, the module that `BUILD` is imported from, is an alias for the `@stencil/core/runtime/app-data`, and is
1932
+ * `virtual:app-data`, the module that `BUILD` is imported from, is an alias for `@stencil/core/app-data`, and is
1933
1933
  * partially referenced by {@link STENCIL_APP_DATA_ID}. The `src/compiler/bundle/app-data-plugin.ts` references
1934
1934
  * `STENCIL_APP_DATA_ID` uses it to replace these defaults with {@link BuildConditionals} that are derived from a
1935
1935
  * Stencil project's contents (i.e. metadata from the components). This replacement happens at a Stencil project's
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { A as AttachInternals, B as Watch, C as setAssetPath, E as setPlatformHelpers, F as Listen, H as Build, I as Method, L as Prop, M as Component, N as Element, O as setErrorHandler, P as Event, R as PropSerialize, S as getAssetPath, T as writeTask, V as resolveVar, _ as getRenderingRef, a as setTagTransformer, b as getElement, c as Mixin, d as getMode, f as setMode, g as forceUpdate, h, j as AttrDeserialize, l as Fragment, m as Host, o as transformTag, s as render, w as readTask, x as getShadowRoot, z as State } from "./client-Dd-NB5Ei.mjs";
1
+ import { B as Event, C as setAssetPath, E as setPlatformHelpers, G as State, H as Method, I as AttachInternals, J as Build, K as Watch, L as AttrDeserialize, N as setErrorHandler, R as Component, S as getAssetPath, T as writeTask, U as Prop, V as Listen, W as PropSerialize, a as transformTag, b as getElement, c as Fragment, d as setMode, g as getRenderingRef, h as forceUpdate, i as setTagTransformer, m as h, o as render, p as Host, q as resolveVar, s as Mixin, u as getMode, w as readTask, x as getShadowRoot, z as Element } from "./client-aTQ7xHxx.mjs";
2
2
  export { AttachInternals, AttrDeserialize, Build, Component, Element, Event, Fragment, Host, Listen, Method, Mixin, Prop, PropSerialize, State, Watch, forceUpdate, getAssetPath, getElement, getMode, getRenderingRef, getShadowRoot, h, readTask, render, resolveVar, setAssetPath, setErrorHandler, setMode, setPlatformHelpers, setTagTransformer, transformTag, writeTask };
@@ -1,2 +1,2 @@
1
- import { i as jsxs, l as Fragment, n as jsx, r as jsxDEV } from "./client-Dd-NB5Ei.mjs";
1
+ import { c as Fragment, n as jsxDEV, r as jsxs, t as jsx } from "./client-aTQ7xHxx.mjs";
2
2
  export { Fragment, jsx, jsxDEV, jsxs };