Browse Source

去除oh_modules

chendeben 1 year ago
parent
commit
8743868734
100 changed files with 49 additions and 2646 deletions
  1. 0 6
      entry/oh_modules/@tencent/wechat_open_sdk/.idea/vcs.xml
  2. 0 38
      entry/oh_modules/@tencent/wechat_open_sdk/.idea/workspace.xml
  3. 0 17
      entry/oh_modules/@tencent/wechat_open_sdk/BuildProfile.ets
  4. 0 3
      entry/oh_modules/@tencent/wechat_open_sdk/CHANGELOG.md
  5. 0 11
      entry/oh_modules/@tencent/wechat_open_sdk/Index.ets
  6. 0 373
      entry/oh_modules/@tencent/wechat_open_sdk/LICENSE
  7. 0 5
      entry/oh_modules/@tencent/wechat_open_sdk/README.md
  8. 0 28
      entry/oh_modules/@tencent/wechat_open_sdk/build-profile.json5
  9. 0 0
      entry/oh_modules/@tencent/wechat_open_sdk/consumer-rules.txt
  10. 0 6
      entry/oh_modules/@tencent/wechat_open_sdk/hvigorfile.ts
  11. 0 18
      entry/oh_modules/@tencent/wechat_open_sdk/obfuscation-rules.txt
  12. 0 1
      entry/oh_modules/@tencent/wechat_open_sdk/oh-package.json5
  13. 0 195
      entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/diff_dev_oauth/DiffDevOAuth.ets
  14. 0 48
      entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/log/Log.ets
  15. 0 63
      entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/Base.ets
  16. 0 13
      entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/Constants.ets
  17. 0 135
      entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/Pay.ets
  18. 0 74
      entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/SendAuth.ets
  19. 0 27
      entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/SendTdiAuth.ets
  20. 0 137
      entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/message/SendMessageToWX.ets
  21. 0 34
      entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/message/WXImageObject.ets
  22. 0 16
      entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/message/WXMediaObjectFactory.ets
  23. 0 21
      entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/message/WXTextObject.ets
  24. 0 226
      entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/open_api/WXAPIFactory.ets
  25. 0 34
      entry/oh_modules/@tencent/wechat_open_sdk/src/main/module.json
  26. 0 1
      entry/oh_modules/libentry.so/Index.d.ts
  27. 0 6
      entry/oh_modules/libentry.so/oh-package.json5
  28. 0 12
      lib/src/main/ets/LyricController.ets
  29. 3 10
      lib/src/main/ets/bean/LyricLine.ts
  30. 12 18
      lib/src/main/ets/parse/LyricParser.ts
  31. 34 97
      lib/src/main/ets/view/LyricView2.ets
  32. 0 24
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/BuildProfile.d.ets
  33. 0 22
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/Index.d.ets
  34. 0 75
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/ResourceTable.txt
  35. BIN
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/ets/modules.abc
  36. 0 13
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/include/BlueShield/BlueShieldExports.h
  37. 0 70
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/include/BlueShield/BlueShieldManager.h
  38. 0 152
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/include/BlueShield/TrustedTerminalInterface.h
  39. BIN
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/libs/arm64-v8a/libblueshield.so
  40. 0 0
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/obfuscation.txt
  41. 0 1
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/oh-package.json5
  42. 0 14
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/cpp/types/libblueshield/index.d.ts
  43. 0 6
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/cpp/types/libblueshield/oh-package.json5
  44. 0 27
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/BlueShieldManager.d.ets
  45. 0 13
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/apdid/APDIDModule.d.ets
  46. 0 78
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/apdid/IAPDIDModule.d.ets
  47. 0 7
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/apdid/network/APDIDNetworkUtil.d.ets
  48. 0 10
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/CollectArgs.d.ets
  49. 0 15
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/CollectBase.d.ets
  50. 0 6
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/Index.d.ets
  51. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/application/HA1_AppName.d.ets
  52. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/application/HA2_AppVersion.d.ets
  53. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/application/HA3_SdkName.d.ets
  54. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/application/HA4_SdkVersion.d.ets
  55. 0 5
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/application/Index.d.ets
  56. 0 10
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/customize/HC1_Tid.d.ets
  57. 0 10
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/customize/HC2_Utdid.d.ets
  58. 0 13
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/customize/HC4_RandomStr.d.ets
  59. 0 10
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/customize/HC5_UserId.d.ets
  60. 0 6
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/customize/Index.d.ets
  61. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD10_Udid.d.ets
  62. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD12_CpuCount.d.ets
  63. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD13_CpuFrequency.d.ets
  64. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD14_Memory.d.ets
  65. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD15_DataPathSize.d.ets
  66. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD16_StoragePathSize.d.ets
  67. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD17_LocalDeviceId.d.ets
  68. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD19_NetworkType.d.ets
  69. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD301_SG.d.ets
  70. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD302_DeviceAuth.d.ets
  71. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD303_SysIntegrity.d.ets
  72. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD304_SecureLocation.d.ets
  73. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD305_MicScreenStatus.d.ets
  74. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD37_Timezone.d.ets
  75. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD38_Language.d.ets
  76. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD3_SensorListDigest.d.ets
  77. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD4_Oaid.d.ets
  78. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD5_Aaid.d.ets
  79. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD6_ScreenWidth.d.ets
  80. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD7_ScreenHeight.d.ets
  81. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD8_MacAddress.d.ets
  82. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD9_SimIccid.d.ets
  83. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HL3_WifiMac.d.ets
  84. 0 6
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/Index.d.ets
  85. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE10_ProductModel.d.ets
  86. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE11_MarketName.d.ets
  87. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE12_OsFullName.d.ets
  88. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE13_SdkApiVersion.d.ets
  89. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE14_BuildRootHash.d.ets
  90. 0 10
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE18_ReportReason.d.ets
  91. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE1_OS.d.ets
  92. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE4_HardwareModel.d.ets
  93. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE5_Brand.d.ets
  94. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE7_DisplayVersion.d.ets
  95. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE8_IncrementalVersion.d.ets
  96. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE9_Manufacture.d.ets
  97. 0 6
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/Index.d.ets
  98. 0 9
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/common/CDNDownloader.d.ets
  99. 0 8
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/common/ConfigService.d.ets
  100. 0 5
      oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/common/EnvService.d.ets

+ 0 - 6
entry/oh_modules/@tencent/wechat_open_sdk/.idea/vcs.xml

@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="VcsDirectoryMappings">
-    <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
-  </component>
-</project>

+ 0 - 38
entry/oh_modules/@tencent/wechat_open_sdk/.idea/workspace.xml

@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="ChangeListManager">
-    <list default="true" id="66199fb3-49b9-4e28-a7d7-1d3209894eff" name="Changes" comment="">
-      <change afterPath="$PROJECT_DIR$/../demo/src/main/ets/pages/SendMessage.ets" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../build-profile.json5" beforeDir="false" afterPath="$PROJECT_DIR$/../build-profile.json5" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../demo/oh-package-lock.json5" beforeDir="false" afterPath="$PROJECT_DIR$/../demo/oh-package-lock.json5" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../demo/oh-package.json5" beforeDir="false" afterPath="$PROJECT_DIR$/../demo/oh-package.json5" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../demo/src/main/ets/pages/Index.ets" beforeDir="false" afterPath="$PROJECT_DIR$/../demo/src/main/ets/pages/Index.ets" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../demo/src/main/ets/pages/Pay.ets" beforeDir="false" afterPath="$PROJECT_DIR$/../demo/src/main/ets/pages/Pay.ets" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/Index.ets" beforeDir="false" afterPath="$PROJECT_DIR$/Index.ets" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/main/ets/model/message/SendMessageToWX.ets" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/ets/model/message/SendMessageToWX.ets" afterDir="false" />
-    </list>
-    <option name="SHOW_DIALOG" value="false" />
-    <option name="HIGHLIGHT_CONFLICTS" value="true" />
-    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
-    <option name="LAST_RESOLUTION" value="IGNORE" />
-  </component>
-  <component name="Git.Settings">
-    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
-  </component>
-  <component name="ProjectColorInfo"><![CDATA[{
-  "associatedIndex": 2
-}]]></component>
-  <component name="ProjectId" id="2mYlAcsQbZsQtscC4TTsT8YLvyC" />
-  <component name="ProjectViewState">
-    <option name="hideEmptyMiddlePackages" value="true" />
-    <option name="showLibraryContents" value="true" />
-  </component>
-  <component name="PropertiesComponent"><![CDATA[{
-  "keyToString": {
-    "RunOnceActivity.OpenProjectViewOnStart": "true",
-    "RunOnceActivity.ShowReadmeOnStart": "true",
-    "last_opened_file_path": "/Users/kingyuluk/Developer/wechat_openapi_ohos_sdk/sdk"
-  }
-}]]></component>
-  <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
-</project>

+ 0 - 17
entry/oh_modules/@tencent/wechat_open_sdk/BuildProfile.ets

@@ -1,17 +0,0 @@
-/**
- * Use these variables when you tailor your ArkTS code. They must be of the const type.
- */
-export const HAR_VERSION = '1.0.0';
-export const BUILD_MODE_NAME = 'debug';
-export const DEBUG = true;
-export const TARGET_NAME = 'default';
-
-/**
- * BuildProfile Class is used only for compatibility purposes.
- */
-export default class BuildProfile { 
-	static readonly HAR_VERSION = HAR_VERSION;
-	static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
-	static readonly DEBUG = DEBUG;
-	static readonly TARGET_NAME = TARGET_NAME;
-}

+ 0 - 3
entry/oh_modules/@tencent/wechat_open_sdk/CHANGELOG.md

@@ -1,3 +0,0 @@
-# 1.0.0
-
-init WeChat OpenSDK

+ 0 - 11
entry/oh_modules/@tencent/wechat_open_sdk/Index.ets

@@ -1,11 +0,0 @@
-export * from './src/main/ets/open_api/WXAPIFactory'
-export * from './src/main/ets/model/Base'
-export * from './src/main/ets/model/SendAuth'
-export * from './src/main/ets/model/SendTdiAuth'
-export * from './src/main/ets/model/Pay'
-export * from './src/main/ets/model/message/SendMessageToWX'
-export * from './src/main/ets/model/message/WXImageObject'
-export * from './src/main/ets/model/message/WXTextObject'
-export * from './src/main/ets/diff_dev_oauth/DiffDevOAuth'
-export * from './src/main/ets/log/Log'
-export { Command } from './src/main/ets/model/Constants'

+ 0 - 373
entry/oh_modules/@tencent/wechat_open_sdk/LICENSE

@@ -1,373 +0,0 @@
-Mozilla Public License Version 2.0
-==================================
-
-1. Definitions
---------------
-
-1.1. "Contributor"
-    means each individual or legal entity that creates, contributes to
-    the creation of, or owns Covered Software.
-
-1.2. "Contributor Version"
-    means the combination of the Contributions of others (if any) used
-    by a Contributor and that particular Contributor's Contribution.
-
-1.3. "Contribution"
-    means Covered Software of a particular Contributor.
-
-1.4. "Covered Software"
-    means Source Code Form to which the initial Contributor has attached
-    the notice in Exhibit A, the Executable Form of such Source Code
-    Form, and Modifications of such Source Code Form, in each case
-    including portions thereof.
-
-1.5. "Incompatible With Secondary Licenses"
-    means
-
-    (a) that the initial Contributor has attached the notice described
-        in Exhibit B to the Covered Software; or
-
-    (b) that the Covered Software was made available under the terms of
-        version 1.1 or earlier of the License, but not also under the
-        terms of a Secondary License.
-
-1.6. "Executable Form"
-    means any form of the work other than Source Code Form.
-
-1.7. "Larger Work"
-    means a work that combines Covered Software with other material, in
-    a separate file or files, that is not Covered Software.
-
-1.8. "License"
-    means this document.
-
-1.9. "Licensable"
-    means having the right to grant, to the maximum extent possible,
-    whether at the time of the initial grant or subsequently, any and
-    all of the rights conveyed by this License.
-
-1.10. "Modifications"
-    means any of the following:
-
-    (a) any file in Source Code Form that results from an addition to,
-        deletion from, or modification of the contents of Covered
-        Software; or
-
-    (b) any new file in Source Code Form that contains any Covered
-        Software.
-
-1.11. "Patent Claims" of a Contributor
-    means any patent claim(s), including without limitation, method,
-    process, and apparatus claims, in any patent Licensable by such
-    Contributor that would be infringed, but for the grant of the
-    License, by the making, using, selling, offering for sale, having
-    made, import, or transfer of either its Contributions or its
-    Contributor Version.
-
-1.12. "Secondary License"
-    means either the GNU General Public License, Version 2.0, the GNU
-    Lesser General Public License, Version 2.1, the GNU Affero General
-    Public License, Version 3.0, or any later versions of those
-    licenses.
-
-1.13. "Source Code Form"
-    means the form of the work preferred for making modifications.
-
-1.14. "You" (or "Your")
-    means an individual or a legal entity exercising rights under this
-    License. For legal entities, "You" includes any entity that
-    controls, is controlled by, or is under common control with You. For
-    purposes of this definition, "control" means (a) the power, direct
-    or indirect, to cause the direction or management of such entity,
-    whether by contract or otherwise, or (b) ownership of more than
-    fifty percent (50%) of the outstanding shares or beneficial
-    ownership of such entity.
-
-2. License Grants and Conditions
---------------------------------
-
-2.1. Grants
-
-Each Contributor hereby grants You a world-wide, royalty-free,
-non-exclusive license:
-
-(a) under intellectual property rights (other than patent or trademark)
-    Licensable by such Contributor to use, reproduce, make available,
-    modify, display, perform, distribute, and otherwise exploit its
-    Contributions, either on an unmodified basis, with Modifications, or
-    as part of a Larger Work; and
-
-(b) under Patent Claims of such Contributor to make, use, sell, offer
-    for sale, have made, import, and otherwise transfer either its
-    Contributions or its Contributor Version.
-
-2.2. Effective Date
-
-The licenses granted in Section 2.1 with respect to any Contribution
-become effective for each Contribution on the date the Contributor first
-distributes such Contribution.
-
-2.3. Limitations on Grant Scope
-
-The licenses granted in this Section 2 are the only rights granted under
-this License. No additional rights or licenses will be implied from the
-distribution or licensing of Covered Software under this License.
-Notwithstanding Section 2.1(b) above, no patent license is granted by a
-Contributor:
-
-(a) for any code that a Contributor has removed from Covered Software;
-    or
-
-(b) for infringements caused by: (i) Your and any other third party's
-    modifications of Covered Software, or (ii) the combination of its
-    Contributions with other software (except as part of its Contributor
-    Version); or
-
-(c) under Patent Claims infringed by Covered Software in the absence of
-    its Contributions.
-
-This License does not grant any rights in the trademarks, service marks,
-or logos of any Contributor (except as may be necessary to comply with
-the notice requirements in Section 3.4).
-
-2.4. Subsequent Licenses
-
-No Contributor makes additional grants as a result of Your choice to
-distribute the Covered Software under a subsequent version of this
-License (see Section 10.2) or under the terms of a Secondary License (if
-permitted under the terms of Section 3.3).
-
-2.5. Representation
-
-Each Contributor represents that the Contributor believes its
-Contributions are its original creation(s) or it has sufficient rights
-to grant the rights to its Contributions conveyed by this License.
-
-2.6. Fair Use
-
-This License is not intended to limit any rights You have under
-applicable copyright doctrines of fair use, fair dealing, or other
-equivalents.
-
-2.7. Conditions
-
-Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
-in Section 2.1.
-
-3. Responsibilities
--------------------
-
-3.1. Distribution of Source Form
-
-All distribution of Covered Software in Source Code Form, including any
-Modifications that You create or to which You contribute, must be under
-the terms of this License. You must inform recipients that the Source
-Code Form of the Covered Software is governed by the terms of this
-License, and how they can obtain a copy of this License. You may not
-attempt to alter or restrict the recipients' rights in the Source Code
-Form.
-
-3.2. Distribution of Executable Form
-
-If You distribute Covered Software in Executable Form then:
-
-(a) such Covered Software must also be made available in Source Code
-    Form, as described in Section 3.1, and You must inform recipients of
-    the Executable Form how they can obtain a copy of such Source Code
-    Form by reasonable means in a timely manner, at a charge no more
-    than the cost of distribution to the recipient; and
-
-(b) You may distribute such Executable Form under the terms of this
-    License, or sublicense it under different terms, provided that the
-    license for the Executable Form does not attempt to limit or alter
-    the recipients' rights in the Source Code Form under this License.
-
-3.3. Distribution of a Larger Work
-
-You may create and distribute a Larger Work under terms of Your choice,
-provided that You also comply with the requirements of this License for
-the Covered Software. If the Larger Work is a combination of Covered
-Software with a work governed by one or more Secondary Licenses, and the
-Covered Software is not Incompatible With Secondary Licenses, this
-License permits You to additionally distribute such Covered Software
-under the terms of such Secondary License(s), so that the recipient of
-the Larger Work may, at their option, further distribute the Covered
-Software under the terms of either this License or such Secondary
-License(s).
-
-3.4. Notices
-
-You may not remove or alter the substance of any license notices
-(including copyright notices, patent notices, disclaimers of warranty,
-or limitations of liability) contained within the Source Code Form of
-the Covered Software, except that You may alter any license notices to
-the extent required to remedy known factual inaccuracies.
-
-3.5. Application of Additional Terms
-
-You may choose to offer, and to charge a fee for, warranty, support,
-indemnity or liability obligations to one or more recipients of Covered
-Software. However, You may do so only on Your own behalf, and not on
-behalf of any Contributor. You must make it absolutely clear that any
-such warranty, support, indemnity, or liability obligation is offered by
-You alone, and You hereby agree to indemnify every Contributor for any
-liability incurred by such Contributor as a result of warranty, support,
-indemnity or liability terms You offer. You may include additional
-disclaimers of warranty and limitations of liability specific to any
-jurisdiction.
-
-4. Inability to Comply Due to Statute or Regulation
----------------------------------------------------
-
-If it is impossible for You to comply with any of the terms of this
-License with respect to some or all of the Covered Software due to
-statute, judicial order, or regulation then You must: (a) comply with
-the terms of this License to the maximum extent possible; and (b)
-describe the limitations and the code they affect. Such description must
-be placed in a text file included with all distributions of the Covered
-Software under this License. Except to the extent prohibited by statute
-or regulation, such description must be sufficiently detailed for a
-recipient of ordinary skill to be able to understand it.
-
-5. Termination
---------------
-
-5.1. The rights granted under this License will terminate automatically
-if You fail to comply with any of its terms. However, if You become
-compliant, then the rights granted under this License from a particular
-Contributor are reinstated (a) provisionally, unless and until such
-Contributor explicitly and finally terminates Your grants, and (b) on an
-ongoing basis, if such Contributor fails to notify You of the
-non-compliance by some reasonable means prior to 60 days after You have
-come back into compliance. Moreover, Your grants from a particular
-Contributor are reinstated on an ongoing basis if such Contributor
-notifies You of the non-compliance by some reasonable means, this is the
-first time You have received notice of non-compliance with this License
-from such Contributor, and You become compliant prior to 30 days after
-Your receipt of the notice.
-
-5.2. If You initiate litigation against any entity by asserting a patent
-infringement claim (excluding declaratory judgment actions,
-counter-claims, and cross-claims) alleging that a Contributor Version
-directly or indirectly infringes any patent, then the rights granted to
-You by any and all Contributors for the Covered Software under Section
-2.1 of this License shall terminate.
-
-5.3. In the event of termination under Sections 5.1 or 5.2 above, all
-end user license agreements (excluding distributors and resellers) which
-have been validly granted by You or Your distributors under this License
-prior to termination shall survive termination.
-
-************************************************************************
-*                                                                      *
-*  6. Disclaimer of Warranty                                           *
-*  -------------------------                                           *
-*                                                                      *
-*  Covered Software is provided under this License on an "as is"       *
-*  basis, without warranty of any kind, either expressed, implied, or  *
-*  statutory, including, without limitation, warranties that the       *
-*  Covered Software is free of defects, merchantable, fit for a        *
-*  particular purpose or non-infringing. The entire risk as to the     *
-*  quality and performance of the Covered Software is with You.        *
-*  Should any Covered Software prove defective in any respect, You     *
-*  (not any Contributor) assume the cost of any necessary servicing,   *
-*  repair, or correction. This disclaimer of warranty constitutes an   *
-*  essential part of this License. No use of any Covered Software is   *
-*  authorized under this License except under this disclaimer.         *
-*                                                                      *
-************************************************************************
-
-************************************************************************
-*                                                                      *
-*  7. Limitation of Liability                                          *
-*  --------------------------                                          *
-*                                                                      *
-*  Under no circumstances and under no legal theory, whether tort      *
-*  (including negligence), contract, or otherwise, shall any           *
-*  Contributor, or anyone who distributes Covered Software as          *
-*  permitted above, be liable to You for any direct, indirect,         *
-*  special, incidental, or consequential damages of any character      *
-*  including, without limitation, damages for lost profits, loss of    *
-*  goodwill, work stoppage, computer failure or malfunction, or any    *
-*  and all other commercial damages or losses, even if such party      *
-*  shall have been informed of the possibility of such damages. This   *
-*  limitation of liability shall not apply to liability for death or   *
-*  personal injury resulting from such party's negligence to the       *
-*  extent applicable law prohibits such limitation. Some               *
-*  jurisdictions do not allow the exclusion or limitation of           *
-*  incidental or consequential damages, so this exclusion and          *
-*  limitation may not apply to You.                                    *
-*                                                                      *
-************************************************************************
-
-8. Litigation
--------------
-
-Any litigation relating to this License may be brought only in the
-courts of a jurisdiction where the defendant maintains its principal
-place of business and such litigation shall be governed by laws of that
-jurisdiction, without reference to its conflict-of-law provisions.
-Nothing in this Section shall prevent a party's ability to bring
-cross-claims or counter-claims.
-
-9. Miscellaneous
-----------------
-
-This License represents the complete agreement concerning the subject
-matter hereof. If any provision of this License is held to be
-unenforceable, such provision shall be reformed only to the extent
-necessary to make it enforceable. Any law or regulation which provides
-that the language of a contract shall be construed against the drafter
-shall not be used to construe this License against a Contributor.
-
-10. Versions of the License
----------------------------
-
-10.1. New Versions
-
-Mozilla Foundation is the license steward. Except as provided in Section
-10.3, no one other than the license steward has the right to modify or
-publish new versions of this License. Each version will be given a
-distinguishing version number.
-
-10.2. Effect of New Versions
-
-You may distribute the Covered Software under the terms of the version
-of the License under which You originally received the Covered Software,
-or under the terms of any subsequent version published by the license
-steward.
-
-10.3. Modified Versions
-
-If you create software not governed by this License, and you want to
-create a new license for such software, you may create and use a
-modified version of this License if you rename the license and remove
-any references to the name of the license steward (except to note that
-such modified license differs from this License).
-
-10.4. Distributing Source Code Form that is Incompatible With Secondary
-Licenses
-
-If You choose to distribute Source Code Form that is Incompatible With
-Secondary Licenses under the terms of this version of the License, the
-notice described in Exhibit B of this License must be attached.
-
-Exhibit A - Source Code Form License Notice
--------------------------------------------
-
-  This Source Code Form is subject to the terms of the Mozilla Public
-  License, v. 2.0. If a copy of the MPL was not distributed with this
-  file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-If it is not possible or desirable to put the notice in a particular
-file, then You may include the notice in a location (such as a LICENSE
-file in a relevant directory) where a recipient would be likely to look
-for such a notice.
-
-You may add additional accurate notices of copyright ownership.
-
-Exhibit B - "Incompatible With Secondary Licenses" Notice
----------------------------------------------------------
-
-  This Source Code Form is "Incompatible With Secondary Licenses", as
-  defined by the Mozilla Public License, v. 2.0.

+ 0 - 5
entry/oh_modules/@tencent/wechat_open_sdk/README.md

@@ -1,5 +0,0 @@
-# 微信 OpenSDK
-
-接入微信开放平台,让你的移动应用支持微信分享、微信收藏和微信支付
-
-接入流程请参考[微信开放平台](https://open.weixin.qq.com)。

+ 0 - 28
entry/oh_modules/@tencent/wechat_open_sdk/build-profile.json5

@@ -1,28 +0,0 @@
-{
-  "apiType": "stageMode",
-  "buildOption": {
-  },
-  "buildOptionSet": [
-    {
-      "name": "release",
-      "arkOptions": {
-        "obfuscation": {
-          "ruleOptions": {
-            "enable": true,
-            "files": [
-              "./obfuscation-rules.txt"
-            ]
-          },
-          "consumerFiles": [
-            "./consumer-rules.txt"
-          ]
-        }
-      },
-    },
-  ],
-  "targets": [
-    {
-      "name": "default"
-    }
-  ]
-}

+ 0 - 0
entry/oh_modules/@tencent/wechat_open_sdk/consumer-rules.txt


+ 0 - 6
entry/oh_modules/@tencent/wechat_open_sdk/hvigorfile.ts

@@ -1,6 +0,0 @@
-import { harTasks } from '@ohos/hvigor-ohos-plugin';
-
-export default {
-    system: harTasks,  /* Built-in plugin of Hvigor. It cannot be modified. */
-    plugins:[]         /* Custom plugin to extend the functionality of Hvigor. */
-}

+ 0 - 18
entry/oh_modules/@tencent/wechat_open_sdk/obfuscation-rules.txt

@@ -1,18 +0,0 @@
-# Define project specific obfuscation rules here.
-# You can include the obfuscation configuration files in the current module's build-profile.json5.
-#
-# For more details, see
-#   https://gitee.com/openharmony/arkcompiler_ets_frontend/blob/master/arkguard/README.md
-
-# Obfuscation options:
-# -disable-obfuscation: disable all obfuscations
-# -enable-property-obfuscation: obfuscate the property names
-# -enable-toplevel-obfuscation: obfuscate the names in the global scope
-# -compact: remove unnecessary blank spaces and all line feeds
-# -remove-log: remove all console.* statements
-# -print-namecache: print the name cache that contains the mapping from the old names to new names
-# -apply-namecache: reuse the given cache file
-
-# Keep options:
-# -keep-property-name: specifies property names that you want to keep
-# -keep-global-name: specifies names that you want to keep in the global scope

+ 0 - 1
entry/oh_modules/@tencent/wechat_open_sdk/oh-package.json5

@@ -1 +0,0 @@
-{"name":"@tencent/wechat_open_sdk","version":"1.0.0","description":"Tencent WeChat OpenSDK","main":"Index.ets","author":"wechatohos","license":"MPL-2.0","dependencies":{},"metadata":{"sourceRoots":["./src/main"]},"compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":false}

+ 0 - 195
entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/diff_dev_oauth/DiffDevOAuth.ets

@@ -1,195 +0,0 @@
-import { http } from '@kit.NetworkKit'
-import { Log } from '../log/Log'
-
-const kTag = 'wxopensdk::DiffDevOAuth'
-
-export enum OAuthErrCode {
-  WechatAuth_Err_OK = 0,
-  WechatAuth_Err_NormalErr = -1,
-  WechatAuth_Err_NetworkErr = -2,
-  WechatAuth_Err_JsonDecodeErr = -3,
-  WechatAuth_Err_Cancel = -4,
-  WechatAuth_Err_Timeout = -5,
-  WechatAuth_Err_Auth_Stopped = -6,
-  WechatAuth_Err_Param_Err = -7
-}
-
-export interface OAuthCallback {
-  onGotQRCode: (base64JpegImageBuffer: string) => void
-  onQRCodeScanned: () => void
-  onAuthFinish: (authCode: string) => void
-  onAuthError: (errCode: OAuthErrCode, errMsg: string) => void
-}
-
-export interface IDiffDevOAuth {
-  /**
-   * 发起OAuth
-   *
-   * @param appId 待授权appid
-   * @param scope 权限
-   * @param noncestr
-   * @param timestamp
-   * @param signature
-   * @return 是否成功发起OAuth
-   */
-  startOAuth(appId: string, scope: string, noncestr: string, timestamp: string, signature: string, callback: OAuthCallback): void
-
-  stopOAuth(): void
-}
-
-export class DiffDevOAuthFactory {
-  public static readonly VERSION_1 = 1
-  /**
-   * 最大支持的IDiffDevOAuth实现版本
-   */
-  public static readonly MAX_SUPPORTED_VERSION = DiffDevOAuthFactory.VERSION_1
-
-  private constructor() {
-  }
-
-  /**
-   * 获取IDiffDevOAuth指定版本的实现
-   *
-   * @param version
-   */
-  public static getDiffDevOAuth(version: number = DiffDevOAuthFactory.MAX_SUPPORTED_VERSION): IDiffDevOAuth | null {
-    if (version > DiffDevOAuthFactory.MAX_SUPPORTED_VERSION) {
-      return null
-    }
-
-    switch (version) {
-      case DiffDevOAuthFactory.VERSION_1:
-        return new DiffDevOAuthImplV1()
-
-      default:
-        return null
-    }
-  }
-}
-
-enum UUIDStatusCodeEnum {
-  UUID_EXPIRED = 402,
-  UUID_CANCELED = 403,
-  UUID_SCANNED = 404,
-  UUID_CONFIRM = 405,
-  UUID_KEEP_CONNECT = 408,
-  UUID_SERVER_ERROR = 500
-}
-
-class DiffDevOAuthImplV1 implements IDiffDevOAuth {
-  private started: boolean = false
-  private callback: OAuthCallback | null = null
-  private isCanceled: boolean = false
-  private lastUUIDStatusCode: number = 0
-
-  startOAuth(appId: string, scope: string, noncestr: string, timestamp: string, signature: string, callback: OAuthCallback) {
-    this.callback = callback
-    this.startOAuthInner(appId, scope, noncestr, timestamp, signature)
-  }
-
-  private async startOAuthInner(appId: string, scope: string, noncestr: string, timestamp: string, signature: string) {
-    if (this.started) {
-      this.callback?.onAuthError(OAuthErrCode.WechatAuth_Err_Auth_Stopped, 'OAuth is already started')
-      return
-    }
-    this.started = true
-    if (appId.length === 0 || scope.length === 0) {
-      this.callback?.onAuthError(OAuthErrCode.WechatAuth_Err_Param_Err, 'appId or scope is empty')
-      return
-    }
-    const url = `https://open.weixin.qq.com/connect/sdk/qrconnect?appid=${appId}&noncestr=${noncestr}&timestamp=${timestamp}&scope=${scope}&signature=${signature}`
-    const httpRequest = http.createHttp()
-    try {
-      const response = await httpRequest.request(url)
-      const data = response.result as string
-      if (data.length === 0) {
-        this.callback?.onAuthError(OAuthErrCode.WechatAuth_Err_NetworkErr, 'response data is empty')
-        return
-      }
-      const qrResponse: Record<string, Object> = JSON.parse(data)
-      if (qrResponse['errcode'] !== 0) {
-        this.callback?.onAuthError(OAuthErrCode.WechatAuth_Err_NormalErr, `response errcode: ${qrResponse["errcode"]} errmsg: ${qrResponse["errmsg"]}`)
-        return
-      }
-      const uuid = qrResponse['uuid'] as string
-      if (uuid.length === 0) {
-        this.callback?.onAuthError(OAuthErrCode.WechatAuth_Err_JsonDecodeErr, 'uuid is empty')
-        return
-      }
-      const qrCodeBase64Record = qrResponse.qrcode as Record<string, Object>
-      const qrCodeBase64 = qrCodeBase64Record['qrcodebase64'] as string
-      const qrCodeLength = qrCodeBase64Record['qrcodelength'] as number
-      if (qrCodeBase64.length === 0 || qrCodeLength === 0) {
-        this.callback?.onAuthError(OAuthErrCode.WechatAuth_Err_JsonDecodeErr, 'qrcodebase64 or qrcodelength is empty')
-        return
-      }
-      this.callback?.onGotQRCode(qrCodeBase64)
-      this.startLongPolling(uuid)
-    } catch (e) {
-      this.callback?.onAuthError(OAuthErrCode.WechatAuth_Err_NetworkErr, e.message)
-    }
-  }
-
-  private async startLongPolling(uuid: string) {
-    if (uuid.length === 0) {
-      this.callback?.onAuthError(OAuthErrCode.WechatAuth_Err_NormalErr, 'uuid is empty')
-      return
-    }
-    while (!this.isCanceled) {
-      let url = `https://long.open.weixin.qq.com/connect/l/qrconnect?f=json&uuid=${uuid}`
-      if (this.lastUUIDStatusCode !== 0) {
-        url += `&last=${this.lastUUIDStatusCode}`
-      }
-      const httpRequest = http.createHttp()
-      const response = await httpRequest.request(url)
-      const data = response.result as string
-      if (data.length === 0) {
-        this.callback?.onAuthError(OAuthErrCode.WechatAuth_Err_NetworkErr, 'response data is empty')
-        return
-      }
-      const pollingResponse: Record<string, Object> = JSON.parse(data)
-      let uuidStatusCode = pollingResponse['wx_errcode'] as number
-      Log.d(kTag, `lastUUIDStatusCode: ${this.lastUUIDStatusCode}`)
-      let errCode = OAuthErrCode.WechatAuth_Err_OK
-      let wxCode = 0
-      switch (uuidStatusCode) {
-        case UUIDStatusCodeEnum.UUID_CONFIRM:
-          wxCode = pollingResponse['wx_code'] as number
-          break
-        case UUIDStatusCodeEnum.UUID_SCANNED:
-          break
-        case UUIDStatusCodeEnum.UUID_KEEP_CONNECT:
-          break
-        case UUIDStatusCodeEnum.UUID_EXPIRED:
-          errCode = OAuthErrCode.WechatAuth_Err_Timeout
-          break
-        case UUIDStatusCodeEnum.UUID_CANCELED:
-          errCode = OAuthErrCode.WechatAuth_Err_Cancel
-          break
-        case UUIDStatusCodeEnum.UUID_SERVER_ERROR:
-          errCode = OAuthErrCode.WechatAuth_Err_NormalErr
-          break
-        default:
-          errCode = OAuthErrCode.WechatAuth_Err_NormalErr
-          break
-      }
-      if (errCode === OAuthErrCode.WechatAuth_Err_OK) {
-        this.lastUUIDStatusCode = uuidStatusCode
-        if (uuidStatusCode === UUIDStatusCodeEnum.UUID_SCANNED) {
-          this.callback?.onQRCodeScanned()
-        } else if (uuidStatusCode === UUIDStatusCodeEnum.UUID_CONFIRM) {
-          this.callback?.onAuthFinish(wxCode.toString())
-          break
-        }
-      } else {
-        this.callback?.onAuthError(errCode, 'polling error')
-        break
-      }
-    }
-  }
-
-  stopOAuth() {
-    this.callback = null
-    this.isCanceled = true
-  }
-}

+ 0 - 48
entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/log/Log.ets

@@ -1,48 +0,0 @@
-import util from '@ohos.util';
-
-export enum LogLevel {
-  verbose,  // More detailed information.
-  debug,    // Detailed information on the flow through the system.
-  info,     // Interesting runtime events (startup/shutdown), should be conservative and keep to a minimum.
-  warn,     // Other runtime situations that are undesirable or unexpected, but not necessarily "wrong".
-  error,    // Other runtime errors or unexpected conditions.
-  fatal,    // Severe errors that cause premature termination.
-}
-
-export interface LogInterface {
-  print(level: LogLevel, tag: string, message: string): void
-}
-
-class LogDefaultImpl implements LogInterface {
-  print(level: LogLevel, tag: string, message: string): void {
-    let logFunc: (message: string) => void =
-      (() => {
-        switch (level) {
-          case LogLevel.verbose: return console.log
-          case LogLevel.debug:   return console.debug
-          case LogLevel.info:    return console.info
-          case LogLevel.warn:    return console.warn
-          case LogLevel.error:   return console.error
-          case LogLevel.fatal:   return console.assert
-        }
-      })()
-    logFunc('[' + tag + '] ' + message)
-  }
-}
-
-export class Log {
-  private static log: LogInterface = new LogDefaultImpl
-
-  public static setLogImpl(impl: LogInterface) {
-    Log.log = impl
-  }
-
-  public static d(tag: string, format: string, ...args: Object[]) { Log.printf(LogLevel.debug, tag, format, ...args); }
-  public static i(tag: string, format: string, ...args: Object[]) { Log.printf(LogLevel.info, tag, format, ...args); }
-  public static w(tag: string, format: string, ...args: Object[]) { Log.printf(LogLevel.warn, tag, format, ...args); }
-  public static e(tag: string, format: string, ...args: Object[]) { Log.printf(LogLevel.error, tag, format, ...args); }
-
-  private static printf(level: LogLevel, tag: string, format: string, ...args: Object[]) {
-    Log.log.print(level, tag, util.format(format, ...args))
-  }
-}

+ 0 - 63
entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/Base.ets

@@ -1,63 +0,0 @@
-
-export abstract class BaseReq {
-  id: number = 0;
-  readonly name: string = this.constructor.name
-
-  transaction?: string
-  openId?: string
-
-  abstract checkArgs(): boolean
-  abstract get type(): number
-
-  serializeTo(to: object): void {
-    to['__type__'] = this.type
-    to['transaction'] = this.transaction
-    to['openId'] = this.openId
-  }
-  deserializeFrom(from: object): void {
-    this.transaction = from['transaction']
-    this.openId = from['openId']
-  }
-}
-
-export enum ErrCode {
-  ERR_OK = 0,
-  ERR_COMM = -1,
-  ERR_USER_CANCEL = -2,
-  ERR_SENT_FAILED = -3,
-  ERR_AUTH_DENIED = -4,
-  ERR_UNSUPPORTED = -5,
-  ERR_BAN = -6,
-
-  ERR_SCOPE_SNSAPI_WXAAPP_INFO_CAN_ONLY_AUTHORIZED_SEPARATELY = -1000,
-}
-
-export abstract class BaseResp {
-  id: number = 0;
-  readonly name: string = this.constructor.name
-
-  errCode: number = ErrCode.ERR_OK
-  errStr?: string
-  transaction?: string
-  openId?: string
-
-  abstract get type(): number
-
-  serializeTo(to: object): void {
-    to['__type__'] = this.type
-    to['errCode'] = this.errCode
-    to['errStr'] = this.errStr
-    to['transaction'] = this.transaction
-    to['openId'] = this.openId
-  }
-  deserializeFrom(from: object): void {
-    this.errCode = from['errCode'] ?? ErrCode.ERR_COMM
-    this.errStr = from['errStr']
-    this.transaction = from['transaction']
-    this.openId = from['openId']
-  }
-}
-
-export type SendReqResult = boolean
-export type SendReqResultWrap = SendReqResult | Promise<SendReqResult>
-

+ 0 - 13
entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/Constants.ets

@@ -1,13 +0,0 @@
-
-export const kWechatBundleName = 'com.tencent.wechat'
-export const kWechatEntryAbility = 'EntryAbility'
-
-export enum Command {
-  kCommandSendAuth = 1,
-  kCommandSendMessageToWX = 2,
-
-  kCommandPay = 5,
-  kCommandJointPay = 27,
-
-  kCommandSendTdiAuth = 31,
-}

+ 0 - 135
entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/Pay.ets

@@ -1,135 +0,0 @@
-import { BaseReq, BaseResp, Log } from '../../../../Index'
-import { Command } from './Constants'
-
-const EXTDATA_MAX_LENGTH = 1024
-
-export class PayReq extends BaseReq {
-  protected get TAG() {
-    return "PaySdk.PayReq"
-  }
-
-  appId?: string
-  partnerId?: string
-  prepayId?: string
-  nonceStr?: string
-  timeStamp?: string
-  packageValue?: string
-  sign?: string
-  extData?: string
-  signType?: string
-
-  checkArgs(): boolean {
-    if (this.appId?.length === 0) {
-      Log.e(this.TAG, "checkArgs fail, invalid appId")
-      return false
-    }
-
-    if (this.partnerId?.length === 0) {
-      Log.e(this.TAG, "checkArgs fail, invalid partnerId")
-      return false
-    }
-
-    if (this.prepayId?.length === 0) {
-      Log.e(this.TAG, "checkArgs fail, invalid prepayId")
-      return false
-    }
-
-    if (this.nonceStr?.length === 0) {
-      Log.e(this.TAG, "checkArgs fail, invalid nonceStr")
-      return false
-    }
-
-    if (this.timeStamp?.length === 0) {
-      Log.e(this.TAG, "checkArgs fail, invalid timeStamp")
-      return false
-    }
-
-    if (this.packageValue?.length === 0) {
-      Log.e(this.TAG, "checkArgs fail, invalid packageValue")
-      return false
-    }
-
-    if (this.sign?.length === 0) {
-      Log.e(this.TAG, "checkArgs fail, invalid sign")
-      return false
-    }
-
-    if (this.extData && this.extData.length > EXTDATA_MAX_LENGTH) {
-      Log.e(this.TAG, "checkArgs fail, extData length too long")
-      return false
-    }
-
-    return true
-  }
-
-  serializeTo(to: object): void {
-    super.serializeTo(to)
-    to['appId'] = this.appId
-    to['partnerId'] = this.partnerId
-    to['prepayId'] = this.prepayId
-    to['nonceStr'] = this.nonceStr
-    to['timeStamp'] = this.timeStamp
-    to['packageValue'] = this.packageValue
-    to['sign'] = this.sign
-    to['extData'] = this.extData
-    to['signType'] = this.signType
-  }
-
-  deserializeFrom(from: object): void {
-    super.deserializeFrom(from)
-    this.appId = from['appId']
-    this.partnerId = from['partnerId']
-    this.prepayId = from['prepayId']
-    this.nonceStr = from['nonceStr']
-    this.timeStamp = from['timeStamp']
-    this.packageValue = from['packageValue']
-    this.sign = from['sign']
-    this.extData = from['extData']
-    this.signType = from['signType']
-  }
-
-  get type(): number {
-    return Command.kCommandPay
-  }
-}
-
-export class PayResp extends BaseResp {
-  prepayId?: string
-  returnKey?: string
-  extData?: string
-
-  serializeTo(to: object): void {
-    super.serializeTo(to)
-    to['prepayId'] = this.prepayId
-    to['returnKey'] = this.returnKey
-    to['extData'] = this.extData
-  }
-
-  deserializeFrom(from: object): void {
-    super.deserializeFrom(from)
-    this.prepayId = from['prepayId']
-    this.returnKey = from['returnKey']
-    this.extData = from['extData']
-  }
-
-  get type(): number {
-    return Command.kCommandPay
-  }
-}
-
-export class JointPayReq extends PayReq {
-  protected get TAG() {
-    return "PaySdk.JointPayReq"
-  }
-
-  get type(): number {
-    return Command.kCommandJointPay
-  }
-}
-
-export class JointPayResp extends PayResp {
-
-  get type(): number {
-    return Command.kCommandJointPay
-  }
-}

+ 0 - 74
entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/SendAuth.ets

@@ -1,74 +0,0 @@
-import { BaseReq, BaseResp } from './Base'
-import { Command } from './Constants'
-
-export class SendAuthReq extends BaseReq {
-  scope?: string
-  state?: string
-  extData?: string
-  isOption1: boolean = false
-  nonAutomatic: boolean = false
-
-  checkArgs(): boolean {
-    this.scope = this.scope?.trim()
-    if ((this.scope?.length ?? 0) === 0) {
-      return false
-    }
-    return true
-  }
-
-  serializeTo(to: object): void {
-    super.serializeTo(to)
-    to['scope'] = this.scope
-    to['state'] = this.state
-    to['extData'] = this.extData
-    to['isOption1'] = this.isOption1
-    to['nonAutomatic'] = this.nonAutomatic
-  }
-
-  deserializeFrom(from: object): void {
-    super.deserializeFrom(from)
-    this.scope = from['scope']
-    this.state = from['state']
-    this.extData = from['extData']
-    this.isOption1 = from['isOption1'] ?? false
-    this.nonAutomatic = from['nonAutomatic'] ?? false
-  }
-
-  get type(): number {
-    return Command.kCommandSendAuth
-  }
-}
-
-export class SendAuthResp extends BaseResp {
-  code?: string
-  state?: string
-  authResult: boolean = false
-  url?: string
-  lang?: string
-  country?: string
-
-  serializeTo(to: object): void {
-    super.serializeTo(to)
-    to['code'] = this.code
-    to['state'] = this.state
-    to['authResult'] = this.authResult
-    to['url'] = this.url
-    to['lang'] = this.lang
-    to['country'] = this.country
-  }
-
-  deserializeFrom(from: object): void {
-    super.deserializeFrom(from)
-    this.code = from['code']
-    this.state = from['state']
-    this.authResult = from['authResult']
-    this.url = from['url']
-    this.lang = from['lang']
-    this.country = from['country']
-  }
-
-  get type(): number {
-    return Command.kCommandSendAuth
-  }
-}
-

+ 0 - 27
entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/SendTdiAuth.ets

@@ -1,27 +0,0 @@
-import { SendAuthReq, SendAuthResp } from './SendAuth'
-import { Command } from './Constants'
-
-export class SendTdiAuthReq extends SendAuthReq {
-
-  get type() {
-    return Command.kCommandSendTdiAuth
-  }
-}
-
-export class SendTdiAuthResp extends SendAuthResp {
-  tdiAuthBuffer?: Uint8Array
-
-  serializeTo(to: object): void {
-    super.serializeTo(to)
-    to['tdiAuthBuffer'] = this.tdiAuthBuffer
-  }
-
-  deserializeFrom(from: object): void {
-    super.deserializeFrom(from)
-    this.tdiAuthBuffer = from['tdiAuthBuffer']
-  }
-
-  get type() {
-    return Command.kCommandSendTdiAuth
-  }
-}

+ 0 - 137
entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/message/SendMessageToWX.ets

@@ -1,137 +0,0 @@
-import { BaseResp } from '../../../../../Index';
-import { BaseReq } from '../../../../../Index';
-import { Command } from '../Constants';
-import { WXMediaObjectFactory } from './WXMediaObjectFactory';
-
-export class SendMessageToWXReq extends BaseReq {
-  /**
-   * 表示发送到会话
-   */
-  static readonly WXSceneSession: number = 0
-
-  /** 发送消息的多媒体内容
-   * @see WXMediaMessage
-   */
-  message?: WXMediaMessage
-
-  /** 发送的目标场景。 默认发送到会话。
-   * @see WXScene
-   */
-  scene: number = SendMessageToWXReq.WXSceneSession
-
-  serializeTo(to: object): void {
-    super.serializeTo(to)
-    if (this.message !== undefined) {
-      let messageDict: ESObject = {}
-      this.message.serializeTo(messageDict)
-      to['message'] = messageDict
-    }
-    to['scene'] = this.scene
-  }
-
-  deserializeFrom(from: object): void {
-    super.deserializeFrom(from)
-    if (typeof from['message'] !== 'undefined') {
-      this.message = new WXMediaMessage
-      this.message.deserializeFrom(from['message'])
-    }
-    this.scene = from['scene']
-  }
-
-  checkArgs(): boolean {
-    if (this.message === undefined) {
-      return false
-    }
-    return this.message.checkArgs()
-  }
-
-  get type() {
-    return Command.kCommandSendMessageToWX
-  }
-}
-
-export class SendMessageToWXResp extends BaseResp {
-
-  serializeTo(to: object): void {
-    super.serializeTo(to)
-  }
-
-  deserializeFrom(from: object): void {
-    super.deserializeFrom(from)
-  }
-
-  get type() {
-    return Command.kCommandSendMessageToWX
-  }
-}
-
-export enum MediaObjectType {
-  TYPE_TEXT = 1,
-  TYPE_IMAGE = 2,
-}
-
-export interface IMediaObject {
-  serializeTo: (to: object) => void
-  deserializeFrom: (from: object) => void
-
-  type: number
-
-  checkArgs: () => boolean
-}
-
-export class WXMediaMessage {
-  /** 标题
-   * @note 长度不能超过512字节
-   */
-  title?: string = ''
-
-  mediaObject?: IMediaObject
-
-  /** 缩略图数据
-   * @note 大小不能超过64K
-   */
-  thumbData?: Uint8Array
-
-  // 统计使用,客户端不做解析
-  mediaTagName?: string
-
-  // 第三方和微信开放平台约定
-  messageAction?: string
-  // 第三方自定义,微信不做解析
-  messageExt?: string
-
-  serializeTo(to: object) {
-    to['wx_media_message_title'] = this.title
-    if (this.mediaObject !== undefined) {
-      to['wx_media_message_media_object_type'] = this.mediaObject.type
-      let mediaObjectDict: ESObject = {}
-      this.mediaObject.serializeTo(mediaObjectDict)
-      to['wx_media_message_media_object'] = mediaObjectDict
-    }
-    to['wx_media_message_media_tag_name'] = this.mediaTagName
-    to['wx_media_message_message_action'] = this.messageAction
-    to['wx_media_message_message_ext'] = this.messageExt
-  }
-
-  deserializeFrom(from: object) {
-    this.title = from['wx_media_message_title']
-    if (typeof from['wx_media_message_media_object_type'] === 'number' &&
-        typeof from['wx_media_message_media_object'] === 'object') {
-      let mediaObject: IMediaObject | undefined = WXMediaObjectFactory.createMediaObject(from['wx_media_message_media_object_type'])
-      if (mediaObject !== undefined) {
-        mediaObject.deserializeFrom(from['wx_media_message_media_object'])
-      }
-      this.mediaObject = mediaObject
-    }
-    this.mediaTagName = from['wx_media_message_media_tag_name']
-    this.messageAction = from['wx_media_message_message_action']
-    this.messageExt = from['wx_media_message_message_ext']
-  }
-
-  checkArgs(): boolean {
-    if (this.mediaObject === undefined) {
-      return false
-    }
-    return this.mediaObject.checkArgs()
-  }
-}

+ 0 - 34
entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/message/WXImageObject.ets

@@ -1,34 +0,0 @@
-import { IMediaObject, MediaObjectType } from './SendMessageToWX';
-import { buffer, util } from '@kit.ArkTS';
-import { image } from '@kit.ImageKit';
-
-export class WXImageObject implements IMediaObject {
-  /** 图片的uri
-   * @note 支持jpeg/png类型的图片
-   */
-  uri?: string
-
-  /** 图片的数据内容
-   * @note 大小不能超过100KB,uri和imageData同时存在时忽略该字段
-   */
-  imageData?: string
-
-  type = MediaObjectType.TYPE_IMAGE
-
-  serializeTo(to: object) {
-    to['imageBase64'] = this.imageData
-    to['uri'] = this.uri
-  }
-
-  deserializeFrom(from: object) {
-    this.imageData = from['imageBase64']
-    this.uri = from['uri']
-  }
-
-  checkArgs(): boolean {
-    if (this.uri === undefined) {
-      return false
-    }
-    return true
-  }
-}

+ 0 - 16
entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/message/WXMediaObjectFactory.ets

@@ -1,16 +0,0 @@
-import { MediaObjectType } from './SendMessageToWX';
-import { IMediaObject } from './SendMessageToWX';
-import { WXImageObject } from './WXImageObject';
-import { WXTextObject } from './WXTextObject';
-
-export class WXMediaObjectFactory {
-  static createMediaObject(type: number): IMediaObject | undefined {
-    if (type === MediaObjectType.TYPE_TEXT) {
-      return new WXTextObject
-    } else if (type === MediaObjectType.TYPE_IMAGE) {
-      return new WXImageObject
-    }
-    // add more object convert
-    return undefined
-  }
-}

+ 0 - 21
entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/model/message/WXTextObject.ets

@@ -1,21 +0,0 @@
-import { IMediaObject, MediaObjectType } from './SendMessageToWX';
-
-export class WXTextObject implements IMediaObject {
-  type = MediaObjectType.TYPE_TEXT
-  text?: string
-
-  serializeTo(to: object) {
-    to['wx_text_object_text'] = this.text
-  }
-
-  deserializeFrom(from: object) {
-    this.text = from['wx_text_object_text']
-  }
-
-  checkArgs(): boolean {
-    if (this.text === undefined || this.text.length === 0) {
-      return false
-    }
-    return true
-  }
-}

+ 0 - 226
entry/oh_modules/@tencent/wechat_open_sdk/src/main/ets/open_api/WXAPIFactory.ets

@@ -1,226 +0,0 @@
-import common from '@ohos.app.ability.common';
-import { Command, kWechatBundleName, kWechatEntryAbility } from '../model/Constants';
-import { Want, wantConstant } from '@kit.AbilityKit';
-import { BaseReq, BaseResp, SendReqResult, SendReqResultWrap } from '../model/Base';
-import { SendAuthReq, SendAuthResp } from '../model/SendAuth';
-import { PayReq, PayResp, JointPayReq, JointPayResp } from '../model/Pay';
-import { Log } from '../log/Log';
-import { SendTdiAuthReq, SendTdiAuthResp } from '../model/SendTdiAuth';
-import { SendMessageToWXReq, MediaObjectType } from '../model/message/SendMessageToWX';
-import { SendMessageToWXResp } from '../model/message/SendMessageToWX';
-import { WXImageObject } from '../model/message/WXImageObject';
-
-type RespWrap = BaseResp | PromiseLike<BaseResp>
-type RespCallback = (resp: RespWrap) => void
-
-const kTag = 'wxopensdk::WXApi'
-
-const kWantCallerBundleNameKey = "ohos.aafwk.param.callerBundleName"
-const kWantRequestKey = "wxopensdk_request"
-const kWantResponseKey = "wxopensdk_response"
-const kWantAppidKey = "wxopensdk_appid"
-
-const kWechatBundleNameCandidates = [
-  "com.tencent.wechat.debug",
-  "com.tencent.wechat.red",
-  "com.tencent.wechat.purple",
-  "com.tencent.wechat.blue",
-  "com.tencent.wechat.yellow"
-]
-
-export interface WXApi {
-  sendReq(context: common.UIAbilityContext, req: BaseReq): SendReqResultWrap
-
-  openWechat(context: common.UIAbilityContext): SendReqResultWrap
-
-  handleWant(want: Want, eventHandler: WXApiEventHandler): boolean
-  /*
-  sendReqHelper(context: common.UIAbilityContext, req: Base.BaseReq): Base.BaseResp | Promise<Base.BaseResp>
-
-  onResult(response: Base.BaseResp): void
-  */
-}
-
-export interface WXApiEventHandler {
-  onReq(req: BaseReq): void
-
-  onResp(req: BaseResp): void
-}
-
-export class WXAPIFactory {
-  static createWXAPI(appId: string): WXApi {
-    return new WXApiImpl(appId)
-  }
-
-  static createReq(wantParameters: object): BaseReq | undefined {
-    let type: number = wantParameters['__type__'] ?? -1
-    let req =
-      ((): BaseReq | undefined => {
-        switch (type) {
-          case Command.kCommandSendAuth: return new SendAuthReq
-          case Command.kCommandSendTdiAuth: return new SendTdiAuthReq
-          case Command.kCommandSendMessageToWX: return new SendMessageToWXReq
-          case Command.kCommandPay: return new PayReq()
-          case Command.kCommandJointPay: return new JointPayReq()
-          default: return
-        }
-      })()
-    req?.deserializeFrom(wantParameters)
-    return req
-  }
-
-  static createResp(wantParameters: object): BaseResp | undefined {
-    let type: number = wantParameters['__type__'] ?? -1
-    let resp =
-      ((): BaseResp | undefined => {
-        switch (type) {
-          case Command.kCommandSendAuth: return new SendAuthResp
-          case Command.kCommandSendTdiAuth: return new SendTdiAuthResp
-          case Command.kCommandPay: return new PayResp
-          case Command.kCommandJointPay: return new JointPayResp
-          case Command.kCommandSendMessageToWX: return new SendMessageToWXResp
-          default: return
-        }
-      })()
-    resp?.deserializeFrom(wantParameters)
-    return resp
-  }
-}
-
-class WXApiImpl implements WXApi {
-  private readonly appId: string
-  constructor(appId: string) {
-    this.appId = appId;
-  }
-
-  private static NextId = 0;
-  private resolves = new Map<number, RespCallback>();
-
-  static reqToWantObject(req?: BaseReq): object | undefined {
-    if (req) {
-      let obj = new Object
-      req.serializeTo(obj)
-      return obj
-    } else {
-      return undefined
-    }
-  }
-
-  private makeWant(request?: BaseReq, wechatBundleName?: string): Want {
-    let parameters: Record<string, Object> = {}
-    parameters[kWantRequestKey] = WXApiImpl.reqToWantObject(request) ?? ""
-    parameters[kWantAppidKey] = this.appId
-    parameters["from"] = "_wechat_open_sdk"
-    
-    let uri: string | undefined = undefined
-    let action: string | undefined = undefined
-    let flags: number | undefined = undefined
-
-    if (request && request.type === Command.kCommandSendMessageToWX) {
-      let sendMessageReq = request as SendMessageToWXReq
-      if (sendMessageReq.checkArgs() && sendMessageReq.message?.mediaObject?.type === MediaObjectType.TYPE_IMAGE) {
-        let imageObject = sendMessageReq.message?.mediaObject as WXImageObject
-        if (imageObject!.uri && imageObject!.uri!.length > 0) {
-          uri = imageObject.uri
-          action = 'ohos.want.action.sendData'
-          flags = wantConstant.Flags.FLAG_AUTH_READ_URI_PERMISSION | wantConstant.Flags.FLAG_AUTH_WRITE_URI_PERMISSION
-        }
-      }
-    }
-    
-    return {
-      bundleName: wechatBundleName ?? kWechatBundleName,
-      abilityName:kWechatEntryAbility,
-      parameters: parameters,
-      action: action,
-      uri: uri,
-      flags: flags,
-    }
-  }
-
-  private openWechatWithWant(context: common.UIAbilityContext, req?: BaseReq): SendReqResultWrap {
-    return new Promise<SendReqResult>((resolve) => {
-      let bundleNames: Array<string> = []
-      bundleNames.push(kWechatBundleName)
-      bundleNames.push(...kWechatBundleNameCandidates)
-
-      ;(async () => {
-        let openSucceed = false
-        for (let name of bundleNames) {
-          let want = this.makeWant(req, name)
-          try {
-            await context.startAbility(want)
-            openSucceed = true
-            return
-          } catch (e) {
-            Log.e(kTag, 'openWechat fail by err:%s', JSON.stringify(e))
-          }
-        }
-        resolve(openSucceed)
-      })()
-    })
-  }
-
-  sendReq(context: common.UIAbilityContext, req: BaseReq): SendReqResultWrap {
-    return this.openWechatWithWant(context, req)
-  }
-
-  openWechat(context: common.UIAbilityContext): SendReqResultWrap {
-    return this.openWechatWithWant(context, undefined)
-  }
-
-  handleWant(want: Want, eventHandler: WXApiEventHandler): boolean {
-    if (want.parameters && typeof want.parameters[kWantCallerBundleNameKey] === 'string') {
-      let callerBundleName = want.parameters[kWantCallerBundleNameKey]
-      if (callerBundleName !== kWechatBundleName && !kWechatBundleNameCandidates.includes(callerBundleName)) {
-        return false
-      }
-      let reqWrap = want.parameters[kWantRequestKey]
-      if (reqWrap) {
-        let req = WXAPIFactory.createReq(reqWrap)
-        if (req) {
-          eventHandler.onReq(req)
-        }
-      }
-
-      let respWrap = want.parameters[kWantResponseKey]
-      if (respWrap) {
-        let resp = WXAPIFactory.createResp(respWrap)
-        if (resp) {
-          eventHandler.onResp(resp)
-        }
-      }
-      return true
-    } else {
-      return false
-    }
-  }
-
-  /*
-  sendReqHelper(context: common.UIAbilityContext, request: Base.BaseReq): Promise<Base.BaseResp> {
-    let id = this.id++;
-    request.id = id;
-    return new Promise<Base.BaseResp>((resolve) => {
-      context.startAbility(this.makeWant(request)).then(() => {
-        this.resolves.set(this.id, resolve);
-        setTimeout(() => {
-          let response = new Base.BaseResp()
-          response.errCode = ErrorCode.TIMEOUT
-          response.errMsg = 'timeout'
-          resolve(response)
-          this.resolves.delete(id)
-        }, 5000)
-      }).catch((err: BusinessError) => {
-        Log.Logw.e(kTag, 'sendReq fail by err:%s', JSON.stringify(err))
-        let response = new BaseResponse()
-        response.errCode = ErrorCode.REQUEST_FAILED
-        response.errMsg = err.message
-        resolve(response)
-        this.resolves.delete(id)
-      });
-    });
-  }
-  */
-
-}
-

+ 0 - 34
entry/oh_modules/@tencent/wechat_open_sdk/src/main/module.json

@@ -1,34 +0,0 @@
-{
-	"app": {
-		"bundleName": "com.tencent.wechat_openapi_ohos_sdk_demo",
-		"debug": true,
-		"versionCode": 1000000,
-		"versionName": "1.0.0",
-		"minAPIVersion": 50000012,
-		"targetAPIVersion": 50001013,
-		"apiReleaseType": "Canary1",
-		"compileSdkVersion": "5.0.1.68",
-		"compileSdkType": "HarmonyOS",
-		"appEnvironments": [],
-		"bundleType": "app"
-	},
-	"module": {
-		"name": "sdk",
-		"type": "har",
-		"deviceTypes": [
-			"default",
-			"tablet",
-			"2in1"
-		],
-		"requestPermissions": [
-			{
-				"name": "ohos.permission.INTERNET"
-			}
-		],
-		"packageName": "@tencent/wechat_open_sdk",
-		"installationFree": false,
-		"virtualMachine": "ark12.0.2.0",
-		"compileMode": "esmodule",
-		"dependencies": []
-	}
-}

+ 0 - 1
entry/oh_modules/libentry.so/Index.d.ts

@@ -1 +0,0 @@
-export const add: (a: number, b: number) => number;

+ 0 - 6
entry/oh_modules/libentry.so/oh-package.json5

@@ -1,6 +0,0 @@
-{
-  "name": "libentry.so",
-  "types": "./Index.d.ts",
-  "version": "1.0.0",
-  "description": "Please describe the basic information."
-}

+ 0 - 12
lib/src/main/ets/LyricController.ets

@@ -26,7 +26,6 @@ export class LyricController {
     private animDuration: number = DEFAULT_ANIM_DURATION
     private animDuration: number = DEFAULT_ANIM_DURATION
     private cacheSize: number = DEFAULT_CACHE_SIZE
     private cacheSize: number = DEFAULT_CACHE_SIZE
     private isBold: boolean = true
     private isBold: boolean = true
-    private isSingleLine: boolean = false
     private emptyHint: string = "--"
     private emptyHint: string = "--"
     private alignMode: "left" | "center" = "center"
     private alignMode: "left" | "center" = "center"
     private isHightLightCenter: boolean = true
     private isHightLightCenter: boolean = true
@@ -191,17 +190,6 @@ export class LyricController {
         return this
         return this
     }
     }
 
 
-    getSingleLine(): boolean {
-        return this.isSingleLine
-    }
-
-
-    setSingleLine(isSingle: boolean): LyricController {
-        this.isSingleLine = isSingle
-        this.onInvalidated(false)
-        return this
-    }
-
     /**
     /**
      * The bold style of focused lyric.
      * The bold style of focused lyric.
      * @returns True to set text bold style, false to set normal style.
      * @returns True to set text bold style, false to set normal style.

+ 3 - 10
lib/src/main/ets/bean/LyricLine.ts

@@ -1,26 +1,19 @@
-import { LyricWord } from './LyricWord'
 /**
 /**
  * The line info of lyric.
  * The line info of lyric.
  */
  */
 export class LyricLine {
 export class LyricLine {
-     text: string
+    readonly text: string
     readonly beginTime: number
     readonly beginTime: number
     nextTime: number
     nextTime: number
-    words: LyricWord[] = []
+
     /**
     /**
      * @param text The text of lyric line.
      * @param text The text of lyric line.
      * @param beginTime The begin timestamp of this lyric line.
      * @param beginTime The begin timestamp of this lyric line.
      * @param nextTime The begin timestamp of the next lyric line.
      * @param nextTime The begin timestamp of the next lyric line.
      */
      */
-    constructor(text: string, beginTime: number, nextTime: number,words?: LyricWord[] ) {
+    constructor(text: string, beginTime: number, nextTime: number) {
         this.text = text
         this.text = text
         this.beginTime = beginTime
         this.beginTime = beginTime
         this.nextTime = nextTime
         this.nextTime = nextTime
-        this.words = words || []
-    }
-
-    // 新增方法:判断是否有逐字歌词
-    hasWords(): boolean {
-        return this.words.length > 0
     }
     }
 }
 }

+ 12 - 18
lib/src/main/ets/parse/LyricParser.ts

@@ -29,7 +29,7 @@ export class LyricParser implements IParser {
         let album = ""
         let album = ""
         let by = ""
         let by = ""
         let offset = 0
         let offset = 0
-        const ignoredTags = [ 'id', 'hash', 'sign', 'qq', 'total','Outro']; // 定义需要忽略的标签
+        const ignoredTags = [ 'hash', 'sign', 'qq', 'total','Outro']; // 定义需要忽略的标签
         for (let i = 0; i < src.length; i++) {
         for (let i = 0; i < src.length; i++) {
             let line = src[i]
             let line = src[i]
             console.info(`content The line of file:line ${line}`);
             console.info(`content The line of file:line ${line}`);
@@ -45,23 +45,17 @@ export class LyricParser implements IParser {
                 printW(`the lyric line contains ignored tag, line index= ${i}`);
                 printW(`the lyric line contains ignored tag, line index= ${i}`);
                 continue;
                 continue;
             }
             }
-            // 修改后的标签检测逻辑,修复英文歌词的时候,部分歌词没有显示出来。
-            if (line.startsWith("[ti:"))  {
-                title = this.parseIdTag(line);
-            }
-            else if (line.startsWith("[ar:"))  {
-                artist = this.parseIdTag(line);
-            }
-            else if (line.startsWith("[al:"))  {
-                album = this.parseIdTag(line);
-            }
-            else if (line.startsWith("[by:"))  {
-                by = this.parseIdTag(line);
-            }
-            else if (line.startsWith("[offset:"))  {
-                offset = Number.parseInt(this.parseIdTag(line));
-            }
-            else {
+            if (line.indexOf("ti") > 0) {
+                title = this.parseIdTag(line)
+            } else if (line.indexOf("ar") > 0) {
+                artist = this.parseIdTag(line)
+            } else if (line.indexOf("al") > 0) {
+                album = this.parseIdTag(line)
+            } else if (line.indexOf("by") > 0) {
+                by = this.parseIdTag(line)
+            } else if (line.indexOf("offset") > 0) {
+                offset = Number.parseInt(this.parseIdTag(line))
+            } else {
 
 
                 // 新增逐字歌词解析逻辑[mm:ss.xx] <mm:ss.xx>
                 // 新增逐字歌词解析逻辑[mm:ss.xx] <mm:ss.xx>
                 if (this.isWordByWordLyric(line)) {
                 if (this.isWordByWordLyric(line)) {

+ 34 - 97
lib/src/main/ets/view/LyricView2.ets

@@ -3,7 +3,6 @@ import { LyricController } from '../LyricController';
 import { Lyric } from '../bean/Lyric';
 import { Lyric } from '../bean/Lyric';
 import { ListAdapter } from '../extensions/ListAdapter';
 import { ListAdapter } from '../extensions/ListAdapter';
 import { LyricLine } from '../bean/LyricLine';
 import { LyricLine } from '../bean/LyricLine';
-import { LyricWord } from '../bean/LyricWord';
 
 
 /**
 /**
  * A component to display the lyric with scroll animation.
  * A component to display the lyric with scroll animation.
@@ -49,7 +48,6 @@ export struct LyricView2 {
     @State currentIndex: number = 0 // the focused index of the lyric line list.
     @State currentIndex: number = 0 // the focused index of the lyric line list.
     @State isLyricEmpty: boolean = true // is no lyric.
     @State isLyricEmpty: boolean = true // is no lyric.
     @State textSize: number = 16
     @State textSize: number = 16
-    @State isSingleLine: boolean = false
     @State lineSpace: number = 16
     @State lineSpace: number = 16
     @State textWeight: number = FontWeight.Medium
     @State textWeight: number = FontWeight.Medium
     @State textHighlightSize: number = 18
     @State textHighlightSize: number = 18
@@ -71,7 +69,6 @@ export struct LyricView2 {
     @State isLoadingData: boolean = false
     @State isLoadingData: boolean = false
     private loadTimeout = -1
     private loadTimeout = -1
     @State isHightLightCenter: boolean = true
     @State isHightLightCenter: boolean = true
-    @State currentMediaPosition: number = 0
 
 
     private onDataChangedListener = (lyric: Lyric | null) => {
     private onDataChangedListener = (lyric: Lyric | null) => {
         clearTimeout(this.loadTimeout)
         clearTimeout(this.loadTimeout)
@@ -82,7 +79,6 @@ export struct LyricView2 {
         }, 300)
         }, 300)
     }
     }
     private onPositionChangedListener = (mediaPosition: number) => {
     private onPositionChangedListener = (mediaPosition: number) => {
-        this.currentMediaPosition = mediaPosition
         this.onPositionChanged(mediaPosition)
         this.onPositionChanged(mediaPosition)
     }
     }
     private onInvalidatedListener = (reLayout: boolean) => {
     private onInvalidatedListener = (reLayout: boolean) => {
@@ -130,7 +126,6 @@ export struct LyricView2 {
     private getAttrFromController() {
     private getAttrFromController() {
         this.currentLyric = this.controller.getLyric()
         this.currentLyric = this.controller.getLyric()
         this.textSize = this.controller.getTextSize()
         this.textSize = this.controller.getTextSize()
-        this.isSingleLine = this.controller.getSingleLine()
         this.blurDegree = this.controller.getBlurDegree()
         this.blurDegree = this.controller.getBlurDegree()
         this.isHightLightCenter = this.controller.getHightLightCenter()
         this.isHightLightCenter = this.controller.getHightLightCenter()
         this.lineSpace = this.controller.getLineSpace()
         this.lineSpace = this.controller.getLineSpace()
@@ -173,8 +168,7 @@ export struct LyricView2 {
 
 
     private calculateOpacityFactor(index: number, currentIndex: number): number {
     private calculateOpacityFactor(index: number, currentIndex: number): number {
         const distance = Math.abs(index - currentIndex);
         const distance = Math.abs(index - currentIndex);
-        let maxOp =  Math.max(0.3,1-this.blurDegree*0.2)
-        return Math.max(maxOp, 1 - distance * 0.08); // 透明度随着距离增加而减小
+        return Math.max(0.5, 1 - distance * 0.18); // 透明度随着距离增加而减小
     }
     }
 
 
 
 
@@ -187,15 +181,32 @@ export struct LyricView2 {
             LazyForEach(this.listAdapter, (item: LyricLine, index: number) => {
             LazyForEach(this.listAdapter, (item: LyricLine, index: number) => {
                 ListItem() {
                 ListItem() {
                     Stack() {
                     Stack() {
-                        // 逐字歌词渲染
-                        if (item.hasWords() && item.words.length > 0) {
-                            this.WordByWordLyric(item, index)
-                        } else {
-                            // 普通歌词渲染(原有逻辑)
-                            this.NormalLyricLine(item, index)
-                        }
-
-
+                        Text(item.text)
+                            .fontSize(this.textSize)
+                            .opacity(this.calculateOpacityFactor(index, this.currentIndex))
+                            .blur( this.calculateBlurFactor(index, this.currentIndex))
+                            .textAlign(this.alignMode == 'center' ? TextAlign.Center : TextAlign.Start)
+                            .scale({
+                                x: index == this.currentIndex ? this.controller.getHighlightScale() : 1,
+                                y: index == this.currentIndex ? this.controller.getHighlightScale() : 1,
+                                centerX: this.alignMode == 'center' ? '50%' : 0
+                            })
+                            .fontColor(index == this.currentIndex ? this.textHighlightColor : this.textColor)
+                            // .fontWeight(this.textWeight)
+                            .fontWeight(index == this.currentIndex && this.isHighlightBold ? FontWeight.Bold :
+                            this.textWeight)
+                                // .padding({
+                            .animation({ duration: this.animDuration, curve: Curve.FastOutSlowIn })
+                            .width(this.alignMode == 'center'?'100%':'76%')
+
+                        // if (this.seekUIStyle == 'listItem' && index == this.seekIndex && item.text.length > 0
+                        //     && this.enableSeek && this.isUserTouching) {
+                            // Row() {
+                            //     Image($r('app.media.cclyric_play'))
+                            //         .width(24)
+                            //         .height(24)
+                            //         .fillColor(this.seekUIColor)
+                            //         .objectFit(ImageFit.Fill)
                             Text(this.scrollDurationText)
                             Text(this.scrollDurationText)
                                 .fontSize(this.textSize)
                                 .fontSize(this.textSize)
                                 .fontColor(this.seekUIColor)
                                 .fontColor(this.seekUIColor)
@@ -203,16 +214,14 @@ export struct LyricView2 {
                                 .width(100)
                                 .width(100)
                                 .visibility(this.seekUIStyle == 'listItem' && index == this.seekIndex && item.text.length > 0
                                 .visibility(this.seekUIStyle == 'listItem' && index == this.seekIndex && item.text.length > 0
                                       && this.enableSeek && this.isUserTouching?Visibility.Visible:Visibility.Hidden)
                                       && this.enableSeek && this.isUserTouching?Visibility.Visible:Visibility.Hidden)
-
+                            // }.width('100%')
+                            // .justifyContent(FlexAlign.SpaceBetween)
+                        // }
                     }
                     }
                     .align(Alignment.End)
                     .align(Alignment.End)
 
 
                 }
                 }
                 .padding(8)
                 .padding(8)
-                .transition(TransitionEffect.asymmetric(TransitionEffect.scale({ x: 1.2, y: 1.2 }).animation({ duration: 500 }),
-                    TransitionEffect.scale({ x: 0, y: 0 })  ))
-                // .transition(TransitionEffect.asymmetric(TransitionEffect.move(TransitionEdge.BOTTOM).animation({ duration: 500,curve: Curve.Ease, delay: 100*index  }),
-                //     TransitionEffect.scale({ x: 0, y: 0 })  ))
                 .border({ radius: 4 })
                 .border({ radius: 4 })
                 .backgroundColor(this.seekUIStyle == 'listItem' && index == this.seekIndex && item.text.length > 0
                 .backgroundColor(this.seekUIStyle == 'listItem' && index == this.seekIndex && item.text.length > 0
                     && this.enableSeek && this.isUserTouching ? '#80a9a9a9' : '#00000000')
                     && this.enableSeek && this.isUserTouching ? '#80a9a9a9' : '#00000000')
@@ -232,10 +241,6 @@ export struct LyricView2 {
         .height('100%')
         .height('100%')
         .scrollBar(BarState.Off)
         .scrollBar(BarState.Off)
         .cachedCount(this.cacheSize)
         .cachedCount(this.cacheSize)
-        .transition(TransitionEffect.asymmetric(
-             this.isSingleLine? TransitionEffect.scale({ x: 1.2, y: 1.2 }).animation({ duration: 500 }):
-             TransitionEffect.move(TransitionEdge.BOTTOM).animation({ duration: 500 }),
-            TransitionEffect.scale({ x: 0, y: 0 })  ))
         .visibility(this.isLoadingData ? Visibility.Hidden : Visibility.Visible)
         .visibility(this.isLoadingData ? Visibility.Hidden : Visibility.Visible)
         .onScrollIndex((_, __, center) => {
         .onScrollIndex((_, __, center) => {
             const now = Date.now()
             const now = Date.now()
@@ -275,82 +280,14 @@ export struct LyricView2 {
             }
             }
         })
         })
     }
     }
-    // 普通歌词渲染(原有逻辑)
-    @Builder
-    NormalLyricLine(item: LyricLine, index: number) {
-        Text(item.text)
-            .fontSize(this.textSize)
-            .opacity(this.calculateOpacityFactor(index, this.currentIndex))
-            .blur(this.calculateBlurFactor(index, this.currentIndex))
-            .textAlign(this.alignMode == 'center' ? TextAlign.Center : TextAlign.Start)
-            .scale({
-                x: index == this.currentIndex ? this.controller.getHighlightScale() : 1,
-                y: index == this.currentIndex ? this.controller.getHighlightScale() : 1,
-                centerX: this.alignMode == 'center' ? '50%' : 0
-            })
-            .fontColor(index == this.currentIndex ? this.textHighlightColor : this.textColor)
-            .fontWeight(index == this.currentIndex && this.isHighlightBold ? FontWeight.Bold : this.textWeight)
-            .animation({ duration: this.animDuration, curve: Curve.FastOutSlowIn })
-            .visibility(this.isSingleLine?
-                (index == this.currentIndex ?Visibility.Visible:Visibility.None)
-                :Visibility.Visible)
-            .width(this.alignMode == 'center' ? '100%' : '76%')
-    }
-    // 逐字歌词渲染
-    @Builder
-    WordByWordLyric(item: LyricLine, index: number) {
-        Row({ space: 0 }) {
-            ForEach(item.words, (word: LyricWord, wordIndex: number) => {
-
-
-                Text(word.word)
-                    .fontSize(index == this.currentIndex ?this.textSize*this.controller.getHighlightScale():this.textSize)
-                    .fontColor(this.currentMediaPosition >= word.startTime ?
-                        index == this.currentIndex ? this.textHighlightColor : this.textColor : this.textColor)
-                    .fontWeight(this.currentMediaPosition >= word.startTime && this.isHighlightBold ?
-                        index == this.currentIndex? FontWeight.Bold : this.textWeight: this.textWeight)
-                    .margin(0)
-                    .opacity(this.calculateOpacityFactor(index, this.currentIndex))
-                    .blur(this.calculateBlurFactor(index, this.currentIndex))
-                    .visibility(this.isSingleLine?
-                        (index == this.currentIndex ?Visibility.Visible:Visibility.None)
-                        :Visibility.Visible)
-                    .animation({
-                        // 动画播放速度
-                        tempo: 0.8,
-                        // 动画持续时间,单位是毫秒
-                        duration: 777,
-                        // 动画缓动函数
-                        curve: Curve.FastOutSlowIn
-                    })
-            })
-        }
-        .justifyContent(this.alignMode === 'center' ? FlexAlign.Center : FlexAlign.Start)
-        .width(this.alignMode == 'center' ? '100%' :index == this.currentIndex ?'95%': '85%')
-    }
 
 
-
-    isTopBottomLine(index:number){
-        return  index === 0 || index === this.listAdapter.totalCount()  - 1;
-    }
-    //修复get Property index out of bounds
     private handleSeekAction() {
     private handleSeekAction() {
         clearTimeout(this.seekUiHideTimeout);
         clearTimeout(this.seekUiHideTimeout);
-
-        let itemCount = this.listAdapter.totalCount(); // 获取数据项的总数
-
-        // 确保 seekIndex 在有效范围内
-        if (this.seekIndex >= 0 && this.seekIndex < itemCount) {
-            let targetPosition = this.listAdapter.getData(this.seekIndex).beginTime;
-            let isPlayerHandled = this.onSeekAction(targetPosition);
-            if (!isPlayerHandled) {
-                this.animateToIndex(this.currentIndex);
-            }
-        } else {
-            console.error("Seek index out of bounds:", this.seekIndex);
-            // 处理超出范围的情况,比如设定默认值或抛出错误
+        let targetPosition = this.listAdapter.getData(this.seekIndex).beginTime;
+        let isPlayerHandled = this.onSeekAction(targetPosition);
+        if (!isPlayerHandled) {
+            this.animateToIndex(this.currentIndex);
         }
         }
-
         this.isUserTouching = false;
         this.isUserTouching = false;
     }
     }
 
 

+ 0 - 24
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/BuildProfile.d.ets

@@ -1,24 +0,0 @@
-// @keepTs
-// @ts-nocheck
-/**
- * Use these variables when you tailor your ArkTS code. They must be of the const type.
- */
-export declare const HAR_VERSION = "1.0.29";
-export declare const BUILD_MODE_NAME = "release";
-export declare const DEBUG = false;
-export declare const TARGET_NAME = "default";
-export declare const USE_ANT_NETWORK_LIB = false;
-export declare const NOT_EMBED_EDGE = true;
-export declare const HAR_NAME = "blueshieldsdk";
-/**
- * BuildProfile Class is used only for compatibility purposes.
- */
-export default class BuildProfile {
-    static readonly HAR_VERSION = "1.0.29";
-    static readonly BUILD_MODE_NAME = "release";
-    static readonly DEBUG = false;
-    static readonly TARGET_NAME = "default";
-    static readonly USE_ANT_NETWORK_LIB = false;
-    static readonly NOT_EMBED_EDGE = true;
-    static readonly HAR_NAME = "blueshieldsdk";
-}

+ 0 - 22
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/Index.d.ets

@@ -1,22 +0,0 @@
-// @keepTs
-// @ts-nocheck
-export { BlueShieldManager, BlueShieldModuleType } from './src/main/ets/components/BlueShieldManager';
-export { IStaticStoreModule } from './src/main/ets/components/trustedterminal/IStaticStoreModule';
-export { IStaticCryptoModule, BS_STAIC_CRYPTO_MODE } from './src/main/ets/components/trustedterminal/IStaticCryptoModule';
-export { IDynamicCryptoModule } from './src/main/ets/components/trustedterminal/IDynamicCryptoModule';
-export { IEnvelopeCryptoModule, BS_ENVELOPE_CRYPTO_MASTER_ALGO, BS_ENVELOPE_CRYPTO_SESSION_ALGO, EnvelopeCryptoParams, EnvelopeCryptoResult } from './src/main/ets/components/trustedterminal/IEnvelopeCryptoModule';
-export { ISafeOtpModule, BS_SAFE_OTP_ALGO } from './src/main/ets/components/trustedterminal/ISafeOtpModule';
-export { ISafeSignatureModule, BS_SAFE_SIGNATURE_ALGO } from './src/main/ets/components/trustedterminal/ISafeSignatureModule';
-export { IDeviceFeatureModule } from './src/main/ets/components/trustedterminal/IDeviceFeatureModule';
-export { ITrustedSignatureModule, BS_TRUSTED_SIGN_TYPE, BS_TRUSTED_SIGN_ENV, BS_TRUSTED_SIGN_RESULT, BS_TRUSTED_SIGN_PARAM_KEY } from './src/main/ets/components/trustedterminal/ITrustedSignatureModule';
-export { ISafeTokenModule } from './src/main/ets/components/trustedterminal/ISafeTokenModule';
-export { IAPDIDModule, TokenResult, APDIDParamKey } from './src/main/ets/components/apdid/IAPDIDModule';
-export { IRDSModule, IRDSEngine, RDSEvent, RDSParamKey } from './src/main/ets/components/secflow/IRDSModule';
-export { IDeviceColorModule, DEVICE_COLOR_CONSTANTS } from './src/main/ets/components/secflow/IDeviceColorModule';
-export { ICaptchaVerifyModule, CaptchaVerifyCallback, CAPTCHA_CODE, CAPTCHA_PARAM, CAPTCHA_TYPE } from './src/main/ets/components/secflow/captcha/ICaptchaVerifyModule';
-export { IEdgeRiskModule, EdgeRiskUAMode } from './src/main/ets/components/edge/IEdgeRiskModule';
-export { StxManager, StxModuleType } from './src/main/ets/components/stx/StxManager';
-export { IStxCirculateModule } from './src/main/ets/components/stx/module/IStxCirculateModule';
-export { EdgeEvent } from './src/main/ets/components/edge/event/model/EdgeEvent';
-export { EventEnum, EventKey, EventError } from './src/main/ets/components/edge/event/model/EdgeEventConstant';
-export { ITrustedEngineModule, ITrustedEngine, } from './src/main/ets/components/trustedterminal/ITrustedEngineModule';

+ 0 - 75
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/ResourceTable.txt

@@ -1,75 +0,0 @@
-string EntryAbility_desc 0x0100000c
-string EntryAbility_label 0x0100000d
-string agree 0x0100000e
-string alipay_privacy_policy 0x0100000f
-string cancel 0x01000010
-string choose_country_or_region 0x01000011
-string choose_country_or_region_search 0x01000012
-string choose_country_or_region_shortcut 0x01000013
-string disagree 0x01000014
-string module_desc 0x01000015
-string ok 0x01000016
-string page_show 0x01000000
-string service_agreement_and_privacy_protection 0x01000017
-string shared_desc 0x01000007
-string system_error_try_later 0x01000018
-string to_best_protect_your_legal_rights_please_read_and_agree_to_the 0x01000019
-color start_window_background 0x0100001a
-color white 0x01000008
-media alipay_slogan_background 0x0100001b
-media alipay_slogan_background1 0x0100001c
-media alipay_slogan_black 0x0100001d
-media alipay_slogan_white 0x0100001e
-media alu_deliver_close 0x0100001f
-media alu_deliver_sound 0x01000020
-media ant_ui_transparent_bg 0x01000038
-media antui_record_img_0 0x01000039
-media antui_record_img_1 0x0100003a
-media antui_record_img_2 0x0100003b
-media antui_record_img_3 0x0100003c
-media antui_record_img_4 0x0100003d
-media antui_record_img_5 0x0100003e
-media antui_record_img_6 0x0100003f
-media antui_record_img_7 0x01000040
-media antui_record_img_8 0x01000041
-media antui_user_head 0x01000042
-media antui_user_head_dark 0x01000043
-media ap_expection_alert 0x01000044
-media ap_expection_empty 0x01000045
-media ap_expection_limit 0x01000046
-media ap_expection_logout 0x01000047
-media ap_expection_networkerror 0x01000048
-media appicon 0x0100000b
-media arrow 0x01000021
-media arrow_down 0x01000022
-media avatar_default 0x01000023
-media captcha_back 0x01000001
-media captcha_reload 0x01000002
-media captcha_slide 0x01000003
-media dialog_deep_icon_findpwd_login 0x01000024
-media dialog_deep_icon_msg_login 0x01000025
-media dialog_deep_icon_pwd_login 0x01000026
-media display_pay_bg 0x01000027
-media display_pay_bg_dark 0x01000028
-media fov_to_org 0x01000049
-media ic_public_back 0x01000029
-media icon 0x01000009
-media login_alipay_slogan_new_black 0x0100002a
-media login_alipay_slogan_new_white 0x0100002b
-media login_clear_bg_light 0x0100002c
-media nearx_bs 0x01000004
-media nearx_dtx 0x01000005
-media org_to_fov 0x0100004a
-media reg_account_icon 0x0100002d
-media search 0x0100002e
-media search_close 0x0100002f
-media setting 0x0100000a
-media startIcon 0x01000030
-media title_bar_back_btn_v2_dark 0x01000031
-media title_bar_back_btn_v2_dark_pressed 0x01000032
-media title_bar_back_btn_v2_light 0x01000033
-media title_bar_back_btn_v2_light_pressed 0x01000034
-media title_bar_back_btn_white 0x01000035
-media user_add 0x01000036
-media wifi 0x01000037
-profile main_pages 0x01000006

BIN
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/ets/modules.abc


+ 0 - 13
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/include/BlueShield/BlueShieldExports.h

@@ -1,13 +0,0 @@
-//
-// Created on 2024/5/6.
-//
-// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
-// please include "napi/native_api.h".
-
-#ifndef APSECDEMO_BLUESHIELD_EXPORTS_H
-#define APSECDEMO_BLUESHIELD_EXPORTS_H
-
-#include "BlueShieldManager.h"
-#include "TrustedTerminalInterface.h"
-
-#endif //APSECDEMO_BLUESHIELD_EXPORTS_H

+ 0 - 70
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/include/BlueShield/BlueShieldManager.h

@@ -1,70 +0,0 @@
-//
-// Created on 2024/1/25.
-//
-// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
-// please include "napi/native_api.h".
-
-#ifndef APSECDEMO_BLUESHIELDMANAGER_H
-#define APSECDEMO_BLUESHIELDMANAGER_H
-
-#include <stddef.h>
-#include <stdint.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef enum _BlueShieldModuleType {
-    // Trusted Terminal
-    BS_STATIC_STORE_MODULE = 0,
-    BS_STATIC_CRYPTO_MODULE = 1,
-    BS_ENVELOPE_CRYPTO_MODULE = 2,
-    BS_DYNAMIC_CRYPTO_MODULE = 3,
-    BS_SAFE_SIGNATURE_MODULE = 4,
-    BS_SAFE_OTP_MODULE = 5,
-    BS_TRUSTED_SIGNATURE_MODULE = 6,
-    BS_TRUSTED_ENGINE_MODULE = 7,
-    BS_DEVICE_FEATURE_MODULE = 8,
-    BS_SAFE_TOKEN_MODULE = 9,
-
-    // Aliapy Device ID
-    BS_APDID_MODULE = 16,
-
-    // Security Flow
-    BS_RDS_MODULE = 32,
-    BS_DEVICE_COLOR_MODULE = 33,
-    BS_CAPTCHA_MODULE = 34,
-
-    // Edge Risk Control
-    BS_EDGE_RISK_MODULE = 48,
-
-    //dtx tee interface
-    BS_TEE_MODULE = 1000,
-} BlueShieldModuleType;
-
-typedef struct _BlueShieldManager {
-    /* 蓝盾初始化接口,Android/iOS/鸿蒙不需要调用
-     * @param: resPath 安全图片所在文件夹路径
-     * @param: workPath 程度执行时缓存文件路径
-     * @param: execPath 可执行二进制程序全路径,不传或者传空会默认读取/proc/self/exe
-     * @param: authCode 图片名,如果不定制可以传空串,默认为nearx_bs.jpg
-     * @param: extParams 扩展参数,可以暂时传NULL
-     * @return 初始化是否成功,0未成功,非0为错误码
-     */
-    int   (*Init)(const char* resPath, const char* workPath, const char* execPath, const char* authCode, void *extParams);
-    
-    /* 蓝盾功能模块获取接口
-     * @param moduleType 对应功能模块的ID
-     * return 返回对应功能模块的单例
-     */
-    void* (*GetModule)(BlueShieldModuleType moduleType);
-} BlueShieldManager;
-
-// 获取蓝盾单例
-__attribute__((visibility("default"))) BlueShieldManager *BlueShieldGetManager();
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif //APSECDEMO_BLUESHIELDMANAGER_H

+ 0 - 152
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/include/BlueShield/TrustedTerminalInterface.h

@@ -1,152 +0,0 @@
-//
-// Created on 2024/5/6.
-//
-// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
-// please include "napi/native_api.h".
-
-#ifndef APSECDEMO_BLUESHIELDTRUSTEDTERMINALINTERFACE_H
-#define APSECDEMO_BLUESHIELDTRUSTEDTERMINALINTERFACE_H
-
-#ifdef TRUSTEDTERMINAL_USE_VISIBILITY_DEFAULT
-#define TRUSTEDTERMINAL_VISIBILITY_DEFAULT __attribute__((visibility("default")))
-#else
-#define TRUSTEDTERMINAL_VISIBILITY_DEFAULT 
-#endif // #ifdef TRUSTEDTERMINAL_USE_VISIBILITY_DEFAULT
-
-#include <stddef.h>
-#include <stdint.h>
-
-typedef union _BSValue {
-    uint8_t     uint8_value;
-    int8_t      int8_value;
-    uint16_t    uint16_value;
-    int16_t     int16_value;
-    uint32_t    uint32_value;
-    int32_t     int32_value;
-    uint64_t    uint64_value;
-    int64_t     int64_value;
-    float       float_value;
-    double      double_value;
-    const char* string_value;
-    void*       pointer_value;
-} BSValue;
-
-typedef struct _BSKeyValue{
-    const char*     key;
-    BSValue   val;
-} BSKeyValue;
-
-// Module 0, 静态密钥存储
-typedef struct _BlueShieldStaticStoreModule {
-    int (*GetCustomData)(const char *appKey, const char *authName, const char** outData);
-} BlueShieldStaticStoreModule;
-
-// Module 1, 静态加解密
-typedef enum _BlueShieldStaticCryptoMode {
-    BS_STATIC_CRYPTO_MODE_SG_AES_128 = 16,
-    BS_STATIC_CRYPTO_MODE_BS_SM4_GCM = 32,
-    BS_STATIC_CRYPTO_MODE_BS_AES_128 = 33,
-} BlueShieldStaticCryptoMode;
-
-typedef struct _BlueShieldStaticCryptoModule {
-    int (*Encrypt)(BlueShieldStaticCryptoMode mode, const char *appKey, const char *authCode, uint8_t *inData,
-                   size_t inLen, uint8_t **outData, size_t *outLen);
-    int (*Decrypt)(BlueShieldStaticCryptoMode mode, const char *appKey, const char *authCode, uint8_t *inData,
-                   size_t inLen, uint8_t **outData, size_t *outLen);
-    int (*EncryptBase64)(BlueShieldStaticCryptoMode mode, const char *appKey, const char *authCode, uint8_t *inData,
-                         size_t inLen, uint8_t **outData, size_t *outLen);
-    int (*DecryptBase64)(BlueShieldStaticCryptoMode mode, const char *appKey, const char *authCode, uint8_t *inData,
-                         size_t inLen, uint8_t **outData, size_t *outLen);
-    int (*EncryptStringBase64)(BlueShieldStaticCryptoMode mode, const char *appKey, const char *authCode,
-                               const char *inData, const char **outData);
-    int (*DecryptStringBase64)(BlueShieldStaticCryptoMode mode, const char *appKey, const char *authCode,
-                               const char *inData, const char **outData);
-} BlueShieldStaticCryptoModule;
-
-// Module 3, 动态加解密
-typedef struct _BlueShieldDynamicCryptoModule {
-    int (*Encrypt)(uint8_t *inData, size_t inLen, uint8_t **outData, size_t *outLen);
-    int (*Decrypt)(uint8_t *inData, size_t inLen, uint8_t **outData, size_t *outLen);
-    int (*EncryptStringBase64)(const char *inData, const char **outData);
-    int (*DecryptStringBase64)(const char *inData, const char **outData);
-} BlueShieldDynamicCryptoModule;
-
-// Module 4, 安全签名
-typedef enum _BlueShieldSafeSignatureAlgo {
-    // 32 - 63 HMAC摘要
-    BS_SAFE_SIGNATURE_ALGO_HMAC_SM3 = 32,
-    BS_SAFE_SIGNATURE_ALGO_HMAC_MD5 = 33,
-    BS_SAFE_SIGNATURE_ALGO_HMAC_SHA1 = 34,
-    BS_SAFE_SIGNATURE_ALGO_HMAC_SHA256 = 35,
-
-    // 64 - 95 正常摘要
-    BS_SAFE_SIGNATURE_ALGO_SM3 = 64,
-    BS_SAFE_SIGNATURE_ALGO_MD5 = 65,
-    BS_SAFE_SIGNATURE_ALGO_SHA1 = 66,
-    BS_SAFE_SIGNATURE_ALGO_SHA256 = 67,
-
-    // 96 - 127 兼容摘要
-    BS_SAFE_SIGNATURE_ALGO_SG_SM3 = 96,
-    BS_SAFE_SIGNATURE_ALGO_SG_MD5 = 97,
-    BS_SAFE_SIGNATURE_ALGO_SG_SHA1 = 98,
-    BS_SAFE_SIGNATURE_ALGO_SG_SHA256 = 99,
-    BS_SAFE_SIGNATURE_ALGO_SG_XIAMI = 100,
-} BlueShieldSafeSignatureAlgo;
-
-typedef struct _BlueShieldSafeSignatureModule {
-    int (*sign)(BlueShieldSafeSignatureAlgo signAlgo, const char *appKey, uint8_t *msgData, size_t msgLen,
-                uint8_t **signBytes, size_t *signLen);
-    int (*signString)(BlueShieldSafeSignatureAlgo signAlgo, const char *appKey, const char *msgStr,
-                      const char **signStr);
-    int (*verify)(BlueShieldSafeSignatureAlgo signAlgo, const char *appKey, uint8_t *msgData, size_t msgLen,
-                  uint8_t *signData, size_t signLen);
-    int (*verifyString)(BlueShieldSafeSignatureAlgo signAlgo, const char *appKey, const char *msgStr,
-                        const char *signStr);
-} BlueShieldSafeSignatureModule;
-
-// Module 7, 可信签名
-#define  BS_TRUSTED_SIGN_PARAM_KEY_SIGN_API         "api"
-#define  BS_TRUSTED_SIGN_PARAM_KEY_SIGN_ENV         "env"
-#define  BS_TRUSTED_SIGN_PARAM_KEY_SIGN_TYPE        "signType"
-#define  BS_TRUSTED_SIGN_PARAM_KEY_SIGN_APPKEY      "appKey"
-#define  BS_TRUSTED_SIGN_PARAM_KEY_SIGN_AUTHCODE    "authCode"
-#define  BS_TRUSTED_SIGN_PARAM_KEY_SIGN_DATA        "signData"
-#define  BS_TRUSTED_SIGN_PARAM_KEY_SIGN_SWITCH      "signSwi"
-
-typedef enum _BlueShieldTrustedSignType {
-    BS_SECURITY_GUARD_MD5 = 0,
-    BS_SECURITY_GUARD_HMAC_SHA1 = 1,
-    // BS_SECURITY_GUARD_ATLAS       = 2,
-    // BS_SECURITY_GUARD_AVMP        = 3,
-    BS_TRUSTED_SIGN_NORMAL = 4,
-} BlueShieldTrustedSignType;
-
-typedef enum _BlueShieldTrustedSignEnv {
-    BS_TRUSTED_SIGN_ENV_ONLINE = 0,
-    BS_TRUSTED_SIGN_ENV_DEV = 1,
-    BS_TRUSTED_SIGN_ENV_PRE = 2,
-} BlueShieldTrustedSignEnv;
-
-typedef struct _BSTrustedSignResult {
-    const char *sign;
-    const char *color;
-    const char *token;
-    const char *reserved0;
-    const char *reserved1;
-} BSTrustedSignResult;
-
-typedef struct _BlueShieldTrustedSignatureModule {
-    int (*GetSign)(BSKeyValue* signParams, size_t paramCount, BSTrustedSignResult* signResult);
-    int (*ReleaseSign)(BSTrustedSignResult* signResult);
-} BlueShieldTrustedSignatureModule;
-
-// Module 8, 动态密钥
-typedef struct _BlueShieldSafeTokenModule {
-    int (*GetEncToken)(const char* value, int flag, uint8_t** out, size_t *outLen);
-    int (*GetPaycodeWithEncToken)(uint8_t* encToken, size_t encTokenLen, int64_t srvTime, int flag, const char** paycode);
-    int (*EncryptWithEncToken)(uint8_t* encToken, size_t encTokenLen, uint8_t* plainData, size_t plainDataLen, int flag, uint8_t** out, size_t* outLen);
-    int (*DecryptWithEncToken)(uint8_t* encToken, size_t encTokenLen, uint8_t* cipherData, size_t cipherDataLen, int flag, uint8_t** out, size_t* outLen);
-    int (*SignWithEncToken)(uint8_t* encToken, size_t encTokenLen, uint8_t* msgData, size_t msgDataLen, int flag, const char** signResult);
-} BlueShieldSafeTokenModule;
-
-#endif // APSECDEMO_BLUESHIELDTRUSTEDTERMINALINTERFACE_H

BIN
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/libs/arm64-v8a/libblueshield.so


+ 0 - 0
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/obfuscation.txt


+ 0 - 1
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/oh-package.json5

@@ -1 +0,0 @@
-{"license":"Apache-2.0","author":"Ant Security Team","name":"@alipay/blueshieldsdk","description":"Security Kits provided by Ant Group","version":"1.0.29","dynamicDependencies":{},"devDependencies":{},"dependencies":{"libblueshield.so":"file:./src/main/cpp/types/libblueshield"},"types":"Index.d.ets","artifactType":"obfuscation","metadata":{"runtimeOnly":{"packages":[]},"byteCodeHar":true,"sourceRoots":["./src/main"],"declarationEntry":[],"useNormalizedOHMUrl":true},"compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true,"nativeComponents":[{"name":"libapdid.a","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","linkLibraries":[]},{"name":"libblueshield.so","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","linkLibraries":[]},{"name":"libcommon.a","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","linkLibraries":[]},{"name":"libdynamic.a","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","linkLibraries":[]},{"name":"libsecflow.a","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","linkLibraries":[]},{"name":"libstee.a","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","linkLibraries":[]},{"name":"libstx.a","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","linkLibraries":[]},{"name":"libteec.a","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","linkLibraries":[]},{"name":"libtrustedterminal.a","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","linkLibraries":[]}]}

+ 0 - 14
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/cpp/types/libblueshield/index.d.ts

@@ -1,14 +0,0 @@
-export interface RegisterReflectionFuncModel {
-    name: string;
-    func: Function;
-}
-export const setAppContext: (ctx: Object) => boolean;
-export const initBlueShieldManger: (authName?: string, extConfig?: Map<string, string>) => number;
-export const ScpInvokeNative: (proto: number, ...args: Object[]) => Object;
-export const nativeRegisterReflectionFunc: (funcList: RegisterReflectionFuncModel[]) => number;
-export const registerRpcInterceptor: () => number;
-export const notifyValidateResult: (validateResult: number) => number;
-export const ScpGetConfig: (configKey: string, defaultValue: string) => string;
-export const ScpMdapEvent: (bizType: string, eventId: string, param1: string, param2: string, param3: string, param4: string) => number;
-export const ScpLoggerWrite: (tag: string, level: number, fmt: string, msg: string) => number;
-export const ScpSendEventNative: (protocol: string, properties: string, external: Uint8Array, timeout: number) => string;

+ 0 - 6
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/cpp/types/libblueshield/oh-package.json5

@@ -1,6 +0,0 @@
-{
-  "name": "libblueshield.so",
-  "types": "./index.d.ts",
-  "version": "1.0.8",
-  "description": "Please describe the basic information."
-}

+ 0 - 27
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/BlueShieldManager.d.ets

@@ -1,27 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import common from '@ohos.app.ability.common';
-export declare class BlueShieldManager {
-    constructor();
-    static setContext(u2: common.Context): boolean;
-    static getInstance(): BlueShieldManager;
-    initialize(j2?: string, k2?: Map<string, string>): number;
-    getModule(i2: BlueShieldModuleType): Object | null;
-}
-export declare const enum BlueShieldModuleType {
-    BS_STATIC_STORE_MODULE = 0,
-    BS_STATIC_CRYPTO_MODULE = 1,
-    BS_ENVELOPE_CRYPTO_MODULE = 2,
-    BS_DYNAMIC_CRYPTO_MODULE = 3,
-    BS_SAFE_SIGNATURE_MODULE = 4,
-    BS_SAFE_OTP_MODULE = 5,
-    BS_TRUSTED_SIGNATURE_MODULE = 6,
-    BS_TRUSTED_ENGINE_MODULE = 7,
-    BS_DEVICE_FEATURE_MODULE = 8,
-    BS_SAFE_TOKEN_MODULE = 9,
-    BS_APDID_MODULE = 16,
-    BS_RDS_MODULE = 32,
-    BS_DEVICE_COLOR_MODULE = 33,
-    BS_CAPTCHA_MODULE = 34,
-    BS_EDGE_RISK_MODULE = 48
-}

+ 0 - 13
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/apdid/APDIDModule.d.ets

@@ -1,13 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { IAPDIDModule, TokenResult } from './IAPDIDModule';
-import { AsyncCallback } from '@ohos.base';
-export declare class APDIDModule implements IAPDIDModule {
-    initToken(q: Map<string, string>, r: AsyncCallback<TokenResult, void>): void;
-    initToken(q: Map<string, string>): Promise<TokenResult>;
-    getTokenResult(): TokenResult;
-    getApdidToken(): string;
-    initOpenToken(g: string, h: string, i: AsyncCallback<string, void>): void;
-    initOpenToken(g: string, h: string): Promise<string>;
-    registerDeviceIdChanged(a: AsyncCallback<number, void>): void;
-}

+ 0 - 78
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/apdid/IAPDIDModule.d.ets

@@ -1,78 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { AsyncCallback } from '@ohos.base';
-/**
- * 设备指纹结果类
- * 包含apdidToken
- */
-export declare class TokenResult {
-    apdidToken: string;
-    apdid: string;
-    umidToken: string;
-}
-export declare const enum APDIDParamKey {
-    TID = "tid",
-    UTDID = "utdid",
-    USERID = "userId"
-}
-/**
- * 设备指纹接口类
- */
-export interface IAPDIDModule {
-    /**
-     * 设备指纹异步初始化回调接口
-     * 采集设备信息并通过RPC发送到服务器,然后回调用户设置的listener接口返回结果
-     * 注意:用户设置的回调listener将在异步线程中被SDK调用,不用直接在listener中做UI相关的操作
-     *
-     * @param inArgs   可扩展参数对象,钱包中主要用于外部传入tid,utdid,userId等变量
-     * @param listener 结果回调,回调参数见{@link TokenResult}
-     * @throws BusinessError 1111 - to be declared error.
-     */
-    initToken(inArgs: Map<string, string>, listener: AsyncCallback<TokenResult>): void;
-    /**
-     * 设备指纹异步初始化Promise接口
-     * 采集设备信息并通过RPC发送到服务器,结果通过Promise返回
-     *
-     * @param inArgs   可扩展参数对象,钱包中主要用于外部传入tid,utdid,userId等变量
-     * @returns Promise<TokenResult>, 结果见{@link TokenResult}
-     */
-    initToken(inArgs: Map<string, string>): Promise<TokenResult>;
-    /**
-     * 同步获取TokenResult
-     *
-     * @return 参照类 {@link TokenResult}
-     */
-    getTokenResult(): TokenResult;
-    /**
-     * 同步获取apdidToken
-     *
-     * @return apdidToken {@link TokenResult.apdidToken}
-     */
-    getApdidToken(): string;
-    /**
-     * 设备指纹开放版异步初始化callback接口
-     * 集成在钱包H5容器中的App调用,获取apdidToken
-     *
-     * @param appName
-     * @param appKeyClient
-     * @param listener, 回调参数为apdidToken
-     */
-    initOpenToken(appName: string, appKeyClient: string, listener: AsyncCallback<string>): void;
-    /**
-     * 设备指纹开放版异步初始化promise接口
-     * 集成在钱包H5容器中的App调用,获取apdidToken
-     *
-     * @param appName
-     * @param appKeyClient
-     * @returns Promise<string>, 结果为apdidToken
-     */
-    initOpenToken(appName: string, appKeyClient: string): Promise<string>;
-    /**
-     * 设备指纹id变化监听注册接口
-     *
-     * @param listener, 回调参数含义:
-     *  0: apdid 没变;
-     *  1: apdid 跟上次比较有变化
-     */
-    registerDeviceIdChanged(listener: AsyncCallback<number>): void;
-}

+ 0 - 7
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/apdid/network/APDIDNetworkUtil.d.ets

@@ -1,7 +0,0 @@
-// @keepTs
-// @ts-nocheck
-export declare class APDIDNetworkUtil {
-    private static readonly operationType;
-    private static packetStr;
-    static executeRPC(l1: string): Promise<string | null>;
-}

+ 0 - 10
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/CollectArgs.d.ets

@@ -1,10 +0,0 @@
-// @keepTs
-// @ts-nocheck
-export interface CollectArgs {
-    appName?: string;
-    userId?: string;
-    tid?: string;
-    utdid?: string;
-    reportReason?: string;
-    timeout?: number;
-}

+ 0 - 15
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/CollectBase.d.ets

@@ -1,15 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectArgs } from './CollectArgs';
-/**
- * 因子采集基类
- */
-export declare abstract class CollectBase {
-    name: string;
-    timeout: number;
-    constructor();
-    promiseWithTimeout<u3>(v3: Promise<u3>, w3: number): Promise<u3>;
-    getCollectName(): string;
-    getResult(c3: CollectArgs): Promise<Record<string, string>>;
-    abstract doCollect(b3?: CollectArgs): Promise<string | number | null> | string | null | number;
-}

+ 0 - 6
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/Index.d.ets

@@ -1,6 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectArgs } from './CollectArgs';
-export declare function generateStaticDataHash(b8: CollectArgs): Promise<string>;
-export declare function collectAllData(y7: CollectArgs): Promise<string>;
-export declare function collectAtomicData(v7: string): Promise<string>;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/application/HA1_AppName.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class AppName extends CollectBase {
-    constructor();
-    doCollect(): Promise<string>;
-}
-declare const _default: AppName;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/application/HA2_AppVersion.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class AppVersion extends CollectBase {
-    constructor();
-    doCollect(): Promise<string>;
-}
-declare const _default: AppVersion;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/application/HA3_SdkName.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class SdkName extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: SdkName;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/application/HA4_SdkVersion.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class SdkVersion extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: SdkVersion;
-export default _default;

+ 0 - 5
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/application/Index.d.ets

@@ -1,5 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-export declare const HA_STATIC: CollectBase[];
-export declare const HA_ALL: CollectBase[];

+ 0 - 10
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/customize/HC1_Tid.d.ets

@@ -1,10 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-import { CollectArgs } from '../CollectArgs';
-declare class Tid extends CollectBase {
-    constructor();
-    doCollect(c4?: CollectArgs): Promise<string | null>;
-}
-declare const _default: Tid;
-export default _default;

+ 0 - 10
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/customize/HC2_Utdid.d.ets

@@ -1,10 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-import { CollectArgs } from '../CollectArgs';
-declare class Utdid extends CollectBase {
-    constructor();
-    doCollect(e4?: CollectArgs): Promise<string | null>;
-}
-declare const _default: Utdid;
-export default _default;

+ 0 - 13
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/customize/HC4_RandomStr.d.ets

@@ -1,13 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class RandomStr extends CollectBase {
-    private randomStr;
-    private readonly prefsKey;
-    constructor();
-    private static stringToArray;
-    private static arrayToString;
-    doCollect(): Promise<string | null>;
-}
-declare const _default: RandomStr;
-export default _default;

+ 0 - 10
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/customize/HC5_UserId.d.ets

@@ -1,10 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-import { CollectArgs } from '../CollectArgs';
-declare class UserId extends CollectBase {
-    constructor();
-    doCollect(e5?: CollectArgs): Promise<string | null>;
-}
-declare const _default: UserId;
-export default _default;

+ 0 - 6
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/customize/Index.d.ets

@@ -1,6 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-export declare const HC_STATIC: CollectBase[];
-export declare const HC_DYNAMIC: CollectBase[];
-export declare const HC_ALL: CollectBase[];

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD10_Udid.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class Udid extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: Udid;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD12_CpuCount.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class CpuCount extends CollectBase {
-    constructor();
-    doCollect(): number;
-}
-declare const _default: CpuCount;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD13_CpuFrequency.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class CpuFrequency extends CollectBase {
-    constructor();
-    doCollect(): string | null;
-}
-declare const _default: CpuFrequency;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD14_Memory.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class Memory extends CollectBase {
-    constructor();
-    doCollect(): string | null;
-}
-declare const _default: Memory;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD15_DataPathSize.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class DataPathSize extends CollectBase {
-    constructor();
-    doCollect(): number;
-}
-declare const _default: DataPathSize;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD16_StoragePathSize.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class StoragePathSize extends CollectBase {
-    constructor();
-    doCollect(): number;
-}
-declare const _default: StoragePathSize;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD17_LocalDeviceId.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class LocalDeviceId extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: LocalDeviceId;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD19_NetworkType.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class NetworkType extends CollectBase {
-    constructor();
-    doCollect(): Promise<number>;
-}
-declare const _default: NetworkType;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD301_SG.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class FraudCheck extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: FraudCheck;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD302_DeviceAuth.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class DeviceAuth extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: DeviceAuth;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD303_SysIntegrity.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class SysIntegrity extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: SysIntegrity;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD304_SecureLocation.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class SecureLocation extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: SecureLocation;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD305_MicScreenStatus.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class MicScreenStatus extends CollectBase {
-    constructor();
-    doCollect(): number;
-}
-declare const _default: MicScreenStatus;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD37_Timezone.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class Timezone extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: Timezone;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD38_Language.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class Language extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: Language;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD3_SensorListDigest.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class SensorListDigest extends CollectBase {
-    constructor();
-    doCollect(): Promise<string>;
-}
-declare const _default: SensorListDigest;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD4_Oaid.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class Oaid extends CollectBase {
-    constructor();
-    doCollect(): Promise<string>;
-}
-declare const _default: Oaid;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD5_Aaid.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class Aaid extends CollectBase {
-    constructor();
-    doCollect(): Promise<string | null>;
-}
-declare const _default: Aaid;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD6_ScreenWidth.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class ScreenWidth extends CollectBase {
-    constructor();
-    doCollect(): number;
-}
-declare const _default: ScreenWidth;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD7_ScreenHeight.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class ScreenHeight extends CollectBase {
-    constructor();
-    doCollect(): number;
-}
-declare const _default: ScreenHeight;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD8_MacAddress.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class MacAddress extends CollectBase {
-    constructor();
-    doCollect(): Promise<string>;
-}
-declare const _default: MacAddress;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HD9_SimIccid.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class SimIccid extends CollectBase {
-    constructor();
-    doCollect(): Promise<string>;
-}
-declare const _default: SimIccid;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/HL3_WifiMac.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class WifiMac extends CollectBase {
-    constructor();
-    doCollect(): Promise<string>;
-}
-declare const _default: WifiMac;
-export default _default;

+ 0 - 6
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/device/Index.d.ets

@@ -1,6 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-export declare const HD_STATIC: CollectBase[];
-export declare const HD_DYNAMIC: CollectBase[];
-export declare const HD_ALL: CollectBase[];

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE10_ProductModel.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class ProductModel extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: ProductModel;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE11_MarketName.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class MarketName extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: MarketName;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE12_OsFullName.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class OsFullName extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: OsFullName;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE13_SdkApiVersion.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class SdkApiVersion extends CollectBase {
-    constructor();
-    doCollect(): number;
-}
-declare const _default: SdkApiVersion;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE14_BuildRootHash.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class BuildRootHash extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: BuildRootHash;
-export default _default;

+ 0 - 10
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE18_ReportReason.d.ets

@@ -1,10 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-import { CollectArgs } from '../CollectArgs';
-declare class ReportReason extends CollectBase {
-    constructor();
-    doCollect(u7?: CollectArgs): string | null;
-}
-declare const _default: ReportReason;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE1_OS.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class OS extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: OS;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE4_HardwareModel.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class HardwareModel extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: HardwareModel;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE5_Brand.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class Brand extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: Brand;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE7_DisplayVersion.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class DisplayVersion extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: DisplayVersion;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE8_IncrementalVersion.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class IncrementalVersion extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: IncrementalVersion;
-export default _default;

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/HE9_Manufacture.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-declare class Manufacture extends CollectBase {
-    constructor();
-    doCollect(): string;
-}
-declare const _default: Manufacture;
-export default _default;

+ 0 - 6
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/collect/environment/Index.d.ets

@@ -1,6 +0,0 @@
-// @keepTs
-// @ts-nocheck
-import { CollectBase } from '../CollectBase';
-export declare const HE_STATIC: CollectBase[];
-export declare const HE_DYNAMIC: CollectBase[];
-export declare const HE_ALL: CollectBase[];

+ 0 - 9
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/common/CDNDownloader.d.ets

@@ -1,9 +0,0 @@
-// @keepTs
-// @ts-nocheck
-export declare class CDNDownloader {
-    /**
-     * CDN下载
-     * @param url
-     */
-    static download(x8: string): Promise<Uint8Array>;
-}

+ 0 - 8
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/common/ConfigService.d.ets

@@ -1,8 +0,0 @@
-// @keepTs
-// @ts-nocheck
-export declare enum ConfigServiceKEY {
-    CaptchaFileConfig = "CaptchaFileConfig"
-}
-export declare class ConfigService {
-    static getConfigString(i9: string, j9?: string): string;
-}

+ 0 - 5
oh_modules/.ohpm/@alipay+blueshieldsdk@cow+0gass5tzqhymzjby2f6sd+g2xtoatqsiyvi9qsy=/oh_modules/@alipay/blueshieldsdk/src/main/ets/components/common/EnvService.d.ets

@@ -1,5 +0,0 @@
-// @keepTs
-// @ts-nocheck
-export declare class EnvService {
-    static getEnvType(): Promise<number>;
-}

Some files were not shown because too many files changed in this diff