@tarojs/plugin-platform-harmony-cpp 4.1.0 → 4.1.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/dist/index.js +1237 -0
  2. package/dist/runtime/apis/apis.ts +20 -0
  3. package/dist/runtime/apis/base/crypto.ts +4 -0
  4. package/dist/runtime/apis/base/debug.ts +5 -0
  5. package/dist/runtime/apis/base/index.ts +13 -0
  6. package/dist/runtime/apis/base/performance.ts +8 -0
  7. package/dist/runtime/apis/base/system.ts +181 -0
  8. package/dist/runtime/apis/base/update.ts +5 -0
  9. package/dist/runtime/apis/base/weapp/app-event.ts +75 -0
  10. package/dist/runtime/apis/base/weapp/life-cycle.ts +21 -0
  11. package/dist/runtime/apis/canvas/index.ts +27 -0
  12. package/dist/runtime/apis/data-analysis/index.ts +6 -0
  13. package/dist/runtime/apis/device/accelerometer.ts +79 -0
  14. package/dist/runtime/apis/device/accessibility.ts +4 -0
  15. package/dist/runtime/apis/device/battery.ts +24 -0
  16. package/dist/runtime/apis/device/bluetooth-ble.ts +19 -0
  17. package/dist/runtime/apis/device/bluetooth-peripheral.ts +6 -0
  18. package/dist/runtime/apis/device/bluetooth.ts +16 -0
  19. package/dist/runtime/apis/device/calendar.ts +5 -0
  20. package/dist/runtime/apis/device/clipboard.ts +85 -0
  21. package/dist/runtime/apis/device/compass.ts +21 -0
  22. package/dist/runtime/apis/device/contact.ts +5 -0
  23. package/dist/runtime/apis/device/crypto.ts +4 -0
  24. package/dist/runtime/apis/device/gyroscope.ts +77 -0
  25. package/dist/runtime/apis/device/iBeacon.ts +10 -0
  26. package/dist/runtime/apis/device/index.ts +24 -0
  27. package/dist/runtime/apis/device/keyboard.ts +63 -0
  28. package/dist/runtime/apis/device/memory.ts +11 -0
  29. package/dist/runtime/apis/device/motion.ts +6 -0
  30. package/dist/runtime/apis/device/network.ts +123 -0
  31. package/dist/runtime/apis/device/nfc.ts +10 -0
  32. package/dist/runtime/apis/device/phone.ts +44 -0
  33. package/dist/runtime/apis/device/scan.ts +4 -0
  34. package/dist/runtime/apis/device/screen.ts +80 -0
  35. package/dist/runtime/apis/device/sms.ts +4 -0
  36. package/dist/runtime/apis/device/vibrate.ts +32 -0
  37. package/dist/runtime/apis/device/wifi.ts +15 -0
  38. package/dist/runtime/apis/ext/index.ts +5 -0
  39. package/dist/runtime/apis/files/index.ts +136 -0
  40. package/dist/runtime/apis/files/manager.ts +942 -0
  41. package/dist/runtime/apis/framework/index.ts +48 -0
  42. package/dist/runtime/apis/harmony/task-pool.ts +39 -0
  43. package/dist/runtime/apis/index.ts +61 -0
  44. package/dist/runtime/apis/location/index.ts +133 -0
  45. package/dist/runtime/apis/media/EditorContext.ts +32 -0
  46. package/dist/runtime/apis/media/audio/index.ts +36 -0
  47. package/dist/runtime/apis/media/background-audio/index.ts +16 -0
  48. package/dist/runtime/apis/media/camera.ts +16 -0
  49. package/dist/runtime/apis/media/common.ts +58 -0
  50. package/dist/runtime/apis/media/image/index.ts +291 -0
  51. package/dist/runtime/apis/media/index.ts +13 -0
  52. package/dist/runtime/apis/media/live.ts +5 -0
  53. package/dist/runtime/apis/media/map.ts +4 -0
  54. package/dist/runtime/apis/media/media-recorder.ts +4 -0
  55. package/dist/runtime/apis/media/recorder.ts +6 -0
  56. package/dist/runtime/apis/media/video/VideoContext.ts +67 -0
  57. package/dist/runtime/apis/media/video/index.ts +45 -0
  58. package/dist/runtime/apis/media/video-decoder.ts +4 -0
  59. package/dist/runtime/apis/media/video-processing.ts +4 -0
  60. package/dist/runtime/apis/media/voip.ts +19 -0
  61. package/dist/runtime/apis/navigate/index.ts +8 -0
  62. package/dist/runtime/apis/network/downloadFile.ts +85 -0
  63. package/dist/runtime/apis/network/index.ts +7 -0
  64. package/dist/runtime/apis/network/mdns.ts +13 -0
  65. package/dist/runtime/apis/network/request.ts +140 -0
  66. package/dist/runtime/apis/network/tcp.ts +4 -0
  67. package/dist/runtime/apis/network/udp.ts +4 -0
  68. package/dist/runtime/apis/network/uploadFile.ts +105 -0
  69. package/dist/runtime/apis/network/webSocket.ts +126 -0
  70. package/dist/runtime/apis/open-api/account.ts +4 -0
  71. package/dist/runtime/apis/open-api/address.ts +4 -0
  72. package/dist/runtime/apis/open-api/authorize.ts +5 -0
  73. package/dist/runtime/apis/open-api/card.ts +5 -0
  74. package/dist/runtime/apis/open-api/channels-live.ts +11 -0
  75. package/dist/runtime/apis/open-api/customer-service.ts +4 -0
  76. package/dist/runtime/apis/open-api/device-voip.ts +5 -0
  77. package/dist/runtime/apis/open-api/facial.ts +7 -0
  78. package/dist/runtime/apis/open-api/favorites.ts +5 -0
  79. package/dist/runtime/apis/open-api/group.ts +4 -0
  80. package/dist/runtime/apis/open-api/index.ts +21 -0
  81. package/dist/runtime/apis/open-api/invoice.ts +5 -0
  82. package/dist/runtime/apis/open-api/license-plate.ts +4 -0
  83. package/dist/runtime/apis/open-api/login.ts +6 -0
  84. package/dist/runtime/apis/open-api/my-miniprogram.ts +4 -0
  85. package/dist/runtime/apis/open-api/privacy.ts +7 -0
  86. package/dist/runtime/apis/open-api/red-package.ts +4 -0
  87. package/dist/runtime/apis/open-api/settings.ts +5 -0
  88. package/dist/runtime/apis/open-api/soter.ts +6 -0
  89. package/dist/runtime/apis/open-api/subscribe-message.ts +6 -0
  90. package/dist/runtime/apis/open-api/user-info.ts +70 -0
  91. package/dist/runtime/apis/open-api/werun.ts +5 -0
  92. package/dist/runtime/apis/payment/index.ts +6 -0
  93. package/dist/runtime/apis/route/index.ts +88 -0
  94. package/dist/runtime/apis/share/index.ts +33 -0
  95. package/dist/runtime/apis/storage/background-fetch.ts +7 -0
  96. package/dist/runtime/apis/storage/cache-manager.ts +4 -0
  97. package/dist/runtime/apis/storage/index.ts +203 -0
  98. package/dist/runtime/apis/ui/animation/animation.ts +264 -0
  99. package/dist/runtime/apis/ui/animation/index.ts +7 -0
  100. package/dist/runtime/apis/ui/background.ts +20 -0
  101. package/dist/runtime/apis/ui/custom-component.ts +1 -0
  102. package/dist/runtime/apis/ui/fonts.ts +4 -0
  103. package/dist/runtime/apis/ui/index.ts +12 -0
  104. package/dist/runtime/apis/ui/interaction/index.ts +198 -0
  105. package/dist/runtime/apis/ui/menu.ts +4 -0
  106. package/dist/runtime/apis/ui/navigation-bar/index.ts +72 -0
  107. package/dist/runtime/apis/ui/pull-down-refresh.ts +47 -0
  108. package/dist/runtime/apis/ui/scroll/index.ts +82 -0
  109. package/dist/runtime/apis/ui/sticky.ts +4 -0
  110. package/dist/runtime/apis/ui/tab-bar.ts +144 -0
  111. package/dist/runtime/apis/ui/window.ts +20 -0
  112. package/dist/runtime/apis/utils/constant.ts +1 -0
  113. package/dist/runtime/apis/utils/handler.ts +117 -0
  114. package/dist/runtime/apis/utils/index.ts +105 -0
  115. package/dist/runtime/apis/utils/permissions.ts +6 -0
  116. package/dist/runtime/apis/utils/types.ts +12 -0
  117. package/dist/runtime/apis/utils/unit.ts +104 -0
  118. package/dist/runtime/apis/utils/validate.ts +87 -0
  119. package/dist/runtime/apis/worker/index.ts +4 -0
  120. package/dist/runtime/apis/wxml/index.ts +17 -0
  121. package/dist/runtime/apis/wxml/intersectionObserver.ts +100 -0
  122. package/dist/runtime/apis/wxml/nodesRef.ts +58 -0
  123. package/dist/runtime/apis/wxml/selectorQuery.ts +221 -0
  124. package/dist/runtime/apischunk/index.d.ts +802 -0
  125. package/dist/runtime/apischunk/index.js +5054 -0
  126. package/dist/runtime/components/deprecated.ets +43 -0
  127. package/dist/runtime/components/index.ets +49 -0
  128. package/dist/runtime/components/innerHtml.ets +16 -0
  129. package/dist/runtime/components/navigationBar.ets +65 -0
  130. package/dist/runtime/components/pageMeta.ets +94 -0
  131. package/dist/runtime/components/richText.ets +24 -0
  132. package/dist/runtime/components/slider.ets +119 -0
  133. package/dist/runtime/components/style.ets +286 -0
  134. package/dist/runtime/components/switch.ets +73 -0
  135. package/dist/runtime/components/tag.ts +58 -0
  136. package/dist/runtime/components/utils/AttributeManager.ets +252 -0
  137. package/dist/runtime/components/utils/DynamicCenter.ts +41 -0
  138. package/dist/runtime/components/utils/constant/event.ets +25 -0
  139. package/dist/runtime/components/utils/constant/style.ets +91 -0
  140. package/dist/runtime/components/utils/events.ts +26 -0
  141. package/dist/runtime/components/utils/flexManager.ets +49 -0
  142. package/dist/runtime/components/utils/helper.ets +51 -0
  143. package/dist/runtime/components/utils/htmlParser/HarmonyHTMLParser.ts +100 -0
  144. package/dist/runtime/components/utils/htmlParser/index.ts +58 -0
  145. package/dist/runtime/components/utils/index.ts +77 -0
  146. package/dist/runtime/components/utils/styles.ets +41 -0
  147. package/dist/runtime/components/video.ets +119 -0
  148. package/dist/runtime/components/webView.ets +55 -0
  149. package/dist/runtime/components/xComponent.ets +89 -0
  150. package/dist/runtime/framework/app.ts +248 -0
  151. package/dist/runtime/framework/connect.ts +24 -0
  152. package/dist/runtime/framework/constant.ts +3 -0
  153. package/dist/runtime/framework/hooks.ts +99 -0
  154. package/dist/runtime/framework/index.ts +15 -0
  155. package/dist/runtime/framework/native-page.ts +511 -0
  156. package/dist/runtime/framework/page.ts +256 -0
  157. package/dist/runtime/framework/utils/index.ts +17 -0
  158. package/dist/runtime/framework/utils/is.ts +26 -0
  159. package/dist/runtime/framework-reconciler/componentTree.ts +81 -0
  160. package/dist/runtime/framework-reconciler/constant.ts +86 -0
  161. package/dist/runtime/framework-reconciler/domInput.ts +90 -0
  162. package/dist/runtime/framework-reconciler/event.ts +108 -0
  163. package/dist/runtime/framework-reconciler/index.ts +99 -0
  164. package/dist/runtime/framework-reconciler/inputValueTracking.ts +106 -0
  165. package/dist/runtime/framework-reconciler/props.ts +132 -0
  166. package/dist/runtime/framework-reconciler/reconciler.ts +202 -0
  167. package/dist/runtime/framework-reconciler/render.ts +139 -0
  168. package/dist/runtime/framework-reconciler/workTags.ts +53 -0
  169. package/dist/runtime/runtime-cpp/bom/URL.ts +2 -0
  170. package/dist/runtime/runtime-cpp/bom/document.ts +45 -0
  171. package/dist/runtime/runtime-cpp/bom/history.ts +1 -0
  172. package/dist/runtime/runtime-cpp/bom/location.ts +1 -0
  173. package/dist/runtime/runtime-cpp/bom/navigator.ts +1 -0
  174. package/dist/runtime/runtime-cpp/bom/raf.ts +1 -0
  175. package/dist/runtime/runtime-cpp/bom/window.ts +57 -0
  176. package/dist/runtime/runtime-cpp/constant.ts +29 -0
  177. package/dist/runtime/runtime-cpp/current.ts +48 -0
  178. package/dist/runtime/runtime-cpp/dom/class-list.ts +41 -0
  179. package/dist/runtime/runtime-cpp/dom/comment.ts +9 -0
  180. package/dist/runtime/runtime-cpp/dom/dataSource.ts +87 -0
  181. package/dist/runtime/runtime-cpp/dom/document.ts +113 -0
  182. package/dist/runtime/runtime-cpp/dom/element/canvas.ts +285 -0
  183. package/dist/runtime/runtime-cpp/dom/element/element.ts +262 -0
  184. package/dist/runtime/runtime-cpp/dom/element/form.ts +371 -0
  185. package/dist/runtime/runtime-cpp/dom/element/index.ts +129 -0
  186. package/dist/runtime/runtime-cpp/dom/element/movable.ts +250 -0
  187. package/dist/runtime/runtime-cpp/dom/element/normal.ts +123 -0
  188. package/dist/runtime/runtime-cpp/dom/element/scroll_view.ts +32 -0
  189. package/dist/runtime/runtime-cpp/dom/element/text.ts +9 -0
  190. package/dist/runtime/runtime-cpp/dom/element/video.ts +66 -0
  191. package/dist/runtime/runtime-cpp/dom/element/web_view.ts +72 -0
  192. package/dist/runtime/runtime-cpp/dom/event-source.ts +1 -0
  193. package/dist/runtime/runtime-cpp/dom/event.ts +187 -0
  194. package/dist/runtime/runtime-cpp/dom/eventTarget.ts +81 -0
  195. package/dist/runtime/runtime-cpp/dom/node.ts +307 -0
  196. package/dist/runtime/runtime-cpp/dom/style.ts +44 -0
  197. package/dist/runtime/runtime-cpp/dom/stylesheet/index.ts +379 -0
  198. package/dist/runtime/runtime-cpp/dom/stylesheet/type.ts +212 -0
  199. package/dist/runtime/runtime-cpp/dom/stylesheet/util.ts +186 -0
  200. package/dist/runtime/runtime-cpp/emitter/emitter.ts +29 -0
  201. package/dist/runtime/runtime-cpp/env.ts +1 -0
  202. package/dist/runtime/runtime-cpp/harmony-library.ts +1 -0
  203. package/dist/runtime/runtime-cpp/index.ts +79 -0
  204. package/dist/runtime/runtime-cpp/interface/event.ts +10 -0
  205. package/dist/runtime/runtime-cpp/interface/index.ts +7 -0
  206. package/dist/runtime/runtime-cpp/next-tick.ts +14 -0
  207. package/dist/runtime/runtime-cpp/system.ts +213 -0
  208. package/dist/runtime/runtime-cpp/utils/index.ts +63 -0
  209. package/dist/runtime/runtime-cpp/utils/info.ts +123 -0
  210. package/dist/runtime/runtime-cpp/utils/page.ts +12 -0
  211. package/dist/runtime/runtime-cpp/utils/router.ts +1 -0
  212. package/dist/runtime/runtime-harmony/apis/helper.ets +33 -0
  213. package/dist/runtime/runtime-harmony/apis/network/common.ets +41 -0
  214. package/dist/runtime/runtime-harmony/apis/network/downloadFile.ets +327 -0
  215. package/dist/runtime/runtime-harmony/apis/network/index.ets +58 -0
  216. package/dist/runtime/runtime-harmony/apis/network/request.ets +206 -0
  217. package/dist/runtime/runtime-harmony/apis/network/uploadFile.ets +190 -0
  218. package/dist/runtime/runtime-harmony/apis/route.ets +110 -0
  219. package/dist/runtime/runtime-harmony/apis/taskpool.ets +149 -0
  220. package/dist/runtime/runtime-harmony/index.ets +41 -0
  221. package/dist/runtime/runtime-harmony/utils.ts +53 -0
  222. package/package.json +24 -23
  223. package/LICENSE +0 -174
@@ -0,0 +1,53 @@
1
+ import type { TaroAny } from '@tarojs/runtime'
2
+
3
+ export function setParamFromObj (obj: Record<string, string | number>, params: TaroAny) {
4
+ if (!obj) return params
5
+
6
+ Object.keys(obj).forEach(key => {
7
+ params[key] = obj[key]
8
+ })
9
+
10
+ return params
11
+ }
12
+
13
+ export function assignObject (target: TaroAny, source: TaroAny) {
14
+ return Object.assign(target, source)
15
+ }
16
+
17
+ function safeDecode (str) {
18
+ try {
19
+ return decodeURIComponent(str)
20
+ } catch (e) {
21
+ return str
22
+ }
23
+ }
24
+
25
+ export function queryToJson(str) {
26
+ const qp = str.split('&')
27
+ const ret = {}
28
+ let name
29
+ let val
30
+ for (let i = 0, l = qp.length, item; i < l; ++i) {
31
+ item = qp[i]
32
+ if (item.length) {
33
+ const s = item.indexOf('=')
34
+ if (s < 0) {
35
+ name = safeDecode(item)
36
+ val = ''
37
+ } else {
38
+ name = safeDecode(item.slice(0, s))
39
+ val = safeDecode(item.slice(s + 1))
40
+ }
41
+ if (typeof ret[name] === 'string') {
42
+ // inline'd type check
43
+ ret[name] = [ret[name]]
44
+ }
45
+ if (Array.isArray(ret[name])) {
46
+ ret[name].push(val)
47
+ } else {
48
+ ret[name] = val
49
+ }
50
+ }
51
+ }
52
+ return ret // Object
53
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/plugin-platform-harmony-cpp",
3
- "version": "4.1.0",
3
+ "version": "4.1.1-alpha.0",
4
4
  "description": "鸿蒙系统插件 C-API 版本",
5
5
  "author": "O2Team",
6
6
  "homepage": "https://gitee.com/openharmony-sig/taro",
@@ -40,9 +40,9 @@
40
40
  "rollup-plugin-node-externals": "^5.1.3",
41
41
  "rollup-plugin-ts": "^3.4.5",
42
42
  "scheduler": "^0.23.2",
43
- "@tarojs/react": "4.1.0",
44
- "@tarojs/runner-utils": "4.1.0",
45
- "@tarojs/service": "4.1.0"
43
+ "@tarojs/react": "4.1.1-alpha.0",
44
+ "@tarojs/service": "4.1.1-alpha.0",
45
+ "@tarojs/runner-utils": "4.1.1-alpha.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@rollup/plugin-typescript": "^11.1.6",
@@ -56,34 +56,35 @@
56
56
  "tslib": "^2.6.3",
57
57
  "typescript": "~5.4.5",
58
58
  "vite": "^4.2.0",
59
- "@tarojs/components": "4.1.0",
60
- "@tarojs/helper": "4.1.0",
61
- "@tarojs/plugin-framework-react": "4.1.0",
62
- "@tarojs/plugin-platform-harmony-ets": "4.1.0",
63
- "@tarojs/react": "4.1.0",
64
- "@tarojs/runtime": "4.1.0",
65
- "@tarojs/shared": "4.1.0",
66
- "@tarojs/vite-runner": "4.1.0",
67
- "@tarojs/taro": "4.1.0",
68
- "rollup-plugin-copy": "4.1.0"
59
+ "@tarojs/helper": "4.1.1-alpha.0",
60
+ "@tarojs/plugin-framework-react": "4.1.1-alpha.0",
61
+ "@tarojs/plugin-platform-harmony-ets": "4.1.1-alpha.0",
62
+ "@tarojs/components": "4.1.1-alpha.0",
63
+ "@tarojs/shared": "4.1.1-alpha.0",
64
+ "@tarojs/taro": "4.1.1-alpha.0",
65
+ "@tarojs/react": "4.1.1-alpha.0",
66
+ "rollup-plugin-copy": "4.1.1-alpha.0",
67
+ "@tarojs/runtime": "4.1.1-alpha.0",
68
+ "@tarojs/vite-runner": "4.1.1-alpha.0"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "less": "^4.2.0",
72
72
  "sass": "^1.75.0",
73
73
  "stylus": "^0.63.0",
74
- "@tarojs/helper": "4.1.0",
75
- "@tarojs/plugin-platform-harmony-ets": "4.1.0",
76
- "@tarojs/components": "4.1.0",
77
- "@tarojs/react": "4.1.0",
78
- "@tarojs/runtime": "4.1.0",
79
- "@tarojs/shared": "4.1.0",
80
- "@tarojs/plugin-framework-react": "4.1.0",
81
- "@tarojs/taro": "4.1.0",
82
- "@tarojs/vite-runner": "4.1.0"
74
+ "@tarojs/helper": "4.1.1-alpha.0",
75
+ "@tarojs/components": "4.1.1-alpha.0",
76
+ "@tarojs/plugin-framework-react": "4.1.1-alpha.0",
77
+ "@tarojs/react": "4.1.1-alpha.0",
78
+ "@tarojs/plugin-platform-harmony-ets": "4.1.1-alpha.0",
79
+ "@tarojs/runtime": "4.1.1-alpha.0",
80
+ "@tarojs/shared": "4.1.1-alpha.0",
81
+ "@tarojs/vite-runner": "4.1.1-alpha.0",
82
+ "@tarojs/taro": "4.1.1-alpha.0"
83
83
  },
84
84
  "scripts": {
85
85
  "prebuild": "rimraf --impl=move-remove dist",
86
86
  "build": "pnpm run rollup",
87
+ "prod": "pnpm run build",
87
88
  "build:library": "pnpm run tsx --files ./scripts/build",
88
89
  "dev": "pnpm run rollup -w",
89
90
  "remove:reference": "pnpm run tsx --files ./scripts/reference",
package/LICENSE DELETED
@@ -1,174 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2018 O2Team
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
22
-
23
- ========================================================================
24
-
25
- MIT (react-devtools):
26
- The following files embed [react-devtools](https://github.com/facebook/react) MIT:
27
- `/packages/taro-plugin-react-devtools/src/backend/index.js`
28
- See `/LICENSE` for details of the license.
29
-
30
- ==================
31
-
32
- MIT (vue-devtools):
33
- The following files embed [vue-devtools](https://github.com/vuejs/devtools) MIT:
34
- `/packages/taro-plugin-vue-devtools/src/backend/*`
35
- See `/LICENSE` for details of the license.
36
-
37
- ==================
38
-
39
- MIT (vite):
40
- The following files embed [vite](https://github.com/vitejs/vite) MIT:
41
- `/packages/taro-webpack5-prebundle/src/prebundle/scanImport.ts`,
42
- `/packages/taro-webpack5-prebundle/src/prebundle/bundle.ts`,
43
- `/packages/taro-webpack5-prebundle/src/h5.ts`,
44
- `/packages/taro-webpack5-prebundle/src/min.ts`
45
- See `/LICENSE` for details of the license.
46
-
47
- ==================
48
-
49
- MIT (webpack):
50
- The following files embed [webpack](https://github.com/webpack/webpack) MIT:
51
- `/packages/taro-webpack5-prebundle/src/webpack/TaroContainerEntryModule.ts`,
52
- `/packages/taro-webpack5-prebundle/src/webpack/TaroContainerPlugin.ts`,
53
- `/packages/taro-webpack5-prebundle/src/webpack/TaroContainerReferencePlugin.ts`,
54
- `/packages/taro-webpack5-prebundle/src/webpack/TaroModuleFederationPlugin.ts`
55
- See `/LICENSE` for details of the license.
56
-
57
- ==================
58
-
59
- MIT (sizzle):
60
- The following files embed [sizzle](https://github.com/jquery/sizzle) MIT:
61
- `/packages/taro-extends/src/jquery/sizzle.js`
62
- See `/LICENSE.txt` for details of the license.
63
-
64
- ==================
65
-
66
- MIT (zepto):
67
- The following files embed [zepto](https://github.com/madrobby/zepto) MIT:
68
- `/packages/taro-extends/src/jquery/zepto.js`,
69
- `/packages/taro-extends/src/jquery/event.js`
70
- See `/MIT-LICENSE` for details of the license.
71
-
72
- ==================
73
-
74
- MIT (css-to-react-native):
75
- The following files embed [css-to-react-native](https://github.com/styled-components/css-to-react-native) MIT:
76
- `/packages/css-to-react-native/src/css-to-react-native/*`
77
- See `/LICENSE.md` for details of the license.
78
-
79
- ==================
80
-
81
- MIT (reactify-wc):
82
- The following files embed [reactify-wc](https://github.com/BBKolton/reactify-wc) MIT:
83
- `/packages/taro-components-library-react/src/component-lib/reactify-wc.ts`
84
- See `/LICENSE` for details of the license.
85
-
86
- ==================
87
-
88
- MIT (ant-design-mobile-rn):
89
- The following files embed [ant-design-mobile-rn](https://github.com/ant-design/ant-design-mobile-rn) MIT:
90
- `/packages/taro-components-rn/src/components/Swiper/carousel.tsx`
91
- See `/LICENSE` for details of the license.
92
-
93
- ==================
94
-
95
- MIT (react-wx-images-viewer):
96
- The following files embed [react-wx-images-viewer](https://github.com/react-ld/react-wx-images-viewer) MIT:
97
- `/packages/taro-h5/src/api/media/image/previewImage.ts`
98
- See `/LICENSE` for details of the license.
99
-
100
- ==================
101
-
102
- MIT (webpack-contrib/css-loader):
103
- The following files embed [webpack-contrib/css-loader](https://github.com/webpack-contrib/css-loader) MIT:
104
- `/packages/taro-rn-style-transformer/src/utils/index.ts`
105
- See `/LICENSE` for details of the license.
106
-
107
- ==================
108
-
109
- MIT (react-native):
110
- The following files embed [react-native](https://github.com/facebook/react-native) MIT:
111
- `/packages/taro-rn-style-transformer/src/transforms/StyleSheet/*`
112
- See `/LICENSE` for details of the license.
113
-
114
- ==================
115
-
116
- MIT (myrne/performance-now):
117
- The following files embed [myrne/performance-now](https://github.com/myrne/performance-now) MIT:
118
- `/packages/taro-runtime/src/bom/raf.ts`
119
- See `/LICENSE` for details of the license.
120
-
121
- ==================
122
-
123
- Apache (chameleon-api):
124
- The following files embed [chameleon-api](https://github.com/chameleon-team/chameleon-api) Apache:
125
- `/packages/taro-h5/src/api/device/clipboard.ts`
126
-
127
- ==================
128
-
129
- MIT (uni-app):
130
- The following files embed [uni-app](https://github.com/dcloudio/uni-app) MIT:
131
- `/packages/taro-components-rn/src/components/Video/index.tsx`
132
- See `/LICENSE` for details of the license.
133
-
134
- ==================
135
-
136
- MIT (miniprogram-render):
137
- The following files embed [miniprogram-render](https://github.com/Tencent/kbone) MIT:
138
- `/packages/taro-plugin-http/src/runtime/Cookie.ts`
139
- See `/LICENSE` for details of the license.
140
-
141
- ==================
142
-
143
- MIT (stencil-ds-output-targets):
144
- The following files embed [stencil-ds-output-targets](https://github.com/ionic-team/stencil-ds-output-targets/) MIT:
145
- `/packages/taro-components-library-react/src/react-component-lib/utils/attachProps.ts`
146
- `/packages/taro-components-library-react/src/react-component-lib/utils/case.ts`
147
- `/packages/taro-components-library-react/src/react-component-lib/utils/dev.ts`
148
- `/packages/taro-components-library-react/src/react-component-lib/utils/index.tsx`
149
- `/packages/taro-components-library-react/src/react-component-lib/createComponent.tsx`
150
- `/packages/taro-components-library-react/src/react-component-lib/createOverlayComponent.tsx`
151
- `/packages/taro-components-library-react/src/react-component-lib/interfaces.ts`
152
- `/packages/taro-components-library-vue3/src/vue-component-lib/utils.ts`
153
- See `/LICENSE` for details of the license.
154
-
155
- ==================
156
-
157
- MIT (weui):
158
- The following files embed [weui](https://github.com/Tencent/weui) MIT:
159
- `/packages/taro-components/src/components/*.scss`
160
- See `/LICENSE.txt` for details of the license.
161
-
162
- ==================
163
-
164
- Apache-2.0 (intersection-observer):
165
- The following files embed [intersection-observer](https://github.com/GoogleChromeLabs/intersection-observer) Apache-2.0:
166
- `/packages/taro-api/src/polyfill/intersection-observer.ts`
167
- See `/LICENSE.txt` for details of the license.
168
-
169
- ==================
170
-
171
- MIT (babel-plugin-jsx-dom-expressions):
172
- The following files embed [babel-plugin-jsx-dom-expressions](https://github.com/ryansolid/dom-expressions/blob/main/packages/babel-plugin-jsx-dom-expressions) MIT:
173
- `/packages/babel-plugin-transform-solid-jsx/src/*`
174
- See `/LICENSE` for details of the license.