@openwebf/react-cupertino-ui 0.2.10 → 0.2.12
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/index.d.mts +1245 -202
- package/dist/index.d.ts +1245 -202
- package/dist/index.js +536 -138
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +513 -137
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,67 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WebFElementWithMethods } from '@openwebf/react-core-ui';
|
|
3
3
|
|
|
4
|
+
interface FlutterCupertinoToastOptions {
|
|
5
|
+
content: string;
|
|
6
|
+
type?: 'normal' | 'success' | 'warning' | 'error' | 'loading';
|
|
7
|
+
duration?: number;
|
|
8
|
+
}
|
|
9
|
+
interface FlutterCupertinoToastProps {
|
|
10
|
+
/**
|
|
11
|
+
* HTML id attribute
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Additional CSS styles
|
|
16
|
+
*/
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
/**
|
|
19
|
+
* Children elements
|
|
20
|
+
*/
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* Additional CSS class names
|
|
24
|
+
*/
|
|
25
|
+
className?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Element interface with methods accessible via ref
|
|
29
|
+
* @example
|
|
30
|
+
* ```tsx
|
|
31
|
+
* const ref = useRef<FlutterCupertinoToastElement>(null);
|
|
32
|
+
* // Call methods on the element
|
|
33
|
+
* ref.current?.finishRefresh('success');
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
interface FlutterCupertinoToastElement extends WebFElementWithMethods<{
|
|
37
|
+
show(options: FlutterCupertinoToastOptions): void;
|
|
38
|
+
close(): void;
|
|
39
|
+
}> {
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* FlutterCupertinoToast - WebF FlutterCupertinoToast component
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```tsx
|
|
46
|
+
* const ref = useRef<FlutterCupertinoToastElement>(null);
|
|
47
|
+
*
|
|
48
|
+
* <FlutterCupertinoToast
|
|
49
|
+
* ref={ref}
|
|
50
|
+
* // Add props here
|
|
51
|
+
* >
|
|
52
|
+
* Content
|
|
53
|
+
* </FlutterCupertinoToast>
|
|
54
|
+
*
|
|
55
|
+
* // Call methods on the element
|
|
56
|
+
* ref.current?.finishRefresh('success');
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
declare const FlutterCupertinoToast: React.ForwardRefExoticComponent<FlutterCupertinoToastProps & {
|
|
60
|
+
className?: string;
|
|
61
|
+
style?: React.CSSProperties;
|
|
62
|
+
children?: React.ReactNode;
|
|
63
|
+
} & React.RefAttributes<FlutterCupertinoToastElement>>;
|
|
64
|
+
|
|
4
65
|
interface FlutterCupertinoTimerPickerProps {
|
|
5
66
|
/**
|
|
6
67
|
* mode property
|
|
@@ -35,7 +96,7 @@ interface FlutterCupertinoTimerPickerProps {
|
|
|
35
96
|
/**
|
|
36
97
|
* change event handler
|
|
37
98
|
*/
|
|
38
|
-
onChange?: (event: CustomEvent) => void;
|
|
99
|
+
onChange?: (event: CustomEvent<number>) => void;
|
|
39
100
|
/**
|
|
40
101
|
* HTML id attribute
|
|
41
102
|
*/
|
|
@@ -123,7 +184,7 @@ interface FlutterCupertinoTextareaProps {
|
|
|
123
184
|
/**
|
|
124
185
|
* input event handler
|
|
125
186
|
*/
|
|
126
|
-
onInput?: (event: CustomEvent) => void;
|
|
187
|
+
onInput?: (event: CustomEvent<string>) => void;
|
|
127
188
|
/**
|
|
128
189
|
* complete event handler
|
|
129
190
|
*/
|
|
@@ -219,7 +280,7 @@ interface FlutterCupertinoTabBarProps {
|
|
|
219
280
|
/**
|
|
220
281
|
* tabchange event handler
|
|
221
282
|
*/
|
|
222
|
-
onTabchange?: (event: CustomEvent) => void;
|
|
283
|
+
onTabchange?: (event: CustomEvent<number>) => void;
|
|
223
284
|
/**
|
|
224
285
|
* HTML id attribute
|
|
225
286
|
*/
|
|
@@ -331,7 +392,7 @@ interface FlutterCupertinoTabProps {
|
|
|
331
392
|
/**
|
|
332
393
|
* change event handler
|
|
333
394
|
*/
|
|
334
|
-
onChange?: (event: CustomEvent) => void;
|
|
395
|
+
onChange?: (event: CustomEvent<number>) => void;
|
|
335
396
|
/**
|
|
336
397
|
* HTML id attribute
|
|
337
398
|
*/
|
|
@@ -437,7 +498,7 @@ interface FlutterCupertinoSwitchProps {
|
|
|
437
498
|
/**
|
|
438
499
|
* change event handler
|
|
439
500
|
*/
|
|
440
|
-
onChange?: (event: CustomEvent) => void;
|
|
501
|
+
onChange?: (event: CustomEvent<boolean>) => void;
|
|
441
502
|
/**
|
|
442
503
|
* HTML id attribute
|
|
443
504
|
*/
|
|
@@ -505,15 +566,15 @@ interface FlutterCupertinoSliderProps {
|
|
|
505
566
|
/**
|
|
506
567
|
* change event handler
|
|
507
568
|
*/
|
|
508
|
-
onChange?: (event: CustomEvent) => void;
|
|
569
|
+
onChange?: (event: CustomEvent<number>) => void;
|
|
509
570
|
/**
|
|
510
571
|
* changestart event handler
|
|
511
572
|
*/
|
|
512
|
-
onChangestart?: (event: CustomEvent) => void;
|
|
573
|
+
onChangestart?: (event: CustomEvent<number>) => void;
|
|
513
574
|
/**
|
|
514
575
|
* changeend event handler
|
|
515
576
|
*/
|
|
516
|
-
onChangeend?: (event: CustomEvent) => void;
|
|
577
|
+
onChangeend?: (event: CustomEvent<number>) => void;
|
|
517
578
|
/**
|
|
518
579
|
* HTML id attribute
|
|
519
580
|
*/
|
|
@@ -569,6 +630,49 @@ declare const FlutterCupertinoSlider: React.ForwardRefExoticComponent<FlutterCup
|
|
|
569
630
|
children?: React.ReactNode;
|
|
570
631
|
} & React.RefAttributes<FlutterCupertinoSliderElement>>;
|
|
571
632
|
|
|
633
|
+
interface FlutterCupertinoSegmentedTabProps {
|
|
634
|
+
/**
|
|
635
|
+
* change event handler
|
|
636
|
+
*/
|
|
637
|
+
onChange?: (event: CustomEvent<number>) => void;
|
|
638
|
+
/**
|
|
639
|
+
* HTML id attribute
|
|
640
|
+
*/
|
|
641
|
+
id?: string;
|
|
642
|
+
/**
|
|
643
|
+
* Additional CSS styles
|
|
644
|
+
*/
|
|
645
|
+
style?: React.CSSProperties;
|
|
646
|
+
/**
|
|
647
|
+
* Children elements
|
|
648
|
+
*/
|
|
649
|
+
children?: React.ReactNode;
|
|
650
|
+
/**
|
|
651
|
+
* Additional CSS class names
|
|
652
|
+
*/
|
|
653
|
+
className?: string;
|
|
654
|
+
}
|
|
655
|
+
interface FlutterCupertinoSegmentedTabElement extends WebFElementWithMethods<{}> {
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* FlutterCupertinoSegmentedTab - WebF FlutterCupertinoSegmentedTab component
|
|
659
|
+
*
|
|
660
|
+
* @example
|
|
661
|
+
* ```tsx
|
|
662
|
+
*
|
|
663
|
+
* <FlutterCupertinoSegmentedTab
|
|
664
|
+
* // Add props here
|
|
665
|
+
* >
|
|
666
|
+
* Content
|
|
667
|
+
* </FlutterCupertinoSegmentedTab>
|
|
668
|
+
* ```
|
|
669
|
+
*/
|
|
670
|
+
declare const FlutterCupertinoSegmentedTab: React.ForwardRefExoticComponent<FlutterCupertinoSegmentedTabProps & {
|
|
671
|
+
className?: string;
|
|
672
|
+
style?: React.CSSProperties;
|
|
673
|
+
children?: React.ReactNode;
|
|
674
|
+
} & React.RefAttributes<FlutterCupertinoSegmentedTabElement>>;
|
|
675
|
+
|
|
572
676
|
interface FlutterCupertinoSearchInputProps {
|
|
573
677
|
/**
|
|
574
678
|
* val property
|
|
@@ -622,11 +726,11 @@ interface FlutterCupertinoSearchInputProps {
|
|
|
622
726
|
/**
|
|
623
727
|
* input event handler
|
|
624
728
|
*/
|
|
625
|
-
onInput?: (event: CustomEvent) => void;
|
|
729
|
+
onInput?: (event: CustomEvent<string>) => void;
|
|
626
730
|
/**
|
|
627
731
|
* search event handler
|
|
628
732
|
*/
|
|
629
|
-
onSearch?: (event: CustomEvent) => void;
|
|
733
|
+
onSearch?: (event: CustomEvent<string>) => void;
|
|
630
734
|
/**
|
|
631
735
|
* clear event handler
|
|
632
736
|
*/
|
|
@@ -723,7 +827,7 @@ interface FlutterCupertinoRadioProps {
|
|
|
723
827
|
/**
|
|
724
828
|
* change event handler
|
|
725
829
|
*/
|
|
726
|
-
onChange?: (event: CustomEvent) => void;
|
|
830
|
+
onChange?: (event: CustomEvent<string>) => void;
|
|
727
831
|
/**
|
|
728
832
|
* HTML id attribute
|
|
729
833
|
*/
|
|
@@ -776,7 +880,7 @@ interface FlutterCupertinoPickerProps {
|
|
|
776
880
|
/**
|
|
777
881
|
* change event handler
|
|
778
882
|
*/
|
|
779
|
-
onChange?: (event: CustomEvent) => void;
|
|
883
|
+
onChange?: (event: CustomEvent<string>) => void;
|
|
780
884
|
/**
|
|
781
885
|
* HTML id attribute
|
|
782
886
|
*/
|
|
@@ -815,6 +919,55 @@ declare const FlutterCupertinoPicker: React.ForwardRefExoticComponent<FlutterCup
|
|
|
815
919
|
children?: React.ReactNode;
|
|
816
920
|
} & React.RefAttributes<FlutterCupertinoPickerElement>>;
|
|
817
921
|
|
|
922
|
+
interface FlutterCupertinoPickerItemProps {
|
|
923
|
+
/**
|
|
924
|
+
* label property
|
|
925
|
+
* @default undefined
|
|
926
|
+
*/
|
|
927
|
+
label?: string;
|
|
928
|
+
/**
|
|
929
|
+
* val property
|
|
930
|
+
* @default undefined
|
|
931
|
+
*/
|
|
932
|
+
val?: string;
|
|
933
|
+
/**
|
|
934
|
+
* HTML id attribute
|
|
935
|
+
*/
|
|
936
|
+
id?: string;
|
|
937
|
+
/**
|
|
938
|
+
* Additional CSS styles
|
|
939
|
+
*/
|
|
940
|
+
style?: React.CSSProperties;
|
|
941
|
+
/**
|
|
942
|
+
* Children elements
|
|
943
|
+
*/
|
|
944
|
+
children?: React.ReactNode;
|
|
945
|
+
/**
|
|
946
|
+
* Additional CSS class names
|
|
947
|
+
*/
|
|
948
|
+
className?: string;
|
|
949
|
+
}
|
|
950
|
+
interface FlutterCupertinoPickerItemElement extends WebFElementWithMethods<{}> {
|
|
951
|
+
}
|
|
952
|
+
/**
|
|
953
|
+
* FlutterCupertinoPickerItem - WebF FlutterCupertinoPickerItem component
|
|
954
|
+
*
|
|
955
|
+
* @example
|
|
956
|
+
* ```tsx
|
|
957
|
+
*
|
|
958
|
+
* <FlutterCupertinoPickerItem
|
|
959
|
+
* // Add props here
|
|
960
|
+
* >
|
|
961
|
+
* Content
|
|
962
|
+
* </FlutterCupertinoPickerItem>
|
|
963
|
+
* ```
|
|
964
|
+
*/
|
|
965
|
+
declare const FlutterCupertinoPickerItem: React.ForwardRefExoticComponent<FlutterCupertinoPickerItemProps & {
|
|
966
|
+
className?: string;
|
|
967
|
+
style?: React.CSSProperties;
|
|
968
|
+
children?: React.ReactNode;
|
|
969
|
+
} & React.RefAttributes<FlutterCupertinoPickerItemElement>>;
|
|
970
|
+
|
|
818
971
|
interface FlutterCupertinoModalPopupProps {
|
|
819
972
|
/**
|
|
820
973
|
* visible property
|
|
@@ -900,54 +1053,15 @@ declare const FlutterCupertinoModalPopup: React.ForwardRefExoticComponent<Flutte
|
|
|
900
1053
|
children?: React.ReactNode;
|
|
901
1054
|
} & React.RefAttributes<FlutterCupertinoModalPopupElement>>;
|
|
902
1055
|
|
|
903
|
-
interface
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
*/
|
|
908
|
-
val?: string;
|
|
909
|
-
/**
|
|
910
|
-
* placeholder property
|
|
911
|
-
* @default undefined
|
|
912
|
-
*/
|
|
913
|
-
placeholder?: string;
|
|
914
|
-
/**
|
|
915
|
-
* type property
|
|
916
|
-
* @default undefined
|
|
917
|
-
*/
|
|
918
|
-
type?: string;
|
|
919
|
-
/**
|
|
920
|
-
* disabled property
|
|
921
|
-
* @default undefined
|
|
922
|
-
*/
|
|
923
|
-
disabled?: boolean;
|
|
924
|
-
/**
|
|
925
|
-
* autofocus property
|
|
926
|
-
*/
|
|
927
|
-
autofocus: boolean;
|
|
928
|
-
/**
|
|
929
|
-
* clearable property
|
|
930
|
-
* @default undefined
|
|
931
|
-
*/
|
|
932
|
-
clearable?: boolean;
|
|
933
|
-
/**
|
|
934
|
-
* maxlength property
|
|
935
|
-
* @default undefined
|
|
936
|
-
*/
|
|
937
|
-
maxlength?: number;
|
|
1056
|
+
interface FlutterCupertinoLoadingOptions {
|
|
1057
|
+
text?: string;
|
|
1058
|
+
}
|
|
1059
|
+
interface FlutterCupertinoLoadingProps {
|
|
938
1060
|
/**
|
|
939
|
-
*
|
|
1061
|
+
* maskClosable property
|
|
940
1062
|
* @default undefined
|
|
941
1063
|
*/
|
|
942
|
-
|
|
943
|
-
/**
|
|
944
|
-
* input event handler
|
|
945
|
-
*/
|
|
946
|
-
onInput?: (event: CustomEvent) => void;
|
|
947
|
-
/**
|
|
948
|
-
* submit event handler
|
|
949
|
-
*/
|
|
950
|
-
onSubmit?: (event: CustomEvent) => void;
|
|
1064
|
+
maskClosable?: boolean;
|
|
951
1065
|
/**
|
|
952
1066
|
* HTML id attribute
|
|
953
1067
|
*/
|
|
@@ -969,53 +1083,50 @@ interface FlutterCupertinoInputProps {
|
|
|
969
1083
|
* Element interface with methods accessible via ref
|
|
970
1084
|
* @example
|
|
971
1085
|
* ```tsx
|
|
972
|
-
* const ref = useRef<
|
|
1086
|
+
* const ref = useRef<FlutterCupertinoLoadingElement>(null);
|
|
973
1087
|
* // Call methods on the element
|
|
974
1088
|
* ref.current?.finishRefresh('success');
|
|
975
1089
|
* ```
|
|
976
1090
|
*/
|
|
977
|
-
interface
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
focus(): void;
|
|
981
|
-
blur(): void;
|
|
1091
|
+
interface FlutterCupertinoLoadingElement extends WebFElementWithMethods<{
|
|
1092
|
+
show(options: FlutterCupertinoLoadingOptions): void;
|
|
1093
|
+
hide(): void;
|
|
982
1094
|
}> {
|
|
983
1095
|
}
|
|
984
1096
|
/**
|
|
985
|
-
*
|
|
1097
|
+
* FlutterCupertinoLoading - WebF FlutterCupertinoLoading component
|
|
986
1098
|
*
|
|
987
1099
|
* @example
|
|
988
1100
|
* ```tsx
|
|
989
|
-
* const ref = useRef<
|
|
1101
|
+
* const ref = useRef<FlutterCupertinoLoadingElement>(null);
|
|
990
1102
|
*
|
|
991
|
-
* <
|
|
1103
|
+
* <FlutterCupertinoLoading
|
|
992
1104
|
* ref={ref}
|
|
993
1105
|
* // Add props here
|
|
994
1106
|
* >
|
|
995
1107
|
* Content
|
|
996
|
-
* </
|
|
1108
|
+
* </FlutterCupertinoLoading>
|
|
997
1109
|
*
|
|
998
1110
|
* // Call methods on the element
|
|
999
1111
|
* ref.current?.finishRefresh('success');
|
|
1000
1112
|
* ```
|
|
1001
1113
|
*/
|
|
1002
|
-
declare const
|
|
1114
|
+
declare const FlutterCupertinoLoading: React.ForwardRefExoticComponent<FlutterCupertinoLoadingProps & {
|
|
1003
1115
|
className?: string;
|
|
1004
1116
|
style?: React.CSSProperties;
|
|
1005
1117
|
children?: React.ReactNode;
|
|
1006
|
-
} & React.RefAttributes<
|
|
1118
|
+
} & React.RefAttributes<FlutterCupertinoLoadingElement>>;
|
|
1007
1119
|
|
|
1008
|
-
interface
|
|
1120
|
+
interface FlutterCupertinoListTileProps {
|
|
1009
1121
|
/**
|
|
1010
|
-
*
|
|
1122
|
+
* showChevron property
|
|
1011
1123
|
* @default undefined
|
|
1012
1124
|
*/
|
|
1013
|
-
|
|
1125
|
+
showChevron?: string;
|
|
1014
1126
|
/**
|
|
1015
|
-
*
|
|
1016
|
-
* @default undefined
|
|
1127
|
+
* click event handler
|
|
1017
1128
|
*/
|
|
1018
|
-
|
|
1129
|
+
onClick?: (event: CustomEvent) => void;
|
|
1019
1130
|
/**
|
|
1020
1131
|
* HTML id attribute
|
|
1021
1132
|
*/
|
|
@@ -1033,87 +1144,27 @@ interface FlutterCupertinoIconProps {
|
|
|
1033
1144
|
*/
|
|
1034
1145
|
className?: string;
|
|
1035
1146
|
}
|
|
1036
|
-
interface
|
|
1147
|
+
interface FlutterCupertinoListTileElement extends WebFElementWithMethods<{}> {
|
|
1037
1148
|
}
|
|
1038
1149
|
/**
|
|
1039
|
-
*
|
|
1150
|
+
* FlutterCupertinoListTile - WebF FlutterCupertinoListTile component
|
|
1040
1151
|
*
|
|
1041
1152
|
* @example
|
|
1042
1153
|
* ```tsx
|
|
1043
1154
|
*
|
|
1044
|
-
* <
|
|
1155
|
+
* <FlutterCupertinoListTile
|
|
1045
1156
|
* // Add props here
|
|
1046
1157
|
* >
|
|
1047
1158
|
* Content
|
|
1048
|
-
* </
|
|
1159
|
+
* </FlutterCupertinoListTile>
|
|
1049
1160
|
* ```
|
|
1050
1161
|
*/
|
|
1051
|
-
declare const
|
|
1162
|
+
declare const FlutterCupertinoListTile: React.ForwardRefExoticComponent<FlutterCupertinoListTileProps & {
|
|
1052
1163
|
className?: string;
|
|
1053
1164
|
style?: React.CSSProperties;
|
|
1054
1165
|
children?: React.ReactNode;
|
|
1055
|
-
} & React.RefAttributes<
|
|
1056
|
-
|
|
1057
|
-
interface FlutterCupertinoDatePickerProps {
|
|
1058
|
-
/**
|
|
1059
|
-
* mode property
|
|
1060
|
-
* @default undefined
|
|
1061
|
-
*/
|
|
1062
|
-
mode?: string;
|
|
1063
|
-
/**
|
|
1064
|
-
* minimumDate property
|
|
1065
|
-
* @default undefined
|
|
1066
|
-
*/
|
|
1067
|
-
minimumDate?: string;
|
|
1068
|
-
/**
|
|
1069
|
-
* maximumDate property
|
|
1070
|
-
* @default undefined
|
|
1071
|
-
*/
|
|
1072
|
-
maximumDate?: string;
|
|
1073
|
-
/**
|
|
1074
|
-
* minuteInterval property
|
|
1075
|
-
* @default undefined
|
|
1076
|
-
*/
|
|
1077
|
-
minuteInterval?: string;
|
|
1078
|
-
/**
|
|
1079
|
-
* value property
|
|
1080
|
-
* @default undefined
|
|
1081
|
-
*/
|
|
1082
|
-
value?: string;
|
|
1083
|
-
/**
|
|
1084
|
-
* minimumYear property
|
|
1085
|
-
* @default undefined
|
|
1086
|
-
*/
|
|
1087
|
-
minimumYear?: string;
|
|
1088
|
-
/**
|
|
1089
|
-
* maximumYear property
|
|
1090
|
-
* @default undefined
|
|
1091
|
-
*/
|
|
1092
|
-
maximumYear?: string;
|
|
1093
|
-
/**
|
|
1094
|
-
* showDayOfWeek property
|
|
1095
|
-
* @default undefined
|
|
1096
|
-
*/
|
|
1097
|
-
showDayOfWeek?: string;
|
|
1098
|
-
/**
|
|
1099
|
-
* dateOrder property
|
|
1100
|
-
* @default undefined
|
|
1101
|
-
*/
|
|
1102
|
-
dateOrder?: string;
|
|
1103
|
-
/**
|
|
1104
|
-
* height property
|
|
1105
|
-
* @default undefined
|
|
1106
|
-
*/
|
|
1107
|
-
height?: string;
|
|
1108
|
-
/**
|
|
1109
|
-
* use24H property
|
|
1110
|
-
* @default undefined
|
|
1111
|
-
*/
|
|
1112
|
-
use24H?: boolean;
|
|
1113
|
-
/**
|
|
1114
|
-
* change event handler
|
|
1115
|
-
*/
|
|
1116
|
-
onChange?: (event: CustomEvent) => void;
|
|
1166
|
+
} & React.RefAttributes<FlutterCupertinoListTileElement>>;
|
|
1167
|
+
interface FlutterCupertinoListTileLeadingProps {
|
|
1117
1168
|
/**
|
|
1118
1169
|
* HTML id attribute
|
|
1119
1170
|
*/
|
|
@@ -1131,7 +1182,860 @@ interface FlutterCupertinoDatePickerProps {
|
|
|
1131
1182
|
*/
|
|
1132
1183
|
className?: string;
|
|
1133
1184
|
}
|
|
1134
|
-
interface
|
|
1185
|
+
interface FlutterCupertinoListTileLeadingElement extends WebFElementWithMethods<{}> {
|
|
1186
|
+
}
|
|
1187
|
+
/**
|
|
1188
|
+
* FlutterCupertinoListTileLeading - WebF FlutterCupertinoListTileLeading component
|
|
1189
|
+
*
|
|
1190
|
+
* @example
|
|
1191
|
+
* ```tsx
|
|
1192
|
+
*
|
|
1193
|
+
* <FlutterCupertinoListTileLeading
|
|
1194
|
+
* // Add props here
|
|
1195
|
+
* >
|
|
1196
|
+
* Content
|
|
1197
|
+
* </FlutterCupertinoListTileLeading>
|
|
1198
|
+
* ```
|
|
1199
|
+
*/
|
|
1200
|
+
declare const FlutterCupertinoListTileLeading: React.ForwardRefExoticComponent<FlutterCupertinoListTileLeadingProps & {
|
|
1201
|
+
className?: string;
|
|
1202
|
+
style?: React.CSSProperties;
|
|
1203
|
+
children?: React.ReactNode;
|
|
1204
|
+
} & React.RefAttributes<FlutterCupertinoListTileLeadingElement>>;
|
|
1205
|
+
interface FlutterCupertinoListTileSubtitleProps {
|
|
1206
|
+
/**
|
|
1207
|
+
* HTML id attribute
|
|
1208
|
+
*/
|
|
1209
|
+
id?: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* Additional CSS styles
|
|
1212
|
+
*/
|
|
1213
|
+
style?: React.CSSProperties;
|
|
1214
|
+
/**
|
|
1215
|
+
* Children elements
|
|
1216
|
+
*/
|
|
1217
|
+
children?: React.ReactNode;
|
|
1218
|
+
/**
|
|
1219
|
+
* Additional CSS class names
|
|
1220
|
+
*/
|
|
1221
|
+
className?: string;
|
|
1222
|
+
}
|
|
1223
|
+
interface FlutterCupertinoListTileSubtitleElement extends WebFElementWithMethods<{}> {
|
|
1224
|
+
}
|
|
1225
|
+
/**
|
|
1226
|
+
* FlutterCupertinoListTileSubtitle - WebF FlutterCupertinoListTileSubtitle component
|
|
1227
|
+
*
|
|
1228
|
+
* @example
|
|
1229
|
+
* ```tsx
|
|
1230
|
+
*
|
|
1231
|
+
* <FlutterCupertinoListTileSubtitle
|
|
1232
|
+
* // Add props here
|
|
1233
|
+
* >
|
|
1234
|
+
* Content
|
|
1235
|
+
* </FlutterCupertinoListTileSubtitle>
|
|
1236
|
+
* ```
|
|
1237
|
+
*/
|
|
1238
|
+
declare const FlutterCupertinoListTileSubtitle: React.ForwardRefExoticComponent<FlutterCupertinoListTileSubtitleProps & {
|
|
1239
|
+
className?: string;
|
|
1240
|
+
style?: React.CSSProperties;
|
|
1241
|
+
children?: React.ReactNode;
|
|
1242
|
+
} & React.RefAttributes<FlutterCupertinoListTileSubtitleElement>>;
|
|
1243
|
+
interface FlutterCupertinoListTileAdditionalInfoProps {
|
|
1244
|
+
/**
|
|
1245
|
+
* HTML id attribute
|
|
1246
|
+
*/
|
|
1247
|
+
id?: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* Additional CSS styles
|
|
1250
|
+
*/
|
|
1251
|
+
style?: React.CSSProperties;
|
|
1252
|
+
/**
|
|
1253
|
+
* Children elements
|
|
1254
|
+
*/
|
|
1255
|
+
children?: React.ReactNode;
|
|
1256
|
+
/**
|
|
1257
|
+
* Additional CSS class names
|
|
1258
|
+
*/
|
|
1259
|
+
className?: string;
|
|
1260
|
+
}
|
|
1261
|
+
interface FlutterCupertinoListTileAdditionalInfoElement extends WebFElementWithMethods<{}> {
|
|
1262
|
+
}
|
|
1263
|
+
/**
|
|
1264
|
+
* FlutterCupertinoListTileAdditionalInfo - WebF FlutterCupertinoListTileAdditionalInfo component
|
|
1265
|
+
*
|
|
1266
|
+
* @example
|
|
1267
|
+
* ```tsx
|
|
1268
|
+
*
|
|
1269
|
+
* <FlutterCupertinoListTileAdditionalInfo
|
|
1270
|
+
* // Add props here
|
|
1271
|
+
* >
|
|
1272
|
+
* Content
|
|
1273
|
+
* </FlutterCupertinoListTileAdditionalInfo>
|
|
1274
|
+
* ```
|
|
1275
|
+
*/
|
|
1276
|
+
declare const FlutterCupertinoListTileAdditionalInfo: React.ForwardRefExoticComponent<FlutterCupertinoListTileAdditionalInfoProps & {
|
|
1277
|
+
className?: string;
|
|
1278
|
+
style?: React.CSSProperties;
|
|
1279
|
+
children?: React.ReactNode;
|
|
1280
|
+
} & React.RefAttributes<FlutterCupertinoListTileAdditionalInfoElement>>;
|
|
1281
|
+
interface FlutterCupertinoListTileTrailingProps {
|
|
1282
|
+
/**
|
|
1283
|
+
* HTML id attribute
|
|
1284
|
+
*/
|
|
1285
|
+
id?: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* Additional CSS styles
|
|
1288
|
+
*/
|
|
1289
|
+
style?: React.CSSProperties;
|
|
1290
|
+
/**
|
|
1291
|
+
* Children elements
|
|
1292
|
+
*/
|
|
1293
|
+
children?: React.ReactNode;
|
|
1294
|
+
/**
|
|
1295
|
+
* Additional CSS class names
|
|
1296
|
+
*/
|
|
1297
|
+
className?: string;
|
|
1298
|
+
}
|
|
1299
|
+
interface FlutterCupertinoListTileTrailingElement extends WebFElementWithMethods<{}> {
|
|
1300
|
+
}
|
|
1301
|
+
/**
|
|
1302
|
+
* FlutterCupertinoListTileTrailing - WebF FlutterCupertinoListTileTrailing component
|
|
1303
|
+
*
|
|
1304
|
+
* @example
|
|
1305
|
+
* ```tsx
|
|
1306
|
+
*
|
|
1307
|
+
* <FlutterCupertinoListTileTrailing
|
|
1308
|
+
* // Add props here
|
|
1309
|
+
* >
|
|
1310
|
+
* Content
|
|
1311
|
+
* </FlutterCupertinoListTileTrailing>
|
|
1312
|
+
* ```
|
|
1313
|
+
*/
|
|
1314
|
+
declare const FlutterCupertinoListTileTrailing: React.ForwardRefExoticComponent<FlutterCupertinoListTileTrailingProps & {
|
|
1315
|
+
className?: string;
|
|
1316
|
+
style?: React.CSSProperties;
|
|
1317
|
+
children?: React.ReactNode;
|
|
1318
|
+
} & React.RefAttributes<FlutterCupertinoListTileTrailingElement>>;
|
|
1319
|
+
|
|
1320
|
+
interface FlutterCupertinoListSectionProps {
|
|
1321
|
+
/**
|
|
1322
|
+
* insetGrouped property
|
|
1323
|
+
* @default undefined
|
|
1324
|
+
*/
|
|
1325
|
+
insetGrouped?: string;
|
|
1326
|
+
/**
|
|
1327
|
+
* HTML id attribute
|
|
1328
|
+
*/
|
|
1329
|
+
id?: string;
|
|
1330
|
+
/**
|
|
1331
|
+
* Additional CSS styles
|
|
1332
|
+
*/
|
|
1333
|
+
style?: React.CSSProperties;
|
|
1334
|
+
/**
|
|
1335
|
+
* Children elements
|
|
1336
|
+
*/
|
|
1337
|
+
children?: React.ReactNode;
|
|
1338
|
+
/**
|
|
1339
|
+
* Additional CSS class names
|
|
1340
|
+
*/
|
|
1341
|
+
className?: string;
|
|
1342
|
+
}
|
|
1343
|
+
interface FlutterCupertinoListSectionElement extends WebFElementWithMethods<{}> {
|
|
1344
|
+
}
|
|
1345
|
+
/**
|
|
1346
|
+
* FlutterCupertinoListSection - WebF FlutterCupertinoListSection component
|
|
1347
|
+
*
|
|
1348
|
+
* @example
|
|
1349
|
+
* ```tsx
|
|
1350
|
+
*
|
|
1351
|
+
* <FlutterCupertinoListSection
|
|
1352
|
+
* // Add props here
|
|
1353
|
+
* >
|
|
1354
|
+
* Content
|
|
1355
|
+
* </FlutterCupertinoListSection>
|
|
1356
|
+
* ```
|
|
1357
|
+
*/
|
|
1358
|
+
declare const FlutterCupertinoListSection: React.ForwardRefExoticComponent<FlutterCupertinoListSectionProps & {
|
|
1359
|
+
className?: string;
|
|
1360
|
+
style?: React.CSSProperties;
|
|
1361
|
+
children?: React.ReactNode;
|
|
1362
|
+
} & React.RefAttributes<FlutterCupertinoListSectionElement>>;
|
|
1363
|
+
interface FlutterCupertinoListSectionHeaderProps {
|
|
1364
|
+
/**
|
|
1365
|
+
* HTML id attribute
|
|
1366
|
+
*/
|
|
1367
|
+
id?: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* Additional CSS styles
|
|
1370
|
+
*/
|
|
1371
|
+
style?: React.CSSProperties;
|
|
1372
|
+
/**
|
|
1373
|
+
* Children elements
|
|
1374
|
+
*/
|
|
1375
|
+
children?: React.ReactNode;
|
|
1376
|
+
/**
|
|
1377
|
+
* Additional CSS class names
|
|
1378
|
+
*/
|
|
1379
|
+
className?: string;
|
|
1380
|
+
}
|
|
1381
|
+
interface FlutterCupertinoListSectionHeaderElement extends WebFElementWithMethods<{}> {
|
|
1382
|
+
}
|
|
1383
|
+
/**
|
|
1384
|
+
* FlutterCupertinoListSectionHeader - WebF FlutterCupertinoListSectionHeader component
|
|
1385
|
+
*
|
|
1386
|
+
* @example
|
|
1387
|
+
* ```tsx
|
|
1388
|
+
*
|
|
1389
|
+
* <FlutterCupertinoListSectionHeader
|
|
1390
|
+
* // Add props here
|
|
1391
|
+
* >
|
|
1392
|
+
* Content
|
|
1393
|
+
* </FlutterCupertinoListSectionHeader>
|
|
1394
|
+
* ```
|
|
1395
|
+
*/
|
|
1396
|
+
declare const FlutterCupertinoListSectionHeader: React.ForwardRefExoticComponent<FlutterCupertinoListSectionHeaderProps & {
|
|
1397
|
+
className?: string;
|
|
1398
|
+
style?: React.CSSProperties;
|
|
1399
|
+
children?: React.ReactNode;
|
|
1400
|
+
} & React.RefAttributes<FlutterCupertinoListSectionHeaderElement>>;
|
|
1401
|
+
interface FlutterCupertinoListSectionFooterProps {
|
|
1402
|
+
/**
|
|
1403
|
+
* HTML id attribute
|
|
1404
|
+
*/
|
|
1405
|
+
id?: string;
|
|
1406
|
+
/**
|
|
1407
|
+
* Additional CSS styles
|
|
1408
|
+
*/
|
|
1409
|
+
style?: React.CSSProperties;
|
|
1410
|
+
/**
|
|
1411
|
+
* Children elements
|
|
1412
|
+
*/
|
|
1413
|
+
children?: React.ReactNode;
|
|
1414
|
+
/**
|
|
1415
|
+
* Additional CSS class names
|
|
1416
|
+
*/
|
|
1417
|
+
className?: string;
|
|
1418
|
+
}
|
|
1419
|
+
interface FlutterCupertinoListSectionFooterElement extends WebFElementWithMethods<{}> {
|
|
1420
|
+
}
|
|
1421
|
+
/**
|
|
1422
|
+
* FlutterCupertinoListSectionFooter - WebF FlutterCupertinoListSectionFooter component
|
|
1423
|
+
*
|
|
1424
|
+
* @example
|
|
1425
|
+
* ```tsx
|
|
1426
|
+
*
|
|
1427
|
+
* <FlutterCupertinoListSectionFooter
|
|
1428
|
+
* // Add props here
|
|
1429
|
+
* >
|
|
1430
|
+
* Content
|
|
1431
|
+
* </FlutterCupertinoListSectionFooter>
|
|
1432
|
+
* ```
|
|
1433
|
+
*/
|
|
1434
|
+
declare const FlutterCupertinoListSectionFooter: React.ForwardRefExoticComponent<FlutterCupertinoListSectionFooterProps & {
|
|
1435
|
+
className?: string;
|
|
1436
|
+
style?: React.CSSProperties;
|
|
1437
|
+
children?: React.ReactNode;
|
|
1438
|
+
} & React.RefAttributes<FlutterCupertinoListSectionFooterElement>>;
|
|
1439
|
+
|
|
1440
|
+
interface FlutterCupertinoInputProps {
|
|
1441
|
+
/**
|
|
1442
|
+
* val property
|
|
1443
|
+
* @default undefined
|
|
1444
|
+
*/
|
|
1445
|
+
val?: string;
|
|
1446
|
+
/**
|
|
1447
|
+
* placeholder property
|
|
1448
|
+
* @default undefined
|
|
1449
|
+
*/
|
|
1450
|
+
placeholder?: string;
|
|
1451
|
+
/**
|
|
1452
|
+
* type property
|
|
1453
|
+
* @default undefined
|
|
1454
|
+
*/
|
|
1455
|
+
type?: string;
|
|
1456
|
+
/**
|
|
1457
|
+
* disabled property
|
|
1458
|
+
* @default undefined
|
|
1459
|
+
*/
|
|
1460
|
+
disabled?: boolean;
|
|
1461
|
+
/**
|
|
1462
|
+
* autofocus property
|
|
1463
|
+
*/
|
|
1464
|
+
autofocus: boolean;
|
|
1465
|
+
/**
|
|
1466
|
+
* clearable property
|
|
1467
|
+
* @default undefined
|
|
1468
|
+
*/
|
|
1469
|
+
clearable?: boolean;
|
|
1470
|
+
/**
|
|
1471
|
+
* maxlength property
|
|
1472
|
+
* @default undefined
|
|
1473
|
+
*/
|
|
1474
|
+
maxlength?: number;
|
|
1475
|
+
/**
|
|
1476
|
+
* readonly property
|
|
1477
|
+
* @default undefined
|
|
1478
|
+
*/
|
|
1479
|
+
readonly?: boolean;
|
|
1480
|
+
/**
|
|
1481
|
+
* input event handler
|
|
1482
|
+
*/
|
|
1483
|
+
onInput?: (event: CustomEvent<string>) => void;
|
|
1484
|
+
/**
|
|
1485
|
+
* submit event handler
|
|
1486
|
+
*/
|
|
1487
|
+
onSubmit?: (event: CustomEvent<string>) => void;
|
|
1488
|
+
/**
|
|
1489
|
+
* focus event handler
|
|
1490
|
+
*/
|
|
1491
|
+
onFocus?: (event: CustomEvent) => void;
|
|
1492
|
+
/**
|
|
1493
|
+
* blur event handler
|
|
1494
|
+
*/
|
|
1495
|
+
onBlur?: (event: CustomEvent) => void;
|
|
1496
|
+
/**
|
|
1497
|
+
* clear event handler
|
|
1498
|
+
*/
|
|
1499
|
+
onClear?: (event: CustomEvent) => void;
|
|
1500
|
+
/**
|
|
1501
|
+
* HTML id attribute
|
|
1502
|
+
*/
|
|
1503
|
+
id?: string;
|
|
1504
|
+
/**
|
|
1505
|
+
* Additional CSS styles
|
|
1506
|
+
*/
|
|
1507
|
+
style?: React.CSSProperties;
|
|
1508
|
+
/**
|
|
1509
|
+
* Children elements
|
|
1510
|
+
*/
|
|
1511
|
+
children?: React.ReactNode;
|
|
1512
|
+
/**
|
|
1513
|
+
* Additional CSS class names
|
|
1514
|
+
*/
|
|
1515
|
+
className?: string;
|
|
1516
|
+
}
|
|
1517
|
+
/**
|
|
1518
|
+
* Element interface with methods accessible via ref
|
|
1519
|
+
* @example
|
|
1520
|
+
* ```tsx
|
|
1521
|
+
* const ref = useRef<FlutterCupertinoInputElement>(null);
|
|
1522
|
+
* // Call methods on the element
|
|
1523
|
+
* ref.current?.finishRefresh('success');
|
|
1524
|
+
* ```
|
|
1525
|
+
*/
|
|
1526
|
+
interface FlutterCupertinoInputElement extends WebFElementWithMethods<{
|
|
1527
|
+
getValue(): string;
|
|
1528
|
+
setValue(value: string): void;
|
|
1529
|
+
focus(): void;
|
|
1530
|
+
blur(): void;
|
|
1531
|
+
clear(): void;
|
|
1532
|
+
}> {
|
|
1533
|
+
}
|
|
1534
|
+
/**
|
|
1535
|
+
* FlutterCupertinoInput - WebF FlutterCupertinoInput component
|
|
1536
|
+
*
|
|
1537
|
+
* @example
|
|
1538
|
+
* ```tsx
|
|
1539
|
+
* const ref = useRef<FlutterCupertinoInputElement>(null);
|
|
1540
|
+
*
|
|
1541
|
+
* <FlutterCupertinoInput
|
|
1542
|
+
* ref={ref}
|
|
1543
|
+
* // Add props here
|
|
1544
|
+
* >
|
|
1545
|
+
* Content
|
|
1546
|
+
* </FlutterCupertinoInput>
|
|
1547
|
+
*
|
|
1548
|
+
* // Call methods on the element
|
|
1549
|
+
* ref.current?.finishRefresh('success');
|
|
1550
|
+
* ```
|
|
1551
|
+
*/
|
|
1552
|
+
declare const FlutterCupertinoInput: React.ForwardRefExoticComponent<FlutterCupertinoInputProps & {
|
|
1553
|
+
className?: string;
|
|
1554
|
+
style?: React.CSSProperties;
|
|
1555
|
+
children?: React.ReactNode;
|
|
1556
|
+
} & React.RefAttributes<FlutterCupertinoInputElement>>;
|
|
1557
|
+
interface FlutterCupertinoInputPrefixProps {
|
|
1558
|
+
/**
|
|
1559
|
+
* HTML id attribute
|
|
1560
|
+
*/
|
|
1561
|
+
id?: string;
|
|
1562
|
+
/**
|
|
1563
|
+
* Additional CSS styles
|
|
1564
|
+
*/
|
|
1565
|
+
style?: React.CSSProperties;
|
|
1566
|
+
/**
|
|
1567
|
+
* Children elements
|
|
1568
|
+
*/
|
|
1569
|
+
children?: React.ReactNode;
|
|
1570
|
+
/**
|
|
1571
|
+
* Additional CSS class names
|
|
1572
|
+
*/
|
|
1573
|
+
className?: string;
|
|
1574
|
+
}
|
|
1575
|
+
interface FlutterCupertinoInputPrefixElement extends WebFElementWithMethods<{}> {
|
|
1576
|
+
}
|
|
1577
|
+
/**
|
|
1578
|
+
* FlutterCupertinoInputPrefix - WebF FlutterCupertinoInputPrefix component
|
|
1579
|
+
*
|
|
1580
|
+
* @example
|
|
1581
|
+
* ```tsx
|
|
1582
|
+
*
|
|
1583
|
+
* <FlutterCupertinoInputPrefix
|
|
1584
|
+
* // Add props here
|
|
1585
|
+
* >
|
|
1586
|
+
* Content
|
|
1587
|
+
* </FlutterCupertinoInputPrefix>
|
|
1588
|
+
* ```
|
|
1589
|
+
*/
|
|
1590
|
+
declare const FlutterCupertinoInputPrefix: React.ForwardRefExoticComponent<FlutterCupertinoInputPrefixProps & {
|
|
1591
|
+
className?: string;
|
|
1592
|
+
style?: React.CSSProperties;
|
|
1593
|
+
children?: React.ReactNode;
|
|
1594
|
+
} & React.RefAttributes<FlutterCupertinoInputPrefixElement>>;
|
|
1595
|
+
interface FlutterCupertinoInputSuffixProps {
|
|
1596
|
+
/**
|
|
1597
|
+
* HTML id attribute
|
|
1598
|
+
*/
|
|
1599
|
+
id?: string;
|
|
1600
|
+
/**
|
|
1601
|
+
* Additional CSS styles
|
|
1602
|
+
*/
|
|
1603
|
+
style?: React.CSSProperties;
|
|
1604
|
+
/**
|
|
1605
|
+
* Children elements
|
|
1606
|
+
*/
|
|
1607
|
+
children?: React.ReactNode;
|
|
1608
|
+
/**
|
|
1609
|
+
* Additional CSS class names
|
|
1610
|
+
*/
|
|
1611
|
+
className?: string;
|
|
1612
|
+
}
|
|
1613
|
+
interface FlutterCupertinoInputSuffixElement extends WebFElementWithMethods<{}> {
|
|
1614
|
+
}
|
|
1615
|
+
/**
|
|
1616
|
+
* FlutterCupertinoInputSuffix - WebF FlutterCupertinoInputSuffix component
|
|
1617
|
+
*
|
|
1618
|
+
* @example
|
|
1619
|
+
* ```tsx
|
|
1620
|
+
*
|
|
1621
|
+
* <FlutterCupertinoInputSuffix
|
|
1622
|
+
* // Add props here
|
|
1623
|
+
* >
|
|
1624
|
+
* Content
|
|
1625
|
+
* </FlutterCupertinoInputSuffix>
|
|
1626
|
+
* ```
|
|
1627
|
+
*/
|
|
1628
|
+
declare const FlutterCupertinoInputSuffix: React.ForwardRefExoticComponent<FlutterCupertinoInputSuffixProps & {
|
|
1629
|
+
className?: string;
|
|
1630
|
+
style?: React.CSSProperties;
|
|
1631
|
+
children?: React.ReactNode;
|
|
1632
|
+
} & React.RefAttributes<FlutterCupertinoInputSuffixElement>>;
|
|
1633
|
+
|
|
1634
|
+
interface FlutterCupertinoIconProps {
|
|
1635
|
+
/**
|
|
1636
|
+
* type property
|
|
1637
|
+
* @default undefined
|
|
1638
|
+
*/
|
|
1639
|
+
type?: string;
|
|
1640
|
+
/**
|
|
1641
|
+
* label property
|
|
1642
|
+
* @default undefined
|
|
1643
|
+
*/
|
|
1644
|
+
label?: string;
|
|
1645
|
+
/**
|
|
1646
|
+
* HTML id attribute
|
|
1647
|
+
*/
|
|
1648
|
+
id?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* Additional CSS styles
|
|
1651
|
+
*/
|
|
1652
|
+
style?: React.CSSProperties;
|
|
1653
|
+
/**
|
|
1654
|
+
* Children elements
|
|
1655
|
+
*/
|
|
1656
|
+
children?: React.ReactNode;
|
|
1657
|
+
/**
|
|
1658
|
+
* Additional CSS class names
|
|
1659
|
+
*/
|
|
1660
|
+
className?: string;
|
|
1661
|
+
}
|
|
1662
|
+
interface FlutterCupertinoIconElement extends WebFElementWithMethods<{}> {
|
|
1663
|
+
}
|
|
1664
|
+
/**
|
|
1665
|
+
* FlutterCupertinoIcon - WebF FlutterCupertinoIcon component
|
|
1666
|
+
*
|
|
1667
|
+
* @example
|
|
1668
|
+
* ```tsx
|
|
1669
|
+
*
|
|
1670
|
+
* <FlutterCupertinoIcon
|
|
1671
|
+
* // Add props here
|
|
1672
|
+
* >
|
|
1673
|
+
* Content
|
|
1674
|
+
* </FlutterCupertinoIcon>
|
|
1675
|
+
* ```
|
|
1676
|
+
*/
|
|
1677
|
+
declare const FlutterCupertinoIcon: React.ForwardRefExoticComponent<FlutterCupertinoIconProps & {
|
|
1678
|
+
className?: string;
|
|
1679
|
+
style?: React.CSSProperties;
|
|
1680
|
+
children?: React.ReactNode;
|
|
1681
|
+
} & React.RefAttributes<FlutterCupertinoIconElement>>;
|
|
1682
|
+
|
|
1683
|
+
interface FlutterCupertinoFormSectionProps {
|
|
1684
|
+
/**
|
|
1685
|
+
* insetGrouped property
|
|
1686
|
+
* @default undefined
|
|
1687
|
+
*/
|
|
1688
|
+
insetGrouped?: string;
|
|
1689
|
+
/**
|
|
1690
|
+
* clipBehavior property
|
|
1691
|
+
* @default undefined
|
|
1692
|
+
*/
|
|
1693
|
+
clipBehavior?: string;
|
|
1694
|
+
/**
|
|
1695
|
+
* HTML id attribute
|
|
1696
|
+
*/
|
|
1697
|
+
id?: string;
|
|
1698
|
+
/**
|
|
1699
|
+
* Additional CSS styles
|
|
1700
|
+
*/
|
|
1701
|
+
style?: React.CSSProperties;
|
|
1702
|
+
/**
|
|
1703
|
+
* Children elements
|
|
1704
|
+
*/
|
|
1705
|
+
children?: React.ReactNode;
|
|
1706
|
+
/**
|
|
1707
|
+
* Additional CSS class names
|
|
1708
|
+
*/
|
|
1709
|
+
className?: string;
|
|
1710
|
+
}
|
|
1711
|
+
interface FlutterCupertinoFormSectionElement extends WebFElementWithMethods<{}> {
|
|
1712
|
+
}
|
|
1713
|
+
/**
|
|
1714
|
+
* FlutterCupertinoFormSection - WebF FlutterCupertinoFormSection component
|
|
1715
|
+
*
|
|
1716
|
+
* @example
|
|
1717
|
+
* ```tsx
|
|
1718
|
+
*
|
|
1719
|
+
* <FlutterCupertinoFormSection
|
|
1720
|
+
* // Add props here
|
|
1721
|
+
* >
|
|
1722
|
+
* Content
|
|
1723
|
+
* </FlutterCupertinoFormSection>
|
|
1724
|
+
* ```
|
|
1725
|
+
*/
|
|
1726
|
+
declare const FlutterCupertinoFormSection: React.ForwardRefExoticComponent<FlutterCupertinoFormSectionProps & {
|
|
1727
|
+
className?: string;
|
|
1728
|
+
style?: React.CSSProperties;
|
|
1729
|
+
children?: React.ReactNode;
|
|
1730
|
+
} & React.RefAttributes<FlutterCupertinoFormSectionElement>>;
|
|
1731
|
+
interface FlutterCupertinoFormSectionHeaderProps {
|
|
1732
|
+
/**
|
|
1733
|
+
* HTML id attribute
|
|
1734
|
+
*/
|
|
1735
|
+
id?: string;
|
|
1736
|
+
/**
|
|
1737
|
+
* Additional CSS styles
|
|
1738
|
+
*/
|
|
1739
|
+
style?: React.CSSProperties;
|
|
1740
|
+
/**
|
|
1741
|
+
* Children elements
|
|
1742
|
+
*/
|
|
1743
|
+
children?: React.ReactNode;
|
|
1744
|
+
/**
|
|
1745
|
+
* Additional CSS class names
|
|
1746
|
+
*/
|
|
1747
|
+
className?: string;
|
|
1748
|
+
}
|
|
1749
|
+
interface FlutterCupertinoFormSectionHeaderElement extends WebFElementWithMethods<{}> {
|
|
1750
|
+
}
|
|
1751
|
+
/**
|
|
1752
|
+
* FlutterCupertinoFormSectionHeader - WebF FlutterCupertinoFormSectionHeader component
|
|
1753
|
+
*
|
|
1754
|
+
* @example
|
|
1755
|
+
* ```tsx
|
|
1756
|
+
*
|
|
1757
|
+
* <FlutterCupertinoFormSectionHeader
|
|
1758
|
+
* // Add props here
|
|
1759
|
+
* >
|
|
1760
|
+
* Content
|
|
1761
|
+
* </FlutterCupertinoFormSectionHeader>
|
|
1762
|
+
* ```
|
|
1763
|
+
*/
|
|
1764
|
+
declare const FlutterCupertinoFormSectionHeader: React.ForwardRefExoticComponent<FlutterCupertinoFormSectionHeaderProps & {
|
|
1765
|
+
className?: string;
|
|
1766
|
+
style?: React.CSSProperties;
|
|
1767
|
+
children?: React.ReactNode;
|
|
1768
|
+
} & React.RefAttributes<FlutterCupertinoFormSectionHeaderElement>>;
|
|
1769
|
+
interface FlutterCupertinoFormSectionFooterProps {
|
|
1770
|
+
/**
|
|
1771
|
+
* HTML id attribute
|
|
1772
|
+
*/
|
|
1773
|
+
id?: string;
|
|
1774
|
+
/**
|
|
1775
|
+
* Additional CSS styles
|
|
1776
|
+
*/
|
|
1777
|
+
style?: React.CSSProperties;
|
|
1778
|
+
/**
|
|
1779
|
+
* Children elements
|
|
1780
|
+
*/
|
|
1781
|
+
children?: React.ReactNode;
|
|
1782
|
+
/**
|
|
1783
|
+
* Additional CSS class names
|
|
1784
|
+
*/
|
|
1785
|
+
className?: string;
|
|
1786
|
+
}
|
|
1787
|
+
interface FlutterCupertinoFormSectionFooterElement extends WebFElementWithMethods<{}> {
|
|
1788
|
+
}
|
|
1789
|
+
/**
|
|
1790
|
+
* FlutterCupertinoFormSectionFooter - WebF FlutterCupertinoFormSectionFooter component
|
|
1791
|
+
*
|
|
1792
|
+
* @example
|
|
1793
|
+
* ```tsx
|
|
1794
|
+
*
|
|
1795
|
+
* <FlutterCupertinoFormSectionFooter
|
|
1796
|
+
* // Add props here
|
|
1797
|
+
* >
|
|
1798
|
+
* Content
|
|
1799
|
+
* </FlutterCupertinoFormSectionFooter>
|
|
1800
|
+
* ```
|
|
1801
|
+
*/
|
|
1802
|
+
declare const FlutterCupertinoFormSectionFooter: React.ForwardRefExoticComponent<FlutterCupertinoFormSectionFooterProps & {
|
|
1803
|
+
className?: string;
|
|
1804
|
+
style?: React.CSSProperties;
|
|
1805
|
+
children?: React.ReactNode;
|
|
1806
|
+
} & React.RefAttributes<FlutterCupertinoFormSectionFooterElement>>;
|
|
1807
|
+
|
|
1808
|
+
interface FlutterCupertinoFormRowProps {
|
|
1809
|
+
/**
|
|
1810
|
+
* HTML id attribute
|
|
1811
|
+
*/
|
|
1812
|
+
id?: string;
|
|
1813
|
+
/**
|
|
1814
|
+
* Additional CSS styles
|
|
1815
|
+
*/
|
|
1816
|
+
style?: React.CSSProperties;
|
|
1817
|
+
/**
|
|
1818
|
+
* Children elements
|
|
1819
|
+
*/
|
|
1820
|
+
children?: React.ReactNode;
|
|
1821
|
+
/**
|
|
1822
|
+
* Additional CSS class names
|
|
1823
|
+
*/
|
|
1824
|
+
className?: string;
|
|
1825
|
+
}
|
|
1826
|
+
interface FlutterCupertinoFormRowElement extends WebFElementWithMethods<{}> {
|
|
1827
|
+
}
|
|
1828
|
+
/**
|
|
1829
|
+
* FlutterCupertinoFormRow - WebF FlutterCupertinoFormRow component
|
|
1830
|
+
*
|
|
1831
|
+
* @example
|
|
1832
|
+
* ```tsx
|
|
1833
|
+
*
|
|
1834
|
+
* <FlutterCupertinoFormRow
|
|
1835
|
+
* // Add props here
|
|
1836
|
+
* >
|
|
1837
|
+
* Content
|
|
1838
|
+
* </FlutterCupertinoFormRow>
|
|
1839
|
+
* ```
|
|
1840
|
+
*/
|
|
1841
|
+
declare const FlutterCupertinoFormRow: React.ForwardRefExoticComponent<FlutterCupertinoFormRowProps & {
|
|
1842
|
+
className?: string;
|
|
1843
|
+
style?: React.CSSProperties;
|
|
1844
|
+
children?: React.ReactNode;
|
|
1845
|
+
} & React.RefAttributes<FlutterCupertinoFormRowElement>>;
|
|
1846
|
+
interface FlutterCupertinoFormRowPrefixProps {
|
|
1847
|
+
/**
|
|
1848
|
+
* HTML id attribute
|
|
1849
|
+
*/
|
|
1850
|
+
id?: string;
|
|
1851
|
+
/**
|
|
1852
|
+
* Additional CSS styles
|
|
1853
|
+
*/
|
|
1854
|
+
style?: React.CSSProperties;
|
|
1855
|
+
/**
|
|
1856
|
+
* Children elements
|
|
1857
|
+
*/
|
|
1858
|
+
children?: React.ReactNode;
|
|
1859
|
+
/**
|
|
1860
|
+
* Additional CSS class names
|
|
1861
|
+
*/
|
|
1862
|
+
className?: string;
|
|
1863
|
+
}
|
|
1864
|
+
interface FlutterCupertinoFormRowPrefixElement extends WebFElementWithMethods<{}> {
|
|
1865
|
+
}
|
|
1866
|
+
/**
|
|
1867
|
+
* FlutterCupertinoFormRowPrefix - WebF FlutterCupertinoFormRowPrefix component
|
|
1868
|
+
*
|
|
1869
|
+
* @example
|
|
1870
|
+
* ```tsx
|
|
1871
|
+
*
|
|
1872
|
+
* <FlutterCupertinoFormRowPrefix
|
|
1873
|
+
* // Add props here
|
|
1874
|
+
* >
|
|
1875
|
+
* Content
|
|
1876
|
+
* </FlutterCupertinoFormRowPrefix>
|
|
1877
|
+
* ```
|
|
1878
|
+
*/
|
|
1879
|
+
declare const FlutterCupertinoFormRowPrefix: React.ForwardRefExoticComponent<FlutterCupertinoFormRowPrefixProps & {
|
|
1880
|
+
className?: string;
|
|
1881
|
+
style?: React.CSSProperties;
|
|
1882
|
+
children?: React.ReactNode;
|
|
1883
|
+
} & React.RefAttributes<FlutterCupertinoFormRowPrefixElement>>;
|
|
1884
|
+
interface FlutterCupertinoFormRowHelperProps {
|
|
1885
|
+
/**
|
|
1886
|
+
* HTML id attribute
|
|
1887
|
+
*/
|
|
1888
|
+
id?: string;
|
|
1889
|
+
/**
|
|
1890
|
+
* Additional CSS styles
|
|
1891
|
+
*/
|
|
1892
|
+
style?: React.CSSProperties;
|
|
1893
|
+
/**
|
|
1894
|
+
* Children elements
|
|
1895
|
+
*/
|
|
1896
|
+
children?: React.ReactNode;
|
|
1897
|
+
/**
|
|
1898
|
+
* Additional CSS class names
|
|
1899
|
+
*/
|
|
1900
|
+
className?: string;
|
|
1901
|
+
}
|
|
1902
|
+
interface FlutterCupertinoFormRowHelperElement extends WebFElementWithMethods<{}> {
|
|
1903
|
+
}
|
|
1904
|
+
/**
|
|
1905
|
+
* FlutterCupertinoFormRowHelper - WebF FlutterCupertinoFormRowHelper component
|
|
1906
|
+
*
|
|
1907
|
+
* @example
|
|
1908
|
+
* ```tsx
|
|
1909
|
+
*
|
|
1910
|
+
* <FlutterCupertinoFormRowHelper
|
|
1911
|
+
* // Add props here
|
|
1912
|
+
* >
|
|
1913
|
+
* Content
|
|
1914
|
+
* </FlutterCupertinoFormRowHelper>
|
|
1915
|
+
* ```
|
|
1916
|
+
*/
|
|
1917
|
+
declare const FlutterCupertinoFormRowHelper: React.ForwardRefExoticComponent<FlutterCupertinoFormRowHelperProps & {
|
|
1918
|
+
className?: string;
|
|
1919
|
+
style?: React.CSSProperties;
|
|
1920
|
+
children?: React.ReactNode;
|
|
1921
|
+
} & React.RefAttributes<FlutterCupertinoFormRowHelperElement>>;
|
|
1922
|
+
interface FlutterCupertinoFormRowErrorProps {
|
|
1923
|
+
/**
|
|
1924
|
+
* HTML id attribute
|
|
1925
|
+
*/
|
|
1926
|
+
id?: string;
|
|
1927
|
+
/**
|
|
1928
|
+
* Additional CSS styles
|
|
1929
|
+
*/
|
|
1930
|
+
style?: React.CSSProperties;
|
|
1931
|
+
/**
|
|
1932
|
+
* Children elements
|
|
1933
|
+
*/
|
|
1934
|
+
children?: React.ReactNode;
|
|
1935
|
+
/**
|
|
1936
|
+
* Additional CSS class names
|
|
1937
|
+
*/
|
|
1938
|
+
className?: string;
|
|
1939
|
+
}
|
|
1940
|
+
interface FlutterCupertinoFormRowErrorElement extends WebFElementWithMethods<{}> {
|
|
1941
|
+
}
|
|
1942
|
+
/**
|
|
1943
|
+
* FlutterCupertinoFormRowError - WebF FlutterCupertinoFormRowError component
|
|
1944
|
+
*
|
|
1945
|
+
* @example
|
|
1946
|
+
* ```tsx
|
|
1947
|
+
*
|
|
1948
|
+
* <FlutterCupertinoFormRowError
|
|
1949
|
+
* // Add props here
|
|
1950
|
+
* >
|
|
1951
|
+
* Content
|
|
1952
|
+
* </FlutterCupertinoFormRowError>
|
|
1953
|
+
* ```
|
|
1954
|
+
*/
|
|
1955
|
+
declare const FlutterCupertinoFormRowError: React.ForwardRefExoticComponent<FlutterCupertinoFormRowErrorProps & {
|
|
1956
|
+
className?: string;
|
|
1957
|
+
style?: React.CSSProperties;
|
|
1958
|
+
children?: React.ReactNode;
|
|
1959
|
+
} & React.RefAttributes<FlutterCupertinoFormRowErrorElement>>;
|
|
1960
|
+
|
|
1961
|
+
interface FlutterCupertinoDatePickerProps {
|
|
1962
|
+
/**
|
|
1963
|
+
* mode property
|
|
1964
|
+
* @default undefined
|
|
1965
|
+
*/
|
|
1966
|
+
mode?: string;
|
|
1967
|
+
/**
|
|
1968
|
+
* minimumDate property
|
|
1969
|
+
* @default undefined
|
|
1970
|
+
*/
|
|
1971
|
+
minimumDate?: string;
|
|
1972
|
+
/**
|
|
1973
|
+
* maximumDate property
|
|
1974
|
+
* @default undefined
|
|
1975
|
+
*/
|
|
1976
|
+
maximumDate?: string;
|
|
1977
|
+
/**
|
|
1978
|
+
* minuteInterval property
|
|
1979
|
+
* @default undefined
|
|
1980
|
+
*/
|
|
1981
|
+
minuteInterval?: string;
|
|
1982
|
+
/**
|
|
1983
|
+
* value property
|
|
1984
|
+
* @default undefined
|
|
1985
|
+
*/
|
|
1986
|
+
value?: string;
|
|
1987
|
+
/**
|
|
1988
|
+
* minimumYear property
|
|
1989
|
+
* @default undefined
|
|
1990
|
+
*/
|
|
1991
|
+
minimumYear?: string;
|
|
1992
|
+
/**
|
|
1993
|
+
* maximumYear property
|
|
1994
|
+
* @default undefined
|
|
1995
|
+
*/
|
|
1996
|
+
maximumYear?: string;
|
|
1997
|
+
/**
|
|
1998
|
+
* showDayOfWeek property
|
|
1999
|
+
* @default undefined
|
|
2000
|
+
*/
|
|
2001
|
+
showDayOfWeek?: string;
|
|
2002
|
+
/**
|
|
2003
|
+
* dateOrder property
|
|
2004
|
+
* @default undefined
|
|
2005
|
+
*/
|
|
2006
|
+
dateOrder?: string;
|
|
2007
|
+
/**
|
|
2008
|
+
* height property
|
|
2009
|
+
* @default undefined
|
|
2010
|
+
*/
|
|
2011
|
+
height?: string;
|
|
2012
|
+
/**
|
|
2013
|
+
* use24H property
|
|
2014
|
+
* @default undefined
|
|
2015
|
+
*/
|
|
2016
|
+
use24H?: boolean;
|
|
2017
|
+
/**
|
|
2018
|
+
* change event handler
|
|
2019
|
+
*/
|
|
2020
|
+
onChange?: (event: CustomEvent<string>) => void;
|
|
2021
|
+
/**
|
|
2022
|
+
* HTML id attribute
|
|
2023
|
+
*/
|
|
2024
|
+
id?: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* Additional CSS styles
|
|
2027
|
+
*/
|
|
2028
|
+
style?: React.CSSProperties;
|
|
2029
|
+
/**
|
|
2030
|
+
* Children elements
|
|
2031
|
+
*/
|
|
2032
|
+
children?: React.ReactNode;
|
|
2033
|
+
/**
|
|
2034
|
+
* Additional CSS class names
|
|
2035
|
+
*/
|
|
2036
|
+
className?: string;
|
|
2037
|
+
}
|
|
2038
|
+
interface FlutterCupertinoDatePickerElement extends WebFElementWithMethods<{}> {
|
|
1135
2039
|
}
|
|
1136
2040
|
/**
|
|
1137
2041
|
* FlutterCupertinoDatePicker - WebF FlutterCupertinoDatePicker component
|
|
@@ -1159,12 +2063,23 @@ interface ContextMenuAction {
|
|
|
1159
2063
|
default?: boolean;
|
|
1160
2064
|
event?: string;
|
|
1161
2065
|
}
|
|
2066
|
+
interface FlutterCupertinoContextMenuSelectDetail {
|
|
2067
|
+
index: number;
|
|
2068
|
+
text: string;
|
|
2069
|
+
event: string;
|
|
2070
|
+
destructive: boolean;
|
|
2071
|
+
default: boolean;
|
|
2072
|
+
}
|
|
1162
2073
|
interface FlutterCupertinoContextMenuProps {
|
|
1163
2074
|
/**
|
|
1164
2075
|
* enableHapticFeedback property
|
|
1165
2076
|
* @default undefined
|
|
1166
2077
|
*/
|
|
1167
2078
|
enableHapticFeedback?: boolean;
|
|
2079
|
+
/**
|
|
2080
|
+
* select event handler
|
|
2081
|
+
*/
|
|
2082
|
+
onSelect?: (event: CustomEvent<FlutterCupertinoContextMenuSelectDetail>) => void;
|
|
1168
2083
|
/**
|
|
1169
2084
|
* HTML id attribute
|
|
1170
2085
|
*/
|
|
@@ -1258,7 +2173,7 @@ interface FlutterCupertinoCheckboxProps {
|
|
|
1258
2173
|
/**
|
|
1259
2174
|
* change event handler
|
|
1260
2175
|
*/
|
|
1261
|
-
onChange?: (event: CustomEvent) => void;
|
|
2176
|
+
onChange?: (event: CustomEvent<boolean>) => void;
|
|
1262
2177
|
/**
|
|
1263
2178
|
* HTML id attribute
|
|
1264
2179
|
*/
|
|
@@ -1360,72 +2275,200 @@ declare const FlutterCupertinoButton: React.ForwardRefExoticComponent<FlutterCup
|
|
|
1360
2275
|
children?: React.ReactNode;
|
|
1361
2276
|
} & React.RefAttributes<FlutterCupertinoButtonElement>>;
|
|
1362
2277
|
|
|
2278
|
+
interface FlutterCupertinoAlertOptions {
|
|
2279
|
+
title?: string;
|
|
2280
|
+
message?: string;
|
|
2281
|
+
}
|
|
2282
|
+
interface FlutterCupertinoAlertProps {
|
|
2283
|
+
/**
|
|
2284
|
+
* title property
|
|
2285
|
+
* @default undefined
|
|
2286
|
+
*/
|
|
2287
|
+
title?: string;
|
|
2288
|
+
/**
|
|
2289
|
+
* message property
|
|
2290
|
+
* @default undefined
|
|
2291
|
+
*/
|
|
2292
|
+
message?: string;
|
|
2293
|
+
/**
|
|
2294
|
+
* cancelText property
|
|
2295
|
+
* @default undefined
|
|
2296
|
+
*/
|
|
2297
|
+
cancelText?: string;
|
|
2298
|
+
/**
|
|
2299
|
+
* cancelDestructive property
|
|
2300
|
+
* @default undefined
|
|
2301
|
+
*/
|
|
2302
|
+
cancelDestructive?: string;
|
|
2303
|
+
/**
|
|
2304
|
+
* cancelDefault property
|
|
2305
|
+
* @default undefined
|
|
2306
|
+
*/
|
|
2307
|
+
cancelDefault?: string;
|
|
2308
|
+
/**
|
|
2309
|
+
* cancelTextStyle property
|
|
2310
|
+
* @default undefined
|
|
2311
|
+
*/
|
|
2312
|
+
cancelTextStyle?: string;
|
|
2313
|
+
/**
|
|
2314
|
+
* confirmText property
|
|
2315
|
+
* @default undefined
|
|
2316
|
+
*/
|
|
2317
|
+
confirmText?: string;
|
|
2318
|
+
/**
|
|
2319
|
+
* confirmDefault property
|
|
2320
|
+
* @default undefined
|
|
2321
|
+
*/
|
|
2322
|
+
confirmDefault?: string;
|
|
2323
|
+
/**
|
|
2324
|
+
* confirmDestructive property
|
|
2325
|
+
* @default undefined
|
|
2326
|
+
*/
|
|
2327
|
+
confirmDestructive?: string;
|
|
2328
|
+
/**
|
|
2329
|
+
* confirmTextStyle property
|
|
2330
|
+
* @default undefined
|
|
2331
|
+
*/
|
|
2332
|
+
confirmTextStyle?: string;
|
|
2333
|
+
/**
|
|
2334
|
+
* cancel event handler
|
|
2335
|
+
*/
|
|
2336
|
+
onCancel?: (event: CustomEvent) => void;
|
|
2337
|
+
/**
|
|
2338
|
+
* confirm event handler
|
|
2339
|
+
*/
|
|
2340
|
+
onConfirm?: (event: CustomEvent) => void;
|
|
2341
|
+
/**
|
|
2342
|
+
* HTML id attribute
|
|
2343
|
+
*/
|
|
2344
|
+
id?: string;
|
|
2345
|
+
/**
|
|
2346
|
+
* Additional CSS styles
|
|
2347
|
+
*/
|
|
2348
|
+
style?: React.CSSProperties;
|
|
2349
|
+
/**
|
|
2350
|
+
* Children elements
|
|
2351
|
+
*/
|
|
2352
|
+
children?: React.ReactNode;
|
|
2353
|
+
/**
|
|
2354
|
+
* Additional CSS class names
|
|
2355
|
+
*/
|
|
2356
|
+
className?: string;
|
|
2357
|
+
}
|
|
1363
2358
|
/**
|
|
1364
|
-
*
|
|
1365
|
-
*
|
|
1366
|
-
*
|
|
2359
|
+
* Element interface with methods accessible via ref
|
|
2360
|
+
* @example
|
|
2361
|
+
* ```tsx
|
|
2362
|
+
* const ref = useRef<FlutterCupertinoAlertElement>(null);
|
|
2363
|
+
* // Call methods on the element
|
|
2364
|
+
* ref.current?.finishRefresh('success');
|
|
2365
|
+
* ```
|
|
1367
2366
|
*/
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
2367
|
+
interface FlutterCupertinoAlertElement extends WebFElementWithMethods<{
|
|
2368
|
+
show(options: FlutterCupertinoAlertOptions): void;
|
|
2369
|
+
hide(): void;
|
|
2370
|
+
}> {
|
|
2371
|
+
}
|
|
1371
2372
|
/**
|
|
1372
|
-
*
|
|
1373
|
-
*
|
|
2373
|
+
* FlutterCupertinoAlert - WebF FlutterCupertinoAlert component
|
|
2374
|
+
*
|
|
2375
|
+
* @example
|
|
2376
|
+
* ```tsx
|
|
2377
|
+
* const ref = useRef<FlutterCupertinoAlertElement>(null);
|
|
2378
|
+
*
|
|
2379
|
+
* <FlutterCupertinoAlert
|
|
2380
|
+
* ref={ref}
|
|
2381
|
+
* // Add props here
|
|
2382
|
+
* >
|
|
2383
|
+
* Content
|
|
2384
|
+
* </FlutterCupertinoAlert>
|
|
2385
|
+
*
|
|
2386
|
+
* // Call methods on the element
|
|
2387
|
+
* ref.current?.finishRefresh('success');
|
|
2388
|
+
* ```
|
|
1374
2389
|
*/
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
2390
|
+
declare const FlutterCupertinoAlert: React.ForwardRefExoticComponent<FlutterCupertinoAlertProps & {
|
|
2391
|
+
className?: string;
|
|
2392
|
+
style?: React.CSSProperties;
|
|
2393
|
+
children?: React.ReactNode;
|
|
2394
|
+
} & React.RefAttributes<FlutterCupertinoAlertElement>>;
|
|
2395
|
+
|
|
2396
|
+
interface FlutterCupertinoActionSheetAction {
|
|
2397
|
+
text: string;
|
|
2398
|
+
isDefault?: boolean;
|
|
2399
|
+
isDestructive?: boolean;
|
|
2400
|
+
event?: string;
|
|
2401
|
+
}
|
|
2402
|
+
interface FlutterCupertinoActionSheetOptions {
|
|
2403
|
+
title?: string;
|
|
2404
|
+
message?: string;
|
|
2405
|
+
actions?: FlutterCupertinoActionSheetAction[];
|
|
2406
|
+
cancelButton?: FlutterCupertinoActionSheetAction;
|
|
2407
|
+
}
|
|
2408
|
+
interface FlutterCupertinoActionSheetSelectDetail {
|
|
2409
|
+
text: string;
|
|
2410
|
+
event: string;
|
|
2411
|
+
isDefault: boolean;
|
|
2412
|
+
isDestructive: boolean;
|
|
2413
|
+
index?: number;
|
|
2414
|
+
}
|
|
2415
|
+
interface FlutterCupertinoActionSheetProps {
|
|
2416
|
+
/**
|
|
2417
|
+
* select event handler
|
|
2418
|
+
*/
|
|
2419
|
+
onSelect?: (event: CustomEvent<FlutterCupertinoActionSheetSelectDetail>) => void;
|
|
2420
|
+
/**
|
|
2421
|
+
* HTML id attribute
|
|
2422
|
+
*/
|
|
2423
|
+
id?: string;
|
|
2424
|
+
/**
|
|
2425
|
+
* Additional CSS styles
|
|
2426
|
+
*/
|
|
2427
|
+
style?: React.CSSProperties;
|
|
2428
|
+
/**
|
|
2429
|
+
* Children elements
|
|
2430
|
+
*/
|
|
2431
|
+
children?: React.ReactNode;
|
|
2432
|
+
/**
|
|
2433
|
+
* Additional CSS class names
|
|
2434
|
+
*/
|
|
2435
|
+
className?: string;
|
|
2436
|
+
}
|
|
1378
2437
|
/**
|
|
1379
|
-
*
|
|
1380
|
-
*
|
|
1381
|
-
*
|
|
1382
|
-
*
|
|
1383
|
-
*
|
|
1384
|
-
*
|
|
1385
|
-
* ```ts
|
|
1386
|
-
* const FooComponent = createComponent({
|
|
1387
|
-
* ...
|
|
1388
|
-
* events: {
|
|
1389
|
-
* onfoo: 'foo' as EventName<FooEvent>,
|
|
1390
|
-
* }
|
|
1391
|
-
* });
|
|
2438
|
+
* Element interface with methods accessible via ref
|
|
2439
|
+
* @example
|
|
2440
|
+
* ```tsx
|
|
2441
|
+
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
2442
|
+
* // Call methods on the element
|
|
2443
|
+
* ref.current?.finishRefresh('success');
|
|
1392
2444
|
* ```
|
|
1393
|
-
*
|
|
1394
|
-
* `onfoo` prop will have the type `(e: FooEvent) => void`.
|
|
1395
2445
|
*/
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
}
|
|
1399
|
-
type EventNames = Record<string, EventName | string>;
|
|
1400
|
-
interface Options<E extends EventNames = {}> {
|
|
1401
|
-
tagName: string;
|
|
1402
|
-
events?: E;
|
|
1403
|
-
displayName?: string;
|
|
2446
|
+
interface FlutterCupertinoActionSheetElement extends WebFElementWithMethods<{
|
|
2447
|
+
show(options: FlutterCupertinoActionSheetOptions): void;
|
|
2448
|
+
}> {
|
|
1404
2449
|
}
|
|
1405
2450
|
/**
|
|
1406
|
-
*
|
|
1407
|
-
*
|
|
1408
|
-
*
|
|
1409
|
-
*
|
|
1410
|
-
*
|
|
1411
|
-
*
|
|
1412
|
-
*
|
|
1413
|
-
*
|
|
1414
|
-
*
|
|
1415
|
-
*
|
|
1416
|
-
*
|
|
1417
|
-
*
|
|
1418
|
-
*
|
|
1419
|
-
*
|
|
1420
|
-
*
|
|
1421
|
-
*
|
|
1422
|
-
* generated by the custom element. For example, given `{onactivate:
|
|
1423
|
-
* 'activate'}` an event function may be passed via the component's `onactivate`
|
|
1424
|
-
* prop and will be called when the custom element fires its `activate` event.
|
|
1425
|
-
* @param options.displayName A React component display name, used in debugging
|
|
1426
|
-
* messages. Default value is inferred from the name of custom element class
|
|
1427
|
-
* registered via `customElements.define`.
|
|
2451
|
+
* FlutterCupertinoActionSheet - WebF FlutterCupertinoActionSheet component
|
|
2452
|
+
*
|
|
2453
|
+
* @example
|
|
2454
|
+
* ```tsx
|
|
2455
|
+
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
2456
|
+
*
|
|
2457
|
+
* <FlutterCupertinoActionSheet
|
|
2458
|
+
* ref={ref}
|
|
2459
|
+
* // Add props here
|
|
2460
|
+
* >
|
|
2461
|
+
* Content
|
|
2462
|
+
* </FlutterCupertinoActionSheet>
|
|
2463
|
+
*
|
|
2464
|
+
* // Call methods on the element
|
|
2465
|
+
* ref.current?.finishRefresh('success');
|
|
2466
|
+
* ```
|
|
1428
2467
|
*/
|
|
1429
|
-
declare const
|
|
2468
|
+
declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<FlutterCupertinoActionSheetProps & {
|
|
2469
|
+
className?: string;
|
|
2470
|
+
style?: React.CSSProperties;
|
|
2471
|
+
children?: React.ReactNode;
|
|
2472
|
+
} & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
|
|
1430
2473
|
|
|
1431
|
-
export { FlutterCupertinoButton, type FlutterCupertinoButtonElement, FlutterCupertinoCheckbox, type FlutterCupertinoCheckboxElement, FlutterCupertinoContextMenu, type FlutterCupertinoContextMenuElement, FlutterCupertinoDatePicker, type FlutterCupertinoDatePickerElement, FlutterCupertinoIcon, type FlutterCupertinoIconElement, FlutterCupertinoInput, type FlutterCupertinoInputElement, FlutterCupertinoModalPopup, type FlutterCupertinoModalPopupElement, FlutterCupertinoPicker, type FlutterCupertinoPickerElement, FlutterCupertinoRadio, type FlutterCupertinoRadioElement, FlutterCupertinoSearchInput, type FlutterCupertinoSearchInputElement, FlutterCupertinoSlider, type FlutterCupertinoSliderElement, FlutterCupertinoSwitch, type FlutterCupertinoSwitchElement, FlutterCupertinoTab, FlutterCupertinoTabBar, type FlutterCupertinoTabBarElement, FlutterCupertinoTabBarItem, type FlutterCupertinoTabBarItemElement, type FlutterCupertinoTabElement, FlutterCupertinoTabItem, type FlutterCupertinoTabItemElement, FlutterCupertinoTextarea, type FlutterCupertinoTextareaElement, FlutterCupertinoTimerPicker, type FlutterCupertinoTimerPickerElement,
|
|
2474
|
+
export { FlutterCupertinoActionSheet, type FlutterCupertinoActionSheetElement, FlutterCupertinoAlert, type FlutterCupertinoAlertElement, FlutterCupertinoButton, type FlutterCupertinoButtonElement, FlutterCupertinoCheckbox, type FlutterCupertinoCheckboxElement, FlutterCupertinoContextMenu, type FlutterCupertinoContextMenuElement, FlutterCupertinoDatePicker, type FlutterCupertinoDatePickerElement, FlutterCupertinoFormRow, type FlutterCupertinoFormRowElement, FlutterCupertinoFormRowError, type FlutterCupertinoFormRowErrorElement, FlutterCupertinoFormRowHelper, type FlutterCupertinoFormRowHelperElement, FlutterCupertinoFormRowPrefix, type FlutterCupertinoFormRowPrefixElement, FlutterCupertinoFormSection, type FlutterCupertinoFormSectionElement, FlutterCupertinoFormSectionFooter, type FlutterCupertinoFormSectionFooterElement, FlutterCupertinoFormSectionHeader, type FlutterCupertinoFormSectionHeaderElement, FlutterCupertinoIcon, type FlutterCupertinoIconElement, FlutterCupertinoInput, type FlutterCupertinoInputElement, FlutterCupertinoInputPrefix, type FlutterCupertinoInputPrefixElement, FlutterCupertinoInputSuffix, type FlutterCupertinoInputSuffixElement, FlutterCupertinoListSection, type FlutterCupertinoListSectionElement, FlutterCupertinoListSectionFooter, type FlutterCupertinoListSectionFooterElement, FlutterCupertinoListSectionHeader, type FlutterCupertinoListSectionHeaderElement, FlutterCupertinoListTile, FlutterCupertinoListTileAdditionalInfo, type FlutterCupertinoListTileAdditionalInfoElement, type FlutterCupertinoListTileElement, FlutterCupertinoListTileLeading, type FlutterCupertinoListTileLeadingElement, FlutterCupertinoListTileSubtitle, type FlutterCupertinoListTileSubtitleElement, FlutterCupertinoListTileTrailing, type FlutterCupertinoListTileTrailingElement, FlutterCupertinoLoading, type FlutterCupertinoLoadingElement, FlutterCupertinoModalPopup, type FlutterCupertinoModalPopupElement, FlutterCupertinoPicker, type FlutterCupertinoPickerElement, FlutterCupertinoPickerItem, type FlutterCupertinoPickerItemElement, FlutterCupertinoRadio, type FlutterCupertinoRadioElement, FlutterCupertinoSearchInput, type FlutterCupertinoSearchInputElement, FlutterCupertinoSegmentedTab, type FlutterCupertinoSegmentedTabElement, FlutterCupertinoSlider, type FlutterCupertinoSliderElement, FlutterCupertinoSwitch, type FlutterCupertinoSwitchElement, FlutterCupertinoTab, FlutterCupertinoTabBar, type FlutterCupertinoTabBarElement, FlutterCupertinoTabBarItem, type FlutterCupertinoTabBarItemElement, type FlutterCupertinoTabElement, FlutterCupertinoTabItem, type FlutterCupertinoTabItemElement, FlutterCupertinoTextarea, type FlutterCupertinoTextareaElement, FlutterCupertinoTimerPicker, type FlutterCupertinoTimerPickerElement, FlutterCupertinoToast, type FlutterCupertinoToastElement };
|