@dcloudio/uni-app-x 0.4.4 → 0.4.6

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 (72) hide show
  1. package/.env +2 -1
  2. package/package.json +5 -3
  3. package/tsconfig.json +5 -0
  4. package/types/app.d.ts +986 -0
  5. package/types/common.d.ts +7 -0
  6. package/types/index.d.ts +3 -0
  7. package/types/native/AsyncApiResult.d.ts +1 -0
  8. package/types/native/CSSStyleDeclaration.d.ts +20 -0
  9. package/types/native/CustomEvent.d.ts +3 -0
  10. package/types/native/DOMRect.d.ts +56 -0
  11. package/types/native/DrawableContext.d.ts +102 -11
  12. package/types/native/Event.d.ts +25 -8
  13. package/types/native/IApp.d.ts +1 -0
  14. package/types/native/IDocument.d.ts +1 -0
  15. package/types/native/INode.d.ts +140 -5
  16. package/types/native/IPage.d.ts +1 -0
  17. package/types/native/IPageManager.d.ts +1 -0
  18. package/types/native/ITabsNode.d.ts +1 -0
  19. package/types/native/IWebViewNode.d.ts +28 -0
  20. package/types/native/ImageErrorEvent.d.ts +13 -0
  21. package/types/native/ImageLoadEvent.d.ts +17 -0
  22. package/types/native/MouseEvent.d.ts +44 -2
  23. package/types/native/NodeData.d.ts +1 -0
  24. package/types/native/PageEvent.d.ts +1 -0
  25. package/types/native/PageScrollEvent.d.ts +3 -0
  26. package/types/native/ResizeEvent.d.ts +26 -6
  27. package/types/native/RichTextItemClickEvent.d.ts +21 -0
  28. package/types/native/ScrollEvent.d.ts +27 -9
  29. package/types/native/SourceError.d.ts +38 -0
  30. package/types/native/TabTapEvent.d.ts +10 -2
  31. package/types/native/TouchEvent.d.ts +37 -10
  32. package/types/native/UTSError.d.ts +5 -2
  33. package/types/native/UTSPromise.d.ts +74 -0
  34. package/types/native/UniAggregateError.d.ts +17 -0
  35. package/types/native/UniAppManager.d.ts +1 -0
  36. package/types/native/UniError.d.ts +54 -5
  37. package/types/native/WebViewErrorEvent.d.ts +13 -0
  38. package/types/native/WebViewLoadedEvent.d.ts +8 -0
  39. package/types/native/WebViewLoadingEvent.d.ts +8 -0
  40. package/types/native/WebViewMessageEvent.d.ts +13 -0
  41. package/types/native/index.d.ts +15 -1
  42. package/types/page.d.ts +1729 -0
  43. package/types/shims-vue.d.ts +12 -0
  44. package/types/uni/core/lib/performance/index.d.ts +21 -0
  45. package/types/uni/core/lib/performance/interface.d.ts +152 -0
  46. package/types/uni/core/lib/ui/create-selector-query/index.d.ts +4 -0
  47. package/types/uni/ext/index.d.ts +0 -1
  48. package/types/uni/ext/lib/uni-audio/utssdk/index.d.ts +4 -0
  49. package/types/uni/ext/lib/uni-exit/utssdk/interface.d.ts +4 -4
  50. package/types/uni/ext/lib/uni-file-manager/utssdk/index.d.ts +2 -0
  51. package/types/uni/ext/lib/uni-file-manager/utssdk/interface.d.ts +6 -6
  52. package/types/uni/ext/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +1 -1
  53. package/types/uni/ext/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1 -1
  54. package/types/uni/ext/lib/uni-getLocation-system/utssdk/interface.d.ts +39 -17
  55. package/types/uni/ext/lib/uni-getNetworkType/utssdk/interface.d.ts +3 -10
  56. package/types/uni/ext/lib/uni-getRecorderManager/utssdk/index.d.ts +2 -0
  57. package/types/uni/ext/lib/uni-getSystemInfo/utssdk/interface.d.ts +3 -10
  58. package/types/uni/ext/lib/uni-media/utssdk/interface.d.ts +55 -55
  59. package/types/uni/ext/lib/uni-network/utssdk/app-ios/index.d.ts +67 -0
  60. package/types/uni/ext/lib/uni-network/utssdk/app-ios/interface.d.ts +530 -0
  61. package/types/uni/ext/lib/uni-network/utssdk/index.d.ts +10 -4
  62. package/types/uni/ext/lib/uni-network/utssdk/interface.d.ts +37 -77
  63. package/types/uni/ext/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +3 -3
  64. package/types/uni/ext/lib/uni-prompt/utssdk/index.d.ts +0 -8
  65. package/types/uni/ext/lib/uni-prompt/utssdk/interface.d.ts +35 -112
  66. package/types/uni/ext/lib/uni-storage/utssdk/interface.d.ts +13 -13
  67. package/types/uni/ext/lib/uni-websocket/utssdk/index.d.ts +2 -0
  68. package/types/uni/ext/lib/uni-websocket/utssdk/interface.d.ts +11 -18
  69. package/types/uni-cloud/index.d.ts +333 -274
  70. package/types/vue/index.d.ts +1 -1
  71. package/types/uni/ext/lib/uni-getLocation-tencent/utssdk/index.d.ts +0 -15
  72. package/types/uni/ext/lib/uni-getLocation-tencent/utssdk/interface.d.ts +0 -93
package/.env CHANGED
@@ -1,2 +1,3 @@
1
- UNI_CORE_DIR = "/Users/guoshengqiang/Documents/vuejs-core/packages/runtime-uts/src/extapi"
1
+ UNI_CORE_DIR = "/Users/guoshengqiang/Documents/vuejs-core/packages/uni-ext-api/src"
2
2
  UNI_EXT_DIR = "/Users/guoshengqiang/Documents/uni-app/api"
3
+ UNI_COMPLIER_META_DIR = "/Users/guoshengqiang/Documents/uni-app-next/packages/uni-uts-v1/lib/ext-api"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-x",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "author": "DCloud",
@@ -9,6 +9,7 @@
9
9
  "scripts": {
10
10
  "build:types:core": "node ./scripts/build-types.js -t core",
11
11
  "build:types:ext": "node ./scripts/build-types.js -t ext",
12
+ "build:types:meta": "node ./scripts/build-meta.js",
12
13
  "build:types": "npm run build:types:core && npm run build:types:ext"
13
14
  },
14
15
  "devDependencies": {
@@ -16,6 +17,7 @@
16
17
  "dotenv": "^16.3.1",
17
18
  "fs-extra": "^11.1.1",
18
19
  "glob": "^10.3.3",
19
- "minimist": "^1.2.8"
20
+ "minimist": "^1.2.8",
21
+ "ts-morph": "^19.0.0"
20
22
  }
21
- }
23
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "compilerOptions": {
3
+ "noLib": true
4
+ }
5
+ }