@baic/yolk-cli 2.1.0-alpha.5 → 2.1.0-alpha.52
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/es/.prettierrc.js +13 -0
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -497
- package/es/yolk.d.ts +2 -0
- package/es/yolk.js +2 -0
- package/lib/.prettierrc.js +13 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -633
- package/lib/yolk.d.ts +2 -0
- package/lib/yolk.js +2 -0
- package/package.json +10 -10
- package/templates/ice-mobile/.eslintrc +1 -1
- package/templates/ice-mobile/.gitignore.tpl +7 -3
- package/templates/ice-mobile/.icerc.ts +2 -2
- package/templates/ice-mobile/.npmrc.tpl +2 -0
- package/templates/ice-mobile/.prettierignore +4 -5
- package/templates/ice-mobile/.prettierrc.js +1 -0
- package/templates/ice-mobile/README.md.tpl +1 -1
- package/templates/ice-mobile/package.json.tpl +5 -0
- package/templates/ice-mobile/public/index.html +15 -0
- package/templates/ice-mobile/src/app.tsx +1 -1
- package/templates/ice-mobile/src/pages/demo/examples/Input.tsx +1 -2
- package/templates/ice-mobile/src/pages/demo/examples/List/4.tsx +2 -2
- package/templates/ice-mobile/src/pages/demo/examples/NumberInput/1.tsx +1 -2
- package/templates/ice-mobile/src/pages/demo/examples/NumberInput/2.tsx +1 -2
- package/templates/ice-mobile/src/pages/demo/examples/NumberInput/3.tsx +1 -2
- package/templates/ice-mobile/src/pages/demo/examples/NumberInput/4.tsx +1 -2
- package/templates/ice-mobile/src/routes.ts +2 -1
- package/templates/ice-mobile-h5+app/.eslintrc +6 -0
- package/templates/ice-mobile-h5+app/.gitignore.tpl +34 -0
- package/templates/ice-mobile-h5+app/.icerc.ts +6 -0
- package/templates/ice-mobile-h5+app/.npmrc.tpl +2 -0
- package/templates/ice-mobile-h5+app/.prettierignore +8 -0
- package/templates/ice-mobile-h5+app/.prettierrc.js +1 -0
- package/templates/ice-mobile-h5+app/.stylelintrc +3 -0
- package/templates/ice-mobile-h5+app/README.md.tpl +34 -0
- package/templates/ice-mobile-h5+app/h5+app/manifest.json +87 -0
- package/templates/ice-mobile-h5+app/package.json.tpl +16 -0
- package/templates/ice-mobile-h5+app/public/favicon.ico +0 -0
- package/templates/ice-mobile-h5+app/public/index.html +15 -0
- package/templates/ice-mobile-h5+app/src/app.tsx +5 -0
- package/templates/ice-mobile-h5+app/src/common/request.ts +3 -0
- package/templates/ice-mobile-h5+app/src/common/util.ts +7 -0
- package/templates/ice-mobile-h5+app/src/components/index.ts +0 -0
- package/templates/ice-mobile-h5+app/src/global.less +3 -0
- package/templates/ice-mobile-h5+app/src/layouts/index.tsx +5 -0
- package/templates/ice-mobile-h5+app/src/pages/404.tsx +10 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/BarCode.tsx +4 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/Iconfont.tsx +18 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/Input.tsx +16 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/List/1.tsx +12 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/List/2.tsx +29 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/List/3.tsx +29 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/List/4.tsx +55 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/List/mock.ts +30 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/Loading.tsx +12 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/NumberInput/1.tsx +16 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/NumberInput/2.tsx +16 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/NumberInput/3.tsx +16 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/NumberInput/4.tsx +16 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/PagingList/1.tsx +6 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/QrCode.tsx +4 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/Required.tsx +4 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/TimerButton.tsx +4 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/examples/usePreload.tsx +9 -0
- package/templates/ice-mobile-h5+app/src/pages/demo/index.tsx +87 -0
- package/templates/ice-mobile-h5+app/src/pages/index.tsx +3 -0
- package/templates/ice-mobile-h5+app/src/routes.ts +29 -0
- package/templates/ice-mobile-h5+app/src/types/user.d.ts +3 -0
- package/templates/ice-mobile-h5+app/tsconfig.json +3 -0
- package/templates/ice-mobile-h5+app/typings.d.ts +1 -0
- package/templates/ice-mobile-native/.eslintrc +6 -0
- package/templates/ice-mobile-native/.gitignore.tpl +39 -0
- package/templates/ice-mobile-native/.icerc.ts +8 -0
- package/templates/ice-mobile-native/.npmrc.tpl +2 -0
- package/templates/ice-mobile-native/.prettierignore +8 -0
- package/templates/ice-mobile-native/.prettierrc.js +1 -0
- package/templates/ice-mobile-native/.stylelintrc +3 -0
- package/templates/ice-mobile-native/README.md.tpl +34 -0
- package/templates/ice-mobile-native/android/app/6209ba977ffec7d62675a4e254ebc209.keystore +0 -0
- package/templates/ice-mobile-native/android/app/build.gradle +66 -0
- package/templates/ice-mobile-native/android/app/libs/Bluetooth-release.aar +0 -0
- package/templates/ice-mobile-native/android/app/libs/PosPrinterSDK.jar +0 -0
- package/templates/ice-mobile-native/android/app/libs/android-gif-drawable-release@1.2.23.aar +0 -0
- package/templates/ice-mobile-native/android/app/libs/lib.5plus.base-release.aar +0 -0
- package/templates/ice-mobile-native/android/app/libs/oaid_sdk_1.0.25.aar +0 -0
- package/templates/ice-mobile-native/android/app/libs/webview-x5-release.aar +0 -0
- package/templates/ice-mobile-native/android/app/proguard-rules.pro +303 -0
- package/templates/ice-mobile-native/android/app/src/main/AndroidManifest.xml +98 -0
- package/templates/ice-mobile-native/android/app/src/main/assets/apps/H5ECA1DEE/www/manifest.json +89 -0
- package/templates/ice-mobile-native/android/app/src/main/assets/data/dcloud_control.xml +6 -0
- package/templates/ice-mobile-native/android/app/src/main/assets/data/dcloud_error.html +92 -0
- package/templates/ice-mobile-native/android/app/src/main/assets/data/dcloud_properties.xml +19 -0
- package/templates/ice-mobile-native/android/app/src/main/java/plus/H5ECA1DEE/JSBridge/FunctionCreator.java +119 -0
- package/templates/ice-mobile-native/android/app/src/main/java/plus/H5ECA1DEE/MPandoraEntryActivity.java +17 -0
- package/templates/ice-mobile-native/android/app/src/main/java/plus/H5ECA1DEE/Xprinter/FunctionFactory/Creator.java +17 -0
- package/templates/ice-mobile-native/android/app/src/main/java/plus/H5ECA1DEE/Xprinter/FunctionFactory/Error.java +26 -0
- package/templates/ice-mobile-native/android/app/src/main/java/plus/H5ECA1DEE/Xprinter/JSPlugin.java +265 -0
- package/templates/ice-mobile-native/android/app/src/main/res/drawable/icon.png +0 -0
- package/templates/ice-mobile-native/android/app/src/main/res/values/colors.xml +5 -0
- package/templates/ice-mobile-native/android/app/src/main/res/values/strings.xml +3 -0
- package/templates/ice-mobile-native/android/build.gradle +9 -0
- package/templates/ice-mobile-native/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/templates/ice-mobile-native/android/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/templates/ice-mobile-native/android/gradle.properties +22 -0
- package/templates/ice-mobile-native/android/gradlew +185 -0
- package/templates/ice-mobile-native/android/gradlew.bat +89 -0
- package/templates/ice-mobile-native/android/settings.gradle +16 -0
- package/templates/ice-mobile-native/ios/HBuilder/HBuilder.entitlements +5 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/1024x1024.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/120x120-1.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/120x120.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/180x180.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/40x40.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/58x58.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/60x60.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/80x80.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/87x87.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/Contents.json +62 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/Contents.json +6 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/Image.imageset/Contents.json +20 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/app.imageset/120x120.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/app.imageset/180x180.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/app.imageset/60x60.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/app.imageset/Contents.json +26 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/control_brightness.imageset/Contents.json +21 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/control_brightness.imageset/brightness@2x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/exitfullscreen.imageset/Contents.json +22 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/exitfullscreen.imageset/shrinkscreen@2x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/exitfullscreen.imageset/shrinkscreen@3x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/exposure_slider_max.imageset/Contents.json +22 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/exposure_slider_max.imageset//346/233/235/345/205/211-1.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/exposure_slider_max.imageset//346/233/235/345/205/211.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/focus_border.imageset/Contents.json +22 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/focus_border.imageset//345/257/271/347/204/246/346/241/206-1.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/focus_border.imageset//345/257/271/347/204/246/346/241/206.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/focus_slider_line.imageset/Contents.json +21 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/focus_slider_line.imageset//345/257/271/347/204/246/347/272/277.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/focus_slider_thumb.imageset/Contents.json +22 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/focus_slider_thumb.imageset//345/257/271/347/204/246/345/272/225-1.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/focus_slider_thumb.imageset//345/257/271/347/204/246/345/272/225.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/full-screen.imageset/Contents.json +22 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/full-screen.imageset/fullscreen@2x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/full-screen.imageset/fullscreen@3x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/play.imageset/Contents.json +23 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/play.imageset/play.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/play.imageset/play@2x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/play.imageset/play@3x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/player_back.imageset/Contents.json +23 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/player_back.imageset/player_back.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/player_back.imageset/player_back@2x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/player_back.imageset/player_back@3x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/player_play.imageset/Contents.json +23 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/player_play.imageset/play.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/player_play.imageset/play@2x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/player_play.imageset/play@3x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/player_stop.imageset/Contents.json +23 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/player_stop.imageset/player-stop.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/player_stop.imageset/player-stop@2x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/player_stop.imageset/player-stop@3x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/video_ic_muteoff.imageset/Contents.json +22 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/video_ic_muteoff.imageset/video_ic_muteoff@2x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/video_ic_muteoff.imageset/video_ic_muteoff@3x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/video_ic_muteon.imageset/Contents.json +22 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/video_ic_muteon.imageset/video_ic_muteon@2x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/video_ic_muteon.imageset/video_ic_muteon@3x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/video_volume.imageset/Contents.json +22 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/video_volume.imageset/video_volume@2x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder/Images.xcassets/video_volume.imageset/video_volume@3x.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/120x120.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/180x180.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/AppDelegate.h +16 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/AppDelegate.m +225 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Base.lproj/LaunchScreen.storyboard +65 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/English.lproj/Localizable.strings +13 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/HBuilder-Hello-Info.plist +486 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/HBuilder-Hello-Prefix.pch +16 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/LaunchScreen.storyboard +67 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/manifest.json +79 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/1024x1024.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/120x120.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/144x144.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/152x152.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/167x167.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/180x180.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/192x192.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/20x20.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/29x29.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/40x40.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/58x58.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/60x60.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/72x72.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/76x76.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/80x80.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/87x87.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/96x96.png +0 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/ViewController.h +19 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/ViewController.m +161 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Xprinter.h +19 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/Xprinter.m +235 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/control.xml +107 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/en.lproj/InfoPlist.strings +4 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/en.lproj/Localizable.strings +12 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/main.m +18 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/zh-Hans.lproj/InfoPlist.strings +4 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/zh-Hans.lproj/LaunchScreen.strings +3 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello/zh-Hans.lproj/Localizable.strings +13 -0
- package/templates/ice-mobile-native/ios/HBuilder-Hello.xcodeproj/project.pbxproj +1607 -0
- package/templates/ice-mobile-native/package.json.tpl +16 -0
- package/templates/ice-mobile-native/public/favicon.ico +0 -0
- package/templates/ice-mobile-native/public/index.html +15 -0
- package/templates/ice-mobile-native/src/app.tsx +5 -0
- package/templates/ice-mobile-native/src/common/Xprinter.ts +58 -0
- package/templates/ice-mobile-native/src/common/bluetooth.ts +354 -0
- package/templates/ice-mobile-native/src/common/bridge.ts +59 -0
- package/templates/ice-mobile-native/src/common/request.ts +3 -0
- package/templates/ice-mobile-native/src/common/util.ts +7 -0
- package/templates/ice-mobile-native/src/components/index.ts +0 -0
- package/templates/ice-mobile-native/src/global.less +3 -0
- package/templates/ice-mobile-native/src/layouts/index.tsx +5 -0
- package/templates/ice-mobile-native/src/pages/404.tsx +10 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/BarCode.tsx +4 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/Iconfont.tsx +18 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/Input.tsx +16 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/List/1.tsx +12 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/List/2.tsx +29 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/List/3.tsx +29 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/List/4.tsx +55 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/List/mock.ts +30 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/Loading.tsx +12 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/NumberInput/1.tsx +16 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/NumberInput/2.tsx +16 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/NumberInput/3.tsx +16 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/NumberInput/4.tsx +16 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/PagingList/1.tsx +6 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/QrCode.tsx +4 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/Required.tsx +4 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/TimerButton.tsx +4 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/Xprinter/index.tsx +64 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/Xprinter/style.less +16 -0
- package/templates/ice-mobile-native/src/pages/demo/examples/usePreload.tsx +9 -0
- package/templates/ice-mobile-native/src/pages/demo/index.tsx +89 -0
- package/templates/ice-mobile-native/src/pages/index.tsx +3 -0
- package/templates/ice-mobile-native/src/routes.ts +29 -0
- package/templates/ice-mobile-native/src/types/user.d.ts +3 -0
- package/templates/ice-mobile-native/tsconfig.json +3 -0
- package/templates/ice-mobile-native/typings.d.ts +1 -0
- package/templates/ice-web/.eslintrc +1 -1
- package/templates/ice-web/.gitignore.tpl +7 -3
- package/templates/ice-web/.icerc.ts +1 -1
- package/templates/ice-web/.npmrc.tpl +2 -0
- package/templates/ice-web/.prettierignore +4 -5
- package/templates/ice-web/.prettierrc.js +1 -0
- package/templates/ice-web/README.md.tpl +1 -1
- package/templates/ice-web/package.json.tpl +5 -0
- package/templates/ice-web/public/index.html +15 -0
- package/templates/ice-web/src/app.tsx +1 -1
- package/templates/ice-web/src/pages/demo/examples/BankInput.tsx +1 -2
- package/templates/ice-web/src/pages/demo/examples/Grid/5.tsx +1 -2
- package/templates/ice-web/src/pages/demo/examples/Input/2.tsx +2 -1
- package/templates/ice-web/src/pages/demo/examples/RangeNumber/2.tsx +1 -2
- package/templates/ice-web/src/pages/demo/examples/SearchLayout.tsx +2 -2
- package/templates/ice-web/src/pages/demo/examples/Wrapper.tsx +1 -1
- package/templates/ice-web/src/routes.ts +2 -1
- package/templates/ice-web-screen/.eslintrc +6 -0
- package/templates/ice-web-screen/.gitignore.tpl +34 -0
- package/templates/ice-web-screen/.icerc.ts +3 -0
- package/templates/ice-web-screen/.npmrc.tpl +2 -0
- package/templates/ice-web-screen/.prettierignore +8 -0
- package/templates/ice-web-screen/.prettierrc.js +1 -0
- package/templates/ice-web-screen/.stylelintrc +3 -0
- package/templates/ice-web-screen/README.md.tpl +34 -0
- package/templates/ice-web-screen/package.json.tpl +17 -0
- package/templates/ice-web-screen/public/favicon.ico +0 -0
- package/templates/ice-web-screen/public/index.html +15 -0
- package/templates/ice-web-screen/src/app.tsx +5 -0
- package/templates/ice-web-screen/src/common/request.ts +3 -0
- package/templates/ice-web-screen/src/common/util.ts +15 -0
- package/templates/ice-web-screen/src/components/index.ts +1 -0
- package/templates/ice-web-screen/src/components/resize-container/index.tsx +95 -0
- package/templates/ice-web-screen/src/components/resize-container/style.module.less +3 -0
- package/templates/ice-web-screen/src/constants.ts +7 -0
- package/templates/ice-web-screen/src/global.less +31 -0
- package/templates/ice-web-screen/src/hooks/use-size.ts +18 -0
- package/templates/ice-web-screen/src/layouts/16_9/fixed.less +18 -0
- package/templates/ice-web-screen/src/layouts/16_9/index.tsx +34 -0
- package/templates/ice-web-screen/src/layouts/16_9/style.module.less +19 -0
- package/templates/ice-web-screen/src/layouts/components/index.ts +0 -0
- package/templates/ice-web-screen/src/layouts/controller/index.tsx +79 -0
- package/templates/ice-web-screen/src/layouts/index.tsx +11 -0
- package/templates/ice-web-screen/src/pages/404.tsx +17 -0
- package/templates/ice-web-screen/src/pages/index.tsx +3 -0
- package/templates/ice-web-screen/src/pages/template/16_9/index.tsx +13 -0
- package/templates/ice-web-screen/src/pages/template/16_9/style.module.less +7 -0
- package/templates/ice-web-screen/src/pages/template/components/charts/demo-line/index.tsx +274 -0
- package/templates/ice-web-screen/src/pages/template/components/charts/index.ts +1 -0
- package/templates/ice-web-screen/src/pages/template/components/index.ts +1 -0
- package/templates/ice-web-screen/src/pages/template/controller/index.tsx +85 -0
- package/templates/ice-web-screen/src/pages/template/index.tsx +15 -0
- package/templates/ice-web-screen/src/pages/template/style.module.less +3 -0
- package/templates/ice-web-screen/src/routes.ts +29 -0
- package/templates/ice-web-screen/src/styles/vars.less +5 -0
- package/templates/ice-web-screen/src/types/user.d.ts +3 -0
- package/templates/ice-web-screen/tsconfig.json +3 -0
- package/templates/ice-web-screen/typings.d.ts +1 -0
- package/templates/miniprogram/.eslintrc +1 -1
- package/templates/miniprogram/.gitignore.tpl +8 -10
- package/templates/miniprogram/.npmrc.tpl +2 -0
- package/templates/miniprogram/.prettierignore +5 -1
- package/templates/miniprogram/.prettierrc.js +1 -0
- package/templates/miniprogram/README.md.tpl +2 -2
- package/templates/miniprogram/global.d.ts +1 -33
- package/templates/miniprogram/package.json.tpl +6 -2
- package/templates/miniprogram/src/pages/demo/examples/Input.tsx +11 -2
- package/templates/miniprogram/src/pages/demo/{index.module.scss → style.scss} +0 -0
- package/templates/miniprogram/src/pages/index/index.tsx +3 -1
- package/templates/miniprogram/src/pages/index/{index.module.scss → style.scss} +0 -0
- package/templates/umi-mobile/.eslintrc +1 -1
- package/templates/umi-mobile/.gitignore.tpl +8 -5
- package/templates/umi-mobile/.npmrc.tpl +2 -0
- package/templates/umi-mobile/.prettierignore +6 -2
- package/templates/umi-mobile/.prettierrc.js +1 -0
- package/templates/umi-mobile/.umirc.ts.tpl +2 -1
- package/templates/umi-mobile/README.md.tpl +2 -2
- package/templates/umi-mobile/package.json.tpl +5 -0
- package/templates/umi-mobile/src/app.tsx +1 -1
- package/templates/umi-mobile/src/pages/demo/examples/Input.tsx +1 -2
- package/templates/umi-mobile/src/pages/demo/examples/List/4.tsx +2 -2
- package/templates/umi-mobile/src/pages/demo/examples/NumberInput/1.tsx +1 -2
- package/templates/umi-mobile/src/pages/demo/examples/NumberInput/2.tsx +1 -2
- package/templates/umi-mobile/src/pages/demo/examples/NumberInput/3.tsx +1 -2
- package/templates/umi-mobile/src/pages/demo/examples/NumberInput/4.tsx +1 -2
- package/templates/umi-mobile-h5+app/.eslintrc +6 -0
- package/templates/umi-mobile-h5+app/.gitignore.tpl +37 -0
- package/templates/umi-mobile-h5+app/.npmrc.tpl +2 -0
- package/templates/umi-mobile-h5+app/.prettierignore +12 -0
- package/templates/umi-mobile-h5+app/.prettierrc.js +1 -0
- package/templates/umi-mobile-h5+app/.stylelintrc +3 -0
- package/templates/umi-mobile-h5+app/.umirc.ts.tpl +8 -0
- package/templates/umi-mobile-h5+app/LICENSE +21 -0
- package/templates/umi-mobile-h5+app/README.md.tpl +34 -0
- package/templates/umi-mobile-h5+app/h5+app/manifest.json +87 -0
- package/templates/umi-mobile-h5+app/package.json.tpl +16 -0
- package/templates/umi-mobile-h5+app/public/favicon.ico +0 -0
- package/templates/umi-mobile-h5+app/src/app.tsx +19 -0
- package/templates/umi-mobile-h5+app/src/common/request.ts +3 -0
- package/templates/umi-mobile-h5+app/src/common/util.ts +7 -0
- package/templates/umi-mobile-h5+app/src/components/index.ts +0 -0
- package/templates/umi-mobile-h5+app/src/global.less +3 -0
- package/templates/umi-mobile-h5+app/src/layouts/index.tsx +3 -0
- package/templates/umi-mobile-h5+app/src/pages/404.tsx +10 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/BarCode.tsx +4 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/Iconfont.tsx +18 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/Input.tsx +16 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/List/1.tsx +12 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/List/2.tsx +29 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/List/3.tsx +29 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/List/4.tsx +55 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/List/mock.ts +30 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/Loading.tsx +12 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/NumberInput/1.tsx +16 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/NumberInput/2.tsx +16 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/NumberInput/3.tsx +16 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/NumberInput/4.tsx +16 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/PagingList/1.tsx +6 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/QrCode.tsx +4 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/Required.tsx +4 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/TimerButton.tsx +4 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/examples/usePreload.tsx +9 -0
- package/templates/umi-mobile-h5+app/src/pages/demo/index.tsx +87 -0
- package/templates/umi-mobile-h5+app/src/pages/index.tsx +3 -0
- package/templates/umi-mobile-h5+app/src/types/user.d.ts +3 -0
- package/templates/umi-mobile-h5+app/tsconfig.json +3 -0
- package/templates/umi-mobile-h5+app/typings.d.ts +1 -0
- package/templates/umi-mobile-native/.eslintrc +6 -0
- package/templates/umi-mobile-native/.gitignore.tpl +42 -0
- package/templates/umi-mobile-native/.npmrc.tpl +2 -0
- package/templates/umi-mobile-native/.prettierignore +12 -0
- package/templates/umi-mobile-native/.prettierrc.js +1 -0
- package/templates/umi-mobile-native/.stylelintrc +3 -0
- package/templates/umi-mobile-native/.umirc.ts.tpl +10 -0
- package/templates/umi-mobile-native/LICENSE +21 -0
- package/templates/umi-mobile-native/README.md.tpl +34 -0
- package/templates/umi-mobile-native/android/app/6209ba977ffec7d62675a4e254ebc209.keystore +0 -0
- package/templates/umi-mobile-native/android/app/build.gradle +66 -0
- package/templates/umi-mobile-native/android/app/libs/Bluetooth-release.aar +0 -0
- package/templates/umi-mobile-native/android/app/libs/PosPrinterSDK.jar +0 -0
- package/templates/umi-mobile-native/android/app/libs/android-gif-drawable-release@1.2.23.aar +0 -0
- package/templates/umi-mobile-native/android/app/libs/lib.5plus.base-release.aar +0 -0
- package/templates/umi-mobile-native/android/app/libs/oaid_sdk_1.0.25.aar +0 -0
- package/templates/umi-mobile-native/android/app/libs/webview-x5-release.aar +0 -0
- package/templates/umi-mobile-native/android/app/proguard-rules.pro +303 -0
- package/templates/umi-mobile-native/android/app/src/main/AndroidManifest.xml +98 -0
- package/templates/umi-mobile-native/android/app/src/main/assets/apps/H5ECA1DEE/www/manifest.json +89 -0
- package/templates/umi-mobile-native/android/app/src/main/assets/data/dcloud_control.xml +6 -0
- package/templates/umi-mobile-native/android/app/src/main/assets/data/dcloud_error.html +92 -0
- package/templates/umi-mobile-native/android/app/src/main/assets/data/dcloud_properties.xml +19 -0
- package/templates/umi-mobile-native/android/app/src/main/java/plus/H5ECA1DEE/JSBridge/FunctionCreator.java +119 -0
- package/templates/umi-mobile-native/android/app/src/main/java/plus/H5ECA1DEE/MPandoraEntryActivity.java +17 -0
- package/templates/umi-mobile-native/android/app/src/main/java/plus/H5ECA1DEE/Xprinter/FunctionFactory/Creator.java +17 -0
- package/templates/umi-mobile-native/android/app/src/main/java/plus/H5ECA1DEE/Xprinter/FunctionFactory/Error.java +26 -0
- package/templates/umi-mobile-native/android/app/src/main/java/plus/H5ECA1DEE/Xprinter/JSPlugin.java +265 -0
- package/templates/umi-mobile-native/android/app/src/main/res/drawable/icon.png +0 -0
- package/templates/umi-mobile-native/android/app/src/main/res/values/colors.xml +5 -0
- package/templates/umi-mobile-native/android/app/src/main/res/values/strings.xml +3 -0
- package/templates/umi-mobile-native/android/build.gradle +9 -0
- package/templates/umi-mobile-native/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/templates/umi-mobile-native/android/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/templates/umi-mobile-native/android/gradle.properties +22 -0
- package/templates/umi-mobile-native/android/gradlew +185 -0
- package/templates/umi-mobile-native/android/gradlew.bat +89 -0
- package/templates/umi-mobile-native/android/settings.gradle +16 -0
- package/templates/umi-mobile-native/ios/HBuilder/HBuilder.entitlements +5 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/1024x1024.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/120x120-1.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/120x120.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/180x180.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/40x40.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/58x58.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/60x60.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/80x80.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/87x87.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/AppIcon.appiconset/Contents.json +62 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/Contents.json +6 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/Image.imageset/Contents.json +20 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/app.imageset/120x120.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/app.imageset/180x180.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/app.imageset/60x60.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/app.imageset/Contents.json +26 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/control_brightness.imageset/Contents.json +21 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/control_brightness.imageset/brightness@2x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/exitfullscreen.imageset/Contents.json +22 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/exitfullscreen.imageset/shrinkscreen@2x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/exitfullscreen.imageset/shrinkscreen@3x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/exposure_slider_max.imageset/Contents.json +22 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/exposure_slider_max.imageset//346/233/235/345/205/211-1.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/exposure_slider_max.imageset//346/233/235/345/205/211.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/focus_border.imageset/Contents.json +22 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/focus_border.imageset//345/257/271/347/204/246/346/241/206-1.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/focus_border.imageset//345/257/271/347/204/246/346/241/206.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/focus_slider_line.imageset/Contents.json +21 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/focus_slider_line.imageset//345/257/271/347/204/246/347/272/277.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/focus_slider_thumb.imageset/Contents.json +22 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/focus_slider_thumb.imageset//345/257/271/347/204/246/345/272/225-1.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/focus_slider_thumb.imageset//345/257/271/347/204/246/345/272/225.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/full-screen.imageset/Contents.json +22 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/full-screen.imageset/fullscreen@2x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/full-screen.imageset/fullscreen@3x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/play.imageset/Contents.json +23 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/play.imageset/play.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/play.imageset/play@2x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/play.imageset/play@3x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/player_back.imageset/Contents.json +23 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/player_back.imageset/player_back.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/player_back.imageset/player_back@2x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/player_back.imageset/player_back@3x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/player_play.imageset/Contents.json +23 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/player_play.imageset/play.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/player_play.imageset/play@2x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/player_play.imageset/play@3x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/player_stop.imageset/Contents.json +23 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/player_stop.imageset/player-stop.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/player_stop.imageset/player-stop@2x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/player_stop.imageset/player-stop@3x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/video_ic_muteoff.imageset/Contents.json +22 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/video_ic_muteoff.imageset/video_ic_muteoff@2x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/video_ic_muteoff.imageset/video_ic_muteoff@3x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/video_ic_muteon.imageset/Contents.json +22 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/video_ic_muteon.imageset/video_ic_muteon@2x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/video_ic_muteon.imageset/video_ic_muteon@3x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/video_volume.imageset/Contents.json +22 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/video_volume.imageset/video_volume@2x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder/Images.xcassets/video_volume.imageset/video_volume@3x.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/120x120.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/180x180.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/AppDelegate.h +16 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/AppDelegate.m +225 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Base.lproj/LaunchScreen.storyboard +65 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/English.lproj/Localizable.strings +13 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/HBuilder-Hello-Info.plist +486 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/HBuilder-Hello-Prefix.pch +16 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/LaunchScreen.storyboard +67 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/manifest.json +79 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/1024x1024.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/120x120.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/144x144.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/152x152.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/167x167.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/180x180.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/192x192.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/20x20.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/29x29.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/40x40.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/58x58.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/60x60.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/72x72.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/76x76.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/80x80.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/87x87.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Pandora/apps/H5ECA1DEE/www/unpackage/res/icons/96x96.png +0 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/ViewController.h +19 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/ViewController.m +161 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Xprinter.h +19 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/Xprinter.m +235 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/control.xml +107 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/en.lproj/InfoPlist.strings +4 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/en.lproj/Localizable.strings +12 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/main.m +18 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/zh-Hans.lproj/InfoPlist.strings +4 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/zh-Hans.lproj/LaunchScreen.strings +3 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello/zh-Hans.lproj/Localizable.strings +13 -0
- package/templates/umi-mobile-native/ios/HBuilder-Hello.xcodeproj/project.pbxproj +1607 -0
- package/templates/umi-mobile-native/package.json.tpl +16 -0
- package/templates/umi-mobile-native/public/favicon.ico +0 -0
- package/templates/umi-mobile-native/src/app.tsx +19 -0
- package/templates/umi-mobile-native/src/common/Xprinter.ts +58 -0
- package/templates/umi-mobile-native/src/common/bluetooth.ts +354 -0
- package/templates/umi-mobile-native/src/common/bridge.ts +59 -0
- package/templates/umi-mobile-native/src/common/request.ts +3 -0
- package/templates/umi-mobile-native/src/common/util.ts +7 -0
- package/templates/umi-mobile-native/src/components/index.ts +0 -0
- package/templates/umi-mobile-native/src/global.less +3 -0
- package/templates/umi-mobile-native/src/images/head.png +0 -0
- package/templates/umi-mobile-native/src/layouts/index.tsx +3 -0
- package/templates/umi-mobile-native/src/pages/404.tsx +10 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/BarCode.tsx +4 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/Iconfont.tsx +18 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/Input.tsx +16 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/List/1.tsx +12 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/List/2.tsx +29 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/List/3.tsx +29 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/List/4.tsx +55 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/List/mock.ts +30 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/Loading.tsx +12 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/NumberInput/1.tsx +16 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/NumberInput/2.tsx +16 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/NumberInput/3.tsx +16 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/NumberInput/4.tsx +16 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/PagingList/1.tsx +6 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/QrCode.tsx +4 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/Required.tsx +4 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/TimerButton.tsx +4 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/Xprinter/index.tsx +64 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/Xprinter/style.less +16 -0
- package/templates/umi-mobile-native/src/pages/demo/examples/usePreload.tsx +9 -0
- package/templates/umi-mobile-native/src/pages/demo/index.tsx +89 -0
- package/templates/umi-mobile-native/src/pages/index.tsx +9 -0
- package/templates/umi-mobile-native/src/pages/style.less +6 -0
- package/templates/umi-mobile-native/src/types/user.d.ts +3 -0
- package/templates/umi-mobile-native/tsconfig.json +3 -0
- package/templates/umi-mobile-native/typings.d.ts +1 -0
- package/templates/umi-web/.eslintrc +1 -1
- package/templates/umi-web/.gitignore.tpl +8 -5
- package/templates/umi-web/.npmrc.tpl +2 -0
- package/templates/umi-web/.prettierignore +6 -2
- package/templates/umi-web/.prettierrc.js +1 -0
- package/templates/umi-web/.umirc.ts.tpl +1 -1
- package/templates/umi-web/README.md.tpl +1 -1
- package/templates/umi-web/package.json.tpl +5 -0
- package/templates/umi-web/src/app.tsx +1 -1
- package/templates/umi-web/src/pages/demo/examples/BankInput.tsx +1 -2
- package/templates/umi-web/src/pages/demo/examples/Grid/5.tsx +1 -2
- package/templates/umi-web/src/pages/demo/examples/Input/2.tsx +2 -1
- package/templates/umi-web/src/pages/demo/examples/RangeNumber/2.tsx +1 -2
- package/templates/umi-web/src/pages/demo/examples/SearchLayout.tsx +2 -2
- package/templates/umi-web/src/pages/demo/examples/Wrapper.tsx +1 -1
- package/templates/umi-web-screen/.eslintrc +6 -0
- package/templates/umi-web-screen/.gitignore.tpl +37 -0
- package/templates/umi-web-screen/.npmrc.tpl +2 -0
- package/templates/umi-web-screen/.prettierignore +12 -0
- package/templates/umi-web-screen/.prettierrc.js +1 -0
- package/templates/umi-web-screen/.stylelintrc +3 -0
- package/templates/umi-web-screen/.umirc.ts.tpl +8 -0
- package/templates/umi-web-screen/LICENSE +21 -0
- package/templates/umi-web-screen/README.md.tpl +34 -0
- package/templates/umi-web-screen/package.json.tpl +17 -0
- package/templates/umi-web-screen/public/favicon.ico +0 -0
- package/templates/umi-web-screen/src/app.tsx +19 -0
- package/templates/umi-web-screen/src/common/request.ts +3 -0
- package/templates/umi-web-screen/src/common/util.ts +15 -0
- package/templates/umi-web-screen/src/components/index.ts +1 -0
- package/templates/umi-web-screen/src/components/resize-container/index.tsx +95 -0
- package/templates/umi-web-screen/src/components/resize-container/style.less +3 -0
- package/templates/umi-web-screen/src/constants.ts +7 -0
- package/templates/umi-web-screen/src/global.less +28 -0
- package/templates/umi-web-screen/src/hooks/use-size.ts +18 -0
- package/templates/umi-web-screen/src/layouts/16_9/fixed.less +16 -0
- package/templates/umi-web-screen/src/layouts/16_9/index.tsx +30 -0
- package/templates/umi-web-screen/src/layouts/16_9/style.less +17 -0
- package/templates/umi-web-screen/src/layouts/components/index.ts +0 -0
- package/templates/umi-web-screen/src/layouts/controller/index.tsx +79 -0
- package/templates/umi-web-screen/src/layouts/index.tsx +11 -0
- package/templates/umi-web-screen/src/pages/404.tsx +17 -0
- package/templates/umi-web-screen/src/pages/index.tsx +3 -0
- package/templates/umi-web-screen/src/pages/template/16_9/index.tsx +13 -0
- package/templates/umi-web-screen/src/pages/template/16_9/style.less +7 -0
- package/templates/umi-web-screen/src/pages/template/components/charts/demo-line/index.tsx +274 -0
- package/templates/umi-web-screen/src/pages/template/components/charts/index.ts +1 -0
- package/templates/umi-web-screen/src/pages/template/components/index.ts +1 -0
- package/templates/umi-web-screen/src/pages/template/controller/index.tsx +85 -0
- package/templates/umi-web-screen/src/pages/template/index.tsx +15 -0
- package/templates/umi-web-screen/src/pages/template/style.less +3 -0
- package/templates/umi-web-screen/src/styles/vars.less +5 -0
- package/templates/umi-web-screen/src/types/user.d.ts +3 -0
- package/templates/umi-web-screen/tsconfig.json +3 -0
- package/templates/umi-web-screen/typings.d.ts +1 -0
- package/templates/ice-mobile/.prettierrc +0 -11
- package/templates/ice-web/.eslintcache +0 -1
- package/templates/ice-web/.prettierrc +0 -11
- package/templates/miniprogram/.editorconfig +0 -12
- package/templates/miniprogram/.prettierrc +0 -12
- package/templates/miniprogram/src/pages/demo/index.module.scss.d.ts +0 -5
- package/templates/miniprogram/src/pages/index/index.module.scss.d.ts +0 -5
- package/templates/umi-mobile/.prettierrc +0 -11
- package/templates/umi-web/.prettierrc +0 -11
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
import _ from 'lodash';
|
|
4
|
+
|
|
5
|
+
import { Tabs, Collapse } from 'antd-mobile';
|
|
6
|
+
|
|
7
|
+
import BarCode from './examples/BarCode';
|
|
8
|
+
import Iconfont from './examples/Iconfont';
|
|
9
|
+
import Input from './examples/Input';
|
|
10
|
+
import List_1 from './examples/List/1';
|
|
11
|
+
import List_2 from './examples/List/2';
|
|
12
|
+
import List_3 from './examples/List/3';
|
|
13
|
+
import List_4 from './examples/List/4';
|
|
14
|
+
import Loading from './examples/Loading';
|
|
15
|
+
import NumberInput_1 from './examples/NumberInput/1';
|
|
16
|
+
import NumberInput_2 from './examples/NumberInput/2';
|
|
17
|
+
import NumberInput_3 from './examples/NumberInput/3';
|
|
18
|
+
import NumberInput_4 from './examples/NumberInput/4';
|
|
19
|
+
import PagingList_1 from './examples/PagingList/1';
|
|
20
|
+
import QrCode from './examples/QrCode';
|
|
21
|
+
import Required from './examples/Required';
|
|
22
|
+
import TimerButton from './examples/TimerButton';
|
|
23
|
+
import usePreload from './examples/usePreload';
|
|
24
|
+
|
|
25
|
+
const { Tab } = Tabs;
|
|
26
|
+
const { Panel } = Collapse;
|
|
27
|
+
|
|
28
|
+
const tabs: Record<
|
|
29
|
+
string,
|
|
30
|
+
React.FunctionComponent | Record<string, React.FunctionComponent>
|
|
31
|
+
> = {
|
|
32
|
+
BarCode,
|
|
33
|
+
Iconfont,
|
|
34
|
+
Input,
|
|
35
|
+
List: { List_1, List_2, List_3, List_4 },
|
|
36
|
+
Loading,
|
|
37
|
+
NumberInput: {
|
|
38
|
+
NumberInput_1,
|
|
39
|
+
NumberInput_2,
|
|
40
|
+
NumberInput_3,
|
|
41
|
+
NumberInput_4,
|
|
42
|
+
},
|
|
43
|
+
PagingList: {
|
|
44
|
+
PagingList_1,
|
|
45
|
+
},
|
|
46
|
+
QrCode,
|
|
47
|
+
Required,
|
|
48
|
+
TimerButton,
|
|
49
|
+
usePreload,
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export default () => {
|
|
53
|
+
const keys = Object.keys(tabs);
|
|
54
|
+
return (
|
|
55
|
+
<Tabs defaultActiveKey={keys[0]}>
|
|
56
|
+
{keys.map((key) => {
|
|
57
|
+
const tab = tabs[key];
|
|
58
|
+
if (_.isFunction(tab)) {
|
|
59
|
+
return (
|
|
60
|
+
<Tab key={key} title={key}>
|
|
61
|
+
{React.createElement(tab)}
|
|
62
|
+
</Tab>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
if (_.isObject(tab)) {
|
|
66
|
+
const keys2 = Object.keys(tab);
|
|
67
|
+
return (
|
|
68
|
+
<Tab key={key} title={key}>
|
|
69
|
+
<Collapse accordion defaultActiveKey={keys2[0]}>
|
|
70
|
+
{keys2.map((key2) => {
|
|
71
|
+
const tab2 = tab[key2];
|
|
72
|
+
return (
|
|
73
|
+
<Panel key={key2} title={key2}>
|
|
74
|
+
{React.createElement(tab2)}
|
|
75
|
+
</Panel>
|
|
76
|
+
);
|
|
77
|
+
})}
|
|
78
|
+
</Collapse>
|
|
79
|
+
</Tab>
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
})}
|
|
83
|
+
</Tabs>
|
|
84
|
+
);
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
// export default () => <PagingList_1 />;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@umijs/max/typings';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
2
|
+
|
|
3
|
+
# dependencies
|
|
4
|
+
node_modules/
|
|
5
|
+
npm-debug.log*
|
|
6
|
+
npm-error.log*
|
|
7
|
+
package-lock.json
|
|
8
|
+
yarn.lock
|
|
9
|
+
yarn-debug.log*
|
|
10
|
+
yarn-error.log*
|
|
11
|
+
pnpm-lock.yaml
|
|
12
|
+
|
|
13
|
+
# production
|
|
14
|
+
/dist
|
|
15
|
+
/build
|
|
16
|
+
|
|
17
|
+
# misc
|
|
18
|
+
.DS_Store
|
|
19
|
+
|
|
20
|
+
# umi
|
|
21
|
+
/src/.umi
|
|
22
|
+
/src/.umi-production
|
|
23
|
+
/src/.umi-test
|
|
24
|
+
/.env.local
|
|
25
|
+
coverage
|
|
26
|
+
.eslintcache
|
|
27
|
+
.stylelintcache
|
|
28
|
+
*less.d.ts*
|
|
29
|
+
*scss.d.ts*
|
|
30
|
+
.mfsu*
|
|
31
|
+
|
|
32
|
+
# ide
|
|
33
|
+
.vscode
|
|
34
|
+
|
|
35
|
+
# h5+app
|
|
36
|
+
/h5+app/unpackage/cache
|
|
37
|
+
/h5+app/unpackage/release
|
|
38
|
+
|
|
39
|
+
# HBuilder IOS SDK
|
|
40
|
+
/SDK
|
|
41
|
+
# XPrint打印机 IOS SDK
|
|
42
|
+
/XYSDK
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('@baic/yolk-cli/lib/.prettierrc');
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Baic
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# web
|
|
2
|
+
|
|
3
|
+
## Getting Started
|
|
4
|
+
|
|
5
|
+
Install dependencies,
|
|
6
|
+
|
|
7
|
+
{{ #dependenciesInstallType }}
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
$ {{ dependenciesInstallType }} install
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
{{ /dependenciesInstallType }}
|
|
14
|
+
{{ ^dependenciesInstallType }}
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
$ pnpm install
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
{{ /dependenciesInstallType }}
|
|
21
|
+
|
|
22
|
+
Start the dev server,
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
$ npm start
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Build,
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
$ npm run build
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[查阅文档](https://303394539.github.io/yolk-docs/)
|
|
Binary file
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
plugins {
|
|
2
|
+
id 'com.android.application'
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
android {
|
|
6
|
+
compileSdk 31
|
|
7
|
+
|
|
8
|
+
defaultConfig {
|
|
9
|
+
applicationId "plus.H5ECA1DEE"
|
|
10
|
+
minSdk 21
|
|
11
|
+
targetSdk 25
|
|
12
|
+
versionCode 100
|
|
13
|
+
versionName '1.0.0'
|
|
14
|
+
multiDexEnabled true
|
|
15
|
+
ndk {
|
|
16
|
+
abiFilters 'armeabi-v7a'
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
signingConfigs {
|
|
21
|
+
config {
|
|
22
|
+
keyAlias 'h5eca1dee'
|
|
23
|
+
keyPassword 'lqAo5D7Q'
|
|
24
|
+
storeFile file('6209ba977ffec7d62675a4e254ebc209.keystore')
|
|
25
|
+
storePassword 'lqAo5D7Q'
|
|
26
|
+
v1SigningEnabled true //兼容v1
|
|
27
|
+
v2SigningEnabled true //兼容v2
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
buildTypes {
|
|
32
|
+
debug {
|
|
33
|
+
signingConfig signingConfigs.config
|
|
34
|
+
}
|
|
35
|
+
release {
|
|
36
|
+
signingConfig signingConfigs.config
|
|
37
|
+
zipAlignEnabled true
|
|
38
|
+
minifyEnabled true
|
|
39
|
+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
android.applicationVariants.all {
|
|
44
|
+
variant ->
|
|
45
|
+
variant.outputs.all {
|
|
46
|
+
outputFileName = "${variant.name}-${new Date().format("YYYYMMddHHmmss")}.apk"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
compileOptions {
|
|
51
|
+
sourceCompatibility JavaVersion.VERSION_1_8
|
|
52
|
+
targetCompatibility JavaVersion.VERSION_1_8
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
dependencies {
|
|
57
|
+
// base
|
|
58
|
+
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
|
|
59
|
+
implementation 'androidx.appcompat:appcompat:1.3.0'
|
|
60
|
+
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
61
|
+
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
|
62
|
+
implementation 'com.facebook.fresco:fresco:2.6.0'
|
|
63
|
+
implementation 'com.facebook.fresco:animated-gif:2.6.0'
|
|
64
|
+
implementation 'com.github.bumptech.glide:glide:4.13.1'
|
|
65
|
+
implementation 'com.alibaba:fastjson:1.1.46.android'
|
|
66
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
-dontwarn
|
|
2
|
+
-optimizationpasses 5
|
|
3
|
+
-dontusemixedcaseclassnames
|
|
4
|
+
-dontskipnonpubliclibraryclasses
|
|
5
|
+
-dontskipnonpubliclibraryclassmembers
|
|
6
|
+
-dontpreverify
|
|
7
|
+
-verbose
|
|
8
|
+
|
|
9
|
+
#-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
|
|
10
|
+
-dontoptimize
|
|
11
|
+
|
|
12
|
+
-keep public class * extends android.app.Activity
|
|
13
|
+
-keep public class * extends android.app.Application
|
|
14
|
+
-keep public class * extends android.app.Service
|
|
15
|
+
-keep public class * extends android.content.BroadcastReceiver
|
|
16
|
+
-keep public class * extends android.content.ContentProvider
|
|
17
|
+
-keep public class * extends android.app.backup.BackupAgentHelper
|
|
18
|
+
-keep public class * extends android.preference.Preference
|
|
19
|
+
-keep public class * extends io.dcloud.common.DHInterface.IPlugin
|
|
20
|
+
-keep public class * extends io.dcloud.common.DHInterface.IFeature
|
|
21
|
+
-keep public class * extends io.dcloud.common.DHInterface.IBoot
|
|
22
|
+
-keep public class * extends io.dcloud.common.DHInterface.IReflectAble
|
|
23
|
+
|
|
24
|
+
-keep class io.dcloud.** {*;}
|
|
25
|
+
-dontwarn io.dcloud.**
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
-keep class vi.com.gdi.** {*;}
|
|
29
|
+
-keep class android.support.v4.** {*;}
|
|
30
|
+
|
|
31
|
+
-keepclasseswithmembers class io.dcloud.appstream.StreamAppManager {
|
|
32
|
+
public protected <methods>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
-keep public class * extends io.dcloud.common.DHInterface.IReflectAble{
|
|
36
|
+
public protected <methods>;
|
|
37
|
+
public protected *;
|
|
38
|
+
}
|
|
39
|
+
-keep class **.R
|
|
40
|
+
-keep class **.R$* {
|
|
41
|
+
public static <fields>;
|
|
42
|
+
}
|
|
43
|
+
-keep public class * extends io.dcloud.common.DHInterface.IJsInterface{
|
|
44
|
+
public protected <methods>;
|
|
45
|
+
public protected *;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
-keepclasseswithmembers class io.dcloud.EntryProxy {
|
|
49
|
+
<methods>;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
-keep class * implements android.os.IInterface {
|
|
53
|
+
<methods>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
-keepclasseswithmembers class *{
|
|
57
|
+
public static java.lang.String getJsContent();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
-keepclasseswithmembers class *{
|
|
61
|
+
public static io.dcloud.share.AbsWebviewClient getWebviewClient(io.dcloud.share.ShareAuthorizeView);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
-keepattributes Exceptions,InnerClasses,Signature,Deprecated, SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
|
|
65
|
+
|
|
66
|
+
-keepclasseswithmembers class * {
|
|
67
|
+
public <init>(android.content.Context, android.util.AttributeSet);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
-keepclasseswithmembers class * {
|
|
71
|
+
public <init>(android.content.Context, android.util.AttributeSet, int);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
-keep public class * extends android.app.Application{
|
|
75
|
+
public static <methods>;
|
|
76
|
+
public *;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
-keepclassmembers class * extends android.app.Activity {
|
|
80
|
+
public void *(android.view.View);
|
|
81
|
+
public static <methods>;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
-keepclassmembers enum * {
|
|
85
|
+
public static **[] values();
|
|
86
|
+
public static ** valueOf(java.lang.String);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
-keep class * implements android.os.Parcelable {
|
|
90
|
+
public static final android.os.Parcelable$Creator *;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
-keep class dc.** {*;}
|
|
94
|
+
-keep class okio.**{*;}
|
|
95
|
+
-keep class org.apache.** {*;}
|
|
96
|
+
-keep class org.json.** {*;}
|
|
97
|
+
-keep class net.ossrs.** {*;}
|
|
98
|
+
-keep class android.** {*;}
|
|
99
|
+
-keep class com.facebook.**{*;}
|
|
100
|
+
-keep class com.bumptech.glide.**{*;}
|
|
101
|
+
-keep class com.alibaba.fastjson.**{*;}
|
|
102
|
+
-keep class com.sina.**{*;}
|
|
103
|
+
-keep class com.weibo.ssosdk.**{*;}
|
|
104
|
+
-keep class com.asus.**{*;}
|
|
105
|
+
-keep class com.bun.**{*;}
|
|
106
|
+
-keep class com.heytap.**{*;}
|
|
107
|
+
-keep class com.huawei.**{*;}
|
|
108
|
+
-keep class com.netease.**{*;}
|
|
109
|
+
-keep class com.meizu.**{*;}
|
|
110
|
+
-keep class com.samsung.**{*;}
|
|
111
|
+
-keep class com.zui.**{*;}
|
|
112
|
+
-keep class com.amap.**{*;}
|
|
113
|
+
-keep class com.autonavi.**{*;}
|
|
114
|
+
-keep class pl.droidsonroids.gif.**{*;}
|
|
115
|
+
-keep class com.tencent.**{*;}
|
|
116
|
+
-keep class com.baidu.**{*;}
|
|
117
|
+
-keep class com.iflytek.**{*;}
|
|
118
|
+
-keep class com.umeng.**{*;}
|
|
119
|
+
-keep class tv.**{*;}
|
|
120
|
+
-keep class master.**{*;}
|
|
121
|
+
-keep class uk.co.**{*;}
|
|
122
|
+
-keep class com.dmcbig.**{*;}
|
|
123
|
+
-keep class org.mozilla.**{*;}
|
|
124
|
+
-keep class androidtranscoder.**{*;}
|
|
125
|
+
-keep class XI.**{*;}
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
-dontwarn android.**
|
|
129
|
+
-dontwarn com.tencent.**
|
|
130
|
+
|
|
131
|
+
-keep class * implements com.taobao.weex.IWXObject{*;}
|
|
132
|
+
-keep public class * extends com.taobao.weex.common.WXModule{*;}
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
-keepattributes Signature
|
|
136
|
+
|
|
137
|
+
-dontwarn org.codehaus.mojo.**
|
|
138
|
+
-dontwarn org.apache.commons.**
|
|
139
|
+
-dontwarn com.amap.**
|
|
140
|
+
-dontwarn com.sina.weibo.sdk.**
|
|
141
|
+
-dontwarn com.alipay.**
|
|
142
|
+
-dontwarn com.lucan.ajtools.**
|
|
143
|
+
-dontwarn pl.droidsonroids.gif.**
|
|
144
|
+
|
|
145
|
+
-keep class com.taobao.weex.** { *; }
|
|
146
|
+
-keep class com.taobao.gcanvas.**{*;}
|
|
147
|
+
-dontwarn com.taobao.weex.**
|
|
148
|
+
-dontwarn com.taobao.gcanvas.**
|
|
149
|
+
|
|
150
|
+
#个推
|
|
151
|
+
-dontwarn com.igexin.**
|
|
152
|
+
-keep class com.igexin.** { *; }
|
|
153
|
+
-keep class org.json.** { *; }
|
|
154
|
+
-dontwarn com.getui.**
|
|
155
|
+
-keep class com.getui.** { *; }
|
|
156
|
+
|
|
157
|
+
-keep class android.support.v4.app.NotificationCompat { *; }
|
|
158
|
+
-keep class android.support.v4.app.NotificationCompat$Builder { *; }
|
|
159
|
+
#魅族
|
|
160
|
+
-keep class com.meizu.** { *; }
|
|
161
|
+
-dontwarn com.meizu.**
|
|
162
|
+
#小米
|
|
163
|
+
-keep class com.xiaomi.** { *; }
|
|
164
|
+
-dontwarn com.xiaomi.push.**
|
|
165
|
+
-keep class org.apache.thrift.** { *; }
|
|
166
|
+
#华为
|
|
167
|
+
-dontwarn com.huawei.hms.**
|
|
168
|
+
-keep class com.huawei.hms.** { *; }
|
|
169
|
+
|
|
170
|
+
-keep class com.huawei.android.** { *; }
|
|
171
|
+
-dontwarn com.huawei.android.**
|
|
172
|
+
|
|
173
|
+
-keep class com.hianalytics.android.** { *; }
|
|
174
|
+
-dontwarn com.hianalytics.android.**
|
|
175
|
+
|
|
176
|
+
-keep class com.huawei.updatesdk.** { *; }
|
|
177
|
+
-dontwarn com.huawei.updatesdk.**
|
|
178
|
+
#OPPO
|
|
179
|
+
-keep class com.coloros.mcssdk.** { *; }
|
|
180
|
+
-dontwarn com.coloros.mcssdk.**
|
|
181
|
+
|
|
182
|
+
#360聚合广告核心包
|
|
183
|
+
-keep class com.ak.** {*;}
|
|
184
|
+
-dontwarn com.ak.**
|
|
185
|
+
-keep class android.support.v4.** {
|
|
186
|
+
public *;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
#广点通SDK
|
|
190
|
+
-keep class com.qq.e.** {
|
|
191
|
+
public protected *;
|
|
192
|
+
}
|
|
193
|
+
-keep class android.support.v7.**{
|
|
194
|
+
public *;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
#穿山甲SDK
|
|
198
|
+
-keep class com.bytedance.sdk.openadsdk.** { *; }
|
|
199
|
+
-dontwarn com.bytedance.sdk.openadsdk.**
|
|
200
|
+
-keep class com.androidquery.callback.** {*;}
|
|
201
|
+
-keep public interface com.bytedance.sdk.openadsdk.downloadnew.** {*;}
|
|
202
|
+
-keep class com.ss.sys.ces.* {*;}
|
|
203
|
+
|
|
204
|
+
#快手
|
|
205
|
+
-keep class org.chromium.** {*;}
|
|
206
|
+
-keep class org.chromium.** {*;}
|
|
207
|
+
-keep class aegon.chrome.** {*;}
|
|
208
|
+
-keep class com.kwai.**{*;}
|
|
209
|
+
-keep class com.kwad.**{*;}
|
|
210
|
+
-keepclasseswithmembernames class * {
|
|
211
|
+
native <methods>;
|
|
212
|
+
}
|
|
213
|
+
-dontwarn com.kwai.**
|
|
214
|
+
-dontwarn com.kwad.**
|
|
215
|
+
-dontwarn com.ksad.**
|
|
216
|
+
-dontwarn aegon.chrome.**
|
|
217
|
+
|
|
218
|
+
#一键登录
|
|
219
|
+
-dontwarn com.g.gysdk.**
|
|
220
|
+
-keep class com.g.gysdk.**{*;}
|
|
221
|
+
-dontwarn com.g.elogin.**
|
|
222
|
+
-keep class com.g.elogin.**{*;}
|
|
223
|
+
-dontwarn com.cmic.sso.sdk.**
|
|
224
|
+
-keep class com.cmic.sso.sdk.** {*;}
|
|
225
|
+
-dontwarn com.geetest.onelogin.**
|
|
226
|
+
-keep class com.geetest.onelogin.** {*;}
|
|
227
|
+
-dontwarn com.geetest.onepassv2.**
|
|
228
|
+
-keep class com.geetest.onepassv2.** {*;}
|
|
229
|
+
-dontwarn com.unicom.xiaowo.login.**
|
|
230
|
+
-keep class com.unicom.xiaowo.login.** {*;}
|
|
231
|
+
-dontwarn cn.com.chinatelecom.account.api.**
|
|
232
|
+
-keep class cn.com.chinatelecom.account.api.** {*;}
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
#腾讯X5--------------start-----------------------
|
|
237
|
+
-dontwarn dalvik.**
|
|
238
|
+
-dontwarn com.tencent.smtt.**
|
|
239
|
+
#-overloadaggressively
|
|
240
|
+
# ------------------ Keep LineNumbers and properties ---------------- #
|
|
241
|
+
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
|
|
242
|
+
# --------------------------------------------------------------------------
|
|
243
|
+
# Addidional for x5.sdk classes for apps
|
|
244
|
+
-keep class com.tencent.smtt.export.external.**{*;}
|
|
245
|
+
-keep class com.tencent.tbs.video.interfaces.IUserStateChangedListener {*;}
|
|
246
|
+
-keep class com.tencent.smtt.sdk.CacheManager {public *;}
|
|
247
|
+
-keep class com.tencent.smtt.sdk.CookieManager {public *;}
|
|
248
|
+
-keep class com.tencent.smtt.sdk.WebHistoryItem {public *;}
|
|
249
|
+
-keep class com.tencent.smtt.sdk.WebViewDatabase {public *;}
|
|
250
|
+
-keep class com.tencent.smtt.sdk.WebBackForwardList {public *;}
|
|
251
|
+
-keep public class com.tencent.smtt.sdk.WebView {public <fields>;public <methods>;}
|
|
252
|
+
-keep public class com.tencent.smtt.sdk.WebView$HitTestResult {public static final <fields>;public java.lang.String getExtra();public int getType();}
|
|
253
|
+
-keep public class com.tencent.smtt.sdk.WebView$WebViewTransport {public <methods>;}
|
|
254
|
+
-keep public class com.tencent.smtt.sdk.WebView$PictureListener {public <fields>;public <methods>;}
|
|
255
|
+
-keepattributes InnerClasses
|
|
256
|
+
-keep public enum com.tencent.smtt.sdk.WebSettings$** {*;}
|
|
257
|
+
-keep public enum com.tencent.smtt.sdk.QbSdk$** {*;}
|
|
258
|
+
-keep public class com.tencent.smtt.sdk.WebSettings {public *;}
|
|
259
|
+
|
|
260
|
+
-keepattributes Signature
|
|
261
|
+
-keep public class com.tencent.smtt.sdk.ValueCallback {public <fields>;public <methods>;}
|
|
262
|
+
-keep public class com.tencent.smtt.sdk.WebViewClient {public <fields>;public <methods>;}
|
|
263
|
+
-keep public class com.tencent.smtt.sdk.DownloadListener {public <fields>;public <methods>;}
|
|
264
|
+
-keep public class com.tencent.smtt.sdk.WebChromeClient {public <fields>;public <methods>;}
|
|
265
|
+
-keep public class com.tencent.smtt.sdk.WebChromeClient$FileChooserParams {public <fields>;public <methods>;}
|
|
266
|
+
-keep class com.tencent.smtt.sdk.SystemWebChromeClient{public *;}
|
|
267
|
+
# 1. extension interfaces should be apparent
|
|
268
|
+
-keep public class com.tencent.smtt.export.external.extension.interfaces.* {public protected *;}
|
|
269
|
+
|
|
270
|
+
# 2. interfaces should be apparent
|
|
271
|
+
-keep public class com.tencent.smtt.export.external.interfaces.* {public protected *;}
|
|
272
|
+
-keep public class com.tencent.smtt.sdk.WebViewCallbackClient {public protected *;}
|
|
273
|
+
-keep public class com.tencent.smtt.sdk.WebStorage$QuotaUpdater {public <fields>;public <methods>;}
|
|
274
|
+
-keep public class com.tencent.smtt.sdk.WebIconDatabase {public <fields>;public <methods>;}
|
|
275
|
+
-keep public class com.tencent.smtt.sdk.WebStorage {public <fields>;public <methods>;}
|
|
276
|
+
-keep public class com.tencent.smtt.sdk.DownloadListener {public <fields>;public <methods>;}
|
|
277
|
+
-keep public class com.tencent.smtt.sdk.QbSdk {public <fields>;public <methods>;}
|
|
278
|
+
-keep public class com.tencent.smtt.sdk.QbSdk$PreInitCallback {public <fields>;public <methods>;}
|
|
279
|
+
-keep public class com.tencent.smtt.sdk.CookieSyncManager {public <fields>;public <methods>;}
|
|
280
|
+
-keep public class com.tencent.smtt.sdk.Tbs* {public <fields>;public <methods>;}
|
|
281
|
+
-keep public class com.tencent.smtt.utils.LogFileUtils {public <fields>;public <methods>;}
|
|
282
|
+
-keep public class com.tencent.smtt.utils.TbsLog {public <fields>;public <methods>;}
|
|
283
|
+
-keep public class com.tencent.smtt.utils.TbsLogClient {public <fields>;public <methods>;}
|
|
284
|
+
-keep public class com.tencent.smtt.sdk.CookieSyncManager {public <fields>;public <methods>;}
|
|
285
|
+
# Added for game demos
|
|
286
|
+
-keep public class com.tencent.smtt.sdk.TBSGamePlayer {public <fields>;public <methods>;}
|
|
287
|
+
-keep public class com.tencent.smtt.sdk.TBSGamePlayerClient* {public <fields>;public <methods>;}
|
|
288
|
+
-keep public class com.tencent.smtt.sdk.TBSGamePlayerClientExtension {public <fields>;public <methods>;}
|
|
289
|
+
-keep public class com.tencent.smtt.sdk.TBSGamePlayerService* {public <fields>;public <methods>;}
|
|
290
|
+
-keep public class com.tencent.smtt.utils.Apn {public <fields>;public <methods>;}
|
|
291
|
+
-keep class com.tencent.smtt.** {*;}
|
|
292
|
+
# end
|
|
293
|
+
-keep public class com.tencent.smtt.export.external.extension.proxy.ProxyWebViewClientExtension {public <fields>;public <methods>;}
|
|
294
|
+
-keep class MTT.ThirdAppInfoNew {*;}
|
|
295
|
+
-keep class com.tencent.mtt.MttTraceEvent {*;}
|
|
296
|
+
# Game related
|
|
297
|
+
-keep public class com.tencent.smtt.gamesdk.* {public protected *;}
|
|
298
|
+
-keep public class com.tencent.smtt.sdk.TBSGameBooter {public <fields>;public <methods>;}
|
|
299
|
+
-keep public class com.tencent.smtt.sdk.TBSGameBaseActivity {public protected *;}
|
|
300
|
+
-keep public class com.tencent.smtt.sdk.TBSGameBaseActivityProxy {public protected *;}
|
|
301
|
+
-keep public class com.tencent.smtt.gamesdk.internal.TBSGameServiceClient {public *;}
|
|
302
|
+
#腾讯X5--------------end-----------------------
|
|
303
|
+
|