├── Example ├── .bundle │ └── config ├── .eslintrc.js ├── .gitignore ├── .prettierrc.js ├── .watchmanconfig ├── App.tsx ├── Gemfile ├── Gemfile.lock ├── README.md ├── __tests__ │ └── App.test.tsx ├── android │ ├── app │ │ ├── build.gradle │ │ ├── debug.keystore │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── debug │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── king │ │ │ │ └── ReactNativeFlipper.java │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── king │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ │ ├── drawable │ │ │ │ └── rn_edit_text_material.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ └── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ └── release │ │ │ └── java │ │ │ └── com │ │ │ └── king │ │ │ └── ReactNativeFlipper.java │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── app.json ├── babel.config.js ├── example │ ├── dog.png │ ├── index.tsx │ └── test_data │ │ ├── cascade_position.json │ │ ├── parallel_sku.json │ │ └── parallel_time.json ├── index.HTML ├── index.js ├── ios │ ├── .xcode.env │ ├── King.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── King.xcscheme │ ├── King.xcworkspace │ │ └── contents.xcworkspacedata │ ├── King │ │ ├── AppDelegate.h │ │ ├── AppDelegate.mm │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Info.plist │ │ ├── LaunchScreen.storyboard │ │ └── main.m │ ├── KingTests │ │ ├── Info.plist │ │ └── KingTests.m │ ├── Podfile │ └── Podfile.lock ├── jest.config.js ├── metro.config.js ├── package-lock.json ├── package.json ├── src │ ├── README.md │ ├── core │ │ ├── Header.tsx │ │ ├── PureCascade.tsx │ │ ├── PureParallel.tsx │ │ ├── Wheel.tsx │ │ └── mask.tsx │ ├── index.tsx │ └── type.d.ts ├── tsconfig.json └── yarn.lock ├── README.md ├── README_CN.md ├── example_pic.gif ├── package.json └── src ├── README.md ├── core ├── Header.tsx ├── PureCascade.tsx ├── PureParallel.tsx ├── Wheel.tsx └── mask.tsx ├── index.tsx └── type.d.ts /Example/.bundle/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/.bundle/config -------------------------------------------------------------------------------- /Example/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: '@react-native', 4 | }; 5 | -------------------------------------------------------------------------------- /Example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/.gitignore -------------------------------------------------------------------------------- /Example/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/.prettierrc.js -------------------------------------------------------------------------------- /Example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /Example/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/App.tsx -------------------------------------------------------------------------------- /Example/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/Gemfile -------------------------------------------------------------------------------- /Example/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/Gemfile.lock -------------------------------------------------------------------------------- /Example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/README.md -------------------------------------------------------------------------------- /Example/__tests__/App.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/__tests__/App.test.tsx -------------------------------------------------------------------------------- /Example/android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/build.gradle -------------------------------------------------------------------------------- /Example/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/debug.keystore -------------------------------------------------------------------------------- /Example/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /Example/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/debug/AndroidManifest.xml -------------------------------------------------------------------------------- /Example/android/app/src/debug/java/com/king/ReactNativeFlipper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/debug/java/com/king/ReactNativeFlipper.java -------------------------------------------------------------------------------- /Example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /Example/android/app/src/main/java/com/king/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/java/com/king/MainActivity.java -------------------------------------------------------------------------------- /Example/android/app/src/main/java/com/king/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/java/com/king/MainApplication.java -------------------------------------------------------------------------------- /Example/android/app/src/main/res/drawable/rn_edit_text_material.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/res/drawable/rn_edit_text_material.xml -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /Example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /Example/android/app/src/release/java/com/king/ReactNativeFlipper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/app/src/release/java/com/king/ReactNativeFlipper.java -------------------------------------------------------------------------------- /Example/android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/build.gradle -------------------------------------------------------------------------------- /Example/android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/gradle.properties -------------------------------------------------------------------------------- /Example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /Example/android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/gradlew -------------------------------------------------------------------------------- /Example/android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/gradlew.bat -------------------------------------------------------------------------------- /Example/android/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/android/settings.gradle -------------------------------------------------------------------------------- /Example/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/app.json -------------------------------------------------------------------------------- /Example/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/babel.config.js -------------------------------------------------------------------------------- /Example/example/dog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/example/dog.png -------------------------------------------------------------------------------- /Example/example/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/example/index.tsx -------------------------------------------------------------------------------- /Example/example/test_data/cascade_position.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/example/test_data/cascade_position.json -------------------------------------------------------------------------------- /Example/example/test_data/parallel_sku.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/example/test_data/parallel_sku.json -------------------------------------------------------------------------------- /Example/example/test_data/parallel_time.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/example/test_data/parallel_time.json -------------------------------------------------------------------------------- /Example/index.HTML: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/index.HTML -------------------------------------------------------------------------------- /Example/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/index.js -------------------------------------------------------------------------------- /Example/ios/.xcode.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/.xcode.env -------------------------------------------------------------------------------- /Example/ios/King.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/King.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Example/ios/King.xcodeproj/xcshareddata/xcschemes/King.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/King.xcodeproj/xcshareddata/xcschemes/King.xcscheme -------------------------------------------------------------------------------- /Example/ios/King.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/King.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Example/ios/King/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/King/AppDelegate.h -------------------------------------------------------------------------------- /Example/ios/King/AppDelegate.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/King/AppDelegate.mm -------------------------------------------------------------------------------- /Example/ios/King/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/King/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Example/ios/King/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/King/Images.xcassets/Contents.json -------------------------------------------------------------------------------- /Example/ios/King/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/King/Info.plist -------------------------------------------------------------------------------- /Example/ios/King/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/King/LaunchScreen.storyboard -------------------------------------------------------------------------------- /Example/ios/King/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/King/main.m -------------------------------------------------------------------------------- /Example/ios/KingTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/KingTests/Info.plist -------------------------------------------------------------------------------- /Example/ios/KingTests/KingTests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/KingTests/KingTests.m -------------------------------------------------------------------------------- /Example/ios/Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/Podfile -------------------------------------------------------------------------------- /Example/ios/Podfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/ios/Podfile.lock -------------------------------------------------------------------------------- /Example/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: 'react-native', 3 | }; 4 | -------------------------------------------------------------------------------- /Example/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/metro.config.js -------------------------------------------------------------------------------- /Example/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/package-lock.json -------------------------------------------------------------------------------- /Example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/package.json -------------------------------------------------------------------------------- /Example/src/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Example/src/core/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/src/core/Header.tsx -------------------------------------------------------------------------------- /Example/src/core/PureCascade.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/src/core/PureCascade.tsx -------------------------------------------------------------------------------- /Example/src/core/PureParallel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/src/core/PureParallel.tsx -------------------------------------------------------------------------------- /Example/src/core/Wheel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/src/core/Wheel.tsx -------------------------------------------------------------------------------- /Example/src/core/mask.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/src/core/mask.tsx -------------------------------------------------------------------------------- /Example/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/src/index.tsx -------------------------------------------------------------------------------- /Example/src/type.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/src/type.d.ts -------------------------------------------------------------------------------- /Example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/tsconfig.json -------------------------------------------------------------------------------- /Example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/Example/yarn.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/README.md -------------------------------------------------------------------------------- /README_CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/README_CN.md -------------------------------------------------------------------------------- /example_pic.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/example_pic.gif -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/package.json -------------------------------------------------------------------------------- /src/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/core/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/src/core/Header.tsx -------------------------------------------------------------------------------- /src/core/PureCascade.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/src/core/PureCascade.tsx -------------------------------------------------------------------------------- /src/core/PureParallel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/src/core/PureParallel.tsx -------------------------------------------------------------------------------- /src/core/Wheel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/src/core/Wheel.tsx -------------------------------------------------------------------------------- /src/core/mask.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/src/core/mask.tsx -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/type.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the-nippy/react-native-slidepicker/HEAD/src/type.d.ts --------------------------------------------------------------------------------