@stencil/core 5.0.0-beta.11 → 5.0.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-CdFmjaQa.mjs → client-NHI55T4R.mjs} +7 -4
- package/dist/compiler/browser.d.ts +96 -54
- package/dist/compiler/browser.js +353 -54
- package/dist/compiler/index.d.mts +87 -2
- package/dist/compiler/index.mjs +3 -3
- package/dist/compiler/utils/index.d.mts +1 -1
- package/dist/{compiler-2EypBn_Y.mjs → compiler-Dr9JHtLp.mjs} +3772 -2420
- package/dist/declarations/stencil-public-compiler.d.ts +85 -59
- package/dist/declarations/stencil-public-docs.d.ts +23 -0
- package/dist/declarations/stencil-public-runtime.d.ts +2 -2
- package/dist/{index-CKnzMkZC.d.mts → index-BBJVAnzJ.d.mts} +2 -2
- package/dist/{index-Cw1NW9FW.d.mts → index-BilaSOF5.d.mts} +87 -61
- package/dist/index.mjs +1 -1
- package/dist/jsx-runtime.mjs +1 -1
- package/dist/{node-HKfDhPR3.mjs → node-DrwzfDH1.mjs} +1 -1
- package/dist/runtime/client/lazy.js +87 -84
- package/dist/runtime/client/runtime.d.ts +5 -6
- package/dist/runtime/client/runtime.js +87 -84
- package/dist/runtime/index.d.ts +2 -3
- package/dist/runtime/index.js +85 -82
- package/dist/runtime/server/index.d.mts +4 -5
- package/dist/runtime/server/index.mjs +97 -84
- package/dist/runtime/server/runner.mjs +62 -46
- package/dist/sys/node/index.d.mts +1 -1
- package/dist/sys/node/index.mjs +1 -1
- package/dist/sys/node/worker.mjs +2 -2
- package/dist/testing/index.d.mts +77 -58
- package/dist/testing/index.mjs +167 -156
- package/package.json +5 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as CompilerSystemRemoveDirectoryOptions, $t as OutputTargetDocsCustomElementsManifest, A as CompilerBuildStart, An as SsrFactoryOptions, At as LoadConfigInit, B as CompilerEventFileUpdate, Bn as ValidatedConfig, Bt as OptimizeJsInput, C as BuildResultsComponentGraph, Cn as RobotsTxtResults, Ct as HotModuleReplacement, D as CompileTarget, Dn as SitemapXmpOpts, Dt as LOG_LEVELS, E as CompileScriptMinifyOptions, En as ServiceWorkerConfig, Et as HydratedFlag, F as CompilerEventBuildStart, Fn as TransformOptions, Ft as LoggerTimeSpan, G as CompilerFileWatcherEvent, Gt as OutputTargetBaseNext, H as CompilerEventName, Hn as WatcherCloseResults, Ht as OutputTarget, I as CompilerEventDirAdd, In as TranspileOnlyResults, It as ModeConfig, J as CompilerRequestResponse, Jt as OutputTargetCopy, K as CompilerFsStats, Kt as OutputTargetBuild, L as CompilerEventDirDelete, Ln as TranspileOptions, Lt as NodeResolveConfig, M as CompilerEventBuildFinish, Mn as StencilDevServerConfig, Mt as LogLevel, N as CompilerEventBuildLog, Nn as StencilDocsConfig, Nt as Logger, O as Compiler, On as SitemapXmpResults, Ot as LazyRequire, P as CompilerEventBuildNoChange, Pn as SystemDetails, Pt as LoggerLineUpdater, Q as CompilerSystemRealpathResults, Qt as OutputTargetDocsCustom, R as CompilerEventFileAdd, Rn as TranspileResults, Rt as OptimizeCssInput, S as BuildOverrides, Sn as RobotsTxtOpts, St as HmrStyleUpdate, T as CliInitOptions, Tn as SerializeDocumentOptions, Tt as HydrateFactoryOptions, U as CompilerFileWatcher, Un as WorkerMainController, Ut as OutputTargetAssets, V as CompilerEventFsChange, Vn as ValidatedOutputTargetWww, Vt as OptimizeJsOutput, W as CompilerFileWatcherCallback, Wn as WorkerOptions, Wt as OutputTargetBase, X as CompilerSystemCreateDirectoryOptions, Xt as OutputTargetDistLazy, Y as CompilerSystem, Yt as OutputTargetCustom, Z as CompilerSystemCreateDirectoryResults, Zt as OutputTargetDocsAgentSkill, _ as BuildLog, _n as PrerenderResults, _r as JsonDocsValue, _t as Diagnostic, a as ComponentGlobalStyle, an as OutputTargetSsr, ar as JsonDocsDependencyGraph, at as CompilerWatcher, b as BuildOnEvents, bn as ResolveModuleIdResults, bt as HistoryApiFallback, c as PackageJsonData, cn as OutputTargetStats, cr as JsonDocsMethod, ct as ConfigCompat, dn as PageReloadStrategy, dr as JsonDocsProp, dt as Credentials, en as OutputTargetDocsJson, et as CompilerSystemRemoveDirectoryResults, f as SsrResults, fn as ParsedPath, fr as JsonDocsSlot, ft as CustomElementsExportBehavior, g as BuildEvents, gn as PrerenderOptions, gr as JsonDocsUsage, gt as DevServerEditor, h as BuildEmitEvents, hn as PrerenderHydrateOptions, hr as JsonDocsTypeLibrary, ht as DevServerConfig, i as ComponentCompilerTypeReferences, in as OutputTargetLoaderBundle, ir as JsonDocsCustomState, it as CompilerSystemWriteFileResults, j as CompilerDependency, jn as StencilConfig, jt as LoadConfigResults, k as CompilerBuildResults, kn as SsrDocumentOptions, kt as LightDomPatches, l as PrintLine, ln as OutputTargetTypes, lr as JsonDocsMethodReturn, lt as CopyResults, m as AutoprefixerOptions, mn as PrerenderConfig, mr as JsonDocsTag, mt as DevServer, n as CompilerWorkerContext, nn as OutputTargetDocsVscode, nr as JsonDocs, nt as CompilerSystemRenameResults, on as OutputTargetSsrWasm, or as JsonDocsEvent, ot as Config, p as WorkerMsgHandler, pn as PlatformPath, pr as JsonDocsStyle, pt as CustomElementsExportBehaviorOptions, q as CompilerRequest, qt as OutputTargetCollection, r as ComponentCompilerMeta, rn as OutputTargetGlobalStyle, rr as JsonDocsComponent, rt as CompilerSystemRenamedPath, s as LazyBundlesRuntimeData, sn as OutputTargetStandalone, sr as JsonDocsListener, st as ConfigBundle, tn as OutputTargetDocsReadme, tr as JsonDocMethodParameter, tt as CompilerSystemRemoveFileResults, un as OutputTargetWww, ur as JsonDocsPart, ut as CopyTask, v as BuildNoChangeResults, vn as PrerenderStartOptions, vr as StyleDoc, vt as DocsReadmeCustomColumn, w as CacheStorage, wn as RolldownConfig, wt as HydrateDocumentOptions, x as BuildOutput, xn as ResolveModuleOptions, xt as HmrGlobalStyleUpdate, y as BuildOnEventRemove, yn as ResolveModuleIdOptions, yr as FsWriteResults, yt as FsWatchResults, z as CompilerEventFileDelete, zn as UnvalidatedConfig, zt as OptimizeCssOutput } from "../index-BilaSOF5.mjs";
|
|
2
2
|
import ts from "typescript";
|
|
3
3
|
//#region src/version.d.ts
|
|
4
4
|
declare const version: string;
|
|
@@ -245,6 +245,8 @@ interface CustomState {
|
|
|
245
245
|
interface CssCustomProperty {
|
|
246
246
|
name: string;
|
|
247
247
|
description?: string;
|
|
248
|
+
syntax?: string;
|
|
249
|
+
default?: string;
|
|
248
250
|
}
|
|
249
251
|
//#endregion
|
|
250
252
|
//#region src/compiler/docs/generate-doc-data.d.ts
|
|
@@ -261,6 +263,79 @@ interface CssCustomProperty {
|
|
|
261
263
|
*/
|
|
262
264
|
declare const cmpMetaToDocsComponent: (cmp: ComponentCompilerMeta, filePath: string, rootDir?: string) => JsonDocsComponent;
|
|
263
265
|
//#endregion
|
|
266
|
+
//#region src/compiler/css-components/parse-css-component.d.ts
|
|
267
|
+
/**
|
|
268
|
+
* Parse a single `.css` file's text for CSS-only components and build full
|
|
269
|
+
* `ComponentCompilerMeta` for each one found.
|
|
270
|
+
*
|
|
271
|
+
* @param filePath absolute path to the `.css` file, used only for diagnostics
|
|
272
|
+
* @param cssText the file's raw CSS text
|
|
273
|
+
* @returns discovered component meta, plus diagnostics for malformed input
|
|
274
|
+
*/
|
|
275
|
+
declare const parseCssOnlyComponents: (filePath: string, cssText: string) => Promise<{
|
|
276
|
+
components: ComponentCompilerMeta[];
|
|
277
|
+
diagnostics: Diagnostic[];
|
|
278
|
+
}>;
|
|
279
|
+
//#endregion
|
|
280
|
+
//#region src/compiler/types/generate-app-types.d.ts
|
|
281
|
+
/**
|
|
282
|
+
* The config {@link generateComponentTypesFile} reads - a subset of {@link d.ValidatedConfig}, so
|
|
283
|
+
* callers without a full compiler context (e.g. `@stencil/unplugin`) can generate the same file.
|
|
284
|
+
*/
|
|
285
|
+
type ComponentTypesConfig = Pick<ValidatedConfig, 'srcDir'> & Partial<Pick<ValidatedConfig, 'signalBacking' | 'transformAliasedImportPaths' | 'tsCompilerOptions'>>;
|
|
286
|
+
/**
|
|
287
|
+
* Generates a `components.d.ts` file's contents, which contains the typings for all components in a Stencil project
|
|
288
|
+
* @param components every component to type - JS-backed and CSS-only alike
|
|
289
|
+
* @param config the config fields that affect the output - see {@link ComponentTypesConfig}
|
|
290
|
+
* @param areTypesInternal determines if non-exported type definitions are being generated or not
|
|
291
|
+
* @returns the contents of the `components.d.ts` file
|
|
292
|
+
*/
|
|
293
|
+
declare const generateComponentTypesFile: (components: ComponentCompilerMeta[], config: ComponentTypesConfig, areTypesInternal?: boolean) => string;
|
|
294
|
+
//#endregion
|
|
295
|
+
//#region src/compiler/style/component-global-styles.d.ts
|
|
296
|
+
declare const hasStencilGlobalsImport: (css: string) => boolean;
|
|
297
|
+
declare const hasStencilHydrateImport: (css: string) => boolean;
|
|
298
|
+
/**
|
|
299
|
+
* Generate the FOUC-prevention CSS for a set of component tags. Mirrors the CSS injected
|
|
300
|
+
* dynamically by bootstrap-loader, but produced at build time so it can be embedded in a static
|
|
301
|
+
* stylesheet via `@import "stencil-hydrate"`.
|
|
302
|
+
*
|
|
303
|
+
* @param hydratedFlag the config's `hydratedFlag` setting (`null` means explicitly disabled)
|
|
304
|
+
* @param tagNames every component tag name in the build
|
|
305
|
+
* @returns the generated CSS string to replace `@import "stencil-hydrate"` with
|
|
306
|
+
*/
|
|
307
|
+
declare const buildHydrateCss: (hydratedFlag: HydratedFlag | null | undefined, tagNames: string[]) => string;
|
|
308
|
+
/**
|
|
309
|
+
* Replace `@import "stencil-hydrate"` in CSS with the given FOUC-prevention styles. Supports
|
|
310
|
+
* trailing `layer()`/`supports()`/media modifiers, e.g. `@import "stencil-hydrate" layer(init);`.
|
|
311
|
+
*
|
|
312
|
+
* Pure function - see {@link buildHydrateCss}.
|
|
313
|
+
*
|
|
314
|
+
* @param css the CSS string to process
|
|
315
|
+
* @param hydrateCss the generated hydrate CSS to substitute in, from {@link buildHydrateCss}
|
|
316
|
+
* @returns the CSS string with `@import "stencil-hydrate"` replaced by hydrateCss
|
|
317
|
+
*/
|
|
318
|
+
declare const replaceStencilHydrateImport: (css: string, hydrateCss: string) => string;
|
|
319
|
+
/**
|
|
320
|
+
* Replace `@import "stencil-component-globals"` in CSS with the given collected component global styles.
|
|
321
|
+
* Supports trailing `layer()`/`supports()`/media modifiers, e.g. `@import "stencil-component-globals" layer(init);`.
|
|
322
|
+
*
|
|
323
|
+
* @param css the CSS string to process
|
|
324
|
+
* @param collectedCss the collected component global styles, from {@link collectAndBuildComponentGlobalStyles}
|
|
325
|
+
* @returns the CSS string with `@import "stencil-component-globals"` replaced by collectedCss
|
|
326
|
+
*/
|
|
327
|
+
declare const replaceStencilGlobalsImport: (css: string, collectedCss: string) => string;
|
|
328
|
+
declare const hasStencilCssComponentsImport: (css: string) => boolean;
|
|
329
|
+
/**
|
|
330
|
+
* Replace `@import "stencil-css-components"` in CSS with the given collected CSS-only component
|
|
331
|
+
* styles. Supports trailing `layer()`/`supports()`/media modifiers, same as `@import "stencil-component-globals"`.
|
|
332
|
+
*
|
|
333
|
+
* @param css the CSS string to process
|
|
334
|
+
* @param collectedCss the collected CSS-only component styles, from {@link collectCssOnlyComponentStyles}
|
|
335
|
+
* @returns the CSS string with `@import "stencil-css-components"` replaced by collectedCss
|
|
336
|
+
*/
|
|
337
|
+
declare const replaceStencilCssComponentsImport: (css: string, collectedCss: string) => string;
|
|
338
|
+
//#endregion
|
|
264
339
|
//#region src/compiler/transpile.d.ts
|
|
265
340
|
/**
|
|
266
341
|
* The `transpile()` function inputs source code as a string, with various options
|
|
@@ -353,4 +428,14 @@ type ConfigValidationResults = {
|
|
|
353
428
|
*/
|
|
354
429
|
declare const validateConfig: (userConfig: UnvalidatedConfig, bootstrapConfig: LoadConfigInit) => ConfigValidationResults;
|
|
355
430
|
//#endregion
|
|
356
|
-
|
|
431
|
+
//#region src/compiler/config/validate-hydrated.d.ts
|
|
432
|
+
/**
|
|
433
|
+
* Validate the `.hydratedFlag` property on the supplied config object and
|
|
434
|
+
* return a properly-validated value.
|
|
435
|
+
*
|
|
436
|
+
* @param config the configuration we're examining
|
|
437
|
+
* @returns a suitable value for the hydratedFlag property
|
|
438
|
+
*/
|
|
439
|
+
declare const validateHydrated: (config: UnvalidatedConfig) => HydratedFlag | null;
|
|
440
|
+
//#endregion
|
|
441
|
+
export { AutoprefixerOptions, BuildEmitEvents, BuildEvents, BuildLog, BuildNoChangeResults, BuildOnEventRemove, BuildOnEvents, BuildOutput, BuildOverrides, BuildResultsComponentGraph, CacheStorage, CliInitOptions, CompileScriptMinifyOptions, CompileTarget, Compiler, CompilerBuildResults, CompilerBuildStart, CompilerDependency, CompilerEventBuildFinish, CompilerEventBuildLog, CompilerEventBuildNoChange, CompilerEventBuildStart, CompilerEventDirAdd, CompilerEventDirDelete, CompilerEventFileAdd, CompilerEventFileDelete, CompilerEventFileUpdate, CompilerEventFsChange, CompilerEventName, CompilerFileWatcher, CompilerFileWatcherCallback, CompilerFileWatcherEvent, CompilerFsStats, CompilerRequest, CompilerRequestResponse, CompilerSystem, CompilerSystemCreateDirectoryOptions, CompilerSystemCreateDirectoryResults, CompilerSystemRealpathResults, CompilerSystemRemoveDirectoryOptions, CompilerSystemRemoveDirectoryResults, CompilerSystemRemoveFileResults, CompilerSystemRenameResults, CompilerSystemRenamedPath, CompilerSystemWriteFileResults, CompilerWatcher, type ComponentCompilerMeta, type ComponentCompilerTypeReferences, type ComponentGlobalStyle, type ComponentTypesConfig, Config, ConfigBundle, ConfigCompat, CopyResults, CopyTask, Credentials, CustomElementsExportBehavior, CustomElementsExportBehaviorOptions, type CustomElementsManifest, DevServer, DevServerConfig, DevServerEditor, Diagnostic, DocsReadmeCustomColumn, FsWatchResults, type FsWriteResults, HistoryApiFallback, HmrGlobalStyleUpdate, HmrStyleUpdate, HotModuleReplacement, HydrateDocumentOptions, HydrateFactoryOptions, HydratedFlag, JsonDocMethodParameter, JsonDocs, JsonDocsComponent, JsonDocsCustomState, JsonDocsDependencyGraph, JsonDocsEvent, JsonDocsListener, JsonDocsMethod, JsonDocsMethodReturn, JsonDocsPart, JsonDocsProp, JsonDocsSlot, JsonDocsStyle, JsonDocsTag, JsonDocsTypeLibrary, JsonDocsUsage, JsonDocsValue, LOG_LEVELS, type LazyBundlesRuntimeData, LazyRequire, LightDomPatches, LoadConfigInit, LoadConfigResults, LogLevel, Logger, LoggerLineUpdater, LoggerTimeSpan, ModeConfig, NodeResolveConfig, OptimizeCssInput, OptimizeCssOutput, OptimizeJsInput, OptimizeJsOutput, OutputTarget, OutputTargetAssets, OutputTargetBase, OutputTargetBaseNext, OutputTargetBuild, OutputTargetCollection, OutputTargetCopy, OutputTargetCustom, OutputTargetDistLazy, OutputTargetDocsAgentSkill, OutputTargetDocsCustom, OutputTargetDocsCustomElementsManifest, OutputTargetDocsJson, OutputTargetDocsReadme, OutputTargetDocsVscode, OutputTargetGlobalStyle, OutputTargetLoaderBundle, OutputTargetSsr, OutputTargetSsrWasm, OutputTargetStandalone, OutputTargetStats, OutputTargetTypes, OutputTargetWww, type PackageJsonData, PageReloadStrategy, ParsedPath, PlatformPath, PrerenderConfig, PrerenderHydrateOptions, PrerenderOptions, PrerenderResults, PrerenderStartOptions, type PrintLine, ResolveModuleIdOptions, ResolveModuleIdResults, ResolveModuleOptions, RobotsTxtOpts, RobotsTxtResults, RolldownConfig, SerializeDocumentOptions, ServiceWorkerConfig, SitemapXmpOpts, SitemapXmpResults, SsrDocumentOptions, SsrFactoryOptions, type SsrResults, StencilConfig, StencilDevServerConfig, StencilDocsConfig, StyleDoc, SystemDetails, TransformOptions, TranspileOnlyResults, TranspileOptions, TranspileResults, UnvalidatedConfig, ValidatedConfig, ValidatedOutputTargetWww, WatcherCloseResults, WorkerMainController, WorkerOptions, buildHydrateCss, buildId, cmpMetaToDocsComponent, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, generateComponentTypesFile, generateManifest, getScopeId, hasStencilCssComponentsImport, hasStencilGlobalsImport, hasStencilHydrateImport, loadConfig, nodeRequire, optimizeCss, optimizeJs, parseCssOnlyComponents, replaceStencilCssComponentsImport, replaceStencilGlobalsImport, replaceStencilHydrateImport, scopeCss, transpile, transpileSync, ts, validateConfig, validateHydrated, vermoji, version, versions };
|
package/dist/compiler/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-
|
|
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
|
+
import { A as versions, C as replaceStencilCssComponentsImport, D as buildId, E as parseCssOnlyComponents, O as vermoji, S as hasStencilHydrateImport, T as replaceStencilHydrateImport, _ as cmpMetaToDocsComponent, a as createPrerenderer, b as hasStencilCssComponentsImport, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as generateManifest, h as generateComponentTypesFile, i as createSystem, j as scopeCss, k as version, l as createWorkerMessageHandler, m as validateHydrated, n as transpile, o as loadConfig, p as validateConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, v as getScopeId, w as replaceStencilGlobalsImport, x as hasStencilGlobalsImport, y as buildHydrateCss } from "../compiler-Dr9JHtLp.mjs";
|
|
2
|
+
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-DrwzfDH1.mjs";
|
|
3
|
+
export { CustomElementsExportBehaviorOptions, LOG_LEVELS, buildHydrateCss, buildId, cmpMetaToDocsComponent, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, generateComponentTypesFile, generateManifest, getScopeId, hasStencilCssComponentsImport, hasStencilGlobalsImport, hasStencilHydrateImport, loadConfig, nodeRequire, optimizeCss, optimizeJs, parseCssOnlyComponents, replaceStencilCssComponentsImport, replaceStencilGlobalsImport, replaceStencilHydrateImport, scopeCss, transpile, transpileSync, ts, validateConfig, validateHydrated, vermoji, version, versions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $i as
|
|
1
|
+
import { $i as GENERATED_DTS, $r as isOutputTargetDocs, Ai as loadTypeScriptDiagnostics, Ar as isJsFile, Bi as COLLECTION_APP_DATA_FILE_NAME, Br as rolldownToStencilSourceMap, Ci as hasWarning, Cr as ParsePackageJsonResult, Di as splitLineBreaks, Dr as getTextDocs, Ei as normalizeDiagnostics, Er as generatePreamble, Fi as formatLazyBundleRuntimeMeta, Fr as readOnlyArrayHasStringMember, Gi as DIST_LAZY, Gr as getComponentsDtsSrcFilePath, Hi as COPY, Hr as FilterComponentsResult, Ii as stringifyRuntimeData, Ir as readPackageJson, Ji as DOCS_CUSTOM_ELEMENTS_MANIFEST, Jr as isOutputTargetAssets, Ki as DOCS_AGENT_SKILL, Kr as getComponentsDtsTypesFilePath, Li as ASSETS, Lr as getInlineSourceMappingUrlLinker, Mi as isRolldownError, Mr as isTsFile, Ni as loadRolldownDiagnostics, Nr as isTsxFile, Oi as augmentDiagnosticWithNode, Or as hasDependency, Pi as formatComponentRuntimeMeta, Pr as parsePackageJson, Qi as EVENT_FLAGS, Qr as isOutputTargetDistLazy, Ri as CMP_FLAGS, Rr as getSourceMappingUrlForEndOfFile, Si as hasError, Sr as validateComponentTag, Ti as escapeHtml, Tr as createJsVarName, Ui as CUSTOM, Ur as filterActiveTargets, Vi as COLLECTION_MANIFEST_FILE_NAME, Vr as result_d_exports, Wi as DEFAULT_STYLE_MODE, Wr as filterExcludedComponents, Xi as DOCS_README, Xr as isOutputTargetCopy, Yi as DOCS_JSON, Yr as isOutputTargetCollection, Zi as DOCS_VSCODE, Zr as isOutputTargetCustom, _a as XLINK_NS, _i as TASK_CANCELED_MSG, aa as MEMBER_FLAGS, ai as isOutputTargetDocsVscode, bi as buildWarn, br as ModeValidationError, ca as SSR_WASM, ci as isOutputTargetSsr, da as STYLE_EXT, di as isOutputTargetStats, ea as GLOBAL_STYLE, ei as isOutputTargetDocsAgentSkill, fa as SVG_NS, fi as isOutputTargetTypes, ga as WWW, gi as shouldExcludeComponent, ha as WATCH_FLAGS, hi as relativeImport, ia as LOADER_BUNDLE, ii as isOutputTargetDocsReadme, ji as createOnWarnFn, jr as isJsxFile, ki as loadTypeScriptDiagnostic, kr as isDtsFile, la as STANDALONE, li as isOutputTargetSsrWasm, ma as VALID_CONFIG_OUTPUT_TARGETS, mi as isValidConfigOutputTarget, na as HTML_NS, ni as isOutputTargetDocsCustomElementsManifest, oa as NODE_TYPES, oi as isOutputTargetGlobalStyle, pa as TYPES, pi as isOutputTargetWww, qi as DOCS_CUSTOM, qr as getComponentsFromModules, ra as LISTENER_FLAGS, ri as isOutputTargetDocsJson, sa as SSR, si as isOutputTargetLoaderBundle, ta as HOST_FLAGS, ti as isOutputTargetDocsCustom, ua as STATS, ui as isOutputTargetStandalone, vi as buildError, wi as shouldIgnoreError, wr as addDocBlock, xi as catchError, xr as validateComponentModes, yi as buildJsonFileError, zi as COLLECTION, zr as getSourceMappingUrlLinker } from "../../index-BilaSOF5.mjs";
|
|
2
2
|
//#region src/utils/byte-size.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Used to learn the size of a string in bytes.
|