@stencil/core 5.0.0-next.0 → 5.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +94 -0
- package/bin/stencil.mjs +1 -1
- package/dist/app-data/index.d.ts +2 -0
- package/dist/{runtime/app-data → app-data}/index.js +23 -15
- package/dist/{runtime/app-globals → app-globals}/index.js +1 -2
- package/dist/client-ClM4H9-P.mjs +2496 -0
- package/dist/compiler/browser.d.ts +1573 -0
- package/dist/compiler/browser.js +16998 -0
- package/dist/compiler/index.d.mts +284 -7
- package/dist/compiler/index.mjs +3 -9
- package/dist/compiler/utils/index.d.mts +272 -3
- package/dist/compiler/utils/index.mjs +4 -5
- package/dist/{transpile-CJQcQEVa.mjs → compiler-DFanjq9z.mjs} +20984 -15554
- package/dist/declarations/stencil-ext-modules.d.ts +8 -8
- package/dist/declarations/stencil-public-compiler.d.ts +1016 -840
- package/dist/declarations/stencil-public-compiler.js +3 -5
- package/dist/declarations/stencil-public-docs.d.ts +441 -376
- package/dist/declarations/stencil-public-docs.js +0 -0
- package/dist/declarations/stencil-public-runtime.d.ts +361 -113
- package/dist/fragment-Di1hWOC8.mjs +4 -0
- package/dist/helpers-Cpp3qc3u.mjs +524 -0
- package/dist/{index-szczUd2l.d.mts → index-DvfFOkiJ.d.mts} +1466 -2044
- package/dist/{stencil-private-Cgcr414u.d.ts → index-XQHZl0MW.d.ts} +308 -114
- package/dist/index-aBMJC5F9.d.mts +104 -0
- package/dist/index.d.mts +14 -2
- package/dist/index.mjs +171 -4
- package/dist/jsx-runtime.d.mts +24 -0
- package/dist/jsx-runtime.mjs +3 -0
- package/dist/mock-doc.mjs +2 -3
- package/dist/{node-sys-BGURUNOZ.mjs → node-DJP8JuAS.mjs} +176 -197
- package/dist/rolldown-runtime-BhDjJH2R.mjs +15 -0
- package/dist/{client-DR9zhmKG.mjs → runtime/client/lazy.js} +3780 -2652
- package/dist/runtime/client/{index.d.ts → runtime.d.ts} +516 -227
- package/dist/runtime/client/{index.js → runtime.js} +3588 -2856
- package/dist/runtime/index.d.ts +90 -72
- package/dist/runtime/index.js +3461 -2837
- package/dist/runtime/server/index.d.mts +243 -219
- package/dist/runtime/server/index.mjs +3763 -3352
- package/dist/runtime/server/runner.d.mts +114 -47
- package/dist/runtime/server/runner.mjs +12710 -763
- package/dist/signals/index.d.ts +58 -0
- package/dist/signals/index.js +182 -0
- package/dist/sys/node/index.d.mts +1 -3
- package/dist/sys/node/index.mjs +2 -7
- package/dist/sys/node/worker.d.mts +1 -1
- package/dist/sys/node/worker.mjs +3 -12
- package/dist/testing/index.d.mts +4763 -12
- package/dist/testing/index.mjs +7939 -619
- package/dist/util-C-H1H84W.mjs +731 -0
- package/dist/validation-ByYYKvnS.mjs +825 -0
- package/package.json +91 -59
- package/dist/chunk-ClPoSABd.mjs +0 -21
- package/dist/index-Bxo2jCf6.d.mts +0 -77
- package/dist/runtime/app-data/index.d.ts +0 -30
- package/dist/serialize-BJvhE9aQ.mjs +0 -775
- package/dist/validation-BdcPruW_.mjs +0 -1451
- /package/{LICENSE.md → LICENSE} +0 -0
- /package/dist/{runtime/app-globals → app-globals}/index.d.ts +0 -0
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { BUILD, Env, NAMESPACE } from "@stencil/core/
|
|
2
|
-
|
|
1
|
+
import { BUILD, Env, NAMESPACE } from "@stencil/core/app-data";
|
|
2
|
+
import "rolldown";
|
|
3
|
+
import "typescript";
|
|
3
4
|
//#region src/declarations/stencil-public-runtime.d.ts
|
|
4
|
-
interface ElementDecorator {
|
|
5
|
-
(): PropertyDecorator;
|
|
6
|
-
}
|
|
7
5
|
interface EventDecorator {
|
|
8
6
|
(opts?: EventOptions): PropertyDecorator;
|
|
9
7
|
}
|
|
@@ -31,11 +29,6 @@ interface UserBuildConditionals {
|
|
|
31
29
|
isServer: boolean;
|
|
32
30
|
isTesting: boolean;
|
|
33
31
|
}
|
|
34
|
-
/**
|
|
35
|
-
* The `@Element()` decorator is a reference to the actual host element
|
|
36
|
-
* once it has rendered.
|
|
37
|
-
*/
|
|
38
|
-
declare const Element$1: ElementDecorator;
|
|
39
32
|
/**
|
|
40
33
|
* Components can emit data and events using the Event Emitter decorator.
|
|
41
34
|
* To dispatch Custom DOM events for other components to handle, use the
|
|
@@ -43,13 +36,34 @@ declare const Element$1: ElementDecorator;
|
|
|
43
36
|
* to automatically build types and documentation for the event data.
|
|
44
37
|
* https://stenciljs.com/docs/events
|
|
45
38
|
*/
|
|
46
|
-
declare const Event: EventDecorator;
|
|
39
|
+
declare const Event$1: EventDecorator;
|
|
47
40
|
type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
|
|
48
41
|
type ErrorHandler = (err: any, element?: HTMLElement) => void;
|
|
49
42
|
interface HTMLStencilElement extends HTMLElement {
|
|
50
43
|
componentOnReady(): Promise<this>;
|
|
51
44
|
}
|
|
52
45
|
type TagTransformer = (tag: string) => string;
|
|
46
|
+
/**
|
|
47
|
+
* A constructor type that can be used as the base for mixin factories.
|
|
48
|
+
*
|
|
49
|
+
* ```ts
|
|
50
|
+
* import { MixedInCtor } from '@stencil/core';
|
|
51
|
+
*
|
|
52
|
+
* const AFactoryFn = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
type MixedInCtor<T = {}> = new (...args: any[]) => T;
|
|
56
|
+
/**
|
|
57
|
+
* A map of `@Prop`/`@State` property names to their new and previous
|
|
58
|
+
* values, passed to `componentShouldUpdate` once per render cycle.
|
|
59
|
+
*
|
|
60
|
+
* Pass `this` as `T` to type `changes` against your component's own
|
|
61
|
+
* members, e.g. `componentShouldUpdate(changes: ComponentShouldUpdateChanges<this>)`.
|
|
62
|
+
*/
|
|
63
|
+
type ComponentShouldUpdateChanges<T = any> = { [K in Extract<keyof T, string>]?: {
|
|
64
|
+
newVal: T[K];
|
|
65
|
+
oldVal: T[K];
|
|
66
|
+
}; };
|
|
53
67
|
interface ComponentInterface {
|
|
54
68
|
connectedCallback?(): void;
|
|
55
69
|
disconnectedCallback?(): void;
|
|
@@ -75,14 +89,18 @@ interface ComponentInterface {
|
|
|
75
89
|
*/
|
|
76
90
|
componentDidLoad?(): void;
|
|
77
91
|
/**
|
|
78
|
-
*
|
|
92
|
+
* One or more `@Prop` or `@State` properties changed and a rerender is
|
|
93
|
+
* about to be requested. `changes` contains every property that changed
|
|
94
|
+
* since the last render, keyed by property name.
|
|
79
95
|
*
|
|
80
|
-
* Called
|
|
81
|
-
*
|
|
96
|
+
* Called once per render cycle, batching all properties that changed
|
|
97
|
+
* synchronously since the last render.
|
|
98
|
+
*
|
|
99
|
+
* Return `false` to prevent the pending render.
|
|
82
100
|
*
|
|
83
101
|
* componentShouldUpdate is not called on the first render.
|
|
84
102
|
*/
|
|
85
|
-
componentShouldUpdate?(
|
|
103
|
+
componentShouldUpdate?(changes: ComponentShouldUpdateChanges<this>): boolean | void;
|
|
86
104
|
/**
|
|
87
105
|
* The component is about to update and re-render.
|
|
88
106
|
*
|
|
@@ -105,9 +123,47 @@ interface ComponentInterface {
|
|
|
105
123
|
render?(): any;
|
|
106
124
|
[memberName: string]: any;
|
|
107
125
|
}
|
|
126
|
+
/**
|
|
127
|
+
* A reusable behavior that hooks into a `ReactiveControllerHost`'s lifecycle. Modeled after Lit's
|
|
128
|
+
* `ReactiveController` pattern: implement the hooks you need, then register an instance with a host
|
|
129
|
+
* via `host.addController(this)`.
|
|
130
|
+
*/
|
|
131
|
+
interface ReactiveController {
|
|
132
|
+
hostConnected?(): void;
|
|
133
|
+
hostDisconnected?(): void;
|
|
134
|
+
hostWillLoad?(): Promise<void> | void;
|
|
135
|
+
hostDidLoad?(): void;
|
|
136
|
+
hostWillRender?(): Promise<void> | void;
|
|
137
|
+
hostDidRender?(): void;
|
|
138
|
+
hostWillUpdate?(): Promise<void> | void;
|
|
139
|
+
hostDidUpdate?(): void;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* The shape added to a component by mixing in `ReactiveControllerHost` (see below).
|
|
143
|
+
*/
|
|
144
|
+
interface ReactiveControllerHostInterface extends ComponentInterface, HTMLElement {
|
|
145
|
+
readonly controllers: ReadonlySet<ReactiveController>;
|
|
146
|
+
addController(controller: ReactiveController): void;
|
|
147
|
+
removeController(controller: ReactiveController): void;
|
|
148
|
+
requestUpdate(): void;
|
|
149
|
+
/**
|
|
150
|
+
* Resolves once the next pending render commits. Matches the shape of Lit's
|
|
151
|
+
* `ReactiveControllerHost.updateComplete`, for interop with controllers written against Lit's API
|
|
152
|
+
* (e.g. `@lit/context`).
|
|
153
|
+
*/
|
|
154
|
+
readonly updateComplete: Promise<boolean>;
|
|
155
|
+
}
|
|
108
156
|
interface RafCallback {
|
|
109
157
|
(timeStamp: number): void;
|
|
110
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* Minimal interface matched by signal objects (from @stencil/core/signals).
|
|
161
|
+
* Used in JSX attribute types.
|
|
162
|
+
*/
|
|
163
|
+
interface SignalRef<T = any> {
|
|
164
|
+
readonly value: T;
|
|
165
|
+
peek(): T;
|
|
166
|
+
}
|
|
111
167
|
/**
|
|
112
168
|
* Utilities for working with functional Stencil components. An object
|
|
113
169
|
* conforming to this interface is passed by the Stencil runtime as the third
|
|
@@ -149,7 +205,7 @@ interface FunctionalUtilities {
|
|
|
149
205
|
map: (children: VNode[], cb: (vnode: ChildNode$1, index: number, array: ChildNode$1[]) => ChildNode$1) => VNode[];
|
|
150
206
|
}
|
|
151
207
|
interface FunctionalComponent<T = {}> {
|
|
152
|
-
(props: T, children: VNode[], utils: FunctionalUtilities): VNode |
|
|
208
|
+
(props: T, children: VNode[], utils: FunctionalUtilities): VNode | null;
|
|
153
209
|
}
|
|
154
210
|
/**
|
|
155
211
|
* A Child VDOM node
|
|
@@ -160,7 +216,7 @@ interface FunctionalComponent<T = {}> {
|
|
|
160
216
|
* {@link FunctionalUtilities}).
|
|
161
217
|
*/
|
|
162
218
|
interface ChildNode$1 {
|
|
163
|
-
vtag?: string | number | Function;
|
|
219
|
+
vtag?: string | number | Function | symbol | null;
|
|
164
220
|
vkey?: string | number;
|
|
165
221
|
vtext?: string;
|
|
166
222
|
vchildren?: VNode[];
|
|
@@ -172,16 +228,18 @@ interface ChildNode$1 {
|
|
|
172
228
|
*/
|
|
173
229
|
interface VNode {
|
|
174
230
|
$flags$: number;
|
|
175
|
-
$tag$: string | number | Function;
|
|
231
|
+
$tag$: string | number | Function | symbol | null;
|
|
176
232
|
$elm$: any;
|
|
177
233
|
$text$: string;
|
|
178
234
|
$children$: VNode[];
|
|
179
235
|
$attrs$?: any;
|
|
180
236
|
$name$?: string;
|
|
181
237
|
$key$?: string | number;
|
|
238
|
+
/** Signal reference for vdom bypass: signal text nodes store the signal here. */
|
|
239
|
+
$signal$?: any;
|
|
182
240
|
}
|
|
183
241
|
declare namespace JSXBase {
|
|
184
|
-
interface IntrinsicElements {
|
|
242
|
+
export interface IntrinsicElements {
|
|
185
243
|
slot: JSXBase.SlotAttributes<HTMLSlotElement>;
|
|
186
244
|
a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
187
245
|
abbr: JSXBase.HTMLAttributes;
|
|
@@ -352,12 +410,12 @@ declare namespace JSXBase {
|
|
|
352
410
|
use: JSXBase.SVGAttributes;
|
|
353
411
|
view: JSXBase.SVGAttributes;
|
|
354
412
|
}
|
|
355
|
-
interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
|
|
413
|
+
export interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
|
|
356
414
|
name?: string;
|
|
357
415
|
slot?: string;
|
|
358
|
-
onSlotchange?: (event: Event) => void;
|
|
416
|
+
onSlotchange?: (event: Event$1) => void;
|
|
359
417
|
}
|
|
360
|
-
interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
418
|
+
export interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
361
419
|
download?: any;
|
|
362
420
|
href?: string;
|
|
363
421
|
hrefLang?: string;
|
|
@@ -368,8 +426,8 @@ declare namespace JSXBase {
|
|
|
368
426
|
target?: string;
|
|
369
427
|
referrerPolicy?: ReferrerPolicy;
|
|
370
428
|
}
|
|
371
|
-
interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
|
|
372
|
-
interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
429
|
+
export interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
|
|
430
|
+
export interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
373
431
|
alt?: string;
|
|
374
432
|
coords?: string;
|
|
375
433
|
download?: any;
|
|
@@ -381,14 +439,14 @@ declare namespace JSXBase {
|
|
|
381
439
|
shape?: string;
|
|
382
440
|
target?: string;
|
|
383
441
|
}
|
|
384
|
-
interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
442
|
+
export interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
385
443
|
href?: string;
|
|
386
444
|
target?: string;
|
|
387
445
|
}
|
|
388
|
-
interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
446
|
+
export interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
389
447
|
cite?: string;
|
|
390
448
|
}
|
|
391
|
-
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
449
|
+
export interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
392
450
|
disabled?: boolean;
|
|
393
451
|
form?: string;
|
|
394
452
|
formAction?: string;
|
|
@@ -405,50 +463,51 @@ declare namespace JSXBase {
|
|
|
405
463
|
type?: string;
|
|
406
464
|
value?: string | string[] | number;
|
|
407
465
|
popoverTargetAction?: string;
|
|
408
|
-
popoverTargetElement?: Element
|
|
466
|
+
popoverTargetElement?: globalThis.Element | null;
|
|
409
467
|
popoverTarget?: string;
|
|
410
468
|
command?: string;
|
|
411
469
|
commandFor?: string;
|
|
412
470
|
commandfor?: string;
|
|
413
471
|
}
|
|
414
|
-
interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
472
|
+
export interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
415
473
|
height?: number | string;
|
|
416
474
|
width?: number | string;
|
|
417
475
|
}
|
|
418
|
-
interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
476
|
+
export interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
419
477
|
span?: number;
|
|
420
478
|
}
|
|
421
|
-
interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
479
|
+
export interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
422
480
|
span?: number;
|
|
423
481
|
}
|
|
424
|
-
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
482
|
+
export interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
425
483
|
open?: boolean;
|
|
426
484
|
name?: string;
|
|
427
485
|
onToggle?: (event: ToggleEvent) => void;
|
|
428
486
|
}
|
|
429
|
-
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
487
|
+
export interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
430
488
|
cite?: string;
|
|
431
489
|
dateTime?: string;
|
|
432
490
|
datetime?: string;
|
|
433
491
|
}
|
|
434
|
-
interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
435
|
-
onCancel?: (event: Event) => void;
|
|
436
|
-
onClose?: (event: Event) => void;
|
|
492
|
+
export interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
493
|
+
onCancel?: (event: Event$1) => void;
|
|
494
|
+
onClose?: (event: Event$1) => void;
|
|
437
495
|
open?: boolean;
|
|
438
496
|
returnValue?: string;
|
|
497
|
+
closedby?: 'any' | 'closerequest' | 'none';
|
|
439
498
|
}
|
|
440
|
-
interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
499
|
+
export interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
441
500
|
height?: number | string;
|
|
442
501
|
src?: string;
|
|
443
502
|
type?: string;
|
|
444
503
|
width?: number | string;
|
|
445
504
|
}
|
|
446
|
-
interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
505
|
+
export interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
447
506
|
disabled?: boolean;
|
|
448
507
|
form?: string;
|
|
449
508
|
name?: string;
|
|
450
509
|
}
|
|
451
|
-
interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
510
|
+
export interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
452
511
|
acceptCharset?: string;
|
|
453
512
|
acceptcharset?: string;
|
|
454
513
|
action?: string;
|
|
@@ -462,10 +521,10 @@ declare namespace JSXBase {
|
|
|
462
521
|
novalidate?: boolean | string;
|
|
463
522
|
target?: string;
|
|
464
523
|
}
|
|
465
|
-
interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
524
|
+
export interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
466
525
|
manifest?: string;
|
|
467
526
|
}
|
|
468
|
-
interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
527
|
+
export interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
469
528
|
allow?: string;
|
|
470
529
|
allowFullScreen?: boolean;
|
|
471
530
|
allowfullScreen?: string | boolean;
|
|
@@ -473,6 +532,8 @@ declare namespace JSXBase {
|
|
|
473
532
|
allowtransparency?: string | boolean;
|
|
474
533
|
frameBorder?: number | string;
|
|
475
534
|
frameborder?: number | string;
|
|
535
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
536
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
476
537
|
importance?: 'low' | 'auto' | 'high';
|
|
477
538
|
height?: number | string;
|
|
478
539
|
loading?: 'lazy' | 'auto' | 'eager';
|
|
@@ -490,14 +551,17 @@ declare namespace JSXBase {
|
|
|
490
551
|
srcdoc?: string;
|
|
491
552
|
width?: number | string;
|
|
492
553
|
}
|
|
493
|
-
interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
554
|
+
export interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
494
555
|
alt?: string;
|
|
495
556
|
crossOrigin?: string;
|
|
496
557
|
crossorigin?: string;
|
|
497
558
|
decoding?: 'async' | 'auto' | 'sync';
|
|
559
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
560
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
498
561
|
importance?: 'low' | 'auto' | 'high';
|
|
499
562
|
height?: number | string;
|
|
500
563
|
loading?: 'lazy' | 'auto' | 'eager';
|
|
564
|
+
referrerPolicy?: ReferrerPolicy;
|
|
501
565
|
sizes?: string;
|
|
502
566
|
src?: string;
|
|
503
567
|
srcSet?: string;
|
|
@@ -506,12 +570,12 @@ declare namespace JSXBase {
|
|
|
506
570
|
usemap?: string;
|
|
507
571
|
width?: number | string;
|
|
508
572
|
}
|
|
509
|
-
interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
573
|
+
export interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
510
574
|
cite?: string;
|
|
511
575
|
dateTime?: string;
|
|
512
576
|
datetime?: string;
|
|
513
577
|
}
|
|
514
|
-
interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
578
|
+
export interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
515
579
|
accept?: string;
|
|
516
580
|
allowdirs?: boolean;
|
|
517
581
|
alt?: string;
|
|
@@ -550,8 +614,8 @@ declare namespace JSXBase {
|
|
|
550
614
|
minlength?: number | string;
|
|
551
615
|
multiple?: boolean;
|
|
552
616
|
name?: string;
|
|
553
|
-
onSelect?: (event: Event) => void;
|
|
554
|
-
onselect?: (event: Event) => void;
|
|
617
|
+
onSelect?: (event: Event$1) => void;
|
|
618
|
+
onselect?: (event: Event$1) => void;
|
|
555
619
|
pattern?: string;
|
|
556
620
|
placeholder?: string;
|
|
557
621
|
readOnly?: boolean;
|
|
@@ -571,10 +635,10 @@ declare namespace JSXBase {
|
|
|
571
635
|
webkitEntries?: any;
|
|
572
636
|
width?: number | string;
|
|
573
637
|
popoverTargetAction?: string;
|
|
574
|
-
popoverTargetElement?: Element
|
|
638
|
+
popoverTargetElement?: globalThis.Element | null;
|
|
575
639
|
popoverTarget?: string;
|
|
576
640
|
}
|
|
577
|
-
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
641
|
+
export interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
578
642
|
challenge?: string;
|
|
579
643
|
disabled?: boolean;
|
|
580
644
|
form?: string;
|
|
@@ -584,15 +648,17 @@ declare namespace JSXBase {
|
|
|
584
648
|
keyparams?: string;
|
|
585
649
|
name?: string;
|
|
586
650
|
}
|
|
587
|
-
interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
651
|
+
export interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
588
652
|
form?: string;
|
|
589
653
|
htmlFor?: string;
|
|
590
654
|
}
|
|
591
|
-
interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
655
|
+
export interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
592
656
|
value?: string | string[] | number;
|
|
593
657
|
}
|
|
594
|
-
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
658
|
+
export interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
595
659
|
as?: string;
|
|
660
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
661
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
596
662
|
href?: string;
|
|
597
663
|
hrefLang?: string;
|
|
598
664
|
hreflang?: string;
|
|
@@ -603,13 +669,13 @@ declare namespace JSXBase {
|
|
|
603
669
|
sizes?: string;
|
|
604
670
|
type?: string;
|
|
605
671
|
}
|
|
606
|
-
interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
672
|
+
export interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
607
673
|
name?: string;
|
|
608
674
|
}
|
|
609
|
-
interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
675
|
+
export interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
610
676
|
type?: string;
|
|
611
677
|
}
|
|
612
|
-
interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
678
|
+
export interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
613
679
|
autoPlay?: boolean;
|
|
614
680
|
autoplay?: boolean | string;
|
|
615
681
|
controls?: boolean;
|
|
@@ -623,33 +689,33 @@ declare namespace JSXBase {
|
|
|
623
689
|
muted?: boolean;
|
|
624
690
|
preload?: string;
|
|
625
691
|
src?: string;
|
|
626
|
-
onAbort?: (event: Event) => void;
|
|
627
|
-
onCanPlay?: (event: Event) => void;
|
|
628
|
-
onCanPlayThrough?: (event: Event) => void;
|
|
629
|
-
onDurationChange?: (event: Event) => void;
|
|
630
|
-
onEmptied?: (event: Event) => void;
|
|
631
|
-
onEnded?: (event: Event) => void;
|
|
632
|
-
onError?: (event: Event) => void;
|
|
633
|
-
onInterruptBegin?: (event: Event) => void;
|
|
634
|
-
onInterruptEnd?: (event: Event) => void;
|
|
635
|
-
onLoadedData?: (event: Event) => void;
|
|
636
|
-
onLoadedMetaData?: (event: Event) => void;
|
|
637
|
-
onLoadStart?: (event: Event) => void;
|
|
638
|
-
onMozAudioAvailable?: (event: Event) => void;
|
|
639
|
-
onPause?: (event: Event) => void;
|
|
640
|
-
onPlay?: (event: Event) => void;
|
|
641
|
-
onPlaying?: (event: Event) => void;
|
|
642
|
-
onProgress?: (event: Event) => void;
|
|
643
|
-
onRateChange?: (event: Event) => void;
|
|
644
|
-
onSeeked?: (event: Event) => void;
|
|
645
|
-
onSeeking?: (event: Event) => void;
|
|
646
|
-
onStalled?: (event: Event) => void;
|
|
647
|
-
onSuspend?: (event: Event) => void;
|
|
648
|
-
onTimeUpdate?: (event: Event) => void;
|
|
649
|
-
onVolumeChange?: (event: Event) => void;
|
|
650
|
-
onWaiting?: (event: Event) => void;
|
|
692
|
+
onAbort?: (event: Event$1) => void;
|
|
693
|
+
onCanPlay?: (event: Event$1) => void;
|
|
694
|
+
onCanPlayThrough?: (event: Event$1) => void;
|
|
695
|
+
onDurationChange?: (event: Event$1) => void;
|
|
696
|
+
onEmptied?: (event: Event$1) => void;
|
|
697
|
+
onEnded?: (event: Event$1) => void;
|
|
698
|
+
onError?: (event: Event$1) => void;
|
|
699
|
+
onInterruptBegin?: (event: Event$1) => void;
|
|
700
|
+
onInterruptEnd?: (event: Event$1) => void;
|
|
701
|
+
onLoadedData?: (event: Event$1) => void;
|
|
702
|
+
onLoadedMetaData?: (event: Event$1) => void;
|
|
703
|
+
onLoadStart?: (event: Event$1) => void;
|
|
704
|
+
onMozAudioAvailable?: (event: Event$1) => void;
|
|
705
|
+
onPause?: (event: Event$1) => void;
|
|
706
|
+
onPlay?: (event: Event$1) => void;
|
|
707
|
+
onPlaying?: (event: Event$1) => void;
|
|
708
|
+
onProgress?: (event: Event$1) => void;
|
|
709
|
+
onRateChange?: (event: Event$1) => void;
|
|
710
|
+
onSeeked?: (event: Event$1) => void;
|
|
711
|
+
onSeeking?: (event: Event$1) => void;
|
|
712
|
+
onStalled?: (event: Event$1) => void;
|
|
713
|
+
onSuspend?: (event: Event$1) => void;
|
|
714
|
+
onTimeUpdate?: (event: Event$1) => void;
|
|
715
|
+
onVolumeChange?: (event: Event$1) => void;
|
|
716
|
+
onWaiting?: (event: Event$1) => void;
|
|
651
717
|
}
|
|
652
|
-
interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
718
|
+
export interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
653
719
|
charSet?: string;
|
|
654
720
|
charset?: string;
|
|
655
721
|
content?: string;
|
|
@@ -657,7 +723,7 @@ declare namespace JSXBase {
|
|
|
657
723
|
httpequiv?: string;
|
|
658
724
|
name?: string;
|
|
659
725
|
}
|
|
660
|
-
interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
726
|
+
export interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
661
727
|
form?: string;
|
|
662
728
|
high?: number;
|
|
663
729
|
low?: number;
|
|
@@ -666,10 +732,10 @@ declare namespace JSXBase {
|
|
|
666
732
|
optimum?: number;
|
|
667
733
|
value?: string | string[] | number;
|
|
668
734
|
}
|
|
669
|
-
interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
735
|
+
export interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
670
736
|
cite?: string;
|
|
671
737
|
}
|
|
672
|
-
interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
738
|
+
export interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
673
739
|
classID?: string;
|
|
674
740
|
classid?: string;
|
|
675
741
|
data?: string;
|
|
@@ -682,47 +748,49 @@ declare namespace JSXBase {
|
|
|
682
748
|
width?: number | string;
|
|
683
749
|
wmode?: string;
|
|
684
750
|
}
|
|
685
|
-
interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
751
|
+
export interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
686
752
|
reversed?: boolean;
|
|
687
753
|
start?: number;
|
|
688
754
|
}
|
|
689
|
-
interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
755
|
+
export interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
690
756
|
disabled?: boolean;
|
|
691
757
|
label?: string;
|
|
692
758
|
}
|
|
693
|
-
interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
759
|
+
export interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
694
760
|
disabled?: boolean;
|
|
695
761
|
label?: string;
|
|
696
762
|
selected?: boolean;
|
|
697
763
|
value?: string | string[] | number;
|
|
698
764
|
}
|
|
699
|
-
interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
765
|
+
export interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
700
766
|
form?: string;
|
|
701
767
|
htmlFor?: string;
|
|
702
768
|
name?: string;
|
|
703
769
|
}
|
|
704
|
-
interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
770
|
+
export interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
705
771
|
name?: string;
|
|
706
772
|
value?: string | string[] | number;
|
|
707
773
|
}
|
|
708
|
-
interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
774
|
+
export interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
709
775
|
max?: number | string;
|
|
710
776
|
value?: string | string[] | number;
|
|
711
777
|
}
|
|
712
|
-
interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
778
|
+
export interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
713
779
|
async?: boolean;
|
|
714
780
|
charSet?: string;
|
|
715
781
|
charset?: string;
|
|
716
782
|
crossOrigin?: string;
|
|
717
783
|
crossorigin?: string;
|
|
718
784
|
defer?: boolean;
|
|
785
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
786
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
719
787
|
importance?: 'low' | 'auto' | 'high';
|
|
720
788
|
integrity?: string;
|
|
721
789
|
nonce?: string;
|
|
722
790
|
src?: string;
|
|
723
791
|
type?: string;
|
|
724
792
|
}
|
|
725
|
-
interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
793
|
+
export interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
726
794
|
disabled?: boolean;
|
|
727
795
|
form?: string;
|
|
728
796
|
multiple?: boolean;
|
|
@@ -732,7 +800,7 @@ declare namespace JSXBase {
|
|
|
732
800
|
autoComplete?: string;
|
|
733
801
|
autocomplete?: string;
|
|
734
802
|
}
|
|
735
|
-
interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
803
|
+
export interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
736
804
|
height?: number;
|
|
737
805
|
media?: string;
|
|
738
806
|
sizes?: string;
|
|
@@ -741,20 +809,20 @@ declare namespace JSXBase {
|
|
|
741
809
|
type?: string;
|
|
742
810
|
width?: number;
|
|
743
811
|
}
|
|
744
|
-
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
812
|
+
export interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
745
813
|
media?: string;
|
|
746
814
|
nonce?: string;
|
|
747
815
|
scoped?: boolean;
|
|
748
816
|
type?: string;
|
|
749
817
|
}
|
|
750
|
-
interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
818
|
+
export interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
751
819
|
cellPadding?: number | string;
|
|
752
820
|
cellpadding?: number | string;
|
|
753
821
|
cellSpacing?: number | string;
|
|
754
822
|
cellspacing?: number | string;
|
|
755
823
|
summary?: string;
|
|
756
824
|
}
|
|
757
|
-
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
825
|
+
export interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
758
826
|
autoComplete?: string;
|
|
759
827
|
autocomplete?: string;
|
|
760
828
|
cols?: number;
|
|
@@ -765,8 +833,8 @@ declare namespace JSXBase {
|
|
|
765
833
|
minLength?: number;
|
|
766
834
|
minlength?: number | string;
|
|
767
835
|
name?: string;
|
|
768
|
-
onSelect?: (event: Event) => void;
|
|
769
|
-
onselect?: (event: Event) => void;
|
|
836
|
+
onSelect?: (event: Event$1) => void;
|
|
837
|
+
onselect?: (event: Event$1) => void;
|
|
770
838
|
placeholder?: string;
|
|
771
839
|
readOnly?: boolean;
|
|
772
840
|
readonly?: boolean | string;
|
|
@@ -775,12 +843,12 @@ declare namespace JSXBase {
|
|
|
775
843
|
value?: string | string[] | number;
|
|
776
844
|
wrap?: string;
|
|
777
845
|
}
|
|
778
|
-
interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
846
|
+
export interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
779
847
|
colSpan?: number;
|
|
780
848
|
headers?: string;
|
|
781
849
|
rowSpan?: number;
|
|
782
850
|
}
|
|
783
|
-
interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
851
|
+
export interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
784
852
|
abbr?: string;
|
|
785
853
|
colSpan?: number;
|
|
786
854
|
headers?: string;
|
|
@@ -788,10 +856,10 @@ declare namespace JSXBase {
|
|
|
788
856
|
rowspan?: number | string;
|
|
789
857
|
scope?: string;
|
|
790
858
|
}
|
|
791
|
-
interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
859
|
+
export interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
792
860
|
dateTime?: string;
|
|
793
861
|
}
|
|
794
|
-
interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
862
|
+
export interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
795
863
|
default?: boolean;
|
|
796
864
|
kind?: string;
|
|
797
865
|
label?: string;
|
|
@@ -799,28 +867,28 @@ declare namespace JSXBase {
|
|
|
799
867
|
srcLang?: string;
|
|
800
868
|
srclang?: string;
|
|
801
869
|
}
|
|
802
|
-
interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
870
|
+
export interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
803
871
|
height?: number | string;
|
|
804
872
|
playsInline?: boolean;
|
|
805
873
|
playsinline?: boolean | string;
|
|
806
874
|
poster?: string;
|
|
807
875
|
width?: number | string;
|
|
808
876
|
}
|
|
809
|
-
interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
|
877
|
+
export interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
|
810
878
|
innerHTML?: string;
|
|
811
879
|
accessKey?: string;
|
|
812
880
|
autoFocus?: boolean;
|
|
813
881
|
autofocus?: boolean | string;
|
|
814
882
|
class?: string | {
|
|
815
883
|
[className: string]: boolean;
|
|
816
|
-
}
|
|
884
|
+
} | SignalRef<string>;
|
|
817
885
|
contentEditable?: boolean | string;
|
|
818
886
|
contenteditable?: boolean | string;
|
|
819
887
|
contextMenu?: string;
|
|
820
888
|
contextmenu?: string;
|
|
821
889
|
dir?: string;
|
|
822
890
|
draggable?: boolean;
|
|
823
|
-
hidden?: boolean;
|
|
891
|
+
hidden?: boolean | 'until-found';
|
|
824
892
|
id?: string;
|
|
825
893
|
inert?: boolean;
|
|
826
894
|
lang?: string;
|
|
@@ -831,7 +899,10 @@ declare namespace JSXBase {
|
|
|
831
899
|
tabIndex?: number;
|
|
832
900
|
tabindex?: number | string;
|
|
833
901
|
title?: string;
|
|
902
|
+
translate?: 'yes' | 'no' | (string & {});
|
|
834
903
|
popover?: string | null;
|
|
904
|
+
focusgroup?: string;
|
|
905
|
+
focusgroupstart?: boolean;
|
|
835
906
|
inputMode?: string;
|
|
836
907
|
inputmode?: string;
|
|
837
908
|
enterKeyHint?: string;
|
|
@@ -869,10 +940,10 @@ declare namespace JSXBase {
|
|
|
869
940
|
security?: string;
|
|
870
941
|
unselectable?: boolean;
|
|
871
942
|
}
|
|
872
|
-
interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
|
|
943
|
+
export interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
|
|
873
944
|
class?: string | {
|
|
874
945
|
[className: string]: boolean;
|
|
875
|
-
}
|
|
946
|
+
} | SignalRef<string>;
|
|
876
947
|
color?: string;
|
|
877
948
|
height?: number | string;
|
|
878
949
|
id?: string;
|
|
@@ -1131,13 +1202,15 @@ declare namespace JSXBase {
|
|
|
1131
1202
|
zoomAndPan?: string;
|
|
1132
1203
|
}
|
|
1133
1204
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
|
|
1134
|
-
interface ToggleEvent extends Event {
|
|
1205
|
+
export interface ToggleEvent extends Event$1 {
|
|
1135
1206
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
|
|
1136
1207
|
readonly newState: string;
|
|
1137
1208
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
|
|
1138
1209
|
readonly oldState: string;
|
|
1139
1210
|
}
|
|
1140
|
-
|
|
1211
|
+
type AriaIDLPropertyName = { [K in keyof ARIAMixin]: ARIAMixin[K] extends string | null ? K : never; }[keyof ARIAMixin];
|
|
1212
|
+
type JSXAriaProperties = { [K in AriaIDLPropertyName]?: string | boolean | undefined; };
|
|
1213
|
+
export interface DOMAttributes<T> extends JSXAttributes<T>, JSXAriaProperties {
|
|
1141
1214
|
slot?: string;
|
|
1142
1215
|
part?: string;
|
|
1143
1216
|
exportparts?: string;
|
|
@@ -1165,20 +1238,20 @@ declare namespace JSXBase {
|
|
|
1165
1238
|
onFocusoutCapture?: (event: FocusEvent) => void;
|
|
1166
1239
|
onBlur?: (event: FocusEvent) => void;
|
|
1167
1240
|
onBlurCapture?: (event: FocusEvent) => void;
|
|
1168
|
-
onChange?: (event: Event) => void;
|
|
1169
|
-
onChangeCapture?: (event: Event) => void;
|
|
1241
|
+
onChange?: (event: Event$1) => void;
|
|
1242
|
+
onChangeCapture?: (event: Event$1) => void;
|
|
1170
1243
|
onInput?: (event: InputEvent) => void;
|
|
1171
1244
|
onInputCapture?: (event: InputEvent) => void;
|
|
1172
|
-
onReset?: (event: Event) => void;
|
|
1173
|
-
onResetCapture?: (event: Event) => void;
|
|
1174
|
-
onSubmit?: (event: Event) => void;
|
|
1175
|
-
onSubmitCapture?: (event: Event) => void;
|
|
1176
|
-
onInvalid?: (event: Event) => void;
|
|
1177
|
-
onInvalidCapture?: (event: Event) => void;
|
|
1178
|
-
onLoad?: (event: Event) => void;
|
|
1179
|
-
onLoadCapture?: (event: Event) => void;
|
|
1180
|
-
onError?: (event: Event) => void;
|
|
1181
|
-
onErrorCapture?: (event: Event) => void;
|
|
1245
|
+
onReset?: (event: Event$1) => void;
|
|
1246
|
+
onResetCapture?: (event: Event$1) => void;
|
|
1247
|
+
onSubmit?: (event: Event$1) => void;
|
|
1248
|
+
onSubmitCapture?: (event: Event$1) => void;
|
|
1249
|
+
onInvalid?: (event: Event$1) => void;
|
|
1250
|
+
onInvalidCapture?: (event: Event$1) => void;
|
|
1251
|
+
onLoad?: (event: Event$1) => void;
|
|
1252
|
+
onLoadCapture?: (event: Event$1) => void;
|
|
1253
|
+
onError?: (event: Event$1) => void;
|
|
1254
|
+
onErrorCapture?: (event: Event$1) => void;
|
|
1182
1255
|
onKeyDown?: (event: KeyboardEvent) => void;
|
|
1183
1256
|
onKeyDownCapture?: (event: KeyboardEvent) => void;
|
|
1184
1257
|
onKeyPress?: (event: KeyboardEvent) => void;
|
|
@@ -1267,18 +1340,21 @@ declare namespace JSXBase {
|
|
|
1267
1340
|
onTransitionStart?: (event: TransitionEvent) => void;
|
|
1268
1341
|
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
1269
1342
|
[key: `aria-${string}`]: string | boolean | undefined;
|
|
1270
|
-
[key: `aria${string}`]: string | boolean | undefined;
|
|
1271
1343
|
}
|
|
1344
|
+
export {};
|
|
1272
1345
|
}
|
|
1273
|
-
interface JSXAttributes<T = Element
|
|
1346
|
+
interface JSXAttributes<T = globalThis.Element> {
|
|
1274
1347
|
key?: string | number;
|
|
1275
1348
|
ref?: (elm?: T) => void;
|
|
1349
|
+
children?: any;
|
|
1350
|
+
[key: `attr:${string}`]: any;
|
|
1351
|
+
[key: `prop:${string}`]: any;
|
|
1276
1352
|
}
|
|
1277
1353
|
interface CustomElementsDefineOptions {
|
|
1278
1354
|
exclude?: string[];
|
|
1279
1355
|
syncQueue?: boolean;
|
|
1280
|
-
/**
|
|
1281
|
-
|
|
1356
|
+
/** Scoped custom element registry to define components in. Defaults to the global registry. */
|
|
1357
|
+
registry?: CustomElementRegistry;
|
|
1282
1358
|
jmp?: (c: Function) => any;
|
|
1283
1359
|
raf?: (c: FrameRequestCallback) => number;
|
|
1284
1360
|
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
@@ -1287,7 +1363,7 @@ interface CustomElementsDefineOptions {
|
|
|
1287
1363
|
}
|
|
1288
1364
|
//#endregion
|
|
1289
1365
|
//#region src/declarations/stencil-public-compiler.d.ts
|
|
1290
|
-
interface
|
|
1366
|
+
interface SsrDocumentOptions {
|
|
1291
1367
|
/**
|
|
1292
1368
|
* Build ID that will be added to `<html data-stencil-build="BUILD_ID">`. By default
|
|
1293
1369
|
* a random ID will be generated
|
|
@@ -1304,7 +1380,7 @@ interface HydrateDocumentOptions {
|
|
|
1304
1380
|
* JavaScript to read the structure of the HTML and rebuild each
|
|
1305
1381
|
* component. Defaults to `true`.
|
|
1306
1382
|
*/
|
|
1307
|
-
|
|
1383
|
+
clientSsrAnnotations?: boolean;
|
|
1308
1384
|
/**
|
|
1309
1385
|
* Constrain `setTimeout()` to 1ms, but still async. Also
|
|
1310
1386
|
* only allows `setInterval()` to fire once, also constrained to 1ms.
|
|
@@ -1337,6 +1413,16 @@ interface HydrateDocumentOptions {
|
|
|
1337
1413
|
* Sets `document.referrer`
|
|
1338
1414
|
*/
|
|
1339
1415
|
referrer?: string;
|
|
1416
|
+
/**
|
|
1417
|
+
* Render into one long-lived mock window, reset between renders, instead of creating a new one
|
|
1418
|
+
* for every call. Skips evaluating the whole SSR platform (runtime and every component)
|
|
1419
|
+
* on each render: most of the cost of rendering a small fragment, and a good part of a whole page.
|
|
1420
|
+
*
|
|
1421
|
+
* Applies to HTML string input (not a `Document`). One window per distinct `serializeShadowRoot` value,
|
|
1422
|
+
* and renders sharing a window run one at a time.
|
|
1423
|
+
* Defaults to `false`, except in the `ssr-wasm` output target, where it defaults to `true`.
|
|
1424
|
+
*/
|
|
1425
|
+
reuseWindow?: boolean;
|
|
1340
1426
|
/**
|
|
1341
1427
|
* Removes every `<script>` element found in the `document`. Defaults to `false`.
|
|
1342
1428
|
*/
|
|
@@ -1403,22 +1489,30 @@ interface HydrateDocumentOptions {
|
|
|
1403
1489
|
default: 'declarative-shadow-dom' | 'scoped';
|
|
1404
1490
|
} | boolean;
|
|
1405
1491
|
}
|
|
1406
|
-
interface SerializeDocumentOptions extends
|
|
1492
|
+
interface SerializeDocumentOptions extends SsrDocumentOptions {
|
|
1407
1493
|
/**
|
|
1408
1494
|
* Runs after the `document` has been hydrated.
|
|
1409
1495
|
*/
|
|
1496
|
+
afterSsr?(document: any): any | Promise<any>;
|
|
1497
|
+
/**
|
|
1498
|
+
* @deprecated Use `afterSsr` instead.
|
|
1499
|
+
*/
|
|
1410
1500
|
afterHydrate?(document: any): any | Promise<any>;
|
|
1411
1501
|
/**
|
|
1412
1502
|
* Sets an approximate line width the HTML should attempt to stay within.
|
|
1413
1503
|
* Note that this is "approximate", in that HTML may often not be able
|
|
1414
1504
|
* to be split at an exact line width. Additionally, new lines created
|
|
1415
1505
|
* is where HTML naturally already has whitespace, such as before an
|
|
1416
|
-
* attribute or spaces between words. Defaults to `100
|
|
1506
|
+
* attribute or spaces between words. Defaults to no wrapping (`100` when prerendering).
|
|
1417
1507
|
*/
|
|
1418
1508
|
approximateLineWidth?: number;
|
|
1419
1509
|
/**
|
|
1420
1510
|
* Runs before the `document` has been hydrated.
|
|
1421
1511
|
*/
|
|
1512
|
+
beforeSsr?(document: any): any | Promise<any>;
|
|
1513
|
+
/**
|
|
1514
|
+
* @deprecated Use `beforeSsr` instead.
|
|
1515
|
+
*/
|
|
1422
1516
|
beforeHydrate?(document: any): any | Promise<any>;
|
|
1423
1517
|
/**
|
|
1424
1518
|
* Format the HTML in a nicely indented format.
|
|
@@ -1427,12 +1521,12 @@ interface SerializeDocumentOptions extends HydrateDocumentOptions {
|
|
|
1427
1521
|
prettyHtml?: boolean;
|
|
1428
1522
|
/**
|
|
1429
1523
|
* Remove quotes from attribute values when possible.
|
|
1430
|
-
* Defaults to `true
|
|
1524
|
+
* Defaults to `false` (`true` when prerendering).
|
|
1431
1525
|
*/
|
|
1432
1526
|
removeAttributeQuotes?: boolean;
|
|
1433
1527
|
/**
|
|
1434
1528
|
* Remove the `=""` from standardized `boolean` attributes,
|
|
1435
|
-
* such as `hidden` or `checked`. Defaults to `true
|
|
1529
|
+
* such as `hidden` or `checked`. Defaults to `false` (`true` when prerendering).
|
|
1436
1530
|
*/
|
|
1437
1531
|
removeBooleanAttributeQuotes?: boolean;
|
|
1438
1532
|
/**
|
|
@@ -1441,7 +1535,7 @@ interface SerializeDocumentOptions extends HydrateDocumentOptions {
|
|
|
1441
1535
|
*/
|
|
1442
1536
|
removeEmptyAttributes?: boolean;
|
|
1443
1537
|
/**
|
|
1444
|
-
* Remove HTML comments. Defaults to `true
|
|
1538
|
+
* Remove HTML comments. Defaults to `false` (`true` when prerendering).
|
|
1445
1539
|
*/
|
|
1446
1540
|
removeHtmlComments?: boolean;
|
|
1447
1541
|
/**
|
|
@@ -1456,10 +1550,16 @@ interface SerializeDocumentOptions extends HydrateDocumentOptions {
|
|
|
1456
1550
|
*/
|
|
1457
1551
|
modes?: ResolutionHandler[];
|
|
1458
1552
|
}
|
|
1459
|
-
interface
|
|
1553
|
+
interface SsrFactoryOptions extends SerializeDocumentOptions {
|
|
1460
1554
|
serializeToHtml: boolean;
|
|
1461
1555
|
destroyWindow: boolean;
|
|
1462
1556
|
destroyDocument: boolean;
|
|
1557
|
+
/**
|
|
1558
|
+
* A canonical key for `serializeShadowRoot`, set by the renderer. Renders with the same key
|
|
1559
|
+
* render every component the same way, so they can share an SSR platform.
|
|
1560
|
+
* @internal
|
|
1561
|
+
*/
|
|
1562
|
+
serializeShadowRootKey?: string;
|
|
1463
1563
|
}
|
|
1464
1564
|
//#endregion
|
|
1465
1565
|
//#region src/declarations/stencil-private.d.ts
|
|
@@ -1526,7 +1626,9 @@ interface HostElement extends HTMLElement {
|
|
|
1526
1626
|
disconnectedCallback?: () => void;
|
|
1527
1627
|
host?: Element;
|
|
1528
1628
|
forceUpdate?: () => void;
|
|
1529
|
-
|
|
1629
|
+
__s_ghr?: () => HostRef;
|
|
1630
|
+
/** attaches the component's shadow root if it needs one and doesn't have one yet */
|
|
1631
|
+
__attachShadow?: () => void;
|
|
1530
1632
|
/**
|
|
1531
1633
|
* Unique stencil id for this element
|
|
1532
1634
|
*/
|
|
@@ -1580,6 +1682,15 @@ interface HostElement extends HTMLElement {
|
|
|
1580
1682
|
* must be resolved for the top, ancestor component to be fully hydrated
|
|
1581
1683
|
*/
|
|
1582
1684
|
['s-p']?: Promise<void>[];
|
|
1685
|
+
/**
|
|
1686
|
+
* Pending Connects:
|
|
1687
|
+
* A list of {@link HostRef.$onFirstConnectPromise$} promises for descendants that
|
|
1688
|
+
* were already registered with this component (their nearest Stencil ancestor) by
|
|
1689
|
+
* the time this component's own initial `componentWillLoad` was scheduled. Awaited
|
|
1690
|
+
* so this component's `componentWillLoad` can't fire before those descendants'
|
|
1691
|
+
* real `connectedCallback`s have.
|
|
1692
|
+
*/
|
|
1693
|
+
['s-pc']?: Promise<void>[];
|
|
1583
1694
|
componentOnReady?: () => Promise<this>;
|
|
1584
1695
|
}
|
|
1585
1696
|
/**
|
|
@@ -1619,6 +1730,11 @@ interface RenderNode extends HostElement {
|
|
|
1619
1730
|
* Slot name of either the slot itself or the slotted node
|
|
1620
1731
|
*/
|
|
1621
1732
|
['s-sn']?: string;
|
|
1733
|
+
/**
|
|
1734
|
+
* `slot` attribute of a `<slot>` reference rendered as a text node (no fallback content),
|
|
1735
|
+
* since text nodes can't carry real DOM attributes.
|
|
1736
|
+
*/
|
|
1737
|
+
['s-sa']?: string;
|
|
1622
1738
|
/**
|
|
1623
1739
|
* Host element tag name:
|
|
1624
1740
|
* The tag name of the host element that this
|
|
@@ -1671,64 +1787,64 @@ interface RenderNode extends HostElement {
|
|
|
1671
1787
|
* Used to know the components encapsulation.
|
|
1672
1788
|
* empty "" for shadow, "c" from scoped
|
|
1673
1789
|
*/
|
|
1674
|
-
['s-en']?: '' | /*shadow*/'c';
|
|
1790
|
+
['s-en']?: '' | /*shadow*/ 'c';
|
|
1675
1791
|
/**
|
|
1676
1792
|
* On a `scoped: true` component
|
|
1677
|
-
* with `
|
|
1793
|
+
* with `lightDomPatches` flag enabled,
|
|
1678
1794
|
* returns the internal `childNodes` of the component
|
|
1679
1795
|
*/
|
|
1680
1796
|
readonly __childNodes?: NodeListOf<ChildNode>;
|
|
1681
1797
|
/**
|
|
1682
1798
|
* On a `scoped: true` component
|
|
1683
|
-
* with `
|
|
1799
|
+
* with `lightDomPatches` flag enabled,
|
|
1684
1800
|
* returns the internal `children` of the component
|
|
1685
1801
|
*/
|
|
1686
1802
|
readonly __children?: HTMLCollectionOf<Element>;
|
|
1687
1803
|
/**
|
|
1688
1804
|
* On a `scoped: true` component
|
|
1689
|
-
* with `
|
|
1805
|
+
* with `lightDomPatches` flag enabled,
|
|
1690
1806
|
* returns the internal `firstChild` of the component
|
|
1691
1807
|
*/
|
|
1692
1808
|
readonly __firstChild?: ChildNode;
|
|
1693
1809
|
/**
|
|
1694
1810
|
* On a `scoped: true` component
|
|
1695
|
-
* with `
|
|
1811
|
+
* with `lightDomPatches` flag enabled,
|
|
1696
1812
|
* returns the internal `lastChild` of the component
|
|
1697
1813
|
*/
|
|
1698
1814
|
readonly __lastChild?: ChildNode;
|
|
1699
1815
|
/**
|
|
1700
1816
|
* On a `scoped: true` component
|
|
1701
|
-
* with `
|
|
1817
|
+
* with `lightDomPatches` flag enabled,
|
|
1702
1818
|
* returns the internal `textContent` of the component
|
|
1703
1819
|
*/
|
|
1704
1820
|
__textContent?: string;
|
|
1705
1821
|
/**
|
|
1706
1822
|
* On a `scoped: true` component
|
|
1707
|
-
* with `
|
|
1823
|
+
* with `lightDomPatches` flag enabled,
|
|
1708
1824
|
* gives access to the original `append` method
|
|
1709
1825
|
*/
|
|
1710
1826
|
__append?: (...nodes: (Node | string)[]) => void;
|
|
1711
1827
|
/**
|
|
1712
1828
|
* On a `scoped: true` component
|
|
1713
|
-
* with `
|
|
1829
|
+
* with `lightDomPatches` flag enabled,
|
|
1714
1830
|
* gives access to the original `prepend` method
|
|
1715
1831
|
*/
|
|
1716
1832
|
__prepend?: (...nodes: (Node | string)[]) => void;
|
|
1717
1833
|
/**
|
|
1718
1834
|
* On a `scoped: true` component
|
|
1719
|
-
* with `
|
|
1835
|
+
* with `lightDomPatches` flag enabled,
|
|
1720
1836
|
* gives access to the original `appendChild` method
|
|
1721
1837
|
*/
|
|
1722
1838
|
__appendChild?: <T extends Node>(newChild: T) => T;
|
|
1723
1839
|
/**
|
|
1724
1840
|
* On a `scoped: true` component
|
|
1725
|
-
* with `
|
|
1841
|
+
* with `lightDomPatches` flag enabled,
|
|
1726
1842
|
* gives access to the original `insertBefore` method
|
|
1727
1843
|
*/
|
|
1728
1844
|
__insertBefore?: <T extends Node>(node: T, child: Node | null) => T;
|
|
1729
1845
|
/**
|
|
1730
1846
|
* On a `scoped: true` component
|
|
1731
|
-
* with `
|
|
1847
|
+
* with `lightDomPatches` flag enabled,
|
|
1732
1848
|
* gives access to the original `removeChild` method
|
|
1733
1849
|
*/
|
|
1734
1850
|
__removeChild?: <T extends Node>(child: T) => T;
|
|
@@ -1766,40 +1882,58 @@ interface PatchedSlotNode extends Node {
|
|
|
1766
1882
|
['s-sr']?: boolean;
|
|
1767
1883
|
/**
|
|
1768
1884
|
* On a `scoped: true` component
|
|
1769
|
-
* with `
|
|
1885
|
+
* with `lightDomPatches` flag enabled,
|
|
1770
1886
|
* returns the actual `parentNode` of the component
|
|
1771
1887
|
*/
|
|
1772
1888
|
__parentNode?: RenderNode;
|
|
1773
1889
|
/**
|
|
1774
1890
|
* On a `scoped: true` component
|
|
1775
|
-
* with `
|
|
1891
|
+
* with `lightDomPatches` flag enabled,
|
|
1776
1892
|
* returns the actual `nextSibling` of the component
|
|
1777
1893
|
*/
|
|
1778
1894
|
__nextSibling?: RenderNode;
|
|
1779
1895
|
/**
|
|
1780
1896
|
* On a `scoped: true` component
|
|
1781
|
-
* with `
|
|
1897
|
+
* with `lightDomPatches` flag enabled,
|
|
1782
1898
|
* returns the actual `previousSibling` of the component
|
|
1783
1899
|
*/
|
|
1784
1900
|
__previousSibling?: RenderNode;
|
|
1785
1901
|
/**
|
|
1786
1902
|
* On a `scoped: true` component
|
|
1787
|
-
* with `
|
|
1903
|
+
* with `lightDomPatches` flag enabled,
|
|
1788
1904
|
* returns the actual `nextElementSibling` of the component
|
|
1789
1905
|
*/
|
|
1790
1906
|
__nextElementSibling?: RenderNode;
|
|
1791
1907
|
/**
|
|
1792
1908
|
* On a `scoped: true` component
|
|
1793
|
-
* with `
|
|
1909
|
+
* with `lightDomPatches` flag enabled,
|
|
1794
1910
|
* returns the actual `nextElementSibling` of the component
|
|
1795
1911
|
*/
|
|
1796
1912
|
__previousElementSibling?: RenderNode;
|
|
1797
1913
|
}
|
|
1798
1914
|
type LazyBundlesRuntimeData = LazyBundleRuntimeData[];
|
|
1799
|
-
type LazyBundleRuntimeData = [
|
|
1800
|
-
|
|
1915
|
+
type LazyBundleRuntimeData = [
|
|
1916
|
+
/** bundleIds */
|
|
1917
|
+
string, ComponentRuntimeMetaCompact[]];
|
|
1918
|
+
type ComponentRuntimeMetaCompact = [
|
|
1919
|
+
/** flags */
|
|
1920
|
+
number,
|
|
1921
|
+
/** tagname */
|
|
1922
|
+
string,
|
|
1923
|
+
/** members */
|
|
1924
|
+
{
|
|
1801
1925
|
[memberName: string]: ComponentRuntimeMember;
|
|
1802
|
-
}?,
|
|
1926
|
+
}?,
|
|
1927
|
+
/** listeners */
|
|
1928
|
+
ComponentRuntimeHostListener[]?,
|
|
1929
|
+
/** watchers */
|
|
1930
|
+
ComponentConstructorChangeHandlers?,
|
|
1931
|
+
/** serializers */
|
|
1932
|
+
ComponentConstructorChangeHandlers?,
|
|
1933
|
+
/** deserializers */
|
|
1934
|
+
ComponentConstructorChangeHandlers?,
|
|
1935
|
+
/** shadow root reference target */
|
|
1936
|
+
string?];
|
|
1803
1937
|
/**
|
|
1804
1938
|
* Runtime metadata for a Stencil component
|
|
1805
1939
|
*/
|
|
@@ -1846,6 +1980,10 @@ interface ComponentRuntimeMeta {
|
|
|
1846
1980
|
* Information about which class members have attribute > prop deserializers attached on the component.
|
|
1847
1981
|
*/
|
|
1848
1982
|
$deserializers$?: ComponentConstructorChangeHandlers;
|
|
1983
|
+
/**
|
|
1984
|
+
* `id` of the element within the shadow root that IDREFs targeting the host resolve to.
|
|
1985
|
+
*/
|
|
1986
|
+
$referenceTarget$?: string;
|
|
1849
1987
|
}
|
|
1850
1988
|
/**
|
|
1851
1989
|
* A mapping of the names of members on the component to some runtime-specific
|
|
@@ -1891,7 +2029,7 @@ type ComponentRuntimeReflectingAttr = [string, string | undefined];
|
|
|
1891
2029
|
* associated {@link HostRef} instance.
|
|
1892
2030
|
*/
|
|
1893
2031
|
type RuntimeRef = HostElement | {
|
|
1894
|
-
|
|
2032
|
+
__s_ghr?: () => HostRef;
|
|
1895
2033
|
};
|
|
1896
2034
|
/**
|
|
1897
2035
|
* Interface used to track an Element, it's virtual Node (`VNode`), and other data
|
|
@@ -1902,6 +2040,14 @@ interface HostRef {
|
|
|
1902
2040
|
$cmpMeta$: ComponentRuntimeMeta;
|
|
1903
2041
|
$hostElement$: HostElement;
|
|
1904
2042
|
$instanceValues$?: Map<string, any>;
|
|
2043
|
+
/**
|
|
2044
|
+
* Prop/state changes accumulated since the last render, flushed to
|
|
2045
|
+
* `componentShouldUpdate` once per render cycle.
|
|
2046
|
+
*/
|
|
2047
|
+
$queuedPropChanges$?: ComponentShouldUpdateChanges;
|
|
2048
|
+
$signalValues$?: Map<string, import('@preact/signals-core').Signal<any>>;
|
|
2049
|
+
/** Dispose function that tears down all signal effects for this component. */
|
|
2050
|
+
$signalCleanup$?: () => void;
|
|
1905
2051
|
$serializerValues$?: Map<string, string>;
|
|
1906
2052
|
$lazyInstance$?: ComponentInterface;
|
|
1907
2053
|
/**
|
|
@@ -1934,6 +2080,21 @@ interface HostRef {
|
|
|
1934
2080
|
* It is called after {@link HostRef.$onInstancePromise$} resolves.
|
|
1935
2081
|
*/
|
|
1936
2082
|
$onRenderResolve$?: () => void;
|
|
2083
|
+
/**
|
|
2084
|
+
* A promise that resolves once this component's real `connectedCallback` has fired
|
|
2085
|
+
* for the first time. Created lazily - either by a descendant that needs to wait for
|
|
2086
|
+
* this component's connection before firing its own real `connectedCallback`
|
|
2087
|
+
* ({@link HOST_FLAGS.hasFiredConnected}), or by this component registering itself
|
|
2088
|
+
* with its nearest Stencil ancestor's `s-pc` list. This is what lets a component's
|
|
2089
|
+
* real `connectedCallback` (and, transitively, a pending ancestor's initial
|
|
2090
|
+
* `componentWillLoad`) stay ordered correctly regardless of which of an
|
|
2091
|
+
* ancestor/descendant pair's lazy module happens to resolve first.
|
|
2092
|
+
*/
|
|
2093
|
+
$onFirstConnectPromise$?: Promise<void>;
|
|
2094
|
+
/**
|
|
2095
|
+
* A callback which resolves {@link HostRef.$onFirstConnectPromise$}
|
|
2096
|
+
*/
|
|
2097
|
+
$onFirstConnectResolve$?: () => void;
|
|
1937
2098
|
$vnode$?: VNode;
|
|
1938
2099
|
$queuedListeners$?: [string, any][];
|
|
1939
2100
|
$rmListeners$?: (() => void)[];
|
|
@@ -1943,6 +2104,11 @@ interface HostRef {
|
|
|
1943
2104
|
* Defer connectedCallback until after first render for components with slot relocation.
|
|
1944
2105
|
*/
|
|
1945
2106
|
$deferredConnectedCallback$?: boolean;
|
|
2107
|
+
/**
|
|
2108
|
+
* The number of times this host's lazy component load has failed and been retried.
|
|
2109
|
+
* Used to give up retrying after {@link MAX_LAZY_LOAD_RETRIES} failed attempts.
|
|
2110
|
+
*/
|
|
2111
|
+
$loadRetryCount$?: number;
|
|
1946
2112
|
}
|
|
1947
2113
|
interface PlatformRuntime {
|
|
1948
2114
|
/**
|
|
@@ -1988,10 +2154,114 @@ interface PlatformRuntime {
|
|
|
1988
2154
|
}
|
|
1989
2155
|
type StyleMap = Map<string, CSSStyleSheet | string>;
|
|
1990
2156
|
type ChildType = VNode | number | string;
|
|
2157
|
+
type PropsType = VNodeProdData | number | string | null;
|
|
2158
|
+
interface VNodeProdData {
|
|
2159
|
+
key?: string | number;
|
|
2160
|
+
class?: {
|
|
2161
|
+
[className: string]: boolean;
|
|
2162
|
+
} | string;
|
|
2163
|
+
className?: {
|
|
2164
|
+
[className: string]: boolean;
|
|
2165
|
+
} | string;
|
|
2166
|
+
style?: any;
|
|
2167
|
+
[key: string]: any;
|
|
2168
|
+
}
|
|
1991
2169
|
//#endregion
|
|
1992
2170
|
//#region src/client/client-build.d.ts
|
|
2171
|
+
/**
|
|
2172
|
+
* `isDev` / `isTesting` are getters, not copies: the transpile path (e.g. `@stencil/unplugin`)
|
|
2173
|
+
* sets `BUILD.*` overrides from each component module, which runs after this module is evaluated.
|
|
2174
|
+
*/
|
|
1993
2175
|
declare const Build: UserBuildConditionals;
|
|
1994
2176
|
//#endregion
|
|
2177
|
+
//#region src/client/client-decorators.d.ts
|
|
2178
|
+
/**
|
|
2179
|
+
* Runtime stubs for Stencil decorators.
|
|
2180
|
+
*
|
|
2181
|
+
* These decorators are compile-time metadata flags that Stencil's compiler parses
|
|
2182
|
+
* and transforms. At runtime, they do nothing - the actual component behavior is
|
|
2183
|
+
* wired up by the compiled output, not by these decorators.
|
|
2184
|
+
*
|
|
2185
|
+
* These stubs exist so that:
|
|
2186
|
+
* 1. Component classes can be instantiated directly in tests without going through
|
|
2187
|
+
* Stencil's full compilation pipeline
|
|
2188
|
+
* 2. The decorators don't throw "X is not a function" errors when used outside
|
|
2189
|
+
* of Stencil's build process
|
|
2190
|
+
*/
|
|
2191
|
+
/**
|
|
2192
|
+
* No-op class decorator stub for @Component()
|
|
2193
|
+
* @param _opts - component options (ignored at runtime)
|
|
2194
|
+
* @returns a class decorator that returns the target unchanged
|
|
2195
|
+
*/
|
|
2196
|
+
declare const Component: (_opts?: any) => ClassDecorator;
|
|
2197
|
+
/**
|
|
2198
|
+
* No-op property decorator stub for @Element()
|
|
2199
|
+
* @returns a property decorator that does nothing
|
|
2200
|
+
*/
|
|
2201
|
+
declare const Element$1: () => PropertyDecorator;
|
|
2202
|
+
/**
|
|
2203
|
+
* No-op property decorator stub for @Event()
|
|
2204
|
+
* @param _opts - event options (ignored at runtime)
|
|
2205
|
+
* @returns a property decorator that does nothing
|
|
2206
|
+
*/
|
|
2207
|
+
declare const Event: (_opts?: any) => PropertyDecorator;
|
|
2208
|
+
/**
|
|
2209
|
+
* No-op property decorator stub for @AttachInternals()
|
|
2210
|
+
* @param _opts - attach internals options (ignored at runtime)
|
|
2211
|
+
* @returns a property decorator that does nothing
|
|
2212
|
+
*/
|
|
2213
|
+
declare const AttachInternals: (_opts?: any) => PropertyDecorator;
|
|
2214
|
+
/**
|
|
2215
|
+
* No-op method decorator stub for @Listen()
|
|
2216
|
+
* @param _eventName - event name to listen for (ignored at runtime)
|
|
2217
|
+
* @param _opts - listen options (ignored at runtime)
|
|
2218
|
+
* @returns a method decorator that does nothing
|
|
2219
|
+
*/
|
|
2220
|
+
declare const Listen: (_eventName: string, _opts?: any) => MethodDecorator;
|
|
2221
|
+
/**
|
|
2222
|
+
* No-op method decorator stub for @Method()
|
|
2223
|
+
* @param _opts - method options (ignored at runtime)
|
|
2224
|
+
* @returns a method decorator that does nothing
|
|
2225
|
+
*/
|
|
2226
|
+
declare const Method: (_opts?: any) => MethodDecorator;
|
|
2227
|
+
/**
|
|
2228
|
+
* No-op property decorator stub for @Prop()
|
|
2229
|
+
* @param _opts - prop options (ignored at runtime)
|
|
2230
|
+
* @returns a property decorator that does nothing
|
|
2231
|
+
*/
|
|
2232
|
+
declare const Prop: (_opts?: any) => PropertyDecorator;
|
|
2233
|
+
/**
|
|
2234
|
+
* No-op property decorator stub for @State()
|
|
2235
|
+
* @returns a property decorator that does nothing
|
|
2236
|
+
*/
|
|
2237
|
+
declare const State: () => PropertyDecorator;
|
|
2238
|
+
/**
|
|
2239
|
+
* No-op method decorator stub for @Watch()
|
|
2240
|
+
* @param _propName - property name to watch (ignored at runtime)
|
|
2241
|
+
* @param _opts - watch options (ignored at runtime)
|
|
2242
|
+
* @returns a method decorator that does nothing
|
|
2243
|
+
*/
|
|
2244
|
+
declare const Watch: (_propName: any, _opts?: any) => MethodDecorator;
|
|
2245
|
+
/**
|
|
2246
|
+
* No-op method decorator stub for @PropSerialize()
|
|
2247
|
+
* @param _propName - property name to serialize (ignored at runtime)
|
|
2248
|
+
* @returns a method decorator that does nothing
|
|
2249
|
+
*/
|
|
2250
|
+
declare const PropSerialize: (_propName: any) => MethodDecorator;
|
|
2251
|
+
/**
|
|
2252
|
+
* No-op method decorator stub for @AttrDeserialize()
|
|
2253
|
+
* @param _propName - property name to deserialize (ignored at runtime)
|
|
2254
|
+
* @returns a method decorator that does nothing
|
|
2255
|
+
*/
|
|
2256
|
+
declare const AttrDeserialize: (_propName: any) => MethodDecorator;
|
|
2257
|
+
/**
|
|
2258
|
+
* No-op compile-time utility stub for resolveVar()
|
|
2259
|
+
* At runtime, this just returns the string representation of whatever is passed in.
|
|
2260
|
+
* @param variable - the variable to resolve
|
|
2261
|
+
* @returns the string representation of the variable
|
|
2262
|
+
*/
|
|
2263
|
+
declare const resolveVar: <T>(variable: T) => string;
|
|
2264
|
+
//#endregion
|
|
1995
2265
|
//#region src/client/client-host-ref.d.ts
|
|
1996
2266
|
/**
|
|
1997
2267
|
* Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}
|
|
@@ -2024,6 +2294,7 @@ declare const isMemberInElement: (elm: any, memberName: string) => boolean;
|
|
|
2024
2294
|
declare const cmpModules: Map<string, {
|
|
2025
2295
|
[exportName: string]: ComponentConstructor;
|
|
2026
2296
|
}>;
|
|
2297
|
+
declare const setLazyLoadBasePath: (url: string) => void;
|
|
2027
2298
|
declare const loadModule: (cmpMeta: ComponentRuntimeMeta, hostRef: HostRef, hmrVersionId?: string) => Promise<ComponentConstructor | undefined> | ComponentConstructor | undefined;
|
|
2028
2299
|
//#endregion
|
|
2029
2300
|
//#region src/client/client-log.d.ts
|
|
@@ -2036,8 +2307,8 @@ declare const setErrorHandler: (handler: ErrorHandler) => ErrorHandler;
|
|
|
2036
2307
|
//#endregion
|
|
2037
2308
|
//#region src/client/client-style.d.ts
|
|
2038
2309
|
declare const styles: StyleMap;
|
|
2039
|
-
declare const
|
|
2040
|
-
declare const setScopedSSR: (_opts:
|
|
2310
|
+
declare const modeResolver: ResolutionHandler[];
|
|
2311
|
+
declare const setScopedSSR: (_opts: SsrFactoryOptions) => void;
|
|
2041
2312
|
declare const needsScopedSSR: () => boolean;
|
|
2042
2313
|
//#endregion
|
|
2043
2314
|
//#region src/client/client-task-queue.d.ts
|
|
@@ -2059,7 +2330,6 @@ declare const setPlatformHelpers: (helpers: {
|
|
|
2059
2330
|
rel?: (el: any, eventName: string, listener: any, options: any) => void;
|
|
2060
2331
|
ce?: (eventName: string, opts?: any) => any;
|
|
2061
2332
|
}) => void;
|
|
2062
|
-
declare const supportsShadow: boolean;
|
|
2063
2333
|
declare const supportsListenerOptions: boolean;
|
|
2064
2334
|
declare const promiseResolve: (v?: any) => Promise<any>;
|
|
2065
2335
|
declare const supportsConstructableStylesheets: boolean;
|
|
@@ -2069,12 +2339,16 @@ declare const supportsMutableAdoptedStyleSheets: boolean;
|
|
|
2069
2339
|
declare const getAssetPath: (path: string) => string;
|
|
2070
2340
|
declare const setAssetPath: (path: string) => string;
|
|
2071
2341
|
//#endregion
|
|
2072
|
-
//#region src/runtime/bootstrap-
|
|
2342
|
+
//#region src/runtime/bootstrap-standalone.d.ts
|
|
2073
2343
|
declare const defineCustomElement: (Cstr: any, compactMeta: ComponentRuntimeMetaCompact) => void;
|
|
2074
2344
|
declare const proxyCustomElement: (Cstr: any, compactMeta: ComponentRuntimeMetaCompact) => any;
|
|
2075
2345
|
declare const forceModeUpdate: (elm: RenderNode) => void;
|
|
2076
2346
|
//#endregion
|
|
2077
|
-
//#region src/runtime/
|
|
2347
|
+
//#region src/runtime/registry.d.ts
|
|
2348
|
+
declare const setRegistry: (registry: CustomElementRegistry) => void;
|
|
2349
|
+
declare const getRegistry: () => CustomElementRegistry;
|
|
2350
|
+
//#endregion
|
|
2351
|
+
//#region src/runtime/bootstrap-loader.d.ts
|
|
2078
2352
|
declare const bootstrapLazy: (lazyBundles: LazyBundlesRuntimeData, options?: CustomElementsDefineOptions) => void;
|
|
2079
2353
|
//#endregion
|
|
2080
2354
|
//#region src/runtime/connected-callback.d.ts
|
|
@@ -2085,6 +2359,18 @@ declare const disconnectedCallback: (elm: HostElement) => Promise<void>;
|
|
|
2085
2359
|
//#endregion
|
|
2086
2360
|
//#region src/runtime/element.d.ts
|
|
2087
2361
|
declare const getElement: (ref: any) => HostElement;
|
|
2362
|
+
/**
|
|
2363
|
+
* Get the shadow root for a Stencil component's host element.
|
|
2364
|
+
* This works for both open and closed shadow DOM modes.
|
|
2365
|
+
*
|
|
2366
|
+
* For closed shadow DOM, `element.shadowRoot` returns `null` by design,
|
|
2367
|
+
* but Stencil stores the reference internally so components can still
|
|
2368
|
+
* access their own shadow root.
|
|
2369
|
+
*
|
|
2370
|
+
* @param element The host element (from @Element() decorator)
|
|
2371
|
+
* @returns The shadow root, or null if no shadow root exists
|
|
2372
|
+
*/
|
|
2373
|
+
declare const getShadowRoot: (element: HTMLElement) => ShadowRoot | null;
|
|
2088
2374
|
//#endregion
|
|
2089
2375
|
//#region src/runtime/event-emitter.d.ts
|
|
2090
2376
|
declare const createEvent: (ref: RuntimeRef, name: string, flags: number) => {
|
|
@@ -2095,25 +2381,75 @@ declare const createEvent: (ref: RuntimeRef, name: string, flags: number) => {
|
|
|
2095
2381
|
declare const Fragment: FunctionalComponent;
|
|
2096
2382
|
//#endregion
|
|
2097
2383
|
//#region src/runtime/host-listener.d.ts
|
|
2098
|
-
declare const addHostEventListeners: (elm: HostElement, hostRef: HostRef, listeners?: ComponentRuntimeHostListener[]
|
|
2384
|
+
declare const addHostEventListeners: (elm: HostElement, hostRef: HostRef, listeners?: ComponentRuntimeHostListener[]) => void;
|
|
2385
|
+
//#endregion
|
|
2386
|
+
//#region src/runtime/inject-side-effect-style.d.ts
|
|
2387
|
+
/**
|
|
2388
|
+
* Registers a root (a shadow root, or `document`) to receive every side-effect CSS import
|
|
2389
|
+
* (a plain, non-component `import './foo.css'`), now and in future. Call in `connectedCallback`,
|
|
2390
|
+
* paired with `unregisterSideEffectStyleTarget` in `disconnectedCallback` so the registry doesn't
|
|
2391
|
+
* hold disconnected roots forever.
|
|
2392
|
+
* @param root the root to register
|
|
2393
|
+
*/
|
|
2394
|
+
declare function registerSideEffectStyleTarget(root: DocumentOrShadowRoot): void;
|
|
2395
|
+
/**
|
|
2396
|
+
* Removes a root registered via `registerSideEffectStyleTarget` - call in `disconnectedCallback`.
|
|
2397
|
+
* @param root the root to unregister
|
|
2398
|
+
*/
|
|
2399
|
+
declare function unregisterSideEffectStyleTarget(root: DocumentOrShadowRoot): void;
|
|
2400
|
+
/**
|
|
2401
|
+
* Applies plain (non-component) CSS text to every registered root - respects shadow DOM
|
|
2402
|
+
* encapsulation instead of always reaching for the top-level document. Not meant to be called
|
|
2403
|
+
* directly: this is what the compiler's CSS-to-ESM output calls for CSS with no Stencil `tag`
|
|
2404
|
+
* (i.e. not a component's own `styleUrl`), typically a third-party dependency's CSS import.
|
|
2405
|
+
*
|
|
2406
|
+
* `@font-face` rules are pulled out and adopted onto top-level `document` not per-root
|
|
2407
|
+
* (Chromium (https://issues.chromium.org/issues/41085401) per-root never loads).
|
|
2408
|
+
* @param cssText the CSS text to apply
|
|
2409
|
+
*/
|
|
2410
|
+
declare function injectSideEffectStyle(cssText: string): void;
|
|
2099
2411
|
//#endregion
|
|
2100
2412
|
//#region src/runtime/mixin.d.ts
|
|
2101
2413
|
type Ctor<T = {}> = new (...args: any[]) => T;
|
|
2102
2414
|
declare function Mixin(...mixins: ((base: Ctor) => Ctor)[]): Ctor<{}>;
|
|
2103
2415
|
//#endregion
|
|
2104
2416
|
//#region src/runtime/mode.d.ts
|
|
2105
|
-
declare const setMode: (handler: ResolutionHandler) =>
|
|
2417
|
+
declare const setMode: (handler: ResolutionHandler) => void;
|
|
2106
2418
|
declare const getMode: (ref: RuntimeRef) => string;
|
|
2107
2419
|
//#endregion
|
|
2108
2420
|
//#region src/runtime/nonce.d.ts
|
|
2109
2421
|
/**
|
|
2110
2422
|
* Assigns the given value to the nonce property on the runtime platform object.
|
|
2111
|
-
* During runtime, this value is used to set the nonce attribute on all dynamically created
|
|
2423
|
+
* During runtime, this value is used to set the nonce attribute on all dynamically created style tags.
|
|
2112
2424
|
* @param nonce The value to be assigned to the platform nonce property.
|
|
2113
2425
|
* @returns void
|
|
2114
2426
|
*/
|
|
2115
2427
|
declare const setNonce: (nonce: string) => string;
|
|
2116
2428
|
//#endregion
|
|
2429
|
+
//#region src/runtime/normalize-watchers.d.ts
|
|
2430
|
+
/**
|
|
2431
|
+
* Normalizes watcher metadata to the current `{ [methodName]: flags }[]` format.
|
|
2432
|
+
*
|
|
2433
|
+
* Prior to Stencil 4.39.x (PR #6484), the `@Watch()` compiler emitted watcher
|
|
2434
|
+
* handlers as a plain string array: `{ "min": ["minChanged"] }`. The new format
|
|
2435
|
+
* wraps each entry in an object that carries option flags (e.g. `immediate`):
|
|
2436
|
+
* `{ "min": [{ "minChanged": 0 }] }`.
|
|
2437
|
+
*
|
|
2438
|
+
* When a library (e.g. Ionic Framework) was compiled with an older Stencil compiler
|
|
2439
|
+
* but consumed by an app using a newer Stencil runtime, the runtime's
|
|
2440
|
+
* `Object.entries(watcher)` call receives a string and misinterprets its character
|
|
2441
|
+
* indices as method names, causing:
|
|
2442
|
+
* `TypeError: instance[watchMethodName] is not a function`
|
|
2443
|
+
*
|
|
2444
|
+
* This helper should be used at `$watchers$` assignment sites that need to
|
|
2445
|
+
* accept both legacy and current compiler metadata so downstream code on those
|
|
2446
|
+
* paths can safely assume the new object format.
|
|
2447
|
+
*
|
|
2448
|
+
* @param raw The raw watcher map from compiled metadata (new or legacy format).
|
|
2449
|
+
* @returns A normalized watcher map in the `{ [methodName]: flags }[]` format, or `undefined` if `raw` is `undefined` or empty.
|
|
2450
|
+
*/
|
|
2451
|
+
declare const normalizeWatchers: (raw: ComponentConstructorChangeHandlers | undefined) => ComponentConstructorChangeHandlers | undefined;
|
|
2452
|
+
//#endregion
|
|
2117
2453
|
//#region src/runtime/parse-property-value.d.ts
|
|
2118
2454
|
/**
|
|
2119
2455
|
* Parse a new property value for a given property type.
|
|
@@ -2136,10 +2472,9 @@ declare const setNonce: (nonce: string) => string;
|
|
|
2136
2472
|
*
|
|
2137
2473
|
* @param propValue the new value to coerce to some type
|
|
2138
2474
|
* @param propType the type of the prop, expressed as a binary number
|
|
2139
|
-
* @param isFormAssociated whether the component is form-associated (optional)
|
|
2140
2475
|
* @returns the parsed/coerced value
|
|
2141
2476
|
*/
|
|
2142
|
-
declare const parsePropertyValue: (propValue: unknown, propType: number
|
|
2477
|
+
declare const parsePropertyValue: (propValue: unknown, propType: number) => any;
|
|
2143
2478
|
//#endregion
|
|
2144
2479
|
//#region src/runtime/platform-options.d.ts
|
|
2145
2480
|
interface SetPlatformOptions {
|
|
@@ -2161,17 +2496,24 @@ declare const setPlatformOptions: (opts: SetPlatformOptions) => PlatformRuntime
|
|
|
2161
2496
|
*
|
|
2162
2497
|
* On a traditional component, this is wired up to the element only.
|
|
2163
2498
|
*
|
|
2164
|
-
* @param Cstr the constructor for a component that we need to process
|
|
2165
|
-
* @param cmpMeta metadata collected previously about the component
|
|
2166
|
-
* @param flags a number used to store a series of bit flags
|
|
2499
|
+
* @param Cstr - the constructor for a component that we need to process
|
|
2500
|
+
* @param cmpMeta - metadata collected previously about the component
|
|
2501
|
+
* @param flags - a number used to store a series of bit flags
|
|
2167
2502
|
* @returns a reference to the same constructor passed in (but now mutated)
|
|
2168
2503
|
*/
|
|
2169
2504
|
declare const proxyComponent: (Cstr: ComponentConstructor, cmpMeta: ComponentRuntimeMeta, flags: number) => ComponentConstructor;
|
|
2170
2505
|
//#endregion
|
|
2506
|
+
//#region src/runtime/reactive-controller.d.ts
|
|
2507
|
+
declare const ReactiveControllerHost: <B extends MixedInCtor<ComponentInterface & HTMLElement>>(Base: B) => B & MixedInCtor<ReactiveControllerHostInterface>;
|
|
2508
|
+
//#endregion
|
|
2171
2509
|
//#region src/runtime/render.d.ts
|
|
2172
2510
|
/**
|
|
2173
2511
|
* Method to render a virtual DOM tree to a container element.
|
|
2174
2512
|
*
|
|
2513
|
+
* Supports efficient re-renders: calling `render()` again on the same container
|
|
2514
|
+
* will diff the new VNode tree against the previous one and only update what changed,
|
|
2515
|
+
* preserving existing DOM elements and their state.
|
|
2516
|
+
*
|
|
2175
2517
|
* @example
|
|
2176
2518
|
* ```tsx
|
|
2177
2519
|
* import { render } from '@stencil/core';
|
|
@@ -2193,6 +2535,7 @@ declare function render(vnode: VNode, container: Element): void;
|
|
|
2193
2535
|
declare const HYDRATED_STYLE_ID = "sty-id";
|
|
2194
2536
|
//#endregion
|
|
2195
2537
|
//#region src/runtime/set-value.d.ts
|
|
2538
|
+
declare const applySerializers: (hostRef: HostRef, cmpMeta: ComponentRuntimeMeta, propName: string, val: any, instance: any) => void;
|
|
2196
2539
|
declare const getValue: (ref: RuntimeRef, propName: string) => any;
|
|
2197
2540
|
declare const setValue: (ref: RuntimeRef, propName: string, newVal: any, cmpMeta: ComponentRuntimeMeta) => void;
|
|
2198
2541
|
//#endregion
|
|
@@ -2215,72 +2558,18 @@ declare const postUpdateComponent: (hostRef: HostRef) => void;
|
|
|
2215
2558
|
declare const forceUpdate: (ref: any) => boolean;
|
|
2216
2559
|
//#endregion
|
|
2217
2560
|
//#region src/runtime/vdom/h.d.ts
|
|
2218
|
-
declare const h: (nodeName: any, vnodeData:
|
|
2561
|
+
declare const h: (nodeName: any, vnodeData: PropsType, ...children: ChildType[]) => VNode;
|
|
2219
2562
|
declare const Host: {};
|
|
2220
2563
|
//#endregion
|
|
2221
|
-
//#region src/runtime/vdom/jsx-dev-runtime.d.ts
|
|
2222
|
-
/**
|
|
2223
|
-
* JSX development runtime function for creating elements with debug info.
|
|
2224
|
-
* Called by TypeScript's jsx transform in development mode.
|
|
2225
|
-
*
|
|
2226
|
-
* @param type - The element type (string tag name or functional component)
|
|
2227
|
-
* @param props - The element props (includes children, key, etc.)
|
|
2228
|
-
* @param key - The element's key (passed separately in dev mode)
|
|
2229
|
-
* @param isStaticChildren - Whether children are static (optimization hint)
|
|
2230
|
-
* @param source - Source location information for debugging
|
|
2231
|
-
* @param self - The component instance (for debugging)
|
|
2232
|
-
* @returns A virtual DOM node
|
|
2233
|
-
*/
|
|
2234
|
-
declare function jsxDEV(type: any, props: any, key?: string | number, _isStaticChildren?: boolean, _source?: any, _self?: any): VNode;
|
|
2235
|
-
//#endregion
|
|
2236
2564
|
//#region src/runtime/vdom/jsx-runtime.d.ts
|
|
2237
|
-
/**
|
|
2238
|
-
* JSX runtime function for creating elements in production mode.
|
|
2239
|
-
* Called by TypeScript's jsx transform for elements without static children.
|
|
2240
|
-
*
|
|
2241
|
-
* @param type - The element type (string tag name or functional component)
|
|
2242
|
-
* @param props - The element props (includes children)
|
|
2243
|
-
* @param key - Optional key for the element
|
|
2244
|
-
* @returns A virtual DOM node
|
|
2245
|
-
*/
|
|
2246
2565
|
declare function jsx(type: any, props: any, key?: string): VNode;
|
|
2247
2566
|
/**
|
|
2248
|
-
*
|
|
2249
|
-
* Called by TypeScript's jsx transform as an optimization when children are static.
|
|
2250
|
-
*
|
|
2251
|
-
* @param type - The element type (string tag name or functional component)
|
|
2252
|
-
* @param props - The element props (includes children)
|
|
2253
|
-
* @param key - Optional key for the element
|
|
2254
|
-
* @returns A virtual DOM node
|
|
2567
|
+
* @alias
|
|
2255
2568
|
*/
|
|
2256
|
-
declare
|
|
2257
|
-
//#endregion
|
|
2258
|
-
//#region src/runtime/vdom/vdom-annotations.d.ts
|
|
2569
|
+
declare const jsxs: typeof jsx;
|
|
2259
2570
|
/**
|
|
2260
|
-
*
|
|
2261
|
-
* comment nodes to facilitate future client-side hydration. These annotations are used for things
|
|
2262
|
-
* like moving elements back to their original hosts if using Shadow DOM on the client, and for quickly
|
|
2263
|
-
* reconstructing the vNode representations of the DOM.
|
|
2264
|
-
*
|
|
2265
|
-
* @param doc The DOM generated by the server.
|
|
2266
|
-
* @param staticComponents Any components that should be considered static and do not need client-side hydration.
|
|
2267
|
-
*/
|
|
2268
|
-
declare const insertVdomAnnotations: (doc: Document, staticComponents: string[]) => void;
|
|
2269
|
-
//#endregion
|
|
2270
|
-
//#region src/runtime/vdom/vdom-render.d.ts
|
|
2271
|
-
/**
|
|
2272
|
-
* The main entry point for Stencil's virtual DOM-based rendering engine
|
|
2273
|
-
*
|
|
2274
|
-
* Given a {@link d.HostRef} container and some virtual DOM nodes, this
|
|
2275
|
-
* function will handle creating a virtual DOM tree with a single root, patching
|
|
2276
|
-
* the current virtual DOM tree onto an old one (if any), dealing with slot
|
|
2277
|
-
* relocation, and reflecting attributes.
|
|
2278
|
-
*
|
|
2279
|
-
* @param hostRef data needed to root and render the virtual DOM tree, such as
|
|
2280
|
-
* the DOM node into which it should be rendered.
|
|
2281
|
-
* @param renderFnResults the virtual DOM nodes to be rendered
|
|
2282
|
-
* @param isInitialLoad whether or not this is the first call after page load
|
|
2571
|
+
* @alias
|
|
2283
2572
|
*/
|
|
2284
|
-
declare const
|
|
2573
|
+
declare const jsxDEV: typeof jsx;
|
|
2285
2574
|
//#endregion
|
|
2286
|
-
export { BUILD, Build, Env, Fragment, H, H as HTMLElement, type HTMLStencilElement, HYDRATED_STYLE_ID, Host, type JSXBase, Mixin, NAMESPACE, STENCIL_DEV_MODE, addHostEventListeners, bootstrapLazy, cmpModules, connectedCallback, consoleDevError, consoleDevInfo, consoleDevWarn, consoleError, createEvent, defineCustomElement, disconnectedCallback, forceModeUpdate, forceUpdate, getAssetPath, getElement, getHostRef, getMode, getRenderingRef, getValue, h,
|
|
2575
|
+
export { AttachInternals, AttrDeserialize, BUILD, Build, Component, Element$1 as Element, Env, Event, Fragment, H, H as HTMLElement, type HTMLStencilElement, HYDRATED_STYLE_ID, Host, type JSXBase, Listen, Method, Mixin, NAMESPACE, Prop, PropSerialize, ReactiveControllerHost, STENCIL_DEV_MODE, State, Watch, addHostEventListeners, applySerializers, bootstrapLazy, cmpModules, connectedCallback, consoleDevError, consoleDevInfo, consoleDevWarn, consoleError, createEvent, defineCustomElement, disconnectedCallback, forceModeUpdate, forceUpdate, getAssetPath, getElement, getHostRef, getMode, getRegistry, getRenderingRef, getShadowRoot, getValue, h, injectSideEffectStyle, isMemberInElement, jsx, jsxDEV, jsxs, loadModule, modeResolver, needsScopedSSR, nextTick, normalizeWatchers, parsePropertyValue, plt, postUpdateComponent, promiseResolve, proxyComponent, proxyCustomElement, readTask, registerHost, registerInstance, registerSideEffectStyleTarget, render, resolveVar, setAssetPath, setErrorHandler, setLazyLoadBasePath, setMode, setNonce, setPlatformHelpers, setPlatformOptions, setRegistry, setScopedSSR, setTagTransformer, setValue, styles, supportsConstructableStylesheets, supportsListenerOptions, supportsMutableAdoptedStyleSheets, transformTag, unregisterSideEffectStyleTarget, win, writeTask };
|