зеркало из https://github.com/microsoft/reactxp.git
Updated copyright and license notices as per Microsoft legal group.
This commit is contained in:
Родитель
dd48f23f6d
Коммит
5775ceceb5
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* ReactXP.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Simple wrapper file on the web implementation of ReactXP to get an appropriate type list
|
||||
* to export as a common d.ts for the package.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* AccessibilityUtil.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Android-specific accessibility utils.
|
||||
*/
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
/**
|
||||
* Animated.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Android-specific implementation of Animated wrapper.
|
||||
*/
|
||||
* Animated.tsx
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Android-specific implementation of Animated wrapper.
|
||||
*/
|
||||
|
||||
import React = require('react');
|
||||
import RN = require('react-native');
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
/**
|
||||
* Button.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Android-specific implementation of Button component.
|
||||
*/
|
||||
* Button.tsx
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Android-specific implementation of Button component.
|
||||
*/
|
||||
|
||||
import AccessibilityUtil from './AccessibilityUtil';
|
||||
import { Button as CommonButton } from '../native-common/Button';
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* GestureView.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Android-specific implementation of GestureView component.
|
||||
*/
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
/**
|
||||
* Image.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Android-specific implementation of Image component.
|
||||
*/
|
||||
* Image.tsx
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Android-specific implementation of Image component.
|
||||
*/
|
||||
|
||||
import { Image as CommonImage } from '../native-common/Image';
|
||||
import Styles from '../native-common/Styles';
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* ReactXP.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Wrapper for all ReactXP functionality. Users of ReactXP should import just this
|
||||
* file instead of internals.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* StatusBar.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Android-specific implementation of StatusBar APIs.
|
||||
*/
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
/**
|
||||
* Text.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Android-specific implementation of Text component.
|
||||
*/
|
||||
* Text.tsx
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Android-specific implementation of Text component.
|
||||
*/
|
||||
|
||||
import React = require('react');
|
||||
import RN = require('react-native');
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
/**
|
||||
* View.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Android-specific implementation of View component.
|
||||
*/
|
||||
* View.tsx
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Android-specific implementation of View component.
|
||||
*/
|
||||
|
||||
import AccessibilityUtil from './AccessibilityUtil';
|
||||
import { View as CommonView } from '../native-common/View';
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* AccessibilityInfo.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Common wrapper for accessibility helper exposed from ReactXP.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* AccessibilityUtil.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Common accessibility interface for platform-specific accessibility utilities.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* AppConfig.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* A simple class to store application config.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Easing.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Easing functions for animations.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Interfaces.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Defines the template for the ReactXP interface that needs to be
|
||||
* implemented for each platform.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Linking.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Common implementation for deep linking.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Location.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Methods to fetch the user's location.
|
||||
*/
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
/**
|
||||
* MixinUtil.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Function applyMixins expects that first argument applies properties from mixins.
|
||||
*/
|
||||
/**
|
||||
* MixinUtil.ts
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Function applyMixins expects that first argument applies properties from mixins.
|
||||
*/
|
||||
|
||||
function applyMixins(thisObj: any, mixins: any[]) {
|
||||
mixins.forEach(mixin => {
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Profiling.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Utility functions used for performance profiling.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* StyleLeakDetector.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Detects style memory-leaks in react-native.
|
||||
* To fix warning you could:
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* SubscribableEvent.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* A simple strongly-typed pub/sub/fire eventing system.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Types.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Type definitions for ReactXP framework.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* lodashMini.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Imports a subset of lodash library needed for ReactXP's implementation.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* AccessibilityInfo.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* An iOS variant of AccessibilityInfo that performs announcements by calling
|
||||
* React Native announcement API for iOS.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* GestureView.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* iOS-specific implementation of GestureView component.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Linking.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* iOS-specific implementation for deep linking.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* ReactXP.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Wrapper for all ReactXP functionality. Users of ReactXP should import just this
|
||||
* file instead of internals.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* StatusBar.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* iOS-specific implementation of StatusBar APIs.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* AccessibilityInfo.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Native wrapper for accessibility helper.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* AccessibilityUtil.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of accessiblity functions for cross-platform
|
||||
* ReactXP framework.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* ActivityIndicator.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Control to display an animated activity indicator.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Alert.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Native Alert dialog boxes for ReactXP.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Animated.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform Animation abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* App.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Native implementation of App API namespace.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Button.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform Button abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Clipboard.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform Clipboard abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* FrontLayerViewManager.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Manages stackable modals and popup views that are posted and dismissed
|
||||
* by the Types showModal/dismissModal/showPopup/dismissPopup methods.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* GestureView.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform GestureView component.
|
||||
* It provides much of the standard work necessary to support combinations of
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Image.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform Image abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Input.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Native implementation of Input interface.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Link.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform Link abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Linking.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation for deep linking.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* MainViewStore.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* A simple store that publishes changes to the main element
|
||||
* provided by the app.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Modal.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform Modal abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* ModalContainer.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform Modal abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Navigator.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Common native implementation for Navigator on mobile.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* NavigatorCommon.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Common native interfaces for Navigator on mobile.
|
||||
* We need this class to avoid circular references between Navigator and NavigatorDelegates.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* NavigatorExperimentalDelegate.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Delegate which encapsulates experimental react-native Navigator experience.
|
||||
* The main difference of Experimental Navigator is that it uses Animated for navigation animation
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* NavigatorStandardDelegate.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Delegate which encapsulates standard react-native Navigator experience.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Network.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Native implementation of network information APIs.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Picker.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform Picker abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Platform.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Native implementation of Platform interface.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Popup.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* React Native implementation of the cross-platform Popup abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* PopupContainerView.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* The view containing the Popup to show. This view does its own position
|
||||
* calculation on rendering as directed by position instructions received
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Profiling.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Profiling utils for react-native.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* RootView.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* The top-most view that's used for proper layering or modals and popups.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* ScrollView.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform ScrollView abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Storage.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Native implementation of the cross-platform database storage abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* StyleLeakDetector.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Native implementation of debugging logic that detects style leaks.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Styles.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of style functions.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* ImageSvg.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform abstraction for
|
||||
* SVG (scalable vector graphics) images.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* SvgPath.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform abstraction for
|
||||
* SVG Path (scalable vector graphics) elements.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Text.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform Text abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* TextInput.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform TextInput abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
/**
|
||||
* UserInterface.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* RN implementation of the ReactXP interfaces related to
|
||||
* UI (layout measurements, etc.).
|
||||
*/
|
||||
* UserInterface.ts
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN implementation of the ReactXP interfaces related to
|
||||
* UI (layout measurements, etc.).
|
||||
*/
|
||||
|
||||
import assert = require('assert');
|
||||
import React = require('react');
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
/**
|
||||
* UserPresence.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Native implementation of the RX interfaces related to
|
||||
* user presence.
|
||||
*/
|
||||
* UserPresence.ts
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Native implementation of the RX interfaces related to
|
||||
* user presence.
|
||||
*/
|
||||
|
||||
import RX = require('../common/Interfaces');
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* ViewBase.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Base class that is used for several RX views.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* View.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* RN-specific implementation of the cross-platform View abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* WebView.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* A control that allows the display of an independent web page.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* AnimateListEdits.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Each time the component receives new children, animates insertions, removals,
|
||||
* and moves that occurred since the previous render. Uses React Native's
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* lodashMini.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Import and re-export of part of the lodash module. This helps reduce bundle size.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* react-native-art-svg.d.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Type definition file for the React Native Art SVG.
|
||||
* https://github.com/magicismight/react-native-art-svg
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* react-native.d.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Type definition file for React Native, based on the React.js definition file on https://github.com/borisyankov/DefinitelyTyped.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* AccessibilityInfo.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web wrapper for subscribing or querying the current state of the
|
||||
* screen reader.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* AccessibilityUtil.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation of accessiblity functions for cross-platform
|
||||
* ReactX framework.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* ActivityIndicator.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Control to display an animated activity indicator.
|
||||
*/
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
/**
|
||||
* Alert.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Web Alert dialog boxes.
|
||||
*/
|
||||
* Alert.ts
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web Alert dialog boxes.
|
||||
*/
|
||||
|
||||
import RX = require('../common/Interfaces');
|
||||
import Types = require('../common/Types');
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Animated.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Implements animated components for web version of ReactXP.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* App.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Implements App interface for ReactXP.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Button.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation of the cross-platform Button abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Clipboard.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation of the cross-platform Clipboard abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Scrollbar.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Custom scrollbar implementation for web.
|
||||
*/
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
/**
|
||||
* FrontLayerViewManager.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Manages the layering of the main view, modals and popups.
|
||||
*/
|
||||
* FrontLayerViewManager.tsx
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Manages the layering of the main view, modals and popups.
|
||||
*/
|
||||
|
||||
import React = require('react');
|
||||
import ReactDOM = require('react-dom');
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* GestureView.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation of the cross-platform GestureView component.
|
||||
* It provides support for the scroll wheel, clicks and double clicks.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Image.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation of the cross-platform Image abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Input.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web implementation of Input interface.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Link.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation of the cross-platform Link abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Linking.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation for deep linking
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Modal.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation of the cross-platform Modal abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* ModalContainer.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation of a view that's used to render modals.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/*
|
||||
* Navigator.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web specific implementation of Navigator. This is inspired from React.Navigator.
|
||||
* This component is set with props, which are callback methods. It is primarily driven
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* NavigatorSceneConfigFactory.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* NavigatorSceneConfigFactory creates an 'object' of type NavigatorSceneConfig,
|
||||
* which is consumed by the Navigator. This object contains properties to execute
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Network.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation of Network information APIs.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Picker.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation of the cross-platform Select abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Platform.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation of Platform interface.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Popup.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation of the cross-platform Popup abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* ReactXP.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Wrapper for all ReactXP functionality. Users of ReactXP should import just this
|
||||
* file instead of internals.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* RootView.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* The top-most view (rendered into window.body) that's used for proper
|
||||
* layering or modals, etc. in the web implementation of the ReactXP
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* ScrollView.tsx
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific implementation of the cross-platform ScrollView abstraction.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* ScrollViewConfig.ts
|
||||
* Copyright: Microsoft 2017
|
||||
*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT license.
|
||||
*
|
||||
* Web-specific scroll view configuration, required to avoid circular
|
||||
* dependency between application and ScrollView.
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче