@openwebf/react-cupertino-ui 0.2.2 → 0.2.3

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 CHANGED
@@ -56,9 +56,8 @@ interface FlutterCupertinoTimerPickerElement extends WebFElementWithMethods<{}>
56
56
  *
57
57
  * @example
58
58
  * ```tsx
59
- *
60
59
  * <FlutterCupertinoTimerPicker
61
- * // Add props here
60
+ * // Add example props here
62
61
  * >
63
62
  * Content
64
63
  * </FlutterCupertinoTimerPicker>
@@ -144,9 +143,8 @@ interface FlutterCupertinoTextareaElement extends WebFElementWithMethods<{}> {
144
143
  *
145
144
  * @example
146
145
  * ```tsx
147
- *
148
146
  * <FlutterCupertinoTextarea
149
- * // Add props here
147
+ * // Add example props here
150
148
  * >
151
149
  * Content
152
150
  * </FlutterCupertinoTextarea>
@@ -207,35 +205,18 @@ interface FlutterCupertinoTabBarProps {
207
205
  */
208
206
  className?: string;
209
207
  }
210
- /**
211
- * Element interface with methods accessible via ref
212
- * @example
213
- * ```tsx
214
- * const ref = useRef<FlutterCupertinoTabBarElement>(null);
215
- * // Call methods on the element
216
- * ref.current?.finishRefresh('success');
217
- * ```
218
- */
219
- interface FlutterCupertinoTabBarElement extends WebFElementWithMethods<{
220
- switchTab(path: string): void;
221
- }> {
208
+ interface FlutterCupertinoTabBarElement extends WebFElementWithMethods<{}> {
222
209
  }
223
210
  /**
224
211
  * FlutterCupertinoTabBar - WebF FlutterCupertinoTabBar component
225
212
  *
226
213
  * @example
227
214
  * ```tsx
228
- * const ref = useRef<FlutterCupertinoTabBarElement>(null);
229
- *
230
215
  * <FlutterCupertinoTabBar
231
- * ref={ref}
232
- * // Add props here
216
+ * // Add example props here
233
217
  * >
234
218
  * Content
235
219
  * </FlutterCupertinoTabBar>
236
- *
237
- * // Call methods on the element
238
- * ref.current?.finishRefresh('success');
239
220
  * ```
240
221
  */
241
222
  declare const FlutterCupertinoTabBar: React.ForwardRefExoticComponent<FlutterCupertinoTabBarProps & {
@@ -279,9 +260,8 @@ interface FlutterCupertinoTabBarItemElement extends WebFElementWithMethods<{}> {
279
260
  *
280
261
  * @example
281
262
  * ```tsx
282
- *
283
263
  * <FlutterCupertinoTabBarItem
284
- * // Add props here
264
+ * // Add example props here
285
265
  * >
286
266
  * Content
287
267
  * </FlutterCupertinoTabBarItem>
@@ -311,16 +291,17 @@ interface FlutterCupertinoTabProps {
311
291
  */
312
292
  className?: string;
313
293
  }
314
- interface FlutterCupertinoTabElement extends WebFElementWithMethods<{}> {
294
+ interface FlutterCupertinoTabElement extends WebFElementWithMethods<{
295
+ switchTab(index: number): void;
296
+ }> {
315
297
  }
316
298
  /**
317
299
  * FlutterCupertinoTab - WebF FlutterCupertinoTab component
318
300
  *
319
301
  * @example
320
302
  * ```tsx
321
- *
322
303
  * <FlutterCupertinoTab
323
- * // Add props here
304
+ * // Add example props here
324
305
  * >
325
306
  * Content
326
307
  * </FlutterCupertinoTab>
@@ -357,9 +338,8 @@ interface FlutterCupertinoTabItemElement extends WebFElementWithMethods<{}> {
357
338
  *
358
339
  * @example
359
340
  * ```tsx
360
- *
361
341
  * <FlutterCupertinoTabItem
362
- * // Add props here
342
+ * // Add example props here
363
343
  * >
364
344
  * Content
365
345
  * </FlutterCupertinoTabItem>
@@ -416,9 +396,8 @@ interface FlutterCupertinoSwitchElement extends WebFElementWithMethods<{}> {
416
396
  *
417
397
  * @example
418
398
  * ```tsx
419
- *
420
399
  * <FlutterCupertinoSwitch
421
- * // Add props here
400
+ * // Add example props here
422
401
  * >
423
402
  * Content
424
403
  * </FlutterCupertinoSwitch>
@@ -488,9 +467,8 @@ interface FlutterCupertinoSliderElement extends WebFElementWithMethods<{}> {
488
467
  *
489
468
  * @example
490
469
  * ```tsx
491
- *
492
470
  * <FlutterCupertinoSlider
493
- * // Add props here
471
+ * // Add example props here
494
472
  * >
495
473
  * Content
496
474
  * </FlutterCupertinoSlider>
@@ -584,9 +562,8 @@ interface FlutterCupertinoSearchInputElement extends WebFElementWithMethods<{}>
584
562
  *
585
563
  * @example
586
564
  * ```tsx
587
- *
588
565
  * <FlutterCupertinoSearchInput
589
- * // Add props here
566
+ * // Add example props here
590
567
  * >
591
568
  * Content
592
569
  * </FlutterCupertinoSearchInput>
@@ -653,9 +630,8 @@ interface FlutterCupertinoRadioElement extends WebFElementWithMethods<{}> {
653
630
  *
654
631
  * @example
655
632
  * ```tsx
656
- *
657
633
  * <FlutterCupertinoRadio
658
- * // Add props here
634
+ * // Add example props here
659
635
  * >
660
636
  * Content
661
637
  * </FlutterCupertinoRadio>
@@ -702,9 +678,8 @@ interface FlutterCupertinoPickerElement extends WebFElementWithMethods<{}> {
702
678
  *
703
679
  * @example
704
680
  * ```tsx
705
- *
706
681
  * <FlutterCupertinoPicker
707
- * // Add props here
682
+ * // Add example props here
708
683
  * >
709
684
  * Content
710
685
  * </FlutterCupertinoPicker>
@@ -766,9 +741,8 @@ interface FlutterCupertinoModalPopupElement extends WebFElementWithMethods<{}> {
766
741
  *
767
742
  * @example
768
743
  * ```tsx
769
- *
770
744
  * <FlutterCupertinoModalPopup
771
- * // Add props here
745
+ * // Add example props here
772
746
  * >
773
747
  * Content
774
748
  * </FlutterCupertinoModalPopup>
@@ -848,9 +822,8 @@ interface FlutterCupertinoInputElement extends WebFElementWithMethods<{}> {
848
822
  *
849
823
  * @example
850
824
  * ```tsx
851
- *
852
825
  * <FlutterCupertinoInput
853
- * // Add props here
826
+ * // Add example props here
854
827
  * >
855
828
  * Content
856
829
  * </FlutterCupertinoInput>
@@ -893,9 +866,8 @@ interface FlutterCupertinoIconElement extends WebFElementWithMethods<{}> {
893
866
  *
894
867
  * @example
895
868
  * ```tsx
896
- *
897
869
  * <FlutterCupertinoIcon
898
- * // Add props here
870
+ * // Add example props here
899
871
  * >
900
872
  * Content
901
873
  * </FlutterCupertinoIcon>
@@ -987,9 +959,8 @@ interface FlutterCupertinoDatePickerElement extends WebFElementWithMethods<{}> {
987
959
  *
988
960
  * @example
989
961
  * ```tsx
990
- *
991
962
  * <FlutterCupertinoDatePicker
992
- * // Add props here
963
+ * // Add example props here
993
964
  * >
994
965
  * Content
995
966
  * </FlutterCupertinoDatePicker>
@@ -1027,9 +998,8 @@ interface FlutterCupertinoContextMenuElement extends WebFElementWithMethods<{}>
1027
998
  *
1028
999
  * @example
1029
1000
  * ```tsx
1030
- *
1031
1001
  * <FlutterCupertinoContextMenu
1032
- * // Add props here
1002
+ * // Add example props here
1033
1003
  * >
1034
1004
  * Content
1035
1005
  * </FlutterCupertinoContextMenu>
@@ -1101,9 +1071,8 @@ interface FlutterCupertinoCheckboxElement extends WebFElementWithMethods<{}> {
1101
1071
  *
1102
1072
  * @example
1103
1073
  * ```tsx
1104
- *
1105
1074
  * <FlutterCupertinoCheckbox
1106
- * // Add props here
1075
+ * // Add example props here
1107
1076
  * >
1108
1077
  * Content
1109
1078
  * </FlutterCupertinoCheckbox>
@@ -1160,9 +1129,8 @@ interface FlutterCupertinoButtonElement extends WebFElementWithMethods<{}> {
1160
1129
  *
1161
1130
  * @example
1162
1131
  * ```tsx
1163
- *
1164
1132
  * <FlutterCupertinoButton
1165
- * // Add props here
1133
+ * // Add example props here
1166
1134
  * >
1167
1135
  * Content
1168
1136
  * </FlutterCupertinoButton>
package/dist/index.d.ts CHANGED
@@ -56,9 +56,8 @@ interface FlutterCupertinoTimerPickerElement extends WebFElementWithMethods<{}>
56
56
  *
57
57
  * @example
58
58
  * ```tsx
59
- *
60
59
  * <FlutterCupertinoTimerPicker
61
- * // Add props here
60
+ * // Add example props here
62
61
  * >
63
62
  * Content
64
63
  * </FlutterCupertinoTimerPicker>
@@ -144,9 +143,8 @@ interface FlutterCupertinoTextareaElement extends WebFElementWithMethods<{}> {
144
143
  *
145
144
  * @example
146
145
  * ```tsx
147
- *
148
146
  * <FlutterCupertinoTextarea
149
- * // Add props here
147
+ * // Add example props here
150
148
  * >
151
149
  * Content
152
150
  * </FlutterCupertinoTextarea>
@@ -207,35 +205,18 @@ interface FlutterCupertinoTabBarProps {
207
205
  */
208
206
  className?: string;
209
207
  }
210
- /**
211
- * Element interface with methods accessible via ref
212
- * @example
213
- * ```tsx
214
- * const ref = useRef<FlutterCupertinoTabBarElement>(null);
215
- * // Call methods on the element
216
- * ref.current?.finishRefresh('success');
217
- * ```
218
- */
219
- interface FlutterCupertinoTabBarElement extends WebFElementWithMethods<{
220
- switchTab(path: string): void;
221
- }> {
208
+ interface FlutterCupertinoTabBarElement extends WebFElementWithMethods<{}> {
222
209
  }
223
210
  /**
224
211
  * FlutterCupertinoTabBar - WebF FlutterCupertinoTabBar component
225
212
  *
226
213
  * @example
227
214
  * ```tsx
228
- * const ref = useRef<FlutterCupertinoTabBarElement>(null);
229
- *
230
215
  * <FlutterCupertinoTabBar
231
- * ref={ref}
232
- * // Add props here
216
+ * // Add example props here
233
217
  * >
234
218
  * Content
235
219
  * </FlutterCupertinoTabBar>
236
- *
237
- * // Call methods on the element
238
- * ref.current?.finishRefresh('success');
239
220
  * ```
240
221
  */
241
222
  declare const FlutterCupertinoTabBar: React.ForwardRefExoticComponent<FlutterCupertinoTabBarProps & {
@@ -279,9 +260,8 @@ interface FlutterCupertinoTabBarItemElement extends WebFElementWithMethods<{}> {
279
260
  *
280
261
  * @example
281
262
  * ```tsx
282
- *
283
263
  * <FlutterCupertinoTabBarItem
284
- * // Add props here
264
+ * // Add example props here
285
265
  * >
286
266
  * Content
287
267
  * </FlutterCupertinoTabBarItem>
@@ -311,16 +291,17 @@ interface FlutterCupertinoTabProps {
311
291
  */
312
292
  className?: string;
313
293
  }
314
- interface FlutterCupertinoTabElement extends WebFElementWithMethods<{}> {
294
+ interface FlutterCupertinoTabElement extends WebFElementWithMethods<{
295
+ switchTab(index: number): void;
296
+ }> {
315
297
  }
316
298
  /**
317
299
  * FlutterCupertinoTab - WebF FlutterCupertinoTab component
318
300
  *
319
301
  * @example
320
302
  * ```tsx
321
- *
322
303
  * <FlutterCupertinoTab
323
- * // Add props here
304
+ * // Add example props here
324
305
  * >
325
306
  * Content
326
307
  * </FlutterCupertinoTab>
@@ -357,9 +338,8 @@ interface FlutterCupertinoTabItemElement extends WebFElementWithMethods<{}> {
357
338
  *
358
339
  * @example
359
340
  * ```tsx
360
- *
361
341
  * <FlutterCupertinoTabItem
362
- * // Add props here
342
+ * // Add example props here
363
343
  * >
364
344
  * Content
365
345
  * </FlutterCupertinoTabItem>
@@ -416,9 +396,8 @@ interface FlutterCupertinoSwitchElement extends WebFElementWithMethods<{}> {
416
396
  *
417
397
  * @example
418
398
  * ```tsx
419
- *
420
399
  * <FlutterCupertinoSwitch
421
- * // Add props here
400
+ * // Add example props here
422
401
  * >
423
402
  * Content
424
403
  * </FlutterCupertinoSwitch>
@@ -488,9 +467,8 @@ interface FlutterCupertinoSliderElement extends WebFElementWithMethods<{}> {
488
467
  *
489
468
  * @example
490
469
  * ```tsx
491
- *
492
470
  * <FlutterCupertinoSlider
493
- * // Add props here
471
+ * // Add example props here
494
472
  * >
495
473
  * Content
496
474
  * </FlutterCupertinoSlider>
@@ -584,9 +562,8 @@ interface FlutterCupertinoSearchInputElement extends WebFElementWithMethods<{}>
584
562
  *
585
563
  * @example
586
564
  * ```tsx
587
- *
588
565
  * <FlutterCupertinoSearchInput
589
- * // Add props here
566
+ * // Add example props here
590
567
  * >
591
568
  * Content
592
569
  * </FlutterCupertinoSearchInput>
@@ -653,9 +630,8 @@ interface FlutterCupertinoRadioElement extends WebFElementWithMethods<{}> {
653
630
  *
654
631
  * @example
655
632
  * ```tsx
656
- *
657
633
  * <FlutterCupertinoRadio
658
- * // Add props here
634
+ * // Add example props here
659
635
  * >
660
636
  * Content
661
637
  * </FlutterCupertinoRadio>
@@ -702,9 +678,8 @@ interface FlutterCupertinoPickerElement extends WebFElementWithMethods<{}> {
702
678
  *
703
679
  * @example
704
680
  * ```tsx
705
- *
706
681
  * <FlutterCupertinoPicker
707
- * // Add props here
682
+ * // Add example props here
708
683
  * >
709
684
  * Content
710
685
  * </FlutterCupertinoPicker>
@@ -766,9 +741,8 @@ interface FlutterCupertinoModalPopupElement extends WebFElementWithMethods<{}> {
766
741
  *
767
742
  * @example
768
743
  * ```tsx
769
- *
770
744
  * <FlutterCupertinoModalPopup
771
- * // Add props here
745
+ * // Add example props here
772
746
  * >
773
747
  * Content
774
748
  * </FlutterCupertinoModalPopup>
@@ -848,9 +822,8 @@ interface FlutterCupertinoInputElement extends WebFElementWithMethods<{}> {
848
822
  *
849
823
  * @example
850
824
  * ```tsx
851
- *
852
825
  * <FlutterCupertinoInput
853
- * // Add props here
826
+ * // Add example props here
854
827
  * >
855
828
  * Content
856
829
  * </FlutterCupertinoInput>
@@ -893,9 +866,8 @@ interface FlutterCupertinoIconElement extends WebFElementWithMethods<{}> {
893
866
  *
894
867
  * @example
895
868
  * ```tsx
896
- *
897
869
  * <FlutterCupertinoIcon
898
- * // Add props here
870
+ * // Add example props here
899
871
  * >
900
872
  * Content
901
873
  * </FlutterCupertinoIcon>
@@ -987,9 +959,8 @@ interface FlutterCupertinoDatePickerElement extends WebFElementWithMethods<{}> {
987
959
  *
988
960
  * @example
989
961
  * ```tsx
990
- *
991
962
  * <FlutterCupertinoDatePicker
992
- * // Add props here
963
+ * // Add example props here
993
964
  * >
994
965
  * Content
995
966
  * </FlutterCupertinoDatePicker>
@@ -1027,9 +998,8 @@ interface FlutterCupertinoContextMenuElement extends WebFElementWithMethods<{}>
1027
998
  *
1028
999
  * @example
1029
1000
  * ```tsx
1030
- *
1031
1001
  * <FlutterCupertinoContextMenu
1032
- * // Add props here
1002
+ * // Add example props here
1033
1003
  * >
1034
1004
  * Content
1035
1005
  * </FlutterCupertinoContextMenu>
@@ -1101,9 +1071,8 @@ interface FlutterCupertinoCheckboxElement extends WebFElementWithMethods<{}> {
1101
1071
  *
1102
1072
  * @example
1103
1073
  * ```tsx
1104
- *
1105
1074
  * <FlutterCupertinoCheckbox
1106
- * // Add props here
1075
+ * // Add example props here
1107
1076
  * >
1108
1077
  * Content
1109
1078
  * </FlutterCupertinoCheckbox>
@@ -1160,9 +1129,8 @@ interface FlutterCupertinoButtonElement extends WebFElementWithMethods<{}> {
1160
1129
  *
1161
1130
  * @example
1162
1131
  * ```tsx
1163
- *
1164
1132
  * <FlutterCupertinoButton
1165
- * // Add props here
1133
+ * // Add example props here
1166
1134
  * >
1167
1135
  * Content
1168
1136
  * </FlutterCupertinoButton>
package/dist/index.js CHANGED
@@ -453,6 +453,18 @@ var FlutterCupertinoModalPopup = (0, import_react_core_ui10.createWebFComponent)
453
453
  // Add default values here
454
454
  }
455
455
  });
456
+ var FlutterCupertinoModelPopup = (0, import_react_core_ui10.createWebFComponent)({
457
+ tagName: "flutter-cupertino-model-popup",
458
+ displayName: "FlutterCupertinoModelPopup",
459
+ // Map props to attributes
460
+ attributeProps: [],
461
+ // Convert prop names to attribute names if needed
462
+ attributeMap: {},
463
+ // Default prop values
464
+ defaultProps: {
465
+ // Add default values here
466
+ }
467
+ });
456
468
 
457
469
  // src/lib/src/input.tsx
458
470
  var import_react_core_ui11 = require("@openwebf/react-core-ui");
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts","../src/lib/src/timer-picker.tsx","../src/lib/src/textarea.tsx","../src/lib/src/tab_bar.tsx","../src/lib/src/tab.tsx","../src/lib/src/switch.tsx","../src/lib/src/slider.tsx","../src/lib/src/search-input.tsx","../src/lib/src/radio.tsx","../src/lib/src/picker.tsx","../src/lib/src/modal-popup.tsx","../src/lib/src/input.tsx","../src/lib/src/icon.tsx","../src/lib/src/date-picker.tsx","../src/lib/src/context-menu.tsx","../src/lib/src/checkbox.tsx","../src/lib/src/button.tsx","../src/utils/createComponent.ts"],"sourcesContent":["/*\n * Generated by TSDL, don't edit this file directly.\n */\nexport { FlutterCupertinoTimerPicker, FlutterCupertinoTimerPickerElement } from \"./lib/src/timer-picker\";\nexport { FlutterCupertinoTextarea, FlutterCupertinoTextareaElement } from \"./lib/src/textarea\";\nexport { FlutterCupertinoTabBar, FlutterCupertinoTabBarElement } from \"./lib/src/tab_bar\";\nexport { FlutterCupertinoTabBarItem, FlutterCupertinoTabBarItemElement } from \"./lib/src/tab_bar\";\nexport { FlutterCupertinoTab, FlutterCupertinoTabElement } from \"./lib/src/tab\";\nexport { FlutterCupertinoTabItem, FlutterCupertinoTabItemElement } from \"./lib/src/tab\";\nexport { FlutterCupertinoSwitch, FlutterCupertinoSwitchElement } from \"./lib/src/switch\";\nexport { FlutterCupertinoSlider, FlutterCupertinoSliderElement } from \"./lib/src/slider\";\nexport { FlutterCupertinoSearchInput, FlutterCupertinoSearchInputElement } from \"./lib/src/search-input\";\nexport { FlutterCupertinoRadio, FlutterCupertinoRadioElement } from \"./lib/src/radio\";\nexport { FlutterCupertinoPicker, FlutterCupertinoPickerElement } from \"./lib/src/picker\";\nexport { FlutterCupertinoModalPopup, FlutterCupertinoModalPopupElement } from \"./lib/src/modal-popup\";\nexport { FlutterCupertinoInput, FlutterCupertinoInputElement } from \"./lib/src/input\";\nexport { FlutterCupertinoIcon, FlutterCupertinoIconElement } from \"./lib/src/icon\";\nexport { FlutterCupertinoDatePicker, FlutterCupertinoDatePickerElement } from \"./lib/src/date-picker\";\nexport { FlutterCupertinoContextMenu, FlutterCupertinoContextMenuElement } from \"./lib/src/context-menu\";\nexport { FlutterCupertinoCheckbox, FlutterCupertinoCheckboxElement } from \"./lib/src/checkbox\";\nexport { FlutterCupertinoButton, FlutterCupertinoButtonElement } from \"./lib/src/button\";\nexport { createComponent } from \"./utils/createComponent\";","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoTimerPickerProps {\n /**\n * mode property\n * @default undefined\n */\n mode?: string;\n /**\n * initialTimerDuration property\n * @default undefined\n */\n initialTimerDuration?: number;\n /**\n * minuteInterval property\n * @default undefined\n */\n minuteInterval?: number;\n /**\n * secondInterval property\n * @default undefined\n */\n secondInterval?: number;\n /**\n * backgroundColor property\n * @default undefined\n */\n backgroundColor?: string;\n /**\n * height property\n * @default undefined\n */\n height?: number;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTimerPickerElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTimerPicker - WebF FlutterCupertinoTimerPicker component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoTimerPicker\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoTimerPicker>\n * ```\n */\nexport const FlutterCupertinoTimerPicker = createWebFComponent<FlutterCupertinoTimerPickerElement, FlutterCupertinoTimerPickerProps>({\n tagName: 'flutter-cupertino-timer-picker',\n displayName: 'FlutterCupertinoTimerPicker',\n // Map props to attributes\n attributeProps: [\n 'mode',\n 'initialTimerDuration',\n 'minuteInterval',\n 'secondInterval',\n 'backgroundColor',\n 'height',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n initialTimerDuration: 'initial-timer-duration',\n minuteInterval: 'minute-interval',\n secondInterval: 'second-interval',\n backgroundColor: 'background-color',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoTextareaProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * placeholder property\n * @default undefined\n */\n placeholder?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * readonly property\n * @default undefined\n */\n readonly?: boolean;\n /**\n * maxLength property\n * @default undefined\n */\n maxLength?: number;\n /**\n * rows property\n * @default undefined\n */\n rows?: number;\n /**\n * showCount property\n * @default undefined\n */\n showCount?: boolean;\n /**\n * autoSize property\n * @default undefined\n */\n autoSize?: boolean;\n /**\n * transparent property\n * @default undefined\n */\n transparent?: boolean;\n /**\n * input event handler\n */\n onInput?: (event: CustomEvent) => void;\n /**\n * complete event handler\n */\n onComplete?: (event: Event) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTextareaElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTextarea - WebF FlutterCupertinoTextarea component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoTextarea\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoTextarea>\n * ```\n */\nexport const FlutterCupertinoTextarea = createWebFComponent<FlutterCupertinoTextareaElement, FlutterCupertinoTextareaProps>({\n tagName: 'flutter-cupertino-textarea',\n displayName: 'FlutterCupertinoTextarea',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'placeholder',\n 'disabled',\n 'readonly',\n 'maxLength',\n 'rows',\n 'showCount',\n 'autoSize',\n 'transparent',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n maxLength: 'max-length',\n showCount: 'show-count',\n autoSize: 'auto-size',\n },\n // Event handlers\n events: [\n {\n propName: 'onInput',\n eventName: 'input',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onComplete',\n eventName: 'complete',\n handler: (callback) => (event) => {\n callback((event as Event));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ntype CupertinoTabBarIcon = \"home\" | \"house\" | \"house_fill\" | \"search\" | \"search_circle\" | \"search_circle_fill\" | \"add\" | \"add_circled\" | \"add_circled_solid\" | \"plus\" | \"plus_circle\" | \"plus_circle_fill\" | \"person\" | \"person_fill\" | \"person_circle\" | \"person_circle_fill\" | \"profile_circled\" | \"bell\" | \"bell_fill\" | \"bell_circle\" | \"bell_circle_fill\" | \"chat_bubble\" | \"chat_bubble_fill\" | \"chat_bubble_2\" | \"chat_bubble_2_fill\" | \"mail\" | \"mail_solid\" | \"envelope\" | \"envelope_fill\" | \"phone\" | \"phone_fill\" | \"compass\" | \"compass_fill\" | \"location\" | \"location_fill\" | \"map\" | \"map_fill\" | \"photo\" | \"photo_fill\" | \"camera\" | \"camera_fill\" | \"video_camera\" | \"video_camera_solid\" | \"play\" | \"play_fill\" | \"play_circle\" | \"play_circle_fill\" | \"gear\" | \"gear_solid\" | \"settings\" | \"settings_solid\" | \"ellipsis\" | \"ellipsis_circle\" | \"ellipsis_circle_fill\" | \"creditcard\" | \"creditcard_fill\" | \"cart\" | \"cart_fill\" | \"bag\" | \"bag_fill\" | \"doc\" | \"doc_fill\" | \"doc_text\" | \"doc_text_fill\" | \"folder\" | \"folder_fill\" | \"book\" | \"book_fill\" | \"heart\" | \"heart_fill\" | \"star\" | \"star_fill\" | \"hand_thumbsup\" | \"hand_thumbsup_fill\" | \"bookmark\" | \"bookmark_fill\" | \"money_dollar\" | \"money_dollar_circle\" | \"money_dollar_circle_fill\" | \"info\" | \"info_circle\" | \"info_circle_fill\" | \"question\" | \"question_circle\" | \"question_circle_fill\" | \"exclamationmark\" | \"exclamationmark_circle\" | \"exclamationmark_circle_fill\";\ntype int = number;\ninterface FlutterCupertinoTabBarMethods {\n switchTab(path: string): void;\n}\nexport interface FlutterCupertinoTabBarProps {\n /**\n * currentIndex property\n * @default undefined\n */\n currentIndex?: string;\n /**\n * backgroundColor property\n * @default undefined\n */\n backgroundColor?: string;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * inactiveColor property\n * @default undefined\n */\n inactiveColor?: string;\n /**\n * iconSize property\n * @default undefined\n */\n iconSize?: string;\n /**\n * height property\n * @default undefined\n */\n height?: string;\n /**\n * tabchange event handler\n */\n onTabchange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\n/**\n * Element interface with methods accessible via ref\n * @example\n * ```tsx\n * const ref = useRef<FlutterCupertinoTabBarElement>(null);\n * // Call methods on the element\n * ref.current?.finishRefresh('success');\n * ```\n */\nexport interface FlutterCupertinoTabBarElement extends WebFElementWithMethods<{\n switchTab(path: string): void;\n}> {}\n/**\n * FlutterCupertinoTabBar - WebF FlutterCupertinoTabBar component\n * \n * @example\n * ```tsx\n * const ref = useRef<FlutterCupertinoTabBarElement>(null);\n * \n * <FlutterCupertinoTabBar\n * ref={ref}\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoTabBar>\n * \n * // Call methods on the element\n * ref.current?.finishRefresh('success');\n * ```\n */\nexport const FlutterCupertinoTabBar = createWebFComponent<FlutterCupertinoTabBarElement, FlutterCupertinoTabBarProps>({\n tagName: 'flutter-cupertino-tab-bar',\n displayName: 'FlutterCupertinoTabBar',\n // Map props to attributes\n attributeProps: [\n 'currentIndex',\n 'backgroundColor',\n 'activeColor',\n 'inactiveColor',\n 'iconSize',\n 'height',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n currentIndex: 'current-index',\n backgroundColor: 'background-color',\n activeColor: 'active-color',\n inactiveColor: 'inactive-color',\n iconSize: 'icon-size',\n },\n // Event handlers\n events: [\n {\n propName: 'onTabchange',\n eventName: 'tabchange',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});\nexport interface FlutterCupertinoTabBarItemProps {\n /**\n * title property\n * @default undefined\n */\n title?: string;\n /**\n * icon property\n * @default undefined\n */\n icon?: CupertinoTabBarIcon;\n /**\n * path property\n * @default undefined\n */\n path?: string;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabBarItemElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTabBarItem - WebF FlutterCupertinoTabBarItem component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoTabBarItem\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoTabBarItem>\n * ```\n */\nexport const FlutterCupertinoTabBarItem = createWebFComponent<FlutterCupertinoTabBarItemElement, FlutterCupertinoTabBarItemProps>({\n tagName: 'flutter-cupertino-tab-bar-item',\n displayName: 'FlutterCupertinoTabBarItem',\n // Map props to attributes\n attributeProps: [\n 'title',\n 'icon',\n 'path',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ntype int = number;\nexport interface FlutterCupertinoTabProps {\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTab - WebF FlutterCupertinoTab component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoTab\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoTab>\n * ```\n */\nexport const FlutterCupertinoTab = createWebFComponent<FlutterCupertinoTabElement, FlutterCupertinoTabProps>({\n tagName: 'flutter-cupertino-tab',\n displayName: 'FlutterCupertinoTab',\n // Map props to attributes\n attributeProps: [\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});\nexport interface FlutterCupertinoTabItemProps {\n /**\n * title property\n * @default undefined\n */\n title?: string;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabItemElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTabItem - WebF FlutterCupertinoTabItem component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoTabItem\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoTabItem>\n * ```\n */\nexport const FlutterCupertinoTabItem = createWebFComponent<FlutterCupertinoTabItemElement, FlutterCupertinoTabItemProps>({\n tagName: 'flutter-cupertino-tab-item',\n displayName: 'FlutterCupertinoTabItem',\n // Map props to attributes\n attributeProps: [\n 'title',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoSwitchProps {\n /**\n * checked property\n * @default undefined\n */\n checked?: boolean;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * inactiveColor property\n * @default undefined\n */\n inactiveColor?: string;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoSwitchElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoSwitch - WebF FlutterCupertinoSwitch component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoSwitch\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoSwitch>\n * ```\n */\nexport const FlutterCupertinoSwitch = createWebFComponent<FlutterCupertinoSwitchElement, FlutterCupertinoSwitchProps>({\n tagName: 'flutter-cupertino-switch',\n displayName: 'FlutterCupertinoSwitch',\n // Map props to attributes\n attributeProps: [\n 'checked',\n 'disabled',\n 'activeColor',\n 'inactiveColor',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n activeColor: 'active-color',\n inactiveColor: 'inactive-color',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoSliderProps {\n /**\n * val property\n * @default undefined\n */\n val?: number;\n /**\n * min property\n * @default undefined\n */\n min?: number;\n /**\n * max property\n * @default undefined\n */\n max?: number;\n /**\n * step property\n * @default undefined\n */\n step?: number;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * changestart event handler\n */\n onChangestart?: (event: CustomEvent) => void;\n /**\n * changeend event handler\n */\n onChangeend?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoSliderElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoSlider - WebF FlutterCupertinoSlider component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoSlider\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoSlider>\n * ```\n */\nexport const FlutterCupertinoSlider = createWebFComponent<FlutterCupertinoSliderElement, FlutterCupertinoSliderProps>({\n tagName: 'flutter-cupertino-slider',\n displayName: 'FlutterCupertinoSlider',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'min',\n 'max',\n 'step',\n 'disabled',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onChangestart',\n eventName: 'changestart',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onChangeend',\n eventName: 'changeend',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoSearchInputProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * placeholder property\n * @default undefined\n */\n placeholder?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * type property\n * @default undefined\n */\n type?: string;\n /**\n * prefixIcon property\n * @default undefined\n */\n prefixIcon?: string;\n /**\n * suffixIcon property\n * @default undefined\n */\n suffixIcon?: string;\n /**\n * suffixModel property\n * @default undefined\n */\n suffixModel?: string;\n /**\n * itemColor property\n * @default undefined\n */\n itemColor?: string;\n /**\n * itemSize property\n * @default undefined\n */\n itemSize?: number;\n /**\n * autofocus property\n */\n autofocus: boolean;\n /**\n * input event handler\n */\n onInput?: (event: CustomEvent) => void;\n /**\n * search event handler\n */\n onSearch?: (event: CustomEvent) => void;\n /**\n * clear event handler\n */\n onClear?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoSearchInputElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoSearchInput - WebF FlutterCupertinoSearchInput component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoSearchInput\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoSearchInput>\n * ```\n */\nexport const FlutterCupertinoSearchInput = createWebFComponent<FlutterCupertinoSearchInputElement, FlutterCupertinoSearchInputProps>({\n tagName: 'flutter-cupertino-search-input',\n displayName: 'FlutterCupertinoSearchInput',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'placeholder',\n 'disabled',\n 'type',\n 'prefixIcon',\n 'suffixIcon',\n 'suffixModel',\n 'itemColor',\n 'itemSize',\n 'autofocus',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n prefixIcon: 'prefix-icon',\n suffixIcon: 'suffix-icon',\n suffixModel: 'suffix-model',\n itemColor: 'item-color',\n itemSize: 'item-size',\n },\n // Event handlers\n events: [\n {\n propName: 'onInput',\n eventName: 'input',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onSearch',\n eventName: 'search',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onClear',\n eventName: 'clear',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoRadioProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * groupValue property\n * @default undefined\n */\n groupValue?: string;\n /**\n * useCheckmarkStyle property\n * @default undefined\n */\n useCheckmarkStyle?: boolean;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * focusColor property\n * @default undefined\n */\n focusColor?: string;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoRadioElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoRadio - WebF FlutterCupertinoRadio component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoRadio\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoRadio>\n * ```\n */\nexport const FlutterCupertinoRadio = createWebFComponent<FlutterCupertinoRadioElement, FlutterCupertinoRadioProps>({\n tagName: 'flutter-cupertino-radio',\n displayName: 'FlutterCupertinoRadio',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'groupValue',\n 'useCheckmarkStyle',\n 'disabled',\n 'activeColor',\n 'focusColor',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n groupValue: 'group-value',\n useCheckmarkStyle: 'use-checkmark-style',\n activeColor: 'active-color',\n focusColor: 'focus-color',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoPickerProps {\n /**\n * height property\n * @default undefined\n */\n height?: number;\n /**\n * itemHeight property\n * @default undefined\n */\n itemHeight?: number;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoPickerElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoPicker - WebF FlutterCupertinoPicker component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoPicker\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoPicker>\n * ```\n */\nexport const FlutterCupertinoPicker = createWebFComponent<FlutterCupertinoPickerElement, FlutterCupertinoPickerProps>({\n tagName: 'flutter-cupertino-picker',\n displayName: 'FlutterCupertinoPicker',\n // Map props to attributes\n attributeProps: [\n 'height',\n 'itemHeight',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n itemHeight: 'item-height',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoModalPopupProps {\n /**\n * visible property\n * @default undefined\n */\n visible?: boolean;\n /**\n * height property\n * @default undefined\n */\n height?: number;\n /**\n * surfacePainted property\n * @default undefined\n */\n surfacePainted?: boolean;\n /**\n * maskClosable property\n * @default undefined\n */\n maskClosable?: boolean;\n /**\n * backgroundOpacity property\n * @default undefined\n */\n backgroundOpacity?: number;\n /**\n * close event handler\n */\n onClose?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoModalPopupElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoModalPopup - WebF FlutterCupertinoModalPopup component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoModalPopup\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoModalPopup>\n * ```\n */\nexport const FlutterCupertinoModalPopup = createWebFComponent<FlutterCupertinoModalPopupElement, FlutterCupertinoModalPopupProps>({\n tagName: 'flutter-cupertino-modal-popup',\n displayName: 'FlutterCupertinoModalPopup',\n // Map props to attributes\n attributeProps: [\n 'visible',\n 'height',\n 'surfacePainted',\n 'maskClosable',\n 'backgroundOpacity',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n surfacePainted: 'surface-painted',\n maskClosable: 'mask-closable',\n backgroundOpacity: 'background-opacity',\n },\n // Event handlers\n events: [\n {\n propName: 'onClose',\n eventName: 'close',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoInputProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * placeholder property\n * @default undefined\n */\n placeholder?: string;\n /**\n * type property\n * @default undefined\n */\n type?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * autofocus property\n */\n autofocus: boolean;\n /**\n * clearable property\n * @default undefined\n */\n clearable?: boolean;\n /**\n * maxlength property\n * @default undefined\n */\n maxlength?: number;\n /**\n * readonly property\n * @default undefined\n */\n readonly?: boolean;\n /**\n * input event handler\n */\n onInput?: (event: CustomEvent) => void;\n /**\n * submit event handler\n */\n onSubmit?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoInputElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoInput - WebF FlutterCupertinoInput component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoInput\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoInput>\n * ```\n */\nexport const FlutterCupertinoInput = createWebFComponent<FlutterCupertinoInputElement, FlutterCupertinoInputProps>({\n tagName: 'flutter-cupertino-input',\n displayName: 'FlutterCupertinoInput',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'placeholder',\n 'type',\n 'disabled',\n 'autofocus',\n 'clearable',\n 'maxlength',\n 'readonly',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Event handlers\n events: [\n {\n propName: 'onInput',\n eventName: 'input',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onSubmit',\n eventName: 'submit',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoIconProps {\n /**\n * type property\n * @default undefined\n */\n type?: string;\n /**\n * label property\n * @default undefined\n */\n label?: string;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoIconElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoIcon - WebF FlutterCupertinoIcon component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoIcon\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoIcon>\n * ```\n */\nexport const FlutterCupertinoIcon = createWebFComponent<FlutterCupertinoIconElement, FlutterCupertinoIconProps>({\n tagName: 'flutter-cupertino-icon',\n displayName: 'FlutterCupertinoIcon',\n // Map props to attributes\n attributeProps: [\n 'type',\n 'label',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoDatePickerProps {\n /**\n * mode property\n * @default undefined\n */\n mode?: string;\n /**\n * minimumDate property\n * @default undefined\n */\n minimumDate?: string;\n /**\n * maximumDate property\n * @default undefined\n */\n maximumDate?: string;\n /**\n * minuteInterval property\n * @default undefined\n */\n minuteInterval?: string;\n /**\n * value property\n * @default undefined\n */\n value?: string;\n /**\n * minimumYear property\n * @default undefined\n */\n minimumYear?: string;\n /**\n * maximumYear property\n * @default undefined\n */\n maximumYear?: string;\n /**\n * showDayOfWeek property\n * @default undefined\n */\n showDayOfWeek?: string;\n /**\n * dateOrder property\n * @default undefined\n */\n dateOrder?: string;\n /**\n * height property\n * @default undefined\n */\n height?: string;\n /**\n * use24H property\n * @default undefined\n */\n use24H?: boolean;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoDatePickerElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoDatePicker - WebF FlutterCupertinoDatePicker component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoDatePicker\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoDatePicker>\n * ```\n */\nexport const FlutterCupertinoDatePicker = createWebFComponent<FlutterCupertinoDatePickerElement, FlutterCupertinoDatePickerProps>({\n tagName: 'flutter-cupertino-date-picker',\n displayName: 'FlutterCupertinoDatePicker',\n // Map props to attributes\n attributeProps: [\n 'mode',\n 'minimumDate',\n 'maximumDate',\n 'minuteInterval',\n 'value',\n 'minimumYear',\n 'maximumYear',\n 'showDayOfWeek',\n 'dateOrder',\n 'height',\n 'use24H',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n minimumDate: 'minimum-date',\n maximumDate: 'maximum-date',\n minuteInterval: 'minute-interval',\n minimumYear: 'minimum-year',\n maximumYear: 'maximum-year',\n showDayOfWeek: 'show-day-of-week',\n dateOrder: 'date-order',\n use24H: 'use-24-h',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface ContextMenuAction {\n text: string;\n icon?: string;\n destructive?: boolean;\n default?: boolean;\n event?: string;\n}\nexport interface FlutterCupertinoContextMenuProps {\n /**\n * enableHapticFeedback property\n * @default undefined\n */\n enableHapticFeedback?: boolean;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoContextMenuElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoContextMenu - WebF FlutterCupertinoContextMenu component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoContextMenu\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoContextMenu>\n * ```\n */\nexport const FlutterCupertinoContextMenu = createWebFComponent<FlutterCupertinoContextMenuElement, FlutterCupertinoContextMenuProps>({\n tagName: 'flutter-cupertino-context-menu',\n displayName: 'FlutterCupertinoContextMenu',\n // Map props to attributes\n attributeProps: [\n 'enableHapticFeedback',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n enableHapticFeedback: 'enable-haptic-feedback',\n },\n // Event handlers\n events: [\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoCheckboxProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * checkColor property\n * @default undefined\n */\n checkColor?: string;\n /**\n * focusColor property\n * @default undefined\n */\n focusColor?: string;\n /**\n * fillColorSelected property\n * @default undefined\n */\n fillColorSelected?: string;\n /**\n * fillColorDisabled property\n * @default undefined\n */\n fillColorDisabled?: string;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoCheckboxElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoCheckbox - WebF FlutterCupertinoCheckbox component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoCheckbox\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoCheckbox>\n * ```\n */\nexport const FlutterCupertinoCheckbox = createWebFComponent<FlutterCupertinoCheckboxElement, FlutterCupertinoCheckboxProps>({\n tagName: 'flutter-cupertino-checkbox',\n displayName: 'FlutterCupertinoCheckbox',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'disabled',\n 'activeColor',\n 'checkColor',\n 'focusColor',\n 'fillColorSelected',\n 'fillColorDisabled',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n activeColor: 'active-color',\n checkColor: 'check-color',\n focusColor: 'focus-color',\n fillColorSelected: 'fill-color-selected',\n fillColorDisabled: 'fill-color-disabled',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoButtonProps {\n /**\n * variant property\n * @default undefined\n */\n variant?: string;\n /**\n * size property\n * @default undefined\n */\n size?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * pressedOpacity property\n * @default undefined\n */\n pressedOpacity?: string;\n /**\n * click event handler\n */\n onClick?: (event: Event) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoButtonElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoButton - WebF FlutterCupertinoButton component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoButton\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoButton>\n * ```\n */\nexport const FlutterCupertinoButton = createWebFComponent<FlutterCupertinoButtonElement, FlutterCupertinoButtonProps>({\n tagName: 'flutter-cupertino-button',\n displayName: 'FlutterCupertinoButton',\n // Map props to attributes\n attributeProps: [\n 'variant',\n 'size',\n 'disabled',\n 'pressedOpacity',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n pressedOpacity: 'pressed-opacity',\n },\n // Event handlers\n events: [\n {\n propName: 'onClick',\n eventName: 'click',\n handler: (callback) => (event) => {\n callback((event as Event));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","// @ts-nocheck\n/* eslint-disable no-param-reassign */\n/* eslint-disable react-hooks/rules-of-hooks */\n/* eslint-disable @typescript-eslint/ban-types */\n/* eslint-disable no-use-before-define */\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport React, { forwardRef, useLayoutEffect, createElement, MouseEventHandler, useCallback, useRef } from 'react'\n\nconst NODE_MODE = false\n// const DEV_MODE = true\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype DistributiveOmit<T, K extends string | number | symbol> = T extends any ? (K extends keyof T ? Omit<T, K> : T) : T\ntype PropsWithoutRef<T> = DistributiveOmit<T, 'ref'>\n\n/**\n * Creates a type to be used for the props of a web component used directly in\n * React JSX.\n *\n * Example:\n *\n * ```ts\n * declare module \"react\" {\n * namespace JSX {\n * interface IntrinsicElements {\n * 'x-foo': WebComponentProps<XFoo>;\n * }\n * }\n * }\n * ```\n */\nexport type WebComponentProps<I extends HTMLElement> = React.DetailedHTMLProps<React.HTMLAttributes<I>, I> &\n ElementProps<I>\n\n/**\n * Type of the React component wrapping the web component. This is the return\n * type of `createComponent`.\n */\nexport type ReactWebComponent<I extends HTMLElement, E extends EventNames = {}> = React.ForwardRefExoticComponent<\n // TODO(augustjk): Remove and use `React.PropsWithoutRef` when\n // [preact/compat] missing type `PropsWithoutRef` · Issue #4124 · preactjs/preact is fixed.\n PropsWithoutRef<ComponentProps<I, E>> & React.RefAttributes<I>\n>\n\n// Props derived from custom element class. Currently has limitations of making\n// all properties optional and also surfaces life cycle methods in autocomplete.\n// TODO(augustjk) Consider omitting keyof LitElement to remove \"internal\"\n// lifecycle methods or allow user to explicitly provide props.\ntype ElementProps<I> = Partial<Omit<I, keyof HTMLElement>>\n\n// Acceptable props to the React component.\ntype ComponentProps<I, E extends EventNames = {}> = Omit<\n React.HTMLAttributes<I>,\n // Prefer type of provided event handler props or those on element over\n // built-in HTMLAttributes\n keyof E | keyof ElementProps<I>\n> &\n ElementProps<I>\n\n/**\n * Type used to cast an event name with an event type when providing the\n * `events` option to `createComponent` for better typing of the event handler\n * prop.\n *\n * Example:\n *\n * ```ts\n * const FooComponent = createComponent({\n * ...\n * events: {\n * onfoo: 'foo' as EventName<FooEvent>,\n * }\n * });\n * ```\n *\n * `onfoo` prop will have the type `(e: FooEvent) => void`.\n */\nexport type EventName<T extends Event = Event> = string & {\n __eventType: T\n}\n\n// A key value map matching React prop names to event names.\ntype EventNames = Record<string, EventName | string>\n\n// A map of expected event listener types based on EventNames.\n\nexport interface Options<E extends EventNames = {}> {\n tagName: string\n events?: E\n displayName?: string\n}\n\n// type Constructor<T> = { new (): T }\n\nconst reservedReactProperties = new Set(['children', 'localName', 'ref', 'style', 'className'])\n\nconst listenedEvents = new WeakMap<Element, Map<string, EventListenerObject>>()\n\n/**\n * Adds an event listener for the specified event to the given node. In the\n * React setup, there should only ever be one event listener. Thus, for\n * efficiency only one listener is added and the handler for that listener is\n * updated to point to the given listener function.\n */\nconst addOrUpdateEventListener = (node: Element, event: string, listener: (event?: Event) => void) => {\n let events = listenedEvents.get(node)\n if (events === undefined) {\n listenedEvents.set(node, (events = new Map()))\n }\n let handler = events.get(event)\n if (listener !== undefined) {\n // If necessary, add listener and track handler\n if (handler === undefined) {\n events.set(event, (handler = { handleEvent: listener }))\n node.addEventListener(event, handler)\n // Otherwise just update the listener with new value\n } else {\n handler.handleEvent = listener\n }\n // Remove listener if one exists and value is undefined\n } else if (handler !== undefined) {\n events.delete(event)\n node.removeEventListener(event, handler)\n }\n}\n\n/**\n * Sets properties and events on custom elements. These properties and events\n * have been pre-filtered so we know they should apply to the custom element.\n */\nconst setProperty = <E extends Element>(node: E, name: string, value: unknown, old: unknown, events?: EventNames) => {\n const event = events?.[name]\n // Dirty check event value.\n if (event !== undefined) {\n if (value !== old) {\n addOrUpdateEventListener(node, event, value as (e?: Event) => void)\n }\n return\n }\n // But don't dirty check properties; elements are assumed to do this.\n node[name as keyof E] = value as E[keyof E]\n\n // This block is to replicate React's behavior for attributes of native\n // elements where `undefined` or `null` values result in attributes being\n // removed.\n // react/packages/react-dom-bindings/src/client/DOMPropertyOperations.js at 899cb95f52cc83ab5ca1eb1e268\n //\n // It's only needed here for native HTMLElement properties that reflect\n // attributes of the same name but don't have that behavior like \"id\" or\n // \"draggable\".\n if ((value === undefined || value === null) && name in HTMLElement.prototype) {\n node.removeAttribute(name)\n }\n}\n\n/**\n * Creates a React component for a custom element. Properties are distinguished\n * from attributes automatically, and events can be configured so they are added\n * to the custom element as event listeners.\n *\n * @param options An options bag containing the parameters needed to generate a\n * wrapped web component.\n *\n * @param options.react The React module, typically imported from the `react`\n * npm package.\n * @param options.tagName The custom element tag name registered via\n * `customElements.define`.\n * @param options.elementClass The custom element class registered via\n * `customElements.define`.\n * @param options.events An object listing events to which the component can\n * listen. The object keys are the event property names passed in via React\n * props and the object values are the names of the corresponding events\n * generated by the custom element. For example, given `{onactivate:\n * 'activate'}` an event function may be passed via the component's `onactivate`\n * prop and will be called when the custom element fires its `activate` event.\n * @param options.displayName A React component display name, used in debugging\n * messages. Default value is inferred from the name of custom element class\n * registered via `customElements.define`.\n */\n// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-constraint\nexport const createComponent = <E extends any, I extends any>({\n tagName,\n events,\n displayName\n}: Options): ReactWebComponent<E, I> => {\n const eventProps = new Set(Object.keys(events ?? {}))\n\n type Props = ComponentProps<I>\n const ReactComponent = forwardRef<I, Props>((props, ref) => {\n const prevElemPropsRef = useRef(new Map())\n const elementRef = useRef<E | null>(null)\n\n // Props to be passed to React.createElement\n const reactProps: Record<string, unknown> = {}\n // Props to be set on element with setProperty\n const elementProps: Record<string, unknown> = {}\n\n for (const [k, v] of Object.entries(props)) {\n if (reservedReactProperties.has(k)) {\n // React does *not* handle `className` for custom elements so\n // coerce it to `class` so it's handled correctly.\n reactProps[k === 'className' ? 'class' : k] = v\n continue\n }\n\n if (eventProps.has(k)) {\n elementProps[k] = v\n continue\n }\n\n reactProps[k] = v\n }\n\n // useLayoutEffect produces warnings during server rendering.\n\n // This one has no dependency array so it'll run on every re-render.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useLayoutEffect(() => {\n if (elementRef.current === null) {\n return\n }\n const newElemProps = new Map()\n for (const key in elementProps) {\n setProperty(elementRef.current, key, props[key], prevElemPropsRef.current.get(key), events)\n prevElemPropsRef.current.delete(key)\n newElemProps.set(key, props[key])\n }\n // \"Unset\" any props from previous render that no longer exist.\n // Setting to `undefined` seems like the correct thing to \"unset\"\n // but currently React will set it as `null`.\n // See Bug: Removal of custom element property sets it to `null` rather than `undefined` · Issue #28203 · f\n for (const [key, value] of prevElemPropsRef.current) {\n setProperty(elementRef.current, key, undefined, value, events)\n }\n prevElemPropsRef.current = newElemProps\n })\n\n // Empty dependency array so this will only run once after first render.\n useLayoutEffect(() => {\n elementRef.current?.removeAttribute('defer-hydration')\n }, [])\n // }\n\n if (NODE_MODE) {\n // If component is to be server rendered with `@lit/ssr-react`, pass\n // element properties in a special bag to be set by the server-side\n // element renderer.\n if (\n (createElement.name === 'litPatchedCreateElement' || globalThis.litSsrReactEnabled) &&\n Object.keys(elementProps).length\n ) {\n // This property needs to remain unminified.\n reactProps['_$litProps$'] = elementProps\n }\n } else {\n // Suppress hydration warning for server-rendered attributes.\n // This property needs to remain unminified.\n reactProps['suppressHydrationWarning'] = true\n }\n\n return createElement(tagName, {\n ...reactProps,\n ref: useCallback(\n (node: I) => {\n elementRef.current = node\n if (typeof ref === 'function') {\n ref(node)\n } else if (ref !== null) {\n // eslint-disable-next-line no-param-reassign\n ref.current = node\n }\n },\n [ref]\n )\n })\n })\n\n ReactComponent.displayName = displayName\n\n return ReactComponent\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,2BA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Q,YAAY;AAC7B,gBAAI,IAAI;AAAA,UACV,WAAW,QAAQ,MAAM;AAEvB,gBAAI,UAAU;AAAA,UAChB;AAAA,QACF;AAAA,QACA,CAAC,GAAG;AAAA,MACN;AAAA,IACF,CAAC;AAAA,EACH,CAAC;AAED,iBAAe,cAAc;AAE7B,SAAO;AACT;","names":["import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui"]}
1
+ {"version":3,"sources":["../src/index.ts","../src/lib/src/timer-picker.tsx","../src/lib/src/textarea.tsx","../src/lib/src/tab_bar.tsx","../src/lib/src/tab.tsx","../src/lib/src/switch.tsx","../src/lib/src/slider.tsx","../src/lib/src/search-input.tsx","../src/lib/src/radio.tsx","../src/lib/src/picker.tsx","../src/lib/src/modal-popup.tsx","../src/lib/src/input.tsx","../src/lib/src/icon.tsx","../src/lib/src/date-picker.tsx","../src/lib/src/context-menu.tsx","../src/lib/src/checkbox.tsx","../src/lib/src/button.tsx","../src/utils/createComponent.ts"],"sourcesContent":["/*\n * Generated by TSDL, don't edit this file directly.\n */\nexport { FlutterCupertinoTimerPicker, FlutterCupertinoTimerPickerElement } from \"./lib/src/timer-picker\";\nexport { FlutterCupertinoTextarea, FlutterCupertinoTextareaElement } from \"./lib/src/textarea\";\nexport { FlutterCupertinoTabBar, FlutterCupertinoTabBarElement } from \"./lib/src/tab_bar\";\nexport { FlutterCupertinoTabBarItem, FlutterCupertinoTabBarItemElement } from \"./lib/src/tab_bar\";\nexport { FlutterCupertinoTab, FlutterCupertinoTabElement } from \"./lib/src/tab\";\nexport { FlutterCupertinoTabItem, FlutterCupertinoTabItemElement } from \"./lib/src/tab\";\nexport { FlutterCupertinoSwitch, FlutterCupertinoSwitchElement } from \"./lib/src/switch\";\nexport { FlutterCupertinoSlider, FlutterCupertinoSliderElement } from \"./lib/src/slider\";\nexport { FlutterCupertinoSearchInput, FlutterCupertinoSearchInputElement } from \"./lib/src/search-input\";\nexport { FlutterCupertinoRadio, FlutterCupertinoRadioElement } from \"./lib/src/radio\";\nexport { FlutterCupertinoPicker, FlutterCupertinoPickerElement } from \"./lib/src/picker\";\nexport { FlutterCupertinoModalPopup, FlutterCupertinoModalPopupElement } from \"./lib/src/modal-popup\";\nexport { FlutterCupertinoInput, FlutterCupertinoInputElement } from \"./lib/src/input\";\nexport { FlutterCupertinoIcon, FlutterCupertinoIconElement } from \"./lib/src/icon\";\nexport { FlutterCupertinoDatePicker, FlutterCupertinoDatePickerElement } from \"./lib/src/date-picker\";\nexport { FlutterCupertinoContextMenu, FlutterCupertinoContextMenuElement } from \"./lib/src/context-menu\";\nexport { FlutterCupertinoCheckbox, FlutterCupertinoCheckboxElement } from \"./lib/src/checkbox\";\nexport { FlutterCupertinoButton, FlutterCupertinoButtonElement } from \"./lib/src/button\";\nexport { createComponent } from \"./utils/createComponent\";","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoTimerPickerProps {\n /**\n * mode property\n * @default undefined\n */\n mode?: string;\n /**\n * initialTimerDuration property\n * @default undefined\n */\n initialTimerDuration?: number;\n /**\n * minuteInterval property\n * @default undefined\n */\n minuteInterval?: number;\n /**\n * secondInterval property\n * @default undefined\n */\n secondInterval?: number;\n /**\n * backgroundColor property\n * @default undefined\n */\n backgroundColor?: string;\n /**\n * height property\n * @default undefined\n */\n height?: number;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTimerPickerElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTimerPicker - WebF FlutterCupertinoTimerPicker component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoTimerPicker\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoTimerPicker>\n * ```\n */\nexport const FlutterCupertinoTimerPicker = createWebFComponent<FlutterCupertinoTimerPickerElement, FlutterCupertinoTimerPickerProps>({\n tagName: 'flutter-cupertino-timer-picker',\n displayName: 'FlutterCupertinoTimerPicker',\n // Map props to attributes\n attributeProps: [\n 'mode',\n 'initialTimerDuration',\n 'minuteInterval',\n 'secondInterval',\n 'backgroundColor',\n 'height',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n initialTimerDuration: 'initial-timer-duration',\n minuteInterval: 'minute-interval',\n secondInterval: 'second-interval',\n backgroundColor: 'background-color',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface FlutterCupertinoTextareaMethods {\n focus(): void;\n blur(): void;\n clear(): void;\n}\nexport interface FlutterCupertinoTextareaProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * placeholder property\n * @default undefined\n */\n placeholder?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * readonly property\n * @default undefined\n */\n readonly?: boolean;\n /**\n * maxLength property\n * @default undefined\n */\n maxLength?: number;\n /**\n * rows property\n * @default undefined\n */\n rows?: number;\n /**\n * showCount property\n * @default undefined\n */\n showCount?: boolean;\n /**\n * autoSize property\n * @default undefined\n */\n autoSize?: boolean;\n /**\n * transparent property\n * @default undefined\n */\n transparent?: boolean;\n /**\n * input event handler\n */\n onInput?: (event: CustomEvent) => void;\n /**\n * complete event handler\n */\n onComplete?: (event: Event) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTextareaElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTextarea - WebF FlutterCupertinoTextarea component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoTextarea\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoTextarea>\n * ```\n */\nexport const FlutterCupertinoTextarea = createWebFComponent<FlutterCupertinoTextareaElement, FlutterCupertinoTextareaProps>({\n tagName: 'flutter-cupertino-textarea',\n displayName: 'FlutterCupertinoTextarea',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'placeholder',\n 'disabled',\n 'readonly',\n 'maxLength',\n 'rows',\n 'showCount',\n 'autoSize',\n 'transparent',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n maxLength: 'max-length',\n showCount: 'show-count',\n autoSize: 'auto-size',\n },\n // Event handlers\n events: [\n {\n propName: 'onInput',\n eventName: 'input',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onComplete',\n eventName: 'complete',\n handler: (callback) => (event) => {\n callback((event as Event));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ntype CupertinoTabBarIcon = \"home\" | \"house\" | \"house_fill\" | \"search\" | \"search_circle\" | \"search_circle_fill\" | \"add\" | \"add_circled\" | \"add_circled_solid\" | \"plus\" | \"plus_circle\" | \"plus_circle_fill\" | \"person\" | \"person_fill\" | \"person_circle\" | \"person_circle_fill\" | \"profile_circled\" | \"bell\" | \"bell_fill\" | \"bell_circle\" | \"bell_circle_fill\" | \"chat_bubble\" | \"chat_bubble_fill\" | \"chat_bubble_2\" | \"chat_bubble_2_fill\" | \"mail\" | \"mail_solid\" | \"envelope\" | \"envelope_fill\" | \"phone\" | \"phone_fill\" | \"compass\" | \"compass_fill\" | \"location\" | \"location_fill\" | \"map\" | \"map_fill\" | \"photo\" | \"photo_fill\" | \"camera\" | \"camera_fill\" | \"video_camera\" | \"video_camera_solid\" | \"play\" | \"play_fill\" | \"play_circle\" | \"play_circle_fill\" | \"gear\" | \"gear_solid\" | \"settings\" | \"settings_solid\" | \"ellipsis\" | \"ellipsis_circle\" | \"ellipsis_circle_fill\" | \"creditcard\" | \"creditcard_fill\" | \"cart\" | \"cart_fill\" | \"bag\" | \"bag_fill\" | \"doc\" | \"doc_fill\" | \"doc_text\" | \"doc_text_fill\" | \"folder\" | \"folder_fill\" | \"book\" | \"book_fill\" | \"heart\" | \"heart_fill\" | \"star\" | \"star_fill\" | \"hand_thumbsup\" | \"hand_thumbsup_fill\" | \"bookmark\" | \"bookmark_fill\" | \"money_dollar\" | \"money_dollar_circle\" | \"money_dollar_circle_fill\" | \"info\" | \"info_circle\" | \"info_circle_fill\" | \"question\" | \"question_circle\" | \"question_circle_fill\" | \"exclamationmark\" | \"exclamationmark_circle\" | \"exclamationmark_circle_fill\";\ntype int = number;\ninterface FlutterCupertinoTabBarMethods {\n switchTab(path: string): void;\n}\nexport interface FlutterCupertinoTabBarProps {\n /**\n * currentIndex property\n * @default undefined\n */\n currentIndex?: string;\n /**\n * backgroundColor property\n * @default undefined\n */\n backgroundColor?: string;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * inactiveColor property\n * @default undefined\n */\n inactiveColor?: string;\n /**\n * iconSize property\n * @default undefined\n */\n iconSize?: string;\n /**\n * height property\n * @default undefined\n */\n height?: string;\n /**\n * tabchange event handler\n */\n onTabchange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabBarElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTabBar - WebF FlutterCupertinoTabBar component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoTabBar\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoTabBar>\n * ```\n */\nexport const FlutterCupertinoTabBar = createWebFComponent<FlutterCupertinoTabBarElement, FlutterCupertinoTabBarProps>({\n tagName: 'flutter-cupertino-tab-bar',\n displayName: 'FlutterCupertinoTabBar',\n // Map props to attributes\n attributeProps: [\n 'currentIndex',\n 'backgroundColor',\n 'activeColor',\n 'inactiveColor',\n 'iconSize',\n 'height',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n currentIndex: 'current-index',\n backgroundColor: 'background-color',\n activeColor: 'active-color',\n inactiveColor: 'inactive-color',\n iconSize: 'icon-size',\n },\n // Event handlers\n events: [\n {\n propName: 'onTabchange',\n eventName: 'tabchange',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});\nexport interface FlutterCupertinoTabBarItemProps {\n /**\n * title property\n * @default undefined\n */\n title?: string;\n /**\n * icon property\n * @default undefined\n */\n icon?: CupertinoTabBarIcon;\n /**\n * path property\n * @default undefined\n */\n path?: string;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabBarItemElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTabBarItem - WebF FlutterCupertinoTabBarItem component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoTabBarItem\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoTabBarItem>\n * ```\n */\nexport const FlutterCupertinoTabBarItem = createWebFComponent<FlutterCupertinoTabBarItemElement, FlutterCupertinoTabBarItemProps>({\n tagName: 'flutter-cupertino-tab-bar-item',\n displayName: 'FlutterCupertinoTabBarItem',\n // Map props to attributes\n attributeProps: [\n 'title',\n 'icon',\n 'path',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ntype int = number;\nexport interface FlutterCupertinoTabProps {\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabElement extends WebFElementWithMethods<{\n switchTab(index: number): void;\n}> {}\n/**\n * FlutterCupertinoTab - WebF FlutterCupertinoTab component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoTab\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoTab>\n * ```\n */\nexport const FlutterCupertinoTab = createWebFComponent<FlutterCupertinoTabElement, FlutterCupertinoTabProps>({\n tagName: 'flutter-cupertino-tab',\n displayName: 'FlutterCupertinoTab',\n // Map props to attributes\n attributeProps: [\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});\nexport interface FlutterCupertinoTabItemProps {\n /**\n * title property\n * @default undefined\n */\n title?: string;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabItemElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTabItem - WebF FlutterCupertinoTabItem component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoTabItem\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoTabItem>\n * ```\n */\nexport const FlutterCupertinoTabItem = createWebFComponent<FlutterCupertinoTabItemElement, FlutterCupertinoTabItemProps>({\n tagName: 'flutter-cupertino-tab-item',\n displayName: 'FlutterCupertinoTabItem',\n // Map props to attributes\n attributeProps: [\n 'title',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoSwitchProps {\n /**\n * checked property\n * @default undefined\n */\n checked?: boolean;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * inactiveColor property\n * @default undefined\n */\n inactiveColor?: string;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoSwitchElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoSwitch - WebF FlutterCupertinoSwitch component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoSwitch\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoSwitch>\n * ```\n */\nexport const FlutterCupertinoSwitch = createWebFComponent<FlutterCupertinoSwitchElement, FlutterCupertinoSwitchProps>({\n tagName: 'flutter-cupertino-switch',\n displayName: 'FlutterCupertinoSwitch',\n // Map props to attributes\n attributeProps: [\n 'checked',\n 'disabled',\n 'activeColor',\n 'inactiveColor',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n activeColor: 'active-color',\n inactiveColor: 'inactive-color',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface FlutterCupertinoSliderMethods {\n getValue(): number;\n setValue(val: number): void;\n}\nexport interface FlutterCupertinoSliderProps {\n /**\n * val property\n * @default undefined\n */\n val?: number;\n /**\n * min property\n * @default undefined\n */\n min?: number;\n /**\n * max property\n * @default undefined\n */\n max?: number;\n /**\n * step property\n * @default undefined\n */\n step?: number;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * changestart event handler\n */\n onChangestart?: (event: CustomEvent) => void;\n /**\n * changeend event handler\n */\n onChangeend?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoSliderElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoSlider - WebF FlutterCupertinoSlider component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoSlider\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoSlider>\n * ```\n */\nexport const FlutterCupertinoSlider = createWebFComponent<FlutterCupertinoSliderElement, FlutterCupertinoSliderProps>({\n tagName: 'flutter-cupertino-slider',\n displayName: 'FlutterCupertinoSlider',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'min',\n 'max',\n 'step',\n 'disabled',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onChangestart',\n eventName: 'changestart',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onChangeend',\n eventName: 'changeend',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface FlutterCupertinoSearchInputMethods {\n getValue(): string;\n setValue(value: string): void;\n focus(): void;\n blur(): void;\n clear(): void;\n}\nexport interface FlutterCupertinoSearchInputProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * placeholder property\n * @default undefined\n */\n placeholder?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * type property\n * @default undefined\n */\n type?: string;\n /**\n * prefixIcon property\n * @default undefined\n */\n prefixIcon?: string;\n /**\n * suffixIcon property\n * @default undefined\n */\n suffixIcon?: string;\n /**\n * suffixModel property\n * @default undefined\n */\n suffixModel?: string;\n /**\n * itemColor property\n * @default undefined\n */\n itemColor?: string;\n /**\n * itemSize property\n * @default undefined\n */\n itemSize?: number;\n /**\n * autofocus property\n */\n autofocus: boolean;\n /**\n * input event handler\n */\n onInput?: (event: CustomEvent) => void;\n /**\n * search event handler\n */\n onSearch?: (event: CustomEvent) => void;\n /**\n * clear event handler\n */\n onClear?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoSearchInputElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoSearchInput - WebF FlutterCupertinoSearchInput component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoSearchInput\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoSearchInput>\n * ```\n */\nexport const FlutterCupertinoSearchInput = createWebFComponent<FlutterCupertinoSearchInputElement, FlutterCupertinoSearchInputProps>({\n tagName: 'flutter-cupertino-search-input',\n displayName: 'FlutterCupertinoSearchInput',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'placeholder',\n 'disabled',\n 'type',\n 'prefixIcon',\n 'suffixIcon',\n 'suffixModel',\n 'itemColor',\n 'itemSize',\n 'autofocus',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n prefixIcon: 'prefix-icon',\n suffixIcon: 'suffix-icon',\n suffixModel: 'suffix-model',\n itemColor: 'item-color',\n itemSize: 'item-size',\n },\n // Event handlers\n events: [\n {\n propName: 'onInput',\n eventName: 'input',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onSearch',\n eventName: 'search',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onClear',\n eventName: 'clear',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoRadioProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * groupValue property\n * @default undefined\n */\n groupValue?: string;\n /**\n * useCheckmarkStyle property\n * @default undefined\n */\n useCheckmarkStyle?: boolean;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * focusColor property\n * @default undefined\n */\n focusColor?: string;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoRadioElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoRadio - WebF FlutterCupertinoRadio component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoRadio\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoRadio>\n * ```\n */\nexport const FlutterCupertinoRadio = createWebFComponent<FlutterCupertinoRadioElement, FlutterCupertinoRadioProps>({\n tagName: 'flutter-cupertino-radio',\n displayName: 'FlutterCupertinoRadio',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'groupValue',\n 'useCheckmarkStyle',\n 'disabled',\n 'activeColor',\n 'focusColor',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n groupValue: 'group-value',\n useCheckmarkStyle: 'use-checkmark-style',\n activeColor: 'active-color',\n focusColor: 'focus-color',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoPickerProps {\n /**\n * height property\n * @default undefined\n */\n height?: number;\n /**\n * itemHeight property\n * @default undefined\n */\n itemHeight?: number;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoPickerElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoPicker - WebF FlutterCupertinoPicker component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoPicker\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoPicker>\n * ```\n */\nexport const FlutterCupertinoPicker = createWebFComponent<FlutterCupertinoPickerElement, FlutterCupertinoPickerProps>({\n tagName: 'flutter-cupertino-picker',\n displayName: 'FlutterCupertinoPicker',\n // Map props to attributes\n attributeProps: [\n 'height',\n 'itemHeight',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n itemHeight: 'item-height',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface FlutterCupertinoModelPopupMethods {\n show(): void;\n hide(): void;\n}\nexport interface FlutterCupertinoModalPopupProps {\n /**\n * visible property\n * @default undefined\n */\n visible?: boolean;\n /**\n * height property\n * @default undefined\n */\n height?: number;\n /**\n * surfacePainted property\n * @default undefined\n */\n surfacePainted?: boolean;\n /**\n * maskClosable property\n * @default undefined\n */\n maskClosable?: boolean;\n /**\n * backgroundOpacity property\n * @default undefined\n */\n backgroundOpacity?: number;\n /**\n * close event handler\n */\n onClose?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoModalPopupElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoModalPopup - WebF FlutterCupertinoModalPopup component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoModalPopup\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoModalPopup>\n * ```\n */\nexport const FlutterCupertinoModalPopup = createWebFComponent<FlutterCupertinoModalPopupElement, FlutterCupertinoModalPopupProps>({\n tagName: 'flutter-cupertino-modal-popup',\n displayName: 'FlutterCupertinoModalPopup',\n // Map props to attributes\n attributeProps: [\n 'visible',\n 'height',\n 'surfacePainted',\n 'maskClosable',\n 'backgroundOpacity',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n surfacePainted: 'surface-painted',\n maskClosable: 'mask-closable',\n backgroundOpacity: 'background-opacity',\n },\n // Event handlers\n events: [\n {\n propName: 'onClose',\n eventName: 'close',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});\nexport interface FlutterCupertinoModelPopupProps {\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoModelPopupElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoModelPopup - WebF FlutterCupertinoModelPopup component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoModelPopup\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoModelPopup>\n * ```\n */\nexport const FlutterCupertinoModelPopup = createWebFComponent<FlutterCupertinoModelPopupElement, FlutterCupertinoModelPopupProps>({\n tagName: 'flutter-cupertino-model-popup',\n displayName: 'FlutterCupertinoModelPopup',\n // Map props to attributes\n attributeProps: [\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface FlutterCupertinoInputMethods {\n getValue(): string;\n setValue(value: string): void;\n focus(): void;\n blur(): void;\n}\nexport interface FlutterCupertinoInputProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * placeholder property\n * @default undefined\n */\n placeholder?: string;\n /**\n * type property\n * @default undefined\n */\n type?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * autofocus property\n */\n autofocus: boolean;\n /**\n * clearable property\n * @default undefined\n */\n clearable?: boolean;\n /**\n * maxlength property\n * @default undefined\n */\n maxlength?: number;\n /**\n * readonly property\n * @default undefined\n */\n readonly?: boolean;\n /**\n * input event handler\n */\n onInput?: (event: CustomEvent) => void;\n /**\n * submit event handler\n */\n onSubmit?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoInputElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoInput - WebF FlutterCupertinoInput component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoInput\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoInput>\n * ```\n */\nexport const FlutterCupertinoInput = createWebFComponent<FlutterCupertinoInputElement, FlutterCupertinoInputProps>({\n tagName: 'flutter-cupertino-input',\n displayName: 'FlutterCupertinoInput',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'placeholder',\n 'type',\n 'disabled',\n 'autofocus',\n 'clearable',\n 'maxlength',\n 'readonly',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Event handlers\n events: [\n {\n propName: 'onInput',\n eventName: 'input',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onSubmit',\n eventName: 'submit',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoIconProps {\n /**\n * type property\n * @default undefined\n */\n type?: string;\n /**\n * label property\n * @default undefined\n */\n label?: string;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoIconElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoIcon - WebF FlutterCupertinoIcon component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoIcon\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoIcon>\n * ```\n */\nexport const FlutterCupertinoIcon = createWebFComponent<FlutterCupertinoIconElement, FlutterCupertinoIconProps>({\n tagName: 'flutter-cupertino-icon',\n displayName: 'FlutterCupertinoIcon',\n // Map props to attributes\n attributeProps: [\n 'type',\n 'label',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoDatePickerProps {\n /**\n * mode property\n * @default undefined\n */\n mode?: string;\n /**\n * minimumDate property\n * @default undefined\n */\n minimumDate?: string;\n /**\n * maximumDate property\n * @default undefined\n */\n maximumDate?: string;\n /**\n * minuteInterval property\n * @default undefined\n */\n minuteInterval?: string;\n /**\n * value property\n * @default undefined\n */\n value?: string;\n /**\n * minimumYear property\n * @default undefined\n */\n minimumYear?: string;\n /**\n * maximumYear property\n * @default undefined\n */\n maximumYear?: string;\n /**\n * showDayOfWeek property\n * @default undefined\n */\n showDayOfWeek?: string;\n /**\n * dateOrder property\n * @default undefined\n */\n dateOrder?: string;\n /**\n * height property\n * @default undefined\n */\n height?: string;\n /**\n * use24H property\n * @default undefined\n */\n use24H?: boolean;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoDatePickerElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoDatePicker - WebF FlutterCupertinoDatePicker component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoDatePicker\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoDatePicker>\n * ```\n */\nexport const FlutterCupertinoDatePicker = createWebFComponent<FlutterCupertinoDatePickerElement, FlutterCupertinoDatePickerProps>({\n tagName: 'flutter-cupertino-date-picker',\n displayName: 'FlutterCupertinoDatePicker',\n // Map props to attributes\n attributeProps: [\n 'mode',\n 'minimumDate',\n 'maximumDate',\n 'minuteInterval',\n 'value',\n 'minimumYear',\n 'maximumYear',\n 'showDayOfWeek',\n 'dateOrder',\n 'height',\n 'use24H',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n minimumDate: 'minimum-date',\n maximumDate: 'maximum-date',\n minuteInterval: 'minute-interval',\n minimumYear: 'minimum-year',\n maximumYear: 'maximum-year',\n showDayOfWeek: 'show-day-of-week',\n dateOrder: 'date-order',\n use24H: 'use-24-h',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface FlutterCupertinoContextMenuMethods {\n setActions(actions: ContextMenuAction[]): void;\n}\ninterface ContextMenuAction {\n text: string;\n icon?: string;\n destructive?: boolean;\n default?: boolean;\n event?: string;\n}\nexport interface FlutterCupertinoContextMenuProps {\n /**\n * enableHapticFeedback property\n * @default undefined\n */\n enableHapticFeedback?: boolean;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoContextMenuElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoContextMenu - WebF FlutterCupertinoContextMenu component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoContextMenu\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoContextMenu>\n * ```\n */\nexport const FlutterCupertinoContextMenu = createWebFComponent<FlutterCupertinoContextMenuElement, FlutterCupertinoContextMenuProps>({\n tagName: 'flutter-cupertino-context-menu',\n displayName: 'FlutterCupertinoContextMenu',\n // Map props to attributes\n attributeProps: [\n 'enableHapticFeedback',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n enableHapticFeedback: 'enable-haptic-feedback',\n },\n // Event handlers\n events: [\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoCheckboxProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * checkColor property\n * @default undefined\n */\n checkColor?: string;\n /**\n * focusColor property\n * @default undefined\n */\n focusColor?: string;\n /**\n * fillColorSelected property\n * @default undefined\n */\n fillColorSelected?: string;\n /**\n * fillColorDisabled property\n * @default undefined\n */\n fillColorDisabled?: string;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoCheckboxElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoCheckbox - WebF FlutterCupertinoCheckbox component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoCheckbox\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoCheckbox>\n * ```\n */\nexport const FlutterCupertinoCheckbox = createWebFComponent<FlutterCupertinoCheckboxElement, FlutterCupertinoCheckboxProps>({\n tagName: 'flutter-cupertino-checkbox',\n displayName: 'FlutterCupertinoCheckbox',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'disabled',\n 'activeColor',\n 'checkColor',\n 'focusColor',\n 'fillColorSelected',\n 'fillColorDisabled',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n activeColor: 'active-color',\n checkColor: 'check-color',\n focusColor: 'focus-color',\n fillColorSelected: 'fill-color-selected',\n fillColorDisabled: 'fill-color-disabled',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoButtonProps {\n /**\n * variant property\n * @default undefined\n */\n variant?: string;\n /**\n * size property\n * @default undefined\n */\n size?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * pressedOpacity property\n * @default undefined\n */\n pressedOpacity?: string;\n /**\n * click event handler\n */\n onClick?: (event: Event) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoButtonElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoButton - WebF FlutterCupertinoButton component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoButton\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoButton>\n * ```\n */\nexport const FlutterCupertinoButton = createWebFComponent<FlutterCupertinoButtonElement, FlutterCupertinoButtonProps>({\n tagName: 'flutter-cupertino-button',\n displayName: 'FlutterCupertinoButton',\n // Map props to attributes\n attributeProps: [\n 'variant',\n 'size',\n 'disabled',\n 'pressedOpacity',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n pressedOpacity: 'pressed-opacity',\n },\n // Event handlers\n events: [\n {\n propName: 'onClick',\n eventName: 'click',\n handler: (callback) => (event) => {\n callback((event as Event));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","// @ts-nocheck\n/* eslint-disable no-param-reassign */\n/* eslint-disable react-hooks/rules-of-hooks */\n/* eslint-disable @typescript-eslint/ban-types */\n/* eslint-disable no-use-before-define */\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport React, { forwardRef, useLayoutEffect, createElement, MouseEventHandler, useCallback, useRef } from 'react'\n\nconst NODE_MODE = false\n// const DEV_MODE = true\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype DistributiveOmit<T, K extends string | number | symbol> = T extends any ? (K extends keyof T ? Omit<T, K> : T) : T\ntype PropsWithoutRef<T> = DistributiveOmit<T, 'ref'>\n\n/**\n * Creates a type to be used for the props of a web component used directly in\n * React JSX.\n *\n * Example:\n *\n * ```ts\n * declare module \"react\" {\n * namespace JSX {\n * interface IntrinsicElements {\n * 'x-foo': WebComponentProps<XFoo>;\n * }\n * }\n * }\n * ```\n */\nexport type WebComponentProps<I extends HTMLElement> = React.DetailedHTMLProps<React.HTMLAttributes<I>, I> &\n ElementProps<I>\n\n/**\n * Type of the React component wrapping the web component. This is the return\n * type of `createComponent`.\n */\nexport type ReactWebComponent<I extends HTMLElement, E extends EventNames = {}> = React.ForwardRefExoticComponent<\n // TODO(augustjk): Remove and use `React.PropsWithoutRef` when\n // [preact/compat] missing type `PropsWithoutRef` · Issue #4124 · preactjs/preact is fixed.\n PropsWithoutRef<ComponentProps<I, E>> & React.RefAttributes<I>\n>\n\n// Props derived from custom element class. Currently has limitations of making\n// all properties optional and also surfaces life cycle methods in autocomplete.\n// TODO(augustjk) Consider omitting keyof LitElement to remove \"internal\"\n// lifecycle methods or allow user to explicitly provide props.\ntype ElementProps<I> = Partial<Omit<I, keyof HTMLElement>>\n\n// Acceptable props to the React component.\ntype ComponentProps<I, E extends EventNames = {}> = Omit<\n React.HTMLAttributes<I>,\n // Prefer type of provided event handler props or those on element over\n // built-in HTMLAttributes\n keyof E | keyof ElementProps<I>\n> &\n ElementProps<I>\n\n/**\n * Type used to cast an event name with an event type when providing the\n * `events` option to `createComponent` for better typing of the event handler\n * prop.\n *\n * Example:\n *\n * ```ts\n * const FooComponent = createComponent({\n * ...\n * events: {\n * onfoo: 'foo' as EventName<FooEvent>,\n * }\n * });\n * ```\n *\n * `onfoo` prop will have the type `(e: FooEvent) => void`.\n */\nexport type EventName<T extends Event = Event> = string & {\n __eventType: T\n}\n\n// A key value map matching React prop names to event names.\ntype EventNames = Record<string, EventName | string>\n\n// A map of expected event listener types based on EventNames.\n\nexport interface Options<E extends EventNames = {}> {\n tagName: string\n events?: E\n displayName?: string\n}\n\n// type Constructor<T> = { new (): T }\n\nconst reservedReactProperties = new Set(['children', 'localName', 'ref', 'style', 'className'])\n\nconst listenedEvents = new WeakMap<Element, Map<string, EventListenerObject>>()\n\n/**\n * Adds an event listener for the specified event to the given node. In the\n * React setup, there should only ever be one event listener. Thus, for\n * efficiency only one listener is added and the handler for that listener is\n * updated to point to the given listener function.\n */\nconst addOrUpdateEventListener = (node: Element, event: string, listener: (event?: Event) => void) => {\n let events = listenedEvents.get(node)\n if (events === undefined) {\n listenedEvents.set(node, (events = new Map()))\n }\n let handler = events.get(event)\n if (listener !== undefined) {\n // If necessary, add listener and track handler\n if (handler === undefined) {\n events.set(event, (handler = { handleEvent: listener }))\n node.addEventListener(event, handler)\n // Otherwise just update the listener with new value\n } else {\n handler.handleEvent = listener\n }\n // Remove listener if one exists and value is undefined\n } else if (handler !== undefined) {\n events.delete(event)\n node.removeEventListener(event, handler)\n }\n}\n\n/**\n * Sets properties and events on custom elements. These properties and events\n * have been pre-filtered so we know they should apply to the custom element.\n */\nconst setProperty = <E extends Element>(node: E, name: string, value: unknown, old: unknown, events?: EventNames) => {\n const event = events?.[name]\n // Dirty check event value.\n if (event !== undefined) {\n if (value !== old) {\n addOrUpdateEventListener(node, event, value as (e?: Event) => void)\n }\n return\n }\n // But don't dirty check properties; elements are assumed to do this.\n node[name as keyof E] = value as E[keyof E]\n\n // This block is to replicate React's behavior for attributes of native\n // elements where `undefined` or `null` values result in attributes being\n // removed.\n // react/packages/react-dom-bindings/src/client/DOMPropertyOperations.js at 899cb95f52cc83ab5ca1eb1e268\n //\n // It's only needed here for native HTMLElement properties that reflect\n // attributes of the same name but don't have that behavior like \"id\" or\n // \"draggable\".\n if ((value === undefined || value === null) && name in HTMLElement.prototype) {\n node.removeAttribute(name)\n }\n}\n\n/**\n * Creates a React component for a custom element. Properties are distinguished\n * from attributes automatically, and events can be configured so they are added\n * to the custom element as event listeners.\n *\n * @param options An options bag containing the parameters needed to generate a\n * wrapped web component.\n *\n * @param options.react The React module, typically imported from the `react`\n * npm package.\n * @param options.tagName The custom element tag name registered via\n * `customElements.define`.\n * @param options.elementClass The custom element class registered via\n * `customElements.define`.\n * @param options.events An object listing events to which the component can\n * listen. The object keys are the event property names passed in via React\n * props and the object values are the names of the corresponding events\n * generated by the custom element. For example, given `{onactivate:\n * 'activate'}` an event function may be passed via the component's `onactivate`\n * prop and will be called when the custom element fires its `activate` event.\n * @param options.displayName A React component display name, used in debugging\n * messages. Default value is inferred from the name of custom element class\n * registered via `customElements.define`.\n */\n// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-constraint\nexport const createComponent = <E extends any, I extends any>({\n tagName,\n events,\n displayName\n}: Options): ReactWebComponent<E, I> => {\n const eventProps = new Set(Object.keys(events ?? {}))\n\n type Props = ComponentProps<I>\n const ReactComponent = forwardRef<I, Props>((props, ref) => {\n const prevElemPropsRef = useRef(new Map())\n const elementRef = useRef<E | null>(null)\n\n // Props to be passed to React.createElement\n const reactProps: Record<string, unknown> = {}\n // Props to be set on element with setProperty\n const elementProps: Record<string, unknown> = {}\n\n for (const [k, v] of Object.entries(props)) {\n if (reservedReactProperties.has(k)) {\n // React does *not* handle `className` for custom elements so\n // coerce it to `class` so it's handled correctly.\n reactProps[k === 'className' ? 'class' : k] = v\n continue\n }\n\n if (eventProps.has(k)) {\n elementProps[k] = v\n continue\n }\n\n reactProps[k] = v\n }\n\n // useLayoutEffect produces warnings during server rendering.\n\n // This one has no dependency array so it'll run on every re-render.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useLayoutEffect(() => {\n if (elementRef.current === null) {\n return\n }\n const newElemProps = new Map()\n for (const key in elementProps) {\n setProperty(elementRef.current, key, props[key], prevElemPropsRef.current.get(key), events)\n prevElemPropsRef.current.delete(key)\n newElemProps.set(key, props[key])\n }\n // \"Unset\" any props from previous render that no longer exist.\n // Setting to `undefined` seems like the correct thing to \"unset\"\n // but currently React will set it as `null`.\n // See Bug: Removal of custom element property sets it to `null` rather than `undefined` · Issue #28203 · f\n for (const [key, value] of prevElemPropsRef.current) {\n setProperty(elementRef.current, key, undefined, value, events)\n }\n prevElemPropsRef.current = newElemProps\n })\n\n // Empty dependency array so this will only run once after first render.\n useLayoutEffect(() => {\n elementRef.current?.removeAttribute('defer-hydration')\n }, [])\n // }\n\n if (NODE_MODE) {\n // If component is to be server rendered with `@lit/ssr-react`, pass\n // element properties in a special bag to be set by the server-side\n // element renderer.\n if (\n (createElement.name === 'litPatchedCreateElement' || globalThis.litSsrReactEnabled) &&\n Object.keys(elementProps).length\n ) {\n // This property needs to remain unminified.\n reactProps['_$litProps$'] = elementProps\n }\n } else {\n // Suppress hydration warning for server-rendered attributes.\n // This property needs to remain unminified.\n reactProps['suppressHydrationWarning'] = true\n }\n\n return createElement(tagName, {\n ...reactProps,\n ref: useCallback(\n (node: I) => {\n elementRef.current = node\n if (typeof ref === 'function') {\n ref(node)\n } else if (ref !== null) {\n // eslint-disable-next-line no-param-reassign\n ref.current = node\n }\n },\n [ref]\n )\n })\n })\n\n ReactComponent.displayName = displayName\n\n return ReactComponent\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,2BAA4D;AA+DrD,IAAM,kCAA8B,0CAA0F;AAAA,EACnI,SAAS;AAAA,EACT,aAAa;AAAA;AAAA,EAEb,gBAAgB;AAAA,IACd;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA;AAAA,EAEA,cAAc;AAAA,IACZ,sBAAsB;AAAA,IACtB,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,EACnB;AAAA;AAAA,EAEA,QAAQ;AAAA,IACN;AAAA,MACE,UAAU;AAAA,MACV,WAAW;AAAA,MACX,SAAS,CAAC,aAAa,CAAC,UAAU;AAChC,iBAAU,KAAqB;AAAA,MACjC;AAAA,IACF;AAAA,EACF;AAAA;AAAA,EAEA,cAAc;AAAA;AAAA,EAEd;AACF,CAAC;;;AChGD,IAAAA,wBAA4D;AAuFrD,IAAM,+BAA2B,2CAAoF;AAAA,EAC1H,SAAS;AAAA,EACT,aAAa;AAAA;AAAA,EAEb,gBAAgB;AAAA,IACd;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA;AAAA,EAEA,cAAc;AAAA,IACZ,WAAW;AAAA,IACX,WAAW;AAAA,IACX,UAAU;AAAA,EACZ;AAAA;AAAA,EAEA,QAAQ;AAAA,IACN;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W,CAAC,KAAK,KAAK,KAAK,iBAAiB,SAAS;AACnD,oBAAY,WAAW,SAAS,KAAK,QAAW,OAAO,MAAM;AAAA,MAC/D;AACA,uBAAiB,UAAU;AAAA,IAC7B,CAAC;AAGD,sCAAgB,MAAM;AACpB,iBAAW,SAAS,gBAAgB,iBAAiB;AAAA,IACvD,GAAG,CAAC,CAAC;AAGL,QAAI,WAAW;AAIb,WACG,2BAAc,SAAS,6BAA6B,WAAW,uBAChE,OAAO,KAAK,YAAY,EAAE,QAC1B;AAEA,mBAAW,aAAa,IAAI;AAAA,MAC9B;AAAA,IACF,OAAO;AAGL,iBAAW,0BAA0B,IAAI;AAAA,IAC3C;AAEA,eAAO,4BAAc,SAAS;AAAA,MAC5B,GAAG;AAAA,MACH,SAAK;AAAA,QACH,CAAC,SAAY;AACX,qBAAW,UAAU;AACrB,cAAI,OAAO,QAAQ,YAAY;AAC7B,gBAAI,IAAI;AAAA,UACV,WAAW,QAAQ,MAAM;AAEvB,gBAAI,UAAU;AAAA,UAChB;AAAA,QACF;AAAA,QACA,CAAC,GAAG;AAAA,MACN;AAAA,IACF,CAAC;AAAA,EACH,CAAC;AAED,iBAAe,cAAc;AAE7B,SAAO;AACT;","names":["import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui","import_react_core_ui"]}
package/dist/index.mjs CHANGED
@@ -409,6 +409,18 @@ var FlutterCupertinoModalPopup = createWebFComponent10({
409
409
  // Add default values here
410
410
  }
411
411
  });
412
+ var FlutterCupertinoModelPopup = createWebFComponent10({
413
+ tagName: "flutter-cupertino-model-popup",
414
+ displayName: "FlutterCupertinoModelPopup",
415
+ // Map props to attributes
416
+ attributeProps: [],
417
+ // Convert prop names to attribute names if needed
418
+ attributeMap: {},
419
+ // Default prop values
420
+ defaultProps: {
421
+ // Add default values here
422
+ }
423
+ });
412
424
 
413
425
  // src/lib/src/input.tsx
414
426
  import { createWebFComponent as createWebFComponent11 } from "@openwebf/react-core-ui";
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/lib/src/timer-picker.tsx","../src/lib/src/textarea.tsx","../src/lib/src/tab_bar.tsx","../src/lib/src/tab.tsx","../src/lib/src/switch.tsx","../src/lib/src/slider.tsx","../src/lib/src/search-input.tsx","../src/lib/src/radio.tsx","../src/lib/src/picker.tsx","../src/lib/src/modal-popup.tsx","../src/lib/src/input.tsx","../src/lib/src/icon.tsx","../src/lib/src/date-picker.tsx","../src/lib/src/context-menu.tsx","../src/lib/src/checkbox.tsx","../src/lib/src/button.tsx","../src/utils/createComponent.ts"],"sourcesContent":["import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoTimerPickerProps {\n /**\n * mode property\n * @default undefined\n */\n mode?: string;\n /**\n * initialTimerDuration property\n * @default undefined\n */\n initialTimerDuration?: number;\n /**\n * minuteInterval property\n * @default undefined\n */\n minuteInterval?: number;\n /**\n * secondInterval property\n * @default undefined\n */\n secondInterval?: number;\n /**\n * backgroundColor property\n * @default undefined\n */\n backgroundColor?: string;\n /**\n * height property\n * @default undefined\n */\n height?: number;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTimerPickerElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTimerPicker - WebF FlutterCupertinoTimerPicker component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoTimerPicker\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoTimerPicker>\n * ```\n */\nexport const FlutterCupertinoTimerPicker = createWebFComponent<FlutterCupertinoTimerPickerElement, FlutterCupertinoTimerPickerProps>({\n tagName: 'flutter-cupertino-timer-picker',\n displayName: 'FlutterCupertinoTimerPicker',\n // Map props to attributes\n attributeProps: [\n 'mode',\n 'initialTimerDuration',\n 'minuteInterval',\n 'secondInterval',\n 'backgroundColor',\n 'height',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n initialTimerDuration: 'initial-timer-duration',\n minuteInterval: 'minute-interval',\n secondInterval: 'second-interval',\n backgroundColor: 'background-color',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoTextareaProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * placeholder property\n * @default undefined\n */\n placeholder?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * readonly property\n * @default undefined\n */\n readonly?: boolean;\n /**\n * maxLength property\n * @default undefined\n */\n maxLength?: number;\n /**\n * rows property\n * @default undefined\n */\n rows?: number;\n /**\n * showCount property\n * @default undefined\n */\n showCount?: boolean;\n /**\n * autoSize property\n * @default undefined\n */\n autoSize?: boolean;\n /**\n * transparent property\n * @default undefined\n */\n transparent?: boolean;\n /**\n * input event handler\n */\n onInput?: (event: CustomEvent) => void;\n /**\n * complete event handler\n */\n onComplete?: (event: Event) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTextareaElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTextarea - WebF FlutterCupertinoTextarea component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoTextarea\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoTextarea>\n * ```\n */\nexport const FlutterCupertinoTextarea = createWebFComponent<FlutterCupertinoTextareaElement, FlutterCupertinoTextareaProps>({\n tagName: 'flutter-cupertino-textarea',\n displayName: 'FlutterCupertinoTextarea',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'placeholder',\n 'disabled',\n 'readonly',\n 'maxLength',\n 'rows',\n 'showCount',\n 'autoSize',\n 'transparent',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n maxLength: 'max-length',\n showCount: 'show-count',\n autoSize: 'auto-size',\n },\n // Event handlers\n events: [\n {\n propName: 'onInput',\n eventName: 'input',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onComplete',\n eventName: 'complete',\n handler: (callback) => (event) => {\n callback((event as Event));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ntype CupertinoTabBarIcon = \"home\" | \"house\" | \"house_fill\" | \"search\" | \"search_circle\" | \"search_circle_fill\" | \"add\" | \"add_circled\" | \"add_circled_solid\" | \"plus\" | \"plus_circle\" | \"plus_circle_fill\" | \"person\" | \"person_fill\" | \"person_circle\" | \"person_circle_fill\" | \"profile_circled\" | \"bell\" | \"bell_fill\" | \"bell_circle\" | \"bell_circle_fill\" | \"chat_bubble\" | \"chat_bubble_fill\" | \"chat_bubble_2\" | \"chat_bubble_2_fill\" | \"mail\" | \"mail_solid\" | \"envelope\" | \"envelope_fill\" | \"phone\" | \"phone_fill\" | \"compass\" | \"compass_fill\" | \"location\" | \"location_fill\" | \"map\" | \"map_fill\" | \"photo\" | \"photo_fill\" | \"camera\" | \"camera_fill\" | \"video_camera\" | \"video_camera_solid\" | \"play\" | \"play_fill\" | \"play_circle\" | \"play_circle_fill\" | \"gear\" | \"gear_solid\" | \"settings\" | \"settings_solid\" | \"ellipsis\" | \"ellipsis_circle\" | \"ellipsis_circle_fill\" | \"creditcard\" | \"creditcard_fill\" | \"cart\" | \"cart_fill\" | \"bag\" | \"bag_fill\" | \"doc\" | \"doc_fill\" | \"doc_text\" | \"doc_text_fill\" | \"folder\" | \"folder_fill\" | \"book\" | \"book_fill\" | \"heart\" | \"heart_fill\" | \"star\" | \"star_fill\" | \"hand_thumbsup\" | \"hand_thumbsup_fill\" | \"bookmark\" | \"bookmark_fill\" | \"money_dollar\" | \"money_dollar_circle\" | \"money_dollar_circle_fill\" | \"info\" | \"info_circle\" | \"info_circle_fill\" | \"question\" | \"question_circle\" | \"question_circle_fill\" | \"exclamationmark\" | \"exclamationmark_circle\" | \"exclamationmark_circle_fill\";\ntype int = number;\ninterface FlutterCupertinoTabBarMethods {\n switchTab(path: string): void;\n}\nexport interface FlutterCupertinoTabBarProps {\n /**\n * currentIndex property\n * @default undefined\n */\n currentIndex?: string;\n /**\n * backgroundColor property\n * @default undefined\n */\n backgroundColor?: string;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * inactiveColor property\n * @default undefined\n */\n inactiveColor?: string;\n /**\n * iconSize property\n * @default undefined\n */\n iconSize?: string;\n /**\n * height property\n * @default undefined\n */\n height?: string;\n /**\n * tabchange event handler\n */\n onTabchange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\n/**\n * Element interface with methods accessible via ref\n * @example\n * ```tsx\n * const ref = useRef<FlutterCupertinoTabBarElement>(null);\n * // Call methods on the element\n * ref.current?.finishRefresh('success');\n * ```\n */\nexport interface FlutterCupertinoTabBarElement extends WebFElementWithMethods<{\n switchTab(path: string): void;\n}> {}\n/**\n * FlutterCupertinoTabBar - WebF FlutterCupertinoTabBar component\n * \n * @example\n * ```tsx\n * const ref = useRef<FlutterCupertinoTabBarElement>(null);\n * \n * <FlutterCupertinoTabBar\n * ref={ref}\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoTabBar>\n * \n * // Call methods on the element\n * ref.current?.finishRefresh('success');\n * ```\n */\nexport const FlutterCupertinoTabBar = createWebFComponent<FlutterCupertinoTabBarElement, FlutterCupertinoTabBarProps>({\n tagName: 'flutter-cupertino-tab-bar',\n displayName: 'FlutterCupertinoTabBar',\n // Map props to attributes\n attributeProps: [\n 'currentIndex',\n 'backgroundColor',\n 'activeColor',\n 'inactiveColor',\n 'iconSize',\n 'height',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n currentIndex: 'current-index',\n backgroundColor: 'background-color',\n activeColor: 'active-color',\n inactiveColor: 'inactive-color',\n iconSize: 'icon-size',\n },\n // Event handlers\n events: [\n {\n propName: 'onTabchange',\n eventName: 'tabchange',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});\nexport interface FlutterCupertinoTabBarItemProps {\n /**\n * title property\n * @default undefined\n */\n title?: string;\n /**\n * icon property\n * @default undefined\n */\n icon?: CupertinoTabBarIcon;\n /**\n * path property\n * @default undefined\n */\n path?: string;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabBarItemElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTabBarItem - WebF FlutterCupertinoTabBarItem component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoTabBarItem\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoTabBarItem>\n * ```\n */\nexport const FlutterCupertinoTabBarItem = createWebFComponent<FlutterCupertinoTabBarItemElement, FlutterCupertinoTabBarItemProps>({\n tagName: 'flutter-cupertino-tab-bar-item',\n displayName: 'FlutterCupertinoTabBarItem',\n // Map props to attributes\n attributeProps: [\n 'title',\n 'icon',\n 'path',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ntype int = number;\nexport interface FlutterCupertinoTabProps {\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTab - WebF FlutterCupertinoTab component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoTab\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoTab>\n * ```\n */\nexport const FlutterCupertinoTab = createWebFComponent<FlutterCupertinoTabElement, FlutterCupertinoTabProps>({\n tagName: 'flutter-cupertino-tab',\n displayName: 'FlutterCupertinoTab',\n // Map props to attributes\n attributeProps: [\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});\nexport interface FlutterCupertinoTabItemProps {\n /**\n * title property\n * @default undefined\n */\n title?: string;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabItemElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTabItem - WebF FlutterCupertinoTabItem component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoTabItem\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoTabItem>\n * ```\n */\nexport const FlutterCupertinoTabItem = createWebFComponent<FlutterCupertinoTabItemElement, FlutterCupertinoTabItemProps>({\n tagName: 'flutter-cupertino-tab-item',\n displayName: 'FlutterCupertinoTabItem',\n // Map props to attributes\n attributeProps: [\n 'title',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoSwitchProps {\n /**\n * checked property\n * @default undefined\n */\n checked?: boolean;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * inactiveColor property\n * @default undefined\n */\n inactiveColor?: string;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoSwitchElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoSwitch - WebF FlutterCupertinoSwitch component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoSwitch\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoSwitch>\n * ```\n */\nexport const FlutterCupertinoSwitch = createWebFComponent<FlutterCupertinoSwitchElement, FlutterCupertinoSwitchProps>({\n tagName: 'flutter-cupertino-switch',\n displayName: 'FlutterCupertinoSwitch',\n // Map props to attributes\n attributeProps: [\n 'checked',\n 'disabled',\n 'activeColor',\n 'inactiveColor',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n activeColor: 'active-color',\n inactiveColor: 'inactive-color',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoSliderProps {\n /**\n * val property\n * @default undefined\n */\n val?: number;\n /**\n * min property\n * @default undefined\n */\n min?: number;\n /**\n * max property\n * @default undefined\n */\n max?: number;\n /**\n * step property\n * @default undefined\n */\n step?: number;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * changestart event handler\n */\n onChangestart?: (event: CustomEvent) => void;\n /**\n * changeend event handler\n */\n onChangeend?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoSliderElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoSlider - WebF FlutterCupertinoSlider component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoSlider\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoSlider>\n * ```\n */\nexport const FlutterCupertinoSlider = createWebFComponent<FlutterCupertinoSliderElement, FlutterCupertinoSliderProps>({\n tagName: 'flutter-cupertino-slider',\n displayName: 'FlutterCupertinoSlider',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'min',\n 'max',\n 'step',\n 'disabled',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onChangestart',\n eventName: 'changestart',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onChangeend',\n eventName: 'changeend',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoSearchInputProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * placeholder property\n * @default undefined\n */\n placeholder?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * type property\n * @default undefined\n */\n type?: string;\n /**\n * prefixIcon property\n * @default undefined\n */\n prefixIcon?: string;\n /**\n * suffixIcon property\n * @default undefined\n */\n suffixIcon?: string;\n /**\n * suffixModel property\n * @default undefined\n */\n suffixModel?: string;\n /**\n * itemColor property\n * @default undefined\n */\n itemColor?: string;\n /**\n * itemSize property\n * @default undefined\n */\n itemSize?: number;\n /**\n * autofocus property\n */\n autofocus: boolean;\n /**\n * input event handler\n */\n onInput?: (event: CustomEvent) => void;\n /**\n * search event handler\n */\n onSearch?: (event: CustomEvent) => void;\n /**\n * clear event handler\n */\n onClear?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoSearchInputElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoSearchInput - WebF FlutterCupertinoSearchInput component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoSearchInput\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoSearchInput>\n * ```\n */\nexport const FlutterCupertinoSearchInput = createWebFComponent<FlutterCupertinoSearchInputElement, FlutterCupertinoSearchInputProps>({\n tagName: 'flutter-cupertino-search-input',\n displayName: 'FlutterCupertinoSearchInput',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'placeholder',\n 'disabled',\n 'type',\n 'prefixIcon',\n 'suffixIcon',\n 'suffixModel',\n 'itemColor',\n 'itemSize',\n 'autofocus',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n prefixIcon: 'prefix-icon',\n suffixIcon: 'suffix-icon',\n suffixModel: 'suffix-model',\n itemColor: 'item-color',\n itemSize: 'item-size',\n },\n // Event handlers\n events: [\n {\n propName: 'onInput',\n eventName: 'input',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onSearch',\n eventName: 'search',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onClear',\n eventName: 'clear',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoRadioProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * groupValue property\n * @default undefined\n */\n groupValue?: string;\n /**\n * useCheckmarkStyle property\n * @default undefined\n */\n useCheckmarkStyle?: boolean;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * focusColor property\n * @default undefined\n */\n focusColor?: string;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoRadioElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoRadio - WebF FlutterCupertinoRadio component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoRadio\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoRadio>\n * ```\n */\nexport const FlutterCupertinoRadio = createWebFComponent<FlutterCupertinoRadioElement, FlutterCupertinoRadioProps>({\n tagName: 'flutter-cupertino-radio',\n displayName: 'FlutterCupertinoRadio',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'groupValue',\n 'useCheckmarkStyle',\n 'disabled',\n 'activeColor',\n 'focusColor',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n groupValue: 'group-value',\n useCheckmarkStyle: 'use-checkmark-style',\n activeColor: 'active-color',\n focusColor: 'focus-color',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoPickerProps {\n /**\n * height property\n * @default undefined\n */\n height?: number;\n /**\n * itemHeight property\n * @default undefined\n */\n itemHeight?: number;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoPickerElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoPicker - WebF FlutterCupertinoPicker component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoPicker\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoPicker>\n * ```\n */\nexport const FlutterCupertinoPicker = createWebFComponent<FlutterCupertinoPickerElement, FlutterCupertinoPickerProps>({\n tagName: 'flutter-cupertino-picker',\n displayName: 'FlutterCupertinoPicker',\n // Map props to attributes\n attributeProps: [\n 'height',\n 'itemHeight',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n itemHeight: 'item-height',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoModalPopupProps {\n /**\n * visible property\n * @default undefined\n */\n visible?: boolean;\n /**\n * height property\n * @default undefined\n */\n height?: number;\n /**\n * surfacePainted property\n * @default undefined\n */\n surfacePainted?: boolean;\n /**\n * maskClosable property\n * @default undefined\n */\n maskClosable?: boolean;\n /**\n * backgroundOpacity property\n * @default undefined\n */\n backgroundOpacity?: number;\n /**\n * close event handler\n */\n onClose?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoModalPopupElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoModalPopup - WebF FlutterCupertinoModalPopup component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoModalPopup\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoModalPopup>\n * ```\n */\nexport const FlutterCupertinoModalPopup = createWebFComponent<FlutterCupertinoModalPopupElement, FlutterCupertinoModalPopupProps>({\n tagName: 'flutter-cupertino-modal-popup',\n displayName: 'FlutterCupertinoModalPopup',\n // Map props to attributes\n attributeProps: [\n 'visible',\n 'height',\n 'surfacePainted',\n 'maskClosable',\n 'backgroundOpacity',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n surfacePainted: 'surface-painted',\n maskClosable: 'mask-closable',\n backgroundOpacity: 'background-opacity',\n },\n // Event handlers\n events: [\n {\n propName: 'onClose',\n eventName: 'close',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoInputProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * placeholder property\n * @default undefined\n */\n placeholder?: string;\n /**\n * type property\n * @default undefined\n */\n type?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * autofocus property\n */\n autofocus: boolean;\n /**\n * clearable property\n * @default undefined\n */\n clearable?: boolean;\n /**\n * maxlength property\n * @default undefined\n */\n maxlength?: number;\n /**\n * readonly property\n * @default undefined\n */\n readonly?: boolean;\n /**\n * input event handler\n */\n onInput?: (event: CustomEvent) => void;\n /**\n * submit event handler\n */\n onSubmit?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoInputElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoInput - WebF FlutterCupertinoInput component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoInput\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoInput>\n * ```\n */\nexport const FlutterCupertinoInput = createWebFComponent<FlutterCupertinoInputElement, FlutterCupertinoInputProps>({\n tagName: 'flutter-cupertino-input',\n displayName: 'FlutterCupertinoInput',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'placeholder',\n 'type',\n 'disabled',\n 'autofocus',\n 'clearable',\n 'maxlength',\n 'readonly',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Event handlers\n events: [\n {\n propName: 'onInput',\n eventName: 'input',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onSubmit',\n eventName: 'submit',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoIconProps {\n /**\n * type property\n * @default undefined\n */\n type?: string;\n /**\n * label property\n * @default undefined\n */\n label?: string;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoIconElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoIcon - WebF FlutterCupertinoIcon component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoIcon\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoIcon>\n * ```\n */\nexport const FlutterCupertinoIcon = createWebFComponent<FlutterCupertinoIconElement, FlutterCupertinoIconProps>({\n tagName: 'flutter-cupertino-icon',\n displayName: 'FlutterCupertinoIcon',\n // Map props to attributes\n attributeProps: [\n 'type',\n 'label',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoDatePickerProps {\n /**\n * mode property\n * @default undefined\n */\n mode?: string;\n /**\n * minimumDate property\n * @default undefined\n */\n minimumDate?: string;\n /**\n * maximumDate property\n * @default undefined\n */\n maximumDate?: string;\n /**\n * minuteInterval property\n * @default undefined\n */\n minuteInterval?: string;\n /**\n * value property\n * @default undefined\n */\n value?: string;\n /**\n * minimumYear property\n * @default undefined\n */\n minimumYear?: string;\n /**\n * maximumYear property\n * @default undefined\n */\n maximumYear?: string;\n /**\n * showDayOfWeek property\n * @default undefined\n */\n showDayOfWeek?: string;\n /**\n * dateOrder property\n * @default undefined\n */\n dateOrder?: string;\n /**\n * height property\n * @default undefined\n */\n height?: string;\n /**\n * use24H property\n * @default undefined\n */\n use24H?: boolean;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoDatePickerElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoDatePicker - WebF FlutterCupertinoDatePicker component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoDatePicker\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoDatePicker>\n * ```\n */\nexport const FlutterCupertinoDatePicker = createWebFComponent<FlutterCupertinoDatePickerElement, FlutterCupertinoDatePickerProps>({\n tagName: 'flutter-cupertino-date-picker',\n displayName: 'FlutterCupertinoDatePicker',\n // Map props to attributes\n attributeProps: [\n 'mode',\n 'minimumDate',\n 'maximumDate',\n 'minuteInterval',\n 'value',\n 'minimumYear',\n 'maximumYear',\n 'showDayOfWeek',\n 'dateOrder',\n 'height',\n 'use24H',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n minimumDate: 'minimum-date',\n maximumDate: 'maximum-date',\n minuteInterval: 'minute-interval',\n minimumYear: 'minimum-year',\n maximumYear: 'maximum-year',\n showDayOfWeek: 'show-day-of-week',\n dateOrder: 'date-order',\n use24H: 'use-24-h',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface ContextMenuAction {\n text: string;\n icon?: string;\n destructive?: boolean;\n default?: boolean;\n event?: string;\n}\nexport interface FlutterCupertinoContextMenuProps {\n /**\n * enableHapticFeedback property\n * @default undefined\n */\n enableHapticFeedback?: boolean;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoContextMenuElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoContextMenu - WebF FlutterCupertinoContextMenu component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoContextMenu\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoContextMenu>\n * ```\n */\nexport const FlutterCupertinoContextMenu = createWebFComponent<FlutterCupertinoContextMenuElement, FlutterCupertinoContextMenuProps>({\n tagName: 'flutter-cupertino-context-menu',\n displayName: 'FlutterCupertinoContextMenu',\n // Map props to attributes\n attributeProps: [\n 'enableHapticFeedback',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n enableHapticFeedback: 'enable-haptic-feedback',\n },\n // Event handlers\n events: [\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoCheckboxProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * checkColor property\n * @default undefined\n */\n checkColor?: string;\n /**\n * focusColor property\n * @default undefined\n */\n focusColor?: string;\n /**\n * fillColorSelected property\n * @default undefined\n */\n fillColorSelected?: string;\n /**\n * fillColorDisabled property\n * @default undefined\n */\n fillColorDisabled?: string;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoCheckboxElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoCheckbox - WebF FlutterCupertinoCheckbox component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoCheckbox\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoCheckbox>\n * ```\n */\nexport const FlutterCupertinoCheckbox = createWebFComponent<FlutterCupertinoCheckboxElement, FlutterCupertinoCheckboxProps>({\n tagName: 'flutter-cupertino-checkbox',\n displayName: 'FlutterCupertinoCheckbox',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'disabled',\n 'activeColor',\n 'checkColor',\n 'focusColor',\n 'fillColorSelected',\n 'fillColorDisabled',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n activeColor: 'active-color',\n checkColor: 'check-color',\n focusColor: 'focus-color',\n fillColorSelected: 'fill-color-selected',\n fillColorDisabled: 'fill-color-disabled',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoButtonProps {\n /**\n * variant property\n * @default undefined\n */\n variant?: string;\n /**\n * size property\n * @default undefined\n */\n size?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * pressedOpacity property\n * @default undefined\n */\n pressedOpacity?: string;\n /**\n * click event handler\n */\n onClick?: (event: Event) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoButtonElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoButton - WebF FlutterCupertinoButton component\n * \n * @example\n * ```tsx\n * \n * <FlutterCupertinoButton\n * // Add props here\n * >\n * Content\n * </FlutterCupertinoButton>\n * ```\n */\nexport const FlutterCupertinoButton = createWebFComponent<FlutterCupertinoButtonElement, FlutterCupertinoButtonProps>({\n tagName: 'flutter-cupertino-button',\n displayName: 'FlutterCupertinoButton',\n // Map props to attributes\n attributeProps: [\n 'variant',\n 'size',\n 'disabled',\n 'pressedOpacity',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n pressedOpacity: 'pressed-opacity',\n },\n // Event handlers\n events: [\n {\n propName: 'onClick',\n eventName: 'click',\n handler: (callback) => (event) => {\n callback((event as Event));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","// @ts-nocheck\n/* eslint-disable no-param-reassign */\n/* eslint-disable react-hooks/rules-of-hooks */\n/* eslint-disable @typescript-eslint/ban-types */\n/* eslint-disable no-use-before-define */\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport React, { forwardRef, useLayoutEffect, createElement, MouseEventHandler, useCallback, useRef } from 'react'\n\nconst NODE_MODE = false\n// const DEV_MODE = true\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype DistributiveOmit<T, K extends string | number | symbol> = T extends any ? (K extends keyof T ? Omit<T, K> : T) : T\ntype PropsWithoutRef<T> = DistributiveOmit<T, 'ref'>\n\n/**\n * Creates a type to be used for the props of a web component used directly in\n * React JSX.\n *\n * Example:\n *\n * ```ts\n * declare module \"react\" {\n * namespace JSX {\n * interface IntrinsicElements {\n * 'x-foo': WebComponentProps<XFoo>;\n * }\n * }\n * }\n * ```\n */\nexport type WebComponentProps<I extends HTMLElement> = React.DetailedHTMLProps<React.HTMLAttributes<I>, I> &\n ElementProps<I>\n\n/**\n * Type of the React component wrapping the web component. This is the return\n * type of `createComponent`.\n */\nexport type ReactWebComponent<I extends HTMLElement, E extends EventNames = {}> = React.ForwardRefExoticComponent<\n // TODO(augustjk): Remove and use `React.PropsWithoutRef` when\n // [preact/compat] missing type `PropsWithoutRef` · Issue #4124 · preactjs/preact is fixed.\n PropsWithoutRef<ComponentProps<I, E>> & React.RefAttributes<I>\n>\n\n// Props derived from custom element class. Currently has limitations of making\n// all properties optional and also surfaces life cycle methods in autocomplete.\n// TODO(augustjk) Consider omitting keyof LitElement to remove \"internal\"\n// lifecycle methods or allow user to explicitly provide props.\ntype ElementProps<I> = Partial<Omit<I, keyof HTMLElement>>\n\n// Acceptable props to the React component.\ntype ComponentProps<I, E extends EventNames = {}> = Omit<\n React.HTMLAttributes<I>,\n // Prefer type of provided event handler props or those on element over\n // built-in HTMLAttributes\n keyof E | keyof ElementProps<I>\n> &\n ElementProps<I>\n\n/**\n * Type used to cast an event name with an event type when providing the\n * `events` option to `createComponent` for better typing of the event handler\n * prop.\n *\n * Example:\n *\n * ```ts\n * const FooComponent = createComponent({\n * ...\n * events: {\n * onfoo: 'foo' as EventName<FooEvent>,\n * }\n * });\n * ```\n *\n * `onfoo` prop will have the type `(e: FooEvent) => void`.\n */\nexport type EventName<T extends Event = Event> = string & {\n __eventType: T\n}\n\n// A key value map matching React prop names to event names.\ntype EventNames = Record<string, EventName | string>\n\n// A map of expected event listener types based on EventNames.\n\nexport interface Options<E extends EventNames = {}> {\n tagName: string\n events?: E\n displayName?: string\n}\n\n// type Constructor<T> = { new (): T }\n\nconst reservedReactProperties = new Set(['children', 'localName', 'ref', 'style', 'className'])\n\nconst listenedEvents = new WeakMap<Element, Map<string, EventListenerObject>>()\n\n/**\n * Adds an event listener for the specified event to the given node. In the\n * React setup, there should only ever be one event listener. Thus, for\n * efficiency only one listener is added and the handler for that listener is\n * updated to point to the given listener function.\n */\nconst addOrUpdateEventListener = (node: Element, event: string, listener: (event?: Event) => void) => {\n let events = listenedEvents.get(node)\n if (events === undefined) {\n listenedEvents.set(node, (events = new Map()))\n }\n let handler = events.get(event)\n if (listener !== undefined) {\n // If necessary, add listener and track handler\n if (handler === undefined) {\n events.set(event, (handler = { handleEvent: listener }))\n node.addEventListener(event, handler)\n // Otherwise just update the listener with new value\n } else {\n handler.handleEvent = listener\n }\n // Remove listener if one exists and value is undefined\n } else if (handler !== undefined) {\n events.delete(event)\n node.removeEventListener(event, handler)\n }\n}\n\n/**\n * Sets properties and events on custom elements. These properties and events\n * have been pre-filtered so we know they should apply to the custom element.\n */\nconst setProperty = <E extends Element>(node: E, name: string, value: unknown, old: unknown, events?: EventNames) => {\n const event = events?.[name]\n // Dirty check event value.\n if (event !== undefined) {\n if (value !== old) {\n addOrUpdateEventListener(node, event, value as (e?: Event) => void)\n }\n return\n }\n // But don't dirty check properties; elements are assumed to do this.\n node[name as keyof E] = value as E[keyof E]\n\n // This block is to replicate React's behavior for attributes of native\n // elements where `undefined` or `null` values result in attributes being\n // removed.\n // react/packages/react-dom-bindings/src/client/DOMPropertyOperations.js at 899cb95f52cc83ab5ca1eb1e268\n //\n // It's only needed here for native HTMLElement properties that reflect\n // attributes of the same name but don't have that behavior like \"id\" or\n // \"draggable\".\n if ((value === undefined || value === null) && name in HTMLElement.prototype) {\n node.removeAttribute(name)\n }\n}\n\n/**\n * Creates a React component for a custom element. Properties are distinguished\n * from attributes automatically, and events can be configured so they are added\n * to the custom element as event listeners.\n *\n * @param options An options bag containing the parameters needed to generate a\n * wrapped web component.\n *\n * @param options.react The React module, typically imported from the `react`\n * npm package.\n * @param options.tagName The custom element tag name registered via\n * `customElements.define`.\n * @param options.elementClass The custom element class registered via\n * `customElements.define`.\n * @param options.events An object listing events to which the component can\n * listen. The object keys are the event property names passed in via React\n * props and the object values are the names of the corresponding events\n * generated by the custom element. For example, given `{onactivate:\n * 'activate'}` an event function may be passed via the component's `onactivate`\n * prop and will be called when the custom element fires its `activate` event.\n * @param options.displayName A React component display name, used in debugging\n * messages. Default value is inferred from the name of custom element class\n * registered via `customElements.define`.\n */\n// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-constraint\nexport const createComponent = <E extends any, I extends any>({\n tagName,\n events,\n displayName\n}: Options): ReactWebComponent<E, I> => {\n const eventProps = new Set(Object.keys(events ?? {}))\n\n type Props = ComponentProps<I>\n const ReactComponent = forwardRef<I, Props>((props, ref) => {\n const prevElemPropsRef = useRef(new Map())\n const elementRef = useRef<E | null>(null)\n\n // Props to be passed to React.createElement\n const reactProps: Record<string, unknown> = {}\n // Props to be set on element with setProperty\n const elementProps: Record<string, unknown> = {}\n\n for (const [k, v] of Object.entries(props)) {\n if (reservedReactProperties.has(k)) {\n // React does *not* handle `className` for custom elements so\n // coerce it to `class` so it's handled correctly.\n reactProps[k === 'className' ? 'class' : k] = v\n continue\n }\n\n if (eventProps.has(k)) {\n elementProps[k] = v\n continue\n }\n\n reactProps[k] = v\n }\n\n // useLayoutEffect produces warnings during server rendering.\n\n // This one has no dependency array so it'll run on every re-render.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useLayoutEffect(() => {\n if (elementRef.current === null) {\n return\n }\n const newElemProps = new Map()\n for (const key in elementProps) {\n setProperty(elementRef.current, key, props[key], prevElemPropsRef.current.get(key), events)\n prevElemPropsRef.current.delete(key)\n newElemProps.set(key, props[key])\n }\n // \"Unset\" any props from previous render that no longer exist.\n // Setting to `undefined` seems like the correct thing to \"unset\"\n // but currently React will set it as `null`.\n // See Bug: Removal of custom element property sets it to `null` rather than `undefined` · Issue #28203 · f\n for (const [key, value] of prevElemPropsRef.current) {\n setProperty(elementRef.current, key, undefined, value, events)\n }\n prevElemPropsRef.current = newElemProps\n })\n\n // Empty dependency array so this will only run once after first render.\n useLayoutEffect(() => {\n elementRef.current?.removeAttribute('defer-hydration')\n }, [])\n // }\n\n if (NODE_MODE) {\n // If component is to be server rendered with `@lit/ssr-react`, pass\n // element properties in a special bag to be set by the server-side\n // element renderer.\n if (\n (createElement.name === 'litPatchedCreateElement' || globalThis.litSsrReactEnabled) &&\n Object.keys(elementProps).length\n ) {\n // This property needs to remain unminified.\n reactProps['_$litProps$'] = elementProps\n }\n } else {\n // Suppress hydration warning for server-rendered attributes.\n // This property needs to remain unminified.\n reactProps['suppressHydrationWarning'] = true\n }\n\n return createElement(tagName, {\n ...reactProps,\n ref: useCallback(\n (node: I) => {\n elementRef.current = node\n if (typeof ref === 'function') {\n ref(node)\n } else if (ref !== null) {\n // eslint-disable-next-line no-param-reassign\n ref.current = node\n }\n },\n [ref]\n )\n })\n })\n\n ReactComponent.displayName = displayName\n\n return ReactComponent\n}\n"],"mappings":";AACA,SAAS,2BAAmD;AAgErD,IAAM,8BAA8B,oBAA0F;AAAA,EACnI,SAAS;AAAA,EACT,aAAa;AAAA;AAAA,EAEb,gBAAgB;AAAA,IACd;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA;AAAA,EAEA,cAAc;AAAA,IACZ,sBAAsB;AAAA,IACtB,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,EACnB;AAAA;AAAA,EAEA,QAAQ;AAAA,IACN;AAAA,MACE,UAAU;AAAA,MACV,WAAW;AAAA,MACX,SAAS,CAAC,aAAa,CAAC,UAAU;AAChC,iBAAU,KAAqB;AAAA,MACjC;AAAA,IACF;AAAA,EACF;AAAA;AAAA,EAEA,cAAc;AAAA;AAAA,EAEd;AACF,CAAC;;;ACjGD,SAAS,uBAAAA,4BAAmD;AAmFrD,IAAM,2BAA2BA,qBAAoF;AAAA,EAC1H,SAAS;AAAA,EACT,aAAa;AAAA;AAAA,EAEb,gBAAgB;AAAA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,OAAO,cAAc;AAC9B,oBAAY,WAAW,SAAS,KAAK,MAAM,GAAG,GAAG,iBAAiB,QAAQ,IAAI,GAAG,GAAG,MAAM;AAC1F,yBAAiB,QAAQ,OAAO,GAAG;AACnC,qBAAa,IAAI,KAAK,MAAM,GAAG,CAAC;AAAA,MAClC;AAKA,iBAAW,CAAC,KAAK,KAAK,KAAK,iBAAiB,SAAS;AACnD,oBAAY,WAAW,SAAS,KAAK,QAAW,OAAO,MAAM;AAAA,MAC/D;AACA,uBAAiB,UAAU;AAAA,IAC7B,CAAC;AAGD,oBAAgB,MAAM;AACpB,iBAAW,SAAS,gBAAgB,iBAAiB;AAAA,IACvD,GAAG,CAAC,CAAC;AAGL,QAAI,WAAW;AAIb,WACG,cAAc,SAAS,6BAA6B,WAAW,uBAChE,OAAO,KAAK,YAAY,EAAE,QAC1B;AAEA,mBAAW,aAAa,IAAI;AAAA,MAC9B;AAAA,IACF,OAAO;AAGL,iBAAW,0BAA0B,IAAI;AAAA,IAC3C;AAEA,WAAO,cAAc,SAAS;AAAA,MAC5B,GAAG;AAAA,MACH,KAAK;AAAA,QACH,CAAC,SAAY;AACX,qBAAW,UAAU;AACrB,cAAI,OAAO,QAAQ,YAAY;AAC7B,gBAAI,IAAI;AAAA,UACV,WAAW,QAAQ,MAAM;AAEvB,gBAAI,UAAU;AAAA,UAChB;AAAA,QACF;AAAA,QACA,CAAC,GAAG;AAAA,MACN;AAAA,IACF,CAAC;AAAA,EACH,CAAC;AAED,iBAAe,cAAc;AAE7B,SAAO;AACT;","names":["createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent"]}
1
+ {"version":3,"sources":["../src/lib/src/timer-picker.tsx","../src/lib/src/textarea.tsx","../src/lib/src/tab_bar.tsx","../src/lib/src/tab.tsx","../src/lib/src/switch.tsx","../src/lib/src/slider.tsx","../src/lib/src/search-input.tsx","../src/lib/src/radio.tsx","../src/lib/src/picker.tsx","../src/lib/src/modal-popup.tsx","../src/lib/src/input.tsx","../src/lib/src/icon.tsx","../src/lib/src/date-picker.tsx","../src/lib/src/context-menu.tsx","../src/lib/src/checkbox.tsx","../src/lib/src/button.tsx","../src/utils/createComponent.ts"],"sourcesContent":["import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoTimerPickerProps {\n /**\n * mode property\n * @default undefined\n */\n mode?: string;\n /**\n * initialTimerDuration property\n * @default undefined\n */\n initialTimerDuration?: number;\n /**\n * minuteInterval property\n * @default undefined\n */\n minuteInterval?: number;\n /**\n * secondInterval property\n * @default undefined\n */\n secondInterval?: number;\n /**\n * backgroundColor property\n * @default undefined\n */\n backgroundColor?: string;\n /**\n * height property\n * @default undefined\n */\n height?: number;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTimerPickerElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTimerPicker - WebF FlutterCupertinoTimerPicker component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoTimerPicker\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoTimerPicker>\n * ```\n */\nexport const FlutterCupertinoTimerPicker = createWebFComponent<FlutterCupertinoTimerPickerElement, FlutterCupertinoTimerPickerProps>({\n tagName: 'flutter-cupertino-timer-picker',\n displayName: 'FlutterCupertinoTimerPicker',\n // Map props to attributes\n attributeProps: [\n 'mode',\n 'initialTimerDuration',\n 'minuteInterval',\n 'secondInterval',\n 'backgroundColor',\n 'height',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n initialTimerDuration: 'initial-timer-duration',\n minuteInterval: 'minute-interval',\n secondInterval: 'second-interval',\n backgroundColor: 'background-color',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface FlutterCupertinoTextareaMethods {\n focus(): void;\n blur(): void;\n clear(): void;\n}\nexport interface FlutterCupertinoTextareaProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * placeholder property\n * @default undefined\n */\n placeholder?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * readonly property\n * @default undefined\n */\n readonly?: boolean;\n /**\n * maxLength property\n * @default undefined\n */\n maxLength?: number;\n /**\n * rows property\n * @default undefined\n */\n rows?: number;\n /**\n * showCount property\n * @default undefined\n */\n showCount?: boolean;\n /**\n * autoSize property\n * @default undefined\n */\n autoSize?: boolean;\n /**\n * transparent property\n * @default undefined\n */\n transparent?: boolean;\n /**\n * input event handler\n */\n onInput?: (event: CustomEvent) => void;\n /**\n * complete event handler\n */\n onComplete?: (event: Event) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTextareaElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTextarea - WebF FlutterCupertinoTextarea component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoTextarea\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoTextarea>\n * ```\n */\nexport const FlutterCupertinoTextarea = createWebFComponent<FlutterCupertinoTextareaElement, FlutterCupertinoTextareaProps>({\n tagName: 'flutter-cupertino-textarea',\n displayName: 'FlutterCupertinoTextarea',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'placeholder',\n 'disabled',\n 'readonly',\n 'maxLength',\n 'rows',\n 'showCount',\n 'autoSize',\n 'transparent',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n maxLength: 'max-length',\n showCount: 'show-count',\n autoSize: 'auto-size',\n },\n // Event handlers\n events: [\n {\n propName: 'onInput',\n eventName: 'input',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onComplete',\n eventName: 'complete',\n handler: (callback) => (event) => {\n callback((event as Event));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ntype CupertinoTabBarIcon = \"home\" | \"house\" | \"house_fill\" | \"search\" | \"search_circle\" | \"search_circle_fill\" | \"add\" | \"add_circled\" | \"add_circled_solid\" | \"plus\" | \"plus_circle\" | \"plus_circle_fill\" | \"person\" | \"person_fill\" | \"person_circle\" | \"person_circle_fill\" | \"profile_circled\" | \"bell\" | \"bell_fill\" | \"bell_circle\" | \"bell_circle_fill\" | \"chat_bubble\" | \"chat_bubble_fill\" | \"chat_bubble_2\" | \"chat_bubble_2_fill\" | \"mail\" | \"mail_solid\" | \"envelope\" | \"envelope_fill\" | \"phone\" | \"phone_fill\" | \"compass\" | \"compass_fill\" | \"location\" | \"location_fill\" | \"map\" | \"map_fill\" | \"photo\" | \"photo_fill\" | \"camera\" | \"camera_fill\" | \"video_camera\" | \"video_camera_solid\" | \"play\" | \"play_fill\" | \"play_circle\" | \"play_circle_fill\" | \"gear\" | \"gear_solid\" | \"settings\" | \"settings_solid\" | \"ellipsis\" | \"ellipsis_circle\" | \"ellipsis_circle_fill\" | \"creditcard\" | \"creditcard_fill\" | \"cart\" | \"cart_fill\" | \"bag\" | \"bag_fill\" | \"doc\" | \"doc_fill\" | \"doc_text\" | \"doc_text_fill\" | \"folder\" | \"folder_fill\" | \"book\" | \"book_fill\" | \"heart\" | \"heart_fill\" | \"star\" | \"star_fill\" | \"hand_thumbsup\" | \"hand_thumbsup_fill\" | \"bookmark\" | \"bookmark_fill\" | \"money_dollar\" | \"money_dollar_circle\" | \"money_dollar_circle_fill\" | \"info\" | \"info_circle\" | \"info_circle_fill\" | \"question\" | \"question_circle\" | \"question_circle_fill\" | \"exclamationmark\" | \"exclamationmark_circle\" | \"exclamationmark_circle_fill\";\ntype int = number;\ninterface FlutterCupertinoTabBarMethods {\n switchTab(path: string): void;\n}\nexport interface FlutterCupertinoTabBarProps {\n /**\n * currentIndex property\n * @default undefined\n */\n currentIndex?: string;\n /**\n * backgroundColor property\n * @default undefined\n */\n backgroundColor?: string;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * inactiveColor property\n * @default undefined\n */\n inactiveColor?: string;\n /**\n * iconSize property\n * @default undefined\n */\n iconSize?: string;\n /**\n * height property\n * @default undefined\n */\n height?: string;\n /**\n * tabchange event handler\n */\n onTabchange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabBarElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTabBar - WebF FlutterCupertinoTabBar component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoTabBar\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoTabBar>\n * ```\n */\nexport const FlutterCupertinoTabBar = createWebFComponent<FlutterCupertinoTabBarElement, FlutterCupertinoTabBarProps>({\n tagName: 'flutter-cupertino-tab-bar',\n displayName: 'FlutterCupertinoTabBar',\n // Map props to attributes\n attributeProps: [\n 'currentIndex',\n 'backgroundColor',\n 'activeColor',\n 'inactiveColor',\n 'iconSize',\n 'height',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n currentIndex: 'current-index',\n backgroundColor: 'background-color',\n activeColor: 'active-color',\n inactiveColor: 'inactive-color',\n iconSize: 'icon-size',\n },\n // Event handlers\n events: [\n {\n propName: 'onTabchange',\n eventName: 'tabchange',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});\nexport interface FlutterCupertinoTabBarItemProps {\n /**\n * title property\n * @default undefined\n */\n title?: string;\n /**\n * icon property\n * @default undefined\n */\n icon?: CupertinoTabBarIcon;\n /**\n * path property\n * @default undefined\n */\n path?: string;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabBarItemElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTabBarItem - WebF FlutterCupertinoTabBarItem component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoTabBarItem\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoTabBarItem>\n * ```\n */\nexport const FlutterCupertinoTabBarItem = createWebFComponent<FlutterCupertinoTabBarItemElement, FlutterCupertinoTabBarItemProps>({\n tagName: 'flutter-cupertino-tab-bar-item',\n displayName: 'FlutterCupertinoTabBarItem',\n // Map props to attributes\n attributeProps: [\n 'title',\n 'icon',\n 'path',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ntype int = number;\nexport interface FlutterCupertinoTabProps {\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabElement extends WebFElementWithMethods<{\n switchTab(index: number): void;\n}> {}\n/**\n * FlutterCupertinoTab - WebF FlutterCupertinoTab component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoTab\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoTab>\n * ```\n */\nexport const FlutterCupertinoTab = createWebFComponent<FlutterCupertinoTabElement, FlutterCupertinoTabProps>({\n tagName: 'flutter-cupertino-tab',\n displayName: 'FlutterCupertinoTab',\n // Map props to attributes\n attributeProps: [\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});\nexport interface FlutterCupertinoTabItemProps {\n /**\n * title property\n * @default undefined\n */\n title?: string;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoTabItemElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoTabItem - WebF FlutterCupertinoTabItem component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoTabItem\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoTabItem>\n * ```\n */\nexport const FlutterCupertinoTabItem = createWebFComponent<FlutterCupertinoTabItemElement, FlutterCupertinoTabItemProps>({\n tagName: 'flutter-cupertino-tab-item',\n displayName: 'FlutterCupertinoTabItem',\n // Map props to attributes\n attributeProps: [\n 'title',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoSwitchProps {\n /**\n * checked property\n * @default undefined\n */\n checked?: boolean;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * inactiveColor property\n * @default undefined\n */\n inactiveColor?: string;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoSwitchElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoSwitch - WebF FlutterCupertinoSwitch component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoSwitch\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoSwitch>\n * ```\n */\nexport const FlutterCupertinoSwitch = createWebFComponent<FlutterCupertinoSwitchElement, FlutterCupertinoSwitchProps>({\n tagName: 'flutter-cupertino-switch',\n displayName: 'FlutterCupertinoSwitch',\n // Map props to attributes\n attributeProps: [\n 'checked',\n 'disabled',\n 'activeColor',\n 'inactiveColor',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n activeColor: 'active-color',\n inactiveColor: 'inactive-color',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface FlutterCupertinoSliderMethods {\n getValue(): number;\n setValue(val: number): void;\n}\nexport interface FlutterCupertinoSliderProps {\n /**\n * val property\n * @default undefined\n */\n val?: number;\n /**\n * min property\n * @default undefined\n */\n min?: number;\n /**\n * max property\n * @default undefined\n */\n max?: number;\n /**\n * step property\n * @default undefined\n */\n step?: number;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * changestart event handler\n */\n onChangestart?: (event: CustomEvent) => void;\n /**\n * changeend event handler\n */\n onChangeend?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoSliderElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoSlider - WebF FlutterCupertinoSlider component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoSlider\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoSlider>\n * ```\n */\nexport const FlutterCupertinoSlider = createWebFComponent<FlutterCupertinoSliderElement, FlutterCupertinoSliderProps>({\n tagName: 'flutter-cupertino-slider',\n displayName: 'FlutterCupertinoSlider',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'min',\n 'max',\n 'step',\n 'disabled',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onChangestart',\n eventName: 'changestart',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onChangeend',\n eventName: 'changeend',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface FlutterCupertinoSearchInputMethods {\n getValue(): string;\n setValue(value: string): void;\n focus(): void;\n blur(): void;\n clear(): void;\n}\nexport interface FlutterCupertinoSearchInputProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * placeholder property\n * @default undefined\n */\n placeholder?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * type property\n * @default undefined\n */\n type?: string;\n /**\n * prefixIcon property\n * @default undefined\n */\n prefixIcon?: string;\n /**\n * suffixIcon property\n * @default undefined\n */\n suffixIcon?: string;\n /**\n * suffixModel property\n * @default undefined\n */\n suffixModel?: string;\n /**\n * itemColor property\n * @default undefined\n */\n itemColor?: string;\n /**\n * itemSize property\n * @default undefined\n */\n itemSize?: number;\n /**\n * autofocus property\n */\n autofocus: boolean;\n /**\n * input event handler\n */\n onInput?: (event: CustomEvent) => void;\n /**\n * search event handler\n */\n onSearch?: (event: CustomEvent) => void;\n /**\n * clear event handler\n */\n onClear?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoSearchInputElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoSearchInput - WebF FlutterCupertinoSearchInput component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoSearchInput\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoSearchInput>\n * ```\n */\nexport const FlutterCupertinoSearchInput = createWebFComponent<FlutterCupertinoSearchInputElement, FlutterCupertinoSearchInputProps>({\n tagName: 'flutter-cupertino-search-input',\n displayName: 'FlutterCupertinoSearchInput',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'placeholder',\n 'disabled',\n 'type',\n 'prefixIcon',\n 'suffixIcon',\n 'suffixModel',\n 'itemColor',\n 'itemSize',\n 'autofocus',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n prefixIcon: 'prefix-icon',\n suffixIcon: 'suffix-icon',\n suffixModel: 'suffix-model',\n itemColor: 'item-color',\n itemSize: 'item-size',\n },\n // Event handlers\n events: [\n {\n propName: 'onInput',\n eventName: 'input',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onSearch',\n eventName: 'search',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onClear',\n eventName: 'clear',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoRadioProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * groupValue property\n * @default undefined\n */\n groupValue?: string;\n /**\n * useCheckmarkStyle property\n * @default undefined\n */\n useCheckmarkStyle?: boolean;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * focusColor property\n * @default undefined\n */\n focusColor?: string;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoRadioElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoRadio - WebF FlutterCupertinoRadio component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoRadio\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoRadio>\n * ```\n */\nexport const FlutterCupertinoRadio = createWebFComponent<FlutterCupertinoRadioElement, FlutterCupertinoRadioProps>({\n tagName: 'flutter-cupertino-radio',\n displayName: 'FlutterCupertinoRadio',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'groupValue',\n 'useCheckmarkStyle',\n 'disabled',\n 'activeColor',\n 'focusColor',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n groupValue: 'group-value',\n useCheckmarkStyle: 'use-checkmark-style',\n activeColor: 'active-color',\n focusColor: 'focus-color',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoPickerProps {\n /**\n * height property\n * @default undefined\n */\n height?: number;\n /**\n * itemHeight property\n * @default undefined\n */\n itemHeight?: number;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoPickerElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoPicker - WebF FlutterCupertinoPicker component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoPicker\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoPicker>\n * ```\n */\nexport const FlutterCupertinoPicker = createWebFComponent<FlutterCupertinoPickerElement, FlutterCupertinoPickerProps>({\n tagName: 'flutter-cupertino-picker',\n displayName: 'FlutterCupertinoPicker',\n // Map props to attributes\n attributeProps: [\n 'height',\n 'itemHeight',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n itemHeight: 'item-height',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface FlutterCupertinoModelPopupMethods {\n show(): void;\n hide(): void;\n}\nexport interface FlutterCupertinoModalPopupProps {\n /**\n * visible property\n * @default undefined\n */\n visible?: boolean;\n /**\n * height property\n * @default undefined\n */\n height?: number;\n /**\n * surfacePainted property\n * @default undefined\n */\n surfacePainted?: boolean;\n /**\n * maskClosable property\n * @default undefined\n */\n maskClosable?: boolean;\n /**\n * backgroundOpacity property\n * @default undefined\n */\n backgroundOpacity?: number;\n /**\n * close event handler\n */\n onClose?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoModalPopupElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoModalPopup - WebF FlutterCupertinoModalPopup component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoModalPopup\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoModalPopup>\n * ```\n */\nexport const FlutterCupertinoModalPopup = createWebFComponent<FlutterCupertinoModalPopupElement, FlutterCupertinoModalPopupProps>({\n tagName: 'flutter-cupertino-modal-popup',\n displayName: 'FlutterCupertinoModalPopup',\n // Map props to attributes\n attributeProps: [\n 'visible',\n 'height',\n 'surfacePainted',\n 'maskClosable',\n 'backgroundOpacity',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n surfacePainted: 'surface-painted',\n maskClosable: 'mask-closable',\n backgroundOpacity: 'background-opacity',\n },\n // Event handlers\n events: [\n {\n propName: 'onClose',\n eventName: 'close',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});\nexport interface FlutterCupertinoModelPopupProps {\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoModelPopupElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoModelPopup - WebF FlutterCupertinoModelPopup component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoModelPopup\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoModelPopup>\n * ```\n */\nexport const FlutterCupertinoModelPopup = createWebFComponent<FlutterCupertinoModelPopupElement, FlutterCupertinoModelPopupProps>({\n tagName: 'flutter-cupertino-model-popup',\n displayName: 'FlutterCupertinoModelPopup',\n // Map props to attributes\n attributeProps: [\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface FlutterCupertinoInputMethods {\n getValue(): string;\n setValue(value: string): void;\n focus(): void;\n blur(): void;\n}\nexport interface FlutterCupertinoInputProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * placeholder property\n * @default undefined\n */\n placeholder?: string;\n /**\n * type property\n * @default undefined\n */\n type?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * autofocus property\n */\n autofocus: boolean;\n /**\n * clearable property\n * @default undefined\n */\n clearable?: boolean;\n /**\n * maxlength property\n * @default undefined\n */\n maxlength?: number;\n /**\n * readonly property\n * @default undefined\n */\n readonly?: boolean;\n /**\n * input event handler\n */\n onInput?: (event: CustomEvent) => void;\n /**\n * submit event handler\n */\n onSubmit?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoInputElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoInput - WebF FlutterCupertinoInput component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoInput\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoInput>\n * ```\n */\nexport const FlutterCupertinoInput = createWebFComponent<FlutterCupertinoInputElement, FlutterCupertinoInputProps>({\n tagName: 'flutter-cupertino-input',\n displayName: 'FlutterCupertinoInput',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'placeholder',\n 'type',\n 'disabled',\n 'autofocus',\n 'clearable',\n 'maxlength',\n 'readonly',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Event handlers\n events: [\n {\n propName: 'onInput',\n eventName: 'input',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n {\n propName: 'onSubmit',\n eventName: 'submit',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoIconProps {\n /**\n * type property\n * @default undefined\n */\n type?: string;\n /**\n * label property\n * @default undefined\n */\n label?: string;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoIconElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoIcon - WebF FlutterCupertinoIcon component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoIcon\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoIcon>\n * ```\n */\nexport const FlutterCupertinoIcon = createWebFComponent<FlutterCupertinoIconElement, FlutterCupertinoIconProps>({\n tagName: 'flutter-cupertino-icon',\n displayName: 'FlutterCupertinoIcon',\n // Map props to attributes\n attributeProps: [\n 'type',\n 'label',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n },\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoDatePickerProps {\n /**\n * mode property\n * @default undefined\n */\n mode?: string;\n /**\n * minimumDate property\n * @default undefined\n */\n minimumDate?: string;\n /**\n * maximumDate property\n * @default undefined\n */\n maximumDate?: string;\n /**\n * minuteInterval property\n * @default undefined\n */\n minuteInterval?: string;\n /**\n * value property\n * @default undefined\n */\n value?: string;\n /**\n * minimumYear property\n * @default undefined\n */\n minimumYear?: string;\n /**\n * maximumYear property\n * @default undefined\n */\n maximumYear?: string;\n /**\n * showDayOfWeek property\n * @default undefined\n */\n showDayOfWeek?: string;\n /**\n * dateOrder property\n * @default undefined\n */\n dateOrder?: string;\n /**\n * height property\n * @default undefined\n */\n height?: string;\n /**\n * use24H property\n * @default undefined\n */\n use24H?: boolean;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoDatePickerElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoDatePicker - WebF FlutterCupertinoDatePicker component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoDatePicker\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoDatePicker>\n * ```\n */\nexport const FlutterCupertinoDatePicker = createWebFComponent<FlutterCupertinoDatePickerElement, FlutterCupertinoDatePickerProps>({\n tagName: 'flutter-cupertino-date-picker',\n displayName: 'FlutterCupertinoDatePicker',\n // Map props to attributes\n attributeProps: [\n 'mode',\n 'minimumDate',\n 'maximumDate',\n 'minuteInterval',\n 'value',\n 'minimumYear',\n 'maximumYear',\n 'showDayOfWeek',\n 'dateOrder',\n 'height',\n 'use24H',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n minimumDate: 'minimum-date',\n maximumDate: 'maximum-date',\n minuteInterval: 'minute-interval',\n minimumYear: 'minimum-year',\n maximumYear: 'maximum-year',\n showDayOfWeek: 'show-day-of-week',\n dateOrder: 'date-order',\n use24H: 'use-24-h',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\ninterface FlutterCupertinoContextMenuMethods {\n setActions(actions: ContextMenuAction[]): void;\n}\ninterface ContextMenuAction {\n text: string;\n icon?: string;\n destructive?: boolean;\n default?: boolean;\n event?: string;\n}\nexport interface FlutterCupertinoContextMenuProps {\n /**\n * enableHapticFeedback property\n * @default undefined\n */\n enableHapticFeedback?: boolean;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoContextMenuElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoContextMenu - WebF FlutterCupertinoContextMenu component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoContextMenu\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoContextMenu>\n * ```\n */\nexport const FlutterCupertinoContextMenu = createWebFComponent<FlutterCupertinoContextMenuElement, FlutterCupertinoContextMenuProps>({\n tagName: 'flutter-cupertino-context-menu',\n displayName: 'FlutterCupertinoContextMenu',\n // Map props to attributes\n attributeProps: [\n 'enableHapticFeedback',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n enableHapticFeedback: 'enable-haptic-feedback',\n },\n // Event handlers\n events: [\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoCheckboxProps {\n /**\n * val property\n * @default undefined\n */\n val?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * activeColor property\n * @default undefined\n */\n activeColor?: string;\n /**\n * checkColor property\n * @default undefined\n */\n checkColor?: string;\n /**\n * focusColor property\n * @default undefined\n */\n focusColor?: string;\n /**\n * fillColorSelected property\n * @default undefined\n */\n fillColorSelected?: string;\n /**\n * fillColorDisabled property\n * @default undefined\n */\n fillColorDisabled?: string;\n /**\n * change event handler\n */\n onChange?: (event: CustomEvent) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoCheckboxElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoCheckbox - WebF FlutterCupertinoCheckbox component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoCheckbox\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoCheckbox>\n * ```\n */\nexport const FlutterCupertinoCheckbox = createWebFComponent<FlutterCupertinoCheckboxElement, FlutterCupertinoCheckboxProps>({\n tagName: 'flutter-cupertino-checkbox',\n displayName: 'FlutterCupertinoCheckbox',\n // Map props to attributes\n attributeProps: [\n 'val',\n 'disabled',\n 'activeColor',\n 'checkColor',\n 'focusColor',\n 'fillColorSelected',\n 'fillColorDisabled',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n activeColor: 'active-color',\n checkColor: 'check-color',\n focusColor: 'focus-color',\n fillColorSelected: 'fill-color-selected',\n fillColorDisabled: 'fill-color-disabled',\n },\n // Event handlers\n events: [\n {\n propName: 'onChange',\n eventName: 'change',\n handler: (callback) => (event) => {\n callback((event as CustomEvent));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","import React from \"react\";\nimport { createWebFComponent, WebFElementWithMethods } from \"@openwebf/react-core-ui\";\nexport interface FlutterCupertinoButtonProps {\n /**\n * variant property\n * @default undefined\n */\n variant?: string;\n /**\n * size property\n * @default undefined\n */\n size?: string;\n /**\n * disabled property\n * @default undefined\n */\n disabled?: boolean;\n /**\n * pressedOpacity property\n * @default undefined\n */\n pressedOpacity?: string;\n /**\n * click event handler\n */\n onClick?: (event: Event) => void;\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties;\n /**\n * Children elements\n */\n children?: React.ReactNode;\n /**\n * Additional CSS class names\n */\n className?: string;\n}\nexport interface FlutterCupertinoButtonElement extends WebFElementWithMethods<{\n}> {}\n/**\n * FlutterCupertinoButton - WebF FlutterCupertinoButton component\n * \n * @example\n * ```tsx\n * <FlutterCupertinoButton\n * // Add example props here\n * >\n * Content\n * </FlutterCupertinoButton>\n * ```\n */\nexport const FlutterCupertinoButton = createWebFComponent<FlutterCupertinoButtonElement, FlutterCupertinoButtonProps>({\n tagName: 'flutter-cupertino-button',\n displayName: 'FlutterCupertinoButton',\n // Map props to attributes\n attributeProps: [\n 'variant',\n 'size',\n 'disabled',\n 'pressedOpacity',\n ],\n // Convert prop names to attribute names if needed\n attributeMap: {\n pressedOpacity: 'pressed-opacity',\n },\n // Event handlers\n events: [\n {\n propName: 'onClick',\n eventName: 'click',\n handler: (callback) => (event) => {\n callback((event as Event));\n },\n },\n ],\n // Default prop values\n defaultProps: {\n // Add default values here\n },\n});","// @ts-nocheck\n/* eslint-disable no-param-reassign */\n/* eslint-disable react-hooks/rules-of-hooks */\n/* eslint-disable @typescript-eslint/ban-types */\n/* eslint-disable no-use-before-define */\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport React, { forwardRef, useLayoutEffect, createElement, MouseEventHandler, useCallback, useRef } from 'react'\n\nconst NODE_MODE = false\n// const DEV_MODE = true\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype DistributiveOmit<T, K extends string | number | symbol> = T extends any ? (K extends keyof T ? Omit<T, K> : T) : T\ntype PropsWithoutRef<T> = DistributiveOmit<T, 'ref'>\n\n/**\n * Creates a type to be used for the props of a web component used directly in\n * React JSX.\n *\n * Example:\n *\n * ```ts\n * declare module \"react\" {\n * namespace JSX {\n * interface IntrinsicElements {\n * 'x-foo': WebComponentProps<XFoo>;\n * }\n * }\n * }\n * ```\n */\nexport type WebComponentProps<I extends HTMLElement> = React.DetailedHTMLProps<React.HTMLAttributes<I>, I> &\n ElementProps<I>\n\n/**\n * Type of the React component wrapping the web component. This is the return\n * type of `createComponent`.\n */\nexport type ReactWebComponent<I extends HTMLElement, E extends EventNames = {}> = React.ForwardRefExoticComponent<\n // TODO(augustjk): Remove and use `React.PropsWithoutRef` when\n // [preact/compat] missing type `PropsWithoutRef` · Issue #4124 · preactjs/preact is fixed.\n PropsWithoutRef<ComponentProps<I, E>> & React.RefAttributes<I>\n>\n\n// Props derived from custom element class. Currently has limitations of making\n// all properties optional and also surfaces life cycle methods in autocomplete.\n// TODO(augustjk) Consider omitting keyof LitElement to remove \"internal\"\n// lifecycle methods or allow user to explicitly provide props.\ntype ElementProps<I> = Partial<Omit<I, keyof HTMLElement>>\n\n// Acceptable props to the React component.\ntype ComponentProps<I, E extends EventNames = {}> = Omit<\n React.HTMLAttributes<I>,\n // Prefer type of provided event handler props or those on element over\n // built-in HTMLAttributes\n keyof E | keyof ElementProps<I>\n> &\n ElementProps<I>\n\n/**\n * Type used to cast an event name with an event type when providing the\n * `events` option to `createComponent` for better typing of the event handler\n * prop.\n *\n * Example:\n *\n * ```ts\n * const FooComponent = createComponent({\n * ...\n * events: {\n * onfoo: 'foo' as EventName<FooEvent>,\n * }\n * });\n * ```\n *\n * `onfoo` prop will have the type `(e: FooEvent) => void`.\n */\nexport type EventName<T extends Event = Event> = string & {\n __eventType: T\n}\n\n// A key value map matching React prop names to event names.\ntype EventNames = Record<string, EventName | string>\n\n// A map of expected event listener types based on EventNames.\n\nexport interface Options<E extends EventNames = {}> {\n tagName: string\n events?: E\n displayName?: string\n}\n\n// type Constructor<T> = { new (): T }\n\nconst reservedReactProperties = new Set(['children', 'localName', 'ref', 'style', 'className'])\n\nconst listenedEvents = new WeakMap<Element, Map<string, EventListenerObject>>()\n\n/**\n * Adds an event listener for the specified event to the given node. In the\n * React setup, there should only ever be one event listener. Thus, for\n * efficiency only one listener is added and the handler for that listener is\n * updated to point to the given listener function.\n */\nconst addOrUpdateEventListener = (node: Element, event: string, listener: (event?: Event) => void) => {\n let events = listenedEvents.get(node)\n if (events === undefined) {\n listenedEvents.set(node, (events = new Map()))\n }\n let handler = events.get(event)\n if (listener !== undefined) {\n // If necessary, add listener and track handler\n if (handler === undefined) {\n events.set(event, (handler = { handleEvent: listener }))\n node.addEventListener(event, handler)\n // Otherwise just update the listener with new value\n } else {\n handler.handleEvent = listener\n }\n // Remove listener if one exists and value is undefined\n } else if (handler !== undefined) {\n events.delete(event)\n node.removeEventListener(event, handler)\n }\n}\n\n/**\n * Sets properties and events on custom elements. These properties and events\n * have been pre-filtered so we know they should apply to the custom element.\n */\nconst setProperty = <E extends Element>(node: E, name: string, value: unknown, old: unknown, events?: EventNames) => {\n const event = events?.[name]\n // Dirty check event value.\n if (event !== undefined) {\n if (value !== old) {\n addOrUpdateEventListener(node, event, value as (e?: Event) => void)\n }\n return\n }\n // But don't dirty check properties; elements are assumed to do this.\n node[name as keyof E] = value as E[keyof E]\n\n // This block is to replicate React's behavior for attributes of native\n // elements where `undefined` or `null` values result in attributes being\n // removed.\n // react/packages/react-dom-bindings/src/client/DOMPropertyOperations.js at 899cb95f52cc83ab5ca1eb1e268\n //\n // It's only needed here for native HTMLElement properties that reflect\n // attributes of the same name but don't have that behavior like \"id\" or\n // \"draggable\".\n if ((value === undefined || value === null) && name in HTMLElement.prototype) {\n node.removeAttribute(name)\n }\n}\n\n/**\n * Creates a React component for a custom element. Properties are distinguished\n * from attributes automatically, and events can be configured so they are added\n * to the custom element as event listeners.\n *\n * @param options An options bag containing the parameters needed to generate a\n * wrapped web component.\n *\n * @param options.react The React module, typically imported from the `react`\n * npm package.\n * @param options.tagName The custom element tag name registered via\n * `customElements.define`.\n * @param options.elementClass The custom element class registered via\n * `customElements.define`.\n * @param options.events An object listing events to which the component can\n * listen. The object keys are the event property names passed in via React\n * props and the object values are the names of the corresponding events\n * generated by the custom element. For example, given `{onactivate:\n * 'activate'}` an event function may be passed via the component's `onactivate`\n * prop and will be called when the custom element fires its `activate` event.\n * @param options.displayName A React component display name, used in debugging\n * messages. Default value is inferred from the name of custom element class\n * registered via `customElements.define`.\n */\n// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-constraint\nexport const createComponent = <E extends any, I extends any>({\n tagName,\n events,\n displayName\n}: Options): ReactWebComponent<E, I> => {\n const eventProps = new Set(Object.keys(events ?? {}))\n\n type Props = ComponentProps<I>\n const ReactComponent = forwardRef<I, Props>((props, ref) => {\n const prevElemPropsRef = useRef(new Map())\n const elementRef = useRef<E | null>(null)\n\n // Props to be passed to React.createElement\n const reactProps: Record<string, unknown> = {}\n // Props to be set on element with setProperty\n const elementProps: Record<string, unknown> = {}\n\n for (const [k, v] of Object.entries(props)) {\n if (reservedReactProperties.has(k)) {\n // React does *not* handle `className` for custom elements so\n // coerce it to `class` so it's handled correctly.\n reactProps[k === 'className' ? 'class' : k] = v\n continue\n }\n\n if (eventProps.has(k)) {\n elementProps[k] = v\n continue\n }\n\n reactProps[k] = v\n }\n\n // useLayoutEffect produces warnings during server rendering.\n\n // This one has no dependency array so it'll run on every re-render.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useLayoutEffect(() => {\n if (elementRef.current === null) {\n return\n }\n const newElemProps = new Map()\n for (const key in elementProps) {\n setProperty(elementRef.current, key, props[key], prevElemPropsRef.current.get(key), events)\n prevElemPropsRef.current.delete(key)\n newElemProps.set(key, props[key])\n }\n // \"Unset\" any props from previous render that no longer exist.\n // Setting to `undefined` seems like the correct thing to \"unset\"\n // but currently React will set it as `null`.\n // See Bug: Removal of custom element property sets it to `null` rather than `undefined` · Issue #28203 · f\n for (const [key, value] of prevElemPropsRef.current) {\n setProperty(elementRef.current, key, undefined, value, events)\n }\n prevElemPropsRef.current = newElemProps\n })\n\n // Empty dependency array so this will only run once after first render.\n useLayoutEffect(() => {\n elementRef.current?.removeAttribute('defer-hydration')\n }, [])\n // }\n\n if (NODE_MODE) {\n // If component is to be server rendered with `@lit/ssr-react`, pass\n // element properties in a special bag to be set by the server-side\n // element renderer.\n if (\n (createElement.name === 'litPatchedCreateElement' || globalThis.litSsrReactEnabled) &&\n Object.keys(elementProps).length\n ) {\n // This property needs to remain unminified.\n reactProps['_$litProps$'] = elementProps\n }\n } else {\n // Suppress hydration warning for server-rendered attributes.\n // This property needs to remain unminified.\n reactProps['suppressHydrationWarning'] = true\n }\n\n return createElement(tagName, {\n ...reactProps,\n ref: useCallback(\n (node: I) => {\n elementRef.current = node\n if (typeof ref === 'function') {\n ref(node)\n } else if (ref !== null) {\n // eslint-disable-next-line no-param-reassign\n ref.current = node\n }\n },\n [ref]\n )\n })\n })\n\n ReactComponent.displayName = displayName\n\n return ReactComponent\n}\n"],"mappings":";AACA,SAAS,2BAAmD;AA+DrD,IAAM,8BAA8B,oBAA0F;AAAA,EACnI,SAAS;AAAA,EACT,aAAa;AAAA;AAAA,EAEb,gBAAgB;AAAA,IACd;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA;AAAA,E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AI;AAAA,IAC3C;AAEA,WAAO,cAAc,SAAS;AAAA,MAC5B,GAAG;AAAA,MACH,KAAK;AAAA,QACH,CAAC,SAAY;AACX,qBAAW,UAAU;AACrB,cAAI,OAAO,QAAQ,YAAY;AAC7B,gBAAI,IAAI;AAAA,UACV,WAAW,QAAQ,MAAM;AAEvB,gBAAI,UAAU;AAAA,UAChB;AAAA,QACF;AAAA,QACA,CAAC,GAAG;AAAA,MACN;AAAA,IACF,CAAC;AAAA,EACH,CAAC;AAED,iBAAe,cAAc;AAE7B,SAAO;AACT;","names":["createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent","createWebFComponent"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openwebf/react-cupertino-ui",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "iOS-style UI components for WebF applications. This package provides Flutter's Cupertino widgets wrapped as HTML custom elements for use in WebF.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",