@stencil/core 5.0.0-beta.12 → 5.0.0-beta.14
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-CAQvc3hT.mjs} +8 -5
- package/dist/compiler/browser.d.ts +96 -54
- package/dist/compiler/browser.js +141 -19
- 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-BjKDj129.mjs → compiler-Bit_AiP4.mjs} +3575 -2387
- 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-Bw9pHJOq.mjs} +1 -1
- package/dist/runtime/client/lazy.js +99 -89
- package/dist/runtime/client/runtime.d.ts +5 -6
- package/dist/runtime/client/runtime.js +99 -89
- package/dist/runtime/index.d.ts +2 -3
- package/dist/runtime/index.js +97 -87
- package/dist/runtime/server/index.d.mts +4 -5
- package/dist/runtime/server/index.mjs +108 -88
- package/dist/runtime/server/runner.mjs +32 -44
- 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 +178 -160
- package/package.json +5 -4
|
@@ -1111,6 +1111,11 @@ interface JsonDocsComponent {
|
|
|
1111
1111
|
* A deprecation reason/description found following a `@deprecated` tag
|
|
1112
1112
|
*/
|
|
1113
1113
|
deprecation?: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* `true` if this is a "CSS-only component"
|
|
1116
|
+
* discovered in .css file via `@component`-marked JSDoc block
|
|
1117
|
+
*/
|
|
1118
|
+
cssOnly?: boolean;
|
|
1114
1119
|
}
|
|
1115
1120
|
interface JsonDocsDependencyGraph {
|
|
1116
1121
|
[tagName: string]: string[];
|
|
@@ -1270,6 +1275,16 @@ interface JsonDocsStyle {
|
|
|
1270
1275
|
* The annotation used in the JSDoc of the style (e.g. `@prop`)
|
|
1271
1276
|
*/
|
|
1272
1277
|
annotation: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* The CSS `syntax` descriptor for a custom property, if it was registered via a native
|
|
1280
|
+
* `@property` at-rule (e.g. `"<length>"`).
|
|
1281
|
+
*/
|
|
1282
|
+
syntax?: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* The `initial-value` descriptor for a custom property, if it was registered via a native
|
|
1285
|
+
* `@property` at-rule.
|
|
1286
|
+
*/
|
|
1287
|
+
default?: string;
|
|
1273
1288
|
/**
|
|
1274
1289
|
* The mode associated with the style
|
|
1275
1290
|
*/
|
|
@@ -1356,6 +1371,14 @@ interface StyleDoc {
|
|
|
1356
1371
|
* The Stencil style-mode that is associated with this property.
|
|
1357
1372
|
*/
|
|
1358
1373
|
mode: string | undefined;
|
|
1374
|
+
/**
|
|
1375
|
+
* The CSS `syntax` descriptor, if this property was registered via a native `@property` at-rule.
|
|
1376
|
+
*/
|
|
1377
|
+
syntax?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* The `initial-value` descriptor, if this property was registered via a native `@property` at-rule.
|
|
1380
|
+
*/
|
|
1381
|
+
default?: string;
|
|
1359
1382
|
}
|
|
1360
1383
|
//#endregion
|
|
1361
1384
|
//#region src/declarations/stencil-public-runtime.d.ts
|
|
@@ -1412,7 +1435,7 @@ interface ComponentOptions {
|
|
|
1412
1435
|
/**
|
|
1413
1436
|
* Relative URL to an external stylesheet providing document-level styles for this component.
|
|
1414
1437
|
* Unlike `styleUrl`, these styles are not scoped to shadow/scoped DOM - they are collected
|
|
1415
|
-
* at build time and injected wherever `@import "stencil-globals"` appears in a global stylesheet.
|
|
1438
|
+
* at build time and injected wherever `@import "stencil-component-globals"` appears in a global stylesheet.
|
|
1416
1439
|
*
|
|
1417
1440
|
* Useful for
|
|
1418
1441
|
* - pre-first-js-render styles (combatting cumulative layout shift)
|
|
@@ -1427,7 +1450,7 @@ interface ComponentOptions {
|
|
|
1427
1450
|
globalStyleUrl?: string;
|
|
1428
1451
|
/**
|
|
1429
1452
|
* Inline CSS string providing document-level styles for this component.
|
|
1430
|
-
* Collected at build time and injected wherever `@import "stencil-globals"` appears.
|
|
1453
|
+
* Collected at build time and injected wherever `@import "stencil-component-globals"` appears.
|
|
1431
1454
|
* @see globalStyleUrl
|
|
1432
1455
|
*/
|
|
1433
1456
|
globalStyle?: string;
|
|
@@ -1788,6 +1811,15 @@ interface StencilConfig {
|
|
|
1788
1811
|
* whenever a config file is present - set this explicitly to opt an existing project in or out.
|
|
1789
1812
|
*/
|
|
1790
1813
|
generateExportMaps?: boolean;
|
|
1814
|
+
/**
|
|
1815
|
+
* Set to `false` to disable discovery of "CSS-only components" - pure-CSS custom-element
|
|
1816
|
+
* definitions marked with a `@component` JSDoc tag in `.css` files under `srcDir`. No JS
|
|
1817
|
+
* class, never registered via `customElements.define()` - just a documented,
|
|
1818
|
+
* type-checked tag name and its CSS custom properties/attribute variants.
|
|
1819
|
+
*
|
|
1820
|
+
* Defaults to `true`.
|
|
1821
|
+
*/
|
|
1822
|
+
enableCssOnlyComponents?: boolean;
|
|
1791
1823
|
/**
|
|
1792
1824
|
* The namespace config is a string representing a namespace for the app.
|
|
1793
1825
|
* For apps that are not meant to be a library of reusable components,
|
|
@@ -3118,6 +3150,7 @@ interface CompilerBuildResults {
|
|
|
3118
3150
|
buildId: number;
|
|
3119
3151
|
componentGraph?: BuildResultsComponentGraph;
|
|
3120
3152
|
components: ComponentCompilerMeta[];
|
|
3153
|
+
cssOnlyComponents: ComponentCompilerMeta[];
|
|
3121
3154
|
diagnostics: Diagnostic$1[];
|
|
3122
3155
|
dirsAdded: string[];
|
|
3123
3156
|
dirsDeleted: string[];
|
|
@@ -3134,6 +3167,15 @@ interface CompilerBuildResults {
|
|
|
3134
3167
|
namespace: string;
|
|
3135
3168
|
fsNamespace: string;
|
|
3136
3169
|
outputs: BuildOutput[];
|
|
3170
|
+
/**
|
|
3171
|
+
* Absolute paths to every global stylesheet, in cascade order: each `global-style` output
|
|
3172
|
+
* target's compiled CSS in the order those targets are declared in `config.outputTargets` - or,
|
|
3173
|
+
* with none configured, the generated `{fsNamespace}.css` holding Stencil's auto-placed CSS (when
|
|
3174
|
+
* emitted). Unlike `outputs`, which groups files by type and sorts them alphabetically, this
|
|
3175
|
+
* preserves author-intended order for consumers like the dev-server's auto-generated component
|
|
3176
|
+
* preview.
|
|
3177
|
+
*/
|
|
3178
|
+
globalStyleFiles: string[];
|
|
3137
3179
|
rootDir: string;
|
|
3138
3180
|
srcDir: string;
|
|
3139
3181
|
timestamp: string;
|
|
@@ -3149,6 +3191,7 @@ interface HotModuleReplacement {
|
|
|
3149
3191
|
componentsUpdated?: string[];
|
|
3150
3192
|
excludeHmr?: string[];
|
|
3151
3193
|
externalStylesUpdated?: string[];
|
|
3194
|
+
globalStylesUpdated?: HmrGlobalStyleUpdate[];
|
|
3152
3195
|
imagesUpdated?: string[];
|
|
3153
3196
|
indexHtmlUpdated?: boolean;
|
|
3154
3197
|
inlineStylesUpdated?: HmrStyleUpdate[];
|
|
@@ -3163,6 +3206,15 @@ interface HmrStyleUpdate {
|
|
|
3163
3206
|
styleTag: string;
|
|
3164
3207
|
styleText: string;
|
|
3165
3208
|
}
|
|
3209
|
+
/**
|
|
3210
|
+
* A live-reload update for a `global-style` output target's CSS. Applied on
|
|
3211
|
+
* the client by matching `fileName` against the `<link>` that loads it and
|
|
3212
|
+
* inserting/updating an adjacent `<style>` override
|
|
3213
|
+
*/
|
|
3214
|
+
interface HmrGlobalStyleUpdate {
|
|
3215
|
+
fileName: string;
|
|
3216
|
+
styleText: string;
|
|
3217
|
+
}
|
|
3166
3218
|
type BuildOnEventRemove = () => boolean;
|
|
3167
3219
|
interface BuildEvents extends BuildOnEvents, BuildEmitEvents {
|
|
3168
3220
|
unsubscribeAll(): void;
|
|
@@ -3923,10 +3975,8 @@ interface OutputTargetStandalone extends OutputTargetBaseNext {
|
|
|
3923
3975
|
type: 'standalone';
|
|
3924
3976
|
empty?: boolean;
|
|
3925
3977
|
/**
|
|
3926
|
-
*
|
|
3927
|
-
*
|
|
3928
|
-
* 2. File names are not hashed.
|
|
3929
|
-
* 3. File minification will follow the behavior defined at the root of the Stencil config.
|
|
3978
|
+
* When `true`, all `@stencil/core/*` module references are treated as external
|
|
3979
|
+
* during bundling rather than being included in the generated output.
|
|
3930
3980
|
*
|
|
3931
3981
|
* @default false
|
|
3932
3982
|
*/
|
|
@@ -4451,6 +4501,12 @@ interface TranspileOptions {
|
|
|
4451
4501
|
* that the specified flags take effect for this component at runtime.
|
|
4452
4502
|
*/
|
|
4453
4503
|
buildOverrides?: BuildOverrides;
|
|
4504
|
+
/**
|
|
4505
|
+
* When `true`, a `.css`/`.scss` transpile also collects CSS custom-property docs
|
|
4506
|
+
* onto {@link TranspileResults.styleDocs}. Off by default, since it costs an extra parse
|
|
4507
|
+
* of the style text.
|
|
4508
|
+
*/
|
|
4509
|
+
docs?: boolean;
|
|
4454
4510
|
}
|
|
4455
4511
|
/**
|
|
4456
4512
|
* Keys of {@link BuildConditionals} that can be meaningfully overridden at
|
|
@@ -4476,6 +4532,7 @@ interface TranspileResults {
|
|
|
4476
4532
|
inputFilePath: string;
|
|
4477
4533
|
map: any;
|
|
4478
4534
|
outputFilePath: string;
|
|
4535
|
+
styleDocs?: StyleDoc[];
|
|
4479
4536
|
}
|
|
4480
4537
|
interface TransformOptions {
|
|
4481
4538
|
coreImportPath: string;
|
|
@@ -4521,6 +4578,8 @@ interface CliInitOptions {
|
|
|
4521
4578
|
}
|
|
4522
4579
|
//#endregion
|
|
4523
4580
|
//#region src/declarations/stencil-private.d.ts
|
|
4581
|
+
/** Build-time virtual `@import`s a `global-style` input can use to place Stencil-generated CSS. */
|
|
4582
|
+
type StencilVirtualImport = 'stencil-hydrate' | 'stencil-component-globals' | 'stencil-css-components';
|
|
4524
4583
|
interface SourceMap$1 {
|
|
4525
4584
|
file: string;
|
|
4526
4585
|
mappings: string;
|
|
@@ -4659,6 +4718,7 @@ interface BuildCtx {
|
|
|
4659
4718
|
esmComponentBundle: ReadonlyArray<BundleModule>;
|
|
4660
4719
|
commonJsComponentBundle: ReadonlyArray<BundleModule>;
|
|
4661
4720
|
components: ComponentCompilerMeta[];
|
|
4721
|
+
cssOnlyComponents: ComponentCompilerMeta[];
|
|
4662
4722
|
componentGraph: Map<string, string[]>;
|
|
4663
4723
|
config: ValidatedConfig;
|
|
4664
4724
|
createTimeSpan(msg: string, debug?: boolean): LoggerTimeSpan;
|
|
@@ -4707,6 +4767,9 @@ interface BuildCtx {
|
|
|
4707
4767
|
*/
|
|
4708
4768
|
stylesPromise: Promise<string>;
|
|
4709
4769
|
stylesUpdated: BuildStyleUpdate[];
|
|
4770
|
+
globalStylesUpdated: BuildGlobalStyleLinkUpdate[];
|
|
4771
|
+
/** Absolute path of the generated `{fsNamespace}.css`, when this build emitted one */
|
|
4772
|
+
stencilCssFile?: string;
|
|
4710
4773
|
timeSpan: LoggerTimeSpan;
|
|
4711
4774
|
timestamp: string;
|
|
4712
4775
|
transpileBuildCount: number;
|
|
@@ -4719,6 +4782,14 @@ interface BuildStyleUpdate {
|
|
|
4719
4782
|
styleText: string;
|
|
4720
4783
|
styleMode: string;
|
|
4721
4784
|
}
|
|
4785
|
+
/**
|
|
4786
|
+
* A live-reload update for a `global-style` output target's CSS, matched on
|
|
4787
|
+
* the client by `fileName` against the `<link>`
|
|
4788
|
+
*/
|
|
4789
|
+
interface BuildGlobalStyleLinkUpdate {
|
|
4790
|
+
fileName: string;
|
|
4791
|
+
styleText: string;
|
|
4792
|
+
}
|
|
4722
4793
|
type BuildTask = any;
|
|
4723
4794
|
interface CompilerBuildStats {
|
|
4724
4795
|
timestamp: string;
|
|
@@ -4860,6 +4931,12 @@ interface CompilerCtx {
|
|
|
4860
4931
|
cssModuleImports: Map<string, string[]>;
|
|
4861
4932
|
/** Cache of built global styles, keyed by input file path */
|
|
4862
4933
|
globalStyleCache: Map<string, string>;
|
|
4934
|
+
/** Cache of discovered CSS-only components from the last scan, keyed by absolute .css file path */
|
|
4935
|
+
cssOnlyComponentsCache: Map<string, ComponentCompilerMeta[]>;
|
|
4936
|
+
/** Contents of the last auto-placed `stencil-*` CSS, used to detect changes for HMR */
|
|
4937
|
+
stencilCss?: string;
|
|
4938
|
+
/** Virtual imports found in each built global style (post-preprocessing), keyed by input path */
|
|
4939
|
+
globalStyleVirtualImports: Map<string, Set<StencilVirtualImport>>;
|
|
4863
4940
|
collections: CollectionCompilerMeta[];
|
|
4864
4941
|
compilerOptions: any;
|
|
4865
4942
|
events: BuildEvents;
|
|
@@ -5005,7 +5082,7 @@ interface ComponentCompilerMeta extends ComponentCompilerFeatures {
|
|
|
5005
5082
|
* Custom states to initialize on the ElementInternals.states CustomStateSet.
|
|
5006
5083
|
* These are defined via @AttachInternals({ states: {...} }).
|
|
5007
5084
|
*/
|
|
5008
|
-
attachInternalsCustomStates:
|
|
5085
|
+
attachInternalsCustomStates: JsonDocsCustomState[];
|
|
5009
5086
|
componentClassName: string;
|
|
5010
5087
|
/**
|
|
5011
5088
|
* A list of web component tag names that are either:
|
|
@@ -5075,7 +5152,7 @@ interface ComponentCompilerMeta extends ComponentCompilerFeatures {
|
|
|
5075
5152
|
sourceFilePath: string;
|
|
5076
5153
|
sourceMapPath: string;
|
|
5077
5154
|
states: ComponentCompilerState[];
|
|
5078
|
-
styleDocs:
|
|
5155
|
+
styleDocs: StyleDoc[];
|
|
5079
5156
|
styles: StyleCompiler[];
|
|
5080
5157
|
globalStyles: ComponentGlobalStyle[];
|
|
5081
5158
|
tagName: string;
|
|
@@ -5278,20 +5355,6 @@ interface ComponentCompilerState {
|
|
|
5278
5355
|
* Custom states are exposed via the ElementInternals.states CustomStateSet
|
|
5279
5356
|
* and can be targeted with the CSS :state() pseudo-class.
|
|
5280
5357
|
*/
|
|
5281
|
-
interface ComponentCompilerCustomState {
|
|
5282
|
-
/**
|
|
5283
|
-
* The name of the custom state (without dashes)
|
|
5284
|
-
*/
|
|
5285
|
-
name: string;
|
|
5286
|
-
/**
|
|
5287
|
-
* The initial value of the state
|
|
5288
|
-
*/
|
|
5289
|
-
initialValue: boolean;
|
|
5290
|
-
/**
|
|
5291
|
-
* Optional JSDoc description for the state
|
|
5292
|
-
*/
|
|
5293
|
-
docs: string;
|
|
5294
|
-
}
|
|
5295
5358
|
/**
|
|
5296
5359
|
* Representation of JSDoc that is pulled off a node in the AST
|
|
5297
5360
|
*/
|
|
@@ -5303,44 +5366,7 @@ interface CompilerJsDoc {
|
|
|
5303
5366
|
/**
|
|
5304
5367
|
* Tags included in the JSDoc
|
|
5305
5368
|
*/
|
|
5306
|
-
tags:
|
|
5307
|
-
}
|
|
5308
|
-
/**
|
|
5309
|
-
* Representation of a tag that exists in a JSDoc
|
|
5310
|
-
*/
|
|
5311
|
-
interface CompilerJsDocTagInfo {
|
|
5312
|
-
/**
|
|
5313
|
-
* The name of the tag - e.g. `@deprecated`
|
|
5314
|
-
*/
|
|
5315
|
-
name: string;
|
|
5316
|
-
/**
|
|
5317
|
-
* Additional text that is associated with the tag - e.g. `@deprecated use v2 of this API`
|
|
5318
|
-
*/
|
|
5319
|
-
text?: string;
|
|
5320
|
-
}
|
|
5321
|
-
/**
|
|
5322
|
-
* The (internal) representation of a CSS block comment in a CSS, Sass, etc. file. This data structure is used during
|
|
5323
|
-
* the initial compilation phases of Stencil, as a piece of {@link ComponentCompilerMeta}.
|
|
5324
|
-
*/
|
|
5325
|
-
interface CompilerStyleDoc {
|
|
5326
|
-
/**
|
|
5327
|
-
* The name of the CSS property
|
|
5328
|
-
*/
|
|
5329
|
-
name: string;
|
|
5330
|
-
/**
|
|
5331
|
-
* The user-defined description of the CSS property
|
|
5332
|
-
*/
|
|
5333
|
-
docs: string;
|
|
5334
|
-
/**
|
|
5335
|
-
* The JSDoc-style annotation (e.g. `@prop`) that was used in the block comment to detect the comment.
|
|
5336
|
-
* Used to inform Stencil where the start of a new property's description starts (and where the previous description
|
|
5337
|
-
* ends).
|
|
5338
|
-
*/
|
|
5339
|
-
annotation: 'prop';
|
|
5340
|
-
/**
|
|
5341
|
-
* The Stencil style-mode that is associated with this property.
|
|
5342
|
-
*/
|
|
5343
|
-
mode: string;
|
|
5369
|
+
tags: JsonDocsTag[];
|
|
5344
5370
|
}
|
|
5345
5371
|
interface CompilerAssetDir {
|
|
5346
5372
|
absolutePath?: string;
|
|
@@ -6187,4 +6213,4 @@ type MsgToWorker<T extends WorkerContextMethod> = IPCSerializable<{
|
|
|
6187
6213
|
*/
|
|
6188
6214
|
type WorkerMsgHandler = <T extends WorkerContextMethod>(msgToWorker: MsgToWorker<T>) => ReturnType<CompilerWorkerContext[T]>;
|
|
6189
6215
|
//#endregion
|
|
6190
|
-
export {
|
|
6216
|
+
export { CompilerSystemRemoveDirectoryOptions as $, GENERATED_DTS as $i, UserBuildConditionals as $n, isOutputTargetDocs as $r, OutputTargetDocsCustomElementsManifest as $t, CompilerBuildStart as A, loadTypeScriptDiagnostics as Ai, SsrFactoryOptions as An, isJsFile as Ar, LoadConfigInit as At, CompilerEventFileUpdate as B, COLLECTION_APP_DATA_FILE_NAME as Bi, ValidatedConfig as Bn, rolldownToStencilSourceMap as Br, OptimizeJsInput as Bt, BuildResultsComponentGraph as C, hasWarning as Ci, RobotsTxtResults as Cn, ParsePackageJsonResult as Cr, HotModuleReplacement as Ct, CompileTarget as D, splitLineBreaks as Di, SitemapXmpOpts as Dn, getTextDocs as Dr, LOG_LEVELS as Dt, CompileScriptMinifyOptions as E, normalizeDiagnostics as Ei, ServiceWorkerConfig as En, generatePreamble as Er, HydratedFlag as Et, CompilerEventBuildStart as F, formatLazyBundleRuntimeMeta as Fi, TransformOptions as Fn, readOnlyArrayHasStringMember as Fr, LoggerTimeSpan as Ft, CompilerFileWatcherEvent as G, DIST_LAZY as Gi, ComponentInterface as Gn, getComponentsDtsSrcFilePath as Gr, OutputTargetBaseNext as Gt, CompilerEventName as H, COPY as Hi, WatcherCloseResults as Hn, FilterComponentsResult as Hr, OutputTarget as Ht, CompilerEventDirAdd as I, stringifyRuntimeData as Ii, TranspileOnlyResults as In, readPackageJson as Ir, ModeConfig as It, CompilerRequestResponse as J, DOCS_CUSTOM_ELEMENTS_MANIFEST as Ji, MixedInCtor as Jn, isOutputTargetAssets as Jr, OutputTargetCopy as Jt, CompilerFsStats as K, DOCS_AGENT_SKILL as Ki, ErrorHandler as Kn, getComponentsDtsTypesFilePath as Kr, OutputTargetBuild as Kt, CompilerEventDirDelete as L, ASSETS as Li, TranspileOptions as Ln, getInlineSourceMappingUrlLinker as Lr, NodeResolveConfig as Lt, CompilerEventBuildFinish as M, isRolldownError as Mi, StencilDevServerConfig as Mn, isTsFile as Mr, LogLevel as Mt, CompilerEventBuildLog as N, loadRolldownDiagnostics as Ni, StencilDocsConfig as Nn, isTsxFile as Nr, Logger as Nt, Compiler as O, augmentDiagnosticWithNode as Oi, SitemapXmpResults as On, hasDependency as Or, LazyRequire as Ot, CompilerEventBuildNoChange as P, formatComponentRuntimeMeta as Pi, SystemDetails as Pn, parsePackageJson as Pr, LoggerLineUpdater as Pt, CompilerSystemRealpathResults as Q, EVENT_FLAGS as Qi, TagTransformer as Qn, isOutputTargetDistLazy as Qr, OutputTargetDocsCustom as Qt, CompilerEventFileAdd as R, CMP_FLAGS as Ri, TranspileResults as Rn, getSourceMappingUrlForEndOfFile as Rr, OptimizeCssInput as Rt, BuildOverrides as S, hasError as Si, RobotsTxtOpts as Sn, validateComponentTag as Sr, HmrStyleUpdate as St, CliInitOptions as T, escapeHtml as Ti, SerializeDocumentOptions as Tn, createJsVarName as Tr, HydrateFactoryOptions as Tt, CompilerFileWatcher as U, CUSTOM as Ui, WorkerMainController as Un, filterActiveTargets as Ur, OutputTargetAssets as Ut, CompilerEventFsChange as V, COLLECTION_MANIFEST_FILE_NAME as Vi, ValidatedOutputTargetWww as Vn, result_d_exports as Vr, OptimizeJsOutput as Vt, CompilerFileWatcherCallback as W, DEFAULT_STYLE_MODE as Wi, WorkerOptions as Wn, filterExcludedComponents as Wr, OutputTargetBase as Wt, CompilerSystemCreateDirectoryOptions as X, DOCS_README as Xi, ReactiveControllerHostInterface as Xn, isOutputTargetCopy as Xr, OutputTargetDistLazy as Xt, CompilerSystem as Y, DOCS_JSON as Yi, RafCallback as Yn, isOutputTargetCollection as Yr, OutputTargetCustom as Yt, CompilerSystemCreateDirectoryResults as Z, DOCS_VSCODE as Zi, ResolutionHandler as Zn, isOutputTargetCustom as Zr, OutputTargetDocsAgentSkill as Zt, BuildLog as _, XLINK_NS as _a, TASK_CANCELED_MSG as _i, PrerenderResults as _n, JsonDocsValue as _r, Diagnostic$1 as _t, ComponentGlobalStyle as a, MEMBER_FLAGS as aa, isOutputTargetDocsVscode as ai, OutputTargetSsr as an, JsonDocsDependencyGraph as ar, CompilerWatcher as at, BuildOnEvents as b, buildWarn as bi, ResolveModuleIdResults as bn, ModeValidationError as br, HistoryApiFallback as bt, PackageJsonData as c, SSR_WASM as ca, isOutputTargetSsr as ci, OutputTargetStats as cn, JsonDocsMethod as cr, ConfigCompat as ct, RuntimeRef as d, STYLE_EXT as da, isOutputTargetStats as di, PageReloadStrategy as dn, JsonDocsProp as dr, Credentials as dt, GLOBAL_STYLE as ea, isOutputTargetDocsAgentSkill as ei, OutputTargetDocsJson as en, VNode as er, CompilerSystemRemoveDirectoryResults as et, SsrResults as f, SVG_NS as fa, isOutputTargetTypes as fi, ParsedPath as fn, JsonDocsSlot as fr, CustomElementsExportBehavior as ft, BuildEvents as g, WWW as ga, shouldExcludeComponent as gi, PrerenderOptions as gn, JsonDocsUsage as gr, DevServerEditor as gt, BuildEmitEvents as h, WATCH_FLAGS as ha, relativeImport as hi, PrerenderHydrateOptions as hn, JsonDocsTypeLibrary as hr, DevServerConfig as ht, ComponentCompilerTypeReferences as i, LOADER_BUNDLE as ia, isOutputTargetDocsReadme as ii, OutputTargetLoaderBundle as in, JsonDocsCustomState as ir, CompilerSystemWriteFileResults as it, CompilerDependency as j, createOnWarnFn as ji, StencilConfig as jn, isJsxFile as jr, LoadConfigResults as jt, CompilerBuildResults as k, loadTypeScriptDiagnostic as ki, SsrDocumentOptions as kn, isDtsFile as kr, LightDomPatches as kt, PrintLine as l, STANDALONE as la, isOutputTargetSsrWasm as li, OutputTargetTypes as ln, JsonDocsMethodReturn as lr, CopyResults as lt, AutoprefixerOptions as m, VALID_CONFIG_OUTPUT_TARGETS as ma, isValidConfigOutputTarget as mi, PrerenderConfig as mn, JsonDocsTag as mr, DevServer as mt, CompilerWorkerContext as n, HTML_NS as na, isOutputTargetDocsCustomElementsManifest as ni, OutputTargetDocsVscode as nn, JsonDocs as nr, CompilerSystemRenameResults as nt, HostElement as o, NODE_TYPES as oa, isOutputTargetGlobalStyle as oi, OutputTargetSsrWasm as on, JsonDocsEvent as or, Config as ot, WorkerMsgHandler as p, TYPES as pa, isOutputTargetWww as pi, PlatformPath as pn, JsonDocsStyle as pr, CustomElementsExportBehaviorOptions as pt, CompilerRequest as q, DOCS_CUSTOM as qi, FunctionalComponent as qn, getComponentsFromModules as qr, OutputTargetCollection as qt, ComponentCompilerMeta as r, LISTENER_FLAGS as ra, isOutputTargetDocsJson as ri, OutputTargetGlobalStyle as rn, JsonDocsComponent as rr, CompilerSystemRenamedPath as rt, LazyBundlesRuntimeData as s, SSR as sa, isOutputTargetLoaderBundle as si, OutputTargetStandalone as sn, JsonDocsListener as sr, ConfigBundle as st, ChildType as t, HOST_FLAGS as ta, isOutputTargetDocsCustom as ti, OutputTargetDocsReadme as tn, JsonDocMethodParameter as tr, CompilerSystemRemoveFileResults as tt, PropsType as u, STATS as ua, isOutputTargetStandalone as ui, OutputTargetWww as un, JsonDocsPart as ur, CopyTask as ut, BuildNoChangeResults as v, buildError as vi, PrerenderStartOptions as vn, StyleDoc as vr, DocsReadmeCustomColumn as vt, CacheStorage as w, shouldIgnoreError as wi, RolldownConfig as wn, addDocBlock as wr, HydrateDocumentOptions as wt, BuildOutput as x, catchError as xi, ResolveModuleOptions as xn, validateComponentModes as xr, HmrGlobalStyleUpdate as xt, BuildOnEventRemove as y, buildJsonFileError as yi, ResolveModuleIdOptions as yn, FsWriteResults as yr, FsWatchResults as yt, CompilerEventFileDelete as z, COLLECTION as zi, UnvalidatedConfig as zn, getSourceMappingUrlLinker as zr, OptimizeCssOutput as zt };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as setErrorHandler, _ as getAssetPath, a as transformTag, b as writeTask, c as Mixin, d as Host, f as h, g as getShadowRoot, h as getElement, i as setTagTransformer, l as getMode, m as getRenderingRef, o as render, p as forceUpdate, s as ReactiveControllerHost, u as setMode, v as setAssetPath, w as Build, x as setPlatformHelpers, y as readTask } from "./client-
|
|
1
|
+
import { C as setErrorHandler, _ as getAssetPath, a as transformTag, b as writeTask, c as Mixin, d as Host, f as h, g as getShadowRoot, h as getElement, i as setTagTransformer, l as getMode, m as getRenderingRef, o as render, p as forceUpdate, s as ReactiveControllerHost, u as setMode, v as setAssetPath, w as Build, x as setPlatformHelpers, y as readTask } from "./client-CAQvc3hT.mjs";
|
|
2
2
|
import { t as Fragment } from "./fragment-Di1hWOC8.mjs";
|
|
3
3
|
//#region src/client/client-decorators.ts
|
|
4
4
|
/**
|
package/dist/jsx-runtime.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __require } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
2
|
-
import "./client-
|
|
2
|
+
import "./client-CAQvc3hT.mjs";
|
|
3
3
|
import { c as isFunction, f as isString, m as noop, r as flatOne } from "./helpers-Cpp3qc3u.mjs";
|
|
4
4
|
import { $ as catchError, K as normalizePath, X as buildError, Y as TASK_CANCELED_MSG, nt as shouldIgnoreError, rt as isGlob } from "./util-IKfWWLJo.mjs";
|
|
5
5
|
import fs from "node:fs";
|