@stencil/core 5.0.0-beta.2 → 5.0.0-beta.20
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-BRu0GtRn.mjs → client-CVXS3JZ-.mjs} +105 -60
- package/dist/compiler/browser.d.ts +110 -79
- package/dist/compiler/browser.js +542 -241
- package/dist/compiler/index.d.mts +110 -2
- package/dist/compiler/index.mjs +3 -3
- package/dist/compiler/utils/index.d.mts +1 -1
- package/dist/{compiler-C8yf59oh.mjs → compiler-CUsOl_Kw.mjs} +4428 -2709
- package/dist/declarations/stencil-public-compiler.d.ts +144 -120
- package/dist/declarations/stencil-public-docs.d.ts +23 -0
- package/dist/declarations/stencil-public-runtime.d.ts +60 -58
- package/dist/{index-BopBfjPu.d.mts → index-B9-Byy8z.d.mts} +142 -118
- package/dist/{index-BXAcVN2j.d.ts → index-BHciXst1.d.ts} +57 -55
- package/dist/{index-DmHmu3y0.d.mts → index-Dz1G9pWZ.d.mts} +2 -2
- package/dist/index.d.mts +3 -0
- package/dist/index.mjs +1 -1
- package/dist/jsx-runtime.mjs +1 -1
- package/dist/{node-75gQKkFz.mjs → node-Bz2SOK7_.mjs} +6 -35
- package/dist/runtime/client/lazy.js +228 -180
- package/dist/runtime/client/runtime.d.ts +67 -66
- package/dist/runtime/client/runtime.js +228 -180
- package/dist/runtime/index.d.ts +4 -5
- package/dist/runtime/index.js +226 -178
- package/dist/runtime/server/index.d.mts +11 -11
- package/dist/runtime/server/index.mjs +287 -220
- package/dist/runtime/server/runner.d.mts +4 -4
- package/dist/runtime/server/runner.mjs +82 -54
- package/dist/signals/index.d.ts +11 -2
- package/dist/signals/index.js +11 -1
- 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 +129 -112
- package/dist/testing/index.mjs +244 -193
- package/package.json +8 -4
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as CompilerFsStats, $n as WorkerMainController, $t as OutputTargetBuild, A as BuildOverrides, An as ResolveModuleIdResults, At as HotModuleReplacement, B as CompilerEventBuildLog, Bn as SsrFactoryOptions, Bt as Logger, C as BuildEmitEvents, Cn as PluginTransformResults, Cr as JsonDocsStyle, Ct as DevServerEditor, D as BuildOnEventRemove, Dn as PrerenderResults, Dr as JsonDocsValue, Dt as HistoryApiFallback, E as BuildNoChangeResults, En as PrerenderOptions, Er as JsonDocsUsage, Et as FsWatchResults, F as Compiler, Fn as SerializeDocumentOptions, Ft as LazyRequire, G as CompilerEventFileAdd, Gn as TransformOptions, Gt as OptimizeCssInput, H as CompilerEventBuildStart, Hn as StencilDevServerConfig, Ht as LoggerTimeSpan, I as CompilerBuildResults, In as ServiceWorkerConfig, It as LightDomPatches, J as CompilerEventFsChange, Jn as TranspileResults, Jt as OptimizeJsOutput, K as CompilerEventFileDelete, Kn as TranspileOnlyResults, Kt as OptimizeCssOutput, L as CompilerBuildStart, Ln as SitemapXmpOpts, Lt as LoadConfigInit, M as CliInitOptions, Mn as RobotsTxtOpts, Mt as HydrateFactoryOptions, N as CompileScriptMinifyOptions, Nn as RobotsTxtResults, Nt as HydratedFlag, O as BuildOnEvents, On as PrerenderStartOptions, Or as StyleDoc, Ot as HmrGlobalStyleUpdate, P as CompileTarget, Pn as RolldownConfig, Pt as LOG_LEVELS, Q as CompilerFileWatcherEvent, Qn as WatcherCloseResults, Qt as OutputTargetBaseNext, R as CompilerDependency, Rn as SitemapXmpResults, Rt as LoadConfigResults, S as AutoprefixerOptions, Sn as PluginCtx, Sr as JsonDocsSlot, St as DevServerConfig, T as BuildLog, Tn as PrerenderHydrateOptions, Tr as JsonDocsTypeLibrary, Tt as DocsReadmeCustomColumn, U as CompilerEventDirAdd, Un as StencilDocsConfig, Ut as ModeConfig, V as CompilerEventBuildNoChange, Vn as StencilConfig, Vt as LoggerLineUpdater, W as CompilerEventDirDelete, Wn as SystemDetails, Wt as NodeResolveConfig, X as CompilerFileWatcher, Xn as ValidatedConfig, Xt as OutputTargetAssets, Y as CompilerEventName, Yn as UnvalidatedConfig, Yt as OutputTarget, Z as CompilerFileWatcherCallback, Zn as ValidatedOutputTargetWww, Zt as OutputTargetBase, _ as PrintLine, _n as OutputTargetWww, _r as JsonDocsListener, _t as CopyTask, a as ComponentCompilerEvent, an as OutputTargetDocsCustom, at as CompilerSystemRealpathResults, b as SsrResults, bn as PlatformPath, br as JsonDocsPart, bt as CustomElementsExportBehaviorOptions, c as ComponentCompilerMethod, cn as OutputTargetDocsReadme, ct as CompilerSystemRemoveFileResults, d as ComponentCompilerTypeReferences, dn as OutputTargetLoaderBundle, dr as JsonDocMethodParameter, dt as CompilerSystemWriteFileResults, en as OutputTargetCollection, er as WorkerOptions, et as CompilerRequest, f as ComponentGlobalStyle, fn as OutputTargetSsr, fr as JsonDocs, ft as CompilerWatcher, g as PrerenderUrlResults, gn as OutputTargetTypes, gr as JsonDocsEvent, gt as CopyResults, h as PackageJsonData, hn as OutputTargetStats, hr as JsonDocsDependencyGraph, ht as ConfigCompat, i as CompilerWorkerContext, in as OutputTargetDocsAgentSkill, it as CompilerSystemCreateDirectoryResults, j as BuildResultsComponentGraph, jn as ResolveModuleOptions, jt as HydrateDocumentOptions, k as BuildOutput, kn as ResolveModuleIdOptions, kr as FsWriteResults, kt as HmrStyleUpdate, l as ComponentCompilerProperty, ln as OutputTargetDocsVscode, lr as UserBuildConditionals, lt as CompilerSystemRenameResults, m as LazyBundlesRuntimeData, mn as OutputTargetStandalone, mr as JsonDocsCustomState, mt as ConfigBundle, nn as OutputTargetCustom, nt as CompilerSystem, o as ComponentCompilerListener, on as OutputTargetDocsCustomElementsManifest, ot as CompilerSystemRemoveDirectoryOptions, pn as OutputTargetSsrWasm, pr as JsonDocsComponent, pt as Config, q as CompilerEventFileUpdate, qn as TranspileOptions, qt as OptimizeJsInput, r as CompilerCtx, rn as OutputTargetDistLazy, rt as CompilerSystemCreateDirectoryOptions, s as ComponentCompilerMeta, sn as OutputTargetDocsJson, st as CompilerSystemRemoveDirectoryResults, t as BuildCtx, tn as OutputTargetCopy, tt as CompilerRequestResponse, u as ComponentCompilerState, un as OutputTargetGlobalStyle, ut as CompilerSystemRenamedPath, vn as PageReloadStrategy, vr as JsonDocsMethod, vt as Credentials, w as BuildEvents, wn as PrerenderConfig, wr as JsonDocsTag, wt as Diagnostic, x as WorkerMsgHandler, xn as Plugin, xr as JsonDocsProp, xt as DevServer, yn as ParsedPath, yr as JsonDocsMethodReturn, yt as CustomElementsExportBehavior, z as CompilerEventBuildFinish, zn as SsrDocumentOptions, zt as LogLevel } from "../index-B9-Byy8z.mjs";
|
|
2
2
|
import ts from "typescript";
|
|
3
|
+
import { Plugin as Plugin$1 } from "rolldown";
|
|
3
4
|
//#region src/version.d.ts
|
|
4
5
|
declare const version: string;
|
|
5
6
|
declare const buildId: string;
|
|
@@ -245,6 +246,8 @@ interface CustomState {
|
|
|
245
246
|
interface CssCustomProperty {
|
|
246
247
|
name: string;
|
|
247
248
|
description?: string;
|
|
249
|
+
syntax?: string;
|
|
250
|
+
default?: string;
|
|
248
251
|
}
|
|
249
252
|
//#endregion
|
|
250
253
|
//#region src/compiler/docs/generate-doc-data.d.ts
|
|
@@ -261,6 +264,101 @@ interface CssCustomProperty {
|
|
|
261
264
|
*/
|
|
262
265
|
declare const cmpMetaToDocsComponent: (cmp: ComponentCompilerMeta, filePath: string, rootDir?: string) => JsonDocsComponent;
|
|
263
266
|
//#endregion
|
|
267
|
+
//#region src/compiler/css-components/parse-css-component.d.ts
|
|
268
|
+
/**
|
|
269
|
+
* Parse a single `.css` file's text for CSS-only components and build full
|
|
270
|
+
* `ComponentCompilerMeta` for each one found.
|
|
271
|
+
*
|
|
272
|
+
* @param filePath absolute path to the `.css` file, used only for diagnostics
|
|
273
|
+
* @param cssText the file's raw CSS text
|
|
274
|
+
* @returns discovered component meta, plus diagnostics for malformed input
|
|
275
|
+
*/
|
|
276
|
+
declare const parseCssOnlyComponents: (filePath: string, cssText: string) => Promise<{
|
|
277
|
+
components: ComponentCompilerMeta[];
|
|
278
|
+
diagnostics: Diagnostic[];
|
|
279
|
+
}>;
|
|
280
|
+
//#endregion
|
|
281
|
+
//#region src/compiler/types/generate-app-types.d.ts
|
|
282
|
+
/**
|
|
283
|
+
* The config {@link generateComponentTypesFile} reads - a subset of {@link d.ValidatedConfig}, so
|
|
284
|
+
* callers without a full compiler context (e.g. `@stencil/unplugin`) can generate the same file.
|
|
285
|
+
*/
|
|
286
|
+
type ComponentTypesConfig = Pick<ValidatedConfig, 'srcDir'> & Partial<Pick<ValidatedConfig, 'signalBacking' | 'transformAliasedImportPaths' | 'tsCompilerOptions'>>;
|
|
287
|
+
/**
|
|
288
|
+
* Generates a `components.d.ts` file's contents, which contains the typings for all components in a Stencil project
|
|
289
|
+
* @param components every component to type - JS-backed and CSS-only alike
|
|
290
|
+
* @param config the config fields that affect the output - see {@link ComponentTypesConfig}
|
|
291
|
+
* @param areTypesInternal determines if non-exported type definitions are being generated or not
|
|
292
|
+
* @returns the contents of the `components.d.ts` file
|
|
293
|
+
*/
|
|
294
|
+
declare const generateComponentTypesFile: (components: ComponentCompilerMeta[], config: ComponentTypesConfig, areTypesInternal?: boolean) => string;
|
|
295
|
+
//#endregion
|
|
296
|
+
//#region src/compiler/style/component-global-styles.d.ts
|
|
297
|
+
declare const hasStencilGlobalsImport: (css: string) => boolean;
|
|
298
|
+
declare const hasStencilHydrateImport: (css: string) => boolean;
|
|
299
|
+
/**
|
|
300
|
+
* Generate the FOUC-prevention CSS for a set of component tags. Mirrors the CSS injected
|
|
301
|
+
* dynamically by bootstrap-loader, but produced at build time so it can be embedded in a static
|
|
302
|
+
* stylesheet via `@import "stencil-hydrate"`.
|
|
303
|
+
*
|
|
304
|
+
* @param hydratedFlag the config's `hydratedFlag` setting (`null` means explicitly disabled)
|
|
305
|
+
* @param tagNames every component tag name in the build
|
|
306
|
+
* @returns the generated CSS string to replace `@import "stencil-hydrate"` with
|
|
307
|
+
*/
|
|
308
|
+
declare const buildHydrateCss: (hydratedFlag: HydratedFlag | null | undefined, tagNames: string[]) => string;
|
|
309
|
+
/**
|
|
310
|
+
* Replace `@import "stencil-hydrate"` in CSS with the given FOUC-prevention styles. Supports
|
|
311
|
+
* trailing `layer()`/`supports()`/media modifiers, e.g. `@import "stencil-hydrate" layer(init);`.
|
|
312
|
+
*
|
|
313
|
+
* Pure function - see {@link buildHydrateCss}.
|
|
314
|
+
*
|
|
315
|
+
* @param css the CSS string to process
|
|
316
|
+
* @param hydrateCss the generated hydrate CSS to substitute in, from {@link buildHydrateCss}
|
|
317
|
+
* @returns the CSS string with `@import "stencil-hydrate"` replaced by hydrateCss
|
|
318
|
+
*/
|
|
319
|
+
declare const replaceStencilHydrateImport: (css: string, hydrateCss: string) => string;
|
|
320
|
+
/**
|
|
321
|
+
* Replace `@import "stencil-component-globals"` in CSS with the given collected component global styles.
|
|
322
|
+
* Supports trailing `layer()`/`supports()`/media modifiers, e.g. `@import "stencil-component-globals" layer(init);`.
|
|
323
|
+
*
|
|
324
|
+
* @param css the CSS string to process
|
|
325
|
+
* @param collectedCss the collected component global styles, from {@link collectAndBuildComponentGlobalStyles}
|
|
326
|
+
* @returns the CSS string with `@import "stencil-component-globals"` replaced by collectedCss
|
|
327
|
+
*/
|
|
328
|
+
declare const replaceStencilGlobalsImport: (css: string, collectedCss: string) => string;
|
|
329
|
+
declare const hasStencilCssComponentsImport: (css: string) => boolean;
|
|
330
|
+
/**
|
|
331
|
+
* Replace `@import "stencil-css-components"` in CSS with the given collected CSS-only component
|
|
332
|
+
* styles. Supports trailing `layer()`/`supports()`/media modifiers, same as `@import "stencil-component-globals"`.
|
|
333
|
+
*
|
|
334
|
+
* @param css the CSS string to process
|
|
335
|
+
* @param collectedCss the collected CSS-only component styles, from {@link collectCssOnlyComponentStyles}
|
|
336
|
+
* @returns the CSS string with `@import "stencil-css-components"` replaced by collectedCss
|
|
337
|
+
*/
|
|
338
|
+
declare const replaceStencilCssComponentsImport: (css: string, collectedCss: string) => string;
|
|
339
|
+
//#endregion
|
|
340
|
+
//#region src/compiler/bundle/build-flags-plugin.d.ts
|
|
341
|
+
/**
|
|
342
|
+
* Replaces `Build.<flag>` reads (where `Build` is imported from `@stencil/core`) with literals,
|
|
343
|
+
* letting bundlers / minify-ers drop dead branches. Neither oxc nor terser can fold a property
|
|
344
|
+
* read on the runtime's `Build` object.
|
|
345
|
+
*
|
|
346
|
+
* e.g. with `{ isServer: false }`:
|
|
347
|
+
* ```ts
|
|
348
|
+
* if (Build.isServer) { … } // before
|
|
349
|
+
* if (false ) { … } // after
|
|
350
|
+
* ```
|
|
351
|
+
*
|
|
352
|
+
* Replacements are padded to the original length (newlines kept), so an existing sourcemap
|
|
353
|
+
* for `code` stays valid. A `Build` binding that is shadowed or written to in the module is left alone.
|
|
354
|
+
*
|
|
355
|
+
* @param code JS or TS source
|
|
356
|
+
* @param fileName used to pick the parser's script kind
|
|
357
|
+
* @param flags the flag values to fold; flags not present are left as runtime reads
|
|
358
|
+
* @returns the folded code, or `null` if nothing was folded
|
|
359
|
+
*/
|
|
360
|
+
declare const foldBuildFlags: (code: string, fileName: string, flags: Partial<UserBuildConditionals>) => string | null;
|
|
361
|
+
//#endregion
|
|
264
362
|
//#region src/compiler/transpile.d.ts
|
|
265
363
|
/**
|
|
266
364
|
* The `transpile()` function inputs source code as a string, with various options
|
|
@@ -353,4 +451,14 @@ type ConfigValidationResults = {
|
|
|
353
451
|
*/
|
|
354
452
|
declare const validateConfig: (userConfig: UnvalidatedConfig, bootstrapConfig: LoadConfigInit) => ConfigValidationResults;
|
|
355
453
|
//#endregion
|
|
356
|
-
|
|
454
|
+
//#region src/compiler/config/validate-hydrated.d.ts
|
|
455
|
+
/**
|
|
456
|
+
* Validate the `.hydratedFlag` property on the supplied config object and
|
|
457
|
+
* return a properly-validated value.
|
|
458
|
+
*
|
|
459
|
+
* @param config the configuration we're examining
|
|
460
|
+
* @returns a suitable value for the hydratedFlag property
|
|
461
|
+
*/
|
|
462
|
+
declare const validateHydrated: (config: UnvalidatedConfig) => HydratedFlag | null;
|
|
463
|
+
//#endregion
|
|
464
|
+
export { AutoprefixerOptions, type BuildCtx, BuildEmitEvents, BuildEvents, BuildLog, BuildNoChangeResults, BuildOnEventRemove, BuildOnEvents, BuildOutput, BuildOverrides, BuildResultsComponentGraph, CliInitOptions, CompileScriptMinifyOptions, CompileTarget, Compiler, CompilerBuildResults, CompilerBuildStart, type CompilerCtx, 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 ComponentCompilerEvent, type ComponentCompilerListener, type ComponentCompilerMeta, type ComponentCompilerMethod, type ComponentCompilerProperty, type ComponentCompilerState, 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, Plugin, PluginCtx, PluginTransformResults, PrerenderConfig, PrerenderHydrateOptions, PrerenderOptions, PrerenderResults, PrerenderStartOptions, type PrerenderUrlResults, 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, foldBuildFlags, 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 version, C as hasStencilHydrateImport, D as parseCssOnlyComponents, E as replaceStencilHydrateImport, M as scopeCss, O as buildId, S as hasStencilGlobalsImport, T as replaceStencilGlobalsImport, _ as cmpMetaToDocsComponent, a as createPrerenderer, b as buildHydrateCss, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as generateManifest, h as generateComponentTypesFile, i as createSystem, j as versions, k as vermoji, l as createWorkerMessageHandler, m as validateHydrated, n as transpile, o as loadConfig, p as validateConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, v as getScopeId, w as replaceStencilCssComponentsImport, x as hasStencilCssComponentsImport, y as foldBuildFlags } from "../compiler-CUsOl_Kw.mjs";
|
|
2
|
+
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-Bz2SOK7_.mjs";
|
|
3
|
+
export { CustomElementsExportBehaviorOptions, LOG_LEVELS, buildHydrateCss, buildId, cmpMetaToDocsComponent, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, foldBuildFlags, generateComponentTypesFile, generateManifest, getScopeId, hasStencilCssComponentsImport, hasStencilGlobalsImport, hasStencilHydrateImport, loadConfig, nodeRequire, optimizeCss, optimizeJs, parseCssOnlyComponents, replaceStencilCssComponentsImport, replaceStencilGlobalsImport, replaceStencilHydrateImport, scopeCss, transpile, transpileSync, ts, validateConfig, validateHydrated, vermoji, version, versions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $i as
|
|
1
|
+
import { $i as CUSTOM, $r as filterActiveTargets, Ai as buildWarn, Ar as ModeValidationError, Bi as loadTypeScriptDiagnostics, Br as isJsFile, Ca as TYPES, Ci as isOutputTargetWww, Da as XLINK_NS, Di as TASK_CANCELED_MSG, Ea as WWW, Ei as shouldExcludeComponent, Fi as escapeHtml, Fr as createJsVarName, Gi as formatLazyBundleRuntimeMeta, Gr as readOnlyArrayHasStringMember, Hi as isRolldownError, Hr as isTsFile, Ii as normalizeDiagnostics, Ir as generatePreamble, Ji as CMP_FLAGS, Jr as getSourceMappingUrlForEndOfFile, Ki as stringifyRuntimeData, Kr as readPackageJson, Li as splitLineBreaks, Lr as getTextDocs, Mi as hasError, Mr as validateComponentTag, Ni as hasWarning, Nr as ParsePackageJsonResult, Oi as buildError, Pi as shouldIgnoreError, Pr as addDocBlock, Qi as COPY, Qr as FilterComponentsResult, Ri as augmentDiagnosticWithNode, Rr as hasDependency, Sa as SVG_NS, Si as isOutputTargetTypes, Ta as WATCH_FLAGS, Ti as relativeImport, Ui as loadRolldownDiagnostics, Ur as isTsxFile, Vi as createOnWarnFn, Vr as isJsxFile, Wi as formatComponentRuntimeMeta, Wr as parsePackageJson, Xi as COLLECTION_APP_DATA_FILE_NAME, Xr as rolldownToStencilSourceMap, Yi as COLLECTION, Yr as getSourceMappingUrlLinker, Zi as COLLECTION_MANIFEST_FILE_NAME, Zr as result_d_exports, _a as SSR, _i as isOutputTargetLoaderBundle, aa as DOCS_JSON, ai as isOutputTargetCollection, ba as STATS, bi as isOutputTargetStandalone, ca as EVENT_FLAGS, ci as isOutputTargetDistLazy, da as HOST_FLAGS, di as isOutputTargetDocsCustom, ea as DEFAULT_STYLE_MODE, ei as filterExcludedComponents, fa as HTML_NS, fi as isOutputTargetDocsCustomElementsManifest, ga as NODE_TYPES, gi as isOutputTargetGlobalStyle, ha as MEMBER_FLAGS, hi as isOutputTargetDocsVscode, ia as DOCS_CUSTOM_ELEMENTS_MANIFEST, ii as isOutputTargetAssets, ji as catchError, jr as validateComponentModes, ki as buildJsonFileError, la as GENERATED_DTS, li as isOutputTargetDocs, ma as LOADER_BUNDLE, mi as isOutputTargetDocsReadme, na as DOCS_AGENT_SKILL, ni as getComponentsDtsTypesFilePath, oa as DOCS_README, oi as isOutputTargetCopy, pa as LISTENER_FLAGS, pi as isOutputTargetDocsJson, qi as ASSETS, qr as getInlineSourceMappingUrlLinker, ra as DOCS_CUSTOM, ri as getComponentsFromModules, sa as DOCS_VSCODE, si as isOutputTargetCustom, ta as DIST_LAZY, ti as getComponentsDtsSrcFilePath, ua as GLOBAL_STYLE, ui as isOutputTargetDocsAgentSkill, va as SSR_WASM, vi as isOutputTargetSsr, wa as VALID_CONFIG_OUTPUT_TARGETS, wi as isValidConfigOutputTarget, xa as STYLE_EXT, xi as isOutputTargetStats, ya as STANDALONE, yi as isOutputTargetSsrWasm, zi as loadTypeScriptDiagnostic, zr as isDtsFile } from "../../index-B9-Byy8z.mjs";
|
|
2
2
|
//#region src/utils/byte-size.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Used to learn the size of a string in bytes.
|