@stencil/core 5.0.0-alpha.5 → 5.0.0-alpha.6
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-Dnio47yQ.mjs → client-fWOou5EW.mjs} +2324 -2125
- package/dist/compiler/index.d.mts +5 -5
- package/dist/compiler/index.mjs +2 -2
- package/dist/compiler/utils/index.d.mts +2 -2
- package/dist/compiler/utils/index.mjs +3 -3
- package/dist/{compiler-Dxri2g8Z.mjs → compiler-CdUbDTbV.mjs} +13329 -12670
- package/dist/declarations/stencil-public-compiler.d.ts +254 -121
- package/dist/declarations/stencil-public-docs.d.ts +10 -0
- package/dist/declarations/stencil-public-runtime.d.ts +49 -12
- package/dist/{index-D5zaocDq.d.mts → index-D8vvsppY.d.mts} +228 -180
- package/dist/{index-D61XZw0f.d.ts → index-Dap2E02-.d.ts} +82 -31
- package/dist/{index-Dat4djoo.d.mts → index-UUlemGuu.d.mts} +13 -2
- package/dist/index.d.mts +0 -1
- package/dist/index.mjs +1 -1
- package/dist/jsx-runtime.d.mts +18 -0
- package/dist/jsx-runtime.mjs +2 -0
- package/dist/{node-pj6rF4Wt.mjs → node-klLZLdDe.mjs} +59 -55
- package/dist/{regular-expression-D0_N0PGa.mjs → regular-expression-DUdhF3Ei.mjs} +72 -6
- package/dist/runtime/app-data/index.d.ts +1 -1
- package/dist/runtime/app-data/index.js +15 -9
- package/dist/{runtime-CKyUrF4i.js → runtime/client/lazy.js} +2539 -2199
- package/dist/runtime/client/{index.d.ts → runtime.d.ts} +49 -40
- package/dist/runtime/client/{index.js → runtime.js} +2401 -2185
- package/dist/runtime/index.d.ts +20 -3
- package/dist/runtime/index.js +4956 -2
- package/dist/runtime/server/index.d.mts +30 -39
- package/dist/runtime/server/index.mjs +2369 -2185
- package/dist/runtime/server/runner.d.mts +4 -6
- package/dist/runtime/server/runner.mjs +307 -361
- 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 +199 -47
- package/dist/{validation-BA8nzXu_.mjs → validation-2QipI30K.mjs} +21 -32
- package/package.json +41 -27
- package/dist/index-D-XN9HW_.d.ts +0 -30
- package/dist/jsx-runtime-B3vQbWIW.d.ts +0 -28
- package/dist/jsx-runtime.d.ts +0 -2
- package/dist/jsx-runtime.js +0 -2
- /package/dist/{chunk-CjcI7cDX.mjs → chunk-z9aeyW2b.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Diagnostic, Node as Node$1 } from "typescript";
|
|
2
|
-
import { RolldownError, SourceMap } from "rolldown";
|
|
2
|
+
import { InputOptions, RolldownError, SourceMap, SourceMap as RolldownSourceMap } from "rolldown";
|
|
3
3
|
import { Serializable } from "child_process";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/byte-size.d.ts
|
|
@@ -80,13 +80,6 @@ declare const CMP_FLAGS: {
|
|
|
80
80
|
* Used to determine if a component does not use the shadow DOM _and_ has `<slot/>` tags in its markup.
|
|
81
81
|
*/
|
|
82
82
|
readonly hasSlotRelocation: number;
|
|
83
|
-
/**
|
|
84
|
-
* Determines if a shim for the shadow DOM is necessary.
|
|
85
|
-
*
|
|
86
|
-
* The shim should only be needed if a component requires {@link shadowDomEncapsulation} and if any output
|
|
87
|
-
* target-specific criteria are met. Refer to this flag's usage to determine each output target's criteria.
|
|
88
|
-
*/
|
|
89
|
-
readonly needsShadowDomShim: number;
|
|
90
83
|
/**
|
|
91
84
|
* Determines if `delegatesFocus` is enabled for a component that uses the shadow DOM.
|
|
92
85
|
* e.g. `shadow: { delegatesFocus: true }` is set on the `@Component()` decorator
|
|
@@ -97,10 +90,7 @@ declare const CMP_FLAGS: {
|
|
|
97
90
|
*/
|
|
98
91
|
readonly hasMode: number;
|
|
99
92
|
/**
|
|
100
|
-
* Determines if styles must be scoped
|
|
101
|
-
* 1. A component is using scoped stylesheets ({@link scopedCssEncapsulation})
|
|
102
|
-
* 2. A component is using the shadow DOM _and_ the output target's rules for requiring a shadow DOM shim have been
|
|
103
|
-
* met ({@link needsShadowDomShim})
|
|
93
|
+
* Determines if styles must be scoped - i.e. the component uses scoped stylesheets.
|
|
104
94
|
*/
|
|
105
95
|
readonly needsScopedEncapsulation: number;
|
|
106
96
|
/**
|
|
@@ -167,6 +157,7 @@ declare const XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
|
167
157
|
* File names and value
|
|
168
158
|
*/
|
|
169
159
|
declare const COLLECTION_MANIFEST_FILE_NAME = "collection-manifest.json";
|
|
160
|
+
declare const COLLECTION_APP_DATA_FILE_NAME = "app-data.js";
|
|
170
161
|
/**
|
|
171
162
|
* Constant for the 'copy' output target
|
|
172
163
|
*/
|
|
@@ -191,13 +182,19 @@ declare const STANDALONE = "standalone";
|
|
|
191
182
|
*/
|
|
192
183
|
declare const SSR = "ssr";
|
|
193
184
|
/**
|
|
194
|
-
* Constant for the '
|
|
185
|
+
* Constant for the 'ssr-wasm' output target.
|
|
186
|
+
* Compiles the SSR script to a WASM binary via javy for use in any WASM-capable host
|
|
187
|
+
* (PHP, Java, Ruby, Go, etc.) without requiring a JavaScript runtime.
|
|
188
|
+
*/
|
|
189
|
+
declare const SSR_WASM = "ssr-wasm";
|
|
190
|
+
/**
|
|
191
|
+
* Constant for the 'collection' output target
|
|
195
192
|
* (formerly 'dist-collection' sub-output in v4)
|
|
196
193
|
*
|
|
197
194
|
* Contains transpiled source + metadata for downstream Stencil projects
|
|
198
195
|
* to re-compile/bundle.
|
|
199
196
|
*/
|
|
200
|
-
declare const STENCIL_REBUNDLE = "
|
|
197
|
+
declare const STENCIL_REBUNDLE = "collection";
|
|
201
198
|
/**
|
|
202
199
|
* Constant for the 'types' output target
|
|
203
200
|
* (formerly 'dist-types' sub-output in v4)
|
|
@@ -254,7 +251,7 @@ declare const WWW = "www";
|
|
|
254
251
|
*
|
|
255
252
|
* In v5, `TYPES` and `STENCIL_REBUNDLE` are auto-generated in production builds unless explicitly configured.
|
|
256
253
|
*/
|
|
257
|
-
declare const VALID_CONFIG_OUTPUT_TARGETS: readonly ["www", "loader-bundle", "standalone", "ssr", "
|
|
254
|
+
declare const VALID_CONFIG_OUTPUT_TARGETS: readonly ["www", "loader-bundle", "standalone", "ssr", "ssr-wasm", "collection", "types", "global-style", "assets", "dist", "dist-custom-elements", "dist-hydrate-script", "dist-collection", "dist-types", "docs-json", "docs-readme", "docs-vscode", "docs-custom", "docs-custom-elements-manifest", "copy", "custom", "stats"];
|
|
258
255
|
declare const GENERATED_DTS = "components.d.ts";
|
|
259
256
|
/**
|
|
260
257
|
* DOM Node types
|
|
@@ -450,6 +447,7 @@ declare const isGlob: (str: string) => boolean;
|
|
|
450
447
|
declare const isRootPath: (p: string) => boolean;
|
|
451
448
|
//#endregion
|
|
452
449
|
//#region src/utils/logger/logger-rolldown.d.ts
|
|
450
|
+
declare const isRolldownError: (e: unknown) => e is RolldownError;
|
|
453
451
|
declare const loadRolldownDiagnostics: (config: ValidatedConfig, compilerCtx: CompilerCtx, buildCtx: BuildCtx, rolldownError: RolldownError) => void;
|
|
454
452
|
declare const createOnWarnFn: (diagnostics: Diagnostic$1[], bundleModulesFiles?: Module[]) => (warning: {
|
|
455
453
|
code?: string;
|
|
@@ -598,7 +596,8 @@ declare const getComponentsDtsTypesFilePath: (typesDir: string) => string;
|
|
|
598
596
|
declare const isOutputTargetLoaderBundle: (o: OutputTarget) => o is OutputTargetLoaderBundle;
|
|
599
597
|
declare const isOutputTargetStandalone: (o: OutputTarget) => o is OutputTargetStandalone;
|
|
600
598
|
declare const isOutputTargetSsr: (o: OutputTarget) => o is OutputTargetSsr;
|
|
601
|
-
declare const
|
|
599
|
+
declare const isOutputTargetSsrWasm: (o: OutputTarget) => o is OutputTargetSsrWasm;
|
|
600
|
+
declare const isOutputTargetCollection: (o: OutputTarget) => o is OutputTargetCollection;
|
|
602
601
|
declare const isOutputTargetTypes: (o: OutputTarget) => o is OutputTargetTypes;
|
|
603
602
|
declare const isOutputTargetGlobalStyle: (o: OutputTarget) => o is OutputTargetGlobalStyle;
|
|
604
603
|
declare const isOutputTargetAssets: (o: OutputTarget) => o is OutputTargetAssets;
|
|
@@ -1702,7 +1701,7 @@ interface FunctionalUtilities {
|
|
|
1702
1701
|
map: (children: VNode[], cb: (vnode: ChildNode$1, index: number, array: ChildNode$1[]) => ChildNode$1) => VNode[];
|
|
1703
1702
|
}
|
|
1704
1703
|
interface FunctionalComponent<T = {}> {
|
|
1705
|
-
(props: T, children: VNode[], utils: FunctionalUtilities): VNode |
|
|
1704
|
+
(props: T, children: VNode[], utils: FunctionalUtilities): VNode | null;
|
|
1706
1705
|
}
|
|
1707
1706
|
/**
|
|
1708
1707
|
* A Child VDOM node
|
|
@@ -1713,7 +1712,7 @@ interface FunctionalComponent<T = {}> {
|
|
|
1713
1712
|
* {@link FunctionalUtilities}).
|
|
1714
1713
|
*/
|
|
1715
1714
|
interface ChildNode$1 {
|
|
1716
|
-
vtag?: string | number | Function;
|
|
1715
|
+
vtag?: string | number | Function | symbol | null;
|
|
1717
1716
|
vkey?: string | number;
|
|
1718
1717
|
vtext?: string;
|
|
1719
1718
|
vchildren?: VNode[];
|
|
@@ -1725,13 +1724,15 @@ interface ChildNode$1 {
|
|
|
1725
1724
|
*/
|
|
1726
1725
|
interface VNode {
|
|
1727
1726
|
$flags$: number;
|
|
1728
|
-
$tag$: string | number | Function;
|
|
1727
|
+
$tag$: string | number | Function | symbol | null;
|
|
1729
1728
|
$elm$: any;
|
|
1730
1729
|
$text$: string;
|
|
1731
1730
|
$children$: VNode[];
|
|
1732
1731
|
$attrs$?: any;
|
|
1733
1732
|
$name$?: string;
|
|
1734
1733
|
$key$?: string | number;
|
|
1734
|
+
/** Signal reference for vdom bypass: signal text nodes store the signal here. */
|
|
1735
|
+
$signal$?: any;
|
|
1735
1736
|
}
|
|
1736
1737
|
//#endregion
|
|
1737
1738
|
//#region src/declarations/stencil-public-compiler.d.ts
|
|
@@ -1818,20 +1819,6 @@ interface StencilConfig {
|
|
|
1818
1819
|
* @default false
|
|
1819
1820
|
*/
|
|
1820
1821
|
generateExportMaps?: boolean;
|
|
1821
|
-
/**
|
|
1822
|
-
* When the hashFileNames config is set to true, and it is a production build,
|
|
1823
|
-
* the hashedFileNameLength config is used to determine how many characters the file name's hash should be.
|
|
1824
|
-
*/
|
|
1825
|
-
hashedFileNameLength?: number;
|
|
1826
|
-
/**
|
|
1827
|
-
* During production builds, the content of each generated file is hashed to represent the content,
|
|
1828
|
-
* and the hashed value is used as the filename. If the content isn't updated between builds,
|
|
1829
|
-
* then it receives the same filename. When the content is updated, then the filename is different.
|
|
1830
|
-
*
|
|
1831
|
-
* By doing this, deployed apps can "forever-cache" the build directory and take full advantage of
|
|
1832
|
-
* content delivery networks (CDNs) and heavily caching files for faster apps.
|
|
1833
|
-
*/
|
|
1834
|
-
hashFileNames?: boolean;
|
|
1835
1822
|
/**
|
|
1836
1823
|
* The namespace config is a string representing a namespace for the app.
|
|
1837
1824
|
* For apps that are not meant to be a library of reusable components,
|
|
@@ -2022,6 +2009,23 @@ interface StencilConfig {
|
|
|
2022
2009
|
* Set whether unused dependencies should be excluded from the built output.
|
|
2023
2010
|
*/
|
|
2024
2011
|
excludeUnusedDependencies?: boolean;
|
|
2012
|
+
/**
|
|
2013
|
+
* Explicitly declare which npm packages are Stencil collections to be re-bundled into this project.
|
|
2014
|
+
*
|
|
2015
|
+
* Without this option, collection ingestion is triggered only by a side-effect import:
|
|
2016
|
+
* ```ts
|
|
2017
|
+
* import '@ionic/core';
|
|
2018
|
+
* ```
|
|
2019
|
+
* @example
|
|
2020
|
+
* ```ts
|
|
2021
|
+
* export const config: Config = {
|
|
2022
|
+
* collections: ['@ionic/core', '@my-org/design-system'],
|
|
2023
|
+
* };
|
|
2024
|
+
* ```
|
|
2025
|
+
*
|
|
2026
|
+
* @default []
|
|
2027
|
+
*/
|
|
2028
|
+
collections?: string[];
|
|
2025
2029
|
stencilCoreResolvedId?: string;
|
|
2026
2030
|
}
|
|
2027
2031
|
interface ConfigExtrasBase {
|
|
@@ -2029,7 +2033,7 @@ interface ConfigExtrasBase {
|
|
|
2029
2033
|
* Projects that use a Stencil library built using the `dist` output target may have trouble lazily
|
|
2030
2034
|
* loading components when using a bundler such as Vite or Parcel. Setting this flag to `true` will change how Stencil
|
|
2031
2035
|
* lazily loads components in a way that works with additional bundlers. Setting this flag to `true` will increase
|
|
2032
|
-
* the size of the compiled output. Defaults to `
|
|
2036
|
+
* the size of the compiled output. Defaults to `true`.
|
|
2033
2037
|
*/
|
|
2034
2038
|
enableImportInjection?: boolean;
|
|
2035
2039
|
/**
|
|
@@ -2048,49 +2052,49 @@ interface ConfigExtrasBase {
|
|
|
2048
2052
|
*/
|
|
2049
2053
|
additionalTagTransformers?: boolean | 'prod';
|
|
2050
2054
|
/**
|
|
2051
|
-
*
|
|
2052
|
-
*
|
|
2053
|
-
*
|
|
2055
|
+
* Replace `@State` and `@Prop` internals with `@preact/signals-core` signal primitives.
|
|
2056
|
+
* Enables cross-framework reactive interop - component state becomes subscribable by
|
|
2057
|
+
* Solid, Angular, Preact and any TC39-signal-compatible library without event/attribute
|
|
2058
|
+
* roundtrips. No API changes required in component code.
|
|
2054
2059
|
* Defaults to `false`.
|
|
2055
2060
|
*/
|
|
2056
|
-
|
|
2057
|
-
}
|
|
2058
|
-
type ConfigExtrasSlotFixes<ExperimentalFixesEnabled extends boolean, IndividualFlags extends boolean> = {
|
|
2059
|
-
/**
|
|
2060
|
-
* By default, the slot polyfill does not update `appendChild()` so that it appends
|
|
2061
|
-
* new child nodes into the correct child slot like how shadow dom works. This is an opt-in
|
|
2062
|
-
* polyfill for those who need it when using `element.appendChild(node)` and expecting the
|
|
2063
|
-
* child to be appended in the same location shadow dom would. This is not required for
|
|
2064
|
-
* IE11 or Edge 18, but can be enabled if the app is using `appendChild()`. Defaults to `false`.
|
|
2065
|
-
*/
|
|
2066
|
-
appendChildSlotFix?: IndividualFlags;
|
|
2061
|
+
signalBacking?: boolean;
|
|
2067
2062
|
/**
|
|
2068
|
-
*
|
|
2069
|
-
*
|
|
2070
|
-
*
|
|
2071
|
-
*
|
|
2072
|
-
* simulating shadow dom. Defaults to `false`.
|
|
2063
|
+
* Enable JSX signal bypass: `Signal` objects passed as JSX text children or attribute values
|
|
2064
|
+
* subscribe directly to DOM nodes, bypassing the vdom diff on signal changes.
|
|
2065
|
+
* Also enables `<Show>` from `@stencil/core/signals`.
|
|
2066
|
+
* Auto-enabled when `signalBacking: true`. Defaults to `false`.
|
|
2073
2067
|
*/
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2068
|
+
vdomSignals?: boolean;
|
|
2069
|
+
}
|
|
2070
|
+
/**
|
|
2071
|
+
* DOM patches for light-dom / scoped components that use `<slot>`.
|
|
2072
|
+
*
|
|
2073
|
+
* These patches shield the component's slot machinery from framework DOM mutations
|
|
2074
|
+
* (e.g. when Angular or React insert / remove nodes they route directly to the host
|
|
2075
|
+
* element, bypassing the slot polyfill) and prevent hydration errors when a framework
|
|
2076
|
+
* encounters Stencil's internal slot reference nodes during SSR reconciliation.
|
|
2077
|
+
*
|
|
2078
|
+
* Patches are only applied at runtime when a component is both non-shadow **and**
|
|
2079
|
+
* declares at least one `<slot>`, so enabling them has no effect on pure shadow-DOM
|
|
2080
|
+
* components.
|
|
2081
|
+
*
|
|
2082
|
+
* Set to `true` (default) to enable all patches, `false` to disable all, or an object
|
|
2083
|
+
* for granular control.
|
|
2084
|
+
*/
|
|
2085
|
+
type LightDomPatches = {
|
|
2086
|
+
/** Patches `childNodes`/`children` getters to return only slotted content. */childNodes?: boolean; /** Patches `cloneNode()` to correctly deep-clone slotted content. */
|
|
2087
|
+
cloneNode?: boolean; /** Patches `appendChild()`, `insertBefore()`, and `removeChild()` to route to the correct slot. */
|
|
2088
|
+
domMutations?: boolean; /** Patches `textContent` to act like shadow DOM (reads/writes slotted text only). */
|
|
2089
|
+
textContent?: boolean;
|
|
2090
|
+
};
|
|
2091
|
+
type ConfigExtras = ConfigExtrasBase & {
|
|
2087
2092
|
/**
|
|
2088
|
-
*
|
|
2089
|
-
* {@link
|
|
2093
|
+
* DOM patches for light-dom / scoped components that use `<slot>`.
|
|
2094
|
+
* See {@link LightDomPatches} for granular control. Defaults to `true`.
|
|
2090
2095
|
*/
|
|
2091
|
-
|
|
2096
|
+
lightDomPatches?: boolean | LightDomPatches;
|
|
2092
2097
|
};
|
|
2093
|
-
type ConfigExtras = ConfigExtrasBase & (ConfigExtrasSlotFixes<true, true> | ConfigExtrasSlotFixes<false, boolean>);
|
|
2094
2098
|
interface Config extends StencilConfig {
|
|
2095
2099
|
buildAppCore?: boolean;
|
|
2096
2100
|
configPath?: string;
|
|
@@ -2193,7 +2197,7 @@ type RequireFields<T, K extends keyof T> = T & { [P in K]-?: T[P] };
|
|
|
2193
2197
|
/**
|
|
2194
2198
|
* Fields in {@link Config} to make required for {@link ValidatedConfig}
|
|
2195
2199
|
*/
|
|
2196
|
-
type StrictConfigFields = keyof Pick<Config, 'cacheDir' | 'devServer' | 'extras' | 'fsNamespace' | '
|
|
2200
|
+
type StrictConfigFields = keyof Pick<Config, 'cacheDir' | 'devServer' | 'extras' | 'fsNamespace' | 'hydratedFlag' | 'logLevel' | 'logger' | 'minifyCss' | 'minifyJs' | 'namespace' | 'outputTargets' | 'packageJsonFilePath' | 'rolldownConfig' | 'rootDir' | 'srcDir' | 'srcIndexHtml' | 'sys' | 'transformAliasedImportPaths'>;
|
|
2197
2201
|
/**
|
|
2198
2202
|
* A version of {@link Config} that makes certain fields required. This type represents a valid configuration entity.
|
|
2199
2203
|
* When a configuration is received by the user, it is a bag of unverified data. In order to make stricter guarantees
|
|
@@ -3024,18 +3028,18 @@ interface ResolveModuleIdResults {
|
|
|
3024
3028
|
* A controller which provides for communication and coordination between
|
|
3025
3029
|
* threaded workers.
|
|
3026
3030
|
*/
|
|
3027
|
-
interface WorkerMainController {
|
|
3031
|
+
interface WorkerMainController<T extends Record<string, (...args: any[]) => Promise<any>> = Record<string, (...args: any[]) => Promise<any>>> {
|
|
3028
3032
|
/**
|
|
3029
3033
|
* Send a given set of arguments to a worker
|
|
3030
3034
|
*/
|
|
3031
|
-
send(...args:
|
|
3035
|
+
send<K extends keyof T>(methodName: K, ...args: Parameters<T[K]>): ReturnType<T[K]>;
|
|
3032
3036
|
/**
|
|
3033
3037
|
* Handle a particular method
|
|
3034
3038
|
*
|
|
3035
3039
|
* @param name of the method to be passed to a worker
|
|
3036
3040
|
* @returns a Promise wrapping the results
|
|
3037
3041
|
*/
|
|
3038
|
-
handler(name:
|
|
3042
|
+
handler<K extends keyof T>(name: K): T[K];
|
|
3039
3043
|
/**
|
|
3040
3044
|
* Destroy the worker represented by this instance, rejecting all outstanding
|
|
3041
3045
|
* tasks and killing the child process.
|
|
@@ -3102,6 +3106,7 @@ interface BuildNoChangeResults {
|
|
|
3102
3106
|
interface CompilerBuildResults {
|
|
3103
3107
|
buildId: number;
|
|
3104
3108
|
componentGraph?: BuildResultsComponentGraph;
|
|
3109
|
+
components: ComponentCompilerMeta[];
|
|
3105
3110
|
diagnostics: Diagnostic$1[];
|
|
3106
3111
|
dirsAdded: string[];
|
|
3107
3112
|
dirsDeleted: string[];
|
|
@@ -3298,8 +3303,9 @@ interface CopyTask {
|
|
|
3298
3303
|
*/
|
|
3299
3304
|
dest?: string;
|
|
3300
3305
|
/**
|
|
3301
|
-
*
|
|
3302
|
-
*
|
|
3306
|
+
* Additional glob patterns to exclude from the copy operation, merged with
|
|
3307
|
+
* the built-in defaults: `__mocks__`, `__fixtures__`, `dist`, hidden dirs,
|
|
3308
|
+
* `.ds_store`, `.gitignore`, `desktop.ini`, `thumbs.db`.
|
|
3303
3309
|
*/
|
|
3304
3310
|
ignore?: string[];
|
|
3305
3311
|
/**
|
|
@@ -3378,39 +3384,12 @@ interface StencilDocsConfig {
|
|
|
3378
3384
|
};
|
|
3379
3385
|
};
|
|
3380
3386
|
}
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
browser?: boolean;
|
|
3384
|
-
moduleDirectories?: string[];
|
|
3385
|
-
modulePaths?: string[];
|
|
3386
|
-
dedupe?: string[] | ((importee: string) => boolean);
|
|
3387
|
-
extensions?: readonly string[];
|
|
3388
|
-
jail?: string;
|
|
3389
|
-
mainFields?: readonly string[];
|
|
3390
|
-
modulesOnly?: boolean;
|
|
3391
|
-
preferBuiltins?: boolean | ((module: string) => boolean);
|
|
3392
|
-
resolveOnly?: ReadonlyArray<string | RegExp> | null | ((module: string) => boolean);
|
|
3393
|
-
rootDir?: string;
|
|
3394
|
-
allowExportsFolderMapping?: boolean;
|
|
3395
|
-
}
|
|
3387
|
+
/** Options for rolldown's built-in module resolver, passed directly to rolldown's `resolve` input option. */
|
|
3388
|
+
type NodeResolveConfig = NonNullable<InputOptions['resolve']>;
|
|
3396
3389
|
interface RolldownConfig {
|
|
3397
|
-
inputOptions?: RolldownInputOptions;
|
|
3398
|
-
outputOptions?: RolldownOutputOptions;
|
|
3399
|
-
}
|
|
3400
|
-
interface RolldownInputOptions {
|
|
3401
|
-
context?: string;
|
|
3402
|
-
moduleContext?: ((id: string) => string) | {
|
|
3403
|
-
[id: string]: string;
|
|
3404
|
-
};
|
|
3405
3390
|
treeshake?: boolean;
|
|
3406
|
-
maxParallelFileOps?: number;
|
|
3407
3391
|
external?: (string | RegExp)[] | string | RegExp | ((source: string, importer: string | undefined, isResolved: boolean) => boolean | null | undefined);
|
|
3408
3392
|
}
|
|
3409
|
-
interface RolldownOutputOptions {
|
|
3410
|
-
globals?: {
|
|
3411
|
-
[name: string]: string;
|
|
3412
|
-
} | ((name: string) => string);
|
|
3413
|
-
}
|
|
3414
3393
|
/**
|
|
3415
3394
|
* This sets the log level hierarchy for our terminal logger, ranging from
|
|
3416
3395
|
* most to least verbose.
|
|
@@ -3516,6 +3495,28 @@ interface OutputTargetLoaderBundle extends OutputTargetBaseNext {
|
|
|
3516
3495
|
* @default 'loader' (relative to output directory)
|
|
3517
3496
|
*/
|
|
3518
3497
|
loaderPath?: string;
|
|
3498
|
+
/**
|
|
3499
|
+
* Hash the filenames of generated chunks based on their content.
|
|
3500
|
+
* Enables forever-caching of CDN-served bundles.
|
|
3501
|
+
*
|
|
3502
|
+
* @default true in production, false in dev mode
|
|
3503
|
+
*/
|
|
3504
|
+
hashFileNames?: boolean;
|
|
3505
|
+
/**
|
|
3506
|
+
* Number of characters to use for the content hash in filenames.
|
|
3507
|
+
*
|
|
3508
|
+
* @default 8
|
|
3509
|
+
*/
|
|
3510
|
+
hashedFileNameLength?: number;
|
|
3511
|
+
/**
|
|
3512
|
+
* When `true`, marks `@stencil/core` as an external dependency in the bundler (ESM/CJS)
|
|
3513
|
+
* distribution output. Consumers must provide `@stencil/core` themselves.
|
|
3514
|
+
*
|
|
3515
|
+
* Has no effect on the browser/CDN build - the runtime is always bundled there.
|
|
3516
|
+
*
|
|
3517
|
+
* @default false
|
|
3518
|
+
*/
|
|
3519
|
+
externalRuntime?: boolean;
|
|
3519
3520
|
}
|
|
3520
3521
|
/**
|
|
3521
3522
|
* Output target for generating Stencil component source for downstream re-bundling.
|
|
@@ -3529,14 +3530,14 @@ interface OutputTargetLoaderBundle extends OutputTargetBaseNext {
|
|
|
3529
3530
|
* @example
|
|
3530
3531
|
* ```typescript
|
|
3531
3532
|
* {
|
|
3532
|
-
* type: '
|
|
3533
|
-
* dir: 'dist/
|
|
3533
|
+
* type: 'collection',
|
|
3534
|
+
* dir: 'dist/collection',
|
|
3534
3535
|
* transformAliasedImportPaths: true
|
|
3535
3536
|
* }
|
|
3536
3537
|
* ```
|
|
3537
3538
|
*/
|
|
3538
|
-
interface
|
|
3539
|
-
type: '
|
|
3539
|
+
interface OutputTargetCollection extends OutputTargetBaseNext {
|
|
3540
|
+
type: 'collection';
|
|
3540
3541
|
empty?: boolean;
|
|
3541
3542
|
/**
|
|
3542
3543
|
* When `true` this flag will transform aliased import paths defined in
|
|
@@ -3590,6 +3591,12 @@ interface OutputTargetDistLazy extends OutputTargetBase {
|
|
|
3590
3591
|
loaderDir?: string;
|
|
3591
3592
|
typesDir?: string;
|
|
3592
3593
|
empty?: boolean;
|
|
3594
|
+
/** Inherited from parent output target (loader-bundle or www). Only meaningful for browser builds. */
|
|
3595
|
+
hashFileNames?: boolean;
|
|
3596
|
+
/** Inherited from parent output target (loader-bundle or www). */
|
|
3597
|
+
hashedFileNameLength?: number;
|
|
3598
|
+
/** Inherited from loader-bundle. When true, @stencil/core is external in this bundler output. */
|
|
3599
|
+
externalRuntime?: boolean;
|
|
3593
3600
|
}
|
|
3594
3601
|
/**
|
|
3595
3602
|
* Output target for global styles.
|
|
@@ -3700,6 +3707,13 @@ interface OutputTargetSsr extends OutputTargetBase {
|
|
|
3700
3707
|
*/
|
|
3701
3708
|
cjs?: boolean;
|
|
3702
3709
|
}
|
|
3710
|
+
interface OutputTargetSsrWasm extends OutputTargetBase {
|
|
3711
|
+
type: 'ssr-wasm';
|
|
3712
|
+
/** Output directory. @default 'dist/ssr-wasm' */
|
|
3713
|
+
dir?: string;
|
|
3714
|
+
empty?: boolean;
|
|
3715
|
+
minify?: boolean;
|
|
3716
|
+
}
|
|
3703
3717
|
interface OutputTargetCustom extends OutputTargetBase {
|
|
3704
3718
|
type: 'custom';
|
|
3705
3719
|
name: string;
|
|
@@ -3853,7 +3867,7 @@ interface OutputTargetStandalone extends OutputTargetBaseNext {
|
|
|
3853
3867
|
* 2. File names are not hashed.
|
|
3854
3868
|
* 3. File minification will follow the behavior defined at the root of the Stencil config.
|
|
3855
3869
|
*
|
|
3856
|
-
* @default
|
|
3870
|
+
* @default false
|
|
3857
3871
|
*/
|
|
3858
3872
|
externalRuntime?: boolean;
|
|
3859
3873
|
copy?: CopyTask[];
|
|
@@ -3924,7 +3938,7 @@ interface OutputTargetBase {
|
|
|
3924
3938
|
*/
|
|
3925
3939
|
skipInDev?: boolean;
|
|
3926
3940
|
}
|
|
3927
|
-
type OutputTargetBuild =
|
|
3941
|
+
type OutputTargetBuild = OutputTargetCollection | OutputTargetDistLazy;
|
|
3928
3942
|
interface OutputTargetCopy extends OutputTargetBase {
|
|
3929
3943
|
type: 'copy';
|
|
3930
3944
|
dir: string;
|
|
@@ -4010,8 +4024,21 @@ interface OutputTargetWww extends OutputTargetBase {
|
|
|
4010
4024
|
*/
|
|
4011
4025
|
serviceWorker?: ServiceWorkerConfig | null | false;
|
|
4012
4026
|
appDir?: string;
|
|
4027
|
+
/**
|
|
4028
|
+
* Hash the filenames of generated chunks based on their content.
|
|
4029
|
+
* Enables forever-caching of CDN-served bundles.
|
|
4030
|
+
*
|
|
4031
|
+
* @default true in production, false in dev mode
|
|
4032
|
+
*/
|
|
4033
|
+
hashFileNames?: boolean;
|
|
4034
|
+
/**
|
|
4035
|
+
* Number of characters to use for the content hash in filenames.
|
|
4036
|
+
*
|
|
4037
|
+
* @default 8
|
|
4038
|
+
*/
|
|
4039
|
+
hashedFileNameLength?: number;
|
|
4013
4040
|
}
|
|
4014
|
-
type OutputTarget = OutputTargetCopy | OutputTargetCustom | OutputTargetLoaderBundle | OutputTargetStandalone | OutputTargetSsr |
|
|
4041
|
+
type OutputTarget = OutputTargetCopy | OutputTargetCustom | OutputTargetLoaderBundle | OutputTargetStandalone | OutputTargetSsr | OutputTargetSsrWasm | OutputTargetCollection | OutputTargetTypes | OutputTargetGlobalStyle | OutputTargetAssets | OutputTargetDistLazy | OutputTargetDocsJson | OutputTargetDocsCustom | OutputTargetDocsReadme | OutputTargetDocsVscode | OutputTargetDocsCustomElementsManifest | OutputTargetWww | OutputTargetStats;
|
|
4015
4042
|
/**
|
|
4016
4043
|
* Our custom configuration interface for generated caching Service Workers
|
|
4017
4044
|
* using the Workbox library (see https://developer.chrome.com/docs/workbox/).
|
|
@@ -4106,17 +4133,6 @@ interface WorkerOptions {
|
|
|
4106
4133
|
maxConcurrentTasksPerWorker?: number;
|
|
4107
4134
|
logger?: Logger;
|
|
4108
4135
|
}
|
|
4109
|
-
interface RolldownInterface {
|
|
4110
|
-
rolldown: {
|
|
4111
|
-
(config: any): Promise<any>;
|
|
4112
|
-
};
|
|
4113
|
-
plugins: {
|
|
4114
|
-
nodeResolve(opts: any): any;
|
|
4115
|
-
replace(opts: any): any;
|
|
4116
|
-
commonjs(opts: any): any;
|
|
4117
|
-
json(): any;
|
|
4118
|
-
};
|
|
4119
|
-
}
|
|
4120
4136
|
interface ResolveModuleOptions {
|
|
4121
4137
|
manuallyResolve?: boolean;
|
|
4122
4138
|
packageJson?: boolean;
|
|
@@ -4198,6 +4214,18 @@ interface Compiler {
|
|
|
4198
4214
|
createWatcher(): Promise<CompilerWatcher>;
|
|
4199
4215
|
destroy(): Promise<void>;
|
|
4200
4216
|
sys: CompilerSystem;
|
|
4217
|
+
/**
|
|
4218
|
+
* @internal - Testing only. Access to the in-memory filesystem
|
|
4219
|
+
*/
|
|
4220
|
+
fs?: InMemoryFileSystem;
|
|
4221
|
+
/**
|
|
4222
|
+
* @internal - Testing only. Access to the validated configuration
|
|
4223
|
+
*/
|
|
4224
|
+
config?: ValidatedConfig;
|
|
4225
|
+
/**
|
|
4226
|
+
* @internal - Testing only. Access to the compiler context
|
|
4227
|
+
*/
|
|
4228
|
+
compilerCtx?: CompilerCtx;
|
|
4201
4229
|
}
|
|
4202
4230
|
interface CompilerWatcher extends BuildOnEvents {
|
|
4203
4231
|
start: () => Promise<WatcherCloseResults>;
|
|
@@ -4238,7 +4266,7 @@ interface TranspileOptions {
|
|
|
4238
4266
|
componentMetadata?: 'runtimestatic' | 'compilerstatic' | string | undefined;
|
|
4239
4267
|
/**
|
|
4240
4268
|
* The actual internal import path for any `@stencil/core` imports.
|
|
4241
|
-
* Default is `@stencil/core/runtime/client`.
|
|
4269
|
+
* Default is `@stencil/core/runtime/client/standalone`.
|
|
4242
4270
|
*/
|
|
4243
4271
|
coreImportPath?: string;
|
|
4244
4272
|
/**
|
|
@@ -4473,6 +4501,7 @@ interface BuildFeatures {
|
|
|
4473
4501
|
vdomStyle: boolean;
|
|
4474
4502
|
vdomText: boolean;
|
|
4475
4503
|
vdomXlink: boolean;
|
|
4504
|
+
vdomSignals: boolean;
|
|
4476
4505
|
slotRelocation: boolean;
|
|
4477
4506
|
patchAll: boolean;
|
|
4478
4507
|
patchChildren: boolean;
|
|
@@ -4519,20 +4548,27 @@ interface BuildConditionals extends Partial<BuildFeatures> {
|
|
|
4519
4548
|
lazyLoad?: boolean;
|
|
4520
4549
|
profile?: boolean;
|
|
4521
4550
|
constructableCSS?: boolean;
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4551
|
+
/** True when `extras.lightDomPatches === true` - enables `applyLightDomPatches` shortcut. */
|
|
4552
|
+
lightDomPatches?: boolean;
|
|
4553
|
+
/** Patch `childNodes`/`children` getters on light-dom slotted components. */
|
|
4554
|
+
slotChildNodes?: boolean;
|
|
4555
|
+
/** Patch `cloneNode()` on light-dom slotted components. */
|
|
4556
|
+
slotCloneNode?: boolean;
|
|
4557
|
+
/** Patch `appendChild`/`insertBefore`/`removeChild` on light-dom slotted components. */
|
|
4558
|
+
slotDomMutations?: boolean;
|
|
4559
|
+
/** Patch `textContent` on light-dom slotted components. */
|
|
4560
|
+
slotTextContent?: boolean;
|
|
4526
4561
|
hydratedAttribute?: boolean;
|
|
4527
4562
|
hydratedClass?: boolean;
|
|
4528
4563
|
hydratedSelectorName?: string;
|
|
4564
|
+
/** True when a global-style input contains `@import "stencil-hydrate"` - suppresses dynamic style injection in the loader. */
|
|
4565
|
+
staticHydrationStyles?: boolean;
|
|
4529
4566
|
initializeNextTick?: boolean;
|
|
4530
|
-
shadowDomShim?: boolean;
|
|
4531
4567
|
asyncQueue?: boolean;
|
|
4532
4568
|
additionalTagTransformers?: boolean | 'prod';
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4569
|
+
signalBacking?: boolean;
|
|
4570
|
+
/** True when JSX signal bypass is active - text nodes and attributes backed by Signal objects update the DOM directly. Auto-enabled when `signalBacking: true`. */
|
|
4571
|
+
vdomSignals?: boolean;
|
|
4536
4572
|
}
|
|
4537
4573
|
type ModuleFormat = 'amd' | 'cjs' | 'es' | 'iife' | 'system' | 'umd' | 'commonjs' | 'esm' | 'module' | 'systemjs';
|
|
4538
4574
|
interface RolldownResultModule {
|
|
@@ -4586,6 +4622,8 @@ interface BuildCtx {
|
|
|
4586
4622
|
ssrAppFilePath: string;
|
|
4587
4623
|
indexBuildCount: number;
|
|
4588
4624
|
indexDoc: Document;
|
|
4625
|
+
/** All non-entry HTML files found in srcDir, keyed by path relative to srcDir */
|
|
4626
|
+
htmlDocs: Map<string, Document>;
|
|
4589
4627
|
isRebuild: boolean;
|
|
4590
4628
|
/**
|
|
4591
4629
|
* A collection of Stencil's intermediate representation of components, tied to the current build
|
|
@@ -4635,8 +4673,6 @@ interface CompilerBuildStats {
|
|
|
4635
4673
|
options: {
|
|
4636
4674
|
minifyJs: boolean;
|
|
4637
4675
|
minifyCss: boolean;
|
|
4638
|
-
hashFileNames: boolean;
|
|
4639
|
-
hashedFileNameLength: number;
|
|
4640
4676
|
};
|
|
4641
4677
|
formats: {
|
|
4642
4678
|
esmBrowser: ReadonlyArray<CompilerBuildStatBundle>;
|
|
@@ -4672,12 +4708,6 @@ interface BuildComponent {
|
|
|
4672
4708
|
dependencies?: string[];
|
|
4673
4709
|
}
|
|
4674
4710
|
type SourceTarget = 'es2017' | 'latest';
|
|
4675
|
-
/**
|
|
4676
|
-
* A note regarding Rolldown types:
|
|
4677
|
-
* As of this writing, there is no great way to import external types for packages that are directly embedded in the
|
|
4678
|
-
* Stencil source. As a result, some types are duplicated here for Rolldown that will be used within the codebase.
|
|
4679
|
-
* Updates to rolldown may require these typings to be updated.
|
|
4680
|
-
*/
|
|
4681
4711
|
type RolldownResult = RolldownChunkResult | RolldownAssetResult;
|
|
4682
4712
|
interface RolldownAssetResult {
|
|
4683
4713
|
type: 'asset';
|
|
@@ -4698,16 +4728,6 @@ interface RolldownChunkResult {
|
|
|
4698
4728
|
moduleFormat: ModuleFormat;
|
|
4699
4729
|
map?: RolldownSourceMap;
|
|
4700
4730
|
}
|
|
4701
|
-
interface RolldownSourceMap {
|
|
4702
|
-
file: string;
|
|
4703
|
-
mappings: string;
|
|
4704
|
-
names: string[];
|
|
4705
|
-
sources: string[];
|
|
4706
|
-
sourcesContent: string[];
|
|
4707
|
-
version: number;
|
|
4708
|
-
toString(): string;
|
|
4709
|
-
toUrl(): string;
|
|
4710
|
-
}
|
|
4711
4731
|
/**
|
|
4712
4732
|
* Result of Stencil compressing, mangling, and otherwise 'minifying' JavaScript
|
|
4713
4733
|
*/
|
|
@@ -4751,6 +4771,7 @@ interface CollectionCompilerMeta {
|
|
|
4751
4771
|
bundles?: {
|
|
4752
4772
|
components: string[];
|
|
4753
4773
|
}[];
|
|
4774
|
+
buildFlags?: Partial<BuildConditionals>;
|
|
4754
4775
|
}
|
|
4755
4776
|
interface CollectionCompilerVersion {
|
|
4756
4777
|
name: string;
|
|
@@ -4769,6 +4790,8 @@ interface CollectionManifest {
|
|
|
4769
4790
|
global?: string;
|
|
4770
4791
|
compiler?: CollectionCompilerVersion;
|
|
4771
4792
|
bundles?: CollectionBundleManifest[];
|
|
4793
|
+
/** Build flags the lib was compiled with. Consuming Stencil projects OR-merge these in. */
|
|
4794
|
+
buildFlags?: Partial<BuildConditionals>;
|
|
4772
4795
|
}
|
|
4773
4796
|
type CollectionComponentEntryPath = string;
|
|
4774
4797
|
interface CollectionBundleManifest {
|
|
@@ -4927,6 +4950,7 @@ interface ComponentCompilerFeatures {
|
|
|
4927
4950
|
hasVdomStyle: boolean;
|
|
4928
4951
|
hasVdomText: boolean;
|
|
4929
4952
|
hasVdomXlink: boolean;
|
|
4953
|
+
hasSignalsImport: boolean;
|
|
4930
4954
|
hasWatchCallback: boolean;
|
|
4931
4955
|
htmlAttrNames: string[];
|
|
4932
4956
|
htmlTagNames: string[];
|
|
@@ -5024,6 +5048,7 @@ interface ComponentCompilerMeta extends ComponentCompilerFeatures {
|
|
|
5024
5048
|
states: ComponentCompilerState[];
|
|
5025
5049
|
styleDocs: CompilerStyleDoc[];
|
|
5026
5050
|
styles: StyleCompiler[];
|
|
5051
|
+
globalStyles: ComponentGlobalStyle[];
|
|
5027
5052
|
tagName: string;
|
|
5028
5053
|
virtualProperties: ComponentCompilerVirtualProperty[];
|
|
5029
5054
|
watchers: ComponentCompilerChangeHandler[];
|
|
@@ -5040,7 +5065,7 @@ type Encapsulation = 'shadow' | 'scoped' | 'none';
|
|
|
5040
5065
|
* These enable proper slot behavior when not using native Shadow DOM.
|
|
5041
5066
|
*/
|
|
5042
5067
|
interface ComponentPatches {
|
|
5043
|
-
/** Apply all slot patches (equivalent to
|
|
5068
|
+
/** Apply all slot patches (equivalent to lightDomPatches) */
|
|
5044
5069
|
all?: boolean;
|
|
5045
5070
|
/** Patch child node accessors (children, firstChild, lastChild, etc.) */
|
|
5046
5071
|
children?: boolean;
|
|
@@ -5100,6 +5125,11 @@ interface ComponentCompilerPropertyComplexType {
|
|
|
5100
5125
|
* annotation in the original source file.
|
|
5101
5126
|
*/
|
|
5102
5127
|
references: ComponentCompilerTypeReferences;
|
|
5128
|
+
/**
|
|
5129
|
+
* @internal TypeScript AST node used for semantic type analysis during compilation.
|
|
5130
|
+
* Not serialized, only used internally for improved type renaming logic.
|
|
5131
|
+
*/
|
|
5132
|
+
_astNode?: any;
|
|
5103
5133
|
}
|
|
5104
5134
|
/**
|
|
5105
5135
|
* A record of `ComponentCompilerTypeReference` entities.
|
|
@@ -5193,6 +5223,11 @@ interface ComponentCompilerMethodComplexType {
|
|
|
5193
5223
|
parameters: JsonDocMethodParameter[];
|
|
5194
5224
|
references: ComponentCompilerTypeReferences;
|
|
5195
5225
|
return: string;
|
|
5226
|
+
/**
|
|
5227
|
+
* @internal TypeScript AST method node used for semantic type analysis during compilation.
|
|
5228
|
+
* Not serialized, only used internally for improved type renaming logic.
|
|
5229
|
+
*/
|
|
5230
|
+
_astNode?: any;
|
|
5196
5231
|
}
|
|
5197
5232
|
interface ComponentCompilerChangeHandler {
|
|
5198
5233
|
propName: string;
|
|
@@ -5371,7 +5406,7 @@ interface HostElement extends HTMLElement {
|
|
|
5371
5406
|
disconnectedCallback?: () => void;
|
|
5372
5407
|
host?: Element;
|
|
5373
5408
|
forceUpdate?: () => void;
|
|
5374
|
-
|
|
5409
|
+
__s_ghr?: () => HostRef;
|
|
5375
5410
|
/**
|
|
5376
5411
|
* Unique stencil id for this element
|
|
5377
5412
|
*/
|
|
@@ -5565,6 +5600,7 @@ interface Module {
|
|
|
5565
5600
|
hasVdomStyle: boolean;
|
|
5566
5601
|
hasVdomText: boolean;
|
|
5567
5602
|
hasVdomXlink: boolean;
|
|
5603
|
+
hasSignalsImport: boolean;
|
|
5568
5604
|
}
|
|
5569
5605
|
interface Plugin {
|
|
5570
5606
|
name?: string;
|
|
@@ -5720,61 +5756,61 @@ interface RenderNode extends HostElement {
|
|
|
5720
5756
|
['s-en']?: '' | /*shadow*/'c';
|
|
5721
5757
|
/**
|
|
5722
5758
|
* On a `scoped: true` component
|
|
5723
|
-
* with `
|
|
5759
|
+
* with `lightDomPatches` flag enabled,
|
|
5724
5760
|
* returns the internal `childNodes` of the component
|
|
5725
5761
|
*/
|
|
5726
5762
|
readonly __childNodes?: NodeListOf<ChildNode>;
|
|
5727
5763
|
/**
|
|
5728
5764
|
* On a `scoped: true` component
|
|
5729
|
-
* with `
|
|
5765
|
+
* with `lightDomPatches` flag enabled,
|
|
5730
5766
|
* returns the internal `children` of the component
|
|
5731
5767
|
*/
|
|
5732
5768
|
readonly __children?: HTMLCollectionOf<Element>;
|
|
5733
5769
|
/**
|
|
5734
5770
|
* On a `scoped: true` component
|
|
5735
|
-
* with `
|
|
5771
|
+
* with `lightDomPatches` flag enabled,
|
|
5736
5772
|
* returns the internal `firstChild` of the component
|
|
5737
5773
|
*/
|
|
5738
5774
|
readonly __firstChild?: ChildNode;
|
|
5739
5775
|
/**
|
|
5740
5776
|
* On a `scoped: true` component
|
|
5741
|
-
* with `
|
|
5777
|
+
* with `lightDomPatches` flag enabled,
|
|
5742
5778
|
* returns the internal `lastChild` of the component
|
|
5743
5779
|
*/
|
|
5744
5780
|
readonly __lastChild?: ChildNode;
|
|
5745
5781
|
/**
|
|
5746
5782
|
* On a `scoped: true` component
|
|
5747
|
-
* with `
|
|
5783
|
+
* with `lightDomPatches` flag enabled,
|
|
5748
5784
|
* returns the internal `textContent` of the component
|
|
5749
5785
|
*/
|
|
5750
5786
|
__textContent?: string;
|
|
5751
5787
|
/**
|
|
5752
5788
|
* On a `scoped: true` component
|
|
5753
|
-
* with `
|
|
5789
|
+
* with `lightDomPatches` flag enabled,
|
|
5754
5790
|
* gives access to the original `append` method
|
|
5755
5791
|
*/
|
|
5756
5792
|
__append?: (...nodes: (Node | string)[]) => void;
|
|
5757
5793
|
/**
|
|
5758
5794
|
* On a `scoped: true` component
|
|
5759
|
-
* with `
|
|
5795
|
+
* with `lightDomPatches` flag enabled,
|
|
5760
5796
|
* gives access to the original `prepend` method
|
|
5761
5797
|
*/
|
|
5762
5798
|
__prepend?: (...nodes: (Node | string)[]) => void;
|
|
5763
5799
|
/**
|
|
5764
5800
|
* On a `scoped: true` component
|
|
5765
|
-
* with `
|
|
5801
|
+
* with `lightDomPatches` flag enabled,
|
|
5766
5802
|
* gives access to the original `appendChild` method
|
|
5767
5803
|
*/
|
|
5768
5804
|
__appendChild?: <T extends Node>(newChild: T) => T;
|
|
5769
5805
|
/**
|
|
5770
5806
|
* On a `scoped: true` component
|
|
5771
|
-
* with `
|
|
5807
|
+
* with `lightDomPatches` flag enabled,
|
|
5772
5808
|
* gives access to the original `insertBefore` method
|
|
5773
5809
|
*/
|
|
5774
5810
|
__insertBefore?: <T extends Node>(node: T, child: Node | null) => T;
|
|
5775
5811
|
/**
|
|
5776
5812
|
* On a `scoped: true` component
|
|
5777
|
-
* with `
|
|
5813
|
+
* with `lightDomPatches` flag enabled,
|
|
5778
5814
|
* gives access to the original `removeChild` method
|
|
5779
5815
|
*/
|
|
5780
5816
|
__removeChild?: <T extends Node>(child: T) => T;
|
|
@@ -5812,31 +5848,31 @@ interface PatchedSlotNode extends Node {
|
|
|
5812
5848
|
['s-sr']?: boolean;
|
|
5813
5849
|
/**
|
|
5814
5850
|
* On a `scoped: true` component
|
|
5815
|
-
* with `
|
|
5851
|
+
* with `lightDomPatches` flag enabled,
|
|
5816
5852
|
* returns the actual `parentNode` of the component
|
|
5817
5853
|
*/
|
|
5818
5854
|
__parentNode?: RenderNode;
|
|
5819
5855
|
/**
|
|
5820
5856
|
* On a `scoped: true` component
|
|
5821
|
-
* with `
|
|
5857
|
+
* with `lightDomPatches` flag enabled,
|
|
5822
5858
|
* returns the actual `nextSibling` of the component
|
|
5823
5859
|
*/
|
|
5824
5860
|
__nextSibling?: RenderNode;
|
|
5825
5861
|
/**
|
|
5826
5862
|
* On a `scoped: true` component
|
|
5827
|
-
* with `
|
|
5863
|
+
* with `lightDomPatches` flag enabled,
|
|
5828
5864
|
* returns the actual `previousSibling` of the component
|
|
5829
5865
|
*/
|
|
5830
5866
|
__previousSibling?: RenderNode;
|
|
5831
5867
|
/**
|
|
5832
5868
|
* On a `scoped: true` component
|
|
5833
|
-
* with `
|
|
5869
|
+
* with `lightDomPatches` flag enabled,
|
|
5834
5870
|
* returns the actual `nextElementSibling` of the component
|
|
5835
5871
|
*/
|
|
5836
5872
|
__nextElementSibling?: RenderNode;
|
|
5837
5873
|
/**
|
|
5838
5874
|
* On a `scoped: true` component
|
|
5839
|
-
* with `
|
|
5875
|
+
* with `lightDomPatches` flag enabled,
|
|
5840
5876
|
* returns the actual `nextElementSibling` of the component
|
|
5841
5877
|
*/
|
|
5842
5878
|
__previousElementSibling?: RenderNode;
|
|
@@ -5937,7 +5973,7 @@ type ComponentRuntimeReflectingAttr = [string, string | undefined];
|
|
|
5937
5973
|
* associated {@link HostRef} instance.
|
|
5938
5974
|
*/
|
|
5939
5975
|
type RuntimeRef = HostElement | {
|
|
5940
|
-
|
|
5976
|
+
__s_ghr?: () => HostRef;
|
|
5941
5977
|
};
|
|
5942
5978
|
/**
|
|
5943
5979
|
* Interface used to track an Element, it's virtual Node (`VNode`), and other data
|
|
@@ -5948,6 +5984,9 @@ interface HostRef {
|
|
|
5948
5984
|
$cmpMeta$: ComponentRuntimeMeta;
|
|
5949
5985
|
$hostElement$: HostElement;
|
|
5950
5986
|
$instanceValues$?: Map<string, any>;
|
|
5987
|
+
$signalValues$?: Map<string, import('@preact/signals-core').Signal<any>>;
|
|
5988
|
+
/** Dispose function that tears down all signal effects for this component. */
|
|
5989
|
+
$signalCleanup$?: () => void;
|
|
5951
5990
|
$serializerValues$?: Map<string, string>;
|
|
5952
5991
|
$lazyInstance$?: ComponentInterface;
|
|
5953
5992
|
/**
|
|
@@ -6046,6 +6085,12 @@ interface ExternalStyleCompiler {
|
|
|
6046
6085
|
relativePath: string;
|
|
6047
6086
|
originalComponentPath: string;
|
|
6048
6087
|
}
|
|
6088
|
+
interface ComponentGlobalStyle {
|
|
6089
|
+
/** Absolute path to the CSS file, or null for inline styles */
|
|
6090
|
+
absolutePath: string | null;
|
|
6091
|
+
/** Raw inline CSS string, or null for file-based styles */
|
|
6092
|
+
styleStr: string | null;
|
|
6093
|
+
}
|
|
6049
6094
|
interface CompilerModeStyles {
|
|
6050
6095
|
[modeName: string]: string[];
|
|
6051
6096
|
}
|
|
@@ -6133,9 +6178,7 @@ interface PackageJsonData {
|
|
|
6133
6178
|
module?: string;
|
|
6134
6179
|
'jsnext:main'?: string;
|
|
6135
6180
|
unpkg?: string;
|
|
6136
|
-
/** @deprecated Use `stencilRebundle` instead. Kept for reading v4 dependencies. */
|
|
6137
6181
|
collection?: string;
|
|
6138
|
-
stencilRebundle?: string;
|
|
6139
6182
|
types?: string;
|
|
6140
6183
|
files?: string[];
|
|
6141
6184
|
['dist-tags']?: {
|
|
@@ -6271,10 +6314,6 @@ interface NewSpecPageOptions {
|
|
|
6271
6314
|
* Sets the mocked `document.referrer`.
|
|
6272
6315
|
*/
|
|
6273
6316
|
referrer?: string;
|
|
6274
|
-
/**
|
|
6275
|
-
* Manually set if the mocked document supports Shadow DOM or not. Default is `true`.
|
|
6276
|
-
*/
|
|
6277
|
-
supportsShadowDom?: boolean;
|
|
6278
6317
|
/**
|
|
6279
6318
|
* When a component is pre-rendered it includes HTML annotations, such as `s-id` attributes and `<!-t.0->` comments. This information is used by client-side hydrating. Default is `false`.
|
|
6280
6319
|
*/
|
|
@@ -6291,11 +6330,6 @@ interface NewSpecPageOptions {
|
|
|
6291
6330
|
* By default, any changes to component properties and attributes must `page.waitForChanges()` in order to test the updates. As an option, `autoApplyChanges` continuously flushes the queue on the background. Default is `false`.
|
|
6292
6331
|
*/
|
|
6293
6332
|
autoApplyChanges?: boolean;
|
|
6294
|
-
/**
|
|
6295
|
-
* By default, styles are not attached to the DOM and they are not reflected in the serialized HTML.
|
|
6296
|
-
* Setting this option to `true` will include the component's styles in the serializable output.
|
|
6297
|
-
*/
|
|
6298
|
-
attachStyles?: boolean;
|
|
6299
6333
|
/**
|
|
6300
6334
|
* Set {@link BuildConditionals} for testing based off the metadata of the component under test.
|
|
6301
6335
|
* When `true` all `BuildConditionals` will be assigned to the global testing `BUILD` object, regardless of their
|
|
@@ -6307,6 +6341,20 @@ interface NewSpecPageOptions {
|
|
|
6307
6341
|
* the spec page.
|
|
6308
6342
|
*/
|
|
6309
6343
|
platform?: Partial<PlatformRuntime>;
|
|
6344
|
+
/**
|
|
6345
|
+
* Controls how shadow DOM components are serialized during `hydrateServerSide`.
|
|
6346
|
+
* When set to `'scoped'`, shadow DOM components are rendered as scoped light DOM
|
|
6347
|
+
* (matching the behavior of `serializeShadowRoot: 'scoped'` in production SSR).
|
|
6348
|
+
* When set to `false`, shadow DOM components render with a real shadow root.
|
|
6349
|
+
* Default is `false`.
|
|
6350
|
+
*/
|
|
6351
|
+
serializeShadowRoot?: 'scoped' | false;
|
|
6352
|
+
/**
|
|
6353
|
+
* Override individual {@link BuildConditionals} for this test. Applied after all other
|
|
6354
|
+
* BUILD setup so these values take final precedence. Useful for testing code paths that
|
|
6355
|
+
* are gated behind a build flag (e.g. `{ signalBacking: true }`).
|
|
6356
|
+
*/
|
|
6357
|
+
buildFlags?: Partial<BuildConditionals>;
|
|
6310
6358
|
}
|
|
6311
6359
|
/**
|
|
6312
6360
|
* A record of `TypesMemberNameData` entities.
|
|
@@ -6473,4 +6521,4 @@ interface ValidateTypesResults {
|
|
|
6473
6521
|
filePaths: string[];
|
|
6474
6522
|
}
|
|
6475
6523
|
//#endregion
|
|
6476
|
-
export { ComponentCompilerVirtualProperty as $, getSourceMappingUrlLinker as $a, SystemDetails as $i, CompilerDependency as $n, loadRolldownDiagnostics as $o, LoggerLineUpdater as $r, WATCH_FLAGS as $s, RenderNode as $t, CompilerStyleDoc as A, JsonDocsTypeLibrary as Aa, PrerenderConfig as Ai, TypesModule as An, isOutputTargetStandalone as Ao, ConfigExtras as Ar, DEFAULT_STYLE_MODE as As, LazyBundleRuntimeData as At, ComponentCompilerMeta as B, getTextDocs as Ba, RolldownConfig as Bi, BuildLog as Bn, buildJsonFileError as Bo, FsWatchResults as Br, HOST_FLAGS as Bs, PackageJsonData as Bt, CompilerBuildStatBundle as C, JsonDocsMethod as Ca, OutputTargetStats as Ci, StyleMap as Cn, isOutputTargetDocsCustomElementsManifest as Co, CompilerSystemRemoveFileResults as Cr, formatLazyBundleRuntimeMeta as Cs, EventInitDict as Ct, CompilerJsDoc as D, JsonDocsSlot as Da, PageReloadStrategy as Di, TypeInfo as Dn, isOutputTargetGlobalStyle as Do, CompilerWatcher as Dr, COLLECTION_MANIFEST_FILE_NAME as Ds, ImportData as Dt, CompilerCtx as E, JsonDocsProp as Ea, OutputTargetWww as Ei, TranspileModuleResults as En, isOutputTargetDocsVscode as Eo, CompilerSystemWriteFileResults as Er, CMP_FLAGS as Es, HostRef as Et, ComponentCompilerData as F, validateComponentTag as Fa, ResolveModuleIdOptions as Fi, WorkerContextMethod as Fn, isValidConfigOutputTarget as Fo, CustomElementsExportBehaviorOptions as Fr, DOCS_README as Fs, MsgFromWorker as Ft, ComponentCompilerPropertyType as G, isTsFile as Ga, ServiceWorkerConfig as Gi, BuildResultsComponentGraph as Gn, shouldIgnoreError as Go, HydrateFactoryOptions as Gr, NODE_TYPES as Gs, PluginCtx as Gt, ComponentCompilerMethodComplexType as H, isDtsFile as Ha, RolldownInterface as Hi, BuildOnEventRemove as Hn, catchError as Ho, HmrStyleUpdate as Hr, LISTENER_FLAGS as Hs, PatchedSlotNode as Ht, ComponentCompilerEvent as I, ParsePackageJsonResult as Ia, ResolveModuleIdResults as Ii, WorkerMsgHandler as In, relativeImport as Io, DevServer as Ir, DOCS_VSCODE as Is, MsgToWorker as It, ComponentCompilerStaticEvent as J, readOnlyArrayHasStringMember as Ja, SsrDocumentOptions as Ji, CompileScriptMinifyOptions as Jn, splitLineBreaks as Jo, LazyRequire as Jr, STATS as Js, PrerenderManager as Jt, ComponentCompilerReferencedType as K, isTsxFile as Ka, SitemapXmpOpts as Ki, CacheStorage as Kn, escapeHtml as Ko, HydratedFlag as Kr, SSR as Ks, PluginTransformResults as Kt, ComponentCompilerEventComplexType as L, addDocBlock as La, ResolveModuleOptions as Li, AutoprefixerOptions as Ln, shouldExcludeComponent as Lo, DevServerConfig as Lr, EVENT_FLAGS as Ls, NewSpecPageOptions as Lt, CompilerWorkerTask as M, JsonDocsValue as Ma, PrerenderOptions as Mi, VNodeProdData as Mn, isOutputTargetStencilRebundle as Mo, CopyTask as Mr, DOCS_CUSTOM as Ms, Module as Mt, ComponentCompilerChangeHandler as N, StyleDoc as Na, PrerenderResults as Ni, ValidateTypesResults as Nn, isOutputTargetTypes as No, Credentials as Nr, DOCS_CUSTOM_ELEMENTS_MANIFEST as Ns, ModuleFormat as Nt, CompilerJsDocTagInfo as O, JsonDocsStyle as Oa, ParsedPath as Oi, TypesImportData as On, isOutputTargetLoaderBundle as Oo, Config as Or, COPY as Os, JSDocTagInfo as Ot, ComponentCompilerCustomState as P, FsWriteResults as Pa, PrerenderStartOptions as Pi, Workbox as Pn, isOutputTargetWww as Po, CustomElementsExportBehavior as Pr, DOCS_JSON as Ps, ModuleMap as Pt, ComponentCompilerTypeReferences as Q, getSourceMappingUrlForEndOfFile as Qa, StencilDocsConfig as Qi, CompilerBuildStart as Qn, createOnWarnFn as Qo, Logger as Qr, VALID_CONFIG_OUTPUT_TARGETS as Qs, PropsType as Qt, ComponentCompilerFeatures as R, createJsVarName as Ra, RobotsTxtOpts as Ri, BuildEmitEvents as Rn, TASK_CANCELED_MSG as Ro, DevServerEditor as Rr, GENERATED_DTS as Rs, NodeMap as Rt, CompilerAssetDir as S, JsonDocsListener as Sa, OutputTargetStandalone as Si, StyleCompiler as Sn, isOutputTargetDocsCustom as So, CompilerSystemRemoveDirectoryResults as Sr, formatComponentRuntimeMeta as Ss, EntryModule as St, CompilerBuildStats as T, JsonDocsPart as Ta, OutputTargetTypes as Ti, TransformCssToEsmOutput as Tn, isOutputTargetDocsReadme as To, CompilerSystemRenamedPath as Tr, ASSETS as Ts, HostElement as Tt, ComponentCompilerProperty as U, isJsFile as Ua, RolldownOutputOptions as Ui, BuildOnEvents as Un, hasError as Uo, HotModuleReplacement as Ur, LOADER_BUNDLE as Us, PlatformRuntime as Ut, ComponentCompilerMethod as V, hasDependency as Va, RolldownInputOptions as Vi, BuildNoChangeResults as Vn, buildWarn as Vo, HistoryApiFallback as Vr, HTML_NS as Vs, ParsedImport as Vt, ComponentCompilerPropertyComplexType as W, isJsxFile as Wa, SerializeDocumentOptions as Wi, BuildOutput as Wn, hasWarning as Wo, HydrateDocumentOptions as Wr, MEMBER_FLAGS as Ws, Plugin as Wt, ComponentCompilerStaticProperty as X, isRemoteUrl as Xa, StencilConfig as Xi, Compiler as Xn, loadTypeScriptDiagnostic as Xo, LoadConfigResults as Xr, SVG_NS as Xs, PrerenderUrlResults as Xt, ComponentCompilerStaticMethod as Y, readPackageJson as Ya, SsrFactoryOptions as Yi, CompileTarget as Yn, augmentDiagnosticWithNode as Yo, LoadConfigInit as Yr, STENCIL_REBUNDLE as Ys, PrerenderUrlRequest as Yt, ComponentCompilerTypeReference as Z, getInlineSourceMappingUrlLinker as Za, StencilDevServerConfig as Zi, CompilerBuildResults as Zn, loadTypeScriptDiagnostics as Zo, LogLevel as Zr, TYPES as Zs, PrintLine as Zt, CollectionCompilerVersion as _, JsonDocs as _a, OutputTargetDocsReadme as _i, SsrResults as _n, isOutputTargetAssets as _o, CompilerSystem as _r, sortBy as _s, CssImportData as _t, BuildCtx as a, ValidatedConfig as aa, OptimizeJsOutput as ai, RolldownSourceMap as an, normalize as ao, CompilerEventDirDelete as ar, fromEntries as as, ComponentConstructorProperties as at, CollectionDependencyManifest as b, JsonDocsDependencyGraph as ba, OutputTargetLoaderBundle as bi, SsrStyleElement as bn, isOutputTargetDistLazy as bo, CompilerSystemRealpathResults as br, toTitleCase as bs, DocData as bt, BuildStyleUpdate as c, WorkerOptions as ca, OutputTargetBase as ci, SerializeImportData as cn, normalizePath as co, CompilerEventFileUpdate as cr, isDef as cs, ComponentNativeConstructor as ct, BundleModuleOutput as d, RafCallback as da, OutputTargetCopy as di, SourceTarget as dn, FilterComponentsResult as do, CompilerFileWatcher as dr, isNumber as ds, ComponentRuntimeMember as dt, TransformOptions as ea, WWW as ec, LoggerTimeSpan as ei, RolldownAssetResult as en, rolldownToStencilSourceMap as eo, CompilerEventBuildFinish as er, isRootPath as es, ComponentConstructor as et, Cache as f, ResolutionHandler as fa, OutputTargetCustom as fi, SpecPage as fn, filterActiveTargets as fo, CompilerFileWatcherCallback as fr, isObject as fs, ComponentRuntimeMembers as ft, CollectionCompilerMeta as g, JsonDocMethodParameter as ga, OutputTargetDocsJson as gi, SsrImgElement as gn, getComponentsFromModules as go, CompilerRequestResponse as gr, pluck as gs, ComponentTestingConstructor as gt, CollectionCompiler as h, VNode as ha, OutputTargetDocsCustomElementsManifest as hi, SsrElement as hn, getComponentsDtsTypesFilePath as ho, CompilerRequest as hr, noop as hs, ComponentRuntimeReflectingAttr as ht, BuildConditionals as i, UnvalidatedConfig as ia, OptimizeJsInput as ii, RolldownResults as in, join as io, CompilerEventDirAdd as ir, flatOne as is, ComponentConstructorListener as it, CompilerWorkerContext as j, JsonDocsUsage as ja, PrerenderHydrateOptions as ji, UpdatedLazyBuildCtx as jn, isOutputTargetStats as jo, CopyResults as jr, DIST_LAZY as js, LazyBundlesRuntimeData as jt, CompilerModeStyles as k, JsonDocsTag as ka, PlatformPath as ki, TypesMemberNameData as kn, isOutputTargetSsr as ko, ConfigBundle as kr, CUSTOM as ks, JsDoc as kt, BuildTask as l, ErrorHandler as la, OutputTargetBaseNext as li, SerializedEvent as ln, relative as lo, CompilerEventFsChange as lr, isFunction as ls, ComponentPatches as lt, CollectionBundleManifest as m, UserBuildConditionals as ma, OutputTargetDocsCustom as mi, SsrComponent as mn, getComponentsDtsSrcFilePath as mo, CompilerFsStats as mr, mergeIntoWith as ms, ComponentRuntimeMetaCompact as mt, AssetsMeta as n, TranspileOptions as na, byteSize as nc, OptimizeCssInput as ni, RolldownResult as nn, escapeRegExpSpecialCharacters as no, CompilerEventBuildNoChange as nr, dashToPascalCase as ns, ComponentConstructorEncapsulation as nt, BuildFeatures as o, WatcherCloseResults as oa, OutputTarget as oi, RootAppliedStyleMap as on, normalizeFsPath as oo, CompilerEventFileAdd as or, isBoolean as os, ComponentConstructorProperty as ot, ChildType as p, TagTransformer as pa, OutputTargetDistLazy as pi, SsrAnchorElement as pn, filterExcludedComponents as po, CompilerFileWatcherEvent as pr, isString as ps, ComponentRuntimeMeta as pt, ComponentCompilerState as q, parsePackageJson as qa, SitemapXmpResults as qi, CliInitOptions as qn, normalizeDiagnostics as qo, LOG_LEVELS as qr, STANDALONE as qs, PluginTransformationDescriptor as qt, BuildComponent as r, TranspileResults as ra, OptimizeCssOutput as ri, RolldownResultModule as rn, queryNonceMetaTagContent as ro, CompilerEventBuildStart as rr, escapeWithPattern as rs, ComponentConstructorEvent as rt, BuildSourceGraph as s, WorkerMainController as sa, OutputTargetAssets as si, RuntimeRef as sn, normalizeFsPathQuery as so, CompilerEventFileDelete as sr, isComplexType as ss, ComponentConstructorPropertyType as st, AnyHTMLElement as t, TranspileOnlyResults as ta, XLINK_NS as tc, NodeResolveConfig as ti, RolldownChunkResult as tn, result_d_exports as to, CompilerEventBuildLog as tr, isGlob as ts, ComponentConstructorChangeHandlers as tt, BundleModule as u, FunctionalComponent as ua, OutputTargetBuild as ui, SourceMap$1 as un, resolve as uo, CompilerEventName as ur, isIterable as us, ComponentRuntimeHostListener as ut, CollectionComponentEntryPath as v, JsonDocsComponent as va, OutputTargetDocsVscode as vi, SsrScriptElement as vn, isOutputTargetCopy as vo, CompilerSystemCreateDirectoryOptions as vr, toCamelCase as vs, CssToEsmImportData as vt, CompilerBuildStatCollection as w, JsonDocsMethodReturn as wa, OutputTargetStencilRebundle as wi, TransformCssToEsmInput as wn, isOutputTargetDocsJson as wo, CompilerSystemRenameResults as wr, stringifyRuntimeData as ws, ExternalStyleCompiler as wt, CollectionManifest as x, JsonDocsEvent as xa, OutputTargetSsr as xi, StencilDocument as xn, isOutputTargetDocs as xo, CompilerSystemRemoveDirectoryOptions as xr, unique as xs, Encapsulation as xt, CollectionDependencyData as y, JsonDocsCustomState as ya, OutputTargetGlobalStyle as yi, SsrStaticData as yn, isOutputTargetCustom as yo, CompilerSystemCreateDirectoryResults as yr, toDashCase as ys, CssTransformCacheEntry as yt, ComponentCompilerListener as z, generatePreamble as za, RobotsTxtResults as zi, BuildEvents as zn, buildError as zo, Diagnostic$1 as zr, GLOBAL_STYLE as zs, OptimizeJsResult as zt };
|
|
6524
|
+
export { ComponentCompilerVirtualProperty as $, getSourceMappingUrlLinker as $a, TransformOptions as $i, CompilerBuildStart as $n, createOnWarnFn as $o, Logger as $r, STENCIL_REBUNDLE as $s, PropsType as $t, CompilerStyleDoc as A, JsonDocsUsage as Aa, ParsedPath as Ai, TypesMemberNameData as An, isOutputTargetSsr as Ao, ConfigBundle as Ar, COLLECTION_MANIFEST_FILE_NAME as As, JsDoc as At, ComponentCompilerMeta as B, getTextDocs as Ba, RobotsTxtOpts as Bi, BuildEvents as Bn, buildError as Bo, Diagnostic$1 as Br, EVENT_FLAGS as Bs, OptimizeJsResult as Bt, CompilerBuildStatBundle as C, JsonDocsMethodReturn as Ca, OutputTargetSsr as Ci, StyleCompiler as Cn, isOutputTargetDocsCustom as Co, CompilerSystemRemoveDirectoryResults as Cr, unique as Cs, EntryModule as Ct, CompilerJsDoc as D, JsonDocsStyle as Da, OutputTargetTypes as Di, TranspileModuleResults as Dn, isOutputTargetDocsVscode as Do, CompilerSystemWriteFileResults as Dr, ASSETS as Ds, HostRef as Dt, CompilerCtx as E, JsonDocsSlot as Ea, OutputTargetStats as Ei, TransformCssToEsmOutput as En, isOutputTargetDocsReadme as Eo, CompilerSystemRenamedPath as Er, stringifyRuntimeData as Es, HostElement as Et, ComponentCompilerData as F, validateComponentTag as Fa, PrerenderResults as Fi, Workbox as Fn, isOutputTargetWww as Fo, CustomElementsExportBehavior as Fr, DOCS_CUSTOM as Fs, ModuleMap as Ft, ComponentCompilerPropertyType as G, isTsFile as Ga, SitemapXmpOpts as Gi, BuildOutput as Gn, hasWarning as Go, HydrateDocumentOptions as Gr, LISTENER_FLAGS as Gs, Plugin as Gt, ComponentCompilerMethodComplexType as H, isDtsFile as Ha, RolldownConfig as Hi, BuildNoChangeResults as Hn, buildWarn as Ho, HistoryApiFallback as Hr, GLOBAL_STYLE as Hs, ParsedImport as Ht, ComponentCompilerEvent as I, ParsePackageJsonResult as Ia, PrerenderStartOptions as Ii, WorkerContextMethod as In, isValidConfigOutputTarget as Io, CustomElementsExportBehaviorOptions as Ir, DOCS_CUSTOM_ELEMENTS_MANIFEST as Is, MsgFromWorker as It, ComponentCompilerStaticEvent as J, readOnlyArrayHasStringMember as Ja, SsrFactoryOptions as Ji, CliInitOptions as Jn, normalizeDiagnostics as Jo, LOG_LEVELS as Jr, NODE_TYPES as Js, PluginTransformationDescriptor as Jt, ComponentCompilerReferencedType as K, isTsxFile as Ka, SitemapXmpResults as Ki, BuildResultsComponentGraph as Kn, shouldIgnoreError as Ko, HydrateFactoryOptions as Kr, LOADER_BUNDLE as Ks, PluginCtx as Kt, ComponentCompilerEventComplexType as L, addDocBlock as La, ResolveModuleIdOptions as Li, WorkerMsgHandler as Ln, relativeImport as Lo, DevServer as Lr, DOCS_JSON as Ls, MsgToWorker as Lt, CompilerWorkerTask as M, StyleDoc as Ma, PrerenderConfig as Mi, UpdatedLazyBuildCtx as Mn, isOutputTargetStandalone as Mo, CopyResults as Mr, CUSTOM as Ms, LazyBundlesRuntimeData as Mt, ComponentCompilerChangeHandler as N, FsWriteResults as Na, PrerenderHydrateOptions as Ni, VNodeProdData as Nn, isOutputTargetStats as No, CopyTask as Nr, DEFAULT_STYLE_MODE as Ns, Module as Nt, CompilerJsDocTagInfo as O, JsonDocsTag as Oa, OutputTargetWww as Oi, TypeInfo as On, isOutputTargetGlobalStyle as Oo, CompilerWatcher as Or, CMP_FLAGS as Os, ImportData as Ot, ComponentCompilerCustomState as P, InMemoryFileSystem as Pa, PrerenderOptions as Pi, ValidateTypesResults as Pn, isOutputTargetTypes as Po, Credentials as Pr, DIST_LAZY as Ps, ModuleFormat as Pt, ComponentCompilerTypeReferences as Q, getSourceMappingUrlForEndOfFile as Qa, SystemDetails as Qi, CompilerBuildResults as Qn, loadTypeScriptDiagnostics as Qo, LogLevel as Qr, STATS as Qs, PrintLine as Qt, ComponentCompilerFeatures as R, createJsVarName as Ra, ResolveModuleIdResults as Ri, AutoprefixerOptions as Rn, shouldExcludeComponent as Ro, DevServerConfig as Rr, DOCS_README as Rs, NewSpecPageOptions as Rt, CompilerAssetDir as S, JsonDocsMethod as Sa, OutputTargetLoaderBundle as Si, StencilDocument as Sn, isOutputTargetDocs as So, CompilerSystemRemoveDirectoryOptions as Sr, toTitleCase as Ss, Encapsulation as St, CompilerBuildStats as T, JsonDocsProp as Ta, OutputTargetStandalone as Ti, TransformCssToEsmInput as Tn, isOutputTargetDocsJson as To, CompilerSystemRenameResults as Tr, formatLazyBundleRuntimeMeta as Ts, ExternalStyleCompiler as Tt, ComponentCompilerProperty as U, isJsFile as Ua, SerializeDocumentOptions as Ui, BuildOnEventRemove as Un, catchError as Uo, HmrStyleUpdate as Ur, HOST_FLAGS as Us, PatchedSlotNode as Ut, ComponentCompilerMethod as V, hasDependency as Va, RobotsTxtResults as Vi, BuildLog as Vn, buildJsonFileError as Vo, FsWatchResults as Vr, GENERATED_DTS as Vs, PackageJsonData as Vt, ComponentCompilerPropertyComplexType as W, isJsxFile as Wa, ServiceWorkerConfig as Wi, BuildOnEvents as Wn, hasError as Wo, HotModuleReplacement as Wr, HTML_NS as Ws, PlatformRuntime as Wt, ComponentCompilerStaticProperty as X, isRemoteUrl as Xa, StencilDevServerConfig as Xi, CompileTarget as Xn, augmentDiagnosticWithNode as Xo, LoadConfigInit as Xr, SSR_WASM as Xs, PrerenderUrlRequest as Xt, ComponentCompilerStaticMethod as Y, readPackageJson as Ya, StencilConfig as Yi, CompileScriptMinifyOptions as Yn, splitLineBreaks as Yo, LazyRequire as Yr, SSR as Ys, PrerenderManager as Yt, ComponentCompilerTypeReference as Z, getInlineSourceMappingUrlLinker as Za, StencilDocsConfig as Zi, Compiler as Zn, loadTypeScriptDiagnostic as Zo, LoadConfigResults as Zr, STANDALONE as Zs, PrerenderUrlResults as Zt, CollectionCompilerVersion as _, JsonDocsComponent as _a, OutputTargetDocsCustomElementsManifest as _i, SsrImgElement as _n, isOutputTargetAssets as _o, CompilerRequestResponse as _r, noop as _s, ComponentTestingConstructor as _t, BuildCtx as a, WatcherCloseResults as aa, XLINK_NS as ac, OptimizeJsInput as ai, RolldownResults as an, normalize as ao, CompilerEventDirAdd as ar, escapeWithPattern as as, ComponentConstructorProperties as at, CollectionDependencyManifest as b, JsonDocsEvent as ba, OutputTargetDocsVscode as bi, SsrStaticData as bn, isOutputTargetCustom as bo, CompilerSystemCreateDirectoryResults as br, toCamelCase as bs, CssTransformCacheEntry as bt, BuildStyleUpdate as c, ErrorHandler as ca, OutputTargetAssets as ci, RuntimeRef as cn, normalizePath as co, CompilerEventFileDelete as cr, isBoolean as cs, ComponentGlobalStyle as ct, BundleModuleOutput as d, ResolutionHandler as da, OutputTargetBuild as di, SourceMap$1 as dn, FilterComponentsResult as do, CompilerEventName as dr, isFunction as ds, ComponentRuntimeHostListener as dt, TranspileOnlyResults as ea, SVG_NS as ec, LoggerLineUpdater as ei, RenderNode as en, rolldownToStencilSourceMap as eo, CompilerDependency as er, isRolldownError as es, ComponentConstructor as et, Cache as f, TagTransformer as fa, OutputTargetCollection as fi, SourceTarget as fn, filterActiveTargets as fo, CompilerFileWatcher as fr, isIterable as fs, ComponentRuntimeMember as ft, CollectionCompilerMeta as g, JsonDocs as ga, OutputTargetDocsCustom as gi, SsrElement as gn, getComponentsFromModules as go, CompilerRequest as gr, mergeIntoWith as gs, ComponentRuntimeReflectingAttr as gt, CollectionCompiler as h, JsonDocMethodParameter as ha, OutputTargetDistLazy as hi, SsrComponent as hn, getComponentsDtsTypesFilePath as ho, CompilerFsStats as hr, isString as hs, ComponentRuntimeMetaCompact as ht, BuildConditionals as i, ValidatedConfig as ia, WWW as ic, OptimizeCssOutput as ii, RolldownResultModule as in, join as io, CompilerEventBuildStart as ir, dashToPascalCase as is, ComponentConstructorListener as it, CompilerWorkerContext as j, JsonDocsValue as ja, PlatformPath as ji, TypesModule as jn, isOutputTargetSsrWasm as jo, ConfigExtras as jr, COPY as js, LazyBundleRuntimeData as jt, CompilerModeStyles as k, JsonDocsTypeLibrary as ka, PageReloadStrategy as ki, TypesImportData as kn, isOutputTargetLoaderBundle as ko, Config as kr, COLLECTION_APP_DATA_FILE_NAME as ks, JSDocTagInfo as kt, BuildTask as l, FunctionalComponent as la, OutputTargetBase as li, SerializeImportData as ln, relative as lo, CompilerEventFileUpdate as lr, isComplexType as ls, ComponentNativeConstructor as lt, CollectionBundleManifest as m, VNode as ma, OutputTargetCustom as mi, SsrAnchorElement as mn, getComponentsDtsSrcFilePath as mo, CompilerFileWatcherEvent as mr, isObject as ms, ComponentRuntimeMeta as mt, AssetsMeta as n, TranspileResults as na, VALID_CONFIG_OUTPUT_TARGETS as nc, NodeResolveConfig as ni, RolldownChunkResult as nn, escapeRegExpSpecialCharacters as no, CompilerEventBuildLog as nr, isRootPath as ns, ComponentConstructorEncapsulation as nt, BuildFeatures as o, WorkerMainController as oa, byteSize as oc, OptimizeJsOutput as oi, RolldownSourceMap as on, normalizeFsPath as oo, CompilerEventDirDelete as or, flatOne as os, ComponentConstructorProperty as ot, ChildType as p, UserBuildConditionals as pa, OutputTargetCopy as pi, SpecPage as pn, filterExcludedComponents as po, CompilerFileWatcherCallback as pr, isNumber as ps, ComponentRuntimeMembers as pt, ComponentCompilerState as q, parsePackageJson as qa, SsrDocumentOptions as qi, CacheStorage as qn, escapeHtml as qo, HydratedFlag as qr, MEMBER_FLAGS as qs, PluginTransformResults as qt, BuildComponent as r, UnvalidatedConfig as ra, WATCH_FLAGS as rc, OptimizeCssInput as ri, RolldownResult as rn, queryNonceMetaTagContent as ro, CompilerEventBuildNoChange as rr, isGlob as rs, ComponentConstructorEvent as rt, BuildSourceGraph as s, WorkerOptions as sa, OutputTarget as si, RootAppliedStyleMap as sn, normalizeFsPathQuery as so, CompilerEventFileAdd as sr, fromEntries as ss, ComponentConstructorPropertyType as st, AnyHTMLElement as t, TranspileOptions as ta, TYPES as tc, LoggerTimeSpan as ti, RolldownAssetResult as tn, result_d_exports as to, CompilerEventBuildFinish as tr, loadRolldownDiagnostics as ts, ComponentConstructorChangeHandlers as tt, BundleModule as u, RafCallback as ua, OutputTargetBaseNext as ui, SerializedEvent as un, resolve as uo, CompilerEventFsChange as ur, isDef as us, ComponentPatches as ut, CollectionComponentEntryPath as v, JsonDocsCustomState as va, OutputTargetDocsJson as vi, SsrResults as vn, isOutputTargetCollection as vo, CompilerSystem as vr, pluck as vs, CssImportData as vt, CompilerBuildStatCollection as w, JsonDocsPart as wa, OutputTargetSsrWasm as wi, StyleMap as wn, isOutputTargetDocsCustomElementsManifest as wo, CompilerSystemRemoveFileResults as wr, formatComponentRuntimeMeta as ws, EventInitDict as wt, CollectionManifest as x, JsonDocsListener as xa, OutputTargetGlobalStyle as xi, SsrStyleElement as xn, isOutputTargetDistLazy as xo, CompilerSystemRealpathResults as xr, toDashCase as xs, DocData as xt, CollectionDependencyData as y, JsonDocsDependencyGraph as ya, OutputTargetDocsReadme as yi, SsrScriptElement as yn, isOutputTargetCopy as yo, CompilerSystemCreateDirectoryOptions as yr, sortBy as ys, CssToEsmImportData as yt, ComponentCompilerListener as z, generatePreamble as za, ResolveModuleOptions as zi, BuildEmitEvents as zn, TASK_CANCELED_MSG as zo, DevServerEditor as zr, DOCS_VSCODE as zs, NodeMap as zt };
|