hyperscript-rxjs 1.3.24 → 1.3.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hyperscript-rxjs.d.ts +187 -237
- package/dist/hyperscript-rxjs.js +189 -446
- package/package.json +3 -3
|
@@ -6,21 +6,21 @@ import { Subscription } from 'rxjs';
|
|
|
6
6
|
|
|
7
7
|
export declare function a(props: {
|
|
8
8
|
[_: string]: any;
|
|
9
|
-
}, ...childNodes:
|
|
9
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLAnchorElement>;
|
|
10
10
|
|
|
11
|
-
export declare function a(...childNodes:
|
|
11
|
+
export declare function a(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLAnchorElement>;
|
|
12
12
|
|
|
13
13
|
export declare function abbr(props: {
|
|
14
14
|
[_: string]: any;
|
|
15
|
-
}, ...childNodes:
|
|
15
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
16
16
|
|
|
17
|
-
export declare function abbr(...childNodes:
|
|
17
|
+
export declare function abbr(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
18
18
|
|
|
19
19
|
export declare function address(props: {
|
|
20
20
|
[_: string]: any;
|
|
21
|
-
}, ...childNodes:
|
|
21
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
22
22
|
|
|
23
|
-
export declare function address(...childNodes:
|
|
23
|
+
export declare function address(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* @template T
|
|
@@ -30,11 +30,9 @@ export declare function address(...childNodes: any[]): HyperscriptExtensions<HTM
|
|
|
30
30
|
*/
|
|
31
31
|
export declare function advance<T>(array: Array<T>, n: number): [Array<T>, Array<T>];
|
|
32
32
|
|
|
33
|
-
export declare function area(props
|
|
33
|
+
export declare function area(props?: {
|
|
34
34
|
[_: string]: any;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export declare function area(...childNodes: any[]): HyperscriptExtensions<HTMLAreaElement>;
|
|
35
|
+
}): HyperscriptExtensions<HTMLAreaElement>;
|
|
38
36
|
|
|
39
37
|
/**
|
|
40
38
|
* insert a element at position in place.
|
|
@@ -55,15 +53,15 @@ export declare function arrayRemove<T>(array: T[], index?: number): void;
|
|
|
55
53
|
|
|
56
54
|
export declare function article(props: {
|
|
57
55
|
[_: string]: any;
|
|
58
|
-
}, ...childNodes:
|
|
56
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
59
57
|
|
|
60
|
-
export declare function article(...childNodes:
|
|
58
|
+
export declare function article(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
61
59
|
|
|
62
60
|
export declare function aside(props: {
|
|
63
61
|
[_: string]: any;
|
|
64
|
-
}, ...childNodes:
|
|
62
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
65
63
|
|
|
66
|
-
export declare function aside(...childNodes:
|
|
64
|
+
export declare function aside(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
67
65
|
|
|
68
66
|
export declare function attachSubscriptionToNode(elem: Node & {
|
|
69
67
|
subscription?: Subscription;
|
|
@@ -71,27 +69,27 @@ export declare function attachSubscriptionToNode(elem: Node & {
|
|
|
71
69
|
|
|
72
70
|
export declare function audio(props: {
|
|
73
71
|
[_: string]: any;
|
|
74
|
-
}, ...childNodes:
|
|
72
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLAudioElement>;
|
|
75
73
|
|
|
76
|
-
export declare function audio(...childNodes:
|
|
74
|
+
export declare function audio(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLAudioElement>;
|
|
77
75
|
|
|
78
76
|
export declare function b(props: {
|
|
79
77
|
[_: string]: any;
|
|
80
|
-
}, ...childNodes:
|
|
78
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
81
79
|
|
|
82
|
-
export declare function b(...childNodes:
|
|
80
|
+
export declare function b(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
83
81
|
|
|
84
82
|
export declare function bdi(props: {
|
|
85
83
|
[_: string]: any;
|
|
86
|
-
}, ...childNodes:
|
|
84
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
87
85
|
|
|
88
|
-
export declare function bdi(...childNodes:
|
|
86
|
+
export declare function bdi(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
89
87
|
|
|
90
88
|
export declare function bdo(props: {
|
|
91
89
|
[_: string]: any;
|
|
92
|
-
}, ...childNodes:
|
|
90
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
93
91
|
|
|
94
|
-
export declare function bdo(...childNodes:
|
|
92
|
+
export declare function bdo(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
95
93
|
|
|
96
94
|
/**
|
|
97
95
|
* 绑定选项卡的激活状态到 `tabIndex`。
|
|
@@ -125,27 +123,23 @@ export declare const blockLevelFamily: Set<string>;
|
|
|
125
123
|
|
|
126
124
|
export declare function blockquote(props: {
|
|
127
125
|
[_: string]: any;
|
|
128
|
-
}, ...childNodes:
|
|
129
|
-
|
|
130
|
-
export declare function blockquote(...childNodes: any[]): HyperscriptExtensions<HTMLQuoteElement>;
|
|
126
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLQuoteElement>;
|
|
131
127
|
|
|
132
|
-
export declare function
|
|
133
|
-
[_: string]: any;
|
|
134
|
-
}, ...childNodes: any[]): HyperscriptExtensions<HTMLBRElement>;
|
|
128
|
+
export declare function blockquote(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLQuoteElement>;
|
|
135
129
|
|
|
136
|
-
export declare function br(
|
|
130
|
+
export declare function br(): HyperscriptExtensions<HTMLBRElement>;
|
|
137
131
|
|
|
138
132
|
export declare function button(props: {
|
|
139
133
|
[_: string]: any;
|
|
140
|
-
}, ...childNodes:
|
|
134
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLButtonElement>;
|
|
141
135
|
|
|
142
|
-
export declare function button(...childNodes:
|
|
136
|
+
export declare function button(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLButtonElement>;
|
|
143
137
|
|
|
144
138
|
export declare function caption(props: {
|
|
145
139
|
[_: string]: any;
|
|
146
|
-
}, ...childNodes:
|
|
140
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
147
141
|
|
|
148
|
-
export declare function caption(...childNodes:
|
|
142
|
+
export declare function caption(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
149
143
|
|
|
150
144
|
/**
|
|
151
145
|
* 创建一个支持 RxJS 的复选框组件。
|
|
@@ -170,27 +164,25 @@ possibilities: Record<string, HTMLElement | HTMLElement[]>
|
|
|
170
164
|
|
|
171
165
|
export declare function cite(props: {
|
|
172
166
|
[_: string]: any;
|
|
173
|
-
}, ...childNodes:
|
|
167
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
174
168
|
|
|
175
|
-
export declare function cite(...childNodes:
|
|
169
|
+
export declare function cite(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
176
170
|
|
|
177
171
|
export declare function code(props: {
|
|
178
172
|
[_: string]: any;
|
|
179
|
-
}, ...childNodes:
|
|
173
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
180
174
|
|
|
181
|
-
export declare function code(...childNodes:
|
|
175
|
+
export declare function code(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
182
176
|
|
|
183
|
-
export declare function col(props
|
|
177
|
+
export declare function col(props?: {
|
|
184
178
|
[_: string]: any;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
export declare function col(...childNodes: any[]): HyperscriptExtensions<HTMLTableColElement>;
|
|
179
|
+
}): HyperscriptExtensions<HTMLTableColElement>;
|
|
188
180
|
|
|
189
181
|
export declare function colgroup(props: {
|
|
190
182
|
[_: string]: any;
|
|
191
|
-
}, ...childNodes:
|
|
183
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableColElement>;
|
|
192
184
|
|
|
193
|
-
export declare function colgroup(...childNodes:
|
|
185
|
+
export declare function colgroup(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableColElement>;
|
|
194
186
|
|
|
195
187
|
/**
|
|
196
188
|
* 显示或隐藏包含的元素。
|
|
@@ -354,21 +346,21 @@ export declare class Comparer<T> {
|
|
|
354
346
|
|
|
355
347
|
export declare function data(props: {
|
|
356
348
|
[_: string]: any;
|
|
357
|
-
}, ...childNodes:
|
|
349
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLDataElement>;
|
|
358
350
|
|
|
359
|
-
export declare function data(...childNodes:
|
|
351
|
+
export declare function data(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLDataElement>;
|
|
360
352
|
|
|
361
353
|
export declare function datalist(props: {
|
|
362
354
|
[_: string]: any;
|
|
363
|
-
}, ...childNodes:
|
|
355
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLDataListElement>;
|
|
364
356
|
|
|
365
|
-
export declare function datalist(...childNodes:
|
|
357
|
+
export declare function datalist(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLDataListElement>;
|
|
366
358
|
|
|
367
359
|
export declare function dd(props: {
|
|
368
360
|
[_: string]: any;
|
|
369
|
-
}, ...childNodes:
|
|
361
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
370
362
|
|
|
371
|
-
export declare function dd(...childNodes:
|
|
363
|
+
export declare function dd(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
372
364
|
|
|
373
365
|
/**
|
|
374
366
|
* 深度(嵌套)数据结构类,用于处理按键路径排序的键值对集合。
|
|
@@ -541,51 +533,51 @@ export declare const defaultComparer: Comparer<any>;
|
|
|
541
533
|
|
|
542
534
|
export declare function del(props: {
|
|
543
535
|
[_: string]: any;
|
|
544
|
-
}, ...childNodes:
|
|
536
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLModElement>;
|
|
545
537
|
|
|
546
|
-
export declare function del(...childNodes:
|
|
538
|
+
export declare function del(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLModElement>;
|
|
547
539
|
|
|
548
540
|
export declare function details(props: {
|
|
549
541
|
[_: string]: any;
|
|
550
|
-
}, ...childNodes:
|
|
542
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLDetailsElement>;
|
|
551
543
|
|
|
552
|
-
export declare function details(...childNodes:
|
|
544
|
+
export declare function details(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLDetailsElement>;
|
|
553
545
|
|
|
554
546
|
export declare function dfn(props: {
|
|
555
547
|
[_: string]: any;
|
|
556
|
-
}, ...childNodes:
|
|
548
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
557
549
|
|
|
558
|
-
export declare function dfn(...childNodes:
|
|
550
|
+
export declare function dfn(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
559
551
|
|
|
560
552
|
export declare function dialog(props: {
|
|
561
553
|
[_: string]: any;
|
|
562
|
-
}, ...childNodes:
|
|
554
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLDialogElement>;
|
|
563
555
|
|
|
564
|
-
export declare function dialog(...childNodes:
|
|
556
|
+
export declare function dialog(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLDialogElement>;
|
|
565
557
|
|
|
566
558
|
export declare function div(props: {
|
|
567
559
|
[_: string]: any;
|
|
568
|
-
}, ...childNodes:
|
|
560
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLDivElement>;
|
|
569
561
|
|
|
570
|
-
export declare function div(...childNodes:
|
|
562
|
+
export declare function div(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLDivElement>;
|
|
571
563
|
|
|
572
564
|
export declare function dl(props: {
|
|
573
565
|
[_: string]: any;
|
|
574
|
-
}, ...childNodes:
|
|
566
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLDListElement>;
|
|
575
567
|
|
|
576
|
-
export declare function dl(...childNodes:
|
|
568
|
+
export declare function dl(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLDListElement>;
|
|
577
569
|
|
|
578
570
|
export declare function dt(props: {
|
|
579
571
|
[_: string]: any;
|
|
580
|
-
}, ...childNodes:
|
|
572
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
581
573
|
|
|
582
|
-
export declare function dt(...childNodes:
|
|
574
|
+
export declare function dt(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
583
575
|
|
|
584
576
|
export declare function em(props: {
|
|
585
577
|
[_: string]: any;
|
|
586
|
-
}, ...childNodes:
|
|
578
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
587
579
|
|
|
588
|
-
export declare function em(...childNodes:
|
|
580
|
+
export declare function em(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
589
581
|
|
|
590
582
|
export declare const entryComparer: Comparer<[(string | number)[], any]>;
|
|
591
583
|
|
|
@@ -600,21 +592,21 @@ export declare function erectObject(entries: [(string | number)[], any][]): obje
|
|
|
600
592
|
|
|
601
593
|
export declare function fieldset(props: {
|
|
602
594
|
[_: string]: any;
|
|
603
|
-
}, ...childNodes:
|
|
595
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLFieldSetElement>;
|
|
604
596
|
|
|
605
|
-
export declare function fieldset(...childNodes:
|
|
597
|
+
export declare function fieldset(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLFieldSetElement>;
|
|
606
598
|
|
|
607
599
|
export declare function figcaption(props: {
|
|
608
600
|
[_: string]: any;
|
|
609
|
-
}, ...childNodes:
|
|
601
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
610
602
|
|
|
611
|
-
export declare function figcaption(...childNodes:
|
|
603
|
+
export declare function figcaption(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
612
604
|
|
|
613
605
|
export declare function figure(props: {
|
|
614
606
|
[_: string]: any;
|
|
615
|
-
}, ...childNodes:
|
|
607
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
616
608
|
|
|
617
|
-
export declare function figure(...childNodes:
|
|
609
|
+
export declare function figure(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
618
610
|
|
|
619
611
|
/**
|
|
620
612
|
* 查找数组中最后一个满足条件的元素索引。
|
|
@@ -647,15 +639,15 @@ export declare function flip(yinHidden$: Observable<boolean>, yin: HTMLElement |
|
|
|
647
639
|
|
|
648
640
|
export declare function footer(props: {
|
|
649
641
|
[_: string]: any;
|
|
650
|
-
}, ...childNodes:
|
|
642
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
651
643
|
|
|
652
|
-
export declare function footer(...childNodes:
|
|
644
|
+
export declare function footer(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
653
645
|
|
|
654
646
|
export declare function form(props: {
|
|
655
647
|
[_: string]: any;
|
|
656
|
-
}, ...childNodes:
|
|
648
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLFormElement>;
|
|
657
649
|
|
|
658
|
-
export declare function form(...childNodes:
|
|
650
|
+
export declare function form(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLFormElement>;
|
|
659
651
|
|
|
660
652
|
/**
|
|
661
653
|
* 用途:插入一组元素,不必使用循环语句,fragment 用后即弃。
|
|
@@ -717,57 +709,53 @@ export declare function groupByFirstLevelKey(flatEntries: [(string | number)[],
|
|
|
717
709
|
|
|
718
710
|
export declare function h1(props: {
|
|
719
711
|
[_: string]: any;
|
|
720
|
-
}, ...childNodes:
|
|
712
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLHeadingElement>;
|
|
721
713
|
|
|
722
|
-
export declare function h1(...childNodes:
|
|
714
|
+
export declare function h1(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLHeadingElement>;
|
|
723
715
|
|
|
724
716
|
export declare function h2(props: {
|
|
725
717
|
[_: string]: any;
|
|
726
|
-
}, ...childNodes:
|
|
718
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLHeadingElement>;
|
|
727
719
|
|
|
728
|
-
export declare function h2(...childNodes:
|
|
720
|
+
export declare function h2(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLHeadingElement>;
|
|
729
721
|
|
|
730
722
|
export declare function h3(props: {
|
|
731
723
|
[_: string]: any;
|
|
732
|
-
}, ...childNodes:
|
|
724
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLHeadingElement>;
|
|
733
725
|
|
|
734
|
-
export declare function h3(...childNodes:
|
|
726
|
+
export declare function h3(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLHeadingElement>;
|
|
735
727
|
|
|
736
728
|
export declare function h4(props: {
|
|
737
729
|
[_: string]: any;
|
|
738
|
-
}, ...childNodes:
|
|
730
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLHeadingElement>;
|
|
739
731
|
|
|
740
|
-
export declare function h4(...childNodes:
|
|
732
|
+
export declare function h4(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLHeadingElement>;
|
|
741
733
|
|
|
742
734
|
export declare function h5(props: {
|
|
743
735
|
[_: string]: any;
|
|
744
|
-
}, ...childNodes:
|
|
736
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLHeadingElement>;
|
|
745
737
|
|
|
746
|
-
export declare function h5(...childNodes:
|
|
738
|
+
export declare function h5(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLHeadingElement>;
|
|
747
739
|
|
|
748
740
|
export declare function h6(props: {
|
|
749
741
|
[_: string]: any;
|
|
750
|
-
}, ...childNodes:
|
|
742
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLHeadingElement>;
|
|
751
743
|
|
|
752
|
-
export declare function h6(...childNodes:
|
|
744
|
+
export declare function h6(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLHeadingElement>;
|
|
753
745
|
|
|
754
746
|
export declare function header(props: {
|
|
755
747
|
[_: string]: any;
|
|
756
|
-
}, ...childNodes:
|
|
748
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
757
749
|
|
|
758
|
-
export declare function header(...childNodes:
|
|
750
|
+
export declare function header(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
759
751
|
|
|
760
752
|
export declare function hgroup(props: {
|
|
761
753
|
[_: string]: any;
|
|
762
|
-
}, ...childNodes:
|
|
763
|
-
|
|
764
|
-
export declare function hgroup(...childNodes: any[]): HyperscriptExtensions<HTMLElement>;
|
|
754
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
765
755
|
|
|
766
|
-
export declare function
|
|
767
|
-
[_: string]: any;
|
|
768
|
-
}, ...childNodes: any[]): HyperscriptExtensions<HTMLHRElement>;
|
|
756
|
+
export declare function hgroup(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
769
757
|
|
|
770
|
-
export declare function hr(
|
|
758
|
+
export declare function hr(): HyperscriptExtensions<HTMLHRElement>;
|
|
771
759
|
|
|
772
760
|
export declare type HtmlTagName =
|
|
773
761
|
// 主根元素
|
|
@@ -866,15 +854,13 @@ export declare type HyperscriptTextAreaElement = HyperscriptExtensions<HTMLTextA
|
|
|
866
854
|
|
|
867
855
|
export declare function i(props: {
|
|
868
856
|
[_: string]: any;
|
|
869
|
-
}, ...childNodes:
|
|
857
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
870
858
|
|
|
871
|
-
export declare function i(...childNodes:
|
|
859
|
+
export declare function i(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
872
860
|
|
|
873
|
-
export declare function img(props
|
|
861
|
+
export declare function img(props?: {
|
|
874
862
|
[_: string]: any;
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
export declare function img(...childNodes: any[]): HyperscriptExtensions<HTMLImageElement>;
|
|
863
|
+
}): HyperscriptExtensions<HTMLImageElement>;
|
|
878
864
|
|
|
879
865
|
/**
|
|
880
866
|
* 一个包含所有 HTML 内联元素标签名称的集合。
|
|
@@ -892,17 +878,15 @@ export declare function img(...childNodes: any[]): HyperscriptExtensions<HTMLIma
|
|
|
892
878
|
*/
|
|
893
879
|
export declare const inlineFamily: Set<string>;
|
|
894
880
|
|
|
895
|
-
export declare function input(props
|
|
881
|
+
export declare function input(props?: {
|
|
896
882
|
[_: string]: any;
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
export declare function input(...childNodes: any[]): HyperscriptExtensions<HTMLInputElement>;
|
|
883
|
+
}): HyperscriptExtensions<HTMLInputElement>;
|
|
900
884
|
|
|
901
885
|
export declare function ins(props: {
|
|
902
886
|
[_: string]: any;
|
|
903
|
-
}, ...childNodes:
|
|
887
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLModElement>;
|
|
904
888
|
|
|
905
|
-
export declare function ins(...childNodes:
|
|
889
|
+
export declare function ins(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLModElement>;
|
|
906
890
|
|
|
907
891
|
/**
|
|
908
892
|
* Creates an object composed of the picked object properties.
|
|
@@ -944,9 +928,9 @@ export declare function isRxType(obj: any): boolean;
|
|
|
944
928
|
|
|
945
929
|
export declare function kbd(props: {
|
|
946
930
|
[_: string]: any;
|
|
947
|
-
}, ...childNodes:
|
|
931
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
948
932
|
|
|
949
|
-
export declare function kbd(...childNodes:
|
|
933
|
+
export declare function kbd(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
950
934
|
|
|
951
935
|
export declare const keyComparer: Comparer<string | number>;
|
|
952
936
|
|
|
@@ -954,51 +938,51 @@ export declare const keyPathComparer: Comparer<(string | number)[]>;
|
|
|
954
938
|
|
|
955
939
|
export declare function label(props: {
|
|
956
940
|
[_: string]: any;
|
|
957
|
-
}, ...childNodes:
|
|
941
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLLabelElement>;
|
|
958
942
|
|
|
959
|
-
export declare function label(...childNodes:
|
|
943
|
+
export declare function label(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLLabelElement>;
|
|
960
944
|
|
|
961
945
|
export declare function legend(props: {
|
|
962
946
|
[_: string]: any;
|
|
963
|
-
}, ...childNodes:
|
|
947
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLLegendElement>;
|
|
964
948
|
|
|
965
|
-
export declare function legend(...childNodes:
|
|
949
|
+
export declare function legend(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLLegendElement>;
|
|
966
950
|
|
|
967
951
|
export declare function li(props: {
|
|
968
952
|
[_: string]: any;
|
|
969
|
-
}, ...childNodes:
|
|
953
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLLIElement>;
|
|
970
954
|
|
|
971
|
-
export declare function li(...childNodes:
|
|
955
|
+
export declare function li(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLLIElement>;
|
|
972
956
|
|
|
973
957
|
export declare function main(props: {
|
|
974
958
|
[_: string]: any;
|
|
975
|
-
}, ...childNodes:
|
|
959
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
976
960
|
|
|
977
|
-
export declare function main(...childNodes:
|
|
961
|
+
export declare function main(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
978
962
|
|
|
979
963
|
export declare function mark(props: {
|
|
980
964
|
[_: string]: any;
|
|
981
|
-
}, ...childNodes:
|
|
965
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
982
966
|
|
|
983
|
-
export declare function mark(...childNodes:
|
|
967
|
+
export declare function mark(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
984
968
|
|
|
985
969
|
export declare function menu(props: {
|
|
986
970
|
[_: string]: any;
|
|
987
|
-
}, ...childNodes:
|
|
971
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLMenuElement>;
|
|
988
972
|
|
|
989
|
-
export declare function menu(...childNodes:
|
|
973
|
+
export declare function menu(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLMenuElement>;
|
|
990
974
|
|
|
991
975
|
export declare function menuitem(props: {
|
|
992
976
|
[_: string]: any;
|
|
993
|
-
}, ...childNodes:
|
|
977
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
994
978
|
|
|
995
|
-
export declare function menuitem(...childNodes:
|
|
979
|
+
export declare function menuitem(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
996
980
|
|
|
997
981
|
export declare function meter(props: {
|
|
998
982
|
[_: string]: any;
|
|
999
|
-
}, ...childNodes:
|
|
983
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLMeterElement>;
|
|
1000
984
|
|
|
1001
|
-
export declare function meter(...childNodes:
|
|
985
|
+
export declare function meter(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLMeterElement>;
|
|
1002
986
|
|
|
1003
987
|
/**
|
|
1004
988
|
* 创建一个支持多选功能的 <select> 元素,并绑定选项的选中状态。必须手动添加控件更新BehaviorSubject的事件。
|
|
@@ -1023,9 +1007,9 @@ export declare type MultiselectProps = {
|
|
|
1023
1007
|
|
|
1024
1008
|
export declare function nav(props: {
|
|
1025
1009
|
[_: string]: any;
|
|
1026
|
-
}, ...childNodes:
|
|
1010
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1027
1011
|
|
|
1028
|
-
export declare function nav(...childNodes:
|
|
1012
|
+
export declare function nav(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1029
1013
|
|
|
1030
1014
|
/**
|
|
1031
1015
|
*
|
|
@@ -1041,23 +1025,15 @@ export declare function nestedCombineLatest(model: Record<string | number, any>)
|
|
|
1041
1025
|
*/
|
|
1042
1026
|
export declare function nestedMerge(model: Record<string | number, any>): Observable<[(string | number)[], any]>;
|
|
1043
1027
|
|
|
1044
|
-
export declare type
|
|
1045
|
-
| T
|
|
1046
|
-
| NestedObject<T>[]
|
|
1047
|
-
| { [_: string]: NestedObject<T> }
|
|
1048
|
-
|
|
1049
|
-
/**
|
|
1050
|
-
* 表示一个可以无限嵌套的字符串结构
|
|
1051
|
-
*/
|
|
1052
|
-
export declare type NestedStringArray = string | NestedStringArray[]
|
|
1028
|
+
export declare type NodeInput = Node | string | number | boolean | null | undefined
|
|
1053
1029
|
|
|
1054
1030
|
/**
|
|
1055
1031
|
* 规范化子节点,将非节点转换为文本节点。
|
|
1056
1032
|
*
|
|
1057
|
-
* @param {
|
|
1033
|
+
* @param {NodeInput[]} childNodes - 子节点数组。
|
|
1058
1034
|
* @returns {Node[]} - 返回规范化后的节点数组。
|
|
1059
1035
|
*/
|
|
1060
|
-
export declare function normalizeChildNodes(childNodes:
|
|
1036
|
+
export declare function normalizeChildNodes(childNodes: NodeInput[]): Node[];
|
|
1061
1037
|
|
|
1062
1038
|
/**
|
|
1063
1039
|
* 创建一个支持双向绑定的数字输入框。
|
|
@@ -1141,33 +1117,33 @@ export declare type Observer<T> = Observer_2<T>;
|
|
|
1141
1117
|
|
|
1142
1118
|
export declare function ol(props: {
|
|
1143
1119
|
[_: string]: any;
|
|
1144
|
-
}, ...childNodes:
|
|
1120
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLOListElement>;
|
|
1145
1121
|
|
|
1146
|
-
export declare function ol(...childNodes:
|
|
1122
|
+
export declare function ol(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLOListElement>;
|
|
1147
1123
|
|
|
1148
1124
|
export declare function optgroup(props: {
|
|
1149
1125
|
[_: string]: any;
|
|
1150
|
-
}, ...childNodes:
|
|
1126
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLOptGroupElement>;
|
|
1151
1127
|
|
|
1152
|
-
export declare function optgroup(...childNodes:
|
|
1128
|
+
export declare function optgroup(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLOptGroupElement>;
|
|
1153
1129
|
|
|
1154
|
-
export declare function option(props
|
|
1130
|
+
export declare function option(props?: {
|
|
1155
1131
|
[_: string]: any;
|
|
1156
|
-
}, ...childNodes:
|
|
1132
|
+
}, ...childNodes: (Text|string)[]): HyperscriptExtensions<HTMLOptionElement>
|
|
1157
1133
|
|
|
1158
|
-
export declare function option(...childNodes:
|
|
1134
|
+
export declare function option(...childNodes: (Text|string)[]): HyperscriptExtensions<HTMLOptionElement>
|
|
1159
1135
|
|
|
1160
1136
|
export declare function output(props: {
|
|
1161
1137
|
[_: string]: any;
|
|
1162
|
-
}, ...childNodes:
|
|
1138
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLOutputElement>;
|
|
1163
1139
|
|
|
1164
|
-
export declare function output(...childNodes:
|
|
1140
|
+
export declare function output(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLOutputElement>;
|
|
1165
1141
|
|
|
1166
1142
|
export declare function p(props: {
|
|
1167
1143
|
[_: string]: any;
|
|
1168
|
-
}, ...childNodes:
|
|
1144
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLParagraphElement>;
|
|
1169
1145
|
|
|
1170
|
-
export declare function p(...childNodes:
|
|
1146
|
+
export declare function p(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLParagraphElement>;
|
|
1171
1147
|
|
|
1172
1148
|
/**
|
|
1173
1149
|
* 解析 hyperscript 风格的参数,返回 props 和 childNodes。
|
|
@@ -1191,26 +1167,6 @@ export declare function parseHyperscriptArgs(args: any[]): {
|
|
|
1191
1167
|
*/
|
|
1192
1168
|
export declare function parsePropName(props: string, obj: Record<string, any>): [Record<string, any>, string];
|
|
1193
1169
|
|
|
1194
|
-
/**
|
|
1195
|
-
*
|
|
1196
|
-
* 拾取对象中的BehaviorSubject值,作爲葉子節點,忽略其他值。
|
|
1197
|
-
* @public
|
|
1198
|
-
* @template T
|
|
1199
|
-
* @param {{[_:string]:NestedObject<T>} & { pickeys?:( () => string []) }} source - 输入的数据结构,可以是对象、数组或BehaviorSubject
|
|
1200
|
-
* @param {NestedStringArray[]} [paths]
|
|
1201
|
-
* @returns {{[_:string]:NestedObject<T>}}
|
|
1202
|
-
* @throws {Error} 当输入不包含任何BehaviorSubject或结构不符合预期时抛出错误
|
|
1203
|
-
*/
|
|
1204
|
-
export declare function pickBehaviorSubject<T>(
|
|
1205
|
-
source: {
|
|
1206
|
-
[_: string]: NestedObject<T>;
|
|
1207
|
-
} & {
|
|
1208
|
-
pickeys?: () => NestedStringArray[];
|
|
1209
|
-
}, paths?: NestedStringArray[]
|
|
1210
|
-
): {
|
|
1211
|
-
[_: string]: NestedObject<T>;
|
|
1212
|
-
};
|
|
1213
|
-
|
|
1214
1170
|
/**
|
|
1215
1171
|
* 为指定的 DOM 元素订阅事件流,并通过 pipe 对事件流进行处理。
|
|
1216
1172
|
*
|
|
@@ -1231,21 +1187,21 @@ export declare function pluckProperty(obj: Record<string | number, any>, keyPath
|
|
|
1231
1187
|
|
|
1232
1188
|
export declare function pre(props: {
|
|
1233
1189
|
[_: string]: any;
|
|
1234
|
-
}, ...childNodes:
|
|
1190
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLPreElement>;
|
|
1235
1191
|
|
|
1236
|
-
export declare function pre(...childNodes:
|
|
1192
|
+
export declare function pre(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLPreElement>;
|
|
1237
1193
|
|
|
1238
1194
|
export declare function progress(props: {
|
|
1239
1195
|
[_: string]: any;
|
|
1240
|
-
}, ...childNodes:
|
|
1196
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLProgressElement>;
|
|
1241
1197
|
|
|
1242
|
-
export declare function progress(...childNodes:
|
|
1198
|
+
export declare function progress(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLProgressElement>;
|
|
1243
1199
|
|
|
1244
1200
|
export declare function q(props: {
|
|
1245
1201
|
[_: string]: any;
|
|
1246
|
-
}, ...childNodes:
|
|
1202
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLQuoteElement>;
|
|
1247
1203
|
|
|
1248
|
-
export declare function q(...childNodes:
|
|
1204
|
+
export declare function q(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLQuoteElement>;
|
|
1249
1205
|
|
|
1250
1206
|
/**
|
|
1251
1207
|
* 将对象序列化为 URL 查询字符串(支持嵌套对象和多类型字段)。
|
|
@@ -1278,9 +1234,9 @@ export declare function rangeArray(length: number): number[];
|
|
|
1278
1234
|
|
|
1279
1235
|
export declare function rb(props: {
|
|
1280
1236
|
[_: string]: any;
|
|
1281
|
-
}, ...childNodes:
|
|
1237
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1282
1238
|
|
|
1283
|
-
export declare function rb(...childNodes:
|
|
1239
|
+
export declare function rb(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1284
1240
|
|
|
1285
1241
|
/**
|
|
1286
1242
|
* Updates a reactive model with new values from a source object.
|
|
@@ -1294,45 +1250,45 @@ export declare function restore(model: Record<string | number, any>, src: Record
|
|
|
1294
1250
|
|
|
1295
1251
|
export declare function rp(props: {
|
|
1296
1252
|
[_: string]: any;
|
|
1297
|
-
}, ...childNodes:
|
|
1253
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1298
1254
|
|
|
1299
|
-
export declare function rp(...childNodes:
|
|
1255
|
+
export declare function rp(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1300
1256
|
|
|
1301
1257
|
export declare function rt(props: {
|
|
1302
1258
|
[_: string]: any;
|
|
1303
|
-
}, ...childNodes:
|
|
1259
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1304
1260
|
|
|
1305
|
-
export declare function rt(...childNodes:
|
|
1261
|
+
export declare function rt(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1306
1262
|
|
|
1307
1263
|
export declare function rtc(props: {
|
|
1308
1264
|
[_: string]: any;
|
|
1309
|
-
}, ...childNodes:
|
|
1265
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1310
1266
|
|
|
1311
|
-
export declare function rtc(...childNodes:
|
|
1267
|
+
export declare function rtc(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1312
1268
|
|
|
1313
1269
|
export declare function ruby(props: {
|
|
1314
1270
|
[_: string]: any;
|
|
1315
|
-
}, ...childNodes:
|
|
1271
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1316
1272
|
|
|
1317
|
-
export declare function ruby(...childNodes:
|
|
1273
|
+
export declare function ruby(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1318
1274
|
|
|
1319
1275
|
export declare function s(props: {
|
|
1320
1276
|
[_: string]: any;
|
|
1321
|
-
}, ...childNodes:
|
|
1277
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1322
1278
|
|
|
1323
|
-
export declare function s(...childNodes:
|
|
1279
|
+
export declare function s(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1324
1280
|
|
|
1325
1281
|
export declare function samp(props: {
|
|
1326
1282
|
[_: string]: any;
|
|
1327
|
-
}, ...childNodes:
|
|
1283
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1328
1284
|
|
|
1329
|
-
export declare function samp(...childNodes:
|
|
1285
|
+
export declare function samp(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1330
1286
|
|
|
1331
1287
|
export declare function section(props: {
|
|
1332
1288
|
[_: string]: any;
|
|
1333
|
-
}, ...childNodes:
|
|
1289
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1334
1290
|
|
|
1335
|
-
export declare function section(...childNodes:
|
|
1291
|
+
export declare function section(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1336
1292
|
|
|
1337
1293
|
/**
|
|
1338
1294
|
* 创建一个支持 RxJS 数据绑定的 <select> 元素。仅单选选择框。
|
|
@@ -1375,15 +1331,15 @@ export declare function setProps(element: HTMLElement, props: Object): HTMLEleme
|
|
|
1375
1331
|
|
|
1376
1332
|
export declare function small(props: {
|
|
1377
1333
|
[_: string]: any;
|
|
1378
|
-
}, ...childNodes:
|
|
1334
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1379
1335
|
|
|
1380
|
-
export declare function small(...childNodes:
|
|
1336
|
+
export declare function small(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1381
1337
|
|
|
1382
1338
|
export declare function span(props: {
|
|
1383
1339
|
[_: string]: any;
|
|
1384
|
-
}, ...childNodes:
|
|
1340
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLSpanElement>;
|
|
1385
1341
|
|
|
1386
|
-
export declare function span(...childNodes:
|
|
1342
|
+
export declare function span(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLSpanElement>;
|
|
1387
1343
|
|
|
1388
1344
|
/**
|
|
1389
1345
|
* 将对象属性按类型分为两部分:可观察对象(Observable)与普通值(非 Observable)。
|
|
@@ -1396,15 +1352,15 @@ export declare function splitObjectByObservable(obj: Record<string, any>): [Reco
|
|
|
1396
1352
|
|
|
1397
1353
|
export declare function strong(props: {
|
|
1398
1354
|
[_: string]: any;
|
|
1399
|
-
}, ...childNodes:
|
|
1355
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1400
1356
|
|
|
1401
|
-
export declare function strong(...childNodes:
|
|
1357
|
+
export declare function strong(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1402
1358
|
|
|
1403
1359
|
export declare function sub(props: {
|
|
1404
1360
|
[_: string]: any;
|
|
1405
|
-
}, ...childNodes:
|
|
1361
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1406
1362
|
|
|
1407
|
-
export declare function sub(...childNodes:
|
|
1363
|
+
export declare function sub(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1408
1364
|
|
|
1409
1365
|
/**
|
|
1410
1366
|
* @template T
|
|
@@ -1435,15 +1391,15 @@ export declare function subscribeProp<T>(element: HTMLElement, key: string, valu
|
|
|
1435
1391
|
|
|
1436
1392
|
export declare function summary(props: {
|
|
1437
1393
|
[_: string]: any;
|
|
1438
|
-
}, ...childNodes:
|
|
1394
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1439
1395
|
|
|
1440
|
-
export declare function summary(...childNodes:
|
|
1396
|
+
export declare function summary(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1441
1397
|
|
|
1442
1398
|
export declare function sup(props: {
|
|
1443
1399
|
[_: string]: any;
|
|
1444
|
-
}, ...childNodes:
|
|
1400
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1445
1401
|
|
|
1446
|
-
export declare function sup(...childNodes:
|
|
1402
|
+
export declare function sup(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1447
1403
|
|
|
1448
1404
|
/**
|
|
1449
1405
|
* 创建静态选项卡组件。
|
|
@@ -1467,9 +1423,9 @@ panels: Array<string | HTMLElement>
|
|
|
1467
1423
|
|
|
1468
1424
|
export declare function table(props: {
|
|
1469
1425
|
[_: string]: any;
|
|
1470
|
-
}, ...childNodes:
|
|
1426
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableElement>;
|
|
1471
1427
|
|
|
1472
|
-
export declare function table(...childNodes:
|
|
1428
|
+
export declare function table(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableElement>;
|
|
1473
1429
|
|
|
1474
1430
|
/**
|
|
1475
1431
|
* 选项卡的导航按钮。
|
|
@@ -1507,15 +1463,15 @@ export declare function tabRoot(props: Object): HTMLElement;
|
|
|
1507
1463
|
|
|
1508
1464
|
export declare function tbody(props: {
|
|
1509
1465
|
[_: string]: any;
|
|
1510
|
-
}, ...childNodes:
|
|
1466
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableSectionElement>;
|
|
1511
1467
|
|
|
1512
|
-
export declare function tbody(...childNodes:
|
|
1468
|
+
export declare function tbody(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableSectionElement>;
|
|
1513
1469
|
|
|
1514
1470
|
export declare function td(props: {
|
|
1515
1471
|
[_: string]: any;
|
|
1516
|
-
}, ...childNodes:
|
|
1472
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableCellElement>;
|
|
1517
1473
|
|
|
1518
|
-
export declare function td(...childNodes:
|
|
1474
|
+
export declare function td(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableCellElement>;
|
|
1519
1475
|
|
|
1520
1476
|
/**
|
|
1521
1477
|
* 创建一个支持 RxJS 数据绑定的 <textarea> 元素。
|
|
@@ -1561,27 +1517,27 @@ export declare function textNode<T>(text: Observable<T>|T): ObservableTextNode;
|
|
|
1561
1517
|
|
|
1562
1518
|
export declare function tfoot(props: {
|
|
1563
1519
|
[_: string]: any;
|
|
1564
|
-
}, ...childNodes:
|
|
1520
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableSectionElement>;
|
|
1565
1521
|
|
|
1566
|
-
export declare function tfoot(...childNodes:
|
|
1522
|
+
export declare function tfoot(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableSectionElement>;
|
|
1567
1523
|
|
|
1568
1524
|
export declare function th(props: {
|
|
1569
1525
|
[_: string]: any;
|
|
1570
|
-
}, ...childNodes:
|
|
1526
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableCellElement>;
|
|
1571
1527
|
|
|
1572
|
-
export declare function th(...childNodes:
|
|
1528
|
+
export declare function th(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableCellElement>;
|
|
1573
1529
|
|
|
1574
1530
|
export declare function thead(props: {
|
|
1575
1531
|
[_: string]: any;
|
|
1576
|
-
}, ...childNodes:
|
|
1532
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableSectionElement>;
|
|
1577
1533
|
|
|
1578
|
-
export declare function thead(...childNodes:
|
|
1534
|
+
export declare function thead(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableSectionElement>;
|
|
1579
1535
|
|
|
1580
1536
|
export declare function time(props: {
|
|
1581
1537
|
[_: string]: any;
|
|
1582
|
-
}, ...childNodes:
|
|
1538
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTimeElement>;
|
|
1583
1539
|
|
|
1584
|
-
export declare function time(...childNodes:
|
|
1540
|
+
export declare function time(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTimeElement>;
|
|
1585
1541
|
|
|
1586
1542
|
/**
|
|
1587
1543
|
* 将扁平化的键值对数组转换为嵌套的 JavaScript 对象或数组。
|
|
@@ -1595,35 +1551,33 @@ export declare function tojs(flatEntries: [(string | number)[], any][]): Record<
|
|
|
1595
1551
|
|
|
1596
1552
|
export declare function tr(props: {
|
|
1597
1553
|
[_: string]: any;
|
|
1598
|
-
}, ...childNodes:
|
|
1554
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableRowElement>;
|
|
1599
1555
|
|
|
1600
|
-
export declare function tr(...childNodes:
|
|
1556
|
+
export declare function tr(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLTableRowElement>;
|
|
1601
1557
|
|
|
1602
|
-
export declare function track(props
|
|
1558
|
+
export declare function track(props?: {
|
|
1603
1559
|
[_: string]: any;
|
|
1604
|
-
}
|
|
1605
|
-
|
|
1606
|
-
export declare function track(...childNodes: any[]): HyperscriptExtensions<HTMLTrackElement>;
|
|
1560
|
+
}): HyperscriptExtensions<HTMLTrackElement>;
|
|
1607
1561
|
|
|
1608
1562
|
export declare function tt(props: {
|
|
1609
1563
|
[_: string]: any;
|
|
1610
|
-
}, ...childNodes:
|
|
1564
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1611
1565
|
|
|
1612
|
-
export declare function tt(...childNodes:
|
|
1566
|
+
export declare function tt(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1613
1567
|
|
|
1614
1568
|
export declare const types: string[];
|
|
1615
1569
|
|
|
1616
1570
|
export declare function u(props: {
|
|
1617
1571
|
[_: string]: any;
|
|
1618
|
-
}, ...childNodes:
|
|
1572
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1619
1573
|
|
|
1620
|
-
export declare function u(...childNodes:
|
|
1574
|
+
export declare function u(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLElement>;
|
|
1621
1575
|
|
|
1622
1576
|
export declare function ul(props: {
|
|
1623
1577
|
[_: string]: any;
|
|
1624
|
-
}, ...childNodes:
|
|
1578
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLUListElement>;
|
|
1625
1579
|
|
|
1626
|
-
export declare function ul(...childNodes:
|
|
1580
|
+
export declare function ul(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLUListElement>;
|
|
1627
1581
|
|
|
1628
1582
|
/**
|
|
1629
1583
|
* 将任意 JS 值序列化为“无引号 JSON”字符串(仅对键名和部分字符串值去引号)。
|
|
@@ -1636,15 +1590,11 @@ export declare function unquotedJsonStringify(value: any): string;
|
|
|
1636
1590
|
|
|
1637
1591
|
export declare function video(props: {
|
|
1638
1592
|
[_: string]: any;
|
|
1639
|
-
}, ...childNodes:
|
|
1593
|
+
}, ...childNodes: NodeInput[]): HyperscriptExtensions<HTMLVideoElement>;
|
|
1640
1594
|
|
|
1641
|
-
export declare function video(...childNodes:
|
|
1642
|
-
|
|
1643
|
-
export declare function wbr(props: {
|
|
1644
|
-
[_: string]: any;
|
|
1645
|
-
}, ...childNodes: any[]): HyperscriptExtensions<HTMLElement>;
|
|
1595
|
+
export declare function video(...childNodes: NodeInput[]): HyperscriptExtensions<HTMLVideoElement>;
|
|
1646
1596
|
|
|
1647
|
-
export declare function wbr(
|
|
1597
|
+
export declare function wbr(): HyperscriptExtensions<HTMLElement>;
|
|
1648
1598
|
|
|
1649
1599
|
/**
|
|
1650
1600
|
* 合并两个数组为一个元组数组。
|