@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,2862 @@
|
|
|
1
|
+
/* eslint-disable no-redeclare */
|
|
2
|
+
/* eslint-disable no-var */
|
|
3
|
+
declare class AppleSucksDOMImplementation extends NSObject {
|
|
4
|
+
static alloc(): AppleSucksDOMImplementation; // inherited from NSObject
|
|
5
|
+
|
|
6
|
+
static new(): AppleSucksDOMImplementation; // inherited from NSObject
|
|
7
|
+
|
|
8
|
+
createDocumentQualifiedNameDoctype(namespaceURI: string, qualifiedName: string, doctype: DocumentType): Document;
|
|
9
|
+
|
|
10
|
+
createDocumentTypePublicIdSystemId(qualifiedName: string, publicId: string, systemId: string): DocumentType;
|
|
11
|
+
|
|
12
|
+
hasFeatureVersion(feature: string, version: string): boolean;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare class Attr extends Node {
|
|
16
|
+
static alloc(): Attr; // inherited from NSObject
|
|
17
|
+
|
|
18
|
+
static new(): Attr; // inherited from NSObject
|
|
19
|
+
|
|
20
|
+
readonly name: string;
|
|
21
|
+
|
|
22
|
+
readonly ownerElement: Element;
|
|
23
|
+
|
|
24
|
+
readonly specified: boolean;
|
|
25
|
+
|
|
26
|
+
readonly value: string;
|
|
27
|
+
|
|
28
|
+
constructor(o: { name: string; value: string });
|
|
29
|
+
|
|
30
|
+
constructor(o: { namespace: string; qualifiedName: string; value: string });
|
|
31
|
+
|
|
32
|
+
initWithNameValue(n: string, v: string): this;
|
|
33
|
+
|
|
34
|
+
initWithNamespaceQualifiedNameValue(ns: string, qn: string, v: string): this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare class BaseClassForAllSVGBasicShapes extends SVGElement implements ConverterSVGToCALayer, SVGStylable, SVGTransformable {
|
|
38
|
+
static alloc(): BaseClassForAllSVGBasicShapes; // inherited from NSObject
|
|
39
|
+
|
|
40
|
+
static new(): BaseClassForAllSVGBasicShapes; // inherited from NSObject
|
|
41
|
+
|
|
42
|
+
pathForShapeInRelativeCoords: any;
|
|
43
|
+
|
|
44
|
+
className: string; // inherited from SVGStylable
|
|
45
|
+
|
|
46
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
47
|
+
|
|
48
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
49
|
+
|
|
50
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
51
|
+
|
|
52
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
53
|
+
|
|
54
|
+
style: CSSStyleDeclaration; // inherited from SVGStylable
|
|
55
|
+
|
|
56
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
57
|
+
|
|
58
|
+
transform: CGAffineTransform; // inherited from SVGTransformable
|
|
59
|
+
|
|
60
|
+
readonly; // inherited from NSObjectProtocol
|
|
61
|
+
|
|
62
|
+
class(): typeof NSObject;
|
|
63
|
+
|
|
64
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
65
|
+
|
|
66
|
+
getPresentationAttribute(name: string): CSSValue;
|
|
67
|
+
|
|
68
|
+
isEqual(object: any): boolean;
|
|
69
|
+
|
|
70
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
71
|
+
|
|
72
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
73
|
+
|
|
74
|
+
layoutLayer(layer: CALayer): void;
|
|
75
|
+
|
|
76
|
+
newLayer(): CALayer;
|
|
77
|
+
|
|
78
|
+
performSelector(aSelector: string): any;
|
|
79
|
+
|
|
80
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
81
|
+
|
|
82
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
83
|
+
|
|
84
|
+
respondsToSelector(aSelector: string): boolean;
|
|
85
|
+
|
|
86
|
+
retainCount(): number;
|
|
87
|
+
|
|
88
|
+
self(): this;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
declare class CALayerWithChildHitTest extends CALayerWithClipRender {
|
|
92
|
+
static alloc(): CALayerWithChildHitTest; // inherited from NSObject
|
|
93
|
+
|
|
94
|
+
static layer(): CALayerWithChildHitTest; // inherited from CALayer
|
|
95
|
+
|
|
96
|
+
static new(): CALayerWithChildHitTest; // inherited from NSObject
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
declare class CALayerWithClipRender extends CALayer {
|
|
100
|
+
static alloc(): CALayerWithClipRender; // inherited from NSObject
|
|
101
|
+
|
|
102
|
+
static layer(): CALayerWithClipRender; // inherited from CALayer
|
|
103
|
+
|
|
104
|
+
static maskLayerInContext(layer: CALayer, ctx: any): void;
|
|
105
|
+
|
|
106
|
+
static new(): CALayerWithClipRender; // inherited from NSObject
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
declare class CAShapeLayerWithClipRender extends CAShapeLayer {
|
|
110
|
+
static alloc(): CAShapeLayerWithClipRender; // inherited from NSObject
|
|
111
|
+
|
|
112
|
+
static layer(): CAShapeLayerWithClipRender; // inherited from CALayer
|
|
113
|
+
|
|
114
|
+
static new(): CAShapeLayerWithClipRender; // inherited from NSObject
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare class CAShapeLayerWithHitTest extends CAShapeLayerWithClipRender {
|
|
118
|
+
static alloc(): CAShapeLayerWithHitTest; // inherited from NSObject
|
|
119
|
+
|
|
120
|
+
static layer(): CAShapeLayerWithHitTest; // inherited from CALayer
|
|
121
|
+
|
|
122
|
+
static new(): CAShapeLayerWithHitTest; // inherited from NSObject
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
declare class CDATASection extends Text {
|
|
126
|
+
static alloc(): CDATASection; // inherited from NSObject
|
|
127
|
+
|
|
128
|
+
static new(): CDATASection; // inherited from NSObject
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
declare function CGColorWithSVGColor(color: SVGColor): interop.Unmanaged<any>;
|
|
132
|
+
|
|
133
|
+
declare function CGPathCreateByOffsettingPath(aPath: any, x: number, y: number): interop.Unmanaged<any>;
|
|
134
|
+
|
|
135
|
+
declare function CGPathCreateByTranslatingPath(aPath: any, x: number, y: number): interop.Unmanaged<any>;
|
|
136
|
+
|
|
137
|
+
declare function CGRectFromSVGRect(rect: SVGRect): CGRect;
|
|
138
|
+
|
|
139
|
+
declare function CGSizeFromSVGRect(rect: SVGRect): CGSize;
|
|
140
|
+
|
|
141
|
+
declare const enum CSSPrimitiveType {
|
|
142
|
+
S_UNKNOWN = 0,
|
|
143
|
+
|
|
144
|
+
S_NUMBER = 1,
|
|
145
|
+
|
|
146
|
+
S_PERCENTAGE = 2,
|
|
147
|
+
|
|
148
|
+
S_EMS = 3,
|
|
149
|
+
|
|
150
|
+
S_EXS = 4,
|
|
151
|
+
|
|
152
|
+
S_PX = 5,
|
|
153
|
+
|
|
154
|
+
S_CM = 6,
|
|
155
|
+
|
|
156
|
+
S_MM = 7,
|
|
157
|
+
|
|
158
|
+
S_IN = 8,
|
|
159
|
+
|
|
160
|
+
S_PT = 9,
|
|
161
|
+
|
|
162
|
+
S_PC = 10,
|
|
163
|
+
|
|
164
|
+
S_DEG = 11,
|
|
165
|
+
|
|
166
|
+
S_RAD = 12,
|
|
167
|
+
|
|
168
|
+
S_GRAD = 13,
|
|
169
|
+
|
|
170
|
+
S_MS = 14,
|
|
171
|
+
|
|
172
|
+
S_S = 15,
|
|
173
|
+
|
|
174
|
+
S_HZ = 16,
|
|
175
|
+
|
|
176
|
+
S_KHZ = 17,
|
|
177
|
+
|
|
178
|
+
S_DIMENSION = 18,
|
|
179
|
+
|
|
180
|
+
S_STRING = 19,
|
|
181
|
+
|
|
182
|
+
S_URI = 20,
|
|
183
|
+
|
|
184
|
+
S_IDENT = 21,
|
|
185
|
+
|
|
186
|
+
S_ATTR = 22,
|
|
187
|
+
|
|
188
|
+
S_COUNTER = 23,
|
|
189
|
+
|
|
190
|
+
S_RECT = 24,
|
|
191
|
+
|
|
192
|
+
S_RGBCOLOR = 25,
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
declare class CSSPrimitiveValue extends CSSValue {
|
|
196
|
+
static alloc(): CSSPrimitiveValue; // inherited from NSObject
|
|
197
|
+
|
|
198
|
+
static new(): CSSPrimitiveValue; // inherited from NSObject
|
|
199
|
+
|
|
200
|
+
pixelsPerInch: number;
|
|
201
|
+
|
|
202
|
+
primitiveType: CSSPrimitiveType;
|
|
203
|
+
|
|
204
|
+
getCounterValue(): void;
|
|
205
|
+
|
|
206
|
+
getFloatValue(unitType: CSSPrimitiveType): number;
|
|
207
|
+
|
|
208
|
+
getRGBColorValue(): void;
|
|
209
|
+
|
|
210
|
+
getRectValue(): void;
|
|
211
|
+
|
|
212
|
+
getStringValue(): string;
|
|
213
|
+
|
|
214
|
+
setFloatValueFloatValue(unitType: CSSPrimitiveType, floatValue: number): void;
|
|
215
|
+
|
|
216
|
+
setStringValueStringValue(stringType: CSSPrimitiveType, stringValue: string): void;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
declare class CSSRule extends NSObject {
|
|
220
|
+
static alloc(): CSSRule; // inherited from NSObject
|
|
221
|
+
|
|
222
|
+
static new(): CSSRule; // inherited from NSObject
|
|
223
|
+
|
|
224
|
+
cssText: string;
|
|
225
|
+
|
|
226
|
+
parentRule: CSSRule;
|
|
227
|
+
|
|
228
|
+
parentStyleSheet: CSSStyleSheet;
|
|
229
|
+
|
|
230
|
+
type: number;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
declare class CSSRuleList extends NSObject {
|
|
234
|
+
static alloc(): CSSRuleList; // inherited from NSObject
|
|
235
|
+
|
|
236
|
+
static new(): CSSRuleList; // inherited from NSObject
|
|
237
|
+
|
|
238
|
+
internalArray: NSMutableArray<any>;
|
|
239
|
+
|
|
240
|
+
readonly length: number;
|
|
241
|
+
|
|
242
|
+
item(index: number): CSSRule;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
declare const enum CSSRuleType {
|
|
246
|
+
UNKNOWN_RULE = 0,
|
|
247
|
+
|
|
248
|
+
STYLE_RULE = 1,
|
|
249
|
+
|
|
250
|
+
CHARSET_RULE = 2,
|
|
251
|
+
|
|
252
|
+
IMPORT_RULE = 3,
|
|
253
|
+
|
|
254
|
+
MEDIA_RULE = 4,
|
|
255
|
+
|
|
256
|
+
FONT_FACE_RULE = 5,
|
|
257
|
+
|
|
258
|
+
PAGE_RULE = 6,
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
declare class CSSStyleDeclaration extends NSObject {
|
|
262
|
+
static alloc(): CSSStyleDeclaration; // inherited from NSObject
|
|
263
|
+
|
|
264
|
+
static new(): CSSStyleDeclaration; // inherited from NSObject
|
|
265
|
+
|
|
266
|
+
cssText: string;
|
|
267
|
+
|
|
268
|
+
length: number;
|
|
269
|
+
|
|
270
|
+
parentRule: CSSRule;
|
|
271
|
+
|
|
272
|
+
getPropertyCSSValue(propertyName: string): CSSValue;
|
|
273
|
+
|
|
274
|
+
getPropertyPriority(propertyName: string): string;
|
|
275
|
+
|
|
276
|
+
getPropertyValue(propertyName: string): string;
|
|
277
|
+
|
|
278
|
+
item(index: number): string;
|
|
279
|
+
|
|
280
|
+
removeProperty(propertyName: string): string;
|
|
281
|
+
|
|
282
|
+
setPropertyValuePriority(propertyName: string, value: string, priority: string): void;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
declare class CSSStyleRule extends CSSRule {
|
|
286
|
+
static alloc(): CSSStyleRule; // inherited from NSObject
|
|
287
|
+
|
|
288
|
+
static new(): CSSStyleRule; // inherited from NSObject
|
|
289
|
+
|
|
290
|
+
selectorText: string;
|
|
291
|
+
|
|
292
|
+
style: CSSStyleDeclaration;
|
|
293
|
+
|
|
294
|
+
constructor(o: { selectorText: string; styleText: string });
|
|
295
|
+
|
|
296
|
+
initWithSelectorTextStyleText(selector: string, styleText: string): this;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
declare class CSSStyleSheet extends NSObject {
|
|
300
|
+
static alloc(): CSSStyleSheet; // inherited from NSObject
|
|
301
|
+
|
|
302
|
+
static new(): CSSStyleSheet; // inherited from NSObject
|
|
303
|
+
|
|
304
|
+
cssRules: CSSRuleList;
|
|
305
|
+
|
|
306
|
+
ownerRule: CSSRule;
|
|
307
|
+
|
|
308
|
+
constructor(o: { string: string });
|
|
309
|
+
|
|
310
|
+
deleteRule(index: number): void;
|
|
311
|
+
|
|
312
|
+
initWithString(styleSheetBody: string): this;
|
|
313
|
+
|
|
314
|
+
insertRuleIndex(rule: string, index: number): number;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
declare const enum CSSUnitType {
|
|
318
|
+
S_INHERIT = 0,
|
|
319
|
+
|
|
320
|
+
S_PRIMITIVE_VALUE = 1,
|
|
321
|
+
|
|
322
|
+
S_VALUE_LIST = 2,
|
|
323
|
+
|
|
324
|
+
S_CUSTOM = 3,
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
declare class CSSValue extends NSObject {
|
|
328
|
+
static alloc(): CSSValue; // inherited from NSObject
|
|
329
|
+
|
|
330
|
+
static new(): CSSValue; // inherited from NSObject
|
|
331
|
+
|
|
332
|
+
cssText: string;
|
|
333
|
+
|
|
334
|
+
cssValueType: CSSUnitType;
|
|
335
|
+
|
|
336
|
+
constructor(o: { unitType: CSSUnitType });
|
|
337
|
+
|
|
338
|
+
initWithUnitType(t: CSSUnitType): this;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
declare class CSSValueList extends CSSValue {
|
|
342
|
+
static alloc(): CSSValueList; // inherited from NSObject
|
|
343
|
+
|
|
344
|
+
static new(): CSSValueList; // inherited from NSObject
|
|
345
|
+
|
|
346
|
+
readonly length: number;
|
|
347
|
+
|
|
348
|
+
item(index: number): CSSValue;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
declare class CharacterData extends Node {
|
|
352
|
+
static alloc(): CharacterData; // inherited from NSObject
|
|
353
|
+
|
|
354
|
+
static new(): CharacterData; // inherited from NSObject
|
|
355
|
+
|
|
356
|
+
readonly data: string;
|
|
357
|
+
|
|
358
|
+
readonly length: number;
|
|
359
|
+
|
|
360
|
+
appendData(arg: string): void;
|
|
361
|
+
|
|
362
|
+
deleteDataCount(offset: number, count: number): void;
|
|
363
|
+
|
|
364
|
+
insertDataArg(offset: number, arg: string): void;
|
|
365
|
+
|
|
366
|
+
replaceDataCountArg(offset: number, count: number, arg: string): void;
|
|
367
|
+
|
|
368
|
+
substringDataCount(offset: number, count: number): string;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
declare class Comment extends CharacterData {
|
|
372
|
+
static alloc(): Comment; // inherited from NSObject
|
|
373
|
+
|
|
374
|
+
static new(): Comment; // inherited from NSObject
|
|
375
|
+
|
|
376
|
+
constructor(o: { value: string });
|
|
377
|
+
|
|
378
|
+
initWithValue(v: string): this;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
interface ConverterSVGToCALayer extends NSObjectProtocol {
|
|
382
|
+
layoutLayer(layer: CALayer): void;
|
|
383
|
+
|
|
384
|
+
newLayer(): CALayer;
|
|
385
|
+
}
|
|
386
|
+
declare var ConverterSVGToCALayer: {
|
|
387
|
+
prototype: ConverterSVGToCALayer;
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
declare class DOMHelperUtilities extends NSObject {
|
|
391
|
+
static alloc(): DOMHelperUtilities; // inherited from NSObject
|
|
392
|
+
|
|
393
|
+
static new(): DOMHelperUtilities; // inherited from NSObject
|
|
394
|
+
|
|
395
|
+
static privateGetElementByIdChildrenOfElement(idValue: string, parent: Node): Element;
|
|
396
|
+
|
|
397
|
+
static privateGetElementsByNameInNamespaceChildrenOfElementAddToList(name: string, namespaceURI: string, parent: Node, accumulator: NodeList): void;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
declare const enum DOMNodeType {
|
|
401
|
+
ELEMENT_NODE = 1,
|
|
402
|
+
|
|
403
|
+
ATTRIBUTE_NODE = 2,
|
|
404
|
+
|
|
405
|
+
TEXT_NODE = 3,
|
|
406
|
+
|
|
407
|
+
CDATA_SECTION_NODE = 4,
|
|
408
|
+
|
|
409
|
+
ENTITY_REFERENCE_NODE = 5,
|
|
410
|
+
|
|
411
|
+
ENTITY_NODE = 6,
|
|
412
|
+
|
|
413
|
+
PROCESSING_INSTRUCTION_NODE = 7,
|
|
414
|
+
|
|
415
|
+
COMMENT_NODE = 8,
|
|
416
|
+
|
|
417
|
+
DOCUMENT_NODE = 9,
|
|
418
|
+
|
|
419
|
+
DOCUMENT_TYPE_NODE = 10,
|
|
420
|
+
|
|
421
|
+
DOCUMENT_FRAGMENT_NODE = 11,
|
|
422
|
+
|
|
423
|
+
NOTATION_NODE = 12,
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
declare class Document extends Node {
|
|
427
|
+
static alloc(): Document; // inherited from NSObject
|
|
428
|
+
|
|
429
|
+
static new(): Document; // inherited from NSObject
|
|
430
|
+
|
|
431
|
+
readonly doctype: DocumentType;
|
|
432
|
+
|
|
433
|
+
documentElement: Element;
|
|
434
|
+
|
|
435
|
+
readonly implementation: AppleSucksDOMImplementation;
|
|
436
|
+
|
|
437
|
+
createAttribute(data: string): Attr;
|
|
438
|
+
|
|
439
|
+
createAttributeNSQualifiedName(namespaceURI: string, qualifiedName: string): Attr;
|
|
440
|
+
|
|
441
|
+
createCDATASection(data: string): CDATASection;
|
|
442
|
+
|
|
443
|
+
createComment(data: string): Comment;
|
|
444
|
+
|
|
445
|
+
createDocumentFragment(): DocumentFragment;
|
|
446
|
+
|
|
447
|
+
createElement(tagName: string): Element;
|
|
448
|
+
|
|
449
|
+
createElementNSQualifiedName(namespaceURI: string, qualifiedName: string): Element;
|
|
450
|
+
|
|
451
|
+
createEntityReference(data: string): EntityReference;
|
|
452
|
+
|
|
453
|
+
createProcessingInstructionData(target: string, data: string): ProcessingInstruction;
|
|
454
|
+
|
|
455
|
+
createTextNode(data: string): Text;
|
|
456
|
+
|
|
457
|
+
getElementById(elementId: string): Element;
|
|
458
|
+
|
|
459
|
+
getElementsByTagName(data: string): NodeList;
|
|
460
|
+
|
|
461
|
+
getElementsByTagNameNSLocalName(namespaceURI: string, localName: string): NodeList;
|
|
462
|
+
|
|
463
|
+
importNodeDeep(importedNode: Node, deep: boolean): Node;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
interface DocumentCSS extends DocumentStyle {
|
|
467
|
+
getOverrideStylePseudoElt(element: Element, pseudoElt: string): CSSStyleDeclaration;
|
|
468
|
+
}
|
|
469
|
+
declare var DocumentCSS: {
|
|
470
|
+
prototype: DocumentCSS;
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
declare class DocumentFragment extends Node {
|
|
474
|
+
static alloc(): DocumentFragment; // inherited from NSObject
|
|
475
|
+
|
|
476
|
+
static new(): DocumentFragment; // inherited from NSObject
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
interface DocumentStyle extends NSObjectProtocol {
|
|
480
|
+
styleSheets: StyleSheetList;
|
|
481
|
+
}
|
|
482
|
+
declare var DocumentStyle: {
|
|
483
|
+
prototype: DocumentStyle;
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
declare class DocumentType extends Node {
|
|
487
|
+
static alloc(): DocumentType; // inherited from NSObject
|
|
488
|
+
|
|
489
|
+
static new(): DocumentType; // inherited from NSObject
|
|
490
|
+
|
|
491
|
+
readonly entities: NamedNodeMap;
|
|
492
|
+
|
|
493
|
+
readonly internalSubset: string;
|
|
494
|
+
|
|
495
|
+
readonly name: string;
|
|
496
|
+
|
|
497
|
+
readonly notations: NamedNodeMap;
|
|
498
|
+
|
|
499
|
+
readonly publicId: string;
|
|
500
|
+
|
|
501
|
+
readonly systemId: string;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
declare class Element extends Node {
|
|
505
|
+
static alloc(): Element; // inherited from NSObject
|
|
506
|
+
|
|
507
|
+
static new(): Element; // inherited from NSObject
|
|
508
|
+
|
|
509
|
+
readonly tagName: string;
|
|
510
|
+
|
|
511
|
+
constructor(o: { localName: string; attributes: NSMutableDictionary<any, any> });
|
|
512
|
+
|
|
513
|
+
constructor(o: { qualifiedName: string; inNameSpaceURI: string; attributes: NSMutableDictionary<any, any> });
|
|
514
|
+
|
|
515
|
+
getAttribute(name: string): string;
|
|
516
|
+
|
|
517
|
+
getAttributeNSLocalName(namespaceURI: string, localName: string): string;
|
|
518
|
+
|
|
519
|
+
getAttributeNode(name: string): Attr;
|
|
520
|
+
|
|
521
|
+
getAttributeNodeNSLocalName(namespaceURI: string, localName: string): Attr;
|
|
522
|
+
|
|
523
|
+
getElementsByTagName(name: string): NodeList;
|
|
524
|
+
|
|
525
|
+
getElementsByTagNameNSLocalName(namespaceURI: string, localName: string): NodeList;
|
|
526
|
+
|
|
527
|
+
hasAttribute(name: string): boolean;
|
|
528
|
+
|
|
529
|
+
hasAttributeNSLocalName(namespaceURI: string, localName: string): boolean;
|
|
530
|
+
|
|
531
|
+
initWithLocalNameAttributes(n: string, attributes: NSMutableDictionary<any, any>): this;
|
|
532
|
+
|
|
533
|
+
initWithQualifiedNameInNameSpaceURIAttributes(n: string, nsURI: string, attributes: NSMutableDictionary<any, any>): this;
|
|
534
|
+
|
|
535
|
+
removeAttribute(name: string): void;
|
|
536
|
+
|
|
537
|
+
removeAttributeNSLocalName(namespaceURI: string, localName: string): void;
|
|
538
|
+
|
|
539
|
+
removeAttributeNode(oldAttr: Attr): Attr;
|
|
540
|
+
|
|
541
|
+
setAttributeNSQualifiedNameValue(namespaceURI: string, qualifiedName: string, value: string): void;
|
|
542
|
+
|
|
543
|
+
setAttributeNode(newAttr: Attr): Attr;
|
|
544
|
+
|
|
545
|
+
setAttributeNodeNS(newAttr: Attr): Attr;
|
|
546
|
+
|
|
547
|
+
setAttributeValue(name: string, value: string): void;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
declare class EntityReference extends Node {
|
|
551
|
+
static alloc(): EntityReference; // inherited from NSObject
|
|
552
|
+
|
|
553
|
+
static new(): EntityReference; // inherited from NSObject
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
declare class MediaList extends NSObject {
|
|
557
|
+
static alloc(): MediaList; // inherited from NSObject
|
|
558
|
+
|
|
559
|
+
static new(): MediaList; // inherited from NSObject
|
|
560
|
+
|
|
561
|
+
length: number;
|
|
562
|
+
|
|
563
|
+
mediaText: string;
|
|
564
|
+
|
|
565
|
+
appendMedium(newMedium: string): void;
|
|
566
|
+
|
|
567
|
+
deleteMedium(oldMedium: string): void;
|
|
568
|
+
|
|
569
|
+
item(index: number): string;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
declare function NSStringFromSVGRect(rect: SVGRect): string;
|
|
573
|
+
|
|
574
|
+
declare class NamedNodeMap extends NSObject implements NSCopying {
|
|
575
|
+
static alloc(): NamedNodeMap; // inherited from NSObject
|
|
576
|
+
|
|
577
|
+
static new(): NamedNodeMap; // inherited from NSObject
|
|
578
|
+
|
|
579
|
+
readonly length: number;
|
|
580
|
+
|
|
581
|
+
allNodesUnsortedDOM1(): NSArray<any>;
|
|
582
|
+
|
|
583
|
+
allNodesUnsortedDOM2(): NSDictionary<any, any>;
|
|
584
|
+
|
|
585
|
+
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
|
|
586
|
+
|
|
587
|
+
getNamedItem(name: string): Node;
|
|
588
|
+
|
|
589
|
+
getNamedItemNSLocalName(namespaceURI: string, localName: string): Node;
|
|
590
|
+
|
|
591
|
+
item(index: number): Node;
|
|
592
|
+
|
|
593
|
+
removeNamedItem(name: string): Node;
|
|
594
|
+
|
|
595
|
+
removeNamedItemNSLocalName(namespaceURI: string, localName: string): Node;
|
|
596
|
+
|
|
597
|
+
setNamedItem(arg: Node): Node;
|
|
598
|
+
|
|
599
|
+
setNamedItemNS(arg: Node): Node;
|
|
600
|
+
|
|
601
|
+
setNamedItemNSInNodeNamespace(arg: Node, nodesNamespace: string): Node;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
declare class Node extends NSObject {
|
|
605
|
+
static alloc(): Node; // inherited from NSObject
|
|
606
|
+
|
|
607
|
+
static new(): Node; // inherited from NSObject
|
|
608
|
+
|
|
609
|
+
attributes: NamedNodeMap;
|
|
610
|
+
|
|
611
|
+
childNodes: NodeList;
|
|
612
|
+
|
|
613
|
+
readonly firstChild: Node;
|
|
614
|
+
|
|
615
|
+
hasAttributes: boolean;
|
|
616
|
+
|
|
617
|
+
hasChildNodes: boolean;
|
|
618
|
+
|
|
619
|
+
readonly lastChild: Node;
|
|
620
|
+
|
|
621
|
+
localName: string;
|
|
622
|
+
|
|
623
|
+
namespaceURI: string;
|
|
624
|
+
|
|
625
|
+
readonly nextSibling: Node;
|
|
626
|
+
|
|
627
|
+
nodeName: string;
|
|
628
|
+
|
|
629
|
+
nodeType: DOMNodeType;
|
|
630
|
+
|
|
631
|
+
nodeValue: string;
|
|
632
|
+
|
|
633
|
+
ownerDocument: Document;
|
|
634
|
+
|
|
635
|
+
parentNode: Node;
|
|
636
|
+
|
|
637
|
+
prefix: string;
|
|
638
|
+
|
|
639
|
+
readonly previousSibling: Node;
|
|
640
|
+
|
|
641
|
+
readonly textContent: string;
|
|
642
|
+
|
|
643
|
+
constructor(o: { type: DOMNodeType; name: string });
|
|
644
|
+
|
|
645
|
+
constructor(o: { type: DOMNodeType; name: string; inNamespace: string });
|
|
646
|
+
|
|
647
|
+
constructor(o: { type: DOMNodeType; name: string; value: string });
|
|
648
|
+
|
|
649
|
+
constructor(o: { type: DOMNodeType; name: string; value: string; inNamespace: string });
|
|
650
|
+
|
|
651
|
+
appendChild(newChild: Node): Node;
|
|
652
|
+
|
|
653
|
+
appendXMLToStringAvailableNamespacesActiveNamespaces(
|
|
654
|
+
outputString: NSMutableString,
|
|
655
|
+
prefixesByKNOWNNamespace: NSDictionary<any, any>,
|
|
656
|
+
prefixesByACTIVENamespace: NSMutableDictionary<any, any>
|
|
657
|
+
): void;
|
|
658
|
+
|
|
659
|
+
cloneNode(deep: boolean): Node;
|
|
660
|
+
|
|
661
|
+
initTypeName(nt: DOMNodeType, n: string): this;
|
|
662
|
+
|
|
663
|
+
initTypeNameInNamespace(nt: DOMNodeType, n: string, nsURI: string): this;
|
|
664
|
+
|
|
665
|
+
initTypeNameValue(nt: DOMNodeType, n: string, v: string): this;
|
|
666
|
+
|
|
667
|
+
initTypeNameValueInNamespace(nt: DOMNodeType, n: string, v: string, nsURI: string): this;
|
|
668
|
+
|
|
669
|
+
insertBeforeRefChild(newChild: Node, refChild: Node): Node;
|
|
670
|
+
|
|
671
|
+
isSupportedFeatureVersion(feature: string, version: string): boolean;
|
|
672
|
+
|
|
673
|
+
normalize(): void;
|
|
674
|
+
|
|
675
|
+
removeChild(oldChild: Node): Node;
|
|
676
|
+
|
|
677
|
+
replaceChildOldChild(newChild: Node, oldChild: Node): Node;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
declare class NodeList extends NSObject implements NSFastEnumeration {
|
|
681
|
+
static alloc(): NodeList; // inherited from NSObject
|
|
682
|
+
|
|
683
|
+
static new(): NodeList; // inherited from NSObject
|
|
684
|
+
|
|
685
|
+
internalArray: NSMutableArray<any>;
|
|
686
|
+
|
|
687
|
+
readonly length: number;
|
|
688
|
+
[Symbol.iterator](): Iterator<any>;
|
|
689
|
+
|
|
690
|
+
item(index: number): Node;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
declare class ProcessingInstruction extends Node {
|
|
694
|
+
static alloc(): ProcessingInstruction; // inherited from NSObject
|
|
695
|
+
|
|
696
|
+
static new(): ProcessingInstruction; // inherited from NSObject
|
|
697
|
+
|
|
698
|
+
readonly data: string;
|
|
699
|
+
|
|
700
|
+
readonly target: string;
|
|
701
|
+
|
|
702
|
+
constructor(o: { processingInstruction: string; value: string });
|
|
703
|
+
|
|
704
|
+
initProcessingInstructionValue(target: string, data: string): this;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
declare class SVGAngle extends NSObject {
|
|
708
|
+
static alloc(): SVGAngle; // inherited from NSObject
|
|
709
|
+
|
|
710
|
+
static new(): SVGAngle; // inherited from NSObject
|
|
711
|
+
|
|
712
|
+
readonly unitType: SVGKAngleType;
|
|
713
|
+
|
|
714
|
+
value: number;
|
|
715
|
+
|
|
716
|
+
valueAsString: string;
|
|
717
|
+
|
|
718
|
+
valueInSpecifiedUnits: number;
|
|
719
|
+
|
|
720
|
+
convertToSpecifiedUnits(unitType: SVGKAngleType): void;
|
|
721
|
+
|
|
722
|
+
newValueSpecifiedUnitsValueInSpecifiedUnits(unitType: SVGKAngleType, valueInSpecifiedUnits: number): void;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
declare class SVGAnimatedPreserveAspectRatio extends NSObject {
|
|
726
|
+
static alloc(): SVGAnimatedPreserveAspectRatio; // inherited from NSObject
|
|
727
|
+
|
|
728
|
+
static new(): SVGAnimatedPreserveAspectRatio; // inherited from NSObject
|
|
729
|
+
|
|
730
|
+
readonly animVal: SVGPreserveAspectRatio;
|
|
731
|
+
|
|
732
|
+
baseVal: SVGPreserveAspectRatio;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
declare class SVGCircleElement extends SVGEllipseElement {
|
|
736
|
+
static alloc(): SVGCircleElement; // inherited from NSObject
|
|
737
|
+
|
|
738
|
+
static new(): SVGCircleElement; // inherited from NSObject
|
|
739
|
+
|
|
740
|
+
readonly r: number;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
declare class SVGClipPathElement extends SVGElement implements SVGStylable, SVGTransformable {
|
|
744
|
+
static alloc(): SVGClipPathElement; // inherited from NSObject
|
|
745
|
+
|
|
746
|
+
static new(): SVGClipPathElement; // inherited from NSObject
|
|
747
|
+
|
|
748
|
+
readonly clipPathUnits: SVG_UNIT_TYPE;
|
|
749
|
+
|
|
750
|
+
className: string; // inherited from SVGStylable
|
|
751
|
+
|
|
752
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
753
|
+
|
|
754
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
755
|
+
|
|
756
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
757
|
+
|
|
758
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
759
|
+
|
|
760
|
+
style: CSSStyleDeclaration; // inherited from SVGStylable
|
|
761
|
+
|
|
762
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
763
|
+
|
|
764
|
+
transform: CGAffineTransform; // inherited from SVGTransformable
|
|
765
|
+
|
|
766
|
+
readonly; // inherited from NSObjectProtocol
|
|
767
|
+
|
|
768
|
+
class(): typeof NSObject;
|
|
769
|
+
|
|
770
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
771
|
+
|
|
772
|
+
getPresentationAttribute(name: string): CSSValue;
|
|
773
|
+
|
|
774
|
+
isEqual(object: any): boolean;
|
|
775
|
+
|
|
776
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
777
|
+
|
|
778
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
779
|
+
|
|
780
|
+
layoutLayerToMaskLayer(layer: CALayer, maskThis: CALayer): void;
|
|
781
|
+
|
|
782
|
+
newLayer(): CALayer;
|
|
783
|
+
|
|
784
|
+
performSelector(aSelector: string): any;
|
|
785
|
+
|
|
786
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
787
|
+
|
|
788
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
789
|
+
|
|
790
|
+
respondsToSelector(aSelector: string): boolean;
|
|
791
|
+
|
|
792
|
+
retainCount(): number;
|
|
793
|
+
|
|
794
|
+
self(): this;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
interface SVGColor {
|
|
798
|
+
r: number;
|
|
799
|
+
g: number;
|
|
800
|
+
b: number;
|
|
801
|
+
a: number;
|
|
802
|
+
}
|
|
803
|
+
declare var SVGColor: interop.StructType<SVGColor>;
|
|
804
|
+
|
|
805
|
+
declare function SVGColorFromString(string: string | interop.Pointer | interop.Reference<any>): SVGColor;
|
|
806
|
+
|
|
807
|
+
declare function SVGColorMake(r: number, g: number, b: number, a: number): SVGColor;
|
|
808
|
+
|
|
809
|
+
interface SVGCurve {
|
|
810
|
+
type: SVGCurveType;
|
|
811
|
+
c1: CGPoint;
|
|
812
|
+
c2: CGPoint;
|
|
813
|
+
p: CGPoint;
|
|
814
|
+
}
|
|
815
|
+
declare var SVGCurve: interop.StructType<SVGCurve>;
|
|
816
|
+
|
|
817
|
+
declare const enum SVGCurveType {
|
|
818
|
+
Point = 0,
|
|
819
|
+
|
|
820
|
+
Cubic = 1,
|
|
821
|
+
|
|
822
|
+
Quadratic = 2,
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
declare class SVGDefsElement extends SVGElement {
|
|
826
|
+
static alloc(): SVGDefsElement; // inherited from NSObject
|
|
827
|
+
|
|
828
|
+
static new(): SVGDefsElement; // inherited from NSObject
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
declare class SVGDescriptionElement extends SVGElement {
|
|
832
|
+
static alloc(): SVGDescriptionElement; // inherited from NSObject
|
|
833
|
+
|
|
834
|
+
static new(): SVGDescriptionElement; // inherited from NSObject
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
declare class SVGDocument extends Document {
|
|
838
|
+
static alloc(): SVGDocument; // inherited from NSObject
|
|
839
|
+
|
|
840
|
+
static new(): SVGDocument; // inherited from NSObject
|
|
841
|
+
|
|
842
|
+
URL: string;
|
|
843
|
+
|
|
844
|
+
domain: string;
|
|
845
|
+
|
|
846
|
+
referrer: string;
|
|
847
|
+
|
|
848
|
+
rootElement: SVGSVGElement;
|
|
849
|
+
|
|
850
|
+
title: string;
|
|
851
|
+
|
|
852
|
+
allPrefixesByNamespace(): NSMutableDictionary<any, any>;
|
|
853
|
+
|
|
854
|
+
allPrefixesByNamespaceNormalized(): NSMutableDictionary<any, any>;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
declare class SVGElement extends Element implements SVGStylable {
|
|
858
|
+
static alloc(): SVGElement; // inherited from NSObject
|
|
859
|
+
|
|
860
|
+
static new(): SVGElement; // inherited from NSObject
|
|
861
|
+
|
|
862
|
+
static shouldStoreContent(): boolean;
|
|
863
|
+
|
|
864
|
+
identifier: string;
|
|
865
|
+
|
|
866
|
+
rootOfCurrentDocumentFragment: SVGSVGElement;
|
|
867
|
+
|
|
868
|
+
viewportElement: SVGElement;
|
|
869
|
+
|
|
870
|
+
xmlbase: string;
|
|
871
|
+
|
|
872
|
+
className: string; // inherited from SVGStylable
|
|
873
|
+
|
|
874
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
875
|
+
|
|
876
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
877
|
+
|
|
878
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
879
|
+
|
|
880
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
881
|
+
|
|
882
|
+
style: CSSStyleDeclaration; // inherited from SVGStylable
|
|
883
|
+
|
|
884
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
885
|
+
|
|
886
|
+
readonly; // inherited from NSObjectProtocol
|
|
887
|
+
|
|
888
|
+
cascadedValueForStylableProperty(stylableProperty: string): string;
|
|
889
|
+
|
|
890
|
+
cascadedValueForStylablePropertyInherit(stylableProperty: string, inherit: boolean): string;
|
|
891
|
+
|
|
892
|
+
class(): typeof NSObject;
|
|
893
|
+
|
|
894
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
895
|
+
|
|
896
|
+
getAttributeAsSVGLength(attributeName: string): SVGLength;
|
|
897
|
+
|
|
898
|
+
getPresentationAttribute(name: string): CSSValue;
|
|
899
|
+
|
|
900
|
+
isEqual(object: any): boolean;
|
|
901
|
+
|
|
902
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
903
|
+
|
|
904
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
905
|
+
|
|
906
|
+
loadDefaults(): void;
|
|
907
|
+
|
|
908
|
+
performSelector(aSelector: string): any;
|
|
909
|
+
|
|
910
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
911
|
+
|
|
912
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
913
|
+
|
|
914
|
+
postProcessAttributesAddingErrorsTo(parseResult: SVGKParseResult): void;
|
|
915
|
+
|
|
916
|
+
reCalculateAndSetViewportElementReferenceUsingFirstSVGAncestor(firstAncestor: SVGElement): void;
|
|
917
|
+
|
|
918
|
+
respondsToSelector(aSelector: string): boolean;
|
|
919
|
+
|
|
920
|
+
retainCount(): number;
|
|
921
|
+
|
|
922
|
+
self(): this;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
declare class SVGElementInstance extends NSObject {
|
|
926
|
+
static alloc(): SVGElementInstance; // inherited from NSObject
|
|
927
|
+
|
|
928
|
+
static new(): SVGElementInstance; // inherited from NSObject
|
|
929
|
+
|
|
930
|
+
childNodes: SVGElementInstanceList;
|
|
931
|
+
|
|
932
|
+
correspondingElement: SVGElement;
|
|
933
|
+
|
|
934
|
+
correspondingUseElement: SVGUseElement;
|
|
935
|
+
|
|
936
|
+
readonly firstChild: SVGElementInstance;
|
|
937
|
+
|
|
938
|
+
readonly lastChild: SVGElementInstance;
|
|
939
|
+
|
|
940
|
+
readonly nextSibling: SVGElementInstance;
|
|
941
|
+
|
|
942
|
+
parentNode: SVGElementInstance;
|
|
943
|
+
|
|
944
|
+
readonly previousSibling: SVGElementInstance;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
declare class SVGElementInstanceList extends SVGElement {
|
|
948
|
+
static alloc(): SVGElementInstanceList; // inherited from NSObject
|
|
949
|
+
|
|
950
|
+
static new(): SVGElementInstanceList; // inherited from NSObject
|
|
951
|
+
|
|
952
|
+
internalArray: NSMutableArray<any>;
|
|
953
|
+
|
|
954
|
+
readonly length: number;
|
|
955
|
+
|
|
956
|
+
item(index: number): SVGElementInstance;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
declare class SVGEllipseElement extends BaseClassForAllSVGBasicShapes {
|
|
960
|
+
static alloc(): SVGEllipseElement; // inherited from NSObject
|
|
961
|
+
|
|
962
|
+
static new(): SVGEllipseElement; // inherited from NSObject
|
|
963
|
+
|
|
964
|
+
readonly cx: number;
|
|
965
|
+
|
|
966
|
+
readonly cy: number;
|
|
967
|
+
|
|
968
|
+
readonly rx: number;
|
|
969
|
+
|
|
970
|
+
readonly ry: number;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
interface SVGFitToViewBox extends NSObjectProtocol {
|
|
974
|
+
preserveAspectRatio: SVGAnimatedPreserveAspectRatio;
|
|
975
|
+
|
|
976
|
+
viewBox: SVGRect;
|
|
977
|
+
}
|
|
978
|
+
declare var SVGFitToViewBox: {
|
|
979
|
+
prototype: SVGFitToViewBox;
|
|
980
|
+
};
|
|
981
|
+
|
|
982
|
+
declare class SVGGElement extends SVGElement implements ConverterSVGToCALayer, SVGStylable, SVGTransformable {
|
|
983
|
+
static alloc(): SVGGElement; // inherited from NSObject
|
|
984
|
+
|
|
985
|
+
static new(): SVGGElement; // inherited from NSObject
|
|
986
|
+
|
|
987
|
+
className: string; // inherited from SVGStylable
|
|
988
|
+
|
|
989
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
990
|
+
|
|
991
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
992
|
+
|
|
993
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
994
|
+
|
|
995
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
996
|
+
|
|
997
|
+
style: CSSStyleDeclaration; // inherited from SVGStylable
|
|
998
|
+
|
|
999
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
1000
|
+
|
|
1001
|
+
transform: CGAffineTransform; // inherited from SVGTransformable
|
|
1002
|
+
|
|
1003
|
+
readonly; // inherited from NSObjectProtocol
|
|
1004
|
+
|
|
1005
|
+
class(): typeof NSObject;
|
|
1006
|
+
|
|
1007
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
1008
|
+
|
|
1009
|
+
getPresentationAttribute(name: string): CSSValue;
|
|
1010
|
+
|
|
1011
|
+
isEqual(object: any): boolean;
|
|
1012
|
+
|
|
1013
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
1014
|
+
|
|
1015
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
1016
|
+
|
|
1017
|
+
layoutLayer(layer: CALayer): void;
|
|
1018
|
+
|
|
1019
|
+
newLayer(): CALayer;
|
|
1020
|
+
|
|
1021
|
+
performSelector(aSelector: string): any;
|
|
1022
|
+
|
|
1023
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
1024
|
+
|
|
1025
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
1026
|
+
|
|
1027
|
+
respondsToSelector(aSelector: string): boolean;
|
|
1028
|
+
|
|
1029
|
+
retainCount(): number;
|
|
1030
|
+
|
|
1031
|
+
self(): this;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
declare class SVGGradientElement extends SVGElement implements SVGTransformable {
|
|
1035
|
+
static alloc(): SVGGradientElement; // inherited from NSObject
|
|
1036
|
+
|
|
1037
|
+
static new(): SVGGradientElement; // inherited from NSObject
|
|
1038
|
+
|
|
1039
|
+
readonly colors: NSArray<any>;
|
|
1040
|
+
|
|
1041
|
+
readonly gradientUnits: SVG_UNIT_TYPE;
|
|
1042
|
+
|
|
1043
|
+
readonly locations: NSArray<any>;
|
|
1044
|
+
|
|
1045
|
+
readonly spreadMethod: SVGSpreadMethod;
|
|
1046
|
+
|
|
1047
|
+
readonly stops: NSArray<any>;
|
|
1048
|
+
|
|
1049
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
1050
|
+
|
|
1051
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
1052
|
+
|
|
1053
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
1054
|
+
|
|
1055
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
1056
|
+
|
|
1057
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
1058
|
+
|
|
1059
|
+
transform: CGAffineTransform; // inherited from SVGTransformable
|
|
1060
|
+
|
|
1061
|
+
readonly; // inherited from NSObjectProtocol
|
|
1062
|
+
|
|
1063
|
+
addStop(gradientStop: SVGGradientStop): void;
|
|
1064
|
+
|
|
1065
|
+
class(): typeof NSObject;
|
|
1066
|
+
|
|
1067
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
1068
|
+
|
|
1069
|
+
getAttributeInheritedIfNil(attrName: string): string;
|
|
1070
|
+
|
|
1071
|
+
isEqual(object: any): boolean;
|
|
1072
|
+
|
|
1073
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
1074
|
+
|
|
1075
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
1076
|
+
|
|
1077
|
+
newGradientLayerForObjectRectViewportRectTransform(objectRect: CGRect, viewportRect: SVGRect, transform: CGAffineTransform): SVGGradientLayer;
|
|
1078
|
+
|
|
1079
|
+
performSelector(aSelector: string): any;
|
|
1080
|
+
|
|
1081
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
1082
|
+
|
|
1083
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
1084
|
+
|
|
1085
|
+
respondsToSelector(aSelector: string): boolean;
|
|
1086
|
+
|
|
1087
|
+
retainCount(): number;
|
|
1088
|
+
|
|
1089
|
+
self(): this;
|
|
1090
|
+
|
|
1091
|
+
synthesizeProperties(): void;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
declare class SVGGradientLayer extends CAGradientLayer {
|
|
1095
|
+
static alloc(): SVGGradientLayer; // inherited from NSObject
|
|
1096
|
+
|
|
1097
|
+
static layer(): SVGGradientLayer; // inherited from CALayer
|
|
1098
|
+
|
|
1099
|
+
static new(): SVGGradientLayer; // inherited from NSObject
|
|
1100
|
+
|
|
1101
|
+
absoluteTransform: CGAffineTransform;
|
|
1102
|
+
|
|
1103
|
+
gradientElement: SVGGradientElement;
|
|
1104
|
+
|
|
1105
|
+
objectRect: CGRect;
|
|
1106
|
+
|
|
1107
|
+
viewportRect: SVGRect;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
declare class SVGGradientStop extends SVGElement {
|
|
1111
|
+
static alloc(): SVGGradientStop; // inherited from NSObject
|
|
1112
|
+
|
|
1113
|
+
static new(): SVGGradientStop; // inherited from NSObject
|
|
1114
|
+
|
|
1115
|
+
readonly offset: number;
|
|
1116
|
+
|
|
1117
|
+
readonly stopColor: SVGColor;
|
|
1118
|
+
|
|
1119
|
+
readonly stopOpacity: number;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
declare class SVGGroupElement extends SVGElement implements ConverterSVGToCALayer {
|
|
1123
|
+
static alloc(): SVGGroupElement; // inherited from NSObject
|
|
1124
|
+
|
|
1125
|
+
static new(): SVGGroupElement; // inherited from NSObject
|
|
1126
|
+
|
|
1127
|
+
readonly opacity: number;
|
|
1128
|
+
|
|
1129
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
1130
|
+
|
|
1131
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
1132
|
+
|
|
1133
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
1134
|
+
|
|
1135
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
1136
|
+
|
|
1137
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
1138
|
+
|
|
1139
|
+
readonly; // inherited from NSObjectProtocol
|
|
1140
|
+
|
|
1141
|
+
class(): typeof NSObject;
|
|
1142
|
+
|
|
1143
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
1144
|
+
|
|
1145
|
+
isEqual(object: any): boolean;
|
|
1146
|
+
|
|
1147
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
1148
|
+
|
|
1149
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
1150
|
+
|
|
1151
|
+
layoutLayer(layer: CALayer): void;
|
|
1152
|
+
|
|
1153
|
+
newLayer(): CALayer;
|
|
1154
|
+
|
|
1155
|
+
performSelector(aSelector: string): any;
|
|
1156
|
+
|
|
1157
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
1158
|
+
|
|
1159
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
1160
|
+
|
|
1161
|
+
respondsToSelector(aSelector: string): boolean;
|
|
1162
|
+
|
|
1163
|
+
retainCount(): number;
|
|
1164
|
+
|
|
1165
|
+
self(): this;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
declare class SVGHelperUtilities extends NSObject {
|
|
1169
|
+
static alloc(): SVGHelperUtilities; // inherited from NSObject
|
|
1170
|
+
|
|
1171
|
+
static configureCALayerUsingElement(layer: CALayer, nonStylableElement: SVGElement): void;
|
|
1172
|
+
|
|
1173
|
+
static getGradientLayerWithIdForElementWithRectTransform(gradId: string, svgElement: SVGElement, r: CGRect, transform: CGAffineTransform): SVGGradientLayer;
|
|
1174
|
+
|
|
1175
|
+
static new(): SVGHelperUtilities; // inherited from NSObject
|
|
1176
|
+
|
|
1177
|
+
static newCALayerForPathBasedSVGElementWithPath(svgElement: SVGElement, path: any): CALayer;
|
|
1178
|
+
|
|
1179
|
+
static parseFillForElement(svgElement: SVGElement): any;
|
|
1180
|
+
|
|
1181
|
+
static parsePreserveAspectRatioFor(element: Element): void;
|
|
1182
|
+
|
|
1183
|
+
static parseStrokeForElement(svgElement: SVGElement): any;
|
|
1184
|
+
|
|
1185
|
+
static transformAbsoluteIncludingViewportForTransformableOrViewportEstablishingElement(transformableOrSVGSVGElement: SVGElement): CGAffineTransform;
|
|
1186
|
+
|
|
1187
|
+
static transformRelativeIncludingViewportForTransformableOrViewportEstablishingElement(transformableOrSVGSVGElement: SVGElement): CGAffineTransform;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
declare class SVGImageElement extends SVGElement implements ConverterSVGToCALayer, SVGFitToViewBox, SVGStylable, SVGTransformable {
|
|
1191
|
+
static alloc(): SVGImageElement; // inherited from NSObject
|
|
1192
|
+
|
|
1193
|
+
static new(): SVGImageElement; // inherited from NSObject
|
|
1194
|
+
|
|
1195
|
+
readonly height: number;
|
|
1196
|
+
|
|
1197
|
+
readonly href: string;
|
|
1198
|
+
|
|
1199
|
+
readonly width: number;
|
|
1200
|
+
|
|
1201
|
+
readonly x: number;
|
|
1202
|
+
|
|
1203
|
+
readonly y: number;
|
|
1204
|
+
|
|
1205
|
+
className: string; // inherited from SVGStylable
|
|
1206
|
+
|
|
1207
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
1208
|
+
|
|
1209
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
1210
|
+
|
|
1211
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
1212
|
+
|
|
1213
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
1214
|
+
|
|
1215
|
+
preserveAspectRatio: SVGAnimatedPreserveAspectRatio; // inherited from SVGFitToViewBox
|
|
1216
|
+
|
|
1217
|
+
style: CSSStyleDeclaration; // inherited from SVGStylable
|
|
1218
|
+
|
|
1219
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
1220
|
+
|
|
1221
|
+
transform: CGAffineTransform; // inherited from SVGTransformable
|
|
1222
|
+
|
|
1223
|
+
viewBox: SVGRect; // inherited from SVGFitToViewBox
|
|
1224
|
+
|
|
1225
|
+
readonly; // inherited from NSObjectProtocol
|
|
1226
|
+
|
|
1227
|
+
class(): typeof NSObject;
|
|
1228
|
+
|
|
1229
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
1230
|
+
|
|
1231
|
+
getPresentationAttribute(name: string): CSSValue;
|
|
1232
|
+
|
|
1233
|
+
isEqual(object: any): boolean;
|
|
1234
|
+
|
|
1235
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
1236
|
+
|
|
1237
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
1238
|
+
|
|
1239
|
+
layoutLayer(layer: CALayer): void;
|
|
1240
|
+
|
|
1241
|
+
newLayer(): CALayer;
|
|
1242
|
+
|
|
1243
|
+
performSelector(aSelector: string): any;
|
|
1244
|
+
|
|
1245
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
1246
|
+
|
|
1247
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
1248
|
+
|
|
1249
|
+
respondsToSelector(aSelector: string): boolean;
|
|
1250
|
+
|
|
1251
|
+
retainCount(): number;
|
|
1252
|
+
|
|
1253
|
+
self(): this;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
declare const enum SVGKAngleType {
|
|
1257
|
+
G_ANGLETYPE_UNKNOWN = 0,
|
|
1258
|
+
|
|
1259
|
+
G_ANGLETYPE_UNSPECIFIED = 1,
|
|
1260
|
+
|
|
1261
|
+
G_ANGLETYPE_DEG = 2,
|
|
1262
|
+
|
|
1263
|
+
G_ANGLETYPE_RAD = 3,
|
|
1264
|
+
|
|
1265
|
+
G_ANGLETYPE_GRAD = 4,
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
declare class SVGKExporterNSData extends NSObject {
|
|
1269
|
+
static alloc(): SVGKExporterNSData; // inherited from NSObject
|
|
1270
|
+
|
|
1271
|
+
static exportAsNSData(image: SVGKImage): NSData;
|
|
1272
|
+
|
|
1273
|
+
static exportAsNSDataAntiAliasedCurveFlatnessFactorInterpolationQualityFlipYaxis(
|
|
1274
|
+
image: SVGKImage,
|
|
1275
|
+
shouldAntialias: boolean,
|
|
1276
|
+
multiplyFlatness: number,
|
|
1277
|
+
interpolationQuality: CGInterpolationQuality,
|
|
1278
|
+
flipYaxis: boolean
|
|
1279
|
+
): NSData;
|
|
1280
|
+
|
|
1281
|
+
static exportAsNSDataFlipYaxis(image: SVGKImage, flipYaxis: boolean): NSData;
|
|
1282
|
+
|
|
1283
|
+
static new(): SVGKExporterNSData; // inherited from NSObject
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
declare class SVGKExporterUIImage extends NSObject {
|
|
1287
|
+
static alloc(): SVGKExporterUIImage; // inherited from NSObject
|
|
1288
|
+
|
|
1289
|
+
static exportAsUIImage(image: SVGKImage): UIImage;
|
|
1290
|
+
|
|
1291
|
+
static exportAsUIImageAntiAliasedCurveFlatnessFactorInterpolationQuality(
|
|
1292
|
+
image: SVGKImage,
|
|
1293
|
+
shouldAntialias: boolean,
|
|
1294
|
+
multiplyFlatness: number,
|
|
1295
|
+
interpolationQuality: CGInterpolationQuality
|
|
1296
|
+
): UIImage;
|
|
1297
|
+
|
|
1298
|
+
static new(): SVGKExporterUIImage; // inherited from NSObject
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
declare class SVGKFastImageView extends SVGKImageView {
|
|
1302
|
+
static alloc(): SVGKFastImageView; // inherited from NSObject
|
|
1303
|
+
|
|
1304
|
+
static appearance(): SVGKFastImageView; // inherited from UIAppearance
|
|
1305
|
+
|
|
1306
|
+
static appearanceForTraitCollection(trait: UITraitCollection): SVGKFastImageView; // inherited from UIAppearance
|
|
1307
|
+
|
|
1308
|
+
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): SVGKFastImageView; // inherited from UIAppearance
|
|
1309
|
+
|
|
1310
|
+
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): SVGKFastImageView; // inherited from UIAppearance
|
|
1311
|
+
|
|
1312
|
+
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): SVGKFastImageView; // inherited from UIAppearance
|
|
1313
|
+
|
|
1314
|
+
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): SVGKFastImageView; // inherited from UIAppearance
|
|
1315
|
+
|
|
1316
|
+
static new(): SVGKFastImageView; // inherited from NSObject
|
|
1317
|
+
|
|
1318
|
+
disableAutoRedrawAtHighestResolution: boolean;
|
|
1319
|
+
|
|
1320
|
+
tileRatio: CGSize;
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
declare function SVGKGetBrokenImageRepresentation(): UIImage;
|
|
1324
|
+
|
|
1325
|
+
declare function SVGKGetBrokenImageString(): string;
|
|
1326
|
+
|
|
1327
|
+
declare function SVGKGetDefaultContentString(): string;
|
|
1328
|
+
|
|
1329
|
+
declare class SVGKImage extends NSObject {
|
|
1330
|
+
static alloc(): SVGKImage; // inherited from NSObject
|
|
1331
|
+
|
|
1332
|
+
static animatedImageNamedDuration(name: string, duration: number): UIImage;
|
|
1333
|
+
|
|
1334
|
+
static animatedImageWithImagesDuration(images: NSArray<any> | any[], duration: number): UIImage;
|
|
1335
|
+
|
|
1336
|
+
static animatedResizableImageNamedCapInsetsDuration(name: string, capInsets: UIEdgeInsets, duration: number): UIImage;
|
|
1337
|
+
|
|
1338
|
+
static clearCache(): void;
|
|
1339
|
+
|
|
1340
|
+
static imageAsynchronouslyNamedOnCompletion(name: string, blockCompleted: (p1: SVGKImage, p2: SVGKParseResult) => void): SVGKParser;
|
|
1341
|
+
|
|
1342
|
+
static imageNamed(name: string): SVGKImage;
|
|
1343
|
+
|
|
1344
|
+
static imageNamedInBundle(name: string, bundle: NSBundle): SVGKImage;
|
|
1345
|
+
|
|
1346
|
+
static imageNamedInBundleWithCacheKey(name: string, bundle: NSBundle, key: string): SVGKImage;
|
|
1347
|
+
|
|
1348
|
+
static imageNamedWithCacheKey(name: string, key: string): SVGKImage;
|
|
1349
|
+
|
|
1350
|
+
static imageParserWithContentsOfFileAsynchronouslyOnCompletion(aPath: string, blockCompleted: (p1: SVGKImage, p2: SVGKParseResult) => void): SVGKParser;
|
|
1351
|
+
|
|
1352
|
+
static imageParserWithDataAsynchronouslyOnCompletion(newNSData: NSData, blockCompleted: (p1: SVGKImage, p2: SVGKParseResult) => void): SVGKParser;
|
|
1353
|
+
|
|
1354
|
+
static imageWithContentsOfFile(path: string): SVGKImage;
|
|
1355
|
+
|
|
1356
|
+
static imageWithContentsOfFileAsynchronouslyOnCompletion(aPath: string, blockCompleted: (p1: SVGKImage, p2: SVGKParseResult) => void): SVGKImage;
|
|
1357
|
+
|
|
1358
|
+
static imageWithContentsOfURL(url: NSURL): SVGKImage;
|
|
1359
|
+
|
|
1360
|
+
static imageWithData(newNSData: NSData): SVGKImage;
|
|
1361
|
+
|
|
1362
|
+
static imageWithDataAsynchronouslyOnCompletion(newNSData: NSData, blockCompleted: (p1: SVGKImage, p2: SVGKParseResult) => void): SVGKImage;
|
|
1363
|
+
|
|
1364
|
+
static imageWithSource(newSource: SVGKSource): SVGKImage;
|
|
1365
|
+
|
|
1366
|
+
static imageWithSourceOnCompletion(source: SVGKSource, blockCompleted: (p1: SVGKImage, p2: SVGKParseResult) => void): SVGKParser;
|
|
1367
|
+
|
|
1368
|
+
static new(): SVGKImage; // inherited from NSObject
|
|
1369
|
+
|
|
1370
|
+
readonly CALayerTree: CALayer;
|
|
1371
|
+
|
|
1372
|
+
readonly DOMDocument: SVGDocument;
|
|
1373
|
+
|
|
1374
|
+
readonly DOMTree: SVGSVGElement;
|
|
1375
|
+
|
|
1376
|
+
readonly UIImage: UIImage;
|
|
1377
|
+
|
|
1378
|
+
readonly nameUsedToInstantiate: string;
|
|
1379
|
+
|
|
1380
|
+
readonly parseErrorsAndWarnings: SVGKParseResult;
|
|
1381
|
+
|
|
1382
|
+
scale: number;
|
|
1383
|
+
|
|
1384
|
+
size: CGSize;
|
|
1385
|
+
|
|
1386
|
+
readonly source: SVGKSource;
|
|
1387
|
+
|
|
1388
|
+
constructor(o: { contentsOfFile: string });
|
|
1389
|
+
|
|
1390
|
+
constructor(o: { data: NSData });
|
|
1391
|
+
|
|
1392
|
+
constructor(o: { parsedSVG: SVGKParseResult; fromSource: SVGKSource });
|
|
1393
|
+
|
|
1394
|
+
constructor(o: { source: SVGKSource });
|
|
1395
|
+
|
|
1396
|
+
dictionaryOfLayers(): NSDictionary<any, any>;
|
|
1397
|
+
|
|
1398
|
+
drawAsPatternInRect(rect: CGRect): void;
|
|
1399
|
+
|
|
1400
|
+
drawAtPoint(point: CGPoint): void;
|
|
1401
|
+
|
|
1402
|
+
drawAtPointBlendModeAlpha(point: CGPoint, blendMode: CGBlendMode, alpha: number): void;
|
|
1403
|
+
|
|
1404
|
+
drawInRect(rect: CGRect): void;
|
|
1405
|
+
|
|
1406
|
+
drawInRectBlendModeAlpha(rect: CGRect, blendMode: CGBlendMode, alpha: number): void;
|
|
1407
|
+
|
|
1408
|
+
hasSize(): boolean;
|
|
1409
|
+
|
|
1410
|
+
initWithContentsOfFile(path: string): this;
|
|
1411
|
+
|
|
1412
|
+
initWithData(data: NSData): this;
|
|
1413
|
+
|
|
1414
|
+
initWithParsedSVGFromSource(parseResult: SVGKParseResult, parseSource: SVGKSource): this;
|
|
1415
|
+
|
|
1416
|
+
initWithSource(source: SVGKSource): this;
|
|
1417
|
+
|
|
1418
|
+
layerWithIdentifier(identifier: string): CALayer;
|
|
1419
|
+
|
|
1420
|
+
layerWithIdentifierLayer(identifier: string, layer: CALayer): CALayer;
|
|
1421
|
+
|
|
1422
|
+
newCALayerTree(): CALayer;
|
|
1423
|
+
|
|
1424
|
+
newCGContextAutosizedToFit(): any;
|
|
1425
|
+
|
|
1426
|
+
newCopyPositionedAbsoluteLayerWithIdentifier(identifier: string): CALayer;
|
|
1427
|
+
|
|
1428
|
+
newCopyPositionedAbsoluteOfLayer(originalLayer: CALayer): CALayer;
|
|
1429
|
+
|
|
1430
|
+
newCopyPositionedAbsoluteOfLayerWithSubLayers(originalLayer: CALayer, recursive: boolean): CALayer;
|
|
1431
|
+
|
|
1432
|
+
renderInContext(ctx: any): void;
|
|
1433
|
+
|
|
1434
|
+
renderToContextAntiAliasedCurveFlatnessFactorInterpolationQualityFlipYaxis(
|
|
1435
|
+
context: any,
|
|
1436
|
+
shouldAntialias: boolean,
|
|
1437
|
+
multiplyFlatness: number,
|
|
1438
|
+
interpolationQuality: CGInterpolationQuality,
|
|
1439
|
+
flipYaxis: boolean
|
|
1440
|
+
): void;
|
|
1441
|
+
|
|
1442
|
+
scaleToFitInside(maxSize: CGSize): void;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
declare class SVGKImageView extends UIView {
|
|
1446
|
+
static alloc(): SVGKImageView; // inherited from NSObject
|
|
1447
|
+
|
|
1448
|
+
static appearance(): SVGKImageView; // inherited from UIAppearance
|
|
1449
|
+
|
|
1450
|
+
static appearanceForTraitCollection(trait: UITraitCollection): SVGKImageView; // inherited from UIAppearance
|
|
1451
|
+
|
|
1452
|
+
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): SVGKImageView; // inherited from UIAppearance
|
|
1453
|
+
|
|
1454
|
+
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): SVGKImageView; // inherited from UIAppearance
|
|
1455
|
+
|
|
1456
|
+
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): SVGKImageView; // inherited from UIAppearance
|
|
1457
|
+
|
|
1458
|
+
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): SVGKImageView; // inherited from UIAppearance
|
|
1459
|
+
|
|
1460
|
+
static new(): SVGKImageView; // inherited from NSObject
|
|
1461
|
+
|
|
1462
|
+
image: SVGKImage;
|
|
1463
|
+
|
|
1464
|
+
showBorder: boolean;
|
|
1465
|
+
|
|
1466
|
+
readonly timeIntervalForLastReRenderOfSVGFromMemory: number;
|
|
1467
|
+
|
|
1468
|
+
constructor(o: { SVGKImage: SVGKImage });
|
|
1469
|
+
|
|
1470
|
+
initWithSVGKImage(im: SVGKImage): this;
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
declare class SVGKLayer extends CALayer {
|
|
1474
|
+
static alloc(): SVGKLayer; // inherited from NSObject
|
|
1475
|
+
|
|
1476
|
+
static layer(): SVGKLayer; // inherited from CALayer
|
|
1477
|
+
|
|
1478
|
+
static new(): SVGKLayer; // inherited from NSObject
|
|
1479
|
+
|
|
1480
|
+
SVGImage: SVGKImage;
|
|
1481
|
+
|
|
1482
|
+
endRenderTime: Date;
|
|
1483
|
+
|
|
1484
|
+
showBorder: boolean;
|
|
1485
|
+
|
|
1486
|
+
startRenderTime: Date;
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
declare class SVGKLayeredImageView extends SVGKImageView {
|
|
1490
|
+
static alloc(): SVGKLayeredImageView; // inherited from NSObject
|
|
1491
|
+
|
|
1492
|
+
static appearance(): SVGKLayeredImageView; // inherited from UIAppearance
|
|
1493
|
+
|
|
1494
|
+
static appearanceForTraitCollection(trait: UITraitCollection): SVGKLayeredImageView; // inherited from UIAppearance
|
|
1495
|
+
|
|
1496
|
+
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): SVGKLayeredImageView; // inherited from UIAppearance
|
|
1497
|
+
|
|
1498
|
+
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): SVGKLayeredImageView; // inherited from UIAppearance
|
|
1499
|
+
|
|
1500
|
+
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): SVGKLayeredImageView; // inherited from UIAppearance
|
|
1501
|
+
|
|
1502
|
+
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): SVGKLayeredImageView; // inherited from UIAppearance
|
|
1503
|
+
|
|
1504
|
+
static new(): SVGKLayeredImageView; // inherited from NSObject
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
declare class SVGKParseResult extends NSObject {
|
|
1508
|
+
static alloc(): SVGKParseResult; // inherited from NSObject
|
|
1509
|
+
|
|
1510
|
+
static new(): SVGKParseResult; // inherited from NSObject
|
|
1511
|
+
|
|
1512
|
+
errorsFatal: NSMutableArray<any>;
|
|
1513
|
+
|
|
1514
|
+
errorsRecoverable: NSMutableArray<any>;
|
|
1515
|
+
|
|
1516
|
+
libXMLFailed: boolean;
|
|
1517
|
+
|
|
1518
|
+
namespacesEncountered: NSMutableDictionary<any, any>;
|
|
1519
|
+
|
|
1520
|
+
parseProgressFractionApproximate: number;
|
|
1521
|
+
|
|
1522
|
+
parsedDocument: SVGDocument;
|
|
1523
|
+
|
|
1524
|
+
rootOfSVGTree: SVGSVGElement;
|
|
1525
|
+
|
|
1526
|
+
warnings: NSMutableArray<any>;
|
|
1527
|
+
|
|
1528
|
+
addParseErrorFatal(fatalError: NSError): void;
|
|
1529
|
+
|
|
1530
|
+
addParseErrorRecoverable(recoverableError: NSError): void;
|
|
1531
|
+
|
|
1532
|
+
addParseWarning(warning: NSError): void;
|
|
1533
|
+
|
|
1534
|
+
addSAXError(saxError: NSError): void;
|
|
1535
|
+
|
|
1536
|
+
addSourceError(fatalError: NSError): void;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
declare class SVGKParser extends NSObject {
|
|
1540
|
+
static NSDictionaryFromCSSAttributes(styleAttribute: Attr): NSDictionary<any, any>;
|
|
1541
|
+
|
|
1542
|
+
static alloc(): SVGKParser; // inherited from NSObject
|
|
1543
|
+
|
|
1544
|
+
static cancelParser(parserToCancel: SVGKParser): void;
|
|
1545
|
+
|
|
1546
|
+
static new(): SVGKParser; // inherited from NSObject
|
|
1547
|
+
|
|
1548
|
+
static newParserWithDefaultSVGKParserExtensions(source: SVGKSource): SVGKParser;
|
|
1549
|
+
|
|
1550
|
+
static parseSourceUsingDefaultSVGKParser(source: SVGKSource): SVGKParseResult;
|
|
1551
|
+
|
|
1552
|
+
readonly currentParseRun: SVGKParseResult;
|
|
1553
|
+
|
|
1554
|
+
readonly externalStylesheets: NSMutableArray<any>;
|
|
1555
|
+
|
|
1556
|
+
parserExtensions: NSMutableArray<any>;
|
|
1557
|
+
|
|
1558
|
+
parserKnownNamespaces: NSMutableDictionary<any, any>;
|
|
1559
|
+
|
|
1560
|
+
readonly source: SVGKSource;
|
|
1561
|
+
|
|
1562
|
+
constructor(o: { source: SVGKSource });
|
|
1563
|
+
|
|
1564
|
+
addDefaultSVGParserExtensions(): void;
|
|
1565
|
+
|
|
1566
|
+
addParserExtension(extension: NSObject): void;
|
|
1567
|
+
|
|
1568
|
+
initWithSource(doc: SVGKSource): this;
|
|
1569
|
+
|
|
1570
|
+
parseSynchronously(): SVGKParseResult;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
declare class SVGKParserDOM extends NSObject implements SVGKParserExtension {
|
|
1574
|
+
static alloc(): SVGKParserDOM; // inherited from NSObject
|
|
1575
|
+
|
|
1576
|
+
static new(): SVGKParserDOM; // inherited from NSObject
|
|
1577
|
+
|
|
1578
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
1579
|
+
|
|
1580
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
1581
|
+
|
|
1582
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
1583
|
+
|
|
1584
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
1585
|
+
|
|
1586
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
1587
|
+
|
|
1588
|
+
readonly; // inherited from NSObjectProtocol
|
|
1589
|
+
|
|
1590
|
+
class(): typeof NSObject;
|
|
1591
|
+
|
|
1592
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
1593
|
+
|
|
1594
|
+
handleEndElementDocumentParseResult(newNode: Node, document: SVGKSource, parseResult: SVGKParseResult): void;
|
|
1595
|
+
|
|
1596
|
+
handleStartElementDocumentNamePrefixNamespaceURIAttributesParseResultParentNode(
|
|
1597
|
+
name: string,
|
|
1598
|
+
document: SVGKSource,
|
|
1599
|
+
prefix: string,
|
|
1600
|
+
XMLNSURI: string,
|
|
1601
|
+
attributes: NSMutableDictionary<any, any>,
|
|
1602
|
+
parseResult: SVGKParseResult,
|
|
1603
|
+
parentNode: Node
|
|
1604
|
+
): Node;
|
|
1605
|
+
|
|
1606
|
+
isEqual(object: any): boolean;
|
|
1607
|
+
|
|
1608
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
1609
|
+
|
|
1610
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
1611
|
+
|
|
1612
|
+
performSelector(aSelector: string): any;
|
|
1613
|
+
|
|
1614
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
1615
|
+
|
|
1616
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
1617
|
+
|
|
1618
|
+
respondsToSelector(aSelector: string): boolean;
|
|
1619
|
+
|
|
1620
|
+
retainCount(): number;
|
|
1621
|
+
|
|
1622
|
+
self(): this;
|
|
1623
|
+
|
|
1624
|
+
supportedNamespaces(): NSArray<any>;
|
|
1625
|
+
|
|
1626
|
+
supportedTags(): NSArray<any>;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
declare class SVGKParserDefsAndUse extends NSObject implements SVGKParserExtension {
|
|
1630
|
+
static alloc(): SVGKParserDefsAndUse; // inherited from NSObject
|
|
1631
|
+
|
|
1632
|
+
static new(): SVGKParserDefsAndUse; // inherited from NSObject
|
|
1633
|
+
|
|
1634
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
1635
|
+
|
|
1636
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
1637
|
+
|
|
1638
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
1639
|
+
|
|
1640
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
1641
|
+
|
|
1642
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
1643
|
+
|
|
1644
|
+
readonly; // inherited from NSObjectProtocol
|
|
1645
|
+
|
|
1646
|
+
class(): typeof NSObject;
|
|
1647
|
+
|
|
1648
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
1649
|
+
|
|
1650
|
+
handleEndElementDocumentParseResult(newNode: Node, document: SVGKSource, parseResult: SVGKParseResult): void;
|
|
1651
|
+
|
|
1652
|
+
handleStartElementDocumentNamePrefixNamespaceURIAttributesParseResultParentNode(
|
|
1653
|
+
name: string,
|
|
1654
|
+
document: SVGKSource,
|
|
1655
|
+
prefix: string,
|
|
1656
|
+
XMLNSURI: string,
|
|
1657
|
+
attributes: NSMutableDictionary<any, any>,
|
|
1658
|
+
parseResult: SVGKParseResult,
|
|
1659
|
+
parentNode: Node
|
|
1660
|
+
): Node;
|
|
1661
|
+
|
|
1662
|
+
isEqual(object: any): boolean;
|
|
1663
|
+
|
|
1664
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
1665
|
+
|
|
1666
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
1667
|
+
|
|
1668
|
+
performSelector(aSelector: string): any;
|
|
1669
|
+
|
|
1670
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
1671
|
+
|
|
1672
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
1673
|
+
|
|
1674
|
+
respondsToSelector(aSelector: string): boolean;
|
|
1675
|
+
|
|
1676
|
+
retainCount(): number;
|
|
1677
|
+
|
|
1678
|
+
self(): this;
|
|
1679
|
+
|
|
1680
|
+
supportedNamespaces(): NSArray<any>;
|
|
1681
|
+
|
|
1682
|
+
supportedTags(): NSArray<any>;
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
interface SVGKParserExtension extends NSObjectProtocol {
|
|
1686
|
+
handleEndElementDocumentParseResult(newNode: Node, document: SVGKSource, parseResult: SVGKParseResult): void;
|
|
1687
|
+
|
|
1688
|
+
handleStartElementDocumentNamePrefixNamespaceURIAttributesParseResultParentNode(
|
|
1689
|
+
name: string,
|
|
1690
|
+
document: SVGKSource,
|
|
1691
|
+
prefix: string,
|
|
1692
|
+
XMLNSURI: string,
|
|
1693
|
+
attributes: NSMutableDictionary<any, any>,
|
|
1694
|
+
parseResult: SVGKParseResult,
|
|
1695
|
+
parentNode: Node
|
|
1696
|
+
): Node;
|
|
1697
|
+
|
|
1698
|
+
supportedNamespaces(): NSArray<any>;
|
|
1699
|
+
|
|
1700
|
+
supportedTags(): NSArray<any>;
|
|
1701
|
+
}
|
|
1702
|
+
declare var SVGKParserExtension: {
|
|
1703
|
+
prototype: SVGKParserExtension;
|
|
1704
|
+
};
|
|
1705
|
+
|
|
1706
|
+
declare class SVGKParserGradient extends SVGKParserSVG {
|
|
1707
|
+
static alloc(): SVGKParserGradient; // inherited from NSObject
|
|
1708
|
+
|
|
1709
|
+
static new(): SVGKParserGradient; // inherited from NSObject
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
declare class SVGKParserPatternsAndGradients extends NSObject implements SVGKParserExtension {
|
|
1713
|
+
static alloc(): SVGKParserPatternsAndGradients; // inherited from NSObject
|
|
1714
|
+
|
|
1715
|
+
static new(): SVGKParserPatternsAndGradients; // inherited from NSObject
|
|
1716
|
+
|
|
1717
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
1718
|
+
|
|
1719
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
1720
|
+
|
|
1721
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
1722
|
+
|
|
1723
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
1724
|
+
|
|
1725
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
1726
|
+
|
|
1727
|
+
readonly; // inherited from NSObjectProtocol
|
|
1728
|
+
|
|
1729
|
+
class(): typeof NSObject;
|
|
1730
|
+
|
|
1731
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
1732
|
+
|
|
1733
|
+
handleEndElementDocumentParseResult(newNode: Node, document: SVGKSource, parseResult: SVGKParseResult): void;
|
|
1734
|
+
|
|
1735
|
+
handleStartElementDocumentNamePrefixNamespaceURIAttributesParseResultParentNode(
|
|
1736
|
+
name: string,
|
|
1737
|
+
document: SVGKSource,
|
|
1738
|
+
prefix: string,
|
|
1739
|
+
XMLNSURI: string,
|
|
1740
|
+
attributes: NSMutableDictionary<any, any>,
|
|
1741
|
+
parseResult: SVGKParseResult,
|
|
1742
|
+
parentNode: Node
|
|
1743
|
+
): Node;
|
|
1744
|
+
|
|
1745
|
+
isEqual(object: any): boolean;
|
|
1746
|
+
|
|
1747
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
1748
|
+
|
|
1749
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
1750
|
+
|
|
1751
|
+
performSelector(aSelector: string): any;
|
|
1752
|
+
|
|
1753
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
1754
|
+
|
|
1755
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
1756
|
+
|
|
1757
|
+
respondsToSelector(aSelector: string): boolean;
|
|
1758
|
+
|
|
1759
|
+
retainCount(): number;
|
|
1760
|
+
|
|
1761
|
+
self(): this;
|
|
1762
|
+
|
|
1763
|
+
supportedNamespaces(): NSArray<any>;
|
|
1764
|
+
|
|
1765
|
+
supportedTags(): NSArray<any>;
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
declare class SVGKParserSVG extends NSObject implements SVGKParserExtension {
|
|
1769
|
+
static alloc(): SVGKParserSVG; // inherited from NSObject
|
|
1770
|
+
|
|
1771
|
+
static new(): SVGKParserSVG; // inherited from NSObject
|
|
1772
|
+
|
|
1773
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
1774
|
+
|
|
1775
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
1776
|
+
|
|
1777
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
1778
|
+
|
|
1779
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
1780
|
+
|
|
1781
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
1782
|
+
|
|
1783
|
+
readonly; // inherited from NSObjectProtocol
|
|
1784
|
+
|
|
1785
|
+
class(): typeof NSObject;
|
|
1786
|
+
|
|
1787
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
1788
|
+
|
|
1789
|
+
handleEndElementDocumentParseResult(newNode: Node, document: SVGKSource, parseResult: SVGKParseResult): void;
|
|
1790
|
+
|
|
1791
|
+
handleStartElementDocumentNamePrefixNamespaceURIAttributesParseResultParentNode(
|
|
1792
|
+
name: string,
|
|
1793
|
+
document: SVGKSource,
|
|
1794
|
+
prefix: string,
|
|
1795
|
+
XMLNSURI: string,
|
|
1796
|
+
attributes: NSMutableDictionary<any, any>,
|
|
1797
|
+
parseResult: SVGKParseResult,
|
|
1798
|
+
parentNode: Node
|
|
1799
|
+
): Node;
|
|
1800
|
+
|
|
1801
|
+
isEqual(object: any): boolean;
|
|
1802
|
+
|
|
1803
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
1804
|
+
|
|
1805
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
1806
|
+
|
|
1807
|
+
performSelector(aSelector: string): any;
|
|
1808
|
+
|
|
1809
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
1810
|
+
|
|
1811
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
1812
|
+
|
|
1813
|
+
respondsToSelector(aSelector: string): boolean;
|
|
1814
|
+
|
|
1815
|
+
retainCount(): number;
|
|
1816
|
+
|
|
1817
|
+
self(): this;
|
|
1818
|
+
|
|
1819
|
+
supportedNamespaces(): NSArray<any>;
|
|
1820
|
+
|
|
1821
|
+
supportedTags(): NSArray<any>;
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
declare class SVGKParserStyles extends NSObject implements SVGKParserExtension {
|
|
1825
|
+
static alloc(): SVGKParserStyles; // inherited from NSObject
|
|
1826
|
+
|
|
1827
|
+
static new(): SVGKParserStyles; // inherited from NSObject
|
|
1828
|
+
|
|
1829
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
1830
|
+
|
|
1831
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
1832
|
+
|
|
1833
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
1834
|
+
|
|
1835
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
1836
|
+
|
|
1837
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
1838
|
+
|
|
1839
|
+
readonly; // inherited from NSObjectProtocol
|
|
1840
|
+
|
|
1841
|
+
class(): typeof NSObject;
|
|
1842
|
+
|
|
1843
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
1844
|
+
|
|
1845
|
+
handleEndElementDocumentParseResult(newNode: Node, document: SVGKSource, parseResult: SVGKParseResult): void;
|
|
1846
|
+
|
|
1847
|
+
handleStartElementDocumentNamePrefixNamespaceURIAttributesParseResultParentNode(
|
|
1848
|
+
name: string,
|
|
1849
|
+
document: SVGKSource,
|
|
1850
|
+
prefix: string,
|
|
1851
|
+
XMLNSURI: string,
|
|
1852
|
+
attributes: NSMutableDictionary<any, any>,
|
|
1853
|
+
parseResult: SVGKParseResult,
|
|
1854
|
+
parentNode: Node
|
|
1855
|
+
): Node;
|
|
1856
|
+
|
|
1857
|
+
isEqual(object: any): boolean;
|
|
1858
|
+
|
|
1859
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
1860
|
+
|
|
1861
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
1862
|
+
|
|
1863
|
+
performSelector(aSelector: string): any;
|
|
1864
|
+
|
|
1865
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
1866
|
+
|
|
1867
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
1868
|
+
|
|
1869
|
+
respondsToSelector(aSelector: string): boolean;
|
|
1870
|
+
|
|
1871
|
+
retainCount(): number;
|
|
1872
|
+
|
|
1873
|
+
self(): this;
|
|
1874
|
+
|
|
1875
|
+
supportedNamespaces(): NSArray<any>;
|
|
1876
|
+
|
|
1877
|
+
supportedTags(): NSArray<any>;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
declare class SVGKPattern extends NSObject {
|
|
1881
|
+
static alloc(): SVGKPattern; // inherited from NSObject
|
|
1882
|
+
|
|
1883
|
+
static new(): SVGKPattern; // inherited from NSObject
|
|
1884
|
+
|
|
1885
|
+
static patternWithColor(color: UIColor): SVGKPattern;
|
|
1886
|
+
|
|
1887
|
+
static patternWithImage(image: UIImage): SVGKPattern;
|
|
1888
|
+
|
|
1889
|
+
color: UIColor;
|
|
1890
|
+
|
|
1891
|
+
CGColor(): any;
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
declare class SVGKPointsAndPathsParser extends NSObject {
|
|
1895
|
+
static alloc(): SVGKPointsAndPathsParser; // inherited from NSObject
|
|
1896
|
+
|
|
1897
|
+
static new(): SVGKPointsAndPathsParser; // inherited from NSObject
|
|
1898
|
+
|
|
1899
|
+
static readCloseCommandPathRelativeTo(scanner: NSScanner, path: any, origin: CGPoint): SVGCurve;
|
|
1900
|
+
|
|
1901
|
+
static readCurvetoArgumentPathRelativeTo(scanner: NSScanner, path: any, origin: CGPoint): SVGCurve;
|
|
1902
|
+
|
|
1903
|
+
static readCurvetoArgumentSequencePathRelativeToIsRelative(scanner: NSScanner, path: any, origin: CGPoint, isRelative: boolean): SVGCurve;
|
|
1904
|
+
|
|
1905
|
+
static readCurvetoCommandPathRelativeToIsRelative(scanner: NSScanner, path: any, origin: CGPoint, isRelative: boolean): SVGCurve;
|
|
1906
|
+
|
|
1907
|
+
static readEllipticalArcArgumentsPathRelativeToIsRelative(scanner: NSScanner, path: any, origin: CGPoint, isRelative: boolean): SVGCurve;
|
|
1908
|
+
|
|
1909
|
+
static readHorizontalLinetoArgumentSequencePathRelativeTo(scanner: NSScanner, path: any, origin: CGPoint): SVGCurve;
|
|
1910
|
+
|
|
1911
|
+
static readHorizontalLinetoCommandPathRelativeTo(scanner: NSScanner, path: any, origin: CGPoint): SVGCurve;
|
|
1912
|
+
|
|
1913
|
+
static readLinetoArgumentSequencePathRelativeToIsRelative(scanner: NSScanner, path: any, origin: CGPoint, isRelative: boolean): SVGCurve;
|
|
1914
|
+
|
|
1915
|
+
static readLinetoCommandPathRelativeToIsRelative(scanner: NSScanner, path: any, origin: CGPoint, isRelative: boolean): SVGCurve;
|
|
1916
|
+
|
|
1917
|
+
static readMovetoArgumentSequencePathRelativeToIsRelative(scanner: NSScanner, path: any, origin: CGPoint, isRelative: boolean): SVGCurve;
|
|
1918
|
+
|
|
1919
|
+
static readMovetoDrawtoCommandGroupsPathRelativeToIsRelative(scanner: NSScanner, path: any, origin: CGPoint, isRelative: boolean): SVGCurve;
|
|
1920
|
+
|
|
1921
|
+
static readMovetoDrawtoPathRelativeToIsRelative(scanner: NSScanner, path: any, origin: CGPoint, isRelative: boolean): SVGCurve;
|
|
1922
|
+
|
|
1923
|
+
static readMovetoPathRelativeToIsRelative(scanner: NSScanner, path: any, origin: CGPoint, isRelative: boolean): SVGCurve;
|
|
1924
|
+
|
|
1925
|
+
static readQuadraticCurvetoArgumentPathRelativeTo(scanner: NSScanner, path: any, origin: CGPoint): SVGCurve;
|
|
1926
|
+
|
|
1927
|
+
static readQuadraticCurvetoArgumentSequencePathRelativeToIsRelative(scanner: NSScanner, path: any, origin: CGPoint, isRelative: boolean): SVGCurve;
|
|
1928
|
+
|
|
1929
|
+
static readQuadraticCurvetoCommandPathRelativeToIsRelative(scanner: NSScanner, path: any, origin: CGPoint, isRelative: boolean): SVGCurve;
|
|
1930
|
+
|
|
1931
|
+
static readSmoothCurvetoArgumentPathRelativeToWithPrevCurve(scanner: NSScanner, path: any, origin: CGPoint, prevCurve: SVGCurve): SVGCurve;
|
|
1932
|
+
|
|
1933
|
+
static readSmoothCurvetoArgumentSequencePathRelativeToWithPrevCurveIsRelative(scanner: NSScanner, path: any, origin: CGPoint, prevCurve: SVGCurve, isRelative: boolean): SVGCurve;
|
|
1934
|
+
|
|
1935
|
+
static readSmoothCurvetoCommandPathRelativeToWithPrevCurveIsRelative(scanner: NSScanner, path: any, origin: CGPoint, prevCurve: SVGCurve, isRelative: boolean): SVGCurve;
|
|
1936
|
+
|
|
1937
|
+
static readSmoothQuadraticCurvetoArgumentPathRelativeToWithPrevCurve(scanner: NSScanner, path: any, origin: CGPoint, prevCurve: SVGCurve): SVGCurve;
|
|
1938
|
+
|
|
1939
|
+
static readSmoothQuadraticCurvetoArgumentSequencePathRelativeToWithPrevCurve(scanner: NSScanner, path: any, origin: CGPoint, prevCurve: SVGCurve): SVGCurve;
|
|
1940
|
+
|
|
1941
|
+
static readSmoothQuadraticCurvetoCommandPathRelativeToWithPrevCurve(scanner: NSScanner, path: any, origin: CGPoint, prevCurve: SVGCurve): SVGCurve;
|
|
1942
|
+
|
|
1943
|
+
static readVerticalLinetoArgumentSequencePathRelativeTo(scanner: NSScanner, path: any, origin: CGPoint): SVGCurve;
|
|
1944
|
+
|
|
1945
|
+
static readVerticalLinetoCommandPathRelativeTo(scanner: NSScanner, path: any, origin: CGPoint): SVGCurve;
|
|
1946
|
+
|
|
1947
|
+
static startingCurve(): SVGCurve;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
declare class SVGKSource extends NSObject implements NSCopying {
|
|
1951
|
+
static alloc(): SVGKSource; // inherited from NSObject
|
|
1952
|
+
|
|
1953
|
+
static new(): SVGKSource; // inherited from NSObject
|
|
1954
|
+
|
|
1955
|
+
approximateLengthInBytesOr0: number;
|
|
1956
|
+
|
|
1957
|
+
keyForAppleDictionaries: string;
|
|
1958
|
+
|
|
1959
|
+
stream: NSInputStream;
|
|
1960
|
+
|
|
1961
|
+
svgLanguageVersion: string;
|
|
1962
|
+
|
|
1963
|
+
constructor(o: { forCopying: void });
|
|
1964
|
+
|
|
1965
|
+
constructor(o: { inputSteam: NSInputStream });
|
|
1966
|
+
|
|
1967
|
+
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
|
|
1968
|
+
|
|
1969
|
+
initForCopying(): this;
|
|
1970
|
+
|
|
1971
|
+
initWithInputSteam(stream: NSInputStream): this;
|
|
1972
|
+
|
|
1973
|
+
sourceFromRelativePath(path: string): SVGKSource;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
declare class SVGKSourceLocalFile extends SVGKSource {
|
|
1977
|
+
static alloc(): SVGKSourceLocalFile; // inherited from NSObject
|
|
1978
|
+
|
|
1979
|
+
static internalSourceAnywhereInBundleUsingName(name: string): SVGKSourceLocalFile;
|
|
1980
|
+
|
|
1981
|
+
static new(): SVGKSourceLocalFile; // inherited from NSObject
|
|
1982
|
+
|
|
1983
|
+
static sourceFromFilename(p: string): SVGKSourceLocalFile;
|
|
1984
|
+
|
|
1985
|
+
filePath: string;
|
|
1986
|
+
|
|
1987
|
+
readonly wasRelative: boolean;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
declare class SVGKSourceNSData extends SVGKSource {
|
|
1991
|
+
static alloc(): SVGKSourceNSData; // inherited from NSObject
|
|
1992
|
+
|
|
1993
|
+
static new(): SVGKSourceNSData; // inherited from NSObject
|
|
1994
|
+
|
|
1995
|
+
static sourceFromDataURLForRelativeLinks(data: NSData, url: NSURL): SVGKSource;
|
|
1996
|
+
|
|
1997
|
+
effectiveURL: NSURL;
|
|
1998
|
+
|
|
1999
|
+
rawData: NSData;
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
declare class SVGKSourceString extends SVGKSource {
|
|
2003
|
+
static alloc(): SVGKSourceString; // inherited from NSObject
|
|
2004
|
+
|
|
2005
|
+
static new(): SVGKSourceString; // inherited from NSObject
|
|
2006
|
+
|
|
2007
|
+
static sourceFromContentsOfString(rawString: string): SVGKSource;
|
|
2008
|
+
|
|
2009
|
+
rawString: string;
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
declare class SVGKSourceURL extends SVGKSource {
|
|
2013
|
+
static alloc(): SVGKSourceURL; // inherited from NSObject
|
|
2014
|
+
|
|
2015
|
+
static new(): SVGKSourceURL; // inherited from NSObject
|
|
2016
|
+
|
|
2017
|
+
static sourceFromURL(u: NSURL): SVGKSource;
|
|
2018
|
+
|
|
2019
|
+
URL: NSURL;
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
declare const enum SVGKTransformType {
|
|
2023
|
+
G_TRANSFORM_UNKNOWN = 0,
|
|
2024
|
+
|
|
2025
|
+
G_TRANSFORM_MATRIX = 1,
|
|
2026
|
+
|
|
2027
|
+
G_TRANSFORM_TRANSLATE = 2,
|
|
2028
|
+
|
|
2029
|
+
G_TRANSFORM_SCALE = 3,
|
|
2030
|
+
|
|
2031
|
+
G_TRANSFORM_ROTATE = 4,
|
|
2032
|
+
|
|
2033
|
+
G_TRANSFORM_SKEWX = 5,
|
|
2034
|
+
|
|
2035
|
+
G_TRANSFORM_SKEWY = 6,
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
declare class SVGKit extends NSObject {
|
|
2039
|
+
static alloc(): SVGKit; // inherited from NSObject
|
|
2040
|
+
|
|
2041
|
+
static enableLogging(): void;
|
|
2042
|
+
|
|
2043
|
+
static new(): SVGKit; // inherited from NSObject
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
declare var SVGKitFramework_VersionNumber: number;
|
|
2047
|
+
|
|
2048
|
+
declare var SVGKitFramework_VersionString: interop.Reference<number>;
|
|
2049
|
+
|
|
2050
|
+
declare class SVGLength extends NSObject {
|
|
2051
|
+
static alloc(): SVGLength; // inherited from NSObject
|
|
2052
|
+
|
|
2053
|
+
static new(): SVGLength; // inherited from NSObject
|
|
2054
|
+
|
|
2055
|
+
static svgLengthFromNSString(s: string): SVGLength;
|
|
2056
|
+
|
|
2057
|
+
static svgLengthZero(): SVGLength;
|
|
2058
|
+
|
|
2059
|
+
readonly unitType: SVG_LENGTH_TYPE;
|
|
2060
|
+
|
|
2061
|
+
value: number;
|
|
2062
|
+
|
|
2063
|
+
valueAsString: string;
|
|
2064
|
+
|
|
2065
|
+
valueInSpecifiedUnits: number;
|
|
2066
|
+
|
|
2067
|
+
convertToSpecifiedUnits(unitType: SVG_LENGTH_TYPE): void;
|
|
2068
|
+
|
|
2069
|
+
newValueSpecifiedUnitsValueInSpecifiedUnits(unitType: SVG_LENGTH_TYPE, valueInSpecifiedUnits: number): void;
|
|
2070
|
+
|
|
2071
|
+
numberValue(): number;
|
|
2072
|
+
|
|
2073
|
+
pixelsValue(): number;
|
|
2074
|
+
|
|
2075
|
+
pixelsValueWithDimension(dimension: number): number;
|
|
2076
|
+
|
|
2077
|
+
pixelsValueWithGradientDimension(dimension: number): number;
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
declare const enum SVGLengthAdjust {
|
|
2081
|
+
Unknown = 0,
|
|
2082
|
+
|
|
2083
|
+
Spacing = 1,
|
|
2084
|
+
|
|
2085
|
+
SpacingAndGlyphs = 2,
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
declare class SVGLineElement extends BaseClassForAllSVGBasicShapes {
|
|
2089
|
+
static alloc(): SVGLineElement; // inherited from NSObject
|
|
2090
|
+
|
|
2091
|
+
static new(): SVGLineElement; // inherited from NSObject
|
|
2092
|
+
|
|
2093
|
+
readonly x1: number;
|
|
2094
|
+
|
|
2095
|
+
readonly x2: number;
|
|
2096
|
+
|
|
2097
|
+
readonly y1: number;
|
|
2098
|
+
|
|
2099
|
+
readonly y2: number;
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2102
|
+
declare class SVGLinearGradientElement extends SVGGradientElement {
|
|
2103
|
+
static alloc(): SVGLinearGradientElement; // inherited from NSObject
|
|
2104
|
+
|
|
2105
|
+
static new(): SVGLinearGradientElement; // inherited from NSObject
|
|
2106
|
+
|
|
2107
|
+
readonly x1: SVGLength;
|
|
2108
|
+
|
|
2109
|
+
readonly x2: SVGLength;
|
|
2110
|
+
|
|
2111
|
+
readonly y1: SVGLength;
|
|
2112
|
+
|
|
2113
|
+
readonly y2: SVGLength;
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
declare class SVGMatrix extends NSObject {
|
|
2117
|
+
static alloc(): SVGMatrix; // inherited from NSObject
|
|
2118
|
+
|
|
2119
|
+
static new(): SVGMatrix; // inherited from NSObject
|
|
2120
|
+
|
|
2121
|
+
a: number;
|
|
2122
|
+
|
|
2123
|
+
b: number;
|
|
2124
|
+
|
|
2125
|
+
c: number;
|
|
2126
|
+
|
|
2127
|
+
d: number;
|
|
2128
|
+
|
|
2129
|
+
e: number;
|
|
2130
|
+
|
|
2131
|
+
f: number;
|
|
2132
|
+
|
|
2133
|
+
flipX(): SVGMatrix;
|
|
2134
|
+
|
|
2135
|
+
flipY(): SVGMatrix;
|
|
2136
|
+
|
|
2137
|
+
inverse(): SVGMatrix;
|
|
2138
|
+
|
|
2139
|
+
multiply(secondMatrix: SVGMatrix): SVGMatrix;
|
|
2140
|
+
|
|
2141
|
+
rotate(angle: number): SVGMatrix;
|
|
2142
|
+
|
|
2143
|
+
rotateFromVectorY(x: number, y: number): SVGMatrix;
|
|
2144
|
+
|
|
2145
|
+
scale(scaleFactor: number): SVGMatrix;
|
|
2146
|
+
|
|
2147
|
+
scaleNonUniformScaleFactorY(scaleFactorX: number, scaleFactorY: number): SVGMatrix;
|
|
2148
|
+
|
|
2149
|
+
skewX(angle: number): SVGMatrix;
|
|
2150
|
+
|
|
2151
|
+
skewY(angle: number): SVGMatrix;
|
|
2152
|
+
|
|
2153
|
+
translateY(x: number, y: number): SVGMatrix;
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
interface SVGNumber {
|
|
2157
|
+
value: number;
|
|
2158
|
+
}
|
|
2159
|
+
declare var SVGNumber: interop.StructType<SVGNumber>;
|
|
2160
|
+
|
|
2161
|
+
declare class SVGPathElement extends BaseClassForAllSVGBasicShapes {
|
|
2162
|
+
static alloc(): SVGPathElement; // inherited from NSObject
|
|
2163
|
+
|
|
2164
|
+
static new(): SVGPathElement; // inherited from NSObject
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
declare function SVGPercentageFromString(string: string | interop.Pointer | interop.Reference<any>): number;
|
|
2168
|
+
|
|
2169
|
+
declare class SVGPoint extends NSObject {
|
|
2170
|
+
static alloc(): SVGPoint; // inherited from NSObject
|
|
2171
|
+
|
|
2172
|
+
static new(): SVGPoint; // inherited from NSObject
|
|
2173
|
+
|
|
2174
|
+
readonly x: number;
|
|
2175
|
+
|
|
2176
|
+
readonly y: number;
|
|
2177
|
+
|
|
2178
|
+
matrixTransform(matrix: SVGMatrix): SVGPoint;
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
declare class SVGPolygonElement extends BaseClassForAllSVGBasicShapes {
|
|
2182
|
+
static alloc(): SVGPolygonElement; // inherited from NSObject
|
|
2183
|
+
|
|
2184
|
+
static new(): SVGPolygonElement; // inherited from NSObject
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
declare class SVGPolylineElement extends BaseClassForAllSVGBasicShapes {
|
|
2188
|
+
static alloc(): SVGPolylineElement; // inherited from NSObject
|
|
2189
|
+
|
|
2190
|
+
static new(): SVGPolylineElement; // inherited from NSObject
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
declare class SVGPreserveAspectRatio extends NSObject {
|
|
2194
|
+
static alloc(): SVGPreserveAspectRatio; // inherited from NSObject
|
|
2195
|
+
|
|
2196
|
+
static new(): SVGPreserveAspectRatio; // inherited from NSObject
|
|
2197
|
+
|
|
2198
|
+
align: SVG_PRESERVEASPECTRATIO;
|
|
2199
|
+
|
|
2200
|
+
meetOrSlice: SVG_MEETORSLICE;
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
declare class SVGRadialGradientElement extends SVGGradientElement {
|
|
2204
|
+
static alloc(): SVGRadialGradientElement; // inherited from NSObject
|
|
2205
|
+
|
|
2206
|
+
static new(): SVGRadialGradientElement; // inherited from NSObject
|
|
2207
|
+
|
|
2208
|
+
readonly cx: SVGLength;
|
|
2209
|
+
|
|
2210
|
+
readonly cy: SVGLength;
|
|
2211
|
+
|
|
2212
|
+
readonly fr: SVGLength;
|
|
2213
|
+
|
|
2214
|
+
readonly fx: SVGLength;
|
|
2215
|
+
|
|
2216
|
+
readonly fy: SVGLength;
|
|
2217
|
+
|
|
2218
|
+
readonly r: SVGLength;
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
interface SVGRect {
|
|
2222
|
+
x: number;
|
|
2223
|
+
y: number;
|
|
2224
|
+
width: number;
|
|
2225
|
+
height: number;
|
|
2226
|
+
}
|
|
2227
|
+
declare var SVGRect: interop.StructType<SVGRect>;
|
|
2228
|
+
|
|
2229
|
+
declare class SVGRectElement extends BaseClassForAllSVGBasicShapes implements SVGStylable, SVGTransformable {
|
|
2230
|
+
static alloc(): SVGRectElement; // inherited from NSObject
|
|
2231
|
+
|
|
2232
|
+
static new(): SVGRectElement; // inherited from NSObject
|
|
2233
|
+
|
|
2234
|
+
readonly height: SVGLength;
|
|
2235
|
+
|
|
2236
|
+
readonly rx: SVGLength;
|
|
2237
|
+
|
|
2238
|
+
readonly ry: SVGLength;
|
|
2239
|
+
|
|
2240
|
+
readonly width: SVGLength;
|
|
2241
|
+
|
|
2242
|
+
readonly x: SVGLength;
|
|
2243
|
+
|
|
2244
|
+
readonly y: SVGLength;
|
|
2245
|
+
|
|
2246
|
+
className: string; // inherited from SVGStylable
|
|
2247
|
+
|
|
2248
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
2249
|
+
|
|
2250
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
2251
|
+
|
|
2252
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
2253
|
+
|
|
2254
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
2255
|
+
|
|
2256
|
+
style: CSSStyleDeclaration; // inherited from SVGStylable
|
|
2257
|
+
|
|
2258
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
2259
|
+
|
|
2260
|
+
transform: CGAffineTransform; // inherited from SVGTransformable
|
|
2261
|
+
|
|
2262
|
+
readonly; // inherited from NSObjectProtocol
|
|
2263
|
+
|
|
2264
|
+
class(): typeof NSObject;
|
|
2265
|
+
|
|
2266
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
2267
|
+
|
|
2268
|
+
getPresentationAttribute(name: string): CSSValue;
|
|
2269
|
+
|
|
2270
|
+
isEqual(object: any): boolean;
|
|
2271
|
+
|
|
2272
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
2273
|
+
|
|
2274
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
2275
|
+
|
|
2276
|
+
performSelector(aSelector: string): any;
|
|
2277
|
+
|
|
2278
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
2279
|
+
|
|
2280
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
2281
|
+
|
|
2282
|
+
respondsToSelector(aSelector: string): boolean;
|
|
2283
|
+
|
|
2284
|
+
retainCount(): number;
|
|
2285
|
+
|
|
2286
|
+
self(): this;
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
declare function SVGRectIsInitialized(rect: SVGRect): boolean;
|
|
2290
|
+
|
|
2291
|
+
declare function SVGRectMake(x: number, y: number, width: number, height: number): SVGRect;
|
|
2292
|
+
|
|
2293
|
+
declare function SVGRectUninitialized(): SVGRect;
|
|
2294
|
+
|
|
2295
|
+
declare class SVGSVGElement extends SVGElement implements ConverterSVGToCALayer, DocumentCSS, SVGFitToViewBox {
|
|
2296
|
+
static alloc(): SVGSVGElement; // inherited from NSObject
|
|
2297
|
+
|
|
2298
|
+
static new(): SVGSVGElement; // inherited from NSObject
|
|
2299
|
+
|
|
2300
|
+
readonly aspectRatioFromViewBox: number;
|
|
2301
|
+
|
|
2302
|
+
readonly aspectRatioFromWidthPerHeight: number;
|
|
2303
|
+
|
|
2304
|
+
contentScriptType: string;
|
|
2305
|
+
|
|
2306
|
+
contentStyleType: string;
|
|
2307
|
+
|
|
2308
|
+
currentScale: number;
|
|
2309
|
+
|
|
2310
|
+
currentTranslate: SVGPoint;
|
|
2311
|
+
|
|
2312
|
+
currentView: SVGViewSpec;
|
|
2313
|
+
|
|
2314
|
+
height: SVGLength;
|
|
2315
|
+
|
|
2316
|
+
pixelUnitToMillimeterX: number;
|
|
2317
|
+
|
|
2318
|
+
pixelUnitToMillimeterY: number;
|
|
2319
|
+
|
|
2320
|
+
readonly requestedViewport: SVGRect;
|
|
2321
|
+
|
|
2322
|
+
screenPixelToMillimeterX: number;
|
|
2323
|
+
|
|
2324
|
+
screenPixelToMillimeterY: number;
|
|
2325
|
+
|
|
2326
|
+
source: SVGKSource;
|
|
2327
|
+
|
|
2328
|
+
useCurrentView: boolean;
|
|
2329
|
+
|
|
2330
|
+
viewport: SVGRect;
|
|
2331
|
+
|
|
2332
|
+
width: SVGLength;
|
|
2333
|
+
|
|
2334
|
+
x: SVGLength;
|
|
2335
|
+
|
|
2336
|
+
y: SVGLength;
|
|
2337
|
+
|
|
2338
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
2339
|
+
|
|
2340
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
2341
|
+
|
|
2342
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
2343
|
+
|
|
2344
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
2345
|
+
|
|
2346
|
+
preserveAspectRatio: SVGAnimatedPreserveAspectRatio; // inherited from SVGFitToViewBox
|
|
2347
|
+
|
|
2348
|
+
styleSheets: StyleSheetList; // inherited from DocumentStyle
|
|
2349
|
+
|
|
2350
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
2351
|
+
|
|
2352
|
+
viewBox: SVGRect; // inherited from SVGFitToViewBox
|
|
2353
|
+
|
|
2354
|
+
readonly; // inherited from NSObjectProtocol
|
|
2355
|
+
|
|
2356
|
+
animationsPaused(): boolean;
|
|
2357
|
+
|
|
2358
|
+
checkEnclosureRect(element: SVGElement, rect: SVGRect): boolean;
|
|
2359
|
+
|
|
2360
|
+
checkIntersectionRect(element: SVGElement, rect: SVGRect): boolean;
|
|
2361
|
+
|
|
2362
|
+
class(): typeof NSObject;
|
|
2363
|
+
|
|
2364
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
2365
|
+
|
|
2366
|
+
createSVGAngle(): SVGAngle;
|
|
2367
|
+
|
|
2368
|
+
createSVGLength(): SVGLength;
|
|
2369
|
+
|
|
2370
|
+
createSVGMatrix(): SVGMatrix;
|
|
2371
|
+
|
|
2372
|
+
createSVGNumber(): SVGNumber;
|
|
2373
|
+
|
|
2374
|
+
createSVGPoint(): SVGPoint;
|
|
2375
|
+
|
|
2376
|
+
createSVGRect(): SVGRect;
|
|
2377
|
+
|
|
2378
|
+
createSVGTransform(): SVGTransform;
|
|
2379
|
+
|
|
2380
|
+
createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform;
|
|
2381
|
+
|
|
2382
|
+
deselectAll(): void;
|
|
2383
|
+
|
|
2384
|
+
findFirstElementOfClass(classParameter: typeof NSObject): SVGElement;
|
|
2385
|
+
|
|
2386
|
+
forceRedraw(): void;
|
|
2387
|
+
|
|
2388
|
+
getCurrentTime(): number;
|
|
2389
|
+
|
|
2390
|
+
getElementById(elementId: string): Element;
|
|
2391
|
+
|
|
2392
|
+
getEnclosureListReferenceElement(rect: SVGRect, referenceElement: SVGElement): NodeList;
|
|
2393
|
+
|
|
2394
|
+
getIntersectionListReferenceElement(rect: SVGRect, referenceElement: SVGElement): NodeList;
|
|
2395
|
+
|
|
2396
|
+
getOverrideStylePseudoElt(element: Element, pseudoElt: string): CSSStyleDeclaration;
|
|
2397
|
+
|
|
2398
|
+
isEqual(object: any): boolean;
|
|
2399
|
+
|
|
2400
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
2401
|
+
|
|
2402
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
2403
|
+
|
|
2404
|
+
layoutLayer(layer: CALayer): void;
|
|
2405
|
+
|
|
2406
|
+
newLayer(): CALayer;
|
|
2407
|
+
|
|
2408
|
+
pauseAnimations(): void;
|
|
2409
|
+
|
|
2410
|
+
performSelector(aSelector: string): any;
|
|
2411
|
+
|
|
2412
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
2413
|
+
|
|
2414
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
2415
|
+
|
|
2416
|
+
respondsToSelector(aSelector: string): boolean;
|
|
2417
|
+
|
|
2418
|
+
retainCount(): number;
|
|
2419
|
+
|
|
2420
|
+
self(): this;
|
|
2421
|
+
|
|
2422
|
+
setCurrentTime(seconds: number): void;
|
|
2423
|
+
|
|
2424
|
+
suspendRedraw(maxWaitMilliseconds: number): number;
|
|
2425
|
+
|
|
2426
|
+
unpauseAnimations(): void;
|
|
2427
|
+
|
|
2428
|
+
unsuspendRedraw(suspendHandleID: number): void;
|
|
2429
|
+
|
|
2430
|
+
unsuspendRedrawAll(): void;
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
declare const enum SVGSpreadMethod {
|
|
2434
|
+
Unkown = 0,
|
|
2435
|
+
|
|
2436
|
+
Pad = 1,
|
|
2437
|
+
|
|
2438
|
+
Reflect = 2,
|
|
2439
|
+
|
|
2440
|
+
Repeat = 3,
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
interface SVGStylable extends NSObjectProtocol {
|
|
2444
|
+
className: string;
|
|
2445
|
+
|
|
2446
|
+
style: CSSStyleDeclaration;
|
|
2447
|
+
|
|
2448
|
+
getPresentationAttribute(name: string): CSSValue;
|
|
2449
|
+
}
|
|
2450
|
+
declare var SVGStylable: {
|
|
2451
|
+
prototype: SVGStylable;
|
|
2452
|
+
};
|
|
2453
|
+
|
|
2454
|
+
interface SVGStyleCatcher extends NSObjectProtocol {
|
|
2455
|
+
styleCatchLayerForClass(styledLayer: CALayer, colorIndex: string): void;
|
|
2456
|
+
|
|
2457
|
+
styleCatchOverrideFill(fillClassName: string): UIColor;
|
|
2458
|
+
}
|
|
2459
|
+
declare var SVGStyleCatcher: {
|
|
2460
|
+
prototype: SVGStyleCatcher;
|
|
2461
|
+
};
|
|
2462
|
+
|
|
2463
|
+
declare class SVGStyleElement extends SVGElement {
|
|
2464
|
+
static alloc(): SVGStyleElement; // inherited from NSObject
|
|
2465
|
+
|
|
2466
|
+
static new(): SVGStyleElement; // inherited from NSObject
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
declare class SVGSwitchElement extends SVGElement implements ConverterSVGToCALayer {
|
|
2470
|
+
static alloc(): SVGSwitchElement; // inherited from NSObject
|
|
2471
|
+
|
|
2472
|
+
static new(): SVGSwitchElement; // inherited from NSObject
|
|
2473
|
+
|
|
2474
|
+
readonly visibleChildNodes: NodeList;
|
|
2475
|
+
|
|
2476
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
2477
|
+
|
|
2478
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
2479
|
+
|
|
2480
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
2481
|
+
|
|
2482
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
2483
|
+
|
|
2484
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
2485
|
+
|
|
2486
|
+
readonly; // inherited from NSObjectProtocol
|
|
2487
|
+
|
|
2488
|
+
class(): typeof NSObject;
|
|
2489
|
+
|
|
2490
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
2491
|
+
|
|
2492
|
+
isEqual(object: any): boolean;
|
|
2493
|
+
|
|
2494
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
2495
|
+
|
|
2496
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
2497
|
+
|
|
2498
|
+
layoutLayer(layer: CALayer): void;
|
|
2499
|
+
|
|
2500
|
+
newLayer(): CALayer;
|
|
2501
|
+
|
|
2502
|
+
performSelector(aSelector: string): any;
|
|
2503
|
+
|
|
2504
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
2505
|
+
|
|
2506
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
2507
|
+
|
|
2508
|
+
respondsToSelector(aSelector: string): boolean;
|
|
2509
|
+
|
|
2510
|
+
retainCount(): number;
|
|
2511
|
+
|
|
2512
|
+
self(): this;
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
declare class SVGTextContentElement extends SVGElement implements SVGStylable {
|
|
2516
|
+
static alloc(): SVGTextContentElement; // inherited from NSObject
|
|
2517
|
+
|
|
2518
|
+
static new(): SVGTextContentElement; // inherited from NSObject
|
|
2519
|
+
|
|
2520
|
+
readonly textLength: SVGLength;
|
|
2521
|
+
|
|
2522
|
+
className: string; // inherited from SVGStylable
|
|
2523
|
+
|
|
2524
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
2525
|
+
|
|
2526
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
2527
|
+
|
|
2528
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
2529
|
+
|
|
2530
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
2531
|
+
|
|
2532
|
+
style: CSSStyleDeclaration; // inherited from SVGStylable
|
|
2533
|
+
|
|
2534
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
2535
|
+
|
|
2536
|
+
readonly; // inherited from NSObjectProtocol
|
|
2537
|
+
|
|
2538
|
+
class(): typeof NSObject;
|
|
2539
|
+
|
|
2540
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
2541
|
+
|
|
2542
|
+
getPresentationAttribute(name: string): CSSValue;
|
|
2543
|
+
|
|
2544
|
+
isEqual(object: any): boolean;
|
|
2545
|
+
|
|
2546
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
2547
|
+
|
|
2548
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
2549
|
+
|
|
2550
|
+
performSelector(aSelector: string): any;
|
|
2551
|
+
|
|
2552
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
2553
|
+
|
|
2554
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
2555
|
+
|
|
2556
|
+
respondsToSelector(aSelector: string): boolean;
|
|
2557
|
+
|
|
2558
|
+
retainCount(): number;
|
|
2559
|
+
|
|
2560
|
+
self(): this;
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
declare class SVGTextElement extends SVGTextPositioningElement implements ConverterSVGToCALayer, SVGTransformable {
|
|
2564
|
+
static alloc(): SVGTextElement; // inherited from NSObject
|
|
2565
|
+
|
|
2566
|
+
static new(): SVGTextElement; // inherited from NSObject
|
|
2567
|
+
|
|
2568
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
2569
|
+
|
|
2570
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
2571
|
+
|
|
2572
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
2573
|
+
|
|
2574
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
2575
|
+
|
|
2576
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
2577
|
+
|
|
2578
|
+
transform: CGAffineTransform; // inherited from SVGTransformable
|
|
2579
|
+
|
|
2580
|
+
readonly; // inherited from NSObjectProtocol
|
|
2581
|
+
|
|
2582
|
+
class(): typeof NSObject;
|
|
2583
|
+
|
|
2584
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
2585
|
+
|
|
2586
|
+
isEqual(object: any): boolean;
|
|
2587
|
+
|
|
2588
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
2589
|
+
|
|
2590
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
2591
|
+
|
|
2592
|
+
layoutLayer(layer: CALayer): void;
|
|
2593
|
+
|
|
2594
|
+
newLayer(): CALayer;
|
|
2595
|
+
|
|
2596
|
+
performSelector(aSelector: string): any;
|
|
2597
|
+
|
|
2598
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
2599
|
+
|
|
2600
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
2601
|
+
|
|
2602
|
+
respondsToSelector(aSelector: string): boolean;
|
|
2603
|
+
|
|
2604
|
+
retainCount(): number;
|
|
2605
|
+
|
|
2606
|
+
self(): this;
|
|
2607
|
+
}
|
|
2608
|
+
|
|
2609
|
+
declare class SVGTextLayer extends CATextLayer {
|
|
2610
|
+
static alloc(): SVGTextLayer; // inherited from NSObject
|
|
2611
|
+
|
|
2612
|
+
static layer(): SVGTextLayer; // inherited from CALayer
|
|
2613
|
+
|
|
2614
|
+
static new(): SVGTextLayer; // inherited from NSObject
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
declare class SVGTextPositioningElement extends SVGTextContentElement {
|
|
2618
|
+
static alloc(): SVGTextPositioningElement; // inherited from NSObject
|
|
2619
|
+
|
|
2620
|
+
static new(): SVGTextPositioningElement; // inherited from NSObject
|
|
2621
|
+
|
|
2622
|
+
dx: SVGLength;
|
|
2623
|
+
|
|
2624
|
+
dy: SVGLength;
|
|
2625
|
+
|
|
2626
|
+
rotate: SVGLength;
|
|
2627
|
+
|
|
2628
|
+
x: SVGLength;
|
|
2629
|
+
|
|
2630
|
+
y: SVGLength;
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2633
|
+
declare class SVGTitleElement extends SVGElement {
|
|
2634
|
+
static alloc(): SVGTitleElement; // inherited from NSObject
|
|
2635
|
+
|
|
2636
|
+
static new(): SVGTitleElement; // inherited from NSObject
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
declare class SVGTransform extends NSObject {
|
|
2640
|
+
static alloc(): SVGTransform; // inherited from NSObject
|
|
2641
|
+
|
|
2642
|
+
static new(): SVGTransform; // inherited from NSObject
|
|
2643
|
+
|
|
2644
|
+
readonly angle: number;
|
|
2645
|
+
|
|
2646
|
+
matrix: SVGMatrix;
|
|
2647
|
+
|
|
2648
|
+
type: SVGKTransformType;
|
|
2649
|
+
|
|
2650
|
+
setMatrix(matrix: SVGMatrix): void;
|
|
2651
|
+
|
|
2652
|
+
setRotateCxCy(angle: number, cx: number, cy: number): void;
|
|
2653
|
+
|
|
2654
|
+
setScaleSy(sx: number, sy: number): void;
|
|
2655
|
+
|
|
2656
|
+
setSkewX(angle: number): void;
|
|
2657
|
+
|
|
2658
|
+
setSkewY(angle: number): void;
|
|
2659
|
+
|
|
2660
|
+
setTranslateTy(tx: number, ty: number): void;
|
|
2661
|
+
}
|
|
2662
|
+
|
|
2663
|
+
interface SVGTransformable extends NSObjectProtocol {
|
|
2664
|
+
transform: CGAffineTransform;
|
|
2665
|
+
}
|
|
2666
|
+
declare var SVGTransformable: {
|
|
2667
|
+
prototype: SVGTransformable;
|
|
2668
|
+
};
|
|
2669
|
+
|
|
2670
|
+
declare class SVGUseElement extends SVGElement implements ConverterSVGToCALayer, SVGTransformable {
|
|
2671
|
+
static alloc(): SVGUseElement; // inherited from NSObject
|
|
2672
|
+
|
|
2673
|
+
static new(): SVGUseElement; // inherited from NSObject
|
|
2674
|
+
|
|
2675
|
+
animatedInstanceRoot: SVGElementInstance;
|
|
2676
|
+
|
|
2677
|
+
height: SVGLength;
|
|
2678
|
+
|
|
2679
|
+
instanceRoot: SVGElementInstance;
|
|
2680
|
+
|
|
2681
|
+
width: SVGLength;
|
|
2682
|
+
|
|
2683
|
+
x: SVGLength;
|
|
2684
|
+
|
|
2685
|
+
y: SVGLength;
|
|
2686
|
+
|
|
2687
|
+
readonly debugDescription: string; // inherited from NSObjectProtocol
|
|
2688
|
+
|
|
2689
|
+
readonly description: string; // inherited from NSObjectProtocol
|
|
2690
|
+
|
|
2691
|
+
readonly hash: number; // inherited from NSObjectProtocol
|
|
2692
|
+
|
|
2693
|
+
readonly isProxy: boolean; // inherited from NSObjectProtocol
|
|
2694
|
+
|
|
2695
|
+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
|
|
2696
|
+
|
|
2697
|
+
transform: CGAffineTransform; // inherited from SVGTransformable
|
|
2698
|
+
|
|
2699
|
+
readonly; // inherited from NSObjectProtocol
|
|
2700
|
+
|
|
2701
|
+
class(): typeof NSObject;
|
|
2702
|
+
|
|
2703
|
+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
|
|
2704
|
+
|
|
2705
|
+
isEqual(object: any): boolean;
|
|
2706
|
+
|
|
2707
|
+
isKindOfClass(aClass: typeof NSObject): boolean;
|
|
2708
|
+
|
|
2709
|
+
isMemberOfClass(aClass: typeof NSObject): boolean;
|
|
2710
|
+
|
|
2711
|
+
layoutLayer(layer: CALayer): void;
|
|
2712
|
+
|
|
2713
|
+
newLayer(): CALayer;
|
|
2714
|
+
|
|
2715
|
+
performSelector(aSelector: string): any;
|
|
2716
|
+
|
|
2717
|
+
performSelectorWithObject(aSelector: string, object: any): any;
|
|
2718
|
+
|
|
2719
|
+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
|
|
2720
|
+
|
|
2721
|
+
respondsToSelector(aSelector: string): boolean;
|
|
2722
|
+
|
|
2723
|
+
retainCount(): number;
|
|
2724
|
+
|
|
2725
|
+
self(): this;
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
declare class SVGViewSpec extends NSObject {
|
|
2729
|
+
static alloc(): SVGViewSpec; // inherited from NSObject
|
|
2730
|
+
|
|
2731
|
+
static new(): SVGViewSpec; // inherited from NSObject
|
|
2732
|
+
|
|
2733
|
+
readonly preserveAspectRatioString: string;
|
|
2734
|
+
|
|
2735
|
+
readonly transformString: string;
|
|
2736
|
+
|
|
2737
|
+
readonly viewBoxString: string;
|
|
2738
|
+
|
|
2739
|
+
readonly viewTarget: SVGElement;
|
|
2740
|
+
|
|
2741
|
+
readonly viewTargetString: string;
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
declare const enum SVG_LENGTH_TYPE {
|
|
2745
|
+
TYPE_UNKNOWN = 0,
|
|
2746
|
+
|
|
2747
|
+
TYPE_NUMBER = 1,
|
|
2748
|
+
|
|
2749
|
+
TYPE_PERCENTAGE = 2,
|
|
2750
|
+
|
|
2751
|
+
TYPE_EMS = 3,
|
|
2752
|
+
|
|
2753
|
+
TYPE_EXS = 4,
|
|
2754
|
+
|
|
2755
|
+
TYPE_PX = 5,
|
|
2756
|
+
|
|
2757
|
+
TYPE_CM = 6,
|
|
2758
|
+
|
|
2759
|
+
TYPE_MM = 7,
|
|
2760
|
+
|
|
2761
|
+
TYPE_IN = 8,
|
|
2762
|
+
|
|
2763
|
+
TYPE_PT = 9,
|
|
2764
|
+
|
|
2765
|
+
TYPE_PC = 10,
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
declare const enum SVG_MEETORSLICE {
|
|
2769
|
+
UNKNOWN = 0,
|
|
2770
|
+
|
|
2771
|
+
MEET = 1,
|
|
2772
|
+
|
|
2773
|
+
SLICE = 2,
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2776
|
+
declare const enum SVG_PRESERVEASPECTRATIO {
|
|
2777
|
+
UNKNOWN = 0,
|
|
2778
|
+
|
|
2779
|
+
NONE = 1,
|
|
2780
|
+
|
|
2781
|
+
XMINYMIN = 2,
|
|
2782
|
+
|
|
2783
|
+
XMIDYMIN = 3,
|
|
2784
|
+
|
|
2785
|
+
XMAXYMIN = 4,
|
|
2786
|
+
|
|
2787
|
+
XMINYMID = 5,
|
|
2788
|
+
|
|
2789
|
+
XMIDYMID = 6,
|
|
2790
|
+
|
|
2791
|
+
XMAXYMID = 7,
|
|
2792
|
+
|
|
2793
|
+
XMINYMAX = 8,
|
|
2794
|
+
|
|
2795
|
+
XMIDYMAX = 9,
|
|
2796
|
+
|
|
2797
|
+
XMAXYMAX = 10,
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2800
|
+
declare const enum SVG_UNIT_TYPE {
|
|
2801
|
+
UNKNOWN = 0,
|
|
2802
|
+
|
|
2803
|
+
USERSPACEONUSE = 1,
|
|
2804
|
+
|
|
2805
|
+
OBJECTBOUNDINGBOX = 2,
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
declare class StyleSheet extends NSObject {
|
|
2809
|
+
static alloc(): StyleSheet; // inherited from NSObject
|
|
2810
|
+
|
|
2811
|
+
static new(): StyleSheet; // inherited from NSObject
|
|
2812
|
+
|
|
2813
|
+
disabled: boolean;
|
|
2814
|
+
|
|
2815
|
+
href: string;
|
|
2816
|
+
|
|
2817
|
+
media: MediaList;
|
|
2818
|
+
|
|
2819
|
+
ownerNode: Node;
|
|
2820
|
+
|
|
2821
|
+
parentStyleSheet: StyleSheet;
|
|
2822
|
+
|
|
2823
|
+
title: string;
|
|
2824
|
+
|
|
2825
|
+
type: string;
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2828
|
+
declare class StyleSheetList extends NSObject {
|
|
2829
|
+
static alloc(): StyleSheetList; // inherited from NSObject
|
|
2830
|
+
|
|
2831
|
+
static new(): StyleSheetList; // inherited from NSObject
|
|
2832
|
+
|
|
2833
|
+
internalArray: NSMutableArray<any>;
|
|
2834
|
+
|
|
2835
|
+
readonly length: number;
|
|
2836
|
+
|
|
2837
|
+
item(index: number): StyleSheet;
|
|
2838
|
+
}
|
|
2839
|
+
|
|
2840
|
+
declare class Text extends CharacterData {
|
|
2841
|
+
static alloc(): Text; // inherited from NSObject
|
|
2842
|
+
|
|
2843
|
+
static new(): Text; // inherited from NSObject
|
|
2844
|
+
|
|
2845
|
+
constructor(o: { value: string });
|
|
2846
|
+
|
|
2847
|
+
initWithValue(v: string): this;
|
|
2848
|
+
|
|
2849
|
+
splitText(offset: number): Text;
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2852
|
+
declare class TinySVGTextAreaElement extends SVGTextElement {
|
|
2853
|
+
static alloc(): TinySVGTextAreaElement; // inherited from NSObject
|
|
2854
|
+
|
|
2855
|
+
static new(): TinySVGTextAreaElement; // inherited from NSObject
|
|
2856
|
+
|
|
2857
|
+
readonly height: SVGLength;
|
|
2858
|
+
|
|
2859
|
+
readonly width: SVGLength;
|
|
2860
|
+
}
|
|
2861
|
+
|
|
2862
|
+
declare function createPathFromPointsInString(str: string | interop.Pointer | interop.Reference<any>, close: number): interop.Unmanaged<any>;
|