@stencil/core 5.0.0-alpha.32 → 5.0.0-alpha.33

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 (34) hide show
  1. package/dist/app-data/index.d.ts +1 -1
  2. package/dist/app-data/index.js +2 -0
  3. package/dist/client-Bqq2Agpl.mjs +2367 -0
  4. package/dist/compiler/index.d.mts +1 -1
  5. package/dist/compiler/index.mjs +2 -3
  6. package/dist/compiler/utils/index.d.mts +1 -1
  7. package/dist/compiler/utils/index.mjs +3 -3
  8. package/dist/{compiler-D2MlfN4O.mjs → compiler-DjwEWyq2.mjs} +470 -9
  9. package/dist/declarations/stencil-public-compiler.d.ts +20 -3
  10. package/dist/declarations/stencil-public-runtime.d.ts +10 -0
  11. package/dist/{regular-expression-XqU5zmPp.mjs → helpers-Cpp3qc3u.mjs} +12 -13
  12. package/dist/{index-BHj3EBl2.d.mts → index-BCm37iOm.d.mts} +40 -3
  13. package/dist/{index-D2PAsXxx.d.ts → index-BTVuF9UD.d.ts} +2 -0
  14. package/dist/{index-VK8okIiF.d.mts → index-C-fMSffa.d.mts} +2 -10
  15. package/dist/index.mjs +1 -1
  16. package/dist/jsx-runtime.mjs +1 -1
  17. package/dist/{node-DRT35FuO.mjs → node-DugJ2Vs2.mjs} +3 -3
  18. package/dist/runtime/client/lazy.js +13 -1
  19. package/dist/runtime/client/runtime.js +13 -1
  20. package/dist/runtime/index.d.ts +1 -1
  21. package/dist/runtime/index.js +13 -1
  22. package/dist/runtime/server/index.mjs +13 -1
  23. package/dist/runtime/server/runner.mjs +21 -3
  24. package/dist/signals/index.js +2 -0
  25. package/dist/sys/node/index.d.mts +1 -1
  26. package/dist/sys/node/index.mjs +1 -1
  27. package/dist/sys/node/worker.mjs +2 -2
  28. package/dist/testing/index.d.mts +4677 -100
  29. package/dist/testing/index.mjs +7553 -780
  30. package/dist/{util-BIa-iHnt.mjs → util-IKfWWLJo.mjs} +1 -1
  31. package/dist/{validation-Dd3g77T5.mjs → validation-DAdGTrys.mjs} +16 -3
  32. package/package.json +4 -4
  33. package/dist/client-C3HYn-8p.mjs +0 -4850
  34. package/dist/reactive-controller-BdCpSAQP.d.mts +0 -13
@@ -1,4 +1,4 @@
1
- import { $ as ComponentCompilerVirtualProperty, $i as SsrFactoryOptions, $n as CompilerBuildResults, $r as LoadConfigInit, $t as PropsType, A as CompilerStyleDoc, Aa as JsonDocsListener, Ai as OutputTargetStandalone, An as TypesMemberNameData, Ar as Config, At as JsDoc, B as ComponentCompilerMeta, Ba as JsonDocsValue, Bi as PrerenderResults, Bn as BuildEvents, Br as DevServerEditor, Bt as OptimizeJsResult, C as CompilerBuildStatBundle, Ci as OutputTargetDocsJson, Cn as StyleCompiler, Cr as CompilerSystemRemoveDirectoryOptions, Ct as EntryModule, D as CompilerJsDoc, Da as JsonDocsCustomState, Di as OutputTargetLoaderBundle, Dn as TranspileModuleResults, Dr as CompilerSystemRenamedPath, Dt as HostRef, E as CompilerCtx, Ea as JsonDocsComponent, Ei as OutputTargetGlobalStyle, En as TransformCssToEsmOutput, Er as CompilerSystemRenameResults, Et as HostElement, F as ComponentCompilerData, Fa as JsonDocsSlot, Fi as ParsedPath, Fn as Workbox, Fr as Credentials, Ft as ModuleMap, G as ComponentCompilerPropertyType, Gi as RobotsTxtOpts, Gn as BuildOutput, Gr as HmrStyleUpdate, Gt as Plugin, H as ComponentCompilerMethodComplexType, Ha as FsWriteResults, Hi as ResolveModuleIdOptions, Hn as BuildNoChangeResults, Hr as DocsReadmeCustomColumn, Ht as ParsedImport, I as ComponentCompilerEvent, Ia as JsonDocsStyle, Ii as PlatformPath, In as WorkerContextMethod, Ir as CustomElementsExportBehavior, It as MsgFromWorker, J as ComponentCompilerStaticEvent, Ji as SerializeDocumentOptions, Jn as CacheStorage, Jr as HydrateFactoryOptions, Jt as PluginTransformationDescriptor, K as ComponentCompilerReferencedType, Ki as RobotsTxtResults, Kn as BuildOverrides, Kr as HotModuleReplacement, Kt as PluginCtx, L as ComponentCompilerEventComplexType, La as JsonDocsTag, Li as PrerenderConfig, Ln as WorkerMsgHandler, Lr as CustomElementsExportBehaviorOptions, Lt as MsgToWorker, M as CompilerWorkerTask, Ma as JsonDocsMethodReturn, Mi as OutputTargetTypes, Mn as UpdatedLazyBuildCtx, Mr as ConfigCompat, Mt as LazyBundlesRuntimeData, N as ComponentCompilerChangeHandler, Na as JsonDocsPart, Ni as OutputTargetWww, Nn as VNodeProdData, Nr as CopyResults, Nt as Module, O as CompilerJsDocTagInfo, Oa as JsonDocsDependencyGraph, Oi as OutputTargetSsr, On as TypeInfo, Or as CompilerSystemWriteFileResults, Ot as ImportData, P as ComponentCompilerCustomState, Pa as JsonDocsProp, Pi as PageReloadStrategy, Pn as ValidateTypesResults, Pr as CopyTask, Pt as ModuleFormat, Q as ComponentCompilerTypeReferences, Qi as SsrDocumentOptions, Qn as Compiler, Qr as LightDomPatches, Qt as PrintLine, R as ComponentCompilerFeatures, Ra as JsonDocsTypeLibrary, Ri as PrerenderHydrateOptions, Rn as AutoprefixerOptions, Rr as DevServer, Rt as NewSpecPageOptions, S as CompilerAssetDir, Si as OutputTargetDocsCustomElementsManifest, Sn as StencilDocument, Sr as CompilerSystemRealpathResults, St as Encapsulation, T as CompilerBuildStats, Ta as JsonDocs, Ti as OutputTargetDocsVscode, Tn as TransformCssToEsmInput, Tr as CompilerSystemRemoveFileResults, Tt as ExternalStyleCompiler, U as ComponentCompilerProperty, Ua as InMemoryFileSystem, Ui as ResolveModuleIdResults, Un as BuildOnEventRemove, Ur as FsWatchResults, Ut as PatchedSlotNode, V as ComponentCompilerMethod, Va as StyleDoc, Vi as PrerenderStartOptions, Vn as BuildLog, Vr as Diagnostic, Vt as PackageJsonData, W as ComponentCompilerPropertyComplexType, Wi as ResolveModuleOptions, Wn as BuildOnEvents, Wr as HistoryApiFallback, Wt as PlatformRuntime, X as ComponentCompilerStaticProperty, Xi as SitemapXmpOpts, Xn as CompileScriptMinifyOptions, Xr as LOG_LEVELS, Xt as PrerenderUrlRequest, Y as ComponentCompilerStaticMethod, Yi as ServiceWorkerConfig, Yn as CliInitOptions, Yr as HydratedFlag, Yt as PrerenderManager, Z as ComponentCompilerTypeReference, Zi as SitemapXmpResults, Zn as CompileTarget, Zr as LazyRequire, Zt as PrerenderUrlResults, _ as CollectionCompilerVersion, _i as OutputTargetCopy, _n as SsrImgElement, _r as CompilerRequest, _t as ComponentTestingConstructor, a as BuildCtx, aa as TranspileOnlyResults, ai as ModeConfig, an as RolldownResults, ar as CompilerEventBuildStart, at as ComponentConstructorProperties, b as CollectionDependencyManifest, bi as OutputTargetDocsAgentSkill, bn as SsrStaticData, br as CompilerSystemCreateDirectoryOptions, bt as CssTransformCacheEntry, c as BuildStyleUpdate, ca as UnvalidatedConfig, ci as OptimizeCssOutput, cn as RuntimeRef, cr as CompilerEventFileAdd, ct as ComponentGlobalStyle, d as BundleModuleOutput, da as WatcherCloseResults, di as OutputTarget, dn as SourceMap, dr as CompilerEventFsChange, dt as ComponentRuntimeHostListener, ea as StencilConfig, ei as LoadConfigResults, en as RenderNode, er as CompilerBuildStart, et as ComponentConstructor, f as Cache, fa as WorkerMainController, fi as OutputTargetAssets, fn as SourceTarget, fr as CompilerEventName, ft as ComponentRuntimeMember, g as CollectionCompilerMeta, gi as OutputTargetCollection, gn as SsrElement, gr as CompilerFsStats, gt as ComponentRuntimeReflectingAttr, h as CollectionCompiler, hi as OutputTargetBuild, hn as SsrComponent, hr as CompilerFileWatcherEvent, ht as ComponentRuntimeMetaCompact, i as BuildConditionals, ia as TransformOptions, ii as LoggerTimeSpan, in as RolldownResultModule, ir as CompilerEventBuildNoChange, it as ComponentConstructorListener, j as CompilerWorkerContext, ja as JsonDocsMethod, ji as OutputTargetStats, jn as TypesModule, jr as ConfigBundle, jt as LazyBundleRuntimeData, k as CompilerModeStyles, ka as JsonDocsEvent, ki as OutputTargetSsrWasm, kn as TypesImportData, kr as CompilerWatcher, kt as JSDocTagInfo, l as BuildTask, la as ValidatedConfig, li as OptimizeJsInput, ln as SerializeImportData, lr as CompilerEventFileDelete, lt as ComponentNativeConstructor, m as CollectionBundleManifest, mi as OutputTargetBaseNext, mn as SsrAnchorElement, mr as CompilerFileWatcherCallback, mt as ComponentRuntimeMeta, n as AssetsMeta, na as StencilDocsConfig, ni as Logger, nn as RolldownChunkResult, nr as CompilerEventBuildFinish, nt as ComponentConstructorEncapsulation, o as BuildFeatures, oa as TranspileOptions, oi as NodeResolveConfig, on as RolldownSourceMap, or as CompilerEventDirAdd, ot as ComponentConstructorProperty, p as ChildType, pa as WorkerOptions, pi as OutputTargetBase, pn as SpecPage, pr as CompilerFileWatcher, pt as ComponentRuntimeMembers, q as ComponentCompilerState, qi as RolldownConfig, qn as BuildResultsComponentGraph, qr as HydrateDocumentOptions, qt as PluginTransformResults, r as BuildComponent, ra as SystemDetails, ri as LoggerLineUpdater, rn as RolldownResult, rr as CompilerEventBuildLog, rt as ComponentConstructorEvent, s as BuildSourceGraph, sa as TranspileResults, si as OptimizeCssInput, sn as RootAppliedStyleMap, sr as CompilerEventDirDelete, st as ComponentConstructorPropertyType, t as AnyHTMLElement, ta as StencilDevServerConfig, ti as LogLevel, tn as RolldownAssetResult, tr as CompilerDependency, tt as ComponentConstructorChangeHandlers, u as BundleModule, ua as ValidatedOutputTargetWww, ui as OptimizeJsOutput, un as SerializedEvent, ur as CompilerEventFileUpdate, ut as ComponentPatches, v as CollectionComponentEntryPath, vi as OutputTargetCustom, vn as SsrResults, vr as CompilerRequestResponse, vt as CssImportData, w as CompilerBuildStatCollection, wa as JsonDocMethodParameter, wi as OutputTargetDocsReadme, wn as StyleMap, wr as CompilerSystemRemoveDirectoryResults, wt as EventInitDict, x as CollectionManifest, xi as OutputTargetDocsCustom, xn as SsrStyleElement, xr as CompilerSystemCreateDirectoryResults, xt as DocData, y as CollectionDependencyData, yi as OutputTargetDistLazy, yn as SsrScriptElement, yr as CompilerSystem, yt as CssToEsmImportData, z as ComponentCompilerListener, za as JsonDocsUsage, zi as PrerenderOptions, zn as BuildEmitEvents, zr as DevServerConfig, zt as NodeMap } from "../index-BHj3EBl2.mjs";
1
+ import { $ as ComponentCompilerVirtualProperty, $i as SsrFactoryOptions, $n as CompilerBuildResults, $r as LoadConfigInit, $t as PropsType, A as CompilerStyleDoc, Aa as JsonDocsListener, Ai as OutputTargetStandalone, An as TypesMemberNameData, Ar as Config, At as JsDoc, B as ComponentCompilerMeta, Ba as JsonDocsValue, Bi as PrerenderResults, Bn as BuildEvents, Br as DevServerEditor, Bt as OptimizeJsResult, C as CompilerBuildStatBundle, Ci as OutputTargetDocsJson, Cn as StyleCompiler, Cr as CompilerSystemRemoveDirectoryOptions, Ct as EntryModule, D as CompilerJsDoc, Da as JsonDocsCustomState, Di as OutputTargetLoaderBundle, Dn as TranspileModuleResults, Dr as CompilerSystemRenamedPath, Dt as HostRef, E as CompilerCtx, Ea as JsonDocsComponent, Ei as OutputTargetGlobalStyle, En as TransformCssToEsmOutput, Er as CompilerSystemRenameResults, Et as HostElement, F as ComponentCompilerData, Fa as JsonDocsSlot, Fi as ParsedPath, Fn as Workbox, Fr as Credentials, Ft as ModuleMap, G as ComponentCompilerPropertyType, Gi as RobotsTxtOpts, Gn as BuildOutput, Gr as HmrStyleUpdate, Gt as Plugin, H as ComponentCompilerMethodComplexType, Ha as FsWriteResults, Hi as ResolveModuleIdOptions, Hn as BuildNoChangeResults, Hr as DocsReadmeCustomColumn, Ht as ParsedImport, I as ComponentCompilerEvent, Ia as JsonDocsStyle, Ii as PlatformPath, In as WorkerContextMethod, Ir as CustomElementsExportBehavior, It as MsgFromWorker, J as ComponentCompilerStaticEvent, Ji as SerializeDocumentOptions, Jn as CacheStorage, Jr as HydrateFactoryOptions, Jt as PluginTransformationDescriptor, K as ComponentCompilerReferencedType, Ki as RobotsTxtResults, Kn as BuildOverrides, Kr as HotModuleReplacement, Kt as PluginCtx, L as ComponentCompilerEventComplexType, La as JsonDocsTag, Li as PrerenderConfig, Ln as WorkerMsgHandler, Lr as CustomElementsExportBehaviorOptions, Lt as MsgToWorker, M as CompilerWorkerTask, Ma as JsonDocsMethodReturn, Mi as OutputTargetTypes, Mn as UpdatedLazyBuildCtx, Mr as ConfigCompat, Mt as LazyBundlesRuntimeData, N as ComponentCompilerChangeHandler, Na as JsonDocsPart, Ni as OutputTargetWww, Nn as VNodeProdData, Nr as CopyResults, Nt as Module, O as CompilerJsDocTagInfo, Oa as JsonDocsDependencyGraph, Oi as OutputTargetSsr, On as TypeInfo, Or as CompilerSystemWriteFileResults, Ot as ImportData, P as ComponentCompilerCustomState, Pa as JsonDocsProp, Pi as PageReloadStrategy, Pn as ValidateTypesResults, Pr as CopyTask, Pt as ModuleFormat, Q as ComponentCompilerTypeReferences, Qi as SsrDocumentOptions, Qn as Compiler, Qr as LightDomPatches, Qt as PrintLine, R as ComponentCompilerFeatures, Ra as JsonDocsTypeLibrary, Ri as PrerenderHydrateOptions, Rn as AutoprefixerOptions, Rr as DevServer, Rt as NewSpecPageOptions, S as CompilerAssetDir, Si as OutputTargetDocsCustomElementsManifest, Sn as StencilDocument, Sr as CompilerSystemRealpathResults, St as Encapsulation, T as CompilerBuildStats, Ta as JsonDocs, Ti as OutputTargetDocsVscode, Tn as TransformCssToEsmInput, Tr as CompilerSystemRemoveFileResults, Tt as ExternalStyleCompiler, U as ComponentCompilerProperty, Ua as InMemoryFileSystem, Ui as ResolveModuleIdResults, Un as BuildOnEventRemove, Ur as FsWatchResults, Ut as PatchedSlotNode, V as ComponentCompilerMethod, Va as StyleDoc, Vi as PrerenderStartOptions, Vn as BuildLog, Vr as Diagnostic, Vt as PackageJsonData, W as ComponentCompilerPropertyComplexType, Wi as ResolveModuleOptions, Wn as BuildOnEvents, Wr as HistoryApiFallback, Wt as PlatformRuntime, X as ComponentCompilerStaticProperty, Xi as SitemapXmpOpts, Xn as CompileScriptMinifyOptions, Xr as LOG_LEVELS, Xt as PrerenderUrlRequest, Y as ComponentCompilerStaticMethod, Yi as ServiceWorkerConfig, Yn as CliInitOptions, Yr as HydratedFlag, Yt as PrerenderManager, Z as ComponentCompilerTypeReference, Zi as SitemapXmpResults, Zn as CompileTarget, Zr as LazyRequire, Zt as PrerenderUrlResults, _ as CollectionCompilerVersion, _i as OutputTargetCopy, _n as SsrImgElement, _r as CompilerRequest, _t as ComponentTestingConstructor, a as BuildCtx, aa as TranspileOnlyResults, ai as ModeConfig, an as RolldownResults, ar as CompilerEventBuildStart, at as ComponentConstructorProperties, b as CollectionDependencyManifest, bi as OutputTargetDocsAgentSkill, bn as SsrStaticData, br as CompilerSystemCreateDirectoryOptions, bt as CssTransformCacheEntry, c as BuildStyleUpdate, ca as UnvalidatedConfig, ci as OptimizeCssOutput, cn as RuntimeRef, cr as CompilerEventFileAdd, ct as ComponentGlobalStyle, d as BundleModuleOutput, da as WatcherCloseResults, di as OutputTarget, dn as SourceMap, dr as CompilerEventFsChange, dt as ComponentRuntimeHostListener, ea as StencilConfig, ei as LoadConfigResults, en as RenderNode, er as CompilerBuildStart, et as ComponentConstructor, f as Cache, fa as WorkerMainController, fi as OutputTargetAssets, fn as SourceTarget, fr as CompilerEventName, ft as ComponentRuntimeMember, g as CollectionCompilerMeta, gi as OutputTargetCollection, gn as SsrElement, gr as CompilerFsStats, gt as ComponentRuntimeReflectingAttr, h as CollectionCompiler, hi as OutputTargetBuild, hn as SsrComponent, hr as CompilerFileWatcherEvent, ht as ComponentRuntimeMetaCompact, i as BuildConditionals, ia as TransformOptions, ii as LoggerTimeSpan, in as RolldownResultModule, ir as CompilerEventBuildNoChange, it as ComponentConstructorListener, j as CompilerWorkerContext, ja as JsonDocsMethod, ji as OutputTargetStats, jn as TypesModule, jr as ConfigBundle, jt as LazyBundleRuntimeData, k as CompilerModeStyles, ka as JsonDocsEvent, ki as OutputTargetSsrWasm, kn as TypesImportData, kr as CompilerWatcher, kt as JSDocTagInfo, l as BuildTask, la as ValidatedConfig, li as OptimizeJsInput, ln as SerializeImportData, lr as CompilerEventFileDelete, lt as ComponentNativeConstructor, m as CollectionBundleManifest, mi as OutputTargetBaseNext, mn as SsrAnchorElement, mr as CompilerFileWatcherCallback, mt as ComponentRuntimeMeta, n as AssetsMeta, na as StencilDocsConfig, ni as Logger, nn as RolldownChunkResult, nr as CompilerEventBuildFinish, nt as ComponentConstructorEncapsulation, o as BuildFeatures, oa as TranspileOptions, oi as NodeResolveConfig, on as RolldownSourceMap, or as CompilerEventDirAdd, ot as ComponentConstructorProperty, p as ChildType, pa as WorkerOptions, pi as OutputTargetBase, pn as SpecPage, pr as CompilerFileWatcher, pt as ComponentRuntimeMembers, q as ComponentCompilerState, qi as RolldownConfig, qn as BuildResultsComponentGraph, qr as HydrateDocumentOptions, qt as PluginTransformResults, r as BuildComponent, ra as SystemDetails, ri as LoggerLineUpdater, rn as RolldownResult, rr as CompilerEventBuildLog, rt as ComponentConstructorEvent, s as BuildSourceGraph, sa as TranspileResults, si as OptimizeCssInput, sn as RootAppliedStyleMap, sr as CompilerEventDirDelete, st as ComponentConstructorPropertyType, t as AnyHTMLElement, ta as StencilDevServerConfig, ti as LogLevel, tn as RolldownAssetResult, tr as CompilerDependency, tt as ComponentConstructorChangeHandlers, u as BundleModule, ua as ValidatedOutputTargetWww, ui as OptimizeJsOutput, un as SerializedEvent, ur as CompilerEventFileUpdate, ut as ComponentPatches, v as CollectionComponentEntryPath, vi as OutputTargetCustom, vn as SsrResults, vr as CompilerRequestResponse, vt as CssImportData, w as CompilerBuildStatCollection, wa as JsonDocMethodParameter, wi as OutputTargetDocsReadme, wn as StyleMap, wr as CompilerSystemRemoveDirectoryResults, wt as EventInitDict, x as CollectionManifest, xi as OutputTargetDocsCustom, xn as SsrStyleElement, xr as CompilerSystemCreateDirectoryResults, xt as DocData, y as CollectionDependencyData, yi as OutputTargetDistLazy, yn as SsrScriptElement, yr as CompilerSystem, yt as CssToEsmImportData, z as ComponentCompilerListener, za as JsonDocsUsage, zi as PrerenderOptions, zn as BuildEmitEvents, zr as DevServerConfig, zt as NodeMap } from "../index-BCm37iOm.mjs";
2
2
  import ts from "typescript";
3
3
  //#region src/version.d.ts
4
4
  declare const version: string;
@@ -1,4 +1,3 @@
1
- import { f as scopeCss } from "../client-C3HYn-8p.mjs";
2
- import { C as version, S as vermoji, _ as cmpMetaToDocsComponent, a as createPrerenderer, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as generateManifest, 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, w as versions, x as buildId, y as getScopeId } from "../compiler-D2MlfN4O.mjs";
3
- import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-DRT35FuO.mjs";
1
+ import { _ as buildId, a as createPrerenderer, b as versions, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as getScopeId, h as cmpMetaToDocsComponent, i as createSystem, l as createWorkerMessageHandler, m as generateManifest, n as transpile, o as loadConfig, p as validateConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, v as vermoji, x as scopeCss, y as version } from "../compiler-DjwEWyq2.mjs";
2
+ import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-DugJ2Vs2.mjs";
4
3
  export { CustomElementsExportBehaviorOptions, LOG_LEVELS, buildId, cmpMetaToDocsComponent, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, generateManifest, getScopeId, loadConfig, nodeRequire, optimizeCss, optimizeJs, scopeCss, transpile, transpileSync, ts, validateConfig, vermoji, version, versions };
@@ -1,4 +1,4 @@
1
- import { $a as isDtsFile, $o as loadTypeScriptDiagnostic, Ao as isOutputTargetGlobalStyle, As as NODE_TYPES, Bo as shouldExcludeComponent, Bs as WWW, Co as isOutputTargetDocs, Cs as GENERATED_DTS, Do as isOutputTargetDocsJson, Ds as LISTENER_FLAGS, Eo as isOutputTargetDocsCustomElementsManifest, Es as HTML_NS, Fo as isOutputTargetStats, Fs as STYLE_EXT, Ga as validateComponentModes, Go as catchError, Ho as buildError, Io as isOutputTargetTypes, Is as SVG_NS, Ja as addDocBlock, Jo as shouldIgnoreError, Ka as validateComponentTag, Ko as hasError, Lo as isOutputTargetWww, Ls as TYPES, Mo as isOutputTargetSsr, Ms as SSR_WASM, No as isOutputTargetSsrWasm, Ns as STANDALONE, Oo as isOutputTargetDocsReadme, Os as LOADER_BUNDLE, Po as isOutputTargetStandalone, Ps as STATS, Qa as hasDependency, Qo as augmentDiagnosticWithNode, Ro as isValidConfigOutputTarget, Rs as VALID_CONFIG_OUTPUT_TARGETS, So as isOutputTargetDistLazy, Ss as EVENT_FLAGS, To as isOutputTargetDocsCustom, Ts as HOST_FLAGS, Uo as buildJsonFileError, Vo as TASK_CANCELED_MSG, Vs as XLINK_NS, Wa as ModeValidationError, Wo as buildWarn, Xa as generatePreamble, Xo as normalizeDiagnostics, Ya as createJsVarName, Yo as escapeHtml, Za as getTextDocs, Zo as splitLineBreaks, _o as getComponentsFromModules, _s as DOCS_CUSTOM, ao as readOnlyArrayHasStringMember, as as formatLazyBundleRuntimeMeta, bo as isOutputTargetCopy, bs as DOCS_README, co as getSourceMappingUrlForEndOfFile, cs as CMP_FLAGS, do as result_d_exports, ds as COLLECTION_MANIFEST_FILE_NAME, eo as isJsFile, es as loadTypeScriptDiagnostics, fo as FilterComponentsResult, fs as COPY, go as getComponentsDtsTypesFilePath, gs as DOCS_AGENT_SKILL, ho as getComponentsDtsSrcFilePath, hs as DIST_LAZY, io as parsePackageJson, is as formatComponentRuntimeMeta, jo as isOutputTargetLoaderBundle, js as SSR, ko as isOutputTargetDocsVscode, ks as MEMBER_FLAGS, lo as getSourceMappingUrlLinker, ls as COLLECTION, mo as filterExcludedComponents, ms as DEFAULT_STYLE_MODE, no as isTsFile, ns as isRolldownError, oo as readPackageJson, os as stringifyRuntimeData, po as filterActiveTargets, ps as CUSTOM, qa as ParsePackageJsonResult, qo as hasWarning, ro as isTsxFile, rs as loadRolldownDiagnostics, so as getInlineSourceMappingUrlLinker, ss as ASSETS, to as isJsxFile, ts as createOnWarnFn, uo as rolldownToStencilSourceMap, us as COLLECTION_APP_DATA_FILE_NAME, vo as isOutputTargetAssets, vs as DOCS_CUSTOM_ELEMENTS_MANIFEST, wo as isOutputTargetDocsAgentSkill, ws as GLOBAL_STYLE, xo as isOutputTargetCustom, xs as DOCS_VSCODE, yo as isOutputTargetCollection, ys as DOCS_JSON, zo as relativeImport, zs as WATCH_FLAGS } from "../../index-BHj3EBl2.mjs";
1
+ import { $a as isDtsFile, $o as loadTypeScriptDiagnostic, Ao as isOutputTargetGlobalStyle, As as NODE_TYPES, Bo as shouldExcludeComponent, Bs as WWW, Co as isOutputTargetDocs, Cs as GENERATED_DTS, Do as isOutputTargetDocsJson, Ds as LISTENER_FLAGS, Eo as isOutputTargetDocsCustomElementsManifest, Es as HTML_NS, Fo as isOutputTargetStats, Fs as STYLE_EXT, Ga as validateComponentModes, Go as catchError, Ho as buildError, Io as isOutputTargetTypes, Is as SVG_NS, Ja as addDocBlock, Jo as shouldIgnoreError, Ka as validateComponentTag, Ko as hasError, Lo as isOutputTargetWww, Ls as TYPES, Mo as isOutputTargetSsr, Ms as SSR_WASM, No as isOutputTargetSsrWasm, Ns as STANDALONE, Oo as isOutputTargetDocsReadme, Os as LOADER_BUNDLE, Po as isOutputTargetStandalone, Ps as STATS, Qa as hasDependency, Qo as augmentDiagnosticWithNode, Ro as isValidConfigOutputTarget, Rs as VALID_CONFIG_OUTPUT_TARGETS, So as isOutputTargetDistLazy, Ss as EVENT_FLAGS, To as isOutputTargetDocsCustom, Ts as HOST_FLAGS, Uo as buildJsonFileError, Vo as TASK_CANCELED_MSG, Vs as XLINK_NS, Wa as ModeValidationError, Wo as buildWarn, Xa as generatePreamble, Xo as normalizeDiagnostics, Ya as createJsVarName, Yo as escapeHtml, Za as getTextDocs, Zo as splitLineBreaks, _o as getComponentsFromModules, _s as DOCS_CUSTOM, ao as readOnlyArrayHasStringMember, as as formatLazyBundleRuntimeMeta, bo as isOutputTargetCopy, bs as DOCS_README, co as getSourceMappingUrlForEndOfFile, cs as CMP_FLAGS, do as result_d_exports, ds as COLLECTION_MANIFEST_FILE_NAME, eo as isJsFile, es as loadTypeScriptDiagnostics, fo as FilterComponentsResult, fs as COPY, go as getComponentsDtsTypesFilePath, gs as DOCS_AGENT_SKILL, ho as getComponentsDtsSrcFilePath, hs as DIST_LAZY, io as parsePackageJson, is as formatComponentRuntimeMeta, jo as isOutputTargetLoaderBundle, js as SSR, ko as isOutputTargetDocsVscode, ks as MEMBER_FLAGS, lo as getSourceMappingUrlLinker, ls as COLLECTION, mo as filterExcludedComponents, ms as DEFAULT_STYLE_MODE, no as isTsFile, ns as isRolldownError, oo as readPackageJson, os as stringifyRuntimeData, po as filterActiveTargets, ps as CUSTOM, qa as ParsePackageJsonResult, qo as hasWarning, ro as isTsxFile, rs as loadRolldownDiagnostics, so as getInlineSourceMappingUrlLinker, ss as ASSETS, to as isJsxFile, ts as createOnWarnFn, uo as rolldownToStencilSourceMap, us as COLLECTION_APP_DATA_FILE_NAME, vo as isOutputTargetAssets, vs as DOCS_CUSTOM_ELEMENTS_MANIFEST, wo as isOutputTargetDocsAgentSkill, ws as GLOBAL_STYLE, xo as isOutputTargetCustom, xs as DOCS_VSCODE, yo as isOutputTargetCollection, ys as DOCS_JSON, zo as relativeImport, zs as WATCH_FLAGS } from "../../index-BCm37iOm.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 TYPES, A as DEFAULT_STYLE_MODE, B as GLOBAL_STYLE, C as ASSETS, D as COLLECTION_MANIFEST_FILE_NAME, E as COLLECTION_APP_DATA_FILE_NAME, F as DOCS_JSON, G as MEMBER_FLAGS, H as HTML_NS, I as DOCS_README, J as SSR_WASM, K as NODE_TYPES, L as DOCS_VSCODE, M as DOCS_AGENT_SKILL, N as DOCS_CUSTOM, O as COPY, P as DOCS_CUSTOM_ELEMENTS_MANIFEST, Q as SVG_NS, R as EVENT_FLAGS, S as queryNonceMetaTagContent, T as COLLECTION, U as LISTENER_FLAGS, V as HOST_FLAGS, W as LOADER_BUNDLE, X as STATS, Y as STANDALONE, Z as STYLE_EXT, _ as sortBy, a as fromEntries, b as toTitleCase, c as isDef, d as isNumber, et as VALID_CONFIG_OUTPUT_TARGETS, f as isObject, g as pluck, h as noop, i as flatOne, j as DIST_LAZY, k as CUSTOM, l as isFunction, m as mergeIntoWith, n as dashToPascalCase, nt as WWW, o as isBoolean, p as isString, q as SSR, r as escapeWithPattern, rt as XLINK_NS, s as isComplexType, t as escapeRegExpSpecialCharacters, tt as WATCH_FLAGS, u as isIterable, v as toCamelCase, w as CMP_FLAGS, x as unique, y as toDashCase, z as GENERATED_DTS } from "../../regular-expression-XqU5zmPp.mjs";
2
- import { C as formatLazyBundleRuntimeMeta, S as formatComponentRuntimeMeta, T as byteSize, _ as loadRolldownDiagnostics, a as getSourceMappingUrlForEndOfFile, b as splitLineBreaks, d as result_exports, f as augmentDiagnosticWithNode, g as isRolldownError, h as createOnWarnFn, i as getInlineSourceMappingUrlLinker, m as loadTypeScriptDiagnostics, n as validateComponentTag, o as getSourceMappingUrlLinker, p as loadTypeScriptDiagnostic, r as isRemoteUrl, s as rolldownToStencilSourceMap, t as validateComponentModes, v as escapeHtml, w as stringifyRuntimeData, x as isRootPath, y as normalizeDiagnostics } from "../../validation-Dd3g77T5.mjs";
3
- import { $ as catchError, A as isOutputTargetDocsVscode, B as relativeImport, C as isOutputTargetDistLazy, D as isOutputTargetDocsCustomElementsManifest, E as isOutputTargetDocsCustom, F as isOutputTargetStandalone, G as normalizeFsPathQuery, H as join, I as isOutputTargetStats, J as resolve, K as normalizePath, L as isOutputTargetTypes, M as isOutputTargetLoaderBundle, N as isOutputTargetSsr, O as isOutputTargetDocsJson, P as isOutputTargetSsrWasm, Q as buildWarn, R as isOutputTargetWww, S as isOutputTargetCustom, T as isOutputTargetDocsAgentSkill, U as normalize, V as shouldExcludeComponent, W as normalizeFsPath, X as buildError, Y as TASK_CANCELED_MSG, Z as buildJsonFileError, _ as getComponentsDtsTypesFilePath, a as hasDependency, b as isOutputTargetCollection, c as isJsxFile, d as parsePackageJson, et as hasError, f as readOnlyArrayHasStringMember, g as getComponentsDtsSrcFilePath, h as filterExcludedComponents, i as getTextDocs, j as isOutputTargetGlobalStyle, k as isOutputTargetDocsReadme, l as isTsFile, m as filterActiveTargets, n as createJsVarName, nt as shouldIgnoreError, o as isDtsFile, p as readPackageJson, q as relative, r as generatePreamble, rt as isGlob, s as isJsFile, t as addDocBlock, tt as hasWarning, u as isTsxFile, v as getComponentsFromModules, w as isOutputTargetDocs, x as isOutputTargetCopy, y as isOutputTargetAssets, z as isValidConfigOutputTarget } from "../../util-BIa-iHnt.mjs";
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-Cpp3qc3u.mjs";
2
+ import { C as formatLazyBundleRuntimeMeta, E as escapeRegExpSpecialCharacters, S as formatComponentRuntimeMeta, T as byteSize, _ as loadRolldownDiagnostics, a as getSourceMappingUrlForEndOfFile, b as splitLineBreaks, d as result_exports, f as augmentDiagnosticWithNode, g as isRolldownError, h as createOnWarnFn, i as getInlineSourceMappingUrlLinker, m as loadTypeScriptDiagnostics, n as validateComponentTag, o as getSourceMappingUrlLinker, p as loadTypeScriptDiagnostic, r as isRemoteUrl, s as rolldownToStencilSourceMap, t as validateComponentModes, v as escapeHtml, w as stringifyRuntimeData, x as isRootPath, y as normalizeDiagnostics } from "../../validation-DAdGTrys.mjs";
3
+ import { $ as catchError, A as isOutputTargetDocsVscode, B as relativeImport, C as isOutputTargetDistLazy, D as isOutputTargetDocsCustomElementsManifest, E as isOutputTargetDocsCustom, F as isOutputTargetStandalone, G as normalizeFsPathQuery, H as join, I as isOutputTargetStats, J as resolve, K as normalizePath, L as isOutputTargetTypes, M as isOutputTargetLoaderBundle, N as isOutputTargetSsr, O as isOutputTargetDocsJson, P as isOutputTargetSsrWasm, Q as buildWarn, R as isOutputTargetWww, S as isOutputTargetCustom, T as isOutputTargetDocsAgentSkill, U as normalize, V as shouldExcludeComponent, W as normalizeFsPath, X as buildError, Y as TASK_CANCELED_MSG, Z as buildJsonFileError, _ as getComponentsDtsTypesFilePath, a as hasDependency, b as isOutputTargetCollection, c as isJsxFile, d as parsePackageJson, et as hasError, f as readOnlyArrayHasStringMember, g as getComponentsDtsSrcFilePath, h as filterExcludedComponents, i as getTextDocs, j as isOutputTargetGlobalStyle, k as isOutputTargetDocsReadme, l as isTsFile, m as filterActiveTargets, n as createJsVarName, nt as shouldIgnoreError, o as isDtsFile, p as readPackageJson, q as relative, r as generatePreamble, rt as isGlob, s as isJsFile, t as addDocBlock, tt as hasWarning, u as isTsxFile, v as getComponentsFromModules, w as isOutputTargetDocs, x as isOutputTargetCopy, y as isOutputTargetAssets, z as isValidConfigOutputTarget } from "../../util-IKfWWLJo.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, 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, 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_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 { O as HYDRATED_CSS, f as scopeCss } from "./client-C3HYn-8p.mjs";
3
- import { $ as TYPES, B as GLOBAL_STYLE, C as ASSETS, D as COLLECTION_MANIFEST_FILE_NAME, E as COLLECTION_APP_DATA_FILE_NAME, F as DOCS_JSON, I as DOCS_README, O as COPY, R as EVENT_FLAGS, T as COLLECTION, W as LOADER_BUNDLE, X as STATS, Y as STANDALONE, Z as STYLE_EXT, _ as sortBy, a as fromEntries, b as toTitleCase, d as isNumber$1, et as VALID_CONFIG_OUTPUT_TARGETS, 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, tt as WATCH_FLAGS, u as isIterable, x as unique, y as toDashCase, z as GENERATED_DTS } from "./regular-expression-XqU5zmPp.mjs";
4
- import { S as formatComponentRuntimeMeta, T as byteSize, _ as loadRolldownDiagnostics, a as getSourceMappingUrlForEndOfFile, b as splitLineBreaks, c as err, f as augmentDiagnosticWithNode, g as isRolldownError, h as createOnWarnFn, i as getInlineSourceMappingUrlLinker, l as map, m as loadTypeScriptDiagnostics, n as validateComponentTag, p as loadTypeScriptDiagnostic, r as isRemoteUrl, s as rolldownToStencilSourceMap, t as validateComponentModes, u as ok, w as stringifyRuntimeData, x as isRootPath, y as normalizeDiagnostics } from "./validation-Dd3g77T5.mjs";
5
- import { $ as catchError, A as isOutputTargetDocsVscode, B as relativeImport, C as isOutputTargetDistLazy, D as isOutputTargetDocsCustomElementsManifest, E as isOutputTargetDocsCustom, F as isOutputTargetStandalone, G as normalizeFsPathQuery, H as join$2, I as isOutputTargetStats, J as resolve$2, K as normalizePath, L as isOutputTargetTypes, M as isOutputTargetLoaderBundle, N as isOutputTargetSsr, O as isOutputTargetDocsJson, P as isOutputTargetSsrWasm, Q as buildWarn, R as isOutputTargetWww, S as isOutputTargetCustom, T as isOutputTargetDocsAgentSkill, W as normalizeFsPath, X as buildError, Z as buildJsonFileError, a as hasDependency, b as isOutputTargetCollection, d as parsePackageJson, et as hasError, f as readOnlyArrayHasStringMember, g as getComponentsDtsSrcFilePath, h as filterExcludedComponents, i as getTextDocs, j as isOutputTargetGlobalStyle, k as isOutputTargetDocsReadme, l as isTsFile, m as filterActiveTargets, n as createJsVarName, o as isDtsFile, p as readPackageJson, q as relative$1, r as generatePreamble, rt as isGlob, t as addDocBlock, tt as hasWarning, u as isTsxFile, v as getComponentsFromModules, w as isOutputTargetDocs, x as isOutputTargetCopy, y as isOutputTargetAssets, z as isValidConfigOutputTarget } from "./util-BIa-iHnt.mjs";
6
- import { i as CustomElementsExportBehaviorOptions, o as buildEvents, r as createNodeLogger, t as createNodeSys } from "./node-DRT35FuO.mjs";
2
+ import { S as HYDRATED_CSS } from "./client-Bqq2Agpl.mjs";
3
+ import { $ as VALID_CONFIG_OUTPUT_TARGETS, A as DIST_LAZY, D as COPY, E as COLLECTION_MANIFEST_FILE_NAME, F as DOCS_README, 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-Cpp3qc3u.mjs";
4
+ import { E as escapeRegExpSpecialCharacters, S as formatComponentRuntimeMeta, T as byteSize, _ as loadRolldownDiagnostics, a as getSourceMappingUrlForEndOfFile, b as splitLineBreaks, c as err, f as augmentDiagnosticWithNode, g as isRolldownError, h as createOnWarnFn, i as getInlineSourceMappingUrlLinker, l as map, m as loadTypeScriptDiagnostics, n as validateComponentTag, p as loadTypeScriptDiagnostic, r as isRemoteUrl, s as rolldownToStencilSourceMap, t as validateComponentModes, u as ok, w as stringifyRuntimeData, x as isRootPath, y as normalizeDiagnostics } from "./validation-DAdGTrys.mjs";
5
+ import { $ as catchError, A as isOutputTargetDocsVscode, B as relativeImport, C as isOutputTargetDistLazy, D as isOutputTargetDocsCustomElementsManifest, E as isOutputTargetDocsCustom, F as isOutputTargetStandalone, G as normalizeFsPathQuery, H as join$2, I as isOutputTargetStats, J as resolve$2, K as normalizePath, L as isOutputTargetTypes, M as isOutputTargetLoaderBundle, N as isOutputTargetSsr, O as isOutputTargetDocsJson, P as isOutputTargetSsrWasm, Q as buildWarn, R as isOutputTargetWww, S as isOutputTargetCustom, T as isOutputTargetDocsAgentSkill, W as normalizeFsPath, X as buildError, Z as buildJsonFileError, a as hasDependency, b as isOutputTargetCollection, d as parsePackageJson, et as hasError, f as readOnlyArrayHasStringMember, g as getComponentsDtsSrcFilePath, h as filterExcludedComponents, i as getTextDocs, j as isOutputTargetGlobalStyle, k as isOutputTargetDocsReadme, l as isTsFile, m as filterActiveTargets, n as createJsVarName, o as isDtsFile, p as readPackageJson, q as relative$1, r as generatePreamble, rt as isGlob, t as addDocBlock, tt as hasWarning, u as isTsxFile, v as getComponentsFromModules, w as isOutputTargetDocs, x as isOutputTargetCopy, y as isOutputTargetAssets, z as isValidConfigOutputTarget } from "./util-IKfWWLJo.mjs";
6
+ import { i as CustomElementsExportBehaviorOptions, o as buildEvents, r as createNodeLogger, t as createNodeSys } from "./node-DugJ2Vs2.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";
@@ -28,10 +28,441 @@ import { browserslistToTargets, transform } from "lightningcss";
28
28
  import { createJiti } from "jiti";
29
29
  import * as process$1 from "process";
30
30
  import { dataToEsm } from "@rollup/pluginutils";
31
+ //#region src/utils/shadow-css.ts
32
+ /**
33
+ * @license
34
+ * Copyright Google Inc. All Rights Reserved.
35
+ *
36
+ * Use of this source code is governed by an MIT-style license that can be
37
+ * found in the LICENSE file at https://angular.io/license
38
+ *
39
+ * This file is a port of shadowCSS from `webcomponents.js` to TypeScript.
40
+ * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
41
+ * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
42
+ */
43
+ const safeSelector = (selector) => {
44
+ const placeholders = [];
45
+ let index = 0;
46
+ selector = selector.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g, (_, keep) => {
47
+ const replaceBy = `__part-${index}__`;
48
+ placeholders.push(keep);
49
+ index++;
50
+ return replaceBy;
51
+ });
52
+ selector = selector.replace(/(\[[^\]]*\])/g, (_, keep) => {
53
+ const replaceBy = `__ph-${index}__`;
54
+ placeholders.push(keep);
55
+ index++;
56
+ return replaceBy;
57
+ });
58
+ return {
59
+ content: selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
60
+ const replaceBy = `__ph-${index}__`;
61
+ placeholders.push(exp);
62
+ index++;
63
+ return pseudo + replaceBy;
64
+ }),
65
+ placeholders
66
+ };
67
+ };
68
+ const restoreSafeSelector = (placeholders, content) => {
69
+ content = content.replace(/__part-(\d+)__/g, (_, index) => placeholders[+index]);
70
+ return content.replace(/__ph-(\d+)__/g, (_, index) => placeholders[+index]);
71
+ };
72
+ const _polyfillHost = "-shadowcsshost";
73
+ const _polyfillSlotted = "-shadowcssslotted";
74
+ const _polyfillHostContext = "-shadowcsscontext";
75
+ let _cssColonHostRe;
76
+ let _cssColonHostContextRe;
77
+ let _cssColonSlottedRe;
78
+ const getCssColonHostRe = () => _cssColonHostRe ??= /* @__PURE__ */ new RegExp("(-shadowcsshost)(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", "gim");
79
+ const getCssColonHostContextRe = () => _cssColonHostContextRe ??= /* @__PURE__ */ new RegExp("(-shadowcsscontext)(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", "gim");
80
+ const getCssColonSlottedRe = () => _cssColonSlottedRe ??= /* @__PURE__ */ new RegExp("(-shadowcssslotted)(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", "gim");
81
+ const _polyfillHostNoCombinator = "-shadowcsshost-no-combinator";
82
+ const _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
83
+ const _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
84
+ const _safePartRe = /__part-(\d+)__/g;
85
+ const _polyfillHostRe = /-shadowcsshost/gim;
86
+ /**
87
+ * Little helper for generating a regex that will match a specified
88
+ * CSS selector when that selector is _not_ a part of a `@supports` rule.
89
+ *
90
+ * The pattern will match the provided `selector` (i.e. ':host', ':host-context', etc.)
91
+ * when that selector is not a part of a `@supports` selector rule _or_ if the selector
92
+ * is a part of the rule's declaration.
93
+ *
94
+ * For instance, if we create the regex with the selector ':host-context':
95
+ * - '@supports selector(:host-context())' will return no matches (starts with '@supports')
96
+ * - '@supports selector(:host-context()) { :host-context() { ... }}' will match the second ':host-context' (part of declaration)
97
+ * - ':host-context() { ... }' will match ':host-context' (selector is not a '@supports' rule)
98
+ * - ':host() { ... }' will return no matches (selector doesn't match selector used to create regex)
99
+ *
100
+ * @param selector The CSS selector we want to match for replacement
101
+ * @returns A look-behind regex containing the selector
102
+ */
103
+ const createSupportsRuleRe = (selector) => {
104
+ const escapedSelector = escapeRegExpSpecialCharacters(selector);
105
+ return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${escapedSelector}))(${escapedSelector}\\b)`, "g");
106
+ };
107
+ const _commentRe = /\/\*\s*[\s\S]*?\*\//g;
108
+ const stripComments = (input) => {
109
+ return input.replace(_commentRe, "");
110
+ };
111
+ const _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
112
+ const extractCommentsWithHash = (input) => {
113
+ return input.match(_commentWithHashRe) || [];
114
+ };
115
+ const _ruleRe = /(\s*)([^;{}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
116
+ const _curlyRe = /([{}])/g;
117
+ const _selectorPartsRe = /(^.*?[^\\])??((:+)(.*)|$)/;
118
+ const OPEN_CURLY = "{";
119
+ const CLOSE_CURLY = "}";
120
+ const BLOCK_PLACEHOLDER = "%BLOCK%";
121
+ const processRules = (input, ruleCallback) => {
122
+ const inputWithEscapedBlocks = escapeBlocks(input);
123
+ let nextBlockIndex = 0;
124
+ return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
125
+ const selector = m[2];
126
+ let content = "";
127
+ let suffix = m[4];
128
+ let contentPrefix = "";
129
+ if (suffix && suffix.startsWith("{%BLOCK%")) {
130
+ content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
131
+ suffix = suffix.substring(8);
132
+ contentPrefix = "{";
133
+ }
134
+ const rule = ruleCallback({
135
+ selector,
136
+ content
137
+ });
138
+ return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
139
+ });
140
+ };
141
+ const escapeBlocks = (input) => {
142
+ const inputParts = input.split(_curlyRe);
143
+ const resultParts = [];
144
+ const escapedBlocks = [];
145
+ let bracketCount = 0;
146
+ let currentBlockParts = [];
147
+ for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {
148
+ const part = inputParts[partIndex];
149
+ if (part === CLOSE_CURLY) bracketCount--;
150
+ if (bracketCount > 0) currentBlockParts.push(part);
151
+ else {
152
+ if (currentBlockParts.length > 0) {
153
+ escapedBlocks.push(currentBlockParts.join(""));
154
+ resultParts.push(BLOCK_PLACEHOLDER);
155
+ currentBlockParts = [];
156
+ }
157
+ resultParts.push(part);
158
+ }
159
+ if (part === OPEN_CURLY) bracketCount++;
160
+ }
161
+ if (currentBlockParts.length > 0) {
162
+ escapedBlocks.push(currentBlockParts.join(""));
163
+ resultParts.push(BLOCK_PLACEHOLDER);
164
+ }
165
+ return {
166
+ escapedString: resultParts.join(""),
167
+ blocks: escapedBlocks
168
+ };
169
+ };
170
+ /**
171
+ * Replaces certain strings within the CSS with placeholders
172
+ * that will later be replaced with class selectors appropriate
173
+ * for the level of encapsulation (shadow or scoped).
174
+ *
175
+ * When performing these replacements, we want to ignore selectors that are a
176
+ * part of an `@supports` rule. Replacing these selectors will result in invalid
177
+ * CSS that gets passed to autoprefixer/postcss once the placeholders are replaced.
178
+ * For example, a rule like:
179
+ *
180
+ * ```css
181
+ * @supports selector(:host()) {
182
+ * :host {
183
+ * color: red;
184
+ * }
185
+ * }
186
+ * ```
187
+ *
188
+ * Should be converted to:
189
+ *
190
+ * ```css
191
+ * @supports selector(:host()) {
192
+ * -shadowcsshost {
193
+ * color: red;
194
+ * }
195
+ * }
196
+ * ```
197
+ *
198
+ * The order the regex replacements happen in matters since we match
199
+ * against a whole selector word so we need to match all of `:host-context`
200
+ * before we try to replace `:host`. Otherwise the pattern for `:host` would match
201
+ * `:host-context` resulting in something like `:-shadowcsshost-context`.
202
+ *
203
+ * @param cssText A CSS string for a component
204
+ * @returns The modified CSS string
205
+ */
206
+ const insertPolyfillHostInCssText = (cssText) => {
207
+ const supportsBlocks = [];
208
+ cssText = cssText.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g, (_, selectorContent) => {
209
+ const placeholder = `__supports_${supportsBlocks.length}__`;
210
+ supportsBlocks.push(selectorContent);
211
+ return `@supports selector(${placeholder})`;
212
+ });
213
+ const _colonSlottedRe = createSupportsRuleRe("::slotted");
214
+ const _colonHostRe = createSupportsRuleRe(":host");
215
+ const _colonHostContextRe = createSupportsRuleRe(":host-context");
216
+ cssText = cssText.replace(_colonHostContextRe, `$1${_polyfillHostContext}`).replace(_colonHostRe, `$1${_polyfillHost}`).replace(_colonSlottedRe, `$1${_polyfillSlotted}`);
217
+ supportsBlocks.forEach((originalSelector, index) => {
218
+ cssText = cssText.replace(`__supports_${index}__`, originalSelector);
219
+ });
220
+ return cssText;
221
+ };
222
+ const convertColonRule = (cssText, regExp, partReplacer) => {
223
+ return cssText.replace(regExp, (...m) => {
224
+ if (m[2]) {
225
+ const parts = m[2].split(",");
226
+ const r = [];
227
+ for (let i = 0; i < parts.length; i++) {
228
+ const p = parts[i].trim();
229
+ if (!p) break;
230
+ r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));
231
+ }
232
+ return r.join(",");
233
+ } else return _polyfillHostNoCombinator + m[3];
234
+ });
235
+ };
236
+ const colonHostPartReplacer = (host, part, suffix) => {
237
+ return host + part.replace(_polyfillHost, "") + suffix;
238
+ };
239
+ const convertColonHost = (cssText) => {
240
+ return convertColonRule(cssText, getCssColonHostRe(), colonHostPartReplacer);
241
+ };
242
+ const colonHostContextPartReplacer = (host, part, suffix) => {
243
+ if (part.indexOf(_polyfillHost) > -1) return colonHostPartReplacer(host, part, suffix);
244
+ else return host + part + suffix + ", " + part + " " + host + suffix;
245
+ };
246
+ const convertColonSlotted = (cssText, slotScopeId) => {
247
+ const slotClass = "." + slotScopeId + " > ";
248
+ const selectors = [];
249
+ cssText = cssText.replace(getCssColonSlottedRe(), (...m) => {
250
+ if (m[2]) {
251
+ const compound = m[2].trim();
252
+ const suffix = m[3];
253
+ const slottedSelector = slotClass + compound + suffix;
254
+ let prefixSelector = "";
255
+ for (let i = m[4] - 1; i >= 0; i--) {
256
+ const char = m[5][i];
257
+ if (char === "}" || char === ",") break;
258
+ prefixSelector = char + prefixSelector;
259
+ }
260
+ const orgSelector = (prefixSelector + slottedSelector).trim();
261
+ const addedSelector = `${prefixSelector.trimEnd()}${slottedSelector.trim()}`.trim();
262
+ if (orgSelector !== addedSelector) {
263
+ const updatedSelector = `${addedSelector}, ${orgSelector}`;
264
+ selectors.push({
265
+ orgSelector,
266
+ updatedSelector
267
+ });
268
+ }
269
+ return slottedSelector;
270
+ } else return _polyfillHostNoCombinator + m[3];
271
+ });
272
+ return {
273
+ selectors,
274
+ cssText
275
+ };
276
+ };
277
+ const convertColonHostContext = (cssText) => {
278
+ return convertColonRule(cssText, getCssColonHostContextRe(), colonHostContextPartReplacer);
279
+ };
280
+ const convertShadowDOMSelectors = (cssText) => {
281
+ return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, " "), cssText);
282
+ };
283
+ const makeScopeMatcher = (scopeSelector) => {
284
+ scopeSelector = scopeSelector.replace(/\[/g, "\\[").replace(/\]/g, "\\]");
285
+ return new RegExp("^(" + scopeSelector + ")([>\\s~+[.,{:][\\s\\S]*)?$", "m");
286
+ };
287
+ const selectorNeedsScoping = (selector, scopeSelector) => {
288
+ return !makeScopeMatcher(scopeSelector).test(selector);
289
+ };
290
+ const injectScopingSelector = (selector, scopingSelector) => {
291
+ return selector.replace(_selectorPartsRe, (_, before = "", _colonGroup, colon = "", after = "") => {
292
+ return before + scopingSelector + colon + after;
293
+ });
294
+ };
295
+ const applySimpleSelectorScope = (selector, scopeSelector, hostSelector) => {
296
+ _polyfillHostRe.lastIndex = 0;
297
+ if (_polyfillHostRe.test(selector)) {
298
+ const replaceBy = `.${hostSelector}`;
299
+ return selector.replace(_polyfillHostNoCombinatorRe, (_, sel) => injectScopingSelector(sel, replaceBy)).replace(_polyfillHostRe, replaceBy + " ");
300
+ }
301
+ return scopeSelector + " " + selector;
302
+ };
303
+ const applyStrictSelectorScope = (selector, scopeSelector, hostSelector) => {
304
+ scopeSelector = scopeSelector.replace(/\[is=([^\]]*)\]/g, (_, ...parts) => parts[0]);
305
+ const className = "." + scopeSelector;
306
+ const _scopeSelectorPart = (p) => {
307
+ let scopedP = p.trim();
308
+ if (!scopedP) return "";
309
+ if (p.indexOf(_polyfillHostNoCombinator) > -1) scopedP = applySimpleSelectorScope(p, scopeSelector, hostSelector);
310
+ else {
311
+ const t = p.replace(_polyfillHostRe, "");
312
+ if (t.length > 0) scopedP = injectScopingSelector(t, className);
313
+ }
314
+ return scopedP;
315
+ };
316
+ const safeContent = safeSelector(selector);
317
+ selector = safeContent.content;
318
+ let scopedSelector = "";
319
+ let startIndex = 0;
320
+ let res;
321
+ const sep = /( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;
322
+ let shouldScope = !(selector.indexOf(_polyfillHostNoCombinator) > -1);
323
+ while ((res = sep.exec(selector)) !== null) {
324
+ const separator = res[1];
325
+ const part = selector.slice(startIndex, res.index).trim();
326
+ shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
327
+ const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;
328
+ scopedSelector += `${scopedPart} ${separator} `;
329
+ startIndex = sep.lastIndex;
330
+ }
331
+ const part = selector.substring(startIndex);
332
+ shouldScope = !part.match(_safePartRe) && (shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1);
333
+ scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
334
+ return restoreSafeSelector(safeContent.placeholders, scopedSelector);
335
+ };
336
+ const scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
337
+ return selector.split(",").map((shallowPart) => {
338
+ if (slotSelector && shallowPart.indexOf("." + slotSelector) > -1) return shallowPart.trim();
339
+ if (selectorNeedsScoping(shallowPart, scopeSelectorText)) return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();
340
+ else return shallowPart.trim();
341
+ }).join(", ");
342
+ };
343
+ const scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
344
+ return processRules(cssText, (rule) => {
345
+ let selector = rule.selector;
346
+ let content = rule.content;
347
+ if (rule.selector[0] !== "@") selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
348
+ else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector);
349
+ return {
350
+ selector: selector.replace(/\s{2,}/g, " ").trim(),
351
+ content
352
+ };
353
+ });
354
+ };
355
+ const scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector) => {
356
+ cssText = insertPolyfillHostInCssText(cssText);
357
+ cssText = convertColonHost(cssText);
358
+ cssText = convertColonHostContext(cssText);
359
+ const slotted = convertColonSlotted(cssText, slotScopeId);
360
+ cssText = slotted.cssText;
361
+ cssText = convertShadowDOMSelectors(cssText);
362
+ if (scopeId) cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector);
363
+ cssText = replaceShadowCssHost(cssText, hostScopeId);
364
+ cssText = cssText.replace(/>\s*\*\s+([^{, ]+)/gm, " $1 ");
365
+ return {
366
+ cssText: cssText.trim(),
367
+ slottedSelectors: slotted.selectors.map((ref) => ({
368
+ orgSelector: replaceShadowCssHost(ref.orgSelector, hostScopeId),
369
+ updatedSelector: replaceShadowCssHost(ref.updatedSelector, hostScopeId)
370
+ }))
371
+ };
372
+ };
373
+ /**
374
+ * Helper function that replaces the interim string representing a `:host` selector with
375
+ * the host scope selector class for the element.
376
+ *
377
+ * @param cssText The CSS string to make the replacement in
378
+ * @param hostScopeId The scope ID that will be used as the class representing the host element
379
+ * @returns CSS with the selector replaced
380
+ */
381
+ const replaceShadowCssHost = (cssText, hostScopeId) => {
382
+ return cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);
383
+ };
384
+ /**
385
+ * Expands selectors with ::part(...) to also include [part~="..."] selectors.
386
+ * For example:
387
+ * ```css
388
+ * selectors-like-this::part(demo) { ... }
389
+ * .something .selectors::part(demo demo2):hover { ... }
390
+ * ```
391
+ * Becomes:
392
+ * ```
393
+ * selectors-like-this::part(demo), selectors-like-this [part~="demo"] { ... }
394
+ * .something .selectors::part(demo demo2):hover, .something .selectors [part~="demo"][part~="demo2"]:hover { ... }
395
+ * ```
396
+ *
397
+ * @param cssText The CSS text to process
398
+ * @returns The CSS text with expanded ::part(...) selectors
399
+ */
400
+ const expandPartSelectors = (cssText) => {
401
+ const partSelectorRe = /([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;
402
+ return processRules(cssText, (rule) => {
403
+ if (rule.selector[0] === "@") return rule;
404
+ rule.selector = rule.selector.split(",").map((sel) => {
405
+ const out = [sel.trim()];
406
+ let m;
407
+ while ((m = partSelectorRe.exec(sel)) !== null) {
408
+ const before = m[1].trimEnd();
409
+ const partNames = m[2].trim().split(/\s+/);
410
+ const after = m[3] || "";
411
+ const partAttr = partNames.flatMap((p) => {
412
+ if (!rule.selector.includes(`[part~="${p}"]`)) return [`[part~="${p}"]`];
413
+ return [];
414
+ }).join("");
415
+ const expanded = `${before} ${partAttr}${after}`;
416
+ if (!!partAttr && expanded !== sel.trim()) out.push(expanded);
417
+ }
418
+ return out.join(", ");
419
+ }).join(", ");
420
+ return rule;
421
+ });
422
+ };
423
+ const scopeCss = (cssText, scopeId, commentOriginalSelector) => {
424
+ const hostScopeId = scopeId + "-h";
425
+ const slotScopeId = scopeId + "-s";
426
+ const commentsWithHash = extractCommentsWithHash(cssText);
427
+ cssText = stripComments(cssText);
428
+ const orgSelectors = [];
429
+ if (commentOriginalSelector) {
430
+ const processCommentedSelector = (rule) => {
431
+ const placeholder = `/*!@___${orgSelectors.length}___*/`;
432
+ const comment = `/*!@${rule.selector}*/`;
433
+ orgSelectors.push({
434
+ placeholder,
435
+ comment
436
+ });
437
+ rule.selector = placeholder + rule.selector;
438
+ return rule;
439
+ };
440
+ cssText = processRules(cssText, (rule) => {
441
+ if (rule.selector[0] !== "@") return processCommentedSelector(rule);
442
+ else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
443
+ rule.content = processRules(rule.content, processCommentedSelector);
444
+ return rule;
445
+ }
446
+ return rule;
447
+ });
448
+ }
449
+ const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector);
450
+ cssText = [scoped.cssText, ...commentsWithHash].join("\n");
451
+ if (commentOriginalSelector) orgSelectors.forEach(({ placeholder, comment }) => {
452
+ cssText = cssText.replace(placeholder, comment);
453
+ });
454
+ scoped.slottedSelectors.forEach((slottedSelector) => {
455
+ const regex = new RegExp(escapeRegExpSpecialCharacters(slottedSelector.orgSelector) + "(?=\\s*[,{]|$)", "g");
456
+ cssText = cssText.replace(regex, slottedSelector.updatedSelector);
457
+ });
458
+ cssText = expandPartSelectors(cssText);
459
+ return cssText;
460
+ };
461
+ //#endregion
31
462
  //#region src/version.ts
32
- const version = "5.0.0-alpha.32";
33
- const buildId = "1787268004";
34
- const vermoji = "🍦";
463
+ const version = "5.0.0-alpha.33";
464
+ const buildId = "1787328414";
465
+ const vermoji = "🎨";
35
466
  /**
36
467
  * Get the installed version of a tool/dependency.
37
468
  * Handles packages with exports maps that point to subdirectories.
@@ -418,6 +849,8 @@ const getBuildFeatures = (cmps) => {
418
849
  shadowDelegatesFocus: shadowDom && cmps.some((c) => c.shadowDelegatesFocus),
419
850
  shadowModeClosed: shadowDom && cmps.some((c) => c.shadowMode === "closed"),
420
851
  shadowSlotAssignmentManual: shadowDom && cmps.some((c) => c.slotAssignment === "manual"),
852
+ shadowClonable: shadowDom && cmps.some((c) => c.shadowClonable),
853
+ shadowSerializable: shadowDom && cmps.some((c) => c.shadowSerializable),
421
854
  slot,
422
855
  slotRelocation,
423
856
  state: cmps.some((c) => c.hasState),
@@ -13046,6 +13479,8 @@ const componentDecoratorToStatic = (config, typeChecker, diagnostics, cmpNode, n
13046
13479
  if (enc.mode === "closed") newMembers.push(createStaticGetter("shadowMode", convertValueToLiteral("closed")));
13047
13480
  if (enc.delegatesFocus === true) newMembers.push(createStaticGetter("delegatesFocus", convertValueToLiteral(true)));
13048
13481
  if (enc.slotAssignment === "manual") newMembers.push(createStaticGetter("slotAssignment", convertValueToLiteral("manual")));
13482
+ if (enc.clonable === true) newMembers.push(createStaticGetter("clonable", convertValueToLiteral(true)));
13483
+ if (enc.serializable === true) newMembers.push(createStaticGetter("serializable", convertValueToLiteral(true)));
13049
13484
  } else if (enc.type === "scoped") {
13050
13485
  newMembers.push(createStaticGetter("encapsulation", convertValueToLiteral("scoped")));
13051
13486
  if (enc.patches && enc.patches.length > 0) newMembers.push(createStaticGetter("patches", convertValueToLiteral(enc.patches)));
@@ -15706,6 +16141,30 @@ const parseStaticShadowDelegatesFocus = (encapsulation, staticMembers) => {
15706
16141
  return null;
15707
16142
  };
15708
16143
  /**
16144
+ * Find and return if `clonable` is enabled for a component based on the return value of its static getter of the
16145
+ * same name.
16146
+ *
16147
+ * @param encapsulation the encapsulation mode to use for a component
16148
+ * @param staticMembers a collection of static getters to search
16149
+ * @returns `true` if encapsulation is 'shadow' and the `clonable` static getter returns true
16150
+ */
16151
+ const parseStaticShadowClonable = (encapsulation, staticMembers) => {
16152
+ if (encapsulation === "shadow") return !!getStaticValue(staticMembers, "clonable");
16153
+ return null;
16154
+ };
16155
+ /**
16156
+ * Find and return if `serializable` is enabled for a component based on the return value of its static getter of
16157
+ * the same name.
16158
+ *
16159
+ * @param encapsulation the encapsulation mode to use for a component
16160
+ * @param staticMembers a collection of static getters to search
16161
+ * @returns `true` if encapsulation is 'shadow' and the `serializable` static getter returns true
16162
+ */
16163
+ const parseStaticShadowSerializable = (encapsulation, staticMembers) => {
16164
+ if (encapsulation === "shadow") return !!getStaticValue(staticMembers, "serializable");
16165
+ return null;
16166
+ };
16167
+ /**
15709
16168
  * Find and return the `slotAssignment` mode for a component.
15710
16169
  *
15711
16170
  * @param encapsulation the encapsulation mode to use for a component
@@ -15929,6 +16388,8 @@ const parseStaticComponentMeta = (compilerCtx, typeChecker, cmpNode, moduleFile,
15929
16388
  elementRef: parseStaticElementRef(staticMembers),
15930
16389
  encapsulation,
15931
16390
  shadowDelegatesFocus: !!parseStaticShadowDelegatesFocus(encapsulation, staticMembers),
16391
+ shadowClonable: !!parseStaticShadowClonable(encapsulation, staticMembers),
16392
+ shadowSerializable: !!parseStaticShadowSerializable(encapsulation, staticMembers),
15932
16393
  shadowMode: parseStaticShadowMode(encapsulation, staticMembers),
15933
16394
  slotAssignment: parseStaticSlotAssignment(encapsulation, staticMembers),
15934
16395
  patches: parseStaticPatches(encapsulation, staticMembers),
@@ -24165,4 +24626,4 @@ const shouldTranspileModule = (ext) => [
24165
24626
  "js"
24166
24627
  ].includes(ext);
24167
24628
  //#endregion
24168
- export { version as C, vermoji as S, cmpMetaToDocsComponent as _, createPrerenderer as a, getBuildFeatures as b, createWorkerContext as c, nodeRequire as d, optimizeCss as f, generateManifest as g, Cache as h, createSystem as i, createWorkerMessageHandler as l, validateConfig as m, transpile as n, loadConfig as o, createInMemoryFs as p, transpileSync as r, createCompiler as s, ts$1 as t, optimizeJs as u, BuildContext as v, versions as w, buildId as x, getScopeId as y };
24629
+ export { buildId as _, createPrerenderer as a, versions as b, createWorkerContext as c, nodeRequire as d, optimizeCss as f, getScopeId as g, cmpMetaToDocsComponent as h, createSystem as i, createWorkerMessageHandler as l, generateManifest as m, transpile as n, loadConfig as o, validateConfig as p, transpileSync as r, createCompiler as s, ts$1 as t, optimizeJs as u, vermoji as v, scopeCss as x, version as y };