@dcloudio/uni-app-x 0.7.78 → 0.7.79

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 (156) hide show
  1. package/package.json +3 -2
  2. package/types/dom2/UniCSSTransform.d.ts +1 -1
  3. package/types/dom2/UniNativeBaseView.d.ts +11 -15
  4. package/types/dom2/UniNativeDefines.d.ts +2 -44
  5. package/types/dom2/UniNativeViewElement.d.ts +60 -0
  6. package/types/dom2/UniTextElement.d.ts +7 -0
  7. package/types/dom2/UniTextLayout.d.ts +7 -0
  8. package/types/dom2/global.d.ts +3 -6
  9. package/types/dom2/sharedData.d.ts +13 -5
  10. package/types/native/UniPage.d.ts +9 -0
  11. package/types/node_modules/.package-lock.json +20 -0
  12. package/types/node_modules/typescript/LICENSE.txt +55 -0
  13. package/types/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  14. package/types/node_modules/typescript/bin/tsc +2 -0
  15. package/types/node_modules/typescript/bin/tsserver +2 -0
  16. package/types/node_modules/typescript/lib/cancellationToken.js +90 -0
  17. package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +1880 -0
  18. package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +1880 -0
  19. package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +1880 -0
  20. package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +1880 -0
  21. package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +1880 -0
  22. package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +1880 -0
  23. package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +1880 -0
  24. package/types/node_modules/typescript/lib/lib.d.ts +22 -0
  25. package/types/node_modules/typescript/lib/lib.decorators.d.ts +386 -0
  26. package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  27. package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +33 -0
  28. package/types/node_modules/typescript/lib/lib.dom.d.ts +28596 -0
  29. package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +475 -0
  30. package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  31. package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  32. package/types/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  33. package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  34. package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +495 -0
  35. package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  36. package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  37. package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  38. package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  39. package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  40. package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  41. package/types/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  42. package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  43. package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  44. package/types/node_modules/typescript/lib/lib.es2017.d.ts +25 -0
  45. package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  46. package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  47. package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  48. package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  49. package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  50. package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  51. package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  52. package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  53. package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +43 -0
  54. package/types/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  55. package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  56. package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  57. package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  58. package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  59. package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  60. package/types/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  61. package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  62. package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  63. package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  64. package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  65. package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  66. package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +727 -0
  67. package/types/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  68. package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  69. package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  70. package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  71. package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  72. package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  73. package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +97 -0
  74. package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +42 -0
  75. package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +37 -0
  76. package/types/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  77. package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  78. package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  79. package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  80. package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  81. package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +76 -0
  82. package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  83. package/types/node_modules/typescript/lib/lib.es2022.d.ts +26 -0
  84. package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +73 -0
  85. package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  86. package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +117 -0
  87. package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  88. package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  89. package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +39 -0
  90. package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  91. package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  92. package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  93. package/types/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  94. package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  95. package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  96. package/types/node_modules/typescript/lib/lib.es5.d.ts +4585 -0
  97. package/types/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  98. package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  99. package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +106 -0
  100. package/types/node_modules/typescript/lib/lib.esnext.d.ts +28 -0
  101. package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  102. package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +185 -0
  103. package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  104. package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  105. package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +29 -0
  106. package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +35 -0
  107. package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +25 -0
  108. package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +29 -0
  109. package/types/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  110. package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +33 -0
  111. package/types/node_modules/typescript/lib/lib.webworker.d.ts +9431 -0
  112. package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  113. package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +276 -0
  114. package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +1880 -0
  115. package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +1880 -0
  116. package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +1880 -0
  117. package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +1880 -0
  118. package/types/node_modules/typescript/lib/tsc.js +129741 -0
  119. package/types/node_modules/typescript/lib/tsserver.js +621 -0
  120. package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  121. package/types/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  122. package/types/node_modules/typescript/lib/typesMap.json +497 -0
  123. package/types/node_modules/typescript/lib/typescript.d.ts +11240 -0
  124. package/types/node_modules/typescript/lib/typescript.js +194910 -0
  125. package/types/node_modules/typescript/lib/typingsInstaller.js +236 -0
  126. package/types/node_modules/typescript/lib/watchGuard.js +53 -0
  127. package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +1880 -0
  128. package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +1880 -0
  129. package/types/node_modules/typescript/package.json +116 -0
  130. package/types/uni/global.d.ts +0 -2
  131. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +2 -2
  132. package/types/uni/uts-plugin-biz/global.d.ts +1 -0
  133. package/types/uni/uts-plugin-biz/index.d.ts +1 -0
  134. package/types/uni/uts-plugin-biz/lib/uni-map-amap/utssdk/global.d.ts +14 -0
  135. package/types/uni/uts-plugin-biz/lib/uni-map-amap/utssdk/index.d.ts +7 -0
  136. package/types/uni/uts-plugin-biz/lib/uni-map-amap/utssdk/interface.d.ts +101 -0
  137. package/types/uni/uts-plugin-component/global.d.ts +5 -0
  138. package/types/uni/uts-plugin-component/index.d.ts +5 -0
  139. package/types/uni/uts-plugin-component/lib/uni-camera-global/utssdk/global.d.ts +23 -0
  140. package/types/uni/uts-plugin-component/lib/uni-camera-global/utssdk/index.d.ts +12 -0
  141. package/types/uni/uts-plugin-component/lib/uni-camera-global/utssdk/interface.d.ts +38 -0
  142. package/types/uni/{uni-map-tencent-global.d.ts → uts-plugin-component/lib/uni-map-tencent-global/utssdk/global.d.ts} +22 -20
  143. package/types/uni/uts-plugin-component/lib/uni-map-tencent-global/utssdk/index.d.ts +20 -0
  144. package/types/uni/uts-plugin-component/lib/uni-map-tencent-global/utssdk/interface.d.ts +56 -0
  145. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/global.d.ts +39 -0
  146. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/index.d.ts +20 -0
  147. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/interface.d.ts +94 -0
  148. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/global.d.ts +19 -0
  149. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/index.d.ts +9 -0
  150. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +243 -0
  151. package/types/uni/uts-plugin-component/lib/uni-web-view-global/utssdk/global.d.ts +31 -0
  152. package/types/uni/uts-plugin-component/lib/uni-web-view-global/utssdk/index.d.ts +16 -0
  153. package/types/uni/uts-plugin-component/lib/uni-web-view-global/utssdk/interface.d.ts +46 -0
  154. package/types/uni/uni-camera-global.d.ts +0 -23
  155. package/types/uni/uni-camera.d.ts +0 -35
  156. package/types/uni/uni-map-tencent-map.d.ts +0 -63
@@ -0,0 +1,116 @@
1
+ {
2
+ "name": "typescript",
3
+ "author": "Microsoft Corp.",
4
+ "homepage": "https://www.typescriptlang.org/",
5
+ "version": "5.5.2",
6
+ "license": "Apache-2.0",
7
+ "description": "TypeScript is a language for application scale JavaScript development",
8
+ "keywords": [
9
+ "TypeScript",
10
+ "Microsoft",
11
+ "compiler",
12
+ "language",
13
+ "javascript"
14
+ ],
15
+ "bugs": {
16
+ "url": "https://github.com/Microsoft/TypeScript/issues"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/Microsoft/TypeScript.git"
21
+ },
22
+ "main": "./lib/typescript.js",
23
+ "typings": "./lib/typescript.d.ts",
24
+ "bin": {
25
+ "tsc": "./bin/tsc",
26
+ "tsserver": "./bin/tsserver"
27
+ },
28
+ "engines": {
29
+ "node": ">=14.17"
30
+ },
31
+ "files": [
32
+ "bin",
33
+ "lib",
34
+ "!lib/enu",
35
+ "LICENSE.txt",
36
+ "README.md",
37
+ "SECURITY.md",
38
+ "ThirdPartyNoticeText.txt",
39
+ "!**/.gitattributes"
40
+ ],
41
+ "devDependencies": {
42
+ "@dprint/formatter": "^0.3.0",
43
+ "@dprint/typescript": "0.91.0",
44
+ "@esfx/canceltoken": "^1.0.0",
45
+ "@octokit/rest": "^20.1.1",
46
+ "@types/chai": "^4.3.16",
47
+ "@types/microsoft__typescript-etw": "^0.1.3",
48
+ "@types/minimist": "^1.2.5",
49
+ "@types/mocha": "^10.0.6",
50
+ "@types/ms": "^0.7.34",
51
+ "@types/node": "latest",
52
+ "@types/source-map-support": "^0.5.10",
53
+ "@types/which": "^3.0.3",
54
+ "@typescript-eslint/eslint-plugin": "^7.11.0",
55
+ "@typescript-eslint/parser": "^7.11.0",
56
+ "@typescript-eslint/utils": "^7.11.0",
57
+ "azure-devops-node-api": "^13.0.0",
58
+ "c8": "^9.1.0",
59
+ "chai": "^4.4.1",
60
+ "chalk": "^4.1.2",
61
+ "chokidar": "^3.6.0",
62
+ "diff": "^5.2.0",
63
+ "dprint": "^0.46.1",
64
+ "esbuild": "^0.21.4",
65
+ "eslint": "^8.57.0",
66
+ "eslint-formatter-autolinkable-stylish": "^1.3.0",
67
+ "eslint-plugin-local": "^4.2.2",
68
+ "fast-xml-parser": "^4.4.0",
69
+ "glob": "^10.4.1",
70
+ "hereby": "^1.8.9",
71
+ "jsonc-parser": "^3.2.1",
72
+ "minimist": "^1.2.8",
73
+ "mocha": "^10.4.0",
74
+ "mocha-fivemat-progress-reporter": "^0.1.0",
75
+ "ms": "^2.1.3",
76
+ "node-fetch": "^3.3.2",
77
+ "playwright": "^1.44.1",
78
+ "source-map-support": "^0.5.21",
79
+ "tslib": "^2.6.2",
80
+ "typescript": "^5.4.5",
81
+ "which": "^3.0.1"
82
+ },
83
+ "overrides": {
84
+ "typescript@*": "$typescript"
85
+ },
86
+ "scripts": {
87
+ "test": "hereby runtests-parallel --light=false",
88
+ "test:eslint-rules": "hereby run-eslint-rules-tests",
89
+ "build": "npm run build:compiler && npm run build:tests",
90
+ "build:compiler": "hereby local",
91
+ "build:tests": "hereby tests",
92
+ "build:tests:notypecheck": "hereby tests --no-typecheck",
93
+ "clean": "hereby clean",
94
+ "gulp": "hereby",
95
+ "lint": "hereby lint",
96
+ "format": "dprint fmt",
97
+ "setup-hooks": "node scripts/link-hooks.mjs"
98
+ },
99
+ "browser": {
100
+ "fs": false,
101
+ "os": false,
102
+ "path": false,
103
+ "crypto": false,
104
+ "buffer": false,
105
+ "@microsoft/typescript-etw": false,
106
+ "source-map-support": false,
107
+ "inspector": false,
108
+ "perf_hooks": false
109
+ },
110
+ "packageManager": "npm@8.19.4",
111
+ "volta": {
112
+ "node": "20.1.0",
113
+ "npm": "8.19.4"
114
+ },
115
+ "gitHead": "ce2e60e4ea15a65992e54a9e8877d16be9d42abb"
116
+ }
@@ -4,5 +4,3 @@
4
4
  /// <reference path='./uts-plugin-biz/global.d.ts' />
5
5
  /// <reference path='./uts-plugin-component/global.d.ts' />
6
6
  /// <reference path='./uts-plugin-extend/global.d.ts' />
7
- /// <reference path='./uni-map-tencent-global.d.ts' />
8
- /// <reference path='./uni-camera-global.d.ts' />
@@ -423,7 +423,7 @@ export interface BackgroundAudioManager {
423
423
  "unixUtsPlugin": "4.71"
424
424
  },
425
425
  "harmony": {
426
- "osVer": "5.0.0",
426
+ "osVer": "x",
427
427
  "uniVer": "x",
428
428
  "unixVer": "x",
429
429
  }
@@ -917,7 +917,7 @@ export interface BackgroundAudioManager {
917
917
  }
918
918
  */
919
919
  onWaiting(callback: (result: any) => void): void;
920
-
920
+
921
921
  /**
922
922
  * 取消监听背景音频可播放事件
923
923
  * @uniPlatform
@@ -3,6 +3,7 @@
3
3
  /// <reference path='./lib/uni-facialVerify/utssdk/global.d.ts' />
4
4
  /// <reference path='./lib/uni-live-player/utssdk/global.d.ts' />
5
5
  /// <reference path='./lib/uni-live-pusher/utssdk/global.d.ts' />
6
+ /// <reference path='./lib/uni-map-amap/utssdk/global.d.ts' />
6
7
  /// <reference path='./lib/uni-map-tencent/utssdk/global.d.ts' />
7
8
  /// <reference path='./lib/uni-push-fcm/utssdk/global.d.ts' />
8
9
  /// <reference path='./lib/uni-push-gp/utssdk/global.d.ts' />
@@ -3,6 +3,7 @@ export * from './lib/uni-crash/utssdk'
3
3
  export * from './lib/uni-facialVerify/utssdk'
4
4
  export * from './lib/uni-live-player/utssdk'
5
5
  export * from './lib/uni-live-pusher/utssdk'
6
+ export * from './lib/uni-map-amap/utssdk'
6
7
  export * from './lib/uni-map-tencent/utssdk'
7
8
  export * from './lib/uni-push-fcm/utssdk'
8
9
  export * from './lib/uni-push-gp/utssdk'
@@ -0,0 +1,14 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ AmapAnchor as AmapAnchorOrigin,
4
+ AmapMapMarkerCallout as AmapMapMarkerCalloutOrigin,
5
+ AmapMapMarkerLabel as AmapMapMarkerLabelOrigin,
6
+ AmapMarker as AmapMarkerOrigin,
7
+ } from './interface'
8
+
9
+ declare global {
10
+ type AmapAnchor = AmapAnchorOrigin
11
+ type AmapMapMarkerCallout = AmapMapMarkerCalloutOrigin
12
+ type AmapMapMarkerLabel = AmapMapMarkerLabelOrigin
13
+ type AmapMarker = AmapMarkerOrigin
14
+ }
@@ -0,0 +1,7 @@
1
+ // 本文件为自动构建生成
2
+ export {
3
+ AmapAnchor,
4
+ AmapMapMarkerCallout,
5
+ AmapMapMarkerLabel,
6
+ AmapMarker,
7
+ } from './interface'
@@ -0,0 +1,101 @@
1
+ export type AmapAnchor = {
2
+ x : number;
3
+ y : number;
4
+ };
5
+
6
+ export type AmapMapMarkerCallout = {
7
+ content : string;
8
+ color ?: string | null;
9
+ fontSize ?: number | null;
10
+ borderRadius ?: number | null;
11
+ borderWidth ?: number | null;
12
+ borderColor ?: string | null;
13
+ bgColor ?: string | null;
14
+ padding ?: number | null;
15
+ display ?: string | null;
16
+ textAlign ?: string | null;
17
+ };
18
+
19
+ export type AmapMapMarkerLabel = {
20
+ content : string;
21
+ color ?: string | null;
22
+ fontSize ?: number | null;
23
+ x ?: number | null;
24
+ y ?: number | null;
25
+ borderWidth ?: number | null;
26
+ borderColor ?: string | null;
27
+ bgColor ?: string | null;
28
+ borderRadius ?: number | null;
29
+ padding ?: number | null;
30
+ textAlign ?: string | null;
31
+ };
32
+
33
+ export type AmapMarker = {
34
+ /**
35
+ * 标记点id,marker点击事件回调会返回此id。建议为每个marker设置上Number类型id,保证更新marker时有更好的性能。最大限制9位数
36
+ */
37
+ id : number;
38
+ /**
39
+ * 纬度,浮点数,范围 -90 ~ 90
40
+ */
41
+ latitude : number;
42
+ /**
43
+ * 经度,浮点数,范围 -180 ~ 180
44
+ */
45
+ longitude : number;
46
+ /**
47
+ * 显示的图标,项目目录下的图片路径,支持相对路径写法,以'/'开头则表示相对小程序根目录;也支持临时路径
48
+ */
49
+ iconPath : string;
50
+ /**
51
+ * 标注点名,点击时显示,callout存在时将被忽略
52
+ * @defaultValue null
53
+ */
54
+ title ?: string | null;
55
+ /**
56
+ * 旋转角度,顺时针旋转的角度,范围 0 ~ 360
57
+ * @defaultValue 0
58
+ */
59
+ rotate ?: number | null;
60
+ /**
61
+ * 标注的透明度,范围 0 ~ 1
62
+ * @defaultValue 1
63
+ */
64
+ alpha ?: number | null;
65
+ /**
66
+ * 标注图标宽度
67
+ * @defaultValue 默认为图片实际宽度
68
+ */
69
+ width ?: number | null;
70
+ /**
71
+ * 标注图标高度
72
+ * @defaultValue 默认为图片实际高度
73
+ */
74
+ height ?: number | null;
75
+ /**
76
+ * 无障碍访问,(属性)元素的额外描述
77
+ * @defaultValue null
78
+ */
79
+ ariaLabel ?: string | null;
80
+ /**
81
+ * 经纬度在标注图标的锚点,默认底边中点 {x, y},x表示横向(0-1),y表示竖向(0-1)。{x: .5, y: 1} 表示底边中点
82
+ * @defaultValue [0.5, 1]
83
+ */
84
+ anchor ?: AmapAnchor | null;
85
+ /**
86
+ * 自定义标记点上方的气泡窗口
87
+ * @defaultValue null
88
+ */
89
+ callout ?: AmapMapMarkerCallout | null;
90
+ /**
91
+ * 为标记点旁边增加标签
92
+ * @defaultValue null
93
+ */
94
+ label ?: AmapMapMarkerLabel | null;
95
+ /**
96
+ * 自定义点聚合簇效果时使用
97
+ * @defaultValue null
98
+ */
99
+ clusterId ?: number | null;
100
+ };
101
+
@@ -1,4 +1,9 @@
1
+ /// <reference path='./lib/uni-web-view-global/utssdk/global.d.ts' />
2
+ /// <reference path='./lib/uni-video-global/utssdk/global.d.ts' />
3
+ /// <reference path='./lib/uni-camera-global/utssdk/global.d.ts' />
4
+ /// <reference path='./lib/uni-map-tencent-global/utssdk/global.d.ts' />
1
5
  /// <reference path='./lib/uni-camera/utssdk/global.d.ts' />
2
6
  /// <reference path='./lib/uni-canvas/utssdk/global.d.ts' />
3
7
  /// <reference path='./lib/uni-input/utssdk/global.d.ts' />
4
8
  /// <reference path='./lib/uni-video/utssdk/global.d.ts' />
9
+ /// <reference path='./lib/uni-web-view/utssdk/global.d.ts' />
@@ -1,4 +1,9 @@
1
+ export * from './lib/uni-web-view-global/utssdk'
2
+ export * from './lib/uni-video-global/utssdk'
3
+ export * from './lib/uni-camera-global/utssdk'
4
+ export * from './lib/uni-map-tencent-global/utssdk'
1
5
  export * from './lib/uni-camera/utssdk'
2
6
  export * from './lib/uni-canvas/utssdk'
3
7
  export * from './lib/uni-input/utssdk'
4
8
  export * from './lib/uni-video/utssdk'
9
+ export * from './lib/uni-web-view/utssdk'
@@ -0,0 +1,23 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ UniCameraStopEventDetail as UniCameraStopEventDetailOrigin,
4
+ UniCameraStopEvent as UniCameraStopEventOrigin,
5
+ UniCameraErrorEventDetail as UniCameraErrorEventDetailOrigin,
6
+ UniCameraErrorEvent as UniCameraErrorEventOrigin,
7
+ UniCameraInitDoneEventDetail as UniCameraInitDoneEventDetailOrigin,
8
+ UniCameraInitDoneEvent as UniCameraInitDoneEventOrigin,
9
+ UniCameraScanCodeEventDetail as UniCameraScanCodeEventDetailOrigin,
10
+ UniCameraScanCodeEvent as UniCameraScanCodeEventOrigin,
11
+ } from './interface'
12
+
13
+ declare global {
14
+ type UniCameraStopEventDetail = UniCameraStopEventDetailOrigin
15
+ type UniCameraStopEvent = UniCameraStopEventOrigin
16
+ type UniCameraErrorEventDetail = UniCameraErrorEventDetailOrigin
17
+ type UniCameraErrorEvent = UniCameraErrorEventOrigin
18
+ type UniCameraInitDoneEventDetail = UniCameraInitDoneEventDetailOrigin
19
+ type UniCameraInitDoneEvent = UniCameraInitDoneEventOrigin
20
+ type UniCameraScanCodeEventDetail = UniCameraScanCodeEventDetailOrigin
21
+ type UniCameraScanCodeEvent = UniCameraScanCodeEventOrigin
22
+ }
23
+
@@ -0,0 +1,12 @@
1
+ // 本文件为自动构建生成
2
+ export {
3
+ UniCameraStopEventDetail,
4
+ UniCameraStopEvent,
5
+ UniCameraErrorEventDetail,
6
+ UniCameraErrorEvent,
7
+ UniCameraInitDoneEventDetail,
8
+ UniCameraInitDoneEvent,
9
+ UniCameraScanCodeEventDetail,
10
+ UniCameraScanCodeEvent,
11
+ } from './interface'
12
+
@@ -0,0 +1,38 @@
1
+ export type UniCameraStopEventDetail = {
2
+ errorCause?: string;
3
+ errSubject?: string;
4
+ errCode?: number;
5
+ errMsg?: string;
6
+ data?: Object;
7
+ cause?: Object;
8
+ };
9
+ export class UniCameraStopEvent extends UniCustomEvent<UniCameraStopEventDetail> {
10
+ constructor(type: string, detail: UniCameraStopEventDetail);
11
+ }
12
+ export type UniCameraErrorEventDetail = {
13
+ msg?: string;
14
+ errSubject?: string;
15
+ errCode?: number;
16
+ errMsg?: string;
17
+ data?: Object;
18
+ cause?: Object;
19
+ };
20
+ export class UniCameraErrorEvent extends UniCustomEvent<UniCameraErrorEventDetail> {
21
+ constructor(type: string, detail: UniCameraErrorEventDetail);
22
+ }
23
+ export type UniCameraInitDoneEventDetail = {
24
+ maxZoom?: number;
25
+ };
26
+ export class UniCameraInitDoneEvent extends UniCustomEvent<UniCameraInitDoneEventDetail> {
27
+ constructor(type: string, detail: UniCameraInitDoneEventDetail);
28
+ }
29
+ export type UniCameraScanCodeEventDetail = {
30
+ type?: string;
31
+ result?: string;
32
+ rawData?: string;
33
+ charSet?: string;
34
+ scanArea?: Array<number>;
35
+ };
36
+ export class UniCameraScanCodeEvent extends UniCustomEvent<UniCameraScanCodeEventDetail> {
37
+ constructor(type: string, detail: UniCameraScanCodeEventDetail);
38
+ }
@@ -1,37 +1,39 @@
1
- import {
1
+ // 本文件为自动构建生成
2
+ import {
3
+ UniMapUpdatedEventDetail as UniMapUpdatedEventDetailOrigin,
2
4
  UniMapUpdatedEvent as UniMapUpdatedEventOrigin,
5
+ UniMapTapEventDetail as UniMapTapEventDetailOrigin,
3
6
  UniMapTapEvent as UniMapTapEventOrigin,
7
+ UniMapRegionChangeEventDetail as UniMapRegionChangeEventDetailOrigin,
4
8
  UniMapRegionChangeEvent as UniMapRegionChangeEventOrigin,
9
+ UniMapMarkerTapEventDetail as UniMapMarkerTapEventDetailOrigin,
5
10
  UniMapMarkerTapEvent as UniMapMarkerTapEventOrigin,
11
+ UniMapControlTapEventDetail as UniMapControlTapEventDetailOrigin,
6
12
  UniMapControlTapEvent as UniMapControlTapEventOrigin,
13
+ UniMapAnchorPointTapEventDetail as UniMapAnchorPointTapEventDetailOrigin,
7
14
  UniMapAnchorPointTapEvent as UniMapAnchorPointTapEventOrigin,
15
+ UniMapPoiTapEventDetail as UniMapPoiTapEventDetailOrigin,
8
16
  UniMapPoiTapEvent as UniMapPoiTapEventOrigin,
17
+ UniMapCalloutTapEventDetail as UniMapCalloutTapEventDetailOrigin,
9
18
  UniMapCalloutTapEvent as UniMapCalloutTapEventOrigin,
10
- UniMapUpdatedEventDetail as UniMapUpdatedEventDetailOrigin,
11
- UniMapTapEventDetail as UniMapTapEventDetailOrigin,
12
- UniMapRegionChangeEventDetail as UniMapRegionChangeEventDetailOrigin,
13
- UniMapMarkerTapEventDetail as UniMapMarkerTapEventDetailOrigin,
14
- UniMapControlTapEventDetail as UniMapControlTapEventDetailOrigin,
15
- UniMapAnchorPointTapEventDetail as UniMapAnchorPointTapEventDetailOrigin,
16
- UniMapPoiTapEventDetail as UniMapPoiTapEventDetailOrigin,
17
- UniMapCalloutTapEventDetail as UniMapCalloutTapEventDetailOrigin
18
- } from "./uni-map-tencent-map"
19
+ } from './interface'
19
20
 
20
- declare global {
21
+ declare global {
22
+ type UniMapUpdatedEventDetail = UniMapUpdatedEventDetailOrigin
21
23
  type UniMapUpdatedEvent = UniMapUpdatedEventOrigin
22
- type UniMapTapEvent = UniMapTapEventOrigin
23
- type UniMapRegionChangeEvent = UniMapRegionChangeEventOrigin
24
- type UniMapMarkerTapEvent = UniMapMarkerTapEventOrigin
25
- type UniMapControlTapEvent = UniMapControlTapEventOrigin
26
- type UniMapAnchorPointTapEvent = UniMapAnchorPointTapEventOrigin
27
- type UniMapPoiTapEvent = UniMapPoiTapEventOrigin
28
- type UniMapCalloutTapEvent = UniMapCalloutTapEventOrigin
29
- type UniMapUpdatedEventDetail = UniMapUpdatedEventDetailOrigin
30
24
  type UniMapTapEventDetail = UniMapTapEventDetailOrigin
25
+ type UniMapTapEvent = UniMapTapEventOrigin
31
26
  type UniMapRegionChangeEventDetail = UniMapRegionChangeEventDetailOrigin
27
+ type UniMapRegionChangeEvent = UniMapRegionChangeEventOrigin
32
28
  type UniMapMarkerTapEventDetail = UniMapMarkerTapEventDetailOrigin
29
+ type UniMapMarkerTapEvent = UniMapMarkerTapEventOrigin
33
30
  type UniMapControlTapEventDetail = UniMapControlTapEventDetailOrigin
31
+ type UniMapControlTapEvent = UniMapControlTapEventOrigin
34
32
  type UniMapAnchorPointTapEventDetail = UniMapAnchorPointTapEventDetailOrigin
33
+ type UniMapAnchorPointTapEvent = UniMapAnchorPointTapEventOrigin
35
34
  type UniMapPoiTapEventDetail = UniMapPoiTapEventDetailOrigin
35
+ type UniMapPoiTapEvent = UniMapPoiTapEventOrigin
36
36
  type UniMapCalloutTapEventDetail = UniMapCalloutTapEventDetailOrigin
37
- }
37
+ type UniMapCalloutTapEvent = UniMapCalloutTapEventOrigin
38
+ }
39
+
@@ -0,0 +1,20 @@
1
+ // 本文件为自动构建生成
2
+ export {
3
+ UniMapUpdatedEventDetail,
4
+ UniMapUpdatedEvent,
5
+ UniMapTapEventDetail,
6
+ UniMapTapEvent,
7
+ UniMapRegionChangeEventDetail,
8
+ UniMapRegionChangeEvent,
9
+ UniMapMarkerTapEventDetail,
10
+ UniMapMarkerTapEvent,
11
+ UniMapControlTapEventDetail,
12
+ UniMapControlTapEvent,
13
+ UniMapAnchorPointTapEventDetail,
14
+ UniMapAnchorPointTapEvent,
15
+ UniMapPoiTapEventDetail,
16
+ UniMapPoiTapEvent,
17
+ UniMapCalloutTapEventDetail,
18
+ UniMapCalloutTapEvent,
19
+ } from './interface'
20
+
@@ -0,0 +1,56 @@
1
+ export type UniMapUpdatedEventDetail = {};
2
+ export class UniMapUpdatedEvent extends UniCustomEvent<UniMapUpdatedEventDetail> {
3
+ constructor(type: string, detail: UniMapUpdatedEventDetail);
4
+ }
5
+ export type UniMapTapEventDetail = {
6
+ latitude: number | null;
7
+ longitude: number | null;
8
+ };
9
+ export class UniMapTapEvent extends UniPointerEvent {
10
+ detail?: UniMapTapEventDetail;
11
+ constructor(type: string, x: number, y: number, clientX: number, clientY: number, pageX: number, pageY: number, screenX: number, screenY: number);
12
+ }
13
+ export type UniMapRegionChangeEventDetail = {
14
+ skew: number | null;
15
+ rotate: number | null;
16
+ };
17
+ export class UniMapRegionChangeEvent extends UniCustomEvent<UniMapRegionChangeEventDetail | null> {
18
+ causedBy?: string | null;
19
+ constructor(type: string, detail: UniMapRegionChangeEventDetail | null);
20
+ }
21
+ export type UniMapMarkerTapEventDetail = {
22
+ markerId: number | null;
23
+ };
24
+ export class UniMapMarkerTapEvent extends UniPointerEvent {
25
+ detail?: UniMapMarkerTapEventDetail;
26
+ constructor(type: string, x: number, y: number, clientX: number, clientY: number, pageX: number, pageY: number, screenX: number, screenY: number);
27
+ }
28
+ export type UniMapControlTapEventDetail = {
29
+ controlId: number | null;
30
+ };
31
+ export class UniMapControlTapEvent extends UniCustomEvent<UniMapControlTapEventDetail> {
32
+ constructor(type: string, detail: UniMapControlTapEventDetail);
33
+ }
34
+ export type UniMapAnchorPointTapEventDetail = {
35
+ latitude: number | null;
36
+ longitude: number | null;
37
+ };
38
+ export class UniMapAnchorPointTapEvent extends UniPointerEvent {
39
+ detail?: UniMapAnchorPointTapEventDetail;
40
+ constructor(type: string, x: number, y: number, clientX: number, clientY: number, pageX: number, pageY: number, screenX: number, screenY: number);
41
+ }
42
+ export type UniMapPoiTapEventDetail = {
43
+ latitude: number | null;
44
+ longitude: number | null;
45
+ name: string | null;
46
+ };
47
+ export class UniMapPoiTapEvent extends UniPointerEvent {
48
+ detail?: UniMapPoiTapEventDetail;
49
+ constructor(type: string, x: number, y: number, clientX: number, clientY: number, pageX: number, pageY: number, screenX: number, screenY: number);
50
+ }
51
+ export type UniMapCalloutTapEventDetail = {
52
+ markerId: number | null;
53
+ };
54
+ export class UniMapCalloutTapEvent extends UniCustomEvent<UniMapCalloutTapEventDetail> {
55
+ constructor(type: string, detail: UniMapCalloutTapEventDetail);
56
+ }
@@ -0,0 +1,39 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ UniVideoEventDetail as UniVideoEventDetailOrigin,
4
+ UniVideoEvent as UniVideoEventOrigin,
5
+ UniVideoControlsToggleEventDetail as UniVideoControlsToggleEventDetailOrigin,
6
+ UniVideoControlsToggleEvent as UniVideoControlsToggleEventOrigin,
7
+ VideoErrorCode as VideoErrorCodeOrigin,
8
+ UniWebViewErrorEventDetail as UniWebViewErrorEventDetailOrigin,
9
+ UniVideoErrorEvent as UniVideoErrorEventOrigin,
10
+ UniVideoFullScreenDirection as UniVideoFullScreenDirectionOrigin,
11
+ UniVideoFullScreenChangeEventDetail as UniVideoFullScreenChangeEventDetailOrigin,
12
+ UniVideoFullScreenChangeEvent as UniVideoFullScreenChangeEventOrigin,
13
+ UniVideoFullScreenClickEventDetail as UniVideoFullScreenClickEventDetailOrigin,
14
+ UniVideoFullScreenClickEvent as UniVideoFullScreenClickEventOrigin,
15
+ UniVideoProgressEventDetail as UniVideoProgressEventDetailOrigin,
16
+ UniVideoProgressEvent as UniVideoProgressEventOrigin,
17
+ UniVideoTimeUpdateEventDetail as UniVideoTimeUpdateEventDetailOrigin,
18
+ UniVideoTimeUpdateEvent as UniVideoTimeUpdateEventOrigin,
19
+ } from './interface'
20
+
21
+ declare global {
22
+ type UniVideoEventDetail = UniVideoEventDetailOrigin
23
+ type UniVideoEvent<T> = UniVideoEventOrigin<T>
24
+ type UniVideoControlsToggleEventDetail = UniVideoControlsToggleEventDetailOrigin
25
+ type UniVideoControlsToggleEvent = UniVideoControlsToggleEventOrigin
26
+ type VideoErrorCode = VideoErrorCodeOrigin
27
+ type UniWebViewErrorEventDetail = UniWebViewErrorEventDetailOrigin
28
+ type UniVideoErrorEvent = UniVideoErrorEventOrigin
29
+ type UniVideoFullScreenDirection = UniVideoFullScreenDirectionOrigin
30
+ type UniVideoFullScreenChangeEventDetail = UniVideoFullScreenChangeEventDetailOrigin
31
+ type UniVideoFullScreenChangeEvent = UniVideoFullScreenChangeEventOrigin
32
+ type UniVideoFullScreenClickEventDetail = UniVideoFullScreenClickEventDetailOrigin
33
+ type UniVideoFullScreenClickEvent = UniVideoFullScreenClickEventOrigin
34
+ type UniVideoProgressEventDetail = UniVideoProgressEventDetailOrigin
35
+ type UniVideoProgressEvent = UniVideoProgressEventOrigin
36
+ type UniVideoTimeUpdateEventDetail = UniVideoTimeUpdateEventDetailOrigin
37
+ type UniVideoTimeUpdateEvent = UniVideoTimeUpdateEventOrigin
38
+ }
39
+
@@ -0,0 +1,20 @@
1
+ // 本文件为自动构建生成
2
+ export {
3
+ UniVideoEventDetail,
4
+ UniVideoEvent,
5
+ UniVideoControlsToggleEventDetail,
6
+ UniVideoControlsToggleEvent,
7
+ VideoErrorCode,
8
+ UniWebViewErrorEventDetail,
9
+ UniVideoErrorEvent,
10
+ UniVideoFullScreenDirection,
11
+ UniVideoFullScreenChangeEventDetail,
12
+ UniVideoFullScreenChangeEvent,
13
+ UniVideoFullScreenClickEventDetail,
14
+ UniVideoFullScreenClickEvent,
15
+ UniVideoProgressEventDetail,
16
+ UniVideoProgressEvent,
17
+ UniVideoTimeUpdateEventDetail,
18
+ UniVideoTimeUpdateEvent,
19
+ } from './interface'
20
+