@stencil/core 5.0.0-alpha.2 → 5.0.0-alpha.21
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/README.md +94 -0
- package/dist/app-data/index.d.ts +2 -0
- package/dist/{runtime/app-data → app-data}/index.js +18 -13
- package/dist/{client-DucyoZT4.mjs → client-CvcvHKz4.mjs} +2474 -2295
- package/dist/compiler/index.d.mts +171 -6
- package/dist/compiler/index.mjs +4 -3
- package/dist/compiler/utils/index.d.mts +2 -2
- package/dist/compiler/utils/index.mjs +3 -3
- package/dist/{compiler-DyK1_szo.mjs → compiler-DQdvbPuz.mjs} +15312 -13654
- package/dist/declarations/stencil-public-compiler.d.ts +4404 -2
- package/dist/declarations/stencil-public-compiler.js +2 -4
- package/dist/declarations/stencil-public-docs.d.ts +504 -1
- package/dist/declarations/stencil-public-runtime.d.ts +1982 -2
- package/dist/{index-fIuYTL9f.d.mts → index-3fu7WQs4.d.mts} +29 -2
- package/dist/{index-D-LlB2nw.d.mts → index-F3IidHM1.d.mts} +825 -1188
- package/dist/{index-BONzXKJt.d.ts → index-xAkMgLX_.d.ts} +88 -39
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -2
- package/dist/jsx-runtime.d.mts +18 -0
- package/dist/jsx-runtime.mjs +2 -0
- package/dist/{node-BWBQAh8C.mjs → node-DKVq_Ud0.mjs} +20 -30
- package/dist/regular-expression-CFVJOTUh.mjs +508 -0
- package/dist/{runtime-CqlPYKjW.js → runtime/client/lazy.js} +2713 -2517
- package/dist/runtime/client/{index.d.ts → runtime.d.ts} +106 -78
- package/dist/runtime/client/{index.js → runtime.js} +2575 -2503
- package/dist/runtime/index.d.ts +58 -29
- package/dist/runtime/index.js +4822 -2
- package/dist/runtime/server/index.d.mts +103 -70
- package/dist/runtime/server/index.mjs +2567 -2358
- package/dist/runtime/server/runner.d.mts +44 -48
- package/dist/runtime/server/runner.mjs +347 -777
- package/dist/signals/index.d.ts +47 -0
- package/dist/signals/index.js +199 -0
- 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 +97 -3
- package/dist/testing/index.mjs +367 -59
- package/dist/{validation-BR7tMYEv.mjs → validation-ByxKj8bC.mjs} +116 -99
- package/package.json +47 -38
- package/dist/index-CHjZtib0.d.ts +0 -30
- package/dist/jsx-runtime-DBzBJLKk.d.ts +0 -28
- package/dist/jsx-runtime.d.ts +0 -2
- package/dist/jsx-runtime.js +0 -2
- package/dist/runtime/app-data/index.d.ts +0 -2
- package/dist/serialize-o-Sj1lvg.mjs +0 -792
- package/dist/stencil-public-compiler-C_X1iolo.d.ts +0 -4455
- package/dist/stencil-public-runtime-DlV8o7-z.d.ts +0 -1845
- /package/dist/{runtime/app-globals → app-globals}/index.d.ts +0 -0
- /package/dist/{runtime/app-globals → app-globals}/index.js +0 -0
- /package/dist/{chunk-CjcI7cDX.mjs → chunk-z9aeyW2b.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as ComponentCompilerVirtualProperty, $i as
|
|
1
|
+
import { $ as ComponentCompilerVirtualProperty, $i as StencilDocsConfig, $n as CompilerBuildResults, $r as LoadConfigResults, $t as PropsType, A as CompilerStyleDoc, Aa as JsonDocsStyle, Ai as OutputTargetWww, An as TypesMemberNameData, Ar as Config, At as JsDoc, B as ComponentCompilerMeta, Bi as ResolveModuleIdResults, Bn as BuildEvents, Br as DevServerEditor, Bt as OptimizeJsResult, C as CompilerBuildStatBundle, Ca as JsonDocsEvent, Ci as OutputTargetGlobalStyle, Cn as StyleCompiler, Cr as CompilerSystemRemoveDirectoryOptions, Ct as EntryModule, D as CompilerJsDoc, Da as JsonDocsPart, Di as OutputTargetStandalone, Dn as TranspileModuleResults, Dr as CompilerSystemRenamedPath, Dt as HostRef, E as CompilerCtx, Ea as JsonDocsMethodReturn, Ei as OutputTargetSsrWasm, En as TransformCssToEsmOutput, Er as CompilerSystemRenameResults, Et as HostElement, F as ComponentCompilerData, Fa as StyleDoc, Fi as PrerenderHydrateOptions, Fn as Workbox, Fr as Credentials, Ft as ModuleMap, G as ComponentCompilerPropertyType, Gi as SerializeDocumentOptions, Gn as BuildOutput, Gr as HotModuleReplacement, Gt as Plugin, H as ComponentCompilerMethodComplexType, Hi as RobotsTxtOpts, Hn as BuildNoChangeResults, Hr as FsWatchResults, Ht as ParsedImport, I as ComponentCompilerEvent, Ia as FsWriteResults, Ii as PrerenderOptions, In as WorkerContextMethod, Ir as CustomElementsExportBehavior, It as MsgFromWorker, J as ComponentCompilerStaticEvent, Ji as SitemapXmpResults, Jn as CacheStorage, Jr as HydratedFlag, Jt as PluginTransformationDescriptor, K as ComponentCompilerReferencedType, Ki as ServiceWorkerConfig, Kn as BuildOverrides, Kr as HydrateDocumentOptions, Kt as PluginCtx, L as ComponentCompilerEventComplexType, La as InMemoryFileSystem, Li as PrerenderResults, Ln as WorkerMsgHandler, Lr as CustomElementsExportBehaviorOptions, Lt as MsgToWorker, M as CompilerWorkerTask, Ma as JsonDocsTypeLibrary, Mi as ParsedPath, Mn as UpdatedLazyBuildCtx, Mr as ConfigCompat, Mt as LazyBundlesRuntimeData, N as ComponentCompilerChangeHandler, Na as JsonDocsUsage, Ni as PlatformPath, Nn as VNodeProdData, Nr as CopyResults, Nt as Module, O as CompilerJsDocTagInfo, Oa as JsonDocsProp, Oi as OutputTargetStats, On as TypeInfo, Or as CompilerSystemWriteFileResults, Ot as ImportData, P as ComponentCompilerCustomState, Pa as JsonDocsValue, Pi as PrerenderConfig, Pn as ValidateTypesResults, Pr as CopyTask, Pt as ModuleFormat, Q as ComponentCompilerTypeReferences, Qi as StencilDevServerConfig, Qn as Compiler, Qr as LoadConfigInit, Qt as PrintLine, R as ComponentCompilerFeatures, Ri as PrerenderStartOptions, Rn as AutoprefixerOptions, Rr as DevServer, Rt as NewSpecPageOptions, S as CompilerAssetDir, Sa as JsonDocsDependencyGraph, Si as OutputTargetDocsVscode, Sn as StencilDocument, Sr as CompilerSystemRealpathResults, St as Encapsulation, T as CompilerBuildStats, Ta as JsonDocsMethod, Ti as OutputTargetSsr, Tn as TransformCssToEsmInput, Tr as CompilerSystemRemoveFileResults, Tt as ExternalStyleCompiler, U as ComponentCompilerProperty, Ui as RobotsTxtResults, Un as BuildOnEventRemove, Ur as HistoryApiFallback, Ut as PatchedSlotNode, V as ComponentCompilerMethod, Vi as ResolveModuleOptions, Vn as BuildLog, Vr as Diagnostic, Vt as PackageJsonData, W as ComponentCompilerPropertyComplexType, Wi as RolldownConfig, Wn as BuildOnEvents, Wr as HmrStyleUpdate, Wt as PlatformRuntime, X as ComponentCompilerStaticProperty, Xi as SsrFactoryOptions, Xn as CompileScriptMinifyOptions, Xr as LazyRequire, Xt as PrerenderUrlRequest, Y as ComponentCompilerStaticMethod, Yi as SsrDocumentOptions, Yn as CliInitOptions, Yr as LOG_LEVELS, Yt as PrerenderManager, Z as ComponentCompilerTypeReference, Zi as StencilConfig, Zn as CompileTarget, Zr as LightDomPatches, Zt as PrerenderUrlResults, _ as CollectionCompilerVersion, _i as OutputTargetDistLazy, _n as SsrImgElement, _r as CompilerRequest, _t as ComponentTestingConstructor, a as BuildCtx, aa as UnvalidatedConfig, ai as OptimizeCssInput, an as RolldownResults, ar as CompilerEventBuildStart, at as ComponentConstructorProperties, b as CollectionDependencyManifest, ba as JsonDocsComponent, bi as OutputTargetDocsJson, bn as SsrStaticData, br as CompilerSystemCreateDirectoryOptions, bt as CssTransformCacheEntry, c as BuildStyleUpdate, ca as WatcherCloseResults, ci as OptimizeJsOutput, cn as RuntimeRef, cr as CompilerEventFileAdd, ct as ComponentGlobalStyle, d as BundleModuleOutput, di as OutputTargetBase, dn as SourceMap, dr as CompilerEventFsChange, dt as ComponentRuntimeHostListener, ea as SystemDetails, ei as LogLevel, en as RenderNode, er as CompilerBuildStart, et as ComponentConstructor, f as Cache, fi as OutputTargetBaseNext, fn as SourceTarget, fr as CompilerEventName, ft as ComponentRuntimeMember, g as CollectionCompilerMeta, gi as OutputTargetCustom, gn as SsrElement, gr as CompilerFsStats, gt as ComponentRuntimeReflectingAttr, h as CollectionCompiler, hi as OutputTargetCopy, hn as SsrComponent, hr as CompilerFileWatcherEvent, ht as ComponentRuntimeMetaCompact, i as BuildConditionals, ia as TranspileResults, ii as NodeResolveConfig, in as RolldownResultModule, ir as CompilerEventBuildNoChange, it as ComponentConstructorListener, j as CompilerWorkerContext, ja as JsonDocsTag, ji as PageReloadStrategy, jn as TypesModule, jr as ConfigBundle, jt as LazyBundleRuntimeData, k as CompilerModeStyles, ka as JsonDocsSlot, ki as OutputTargetTypes, kn as TypesImportData, kr as CompilerWatcher, kt as JSDocTagInfo, l as BuildTask, la as WorkerMainController, li as OutputTarget, ln as SerializeImportData, lr as CompilerEventFileDelete, lt as ComponentNativeConstructor, m as CollectionBundleManifest, mi as OutputTargetCollection, mn as SsrAnchorElement, mr as CompilerFileWatcherCallback, mt as ComponentRuntimeMeta, n as AssetsMeta, na as TranspileOnlyResults, ni as LoggerLineUpdater, nn as RolldownChunkResult, nr as CompilerEventBuildFinish, nt as ComponentConstructorEncapsulation, o as BuildFeatures, oa as ValidatedConfig, oi as OptimizeCssOutput, on as RolldownSourceMap, or as CompilerEventDirAdd, ot as ComponentConstructorProperty, p as ChildType, pi as OutputTargetBuild, pn as SpecPage, pr as CompilerFileWatcher, pt as ComponentRuntimeMembers, q as ComponentCompilerState, qi as SitemapXmpOpts, qn as BuildResultsComponentGraph, qr as HydrateFactoryOptions, qt as PluginTransformResults, r as BuildComponent, ra as TranspileOptions, ri as LoggerTimeSpan, rn as RolldownResult, rr as CompilerEventBuildLog, rt as ComponentConstructorEvent, s as BuildSourceGraph, sa as ValidatedOutputTargetWww, si as OptimizeJsInput, sn as RootAppliedStyleMap, sr as CompilerEventDirDelete, st as ComponentConstructorPropertyType, t as AnyHTMLElement, ta as TransformOptions, ti as Logger, tn as RolldownAssetResult, tr as CompilerDependency, tt as ComponentConstructorChangeHandlers, u as BundleModule, ua as WorkerOptions, ui as OutputTargetAssets, un as SerializedEvent, ur as CompilerEventFileUpdate, ut as ComponentPatches, v as CollectionComponentEntryPath, va as JsonDocMethodParameter, vi as OutputTargetDocsCustom, vn as SsrResults, vr as CompilerRequestResponse, vt as CssImportData, w as CompilerBuildStatCollection, wa as JsonDocsListener, wi as OutputTargetLoaderBundle, wn as StyleMap, wr as CompilerSystemRemoveDirectoryResults, wt as EventInitDict, x as CollectionManifest, xa as JsonDocsCustomState, xi as OutputTargetDocsReadme, xn as SsrStyleElement, xr as CompilerSystemCreateDirectoryResults, xt as DocData, y as CollectionDependencyData, ya as JsonDocs, yi as OutputTargetDocsCustomElementsManifest, yn as SsrScriptElement, yr as CompilerSystem, yt as CssToEsmImportData, z as ComponentCompilerListener, zi as ResolveModuleIdOptions, zn as BuildEmitEvents, zr as DevServerConfig, zt as NodeMap } from "../index-F3IidHM1.mjs";
|
|
2
2
|
import ts from "typescript";
|
|
3
3
|
|
|
4
4
|
//#region src/version.d.ts
|
|
@@ -12,7 +12,7 @@ declare const vermoji: string;
|
|
|
12
12
|
declare const versions: {
|
|
13
13
|
readonly stencil: string;
|
|
14
14
|
readonly typescript: string;
|
|
15
|
-
readonly
|
|
15
|
+
readonly rolldown: string;
|
|
16
16
|
readonly terser: string;
|
|
17
17
|
};
|
|
18
18
|
//#endregion
|
|
@@ -72,16 +72,16 @@ declare const createPrerenderer: (config: ValidatedConfig) => Promise<{
|
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region src/compiler/sys/node-require.d.ts
|
|
74
74
|
/**
|
|
75
|
-
* Load a module using
|
|
75
|
+
* Load a module using jiti with TypeScript and ESM support.
|
|
76
76
|
*
|
|
77
77
|
* @param id - the module path to require
|
|
78
78
|
* @returns an object containing the loaded module, resolved ID, and any diagnostics
|
|
79
79
|
*/
|
|
80
|
-
declare const nodeRequire: (id: string) => {
|
|
80
|
+
declare const nodeRequire: (id: string) => Promise<{
|
|
81
81
|
module: any;
|
|
82
82
|
id: string;
|
|
83
83
|
diagnostics: Diagnostic[];
|
|
84
|
-
}
|
|
84
|
+
}>;
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/compiler/sys/stencil-sys.d.ts
|
|
87
87
|
/**
|
|
@@ -100,6 +100,168 @@ declare const createSystem: (c?: {
|
|
|
100
100
|
logger?: Logger;
|
|
101
101
|
}) => CompilerSystem;
|
|
102
102
|
//#endregion
|
|
103
|
+
//#region src/compiler/style/scope-css.d.ts
|
|
104
|
+
/**
|
|
105
|
+
* Get a unique component ID which incorporates the component tag name and
|
|
106
|
+
* (optionally) a style mode
|
|
107
|
+
*
|
|
108
|
+
* e.g. for the tagName `'my-component'` and the mode `'ios'` this would be
|
|
109
|
+
* `'sc-my-component-ios'`.
|
|
110
|
+
*
|
|
111
|
+
* @param tagName the tag name for the component of interest
|
|
112
|
+
* @param mode an optional mode
|
|
113
|
+
* @returns a scope ID
|
|
114
|
+
*/
|
|
115
|
+
declare const getScopeId: (tagName: string, mode?: string) => string;
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/compiler/docs/cem/index.d.ts
|
|
118
|
+
/**
|
|
119
|
+
* Generate the Custom Elements Manifest from Stencil docs data
|
|
120
|
+
* @param docsData the generated docs data
|
|
121
|
+
* @returns the Custom Elements Manifest object
|
|
122
|
+
*/
|
|
123
|
+
declare const generateManifest: (docsData: Pick<JsonDocs, "components">) => CustomElementsManifest;
|
|
124
|
+
interface CustomElementsManifest {
|
|
125
|
+
schemaVersion: string;
|
|
126
|
+
modules: JavaScriptModule[];
|
|
127
|
+
}
|
|
128
|
+
interface JavaScriptModule {
|
|
129
|
+
kind: 'javascript-module';
|
|
130
|
+
path: string;
|
|
131
|
+
declarations?: CustomElementDeclaration[];
|
|
132
|
+
exports?: (JavaScriptExport | CustomElementExport)[];
|
|
133
|
+
}
|
|
134
|
+
interface JavaScriptExport {
|
|
135
|
+
kind: 'js';
|
|
136
|
+
name: string;
|
|
137
|
+
declaration: Reference;
|
|
138
|
+
}
|
|
139
|
+
interface CustomElementExport {
|
|
140
|
+
kind: 'custom-element-definition';
|
|
141
|
+
name: string;
|
|
142
|
+
declaration: Reference;
|
|
143
|
+
}
|
|
144
|
+
interface Reference {
|
|
145
|
+
name: string;
|
|
146
|
+
package?: string;
|
|
147
|
+
module?: string;
|
|
148
|
+
}
|
|
149
|
+
interface CustomElementDeclaration {
|
|
150
|
+
kind: 'class';
|
|
151
|
+
customElement: true;
|
|
152
|
+
tagName: string;
|
|
153
|
+
name: string;
|
|
154
|
+
description?: string;
|
|
155
|
+
deprecated?: boolean | string;
|
|
156
|
+
tags?: Tag[];
|
|
157
|
+
attributes?: Attribute[];
|
|
158
|
+
members?: (CustomElementField | ClassMethod)[];
|
|
159
|
+
events?: Event[];
|
|
160
|
+
slots?: Slot[];
|
|
161
|
+
cssParts?: CssPart[];
|
|
162
|
+
cssProperties?: CssCustomProperty[];
|
|
163
|
+
customStates?: CustomState[];
|
|
164
|
+
demos?: Demo[];
|
|
165
|
+
}
|
|
166
|
+
interface Demo {
|
|
167
|
+
url: string;
|
|
168
|
+
description?: string;
|
|
169
|
+
}
|
|
170
|
+
interface Attribute {
|
|
171
|
+
name: string;
|
|
172
|
+
description?: string;
|
|
173
|
+
type?: Type;
|
|
174
|
+
default?: string;
|
|
175
|
+
fieldName?: string;
|
|
176
|
+
deprecated?: boolean | string;
|
|
177
|
+
tags?: Tag[];
|
|
178
|
+
}
|
|
179
|
+
interface Type {
|
|
180
|
+
text: string;
|
|
181
|
+
references?: TypeReference[];
|
|
182
|
+
}
|
|
183
|
+
interface TypeReference {
|
|
184
|
+
name: string;
|
|
185
|
+
package?: string;
|
|
186
|
+
module?: string;
|
|
187
|
+
}
|
|
188
|
+
interface CustomElementField {
|
|
189
|
+
kind: 'field';
|
|
190
|
+
name: string;
|
|
191
|
+
description?: string;
|
|
192
|
+
type?: Type;
|
|
193
|
+
default?: string;
|
|
194
|
+
deprecated?: boolean | string;
|
|
195
|
+
readonly?: boolean;
|
|
196
|
+
attribute?: string;
|
|
197
|
+
reflects?: boolean;
|
|
198
|
+
tags?: Tag[];
|
|
199
|
+
}
|
|
200
|
+
interface ClassMethod {
|
|
201
|
+
kind: 'method';
|
|
202
|
+
name: string;
|
|
203
|
+
description?: string;
|
|
204
|
+
deprecated?: boolean | string;
|
|
205
|
+
parameters?: Parameter[];
|
|
206
|
+
return?: {
|
|
207
|
+
type?: Type;
|
|
208
|
+
description?: string;
|
|
209
|
+
};
|
|
210
|
+
tags?: Tag[];
|
|
211
|
+
}
|
|
212
|
+
interface Parameter {
|
|
213
|
+
name: string;
|
|
214
|
+
description?: string;
|
|
215
|
+
type?: Type;
|
|
216
|
+
}
|
|
217
|
+
interface Event {
|
|
218
|
+
name: string;
|
|
219
|
+
description?: string;
|
|
220
|
+
type: Type;
|
|
221
|
+
deprecated?: boolean | string;
|
|
222
|
+
tags?: Tag[];
|
|
223
|
+
}
|
|
224
|
+
/** Stencil extension: preserves arbitrary JSDoc tags not represented by other CEM fields. */
|
|
225
|
+
interface Tag {
|
|
226
|
+
name: string;
|
|
227
|
+
text?: string;
|
|
228
|
+
}
|
|
229
|
+
interface Slot {
|
|
230
|
+
name: string;
|
|
231
|
+
description?: string;
|
|
232
|
+
}
|
|
233
|
+
interface CssPart {
|
|
234
|
+
name: string;
|
|
235
|
+
description?: string;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Custom state that can be targeted with the CSS :state() pseudo-class.
|
|
239
|
+
* This is a custom extension to the CEM spec.
|
|
240
|
+
*/
|
|
241
|
+
interface CustomState {
|
|
242
|
+
name: string;
|
|
243
|
+
initialValue: boolean;
|
|
244
|
+
description?: string;
|
|
245
|
+
}
|
|
246
|
+
interface CssCustomProperty {
|
|
247
|
+
name: string;
|
|
248
|
+
description?: string;
|
|
249
|
+
}
|
|
250
|
+
//#endregion
|
|
251
|
+
//#region src/compiler/docs/generate-doc-data.d.ts
|
|
252
|
+
/**
|
|
253
|
+
* Convert a single {@link d.ComponentCompilerMeta} to a {@link d.JsonDocsComponent}
|
|
254
|
+
* without reading any files from disk (readme/usage are left empty).
|
|
255
|
+
*
|
|
256
|
+
* Useful for single-file transpilation contexts (e.g. `transpileSync`) when a
|
|
257
|
+
* full build context is not available.
|
|
258
|
+
* @param cmp the component metadata to convert
|
|
259
|
+
* @param filePath absolute path to the component source file
|
|
260
|
+
* @param rootDir project root used to make `filePath` relative (defaults to `process.cwd()`)
|
|
261
|
+
* @returns a {@link d.JsonDocsComponent} with empty readme/usage
|
|
262
|
+
*/
|
|
263
|
+
declare const cmpMetaToDocsComponent: (cmp: ComponentCompilerMeta, filePath: string, rootDir?: string) => JsonDocsComponent;
|
|
264
|
+
//#endregion
|
|
103
265
|
//#region src/compiler/transpile.d.ts
|
|
104
266
|
/**
|
|
105
267
|
* The `transpile()` function inputs source code as a string, with various options
|
|
@@ -133,6 +295,9 @@ declare const transpile: (code: string, opts?: TranspileOptions) => Promise<Tran
|
|
|
133
295
|
*/
|
|
134
296
|
declare const transpileSync: (code: string, opts?: TranspileOptions) => TranspileResults;
|
|
135
297
|
//#endregion
|
|
298
|
+
//#region src/utils/shadow-css.d.ts
|
|
299
|
+
declare const scopeCss: (cssText: string, scopeId: string, commentOriginalSelector: boolean) => string;
|
|
300
|
+
//#endregion
|
|
136
301
|
//#region src/compiler/worker/worker-thread.d.ts
|
|
137
302
|
/**
|
|
138
303
|
* Instantiate a worker context which synchronously calls the methods that are
|
|
@@ -189,4 +354,4 @@ type ConfigValidationResults = {
|
|
|
189
354
|
*/
|
|
190
355
|
declare const validateConfig: (userConfig: UnvalidatedConfig, bootstrapConfig: LoadConfigInit) => ConfigValidationResults;
|
|
191
356
|
//#endregion
|
|
192
|
-
export { AnyHTMLElement, AssetsMeta, AutoprefixerOptions, BuildComponent, BuildConditionals, BuildCtx, BuildEmitEvents, BuildEvents, BuildFeatures, BuildLog, BuildNoChangeResults, BuildOnEventRemove, BuildOnEvents, BuildOutput, BuildResultsComponentGraph, BuildSourceGraph, BuildStyleUpdate, BuildTask, BundleModule, BundleModuleOutput,
|
|
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 };
|
package/dist/compiler/index.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
3
|
-
|
|
1
|
+
import { f as scopeCss } from "../client-CvcvHKz4.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-DQdvbPuz.mjs";
|
|
3
|
+
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-DKVq_Ud0.mjs";
|
|
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,2 @@
|
|
|
1
|
-
import { $a as
|
|
2
|
-
export {
|
|
1
|
+
import { $a as isRemoteUrl, $o as augmentDiagnosticWithNode, $s as SSR, Ao as isOutputTargetDocsVscode, As as ASSETS, Ba as addDocBlock, Bo as relativeImport, Bs as DOCS_CUSTOM_ELEMENTS_MANIFEST, Co as isOutputTargetCustom, Cs as toCamelCase, Do as isOutputTargetDocsCustomElementsManifest, Ds as formatComponentRuntimeMeta, Eo as isOutputTargetDocsCustom, Es as unique, Fo as isOutputTargetStandalone, Fs as COPY, Ga as isDtsFile, Go as buildWarn, Gs as GENERATED_DTS, Ha as generatePreamble, Ho as TASK_CANCELED_MSG, Hs as DOCS_README, Io as isOutputTargetStats, Is as CUSTOM, Ja as isTsFile, Jo as hasWarning, Js as HTML_NS, Ka as isJsFile, Ko as catchError, Ks as GLOBAL_STYLE, Lo as isOutputTargetTypes, Ls as DEFAULT_STYLE_MODE, Mo as isOutputTargetLoaderBundle, Ms as COLLECTION, No as isOutputTargetSsr, Ns as COLLECTION_APP_DATA_FILE_NAME, Oo as isOutputTargetDocsJson, Os as formatLazyBundleRuntimeMeta, Po as isOutputTargetSsrWasm, Ps as COLLECTION_MANIFEST_FILE_NAME, Qa as readPackageJson, Qo as splitLineBreaks, Qs as NODE_TYPES, Ra as validateComponentTag, Ro as isOutputTargetWww, Rs as DIST_LAZY, So as isOutputTargetCopy, Ss as sortBy, To as isOutputTargetDocs, Ts as toTitleCase, Ua as getTextDocs, Uo as buildError, Us as DOCS_VSCODE, Va as createJsVarName, Vo as shouldExcludeComponent, Vs as DOCS_JSON, Wa as hasDependency, Wo as buildJsonFileError, Ws as EVENT_FLAGS, Xa as parsePackageJson, Xo as escapeHtml, Xs as LOADER_BUNDLE, Ya as isTsxFile, Yo as shouldIgnoreError, Ys as LISTENER_FLAGS, Za as readOnlyArrayHasStringMember, Zo as normalizeDiagnostics, Zs as MEMBER_FLAGS, _o as getComponentsDtsSrcFilePath, _s as isObject, ac as TYPES, ao as escapeRegExpSpecialCharacters, as as isRootPath, bo as isOutputTargetAssets, bs as noop, cc as WWW, co as normalize, cs as escapeWithPattern, do as normalizePath, ds as isBoolean, ec as SSR_WASM, eo as getInlineSourceMappingUrlLinker, es as loadTypeScriptDiagnostic, fo as relative, fs as isComplexType, go as filterExcludedComponents, gs as isNumber, ho as filterActiveTargets, hs as isIterable, ic as SVG_NS, io as result_d_exports, is as loadRolldownDiagnostics, jo as isOutputTargetGlobalStyle, js as CMP_FLAGS, ko as isOutputTargetDocsReadme, ks as stringifyRuntimeData, lc as XLINK_NS, lo as normalizeFsPath, ls as flatOne, mo as FilterComponentsResult, ms as isFunction, nc as STATS, no as getSourceMappingUrlLinker, ns as createOnWarnFn, oc as VALID_CONFIG_OUTPUT_TARGETS, oo as queryNonceMetaTagContent, os as isGlob, po as resolve, ps as isDef, qa as isJsxFile, qo as hasError, qs as HOST_FLAGS, rc as STYLE_EXT, ro as rolldownToStencilSourceMap, rs as isRolldownError, sc as WATCH_FLAGS, so as join, ss as dashToPascalCase, tc as STANDALONE, to as getSourceMappingUrlForEndOfFile, ts as loadTypeScriptDiagnostics, uc as byteSize, uo as normalizeFsPathQuery, us as fromEntries, vo as getComponentsDtsTypesFilePath, vs as isString, wo as isOutputTargetDistLazy, ws as toDashCase, xo as isOutputTargetCollection, xs as pluck, yo as getComponentsFromModules, ys as mergeIntoWith, za as ParsePackageJsonResult, zo as isValidConfigOutputTarget, zs as DOCS_CUSTOM } from "../../index-F3IidHM1.mjs";
|
|
2
|
+
export { ASSETS, CMP_FLAGS, COLLECTION, COLLECTION_APP_DATA_FILE_NAME, COLLECTION_MANIFEST_FILE_NAME, COPY, CUSTOM, DEFAULT_STYLE_MODE, DIST_LAZY, DOCS_CUSTOM, DOCS_CUSTOM_ELEMENTS_MANIFEST, DOCS_JSON, DOCS_README, DOCS_VSCODE, EVENT_FLAGS, FilterComponentsResult, GENERATED_DTS, GLOBAL_STYLE, HOST_FLAGS, HTML_NS, LISTENER_FLAGS, LOADER_BUNDLE, MEMBER_FLAGS, NODE_TYPES, ParsePackageJsonResult, SSR, SSR_WASM, STANDALONE, STATS, STYLE_EXT, SVG_NS, TASK_CANCELED_MSG, TYPES, VALID_CONFIG_OUTPUT_TARGETS, WATCH_FLAGS, WWW, XLINK_NS, addDocBlock, augmentDiagnosticWithNode, buildError, buildJsonFileError, buildWarn, byteSize, catchError, createJsVarName, createOnWarnFn, dashToPascalCase, escapeHtml, escapeRegExpSpecialCharacters, escapeWithPattern, filterActiveTargets, filterExcludedComponents, flatOne, formatComponentRuntimeMeta, formatLazyBundleRuntimeMeta, fromEntries, generatePreamble, getComponentsDtsSrcFilePath, getComponentsDtsTypesFilePath, getComponentsFromModules, getInlineSourceMappingUrlLinker, getSourceMappingUrlForEndOfFile, getSourceMappingUrlLinker, getTextDocs, hasDependency, hasError, hasWarning, isBoolean, isComplexType, isDef, isDtsFile, isFunction, isGlob, isIterable, isJsFile, isJsxFile, isNumber, isObject, isOutputTargetAssets, isOutputTargetCollection, isOutputTargetCopy, isOutputTargetCustom, isOutputTargetDistLazy, isOutputTargetDocs, isOutputTargetDocsCustom, isOutputTargetDocsCustomElementsManifest, isOutputTargetDocsJson, isOutputTargetDocsReadme, isOutputTargetDocsVscode, isOutputTargetGlobalStyle, isOutputTargetLoaderBundle, isOutputTargetSsr, isOutputTargetSsrWasm, isOutputTargetStandalone, isOutputTargetStats, isOutputTargetTypes, isOutputTargetWww, isRemoteUrl, isRolldownError, isRootPath, isString, isTsFile, isTsxFile, isValidConfigOutputTarget, join, loadRolldownDiagnostics, loadTypeScriptDiagnostic, loadTypeScriptDiagnostics, mergeIntoWith, noop, normalize, normalizeDiagnostics, normalizeFsPath, normalizeFsPathQuery, normalizePath, parsePackageJson, pluck, queryNonceMetaTagContent, readOnlyArrayHasStringMember, readPackageJson, relative, relativeImport, resolve, result_d_exports as result, rolldownToStencilSourceMap, shouldExcludeComponent, shouldIgnoreError, sortBy, splitLineBreaks, stringifyRuntimeData, toCamelCase, toDashCase, toTitleCase, unique, validateComponentTag };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { $ as
|
|
3
|
-
export {
|
|
1
|
+
import { $ as VALID_CONFIG_OUTPUT_TARGETS, A as DEFAULT_STYLE_MODE, B as HOST_FLAGS, C as ASSETS, D as COLLECTION_MANIFEST_FILE_NAME, E as COLLECTION_APP_DATA_FILE_NAME, F as DOCS_README, G as NODE_TYPES, H as LISTENER_FLAGS, I as DOCS_VSCODE, J as STANDALONE, K as SSR, L as EVENT_FLAGS, M as DOCS_CUSTOM, N as DOCS_CUSTOM_ELEMENTS_MANIFEST, O as COPY, P as DOCS_JSON, Q as TYPES, R as GENERATED_DTS, S as queryNonceMetaTagContent, T as COLLECTION, U as LOADER_BUNDLE, V as HTML_NS, W as MEMBER_FLAGS, X as STYLE_EXT, Y as STATS, Z as SVG_NS, _ as sortBy, a as fromEntries, b as toTitleCase, c as isDef, d as isNumber, et as WATCH_FLAGS, 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 XLINK_NS, o as isBoolean, p as isString, q as SSR_WASM, r as escapeWithPattern, s as isComplexType, t as escapeRegExpSpecialCharacters, tt as WWW, u as isIterable, v as toCamelCase, w as CMP_FLAGS, x as unique, y as toDashCase, z as GLOBAL_STYLE } from "../../regular-expression-CFVJOTUh.mjs";
|
|
2
|
+
import { $ as loadTypeScriptDiagnostics, A as isOutputTargetCollection, B as isOutputTargetGlobalStyle, C as result_exports, Ct as formatComponentRuntimeMeta, D as getComponentsDtsTypesFilePath, E as getComponentsDtsSrcFilePath, Et as byteSize, F as isOutputTargetDocsCustom, G as isOutputTargetStats, H as isOutputTargetSsr, I as isOutputTargetDocsCustomElementsManifest, J as isValidConfigOutputTarget, K as isOutputTargetTypes, L as isOutputTargetDocsJson, M as isOutputTargetCustom, N as isOutputTargetDistLazy, O as getComponentsFromModules, P as isOutputTargetDocs, Q as loadTypeScriptDiagnostic, R as isOutputTargetDocsReadme, St as isGlob, T as filterExcludedComponents, Tt as stringifyRuntimeData, U as isOutputTargetSsrWasm, V as isOutputTargetLoaderBundle, W as isOutputTargetStandalone, X as shouldExcludeComponent, Y as relativeImport, Z as augmentDiagnosticWithNode, _ as getSourceMappingUrlForEndOfFile, _t as catchError, a as getTextDocs, at as relative, bt as shouldIgnoreError, c as isJsFile, ct as isRolldownError, d as isTsxFile, dt as normalizeDiagnostics, et as join, f as parsePackageJson, ft as splitLineBreaks, g as getInlineSourceMappingUrlLinker, gt as buildWarn, h as isRemoteUrl, ht as buildJsonFileError, i as generatePreamble, it as normalizePath, j as isOutputTargetCopy, k as isOutputTargetAssets, l as isJsxFile, lt as loadRolldownDiagnostics, m as readPackageJson, mt as buildError, n as addDocBlock, nt as normalizeFsPath, o as hasDependency, ot as resolve, p as readOnlyArrayHasStringMember, pt as TASK_CANCELED_MSG, q as isOutputTargetWww, r as createJsVarName, rt as normalizeFsPathQuery, s as isDtsFile, st as createOnWarnFn, t as validateComponentTag, tt as normalize, u as isTsFile, ut as escapeHtml, v as getSourceMappingUrlLinker, vt as hasError, w as filterActiveTargets, wt as formatLazyBundleRuntimeMeta, xt as isRootPath, y as rolldownToStencilSourceMap, yt as hasWarning, z as isOutputTargetDocsVscode } from "../../validation-ByxKj8bC.mjs";
|
|
3
|
+
export { ASSETS, CMP_FLAGS, COLLECTION, COLLECTION_APP_DATA_FILE_NAME, COLLECTION_MANIFEST_FILE_NAME, COPY, CUSTOM, DEFAULT_STYLE_MODE, DIST_LAZY, DOCS_CUSTOM, DOCS_CUSTOM_ELEMENTS_MANIFEST, DOCS_JSON, DOCS_README, DOCS_VSCODE, EVENT_FLAGS, 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, 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, validateComponentTag };
|