@lambo-design-mobile/lambo-js-bridge 1.0.0-beta.10 → 1.0.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +208 -204
- package/package.json +1 -1
- package/src/sdk/LamboJsBridge.js +8 -0
- package/src/sdk/YunTuAdapter.js +53 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,205 +1,209 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
-
## 1.0.0-beta.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
*
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.
|
|
34
|
-
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.
|
|
35
|
-
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.
|
|
36
|
-
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.
|
|
37
|
-
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
47
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
48
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
49
|
-
* **@lambo-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
59
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
60
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
61
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
62
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
63
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
64
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
65
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
66
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
67
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
68
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
69
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
70
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
71
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
72
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
73
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
74
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
75
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
76
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
77
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
78
|
-
* **@lambo-design-mobile/
|
|
79
|
-
* **@lambo-design-mobile/
|
|
80
|
-
* **@lambo-
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
179
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
180
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
181
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
182
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
183
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
184
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
185
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
186
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
187
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
188
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
189
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
190
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
191
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
192
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
193
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
194
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
195
|
-
* **@lambo-design-mobile/js-bridge:**
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
2
|
+
## [1.0.0-beta.12](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/lambo-js-bridge@1.0.0-beta.11...@lambo-design-mobile/lambo-js-bridge@1.0.0-beta.12) (2024-10-17)
|
|
3
|
+
|
|
4
|
+
## [1.0.0-beta.11](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/lambo-js-bridge@1.0.0-beta.10...@lambo-design-mobile/lambo-js-bridge@1.0.0-beta.11) (2024-10-14)
|
|
5
|
+
|
|
6
|
+
## 1.0.0-beta.10 (2024-09-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ✅ Tests | 测试
|
|
10
|
+
|
|
11
|
+
* **@lambo-design-mobile/js-bridge:** 测试图片预览代码 ([21580d0](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/21580d0940ed11f8911f5cd1ab35782c64b7d4e8))
|
|
12
|
+
* **@lambo-design-mobile/js-bridge:** 测试图片预览代码 ([0f34ad8](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/0f34ad833be581f5345ebe758c062a9cb8e4c770))
|
|
13
|
+
* **@lambo-design-mobile/js-bridge:** oss上传图片测试 ([2b96afb](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/2b96afb1d153afaf251f169a1679cef5b95ca6c6))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### ⚡ Performance Improvements | 性能优化
|
|
17
|
+
|
|
18
|
+
* **@lambo-design-mobile/js-bridge:** 删除代码中的日志输出 ([2787cae](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/2787caed31dadcf764aa89234fdc63ef63b5633e))
|
|
19
|
+
* **@lambo-design-mobile/js-bridge:** 修改script加载方式 ([dc7bd53](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/dc7bd533f6bde2a25700f05bb7293562400ecb70))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### 📝 Documentation | 文档
|
|
23
|
+
|
|
24
|
+
* **@lambo-design-mobile/js-bridge:** 新增初始化函数入参出参文档说明 ([6398076](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/6398076b85c76d9fc86a0e964eb0d8224bd86721))
|
|
25
|
+
* **@lambo-design-mobile/js-bridge:** 新增openLocation相关文档 ([8b6d76f](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/8b6d76f876ccf792770d39e0d2ef110a34bce16e))
|
|
26
|
+
* **@lambo-design-mobile/js-bridge:** 修改文档内容 ([76d2d4f](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/76d2d4f2b6b0e76056566986c75048564c4b6ccc))
|
|
27
|
+
* **@lambo-design-mobile/js-bridge:** 修改README说明 ([bfc7255](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/bfc7255ed88289fc366e4c5fbf1f9bc5584b1c1a))
|
|
28
|
+
* **lambo-design-mobile/js-bridge:** 说明文档修改 ([5232d53](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/5232d53e97c7a94414b270104bda52c3dd530428))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### '🎫 Chores | 其他更新
|
|
32
|
+
|
|
33
|
+
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.1 ([ed261cb](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/ed261cbbf8f6b3525be65a48a7b0a25b96ca5404))
|
|
34
|
+
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.2 ([4a908df](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/4a908dfe98546a0b29ae287dcbe45bb25a3c6ba6))
|
|
35
|
+
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.3 ([d358f84](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/d358f84119e8d46c1c2fdb1d1500bb4d52ac91cd))
|
|
36
|
+
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.4 ([aab48e5](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/aab48e54c1a621e17617e0a20e91bb648715df24))
|
|
37
|
+
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.5 ([7312357](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/7312357ac09ee77e496dcd4e73de5bfe4599ada4))
|
|
38
|
+
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.6 ([16b78d0](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/16b78d010d1b65c45b5ce38e7f91fb64c381fadc))
|
|
39
|
+
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.7 ([7e90baa](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/7e90baa620acc9929af94206d57bbe131414c24a))
|
|
40
|
+
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.8 ([1aaabba](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/1aaabba947b60f67bca013123c10058b908b9f35))
|
|
41
|
+
* **release:** @lambo-design-mobile/js-bridge@1.0.0-beta.9 ([56775d7](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/56775d70d5b136e47186f91a1133186704080409))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
45
|
+
|
|
46
|
+
* **@lambo-design-mobile/js-bridge:** 完善全局调用文档,删除未使用代码 ([309c4af](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/309c4af613be0f8543a53e2d24c3702e44474134))
|
|
47
|
+
* **@lambo-design-mobile/js-bridge:** 完善文档 ([5d3b7b9](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/5d3b7b928e05b65ec21008b23f9e07ddd0deff1f))
|
|
48
|
+
* **@lambo-design-mobile/js-bridge:** 修复 js-bridge Vueuse注册方式 ([b5700a4](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/b5700a41bef48f174624f9bdbd9bb1e7bde26c0b))
|
|
49
|
+
* **@lambo-design-mobile/js-bridge:** 修复安卓上传图片至oss报错 ([89b4c3e](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/89b4c3e46ddc1d99f84a73b8a87609414ac2113d))
|
|
50
|
+
* **@lambo-design-mobile/js-bridge:** 修改脚本加载方式 ([c54550d](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/c54550d5698fe8f35f055fa6ab0bcf85429d138c))
|
|
51
|
+
* **@lambo-design-mobile/js-bridge:** 修正flutter环境下插件初始化问题 ([680e188](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/680e188449516e15a0355a3017b70a5eeea7c2d2))
|
|
52
|
+
* **@lambo-design-mobile/js-bridge:** 修正flutter环境下插件初始化问题 ([c5a7fba](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/c5a7fba9af2b2cd2abb20bc6bca1eec636c0c092))
|
|
53
|
+
* **@lambo-dsign-mobile/js-bridge:** 修复filePreview报错 ([5d19e45](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/5d19e45f14f558323aee06dedbe6462068469e66))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### ✨ Features | 新功能
|
|
57
|
+
|
|
58
|
+
* **@lambo-design-mobile/js-bridge:** 更新浏览器页面接口 ([f7ebb25](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/f7ebb25794c1aded131ca4465e6dddf61758ce1b))
|
|
59
|
+
* **@lambo-design-mobile/js-bridge:** 更新浏览器页面接口 ([9c886d8](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/9c886d8ca970f3030264369a3a6a11b28de08a8d))
|
|
60
|
+
* **@lambo-design-mobile/js-bridge:** 更新企业微信接口 ([4bb321c](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/4bb321cc0d05058560f5d79d1f1a80f0233f20b7))
|
|
61
|
+
* **@lambo-design-mobile/js-bridge:** 更新ossServerContext接口地址 ([af9f153](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/af9f153ab5aec110ac62343db5089fe35bd59e6b))
|
|
62
|
+
* **@lambo-design-mobile/js-bridge:** 更新takePhoto接口outputType ([6a686d5](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/6a686d5f64d2cdd771ac02201da4103d7560ac35))
|
|
63
|
+
* **@lambo-design-mobile/js-bridge:** 更新takePhoto接口sourceType ([035b16e](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/035b16ef2afe5887829679344cf70caf49baf394))
|
|
64
|
+
* **@lambo-design-mobile/js-bridge:** 添加appId为入参 ([5da0d99](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/5da0d993e1734e9519e73ada8e002f07006bd980))
|
|
65
|
+
* **@lambo-design-mobile/js-bridge:** 微信接口拍照功能新增上传多张图片功能 ([9410191](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/941019106c18c0bec214f17e2e0b35a662d0288a))
|
|
66
|
+
* **@lambo-design-mobile/js-bridge:** 微信接口拍照功能新增上传多张图片预览功能 ([9cc5088](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/9cc5088858c98d33bc0cb0bd88cc4a689618fa6e))
|
|
67
|
+
* **@lambo-design-mobile/js-bridge:** 微信接口新增openLocation方法 ([8567b78](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/8567b78c87dd4f50131b67c3e7d1100ac18549c1))
|
|
68
|
+
* **@lambo-design-mobile/js-bridge:** 微信上传照片新增oss接口 ([60347db](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/60347db9ae7d61dcae77a25f4f1b0aa2d58d2e41))
|
|
69
|
+
* **@lambo-design-mobile/js-bridge:** 新增企业微信openLocation接口 ([3ec0d0f](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/3ec0d0f0d7de394194dec45d161ce0de1dcf25bc))
|
|
70
|
+
* **@lambo-design-mobile/js-bridge:** 新增上传图片预览 ([b33e525](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/b33e5251d8fb17c82ab1c2ccbb3038de801c60ee))
|
|
71
|
+
* **@lambo-design-mobile/js-bridge:** 新增BrowserAdapter Mock数据 ([56160de](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/56160deb375747ef7611be449db6f031ea2fa541))
|
|
72
|
+
* **@lambo-design-mobile/js-bridge:** 新增Flutter JsBridge接口 ([96ed86c](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/96ed86c9a530194d43290a23b0df9afbebe383d2))
|
|
73
|
+
* **@lambo-design-mobile/js-bridge:** 新增mixin全局声明 ([b7abf59](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/b7abf5976e3ee850a49e2ea2386fe2dec110a89c))
|
|
74
|
+
* **@lambo-design-mobile/js-bridge:** 修改变量默认值 ([c813d63](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/c813d635832bcff59d059288f77745404e71f060))
|
|
75
|
+
* **@lambo-design-mobile/js-bridge:** 修改图片预览布局 ([5176b51](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/5176b517d61e19536a4cbe2b0284e4402c84cdfc))
|
|
76
|
+
* **@lambo-design-mobile/js-bridge:** 修改微信scanCode接口返回值 ([08eec00](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/08eec00882059839b1d207b98ffec201a181f3d9))
|
|
77
|
+
* **@lambo-design-mobile/js-bridge:** 修改jsBridge默认参数值 ([7caeb91](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/7caeb919d4ace6d198c047bab4a564561e8e4502))
|
|
78
|
+
* **@lambo-design-mobile/js-bridge:** 修改takePhoto接口返回 ([177f92e](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/177f92e28251179e2c514414381ccd513d25301d))
|
|
79
|
+
* **@lambo-design-mobile/js-bridge:** 修改WeChat接口脚本加载方式 ([93445d3](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/93445d3779d6b734602003f0c86c9d9d4210b623))
|
|
80
|
+
* **@lambo-design-mobile/js-bridge:** 注释企业微信debug模式相关代码 ([ad3e2d7](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/ad3e2d732de2d7d4806f6c0a7d3718cb9f92895d))
|
|
81
|
+
* **@lambo-design-mobile/js-bridge:** getLocation接口新增支持百度bd09坐标系 ([9869b06](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/9869b06a0e455e5ddd994da0dcf2efb3e0479fb9))
|
|
82
|
+
* **@lambo-design-mobile/lambo-js-bridge:** 版本说明修改 ([a42d394](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/a42d394993a2cfbe72e61cfee58b8fe7ca13df49))
|
|
83
|
+
* **@lambo-design-mobile/lambo-js-picker:** 修改云途 ([0d8dd53](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/0d8dd5347c349787a1705e0d83531677e34159b2))
|
|
84
|
+
* **@lambo-dsign-mobile/js-bridge:** 新增filepreview ([80de1a1](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/80de1a1b7c7c690ea55895f2c6c9acfbf1859fda))
|
|
85
|
+
* **js-bridge:** 部分提交 ([2018f4e](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/2018f4eea620056036de0b73174999692b2e209d))
|
|
86
|
+
* **js-bridge:** 定位调试跑通 ([447623a](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/447623a97c0dac8e01407f07406676705ce94e83))
|
|
87
|
+
* **js-bridge:** init ([308e8f3](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/308e8f349b8098cdb789448813c9bd612fe3e18a))
|
|
88
|
+
* **lambo-design-mobile/js-bridge:** 新增BrowserAdapter ([6c25393](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/6c25393c3cf7d6a2b4316dcf913a6064bd92c7b1))
|
|
89
|
+
|
|
90
|
+
## [1.0.0-beta.9](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/js-bridge@1.0.0-beta.8...@lambo-design-mobile/js-bridge@1.0.0-beta.9) (2024-09-12)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
94
|
+
|
|
95
|
+
* **@lambo-design-mobile/js-bridge:** 修正flutter环境下插件初始化问题 ([680e188](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/680e188449516e15a0355a3017b70a5eeea7c2d2))
|
|
96
|
+
* **@lambo-design-mobile/js-bridge:** 修正flutter环境下插件初始化问题 ([c5a7fba](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/c5a7fba9af2b2cd2abb20bc6bca1eec636c0c092))
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
### 📝 Documentation | 文档
|
|
100
|
+
|
|
101
|
+
* **@lambo-design-mobile/js-bridge:** 修改README说明 ([bfc7255](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/bfc7255ed88289fc366e4c5fbf1f9bc5584b1c1a))
|
|
102
|
+
|
|
103
|
+
## [1.0.0-beta.8](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/js-bridge@1.0.0-beta.7...@lambo-design-mobile/js-bridge@1.0.0-beta.8) (2024-09-09)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### ✨ Features | 新功能
|
|
107
|
+
|
|
108
|
+
* **@lambo-design-mobile/js-bridge:** 新增mixin全局声明 ([b7abf59](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/b7abf5976e3ee850a49e2ea2386fe2dec110a89c))
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
112
|
+
|
|
113
|
+
* **@lambo-design-mobile/js-bridge:** 修改脚本加载方式 ([c54550d](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/c54550d5698fe8f35f055fa6ab0bcf85429d138c))
|
|
114
|
+
|
|
115
|
+
## [1.0.0-beta.7](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/js-bridge@1.0.0-beta.6...@lambo-design-mobile/js-bridge@1.0.0-beta.7) (2024-08-30)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
119
|
+
|
|
120
|
+
* **@lambo-design-mobile/js-bridge:** 完善文档 ([5d3b7b9](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/5d3b7b928e05b65ec21008b23f9e07ddd0deff1f))
|
|
121
|
+
* **@lambo-dsign-mobile/js-bridge:** 修复filePreview报错 ([5d19e45](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/5d19e45f14f558323aee06dedbe6462068469e66))
|
|
122
|
+
|
|
123
|
+
## [1.0.0-beta.6](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/js-bridge@1.0.0-beta.5...@lambo-design-mobile/js-bridge@1.0.0-beta.6) (2024-08-29)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
127
|
+
|
|
128
|
+
* **@lambo-design-mobile/js-bridge:** 完善全局调用文档,删除未使用代码 ([309c4af](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/309c4af613be0f8543a53e2d24c3702e44474134))
|
|
129
|
+
|
|
130
|
+
## [1.0.0-beta.5](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/js-bridge@1.0.0-beta.4...@lambo-design-mobile/js-bridge@1.0.0-beta.5) (2024-08-29)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
### ✨ Features | 新功能
|
|
134
|
+
|
|
135
|
+
* **@lambo-dsign-mobile/js-bridge:** 新增filepreview ([80de1a1](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/80de1a1b7c7c690ea55895f2c6c9acfbf1859fda))
|
|
136
|
+
|
|
137
|
+
## [1.0.0-beta.4](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/js-bridge@1.0.0-beta.3...@lambo-design-mobile/js-bridge@1.0.0-beta.4) (2024-08-23)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
### ✨ Features | 新功能
|
|
141
|
+
|
|
142
|
+
* **@lambo-design-mobile/lambo-js-picker:** 修改云途 ([0d8dd53](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/0d8dd5347c349787a1705e0d83531677e34159b2))
|
|
143
|
+
|
|
144
|
+
## [1.0.0-beta.3](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/js-bridge@1.0.0-beta.2...@lambo-design-mobile/js-bridge@1.0.0-beta.3) (2024-08-22)
|
|
145
|
+
|
|
146
|
+
## [1.0.0-beta.2](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/js-bridge@1.0.0-beta.1...@lambo-design-mobile/js-bridge@1.0.0-beta.2) (2024-08-22)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### ✨ Features | 新功能
|
|
150
|
+
|
|
151
|
+
* **@lambo-design-mobile/js-bridge:** 新增Flutter JsBridge接口 ([96ed86c](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/96ed86c9a530194d43290a23b0df9afbebe383d2))
|
|
152
|
+
|
|
153
|
+
## 1.0.0-beta.1 (2024-08-21)
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
### 📝 Documentation | 文档
|
|
157
|
+
|
|
158
|
+
* **@lambo-design-mobile/js-bridge:** 新增初始化函数入参出参文档说明 ([6398076](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/6398076b85c76d9fc86a0e964eb0d8224bd86721))
|
|
159
|
+
* **@lambo-design-mobile/js-bridge:** 新增openLocation相关文档 ([8b6d76f](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/8b6d76f876ccf792770d39e0d2ef110a34bce16e))
|
|
160
|
+
* **@lambo-design-mobile/js-bridge:** 修改文档内容 ([76d2d4f](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/76d2d4f2b6b0e76056566986c75048564c4b6ccc))
|
|
161
|
+
* **lambo-design-mobile/js-bridge:** 说明文档修改 ([5232d53](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/5232d53e97c7a94414b270104bda52c3dd530428))
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
165
|
+
|
|
166
|
+
* **@lambo-design-mobile/js-bridge:** 修复安卓上传图片至oss报错 ([89b4c3e](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/89b4c3e46ddc1d99f84a73b8a87609414ac2113d))
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
### ✅ Tests | 测试
|
|
170
|
+
|
|
171
|
+
* **@lambo-design-mobile/js-bridge:** 测试图片预览代码 ([21580d0](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/21580d0940ed11f8911f5cd1ab35782c64b7d4e8))
|
|
172
|
+
* **@lambo-design-mobile/js-bridge:** 测试图片预览代码 ([0f34ad8](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/0f34ad833be581f5345ebe758c062a9cb8e4c770))
|
|
173
|
+
* **@lambo-design-mobile/js-bridge:** oss上传图片测试 ([2b96afb](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/2b96afb1d153afaf251f169a1679cef5b95ca6c6))
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
### ✨ Features | 新功能
|
|
177
|
+
|
|
178
|
+
* **@lambo-design-mobile/js-bridge:** 更新浏览器页面接口 ([f7ebb25](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/f7ebb25794c1aded131ca4465e6dddf61758ce1b))
|
|
179
|
+
* **@lambo-design-mobile/js-bridge:** 更新浏览器页面接口 ([9c886d8](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/9c886d8ca970f3030264369a3a6a11b28de08a8d))
|
|
180
|
+
* **@lambo-design-mobile/js-bridge:** 更新企业微信接口 ([4bb321c](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/4bb321cc0d05058560f5d79d1f1a80f0233f20b7))
|
|
181
|
+
* **@lambo-design-mobile/js-bridge:** 更新ossServerContext接口地址 ([af9f153](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/af9f153ab5aec110ac62343db5089fe35bd59e6b))
|
|
182
|
+
* **@lambo-design-mobile/js-bridge:** 更新takePhoto接口outputType ([6a686d5](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/6a686d5f64d2cdd771ac02201da4103d7560ac35))
|
|
183
|
+
* **@lambo-design-mobile/js-bridge:** 更新takePhoto接口sourceType ([035b16e](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/035b16ef2afe5887829679344cf70caf49baf394))
|
|
184
|
+
* **@lambo-design-mobile/js-bridge:** 添加appId为入参 ([5da0d99](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/5da0d993e1734e9519e73ada8e002f07006bd980))
|
|
185
|
+
* **@lambo-design-mobile/js-bridge:** 微信接口拍照功能新增上传多张图片功能 ([9410191](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/941019106c18c0bec214f17e2e0b35a662d0288a))
|
|
186
|
+
* **@lambo-design-mobile/js-bridge:** 微信接口拍照功能新增上传多张图片预览功能 ([9cc5088](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/9cc5088858c98d33bc0cb0bd88cc4a689618fa6e))
|
|
187
|
+
* **@lambo-design-mobile/js-bridge:** 微信接口新增openLocation方法 ([8567b78](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/8567b78c87dd4f50131b67c3e7d1100ac18549c1))
|
|
188
|
+
* **@lambo-design-mobile/js-bridge:** 微信上传照片新增oss接口 ([60347db](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/60347db9ae7d61dcae77a25f4f1b0aa2d58d2e41))
|
|
189
|
+
* **@lambo-design-mobile/js-bridge:** 新增企业微信openLocation接口 ([3ec0d0f](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/3ec0d0f0d7de394194dec45d161ce0de1dcf25bc))
|
|
190
|
+
* **@lambo-design-mobile/js-bridge:** 新增上传图片预览 ([b33e525](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/b33e5251d8fb17c82ab1c2ccbb3038de801c60ee))
|
|
191
|
+
* **@lambo-design-mobile/js-bridge:** 新增BrowserAdapter Mock数据 ([56160de](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/56160deb375747ef7611be449db6f031ea2fa541))
|
|
192
|
+
* **@lambo-design-mobile/js-bridge:** 修改变量默认值 ([c813d63](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/c813d635832bcff59d059288f77745404e71f060))
|
|
193
|
+
* **@lambo-design-mobile/js-bridge:** 修改图片预览布局 ([5176b51](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/5176b517d61e19536a4cbe2b0284e4402c84cdfc))
|
|
194
|
+
* **@lambo-design-mobile/js-bridge:** 修改微信scanCode接口返回值 ([08eec00](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/08eec00882059839b1d207b98ffec201a181f3d9))
|
|
195
|
+
* **@lambo-design-mobile/js-bridge:** 修改jsBridge默认参数值 ([7caeb91](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/7caeb919d4ace6d198c047bab4a564561e8e4502))
|
|
196
|
+
* **@lambo-design-mobile/js-bridge:** 修改takePhoto接口返回 ([177f92e](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/177f92e28251179e2c514414381ccd513d25301d))
|
|
197
|
+
* **@lambo-design-mobile/js-bridge:** 修改WeChat接口脚本加载方式 ([93445d3](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/93445d3779d6b734602003f0c86c9d9d4210b623))
|
|
198
|
+
* **@lambo-design-mobile/js-bridge:** 注释企业微信debug模式相关代码 ([ad3e2d7](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/ad3e2d732de2d7d4806f6c0a7d3718cb9f92895d))
|
|
199
|
+
* **@lambo-design-mobile/js-bridge:** getLocation接口新增支持百度bd09坐标系 ([9869b06](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/9869b06a0e455e5ddd994da0dcf2efb3e0479fb9))
|
|
200
|
+
* **js-bridge:** 部分提交 ([2018f4e](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/2018f4eea620056036de0b73174999692b2e209d))
|
|
201
|
+
* **js-bridge:** 定位调试跑通 ([447623a](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/447623a97c0dac8e01407f07406676705ce94e83))
|
|
202
|
+
* **js-bridge:** init ([308e8f3](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/308e8f349b8098cdb789448813c9bd612fe3e18a))
|
|
203
|
+
* **lambo-design-mobile/js-bridge:** 新增BrowserAdapter ([6c25393](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/6c25393c3cf7d6a2b4316dcf913a6064bd92c7b1))
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
### ⚡ Performance Improvements | 性能优化
|
|
207
|
+
|
|
208
|
+
* **@lambo-design-mobile/js-bridge:** 删除代码中的日志输出 ([2787cae](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/2787caed31dadcf764aa89234fdc63ef63b5633e))
|
|
209
|
+
* **@lambo-design-mobile/js-bridge:** 修改script加载方式 ([dc7bd53](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/dc7bd533f6bde2a25700f05bb7293562400ecb70))
|
package/package.json
CHANGED
package/src/sdk/LamboJsBridge.js
CHANGED
|
@@ -50,6 +50,14 @@ class LamboJsBridge {
|
|
|
50
50
|
return this.platform.scanCode(options);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
async localAuthPlugin(options = {}) {
|
|
54
|
+
return this.platform.localAuthPlugin(options);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
async getAvailableBiometrics(options = {}) {
|
|
58
|
+
return this.platform.getAvailableBiometrics(options);
|
|
59
|
+
}
|
|
60
|
+
|
|
53
61
|
async takePhoto(options = {}) {
|
|
54
62
|
return this.platform.takePhoto(options);
|
|
55
63
|
}
|
package/src/sdk/YunTuAdapter.js
CHANGED
|
@@ -11,7 +11,7 @@ class YunTuAdapter {
|
|
|
11
11
|
try {
|
|
12
12
|
const configToUse = Array.isArray(pluginConfig) && pluginConfig.length > 0
|
|
13
13
|
? JSON.stringify(pluginConfig)
|
|
14
|
-
: '["myPlugin","tabBarPlugin","scanCodePlugin","filePreviewPlugin","imagePickerPlugin"]';
|
|
14
|
+
: '["localAuthPlugin","myPlugin","tabBarPlugin","scanCodePlugin","filePreviewPlugin","imagePickerPlugin"]';
|
|
15
15
|
await yuntuConfig(configToUse); // 确保等待 yuntuConfig 执行完成
|
|
16
16
|
this.isInitialized = true;
|
|
17
17
|
this.plugins = JSON.parse(configToUse);
|
|
@@ -115,6 +115,58 @@ class YunTuAdapter {
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
+
async localAuthPlugin(options) {
|
|
119
|
+
if (!this.isInitialized) {
|
|
120
|
+
await this.initializePlugin(); // 确保插件初始化
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
return new Promise((resolve, reject) => {
|
|
124
|
+
if (window.localAuthPlugin && typeof window.localAuthPlugin.auth === 'function') {
|
|
125
|
+
window.localAuthPlugin.auth(
|
|
126
|
+
(res) => {
|
|
127
|
+
console.log('YunTu: local auth success', res);
|
|
128
|
+
resolve(res); // 成功获取认证结果
|
|
129
|
+
},
|
|
130
|
+
(err) => {
|
|
131
|
+
console.error('YunTu: Failed to local auth', err);
|
|
132
|
+
reject(err); // 认证失败
|
|
133
|
+
},
|
|
134
|
+
options // 传递给认证方法的选项
|
|
135
|
+
);
|
|
136
|
+
} else {
|
|
137
|
+
const errorMessage = 'local auth is not initialized or not available';
|
|
138
|
+
console.error('YunTu:', errorMessage);
|
|
139
|
+
reject(new Error(errorMessage)); // ScanCode 未初始化或不可用
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
async getAvailableBiometrics(options) {
|
|
145
|
+
if (!this.isInitialized) {
|
|
146
|
+
await this.initializePlugin(); // 确保插件初始化
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
return new Promise((resolve, reject) => {
|
|
150
|
+
if (window.localAuthPlugin && typeof window.localAuthPlugin.getAvailableBiometrics === 'function') {
|
|
151
|
+
window.localAuthPlugin.getAvailableBiometrics(
|
|
152
|
+
(res) => {
|
|
153
|
+
console.log('YunTu: Get Available Biometrics', res);
|
|
154
|
+
resolve(res); // 成功获取生物认证列表
|
|
155
|
+
},
|
|
156
|
+
(err) => {
|
|
157
|
+
console.error('YunTu: Failed Get Available Biometrics', err);
|
|
158
|
+
reject(err); // 获取生物认证列表失败
|
|
159
|
+
},
|
|
160
|
+
options // 传递给认证方法的选项
|
|
161
|
+
);
|
|
162
|
+
} else {
|
|
163
|
+
const errorMessage = 'local auth is not initialized or not available';
|
|
164
|
+
console.error('YunTu:', errorMessage);
|
|
165
|
+
reject(new Error(errorMessage));
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
|
|
118
170
|
|
|
119
171
|
async takePhoto(options) {
|
|
120
172
|
console.log('YunTu: Taking photo with options', options);
|