@octane-xplat/ui 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -4
- package/dist/native/Absolute.tsrx.js +43 -0
- package/dist/native/Accordion.tsrx.js +75 -0
- package/dist/native/ActivityIndicator.tsrx.js +35 -0
- package/dist/native/Alert.tsrx.js +74 -0
- package/dist/native/Avatar.tsrx.js +76 -0
- package/dist/native/AvatarGroup.tsrx.js +84 -0
- package/dist/native/Badge.tsrx.js +29 -0
- package/dist/native/Banner.tsrx.js +80 -0
- package/dist/native/Breadcrumb.tsrx.js +66 -0
- package/dist/native/Button.tsrx.js +62 -0
- package/dist/native/Card.tsrx.js +64 -0
- package/dist/native/Checkbox.tsrx.js +58 -0
- package/dist/native/CheckboxGroup.tsrx.js +70 -0
- package/dist/native/Chip.tsrx.js +83 -0
- package/dist/native/Collapsible.tsrx.js +74 -0
- package/dist/native/CommandPalette.tsrx.js +143 -0
- package/dist/native/ContextMenu.tsrx.js +140 -0
- package/dist/native/Drawer.tsrx.js +60 -0
- package/dist/native/DropdownMenu.tsrx.js +155 -0
- package/dist/native/Empty.tsrx.js +82 -0
- package/dist/native/FieldGroup.tsrx.js +39 -0
- package/dist/native/FormField.tsrx.js +53 -0
- package/dist/native/{ui8.js → Grid.tsrx.js} +20 -9
- package/dist/native/{ui59.js → Heading.tsrx.js} +4 -4
- package/dist/native/Hoverable.tsrx.js +139 -0
- package/dist/native/{ui58.js → Icon.tsrx.js} +5 -5
- package/dist/native/{ui29.js → Image.tsrx.js} +5 -5
- package/dist/native/InputNumber.tsrx.js +146 -0
- package/dist/native/InputRating.tsrx.js +74 -0
- package/dist/native/InputTags.tsrx.js +131 -0
- package/dist/native/Kbd.tsrx.js +29 -0
- package/dist/native/{ui50.js → KeyboardAvoiding.mobile.tsrx.js} +6 -4
- package/dist/native/{ui17.js → Link.tsrx.js} +2 -2
- package/dist/native/ListItem.tsrx.js +178 -0
- package/dist/native/Meter.tsrx.js +70 -0
- package/dist/native/{ui22.js → NavLink.tsrx.js} +4 -4
- package/dist/native/NavigationMenu.tsrx.js +67 -0
- package/dist/native/{ui35.js → Overlay.tsrx.js} +4 -4
- package/dist/native/Pagination.tsrx.js +107 -0
- package/dist/native/PinInput.tsrx.js +94 -0
- package/dist/native/{ui38.js → Popover.tsrx.js} +7 -7
- package/dist/native/{ui16.js → Pressable.tsrx.js} +21 -15
- package/dist/native/ProgressGroup.tsrx.js +66 -0
- package/dist/native/RadioGroup.tsrx.js +85 -0
- package/dist/native/{ui15.js → RichText.tsrx.js} +16 -23
- package/dist/native/{ui20.js → RouteHost.mobile.tsrx.js} +13 -2
- package/dist/native/Row.tsrx.js +98 -0
- package/dist/native/{ui49.js → SafeArea.tsrx.js} +10 -4
- package/dist/native/{ui45.js → Screen.tsrx.js} +14 -6
- package/dist/native/{ui26.js → ScrollBox.tsrx.js} +2 -2
- package/dist/native/ScrollView.tsrx.js +233 -0
- package/dist/native/SearchInput.tsrx.js +151 -0
- package/dist/native/SegmentedControl.tsrx.js +75 -0
- package/dist/native/Select.tsrx.js +202 -0
- package/dist/native/Separator.tsrx.js +25 -0
- package/dist/native/{ui63.js → Sheet.tsrx.js} +24 -8
- package/dist/native/Skeleton.tsrx.js +28 -0
- package/dist/native/Slider.tsrx.js +98 -0
- package/dist/native/{ui13.js → Spacer.tsrx.js} +3 -3
- package/dist/native/Stack.tsrx.js +47 -0
- package/dist/native/Stepper.tsrx.js +75 -0
- package/dist/native/Switch.tsrx.js +33 -0
- package/dist/native/Table.tsrx.js +103 -0
- package/dist/native/Tabs.tsrx.js +153 -0
- package/dist/native/{ui14.js → Text.tsrx.js} +5 -4
- package/dist/native/{ui24.js → TextArea.tsrx.js} +18 -17
- package/dist/native/{ui23.js → TextInput.tsrx.js} +22 -17
- package/dist/native/Timeline.tsrx.js +112 -0
- package/dist/native/Tooltip.tsrx.js +131 -0
- package/dist/native/Tree.tsrx.js +140 -0
- package/dist/native/User.tsrx.js +95 -0
- package/dist/native/View.tsrx.js +98 -0
- package/dist/native/VirtualList.tsrx.js +466 -0
- package/dist/native/WebView.tsrx.js +135 -0
- package/dist/native/aliases.tsrx.js +38 -0
- package/dist/native/android/BottomNavigationView.android.tsrx.js +220 -0
- package/dist/native/android/CircularProgressIndicator.android.tsrx.js +27 -0
- package/dist/native/{ui51.js → android/DrawerLayout.android.tsrx.js} +6 -7
- package/dist/native/android/MaterialDialog.android.tsrx.js +62 -0
- package/dist/native/android/MaterialSwitch.android.tsrx.js +28 -0
- package/dist/native/android/RecyclerView.android.tsrx.js +260 -0
- package/dist/native/android/SeekBar.android.tsrx.js +34 -0
- package/dist/native/android/icon.android.js +7 -0
- package/dist/native/android/index.js +11 -0
- package/dist/native/android/openModal.android.js +39 -0
- package/dist/native/{ui41.js → anim.tsrx.js} +1 -1
- package/dist/native/apply-native-modifiers.native.js +9 -0
- package/dist/native/child-array.js +15 -0
- package/dist/native/{ui3.js → escape-props.js} +3 -1
- package/dist/native/icons.js +25 -0
- package/dist/native/index.shared.js +92 -0
- package/dist/native/{ui11.js → ios/LiquidGlass.ios.tsrx.js} +4 -4
- package/dist/native/{ui12.js → ios/LiquidGlassContainer.ios.tsrx.js} +4 -4
- package/dist/native/ios/SideDrawer.ios.tsrx.js +65 -0
- package/dist/native/{ui53.js → ios/UIActivityIndicatorView.ios.tsrx.js} +5 -5
- package/dist/native/{ui32.js → ios/UIModal.ios.tsrx.js} +10 -6
- package/dist/native/{ui56.js → ios/UISlider.ios.tsrx.js} +5 -5
- package/dist/native/{ui47.js → ios/UISwitch.ios.tsrx.js} +5 -5
- package/dist/native/ios/UITabBar.ios.tsrx.js +187 -0
- package/dist/native/ios/UITableView.ios.tsrx.js +282 -0
- package/dist/native/ios/icon.ios.js +7 -0
- package/dist/native/ios/index.js +13 -0
- package/dist/native/{ui33.js → ios/openModal.ios.js} +5 -4
- package/dist/native/keyboard-inset.mobile.js +66 -0
- package/dist/native/{ui5.js → layout-child.js} +1 -1
- package/dist/native/modal-presenter.mobile.js +19 -0
- package/dist/native/modifier-factories.js +24 -0
- package/dist/native/native/index.js +4 -0
- package/dist/native/octane-client-build.json +1 -1
- package/dist/native/{ui6.js → pan.tsrx.js} +9 -69
- package/dist/native/platform.js +10 -0
- package/dist/native/{ui36.js → platformProps.js} +3 -1
- package/dist/native/refresh-metrics.js +9 -0
- package/dist/native/refresh.js +177 -0
- package/dist/native/{ui34.js → root-layout.mobile.js} +8 -3
- package/dist/native/route-host.mobile.js +2 -0
- package/dist/native/{ui19.js → route-table.js} +105 -4
- package/dist/native/{ui21.js → route.js} +140 -20
- package/dist/native/safeAreaInsets.tsrx.js +67 -0
- package/dist/native/shared.js +93 -0
- package/dist/native/sheet-detents.js +102 -0
- package/dist/native/{ui64.js → sheet-service.js} +26 -10
- package/dist/native/sheet-snap.js +35 -0
- package/dist/native/{ui18.js → stacks.js} +1 -1
- package/dist/native/{ui43.js → styled.tsrx.js} +1 -1
- package/dist/native/{ui28.js → svg.mobile.js} +2 -2
- package/dist/native/tap-to-blur.mobile.js +94 -0
- package/dist/native/text-write.js +27 -0
- package/dist/native/{ui30.js → theme/colorScheme.js} +2 -2
- package/dist/native/{ui42.js → theme/status-bar-scheme.mobile.js} +3 -3
- package/dist/{web/ui29.js → native/theme/theme-scheme.js} +3 -3
- package/dist/native/{ui40.js → toast-anchor.tsrx.js} +4 -4
- package/dist/native/translate.js +11 -0
- package/dist/native/ui.js +95 -55
- package/dist/native/use-back.tsrx.js +9 -0
- package/dist/native/{ui62.js → use-store.tsrx.js} +1 -1
- package/dist/native/{ui52.js → useMeasure.tsrx.js} +2 -2
- package/dist/native/vendor/ui-svg/index.android.js +137 -0
- package/dist/native/vendor/ui-svg/index.common.js +10 -0
- package/dist/native/vendor/ui-svg/index.ios.js +111 -0
- package/dist/native/virtual-list-layout.js +146 -0
- package/dist/native/{ui44.js → windows.js} +1 -1
- package/dist/web/Absolute.web.tsrx.js +47 -0
- package/dist/web/Accordion.web.tsrx.js +85 -0
- package/dist/web/{ui48.js → ActivityIndicator.web.tsrx.js} +1 -1
- package/dist/web/Alert.web.tsrx.js +79 -0
- package/dist/web/Avatar.web.tsrx.js +106 -0
- package/dist/web/AvatarGroup.web.tsrx.js +108 -0
- package/dist/web/Badge.web.tsrx.js +37 -0
- package/dist/web/Banner.web.tsrx.js +79 -0
- package/dist/web/Breadcrumb.web.tsrx.js +135 -0
- package/dist/web/Button.web.tsrx.js +45 -0
- package/dist/web/Card.web.tsrx.js +73 -0
- package/dist/web/Checkbox.web.tsrx.js +89 -0
- package/dist/web/CheckboxGroup.web.tsrx.js +79 -0
- package/dist/web/Chip.web.tsrx.js +64 -0
- package/dist/web/Collapsible.web.tsrx.js +94 -0
- package/dist/web/CommandPalette.web.tsrx.js +125 -0
- package/dist/web/ContextMenu.web.tsrx.js +154 -0
- package/dist/web/{ui45.js → Drawer.web.tsrx.js} +13 -9
- package/dist/web/DropdownMenu.web.tsrx.js +162 -0
- package/dist/web/Empty.web.tsrx.js +89 -0
- package/dist/web/FieldGroup.web.tsrx.js +57 -0
- package/dist/web/FormField.web.tsrx.js +92 -0
- package/dist/web/Grid.web.tsrx.js +65 -0
- package/dist/web/{ui54.js → Heading.web.tsrx.js} +2 -2
- package/dist/web/{ui34.js → Hoverable.web.tsrx.js} +6 -5
- package/dist/web/{ui53.js → Icon.web.tsrx.js} +2 -2
- package/dist/web/{ui25.js → Image.web.tsrx.js} +2 -2
- package/dist/web/InputNumber.web.tsrx.js +99 -0
- package/dist/web/InputRating.web.tsrx.js +72 -0
- package/dist/web/InputTags.web.tsrx.js +122 -0
- package/dist/web/Kbd.web.tsrx.js +37 -0
- package/dist/web/ListItem.web.tsrx.js +139 -0
- package/dist/web/{ui50.js → Meter.web.tsrx.js} +1 -1
- package/dist/web/{ui19.js → NavLink.web.tsrx.js} +1 -1
- package/dist/web/NavigationMenu.web.tsrx.js +118 -0
- package/dist/web/{ui31.js → Overlay.web.tsrx.js} +2 -2
- package/dist/web/Pagination.web.tsrx.js +80 -0
- package/dist/web/PinInput.web.tsrx.js +72 -0
- package/dist/web/{ui33.js → Popover.web.tsrx.js} +3 -3
- package/dist/web/{ui15.js → Pressable.web.tsrx.js} +68 -95
- package/dist/web/ProgressGroup.web.tsrx.js +109 -0
- package/dist/web/RadioGroup.web.tsrx.js +69 -0
- package/dist/web/{ui14.js → RichText.web.tsrx.js} +2 -2
- package/dist/web/Row.web.tsrx.js +250 -0
- package/dist/web/{ui43.js → SafeArea.web.tsrx.js} +10 -4
- package/dist/web/{ui39.js → Screen.web.tsrx.js} +1 -1
- package/dist/web/{ui24.js → ScrollBox.web.tsrx.js} +1 -1
- package/dist/web/ScrollView.web.tsrx.js +388 -0
- package/dist/web/SearchInput.web.tsrx.js +137 -0
- package/dist/web/SegmentedControl.web.tsrx.js +75 -0
- package/dist/web/Select.web.tsrx.js +149 -0
- package/dist/web/Separator.web.tsrx.js +42 -0
- package/dist/web/Sheet.web.tsrx.js +81 -0
- package/dist/web/Skeleton.web.tsrx.js +56 -0
- package/dist/web/Slider.web.tsrx.js +97 -0
- package/dist/web/{ui12.js → Spacer.web.tsrx.js} +1 -1
- package/dist/web/Stack.web.tsrx.js +47 -0
- package/dist/web/Stepper.web.tsrx.js +65 -0
- package/dist/web/Switch.web.tsrx.js +59 -0
- package/dist/web/Table.web.tsrx.js +161 -0
- package/dist/web/Tabs.web.tsrx.js +215 -0
- package/dist/web/{ui13.js → Text.web.tsrx.js} +18 -50
- package/dist/web/{ui21.js → TextArea.web.tsrx.js} +4 -4
- package/dist/web/{ui20.js → TextInput.web.tsrx.js} +8 -8
- package/dist/web/Timeline.web.tsrx.js +172 -0
- package/dist/web/Tooltip.web.tsrx.js +184 -0
- package/dist/web/Tree.web.tsrx.js +146 -0
- package/dist/web/User.web.tsrx.js +116 -0
- package/dist/web/View.web.tsrx.js +250 -0
- package/dist/web/VirtualList.web.tsrx.js +622 -0
- package/dist/web/WebView.web.tsrx.js +272 -0
- package/dist/web/aliases.web.tsrx.js +24 -0
- package/dist/web/{ui36.js → anim.web.tsrx.js} +3 -35
- package/dist/web/child-array.js +15 -0
- package/dist/web/icons.js +25 -0
- package/dist/web/index.shared.web.js +92 -0
- package/dist/web/octane-client-build.json +1 -1
- package/dist/web/pan.web.tsrx.js +66 -0
- package/dist/web/platform.web.js +9 -0
- package/dist/web/refresh-metrics.js +9 -0
- package/dist/web/refresh.web.js +133 -0
- package/dist/web/{ui17.js → route-table.js} +105 -4
- package/dist/web/{ui18.js → route.web.js} +48 -11
- package/dist/web/sheet-detents.web.js +103 -0
- package/dist/web/{ui60.js → sheet-service.web.js} +5 -1
- package/dist/web/sheet-snap.js +35 -0
- package/dist/{native/ui31.js → web/theme/theme-scheme.js} +2 -2
- package/dist/web/{ui35.js → toast-anchor.web.tsrx.js} +3 -3
- package/dist/web/transform.web.js +43 -0
- package/dist/web/translate.web.js +13 -0
- package/dist/web/ui.js +93 -53
- package/dist/web/use-back.web.tsrx.js +9 -0
- package/dist/web/virtual-list-layout.js +146 -0
- package/dist/web/web/index.js +3 -0
- package/package.json +53 -14
- package/platforms/android/include.gradle +8 -0
- package/platforms/android/native-api-usage.json +8 -0
- package/platforms/ios/Podfile +2 -0
- package/src/Absolute.tsrx +22 -0
- package/src/Absolute.web.tsrx +22 -0
- package/src/Accordion.macos.tsrx +50 -0
- package/src/Accordion.tsrx +50 -0
- package/src/Accordion.web.tsrx +43 -0
- package/src/ActivityIndicator.tsrx +29 -0
- package/src/ActivityIndicator.web.tsrx +14 -0
- package/src/Alert.macos.tsrx +42 -0
- package/src/Alert.tsrx +24 -0
- package/src/Alert.web.tsrx +23 -0
- package/src/Avatar.macos.tsrx +25 -0
- package/src/Avatar.tsrx +25 -0
- package/src/Avatar.web.tsrx +24 -0
- package/src/AvatarGroup.macos.tsrx +32 -0
- package/src/AvatarGroup.tsrx +32 -0
- package/src/AvatarGroup.web.tsrx +29 -0
- package/src/Badge.macos.tsrx +12 -0
- package/src/Badge.tsrx +12 -0
- package/src/Badge.web.tsrx +10 -0
- package/src/Banner.macos.tsrx +20 -0
- package/src/Banner.tsrx +20 -0
- package/src/Banner.web.tsrx +20 -0
- package/src/Breadcrumb.macos.tsrx +27 -0
- package/src/Breadcrumb.tsrx +27 -0
- package/src/Breadcrumb.web.tsrx +25 -0
- package/src/Button.tsrx +23 -0
- package/src/Button.web.tsrx +21 -0
- package/src/CameraView.macos.tsrx +6 -0
- package/src/Card.macos.tsrx +13 -0
- package/src/Card.tsrx +13 -0
- package/src/Card.web.tsrx +11 -0
- package/src/Checkbox.tsrx +23 -0
- package/src/Checkbox.web.tsrx +34 -0
- package/src/CheckboxGroup.macos.tsrx +39 -0
- package/src/CheckboxGroup.tsrx +39 -0
- package/src/CheckboxGroup.web.tsrx +38 -0
- package/src/Chip.macos.tsrx +25 -0
- package/src/Chip.tsrx +25 -0
- package/src/Chip.web.tsrx +25 -0
- package/src/Collapsible.macos.tsrx +39 -0
- package/src/Collapsible.tsrx +39 -0
- package/src/Collapsible.web.tsrx +33 -0
- package/src/CommandPalette.macos.tsrx +58 -0
- package/src/CommandPalette.tsrx +58 -0
- package/src/CommandPalette.web.tsrx +59 -0
- package/src/ContextMenu.macos.tsrx +59 -0
- package/src/ContextMenu.tsrx +59 -0
- package/src/ContextMenu.web.tsrx +69 -0
- package/src/Drawer.macos.tsrx +28 -0
- package/src/Drawer.tsrx +25 -0
- package/src/Drawer.web.tsrx +31 -0
- package/src/DropdownMenu.macos.tsrx +63 -0
- package/src/DropdownMenu.tsrx +63 -0
- package/src/DropdownMenu.web.tsrx +78 -0
- package/src/Empty.macos.tsrx +15 -0
- package/src/Empty.tsrx +15 -0
- package/src/Empty.web.tsrx +13 -0
- package/src/FieldGroup.macos.tsrx +17 -0
- package/src/FieldGroup.tsrx +17 -0
- package/src/FieldGroup.web.tsrx +17 -0
- package/src/FormField.macos.tsrx +25 -0
- package/src/FormField.tsrx +25 -0
- package/src/FormField.web.tsrx +24 -0
- package/src/Grid.tsrx +32 -0
- package/src/Grid.web.tsrx +43 -0
- package/src/Heading.macos.tsrx +8 -0
- package/src/Heading.tsrx +17 -0
- package/src/Heading.web.tsrx +15 -0
- package/src/Hoverable.mobile.tsrx +21 -0
- package/src/Hoverable.tsrx +113 -0
- package/src/Hoverable.web.tsrx +98 -0
- package/src/Icon.macos.tsrx +18 -0
- package/src/Icon.tsrx +65 -0
- package/src/Icon.web.tsrx +75 -0
- package/src/Image.macos.tsrx +12 -0
- package/src/Image.tsrx +51 -0
- package/src/Image.web.tsrx +14 -0
- package/src/InputNumber.macos.tsrx +49 -0
- package/src/InputNumber.tsrx +49 -0
- package/src/InputNumber.web.tsrx +47 -0
- package/src/InputRating.macos.tsrx +42 -0
- package/src/InputRating.tsrx +39 -0
- package/src/InputRating.web.tsrx +52 -0
- package/src/InputTags.macos.tsrx +49 -0
- package/src/InputTags.tsrx +49 -0
- package/src/InputTags.web.tsrx +49 -0
- package/src/Kbd.macos.tsrx +11 -0
- package/src/Kbd.tsrx +11 -0
- package/src/Kbd.web.tsrx +9 -0
- package/src/KeyboardAvoiding.macos.tsrx +8 -0
- package/src/KeyboardAvoiding.mobile.tsrx +63 -0
- package/src/Link.macos.tsrx +15 -0
- package/src/Link.tsrx +10 -0
- package/src/Link.web.tsrx +12 -0
- package/src/ListItem.macos.tsrx +52 -0
- package/src/ListItem.tsrx +52 -0
- package/src/ListItem.web.tsrx +50 -0
- package/src/Meter.macos.tsrx +8 -0
- package/src/Meter.tsrx +45 -0
- package/src/Meter.web.tsrx +32 -0
- package/src/NavLink.macos.tsrx +24 -0
- package/src/NavLink.tsrx +22 -0
- package/src/NavLink.web.tsrx +23 -0
- package/src/NavigationMenu.macos.tsrx +31 -0
- package/src/NavigationMenu.tsrx +28 -0
- package/src/NavigationMenu.web.tsrx +31 -0
- package/src/Overlay.macos.tsrx +11 -0
- package/src/Overlay.tsrx +84 -0
- package/src/Overlay.web.tsrx +23 -0
- package/src/Pagination.macos.tsrx +54 -0
- package/src/Pagination.tsrx +47 -0
- package/src/Pagination.web.tsrx +50 -0
- package/src/PinInput.macos.tsrx +46 -0
- package/src/PinInput.tsrx +46 -0
- package/src/PinInput.web.tsrx +45 -0
- package/src/Popover.macos.tsrx +11 -0
- package/src/Popover.tsrx +157 -0
- package/src/Popover.web.tsrx +109 -0
- package/src/Pressable.macos.tsrx +19 -0
- package/src/Pressable.tsrx +37 -0
- package/src/Pressable.web.tsrx +45 -0
- package/src/ProgressGroup.macos.tsrx +17 -0
- package/src/ProgressGroup.tsrx +17 -0
- package/src/ProgressGroup.web.tsrx +15 -0
- package/src/RadioGroup.macos.tsrx +50 -0
- package/src/RadioGroup.tsrx +34 -0
- package/src/RadioGroup.web.tsrx +43 -0
- package/src/RichText.tsrx +40 -0
- package/src/RichText.web.tsrx +24 -0
- package/src/RouteHost.macos.tsrx +18 -0
- package/src/RouteHost.mobile.tsrx +44 -0
- package/src/Row.macos.tsrx +26 -0
- package/src/Row.tsrx +27 -0
- package/src/Row.web.tsrx +27 -0
- package/src/SafeArea.macos.tsrx +8 -0
- package/src/SafeArea.tsrx +20 -0
- package/src/SafeArea.web.tsrx +24 -0
- package/src/Screen.macos.tsrx +14 -0
- package/src/Screen.tsrx +31 -0
- package/src/Screen.web.tsrx +7 -0
- package/src/ScrollBox.tsrx +8 -0
- package/src/ScrollBox.web.tsrx +7 -0
- package/src/ScrollView.macos.tsrx +19 -0
- package/src/ScrollView.tsrx +117 -0
- package/src/ScrollView.web.tsrx +109 -0
- package/src/SearchInput.tsrx +60 -0
- package/src/SearchInput.web.test.tsrx +58 -0
- package/src/SearchInput.web.tsrx +55 -0
- package/src/SegmentedControl.tsrx +43 -0
- package/src/SegmentedControl.web.test.tsrx +46 -0
- package/src/SegmentedControl.web.tsrx +51 -0
- package/src/Select.macos.tsrx +104 -0
- package/src/Select.tsrx +104 -0
- package/src/Select.web.tsrx +124 -0
- package/src/Separator.macos.tsrx +17 -0
- package/src/Separator.tsrx +17 -0
- package/src/Separator.web.tsrx +17 -0
- package/src/Sheet.macos.tsrx +15 -0
- package/src/Sheet.tsrx +122 -0
- package/src/Sheet.web.tsrx +56 -0
- package/src/Skeleton.macos.tsrx +15 -0
- package/src/Skeleton.tsrx +15 -0
- package/src/Skeleton.web.tsrx +15 -0
- package/src/Slider.tsrx +71 -0
- package/src/Slider.web.tsrx +60 -0
- package/src/Spacer.tsrx +8 -0
- package/src/Spacer.web.tsrx +6 -0
- package/src/Stack.tsrx +24 -0
- package/src/Stack.web.tsrx +22 -0
- package/src/Stepper.macos.tsrx +52 -0
- package/src/Stepper.tsrx +31 -0
- package/src/Stepper.web.tsrx +37 -0
- package/src/Switch.tsrx +21 -0
- package/src/Switch.web.tsrx +28 -0
- package/src/Table.macos.tsrx +37 -0
- package/src/Table.tsrx +37 -0
- package/src/Table.web.tsrx +37 -0
- package/src/Tabs.macos.tsrx +60 -0
- package/src/Tabs.tsrx +55 -0
- package/src/Tabs.web.tsrx +98 -0
- package/src/Text.macos.tsrx +18 -0
- package/src/Text.tsrx +62 -0
- package/src/Text.web.tsrx +31 -0
- package/src/TextArea.tsrx +65 -0
- package/src/TextArea.web.tsrx +61 -0
- package/src/TextInput.tsrx +39 -0
- package/src/TextInput.web.tsrx +28 -0
- package/src/Timeline.macos.tsrx +27 -0
- package/src/Timeline.tsrx +24 -0
- package/src/Timeline.web.tsrx +22 -0
- package/src/Tooltip.mobile.tsrx +20 -0
- package/src/Tooltip.tsrx +102 -0
- package/src/Tooltip.web.tsrx +156 -0
- package/src/Tree.macos.tsrx +45 -0
- package/src/Tree.tsrx +45 -0
- package/src/Tree.web.tsrx +52 -0
- package/src/User.macos.tsrx +24 -0
- package/src/User.tsrx +24 -0
- package/src/User.web.tsrx +24 -0
- package/src/View.macos.tsrx +29 -0
- package/src/View.tsrx +32 -0
- package/src/View.web.tsrx +33 -0
- package/src/VirtualList.macos.tsrx +298 -0
- package/src/VirtualList.tsrx +358 -0
- package/src/VirtualList.web.tsrx +313 -0
- package/src/WebView.macos.tsrx +6 -0
- package/src/WebView.tsrx +89 -0
- package/src/WebView.web.tsrx +92 -0
- package/src/aliases.macos.tsrx +18 -0
- package/src/aliases.tsrx +18 -0
- package/src/aliases.web.tsrx +17 -0
- package/src/android/BottomNavigationView.android.tsrx +170 -0
- package/src/android/CircularProgressIndicator.android.tsrx +19 -0
- package/src/android/DrawerLayout.android.tsrx +48 -0
- package/src/android/MaterialDialog.android.tsrx +62 -0
- package/src/android/MaterialSwitch.android.tsrx +18 -0
- package/src/android/RecyclerView.android.tsrx +173 -0
- package/src/android/SeekBar.android.tsrx +20 -0
- package/src/android/icon.android.ts +8 -0
- package/src/android/index.ts +37 -0
- package/src/android/openModal.android.ts +55 -0
- package/src/anim.macos.tsrx +20 -0
- package/src/anim.tsrx +65 -0
- package/src/anim.web.tsrx +55 -0
- package/src/apply-native-modifiers.native.ts +13 -0
- package/src/camera-permission.web.ts +11 -0
- package/src/child-array.ts +16 -0
- package/src/colorScheme.macos.ts +27 -0
- package/src/controls.macos.tsrx +171 -0
- package/src/cx.ts +8 -0
- package/src/escape-props.macos.ts +11 -0
- package/src/escape-props.ts +70 -0
- package/src/escape-props.web.ts +25 -0
- package/src/hosted-unsupported.macos.tsrx +9 -0
- package/src/icons.ts +60 -0
- package/src/index.linux.ts +10 -0
- package/src/index.macos.ts +106 -0
- package/src/index.mobile.ts +6 -0
- package/src/index.shared.ts +269 -0
- package/src/index.shared.web.ts +270 -0
- package/src/index.ts +1 -0
- package/src/index.web.ts +1 -0
- package/src/ios/LiquidGlass.ios.tsrx +41 -0
- package/src/ios/LiquidGlassContainer.ios.tsrx +34 -0
- package/src/ios/SideDrawer.ios.tsrx +49 -0
- package/src/ios/UIActivityIndicatorView.ios.tsrx +18 -0
- package/src/ios/UIModal.ios.tsrx +68 -0
- package/src/ios/UISlider.ios.tsrx +20 -0
- package/src/ios/UISwitch.ios.tsrx +18 -0
- package/src/ios/UITabBar.ios.tsrx +172 -0
- package/src/ios/UITableView.ios.tsrx +186 -0
- package/src/ios/icon.ios.ts +8 -0
- package/src/ios/index.ts +42 -0
- package/src/ios/openModal.ios.ts +55 -0
- package/src/keyboard-inset.mobile.ts +89 -0
- package/src/layout-child.ts +57 -0
- package/src/layout-child.web.ts +108 -0
- package/src/layout-shells.macos.tsrx +10 -0
- package/src/layout.macos.tsrx +41 -0
- package/src/macos-extras.macos.tsrx +40 -0
- package/src/meter-math.ts +6 -0
- package/src/modal-presenter.mobile.ts +24 -0
- package/src/modifier-factories.ts +20 -0
- package/src/native/index.ts +6 -0
- package/src/pan.tsrx +64 -0
- package/src/pan.web.tsrx +38 -0
- package/src/platform.macos.ts +1 -0
- package/src/platform.ts +7 -0
- package/src/platform.web.ts +6 -0
- package/src/platformProps.ts +23 -0
- package/src/platformProps.web.ts +14 -0
- package/src/popover-position.ts +62 -0
- package/src/popover.mobile.test.ts +54 -0
- package/src/props.ts +1812 -0
- package/src/references.d.ts +2 -0
- package/src/refresh-metrics.ts +11 -0
- package/src/refresh.ts +271 -0
- package/src/refresh.web.test.ts +111 -0
- package/src/refresh.web.ts +205 -0
- package/src/root-layout.mobile.ts +89 -0
- package/src/route-host.mobile.ts +1 -0
- package/src/route-table.test.ts +345 -0
- package/src/route-table.ts +585 -0
- package/src/route.macos.ts +201 -0
- package/src/route.ts +703 -0
- package/src/route.web.ts +366 -0
- package/src/safeAreaInsets.macos.tsrx +7 -0
- package/src/safeAreaInsets.tsrx +60 -0
- package/src/safeAreaInsets.web.tsrx +38 -0
- package/src/sheet-detents.ts +142 -0
- package/src/sheet-detents.web.ts +147 -0
- package/src/sheet-service.macos.ts +60 -0
- package/src/sheet-service.ts +124 -0
- package/src/sheet-service.web.ts +64 -0
- package/src/sheet-snap.test.ts +46 -0
- package/src/sheet-snap.ts +66 -0
- package/src/stacks.macos.ts +13 -0
- package/src/stacks.ts +44 -0
- package/src/stacks.web.ts +9 -0
- package/src/store.mobile.test.ts +149 -0
- package/src/store.ts +39 -0
- package/src/store.web.test.tsrx +58 -0
- package/src/styled.macos.tsrx +23 -0
- package/src/styled.test.ts +40 -0
- package/src/styled.tsrx +36 -0
- package/src/styled.web.tsrx +23 -0
- package/src/surfaces.macos.tsrx +27 -0
- package/src/svg.mobile.ts +76 -0
- package/src/tap-to-blur.mobile.ts +108 -0
- package/src/text-controls.macos.tsrx +11 -0
- package/src/text-write.ts +28 -0
- package/src/text-write.web.ts +13 -0
- package/src/theme/colorScheme.linux.ts +52 -0
- package/src/theme/colorScheme.ts +26 -0
- package/src/theme/colorScheme.web.ts +20 -0
- package/src/theme/status-bar-scheme.mobile.ts +39 -0
- package/src/theme/theme-scheme.macos.ts +50 -0
- package/src/theme/theme-scheme.ts +66 -0
- package/src/theme/tokens.css +1408 -206
- package/src/toast-anchor.macos.tsrx +3 -0
- package/src/toast-anchor.tsrx +122 -0
- package/src/toast-anchor.web.tsrx +92 -0
- package/src/toast.tsrx +90 -0
- package/src/toast.web.tsrx +50 -0
- package/src/transform.web.ts +52 -0
- package/src/translate.macos.ts +5 -0
- package/src/translate.ts +13 -0
- package/src/translate.web.ts +15 -0
- package/src/tsconfig.json +8 -0
- package/src/unsupported.macos.tsrx +5 -0
- package/src/use-back.tsrx +11 -0
- package/src/use-back.web.tsrx +12 -0
- package/src/use-store.tsrx +18 -0
- package/src/use-store.web.tsrx +18 -0
- package/src/useMeasure.macos.tsrx +23 -0
- package/src/useMeasure.tsrx +66 -0
- package/src/useMeasure.web.tsrx +39 -0
- package/src/useStore.macos.tsrx +6 -0
- package/src/vendor/ui-svg/LICENSE +201 -0
- package/src/vendor/ui-svg/index.android.ts +189 -0
- package/src/vendor/ui-svg/index.common.ts +19 -0
- package/src/vendor/ui-svg/index.ios.ts +147 -0
- package/src/vendor/ui-svg/index.ts +1 -0
- package/src/vendor/ui-svg/typings/SVGKit.d.ts +2862 -0
- package/src/vendor/ui-svg/typings/android.d.ts +1483 -0
- package/src/vendor/ui-svg/typings/ios.d.ts +1511 -0
- package/src/virtual-list-layout.test.ts +81 -0
- package/src/virtual-list-layout.ts +246 -0
- package/src/web/index.ts +11 -0
- package/src/windows.linux.ts +59 -0
- package/src/windows.macos.ts +10 -0
- package/src/windows.ts +7 -0
- package/src/windows.web.ts +6 -0
- package/types/generated/.tsrx-typegen-manifest.json +250 -0
- package/types/generated/Absolute.d.ts +3 -0
- package/types/generated/Absolute.web.d.ts +3 -0
- package/types/generated/Accordion.d.ts +5 -0
- package/types/generated/Accordion.web.d.ts +5 -0
- package/types/generated/ActivityIndicator.d.ts +7 -0
- package/types/generated/ActivityIndicator.web.d.ts +3 -0
- package/types/generated/Alert.d.ts +4 -0
- package/types/generated/Alert.web.d.ts +5 -0
- package/types/generated/Avatar.d.ts +6 -0
- package/types/generated/Avatar.web.d.ts +7 -0
- package/types/generated/AvatarGroup.d.ts +6 -0
- package/types/generated/AvatarGroup.web.d.ts +6 -0
- package/types/generated/Badge.d.ts +5 -0
- package/types/generated/Badge.web.d.ts +5 -0
- package/types/generated/Banner.d.ts +4 -0
- package/types/generated/Banner.web.d.ts +4 -0
- package/types/generated/Breadcrumb.d.ts +4 -0
- package/types/generated/Breadcrumb.web.d.ts +5 -0
- package/types/generated/Button.d.ts +6 -0
- package/types/generated/Button.web.d.ts +6 -0
- package/types/generated/Card.d.ts +4 -0
- package/types/generated/Card.web.d.ts +4 -0
- package/types/generated/Checkbox.d.ts +5 -0
- package/types/generated/Checkbox.web.d.ts +6 -0
- package/types/generated/CheckboxGroup.d.ts +3 -0
- package/types/generated/CheckboxGroup.web.d.ts +3 -0
- package/types/generated/Chip.d.ts +5 -0
- package/types/generated/Chip.web.d.ts +5 -0
- package/types/generated/Collapsible.d.ts +5 -0
- package/types/generated/Collapsible.web.d.ts +5 -0
- package/types/generated/CommandPalette.d.ts +4 -0
- package/types/generated/CommandPalette.web.d.ts +4 -0
- package/types/generated/ContextMenu.d.ts +5 -0
- package/types/generated/ContextMenu.web.d.ts +4 -0
- package/types/generated/Drawer.d.ts +7 -0
- package/types/generated/Drawer.web.d.ts +7 -0
- package/types/generated/DropdownMenu.d.ts +5 -0
- package/types/generated/DropdownMenu.web.d.ts +5 -0
- package/types/generated/Empty.d.ts +4 -0
- package/types/generated/Empty.web.d.ts +4 -0
- package/types/generated/FieldGroup.d.ts +4 -0
- package/types/generated/FieldGroup.web.d.ts +4 -0
- package/types/generated/FormField.d.ts +5 -0
- package/types/generated/FormField.web.d.ts +5 -0
- package/types/generated/Grid.d.ts +3 -0
- package/types/generated/Grid.web.d.ts +3 -0
- package/types/generated/Heading.d.ts +2 -0
- package/types/generated/Heading.web.d.ts +2 -0
- package/types/generated/Hoverable.d.ts +10 -0
- package/types/generated/Hoverable.web.d.ts +9 -0
- package/types/generated/Icon.d.ts +3 -0
- package/types/generated/Icon.web.d.ts +3 -0
- package/types/generated/Image.d.ts +7 -0
- package/types/generated/Image.web.d.ts +3 -0
- package/types/generated/InputNumber.d.ts +5 -0
- package/types/generated/InputNumber.web.d.ts +5 -0
- package/types/generated/InputRating.d.ts +4 -0
- package/types/generated/InputRating.web.d.ts +4 -0
- package/types/generated/InputTags.d.ts +4 -0
- package/types/generated/InputTags.web.d.ts +5 -0
- package/types/generated/Kbd.d.ts +4 -0
- package/types/generated/Kbd.web.d.ts +4 -0
- package/types/generated/KeyboardAvoiding.mobile.d.ts +2 -0
- package/types/generated/Link.d.ts +2 -0
- package/types/generated/Link.web.d.ts +3 -0
- package/types/generated/ListItem.d.ts +3 -0
- package/types/generated/ListItem.web.d.ts +3 -0
- package/types/generated/Meter.d.ts +3 -0
- package/types/generated/Meter.web.d.ts +3 -0
- package/types/generated/NavLink.d.ts +3 -0
- package/types/generated/NavLink.web.d.ts +3 -0
- package/types/generated/NavigationMenu.d.ts +4 -0
- package/types/generated/NavigationMenu.web.d.ts +5 -0
- package/types/generated/Overlay.d.ts +3 -0
- package/types/generated/Overlay.web.d.ts +3 -0
- package/types/generated/Pagination.d.ts +4 -0
- package/types/generated/Pagination.web.d.ts +5 -0
- package/types/generated/PinInput.d.ts +4 -0
- package/types/generated/PinInput.web.d.ts +4 -0
- package/types/generated/Popover.d.ts +6 -0
- package/types/generated/Popover.web.d.ts +3 -0
- package/types/generated/Pressable.d.ts +6 -0
- package/types/generated/Pressable.web.d.ts +2 -0
- package/types/generated/ProgressGroup.d.ts +3 -0
- package/types/generated/ProgressGroup.web.d.ts +4 -0
- package/types/generated/RadioGroup.d.ts +5 -0
- package/types/generated/RadioGroup.web.d.ts +5 -0
- package/types/generated/RichText.d.ts +7 -0
- package/types/generated/RichText.web.d.ts +3 -0
- package/types/generated/RouteHost.mobile.d.ts +14 -0
- package/types/generated/Row.d.ts +2 -0
- package/types/generated/Row.web.d.ts +2 -0
- package/types/generated/SafeArea.d.ts +2 -0
- package/types/generated/SafeArea.web.d.ts +3 -0
- package/types/generated/Screen.d.ts +3 -0
- package/types/generated/Screen.web.d.ts +3 -0
- package/types/generated/ScrollBox.d.ts +3 -0
- package/types/generated/ScrollBox.web.d.ts +3 -0
- package/types/generated/ScrollView.d.ts +7 -0
- package/types/generated/ScrollView.web.d.ts +6 -0
- package/types/generated/SearchInput.d.ts +7 -0
- package/types/generated/SearchInput.web.d.ts +6 -0
- package/types/generated/SegmentedControl.d.ts +7 -0
- package/types/generated/SegmentedControl.web.d.ts +6 -0
- package/types/generated/Select.d.ts +6 -0
- package/types/generated/Select.web.d.ts +6 -0
- package/types/generated/Separator.d.ts +5 -0
- package/types/generated/Separator.web.d.ts +5 -0
- package/types/generated/Sheet.d.ts +5 -0
- package/types/generated/Sheet.web.d.ts +7 -0
- package/types/generated/Skeleton.d.ts +5 -0
- package/types/generated/Skeleton.web.d.ts +6 -0
- package/types/generated/Slider.d.ts +6 -0
- package/types/generated/Slider.web.d.ts +6 -0
- package/types/generated/Spacer.d.ts +3 -0
- package/types/generated/Spacer.web.d.ts +3 -0
- package/types/generated/Stack.d.ts +3 -0
- package/types/generated/Stack.web.d.ts +3 -0
- package/types/generated/Stepper.d.ts +4 -0
- package/types/generated/Stepper.web.d.ts +5 -0
- package/types/generated/Switch.d.ts +7 -0
- package/types/generated/Switch.web.d.ts +6 -0
- package/types/generated/Table.d.ts +4 -0
- package/types/generated/Table.web.d.ts +5 -0
- package/types/generated/Tabs.d.ts +10 -0
- package/types/generated/Tabs.web.d.ts +6 -0
- package/types/generated/Text.d.ts +2 -0
- package/types/generated/Text.web.d.ts +2 -0
- package/types/generated/TextArea.d.ts +8 -0
- package/types/generated/TextArea.web.d.ts +9 -0
- package/types/generated/TextInput.d.ts +9 -0
- package/types/generated/TextInput.web.d.ts +2 -0
- package/types/generated/Timeline.d.ts +3 -0
- package/types/generated/Timeline.web.d.ts +4 -0
- package/types/generated/Tooltip.d.ts +9 -0
- package/types/generated/Tooltip.web.d.ts +12 -0
- package/types/generated/Tree.d.ts +4 -0
- package/types/generated/Tree.web.d.ts +4 -0
- package/types/generated/User.d.ts +5 -0
- package/types/generated/User.web.d.ts +5 -0
- package/types/generated/View.d.ts +7 -0
- package/types/generated/View.web.d.ts +7 -0
- package/types/generated/VirtualList.d.ts +5 -0
- package/types/generated/VirtualList.web.d.ts +4 -0
- package/types/generated/WebView.d.ts +11 -0
- package/types/generated/WebView.web.d.ts +5 -0
- package/types/generated/aliases.d.ts +7 -0
- package/types/generated/aliases.web.d.ts +7 -0
- package/types/generated/android/BottomNavigationView.android.d.ts +9 -0
- package/types/generated/android/CircularProgressIndicator.android.d.ts +6 -0
- package/types/generated/android/DrawerLayout.android.d.ts +12 -0
- package/types/generated/android/MaterialDialog.android.d.ts +8 -0
- package/types/generated/android/MaterialSwitch.android.d.ts +6 -0
- package/types/generated/android/RecyclerView.android.d.ts +14 -0
- package/types/generated/android/SeekBar.android.d.ts +5 -0
- package/types/generated/android/icon.android.d.ts +5 -0
- package/types/generated/android/index.d.ts +12 -0
- package/types/generated/android/openModal.android.d.ts +4 -0
- package/types/generated/anim.d.ts +10 -0
- package/types/generated/anim.web.d.ts +3 -0
- package/types/generated/apply-native-modifiers.native.d.ts +3 -0
- package/types/generated/child-array.d.ts +3 -0
- package/types/generated/cx.d.ts +6 -0
- package/types/generated/escape-props.d.ts +16 -0
- package/types/generated/icons.d.ts +5 -0
- package/types/generated/index.d.ts +1 -0
- package/types/generated/index.linux.d.ts +5 -0
- package/types/generated/index.mobile.d.ts +4 -0
- package/types/generated/index.shared.d.ts +111 -0
- package/types/generated/index.shared.web.d.ts +111 -0
- package/types/generated/index.web.d.ts +1 -0
- package/types/generated/ios/LiquidGlass.ios.d.ts +12 -0
- package/types/generated/ios/LiquidGlassContainer.ios.d.ts +13 -0
- package/types/generated/ios/SideDrawer.ios.d.ts +12 -0
- package/types/generated/ios/UIActivityIndicatorView.ios.d.ts +5 -0
- package/types/generated/ios/UIModal.ios.d.ts +7 -0
- package/types/generated/ios/UISlider.ios.d.ts +5 -0
- package/types/generated/ios/UISwitch.ios.d.ts +6 -0
- package/types/generated/ios/UITabBar.ios.d.ts +7 -0
- package/types/generated/ios/UITableView.ios.d.ts +14 -0
- package/types/generated/ios/icon.ios.d.ts +5 -0
- package/types/generated/ios/index.d.ts +14 -0
- package/types/generated/ios/openModal.ios.d.ts +4 -0
- package/types/generated/keyboard-inset.mobile.d.ts +10 -0
- package/types/generated/layout-child.d.ts +6 -0
- package/types/generated/layout-child.web.d.ts +15 -0
- package/types/generated/meter-math.d.ts +6 -0
- package/types/generated/modal-presenter.mobile.d.ts +14 -0
- package/types/generated/modifier-factories.d.ts +15 -0
- package/types/generated/native/index.d.ts +3 -0
- package/types/generated/pan.d.ts +2 -0
- package/types/generated/pan.web.d.ts +9 -0
- package/types/generated/platform.d.ts +7 -0
- package/types/generated/platform.web.d.ts +6 -0
- package/types/generated/platformProps.d.ts +7 -0
- package/types/generated/platformProps.web.d.ts +2 -0
- package/types/generated/popover-position.d.ts +14 -0
- package/types/generated/props.d.ts +1626 -0
- package/types/generated/refresh-metrics.d.ts +8 -0
- package/types/generated/refresh.d.ts +42 -0
- package/types/generated/refresh.web.d.ts +23 -0
- package/types/generated/root-layout.mobile.d.ts +22 -0
- package/types/generated/route-host.mobile.d.ts +1 -0
- package/types/generated/route-table.d.ts +90 -0
- package/types/generated/route.d.ts +74 -0
- package/types/generated/route.web.d.ts +67 -0
- package/types/generated/safeAreaInsets.d.ts +8 -0
- package/types/generated/safeAreaInsets.web.d.ts +8 -0
- package/types/generated/sheet-detents.d.ts +23 -0
- package/types/generated/sheet-detents.web.d.ts +13 -0
- package/types/generated/sheet-service.d.ts +11 -0
- package/types/generated/sheet-service.web.d.ts +6 -0
- package/types/generated/sheet-snap.d.ts +18 -0
- package/types/generated/stacks.d.ts +9 -0
- package/types/generated/stacks.web.d.ts +4 -0
- package/types/generated/store.d.ts +14 -0
- package/types/generated/styled.d.ts +20 -0
- package/types/generated/styled.web.d.ts +10 -0
- package/types/generated/svg.mobile.d.ts +23 -0
- package/types/generated/tap-to-blur.mobile.d.ts +16 -0
- package/types/generated/text-write.d.ts +9 -0
- package/types/generated/theme/colorScheme.d.ts +6 -0
- package/types/generated/theme/colorScheme.linux.d.ts +5 -0
- package/types/generated/theme/colorScheme.web.d.ts +5 -0
- package/types/generated/theme/status-bar-scheme.mobile.d.ts +1 -0
- package/types/generated/theme/theme-scheme.d.ts +20 -0
- package/types/generated/toast-anchor.d.ts +4 -0
- package/types/generated/toast-anchor.web.d.ts +4 -0
- package/types/generated/transform.web.d.ts +8 -0
- package/types/generated/translate.d.ts +5 -0
- package/types/generated/translate.web.d.ts +6 -0
- package/types/generated/use-back.d.ts +6 -0
- package/types/generated/use-back.web.d.ts +7 -0
- package/types/generated/use-store.d.ts +9 -0
- package/types/generated/use-store.web.d.ts +9 -0
- package/types/generated/useMeasure.d.ts +3 -0
- package/types/generated/useMeasure.web.d.ts +3 -0
- package/types/generated/vendor/ui-svg/index.common.d.ts +7 -0
- package/types/generated/vendor/ui-svg/index.d.ts +1 -0
- package/types/generated/vendor/ui-svg/index.ios.d.ts +13 -0
- package/types/generated/virtual-list-layout.d.ts +44 -0
- package/types/generated/web/index.d.ts +3 -0
- package/types/generated/windows.d.ts +3 -0
- package/types/generated/windows.linux.d.ts +15 -0
- package/types/generated/windows.web.d.ts +3 -0
- package/types/index.macos.d.ts +142 -0
- package/dist/native/ui10.js +0 -32
- package/dist/native/ui25.js +0 -141
- package/dist/native/ui27.js +0 -61
- package/dist/native/ui39.js +0 -103
- package/dist/native/ui4.js +0 -24
- package/dist/native/ui46.js +0 -267
- package/dist/native/ui48.js +0 -35
- package/dist/native/ui55.js +0 -92
- package/dist/native/ui57.js +0 -19
- package/dist/native/ui60.js +0 -14
- package/dist/native/ui7.js +0 -52
- package/dist/native/ui9.js +0 -36
- package/dist/web/ui10.js +0 -46
- package/dist/web/ui11.js +0 -42
- package/dist/web/ui22.js +0 -108
- package/dist/web/ui23.js +0 -96
- package/dist/web/ui26.js +0 -45
- package/dist/web/ui3.js +0 -31
- package/dist/web/ui30.js +0 -34
- package/dist/web/ui40.js +0 -154
- package/dist/web/ui41.js +0 -43
- package/dist/web/ui44.js +0 -42
- package/dist/web/ui5.js +0 -168
- package/dist/web/ui51.js +0 -47
- package/dist/web/ui52.js +0 -19
- package/dist/web/ui55.js +0 -17
- package/dist/web/ui59.js +0 -44
- package/dist/web/ui6.js +0 -94
- package/dist/web/ui7.js +0 -62
- package/dist/web/ui8.js +0 -46
- package/dist/web/ui9.js +0 -46
- package/types/index.d.ts +0 -258
- package/types/props.d.ts +0 -742
- /package/dist/native/{ui2.js → cx.js} +0 -0
- /package/dist/native/{ui54.js → meter-math.js} +0 -0
- /package/dist/native/{ui37.js → popover-position.js} +0 -0
- /package/dist/native/{ui61.js → store.js} +0 -0
- /package/dist/web/{ui16.js → Link.web.tsrx.js} +0 -0
- /package/dist/web/{ui28.js → cx.js} +0 -0
- /package/dist/web/{ui2.js → escape-props.web.js} +0 -0
- /package/dist/web/{ui4.js → layout-child.web.js} +0 -0
- /package/dist/web/{ui49.js → meter-math.js} +0 -0
- /package/dist/web/{ui47.js → platformProps.web.js} +0 -0
- /package/dist/web/{ui32.js → popover-position.js} +0 -0
- /package/dist/web/{ui42.js → safeAreaInsets.web.tsrx.js} +0 -0
- /package/dist/web/{ui56.js → stacks.web.js} +0 -0
- /package/dist/web/{ui57.js → store.js} +0 -0
- /package/dist/web/{ui37.js → styled.web.tsrx.js} +0 -0
- /package/dist/web/{ui27.js → theme/colorScheme.web.js} +0 -0
- /package/dist/web/{ui58.js → use-store.web.tsrx.js} +0 -0
- /package/dist/web/{ui46.js → useMeasure.web.tsrx.js} +0 -0
- /package/dist/web/{ui38.js → windows.web.js} +0 -0
|
@@ -0,0 +1,1511 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/unified-signatures */
|
|
2
|
+
/* eslint-disable no-redeclare */
|
|
3
|
+
/* eslint-disable no-var */
|
|
4
|
+
declare function AddSVGArcToPath(thePath: any, xRadius: number, yRadius: number, xAxisRotationDegrees: number, largeArcFlag: boolean, sweepFlag: boolean, endPointX: number, endPointY: number): void;
|
|
5
|
+
|
|
6
|
+
declare function ArrayForSVGAttribute(svgAttributes: NSDictionary<any, any>, key: string): NSArray<any>;
|
|
7
|
+
|
|
8
|
+
declare function AttributesFromSVGCompactAttributes(compactedAttributes: string): NSDictionary<any, any>;
|
|
9
|
+
|
|
10
|
+
declare function BitmapContextCreate(pixelsWide: number, pixelsHigh: number): any;
|
|
11
|
+
|
|
12
|
+
declare function CGAffineTransformToSVGTransform(aTransform: CGAffineTransform): string;
|
|
13
|
+
|
|
14
|
+
declare function CGPathApplyCallbackFunction(aVisitor: interop.Pointer | interop.Reference<any>, element: interop.Pointer | interop.Reference<CGPathElement>): void;
|
|
15
|
+
|
|
16
|
+
declare const enum CSSPseudoClassFlags {
|
|
17
|
+
kPseudoClassNone = 0,
|
|
18
|
+
|
|
19
|
+
kPseudoClassActive = 1,
|
|
20
|
+
|
|
21
|
+
kPseudoClassFocused = 2,
|
|
22
|
+
|
|
23
|
+
kPseudoClassHovering = 4,
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare function CalculateForward(startPoint: CGPoint, endPoint: CGPoint): CGPoint;
|
|
27
|
+
|
|
28
|
+
declare function CalculateNormal(startPoint: CGPoint, endPoint: CGPoint): CGPoint;
|
|
29
|
+
|
|
30
|
+
declare function CalculateVectorAngle(vector1: CGPoint, vector2: CGPoint): number;
|
|
31
|
+
|
|
32
|
+
declare function CreatePDFContext(mediaRect: CGRect, theData: NSData): interop.Unmanaged<any>;
|
|
33
|
+
|
|
34
|
+
declare function CreatePathFromSVGPathString(dAttribute: string, transformToApply: CGAffineTransform): any;
|
|
35
|
+
|
|
36
|
+
declare function DefaultSVGDrawingAttributes(): NSDictionary<any, any>;
|
|
37
|
+
|
|
38
|
+
declare function ExtractURLContents(aString: string): string;
|
|
39
|
+
|
|
40
|
+
interface FillColorProtocol extends NSObjectProtocol {
|
|
41
|
+
copyFillColor(): UIColor;
|
|
42
|
+
}
|
|
43
|
+
declare var FillColorProtocol: {
|
|
44
|
+
prototype: FillColorProtocol;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
declare class GHAttributedObject extends NSObject implements GHAttributedObjectProtocol {
|
|
48
|
+
static alloc(): GHAttributedObject; // inherited from NSObject
|
|
49
|
+
|
|
50
|
+
static new(): GHAttributedObject; // inherited from NSObject
|
|
51
|
+
|
|
52
|
+
readonly attributes: NSDictionary<any, any>; // inherited from GHAttributedObjectProtocol
|
|
53
|
+
|
|
54
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
55
|
+
|
|
56
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
57
|
+
|
|
58
|
+
readonly entityName: string; // inherited from GHAttributedObjectProtocol
|
|
59
|
+
|
|
60
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
61
|
+
|
|
62
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
63
|
+
|
|
64
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
65
|
+
|
|
66
|
+
readonly; // inherited from NSObjectProtocol
|
|
67
|
+
|
|
68
|
+
constructor(o: { attributes: NSDictionary<any, any> });
|
|
69
|
+
|
|
70
|
+
constructor(o: { dictionary: NSDictionary<any, any> });
|
|
71
|
+
|
|
72
|
+
calculatedHash(): number;
|
|
73
|
+
|
|
74
|
+
class(): typeof NSObject;
|
|
75
|
+
|
|
76
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
77
|
+
|
|
78
|
+
initWithAttributes(theAttributes: NSDictionary<any, any>): this;
|
|
79
|
+
|
|
80
|
+
initWithDictionary(theAttributes: NSDictionary<any, any>): this;
|
|
81
|
+
|
|
82
|
+
isEqual(object: any): boolean;
|
|
83
|
+
|
|
84
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
85
|
+
|
|
86
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
87
|
+
|
|
88
|
+
performSelector(aSelector: string): any;
|
|
89
|
+
|
|
90
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
91
|
+
|
|
92
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
93
|
+
|
|
94
|
+
respondsToSelector(aSelector: string): boolean;
|
|
95
|
+
|
|
96
|
+
retainCount(): number;
|
|
97
|
+
|
|
98
|
+
self(): this;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
interface GHAttributedObjectProtocol extends NSObjectProtocol {
|
|
102
|
+
attributes: NSDictionary<any, any>;
|
|
103
|
+
|
|
104
|
+
entityName: string;
|
|
105
|
+
}
|
|
106
|
+
declare var GHAttributedObjectProtocol: {
|
|
107
|
+
prototype: GHAttributedObjectProtocol;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
declare class GHButton extends GHControl {
|
|
111
|
+
static alloc(): GHButton; // inherited from NSObject
|
|
112
|
+
|
|
113
|
+
static appearance(): GHButton; // inherited from UIAppearance
|
|
114
|
+
|
|
115
|
+
static appearanceForTraitCollection(trait: UITraitCollection): GHButton; // inherited from UIAppearance
|
|
116
|
+
|
|
117
|
+
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): GHButton; // inherited from UIAppearance
|
|
118
|
+
|
|
119
|
+
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): GHButton; // inherited from UIAppearance
|
|
120
|
+
|
|
121
|
+
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): GHButton; // inherited from UIAppearance
|
|
122
|
+
|
|
123
|
+
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): GHButton; // inherited from UIAppearance
|
|
124
|
+
|
|
125
|
+
static makeSureLoaded(): void;
|
|
126
|
+
|
|
127
|
+
static new(): GHButton; // inherited from NSObject
|
|
128
|
+
|
|
129
|
+
artworkPath: string;
|
|
130
|
+
|
|
131
|
+
artworkView: UIView;
|
|
132
|
+
|
|
133
|
+
pressedArtworkPath: string;
|
|
134
|
+
|
|
135
|
+
selectedArtworkPath: string;
|
|
136
|
+
|
|
137
|
+
title: string;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
declare class GHCSSStyle extends NSObject {
|
|
141
|
+
static alloc(): GHCSSStyle; // inherited from NSObject
|
|
142
|
+
|
|
143
|
+
static attributeNamedClassesEntityNamePseudoClassForStyles(
|
|
144
|
+
attributeName: string,
|
|
145
|
+
listOfClasses: NSArray<string> | string[],
|
|
146
|
+
entityName: string,
|
|
147
|
+
pseudoClassFlags: CSSPseudoClassFlags,
|
|
148
|
+
cssStyles: NSDictionary<string, GHCSSStyle>
|
|
149
|
+
): string;
|
|
150
|
+
|
|
151
|
+
static new(): GHCSSStyle; // inherited from NSObject
|
|
152
|
+
|
|
153
|
+
static stylesForString(css: string): NSDictionary<string, GHCSSStyle>;
|
|
154
|
+
|
|
155
|
+
readonly attributes: NSDictionary<string, string>;
|
|
156
|
+
|
|
157
|
+
readonly cssClass: string;
|
|
158
|
+
|
|
159
|
+
readonly pseudoClassFlags: CSSPseudoClassFlags;
|
|
160
|
+
|
|
161
|
+
readonly subClasses: NSDictionary<string, GHCSSStyle>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
declare class GHCircle extends GHEllipse {
|
|
165
|
+
static alloc(): GHCircle; // inherited from NSObject
|
|
166
|
+
|
|
167
|
+
static new(): GHCircle; // inherited from NSObject
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
declare class GHClipGroup extends GHShapeGroup {
|
|
171
|
+
static alloc(): GHClipGroup; // inherited from NSObject
|
|
172
|
+
|
|
173
|
+
static clipObjectForAttributesWithSVGContext(attributes: NSDictionary<any, any>, svgContext: SVGContext): GHClipGroup;
|
|
174
|
+
|
|
175
|
+
static new(): GHClipGroup; // inherited from NSObject
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
declare class GHControl extends UIControl {
|
|
179
|
+
static alloc(): GHControl; // inherited from NSObject
|
|
180
|
+
|
|
181
|
+
static appearance(): GHControl; // inherited from UIAppearance
|
|
182
|
+
|
|
183
|
+
static appearanceForTraitCollection(trait: UITraitCollection): GHControl; // inherited from UIAppearance
|
|
184
|
+
|
|
185
|
+
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): GHControl; // inherited from UIAppearance
|
|
186
|
+
|
|
187
|
+
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): GHControl; // inherited from UIAppearance
|
|
188
|
+
|
|
189
|
+
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): GHControl; // inherited from UIAppearance
|
|
190
|
+
|
|
191
|
+
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): GHControl; // inherited from UIAppearance
|
|
192
|
+
|
|
193
|
+
static new(): GHControl; // inherited from NSObject
|
|
194
|
+
|
|
195
|
+
artInsetFraction: number;
|
|
196
|
+
|
|
197
|
+
drawsBackground: boolean;
|
|
198
|
+
|
|
199
|
+
drawsChrome: boolean;
|
|
200
|
+
|
|
201
|
+
faceGradient: any;
|
|
202
|
+
|
|
203
|
+
faceGradientPressed: any;
|
|
204
|
+
|
|
205
|
+
faceGradientSelected: any;
|
|
206
|
+
|
|
207
|
+
ringColor: UIColor;
|
|
208
|
+
|
|
209
|
+
scheme: number;
|
|
210
|
+
|
|
211
|
+
schemeNumber: number;
|
|
212
|
+
|
|
213
|
+
showShadow: boolean;
|
|
214
|
+
|
|
215
|
+
textColor: UIColor;
|
|
216
|
+
|
|
217
|
+
textColorDisabled: UIColor;
|
|
218
|
+
|
|
219
|
+
textColorPressed: UIColor;
|
|
220
|
+
|
|
221
|
+
textColorSelected: UIColor;
|
|
222
|
+
|
|
223
|
+
textFontSize: number;
|
|
224
|
+
|
|
225
|
+
textShadowColor: UIColor;
|
|
226
|
+
|
|
227
|
+
useBoldText: boolean;
|
|
228
|
+
|
|
229
|
+
useRadialGradient: boolean;
|
|
230
|
+
|
|
231
|
+
setupForScheme(aScheme: number): void;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
declare class GHControlFactory extends NSObject {
|
|
235
|
+
static alloc(): GHControlFactory; // inherited from NSObject
|
|
236
|
+
|
|
237
|
+
static buttonTint(): UIColor;
|
|
238
|
+
|
|
239
|
+
static defaultScheme(): number;
|
|
240
|
+
|
|
241
|
+
static findInterfaceBuilderArtwork(artworkSubPath: string): NSURL;
|
|
242
|
+
|
|
243
|
+
static isValidColorScheme(scheme: number): boolean;
|
|
244
|
+
|
|
245
|
+
static locateArtworkForBundleAtSubpath(mayBeNil: NSBundle, theArtworkPath: string): NSURL;
|
|
246
|
+
|
|
247
|
+
static locateArtworkForObjectAtSubpath(anObject: NSObjectProtocol, theArtworkPath: string): NSURL;
|
|
248
|
+
|
|
249
|
+
static new(): GHControlFactory; // inherited from NSObject
|
|
250
|
+
|
|
251
|
+
static newButtonBackgroundGradientForScheme(scheme: number): any;
|
|
252
|
+
|
|
253
|
+
static newButtonBackgroundGradientPressedForScheme(scheme: number): any;
|
|
254
|
+
|
|
255
|
+
static newButtonBackgroundGradientSelectedForScheme(scheme: number): any;
|
|
256
|
+
|
|
257
|
+
static newButtonForScheme(scheme: number): GHButton;
|
|
258
|
+
|
|
259
|
+
static newColorWithBrightnessDelta(originalColor: UIColor, brightnessDelta: number): UIColor;
|
|
260
|
+
|
|
261
|
+
static newLightBackgroundColorForScheme(scheme: number): UIColor;
|
|
262
|
+
|
|
263
|
+
static newPressedColorForColorForScheme(originalColor: UIColor, scheme: number): UIColor;
|
|
264
|
+
|
|
265
|
+
static newRingColorForScheme(scheme: number): UIColor;
|
|
266
|
+
|
|
267
|
+
static newRoundRectPathForRectWithRadius(aRect: CGRect, radius: number): any;
|
|
268
|
+
|
|
269
|
+
static newTextColorForScheme(scheme: number): UIColor;
|
|
270
|
+
|
|
271
|
+
static newTextColorPressedForScheme(scheme: number): UIColor;
|
|
272
|
+
|
|
273
|
+
static newTextShadowColorForScheme(scheme: number): UIColor;
|
|
274
|
+
|
|
275
|
+
static preferRadialGradientForScheme(scheme: number): boolean;
|
|
276
|
+
|
|
277
|
+
static pressedTextColor(): UIColor;
|
|
278
|
+
|
|
279
|
+
static setDefaultButtonTint(buttonTint: UIColor): void;
|
|
280
|
+
|
|
281
|
+
static setDefaultPressedTextColor(defaultPressedTextColor: UIColor): void;
|
|
282
|
+
|
|
283
|
+
static setDefaultScheme(defaultScheme: number): void;
|
|
284
|
+
|
|
285
|
+
static setDefaultTextColor(defaultTextColor: UIColor): void;
|
|
286
|
+
|
|
287
|
+
static textColor(): UIColor;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
declare class GHDefinitionGroup extends GHShapeGroup {
|
|
291
|
+
static alloc(): GHDefinitionGroup; // inherited from NSObject
|
|
292
|
+
|
|
293
|
+
static new(): GHDefinitionGroup; // inherited from NSObject
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
declare class GHEllipse extends GHShape {
|
|
297
|
+
static alloc(): GHEllipse; // inherited from NSObject
|
|
298
|
+
|
|
299
|
+
static new(): GHEllipse; // inherited from NSObject
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
declare class GHFill extends SVGAttributedObject {
|
|
303
|
+
static alloc(): GHFill; // inherited from NSObject
|
|
304
|
+
|
|
305
|
+
static new(): GHFill; // inherited from NSObject
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
declare class GHGlyph extends GHAttributedObject implements GHPathDescription {
|
|
309
|
+
static alloc(): GHGlyph; // inherited from NSObject
|
|
310
|
+
|
|
311
|
+
static new(): GHGlyph; // inherited from NSObject
|
|
312
|
+
|
|
313
|
+
static positionGlyphsAlongCGPath(listOfGlyphs: NSArray<any> | any[], aPath: any): void;
|
|
314
|
+
|
|
315
|
+
static rectForGlyphs(listOfGlyphs: NSArray<any> | any[]): CGRect;
|
|
316
|
+
|
|
317
|
+
readonly boundingBox: CGRect;
|
|
318
|
+
|
|
319
|
+
readonly font: UIFont;
|
|
320
|
+
|
|
321
|
+
readonly glyph: number;
|
|
322
|
+
|
|
323
|
+
readonly notRendering: boolean;
|
|
324
|
+
|
|
325
|
+
readonly offset: CGPoint;
|
|
326
|
+
|
|
327
|
+
readonly renderPoint: CGPoint;
|
|
328
|
+
|
|
329
|
+
readonly rotationAngleInRadians: number;
|
|
330
|
+
|
|
331
|
+
readonly runRect: CGRect;
|
|
332
|
+
|
|
333
|
+
readonly textAttributes: NSDictionary<any, any>;
|
|
334
|
+
|
|
335
|
+
readonly transform: CGAffineTransform;
|
|
336
|
+
|
|
337
|
+
readonly width: number;
|
|
338
|
+
|
|
339
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
340
|
+
|
|
341
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
342
|
+
|
|
343
|
+
readonly fillDescription: string; // inherited from GHPathDescription
|
|
344
|
+
|
|
345
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
346
|
+
|
|
347
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
348
|
+
|
|
349
|
+
readonly strokeDescription: string; // inherited from GHPathDescription
|
|
350
|
+
|
|
351
|
+
readonly strokeWidth: number; // inherited from GHPathDescription
|
|
352
|
+
|
|
353
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
354
|
+
|
|
355
|
+
readonly; // inherited from NSObjectProtocol
|
|
356
|
+
|
|
357
|
+
constructor(o: {
|
|
358
|
+
dictionary: NSDictionary<any, any>;
|
|
359
|
+
textAttributes: NSDictionary<any, any>;
|
|
360
|
+
font: UIFont;
|
|
361
|
+
glyph: number;
|
|
362
|
+
transform: CGAffineTransform;
|
|
363
|
+
offset: CGPoint;
|
|
364
|
+
runBox: CGRect;
|
|
365
|
+
andWidth: number;
|
|
366
|
+
});
|
|
367
|
+
|
|
368
|
+
addPathToContextWithSVGContext(quartzContext: any, svgContext: SVGContext): void;
|
|
369
|
+
|
|
370
|
+
class(): typeof NSObject;
|
|
371
|
+
|
|
372
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
373
|
+
|
|
374
|
+
initWithDictionaryTextAttributesFontGlyphTransformOffsetRunBoxAndWidth(
|
|
375
|
+
theAttributes: NSDictionary<any, any>,
|
|
376
|
+
textAttributes: NSDictionary<any, any>,
|
|
377
|
+
aFont: UIFont,
|
|
378
|
+
aGlyph: number,
|
|
379
|
+
aTransform: CGAffineTransform,
|
|
380
|
+
offset: CGPoint,
|
|
381
|
+
runRect: CGRect,
|
|
382
|
+
theWidth: number
|
|
383
|
+
): this;
|
|
384
|
+
|
|
385
|
+
isEqual(object: any): boolean;
|
|
386
|
+
|
|
387
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
388
|
+
|
|
389
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
390
|
+
|
|
391
|
+
isPointInBoundingBox(aPoint: CGPoint): boolean;
|
|
392
|
+
|
|
393
|
+
performSelector(aSelector: string): any;
|
|
394
|
+
|
|
395
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
396
|
+
|
|
397
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
398
|
+
|
|
399
|
+
respondsToSelector(aSelector: string): boolean;
|
|
400
|
+
|
|
401
|
+
retainCount(): number;
|
|
402
|
+
|
|
403
|
+
self(): this;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
interface GHGlyphMaker extends NSObjectProtocol {
|
|
407
|
+
addGlyphsToArrayWithSVGContext(glyphList: NSMutableArray<any>, svgContext: SVGContext): void;
|
|
408
|
+
|
|
409
|
+
addGlyphsToContextWithSVGContext(quartzContext: any, svgContext: SVGContext): void;
|
|
410
|
+
|
|
411
|
+
newPath(): any;
|
|
412
|
+
|
|
413
|
+
renderIntoContextWithSVGContext(quartzContext: any, theContext: SVGContext): void;
|
|
414
|
+
}
|
|
415
|
+
declare var GHGlyphMaker: {
|
|
416
|
+
prototype: GHGlyphMaker;
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
declare class GHGradient extends GHFill {
|
|
420
|
+
static alloc(): GHGradient; // inherited from NSObject
|
|
421
|
+
|
|
422
|
+
static new(): GHGradient; // inherited from NSObject
|
|
423
|
+
|
|
424
|
+
fillPathToContextWithSVGContextObjectBoundingBox(quartzContext: any, svgContext: SVGContext, objectBox: CGRect): void;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
declare class GHImage extends GHRenderableObject {
|
|
428
|
+
static alloc(): GHImage; // inherited from NSObject
|
|
429
|
+
|
|
430
|
+
static new(): GHImage; // inherited from NSObject
|
|
431
|
+
|
|
432
|
+
static newImageWithDictionary(theAttributes: NSDictionary<any, any>): GHImage;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
declare class GHImageCache extends NSObject {
|
|
436
|
+
static aSyncRetrieveCachedImageFromURLIntoCallback(aURL: NSURL, retrievalCallback: (p1: UIImage, p2: NSURL) => void): void;
|
|
437
|
+
|
|
438
|
+
static alloc(): GHImageCache; // inherited from NSObject
|
|
439
|
+
|
|
440
|
+
static cacheImageForName(anImage: UIImage, aName: string): void;
|
|
441
|
+
|
|
442
|
+
static extractFaceImageFromPickedImageWithCallback(anImage: UIImage, callback: (p1: NSError, p2: NSArray<any>, p3: NSArray<any>) => void): void;
|
|
443
|
+
|
|
444
|
+
static invalidateImageWithName(aName: string): void;
|
|
445
|
+
|
|
446
|
+
static new(): GHImageCache; // inherited from NSObject
|
|
447
|
+
|
|
448
|
+
static retrieveCachedImageFromURLIntoCallback(aURL: NSURL, retrievalCallback: (p1: UIImage, p2: NSURL) => void): void;
|
|
449
|
+
|
|
450
|
+
static saveImageDataWithNameWithCallback(imageData: NSData, preferredName: string, callback: (p1: UIImage, p2: NSURL) => void): void;
|
|
451
|
+
|
|
452
|
+
static setCachedImageForURL(anImage: UIImage, aFileURL: NSURL): void;
|
|
453
|
+
|
|
454
|
+
static uncacheImageForName(uniqueName: string): UIImage;
|
|
455
|
+
|
|
456
|
+
static uniqueFilenameWithExtension(extension: string): string;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
declare class GHLine extends GHShape {
|
|
460
|
+
static alloc(): GHLine; // inherited from NSObject
|
|
461
|
+
|
|
462
|
+
static new(): GHLine; // inherited from NSObject
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
declare class GHLinearGradient extends GHGradient {
|
|
466
|
+
static alloc(): GHLinearGradient; // inherited from NSObject
|
|
467
|
+
|
|
468
|
+
static new(): GHLinearGradient; // inherited from NSObject
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
declare class GHMask extends GHClipGroup {
|
|
472
|
+
static alloc(): GHMask; // inherited from NSObject
|
|
473
|
+
|
|
474
|
+
static clipObjectForAttributesWithSVGContext(attributes: NSDictionary<any, any>, svgContext: SVGContext): GHMask; // inherited from GHClipGroup
|
|
475
|
+
|
|
476
|
+
static new(): GHMask; // inherited from NSObject
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
declare class GHPath extends GHShape {
|
|
480
|
+
static alloc(): GHPath; // inherited from NSObject
|
|
481
|
+
|
|
482
|
+
static new(): GHPath; // inherited from NSObject
|
|
483
|
+
|
|
484
|
+
readonly renderingPath: string;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
interface GHPathDescription extends NSObjectProtocol {
|
|
488
|
+
fillDescription: string;
|
|
489
|
+
|
|
490
|
+
strokeDescription: string;
|
|
491
|
+
|
|
492
|
+
strokeWidth: number;
|
|
493
|
+
}
|
|
494
|
+
declare var GHPathDescription: {
|
|
495
|
+
prototype: GHPathDescription;
|
|
496
|
+
};
|
|
497
|
+
|
|
498
|
+
declare class GHPathUtilities extends NSObject {
|
|
499
|
+
static alloc(): GHPathUtilities; // inherited from NSObject
|
|
500
|
+
|
|
501
|
+
static calculateCubicSplineStepFromFromStartPointToEndPointWithControlPoint1WithControlPoint2(startPoint: CGPoint, endPoint: CGPoint, controlPoint1: CGPoint, controlPoint2: CGPoint): number;
|
|
502
|
+
|
|
503
|
+
static calculateQuadraticSplineStepFromStartPointToEndPointWithControlPoint(startPoint: CGPoint, endPoint: CGPoint, controlPoint: CGPoint): number;
|
|
504
|
+
|
|
505
|
+
static cubicSplineLengthFromStartPointToEndPointWithControlPoint1WithControlPoint2AndStep(
|
|
506
|
+
startPoint: CGPoint,
|
|
507
|
+
endPoint: CGPoint,
|
|
508
|
+
controlPoint1: CGPoint,
|
|
509
|
+
controlPoint2: CGPoint,
|
|
510
|
+
step: number
|
|
511
|
+
): number;
|
|
512
|
+
|
|
513
|
+
static findPointAndVectorAtDistanceIntoPathIntoCallback(length: number, aPath: any, callback: (p1: CGPoint, p2: CGPoint) => void): void;
|
|
514
|
+
|
|
515
|
+
static new(): GHPathUtilities; // inherited from NSObject
|
|
516
|
+
|
|
517
|
+
static quadraticBezierLengthFromStartPointToEndPointWithControlPointAndStep(startPoint: CGPoint, endPoint: CGPoint, controlPoint: CGPoint, step: number): number;
|
|
518
|
+
|
|
519
|
+
static totalLengthOfCGPath(aPath: any): number;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
declare class GHPolygon extends GHPath {
|
|
523
|
+
static alloc(): GHPolygon; // inherited from NSObject
|
|
524
|
+
|
|
525
|
+
static new(): GHPolygon; // inherited from NSObject
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
declare class GHPolyline extends GHPath {
|
|
529
|
+
static alloc(): GHPolyline; // inherited from NSObject
|
|
530
|
+
|
|
531
|
+
static new(): GHPolyline; // inherited from NSObject
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
declare class GHRadialGradient extends GHGradient {
|
|
535
|
+
static alloc(): GHRadialGradient; // inherited from NSObject
|
|
536
|
+
|
|
537
|
+
static new(): GHRadialGradient; // inherited from NSObject
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
declare class GHRectangle extends GHShape {
|
|
541
|
+
static alloc(): GHRectangle; // inherited from NSObject
|
|
542
|
+
|
|
543
|
+
static new(): GHRectangle; // inherited from NSObject
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
interface GHRenderable extends NSObjectProtocol {
|
|
547
|
+
attributes: NSDictionary<any, any>;
|
|
548
|
+
|
|
549
|
+
hidden: boolean;
|
|
550
|
+
|
|
551
|
+
transform: CGAffineTransform;
|
|
552
|
+
|
|
553
|
+
addToClipForContextWithSVGContextObjectBoundingBox(quartzContext: any, svgContext: SVGContext, objectBox: CGRect): void;
|
|
554
|
+
|
|
555
|
+
addToClipPathForContextWithSVGContextObjectBoundingBox(quartzContext: any, svgContext: SVGContext, objectBox: CGRect): void;
|
|
556
|
+
|
|
557
|
+
findRenderableObjectWithSVGContext(testPoint: CGPoint, svgContext: SVGContext): GHRenderable;
|
|
558
|
+
|
|
559
|
+
getBoundingBoxWithSVGContext(svgContext: SVGContext): CGRect;
|
|
560
|
+
|
|
561
|
+
getClippingTypeWithSVGContext(svgContext: SVGContext): number;
|
|
562
|
+
|
|
563
|
+
renderIntoContextWithSVGContext(quartzContext: any, svgContext: SVGContext): void;
|
|
564
|
+
}
|
|
565
|
+
declare var GHRenderable: {
|
|
566
|
+
prototype: GHRenderable;
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
declare class GHRenderableObject extends SVGAttributedObject implements GHRenderable {
|
|
570
|
+
static alloc(): GHRenderableObject; // inherited from NSObject
|
|
571
|
+
|
|
572
|
+
static boundingBoxForRenderableObjectWithSVGContextGivenParentObjectsBounds(anObject: GHRenderable, svgContext: SVGContext, parentBounds: CGRect): CGRect;
|
|
573
|
+
|
|
574
|
+
static new(): GHRenderableObject; // inherited from NSObject
|
|
575
|
+
|
|
576
|
+
static setupContextWithAttributesWithSVGContext(quartzContext: any, attributes: NSDictionary<any, any>, svgContext: SVGContext): void;
|
|
577
|
+
|
|
578
|
+
readonly defaultFillColor: string;
|
|
579
|
+
|
|
580
|
+
fillColor: UIColor;
|
|
581
|
+
|
|
582
|
+
transform: CGAffineTransform;
|
|
583
|
+
|
|
584
|
+
readonly attributes: NSDictionary<any, any>; // inherited from GHRenderable
|
|
585
|
+
|
|
586
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
587
|
+
|
|
588
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
589
|
+
|
|
590
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
591
|
+
|
|
592
|
+
readonly hidden: boolean; // inherited from GHRenderable
|
|
593
|
+
|
|
594
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
595
|
+
|
|
596
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
597
|
+
|
|
598
|
+
readonly; // inherited from NSObjectProtocol
|
|
599
|
+
|
|
600
|
+
addNamedObjects(namedObjectsMap: NSMutableDictionary<any, any>): void;
|
|
601
|
+
|
|
602
|
+
addToClipForContextWithSVGContextObjectBoundingBox(quartzContext: any, svgContext: SVGContext, objectBox: CGRect): void;
|
|
603
|
+
|
|
604
|
+
addToClipPathForContextWithSVGContextObjectBoundingBox(quartzContext: any, svgContext: SVGContext, objectBox: CGRect): void;
|
|
605
|
+
|
|
606
|
+
class(): typeof NSObject;
|
|
607
|
+
|
|
608
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
609
|
+
|
|
610
|
+
findRenderableObjectWithSVGContext(testPoint: CGPoint, svgContext: SVGContext): GHRenderable;
|
|
611
|
+
|
|
612
|
+
getBoundingBoxWithSVGContext(svgContext: SVGContext): CGRect;
|
|
613
|
+
|
|
614
|
+
getClippingTypeWithSVGContext(svgContext: SVGContext): number;
|
|
615
|
+
|
|
616
|
+
hitTest(testPoint: CGPoint): boolean;
|
|
617
|
+
|
|
618
|
+
isEqual(object: any): boolean;
|
|
619
|
+
|
|
620
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
621
|
+
|
|
622
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
623
|
+
|
|
624
|
+
performSelector(aSelector: string): any;
|
|
625
|
+
|
|
626
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
627
|
+
|
|
628
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
629
|
+
|
|
630
|
+
renderIntoContextWithSVGContext(quartzContext: any, svgContext: SVGContext): void;
|
|
631
|
+
|
|
632
|
+
respondsToSelector(aSelector: string): boolean;
|
|
633
|
+
|
|
634
|
+
retainCount(): number;
|
|
635
|
+
|
|
636
|
+
self(): this;
|
|
637
|
+
|
|
638
|
+
valueForStyleAttributeWithSVGContext(attributeName: string, svgContext: SVGContext): string;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
declare class GHRenderableObjectPlaceholder extends GHRenderableObject {
|
|
642
|
+
static alloc(): GHRenderableObjectPlaceholder; // inherited from NSObject
|
|
643
|
+
|
|
644
|
+
static new(): GHRenderableObjectPlaceholder; // inherited from NSObject
|
|
645
|
+
|
|
646
|
+
concreteObjectForSVGContextExcludingPrevious(svgContext: SVGContext, setToAvoidLoops: NSMutableSet<any>): GHRenderableObject;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
declare class GHSegmentedControl extends GHControl {
|
|
650
|
+
static alloc(): GHSegmentedControl; // inherited from NSObject
|
|
651
|
+
|
|
652
|
+
static appearance(): GHSegmentedControl; // inherited from UIAppearance
|
|
653
|
+
|
|
654
|
+
static appearanceForTraitCollection(trait: UITraitCollection): GHSegmentedControl; // inherited from UIAppearance
|
|
655
|
+
|
|
656
|
+
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): GHSegmentedControl; // inherited from UIAppearance
|
|
657
|
+
|
|
658
|
+
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): GHSegmentedControl; // inherited from UIAppearance
|
|
659
|
+
|
|
660
|
+
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): GHSegmentedControl; // inherited from UIAppearance
|
|
661
|
+
|
|
662
|
+
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): GHSegmentedControl; // inherited from UIAppearance
|
|
663
|
+
|
|
664
|
+
static makeSureLoaded(): void;
|
|
665
|
+
|
|
666
|
+
static new(): GHSegmentedControl; // inherited from NSObject
|
|
667
|
+
|
|
668
|
+
apportionsSegmentWidthsByContent: boolean;
|
|
669
|
+
|
|
670
|
+
momentary: boolean;
|
|
671
|
+
|
|
672
|
+
readonly numberOfSegments: number;
|
|
673
|
+
|
|
674
|
+
selectedSegmentIndex: number;
|
|
675
|
+
|
|
676
|
+
constructor(o: { items: NSArray<any> | any[] });
|
|
677
|
+
|
|
678
|
+
accessibilityLabelForSegmentedIndex(segment: number): string;
|
|
679
|
+
|
|
680
|
+
initWithItems(items: NSArray<any> | any[]): this;
|
|
681
|
+
|
|
682
|
+
insertSegmentWithRendererAccessibilityLabelAtIndexAnimated(renderer: SVGRenderer, accessibilityLabel: string, segment: number, animated: boolean): void;
|
|
683
|
+
|
|
684
|
+
insertSegmentWithRendererAtIndexAnimated(renderer: SVGRenderer, segment: number, animated: boolean): void;
|
|
685
|
+
|
|
686
|
+
insertSegmentWithTitleAtIndexAnimated(title: string, segment: number, animated: boolean): void;
|
|
687
|
+
|
|
688
|
+
isEnabledForSegmentAtIndex(segment: number): boolean;
|
|
689
|
+
|
|
690
|
+
removeAllSegments(): void;
|
|
691
|
+
|
|
692
|
+
removeSegmentAtIndexAnimated(segment: number, animated: boolean): void;
|
|
693
|
+
|
|
694
|
+
rendererForSegmentedIndex(segment: number): SVGRenderer;
|
|
695
|
+
|
|
696
|
+
setAccessibilityLabelForSegmentIndex(accessibilityLabel: string, segment: number): void;
|
|
697
|
+
|
|
698
|
+
setEnabledForSegmentAtIndex(enabled: boolean, segment: number): void;
|
|
699
|
+
|
|
700
|
+
setRendererForSegmentedIndex(renderer: SVGRenderer, segment: number): void;
|
|
701
|
+
|
|
702
|
+
setTitleForSegmentAtIndex(title: string, segment: number): void;
|
|
703
|
+
|
|
704
|
+
setWidthForSegmentAtIndex(width: number, segment: number): void;
|
|
705
|
+
|
|
706
|
+
titleForSegmentAtIndex(segment: number): string;
|
|
707
|
+
|
|
708
|
+
widthForSegmentAtIndex(segment: number): number;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
declare class GHShape extends GHRenderableObject {
|
|
712
|
+
static alloc(): GHShape; // inherited from NSObject
|
|
713
|
+
|
|
714
|
+
static new(): GHShape; // inherited from NSObject
|
|
715
|
+
|
|
716
|
+
readonly isClosed: boolean;
|
|
717
|
+
|
|
718
|
+
readonly isFillable: boolean;
|
|
719
|
+
|
|
720
|
+
readonly quartzPath: any;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
declare class GHShapeGroup extends SVGAttributedObject implements GHRenderable {
|
|
724
|
+
static alloc(): GHShapeGroup; // inherited from NSObject
|
|
725
|
+
|
|
726
|
+
static new(): GHShapeGroup; // inherited from NSObject
|
|
727
|
+
|
|
728
|
+
childDefinitions: NSArray<any>;
|
|
729
|
+
|
|
730
|
+
readonly children: NSArray<any>;
|
|
731
|
+
|
|
732
|
+
readonly attributes: NSDictionary<any, any>; // inherited from GHRenderable
|
|
733
|
+
|
|
734
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
735
|
+
|
|
736
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
737
|
+
|
|
738
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
739
|
+
|
|
740
|
+
readonly hidden: boolean; // inherited from GHRenderable
|
|
741
|
+
|
|
742
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
743
|
+
|
|
744
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
745
|
+
|
|
746
|
+
readonly transform: CGAffineTransform; // inherited from GHRenderable
|
|
747
|
+
|
|
748
|
+
readonly; // inherited from NSObjectProtocol
|
|
749
|
+
|
|
750
|
+
addNamedObjects(namedObjectsMap: NSMutableDictionary<any, any>): void;
|
|
751
|
+
|
|
752
|
+
addToClipForContextWithSVGContextObjectBoundingBox(quartzContext: any, svgContext: SVGContext, objectBox: CGRect): void;
|
|
753
|
+
|
|
754
|
+
addToClipPathForContextWithSVGContextObjectBoundingBox(quartzContext: any, svgContext: SVGContext, objectBox: CGRect): void;
|
|
755
|
+
|
|
756
|
+
class(): typeof NSObject;
|
|
757
|
+
|
|
758
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
759
|
+
|
|
760
|
+
findRenderableObjectWithSVGContext(testPoint: CGPoint, svgContext: SVGContext): GHRenderable;
|
|
761
|
+
|
|
762
|
+
getBoundingBoxWithSVGContext(svgContext: SVGContext): CGRect;
|
|
763
|
+
|
|
764
|
+
getClippingTypeWithSVGContext(svgContext: SVGContext): number;
|
|
765
|
+
|
|
766
|
+
isEqual(object: any): boolean;
|
|
767
|
+
|
|
768
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
769
|
+
|
|
770
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
771
|
+
|
|
772
|
+
performSelector(aSelector: string): any;
|
|
773
|
+
|
|
774
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
775
|
+
|
|
776
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
777
|
+
|
|
778
|
+
renderIntoContextWithSVGContext(quartzContext: any, svgContext: SVGContext): void;
|
|
779
|
+
|
|
780
|
+
respondsToSelector(aSelector: string): boolean;
|
|
781
|
+
|
|
782
|
+
retainCount(): number;
|
|
783
|
+
|
|
784
|
+
self(): this;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
declare class GHSolidColor extends GHFill {
|
|
788
|
+
static alloc(): GHSolidColor; // inherited from NSObject
|
|
789
|
+
|
|
790
|
+
static new(): GHSolidColor; // inherited from NSObject
|
|
791
|
+
|
|
792
|
+
asColorWithSVGContext(svgContext: SVGContext): UIColor;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
declare class GHStyle extends SVGAttributedObject {
|
|
796
|
+
static alloc(): GHStyle; // inherited from NSObject
|
|
797
|
+
|
|
798
|
+
static new(): GHStyle; // inherited from NSObject
|
|
799
|
+
|
|
800
|
+
readonly classes: NSDictionary<string, GHCSSStyle>;
|
|
801
|
+
|
|
802
|
+
readonly styleType: StyleElementType;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
declare class GHSwitchGroup extends GHShapeGroup {
|
|
806
|
+
static alloc(): GHSwitchGroup; // inherited from NSObject
|
|
807
|
+
|
|
808
|
+
static new(): GHSwitchGroup; // inherited from NSObject
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
declare class GHText extends GHRenderableObject implements GHPathDescription {
|
|
812
|
+
static alloc(): GHText; // inherited from NSObject
|
|
813
|
+
|
|
814
|
+
static new(): GHText; // inherited from NSObject
|
|
815
|
+
|
|
816
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
817
|
+
|
|
818
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
819
|
+
|
|
820
|
+
readonly fillDescription: string; // inherited from GHPathDescription
|
|
821
|
+
|
|
822
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
823
|
+
|
|
824
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
825
|
+
|
|
826
|
+
readonly strokeDescription: string; // inherited from GHPathDescription
|
|
827
|
+
|
|
828
|
+
readonly strokeWidth: number; // inherited from GHPathDescription
|
|
829
|
+
|
|
830
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
831
|
+
|
|
832
|
+
readonly; // inherited from NSObjectProtocol
|
|
833
|
+
|
|
834
|
+
addGlyphsToArrayWithSVGContext(glyphList: NSMutableArray<any>, svgContext: SVGContext): void;
|
|
835
|
+
|
|
836
|
+
class(): typeof NSObject;
|
|
837
|
+
|
|
838
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
839
|
+
|
|
840
|
+
isEqual(object: any): boolean;
|
|
841
|
+
|
|
842
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
843
|
+
|
|
844
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
845
|
+
|
|
846
|
+
performSelector(aSelector: string): any;
|
|
847
|
+
|
|
848
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
849
|
+
|
|
850
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
851
|
+
|
|
852
|
+
respondsToSelector(aSelector: string): boolean;
|
|
853
|
+
|
|
854
|
+
retainCount(): number;
|
|
855
|
+
|
|
856
|
+
self(): this;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
declare class GHTextArea extends GHText {
|
|
860
|
+
static alloc(): GHTextArea; // inherited from NSObject
|
|
861
|
+
|
|
862
|
+
static new(): GHTextArea; // inherited from NSObject
|
|
863
|
+
|
|
864
|
+
readonly text: NSAttributedString;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
declare class GHTextLine extends GHAttributedObject implements GHGlyphMaker, GHPathDescription {
|
|
868
|
+
static alloc(): GHTextLine; // inherited from NSObject
|
|
869
|
+
|
|
870
|
+
static new(): GHTextLine; // inherited from NSObject
|
|
871
|
+
|
|
872
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
873
|
+
|
|
874
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
875
|
+
|
|
876
|
+
readonly fillDescription: string; // inherited from GHPathDescription
|
|
877
|
+
|
|
878
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
879
|
+
|
|
880
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
881
|
+
|
|
882
|
+
readonly strokeDescription: string; // inherited from GHPathDescription
|
|
883
|
+
|
|
884
|
+
readonly strokeWidth: number; // inherited from GHPathDescription
|
|
885
|
+
|
|
886
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
887
|
+
|
|
888
|
+
readonly; // inherited from NSObjectProtocol
|
|
889
|
+
|
|
890
|
+
constructor(o: { attributes: NSDictionary<any, any>; andTextLine: any });
|
|
891
|
+
|
|
892
|
+
addGlyphsToArrayWithSVGContext(glyphList: NSMutableArray<any>, svgContext: SVGContext): void;
|
|
893
|
+
|
|
894
|
+
addGlyphsToContextWithSVGContext(quartzContext: any, svgContext: SVGContext): void;
|
|
895
|
+
|
|
896
|
+
class(): typeof NSObject;
|
|
897
|
+
|
|
898
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
899
|
+
|
|
900
|
+
getBoundingBoxWithSVGContext(svgContext: SVGContext): CGRect;
|
|
901
|
+
|
|
902
|
+
initWithAttributesAndTextLine(theAttributes: NSDictionary<any, any>, lineRef: any): this;
|
|
903
|
+
|
|
904
|
+
isEqual(object: any): boolean;
|
|
905
|
+
|
|
906
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
907
|
+
|
|
908
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
909
|
+
|
|
910
|
+
newPath(): any;
|
|
911
|
+
|
|
912
|
+
performSelector(aSelector: string): any;
|
|
913
|
+
|
|
914
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
915
|
+
|
|
916
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
917
|
+
|
|
918
|
+
renderIntoContextWithSVGContext(quartzContext: any, theContext: SVGContext): void;
|
|
919
|
+
|
|
920
|
+
respondsToSelector(aSelector: string): boolean;
|
|
921
|
+
|
|
922
|
+
retainCount(): number;
|
|
923
|
+
|
|
924
|
+
self(): this;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
declare function GetNextCoordinate(
|
|
928
|
+
buffer: string | interop.Pointer | interop.Reference<any>,
|
|
929
|
+
indexPtr: interop.Pointer | interop.Reference<number>,
|
|
930
|
+
bufferLength: number,
|
|
931
|
+
failed: interop.Pointer | interop.Reference<boolean>
|
|
932
|
+
): number;
|
|
933
|
+
|
|
934
|
+
declare class GzipInputStream extends NSInputStream {
|
|
935
|
+
static alloc(): GzipInputStream; // inherited from NSObject
|
|
936
|
+
|
|
937
|
+
static inputStreamWithData(data: NSData): GzipInputStream; // inherited from NSInputStream
|
|
938
|
+
|
|
939
|
+
static inputStreamWithFileAtPath(path: string): GzipInputStream; // inherited from NSInputStream
|
|
940
|
+
|
|
941
|
+
static inputStreamWithURL(url: NSURL): GzipInputStream; // inherited from NSInputStream
|
|
942
|
+
|
|
943
|
+
static new(): GzipInputStream; // inherited from NSObject
|
|
944
|
+
|
|
945
|
+
readData(bufferSize: number): NSData;
|
|
946
|
+
|
|
947
|
+
readLine(): string;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
declare var IDZGunzipErrorDomain: string;
|
|
951
|
+
|
|
952
|
+
declare function IsStringURL(aString: string): boolean;
|
|
953
|
+
|
|
954
|
+
declare function MakeSureSVGghLinks(): void;
|
|
955
|
+
|
|
956
|
+
declare function MorphColorString(oldSVGColorString: string, newSVGColorString: string, fractionThere: number): string;
|
|
957
|
+
|
|
958
|
+
declare class PathValidationResult extends NSObject {
|
|
959
|
+
static alloc(): PathValidationResult; // inherited from NSObject
|
|
960
|
+
|
|
961
|
+
static new(): PathValidationResult; // inherited from NSObject
|
|
962
|
+
|
|
963
|
+
readonly errorCode: SVGPathValidationError;
|
|
964
|
+
|
|
965
|
+
readonly errorInLastOperation: boolean;
|
|
966
|
+
|
|
967
|
+
readonly operatorAtError: number;
|
|
968
|
+
|
|
969
|
+
readonly rangeOfError: NSRange;
|
|
970
|
+
|
|
971
|
+
readonly unexpectedCharacters: string;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
declare const enum PrintingResults {
|
|
975
|
+
kSuccessfulPrintingResult = 0,
|
|
976
|
+
|
|
977
|
+
kCouldntCreatePrintingDataResult = 1,
|
|
978
|
+
|
|
979
|
+
kCouldntInterfaceWithPrinterResult = 2,
|
|
980
|
+
|
|
981
|
+
kPrintingErrorResult = 3,
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
declare function SVGArcFromSensibleParameters(xRadius: number, yRadius: number, xAxisRotationDegrees: number, startAngle: number, endAngle: number): string;
|
|
985
|
+
|
|
986
|
+
declare class SVGAttributedObject extends GHAttributedObject {
|
|
987
|
+
static alloc(): SVGAttributedObject; // inherited from NSObject
|
|
988
|
+
|
|
989
|
+
static new(): SVGAttributedObject; // inherited from NSObject
|
|
990
|
+
|
|
991
|
+
environmentOKWithISOCode(isoLanguage: string): boolean;
|
|
992
|
+
|
|
993
|
+
environmentOKWithSVGContext(svgContext: SVGContext): boolean;
|
|
994
|
+
|
|
995
|
+
hidden(): boolean;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
interface SVGContext {
|
|
999
|
+
absoluteURL(absolutePath: string): NSURL;
|
|
1000
|
+
|
|
1001
|
+
attributeNamedClassesEntityName(attributeName: string, listOfClasses: NSArray<string> | string[], entityName: string): string;
|
|
1002
|
+
|
|
1003
|
+
colorForSVGColorString(svgColorString: string): UIColor;
|
|
1004
|
+
|
|
1005
|
+
currentColor(): UIColor;
|
|
1006
|
+
|
|
1007
|
+
explicitLineScaling(): number;
|
|
1008
|
+
|
|
1009
|
+
hasCSSAttributes(): boolean;
|
|
1010
|
+
|
|
1011
|
+
isoLanguage(): string;
|
|
1012
|
+
|
|
1013
|
+
objectAtURL(aLocation: string): any;
|
|
1014
|
+
|
|
1015
|
+
objectNamed(objectName: string): any;
|
|
1016
|
+
|
|
1017
|
+
opacity(): number;
|
|
1018
|
+
|
|
1019
|
+
relativeURL(subPath: string): NSURL;
|
|
1020
|
+
|
|
1021
|
+
setCurrentColor(startingCurrentColor: UIColor): void;
|
|
1022
|
+
|
|
1023
|
+
setOpacity(opacity: number): void;
|
|
1024
|
+
}
|
|
1025
|
+
declare var SVGContext: {
|
|
1026
|
+
prototype: SVGContext;
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
declare class SVGDocumentView extends UIView {
|
|
1030
|
+
static alloc(): SVGDocumentView; // inherited from NSObject
|
|
1031
|
+
|
|
1032
|
+
static appearance(): SVGDocumentView; // inherited from UIAppearance
|
|
1033
|
+
|
|
1034
|
+
static appearanceForTraitCollection(trait: UITraitCollection): SVGDocumentView; // inherited from UIAppearance
|
|
1035
|
+
|
|
1036
|
+
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): SVGDocumentView; // inherited from UIAppearance
|
|
1037
|
+
|
|
1038
|
+
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): SVGDocumentView; // inherited from UIAppearance
|
|
1039
|
+
|
|
1040
|
+
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): SVGDocumentView; // inherited from UIAppearance
|
|
1041
|
+
|
|
1042
|
+
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): SVGDocumentView; // inherited from UIAppearance
|
|
1043
|
+
|
|
1044
|
+
static makeSureLoaded(): void;
|
|
1045
|
+
|
|
1046
|
+
static new(): SVGDocumentView; // inherited from NSObject
|
|
1047
|
+
|
|
1048
|
+
artworkPath: string;
|
|
1049
|
+
|
|
1050
|
+
beTransparent: boolean;
|
|
1051
|
+
|
|
1052
|
+
defaultColor: UIColor;
|
|
1053
|
+
|
|
1054
|
+
renderer: SVGRenderer;
|
|
1055
|
+
|
|
1056
|
+
findRenderableObject(testPoint: CGPoint): GHRenderable;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
declare class SVGGradientUtilities extends NSObject {
|
|
1060
|
+
static alloc(): SVGGradientUtilities; // inherited from NSObject
|
|
1061
|
+
|
|
1062
|
+
static colorSpace(): any;
|
|
1063
|
+
|
|
1064
|
+
static extractFractionFromCoordinateStringGivenDefault(svgFractionOrPercentage: string, defaultValue: number): number;
|
|
1065
|
+
|
|
1066
|
+
static new(): SVGGradientUtilities; // inherited from NSObject
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
declare function SVGMergeStyleAttributes(
|
|
1070
|
+
parentAttributes: NSDictionary<any, any>,
|
|
1071
|
+
attributesToMergeIn: NSDictionary<any, any>,
|
|
1072
|
+
filter: (p1: string, p2: any, p3: any) => boolean
|
|
1073
|
+
): NSDictionary<any, any>;
|
|
1074
|
+
|
|
1075
|
+
declare function SVGMorphStyleAttributes(oldAttributes: NSDictionary<any, any>, newAttributes: NSDictionary<any, any>, fractionThere: number): NSDictionary<any, any>;
|
|
1076
|
+
|
|
1077
|
+
declare class SVGParser extends NSObject {
|
|
1078
|
+
static alloc(): SVGParser; // inherited from NSObject
|
|
1079
|
+
|
|
1080
|
+
static new(): SVGParser; // inherited from NSObject
|
|
1081
|
+
|
|
1082
|
+
readonly parserError: NSError;
|
|
1083
|
+
|
|
1084
|
+
readonly root: NSDictionary<any, any>;
|
|
1085
|
+
|
|
1086
|
+
readonly svgURL: NSURL;
|
|
1087
|
+
|
|
1088
|
+
constructor(o: { contentsOfURL: NSURL });
|
|
1089
|
+
|
|
1090
|
+
constructor(o: { dataAssetNamed: string; withBundle: NSBundle });
|
|
1091
|
+
|
|
1092
|
+
constructor(o: { inputStream: NSInputStream });
|
|
1093
|
+
|
|
1094
|
+
constructor(o: { resourceName: string; inBundle: NSBundle });
|
|
1095
|
+
|
|
1096
|
+
constructor(o: { string: string });
|
|
1097
|
+
|
|
1098
|
+
absoluteURL(aPath: string): NSURL;
|
|
1099
|
+
|
|
1100
|
+
initWithContentsOfURL(url: NSURL): this;
|
|
1101
|
+
|
|
1102
|
+
initWithDataAssetNamedWithBundle(assetName: string, bundle: NSBundle): this;
|
|
1103
|
+
|
|
1104
|
+
initWithInputStream(inputStream: NSInputStream): this;
|
|
1105
|
+
|
|
1106
|
+
initWithResourceNameInBundle(resourceName: string, bundle: NSBundle): this;
|
|
1107
|
+
|
|
1108
|
+
initWithString(utf8String: string): this;
|
|
1109
|
+
|
|
1110
|
+
relativeURL(subPath: string): NSURL;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
declare class SVGPathGenerator extends NSObject {
|
|
1114
|
+
static alloc(): SVGPathGenerator; // inherited from NSObject
|
|
1115
|
+
|
|
1116
|
+
static findFailure(anSVGPath: string): PathValidationResult;
|
|
1117
|
+
|
|
1118
|
+
static invalidPathCharacters(): NSCharacterSet;
|
|
1119
|
+
|
|
1120
|
+
static maxBoundingBoxForSVGPath(anSVGPath: string): CGRect;
|
|
1121
|
+
|
|
1122
|
+
static new(): SVGPathGenerator; // inherited from NSObject
|
|
1123
|
+
|
|
1124
|
+
static newCGPathFromSVGPathWhileApplyingTransform(anSVGPath: string, aTransform: CGAffineTransform): any;
|
|
1125
|
+
|
|
1126
|
+
static parametersNeededForOperator(svgOperator: number): number;
|
|
1127
|
+
|
|
1128
|
+
static svgPathFromCGPath(aPath: any): string;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
declare const enum SVGPathValidationError {
|
|
1132
|
+
kPathParsingErrorNone = 0,
|
|
1133
|
+
|
|
1134
|
+
kPathParsingErrorMissingNumber = 1,
|
|
1135
|
+
|
|
1136
|
+
kPathParsingErrorExpectedBoolean = 2,
|
|
1137
|
+
|
|
1138
|
+
kPathParsingErrorExpectedDegrees = 3,
|
|
1139
|
+
|
|
1140
|
+
kPathParsingErrorUnknownOperand = 4,
|
|
1141
|
+
|
|
1142
|
+
kPathParsingErrorMissingStart = 5,
|
|
1143
|
+
|
|
1144
|
+
kPathParsingErrorMissingVirtualControlPoint = 6,
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
declare class SVGPrinter extends NSObject {
|
|
1148
|
+
static alloc(): SVGPrinter; // inherited from NSObject
|
|
1149
|
+
|
|
1150
|
+
static new(): SVGPrinter; // inherited from NSObject
|
|
1151
|
+
|
|
1152
|
+
static printRendererWithJobNameFromAnchorViewWithCallback(renderer: SVGRenderer, jobName: string, anchorView: UIView, callback: (p1: NSError, p2: PrintingResults) => void): void;
|
|
1153
|
+
|
|
1154
|
+
static printRendererWithJobNameWithCallback(renderer: SVGRenderer, jobName: string, callback: (p1: NSError, p2: PrintingResults) => void): void;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
declare class SVGRenderer extends SVGParser implements GHRenderable, SVGContext {
|
|
1158
|
+
static alloc(): SVGRenderer; // inherited from NSObject
|
|
1159
|
+
|
|
1160
|
+
static new(): SVGRenderer; // inherited from NSObject
|
|
1161
|
+
|
|
1162
|
+
static rendererQueue(): NSOperationQueue;
|
|
1163
|
+
|
|
1164
|
+
cssPseudoClass: CSSPseudoClassFlags;
|
|
1165
|
+
|
|
1166
|
+
readonly viewRect: CGRect;
|
|
1167
|
+
|
|
1168
|
+
readonly attributes: NSDictionary<any, any>; // inherited from GHRenderable
|
|
1169
|
+
|
|
1170
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
1171
|
+
|
|
1172
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
1173
|
+
|
|
1174
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
1175
|
+
|
|
1176
|
+
readonly hidden: boolean; // inherited from GHRenderable
|
|
1177
|
+
|
|
1178
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
1179
|
+
|
|
1180
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
1181
|
+
|
|
1182
|
+
readonly transform: CGAffineTransform; // inherited from GHRenderable
|
|
1183
|
+
|
|
1184
|
+
readonly; // inherited from NSObjectProtocol
|
|
1185
|
+
|
|
1186
|
+
absoluteURL(absolutePath: string): NSURL;
|
|
1187
|
+
|
|
1188
|
+
addToClipForContextWithSVGContextObjectBoundingBox(quartzContext: any, svgContext: SVGContext, objectBox: CGRect): void;
|
|
1189
|
+
|
|
1190
|
+
addToClipPathForContextWithSVGContextObjectBoundingBox(quartzContext: any, svgContext: SVGContext, objectBox: CGRect): void;
|
|
1191
|
+
|
|
1192
|
+
asImageWithSizeAndScale(maximumSize: CGSize, scale: number): UIImage;
|
|
1193
|
+
|
|
1194
|
+
attributeNamedClassesEntityName(attributeName: string, listOfClasses: NSArray<string> | string[], entityName: string): string;
|
|
1195
|
+
|
|
1196
|
+
class(): typeof NSObject;
|
|
1197
|
+
|
|
1198
|
+
colorForSVGColorString(svgColorString: string): UIColor;
|
|
1199
|
+
|
|
1200
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
1201
|
+
|
|
1202
|
+
currentColor(): UIColor;
|
|
1203
|
+
|
|
1204
|
+
explicitLineScaling(): number;
|
|
1205
|
+
|
|
1206
|
+
findRenderableObject(testPoint: CGPoint): GHRenderable;
|
|
1207
|
+
|
|
1208
|
+
findRenderableObjectWithSVGContext(testPoint: CGPoint, svgContext: SVGContext): GHRenderable;
|
|
1209
|
+
|
|
1210
|
+
getBoundingBoxWithSVGContext(svgContext: SVGContext): CGRect;
|
|
1211
|
+
|
|
1212
|
+
getClippingTypeWithSVGContext(svgContext: SVGContext): number;
|
|
1213
|
+
|
|
1214
|
+
hasCSSAttributes(): boolean;
|
|
1215
|
+
|
|
1216
|
+
isEqual(object: any): boolean;
|
|
1217
|
+
|
|
1218
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
1219
|
+
|
|
1220
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
1221
|
+
|
|
1222
|
+
isoLanguage(): string;
|
|
1223
|
+
|
|
1224
|
+
objectAtURL(aLocation: string): any;
|
|
1225
|
+
|
|
1226
|
+
objectNamed(objectName: string): any;
|
|
1227
|
+
|
|
1228
|
+
opacity(): number;
|
|
1229
|
+
|
|
1230
|
+
performSelector(aSelector: string): any;
|
|
1231
|
+
|
|
1232
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
1233
|
+
|
|
1234
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
1235
|
+
|
|
1236
|
+
relativeURL(subPath: string): NSURL;
|
|
1237
|
+
|
|
1238
|
+
renderIntoContext(quartzContext: any): void;
|
|
1239
|
+
|
|
1240
|
+
renderIntoContextWithSVGContext(quartzContext: any, svgContext: SVGContext): void;
|
|
1241
|
+
|
|
1242
|
+
respondsToSelector(aSelector: string): boolean;
|
|
1243
|
+
|
|
1244
|
+
retainCount(): number;
|
|
1245
|
+
|
|
1246
|
+
self(): this;
|
|
1247
|
+
|
|
1248
|
+
setCurrentColor(startingCurrentColor: UIColor): void;
|
|
1249
|
+
|
|
1250
|
+
setOpacity(opacity: number): void;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
declare class SVGRendererLayer extends CALayer {
|
|
1254
|
+
static alloc(): SVGRendererLayer; // inherited from NSObject
|
|
1255
|
+
|
|
1256
|
+
static layer(): SVGRendererLayer; // inherited from CALayer
|
|
1257
|
+
|
|
1258
|
+
static new(): SVGRendererLayer; // inherited from NSObject
|
|
1259
|
+
|
|
1260
|
+
beTransparent: boolean;
|
|
1261
|
+
|
|
1262
|
+
defaultColor: UIColor;
|
|
1263
|
+
|
|
1264
|
+
renderer: SVGRenderer;
|
|
1265
|
+
|
|
1266
|
+
findRenderableObject(testPoint: CGPoint): GHRenderable;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
declare function SVGStringToRect(serializedRect: string): CGRect;
|
|
1270
|
+
|
|
1271
|
+
declare function SVGStringToRectSlow(serializedRect: string): CGRect;
|
|
1272
|
+
|
|
1273
|
+
declare class SVGTabBarItem extends UITabBarItem {
|
|
1274
|
+
static alloc(): SVGTabBarItem; // inherited from NSObject
|
|
1275
|
+
|
|
1276
|
+
static appearance(): SVGTabBarItem; // inherited from UIAppearance
|
|
1277
|
+
|
|
1278
|
+
static appearanceForTraitCollection(trait: UITraitCollection): SVGTabBarItem; // inherited from UIAppearance
|
|
1279
|
+
|
|
1280
|
+
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): SVGTabBarItem; // inherited from UIAppearance
|
|
1281
|
+
|
|
1282
|
+
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): SVGTabBarItem; // inherited from UIAppearance
|
|
1283
|
+
|
|
1284
|
+
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): SVGTabBarItem; // inherited from UIAppearance
|
|
1285
|
+
|
|
1286
|
+
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): SVGTabBarItem; // inherited from UIAppearance
|
|
1287
|
+
|
|
1288
|
+
static makeSureLoaded(): void;
|
|
1289
|
+
|
|
1290
|
+
static new(): SVGTabBarItem; // inherited from NSObject
|
|
1291
|
+
|
|
1292
|
+
artworkPath: string;
|
|
1293
|
+
|
|
1294
|
+
baseColor: UIColor;
|
|
1295
|
+
|
|
1296
|
+
selectedArtworkPath: string;
|
|
1297
|
+
|
|
1298
|
+
selectedColor: UIColor;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
declare class SVGTextUtilities extends NSObject {
|
|
1302
|
+
static alloc(): SVGTextUtilities; // inherited from NSObject
|
|
1303
|
+
|
|
1304
|
+
static attributedStringFromStringNonFontSVGStyleAttributesBaseFontBaseFontDescriptorIncludeParagraphStyle(
|
|
1305
|
+
text: string,
|
|
1306
|
+
nonFontSVGStyleAttributes: NSDictionary<any, any>,
|
|
1307
|
+
baseFont: UIFont,
|
|
1308
|
+
baseFontDescriptor: UIFontDescriptor,
|
|
1309
|
+
includeParagraphStyle: boolean
|
|
1310
|
+
): NSAttributedString;
|
|
1311
|
+
|
|
1312
|
+
static attributedStringFromStringSVGStyleAttributesBaseFontBaseFontDescriptorIncludeParagraphStyle(
|
|
1313
|
+
text: string,
|
|
1314
|
+
styleAttributes: NSDictionary<any, any>,
|
|
1315
|
+
baseFont: UIFont,
|
|
1316
|
+
baseFontDescriptor: UIFontDescriptor,
|
|
1317
|
+
includeParagraphStyle: boolean
|
|
1318
|
+
): NSAttributedString;
|
|
1319
|
+
|
|
1320
|
+
static cleanXMLText(sourceText: string): string;
|
|
1321
|
+
|
|
1322
|
+
static coreTextAttributesFromSVGStyleAttributes(svgStyle: NSDictionary<any, any>): NSDictionary<any, any>;
|
|
1323
|
+
|
|
1324
|
+
static coreTextAttributesFromSVGStyleAttributesBaseDescriptor(svgStyle: NSDictionary<any, any>, baseDescriptor: UIFontDescriptor): NSDictionary<any, any>;
|
|
1325
|
+
|
|
1326
|
+
static fontAttributesFromSVGAttributes(SVGattributes: NSDictionary<any, any>): NSDictionary<any, any>;
|
|
1327
|
+
|
|
1328
|
+
static new(): SVGTextUtilities; // inherited from NSObject
|
|
1329
|
+
|
|
1330
|
+
static newFontDescriptorFromAttributesBaseDescriptor(attributes: NSDictionary<any, any>, baseDescriptor: UIFontDescriptor): UIFontDescriptor;
|
|
1331
|
+
|
|
1332
|
+
static newFontRefFromFontDescriptor(fontDescriptor: UIFontDescriptor): UIFont;
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
declare class SVGToQuartz extends NSObject {
|
|
1336
|
+
static LogQuartzContextState(quartzContext: any): void;
|
|
1337
|
+
|
|
1338
|
+
static alloc(): SVGToQuartz; // inherited from NSObject
|
|
1339
|
+
|
|
1340
|
+
static aspectRatioDrawRectFromStringGivenBoundsNaturalSize(preserveAspectRatioString: string, viewRect: CGRect, naturalSize: CGSize): CGRect;
|
|
1341
|
+
|
|
1342
|
+
static attributeHasDisplaySetToNone(attributes: NSDictionary<any, any>): boolean;
|
|
1343
|
+
|
|
1344
|
+
static dictionaryForStyleAttributeString(styleString: string): NSDictionary<any, any>;
|
|
1345
|
+
|
|
1346
|
+
static imageAtXLinkPathOrAtRelativeFilePathWithSVGContextIntoCallback(
|
|
1347
|
+
xLinkPath: string,
|
|
1348
|
+
relativeFilePath: string,
|
|
1349
|
+
svgContext: SVGContext,
|
|
1350
|
+
retrievalCallback: (p1: UIImage, p2: NSURL) => void
|
|
1351
|
+
): void;
|
|
1352
|
+
|
|
1353
|
+
static new(): SVGToQuartz; // inherited from NSObject
|
|
1354
|
+
|
|
1355
|
+
static setupBlendModeForQuartzContextWithBlendModeString(quartzContext: any, blendModeString: string): void;
|
|
1356
|
+
|
|
1357
|
+
static setupColorForQuartzContextWithColorStringWithSVGContext(quartzContext: any, colorString: string, svgContext: SVGContext): void;
|
|
1358
|
+
|
|
1359
|
+
static setupLineDashForQuartzContextWithSVGDashArrayAndPhase(quartzContext: any, strokeDashString: string, phaseString: string): void;
|
|
1360
|
+
|
|
1361
|
+
static setupLineEndForQuartzContextWithSVGLineEndString(quartzContext: any, lineCapString: string): void;
|
|
1362
|
+
|
|
1363
|
+
static setupLineWidthForQuartzContextWithSVGStrokeStringWithVectorEffectWithSVGContext(quartzContext: any, strokeString: string, vectorEffect: string, svgContext: SVGContext): void;
|
|
1364
|
+
|
|
1365
|
+
static setupMiterForQuartzContextWithSVGMiterString(quartzContext: any, miterString: string): void;
|
|
1366
|
+
|
|
1367
|
+
static setupMiterLimitForQuartzContextWithSVGMiterLimitString(quartzContext: any, miterLimitString: string): void;
|
|
1368
|
+
|
|
1369
|
+
static setupOpacityForQuartzContextWithSVGOpacity(quartzContext: any, opacityString: string): void;
|
|
1370
|
+
|
|
1371
|
+
static setupOpacityForQuartzContextWithSVGOpacityWithSVGContext(quartzContext: any, opacityString: string, svgContext: SVGContext): void;
|
|
1372
|
+
|
|
1373
|
+
static styleAttributeStringForDictionary(styleDictionary: NSDictionary<any, any>): string;
|
|
1374
|
+
|
|
1375
|
+
static valueForStyleAttributeFromDefinition(attributeName: string, elementAttributes: NSDictionary<any, any>): string;
|
|
1376
|
+
|
|
1377
|
+
static valueForStyleAttributeFromDefinitionForEnityNameWithSVGContext(attributeName: string, elementAttributes: NSDictionary<any, any>, entityTypeName: string, svgContext: SVGContext): string;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
declare function SVGTransformMorph(oldtransform: string, newTransform: string, fractionThere: number): string;
|
|
1381
|
+
|
|
1382
|
+
declare function SVGTransformToCGAffineTransform(transformAttribute: string): CGAffineTransform;
|
|
1383
|
+
|
|
1384
|
+
declare function SVGTransformToCGAffineTransformSlow(transformAttribute: string): CGAffineTransform;
|
|
1385
|
+
|
|
1386
|
+
interface SVGghLoader {
|
|
1387
|
+
loadRenderForSVGIdentifierInBundle(identifier: string, bundle: NSBundle): SVGRenderer;
|
|
1388
|
+
}
|
|
1389
|
+
declare var SVGghLoader: {
|
|
1390
|
+
prototype: SVGghLoader;
|
|
1391
|
+
};
|
|
1392
|
+
|
|
1393
|
+
declare class SVGghLoaderManager extends NSObject {
|
|
1394
|
+
static alloc(): SVGghLoaderManager; // inherited from NSObject
|
|
1395
|
+
|
|
1396
|
+
static loader(): SVGghLoader;
|
|
1397
|
+
|
|
1398
|
+
static new(): SVGghLoaderManager; // inherited from NSObject
|
|
1399
|
+
|
|
1400
|
+
static setLoader(loader: SVGghLoader): void;
|
|
1401
|
+
|
|
1402
|
+
static setLoaderToType(type: SVGghLoaderType): void;
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
declare const enum SVGghLoaderType {
|
|
1406
|
+
Default = 0,
|
|
1407
|
+
|
|
1408
|
+
Path = 1,
|
|
1409
|
+
|
|
1410
|
+
DataXCAsset = 2,
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
declare var SVGghVersionNumber: number;
|
|
1414
|
+
|
|
1415
|
+
declare var SVGghVersionString: interop.Reference<number>;
|
|
1416
|
+
|
|
1417
|
+
declare class SVGtoPDFConverter extends NSObject {
|
|
1418
|
+
static alloc(): SVGtoPDFConverter; // inherited from NSObject
|
|
1419
|
+
|
|
1420
|
+
static createPDFFromRendererIntoCallback(aRenderer: SVGRenderer, callback: (p1: NSData) => void): void;
|
|
1421
|
+
|
|
1422
|
+
static new(): SVGtoPDFConverter; // inherited from NSObject
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
declare function StandardPathAttributes(): NSSet<any>;
|
|
1426
|
+
|
|
1427
|
+
declare const enum StyleElementType {
|
|
1428
|
+
kStyleTypeUnsupported = 0,
|
|
1429
|
+
|
|
1430
|
+
kStyleTypeCSS = 1,
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
declare function UIColorFromSVGColorString(stringToConvert: string): UIColor;
|
|
1434
|
+
|
|
1435
|
+
declare function UIColorFromSVGColorStringFunction(stringToConvert: string): UIColor;
|
|
1436
|
+
|
|
1437
|
+
declare function UnquotedSVGString(possiblyQuotedString: string): string;
|
|
1438
|
+
|
|
1439
|
+
declare var kAttributesElementName: string;
|
|
1440
|
+
|
|
1441
|
+
declare var kBlackInHex: string;
|
|
1442
|
+
|
|
1443
|
+
declare const kColorSchemeClear: number;
|
|
1444
|
+
|
|
1445
|
+
declare const kColorSchemeEmpty: number;
|
|
1446
|
+
|
|
1447
|
+
declare const kColorSchemeFlatAndBoxy: number;
|
|
1448
|
+
|
|
1449
|
+
declare const kColorSchemeHomeTheatre: number;
|
|
1450
|
+
|
|
1451
|
+
declare const kColorSchemeKeyboard: number;
|
|
1452
|
+
|
|
1453
|
+
declare const kColorSchemeMachine: number;
|
|
1454
|
+
|
|
1455
|
+
declare const kColorSchemeNone: number;
|
|
1456
|
+
|
|
1457
|
+
declare const kColorSchemeTVOS: number;
|
|
1458
|
+
|
|
1459
|
+
declare const kColorSchemeiOS: number;
|
|
1460
|
+
|
|
1461
|
+
declare const kColorSchemeiOSVersionAppropriate: number;
|
|
1462
|
+
|
|
1463
|
+
declare var kColoringRenderingIntent: CGColorRenderingIntent;
|
|
1464
|
+
|
|
1465
|
+
declare var kColoringRenderingIntentVar: CGColorRenderingIntent;
|
|
1466
|
+
|
|
1467
|
+
declare var kContentsElementName: string;
|
|
1468
|
+
|
|
1469
|
+
declare var kDegreesToRadiansConstant: number;
|
|
1470
|
+
|
|
1471
|
+
declare var kElementData: string;
|
|
1472
|
+
|
|
1473
|
+
declare var kElementName: string;
|
|
1474
|
+
|
|
1475
|
+
declare var kElementText: string;
|
|
1476
|
+
|
|
1477
|
+
declare const kEvenOddPathClippingType: number;
|
|
1478
|
+
|
|
1479
|
+
declare var kFacesAddedKey: string;
|
|
1480
|
+
|
|
1481
|
+
declare var kFacesAddedToCacheNotificationName: string;
|
|
1482
|
+
|
|
1483
|
+
declare var kFacesURLsAddedKey: string;
|
|
1484
|
+
|
|
1485
|
+
declare const kFontGlyphClippingType: number;
|
|
1486
|
+
|
|
1487
|
+
declare var kImageAddedKey: string;
|
|
1488
|
+
|
|
1489
|
+
declare var kImageAddedToCacheNotificationName: string;
|
|
1490
|
+
|
|
1491
|
+
declare const kImageClipplingType: number;
|
|
1492
|
+
|
|
1493
|
+
declare var kImageURLAddedKey: string;
|
|
1494
|
+
|
|
1495
|
+
declare const kLastColorScheme: number;
|
|
1496
|
+
|
|
1497
|
+
declare var kLengthIntoParentsContents: string;
|
|
1498
|
+
|
|
1499
|
+
declare const kMixedClippingType: number;
|
|
1500
|
+
|
|
1501
|
+
declare const kNoClippingType: number;
|
|
1502
|
+
|
|
1503
|
+
declare const kPathClippingType: number;
|
|
1504
|
+
|
|
1505
|
+
declare var kRingThickness: number;
|
|
1506
|
+
|
|
1507
|
+
declare var kRoundButtonRadius: number;
|
|
1508
|
+
|
|
1509
|
+
declare var kShadowInset: number;
|
|
1510
|
+
|
|
1511
|
+
declare var kWhiteInHex: string;
|