@stencil/core 5.0.0-alpha.2 → 5.0.0-alpha.4

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 (42) hide show
  1. package/dist/{client-DucyoZT4.mjs → client-Dti6fFpE.mjs} +108 -69
  2. package/dist/compiler/index.d.mts +3 -3
  3. package/dist/compiler/index.mjs +2 -2
  4. package/dist/compiler/utils/index.d.mts +2 -2
  5. package/dist/compiler/utils/index.mjs +3 -3
  6. package/dist/{compiler-DyK1_szo.mjs → compiler-BYRrEeD-.mjs} +2065 -2106
  7. package/dist/declarations/stencil-public-compiler.d.ts +4085 -2
  8. package/dist/declarations/stencil-public-compiler.js +0 -1
  9. package/dist/declarations/stencil-public-docs.d.ts +494 -1
  10. package/dist/declarations/stencil-public-runtime.d.ts +1943 -2
  11. package/dist/{index-fIuYTL9f.d.mts → index-9LTuoSiw.d.mts} +18 -2
  12. package/dist/{index-D-LlB2nw.d.mts → index-BwTaN1Nq.d.mts} +199 -809
  13. package/dist/{index-BONzXKJt.d.ts → index-CyrGY82h.d.ts} +5 -7
  14. package/dist/{index-CHjZtib0.d.ts → index-hS-KBdAP.d.ts} +1 -1
  15. package/dist/index.d.mts +1 -0
  16. package/dist/index.mjs +2 -2
  17. package/dist/{jsx-runtime-DBzBJLKk.d.ts → jsx-runtime-DlDkTqps.d.ts} +1 -1
  18. package/dist/jsx-runtime.d.ts +1 -1
  19. package/dist/jsx-runtime.js +1 -1
  20. package/dist/{node-BWBQAh8C.mjs → node-BF2jSfWg.mjs} +3 -14
  21. package/dist/regular-expression-D5pGVpCu.mjs +415 -0
  22. package/dist/runtime/app-data/index.d.ts +1 -1
  23. package/dist/runtime/app-data/index.js +1 -2
  24. package/dist/runtime/client/index.d.ts +18 -4
  25. package/dist/runtime/client/index.js +130 -214
  26. package/dist/runtime/index.d.ts +20 -4
  27. package/dist/runtime/index.js +2 -2
  28. package/dist/runtime/server/index.d.mts +18 -7
  29. package/dist/runtime/server/index.mjs +128 -215
  30. package/dist/runtime/server/runner.d.mts +1 -17
  31. package/dist/runtime/server/runner.mjs +12 -394
  32. package/dist/{runtime-CqlPYKjW.js → runtime-COEYYPyw.js} +130 -214
  33. package/dist/sys/node/index.d.mts +1 -1
  34. package/dist/sys/node/index.mjs +1 -1
  35. package/dist/sys/node/worker.mjs +2 -2
  36. package/dist/testing/index.d.mts +3 -3
  37. package/dist/testing/index.mjs +20 -18
  38. package/dist/{validation-BR7tMYEv.mjs → validation-Byxie0Uk.mjs} +28 -24
  39. package/package.json +9 -13
  40. package/dist/serialize-o-Sj1lvg.mjs +0 -792
  41. package/dist/stencil-public-compiler-C_X1iolo.d.ts +0 -4455
  42. package/dist/stencil-public-runtime-DlV8o7-z.d.ts +0 -1845
@@ -1,5 +1,5 @@
1
1
  import { Diagnostic, Node as Node$1 } from "typescript";
2
- import { RollupError, SourceMap } from "rollup";
2
+ import { RolldownError, SourceMap } from "rolldown";
3
3
  import { Serializable } from "child_process";
4
4
 
5
5
  //#region src/utils/byte-size.d.ts
@@ -44,10 +44,6 @@ declare const LISTENER_FLAGS: {
44
44
  readonly TargetDocument: number;
45
45
  readonly TargetWindow: number;
46
46
  readonly TargetBody: number;
47
- /**
48
- * @deprecated Prevented from new apps, but left in for older collections
49
- */
50
- readonly TargetParent: number;
51
47
  };
52
48
  declare const HOST_FLAGS: {
53
49
  readonly hasConnected: number;
@@ -130,6 +126,32 @@ declare const CMP_FLAGS: {
130
126
  * e.g. `shadow: { slotAssignment: 'manual' }` is set on the `@Component()` decorator
131
127
  */
132
128
  readonly shadowSlotAssignmentManual: number;
129
+ /**
130
+ * Determines if the shadow DOM mode is 'closed'.
131
+ * e.g. `encapsulation: { type: 'shadow', mode: 'closed' }` is set on the `@Component()` decorator
132
+ */
133
+ readonly shadowModeClosed: number;
134
+ /**
135
+ * Determines if the component should patch child node accessors for slot handling.
136
+ * e.g. `encapsulation: { type: 'none', patches: ['children'] }`
137
+ */
138
+ readonly patchChildren: number;
139
+ /**
140
+ * Determines if the component should patch cloneNode() for slot handling.
141
+ * e.g. `encapsulation: { type: 'none', patches: ['clone'] }`
142
+ */
143
+ readonly patchClone: number;
144
+ /**
145
+ * Determines if the component should patch appendChild/insertBefore for slot handling.
146
+ * e.g. `encapsulation: { type: 'none', patches: ['insert'] }`
147
+ */
148
+ readonly patchInsert: number;
149
+ /**
150
+ * Determines if the component should apply all slot patches.
151
+ * e.g. `encapsulation: { type: 'none', patches: ['all'] }`
152
+ * Equivalent to the global `experimentalSlotFixes` config option.
153
+ */
154
+ readonly patchAll: number;
133
155
  };
134
156
  /**
135
157
  * Default style mode id
@@ -247,42 +269,6 @@ declare const NODE_TYPES: {
247
269
  readonly DOCUMENT_FRAGMENT_NODE: 11;
248
270
  readonly NOTATION_NODE: 12;
249
271
  };
250
- /**
251
- * Represents a primitive type.
252
- * Described in https://w3c.github.io/webdriver-bidi/#type-script-PrimitiveProtocolValue.
253
- */
254
- declare const PrimitiveType: {
255
- readonly Undefined: "undefined";
256
- readonly Null: "null";
257
- readonly String: "string";
258
- readonly Number: "number";
259
- readonly SpecialNumber: "number";
260
- readonly Boolean: "boolean";
261
- readonly BigInt: "bigint";
262
- };
263
- type PrimitiveTypeValue = (typeof PrimitiveType)[keyof typeof PrimitiveType];
264
- /**
265
- * Represents a non-primitive type.
266
- * Described in https://w3c.github.io/webdriver-bidi/#type-script-RemoteValue.
267
- * @deprecated will be removed in v5. Use `@AttrDeserialize()` / `@PropDeserialize()` decorators instead.
268
- */
269
- declare const NonPrimitiveType: {
270
- readonly Array: "array";
271
- readonly Date: "date";
272
- readonly Map: "map";
273
- readonly Object: "object";
274
- readonly RegularExpression: "regexp";
275
- readonly Set: "set";
276
- readonly Channel: "channel";
277
- readonly Symbol: "symbol";
278
- };
279
- type NonPrimitiveTypeValue = (typeof NonPrimitiveType)[keyof typeof NonPrimitiveType];
280
- /** @deprecated will be removed in v5. Use `@AttrDeserialize()` / `@PropDeserialize()` decorators instead. */
281
- declare const TYPE_CONSTANT = "type";
282
- /** @deprecated will be removed in v5. Use `@AttrDeserialize()` / `@PropDeserialize()` decorators instead. */
283
- declare const VALUE_CONSTANT = "value";
284
- /** @deprecated will be removed in v5. Use `@AttrDeserialize()` / `@PropDeserialize()` decorators instead. */
285
- declare const SERIALIZED_PREFIX = "serialized:";
286
272
  //#endregion
287
273
  //#region src/utils/format-component-runtime-meta.d.ts
288
274
  declare const formatLazyBundleRuntimeMeta: (bundleId: any, cmps: ComponentCompilerMeta[]) => LazyBundleRuntimeData;
@@ -452,189 +438,8 @@ declare const isGlob: (str: string) => boolean;
452
438
  */
453
439
  declare const isRootPath: (p: string) => boolean;
454
440
  //#endregion
455
- //#region src/utils/types.d.ts
456
- type Serializeable = string | number | boolean | unknown;
457
- type LocalValueParam = Serializeable | Serializeable[] | [Serializeable, Serializeable][];
458
- type ScriptLocalValue = ScriptPrimitiveProtocolValue | ScriptArrayLocalValue | ScriptDateLocalValue | ScriptSymbolValue | ScriptMapLocalValue | ScriptObjectLocalValue | ScriptRegExpLocalValue | ScriptSetLocalValue;
459
- type ScriptListLocalValue = ScriptLocalValue[];
460
- interface ScriptArrayLocalValue {
461
- type: 'array';
462
- value: ScriptListLocalValue;
463
- }
464
- interface ScriptDateLocalValue {
465
- type: 'date';
466
- value: string;
467
- }
468
- type ScriptMappingLocalValue = (ScriptLocalValue | ScriptLocalValue)[];
469
- interface ScriptMapLocalValue {
470
- type: 'map';
471
- value: ScriptMappingLocalValue;
472
- }
473
- interface ScriptObjectLocalValue {
474
- type: 'object';
475
- value: ScriptMappingLocalValue;
476
- }
477
- interface ScriptRegExpValue {
478
- pattern: string;
479
- flags?: string;
480
- }
481
- interface ScriptRegExpLocalValue {
482
- type: 'regexp';
483
- value: ScriptRegExpValue;
484
- }
485
- interface ScriptSetLocalValue {
486
- type: 'set';
487
- value: ScriptListLocalValue;
488
- }
489
- type ScriptPreloadScript = string;
490
- type ScriptRealm = string;
491
- type ScriptPrimitiveProtocolValue = ScriptUndefinedValue | ScriptNullValue | ScriptStringValue | ScriptNumberValue | ScriptBooleanValue | ScriptBigIntValue;
492
- interface ScriptUndefinedValue {
493
- type: 'undefined';
494
- }
495
- interface ScriptNullValue {
496
- type: 'null';
497
- }
498
- interface ScriptStringValue {
499
- type: 'string';
500
- value: string;
501
- }
502
- interface ScriptSymbolValue {
503
- type: 'symbol';
504
- value: string;
505
- }
506
- type ScriptSpecialNumber = 'NaN' | '-0' | 'Infinity' | '-Infinity';
507
- interface ScriptNumberValue {
508
- type: 'number';
509
- value: number | ScriptSpecialNumber;
510
- }
511
- interface ScriptBooleanValue {
512
- type: 'boolean';
513
- value: boolean;
514
- }
515
- interface ScriptBigIntValue {
516
- type: 'bigint';
517
- value: string;
518
- }
519
- //#endregion
520
- //#region src/utils/local-value.d.ts
521
- /**
522
- * Represents a local value with a specified type and optional value.
523
- * Described in https://w3c.github.io/webdriver-bidi/#type-script-LocalValue
524
- * @deprecated will be removed in v5. Use `@AttrDeserialize()` / `@PropDeserialize()` decorators instead.
525
- */
526
- declare class LocalValue {
527
- type: PrimitiveTypeValue | NonPrimitiveTypeValue;
528
- value?: Serializeable | Serializeable[] | [Serializeable, Serializeable][];
529
- constructor(type: PrimitiveTypeValue | NonPrimitiveTypeValue, value?: LocalValueParam);
530
- /**
531
- * Creates a new LocalValue object with a string value.
532
- *
533
- * @param {string} value - The string value to be stored in the LocalValue object.
534
- * @returns {LocalValue} - The created LocalValue object.
535
- */
536
- static createStringValue(value: string): LocalValue;
537
- /**
538
- * Creates a new LocalValue object with a number value.
539
- *
540
- * @param {number} value - The number value.
541
- * @returns {LocalValue} - The created LocalValue object.
542
- */
543
- static createNumberValue(value: number): LocalValue;
544
- /**
545
- * Creates a new LocalValue object with a special number value.
546
- *
547
- * @param {number} value - The value of the special number.
548
- * @returns {LocalValue} - The created LocalValue object.
549
- */
550
- static createSpecialNumberValue(value: number): LocalValue;
551
- /**
552
- * Creates a new LocalValue object with an undefined value.
553
- * @returns {LocalValue} - The created LocalValue object.
554
- */
555
- static createUndefinedValue(): LocalValue;
556
- /**
557
- * Creates a new LocalValue object with a null value.
558
- * @returns {LocalValue} - The created LocalValue object.
559
- */
560
- static createNullValue(): LocalValue;
561
- /**
562
- * Creates a new LocalValue object with a boolean value.
563
- *
564
- * @param {boolean} value - The boolean value.
565
- * @returns {LocalValue} - The created LocalValue object.
566
- */
567
- static createBooleanValue(value: boolean): LocalValue;
568
- /**
569
- * Creates a new LocalValue object with a BigInt value.
570
- *
571
- * @param {BigInt} value - The BigInt value.
572
- * @returns {LocalValue} - The created LocalValue object.
573
- */
574
- static createBigIntValue(value: bigint): LocalValue;
575
- /**
576
- * Creates a new LocalValue object with an array.
577
- *
578
- * @param {Array} value - The array.
579
- * @returns {LocalValue} - The created LocalValue object.
580
- */
581
- static createArrayValue(value: Array<unknown>): LocalValue;
582
- /**
583
- * Creates a new LocalValue object with date value.
584
- *
585
- * @param {string} value - The date.
586
- * @returns {LocalValue} - The created LocalValue object.
587
- */
588
- static createDateValue(value: Date): LocalValue;
589
- /**
590
- * Creates a new LocalValue object of map value.
591
- * @param {Map} map - The map.
592
- * @returns {LocalValue} - The created LocalValue object.
593
- */
594
- static createMapValue(map: Map<unknown, unknown>): LocalValue;
595
- /**
596
- * Creates a new LocalValue object from the passed object.
597
- *
598
- * @param object the object to create a LocalValue from
599
- * @returns {LocalValue} - The created LocalValue object.
600
- */
601
- static createObjectValue(object: Record<string | number | symbol, unknown>): LocalValue;
602
- /**
603
- * Creates a new LocalValue object of regular expression value.
604
- *
605
- * @param {string} value - The value of the regular expression.
606
- * @returns {LocalValue} - The created LocalValue object.
607
- */
608
- static createRegularExpressionValue(value: {
609
- pattern: string;
610
- flags: string;
611
- }): LocalValue;
612
- /**
613
- * Creates a new LocalValue object with the specified value.
614
- * @param {Set} value - The value to be set.
615
- * @returns {LocalValue} - The created LocalValue object.
616
- */
617
- static createSetValue(value: ([unknown, unknown] | LocalValue)[]): LocalValue;
618
- /**
619
- * Creates a new LocalValue object with the given channel value
620
- *
621
- * @param {ChannelValue} value - The channel value.
622
- * @returns {LocalValue} - The created LocalValue object.
623
- */
624
- static createChannelValue(value: unknown): LocalValue;
625
- /**
626
- * Creates a new LocalValue object with a Symbol value.
627
- *
628
- * @param {Symbol} symbol - The Symbol value
629
- * @returns {LocalValue} - The created LocalValue object
630
- */
631
- static createSymbolValue(symbol: symbol): LocalValue;
632
- static getArgument(argument: unknown): LocalValue;
633
- asMap(): ScriptLocalValue;
634
- }
635
- //#endregion
636
- //#region src/utils/logger/logger-rollup.d.ts
637
- declare const loadRollupDiagnostics: (config: ValidatedConfig, compilerCtx: CompilerCtx, buildCtx: BuildCtx, rollupError: RollupError) => void;
441
+ //#region src/utils/logger/logger-rolldown.d.ts
442
+ declare const loadRolldownDiagnostics: (config: ValidatedConfig, compilerCtx: CompilerCtx, buildCtx: BuildCtx, rolldownError: RolldownError) => void;
638
443
  declare const createOnWarnFn: (diagnostics: Diagnostic$1[], bundleModulesFiles?: Module[]) => (warning: {
639
444
  code?: string;
640
445
  importer?: string;
@@ -913,35 +718,6 @@ declare function queryNonceMetaTagContent(doc: Document): string | undefined;
913
718
  * @returns The string with all special characters escaped.
914
719
  */
915
720
  declare const escapeRegExpSpecialCharacters: (text: string) => string;
916
- //#endregion
917
- //#region src/utils/remote-value.d.ts
918
- /**
919
- * RemoteValue class for deserializing LocalValue serialized objects back into their original form
920
- * @deprecated will be removed in v5. Use `@AttrDeserialize()` / `@PropDeserialize()` decorators instead.
921
- */
922
- declare class RemoteValue {
923
- /**
924
- * Deserializes a LocalValue serialized object back to its original JavaScript representation
925
- *
926
- * @param serialized The serialized LocalValue object
927
- * @returns The original JavaScript value/object
928
- */
929
- static fromLocalValue(serialized: ScriptLocalValue): any;
930
- /**
931
- * Utility method to deserialize multiple LocalValues at once
932
- *
933
- * @param serializedValues Array of serialized LocalValue objects
934
- * @returns Array of deserialized JavaScript values
935
- */
936
- static fromLocalValueArray(serializedValues: ScriptLocalValue[]): any[];
937
- /**
938
- * Verifies if the given object matches the structure of a serialized LocalValue
939
- *
940
- * @param obj Object to verify
941
- * @returns boolean indicating if the object has LocalValue structure
942
- */
943
- static isLocalValueObject(obj: any): boolean;
944
- }
945
721
  declare namespace result_d_exports {
946
722
  export { Result, err, map, ok, unwrap, unwrapErr };
947
723
  }
@@ -1057,31 +833,15 @@ declare const unwrap: <T, E>(result: Result<T, E>) => T;
1057
833
  */
1058
834
  declare const unwrapErr: <T, E>(result: Result<T, E>) => E;
1059
835
  //#endregion
1060
- //#region src/utils/serialize.d.ts
1061
- /**
1062
- * Serialize a value to a string that can be deserialized later.
1063
- * @param {unknown} value - The value to serialize.
1064
- * @returns {string} A string that can be deserialized later.
1065
- * @deprecated will be removed in v5. Use `@PropSerialize()` decorator instead.
1066
- */
1067
- declare function serializeProperty(value: unknown): string | number | boolean;
1068
- /**
1069
- * Deserialize a value from a string that was serialized earlier.
1070
- * @param {string} value - The string to deserialize.
1071
- * @returns {unknown} The deserialized value.
1072
- * @deprecated will be removed in v5. Use `@AttrDeserialize()` decorator instead.
1073
- */
1074
- declare function deserializeProperty(value: string): any;
1075
- //#endregion
1076
836
  //#region src/utils/sourcemaps.d.ts
1077
837
  /**
1078
- * Converts a rollup provided source map to one that Stencil can easily understand
1079
- * @param rollupSourceMap the sourcemap to transform
838
+ * Converts a rolldown provided source map to one that Stencil can easily understand
839
+ * @param rolldownSourceMap the sourcemap to transform
1080
840
  * @returns the transformed sourcemap
1081
841
  */
1082
- declare function rollupToStencilSourceMap(rollupSourceMap: null): null;
1083
- declare function rollupToStencilSourceMap(rollupSourceMap: undefined): null;
1084
- declare function rollupToStencilSourceMap(rollupSourceMap: SourceMap): SourceMap$1;
842
+ declare function rolldownToStencilSourceMap(rolldownSourceMap: null): null;
843
+ declare function rolldownToStencilSourceMap(rolldownSourceMap: undefined): null;
844
+ declare function rolldownToStencilSourceMap(rolldownSourceMap: SourceMap): SourceMap$1;
1085
845
  /**
1086
846
  * Generates a string used to link generated code with the original source, to be placed at the end of the generated
1087
847
  * code.
@@ -2075,7 +1835,7 @@ interface StencilConfig {
2075
1835
  */
2076
1836
  outputTargets?: OutputTarget[];
2077
1837
  /**
2078
- * The plugins config can be used to add your own rollup plugins.
1838
+ * The plugins config can be used to add your own rolldown plugins.
2079
1839
  * By default, Stencil does not come with Sass or PostCSS support.
2080
1840
  * However, either can be added using the plugin array.
2081
1841
  */
@@ -2110,27 +1870,14 @@ interface StencilConfig {
2110
1870
  */
2111
1871
  validatePrimaryPackageOutputTarget?: boolean;
2112
1872
  /**
2113
- * Passes custom configuration down to the "@rollup/plugin-commonjs" that Stencil uses under the hood.
2114
- * For further information: https://stenciljs.com/docs/module-bundling
2115
- */
2116
- commonjs?: BundlingConfig;
2117
- /**
2118
- * Passes custom configuration down to the "@rollup/plugin-node-resolve" that Stencil uses under the hood.
1873
+ * Passes custom configuration down to the "@rolldown/plugin-node-resolve" that Stencil uses under the hood.
2119
1874
  * For further information: https://stenciljs.com/docs/module-bundling
2120
1875
  */
2121
1876
  nodeResolve?: NodeResolveConfig;
2122
1877
  /**
2123
- * Passes custom configuration down to rollup itself, not all rollup options can be overridden.
2124
- */
2125
- rollupConfig?: RollupConfig;
2126
- /**
2127
- * Sets if the ES5 build should be generated or not. Stencil generates a modern build without ES5,
2128
- * whereas this setting to `true` will also create es5 builds for both dev and prod modes. Setting
2129
- * `buildEs5` to `prod` will only build ES5 in prod mode. Basically if the app does not need to run
2130
- * on legacy browsers (IE11 and Edge 18 and below), it's safe to not build ES5, which will also speed
2131
- * up build times. Defaults to `false`.
1878
+ * Passes custom configuration down to rolldown itself, not all rolldown options can be overridden.
2132
1879
  */
2133
- buildEs5?: boolean | 'prod';
1880
+ rolldownConfig?: RolldownConfig;
2134
1881
  /**
2135
1882
  * Sets if the JS browser files are minified or not. Stencil uses `terser` under the hood.
2136
1883
  * Defaults to `false` in dev mode and `true` in production mode.
@@ -2216,19 +1963,9 @@ interface StencilConfig {
2216
1963
  docs?: StencilDocsConfig;
2217
1964
  globalScript?: string;
2218
1965
  srcIndexHtml?: string;
2219
- /**
2220
- * Configuration for Stencil's integrated testing (Jest + Puppeteer).
2221
- *
2222
- * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
2223
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
2224
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
2225
- * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
2226
- * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
2227
- */
2228
- testing?: TestingConfig;
2229
1966
  maxConcurrentWorkers?: number;
2230
1967
  preamble?: string;
2231
- rollupPlugins?: {
1968
+ rolldownPlugins?: {
2232
1969
  before?: any[];
2233
1970
  after?: any[];
2234
1971
  };
@@ -2295,15 +2032,6 @@ interface StencilConfig {
2295
2032
  stencilCoreResolvedId?: string;
2296
2033
  }
2297
2034
  interface ConfigExtrasBase {
2298
- /**
2299
- * Experimental flag. Projects that use a Stencil library built using the `dist` output target may have trouble lazily
2300
- * loading components when using a bundler such as Vite or Parcel. Setting this flag to `true` will change how Stencil
2301
- * lazily loads components in a way that works with additional bundlers. Setting this flag to `true` will increase
2302
- * the size of the compiled output. Defaults to `false`.
2303
- * @deprecated This flag has been deprecated in favor of `enableImportInjection`, which provides the same
2304
- * functionality. `experimentalImportInjection` will be removed in a future major version of Stencil.
2305
- */
2306
- experimentalImportInjection?: boolean;
2307
2035
  /**
2308
2036
  * Projects that use a Stencil library built using the `dist` output target may have trouble lazily
2309
2037
  * loading components when using a bundler such as Vite or Parcel. Setting this flag to `true` will change how Stencil
@@ -2322,12 +2050,6 @@ interface ConfigExtrasBase {
2322
2050
  * Defaults to `false`.
2323
2051
  */
2324
2052
  initializeNextTick?: boolean;
2325
- /**
2326
- * Enables the tagNameTransform option of `defineCustomElements()`, so the component tagName
2327
- * can be customized at runtime. Defaults to `false`.
2328
- * @deprecated This option has been deprecated in favour of `setTagTransformer` and `transformTag`. It will be removed in a future major version of Stencil.
2329
- */
2330
- tagNameTransform?: boolean;
2331
2053
  /**
2332
2054
  * Adds `transformTag` calls to css strings and querySelector(All) calls
2333
2055
  */
@@ -2430,10 +2152,6 @@ interface Config extends StencilConfig {
2430
2152
  * Whether to generate service worker
2431
2153
  */
2432
2154
  generateServiceWorker?: boolean;
2433
- /**
2434
- * Whether e2e tests are being run
2435
- */
2436
- e2eTests?: boolean;
2437
2155
  /**
2438
2156
  * Dev server address override
2439
2157
  */
@@ -2492,7 +2210,7 @@ type RequireFields<T, K extends keyof T> = T & { [P in K]-?: T[P] };
2492
2210
  /**
2493
2211
  * Fields in {@link Config} to make required for {@link ValidatedConfig}
2494
2212
  */
2495
- type StrictConfigFields = keyof Pick<Config, 'buildEs5' | 'cacheDir' | 'devMode' | 'devServer' | 'extras' | 'fsNamespace' | 'hashFileNames' | 'hashedFileNameLength' | 'hydratedFlag' | 'logLevel' | 'logger' | 'minifyCss' | 'minifyJs' | 'namespace' | 'outputTargets' | 'packageJsonFilePath' | 'rollupConfig' | 'rootDir' | 'srcDir' | 'srcIndexHtml' | 'sys' | 'testing' | 'transformAliasedImportPaths' | 'validatePrimaryPackageOutputTarget'>;
2213
+ type StrictConfigFields = keyof Pick<Config, 'cacheDir' | 'devMode' | 'devServer' | 'extras' | 'fsNamespace' | 'hashFileNames' | 'hashedFileNameLength' | 'hydratedFlag' | 'logLevel' | 'logger' | 'minifyCss' | 'minifyJs' | 'namespace' | 'outputTargets' | 'packageJsonFilePath' | 'rolldownConfig' | 'rootDir' | 'srcDir' | 'srcIndexHtml' | 'sys' | 'transformAliasedImportPaths' | 'validatePrimaryPackageOutputTarget'>;
2496
2214
  /**
2497
2215
  * A version of {@link Config} that makes certain fields required. This type represents a valid configuration entity.
2498
2216
  * When a configuration is received by the user, it is a bag of unverified data. In order to make stricter guarantees
@@ -2543,8 +2261,7 @@ interface StencilDevServerConfig {
2543
2261
  * EXPERIMENTAL!
2544
2262
  * During development, node modules can be independently requested and bundled, making for
2545
2263
  * faster build times. This is only available using the Stencil Dev Server throughout
2546
- * development. Production builds and builds with the `es5` flag will override
2547
- * this setting to `false`. Default is `false`.
2264
+ * development. Production builds will override this setting to `false`. Default is `false`.
2548
2265
  */
2549
2266
  experimentalDevModules?: boolean;
2550
2267
  /**
@@ -3077,25 +2794,6 @@ interface CompilerSystem {
3077
2794
  */
3078
2795
  createWorkerController?(maxConcurrentWorkers: number): WorkerMainController;
3079
2796
  encodeToBase64(str: string): string;
3080
- /**
3081
- * @deprecated
3082
- */
3083
- ensureDependencies?(opts: {
3084
- rootDir: string;
3085
- logger: Logger;
3086
- dependencies: CompilerDependency[];
3087
- }): Promise<{
3088
- stencilPath: string;
3089
- diagnostics: Diagnostic$1[];
3090
- }>;
3091
- /**
3092
- * @deprecated
3093
- */
3094
- ensureResources?(opts: {
3095
- rootDir: string;
3096
- logger: Logger;
3097
- dependencies: CompilerDependency[];
3098
- }): Promise<void>;
3099
2797
  /**
3100
2798
  * process.exit()
3101
2799
  */
@@ -3669,15 +3367,6 @@ interface StencilDocsConfig {
3669
3367
  };
3670
3368
  };
3671
3369
  }
3672
- interface BundlingConfig {
3673
- /**
3674
- * @deprecated the `namedExports` field is no longer honored by `@rollup/plugin-commonjs` and is not used by Stencil.
3675
- * This field can be safely removed from your Stencil configuration file.
3676
- */
3677
- namedExports?: {
3678
- [key: string]: string[];
3679
- };
3680
- }
3681
3370
  interface NodeResolveConfig {
3682
3371
  exportConditions?: string[];
3683
3372
  browser?: boolean;
@@ -3692,31 +3381,12 @@ interface NodeResolveConfig {
3692
3381
  resolveOnly?: ReadonlyArray<string | RegExp> | null | ((module: string) => boolean);
3693
3382
  rootDir?: string;
3694
3383
  allowExportsFolderMapping?: boolean;
3695
- /**
3696
- * @see https://github.com/browserify/resolve#resolveid-opts-cb
3697
- * @deprecated the `customResolveOptions` field is no longer honored in future versions of
3698
- * `@rollup/plugin-node-resolve`. If you are currently using it, please open a new issue in the Stencil repo to
3699
- * describe your use case & provide input (https://github.com/stenciljs/core/issues/new/choose)
3700
- */
3701
- customResolveOptions?: {
3702
- basedir?: string;
3703
- package?: string;
3704
- extensions?: string[];
3705
- readFile?: Function;
3706
- isFile?: Function;
3707
- isDirectory?: Function;
3708
- packageFilter?: Function;
3709
- pathFilter?: Function;
3710
- paths?: Function | string[];
3711
- moduleDirectory?: string | string[];
3712
- preserveSymlinks?: boolean;
3713
- };
3714
3384
  }
3715
- interface RollupConfig {
3716
- inputOptions?: RollupInputOptions;
3717
- outputOptions?: RollupOutputOptions;
3385
+ interface RolldownConfig {
3386
+ inputOptions?: RolldownInputOptions;
3387
+ outputOptions?: RolldownOutputOptions;
3718
3388
  }
3719
- interface RollupInputOptions {
3389
+ interface RolldownInputOptions {
3720
3390
  context?: string;
3721
3391
  moduleContext?: ((id: string) => string) | {
3722
3392
  [id: string]: string;
@@ -3725,326 +3395,11 @@ interface RollupInputOptions {
3725
3395
  maxParallelFileOps?: number;
3726
3396
  external?: (string | RegExp)[] | string | RegExp | ((source: string, importer: string | undefined, isResolved: boolean) => boolean | null | undefined);
3727
3397
  }
3728
- interface RollupOutputOptions {
3398
+ interface RolldownOutputOptions {
3729
3399
  globals?: {
3730
3400
  [name: string]: string;
3731
3401
  } | ((name: string) => string);
3732
3402
  }
3733
- /**
3734
- * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
3735
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
3736
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
3737
- * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
3738
- * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
3739
- */
3740
- interface Testing {
3741
- run(opts: TestingRunOptions): Promise<boolean>;
3742
- destroy(): Promise<void>;
3743
- }
3744
- declare type Path = string;
3745
- declare type TransformerConfig = [string, Record<string, unknown>];
3746
- /**
3747
- * Options for initiating a run of Stencil tests (spec and/or end-to-end)
3748
- *
3749
- * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
3750
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
3751
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
3752
- * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
3753
- * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
3754
- */
3755
- interface TestingRunOptions {
3756
- /**
3757
- * If true, run end-to-end tests
3758
- */
3759
- e2e?: boolean;
3760
- /**
3761
- * If true, run screenshot tests
3762
- */
3763
- screenshot?: boolean;
3764
- /**
3765
- * If true, run spec tests
3766
- */
3767
- spec?: boolean;
3768
- /**
3769
- * If true, update 'golden' screenshots. Otherwise, compare against priori.
3770
- */
3771
- updateScreenshot?: boolean;
3772
- }
3773
- /**
3774
- * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
3775
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
3776
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
3777
- * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
3778
- * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
3779
- */
3780
- interface JestConfig {
3781
- /**
3782
- * This option tells Jest that all imported modules in your tests should be mocked automatically.
3783
- * All modules used in your tests will have a replacement implementation, keeping the API surface. Default: false
3784
- */
3785
- automock?: boolean;
3786
- /**
3787
- * By default, Jest runs all tests and produces all errors into the console upon completion.
3788
- * The bail config option can be used here to have Jest stop running tests after the first failure. Default: false
3789
- */
3790
- bail?: boolean | number;
3791
- /**
3792
- * The directory where Jest should store its cached dependency information. Jest attempts to scan your dependency tree once (up-front)
3793
- * and cache it in order to ease some of the filesystem raking that needs to happen while running tests. This config option lets you
3794
- * customize where Jest stores that cache data on disk. Default: "/tmp/<path>"
3795
- */
3796
- cacheDirectory?: string;
3797
- /**
3798
- * Automatically clear mock calls and instances between every test. Equivalent to calling jest.clearAllMocks()
3799
- * between each test. This does not remove any mock implementation that may have been provided. Default: false
3800
- */
3801
- clearMocks?: boolean;
3802
- /**
3803
- * Indicates whether the coverage information should be collected while executing the test. Because this retrofits all
3804
- * executed files with coverage collection statements, it may significantly slow down your tests. Default: false
3805
- */
3806
- collectCoverage?: boolean;
3807
- /**
3808
- * An array of glob patterns indicating a set of files for which coverage information should be collected.
3809
- * If a file matches the specified glob pattern, coverage information will be collected for it even if no tests exist
3810
- * for this file and it's never required in the test suite. Default: undefined
3811
- */
3812
- collectCoverageFrom?: any[];
3813
- /**
3814
- * The directory where Jest should output its coverage files. Default: undefined
3815
- */
3816
- coverageDirectory?: string;
3817
- /**
3818
- * An array of regexp pattern strings that are matched against all file paths before executing the test. If the file path matches
3819
- * any of the patterns, coverage information will be skipped. These pattern strings match against the full path.
3820
- * Use the <rootDir> string token to include the path to your project's root directory to prevent it from accidentally
3821
- * ignoring all of your files in different environments that may have different root directories.
3822
- * Example: ["<rootDir>/build/", "<rootDir>/node_modules/"]. Default: ["/node_modules/"]
3823
- */
3824
- coveragePathIgnorePatterns?: any[];
3825
- /**
3826
- * A list of reporter names that Jest uses when writing coverage reports. Any istanbul reporter can be used.
3827
- * Default: `["json", "lcov", "text"]`
3828
- */
3829
- coverageReporters?: any[];
3830
- /**
3831
- * This will be used to configure minimum threshold enforcement for coverage results. Thresholds can be specified as global,
3832
- * as a glob, and as a directory or file path. If thresholds aren't met, jest will fail. Thresholds specified as a positive
3833
- * number are taken to be the minimum percentage required. Thresholds specified as a negative number represent the maximum
3834
- * number of uncovered entities allowed. Default: undefined
3835
- */
3836
- coverageThreshold?: any;
3837
- errorOnDeprecated?: boolean;
3838
- forceCoverageMatch?: any[];
3839
- globals?: any;
3840
- globalSetup?: string;
3841
- globalTeardown?: string;
3842
- /**
3843
- * An array of directory names to be searched recursively up from the requiring module's location. Setting this option will
3844
- * override the default, if you wish to still search node_modules for packages include it along with any other
3845
- * options: ["node_modules", "bower_components"]. Default: ["node_modules"]
3846
- */
3847
- moduleDirectories?: string[];
3848
- /**
3849
- * An array of file extensions your modules use. If you require modules without specifying a file extension,
3850
- * these are the extensions Jest will look for. Default: ['ts', 'tsx', 'js', 'json']
3851
- */
3852
- moduleFileExtensions?: string[];
3853
- moduleNameMapper?: any;
3854
- modulePaths?: any[];
3855
- modulePathIgnorePatterns?: any[];
3856
- notify?: boolean;
3857
- notifyMode?: string;
3858
- preset?: string;
3859
- prettierPath?: string;
3860
- projects?: any;
3861
- reporters?: any;
3862
- resetMocks?: boolean;
3863
- resetModules?: boolean;
3864
- resolver?: Path | null;
3865
- restoreMocks?: boolean;
3866
- rootDir?: string;
3867
- roots?: any[];
3868
- runner?: string;
3869
- /**
3870
- * The paths to modules that run some code to configure or set up the testing environment before each test.
3871
- * Since every test runs in its own environment, these scripts will be executed in the testing environment
3872
- * immediately before executing the test code itself. Default: []
3873
- */
3874
- setupFiles?: string[];
3875
- setupFilesAfterEnv?: string[];
3876
- snapshotSerializers?: any[];
3877
- testEnvironment?: string;
3878
- testEnvironmentOptions?: any;
3879
- testMatch?: string[];
3880
- testPathIgnorePatterns?: string[];
3881
- testPreset?: string;
3882
- testRegex?: string[];
3883
- testResultsProcessor?: string;
3884
- testRunner?: string;
3885
- testURL?: string;
3886
- timers?: string;
3887
- transform?: {
3888
- [regex: string]: Path | TransformerConfig;
3889
- };
3890
- transformIgnorePatterns?: any[];
3891
- unmockedModulePathPatterns?: any[];
3892
- verbose?: boolean;
3893
- watchPathIgnorePatterns?: any[];
3894
- }
3895
- /**
3896
- * Configuration for Stencil's integrated testing (Jest + Puppeteer).
3897
- *
3898
- * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
3899
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
3900
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
3901
- * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
3902
- * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
3903
- */
3904
- interface TestingConfig extends JestConfig {
3905
- /**
3906
- * The `allowableMismatchedPixels` value is used to determine an acceptable
3907
- * number of pixels that can be mismatched before the image is considered
3908
- * to have changes. Realistically, two screenshots representing the same
3909
- * content may have a small number of pixels that are not identical due to
3910
- * anti-aliasing, which is perfectly normal. If the `allowableMismatchedRatio`
3911
- * is provided it will take precedence, otherwise `allowableMismatchedPixels`
3912
- * will be used.
3913
- */
3914
- allowableMismatchedPixels?: number;
3915
- /**
3916
- * The `allowableMismatchedRatio` ranges from `0` to `1` and is used to
3917
- * determine an acceptable ratio of pixels that can be mismatched before
3918
- * the image is considered to have changes. Realistically, two screenshots
3919
- * representing the same content may have a small number of pixels that
3920
- * are not identical due to anti-aliasing, which is perfectly normal. The
3921
- * `allowableMismatchedRatio` is the number of pixels that were mismatched,
3922
- * divided by the total number of pixels in the screenshot. For example,
3923
- * a ratio value of `0.06` means 6% of the pixels can be mismatched before
3924
- * the image is considered to have changes. If the `allowableMismatchedRatio`
3925
- * is provided it will take precedence, otherwise `allowableMismatchedPixels`
3926
- * will be used.
3927
- */
3928
- allowableMismatchedRatio?: number;
3929
- /**
3930
- * Matching threshold while comparing two screenshots. Value ranges from `0` to `1`.
3931
- * Smaller values make the comparison more sensitive. The `pixelmatchThreshold`
3932
- * value helps to ignore anti-aliasing. Default: `0.1`
3933
- */
3934
- pixelmatchThreshold?: number;
3935
- /**
3936
- * Additional arguments to pass to the browser instance.
3937
- */
3938
- browserArgs?: string[];
3939
- /**
3940
- * Path to a Chromium or Chrome executable to run instead of the bundled Chromium.
3941
- * @default env.PUPPETEER_EXECUTABLE_PATH || env.CHROME_PATH || puppeteer.computeExecutablePath()
3942
- */
3943
- browserExecutablePath?: string;
3944
- /**
3945
- * Url of remote Chrome instance to use instead of local Chrome.
3946
- */
3947
- browserWSEndpoint?: string;
3948
- /**
3949
- * The browser channel to use for e2e tests (stable, beta, dev or canary).
3950
- * @default 'chrome'
3951
- */
3952
- browserChannel?: 'chrome' | 'chrome-beta' | 'chrome-dev' | 'chrome-canary';
3953
- /**
3954
- * Whether to run browser e2e tests in headless mode using Chrome Headless Shell
3955
- * @see https://developer.chrome.com/blog/chrome-headless-shell
3956
- * @default shell
3957
- */
3958
- browserHeadless?: boolean | 'shell';
3959
- /**
3960
- * Slows down e2e browser operations by the specified amount of milliseconds.
3961
- * Useful so that you can see what is going on.
3962
- */
3963
- browserSlowMo?: number;
3964
- /**
3965
- * By default, all E2E pages wait until the "load" event, this global setting can be used
3966
- * to change the default `waitUntil` behavior.
3967
- */
3968
- browserWaitUntil?: 'load' | 'domcontentloaded' | 'networkidle0' | 'networkidle2';
3969
- /**
3970
- * Whether to auto-open a DevTools panel for each tab.
3971
- * If this option is true, the headless option will be set false
3972
- */
3973
- browserDevtools?: boolean;
3974
- /**
3975
- * Array of browser emulations to be used during _screenshot_ tests. A full screenshot
3976
- * test is ran for each emulation.
3977
- *
3978
- * To emulate a device display for your e2e tests, use the `setViewport` method on a test's E2E page.
3979
- * An example can be found in [the Stencil docs](https://stenciljs.com/docs/end-to-end-testing#emulate-a-display).
3980
- */
3981
- emulate?: EmulateConfig[];
3982
- /**
3983
- * Path to the Screenshot Connector module.
3984
- */
3985
- screenshotConnector?: string;
3986
- /**
3987
- * Timeout for the pixelmatch worker to resolve (in ms).
3988
- * @default 2500
3989
- */
3990
- screenshotTimeout?: number | null;
3991
- /**
3992
- * Amount of time in milliseconds to wait before a screenshot is taken.
3993
- */
3994
- waitBeforeScreenshot?: number;
3995
- }
3996
- /**
3997
- * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
3998
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
3999
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
4000
- * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
4001
- * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
4002
- */
4003
- interface EmulateConfig {
4004
- /**
4005
- * Predefined device descriptor name, such as "iPhone X" or "Nexus 10".
4006
- * For a complete list please see: https://github.com/puppeteer/puppeteer/blob/main/src/common/DeviceDescriptors.ts
4007
- */
4008
- device?: string;
4009
- /**
4010
- * User-Agent to be used. Defaults to the user-agent of the installed Puppeteer version.
4011
- */
4012
- userAgent?: string;
4013
- viewport?: EmulateViewport;
4014
- }
4015
- /**
4016
- * @deprecated Integrated testing support will be removed in Stencil v5. Migrate spec tests to
4017
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) and e2e / browser tests to either
4018
- * [`@stencil/vitest`](https://github.com/stenciljs/vitest) or
4019
- * [`@stencil/playwright`](https://github.com/stenciljs/playwright).
4020
- * See https://github.com/stenciljs/core/issues/6584 for full discussion and migration guidance.
4021
- */
4022
- interface EmulateViewport {
4023
- /**
4024
- * Page width in pixels.
4025
- */
4026
- width: number;
4027
- /**
4028
- * page height in pixels.
4029
- */
4030
- height: number;
4031
- /**
4032
- * Specify device scale factor (can be thought of as dpr). Defaults to 1.
4033
- */
4034
- deviceScaleFactor?: number;
4035
- /**
4036
- * Whether the meta viewport tag is taken into account. Defaults to false.
4037
- */
4038
- isMobile?: boolean;
4039
- /**
4040
- * Specifies if viewport supports touch events. Defaults to false
4041
- */
4042
- hasTouch?: boolean;
4043
- /**
4044
- * Specifies if viewport is in landscape mode. Defaults to false.
4045
- */
4046
- isLandscape?: boolean;
4047
- }
4048
3403
  /**
4049
3404
  * This sets the log level hierarchy for our terminal logger, ranging from
4050
3405
  * most to least verbose.
@@ -4144,8 +3499,16 @@ interface OutputTargetDist extends OutputTargetValidationConfig {
4144
3499
  */
4145
3500
  esmLoaderPath?: string;
4146
3501
  copy?: CopyTask[];
4147
- polyfills?: boolean;
4148
3502
  empty?: boolean;
3503
+ /**
3504
+ * Whether to generate CommonJS (CJS) bundles.
3505
+ *
3506
+ * When `true`, generates CJS output in `dist/cjs/` and `dist/index.cjs.js`.
3507
+ * When `false` (default in v5+), only ESM bundles are generated.
3508
+ *
3509
+ * @default false
3510
+ */
3511
+ cjs?: boolean;
4149
3512
  }
4150
3513
  interface OutputTargetDistCollection extends OutputTargetValidationConfig {
4151
3514
  type: 'dist-collection';
@@ -4182,15 +3545,10 @@ interface OutputTargetDistLazy extends OutputTargetBase {
4182
3545
  type: 'dist-lazy';
4183
3546
  dir?: string;
4184
3547
  esmDir?: string;
4185
- esmEs5Dir?: string;
4186
- systemDir?: string;
4187
3548
  cjsDir?: string;
4188
- polyfills?: boolean;
4189
3549
  isBrowserBuild?: boolean;
4190
3550
  esmIndexFile?: string;
4191
3551
  cjsIndexFile?: string;
4192
- systemLoaderFile?: string;
4193
- legacyLoaderFile?: string;
4194
3552
  empty?: boolean;
4195
3553
  }
4196
3554
  interface OutputTargetDistGlobalStyles extends OutputTargetBase {
@@ -4201,21 +3559,13 @@ interface OutputTargetDistLazyLoader extends OutputTargetBase {
4201
3559
  type: 'dist-lazy-loader';
4202
3560
  dir: string;
4203
3561
  esmDir: string;
4204
- esmEs5Dir?: string;
4205
- cjsDir: string;
3562
+ cjsDir?: string;
4206
3563
  componentDts: string;
4207
3564
  empty: boolean;
4208
3565
  }
4209
3566
  interface OutputTargetHydrate extends OutputTargetBase {
4210
3567
  type: 'dist-hydrate-script';
4211
3568
  dir?: string;
4212
- /**
4213
- * Whether to generate a package.json file in the hydrate output directory.
4214
- * Defaults to `true`
4215
- * @deprecated
4216
- * In the next major release, the `package.json` file will be completely removed from the `dist-hydrate-script` output (use `exports` from your library's main `package.json`)
4217
- */
4218
- generatePackageJson?: boolean;
4219
3569
  /**
4220
3570
  * Module IDs that should not be bundled into the script.
4221
3571
  * By default, all node builtin's, such as `fs` or `path`
@@ -4224,6 +3574,15 @@ interface OutputTargetHydrate extends OutputTargetBase {
4224
3574
  external?: string[];
4225
3575
  empty?: boolean;
4226
3576
  minify?: boolean;
3577
+ /**
3578
+ * Whether to generate CommonJS (CJS) bundles.
3579
+ *
3580
+ * When `true`, generates CJS output as `index.cjs` alongside ESM `index.js`.
3581
+ * When `false` (default in v5+), only ESM bundles are generated.
3582
+ *
3583
+ * @default false
3584
+ */
3585
+ cjs?: boolean;
4227
3586
  }
4228
3587
  interface OutputTargetCustom extends OutputTargetBase {
4229
3588
  type: 'custom';
@@ -4481,12 +3840,6 @@ interface OutputTargetWww extends OutputTargetBase {
4481
3840
  * Default: `/`
4482
3841
  */
4483
3842
  baseUrl?: string;
4484
- /**
4485
- * By default, stencil will include all the polyfills required by legacy browsers in the ES5 build.
4486
- * If it's `false`, stencil will not emit this polyfills anymore and it's your responsibility to provide them before
4487
- * stencil initializes.
4488
- */
4489
- polyfills?: boolean;
4490
3843
  /**
4491
3844
  * Path to an external node module which has exports of the prerender config object.
4492
3845
  * ```
@@ -4602,8 +3955,8 @@ interface WorkerOptions {
4602
3955
  maxConcurrentTasksPerWorker?: number;
4603
3956
  logger?: Logger;
4604
3957
  }
4605
- interface RollupInterface {
4606
- rollup: {
3958
+ interface RolldownInterface {
3959
+ rolldown: {
4607
3960
  (config: any): Promise<any>;
4608
3961
  };
4609
3962
  plugins: {
@@ -4644,14 +3997,26 @@ interface OptimizeCssInput {
4644
3997
  resolveUrl?: (url: string) => Promise<string> | string;
4645
3998
  }
4646
3999
  /**
4647
- * This is not a real interface describing the options which can
4648
- * be passed to autoprefixer, for that see the docs, here:
4649
- * https://github.com/postcss/autoprefixer#options
4000
+ * Options for autoprefixing CSS via Lightning CSS.
4001
+ *
4002
+ * The `targets` field accepts a browserslist query array. When omitted,
4003
+ * Stencil uses a modern default browser list suitable for Stencil v5+.
4650
4004
  *
4651
- * Instead, this basically just serves as a label type to track
4652
- * that arguments are being passed consistently.
4005
+ * @example
4006
+ * ```ts
4007
+ * autoprefixer: {
4008
+ * targets: ['last 2 Chrome versions', 'last 2 Safari versions', 'iOS >= 14'],
4009
+ * }
4010
+ * ```
4653
4011
  */
4654
- type AutoprefixerOptions = object;
4012
+ interface AutoprefixerOptions {
4013
+ /**
4014
+ * A browserslist query array describing which browsers to generate vendor
4015
+ * prefixes for. Defaults to a modern set of browsers appropriate for
4016
+ * Stencil v5+.
4017
+ */
4018
+ targets?: string[];
4019
+ }
4655
4020
  /**
4656
4021
  * Output from CSS optimization functions, wrapping up optimized
4657
4022
  * CSS and any diagnostics produced during optimization.
@@ -4663,7 +4028,7 @@ interface OptimizeCssOutput {
4663
4028
  interface OptimizeJsInput {
4664
4029
  input: string;
4665
4030
  filePath?: string;
4666
- target?: 'es5' | 'latest';
4031
+ target?: 'latest';
4667
4032
  pretty?: boolean;
4668
4033
  sourceMap?: boolean;
4669
4034
  }
@@ -4677,56 +4042,6 @@ interface LazyRequire {
4677
4042
  require(fromDir: string, moduleId: string): any;
4678
4043
  getModulePath(fromDir: string, moduleId: string): string;
4679
4044
  }
4680
- /**
4681
- * @deprecated This interface is no longer used by Stencil
4682
- * TODO(STENCIL-743): Remove this interface
4683
- */
4684
- interface FsWatcherItem {
4685
- close(): void;
4686
- }
4687
- /**
4688
- * @deprecated This interface is no longer used by Stencil
4689
- * TODO(STENCIL-743): Remove this interface
4690
- */
4691
- interface MakeDirectoryOptions {
4692
- /**
4693
- * Indicates whether parent folders should be created.
4694
- * @default false
4695
- */
4696
- recursive?: boolean;
4697
- /**
4698
- * A file mode. If a string is passed, it is parsed as an octal integer. If not specified
4699
- * @default 0o777.
4700
- */
4701
- mode?: number;
4702
- }
4703
- /**
4704
- * @deprecated This interface is no longer used by Stencil
4705
- * TODO(STENCIL-743): Remove this interface
4706
- */
4707
- interface FsStats {
4708
- isFile(): boolean;
4709
- isDirectory(): boolean;
4710
- isBlockDevice(): boolean;
4711
- isCharacterDevice(): boolean;
4712
- isSymbolicLink(): boolean;
4713
- isFIFO(): boolean;
4714
- isSocket(): boolean;
4715
- dev: number;
4716
- ino: number;
4717
- mode: number;
4718
- nlink: number;
4719
- uid: number;
4720
- gid: number;
4721
- rdev: number;
4722
- size: number;
4723
- blksize: number;
4724
- blocks: number;
4725
- atime: Date;
4726
- mtime: Date;
4727
- ctime: Date;
4728
- birthtime: Date;
4729
- }
4730
4045
  interface Compiler {
4731
4046
  build(): Promise<CompilerBuildResults>;
4732
4047
  createWatcher(): Promise<CompilerWatcher>;
@@ -4808,8 +4123,8 @@ interface TranspileOptions {
4808
4123
  */
4809
4124
  styleImportData?: 'queryparams' | string | undefined;
4810
4125
  /**
4811
- * The JavaScript source target TypeScript should to transpile to. Values can be
4812
- * `latest`, `esnext`, `es2017`, `es2015`, or `es5`. Defaults to `latest`.
4126
+ * The JavaScript source target TypeScript should transpile to. Values can be
4127
+ * `latest`, `esnext`, `es2020`, `es2017`, or `es2015`. Defaults to `latest`.
4813
4128
  */
4814
4129
  target?: CompileTarget;
4815
4130
  /**
@@ -4858,8 +4173,29 @@ interface TranspileOptions {
4858
4173
  * Adds `transformTag` calls to css strings and querySelector(All) calls
4859
4174
  */
4860
4175
  additionalTagTransformers?: boolean;
4176
+ /**
4177
+ * A map of virtual file paths to source text for modules that the component
4178
+ * under transpilation extends from. When provided, `transpile()` builds a
4179
+ * minimal multi-file TypeScript program from these sources so that
4180
+ * {@link https://stenciljs.com/docs/component-lifecycle inheritance chains}
4181
+ * can be resolved without requiring the parent files to exist on disk.
4182
+ *
4183
+ * Keys are the same import paths used in the component's `import` statements
4184
+ * (relative paths are resolved against `currentDirectory`). Values are the
4185
+ * TypeScript/JavaScript source text of that module.
4186
+ *
4187
+ * @example
4188
+ * ```ts
4189
+ * transpile(myComponentCode, {
4190
+ * extraFiles: {
4191
+ * './base-component.ts': baseComponentSourceText,
4192
+ * },
4193
+ * });
4194
+ * ```
4195
+ */
4196
+ extraFiles?: Record<string, string>;
4861
4197
  }
4862
- type CompileTarget = 'latest' | 'esnext' | 'es2020' | 'es2019' | 'es2018' | 'es2017' | 'es2015' | 'es5' | string | undefined;
4198
+ type CompileTarget = 'latest' | 'esnext' | 'es2020' | 'es2019' | 'es2018' | 'es2017' | 'es2015' | string | undefined;
4863
4199
  interface TranspileResults {
4864
4200
  code: string;
4865
4201
  data?: any[];
@@ -4884,6 +4220,10 @@ interface TransformOptions {
4884
4220
  style: 'static' | null;
4885
4221
  styleImportData: 'queryparams' | null;
4886
4222
  target?: string;
4223
+ /**
4224
+ * @see {@link TranspileOptions.extraFiles}
4225
+ */
4226
+ extraFiles?: Record<string, string>;
4887
4227
  }
4888
4228
  interface CompileScriptMinifyOptions {
4889
4229
  target?: CompileTarget;
@@ -4960,6 +4300,7 @@ interface BuildFeatures {
4960
4300
  formAssociated: boolean;
4961
4301
  shadowDom: boolean;
4962
4302
  shadowDelegatesFocus: boolean;
4303
+ shadowModeClosed: boolean;
4963
4304
  shadowSlotAssignmentManual: boolean;
4964
4305
  scoped: boolean;
4965
4306
  /**
@@ -4982,6 +4323,10 @@ interface BuildFeatures {
4982
4323
  vdomText: boolean;
4983
4324
  vdomXlink: boolean;
4984
4325
  slotRelocation: boolean;
4326
+ patchAll: boolean;
4327
+ patchChildren: boolean;
4328
+ patchClone: boolean;
4329
+ patchInsert: boolean;
4985
4330
  slot: boolean;
4986
4331
  svg: boolean;
4987
4332
  element: boolean;
@@ -4990,10 +4335,6 @@ interface BuildFeatures {
4990
4335
  hostListenerTargetWindow: boolean;
4991
4336
  hostListenerTargetDocument: boolean;
4992
4337
  hostListenerTargetBody: boolean;
4993
- /**
4994
- * @deprecated Prevented from new apps, but left in for older collections
4995
- */
4996
- hostListenerTargetParent: boolean;
4997
4338
  hostListenerTarget: boolean;
4998
4339
  method: boolean;
4999
4340
  prop: boolean;
@@ -5037,7 +4378,6 @@ interface BuildConditionals extends Partial<BuildFeatures> {
5037
4378
  initializeNextTick?: boolean;
5038
4379
  shadowDomShim?: boolean;
5039
4380
  asyncQueue?: boolean;
5040
- transformTagName?: boolean;
5041
4381
  additionalTagTransformers?: boolean | 'prod';
5042
4382
  attachStyles?: boolean;
5043
4383
  experimentalSlotFixes?: boolean;
@@ -5045,11 +4385,11 @@ interface BuildConditionals extends Partial<BuildFeatures> {
5045
4385
  addGlobalStyleToComponents?: boolean | 'client';
5046
4386
  }
5047
4387
  type ModuleFormat = 'amd' | 'cjs' | 'es' | 'iife' | 'system' | 'umd' | 'commonjs' | 'esm' | 'module' | 'systemjs';
5048
- interface RollupResultModule {
4388
+ interface RolldownResultModule {
5049
4389
  id: string;
5050
4390
  }
5051
- interface RollupResults {
5052
- modules: RollupResultModule[];
4391
+ interface RolldownResults {
4392
+ modules: RolldownResultModule[];
5053
4393
  }
5054
4394
  interface UpdatedLazyBuildCtx {
5055
4395
  name: 'esm-browser' | 'esm' | 'cjs' | 'system';
@@ -5067,8 +4407,6 @@ interface BuildCtx {
5067
4407
  compilerCtx: CompilerCtx;
5068
4408
  esmBrowserComponentBundle: ReadonlyArray<BundleModule>;
5069
4409
  esmComponentBundle: ReadonlyArray<BundleModule>;
5070
- es5ComponentBundle: ReadonlyArray<BundleModule>;
5071
- systemComponentBundle: ReadonlyArray<BundleModule>;
5072
4410
  commonJsComponentBundle: ReadonlyArray<BundleModule>;
5073
4411
  components: ComponentCompilerMeta[];
5074
4412
  componentGraph: Map<string, string[]>;
@@ -5107,7 +4445,7 @@ interface BuildCtx {
5107
4445
  pendingCopyTasks: Promise<CopyResults>[];
5108
4446
  progress(task: BuildTask): void;
5109
4447
  requiresFullBuild: boolean;
5110
- rollupResults?: RollupResults;
4448
+ rolldownResults?: RolldownResults;
5111
4449
  scriptsAdded: string[];
5112
4450
  scriptsDeleted: string[];
5113
4451
  startTime: number;
@@ -5149,18 +4487,15 @@ interface CompilerBuildStats {
5149
4487
  minifyCss: boolean;
5150
4488
  hashFileNames: boolean;
5151
4489
  hashedFileNameLength: number;
5152
- buildEs5: boolean | 'prod';
5153
4490
  };
5154
4491
  formats: {
5155
4492
  esmBrowser: ReadonlyArray<CompilerBuildStatBundle>;
5156
4493
  esm: ReadonlyArray<CompilerBuildStatBundle>;
5157
- es5: ReadonlyArray<CompilerBuildStatBundle>;
5158
- system: ReadonlyArray<CompilerBuildStatBundle>;
5159
4494
  commonjs: ReadonlyArray<CompilerBuildStatBundle>;
5160
4495
  };
5161
4496
  components: BuildComponent[];
5162
4497
  entries: EntryModule[];
5163
- rollupResults: RollupResults;
4498
+ rolldownResults: RolldownResults;
5164
4499
  sourceGraph?: BuildSourceGraph;
5165
4500
  componentGraph: BuildResultsComponentGraph;
5166
4501
  collections: CompilerBuildStatCollection[];
@@ -5186,20 +4521,20 @@ interface BuildComponent {
5186
4521
  dependencyOf?: string[];
5187
4522
  dependencies?: string[];
5188
4523
  }
5189
- type SourceTarget = 'es5' | 'es2017' | 'latest';
4524
+ type SourceTarget = 'es2017' | 'latest';
5190
4525
  /**
5191
- * A note regarding Rollup types:
4526
+ * A note regarding Rolldown types:
5192
4527
  * As of this writing, there is no great way to import external types for packages that are directly embedded in the
5193
- * Stencil source. As a result, some types are duplicated here for Rollup that will be used within the codebase.
5194
- * Updates to rollup may require these typings to be updated.
4528
+ * Stencil source. As a result, some types are duplicated here for Rolldown that will be used within the codebase.
4529
+ * Updates to rolldown may require these typings to be updated.
5195
4530
  */
5196
- type RollupResult = RollupChunkResult | RollupAssetResult;
5197
- interface RollupAssetResult {
4531
+ type RolldownResult = RolldownChunkResult | RolldownAssetResult;
4532
+ interface RolldownAssetResult {
5198
4533
  type: 'asset';
5199
4534
  fileName: string;
5200
4535
  content: string;
5201
4536
  }
5202
- interface RollupChunkResult {
4537
+ interface RolldownChunkResult {
5203
4538
  type: 'chunk';
5204
4539
  entryKey: string;
5205
4540
  fileName: string;
@@ -5211,9 +4546,9 @@ interface RollupChunkResult {
5211
4546
  isBrowserLoader: boolean;
5212
4547
  imports: string[];
5213
4548
  moduleFormat: ModuleFormat;
5214
- map?: RollupSourceMap;
4549
+ map?: RolldownSourceMap;
5215
4550
  }
5216
- interface RollupSourceMap {
4551
+ interface RolldownSourceMap {
5217
4552
  file: string;
5218
4553
  mappings: string;
5219
4554
  names: string[];
@@ -5233,7 +4568,7 @@ type OptimizeJsResult = {
5233
4568
  };
5234
4569
  interface BundleModule {
5235
4570
  entryKey: string;
5236
- rollupResult: RollupChunkResult;
4571
+ rolldownResult: RolldownChunkResult;
5237
4572
  cmps: ComponentCompilerMeta[];
5238
4573
  output: BundleModuleOutput;
5239
4574
  }
@@ -5302,6 +4637,25 @@ interface CollectionDependencyData {
5302
4637
  name: string;
5303
4638
  tags: string[];
5304
4639
  }
4640
+ /**
4641
+ * A memoized result of the SASS + Lightning CSS transformation for a single stylesheet, keyed by
4642
+ * the annotated Rolldown import id (e.g. `/path/to/comp.scss?tag=ion-button&encapsulation=shadow`).
4643
+ *
4644
+ * Storing this allows all output targets (customElements, lazy, hydrate) that process the same
4645
+ * stylesheets to share a single computation instead of repeating it N times.
4646
+ */
4647
+ interface CssTransformCacheEntry {
4648
+ /** Resolved file ID after plugin (SASS) transforms */
4649
+ pluginTransformId: string;
4650
+ /** CSS source produced by the SASS / plugin pipeline */
4651
+ pluginTransformCode: string;
4652
+ /** File dependencies discovered during the SASS transform (e.g. `@import`-ed partials) */
4653
+ pluginTransformDependencies: string[];
4654
+ /** Diagnostics emitted during the plugin transform pass */
4655
+ pluginTransformDiagnostics: Diagnostic$1[];
4656
+ /** Full output of the subsequent `transformCssToEsm` call */
4657
+ cssTransformOutput: TransformCssToEsmOutput;
4658
+ }
5305
4659
  interface CompilerCtx {
5306
4660
  version: number;
5307
4661
  activeBuildId: number;
@@ -5328,14 +4682,24 @@ interface CompilerCtx {
5328
4682
  moduleMap: ModuleMap;
5329
4683
  nodeMap: NodeMap;
5330
4684
  resolvedCollections: Set<string>;
5331
- rollupCacheHydrate: any;
5332
- rollupCacheLazy: any;
5333
- rollupCacheNative: any;
4685
+ rolldownCacheHydrate: any;
4686
+ rolldownCacheLazy: any;
4687
+ rolldownCacheNative: any;
5334
4688
  styleModeNames: Set<string>;
5335
4689
  changedModules: Set<string>;
5336
4690
  changedFiles: Set<string>;
5337
4691
  worker?: CompilerWorkerContext;
5338
- rollupCache: Map<string, any>;
4692
+ rolldownCache: Map<string, any>;
4693
+ /**
4694
+ * Cross-output-target cache for the SASS + Lightning CSS computation.
4695
+ * Keyed by the annotated Rolldown import id. Null entries indicate that the
4696
+ * source file could not be read (propagated as a `null` return from the
4697
+ * transform hook).
4698
+ *
4699
+ * Entries are invalidated in `invalidateRolldownCaches` whenever a
4700
+ * source file or one of its SASS dependencies is modified.
4701
+ */
4702
+ cssTransformCache: Map<string, CssTransformCacheEntry | null>;
5339
4703
  reset(): void;
5340
4704
  }
5341
4705
  type NodeMap = WeakMap<any, ComponentCompilerMeta>;
@@ -5366,14 +4730,14 @@ interface ComponentCompilerFeatures {
5366
4730
  hasListenerTargetWindow: boolean;
5367
4731
  hasListenerTargetDocument: boolean;
5368
4732
  hasListenerTargetBody: boolean;
5369
- /**
5370
- * @deprecated Prevented from new apps, but left in for older collections
5371
- */
5372
- hasListenerTargetParent: boolean;
5373
4733
  hasMember: boolean;
5374
4734
  hasMethod: boolean;
5375
4735
  hasMode: boolean;
5376
4736
  hasModernPropertyDecls: boolean;
4737
+ hasPatchAll: boolean;
4738
+ hasPatchChildren: boolean;
4739
+ hasPatchClone: boolean;
4740
+ hasPatchInsert: boolean;
5377
4741
  hasProp: boolean;
5378
4742
  hasPropBoolean: boolean;
5379
4743
  hasPropNumber: boolean;
@@ -5472,11 +4836,22 @@ interface ComponentCompilerMeta extends ComponentCompilerFeatures {
5472
4836
  properties: ComponentCompilerProperty[];
5473
4837
  serializers: ComponentCompilerChangeHandler[];
5474
4838
  shadowDelegatesFocus: boolean;
4839
+ /**
4840
+ * Shadow DOM mode. 'open' (default) or 'closed'.
4841
+ * Only applicable when encapsulation is 'shadow'.
4842
+ */
4843
+ shadowMode: 'open' | 'closed' | null;
5475
4844
  /**
5476
4845
  * Slot assignment mode for shadow DOM. 'manual', enables imperative slotting
5477
4846
  * using HTMLSlotElement.assign(). Only applicable when encapsulation is 'shadow'.
5478
4847
  */
5479
4848
  slotAssignment: 'manual' | null;
4849
+ /**
4850
+ * Per-component slot patches for non-shadow DOM components.
4851
+ * These patches enable proper slot behavior without native Shadow DOM.
4852
+ * Only applicable when encapsulation is 'none' or 'scoped'.
4853
+ */
4854
+ patches: ComponentPatches | null;
5480
4855
  sourceFilePath: string;
5481
4856
  sourceMapPath: string;
5482
4857
  states: ComponentCompilerState[];
@@ -5493,6 +4868,20 @@ interface ComponentCompilerMeta extends ComponentCompilerFeatures {
5493
4868
  * 3. 'none' - a basic HTML element
5494
4869
  */
5495
4870
  type Encapsulation = 'shadow' | 'scoped' | 'none';
4871
+ /**
4872
+ * Per-component slot patches for non-shadow DOM components.
4873
+ * These enable proper slot behavior when not using native Shadow DOM.
4874
+ */
4875
+ interface ComponentPatches {
4876
+ /** Apply all slot patches (equivalent to experimentalSlotFixes) */
4877
+ all?: boolean;
4878
+ /** Patch child node accessors (children, firstChild, lastChild, etc.) */
4879
+ children?: boolean;
4880
+ /** Patch cloneNode() to handle slotted content */
4881
+ clone?: boolean;
4882
+ /** Patch appendChild(), insertBefore(), etc. for slot relocation */
4883
+ insert?: boolean;
4884
+ }
5496
4885
  /**
5497
4886
  * Intermediate Representation (IR) of a static property on a Stencil component
5498
4887
  */
@@ -6562,6 +5951,7 @@ interface TransformCssToEsmOutput {
6562
5951
  interface PackageJsonData {
6563
5952
  name?: string;
6564
5953
  version?: string;
5954
+ type?: 'module' | 'commonjs';
6565
5955
  main?: string;
6566
5956
  exports?: {
6567
5957
  [key: string]: string | {
@@ -6835,7 +6225,7 @@ interface VNodeProdData {
6835
6225
  */
6836
6226
  interface CompilerWorkerContext {
6837
6227
  optimizeCss(inputOpts: OptimizeCssInput): Promise<OptimizeCssOutput>;
6838
- prepareModule(input: string, minifyOpts: any, transpile: boolean, inlineHelpers: boolean): Promise<{
6228
+ prepareModule(input: string, minifyOpts: any): Promise<{
6839
6229
  output: string;
6840
6230
  diagnostics: Diagnostic$1[];
6841
6231
  sourceMap?: SourceMap$1;
@@ -6915,4 +6305,4 @@ interface ValidateTypesResults {
6915
6305
  filePaths: string[];
6916
6306
  }
6917
6307
  //#endregion
6918
- export { ComponentCompilerVirtualProperty as $, isTsFile as $a, SitemapXmpResults as $i, CompilerEventBuildFinish as $n, catchError as $o, LazyRequire as $r, toCamelCase as $s, PluginTransformationDescriptor as $t, CompilerStyleDoc as A, JsonDocsListener as Aa, NODE_TYPES as Ac, OutputTargetHydrate as Ai, VNodeProdData as An, isOutputTargetDist as Ao, CopyResults as Ar, ScriptSpecialNumber as As, HydrateScriptElement as At, ComponentCompilerMeta as B, JsonDocsValue as Ba, VALUE_CONSTANT as Bc, PrerenderStartOptions as Bi, BuildOnEventRemove as Bn, isOutputTargetDocsJson as Bo, EmulateConfig as Br, fromEntries as Bs, ModuleMap as Bt, CompilerBuildStatBundle as C, VNode as Ca, DOCS_VSCODE as Cc, OutputTargetDistLazyLoader as Ci, TransformCssToEsmOutput as Cn, filterExcludedComponents as Co, CompilerSystemRenameResults as Cr, ScriptObjectLocalValue as Cs, HostElement as Ct, CompilerJsDoc as D, JsonDocsCustomState as Da, HTML_NS as Dc, OutputTargetDocsJson as Di, TypesMemberNameData as Dn, isEligiblePrimaryPackageOutputTarget as Do, Config as Dr, ScriptRegExpLocalValue as Ds, HydrateElement as Dt, CompilerCtx as E, JsonDocsComponent as Ea, HOST_FLAGS as Ec, OutputTargetDocsCustomElementsManifest as Ei, TypesImportData as En, getComponentsFromModules as Eo, CompilerWatcher as Er, ScriptRealm as Es, HydrateComponent as Et, ComponentCompilerData as F, JsonDocsSlot as Fa, SERIALIZED_PREFIX as Fc, Path as Fi, AutoprefixerOptions as Fn, isOutputTargetDistLazyLoader as Fo, DevServer as Fr, isRootPath as Fs, JsDoc as Ft, ComponentCompilerPropertyType as G, addDocBlock as Ga, RobotsTxtResults as Gi, CacheStorage as Gn, isOutputTargetWww as Go, HistoryApiFallback as Gr, isIterable as Gs, OptimizeJsResult as Gt, ComponentCompilerMethodComplexType as H, FsWriteResults as Ha, WWW as Hc, ResolveModuleIdResults as Hi, BuildOutput as Hn, isOutputTargetDocsVscode as Ho, FsStats as Hr, isComplexType as Hs, MsgToWorker as Ht, ComponentCompilerEvent as I, JsonDocsStyle as Ia, STATS as Ic, PlatformPath as Ii, BuildEmitEvents as In, isOutputTargetDistTypes as Io, DevServerConfig as Ir, isGlob as Is, LazyBundleRuntimeData as It, ComponentCompilerStaticEvent as J, getTextDocs as Ja, RollupInterface as Ji, CompileTarget as Jn, shouldExcludeComponent as Jo, HydrateDocumentOptions as Jr, isString as Js, PatchedSlotNode as Jt, ComponentCompilerReferencedType as K, createJsVarName as Ka, RollupConfig as Ki, CliInitOptions as Kn, isValidConfigOutputTarget as Ko, HmrStyleUpdate as Kr, isNumber as Ks, PackageJsonData as Kt, ComponentCompilerEventComplexType as L, JsonDocsTag as La, SVG_NS as Lc, PrerenderConfig as Li, BuildEvents as Ln, isOutputTargetDocs as Lo, DevServerEditor as Lr, dashToPascalCase as Ls, LazyBundlesRuntimeData as Lt, CompilerWorkerTask as M, JsonDocsMethodReturn as Ma, NonPrimitiveTypeValue as Mc, OutputTargetWww as Mi, Workbox as Mn, isOutputTargetDistCustomElements as Mo, Credentials as Mr, ScriptSymbolValue as Ms, HydrateStyleElement as Mt, ComponentCompilerChangeHandler as N, JsonDocsPart as Na, PrimitiveType as Nc, PageReloadStrategy as Ni, WorkerContextMethod as Nn, isOutputTargetDistGlobalStyles as No, CustomElementsExportBehavior as Nr, ScriptUndefinedValue as Ns, ImportData as Nt, CompilerJsDocTagInfo as O, JsonDocsDependencyGraph as Oa, LISTENER_FLAGS as Oc, OutputTargetDocsReadme as Oi, TypesModule as On, isOutputTargetCopy as Oo, ConfigBundle as Or, ScriptRegExpValue as Os, HydrateImgElement as Ot, ComponentCompilerCustomState as P, JsonDocsProp as Pa, PrimitiveTypeValue as Pc, ParsedPath as Pi, WorkerMsgHandler as Pn, isOutputTargetDistLazy as Po, CustomElementsExportBehaviorOptions as Pr, Serializeable as Ps, JSDocTagInfo as Pt, ComponentCompilerTypeReferences as Q, isJsxFile as Qa, SitemapXmpOpts as Qi, CompilerDependency as Qn, buildWarn as Qo, LOG_LEVELS as Qr, sortBy as Qs, PluginTransformResults as Qt, ComponentCompilerFeatures as R, JsonDocsTypeLibrary as Ra, TYPE_CONSTANT as Rc, PrerenderHydrateOptions as Ri, BuildLog as Rn, isOutputTargetDocsCustom as Ro, Diagnostic$1 as Rr, escapeWithPattern as Rs, Module as Rt, CompilerAssetDir as S, UserBuildConditionals as Sa, DOCS_README as Sc, OutputTargetDistLazy as Si, TransformCssToEsmInput as Sn, FilterComponentsResult as So, CompilerSystemRemoveFileResults as Sr, ScriptNumberValue as Ss, ExternalStyleCompiler as St, CompilerBuildStats as T, JsonDocs as Ta, GENERATED_DTS as Tc, OutputTargetDocsCustom as Ti, TypeInfo as Tn, getComponentsDtsTypesFilePath as To, CompilerSystemWriteFileResults as Tr, ScriptPrimitiveProtocolValue as Ts, HydrateAnchorElement as Tt, ComponentCompilerProperty as U, validateComponentTag as Ua, XLINK_NS as Uc, ResolveModuleOptions as Ui, BuildResultsComponentGraph as Un, isOutputTargetHydrate as Uo, FsWatchResults as Ur, isDef as Us, NewSpecPageOptions as Ut, ComponentCompilerMethod as V, StyleDoc as Va, WATCH_FLAGS as Vc, ResolveModuleIdOptions as Vi, BuildOnEvents as Vn, isOutputTargetDocsReadme as Vo, EmulateViewport as Vr, isBoolean as Vs, MsgFromWorker as Vt, ComponentCompilerPropertyComplexType as W, ParsePackageJsonResult as Wa, byteSize as Wc, RobotsTxtOpts as Wi, BundlingConfig as Wn, isOutputTargetStats as Wo, FsWatcherItem as Wr, isFunction as Ws, NodeMap as Wt, ComponentCompilerStaticProperty as X, isDtsFile as Xa, SerializeDocumentOptions as Xi, CompilerBuildResults as Xn, buildError as Xo, HydratedFlag as Xr, noop as Xs, Plugin as Xt, ComponentCompilerStaticMethod as Y, hasDependency as Ya, RollupOutputOptions as Yi, Compiler as Yn, TASK_CANCELED_MSG as Yo, HydrateFactoryOptions as Yr, mergeIntoWith as Ys, PlatformRuntime as Yt, ComponentCompilerTypeReference as Z, isJsFile as Za, ServiceWorkerConfig as Zi, CompilerBuildStart as Zn, buildJsonFileError as Zo, JestConfig as Zr, pluck as Zs, PluginCtx as Zt, CollectionCompilerVersion as _, ErrorHandler as _a, DIST_LAZY_LOADER as _c, OutputTargetCustom as _i, SourceTarget as _n, normalizeFsPath as _o, CompilerSystemCreateDirectoryOptions as _r, ScriptListLocalValue as _s, CssToEsmImportData as _t, BuildCtx as a, TestingConfig as aa, stringifyRuntimeData as ac, LoggerTimeSpan as ai, RenderNode as an, getInlineSourceMappingUrlLinker as ao, CompilerEventFileAdd as ar, splitLineBreaks as as, ComponentConstructorProperties as at, CollectionDependencyManifest as b, ResolutionHandler as ba, DOCS_CUSTOM_ELEMENTS_MANIFEST as bc, OutputTargetDistCustomElements as bi, StyleCompiler as bn, relative as bo, CompilerSystemRemoveDirectoryOptions as br, ScriptMappingLocalValue as bs, EntryModule as bt, BuildStyleUpdate as c, TransformerConfig as ca, COPY as cc, OptimizeCssInput as ci, RollupResult as cn, rollupToStencilSourceMap as co, CompilerEventFsChange as cr, loadTypeScriptDiagnostics as cs, ComponentNativeConstructor as ct, BundleModuleOutput as d, TranspileResults as da, DIST as dc, OptimizeJsOutput as di, RollupSourceMap as dn, result_d_exports as do, CompilerFileWatcherCallback as dr, LocalValue as ds, ComponentRuntimeMembers as dt, StencilConfig as ea, toDashCase as ec, LoadConfigInit as ei, PrerenderManager as en, isTsxFile as eo, CompilerEventBuildLog as er, hasError as es, ComponentConstructor as et, Cache as f, UnvalidatedConfig as fa, DIST_COLLECTION as fc, OutputTarget as fi, RootAppliedStyleMap as fn, RemoteValue as fo, CompilerFileWatcherEvent as fr, LocalValueParam as fs, ComponentRuntimeMeta as ft, CollectionCompilerMeta as g, WorkerOptions as ga, DIST_LAZY as gc, OutputTargetCopy as gi, SourceMap$1 as gn, normalize as go, CompilerSystem as gr, ScriptDateLocalValue as gs, CssImportData as gt, CollectionCompiler as h, WorkerMainController as ha, DIST_HYDRATE_SCRIPT as hc, OutputTargetBuild as hi, SerializedEvent as hn, join as ho, CompilerRequestResponse as hr, ScriptBooleanValue as hs, ComponentTestingConstructor as ht, BuildConditionals as i, Testing as ia, formatLazyBundleRuntimeMeta as ic, LoggerLineUpdater as ii, PropsType as in, isRemoteUrl as io, CompilerEventDirDelete as ir, normalizeDiagnostics as is, ComponentConstructorListener as it, CompilerWorkerContext as j, JsonDocsMethod as ja, NonPrimitiveType as jc, OutputTargetStats as ji, ValidateTypesResults as jn, isOutputTargetDistCollection as jo, CopyTask as jr, ScriptStringValue as js, HydrateStaticData as jt, CompilerModeStyles as k, JsonDocsEvent as ka, MEMBER_FLAGS as kc, OutputTargetDocsVscode as ki, UpdatedLazyBuildCtx as kn, isOutputTargetCustom as ko, ConfigExtras as kr, ScriptSetLocalValue as ks, HydrateResults as kt, BuildTask as l, TranspileOnlyResults as la, CUSTOM as lc, OptimizeCssOutput as li, RollupResultModule as ln, deserializeProperty as lo, CompilerEventName as lr, createOnWarnFn as ls, ComponentRuntimeHostListener as lt, CollectionBundleManifest as m, WatcherCloseResults as ma, DIST_GLOBAL_STYLES as mc, OutputTargetBaseNext as mi, SerializeImportData as mn, queryNonceMetaTagContent as mo, CompilerRequest as mr, ScriptBigIntValue as ms, ComponentRuntimeReflectingAttr as mt, AssetsMeta as n, StencilDocsConfig as na, unique as nc, LogLevel as ni, PrerenderUrlResults as nn, readOnlyArrayHasStringMember as no, CompilerEventBuildStart as nr, shouldIgnoreError as ns, ComponentConstructorEncapsulation as nt, BuildFeatures as o, TestingRunOptions as oa, CMP_FLAGS as oc, MakeDirectoryOptions as oi, RollupAssetResult as on, getSourceMappingUrlForEndOfFile as oo, CompilerEventFileDelete as or, augmentDiagnosticWithNode as os, ComponentConstructorProperty as ot, ChildType as p, ValidatedConfig as pa, DIST_CUSTOM_ELEMENTS as pc, OutputTargetBase as pi, RuntimeRef as pn, escapeRegExpSpecialCharacters as po, CompilerFsStats as pr, ScriptArrayLocalValue as ps, ComponentRuntimeMetaCompact as pt, ComponentCompilerState as q, generatePreamble as qa, RollupInputOptions as qi, CompileScriptMinifyOptions as qn, relativeImport as qo, HotModuleReplacement as qr, isObject as qs, ParsedImport as qt, BuildComponent as r, SystemDetails as ra, formatComponentRuntimeMeta as rc, Logger as ri, PrintLine as rn, readPackageJson as ro, CompilerEventDirAdd as rr, escapeHtml as rs, ComponentConstructorEvent as rt, BuildSourceGraph as s, TransformOptions as sa, COLLECTION_MANIFEST_FILE_NAME as sc, NodeResolveConfig as si, RollupChunkResult as sn, getSourceMappingUrlLinker as so, CompilerEventFileUpdate as sr, loadTypeScriptDiagnostic as ss, ComponentConstructorPropertyType as st, AnyHTMLElement as t, StencilDevServerConfig as ta, toTitleCase as tc, LoadConfigResults as ti, PrerenderUrlRequest as tn, parsePackageJson as to, CompilerEventBuildNoChange as tr, hasWarning as ts, ComponentConstructorChangeHandlers as tt, BundleModule as u, TranspileOptions as ua, DEFAULT_STYLE_MODE as uc, OptimizeJsInput as ui, RollupResults as un, serializeProperty as uo, CompilerFileWatcher as ur, loadRollupDiagnostics as us, ComponentRuntimeMember as ut, CollectionComponentEntryPath as v, FunctionalComponent as va, DIST_TYPES as vc, OutputTargetDist as vi, SpecPage as vn, normalizeFsPathQuery as vo, CompilerSystemCreateDirectoryResults as vr, ScriptLocalValue as vs, DocData as vt, CompilerBuildStatCollection as w, JsonDocMethodParameter as wa, EVENT_FLAGS as wc, OutputTargetDistTypes as wi, TranspileModuleResults as wn, getComponentsDtsSrcFilePath as wo, CompilerSystemRenamedPath as wr, ScriptPreloadScript as ws, HostRef as wt, CollectionManifest as x, TagTransformer as xa, DOCS_JSON as xc, OutputTargetDistGlobalStyles as xi, StyleMap as xn, resolve as xo, CompilerSystemRemoveDirectoryResults as xr, ScriptNullValue as xs, EventInitDict as xt, CollectionDependencyData as y, RafCallback as ya, DOCS_CUSTOM as yc, OutputTargetDistCollection as yi, StencilDocument as yn, normalizePath as yo, CompilerSystemRealpathResults as yr, ScriptMapLocalValue as ys, Encapsulation as yt, ComponentCompilerListener as z, JsonDocsUsage as za, VALID_CONFIG_OUTPUT_TARGETS as zc, PrerenderResults as zi, BuildNoChangeResults as zn, isOutputTargetDocsCustomElementsManifest as zo, EligiblePrimaryPackageOutputTarget as zr, flatOne as zs, ModuleFormat as zt };
6308
+ export { ComponentCompilerVirtualProperty as $, result_d_exports as $a, TranspileOnlyResults as $i, CompilerDependency as $n, isGlob as $o, Logger as $r, XLINK_NS as $s, PluginCtx as $t, CompilerStyleDoc as A, JsonDocsValue as Aa, PlatformPath as Ai, TypesModule as An, isOutputTargetHydrate as Ao, ConfigExtras as Ar, DIST_CUSTOM_ELEMENTS as As, HydrateImgElement as At, ComponentCompilerMeta as B, isDtsFile as Ba, RolldownConfig as Bi, BuildLog as Bn, catchError as Bo, EligiblePrimaryPackageOutputTarget as Br, DOCS_VSCODE as Bs, Module as Bt, CompilerBuildStatBundle as C, JsonDocsPart as Ca, OutputTargetDocsReadme as Ci, StyleMap as Cn, isOutputTargetDistTypes as Co, CompilerSystemRemoveFileResults as Cr, CMP_FLAGS as Cs, EventInitDict as Ct, CompilerJsDoc as D, JsonDocsTag as Da, OutputTargetWww as Di, TypeInfo as Dn, isOutputTargetDocsJson as Do, CompilerWatcher as Dr, DEFAULT_STYLE_MODE as Ds, HydrateAnchorElement as Dt, CompilerCtx as E, JsonDocsStyle as Ea, OutputTargetStats as Ei, TranspileModuleResults as En, isOutputTargetDocsCustomElementsManifest as Eo, CompilerSystemWriteFileResults as Er, CUSTOM as Es, HostRef as Et, ComponentCompilerData as F, addDocBlock as Fa, ResolveModuleIdOptions as Fi, WorkerContextMethod as Fn, shouldExcludeComponent as Fo, CustomElementsExportBehaviorOptions as Fr, DIST_TYPES as Fs, ImportData as Ft, ComponentCompilerPropertyType as G, parsePackageJson as Ga, ServiceWorkerConfig as Gi, BuildResultsComponentGraph as Gn, normalizeDiagnostics as Go, HydrateDocumentOptions as Gr, LISTENER_FLAGS as Gs, NewSpecPageOptions as Gt, ComponentCompilerMethodComplexType as H, isJsxFile as Ha, RolldownInterface as Hi, BuildOnEventRemove as Hn, hasWarning as Ho, HistoryApiFallback as Hr, GENERATED_DTS as Hs, ModuleMap as Ht, ComponentCompilerEvent as I, createJsVarName as Ia, ResolveModuleIdResults as Ii, WorkerMsgHandler as In, TASK_CANCELED_MSG as Io, DevServer as Ir, DOCS_CUSTOM as Is, JSDocTagInfo as It, ComponentCompilerStaticEvent as J, isRemoteUrl as Ja, StencilConfig as Ji, CompileScriptMinifyOptions as Jn, loadTypeScriptDiagnostic as Jo, LOG_LEVELS as Jr, STATS as Js, PackageJsonData as Jt, ComponentCompilerReferencedType as K, readOnlyArrayHasStringMember as Ka, SitemapXmpOpts as Ki, CacheStorage as Kn, splitLineBreaks as Ko, HydrateFactoryOptions as Kr, MEMBER_FLAGS as Ks, NodeMap as Kt, ComponentCompilerEventComplexType as L, generatePreamble as La, ResolveModuleOptions as Li, AutoprefixerOptions as Ln, buildError as Lo, DevServerConfig as Lr, DOCS_CUSTOM_ELEMENTS_MANIFEST as Ls, JsDoc as Lt, CompilerWorkerTask as M, FsWriteResults as Ma, PrerenderHydrateOptions as Mi, VNodeProdData as Mn, isOutputTargetWww as Mo, CopyTask as Mr, DIST_HYDRATE_SCRIPT as Ms, HydrateScriptElement as Mt, ComponentCompilerChangeHandler as N, validateComponentTag as Na, PrerenderResults as Ni, ValidateTypesResults as Nn, isValidConfigOutputTarget as No, Credentials as Nr, DIST_LAZY as Ns, HydrateStaticData as Nt, CompilerJsDocTagInfo as O, JsonDocsTypeLibrary as Oa, PageReloadStrategy as Oi, TypesImportData as On, isOutputTargetDocsReadme as Oo, Config as Or, DIST as Os, HydrateComponent as Ot, ComponentCompilerCustomState as P, ParsePackageJsonResult as Pa, PrerenderStartOptions as Pi, Workbox as Pn, relativeImport as Po, CustomElementsExportBehavior as Pr, DIST_LAZY_LOADER as Ps, HydrateStyleElement as Pt, ComponentCompilerTypeReferences as Q, rolldownToStencilSourceMap as Qa, TransformOptions as Qi, CompilerBuildStart as Qn, isRootPath as Qo, LogLevel as Qr, WWW as Qs, Plugin as Qt, ComponentCompilerFeatures as R, getTextDocs as Ra, RobotsTxtOpts as Ri, BuildEmitEvents as Rn, buildJsonFileError as Ro, DevServerEditor as Rr, DOCS_JSON as Rs, LazyBundleRuntimeData as Rt, CompilerAssetDir as S, JsonDocsMethodReturn as Sa, OutputTargetDocsJson as Si, StyleCompiler as Sn, isOutputTargetDistLazyLoader as So, CompilerSystemRemoveDirectoryResults as Sr, stringifyRuntimeData as Ss, EntryModule as St, CompilerBuildStats as T, JsonDocsSlot as Ta, OutputTargetHydrate as Ti, TransformCssToEsmOutput as Tn, isOutputTargetDocsCustom as To, CompilerSystemRenamedPath as Tr, COPY as Ts, HostElement as Tt, ComponentCompilerProperty as U, isTsFile as Ua, RolldownOutputOptions as Ui, BuildOnEvents as Un, shouldIgnoreError as Uo, HmrStyleUpdate as Ur, HOST_FLAGS as Us, MsgFromWorker as Ut, ComponentCompilerMethod as V, isJsFile as Va, RolldownInputOptions as Vi, BuildNoChangeResults as Vn, hasError as Vo, FsWatchResults as Vr, EVENT_FLAGS as Vs, ModuleFormat as Vt, ComponentCompilerPropertyComplexType as W, isTsxFile as Wa, SerializeDocumentOptions as Wi, BuildOutput as Wn, escapeHtml as Wo, HotModuleReplacement as Wr, HTML_NS as Ws, MsgToWorker as Wt, ComponentCompilerStaticProperty as X, getSourceMappingUrlForEndOfFile as Xa, StencilDocsConfig as Xi, Compiler as Xn, createOnWarnFn as Xo, LoadConfigInit as Xr, VALID_CONFIG_OUTPUT_TARGETS as Xs, PatchedSlotNode as Xt, ComponentCompilerStaticMethod as Y, getInlineSourceMappingUrlLinker as Ya, StencilDevServerConfig as Yi, CompileTarget as Yn, loadTypeScriptDiagnostics as Yo, LazyRequire as Yr, SVG_NS as Ys, ParsedImport as Yt, ComponentCompilerTypeReference as Z, getSourceMappingUrlLinker as Za, SystemDetails as Zi, CompilerBuildResults as Zn, loadRolldownDiagnostics as Zo, LoadConfigResults as Zr, WATCH_FLAGS as Zs, PlatformRuntime as Zt, CollectionCompilerVersion as _, JsonDocsCustomState as _a, OutputTargetDistLazy as _i, SerializedEvent as _n, isOutputTargetDist as _o, CompilerSystem as _r, toDashCase as _s, CssImportData as _t, BuildCtx as a, WorkerMainController as aa, OptimizeJsInput as ai, PrintLine as an, normalizeFsPathQuery as ao, CompilerEventDirDelete as ar, isComplexType as as, ComponentConstructorProperties as at, CollectionDependencyManifest as b, JsonDocsListener as ba, OutputTargetDocsCustom as bi, SpecPage as bn, isOutputTargetDistGlobalStyles as bo, CompilerSystemRealpathResults as br, formatComponentRuntimeMeta as bs, DocData as bt, BuildStyleUpdate as c, FunctionalComponent as ca, OutputTargetBase as ci, RolldownAssetResult as cn, resolve as co, CompilerEventFileUpdate as cr, isIterable as cs, ComponentNativeConstructor as ct, BundleModuleOutput as d, TagTransformer as da, OutputTargetCopy as di, RolldownResultModule as dn, getComponentsDtsSrcFilePath as do, CompilerFileWatcher as dr, isString as ds, ComponentRuntimeMember as dt, TranspileOptions as ea, byteSize as ec, LoggerLineUpdater as ei, PluginTransformResults as en, escapeRegExpSpecialCharacters as eo, CompilerEventBuildFinish as er, dashToPascalCase as es, ComponentConstructor as et, Cache as f, UserBuildConditionals as fa, OutputTargetCustom as fi, RolldownResults as fn, getComponentsDtsTypesFilePath as fo, CompilerFileWatcherCallback as fr, mergeIntoWith as fs, ComponentRuntimeMembers as ft, CollectionCompilerMeta as g, JsonDocsComponent as ga, OutputTargetDistGlobalStyles as gi, SerializeImportData as gn, isOutputTargetCustom as go, CompilerRequestResponse as gr, toCamelCase as gs, ComponentTestingConstructor as gt, CollectionCompiler as h, JsonDocs as ha, OutputTargetDistCustomElements as hi, RuntimeRef as hn, isOutputTargetCopy as ho, CompilerRequest as hr, sortBy as hs, ComponentRuntimeReflectingAttr as ht, BuildConditionals as i, WatcherCloseResults as ia, OptimizeCssOutput as ii, PrerenderUrlResults as in, normalizeFsPath as io, CompilerEventDirAdd as ir, isBoolean as is, ComponentConstructorListener as it, CompilerWorkerContext as j, StyleDoc as ja, PrerenderConfig as ji, UpdatedLazyBuildCtx as jn, isOutputTargetStats as jo, CopyResults as jr, DIST_GLOBAL_STYLES as js, HydrateResults as jt, CompilerModeStyles as k, JsonDocsUsage as ka, ParsedPath as ki, TypesMemberNameData as kn, isOutputTargetDocsVscode as ko, ConfigBundle as kr, DIST_COLLECTION as ks, HydrateElement as kt, BuildTask as l, RafCallback as la, OutputTargetBaseNext as li, RolldownChunkResult as ln, FilterComponentsResult as lo, CompilerEventFsChange as lr, isNumber as ls, ComponentPatches as lt, CollectionBundleManifest as m, JsonDocMethodParameter as ma, OutputTargetDistCollection as mi, RootAppliedStyleMap as mn, isEligiblePrimaryPackageOutputTarget as mo, CompilerFsStats as mr, pluck as ms, ComponentRuntimeMetaCompact as mt, AssetsMeta as n, UnvalidatedConfig as na, NodeResolveConfig as ni, PrerenderManager as nn, join as no, CompilerEventBuildNoChange as nr, flatOne as ns, ComponentConstructorEncapsulation as nt, BuildFeatures as o, WorkerOptions as oa, OptimizeJsOutput as oi, PropsType as on, normalizePath as oo, CompilerEventFileAdd as or, isDef as os, ComponentConstructorProperty as ot, ChildType as p, VNode as pa, OutputTargetDist as pi, RolldownSourceMap as pn, getComponentsFromModules as po, CompilerFileWatcherEvent as pr, noop as ps, ComponentRuntimeMeta as pt, ComponentCompilerState as q, readPackageJson as qa, SitemapXmpResults as qi, CliInitOptions as qn, augmentDiagnosticWithNode as qo, HydratedFlag as qr, NODE_TYPES as qs, OptimizeJsResult as qt, BuildComponent as r, ValidatedConfig as ra, OptimizeCssInput as ri, PrerenderUrlRequest as rn, normalize as ro, CompilerEventBuildStart as rr, fromEntries as rs, ComponentConstructorEvent as rt, BuildSourceGraph as s, ErrorHandler as sa, OutputTarget as si, RenderNode as sn, relative as so, CompilerEventFileDelete as sr, isFunction as ss, ComponentConstructorPropertyType as st, AnyHTMLElement as t, TranspileResults as ta, LoggerTimeSpan as ti, PluginTransformationDescriptor as tn, queryNonceMetaTagContent as to, CompilerEventBuildLog as tr, escapeWithPattern as ts, ComponentConstructorChangeHandlers as tt, BundleModule as u, ResolutionHandler as ua, OutputTargetBuild as ui, RolldownResult as un, filterExcludedComponents as uo, CompilerEventName as ur, isObject as us, ComponentRuntimeHostListener as ut, CollectionComponentEntryPath as v, JsonDocsDependencyGraph as va, OutputTargetDistLazyLoader as vi, SourceMap$1 as vn, isOutputTargetDistCollection as vo, CompilerSystemCreateDirectoryOptions as vr, toTitleCase as vs, CssToEsmImportData as vt, CompilerBuildStatCollection as w, JsonDocsProp as wa, OutputTargetDocsVscode as wi, TransformCssToEsmInput as wn, isOutputTargetDocs as wo, CompilerSystemRenameResults as wr, COLLECTION_MANIFEST_FILE_NAME as ws, ExternalStyleCompiler as wt, CollectionManifest as x, JsonDocsMethod as xa, OutputTargetDocsCustomElementsManifest as xi, StencilDocument as xn, isOutputTargetDistLazy as xo, CompilerSystemRemoveDirectoryOptions as xr, formatLazyBundleRuntimeMeta as xs, Encapsulation as xt, CollectionDependencyData as y, JsonDocsEvent as ya, OutputTargetDistTypes as yi, SourceTarget as yn, isOutputTargetDistCustomElements as yo, CompilerSystemCreateDirectoryResults as yr, unique as ys, CssTransformCacheEntry as yt, ComponentCompilerListener as z, hasDependency as za, RobotsTxtResults as zi, BuildEvents as zn, buildWarn as zo, Diagnostic$1 as zr, DOCS_README as zs, LazyBundlesRuntimeData as zt };