@stencil/core 5.0.0-alpha.27 → 5.0.0-alpha.29

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.
Files changed (44) hide show
  1. package/dist/app-data/index.d.ts +1 -1
  2. package/dist/{client-CvcvHKz4.mjs → client-D1MsT-Rp.mjs} +373 -238
  3. package/dist/compiler/index.d.mts +2 -3
  4. package/dist/compiler/index.mjs +3 -3
  5. package/dist/compiler/utils/index.d.mts +272 -2
  6. package/dist/compiler/utils/index.mjs +4 -3
  7. package/dist/{compiler-D43Ied7R.mjs → compiler-BbS9TDF_.mjs} +1845 -1118
  8. package/dist/declarations/stencil-ext-modules.d.ts +5 -5
  9. package/dist/declarations/stencil-public-compiler.d.ts +108 -40
  10. package/dist/declarations/stencil-public-docs.d.ts +9 -0
  11. package/dist/declarations/stencil-public-runtime.d.ts +81 -6
  12. package/dist/fragment-Di1hWOC8.mjs +4 -0
  13. package/dist/{index-F3IidHM1.d.mts → index-BHj3EBl2.d.mts} +395 -312
  14. package/dist/{index-xAkMgLX_.d.ts → index-D2PAsXxx.d.ts} +133 -9
  15. package/dist/index-VK8okIiF.d.mts +108 -0
  16. package/dist/index.d.mts +4 -0
  17. package/dist/index.mjs +91 -2
  18. package/dist/jsx-runtime.mjs +2 -1
  19. package/dist/{node-DKVq_Ud0.mjs → node-BQR4L-TG.mjs} +60 -58
  20. package/dist/reactive-controller-BdCpSAQP.d.mts +13 -0
  21. package/dist/{regular-expression-CFVJOTUh.mjs → regular-expression-XqU5zmPp.mjs} +20 -3
  22. package/dist/{chunk-z9aeyW2b.mjs → rolldown-runtime-BhDjJH2R.mjs} +1 -1
  23. package/dist/runtime/client/lazy.js +411 -165
  24. package/dist/runtime/client/runtime.d.ts +136 -9
  25. package/dist/runtime/client/runtime.js +411 -165
  26. package/dist/runtime/index.d.ts +5 -3
  27. package/dist/runtime/index.js +410 -163
  28. package/dist/runtime/server/index.d.mts +80 -8
  29. package/dist/runtime/server/index.mjs +333 -158
  30. package/dist/runtime/server/runner.d.mts +3 -0
  31. package/dist/runtime/server/runner.mjs +232 -308
  32. package/dist/signals/index.d.ts +2 -0
  33. package/dist/sys/node/index.d.mts +1 -2
  34. package/dist/sys/node/index.mjs +1 -1
  35. package/dist/sys/node/worker.d.mts +1 -1
  36. package/dist/sys/node/worker.mjs +6 -3
  37. package/dist/testing/index.d.mts +4 -9
  38. package/dist/testing/index.mjs +74 -56
  39. package/dist/util-BIa-iHnt.mjs +724 -0
  40. package/dist/validation-Dd3g77T5.mjs +778 -0
  41. package/package.json +27 -27
  42. package/dist/index-3fu7WQs4.d.mts +0 -205
  43. package/dist/validation-ByxKj8bC.mjs +0 -1458
  44. /package/{LICENSE.md → LICENSE} +0 -0
@@ -1,16 +1,6 @@
1
1
  import { Diagnostic, Node as Node$1 } from "typescript";
2
2
  import { InputOptions, RolldownError, SourceMap, SourceMap as RolldownSourceMap } from "rolldown";
3
3
  import { Serializable } from "child_process";
4
-
5
- //#region src/utils/byte-size.d.ts
6
- /**
7
- * Used to learn the size of a string in bytes.
8
- *
9
- * @param str The string to measure
10
- * @returns number
11
- */
12
- declare const byteSize: (str: string) => number;
13
- //#endregion
14
4
  //#region src/utils/constants.d.ts
15
5
  declare const MEMBER_FLAGS: {
16
6
  readonly String: number;
@@ -56,6 +46,18 @@ declare const HOST_FLAGS: {
56
46
  readonly isWatchReady: number;
57
47
  readonly isListenReady: number;
58
48
  readonly needsRerender: number;
49
+ /**
50
+ * Set once this component's real (lazy-loaded) `connectedCallback` has fired for
51
+ * the first time. Lets a descendant skip creating/awaiting a connect-promise for
52
+ * an ancestor that's already connected. See {@link HostRef.$onFirstConnectResolve$}.
53
+ */
54
+ readonly hasFiredConnected: number;
55
+ /**
56
+ * Set when a lazy component's dynamic `import()` fails to resolve a
57
+ * constructor. Distinct from `hasInitializedComponent` being unset, which
58
+ * is true while an initialization attempt is merely queued/in-flight.
59
+ */
60
+ readonly hasFailedLoad: number;
59
61
  readonly devOnRender: number;
60
62
  readonly devOnDidLoad: number;
61
63
  };
@@ -235,6 +237,10 @@ declare const DOCS_VSCODE = "docs-vscode";
235
237
  * Constant for the 'docs-custom-elements-manifest' output target
236
238
  */
237
239
  declare const DOCS_CUSTOM_ELEMENTS_MANIFEST = "docs-custom-elements-manifest";
240
+ /**
241
+ * Constant for the 'docs-agent-skill' output target
242
+ */
243
+ declare const DOCS_AGENT_SKILL = "docs-agent-skill";
238
244
  /**
239
245
  * Constant for the 'stats' output target
240
246
  */
@@ -251,7 +257,7 @@ declare const WWW = "www";
251
257
  *
252
258
  * In v5, `TYPES` and `COLLECTION` are auto-generated in production builds unless explicitly configured.
253
259
  */
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"];
260
+ 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", "docs-agent-skill", "copy", "custom", "stats"];
255
261
  declare const GENERATED_DTS = "components.d.ts";
256
262
  declare const STYLE_EXT: string[];
257
263
  /**
@@ -292,161 +298,6 @@ declare const formatLazyBundleRuntimeMeta: (bundleId: any, cmps: ComponentCompil
292
298
  declare const formatComponentRuntimeMeta: (compilerMeta: ComponentCompilerMeta, includeMethods: boolean) => ComponentRuntimeMetaCompact;
293
299
  declare const stringifyRuntimeData: (data: any) => string;
294
300
  //#endregion
295
- //#region src/utils/helpers.d.ts
296
- /**
297
- * Check if a value is defined (not null and not undefined).
298
- *
299
- * @param v - the value to check
300
- * @returns true if the value is defined
301
- */
302
- declare const isDef: (v: any) => boolean;
303
- /**
304
- * Convert a string from PascalCase to dash-case
305
- *
306
- * @param str the string to convert
307
- * @returns a converted string
308
- */
309
- declare const toDashCase: (str: string) => string;
310
- /**
311
- * Convert a string from dash-case / kebab-case to PascalCase (or CamelCase,
312
- * or whatever you call it!)
313
- *
314
- * @param str a string to convert
315
- * @returns a converted string
316
- */
317
- declare const dashToPascalCase: (str: string) => string;
318
- /**
319
- * Convert a string to 'camelCase'
320
- *
321
- * @param str the string to convert
322
- * @returns the converted string
323
- */
324
- declare const toCamelCase: (str: string) => string;
325
- /**
326
- * Capitalize the first letter of a string
327
- *
328
- * @param str the string to capitalize
329
- * @returns a capitalized string
330
- */
331
- declare const toTitleCase: (str: string) => string;
332
- /**
333
- * Escapes all occurrences of a specified pattern in a string.
334
- * This function replaces all matches of a given pattern in the input text with a specified replacement string.
335
- * It can handle both string and regular expression patterns and allows toggling between global and single-match replacements.
336
- *
337
- * @param text - The input string to process.
338
- * @param pattern - The pattern to search for in the input string. Can be a regular expression or a string.
339
- * @param replacement - The string to replace each match with.
340
- * @param replaceAll - Whether to replace all occurrences (true) or just the first occurrence (false). Defaults to true.
341
- * @returns The processed string with the replacements applied.
342
- */
343
- declare const escapeWithPattern: (text: string, pattern: RegExp | string, replacement: string, replaceAll?: boolean) => string;
344
- /**
345
- * This is just a no-op, don't expect it to do anything.
346
- */
347
- declare const noop: () => any;
348
- /**
349
- * Check whether a value is a 'complex type', defined here as an object or a
350
- * function.
351
- *
352
- * @param o the value to check
353
- * @returns whether it's a complex type or not
354
- */
355
- declare const isComplexType: (o: unknown) => boolean;
356
- /**
357
- * Sort an array without mutating it in-place (as `Array.prototype.sort`
358
- * unfortunately does)
359
- *
360
- * @param array the array you'd like to sort
361
- * @param prop a function for deriving sortable values (strings or numbers)
362
- * from array members
363
- * @returns a new array of all items `x` in `array` ordered by `prop(x)`
364
- */
365
- declare const sortBy: <T>(array: T[], prop: (item: T) => string | number) => T[];
366
- /**
367
- * A polyfill of sorts for `Array.prototype.flat` which will return the result
368
- * of calling that method if present and, if not, return an equivalent based on
369
- * `Array.prototype.reduce`.
370
- *
371
- * @param array the array to flatten (one level)
372
- * @returns a flattened array
373
- */
374
- declare const flatOne: <T>(array: T[][]) => T[];
375
- /**
376
- * Deduplicate an array, retaining items at the earliest position in which
377
- * they appear.
378
- *
379
- * So `unique([1,3,2,1,1,4])` would be `[1,3,2,4]`.
380
- *
381
- * @param array the array to deduplicate
382
- * @param predicate an optional function used to generate the key used to
383
- * determine uniqueness
384
- * @returns a new, deduplicated array
385
- */
386
- declare const unique: <T, K>(array: T[], predicate?: (item: T) => K) => T[];
387
- /**
388
- * Merge elements of an array into an existing array, using a predicate to
389
- * determine uniqueness and only adding elements when they are not present in
390
- * the first array.
391
- *
392
- * **Note**: this mutates the target array! This is intentional to avoid
393
- * unnecessary array allocation, but be sure that it's what you want!
394
- *
395
- * @param target the target array, to which new unique items should be added
396
- * @param newItems a list of new items, some (or all!) of which may be added
397
- * @param mergeWith a predicate function which reduces the items in `target`
398
- * and `newItems` to a value which can be equated with `===` for the purposes
399
- * of determining uniqueness
400
- */
401
- declare function mergeIntoWith<T1, T2>(target: T1[], newItems: T1[], mergeWith: (item: T1) => T2): void;
402
- /**
403
- * A utility for building an object from an iterable very similar to
404
- * `Object.fromEntries`
405
- *
406
- * @param entries an iterable object holding entries (key-value tuples) to
407
- * plop into a new object
408
- * @returns an object containing those entries
409
- */
410
- declare const fromEntries: <V>(entries: IterableIterator<[string, V]>) => Record<string, V>;
411
- /**
412
- * Based on a given object, create a new object which has only the specified
413
- * key-value pairs included in it.
414
- *
415
- * @param obj the object from which to take values
416
- * @param keys a set of keys to take
417
- * @returns an object mapping `key` to `obj[key]` if `obj[key]` is truthy for
418
- * every `key` in `keys`
419
- */
420
- declare const pluck: (obj: {
421
- [key: string]: any;
422
- }, keys: string[]) => {
423
- [key: string]: any;
424
- };
425
- declare const isBoolean: (v: any) => v is boolean;
426
- declare const isFunction: (v: any) => v is Function;
427
- declare const isNumber: (v: any) => v is number;
428
- declare const isObject: (val: object) => val is object;
429
- declare const isString: (v: any) => v is string;
430
- declare const isIterable: <T>(v: any) => v is Iterable<T>;
431
- //#endregion
432
- //#region src/utils/is-glob.d.ts
433
- /**
434
- * Check if a string is a glob pattern (e.g. 'src/*.js' or something like that)
435
- *
436
- * @param str a string to check
437
- * @returns whether the string is a glob pattern or not
438
- */
439
- declare const isGlob: (str: string) => boolean;
440
- //#endregion
441
- //#region src/utils/is-root-path.d.ts
442
- /**
443
- * Checks if the path is the Operating System (OS) root path, such as "/" or "C:\". This function does not take the OS
444
- * the code is running on into account when performing this evaluation.
445
- * @param p the path to check
446
- * @returns `true` if the path is an OS root path, `false` otherwise
447
- */
448
- declare const isRootPath: (p: string) => boolean;
449
- //#endregion
450
301
  //#region src/utils/logger/logger-rolldown.d.ts
451
302
  declare const isRolldownError: (e: unknown) => e is RolldownError;
452
303
  declare const loadRolldownDiagnostics: (config: ValidatedConfig, compilerCtx: CompilerCtx, buildCtx: BuildCtx, rolldownError: RolldownError) => void;
@@ -605,12 +456,13 @@ declare const isOutputTargetAssets: (o: OutputTarget) => o is OutputTargetAssets
605
456
  declare const isOutputTargetCopy: (o: OutputTarget) => o is OutputTargetCopy;
606
457
  declare const isOutputTargetDistLazy: (o: OutputTarget) => o is OutputTargetDistLazy;
607
458
  declare const isOutputTargetCustom: (o: OutputTarget) => o is OutputTargetCustom;
608
- declare const isOutputTargetDocs: (o: OutputTarget) => o is OutputTargetDocsJson | OutputTargetDocsReadme | OutputTargetDocsVscode | OutputTargetDocsCustom | OutputTargetDocsCustomElementsManifest;
459
+ declare const isOutputTargetDocs: (o: OutputTarget) => o is OutputTargetDocsJson | OutputTargetDocsReadme | OutputTargetDocsVscode | OutputTargetDocsCustom | OutputTargetDocsCustomElementsManifest | OutputTargetDocsAgentSkill;
609
460
  declare const isOutputTargetDocsReadme: (o: OutputTarget) => o is OutputTargetDocsReadme;
610
461
  declare const isOutputTargetDocsJson: (o: OutputTarget) => o is OutputTargetDocsJson;
611
462
  declare const isOutputTargetDocsCustom: (o: OutputTarget) => o is OutputTargetDocsCustom;
612
463
  declare const isOutputTargetDocsVscode: (o: OutputTarget) => o is OutputTargetDocsVscode;
613
464
  declare const isOutputTargetDocsCustomElementsManifest: (o: OutputTarget) => o is OutputTargetDocsCustomElementsManifest;
465
+ declare const isOutputTargetDocsAgentSkill: (o: OutputTarget) => o is OutputTargetDocsAgentSkill;
614
466
  declare const isOutputTargetWww: (o: OutputTarget) => o is OutputTargetWww;
615
467
  declare const isOutputTargetStats: (o: OutputTarget) => o is OutputTargetStats;
616
468
  /**
@@ -637,100 +489,6 @@ declare function isValidConfigOutputTarget(targetType: string): targetType is Va
637
489
  * @returns Filtered array of active targets
638
490
  */
639
491
  declare const filterActiveTargets: <T extends OutputTarget>(targets: T[], devMode: boolean) => T[];
640
- //#endregion
641
- //#region src/utils/path.d.ts
642
- /**
643
- * Convert Windows backslash paths to slash paths: foo\\bar ➔ foo/bar
644
- * Forward-slash paths can be used in Windows as long as they're not
645
- * extended-length paths and don't contain any non-ascii characters.
646
- * This was created since the path methods in Node.js outputs \\ paths on Windows.
647
- * @param path the Windows-based path to convert
648
- * @param relativize whether or not a relative path should have `./` prepended
649
- * @returns the converted path
650
- */
651
- declare const normalizePath: (path: string, relativize?: boolean) => string;
652
- /**
653
- * Same as normalizePath(), expect it'll also strip any query strings
654
- * from the path name. So /dir/file.css?tag=cmp-a becomes /dir/file.css
655
- * @param p the path to normalize
656
- * @returns the normalized path, sans any query strings
657
- */
658
- declare const normalizeFsPath: (p: string) => string;
659
- declare const normalizeFsPathQuery: (importPath: string) => {
660
- filePath: string;
661
- ext: string;
662
- format: string;
663
- };
664
- /**
665
- * A wrapped version of node.js' {@link path.relative} which adds our custom
666
- * normalization logic. This solves the relative path between `from` and `to`!
667
- *
668
- * The calculation of the returned path follows that of Node's logic, with one exception - if the calculated path
669
- * results in an empty string, a string of length one with a period (`'.'`) is returned.
670
- *
671
- * @throws the underlying node.js function can throw if either path is not a
672
- * string
673
- * @param from the path where relative resolution starts
674
- * @param to the destination path
675
- * @returns the resolved relative path
676
- */
677
- declare function relative(from: string, to: string): string;
678
- /**
679
- * A wrapped version of node.js' {@link path.join} which adds our custom
680
- * normalization logic. This joins all the arguments (path fragments) into a
681
- * single path.
682
- *
683
- * The calculation of the returned path follows that of Node's logic, with one exception - any trailing slashes will
684
- * be removed from the calculated path.
685
- *
686
- * @throws the underlying node function will throw if any argument is not a
687
- * string
688
- * @param paths the paths to join together
689
- * @returns a joined path!
690
- */
691
- declare function join(...paths: string[]): string;
692
- /**
693
- * A wrapped version of node.js' {@link path.resolve} which adds our custom
694
- * normalization logic. This resolves a path to a given (relative or absolute)
695
- * path.
696
- *
697
- * @throws the underlying node function will throw if any argument is not a
698
- * string
699
- * @param paths a path or path fragments to resolve
700
- * @returns a resolved path!
701
- */
702
- declare function resolve(...paths: string[]): string;
703
- /**
704
- * A wrapped version of node.js' {@link path.normalize} which adds our custom
705
- * normalization logic. This normalizes a path, de-duping repeated segment
706
- * separators and resolving `'..'` segments.
707
- *
708
- * @throws the underlying node function will throw if the argument is not a
709
- * string
710
- * @param toNormalize a path to normalize
711
- * @returns a normalized path!
712
- */
713
- declare function normalize(toNormalize: string): string;
714
- //#endregion
715
- //#region src/utils/query-nonce-meta-tag-content.d.ts
716
- /**
717
- * Helper method for querying a `meta` tag that contains a nonce value
718
- * out of a DOM's head.
719
- *
720
- * @param doc The DOM containing the `head` to query against
721
- * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
722
- * exists or the tag has no content.
723
- */
724
- declare function queryNonceMetaTagContent(doc: Document): string | undefined;
725
- //#endregion
726
- //#region src/utils/regular-expression.d.ts
727
- /**
728
- * Utility function that will escape all regular expression special characters in a string.
729
- *
730
- * @param text The string potentially containing special characters.
731
- * @returns The string with all special characters escaped.
732
- */
733
- declare const escapeRegExpSpecialCharacters: (text: string) => string;
734
492
  declare namespace result_d_exports {
735
493
  export { Result, err, map, ok, unwrap, unwrapErr };
736
494
  }
@@ -877,18 +635,6 @@ declare const getInlineSourceMappingUrlLinker: (sourceMapContents: string) => st
877
635
  */
878
636
  declare const getSourceMappingUrlForEndOfFile: (url: string) => string;
879
637
  //#endregion
880
- //#region src/utils/url-paths.d.ts
881
- /**
882
- * Determines whether a string should be considered a remote url or not.
883
- *
884
- * This helper only checks the provided string to evaluate is one of a few pre-defined schemes, and should not be
885
- * considered all-encompassing
886
- *
887
- * @param p the string to evaluate
888
- * @returns `true` if the provided string is a remote url, `false` otherwise
889
- */
890
- declare const isRemoteUrl: (p: string) => boolean;
891
- //#endregion
892
638
  //#region src/utils/util.d.ts
893
639
  /**
894
640
  * Create a stylistically-appropriate JS variable name from a filename
@@ -987,6 +733,21 @@ declare const parsePackageJson: (pkgJsonStr: string, pkgJsonFilePath: string) =>
987
733
  declare const readOnlyArrayHasStringMember: <T extends string>(readOnlyArray: ReadonlyArray<T>, maybeMember: T | string) => maybeMember is T;
988
734
  //#endregion
989
735
  //#region src/utils/validation.d.ts
736
+ /**
737
+ * The result of an invalid `modes` check on a component's `styleUrls`/`styles`.
738
+ */
739
+ interface ModeValidationError {
740
+ propName: 'styleUrls' | 'styles';
741
+ message: string;
742
+ }
743
+ /**
744
+ * Validates the mode keys used in a component's `styleUrls`/`styles` against a
745
+ * `config.modes` allowlist, if one is declared.
746
+ * @param configModes the `config.modes` allowlist (mixed string/{@link d.ModeConfig} entries)
747
+ * @param componentOptions the `@Component()` decorator options for a single component
748
+ * @returns a validation error if a used mode is unknown or a required mode is missing, undefined otherwise
749
+ */
750
+ declare const validateComponentModes: (configModes: (string | ModeConfig)[] | undefined, componentOptions: Pick<ComponentOptions, "styleUrls" | "styles">) => ModeValidationError | undefined;
990
751
  /**
991
752
  * Validates that a component tag meets required naming conventions to be used for a web component
992
753
  * @param tag the tag to validate
@@ -1169,10 +930,6 @@ declare const createInMemoryFs: (sys: CompilerSystem) => {
1169
930
  * `[ source, destination ]`
1170
931
  */
1171
932
  type FileCopyTuple = [string, string];
1172
- /**
1173
- * Collected instructions for all pending filesystem operations saved
1174
- * to the in-memory filesystem.
1175
- */
1176
933
  /**
1177
934
  * Results from committing pending filesystem operations
1178
935
  */
@@ -1183,14 +940,6 @@ interface FsCommitResults {
1183
940
  dirsDeleted: string[];
1184
941
  dirsAdded: string[];
1185
942
  }
1186
- /**
1187
- * Given the current state of the in-memory proxy filesystem, collect all of
1188
- * the changes that need to be made in order to commit the currently-pending
1189
- * operations (e.g. write, copy, delete) to the OS filesystem.
1190
- *
1191
- * @param items the storage data structure for the in-memory FS cache
1192
- * @returns a collection of all the operations that need to be done
1193
- */
1194
943
  //#endregion
1195
944
  //#region src/declarations/stencil-public-docs.d.ts
1196
945
  /**
@@ -1213,6 +962,13 @@ interface JsonDocs {
1213
962
  * The metadata for the JSDocs for each component in a Stencil project
1214
963
  */
1215
964
  components: JsonDocsComponent[];
965
+ /**
966
+ * Project-level usage content, collected from markdown files in a `usage`
967
+ * directory at the project's {@link Config.srcDir} root (as opposed to
968
+ * per-component usage content, which lives in {@link JsonDocsComponent.usage}).
969
+ * Keyed by file name (without extension), same shape as component usage.
970
+ */
971
+ usage?: JsonDocsUsage;
1216
972
  /**
1217
973
  * The timestamp at which the metadata was generated, in the format YYYY-MM-DDThh:mm:ss
1218
974
  */
@@ -1593,6 +1349,142 @@ interface StyleDoc {
1593
1349
  }
1594
1350
  //#endregion
1595
1351
  //#region src/declarations/stencil-public-runtime.d.ts
1352
+ interface ComponentOptions {
1353
+ /**
1354
+ * Tag name of the web component. Ideally, the tag name must be globally unique,
1355
+ * so it's recommended to choose an unique prefix for all your components within the same collection.
1356
+ *
1357
+ * In addition, tag name must contain a '-'
1358
+ */
1359
+ tag: string;
1360
+ /**
1361
+ * Encapsulation strategy for the component. Determines how styles and DOM are isolated.
1362
+ *
1363
+ * @example
1364
+ * ```tsx
1365
+ * // Shadow DOM (recommended for isolation)
1366
+ * encapsulation: { type: 'shadow' }
1367
+ * encapsulation: { type: 'shadow', mode: 'closed', delegatesFocus: true }
1368
+ *
1369
+ * // Scoped styles (class-based isolation without Shadow DOM)
1370
+ * encapsulation: { type: 'scoped' }
1371
+ *
1372
+ * // No encapsulation (light DOM)
1373
+ * encapsulation: { type: 'none' }
1374
+ * encapsulation: { type: 'none', patches: ['all'] } // with slot patches
1375
+ * ```
1376
+ *
1377
+ * If not specified, defaults to `{ type: 'none' }` (no encapsulation).
1378
+ */
1379
+ encapsulation?: EncapsulationOptions;
1380
+ /**
1381
+ * Relative URL to some external stylesheet file. It should be a `.css` file unless some
1382
+ * external plugin is installed like `@stencil/sass`.
1383
+ */
1384
+ styleUrl?: string;
1385
+ /**
1386
+ * Similar as `styleUrl` but allows to specify different stylesheets for different modes.
1387
+ */
1388
+ styleUrls?: string[] | ModeStyles;
1389
+ /**
1390
+ * String that contains inlined CSS instead of using an external stylesheet.
1391
+ * The performance characteristics of this feature are the same as using an external stylesheet.
1392
+ *
1393
+ * Notice, you can't use sass, or less, only `css` is allowed using `styles`, use `styleUrl` is you need more advanced features.
1394
+ */
1395
+ styles?: string | {
1396
+ [modeName: string]: any;
1397
+ };
1398
+ /**
1399
+ * Array of relative links to folders of assets required by the component.
1400
+ */
1401
+ assetsDirs?: string[];
1402
+ /**
1403
+ * Relative URL to an external stylesheet providing document-level styles for this component.
1404
+ * Unlike `styleUrl`, these styles are not scoped to shadow/scoped DOM - they are collected
1405
+ * at build time and injected wherever `@import "stencil-globals"` appears in a global stylesheet.
1406
+ *
1407
+ * Useful for
1408
+ * - pre-first-js-render styles (combatting cumulative layout shift)
1409
+ * - host element and slotted content style
1410
+ * - 'css-only' CEs - those that don't use a JS runtime at all
1411
+ *
1412
+ * @example
1413
+ * ```tsx
1414
+ * @Component({ tag: 'my-button', globalStyleUrl: './my-button.global.css' })
1415
+ * ```
1416
+ */
1417
+ globalStyleUrl?: string;
1418
+ /**
1419
+ * Inline CSS string providing document-level styles for this component.
1420
+ * Collected at build time and injected wherever `@import "stencil-globals"` appears.
1421
+ * @see globalStyleUrl
1422
+ */
1423
+ globalStyle?: string;
1424
+ }
1425
+ /**
1426
+ * Shadow DOM encapsulation options for the `encapsulation` property.
1427
+ * Uses native Shadow DOM for style and DOM isolation.
1428
+ */
1429
+ interface ShadowEncapsulation {
1430
+ type: 'shadow';
1431
+ /**
1432
+ * The mode of the shadow root. Defaults to `'open'`.
1433
+ * - `'open'`: The shadow root is accessible via `element.shadowRoot`
1434
+ * - `'closed'`: The shadow root is not accessible via `element.shadowRoot`
1435
+ */
1436
+ mode?: 'open' | 'closed';
1437
+ /**
1438
+ * When set to `true`, specifies behavior that mitigates custom element issues
1439
+ * around focusability. When a non-focusable part of the shadow DOM is clicked, the first
1440
+ * focusable part is given focus, and the shadow host is given any available `:focus` styling.
1441
+ */
1442
+ delegatesFocus?: boolean;
1443
+ /**
1444
+ * Sets the slot assignment mode for the shadow root. When set to `'manual'`, enables imperative
1445
+ * slotting using the `HTMLSlotElement.assign()` method. Defaults to `'named'` for standard
1446
+ * declarative slotting behavior.
1447
+ */
1448
+ slotAssignment?: 'manual' | 'named';
1449
+ }
1450
+ /**
1451
+ * Patch types for non-shadow DOM components that use slots.
1452
+ * - `'all'`: Apply all slot-related patches (equivalent to `lightDomPatches: true`)
1453
+ * - `'children'`: Patch child node accessors (children, firstChild, lastChild, etc.)
1454
+ * - `'clone'`: Patch `cloneNode()` to handle slotted content
1455
+ * - `'insert'`: Patch `appendChild()`, `insertBefore()`, etc. for slot relocation
1456
+ */
1457
+ type SlotPatch = 'all' | 'children' | 'clone' | 'insert';
1458
+ /**
1459
+ * No encapsulation - component renders to light DOM with optional slot patches.
1460
+ */
1461
+ interface NoneEncapsulation {
1462
+ type: 'none';
1463
+ /**
1464
+ * Patches to apply for slot handling in light DOM.
1465
+ * Only relevant if the component uses `<slot>` elements.
1466
+ */
1467
+ patches?: SlotPatch[];
1468
+ }
1469
+ /**
1470
+ * Scoped CSS encapsulation - styles are scoped via class names without Shadow DOM.
1471
+ */
1472
+ interface ScopedEncapsulation {
1473
+ type: 'scoped';
1474
+ /**
1475
+ * Patches to apply for slot handling with scoped styles.
1476
+ * Only relevant if the component uses `<slot>` elements.
1477
+ */
1478
+ patches?: SlotPatch[];
1479
+ }
1480
+ /**
1481
+ * Encapsulation options for the `@Component()` decorator.
1482
+ * Determines how styles and DOM are isolated for the component.
1483
+ */
1484
+ type EncapsulationOptions = ShadowEncapsulation | NoneEncapsulation | ScopedEncapsulation;
1485
+ interface ModeStyles {
1486
+ [modeName: string]: string | string[];
1487
+ }
1596
1488
  type ListenTargetOptions = 'body' | 'document' | 'window';
1597
1489
  interface UserBuildConditionals {
1598
1490
  isDev: boolean;
@@ -1603,6 +1495,27 @@ interface UserBuildConditionals {
1603
1495
  type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
1604
1496
  type ErrorHandler = (err: any, element?: HTMLElement) => void;
1605
1497
  type TagTransformer = (tag: string) => string;
1498
+ /**
1499
+ * A constructor type that can be used as the base for mixin factories.
1500
+ *
1501
+ * ```ts
1502
+ * import { MixedInCtor } from '@stencil/core';
1503
+ *
1504
+ * const AFactoryFn = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
1505
+ * ```
1506
+ */
1507
+ type MixedInCtor<T = {}> = new (...args: any[]) => T;
1508
+ /**
1509
+ * A map of `@Prop`/`@State` property names to their new and previous
1510
+ * values, passed to `componentShouldUpdate` once per render cycle.
1511
+ *
1512
+ * Pass `this` as `T` to type `changes` against your component's own
1513
+ * members, e.g. `componentShouldUpdate(changes: ComponentShouldUpdateChanges<this>)`.
1514
+ */
1515
+ type ComponentShouldUpdateChanges<T = any> = { [K in Extract<keyof T, string>]?: {
1516
+ newVal: T[K];
1517
+ oldVal: T[K];
1518
+ }; };
1606
1519
  interface ComponentInterface {
1607
1520
  connectedCallback?(): void;
1608
1521
  disconnectedCallback?(): void;
@@ -1628,14 +1541,18 @@ interface ComponentInterface {
1628
1541
  */
1629
1542
  componentDidLoad?(): void;
1630
1543
  /**
1631
- * A `@Prop` or `@State` property changed and a rerender is about to be requested.
1544
+ * One or more `@Prop` or `@State` properties changed and a rerender is
1545
+ * about to be requested. `changes` contains every property that changed
1546
+ * since the last render, keyed by property name.
1632
1547
  *
1633
- * Called multiple times throughout the life of
1634
- * the component as its properties change.
1548
+ * Called once per render cycle, batching all properties that changed
1549
+ * synchronously since the last render.
1550
+ *
1551
+ * Return `false` to prevent the pending render.
1635
1552
  *
1636
1553
  * componentShouldUpdate is not called on the first render.
1637
1554
  */
1638
- componentShouldUpdate?(newVal: any, oldVal: any, propName: string): boolean | void;
1555
+ componentShouldUpdate?(changes: ComponentShouldUpdateChanges<this>): boolean | void;
1639
1556
  /**
1640
1557
  * The component is about to update and re-render.
1641
1558
  *
@@ -1658,6 +1575,36 @@ interface ComponentInterface {
1658
1575
  render?(): any;
1659
1576
  [memberName: string]: any;
1660
1577
  }
1578
+ /**
1579
+ * A reusable behavior that hooks into a `ReactiveControllerHost`'s lifecycle. Modeled after Lit's
1580
+ * `ReactiveController` pattern: implement the hooks you need, then register an instance with a host
1581
+ * via `host.addController(this)`.
1582
+ */
1583
+ interface ReactiveController {
1584
+ hostConnected?(): void;
1585
+ hostDisconnected?(): void;
1586
+ hostWillLoad?(): Promise<void> | void;
1587
+ hostDidLoad?(): void;
1588
+ hostWillRender?(): Promise<void> | void;
1589
+ hostDidRender?(): void;
1590
+ hostWillUpdate?(): Promise<void> | void;
1591
+ hostDidUpdate?(): void;
1592
+ }
1593
+ /**
1594
+ * The shape added to a component by mixing in `ReactiveControllerHost` (see below).
1595
+ */
1596
+ interface ReactiveControllerHostInterface extends ComponentInterface, HTMLElement {
1597
+ readonly controllers: ReadonlySet<ReactiveController>;
1598
+ addController(controller: ReactiveController): void;
1599
+ removeController(controller: ReactiveController): void;
1600
+ requestUpdate(): void;
1601
+ /**
1602
+ * Resolves once the next pending render commits. Matches the shape of Lit's
1603
+ * `ReactiveControllerHost.updateComplete`, for interop with controllers written against Lit's API
1604
+ * (e.g. `@lit/context`).
1605
+ */
1606
+ readonly updateComplete: Promise<boolean>;
1607
+ }
1661
1608
  interface RafCallback {
1662
1609
  (timeStamp: number): void;
1663
1610
  }
@@ -1860,15 +1807,6 @@ interface StencilConfig {
1860
1807
  * This behavior defaults to `true`, but may be opted-out of by setting this flag to `false`.
1861
1808
  */
1862
1809
  transformAliasedImportPaths?: boolean;
1863
- /**
1864
- * When `true`, Stencil will suppress diagnostics which warn about public members using reserved names
1865
- * (for example, decorating a method named `focus` with `@Method()`). Defaults to `false`.
1866
- */
1867
- suppressReservedPublicNameWarnings?: boolean;
1868
- /**
1869
- * When `true`, Stencil will suppress diagnostics which warn about event names conflicting with native DOM event names. Defaults to `false`.
1870
- */
1871
- suppressReservedEventNameWarnings?: boolean;
1872
1810
  /**
1873
1811
  * Passes custom configuration down to the "@rolldown/plugin-node-resolve" that Stencil uses under the hood.
1874
1812
  * For further information: https://stenciljs.com/docs/module-bundling
@@ -1894,7 +1832,8 @@ interface StencilConfig {
1894
1832
  */
1895
1833
  logger?: Logger;
1896
1834
  /**
1897
- * Compatibility and workaround flags for framework integration and bundler edge cases.
1835
+ * Compatibility and workaround flags for framework/bundler edge cases
1836
+ * and rarely-needed diagnostic suppressions.
1898
1837
  */
1899
1838
  compat?: ConfigCompat;
1900
1839
  /**
@@ -2020,6 +1959,23 @@ interface StencilConfig {
2020
1959
  * Set whether unused dependencies should be excluded from the built output.
2021
1960
  */
2022
1961
  excludeUnusedDependencies?: boolean;
1962
+ /**
1963
+ * Declares the set of valid style "modes" (e.g. `ios`, `md`) used by mode-keyed
1964
+ * `styleUrls`/`styles` in `@Component()`. When set, the compiler validates that
1965
+ * every mode key used in a component matches one of these entries, catching typos
1966
+ * at build time. Entries marked `required` must be present on every component that
1967
+ * defines any mode-keyed styles.
1968
+ *
1969
+ * @example
1970
+ * ```ts
1971
+ * export const config: Config = {
1972
+ * modes: ['ios', { mode: 'md', required: true }],
1973
+ * };
1974
+ * ```
1975
+ *
1976
+ * @default []
1977
+ */
1978
+ modes?: (string | ModeConfig)[];
2023
1979
  /**
2024
1980
  * Explicitly declare which npm packages are Stencil collections to be re-bundled into this project.
2025
1981
  *
@@ -2037,7 +1993,6 @@ interface StencilConfig {
2037
1993
  * @default []
2038
1994
  */
2039
1995
  collections?: string[];
2040
- stencilCoreResolvedId?: string;
2041
1996
  }
2042
1997
  /**
2043
1998
  * DOM patches for light-dom / scoped components that use `<slot>`.
@@ -2055,14 +2010,20 @@ interface StencilConfig {
2055
2010
  * for granular control.
2056
2011
  */
2057
2012
  type LightDomPatches = {
2058
- /** Patches `childNodes`/`children` getters to return only slotted content. */childNodes?: boolean; /** Patches `cloneNode()` to correctly deep-clone slotted content. */
2059
- cloneNode?: boolean; /** Patches `appendChild()`, `insertBefore()`, and `removeChild()` to route to the correct slot. */
2060
- domMutations?: boolean; /** Patches `textContent` to act like shadow DOM (reads/writes slotted text only). */
2013
+ /** Patches `childNodes`/`children` getters to return only slotted content. */
2014
+ childNodes?: boolean;
2015
+ /** Patches `cloneNode()` to correctly deep-clone slotted content. */
2016
+ cloneNode?: boolean;
2017
+ /** Patches `appendChild()`, `insertBefore()`, and `removeChild()` to route to the correct slot. */
2018
+ domMutations?: boolean;
2019
+ /** Patches `textContent` to act like shadow DOM (reads/writes slotted text only). */
2061
2020
  textContent?: boolean;
2062
2021
  };
2063
2022
  /**
2064
- * Compatibility and workaround flags for framework integration and bundler edge cases.
2065
- * These are opt-in runtime behaviors that aren't needed by every project.
2023
+ * Compatibility and workaround flags, primarily for shielding non-shadow DOM components
2024
+ * from consuming frameworks that mutate internals they don't know about, plus other
2025
+ * framework/bundler integration edge cases and rarely-needed diagnostic suppressions.
2026
+ * These are opt-in behaviors that aren't needed by every project.
2066
2027
  */
2067
2028
  interface ConfigCompat {
2068
2029
  /**
@@ -2093,6 +2054,15 @@ interface ConfigCompat {
2093
2054
  * See {@link LightDomPatches} for granular control. Defaults to `true`.
2094
2055
  */
2095
2056
  lightDomPatches?: boolean | LightDomPatches;
2057
+ /**
2058
+ * When `true`, Stencil will suppress diagnostics which warn about public members using reserved names
2059
+ * (for example, decorating a method named `focus` with `@Method()`). Defaults to `false`.
2060
+ */
2061
+ suppressPublicNameWarnings?: boolean;
2062
+ /**
2063
+ * When `true`, Stencil will suppress diagnostics which warn about event names conflicting with native DOM event names. Defaults to `false`.
2064
+ */
2065
+ suppressEventNameWarnings?: boolean;
2096
2066
  }
2097
2067
  interface Config extends StencilConfig {
2098
2068
  buildAppCore?: boolean;
@@ -2192,7 +2162,7 @@ type UnvalidatedConfig = Loose<Config>;
2192
2162
  * type ReqFieldFoo = RequireFields<Foo, 'bar'>; // { bar: number, baz?: string }
2193
2163
  * ```
2194
2164
  */
2195
- type RequireFields<T, K extends keyof T> = T & { [P in K]-?: T[P] };
2165
+ type RequireFields<T, K extends keyof T> = T & { [P in K]-?: T[P]; };
2196
2166
  /**
2197
2167
  * Fields in {@link Config} to make required for {@link ValidatedConfig}
2198
2168
  */
@@ -2211,6 +2181,17 @@ type ValidatedConfig = RequireFields<Config, StrictConfigFields> & {
2211
2181
  devMode: boolean;
2212
2182
  sourceMap: boolean;
2213
2183
  };
2184
+ interface ModeConfig {
2185
+ /**
2186
+ * The mode name, matched against `styleUrls`/`styles` object keys in `@Component()`.
2187
+ */
2188
+ mode: string;
2189
+ /**
2190
+ * When `true`, every component that defines mode-keyed `styleUrls` or `styles`
2191
+ * must include this mode. Defaults to `false`.
2192
+ */
2193
+ required?: boolean;
2194
+ }
2214
2195
  interface HydratedFlag {
2215
2196
  /**
2216
2197
  * Defaults to `hydrated`.
@@ -3771,6 +3752,22 @@ interface OutputTargetDocsReadme extends OutputTargetBase {
3771
3752
  overwriteExisting?: boolean | 'if-missing';
3772
3753
  footer?: string;
3773
3754
  strict?: boolean;
3755
+ /**
3756
+ * Add extra columns to the generated Properties/Events tables, e.g. to
3757
+ * surface custom JSDoc tags as a column of their own.
3758
+ */
3759
+ customColumns?: {
3760
+ props?: DocsReadmeCustomColumn<JsonDocsProp>[];
3761
+ events?: DocsReadmeCustomColumn<JsonDocsEvent>[];
3762
+ };
3763
+ }
3764
+ /**
3765
+ * A custom column to render in a `docs-readme` Properties/Events table.
3766
+ * `content` is invoked once per row.
3767
+ */
3768
+ interface DocsReadmeCustomColumn<T> {
3769
+ header: string;
3770
+ content: (member: T, cmp: JsonDocsComponent) => string;
3774
3771
  }
3775
3772
  interface OutputTargetDocsJson extends OutputTargetBase {
3776
3773
  type: 'docs-json';
@@ -3811,6 +3808,35 @@ interface OutputTargetDocsCustom extends OutputTargetBase {
3811
3808
  generator: (docs: JsonDocs, config: Config) => void | Promise<void>;
3812
3809
  strict?: boolean;
3813
3810
  }
3811
+ /**
3812
+ * Output target for generating an [Agent Skill](https://agentskills.io)
3813
+ * (`SKILL.md` + per-component reference files) describing a component
3814
+ * library, so AI coding agents can consume its API and usage examples
3815
+ * directly.
3816
+ */
3817
+ interface OutputTargetDocsAgentSkill extends OutputTargetBase {
3818
+ type: 'docs-agent-skill';
3819
+ /**
3820
+ * The root directory where the skill (`SKILL.md` + `components/*.md`) is written.
3821
+ *
3822
+ * defaults to `dist/skill`
3823
+ */
3824
+ dir?: string;
3825
+ /**
3826
+ * The skill's name, used in the `SKILL.md` frontmatter.
3827
+ *
3828
+ * Defaults to a kebab-cased form of {@link Config.namespace}.
3829
+ */
3830
+ name?: string;
3831
+ /**
3832
+ * The skill's description, used in the `SKILL.md` frontmatter - this is the
3833
+ * text agents use to decide when to load the skill.
3834
+ *
3835
+ * Defaults to an auto-generated sentence built from the project's
3836
+ * {@link JsonDocs.usage} (if present) or its component tags.
3837
+ */
3838
+ description?: string;
3839
+ }
3814
3840
  interface OutputTargetStats extends OutputTargetBase {
3815
3841
  type: 'stats';
3816
3842
  file?: string;
@@ -4038,7 +4064,7 @@ interface OutputTargetWww extends OutputTargetBase {
4038
4064
  */
4039
4065
  hashedFileNameLength?: number;
4040
4066
  }
4041
- type OutputTarget = OutputTargetCopy | OutputTargetCustom | OutputTargetLoaderBundle | OutputTargetStandalone | OutputTargetSsr | OutputTargetSsrWasm | OutputTargetCollection | OutputTargetTypes | OutputTargetGlobalStyle | OutputTargetAssets | OutputTargetDistLazy | OutputTargetDocsJson | OutputTargetDocsCustom | OutputTargetDocsReadme | OutputTargetDocsVscode | OutputTargetDocsCustomElementsManifest | OutputTargetWww | OutputTargetStats;
4067
+ type OutputTarget = OutputTargetCopy | OutputTargetCustom | OutputTargetLoaderBundle | OutputTargetStandalone | OutputTargetSsr | OutputTargetSsrWasm | OutputTargetCollection | OutputTargetTypes | OutputTargetGlobalStyle | OutputTargetAssets | OutputTargetDistLazy | OutputTargetDocsJson | OutputTargetDocsCustom | OutputTargetDocsReadme | OutputTargetDocsVscode | OutputTargetDocsCustomElementsManifest | OutputTargetDocsAgentSkill | OutputTargetWww | OutputTargetStats;
4042
4068
  /**
4043
4069
  * A post-validation form of {@link OutputTargetWww} where `serviceWorker`
4044
4070
  * has been normalized - `true` is resolved to a {@link ServiceWorkerConfig}.
@@ -4986,6 +5012,7 @@ interface ComponentCompilerFeatures {
4986
5012
  htmlAttrNames: string[];
4987
5013
  htmlTagNames: string[];
4988
5014
  htmlParts: string[];
5015
+ htmlSlots: string[];
4989
5016
  isUpdateable: boolean;
4990
5017
  /**
4991
5018
  * A plain component is one that doesn't have:
@@ -5491,6 +5518,15 @@ interface HostElement extends HTMLElement {
5491
5518
  * must be resolved for the top, ancestor component to be fully hydrated
5492
5519
  */
5493
5520
  ['s-p']?: Promise<void>[];
5521
+ /**
5522
+ * Pending Connects:
5523
+ * A list of {@link HostRef.$onFirstConnectPromise$} promises for descendants that
5524
+ * were already registered with this component (their nearest Stencil ancestor) by
5525
+ * the time this component's own initial `componentWillLoad` was scheduled. Awaited
5526
+ * so this component's `componentWillLoad` can't fire before those descendants'
5527
+ * real `connectedCallback`s have.
5528
+ */
5529
+ ['s-pc']?: Promise<void>[];
5494
5530
  componentOnReady?: () => Promise<this>;
5495
5531
  }
5496
5532
  interface SsrResults {
@@ -5602,6 +5638,7 @@ interface Module {
5602
5638
  htmlAttrNames: string[];
5603
5639
  htmlTagNames: string[];
5604
5640
  htmlParts: string[];
5641
+ htmlSlots: string[];
5605
5642
  isCollectionDependency: boolean;
5606
5643
  isLegacy: boolean;
5607
5644
  jsFilePath: string;
@@ -5732,6 +5769,11 @@ interface RenderNode extends HostElement {
5732
5769
  * Slot name of either the slot itself or the slotted node
5733
5770
  */
5734
5771
  ['s-sn']?: string;
5772
+ /**
5773
+ * `slot` attribute of a `<slot>` reference rendered as a text node (no fallback content),
5774
+ * since text nodes can't carry real DOM attributes.
5775
+ */
5776
+ ['s-sa']?: string;
5735
5777
  /**
5736
5778
  * Host element tag name:
5737
5779
  * The tag name of the host element that this
@@ -5784,7 +5826,7 @@ interface RenderNode extends HostElement {
5784
5826
  * Used to know the components encapsulation.
5785
5827
  * empty "" for shadow, "c" from scoped
5786
5828
  */
5787
- ['s-en']?: '' | /*shadow*/'c';
5829
+ ['s-en']?: '' | /*shadow*/ 'c';
5788
5830
  /**
5789
5831
  * On a `scoped: true` component
5790
5832
  * with `lightDomPatches` flag enabled,
@@ -5909,10 +5951,26 @@ interface PatchedSlotNode extends Node {
5909
5951
  __previousElementSibling?: RenderNode;
5910
5952
  }
5911
5953
  type LazyBundlesRuntimeData = LazyBundleRuntimeData[];
5912
- type LazyBundleRuntimeData = [/** bundleIds */string, ComponentRuntimeMetaCompact[]];
5913
- type ComponentRuntimeMetaCompact = [/** flags */number, /** tagname */string, /** members */{
5954
+ type LazyBundleRuntimeData = [
5955
+ /** bundleIds */
5956
+ string, ComponentRuntimeMetaCompact[]];
5957
+ type ComponentRuntimeMetaCompact = [
5958
+ /** flags */
5959
+ number,
5960
+ /** tagname */
5961
+ string,
5962
+ /** members */
5963
+ {
5914
5964
  [memberName: string]: ComponentRuntimeMember;
5915
- }?, /** listeners */ComponentRuntimeHostListener[]?, /** watchers */ComponentConstructorChangeHandlers?, /** serializers */ComponentConstructorChangeHandlers?, /** deserializers */ComponentConstructorChangeHandlers?];
5965
+ }?,
5966
+ /** listeners */
5967
+ ComponentRuntimeHostListener[]?,
5968
+ /** watchers */
5969
+ ComponentConstructorChangeHandlers?,
5970
+ /** serializers */
5971
+ ComponentConstructorChangeHandlers?,
5972
+ /** deserializers */
5973
+ ComponentConstructorChangeHandlers?];
5916
5974
  /**
5917
5975
  * Runtime metadata for a Stencil component
5918
5976
  */
@@ -6015,6 +6073,11 @@ interface HostRef {
6015
6073
  $cmpMeta$: ComponentRuntimeMeta;
6016
6074
  $hostElement$: HostElement;
6017
6075
  $instanceValues$?: Map<string, any>;
6076
+ /**
6077
+ * Prop/state changes accumulated since the last render, flushed to
6078
+ * `componentShouldUpdate` once per render cycle.
6079
+ */
6080
+ $queuedPropChanges$?: ComponentShouldUpdateChanges;
6018
6081
  $signalValues$?: Map<string, import('@preact/signals-core').Signal<any>>;
6019
6082
  /** Dispose function that tears down all signal effects for this component. */
6020
6083
  $signalCleanup$?: () => void;
@@ -6050,6 +6113,21 @@ interface HostRef {
6050
6113
  * It is called after {@link HostRef.$onInstancePromise$} resolves.
6051
6114
  */
6052
6115
  $onRenderResolve$?: () => void;
6116
+ /**
6117
+ * A promise that resolves once this component's real `connectedCallback` has fired
6118
+ * for the first time. Created lazily - either by a descendant that needs to wait for
6119
+ * this component's connection before firing its own real `connectedCallback`
6120
+ * ({@link HOST_FLAGS.hasFiredConnected}), or by this component registering itself
6121
+ * with its nearest Stencil ancestor's `s-pc` list. This is what lets a component's
6122
+ * real `connectedCallback` (and, transitively, a pending ancestor's initial
6123
+ * `componentWillLoad`) stay ordered correctly regardless of which of an
6124
+ * ancestor/descendant pair's lazy module happens to resolve first.
6125
+ */
6126
+ $onFirstConnectPromise$?: Promise<void>;
6127
+ /**
6128
+ * A callback which resolves {@link HostRef.$onFirstConnectPromise$}
6129
+ */
6130
+ $onFirstConnectResolve$?: () => void;
6053
6131
  $vnode$?: VNode;
6054
6132
  $queuedListeners$?: [string, any][];
6055
6133
  $rmListeners$?: (() => void)[];
@@ -6059,6 +6137,11 @@ interface HostRef {
6059
6137
  * Defer connectedCallback until after first render for components with slot relocation.
6060
6138
  */
6061
6139
  $deferredConnectedCallback$?: boolean;
6140
+ /**
6141
+ * The number of times this host's lazy component load has failed and been retried.
6142
+ * Used to give up retrying after {@link MAX_LAZY_LOAD_RETRIES} failed attempts.
6143
+ */
6144
+ $loadRetryCount$?: number;
6062
6145
  }
6063
6146
  interface PlatformRuntime {
6064
6147
  /**
@@ -6552,4 +6635,4 @@ interface ValidateTypesResults {
6552
6635
  filePaths: string[];
6553
6636
  }
6554
6637
  //#endregion
6555
- export { ComponentCompilerVirtualProperty as $, isRemoteUrl as $a, StencilDocsConfig as $i, CompilerBuildResults as $n, augmentDiagnosticWithNode as $o, LoadConfigResults as $r, SSR as $s, PropsType as $t, CompilerStyleDoc as A, JsonDocsStyle as Aa, OutputTargetWww as Ai, TypesMemberNameData as An, isOutputTargetDocsVscode as Ao, Config as Ar, ASSETS as As, JsDoc as At, ComponentCompilerMeta as B, addDocBlock as Ba, ResolveModuleIdResults as Bi, BuildEvents as Bn, relativeImport as Bo, DevServerEditor as Br, DOCS_CUSTOM_ELEMENTS_MANIFEST as Bs, OptimizeJsResult as Bt, CompilerBuildStatBundle as C, JsonDocsEvent as Ca, OutputTargetGlobalStyle as Ci, StyleCompiler as Cn, isOutputTargetCustom as Co, CompilerSystemRemoveDirectoryOptions as Cr, toCamelCase as Cs, EntryModule as Ct, CompilerJsDoc as D, JsonDocsPart as Da, OutputTargetStandalone as Di, TranspileModuleResults as Dn, isOutputTargetDocsCustomElementsManifest as Do, CompilerSystemRenamedPath as Dr, formatComponentRuntimeMeta as Ds, HostRef as Dt, CompilerCtx as E, JsonDocsMethodReturn as Ea, OutputTargetSsrWasm as Ei, TransformCssToEsmOutput as En, isOutputTargetDocsCustom as Eo, CompilerSystemRenameResults as Er, unique as Es, HostElement as Et, ComponentCompilerData as F, StyleDoc as Fa, PrerenderHydrateOptions as Fi, Workbox as Fn, isOutputTargetStandalone as Fo, Credentials as Fr, COPY as Fs, ModuleMap as Ft, ComponentCompilerPropertyType as G, isDtsFile as Ga, SerializeDocumentOptions as Gi, BuildOutput as Gn, buildWarn as Go, HotModuleReplacement as Gr, GENERATED_DTS as Gs, Plugin as Gt, ComponentCompilerMethodComplexType as H, generatePreamble as Ha, RobotsTxtOpts as Hi, BuildNoChangeResults as Hn, TASK_CANCELED_MSG as Ho, FsWatchResults as Hr, DOCS_README as Hs, ParsedImport as Ht, ComponentCompilerEvent as I, FsWriteResults as Ia, PrerenderOptions as Ii, WorkerContextMethod as In, isOutputTargetStats as Io, CustomElementsExportBehavior as Ir, CUSTOM as Is, MsgFromWorker as It, ComponentCompilerStaticEvent as J, isTsFile as Ja, SitemapXmpResults as Ji, CacheStorage as Jn, hasWarning as Jo, HydratedFlag as Jr, HTML_NS as Js, PluginTransformationDescriptor as Jt, ComponentCompilerReferencedType as K, isJsFile as Ka, ServiceWorkerConfig as Ki, BuildOverrides as Kn, catchError as Ko, HydrateDocumentOptions as Kr, GLOBAL_STYLE as Ks, PluginCtx as Kt, ComponentCompilerEventComplexType as L, InMemoryFileSystem as La, PrerenderResults as Li, WorkerMsgHandler as Ln, isOutputTargetTypes as Lo, CustomElementsExportBehaviorOptions as Lr, DEFAULT_STYLE_MODE as Ls, MsgToWorker as Lt, CompilerWorkerTask as M, JsonDocsTypeLibrary as Ma, ParsedPath as Mi, UpdatedLazyBuildCtx as Mn, isOutputTargetLoaderBundle as Mo, ConfigCompat as Mr, COLLECTION as Ms, LazyBundlesRuntimeData as Mt, ComponentCompilerChangeHandler as N, JsonDocsUsage as Na, PlatformPath as Ni, VNodeProdData as Nn, isOutputTargetSsr as No, CopyResults as Nr, COLLECTION_APP_DATA_FILE_NAME as Ns, Module as Nt, CompilerJsDocTagInfo as O, JsonDocsProp as Oa, OutputTargetStats as Oi, TypeInfo as On, isOutputTargetDocsJson as Oo, CompilerSystemWriteFileResults as Or, formatLazyBundleRuntimeMeta as Os, ImportData as Ot, ComponentCompilerCustomState as P, JsonDocsValue as Pa, PrerenderConfig as Pi, ValidateTypesResults as Pn, isOutputTargetSsrWasm as Po, CopyTask as Pr, COLLECTION_MANIFEST_FILE_NAME as Ps, ModuleFormat as Pt, ComponentCompilerTypeReferences as Q, readPackageJson as Qa, StencilDevServerConfig as Qi, Compiler as Qn, splitLineBreaks as Qo, LoadConfigInit as Qr, NODE_TYPES as Qs, PrintLine as Qt, ComponentCompilerFeatures as R, validateComponentTag as Ra, PrerenderStartOptions as Ri, AutoprefixerOptions as Rn, isOutputTargetWww as Ro, DevServer as Rr, DIST_LAZY as Rs, NewSpecPageOptions as Rt, CompilerAssetDir as S, JsonDocsDependencyGraph as Sa, OutputTargetDocsVscode as Si, StencilDocument as Sn, isOutputTargetCopy as So, CompilerSystemRealpathResults as Sr, sortBy as Ss, Encapsulation as St, CompilerBuildStats as T, JsonDocsMethod as Ta, OutputTargetSsr as Ti, TransformCssToEsmInput as Tn, isOutputTargetDocs as To, CompilerSystemRemoveFileResults as Tr, toTitleCase as Ts, ExternalStyleCompiler as Tt, ComponentCompilerProperty as U, getTextDocs as Ua, RobotsTxtResults as Ui, BuildOnEventRemove as Un, buildError as Uo, HistoryApiFallback as Ur, DOCS_VSCODE as Us, PatchedSlotNode as Ut, ComponentCompilerMethod as V, createJsVarName as Va, ResolveModuleOptions as Vi, BuildLog as Vn, shouldExcludeComponent as Vo, Diagnostic$1 as Vr, DOCS_JSON as Vs, PackageJsonData as Vt, ComponentCompilerPropertyComplexType as W, hasDependency as Wa, RolldownConfig as Wi, BuildOnEvents as Wn, buildJsonFileError as Wo, HmrStyleUpdate as Wr, EVENT_FLAGS as Ws, PlatformRuntime as Wt, ComponentCompilerStaticProperty as X, parsePackageJson as Xa, SsrFactoryOptions as Xi, CompileScriptMinifyOptions as Xn, escapeHtml as Xo, LazyRequire as Xr, LOADER_BUNDLE as Xs, PrerenderUrlRequest as Xt, ComponentCompilerStaticMethod as Y, isTsxFile as Ya, SsrDocumentOptions as Yi, CliInitOptions as Yn, shouldIgnoreError as Yo, LOG_LEVELS as Yr, LISTENER_FLAGS as Ys, PrerenderManager as Yt, ComponentCompilerTypeReference as Z, readOnlyArrayHasStringMember as Za, StencilConfig as Zi, CompileTarget as Zn, normalizeDiagnostics as Zo, LightDomPatches as Zr, MEMBER_FLAGS as Zs, PrerenderUrlResults as Zt, CollectionCompilerVersion as _, VNode as _a, OutputTargetDistLazy as _i, SsrImgElement as _n, getComponentsDtsSrcFilePath as _o, CompilerRequest as _r, isObject as _s, ComponentTestingConstructor as _t, BuildCtx as a, UnvalidatedConfig as aa, TYPES as ac, OptimizeCssInput as ai, RolldownResults as an, escapeRegExpSpecialCharacters as ao, CompilerEventBuildStart as ar, isRootPath as as, ComponentConstructorProperties as at, CollectionDependencyManifest as b, JsonDocsComponent as ba, OutputTargetDocsJson as bi, SsrStaticData as bn, isOutputTargetAssets as bo, CompilerSystemCreateDirectoryOptions as br, noop as bs, CssTransformCacheEntry as bt, BuildStyleUpdate as c, WatcherCloseResults as ca, WWW as cc, OptimizeJsOutput as ci, RuntimeRef as cn, normalize as co, CompilerEventFileAdd as cr, escapeWithPattern as cs, ComponentGlobalStyle as ct, BundleModuleOutput as d, ErrorHandler as da, OutputTargetBase as di, SourceMap$1 as dn, normalizePath as do, CompilerEventFsChange as dr, isBoolean as ds, ComponentRuntimeHostListener as dt, SystemDetails as ea, SSR_WASM as ec, LogLevel as ei, RenderNode as en, getInlineSourceMappingUrlLinker as eo, CompilerBuildStart as er, loadTypeScriptDiagnostic as es, ComponentConstructor as et, Cache as f, FunctionalComponent as fa, OutputTargetBaseNext as fi, SourceTarget as fn, relative as fo, CompilerEventName as fr, isComplexType as fs, ComponentRuntimeMember as ft, CollectionCompilerMeta as g, UserBuildConditionals as ga, OutputTargetCustom as gi, SsrElement as gn, filterExcludedComponents as go, CompilerFsStats as gr, isNumber as gs, ComponentRuntimeReflectingAttr as gt, CollectionCompiler as h, TagTransformer as ha, OutputTargetCopy as hi, SsrComponent as hn, filterActiveTargets as ho, CompilerFileWatcherEvent as hr, isIterable as hs, ComponentRuntimeMetaCompact as ht, BuildConditionals as i, TranspileResults as ia, SVG_NS as ic, NodeResolveConfig as ii, RolldownResultModule as in, result_d_exports as io, CompilerEventBuildNoChange as ir, loadRolldownDiagnostics as is, ComponentConstructorListener as it, CompilerWorkerContext as j, JsonDocsTag as ja, PageReloadStrategy as ji, TypesModule as jn, isOutputTargetGlobalStyle as jo, ConfigBundle as jr, CMP_FLAGS as js, LazyBundleRuntimeData as jt, CompilerModeStyles as k, JsonDocsSlot as ka, OutputTargetTypes as ki, TypesImportData as kn, isOutputTargetDocsReadme as ko, CompilerWatcher as kr, stringifyRuntimeData as ks, JSDocTagInfo as kt, BuildTask as l, WorkerMainController as la, XLINK_NS as lc, OutputTarget as li, SerializeImportData as ln, normalizeFsPath as lo, CompilerEventFileDelete as lr, flatOne as ls, ComponentNativeConstructor as lt, CollectionBundleManifest as m, ResolutionHandler as ma, OutputTargetCollection as mi, SsrAnchorElement as mn, FilterComponentsResult as mo, CompilerFileWatcherCallback as mr, isFunction as ms, ComponentRuntimeMeta as mt, AssetsMeta as n, TranspileOnlyResults as na, STATS as nc, LoggerLineUpdater as ni, RolldownChunkResult as nn, getSourceMappingUrlLinker as no, CompilerEventBuildFinish as nr, createOnWarnFn as ns, ComponentConstructorEncapsulation as nt, BuildFeatures as o, ValidatedConfig as oa, VALID_CONFIG_OUTPUT_TARGETS as oc, OptimizeCssOutput as oi, RolldownSourceMap as on, queryNonceMetaTagContent as oo, CompilerEventDirAdd as or, isGlob as os, ComponentConstructorProperty as ot, ChildType as p, RafCallback as pa, OutputTargetBuild as pi, SpecPage as pn, resolve as po, CompilerFileWatcher as pr, isDef as ps, ComponentRuntimeMembers as pt, ComponentCompilerState as q, isJsxFile as qa, SitemapXmpOpts as qi, BuildResultsComponentGraph as qn, hasError as qo, HydrateFactoryOptions as qr, HOST_FLAGS as qs, PluginTransformResults as qt, BuildComponent as r, TranspileOptions as ra, STYLE_EXT as rc, LoggerTimeSpan as ri, RolldownResult as rn, rolldownToStencilSourceMap as ro, CompilerEventBuildLog as rr, isRolldownError as rs, ComponentConstructorEvent as rt, BuildSourceGraph as s, ValidatedOutputTargetWww as sa, WATCH_FLAGS as sc, OptimizeJsInput as si, RootAppliedStyleMap as sn, join as so, CompilerEventDirDelete as sr, dashToPascalCase as ss, ComponentConstructorPropertyType as st, AnyHTMLElement as t, TransformOptions as ta, STANDALONE as tc, Logger as ti, RolldownAssetResult as tn, getSourceMappingUrlForEndOfFile as to, CompilerDependency as tr, loadTypeScriptDiagnostics as ts, ComponentConstructorChangeHandlers as tt, BundleModule as u, WorkerOptions as ua, byteSize as uc, OutputTargetAssets as ui, SerializedEvent as un, normalizeFsPathQuery as uo, CompilerEventFileUpdate as ur, fromEntries as us, ComponentPatches as ut, CollectionComponentEntryPath as v, JsonDocMethodParameter as va, OutputTargetDocsCustom as vi, SsrResults as vn, getComponentsDtsTypesFilePath as vo, CompilerRequestResponse as vr, isString as vs, CssImportData as vt, CompilerBuildStatCollection as w, JsonDocsListener as wa, OutputTargetLoaderBundle as wi, StyleMap as wn, isOutputTargetDistLazy as wo, CompilerSystemRemoveDirectoryResults as wr, toDashCase as ws, EventInitDict as wt, CollectionManifest as x, JsonDocsCustomState as xa, OutputTargetDocsReadme as xi, SsrStyleElement as xn, isOutputTargetCollection as xo, CompilerSystemCreateDirectoryResults as xr, pluck as xs, DocData as xt, CollectionDependencyData as y, JsonDocs as ya, OutputTargetDocsCustomElementsManifest as yi, SsrScriptElement as yn, getComponentsFromModules as yo, CompilerSystem as yr, mergeIntoWith as ys, CssToEsmImportData as yt, ComponentCompilerListener as z, ParsePackageJsonResult as za, ResolveModuleIdOptions as zi, BuildEmitEvents as zn, isValidConfigOutputTarget as zo, DevServerConfig as zr, DOCS_CUSTOM as zs, NodeMap as zt };
6638
+ export { ComponentCompilerVirtualProperty as $, isDtsFile as $a, SsrFactoryOptions as $i, CompilerBuildResults as $n, loadTypeScriptDiagnostic as $o, LoadConfigInit as $r, PropsType as $t, CompilerStyleDoc as A, JsonDocsListener as Aa, OutputTargetStandalone as Ai, TypesMemberNameData as An, isOutputTargetGlobalStyle as Ao, Config as Ar, NODE_TYPES as As, JsDoc as At, ComponentCompilerMeta as B, JsonDocsValue as Ba, PrerenderResults as Bi, BuildEvents as Bn, shouldExcludeComponent as Bo, DevServerEditor as Br, WWW as Bs, OptimizeJsResult as Bt, CompilerBuildStatBundle as C, VNode as Ca, OutputTargetDocsJson as Ci, StyleCompiler as Cn, isOutputTargetDocs as Co, CompilerSystemRemoveDirectoryOptions as Cr, GENERATED_DTS as Cs, EntryModule as Ct, CompilerJsDoc as D, JsonDocsCustomState as Da, OutputTargetLoaderBundle as Di, TranspileModuleResults as Dn, isOutputTargetDocsJson as Do, CompilerSystemRenamedPath as Dr, LISTENER_FLAGS as Ds, HostRef as Dt, CompilerCtx as E, JsonDocsComponent as Ea, OutputTargetGlobalStyle as Ei, TransformCssToEsmOutput as En, isOutputTargetDocsCustomElementsManifest as Eo, CompilerSystemRenameResults as Er, HTML_NS as Es, HostElement as Et, ComponentCompilerData as F, JsonDocsSlot as Fa, ParsedPath as Fi, Workbox as Fn, isOutputTargetStats as Fo, Credentials as Fr, STYLE_EXT as Fs, ModuleMap as Ft, ComponentCompilerPropertyType as G, validateComponentModes as Ga, RobotsTxtOpts as Gi, BuildOutput as Gn, catchError as Go, HmrStyleUpdate as Gr, Plugin as Gt, ComponentCompilerMethodComplexType as H, FsWriteResults as Ha, ResolveModuleIdOptions as Hi, BuildNoChangeResults as Hn, buildError as Ho, DocsReadmeCustomColumn as Hr, ParsedImport as Ht, ComponentCompilerEvent as I, JsonDocsStyle as Ia, PlatformPath as Ii, WorkerContextMethod as In, isOutputTargetTypes as Io, CustomElementsExportBehavior as Ir, SVG_NS as Is, MsgFromWorker as It, ComponentCompilerStaticEvent as J, addDocBlock as Ja, SerializeDocumentOptions as Ji, CacheStorage as Jn, shouldIgnoreError as Jo, HydrateFactoryOptions as Jr, PluginTransformationDescriptor as Jt, ComponentCompilerReferencedType as K, validateComponentTag as Ka, RobotsTxtResults as Ki, BuildOverrides as Kn, hasError as Ko, HotModuleReplacement as Kr, PluginCtx as Kt, ComponentCompilerEventComplexType as L, JsonDocsTag as La, PrerenderConfig as Li, WorkerMsgHandler as Ln, isOutputTargetWww as Lo, CustomElementsExportBehaviorOptions as Lr, TYPES as Ls, MsgToWorker as Lt, CompilerWorkerTask as M, JsonDocsMethodReturn as Ma, OutputTargetTypes as Mi, UpdatedLazyBuildCtx as Mn, isOutputTargetSsr as Mo, ConfigCompat as Mr, SSR_WASM as Ms, LazyBundlesRuntimeData as Mt, ComponentCompilerChangeHandler as N, JsonDocsPart as Na, OutputTargetWww as Ni, VNodeProdData as Nn, isOutputTargetSsrWasm as No, CopyResults as Nr, STANDALONE as Ns, Module as Nt, CompilerJsDocTagInfo as O, JsonDocsDependencyGraph as Oa, OutputTargetSsr as Oi, TypeInfo as On, isOutputTargetDocsReadme as Oo, CompilerSystemWriteFileResults as Or, LOADER_BUNDLE as Os, ImportData as Ot, ComponentCompilerCustomState as P, JsonDocsProp as Pa, PageReloadStrategy as Pi, ValidateTypesResults as Pn, isOutputTargetStandalone as Po, CopyTask as Pr, STATS as Ps, ModuleFormat as Pt, ComponentCompilerTypeReferences as Q, hasDependency as Qa, SsrDocumentOptions as Qi, Compiler as Qn, augmentDiagnosticWithNode as Qo, LightDomPatches as Qr, PrintLine as Qt, ComponentCompilerFeatures as R, JsonDocsTypeLibrary as Ra, PrerenderHydrateOptions as Ri, AutoprefixerOptions as Rn, isValidConfigOutputTarget as Ro, DevServer as Rr, VALID_CONFIG_OUTPUT_TARGETS as Rs, NewSpecPageOptions as Rt, CompilerAssetDir as S, UserBuildConditionals as Sa, OutputTargetDocsCustomElementsManifest as Si, StencilDocument as Sn, isOutputTargetDistLazy as So, CompilerSystemRealpathResults as Sr, EVENT_FLAGS as Ss, Encapsulation as St, CompilerBuildStats as T, JsonDocs as Ta, OutputTargetDocsVscode as Ti, TransformCssToEsmInput as Tn, isOutputTargetDocsCustom as To, CompilerSystemRemoveFileResults as Tr, HOST_FLAGS as Ts, ExternalStyleCompiler as Tt, ComponentCompilerProperty as U, InMemoryFileSystem as Ua, ResolveModuleIdResults as Ui, BuildOnEventRemove as Un, buildJsonFileError as Uo, FsWatchResults as Ur, PatchedSlotNode as Ut, ComponentCompilerMethod as V, StyleDoc as Va, PrerenderStartOptions as Vi, BuildLog as Vn, TASK_CANCELED_MSG as Vo, Diagnostic$1 as Vr, XLINK_NS as Vs, PackageJsonData as Vt, ComponentCompilerPropertyComplexType as W, ModeValidationError as Wa, ResolveModuleOptions as Wi, BuildOnEvents as Wn, buildWarn as Wo, HistoryApiFallback as Wr, PlatformRuntime as Wt, ComponentCompilerStaticProperty as X, generatePreamble as Xa, SitemapXmpOpts as Xi, CompileScriptMinifyOptions as Xn, normalizeDiagnostics as Xo, LOG_LEVELS as Xr, PrerenderUrlRequest as Xt, ComponentCompilerStaticMethod as Y, createJsVarName as Ya, ServiceWorkerConfig as Yi, CliInitOptions as Yn, escapeHtml as Yo, HydratedFlag as Yr, PrerenderManager as Yt, ComponentCompilerTypeReference as Z, getTextDocs as Za, SitemapXmpResults as Zi, CompileTarget as Zn, splitLineBreaks as Zo, LazyRequire as Zr, PrerenderUrlResults as Zt, CollectionCompilerVersion as _, MixedInCtor as _a, OutputTargetCopy as _i, SsrImgElement as _n, getComponentsFromModules as _o, CompilerRequest as _r, DOCS_CUSTOM as _s, ComponentTestingConstructor as _t, BuildCtx as a, TranspileOnlyResults as aa, ModeConfig as ai, RolldownResults as an, readOnlyArrayHasStringMember as ao, CompilerEventBuildStart as ar, formatLazyBundleRuntimeMeta as as, ComponentConstructorProperties as at, CollectionDependencyManifest as b, ResolutionHandler as ba, OutputTargetDocsAgentSkill as bi, SsrStaticData as bn, isOutputTargetCopy as bo, CompilerSystemCreateDirectoryOptions as br, DOCS_README as bs, CssTransformCacheEntry as bt, BuildStyleUpdate as c, UnvalidatedConfig as ca, OptimizeCssOutput as ci, RuntimeRef as cn, getSourceMappingUrlForEndOfFile as co, CompilerEventFileAdd as cr, CMP_FLAGS as cs, ComponentGlobalStyle as ct, BundleModuleOutput as d, WatcherCloseResults as da, OutputTarget as di, SourceMap$1 as dn, result_d_exports as do, CompilerEventFsChange as dr, COLLECTION_MANIFEST_FILE_NAME as ds, ComponentRuntimeHostListener as dt, StencilConfig as ea, LoadConfigResults as ei, RenderNode as en, isJsFile as eo, CompilerBuildStart as er, loadTypeScriptDiagnostics as es, ComponentConstructor as et, Cache as f, WorkerMainController as fa, OutputTargetAssets as fi, SourceTarget as fn, FilterComponentsResult as fo, CompilerEventName as fr, COPY as fs, ComponentRuntimeMember as ft, CollectionCompilerMeta as g, FunctionalComponent as ga, OutputTargetCollection as gi, SsrElement as gn, getComponentsDtsTypesFilePath as go, CompilerFsStats as gr, DOCS_AGENT_SKILL as gs, ComponentRuntimeReflectingAttr as gt, CollectionCompiler as h, ErrorHandler as ha, OutputTargetBuild as hi, SsrComponent as hn, getComponentsDtsSrcFilePath as ho, CompilerFileWatcherEvent as hr, DIST_LAZY as hs, ComponentRuntimeMetaCompact as ht, BuildConditionals as i, TransformOptions as ia, LoggerTimeSpan as ii, RolldownResultModule as in, parsePackageJson as io, CompilerEventBuildNoChange as ir, formatComponentRuntimeMeta as is, ComponentConstructorListener as it, CompilerWorkerContext as j, JsonDocsMethod as ja, OutputTargetStats as ji, TypesModule as jn, isOutputTargetLoaderBundle as jo, ConfigBundle as jr, SSR as js, LazyBundleRuntimeData as jt, CompilerModeStyles as k, JsonDocsEvent as ka, OutputTargetSsrWasm as ki, TypesImportData as kn, isOutputTargetDocsVscode as ko, CompilerWatcher as kr, MEMBER_FLAGS as ks, JSDocTagInfo as kt, BuildTask as l, ValidatedConfig as la, OptimizeJsInput as li, SerializeImportData as ln, getSourceMappingUrlLinker as lo, CompilerEventFileDelete as lr, COLLECTION as ls, ComponentNativeConstructor as lt, CollectionBundleManifest as m, ComponentInterface as ma, OutputTargetBaseNext as mi, SsrAnchorElement as mn, filterExcludedComponents as mo, CompilerFileWatcherCallback as mr, DEFAULT_STYLE_MODE as ms, ComponentRuntimeMeta as mt, AssetsMeta as n, StencilDocsConfig as na, Logger as ni, RolldownChunkResult as nn, isTsFile as no, CompilerEventBuildFinish as nr, isRolldownError as ns, ComponentConstructorEncapsulation as nt, BuildFeatures as o, TranspileOptions as oa, NodeResolveConfig as oi, RolldownSourceMap as on, readPackageJson as oo, CompilerEventDirAdd as or, stringifyRuntimeData as os, ComponentConstructorProperty as ot, ChildType as p, WorkerOptions as pa, OutputTargetBase as pi, SpecPage as pn, filterActiveTargets as po, CompilerFileWatcher as pr, CUSTOM as ps, ComponentRuntimeMembers as pt, ComponentCompilerState as q, ParsePackageJsonResult as qa, RolldownConfig as qi, BuildResultsComponentGraph as qn, hasWarning as qo, HydrateDocumentOptions as qr, PluginTransformResults as qt, BuildComponent as r, SystemDetails as ra, LoggerLineUpdater as ri, RolldownResult as rn, isTsxFile as ro, CompilerEventBuildLog as rr, loadRolldownDiagnostics as rs, ComponentConstructorEvent as rt, BuildSourceGraph as s, TranspileResults as sa, OptimizeCssInput as si, RootAppliedStyleMap as sn, getInlineSourceMappingUrlLinker as so, CompilerEventDirDelete as sr, ASSETS as ss, ComponentConstructorPropertyType as st, AnyHTMLElement as t, StencilDevServerConfig as ta, LogLevel as ti, RolldownAssetResult as tn, isJsxFile as to, CompilerDependency as tr, createOnWarnFn as ts, ComponentConstructorChangeHandlers as tt, BundleModule as u, ValidatedOutputTargetWww as ua, OptimizeJsOutput as ui, SerializedEvent as un, rolldownToStencilSourceMap as uo, CompilerEventFileUpdate as ur, COLLECTION_APP_DATA_FILE_NAME as us, ComponentPatches as ut, CollectionComponentEntryPath as v, RafCallback as va, OutputTargetCustom as vi, SsrResults as vn, isOutputTargetAssets as vo, CompilerRequestResponse as vr, DOCS_CUSTOM_ELEMENTS_MANIFEST as vs, CssImportData as vt, CompilerBuildStatCollection as w, JsonDocMethodParameter as wa, OutputTargetDocsReadme as wi, StyleMap as wn, isOutputTargetDocsAgentSkill as wo, CompilerSystemRemoveDirectoryResults as wr, GLOBAL_STYLE as ws, EventInitDict as wt, CollectionManifest as x, TagTransformer as xa, OutputTargetDocsCustom as xi, SsrStyleElement as xn, isOutputTargetCustom as xo, CompilerSystemCreateDirectoryResults as xr, DOCS_VSCODE as xs, DocData as xt, CollectionDependencyData as y, ReactiveControllerHostInterface as ya, OutputTargetDistLazy as yi, SsrScriptElement as yn, isOutputTargetCollection as yo, CompilerSystem as yr, DOCS_JSON as ys, CssToEsmImportData as yt, ComponentCompilerListener as z, JsonDocsUsage as za, PrerenderOptions as zi, BuildEmitEvents as zn, relativeImport as zo, DevServerConfig as zr, WATCH_FLAGS as zs, NodeMap as zt };