sibujs 4.6.0 → 4.7.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 +1 -1
- package/dist/browser.cjs +18 -5
- package/dist/browser.js +4 -4
- package/dist/build.cjs +1956 -1007
- package/dist/build.d.cts +133 -44
- package/dist/build.d.ts +133 -44
- package/dist/build.js +1368 -569
- package/dist/cdn.dev.global.js +12 -12
- package/dist/cdn.full.dev.global.js +11 -11
- package/dist/cdn.full.global.js +10 -10
- package/dist/cdn.global.js +12 -12
- package/dist/{chunk-SXXVZMKZ.js → chunk-2BPG2XDA.js} +5 -5
- package/dist/{chunk-BAAG6ZTI.js → chunk-3QWBSL5R.js} +4 -4
- package/dist/{chunk-5MT6SJ3P.js → chunk-4AWA2PVD.js} +2 -2
- package/dist/{chunk-JSXPZCET.js → chunk-7LUJQAOJ.js} +1 -1
- package/dist/{chunk-3ISI6ACU.js → chunk-BC2SECJD.js} +1 -1
- package/dist/{chunk-DKGBBKOF.js → chunk-BSY63EM6.js} +2 -2
- package/dist/{chunk-7NCARGJW.js → chunk-DKXRACVN.js} +3 -3
- package/dist/{chunk-47M47FOM.js → chunk-FNJXNGYZ.js} +1 -1
- package/dist/{chunk-D33YTSX5.js → chunk-FQRUXCEE.js} +5 -4
- package/dist/{chunk-5Q4R7HCL.js → chunk-JWKYU5GV.js} +11 -2
- package/dist/{chunk-QE4TTDU3.js → chunk-RUSSKG6G.js} +12 -11
- package/dist/{chunk-UZQ6ALFS.js → chunk-SLM3IA34.js} +1 -1
- package/dist/{chunk-XRRZKZYX.js → chunk-UNWRJRKC.js} +1 -1
- package/dist/{chunk-VVWPJ543.js → chunk-UOL2ECCS.js} +40 -11
- package/dist/{chunk-ORMZXBKQ.js → chunk-VZSG24LS.js} +3 -3
- package/dist/{chunk-XC4MEKGA.js → chunk-WEQ3DMVL.js} +8 -2
- package/dist/{chunk-PK6FK2G2.js → chunk-WOLJZUFQ.js} +176 -27
- package/dist/{chunk-7GQCWFOE.js → chunk-XYV3EDB7.js} +143 -74
- package/dist/{chunk-AIF3Z2T7.js → chunk-XZR4PXRE.js} +3 -3
- package/dist/{chunk-HYXDKS4N.js → chunk-Z3OHK6QT.js} +4 -4
- package/dist/{chunk-OXUY2A6L.js → chunk-ZVL7TY4K.js} +2 -2
- package/dist/{contracts-DRIuclVT.d.ts → contracts-CLqzJnOV.d.ts} +28 -17
- package/dist/{contracts-DRIuclVT.d.cts → contracts-CTOJXu-x.d.cts} +28 -17
- package/dist/data.cjs +198 -39
- package/dist/data.d.cts +119 -3
- package/dist/data.d.ts +119 -3
- package/dist/data.js +5 -5
- package/dist/devtools.cjs +18 -5
- package/dist/devtools.js +4 -4
- package/dist/ecosystem.cjs +64 -23
- package/dist/ecosystem.d.cts +2 -1
- package/dist/ecosystem.d.ts +2 -1
- package/dist/ecosystem.js +7 -7
- package/dist/extras.cjs +236 -49
- package/dist/extras.d.cts +3 -2
- package/dist/extras.d.ts +3 -2
- package/dist/extras.js +20 -20
- package/dist/index.cjs +259 -108
- package/dist/index.d.cts +193 -168
- package/dist/index.d.ts +193 -168
- package/dist/index.js +10 -10
- package/dist/motion.cjs +12 -4
- package/dist/motion.js +3 -3
- package/dist/patterns.cjs +28 -15
- package/dist/patterns.d.cts +2 -1
- package/dist/patterns.d.ts +2 -1
- package/dist/patterns.js +5 -5
- package/dist/performance.cjs +18 -5
- package/dist/performance.js +4 -4
- package/dist/plugins.cjs +118 -34
- package/dist/plugins.d.cts +124 -11
- package/dist/plugins.d.ts +124 -11
- package/dist/plugins.js +68 -26
- package/dist/ssr.cjs +54 -13
- package/dist/ssr.js +7 -7
- package/dist/{tagFactory-DFstCLQV.d.cts → tagFactory-8qL9LCIx.d.cts} +58 -19
- package/dist/{tagFactory-DkaNVUNV.d.ts → tagFactory-BL2fymez.d.ts} +58 -19
- package/dist/testing.cjs +15 -2
- package/dist/testing.js +2 -2
- package/dist/types-CJFViL6Q.d.cts +26 -0
- package/dist/types-CJFViL6Q.d.ts +26 -0
- package/dist/ui.cjs +28 -15
- package/dist/ui.d.cts +2 -1
- package/dist/ui.d.ts +2 -1
- package/dist/ui.js +7 -7
- package/dist/widgets.cjs +22 -14
- package/dist/widgets.js +6 -6
- package/package.json +4 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { a as NodeChild, C as Component, N as NodeChildren } from './types-CJFViL6Q.cjs';
|
|
2
|
+
export { D as Dispose } from './types-CJFViL6Q.cjs';
|
|
3
|
+
import { T as TagProps, a as TagFunction, D as DerivedAccessor } from './tagFactory-8qL9LCIx.cjs';
|
|
4
|
+
export { S as SVG_NS, b as StyleMap, c as StyleObject, d as TagEventHandlers, e as derived, t as tagFactory } from './tagFactory-8qL9LCIx.cjs';
|
|
3
5
|
import { A as Accessor } from './signal-EotCj4hS.cjs';
|
|
4
6
|
export { D as DisposableAccessor, E as ExternalSource, S as SignalOptions, e as external, s as signal } from './signal-EotCj4hS.cjs';
|
|
5
7
|
export { T as TrustedHTML, t as trustHTML } from './ssr-Bli9XRW5.cjs';
|
|
@@ -603,7 +605,6 @@ declare function replaceChildrenSafely(parent: ParentNode, ...next: Node[]): voi
|
|
|
603
605
|
*/
|
|
604
606
|
declare function checkLeaks(warnThreshold?: number): number;
|
|
605
607
|
|
|
606
|
-
type Component$1 = () => HTMLElement;
|
|
607
608
|
/**
|
|
608
609
|
* Register a component by name for dynamic resolution.
|
|
609
610
|
*
|
|
@@ -616,7 +617,7 @@ type Component$1 = () => HTMLElement;
|
|
|
616
617
|
* registerComponent("AdminPanel", AdminPanel);
|
|
617
618
|
* ```
|
|
618
619
|
*/
|
|
619
|
-
declare function registerComponent(name: string, component: Component
|
|
620
|
+
declare function registerComponent(name: string, component: Component): void;
|
|
620
621
|
/**
|
|
621
622
|
* Unregister a previously registered component.
|
|
622
623
|
*/
|
|
@@ -625,8 +626,12 @@ declare function unregisterComponent(name: string): void;
|
|
|
625
626
|
* Resolve and render a dynamically registered component by name.
|
|
626
627
|
* Returns a placeholder if the component is not found.
|
|
627
628
|
*
|
|
629
|
+
* The registry is keyed by name, so it cannot know which root a component
|
|
630
|
+
* renders: `El` states it, like `querySelector<E>()`. It defaults to
|
|
631
|
+
* `HTMLElement`; pass `Element` (or `SVGSVGElement`, …) for an SVG component.
|
|
632
|
+
*
|
|
628
633
|
* @param name Component name to resolve
|
|
629
|
-
* @returns The rendered
|
|
634
|
+
* @returns The rendered root element or a fallback
|
|
630
635
|
*
|
|
631
636
|
* @example
|
|
632
637
|
* ```ts
|
|
@@ -634,7 +639,7 @@ declare function unregisterComponent(name: string): void;
|
|
|
634
639
|
* div([resolveComponent("Widget")]);
|
|
635
640
|
* ```
|
|
636
641
|
*/
|
|
637
|
-
declare function resolveComponent(name: string):
|
|
642
|
+
declare function resolveComponent<El extends Element = HTMLElement>(name: string): El;
|
|
638
643
|
/**
|
|
639
644
|
* Dynamic component that reactively switches between components
|
|
640
645
|
* based on a reactive getter returning a component name or function.
|
|
@@ -650,7 +655,7 @@ declare function resolveComponent(name: string): HTMLElement;
|
|
|
650
655
|
* setView("grid"); // Swaps to registered "grid" component
|
|
651
656
|
* ```
|
|
652
657
|
*/
|
|
653
|
-
declare function DynamicComponent(is: () => string | Component
|
|
658
|
+
declare function DynamicComponent(is: () => string | Component): HTMLDivElement;
|
|
654
659
|
|
|
655
660
|
/**
|
|
656
661
|
* Renders a list of nodes efficiently with key-based diffing and
|
|
@@ -704,12 +709,17 @@ declare function each<T>(getArray: () => T[], render: (item: () => T, index: ()
|
|
|
704
709
|
* Fragment groups multiple nodes without adding a wrapper DOM element.
|
|
705
710
|
* Returns a DocumentFragment that can be appended to any parent.
|
|
706
711
|
*
|
|
712
|
+
* A function child is reactive, exactly as it is inside a tag factory: it is
|
|
713
|
+
* rendered after a placeholder comment and re-rendered when the signals it reads
|
|
714
|
+
* change. The binding is owned by that placeholder, so disposing the parent the
|
|
715
|
+
* fragment was appended to (or unmounting a mounted fragment) stops it.
|
|
716
|
+
*
|
|
707
717
|
* @example
|
|
708
718
|
* ```ts
|
|
709
719
|
* div([
|
|
710
720
|
* Fragment([
|
|
711
721
|
* p("First"),
|
|
712
|
-
*
|
|
722
|
+
* () => `Count: ${count()}`,
|
|
713
723
|
* ])
|
|
714
724
|
* ]);
|
|
715
725
|
* ```
|
|
@@ -733,9 +743,9 @@ declare function Fragment(nodes: NodeChildren[]): DocumentFragment;
|
|
|
733
743
|
declare function html(strings: TemplateStringsArray, ...values: unknown[]): Element;
|
|
734
744
|
|
|
735
745
|
type reactive<T> = T | (() => T);
|
|
736
|
-
interface AnchorProps extends TagProps {
|
|
746
|
+
interface AnchorProps extends TagProps<HTMLAnchorElement> {
|
|
737
747
|
href?: reactive<string>;
|
|
738
|
-
target?: "_self" | "_blank" | "_parent" | "_top" | (string & {})
|
|
748
|
+
target?: reactive<"_self" | "_blank" | "_parent" | "_top" | (string & {})>;
|
|
739
749
|
rel?: reactive<string>;
|
|
740
750
|
download?: reactive<string | boolean>;
|
|
741
751
|
hreflang?: reactive<string>;
|
|
@@ -743,8 +753,8 @@ interface AnchorProps extends TagProps {
|
|
|
743
753
|
ping?: reactive<string>;
|
|
744
754
|
}
|
|
745
755
|
type InputType = "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week";
|
|
746
|
-
interface InputProps extends TagProps {
|
|
747
|
-
type?: InputType | (string & {})
|
|
756
|
+
interface InputProps extends TagProps<HTMLInputElement> {
|
|
757
|
+
type?: reactive<InputType | (string & {})>;
|
|
748
758
|
name?: reactive<string>;
|
|
749
759
|
value?: reactive<string | number>;
|
|
750
760
|
placeholder?: reactive<string>;
|
|
@@ -767,7 +777,7 @@ interface InputProps extends TagProps {
|
|
|
767
777
|
list?: reactive<string>;
|
|
768
778
|
inputmode?: reactive<"none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url">;
|
|
769
779
|
}
|
|
770
|
-
interface ImgProps extends TagProps {
|
|
780
|
+
interface ImgProps extends TagProps<HTMLImageElement> {
|
|
771
781
|
src?: reactive<string>;
|
|
772
782
|
alt?: reactive<string>;
|
|
773
783
|
width?: reactive<number | string>;
|
|
@@ -779,7 +789,7 @@ interface ImgProps extends TagProps {
|
|
|
779
789
|
crossorigin?: reactive<"anonymous" | "use-credentials">;
|
|
780
790
|
referrerpolicy?: reactive<string>;
|
|
781
791
|
}
|
|
782
|
-
interface ButtonProps extends TagProps {
|
|
792
|
+
interface ButtonProps extends TagProps<HTMLButtonElement> {
|
|
783
793
|
type?: reactive<"button" | "submit" | "reset">;
|
|
784
794
|
name?: reactive<string>;
|
|
785
795
|
value?: reactive<string>;
|
|
@@ -792,7 +802,7 @@ interface ButtonProps extends TagProps {
|
|
|
792
802
|
formtarget?: reactive<string>;
|
|
793
803
|
autofocus?: reactive<boolean>;
|
|
794
804
|
}
|
|
795
|
-
interface FormProps extends TagProps {
|
|
805
|
+
interface FormProps extends TagProps<HTMLFormElement> {
|
|
796
806
|
action?: reactive<string>;
|
|
797
807
|
method?: reactive<"get" | "post" | "dialog">;
|
|
798
808
|
enctype?: reactive<"application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain">;
|
|
@@ -802,7 +812,7 @@ interface FormProps extends TagProps {
|
|
|
802
812
|
autocomplete?: reactive<"on" | "off">;
|
|
803
813
|
acceptcharset?: reactive<string>;
|
|
804
814
|
}
|
|
805
|
-
interface SelectProps extends TagProps {
|
|
815
|
+
interface SelectProps extends TagProps<HTMLSelectElement> {
|
|
806
816
|
name?: reactive<string>;
|
|
807
817
|
value?: reactive<string>;
|
|
808
818
|
disabled?: reactive<boolean>;
|
|
@@ -813,7 +823,7 @@ interface SelectProps extends TagProps {
|
|
|
813
823
|
autofocus?: reactive<boolean>;
|
|
814
824
|
form?: reactive<string>;
|
|
815
825
|
}
|
|
816
|
-
interface TextareaProps extends TagProps {
|
|
826
|
+
interface TextareaProps extends TagProps<HTMLTextAreaElement> {
|
|
817
827
|
name?: reactive<string>;
|
|
818
828
|
value?: reactive<string>;
|
|
819
829
|
placeholder?: reactive<string>;
|
|
@@ -830,17 +840,17 @@ interface TextareaProps extends TagProps {
|
|
|
830
840
|
form?: reactive<string>;
|
|
831
841
|
spellcheck?: reactive<boolean>;
|
|
832
842
|
}
|
|
833
|
-
interface LabelProps extends TagProps {
|
|
843
|
+
interface LabelProps extends TagProps<HTMLLabelElement> {
|
|
834
844
|
for?: reactive<string>;
|
|
835
845
|
form?: reactive<string>;
|
|
836
846
|
}
|
|
837
|
-
interface OptionProps extends TagProps {
|
|
847
|
+
interface OptionProps extends TagProps<HTMLOptionElement> {
|
|
838
848
|
value?: reactive<string | number>;
|
|
839
849
|
selected?: reactive<boolean>;
|
|
840
850
|
disabled?: reactive<boolean>;
|
|
841
851
|
label?: reactive<string>;
|
|
842
852
|
}
|
|
843
|
-
interface MediaProps extends TagProps {
|
|
853
|
+
interface MediaProps<El extends HTMLMediaElement = HTMLMediaElement> extends TagProps<El> {
|
|
844
854
|
src?: reactive<string>;
|
|
845
855
|
autoplay?: reactive<boolean>;
|
|
846
856
|
controls?: reactive<boolean>;
|
|
@@ -849,152 +859,151 @@ interface MediaProps extends TagProps {
|
|
|
849
859
|
preload?: reactive<"none" | "metadata" | "auto">;
|
|
850
860
|
crossorigin?: reactive<"anonymous" | "use-credentials">;
|
|
851
861
|
}
|
|
852
|
-
interface VideoProps extends MediaProps {
|
|
862
|
+
interface VideoProps extends MediaProps<HTMLVideoElement> {
|
|
853
863
|
poster?: reactive<string>;
|
|
854
864
|
width?: reactive<number | string>;
|
|
855
865
|
height?: reactive<number | string>;
|
|
856
866
|
playsinline?: reactive<boolean>;
|
|
857
867
|
}
|
|
858
|
-
type AudioProps = MediaProps
|
|
868
|
+
type AudioProps = MediaProps<HTMLAudioElement>;
|
|
869
|
+
type TypedTagFunction<Props extends TagProps<El>, El extends Element> = TagFunction<El, Props>;
|
|
859
870
|
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
declare const
|
|
863
|
-
declare const
|
|
864
|
-
declare const
|
|
865
|
-
declare const
|
|
866
|
-
declare const
|
|
867
|
-
declare const
|
|
868
|
-
declare const
|
|
869
|
-
declare const
|
|
870
|
-
declare const
|
|
871
|
-
declare const
|
|
872
|
-
declare const
|
|
873
|
-
declare const
|
|
874
|
-
declare const
|
|
875
|
-
declare const
|
|
876
|
-
declare const
|
|
877
|
-
declare const
|
|
878
|
-
declare const
|
|
879
|
-
declare const
|
|
880
|
-
declare const
|
|
881
|
-
declare const
|
|
882
|
-
declare const
|
|
883
|
-
declare const
|
|
884
|
-
declare const
|
|
885
|
-
declare const
|
|
886
|
-
declare const
|
|
887
|
-
declare const
|
|
888
|
-
declare const
|
|
889
|
-
declare const
|
|
890
|
-
declare const
|
|
891
|
-
declare const ul: (first?: TagProps | NodeChildren, second?: NodeChildren) => Element;
|
|
892
|
-
declare const pre: (first?: TagProps | NodeChildren, second?: NodeChildren) => Element;
|
|
871
|
+
declare const head: TagFunction<HTMLHeadElement, TagProps<HTMLHeadElement>>;
|
|
872
|
+
declare const body: TagFunction<HTMLBodyElement, TagProps<HTMLBodyElement>>;
|
|
873
|
+
declare const title: TagFunction<HTMLTitleElement, TagProps<HTMLTitleElement>>;
|
|
874
|
+
declare const div: TagFunction<HTMLDivElement, TagProps<HTMLDivElement>>;
|
|
875
|
+
declare const span: TagFunction<HTMLSpanElement, TagProps<HTMLSpanElement>>;
|
|
876
|
+
declare const section: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
877
|
+
declare const article: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
878
|
+
declare const header: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
879
|
+
declare const footer: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
880
|
+
declare const nav: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
881
|
+
declare const main: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
882
|
+
declare const aside: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
883
|
+
declare const address: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
884
|
+
declare const p: TagFunction<HTMLParagraphElement, TagProps<HTMLParagraphElement>>;
|
|
885
|
+
declare const h1: TagFunction<HTMLHeadingElement, TagProps<HTMLHeadingElement>>;
|
|
886
|
+
declare const h2: TagFunction<HTMLHeadingElement, TagProps<HTMLHeadingElement>>;
|
|
887
|
+
declare const h3: TagFunction<HTMLHeadingElement, TagProps<HTMLHeadingElement>>;
|
|
888
|
+
declare const h4: TagFunction<HTMLHeadingElement, TagProps<HTMLHeadingElement>>;
|
|
889
|
+
declare const h5: TagFunction<HTMLHeadingElement, TagProps<HTMLHeadingElement>>;
|
|
890
|
+
declare const h6: TagFunction<HTMLHeadingElement, TagProps<HTMLHeadingElement>>;
|
|
891
|
+
declare const blockquote: TagFunction<HTMLQuoteElement, TagProps<HTMLQuoteElement>>;
|
|
892
|
+
declare const dd: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
893
|
+
declare const dl: TagFunction<HTMLDListElement, TagProps<HTMLDListElement>>;
|
|
894
|
+
declare const dt: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
895
|
+
declare const figcaption: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
896
|
+
declare const figure: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
897
|
+
declare const hr: TagFunction<HTMLHRElement, TagProps<HTMLHRElement>>;
|
|
898
|
+
declare const li: TagFunction<HTMLLIElement, TagProps<HTMLLIElement>>;
|
|
899
|
+
declare const ol: TagFunction<HTMLOListElement, TagProps<HTMLOListElement>>;
|
|
900
|
+
declare const ul: TagFunction<HTMLUListElement, TagProps<HTMLUListElement>>;
|
|
901
|
+
declare const pre: TagFunction<HTMLPreElement, TagProps<HTMLPreElement>>;
|
|
893
902
|
declare const a: TypedTagFunction<AnchorProps, HTMLAnchorElement>;
|
|
894
|
-
declare const abbr:
|
|
895
|
-
declare const b:
|
|
896
|
-
declare const bdi:
|
|
897
|
-
declare const bdo:
|
|
898
|
-
declare const br:
|
|
899
|
-
declare const cite:
|
|
900
|
-
declare const code:
|
|
901
|
-
declare const data:
|
|
902
|
-
declare const dfn:
|
|
903
|
-
declare const em:
|
|
904
|
-
declare const i:
|
|
905
|
-
declare const kbd:
|
|
906
|
-
declare const mark:
|
|
907
|
-
declare const q:
|
|
908
|
-
declare const rp:
|
|
909
|
-
declare const rt:
|
|
910
|
-
declare const ruby:
|
|
911
|
-
declare const s:
|
|
912
|
-
declare const samp:
|
|
913
|
-
declare const small:
|
|
914
|
-
declare const strong:
|
|
915
|
-
declare const sub:
|
|
916
|
-
declare const sup:
|
|
917
|
-
declare const time:
|
|
918
|
-
declare const u:
|
|
919
|
-
declare const var_:
|
|
920
|
-
declare const area:
|
|
903
|
+
declare const abbr: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
904
|
+
declare const b: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
905
|
+
declare const bdi: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
906
|
+
declare const bdo: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
907
|
+
declare const br: TagFunction<HTMLBRElement, TagProps<HTMLBRElement>>;
|
|
908
|
+
declare const cite: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
909
|
+
declare const code: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
910
|
+
declare const data: TagFunction<HTMLDataElement, TagProps<HTMLDataElement>>;
|
|
911
|
+
declare const dfn: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
912
|
+
declare const em: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
913
|
+
declare const i: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
914
|
+
declare const kbd: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
915
|
+
declare const mark: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
916
|
+
declare const q: TagFunction<HTMLQuoteElement, TagProps<HTMLQuoteElement>>;
|
|
917
|
+
declare const rp: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
918
|
+
declare const rt: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
919
|
+
declare const ruby: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
920
|
+
declare const s: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
921
|
+
declare const samp: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
922
|
+
declare const small: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
923
|
+
declare const strong: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
924
|
+
declare const sub: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
925
|
+
declare const sup: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
926
|
+
declare const time: TagFunction<HTMLTimeElement, TagProps<HTMLTimeElement>>;
|
|
927
|
+
declare const u: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
928
|
+
declare const var_: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
929
|
+
declare const area: TagFunction<HTMLAreaElement, TagProps<HTMLAreaElement>>;
|
|
921
930
|
declare const audio: TypedTagFunction<AudioProps, HTMLAudioElement>;
|
|
922
931
|
declare const img: TypedTagFunction<ImgProps, HTMLImageElement>;
|
|
923
|
-
declare const map:
|
|
924
|
-
declare const track$1:
|
|
932
|
+
declare const map: TagFunction<HTMLMapElement, TagProps<HTMLMapElement>>;
|
|
933
|
+
declare const track$1: TagFunction<HTMLTrackElement, TagProps<HTMLTrackElement>>;
|
|
925
934
|
declare const video: TypedTagFunction<VideoProps, HTMLVideoElement>;
|
|
926
|
-
declare const embed:
|
|
927
|
-
declare const iframe:
|
|
928
|
-
declare const object:
|
|
929
|
-
declare const param:
|
|
930
|
-
declare const picture:
|
|
931
|
-
declare const portal:
|
|
932
|
-
declare const source:
|
|
933
|
-
declare const svg:
|
|
934
|
-
declare const math:
|
|
935
|
-
declare const canvas:
|
|
936
|
-
declare const noscript:
|
|
937
|
-
declare const script:
|
|
938
|
-
declare const del:
|
|
939
|
-
declare const ins:
|
|
940
|
-
declare const caption:
|
|
941
|
-
declare const col:
|
|
942
|
-
declare const colgroup:
|
|
943
|
-
declare const table:
|
|
944
|
-
declare const tbody:
|
|
945
|
-
declare const td:
|
|
946
|
-
declare const tfoot:
|
|
947
|
-
declare const th:
|
|
948
|
-
declare const thead:
|
|
949
|
-
declare const tr:
|
|
935
|
+
declare const embed: TagFunction<HTMLEmbedElement, TagProps<HTMLEmbedElement>>;
|
|
936
|
+
declare const iframe: TagFunction<HTMLIFrameElement, TagProps<HTMLIFrameElement>>;
|
|
937
|
+
declare const object: TagFunction<HTMLObjectElement, TagProps<HTMLObjectElement>>;
|
|
938
|
+
declare const param: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
939
|
+
declare const picture: TagFunction<HTMLPictureElement, TagProps<HTMLPictureElement>>;
|
|
940
|
+
declare const portal: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
941
|
+
declare const source: TagFunction<HTMLSourceElement, TagProps<HTMLSourceElement>>;
|
|
942
|
+
declare const svg: TagFunction<SVGSVGElement, TagProps<SVGSVGElement>>;
|
|
943
|
+
declare const math: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
944
|
+
declare const canvas: TagFunction<HTMLCanvasElement, TagProps<HTMLCanvasElement>>;
|
|
945
|
+
declare const noscript: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
946
|
+
declare const script: TagFunction<HTMLScriptElement, TagProps<HTMLScriptElement>>;
|
|
947
|
+
declare const del: TagFunction<HTMLModElement, TagProps<HTMLModElement>>;
|
|
948
|
+
declare const ins: TagFunction<HTMLModElement, TagProps<HTMLModElement>>;
|
|
949
|
+
declare const caption: TagFunction<HTMLTableCaptionElement, TagProps<HTMLTableCaptionElement>>;
|
|
950
|
+
declare const col: TagFunction<HTMLTableColElement, TagProps<HTMLTableColElement>>;
|
|
951
|
+
declare const colgroup: TagFunction<HTMLTableColElement, TagProps<HTMLTableColElement>>;
|
|
952
|
+
declare const table: TagFunction<HTMLTableElement, TagProps<HTMLTableElement>>;
|
|
953
|
+
declare const tbody: TagFunction<HTMLTableSectionElement, TagProps<HTMLTableSectionElement>>;
|
|
954
|
+
declare const td: TagFunction<HTMLTableCellElement, TagProps<HTMLTableCellElement>>;
|
|
955
|
+
declare const tfoot: TagFunction<HTMLTableSectionElement, TagProps<HTMLTableSectionElement>>;
|
|
956
|
+
declare const th: TagFunction<HTMLTableCellElement, TagProps<HTMLTableCellElement>>;
|
|
957
|
+
declare const thead: TagFunction<HTMLTableSectionElement, TagProps<HTMLTableSectionElement>>;
|
|
958
|
+
declare const tr: TagFunction<HTMLTableRowElement, TagProps<HTMLTableRowElement>>;
|
|
950
959
|
declare const button: TypedTagFunction<ButtonProps, HTMLButtonElement>;
|
|
951
|
-
declare const datalist:
|
|
952
|
-
declare const fieldset:
|
|
960
|
+
declare const datalist: TagFunction<HTMLDataListElement, TagProps<HTMLDataListElement>>;
|
|
961
|
+
declare const fieldset: TagFunction<HTMLFieldSetElement, TagProps<HTMLFieldSetElement>>;
|
|
953
962
|
declare const form: TypedTagFunction<FormProps, HTMLFormElement>;
|
|
954
963
|
declare const input: TypedTagFunction<InputProps, HTMLInputElement>;
|
|
955
964
|
declare const label: TypedTagFunction<LabelProps, HTMLLabelElement>;
|
|
956
|
-
declare const legend:
|
|
957
|
-
declare const meter:
|
|
958
|
-
declare const optgroup:
|
|
965
|
+
declare const legend: TagFunction<HTMLLegendElement, TagProps<HTMLLegendElement>>;
|
|
966
|
+
declare const meter: TagFunction<HTMLMeterElement, TagProps<HTMLMeterElement>>;
|
|
967
|
+
declare const optgroup: TagFunction<HTMLOptGroupElement, TagProps<HTMLOptGroupElement>>;
|
|
959
968
|
declare const option: TypedTagFunction<OptionProps, HTMLOptionElement>;
|
|
960
|
-
declare const output:
|
|
961
|
-
declare const progress:
|
|
969
|
+
declare const output: TagFunction<HTMLOutputElement, TagProps<HTMLOutputElement>>;
|
|
970
|
+
declare const progress: TagFunction<HTMLProgressElement, TagProps<HTMLProgressElement>>;
|
|
962
971
|
declare const select: TypedTagFunction<SelectProps, HTMLSelectElement>;
|
|
963
972
|
declare const textarea: TypedTagFunction<TextareaProps, HTMLTextAreaElement>;
|
|
964
|
-
declare const details:
|
|
965
|
-
declare const dialog:
|
|
966
|
-
declare const menu:
|
|
967
|
-
declare const summary:
|
|
968
|
-
declare const slot:
|
|
969
|
-
declare const template:
|
|
970
|
-
declare const base:
|
|
971
|
-
declare const link:
|
|
972
|
-
declare const meta:
|
|
973
|
-
declare const style:
|
|
974
|
-
declare const circle:
|
|
975
|
-
declare const ellipse:
|
|
976
|
-
declare const g:
|
|
977
|
-
declare const line:
|
|
978
|
-
declare const path:
|
|
979
|
-
declare const polygon:
|
|
980
|
-
declare const polyline:
|
|
981
|
-
declare const rect:
|
|
982
|
-
declare const text:
|
|
983
|
-
declare const tspan:
|
|
984
|
-
declare const defs:
|
|
985
|
-
declare const clipPath:
|
|
986
|
-
declare const mask:
|
|
987
|
-
declare const pattern:
|
|
988
|
-
declare const linearGradient:
|
|
989
|
-
declare const radialGradient:
|
|
990
|
-
declare const stop:
|
|
991
|
-
declare const use:
|
|
992
|
-
declare const symbol:
|
|
993
|
-
declare const marker:
|
|
994
|
-
declare const center:
|
|
995
|
-
declare const font:
|
|
996
|
-
declare const marquee:
|
|
997
|
-
declare const customElement: (tagName: string) =>
|
|
973
|
+
declare const details: TagFunction<HTMLDetailsElement, TagProps<HTMLDetailsElement>>;
|
|
974
|
+
declare const dialog: TagFunction<HTMLDialogElement, TagProps<HTMLDialogElement>>;
|
|
975
|
+
declare const menu: TagFunction<HTMLMenuElement, TagProps<HTMLMenuElement>>;
|
|
976
|
+
declare const summary: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
977
|
+
declare const slot: TagFunction<HTMLSlotElement, TagProps<HTMLSlotElement>>;
|
|
978
|
+
declare const template: TagFunction<HTMLTemplateElement, TagProps<HTMLTemplateElement>>;
|
|
979
|
+
declare const base: TagFunction<HTMLBaseElement, TagProps<HTMLBaseElement>>;
|
|
980
|
+
declare const link: TagFunction<HTMLLinkElement, TagProps<HTMLLinkElement>>;
|
|
981
|
+
declare const meta: TagFunction<HTMLMetaElement, TagProps<HTMLMetaElement>>;
|
|
982
|
+
declare const style: TagFunction<HTMLStyleElement, TagProps<HTMLStyleElement>>;
|
|
983
|
+
declare const circle: TagFunction<SVGCircleElement, TagProps<SVGCircleElement>>;
|
|
984
|
+
declare const ellipse: TagFunction<SVGEllipseElement, TagProps<SVGEllipseElement>>;
|
|
985
|
+
declare const g: TagFunction<SVGGElement, TagProps<SVGGElement>>;
|
|
986
|
+
declare const line: TagFunction<SVGLineElement, TagProps<SVGLineElement>>;
|
|
987
|
+
declare const path: TagFunction<SVGPathElement, TagProps<SVGPathElement>>;
|
|
988
|
+
declare const polygon: TagFunction<SVGPolygonElement, TagProps<SVGPolygonElement>>;
|
|
989
|
+
declare const polyline: TagFunction<SVGPolylineElement, TagProps<SVGPolylineElement>>;
|
|
990
|
+
declare const rect: TagFunction<SVGRectElement, TagProps<SVGRectElement>>;
|
|
991
|
+
declare const text: TagFunction<SVGTextElement, TagProps<SVGTextElement>>;
|
|
992
|
+
declare const tspan: TagFunction<SVGTSpanElement, TagProps<SVGTSpanElement>>;
|
|
993
|
+
declare const defs: TagFunction<SVGDefsElement, TagProps<SVGDefsElement>>;
|
|
994
|
+
declare const clipPath: TagFunction<SVGClipPathElement, TagProps<SVGClipPathElement>>;
|
|
995
|
+
declare const mask: TagFunction<SVGMaskElement, TagProps<SVGMaskElement>>;
|
|
996
|
+
declare const pattern: TagFunction<SVGPatternElement, TagProps<SVGPatternElement>>;
|
|
997
|
+
declare const linearGradient: TagFunction<SVGLinearGradientElement, TagProps<SVGLinearGradientElement>>;
|
|
998
|
+
declare const radialGradient: TagFunction<SVGRadialGradientElement, TagProps<SVGRadialGradientElement>>;
|
|
999
|
+
declare const stop: TagFunction<SVGStopElement, TagProps<SVGStopElement>>;
|
|
1000
|
+
declare const use: TagFunction<SVGUseElement, TagProps<SVGUseElement>>;
|
|
1001
|
+
declare const symbol: TagFunction<SVGSymbolElement, TagProps<SVGSymbolElement>>;
|
|
1002
|
+
declare const marker: TagFunction<SVGMarkerElement, TagProps<SVGMarkerElement>>;
|
|
1003
|
+
declare const center: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
1004
|
+
declare const font: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
1005
|
+
declare const marquee: TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
1006
|
+
declare const customElement: (tagName: string) => TagFunction<HTMLElement, TagProps<HTMLElement>>;
|
|
998
1007
|
|
|
999
1008
|
/**
|
|
1000
1009
|
* Options for KeepAlive.
|
|
@@ -1044,10 +1053,6 @@ declare function KeepAlive(activeKey: () => string, cases: Record<string, () =>
|
|
|
1044
1053
|
* @returns The pending error, or `undefined` when there is none.
|
|
1045
1054
|
*/
|
|
1046
1055
|
declare function takePendingError(node: Element): Error | undefined;
|
|
1047
|
-
type Component = () => HTMLElement;
|
|
1048
|
-
type LazyImport = () => Promise<{
|
|
1049
|
-
default: Component;
|
|
1050
|
-
}>;
|
|
1051
1056
|
/**
|
|
1052
1057
|
* lazy() enables code-splitting by deferring the import of a component
|
|
1053
1058
|
* until it is first rendered. Returns a wrapper component that shows a
|
|
@@ -1067,10 +1072,16 @@ type LazyImport = () => Promise<{
|
|
|
1067
1072
|
* LazyDashboard();
|
|
1068
1073
|
* ```
|
|
1069
1074
|
*
|
|
1075
|
+
* The returned component renders either the loading container (a `div`) or,
|
|
1076
|
+
* once loaded, the component's own root — its return type is the union, so an
|
|
1077
|
+
* SVG component stays usable without a cast.
|
|
1078
|
+
*
|
|
1070
1079
|
* @param importFn Dynamic import function returning `{ default: Component }`
|
|
1071
1080
|
* @returns A component function that lazy-loads on first call
|
|
1072
1081
|
*/
|
|
1073
|
-
declare function lazy(importFn:
|
|
1082
|
+
declare function lazy<R extends Node = HTMLElement>(importFn: () => Promise<{
|
|
1083
|
+
default: Component<void, R>;
|
|
1084
|
+
}>): Component<void, R | HTMLDivElement>;
|
|
1074
1085
|
/**
|
|
1075
1086
|
* Suspense provides a fallback UI while lazy or async nodes are loading.
|
|
1076
1087
|
*
|
|
@@ -1084,11 +1095,13 @@ declare function lazy(importFn: LazyImport): Component;
|
|
|
1084
1095
|
*
|
|
1085
1096
|
* @param props.nodes Function that returns the async/lazy component
|
|
1086
1097
|
* @param props.fallback Function that returns the loading UI
|
|
1087
|
-
* @returns
|
|
1098
|
+
* @returns A container element that swaps from fallback to content when ready
|
|
1088
1099
|
*/
|
|
1089
1100
|
interface SuspenseProps {
|
|
1090
|
-
|
|
1091
|
-
|
|
1101
|
+
/** The content's root must be an element (HTML or SVG): its loading state is read from it. */
|
|
1102
|
+
nodes: () => Element;
|
|
1103
|
+
/** Any node, including a text node or fragment. */
|
|
1104
|
+
fallback: () => Node;
|
|
1092
1105
|
}
|
|
1093
1106
|
/**
|
|
1094
1107
|
* Render `fallback` until the async `nodes` factory resolves, then swap it for
|
|
@@ -1102,7 +1115,7 @@ interface SuspenseProps {
|
|
|
1102
1115
|
* the fallback are discarded. That is usually harmless (a spinner rarely holds
|
|
1103
1116
|
* focus) but matters for a skeleton form; see the note on `when`.
|
|
1104
1117
|
*/
|
|
1105
|
-
declare function Suspense({ nodes, fallback }: SuspenseProps):
|
|
1118
|
+
declare function Suspense({ nodes, fallback }: SuspenseProps): HTMLDivElement;
|
|
1106
1119
|
|
|
1107
1120
|
/**
|
|
1108
1121
|
* Lifecycle hooks for SibuJS components.
|
|
@@ -1135,18 +1148,18 @@ type CleanupFn = () => void;
|
|
|
1135
1148
|
* (if you also use onUnmount, prefer that for explicit cleanup).
|
|
1136
1149
|
*
|
|
1137
1150
|
* @param callback Function to run after mount. May return a cleanup function.
|
|
1138
|
-
* @param element Optional element to observe; if provided, waits until it's connected.
|
|
1151
|
+
* @param element Optional element to observe (HTML or SVG); if provided, waits until it's connected.
|
|
1139
1152
|
*/
|
|
1140
|
-
declare function onMount(callback: () => undefined | CleanupFn, element?:
|
|
1153
|
+
declare function onMount(callback: () => undefined | CleanupFn, element?: Element): void;
|
|
1141
1154
|
/**
|
|
1142
1155
|
* Runs a callback when the given element is removed from the DOM.
|
|
1143
1156
|
* Uses a shared MutationObserver to watch for disconnection, plus
|
|
1144
1157
|
* `registerDisposer` so explicit dispose() paths also trigger the callback.
|
|
1145
1158
|
*
|
|
1146
1159
|
* @param callback Function to run on unmount
|
|
1147
|
-
* @param element The element to watch for removal
|
|
1160
|
+
* @param element The element to watch for removal (HTML or SVG)
|
|
1148
1161
|
*/
|
|
1149
|
-
declare function onUnmount(callback: CleanupFn, element:
|
|
1162
|
+
declare function onUnmount(callback: CleanupFn, element: Element): void;
|
|
1150
1163
|
/**
|
|
1151
1164
|
* Register a cleanup callback that runs when the given element is disposed.
|
|
1152
1165
|
* Integrates with `when()`, `match()`, and `each()` which call `dispose()`
|
|
@@ -1169,14 +1182,25 @@ declare function onCleanup(callback: CleanupFn, element: Node): void;
|
|
|
1169
1182
|
|
|
1170
1183
|
/**
|
|
1171
1184
|
* Mounts a root component into a DOM element.
|
|
1172
|
-
* Supports both function components and pre-created
|
|
1185
|
+
* Supports both function components and pre-created nodes.
|
|
1186
|
+
*
|
|
1187
|
+
* A component function runs as a render transaction: if it throws — or the
|
|
1188
|
+
* append fails — every binding and listener it registered is released before
|
|
1189
|
+
* the error reaches the caller, so a failed mount leaves nothing subscribed.
|
|
1190
|
+
* A pre-built node belongs to its caller and is never rolled back.
|
|
1191
|
+
*
|
|
1192
|
+
* A `DocumentFragment` root (from `Fragment()`) empties itself into the
|
|
1193
|
+
* container, so the mount tracks the range it filled instead: `unmount()`
|
|
1194
|
+
* disposes and removes everything in that range, including nodes a reactive
|
|
1195
|
+
* child rendered after mounting.
|
|
1173
1196
|
*
|
|
1174
|
-
* @param component Component function, or
|
|
1197
|
+
* @param component Component function (any root node, HTML or SVG element or
|
|
1198
|
+
* fragment), or an already-built Element/Node.
|
|
1175
1199
|
* @param container Element to mount into.
|
|
1176
1200
|
* @returns `{ node, unmount }` — the live root node, and a teardown that
|
|
1177
1201
|
* disposes the tree and removes it.
|
|
1178
1202
|
*/
|
|
1179
|
-
declare function mount(component:
|
|
1203
|
+
declare function mount(component: Component<void, Node> | Node, container: Element | null): {
|
|
1180
1204
|
node: Node;
|
|
1181
1205
|
unmount: () => void;
|
|
1182
1206
|
};
|
|
@@ -1189,7 +1213,8 @@ declare function mount(component: (() => Element) | Element | Node, container: E
|
|
|
1189
1213
|
* are properly torn down when the anchor is disposed by `when()`, `match()`,
|
|
1190
1214
|
* `each()`, or manual `dispose(anchor)`.
|
|
1191
1215
|
*
|
|
1192
|
-
* @param nodes Function that returns the content to render
|
|
1216
|
+
* @param nodes Function that returns the content to render — any element,
|
|
1217
|
+
* HTML or SVG (a `Component` fits)
|
|
1193
1218
|
* @param target Target DOM element (defaults to document.body)
|
|
1194
1219
|
* @returns A Comment anchor node in the original position
|
|
1195
1220
|
*
|
|
@@ -1203,7 +1228,7 @@ declare function mount(component: (() => Element) | Element | Node, container: E
|
|
|
1203
1228
|
* Portal(() => div("Tooltip"), overlay);
|
|
1204
1229
|
* ```
|
|
1205
1230
|
*/
|
|
1206
|
-
declare function Portal(nodes: () =>
|
|
1231
|
+
declare function Portal(nodes: () => Element, target?: Element): Comment;
|
|
1207
1232
|
|
|
1208
1233
|
type SlotFn = () => Element | string | number | null | undefined;
|
|
1209
1234
|
type Slots = Record<string, SlotFn>;
|
|
@@ -2196,4 +2221,4 @@ declare const untracked: ReactiveApi["untracked"];
|
|
|
2196
2221
|
declare const retrack: ReactiveApi["retrack"];
|
|
2197
2222
|
declare const setMaxDrainIterations: ReactiveApi["setMaxDrainIterations"];
|
|
2198
2223
|
|
|
2199
|
-
export { Accessor, type ActionFn, type AnchorProps, type ArrayActions, type AsyncDerivedContext, type AsyncDerivedState, type AudioProps, type ButtonProps, type Context, DerivedAccessor, DynamicComponent, type EachBindings, type EachEventBindings, type EffectBody, type EffectOptions, type EnhanceContext, type EnhanceSetup, ErrorBoundary, type ErrorBoundaryOptions, type ErrorBoundaryProps, ErrorDisplay, type ErrorDisplayProps, type ErrorSeverity, type FormProps, Fragment, type ImgProps, type InputProps, type InputType, type IslandLoader, type IslandRegistration, type IslandStrategy, KeepAlive, type KeepAliveOptions, type LabelProps, type LazyIslandLoader, Loading, type LoadingProps, type LongPressOptions, MAX_DRAIN_TEARDOWNS, type MediaProps, type MountIslandsOptions, NodeChild, NodeChildren, type OnCleanup, type OptionProps, Portal, type Ref, type RuntimeErrorContext, type RuntimeErrorHandler, type RuntimeErrorPhase, type SSRStore, type SelectProps, type SlotFn, type Slots, type StoreActions, Suspense, type SuspenseProps, TagProps, type TextareaProps, type TypedTagFunction, type VideoProps, __resetIdCounter, a, abbr, action, address, area, array, article, aside, asyncDerived, audio, autoResize, b, base, batch, bdi, bdo, bindDynamic, blockquote, body, br, button, canvas, caption, catchError, catchErrorAsync, center, checkLeaks, circle, cite, clickOutside, clipPath, code, col, colgroup, context, copyOnClick, createId, customElement, data, datalist, dd, deepEqual, deepSignal, defer, defs, del, details, dfn, dialog, disableSSR, dispose, div, dl, dt, each, effect, ellipse, em, embed, enableSSR, enhance, enhanceAll, enqueueBatchedSignal, fieldset, figcaption, figure, font, footer, form, g, getAction, getRequestScopedCache, getRuntimeErrorHandler, getSSRStore, getSlot, h1, h2, h3, h4, h5, h6, head, header, hr, html, i, iframe, img, input, ins, isBatching, isSSR, kbd, label, lazy, lazyIsland, legend, li, line, linearGradient, link, longPress, main, map, mark, marker, marquee, mask, match, math, menu, meta, meter, mount, mountIslands, nav, nextTick, noscript, object, ol, on, onCleanup, onMount, onUnmount, optgroup, option, output, p, param, path, pattern, picture, polygon, polyline, portal, pre, progress, q, radialGradient, reactiveArray, rect, ref, registerAction, registerComponent, registerDisposer, registerIsland, replaceChildrenSafely, reportDrainRunaway, reportError, resolveComponent, retrack, rp, rt, ruby, runInSSRContext, s, samp, script, section, select, setGlobalErrorHandler, setMaxDrainIterations, setRuntimeErrorHandler, show, slot, small, source, span, stop, store, strict, strictEffect, strong, style, sub, summary, sup, svg, symbol, table, takePendingError, tbody, td, template, text, textarea, tfoot, th, thead, time, title, tr, track$1 as track, transition, trapFocus, tspan, u, ul, unregisterComponent, unregisterDisposer, unregisterIsland, untracked, use, var_, video, watch, when, withSSR, writable };
|
|
2224
|
+
export { Accessor, type ActionFn, type AnchorProps, type ArrayActions, type AsyncDerivedContext, type AsyncDerivedState, type AudioProps, type ButtonProps, Component, type Context, DerivedAccessor, DynamicComponent, type EachBindings, type EachEventBindings, type EffectBody, type EffectOptions, type EnhanceContext, type EnhanceSetup, ErrorBoundary, type ErrorBoundaryOptions, type ErrorBoundaryProps, ErrorDisplay, type ErrorDisplayProps, type ErrorSeverity, type FormProps, Fragment, type ImgProps, type InputProps, type InputType, type IslandLoader, type IslandRegistration, type IslandStrategy, KeepAlive, type KeepAliveOptions, type LabelProps, type LazyIslandLoader, Loading, type LoadingProps, type LongPressOptions, MAX_DRAIN_TEARDOWNS, type MediaProps, type MountIslandsOptions, NodeChild, NodeChildren, type OnCleanup, type OptionProps, Portal, type Ref, type RuntimeErrorContext, type RuntimeErrorHandler, type RuntimeErrorPhase, type SSRStore, type SelectProps, type SlotFn, type Slots, type StoreActions, Suspense, type SuspenseProps, TagFunction, TagProps, type TextareaProps, type TypedTagFunction, type VideoProps, __resetIdCounter, a, abbr, action, address, area, array, article, aside, asyncDerived, audio, autoResize, b, base, batch, bdi, bdo, bindDynamic, blockquote, body, br, button, canvas, caption, catchError, catchErrorAsync, center, checkLeaks, circle, cite, clickOutside, clipPath, code, col, colgroup, context, copyOnClick, createId, customElement, data, datalist, dd, deepEqual, deepSignal, defer, defs, del, details, dfn, dialog, disableSSR, dispose, div, dl, dt, each, effect, ellipse, em, embed, enableSSR, enhance, enhanceAll, enqueueBatchedSignal, fieldset, figcaption, figure, font, footer, form, g, getAction, getRequestScopedCache, getRuntimeErrorHandler, getSSRStore, getSlot, h1, h2, h3, h4, h5, h6, head, header, hr, html, i, iframe, img, input, ins, isBatching, isSSR, kbd, label, lazy, lazyIsland, legend, li, line, linearGradient, link, longPress, main, map, mark, marker, marquee, mask, match, math, menu, meta, meter, mount, mountIslands, nav, nextTick, noscript, object, ol, on, onCleanup, onMount, onUnmount, optgroup, option, output, p, param, path, pattern, picture, polygon, polyline, portal, pre, progress, q, radialGradient, reactiveArray, rect, ref, registerAction, registerComponent, registerDisposer, registerIsland, replaceChildrenSafely, reportDrainRunaway, reportError, resolveComponent, retrack, rp, rt, ruby, runInSSRContext, s, samp, script, section, select, setGlobalErrorHandler, setMaxDrainIterations, setRuntimeErrorHandler, show, slot, small, source, span, stop, store, strict, strictEffect, strong, style, sub, summary, sup, svg, symbol, table, takePendingError, tbody, td, template, text, textarea, tfoot, th, thead, time, title, tr, track$1 as track, transition, trapFocus, tspan, u, ul, unregisterComponent, unregisterDisposer, unregisterIsland, untracked, use, var_, video, watch, when, withSSR, writable };
|