@stencil/core 5.0.0-alpha.27 → 5.0.0-alpha.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-data/index.d.ts +1 -1
- package/dist/{client-CvcvHKz4.mjs → client-D1MsT-Rp.mjs} +373 -238
- package/dist/compiler/index.d.mts +2 -3
- package/dist/compiler/index.mjs +3 -3
- package/dist/compiler/utils/index.d.mts +272 -2
- package/dist/compiler/utils/index.mjs +4 -3
- package/dist/{compiler-D43Ied7R.mjs → compiler-BbS9TDF_.mjs} +1845 -1118
- package/dist/declarations/stencil-ext-modules.d.ts +5 -5
- package/dist/declarations/stencil-public-compiler.d.ts +108 -40
- package/dist/declarations/stencil-public-docs.d.ts +9 -0
- package/dist/declarations/stencil-public-runtime.d.ts +81 -6
- package/dist/fragment-Di1hWOC8.mjs +4 -0
- package/dist/{index-F3IidHM1.d.mts → index-BHj3EBl2.d.mts} +395 -312
- package/dist/{index-xAkMgLX_.d.ts → index-D2PAsXxx.d.ts} +133 -9
- package/dist/index-VK8okIiF.d.mts +108 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.mjs +91 -2
- package/dist/jsx-runtime.mjs +2 -1
- package/dist/{node-DKVq_Ud0.mjs → node-BQR4L-TG.mjs} +60 -58
- package/dist/reactive-controller-BdCpSAQP.d.mts +13 -0
- package/dist/{regular-expression-CFVJOTUh.mjs → regular-expression-XqU5zmPp.mjs} +20 -3
- package/dist/{chunk-z9aeyW2b.mjs → rolldown-runtime-BhDjJH2R.mjs} +1 -1
- package/dist/runtime/client/lazy.js +411 -165
- package/dist/runtime/client/runtime.d.ts +136 -9
- package/dist/runtime/client/runtime.js +411 -165
- package/dist/runtime/index.d.ts +5 -3
- package/dist/runtime/index.js +410 -163
- package/dist/runtime/server/index.d.mts +80 -8
- package/dist/runtime/server/index.mjs +333 -158
- package/dist/runtime/server/runner.d.mts +3 -0
- package/dist/runtime/server/runner.mjs +232 -308
- package/dist/signals/index.d.ts +2 -0
- package/dist/sys/node/index.d.mts +1 -2
- package/dist/sys/node/index.mjs +1 -1
- package/dist/sys/node/worker.d.mts +1 -1
- package/dist/sys/node/worker.mjs +6 -3
- package/dist/testing/index.d.mts +4 -9
- package/dist/testing/index.mjs +74 -56
- package/dist/util-BIa-iHnt.mjs +724 -0
- package/dist/validation-Dd3g77T5.mjs +778 -0
- package/package.json +27 -27
- package/dist/index-3fu7WQs4.d.mts +0 -205
- package/dist/validation-ByxKj8bC.mjs +0 -1458
- /package/{LICENSE.md → LICENSE} +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { $ as ComponentCompilerVirtualProperty, $i as
|
|
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";
|
|
2
2
|
import ts from "typescript";
|
|
3
|
-
|
|
4
3
|
//#region src/version.d.ts
|
|
5
4
|
declare const version: string;
|
|
6
5
|
declare const buildId: string;
|
|
@@ -354,4 +353,4 @@ type ConfigValidationResults = {
|
|
|
354
353
|
*/
|
|
355
354
|
declare const validateConfig: (userConfig: UnvalidatedConfig, bootstrapConfig: LoadConfigInit) => ConfigValidationResults;
|
|
356
355
|
//#endregion
|
|
357
|
-
export { AnyHTMLElement, AssetsMeta, AutoprefixerOptions, BuildComponent, BuildConditionals, BuildCtx, BuildEmitEvents, BuildEvents, BuildFeatures, BuildLog, BuildNoChangeResults, BuildOnEventRemove, BuildOnEvents, BuildOutput, BuildOverrides, BuildResultsComponentGraph, BuildSourceGraph, BuildStyleUpdate, BuildTask, BundleModule, BundleModuleOutput, Cache, CacheStorage, ChildType, CliInitOptions, CollectionBundleManifest, CollectionCompiler, CollectionCompilerMeta, CollectionCompilerVersion, CollectionComponentEntryPath, CollectionDependencyData, CollectionDependencyManifest, CollectionManifest, CompileScriptMinifyOptions, CompileTarget, Compiler, CompilerAssetDir, CompilerBuildResults, CompilerBuildStart, CompilerBuildStatBundle, CompilerBuildStatCollection, CompilerBuildStats, CompilerCtx, CompilerDependency, CompilerEventBuildFinish, CompilerEventBuildLog, CompilerEventBuildNoChange, CompilerEventBuildStart, CompilerEventDirAdd, CompilerEventDirDelete, CompilerEventFileAdd, CompilerEventFileDelete, CompilerEventFileUpdate, CompilerEventFsChange, CompilerEventName, CompilerFileWatcher, CompilerFileWatcherCallback, CompilerFileWatcherEvent, CompilerFsStats, CompilerJsDoc, CompilerJsDocTagInfo, CompilerModeStyles, CompilerRequest, CompilerRequestResponse, CompilerStyleDoc, CompilerSystem, CompilerSystemCreateDirectoryOptions, CompilerSystemCreateDirectoryResults, CompilerSystemRealpathResults, CompilerSystemRemoveDirectoryOptions, CompilerSystemRemoveDirectoryResults, CompilerSystemRemoveFileResults, CompilerSystemRenameResults, CompilerSystemRenamedPath, CompilerSystemWriteFileResults, CompilerWatcher, CompilerWorkerContext, CompilerWorkerTask, ComponentCompilerChangeHandler, ComponentCompilerCustomState, ComponentCompilerData, ComponentCompilerEvent, ComponentCompilerEventComplexType, ComponentCompilerFeatures, ComponentCompilerListener, ComponentCompilerMeta, ComponentCompilerMethod, ComponentCompilerMethodComplexType, ComponentCompilerProperty, ComponentCompilerPropertyComplexType, ComponentCompilerPropertyType, ComponentCompilerReferencedType, ComponentCompilerState, ComponentCompilerStaticEvent, ComponentCompilerStaticMethod, ComponentCompilerStaticProperty, ComponentCompilerTypeReference, ComponentCompilerTypeReferences, ComponentCompilerVirtualProperty, ComponentConstructor, ComponentConstructorChangeHandlers, ComponentConstructorEncapsulation, ComponentConstructorEvent, ComponentConstructorListener, ComponentConstructorProperties, ComponentConstructorProperty, ComponentConstructorPropertyType, ComponentGlobalStyle, ComponentNativeConstructor, ComponentPatches, ComponentRuntimeHostListener, ComponentRuntimeMember, ComponentRuntimeMembers, ComponentRuntimeMeta, ComponentRuntimeMetaCompact, ComponentRuntimeReflectingAttr, ComponentTestingConstructor, Config, ConfigBundle, ConfigCompat, CopyResults, CopyTask, Credentials, CssImportData, CssToEsmImportData, CssTransformCacheEntry, CustomElementsExportBehavior, CustomElementsExportBehaviorOptions, type CustomElementsManifest, DevServer, DevServerConfig, DevServerEditor, Diagnostic, DocData, Encapsulation, EntryModule, EventInitDict, ExternalStyleCompiler, FsWatchResults, type FsWriteResults, HistoryApiFallback, HmrStyleUpdate, HostElement, HostRef, HotModuleReplacement, HydrateDocumentOptions, HydrateFactoryOptions, HydratedFlag, ImportData, type InMemoryFileSystem, JSDocTagInfo, JsDoc, JsonDocMethodParameter, JsonDocs, JsonDocsComponent, JsonDocsCustomState, JsonDocsDependencyGraph, JsonDocsEvent, JsonDocsListener, JsonDocsMethod, JsonDocsMethodReturn, JsonDocsPart, JsonDocsProp, JsonDocsSlot, JsonDocsStyle, JsonDocsTag, JsonDocsTypeLibrary, JsonDocsUsage, JsonDocsValue, LOG_LEVELS, LazyBundleRuntimeData, LazyBundlesRuntimeData, LazyRequire, LightDomPatches, LoadConfigInit, LoadConfigResults, LogLevel, Logger, LoggerLineUpdater, LoggerTimeSpan, Module, ModuleFormat, ModuleMap, MsgFromWorker, MsgToWorker, NewSpecPageOptions, NodeMap, NodeResolveConfig, OptimizeCssInput, OptimizeCssOutput, OptimizeJsInput, OptimizeJsOutput, OptimizeJsResult, OutputTarget, OutputTargetAssets, OutputTargetBase, OutputTargetBaseNext, OutputTargetBuild, OutputTargetCollection, OutputTargetCopy, OutputTargetCustom, OutputTargetDistLazy, OutputTargetDocsCustom, OutputTargetDocsCustomElementsManifest, OutputTargetDocsJson, OutputTargetDocsReadme, OutputTargetDocsVscode, OutputTargetGlobalStyle, OutputTargetLoaderBundle, OutputTargetSsr, OutputTargetSsrWasm, OutputTargetStandalone, OutputTargetStats, OutputTargetTypes, OutputTargetWww, PackageJsonData, PageReloadStrategy, ParsedImport, ParsedPath, PatchedSlotNode, PlatformPath, PlatformRuntime, Plugin, PluginCtx, PluginTransformResults, PluginTransformationDescriptor, PrerenderConfig, PrerenderHydrateOptions, PrerenderManager, PrerenderOptions, PrerenderResults, PrerenderStartOptions, PrerenderUrlRequest, PrerenderUrlResults, PrintLine, PropsType, RenderNode, ResolveModuleIdOptions, ResolveModuleIdResults, ResolveModuleOptions, RobotsTxtOpts, RobotsTxtResults, RolldownAssetResult, RolldownChunkResult, RolldownConfig, RolldownResult, RolldownResultModule, RolldownResults, type RolldownSourceMap, RootAppliedStyleMap, RuntimeRef, SerializeDocumentOptions, SerializeImportData, SerializedEvent, ServiceWorkerConfig, SitemapXmpOpts, SitemapXmpResults, SourceMap, SourceTarget, SpecPage, SsrAnchorElement, SsrComponent, SsrDocumentOptions, SsrElement, SsrFactoryOptions, SsrImgElement, SsrResults, SsrScriptElement, SsrStaticData, SsrStyleElement, StencilConfig, StencilDevServerConfig, StencilDocsConfig, StencilDocument, StyleCompiler, StyleDoc, StyleMap, SystemDetails, TransformCssToEsmInput, TransformCssToEsmOutput, TransformOptions, TranspileModuleResults, TranspileOnlyResults, TranspileOptions, TranspileResults, TypeInfo, TypesImportData, TypesMemberNameData, TypesModule, UnvalidatedConfig, UpdatedLazyBuildCtx, VNodeProdData, ValidateTypesResults, ValidatedConfig, ValidatedOutputTargetWww, WatcherCloseResults, Workbox, WorkerContextMethod, WorkerMainController, WorkerMsgHandler, WorkerOptions, buildId, cmpMetaToDocsComponent, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, generateManifest, getScopeId, loadConfig, nodeRequire, optimizeCss, optimizeJs, scopeCss, transpile, transpileSync, ts, validateConfig, vermoji, version, versions };
|
|
356
|
+
export { AnyHTMLElement, AssetsMeta, AutoprefixerOptions, BuildComponent, BuildConditionals, BuildCtx, BuildEmitEvents, BuildEvents, BuildFeatures, BuildLog, BuildNoChangeResults, BuildOnEventRemove, BuildOnEvents, BuildOutput, BuildOverrides, BuildResultsComponentGraph, BuildSourceGraph, BuildStyleUpdate, BuildTask, BundleModule, BundleModuleOutput, Cache, CacheStorage, ChildType, CliInitOptions, CollectionBundleManifest, CollectionCompiler, CollectionCompilerMeta, CollectionCompilerVersion, CollectionComponentEntryPath, CollectionDependencyData, CollectionDependencyManifest, CollectionManifest, CompileScriptMinifyOptions, CompileTarget, Compiler, CompilerAssetDir, CompilerBuildResults, CompilerBuildStart, CompilerBuildStatBundle, CompilerBuildStatCollection, CompilerBuildStats, CompilerCtx, CompilerDependency, CompilerEventBuildFinish, CompilerEventBuildLog, CompilerEventBuildNoChange, CompilerEventBuildStart, CompilerEventDirAdd, CompilerEventDirDelete, CompilerEventFileAdd, CompilerEventFileDelete, CompilerEventFileUpdate, CompilerEventFsChange, CompilerEventName, CompilerFileWatcher, CompilerFileWatcherCallback, CompilerFileWatcherEvent, CompilerFsStats, CompilerJsDoc, CompilerJsDocTagInfo, CompilerModeStyles, CompilerRequest, CompilerRequestResponse, CompilerStyleDoc, CompilerSystem, CompilerSystemCreateDirectoryOptions, CompilerSystemCreateDirectoryResults, CompilerSystemRealpathResults, CompilerSystemRemoveDirectoryOptions, CompilerSystemRemoveDirectoryResults, CompilerSystemRemoveFileResults, CompilerSystemRenameResults, CompilerSystemRenamedPath, CompilerSystemWriteFileResults, CompilerWatcher, CompilerWorkerContext, CompilerWorkerTask, ComponentCompilerChangeHandler, ComponentCompilerCustomState, ComponentCompilerData, ComponentCompilerEvent, ComponentCompilerEventComplexType, ComponentCompilerFeatures, ComponentCompilerListener, ComponentCompilerMeta, ComponentCompilerMethod, ComponentCompilerMethodComplexType, ComponentCompilerProperty, ComponentCompilerPropertyComplexType, ComponentCompilerPropertyType, ComponentCompilerReferencedType, ComponentCompilerState, ComponentCompilerStaticEvent, ComponentCompilerStaticMethod, ComponentCompilerStaticProperty, ComponentCompilerTypeReference, ComponentCompilerTypeReferences, ComponentCompilerVirtualProperty, ComponentConstructor, ComponentConstructorChangeHandlers, ComponentConstructorEncapsulation, ComponentConstructorEvent, ComponentConstructorListener, ComponentConstructorProperties, ComponentConstructorProperty, ComponentConstructorPropertyType, ComponentGlobalStyle, ComponentNativeConstructor, ComponentPatches, ComponentRuntimeHostListener, ComponentRuntimeMember, ComponentRuntimeMembers, ComponentRuntimeMeta, ComponentRuntimeMetaCompact, ComponentRuntimeReflectingAttr, ComponentTestingConstructor, Config, ConfigBundle, ConfigCompat, CopyResults, CopyTask, Credentials, CssImportData, CssToEsmImportData, CssTransformCacheEntry, CustomElementsExportBehavior, CustomElementsExportBehaviorOptions, type CustomElementsManifest, DevServer, DevServerConfig, DevServerEditor, Diagnostic, DocData, DocsReadmeCustomColumn, Encapsulation, EntryModule, EventInitDict, ExternalStyleCompiler, FsWatchResults, type FsWriteResults, HistoryApiFallback, HmrStyleUpdate, HostElement, HostRef, HotModuleReplacement, HydrateDocumentOptions, HydrateFactoryOptions, HydratedFlag, ImportData, type InMemoryFileSystem, JSDocTagInfo, JsDoc, JsonDocMethodParameter, JsonDocs, JsonDocsComponent, JsonDocsCustomState, JsonDocsDependencyGraph, JsonDocsEvent, JsonDocsListener, JsonDocsMethod, JsonDocsMethodReturn, JsonDocsPart, JsonDocsProp, JsonDocsSlot, JsonDocsStyle, JsonDocsTag, JsonDocsTypeLibrary, JsonDocsUsage, JsonDocsValue, LOG_LEVELS, LazyBundleRuntimeData, LazyBundlesRuntimeData, LazyRequire, LightDomPatches, LoadConfigInit, LoadConfigResults, LogLevel, Logger, LoggerLineUpdater, LoggerTimeSpan, ModeConfig, Module, ModuleFormat, ModuleMap, MsgFromWorker, MsgToWorker, NewSpecPageOptions, NodeMap, NodeResolveConfig, OptimizeCssInput, OptimizeCssOutput, OptimizeJsInput, OptimizeJsOutput, OptimizeJsResult, OutputTarget, OutputTargetAssets, OutputTargetBase, OutputTargetBaseNext, OutputTargetBuild, OutputTargetCollection, OutputTargetCopy, OutputTargetCustom, OutputTargetDistLazy, OutputTargetDocsAgentSkill, OutputTargetDocsCustom, OutputTargetDocsCustomElementsManifest, OutputTargetDocsJson, OutputTargetDocsReadme, OutputTargetDocsVscode, OutputTargetGlobalStyle, OutputTargetLoaderBundle, OutputTargetSsr, OutputTargetSsrWasm, OutputTargetStandalone, OutputTargetStats, OutputTargetTypes, OutputTargetWww, PackageJsonData, PageReloadStrategy, ParsedImport, ParsedPath, PatchedSlotNode, PlatformPath, PlatformRuntime, Plugin, PluginCtx, PluginTransformResults, PluginTransformationDescriptor, PrerenderConfig, PrerenderHydrateOptions, PrerenderManager, PrerenderOptions, PrerenderResults, PrerenderStartOptions, PrerenderUrlRequest, PrerenderUrlResults, PrintLine, PropsType, RenderNode, ResolveModuleIdOptions, ResolveModuleIdResults, ResolveModuleOptions, RobotsTxtOpts, RobotsTxtResults, RolldownAssetResult, RolldownChunkResult, RolldownConfig, RolldownResult, RolldownResultModule, RolldownResults, type RolldownSourceMap, RootAppliedStyleMap, RuntimeRef, SerializeDocumentOptions, SerializeImportData, SerializedEvent, ServiceWorkerConfig, SitemapXmpOpts, SitemapXmpResults, SourceMap, SourceTarget, SpecPage, SsrAnchorElement, SsrComponent, SsrDocumentOptions, SsrElement, SsrFactoryOptions, SsrImgElement, SsrResults, SsrScriptElement, SsrStaticData, SsrStyleElement, StencilConfig, StencilDevServerConfig, StencilDocsConfig, StencilDocument, StyleCompiler, StyleDoc, StyleMap, SystemDetails, TransformCssToEsmInput, TransformCssToEsmOutput, TransformOptions, TranspileModuleResults, TranspileOnlyResults, TranspileOptions, TranspileResults, TypeInfo, TypesImportData, TypesMemberNameData, TypesModule, UnvalidatedConfig, UpdatedLazyBuildCtx, VNodeProdData, ValidateTypesResults, ValidatedConfig, ValidatedOutputTargetWww, WatcherCloseResults, Workbox, WorkerContextMethod, WorkerMainController, WorkerMsgHandler, WorkerOptions, buildId, cmpMetaToDocsComponent, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, generateManifest, getScopeId, loadConfig, nodeRequire, optimizeCss, optimizeJs, scopeCss, transpile, transpileSync, ts, validateConfig, vermoji, version, versions };
|
package/dist/compiler/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as scopeCss } from "../client-
|
|
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-
|
|
3
|
-
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-
|
|
1
|
+
import { f as scopeCss } from "../client-D1MsT-Rp.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-BbS9TDF_.mjs";
|
|
3
|
+
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-BQR4L-TG.mjs";
|
|
4
4
|
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,2 +1,272 @@
|
|
|
1
|
-
import { $a as
|
|
2
|
-
|
|
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";
|
|
2
|
+
//#region src/utils/byte-size.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Used to learn the size of a string in bytes.
|
|
5
|
+
*
|
|
6
|
+
* @param str The string to measure
|
|
7
|
+
* @returns number
|
|
8
|
+
*/
|
|
9
|
+
declare const byteSize: (str: string) => number;
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region src/utils/helpers.d.ts
|
|
12
|
+
/**
|
|
13
|
+
* Check if a value is defined (not null and not undefined).
|
|
14
|
+
*
|
|
15
|
+
* @param v - the value to check
|
|
16
|
+
* @returns true if the value is defined
|
|
17
|
+
*/
|
|
18
|
+
declare const isDef: (v: any) => boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Convert a string from PascalCase to dash-case
|
|
21
|
+
*
|
|
22
|
+
* @param str the string to convert
|
|
23
|
+
* @returns a converted string
|
|
24
|
+
*/
|
|
25
|
+
declare const toDashCase: (str: string) => string;
|
|
26
|
+
/**
|
|
27
|
+
* Convert a string from dash-case / kebab-case to PascalCase (or CamelCase,
|
|
28
|
+
* or whatever you call it!)
|
|
29
|
+
*
|
|
30
|
+
* @param str a string to convert
|
|
31
|
+
* @returns a converted string
|
|
32
|
+
*/
|
|
33
|
+
declare const dashToPascalCase: (str: string) => string;
|
|
34
|
+
/**
|
|
35
|
+
* Convert a string to 'camelCase'
|
|
36
|
+
*
|
|
37
|
+
* @param str the string to convert
|
|
38
|
+
* @returns the converted string
|
|
39
|
+
*/
|
|
40
|
+
declare const toCamelCase: (str: string) => string;
|
|
41
|
+
/**
|
|
42
|
+
* Capitalize the first letter of a string
|
|
43
|
+
*
|
|
44
|
+
* @param str the string to capitalize
|
|
45
|
+
* @returns a capitalized string
|
|
46
|
+
*/
|
|
47
|
+
declare const toTitleCase: (str: string) => string;
|
|
48
|
+
/**
|
|
49
|
+
* Escapes all occurrences of a specified pattern in a string.
|
|
50
|
+
* This function replaces all matches of a given pattern in the input text with a specified replacement string.
|
|
51
|
+
* It can handle both string and regular expression patterns and allows toggling between global and single-match replacements.
|
|
52
|
+
*
|
|
53
|
+
* @param text - The input string to process.
|
|
54
|
+
* @param pattern - The pattern to search for in the input string. Can be a regular expression or a string.
|
|
55
|
+
* @param replacement - The string to replace each match with.
|
|
56
|
+
* @param replaceAll - Whether to replace all occurrences (true) or just the first occurrence (false). Defaults to true.
|
|
57
|
+
* @returns The processed string with the replacements applied.
|
|
58
|
+
*/
|
|
59
|
+
declare const escapeWithPattern: (text: string, pattern: RegExp | string, replacement: string, replaceAll?: boolean) => string;
|
|
60
|
+
/**
|
|
61
|
+
* This is just a no-op, don't expect it to do anything.
|
|
62
|
+
*/
|
|
63
|
+
declare const noop: () => any;
|
|
64
|
+
/**
|
|
65
|
+
* Check whether a value is a 'complex type', defined here as an object or a
|
|
66
|
+
* function.
|
|
67
|
+
*
|
|
68
|
+
* @param o the value to check
|
|
69
|
+
* @returns whether it's a complex type or not
|
|
70
|
+
*/
|
|
71
|
+
declare const isComplexType: (o: unknown) => boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Sort an array without mutating it in-place (as `Array.prototype.sort`
|
|
74
|
+
* unfortunately does)
|
|
75
|
+
*
|
|
76
|
+
* @param array the array you'd like to sort
|
|
77
|
+
* @param prop a function for deriving sortable values (strings or numbers)
|
|
78
|
+
* from array members
|
|
79
|
+
* @returns a new array of all items `x` in `array` ordered by `prop(x)`
|
|
80
|
+
*/
|
|
81
|
+
declare const sortBy: <T>(array: T[], prop: (item: T) => string | number) => T[];
|
|
82
|
+
/**
|
|
83
|
+
* A polyfill of sorts for `Array.prototype.flat` which will return the result
|
|
84
|
+
* of calling that method if present and, if not, return an equivalent based on
|
|
85
|
+
* `Array.prototype.reduce`.
|
|
86
|
+
*
|
|
87
|
+
* @param array the array to flatten (one level)
|
|
88
|
+
* @returns a flattened array
|
|
89
|
+
*/
|
|
90
|
+
declare const flatOne: <T>(array: T[][]) => T[];
|
|
91
|
+
/**
|
|
92
|
+
* Deduplicate an array, retaining items at the earliest position in which
|
|
93
|
+
* they appear.
|
|
94
|
+
*
|
|
95
|
+
* So `unique([1,3,2,1,1,4])` would be `[1,3,2,4]`.
|
|
96
|
+
*
|
|
97
|
+
* @param array the array to deduplicate
|
|
98
|
+
* @param predicate an optional function used to generate the key used to
|
|
99
|
+
* determine uniqueness
|
|
100
|
+
* @returns a new, deduplicated array
|
|
101
|
+
*/
|
|
102
|
+
declare const unique: <T, K>(array: T[], predicate?: (item: T) => K) => T[];
|
|
103
|
+
/**
|
|
104
|
+
* Merge elements of an array into an existing array, using a predicate to
|
|
105
|
+
* determine uniqueness and only adding elements when they are not present in
|
|
106
|
+
* the first array.
|
|
107
|
+
*
|
|
108
|
+
* **Note**: this mutates the target array! This is intentional to avoid
|
|
109
|
+
* unnecessary array allocation, but be sure that it's what you want!
|
|
110
|
+
*
|
|
111
|
+
* @param target the target array, to which new unique items should be added
|
|
112
|
+
* @param newItems a list of new items, some (or all!) of which may be added
|
|
113
|
+
* @param mergeWith a predicate function which reduces the items in `target`
|
|
114
|
+
* and `newItems` to a value which can be equated with `===` for the purposes
|
|
115
|
+
* of determining uniqueness
|
|
116
|
+
*/
|
|
117
|
+
declare function mergeIntoWith<T1, T2>(target: T1[], newItems: T1[], mergeWith: (item: T1) => T2): void;
|
|
118
|
+
/**
|
|
119
|
+
* A utility for building an object from an iterable very similar to
|
|
120
|
+
* `Object.fromEntries`
|
|
121
|
+
*
|
|
122
|
+
* @param entries an iterable object holding entries (key-value tuples) to
|
|
123
|
+
* plop into a new object
|
|
124
|
+
* @returns an object containing those entries
|
|
125
|
+
*/
|
|
126
|
+
declare const fromEntries: <V>(entries: IterableIterator<[string, V]>) => Record<string, V>;
|
|
127
|
+
/**
|
|
128
|
+
* Based on a given object, create a new object which has only the specified
|
|
129
|
+
* key-value pairs included in it.
|
|
130
|
+
*
|
|
131
|
+
* @param obj the object from which to take values
|
|
132
|
+
* @param keys a set of keys to take
|
|
133
|
+
* @returns an object mapping `key` to `obj[key]` if `obj[key]` is truthy for
|
|
134
|
+
* every `key` in `keys`
|
|
135
|
+
*/
|
|
136
|
+
declare const pluck: (obj: {
|
|
137
|
+
[key: string]: any;
|
|
138
|
+
}, keys: string[]) => {
|
|
139
|
+
[key: string]: any;
|
|
140
|
+
};
|
|
141
|
+
declare const isBoolean: (v: any) => v is boolean;
|
|
142
|
+
declare const isFunction: (v: any) => v is Function;
|
|
143
|
+
declare const isNumber: (v: any) => v is number;
|
|
144
|
+
declare const isObject: (val: object) => val is object;
|
|
145
|
+
declare const isString: (v: any) => v is string;
|
|
146
|
+
declare const isIterable: <T>(v: any) => v is Iterable<T>;
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/utils/is-glob.d.ts
|
|
149
|
+
/**
|
|
150
|
+
* Check if a string is a glob pattern (e.g. 'src/*.js' or something like that)
|
|
151
|
+
*
|
|
152
|
+
* @param str a string to check
|
|
153
|
+
* @returns whether the string is a glob pattern or not
|
|
154
|
+
*/
|
|
155
|
+
declare const isGlob: (str: string) => boolean;
|
|
156
|
+
//#endregion
|
|
157
|
+
//#region src/utils/is-root-path.d.ts
|
|
158
|
+
/**
|
|
159
|
+
* Checks if the path is the Operating System (OS) root path, such as "/" or "C:\". This function does not take the OS
|
|
160
|
+
* the code is running on into account when performing this evaluation.
|
|
161
|
+
* @param p the path to check
|
|
162
|
+
* @returns `true` if the path is an OS root path, `false` otherwise
|
|
163
|
+
*/
|
|
164
|
+
declare const isRootPath: (p: string) => boolean;
|
|
165
|
+
//#endregion
|
|
166
|
+
//#region src/utils/path.d.ts
|
|
167
|
+
/**
|
|
168
|
+
* Convert Windows backslash paths to slash paths: foo\\bar ➔ foo/bar
|
|
169
|
+
* Forward-slash paths can be used in Windows as long as they're not
|
|
170
|
+
* extended-length paths and don't contain any non-ascii characters.
|
|
171
|
+
* This was created since the path methods in Node.js outputs \\ paths on Windows.
|
|
172
|
+
* @param path the Windows-based path to convert
|
|
173
|
+
* @param relativize whether or not a relative path should have `./` prepended
|
|
174
|
+
* @returns the converted path
|
|
175
|
+
*/
|
|
176
|
+
declare const normalizePath: (path: string, relativize?: boolean) => string;
|
|
177
|
+
/**
|
|
178
|
+
* Same as normalizePath(), expect it'll also strip any query strings
|
|
179
|
+
* from the path name. So /dir/file.css?tag=cmp-a becomes /dir/file.css
|
|
180
|
+
* @param p the path to normalize
|
|
181
|
+
* @returns the normalized path, sans any query strings
|
|
182
|
+
*/
|
|
183
|
+
declare const normalizeFsPath: (p: string) => string;
|
|
184
|
+
declare const normalizeFsPathQuery: (importPath: string) => {
|
|
185
|
+
filePath: string;
|
|
186
|
+
ext: string;
|
|
187
|
+
format: string;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* A wrapped version of node.js' {@link path.relative} which adds our custom
|
|
191
|
+
* normalization logic. This solves the relative path between `from` and `to`!
|
|
192
|
+
*
|
|
193
|
+
* The calculation of the returned path follows that of Node's logic, with one exception - if the calculated path
|
|
194
|
+
* results in an empty string, a string of length one with a period (`'.'`) is returned.
|
|
195
|
+
*
|
|
196
|
+
* @throws the underlying node.js function can throw if either path is not a
|
|
197
|
+
* string
|
|
198
|
+
* @param from the path where relative resolution starts
|
|
199
|
+
* @param to the destination path
|
|
200
|
+
* @returns the resolved relative path
|
|
201
|
+
*/
|
|
202
|
+
declare function relative(from: string, to: string): string;
|
|
203
|
+
/**
|
|
204
|
+
* A wrapped version of node.js' {@link path.join} which adds our custom
|
|
205
|
+
* normalization logic. This joins all the arguments (path fragments) into a
|
|
206
|
+
* single path.
|
|
207
|
+
*
|
|
208
|
+
* The calculation of the returned path follows that of Node's logic, with one exception - any trailing slashes will
|
|
209
|
+
* be removed from the calculated path.
|
|
210
|
+
*
|
|
211
|
+
* @throws the underlying node function will throw if any argument is not a
|
|
212
|
+
* string
|
|
213
|
+
* @param paths the paths to join together
|
|
214
|
+
* @returns a joined path!
|
|
215
|
+
*/
|
|
216
|
+
declare function join(...paths: string[]): string;
|
|
217
|
+
/**
|
|
218
|
+
* A wrapped version of node.js' {@link path.resolve} which adds our custom
|
|
219
|
+
* normalization logic. This resolves a path to a given (relative or absolute)
|
|
220
|
+
* path.
|
|
221
|
+
*
|
|
222
|
+
* @throws the underlying node function will throw if any argument is not a
|
|
223
|
+
* string
|
|
224
|
+
* @param paths a path or path fragments to resolve
|
|
225
|
+
* @returns a resolved path!
|
|
226
|
+
*/
|
|
227
|
+
declare function resolve(...paths: string[]): string;
|
|
228
|
+
/**
|
|
229
|
+
* A wrapped version of node.js' {@link path.normalize} which adds our custom
|
|
230
|
+
* normalization logic. This normalizes a path, de-duping repeated segment
|
|
231
|
+
* separators and resolving `'..'` segments.
|
|
232
|
+
*
|
|
233
|
+
* @throws the underlying node function will throw if the argument is not a
|
|
234
|
+
* string
|
|
235
|
+
* @param toNormalize a path to normalize
|
|
236
|
+
* @returns a normalized path!
|
|
237
|
+
*/
|
|
238
|
+
declare function normalize(toNormalize: string): string;
|
|
239
|
+
//#endregion
|
|
240
|
+
//#region src/utils/query-nonce-meta-tag-content.d.ts
|
|
241
|
+
/**
|
|
242
|
+
* Helper method for querying a `meta` tag that contains a nonce value
|
|
243
|
+
* out of a DOM's head.
|
|
244
|
+
*
|
|
245
|
+
* @param doc The DOM containing the `head` to query against
|
|
246
|
+
* @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
|
|
247
|
+
* exists or the tag has no content.
|
|
248
|
+
*/
|
|
249
|
+
declare function queryNonceMetaTagContent(doc: Document): string | undefined;
|
|
250
|
+
//#endregion
|
|
251
|
+
//#region src/utils/regular-expression.d.ts
|
|
252
|
+
/**
|
|
253
|
+
* Utility function that will escape all regular expression special characters in a string.
|
|
254
|
+
*
|
|
255
|
+
* @param text The string potentially containing special characters.
|
|
256
|
+
* @returns The string with all special characters escaped.
|
|
257
|
+
*/
|
|
258
|
+
declare const escapeRegExpSpecialCharacters: (text: string) => string;
|
|
259
|
+
//#endregion
|
|
260
|
+
//#region src/utils/url-paths.d.ts
|
|
261
|
+
/**
|
|
262
|
+
* Determines whether a string should be considered a remote url or not.
|
|
263
|
+
*
|
|
264
|
+
* This helper only checks the provided string to evaluate is one of a few pre-defined schemes, and should not be
|
|
265
|
+
* considered all-encompassing
|
|
266
|
+
*
|
|
267
|
+
* @param p the string to evaluate
|
|
268
|
+
* @returns `true` if the provided string is a remote url, `false` otherwise
|
|
269
|
+
*/
|
|
270
|
+
declare const isRemoteUrl: (p: string) => boolean;
|
|
271
|
+
//#endregion
|
|
272
|
+
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, FilterComponentsResult, GENERATED_DTS, GLOBAL_STYLE, HOST_FLAGS, HTML_NS, LISTENER_FLAGS, LOADER_BUNDLE, MEMBER_FLAGS, ModeValidationError, 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, 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_d_exports as result, rolldownToStencilSourceMap, shouldExcludeComponent, shouldIgnoreError, sortBy, splitLineBreaks, stringifyRuntimeData, toCamelCase, toDashCase, toTitleCase, unique, validateComponentModes, validateComponentTag };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import {
|
|
3
|
-
|
|
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";
|
|
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 };
|