Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhu_wap_bridge
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
千变科技开源组件
zhu_wap_bridge
Commits
f915efc8
Commit
f915efc8
authored
Mar 12, 2021
by
westzmg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加openScreen功能
parent
ffb23df5
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
644 additions
and
520 deletions
+644
-520
.umirc.js
.umirc.js
+1
-0
README.md
README.md
+9
-0
_Bridge.js
components/_Bridge.js
+15
-0
umi.js
dist/umi.js
+0
-0
_Bridge.js
lib/_Bridge.js
+570
-520
index.js
pages/index.js
+4
-0
openScreen.js
pages/openScreen.js
+45
-0
No files found.
.umirc.js
View file @
f915efc8
...
@@ -32,5 +32,6 @@ export default {
...
@@ -32,5 +32,6 @@ export default {
{
path
:
'/uploadImage'
,
component
:
'../pages/uploadImage'
},
{
path
:
'/uploadImage'
,
component
:
'../pages/uploadImage'
},
{
path
:
'/dialog'
,
component
:
'../pages/dialog'
},
{
path
:
'/dialog'
,
component
:
'../pages/dialog'
},
{
path
:
'/baiduAI'
,
component
:
'../pages/baiduAI'
},
{
path
:
'/baiduAI'
,
component
:
'../pages/baiduAI'
},
{
path
:
'/openScreen'
,
component
:
'../pages/openScreen'
},
]
]
}
}
README.md
View file @
f915efc8
...
@@ -50,6 +50,15 @@ options: {
...
@@ -50,6 +50,15 @@ options: {
}
}
```
```
# 打开ReactNative中的页面,其功能几乎和Actions相同
### openScreen(options)
```
options: {
path: string, //主程序中定义的路由页面
props: object, //页面的props
}
```
# 获取坐标信息
# 获取坐标信息
### await getPosition()
### await getPosition()
```
```
...
...
components/_Bridge.js
View file @
f915efc8
...
@@ -93,6 +93,20 @@ export const closeWindow = async (opt) => {
...
@@ -93,6 +93,20 @@ export const closeWindow = async (opt) => {
})
})
};
};
/*
* 打开ReactNative中的页面,其功能几乎和Actions相同
* @name openScreen
* options: {
* path: string, //主程序中定义的路由页面
* props: object, //页面的props
* }
*/
export
const
openScreen
=
async
(
opt
)
=>
{
return
new
Promise
(
async
(
resolve
)
=>
{
await
invoke
.
bind
(
"openScreen"
)(
opt
)
})
};
/*
/*
* 获取坐标信息
* 获取坐标信息
* @name getPosition
* @name getPosition
...
@@ -458,6 +472,7 @@ export default {
...
@@ -458,6 +472,7 @@ export default {
recordVideo
,
recordVideo
,
barCodeScan
,
barCodeScan
,
openWindow
,
openWindow
,
openScreen
,
closeWindow
,
closeWindow
,
getPosition
,
getPosition
,
launchCQDigitalSign
,
launchCQDigitalSign
,
...
...
dist/umi.js
View file @
f915efc8
This source diff could not be displayed because it is too large. You can
view the blob
instead.
lib/_Bridge.js
View file @
f915efc8
...
@@ -329,70 +329,119 @@ export var closeWindow = /*#__PURE__*/function () {
...
@@ -329,70 +329,119 @@ export var closeWindow = /*#__PURE__*/function () {
};
};
}();
}();
/*
/*
* 打开ReactNative中的页面,其功能几乎和Actions相同
* @name openScreen
* options: {
* path: string, //主程序中定义的路由页面
* props: object, //页面的props
* }
*/
export
var
openScreen
=
/*#__PURE__*/
function
()
{
var
_ref14
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee15
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee15$
(
_context15
)
{
while
(
1
)
{
switch
(
_context15
.
prev
=
_context15
.
next
)
{
case
0
:
return
_context15
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref15
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee14
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee14$
(
_context14
)
{
while
(
1
)
{
switch
(
_context14
.
prev
=
_context14
.
next
)
{
case
0
:
_context14
.
next
=
2
;
return
invoke
.
bind
(
"openScreen"
)(
opt
);
case
2
:
case
"end"
:
return
_context14
.
stop
();
}
}
},
_callee14
);
}));
return
function
(
_x15
)
{
return
_ref15
.
apply
(
this
,
arguments
);
};
}()));
case
1
:
case
"end"
:
return
_context15
.
stop
();
}
}
},
_callee15
);
}));
return
function
openScreen
(
_x14
)
{
return
_ref14
.
apply
(
this
,
arguments
);
};
}();
/*
* 获取坐标信息
* 获取坐标信息
* @name getPosition
* @name getPosition
* @return
* @return
*/
*/
export
var
getPosition
=
/*#__PURE__*/
function
()
{
export
var
getPosition
=
/*#__PURE__*/
function
()
{
var
_ref1
4
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee16
(
opt
)
{
var
_ref1
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee18
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee1
6$
(
_context16
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee1
8$
(
_context18
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context1
6
.
prev
=
_context16
.
next
)
{
switch
(
_context1
8
.
prev
=
_context18
.
next
)
{
case
0
:
case
0
:
return
_context1
6
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context1
8
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref1
5
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee15
(
resolve
)
{
var
_ref1
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee17
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee1
5$
(
_context15
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee1
7$
(
_context17
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context1
5
.
prev
=
_context15
.
next
)
{
switch
(
_context1
7
.
prev
=
_context17
.
next
)
{
case
0
:
case
0
:
// invoke.define('getPosition', async (data) => {resolve(data)});
// invoke.define('getPosition', async (data) => {resolve(data)});
invoke
.
define
(
'getPositionCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'getPositionCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref1
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee14
(
result
)
{
var
_ref1
8
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee16
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee1
4$
(
_context14
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee1
6$
(
_context16
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context1
4
.
prev
=
_context14
.
next
)
{
switch
(
_context1
6
.
prev
=
_context16
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context1
4
.
stop
();
return
_context1
6
.
stop
();
}
}
}
}
},
_callee1
4
);
},
_callee1
6
);
}));
}));
return
function
(
_x1
6
)
{
return
function
(
_x1
8
)
{
return
_ref1
6
.
apply
(
this
,
arguments
);
return
_ref1
8
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context1
5
.
next
=
3
;
_context1
7
.
next
=
3
;
return
invoke
.
bind
(
"getPosition"
)(
opt
);
return
invoke
.
bind
(
"getPosition"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context1
5
.
stop
();
return
_context1
7
.
stop
();
}
}
}
}
},
_callee1
5
);
},
_callee1
7
);
}));
}));
return
function
(
_x1
5
)
{
return
function
(
_x1
7
)
{
return
_ref1
5
.
apply
(
this
,
arguments
);
return
_ref1
7
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context1
6
.
stop
();
return
_context1
8
.
stop
();
}
}
}
}
},
_callee1
6
);
},
_callee1
8
);
}));
}));
return
function
getPosition
(
_x1
4
)
{
return
function
getPosition
(
_x1
6
)
{
return
_ref1
4
.
apply
(
this
,
arguments
);
return
_ref1
6
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -402,64 +451,64 @@ export var getPosition = /*#__PURE__*/function () {
...
@@ -402,64 +451,64 @@ export var getPosition = /*#__PURE__*/function () {
*/
*/
export
var
launchCQDigitalSign
=
/*#__PURE__*/
function
()
{
export
var
launchCQDigitalSign
=
/*#__PURE__*/
function
()
{
var
_ref1
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee19
(
opt
)
{
var
_ref1
9
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee21
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
19$
(
_context19
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
21$
(
_context21
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
19
.
prev
=
_context19
.
next
)
{
switch
(
_context
21
.
prev
=
_context21
.
next
)
{
case
0
:
case
0
:
return
_context
19
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context
21
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref
18
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee18
(
resolve
)
{
var
_ref
20
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee20
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
18$
(
_context18
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
20$
(
_context20
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
18
.
prev
=
_context18
.
next
)
{
switch
(
_context
20
.
prev
=
_context20
.
next
)
{
case
0
:
case
0
:
// invoke.define('launchCQDigitalSign', async (data) => {resolve(data)});
// invoke.define('launchCQDigitalSign', async (data) => {resolve(data)});
invoke
.
define
(
'launchCQDigitalSignCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'launchCQDigitalSignCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref
19
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee17
(
result
)
{
var
_ref
21
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee19
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee1
7$
(
_context17
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee1
9$
(
_context19
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context1
7
.
prev
=
_context17
.
next
)
{
switch
(
_context1
9
.
prev
=
_context19
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context1
7
.
stop
();
return
_context1
9
.
stop
();
}
}
}
}
},
_callee1
7
);
},
_callee1
9
);
}));
}));
return
function
(
_x
19
)
{
return
function
(
_x
21
)
{
return
_ref
19
.
apply
(
this
,
arguments
);
return
_ref
21
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context
18
.
next
=
3
;
_context
20
.
next
=
3
;
return
invoke
.
bind
(
"launchCQDigitalSign"
)(
opt
);
return
invoke
.
bind
(
"launchCQDigitalSign"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context
18
.
stop
();
return
_context
20
.
stop
();
}
}
}
}
},
_callee
18
);
},
_callee
20
);
}));
}));
return
function
(
_x
18
)
{
return
function
(
_x
20
)
{
return
_ref
18
.
apply
(
this
,
arguments
);
return
_ref
20
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context
19
.
stop
();
return
_context
21
.
stop
();
}
}
}
}
},
_callee
19
);
},
_callee
21
);
}));
}));
return
function
launchCQDigitalSign
(
_x1
7
)
{
return
function
launchCQDigitalSign
(
_x1
9
)
{
return
_ref1
7
.
apply
(
this
,
arguments
);
return
_ref1
9
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -469,64 +518,64 @@ export var launchCQDigitalSign = /*#__PURE__*/function () {
...
@@ -469,64 +518,64 @@ export var launchCQDigitalSign = /*#__PURE__*/function () {
*/
*/
export
var
launchFingerSign
=
/*#__PURE__*/
function
()
{
export
var
launchFingerSign
=
/*#__PURE__*/
function
()
{
var
_ref2
0
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee22
(
opt
)
{
var
_ref2
2
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee24
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
2$
(
_context22
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
4$
(
_context24
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context2
2
.
prev
=
_context22
.
next
)
{
switch
(
_context2
4
.
prev
=
_context24
.
next
)
{
case
0
:
case
0
:
return
_context2
2
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context2
4
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref2
1
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee21
(
resolve
)
{
var
_ref2
3
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee23
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
1$
(
_context21
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
3$
(
_context23
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context2
1
.
prev
=
_context21
.
next
)
{
switch
(
_context2
3
.
prev
=
_context23
.
next
)
{
case
0
:
case
0
:
// invoke.define('launchFingerSign', async (data) => {resolve(data)});
// invoke.define('launchFingerSign', async (data) => {resolve(data)});
invoke
.
define
(
'launchFingerSignCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'launchFingerSignCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref2
2
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee20
(
result
)
{
var
_ref2
4
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee22
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
0$
(
_context20
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
2$
(
_context22
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context2
0
.
prev
=
_context20
.
next
)
{
switch
(
_context2
2
.
prev
=
_context22
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context2
0
.
stop
();
return
_context2
2
.
stop
();
}
}
}
}
},
_callee2
0
);
},
_callee2
2
);
}));
}));
return
function
(
_x2
2
)
{
return
function
(
_x2
4
)
{
return
_ref2
2
.
apply
(
this
,
arguments
);
return
_ref2
4
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context2
1
.
next
=
3
;
_context2
3
.
next
=
3
;
return
invoke
.
bind
(
"launchFingerSign"
)(
opt
);
return
invoke
.
bind
(
"launchFingerSign"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context2
1
.
stop
();
return
_context2
3
.
stop
();
}
}
}
}
},
_callee2
1
);
},
_callee2
3
);
}));
}));
return
function
(
_x2
1
)
{
return
function
(
_x2
3
)
{
return
_ref2
1
.
apply
(
this
,
arguments
);
return
_ref2
3
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context2
2
.
stop
();
return
_context2
4
.
stop
();
}
}
}
}
},
_callee2
2
);
},
_callee2
4
);
}));
}));
return
function
launchFingerSign
(
_x2
0
)
{
return
function
launchFingerSign
(
_x2
2
)
{
return
_ref2
0
.
apply
(
this
,
arguments
);
return
_ref2
2
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -536,64 +585,64 @@ export var launchFingerSign = /*#__PURE__*/function () {
...
@@ -536,64 +585,64 @@ export var launchFingerSign = /*#__PURE__*/function () {
*/
*/
export
var
launchShare
=
/*#__PURE__*/
function
()
{
export
var
launchShare
=
/*#__PURE__*/
function
()
{
var
_ref2
3
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee25
(
opt
)
{
var
_ref2
5
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee27
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
5$
(
_context25
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
7$
(
_context27
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context2
5
.
prev
=
_context25
.
next
)
{
switch
(
_context2
7
.
prev
=
_context27
.
next
)
{
case
0
:
case
0
:
return
_context2
5
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context2
7
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref2
4
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee24
(
resolve
)
{
var
_ref2
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee26
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
4$
(
_context24
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
6$
(
_context26
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context2
4
.
prev
=
_context24
.
next
)
{
switch
(
_context2
6
.
prev
=
_context26
.
next
)
{
case
0
:
case
0
:
// invoke.define('launchShare', async (data) => {resolve(data)});
// invoke.define('launchShare', async (data) => {resolve(data)});
invoke
.
define
(
'launchShareCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'launchShareCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref2
5
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee23
(
result
)
{
var
_ref2
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee25
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
3$
(
_context23
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
5$
(
_context25
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context2
3
.
prev
=
_context23
.
next
)
{
switch
(
_context2
5
.
prev
=
_context25
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context2
3
.
stop
();
return
_context2
5
.
stop
();
}
}
}
}
},
_callee2
3
);
},
_callee2
5
);
}));
}));
return
function
(
_x2
5
)
{
return
function
(
_x2
7
)
{
return
_ref2
5
.
apply
(
this
,
arguments
);
return
_ref2
7
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context2
4
.
next
=
3
;
_context2
6
.
next
=
3
;
return
invoke
.
bind
(
"launchShare"
)(
opt
);
return
invoke
.
bind
(
"launchShare"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context2
4
.
stop
();
return
_context2
6
.
stop
();
}
}
}
}
},
_callee2
4
);
},
_callee2
6
);
}));
}));
return
function
(
_x2
4
)
{
return
function
(
_x2
6
)
{
return
_ref2
4
.
apply
(
this
,
arguments
);
return
_ref2
6
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context2
5
.
stop
();
return
_context2
7
.
stop
();
}
}
}
}
},
_callee2
5
);
},
_callee2
7
);
}));
}));
return
function
launchShare
(
_x2
3
)
{
return
function
launchShare
(
_x2
5
)
{
return
_ref2
3
.
apply
(
this
,
arguments
);
return
_ref2
5
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -603,64 +652,64 @@ export var launchShare = /*#__PURE__*/function () {
...
@@ -603,64 +652,64 @@ export var launchShare = /*#__PURE__*/function () {
*/
*/
export
var
getToken
=
/*#__PURE__*/
function
()
{
export
var
getToken
=
/*#__PURE__*/
function
()
{
var
_ref2
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee28
()
{
var
_ref2
8
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee30
()
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
28$
(
_context28
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
30$
(
_context30
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
28
.
prev
=
_context28
.
next
)
{
switch
(
_context
30
.
prev
=
_context30
.
next
)
{
case
0
:
case
0
:
return
_context
28
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context
30
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref2
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee27
(
resolve
)
{
var
_ref2
9
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee29
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
7$
(
_context27
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
9$
(
_context29
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context2
7
.
prev
=
_context27
.
next
)
{
switch
(
_context2
9
.
prev
=
_context29
.
next
)
{
case
0
:
case
0
:
// invoke.define('getToken', async () => {resolve()});
// invoke.define('getToken', async () => {resolve()});
invoke
.
define
(
'getTokenCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'getTokenCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref
28
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee26
(
result
)
{
var
_ref
30
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee28
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
6$
(
_context26
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee2
8$
(
_context28
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context2
6
.
prev
=
_context26
.
next
)
{
switch
(
_context2
8
.
prev
=
_context28
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context2
6
.
stop
();
return
_context2
8
.
stop
();
}
}
}
}
},
_callee2
6
);
},
_callee2
8
);
}));
}));
return
function
(
_x2
7
)
{
return
function
(
_x2
9
)
{
return
_ref
28
.
apply
(
this
,
arguments
);
return
_ref
30
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context2
7
.
next
=
3
;
_context2
9
.
next
=
3
;
return
invoke
.
bind
(
"getToken"
)();
return
invoke
.
bind
(
"getToken"
)();
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context2
7
.
stop
();
return
_context2
9
.
stop
();
}
}
}
}
},
_callee2
7
);
},
_callee2
9
);
}));
}));
return
function
(
_x2
6
)
{
return
function
(
_x2
8
)
{
return
_ref2
7
.
apply
(
this
,
arguments
);
return
_ref2
9
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context
28
.
stop
();
return
_context
30
.
stop
();
}
}
}
}
},
_callee
28
);
},
_callee
30
);
}));
}));
return
function
getToken
()
{
return
function
getToken
()
{
return
_ref2
6
.
apply
(
this
,
arguments
);
return
_ref2
8
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -670,64 +719,64 @@ export var getToken = /*#__PURE__*/function () {
...
@@ -670,64 +719,64 @@ export var getToken = /*#__PURE__*/function () {
*/
*/
export
var
getCurrProject
=
/*#__PURE__*/
function
()
{
export
var
getCurrProject
=
/*#__PURE__*/
function
()
{
var
_ref
29
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee31
()
{
var
_ref
31
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee33
()
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
1$
(
_context31
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
3$
(
_context33
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context3
1
.
prev
=
_context31
.
next
)
{
switch
(
_context3
3
.
prev
=
_context33
.
next
)
{
case
0
:
case
0
:
return
_context3
1
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context3
3
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref3
0
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee30
(
resolve
)
{
var
_ref3
2
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee32
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
0$
(
_context30
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
2$
(
_context32
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context3
0
.
prev
=
_context30
.
next
)
{
switch
(
_context3
2
.
prev
=
_context32
.
next
)
{
case
0
:
case
0
:
// invoke.define('getToken', async () => {resolve()});
// invoke.define('getToken', async () => {resolve()});
invoke
.
define
(
'getCurrProjectCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'getCurrProjectCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref3
1
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee29
(
result
)
{
var
_ref3
3
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee31
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
29$
(
_context29
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
31$
(
_context31
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
29
.
prev
=
_context29
.
next
)
{
switch
(
_context
31
.
prev
=
_context31
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context
29
.
stop
();
return
_context
31
.
stop
();
}
}
}
}
},
_callee
29
);
},
_callee
31
);
}));
}));
return
function
(
_x
29
)
{
return
function
(
_x
31
)
{
return
_ref3
1
.
apply
(
this
,
arguments
);
return
_ref3
3
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context3
0
.
next
=
3
;
_context3
2
.
next
=
3
;
return
invoke
.
bind
(
"getCurrProject"
)();
return
invoke
.
bind
(
"getCurrProject"
)();
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context3
0
.
stop
();
return
_context3
2
.
stop
();
}
}
}
}
},
_callee3
0
);
},
_callee3
2
);
}));
}));
return
function
(
_x
28
)
{
return
function
(
_x
30
)
{
return
_ref3
0
.
apply
(
this
,
arguments
);
return
_ref3
2
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context3
1
.
stop
();
return
_context3
3
.
stop
();
}
}
}
}
},
_callee3
1
);
},
_callee3
3
);
}));
}));
return
function
getCurrProject
()
{
return
function
getCurrProject
()
{
return
_ref
29
.
apply
(
this
,
arguments
);
return
_ref
31
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -738,43 +787,43 @@ export var getCurrProject = /*#__PURE__*/function () {
...
@@ -738,43 +787,43 @@ export var getCurrProject = /*#__PURE__*/function () {
*/
*/
export
var
previewImage
=
/*#__PURE__*/
function
()
{
export
var
previewImage
=
/*#__PURE__*/
function
()
{
var
_ref3
2
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee33
(
opt
)
{
var
_ref3
4
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee35
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
3$
(
_context33
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
5$
(
_context35
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context3
3
.
prev
=
_context33
.
next
)
{
switch
(
_context3
5
.
prev
=
_context35
.
next
)
{
case
0
:
case
0
:
return
_context3
3
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context3
5
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref3
3
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee32
(
resolve
)
{
var
_ref3
5
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee34
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
2$
(
_context32
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
4$
(
_context34
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context3
2
.
prev
=
_context32
.
next
)
{
switch
(
_context3
4
.
prev
=
_context34
.
next
)
{
case
0
:
case
0
:
_context3
2
.
next
=
2
;
_context3
4
.
next
=
2
;
return
invoke
.
bind
(
"previewImage"
)(
opt
);
return
invoke
.
bind
(
"previewImage"
)(
opt
);
case
2
:
case
2
:
case
"end"
:
case
"end"
:
return
_context3
2
.
stop
();
return
_context3
4
.
stop
();
}
}
}
}
},
_callee3
2
);
},
_callee3
4
);
}));
}));
return
function
(
_x3
1
)
{
return
function
(
_x3
3
)
{
return
_ref3
3
.
apply
(
this
,
arguments
);
return
_ref3
5
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context3
3
.
stop
();
return
_context3
5
.
stop
();
}
}
}
}
},
_callee3
3
);
},
_callee3
5
);
}));
}));
return
function
previewImage
(
_x3
0
)
{
return
function
previewImage
(
_x3
2
)
{
return
_ref3
2
.
apply
(
this
,
arguments
);
return
_ref3
4
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -789,63 +838,63 @@ export var previewImage = /*#__PURE__*/function () {
...
@@ -789,63 +838,63 @@ export var previewImage = /*#__PURE__*/function () {
*/
*/
export
var
getUpToken
=
/*#__PURE__*/
function
()
{
export
var
getUpToken
=
/*#__PURE__*/
function
()
{
var
_ref3
4
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee36
(
opt
)
{
var
_ref3
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee38
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
6$
(
_context36
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
8$
(
_context38
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context3
6
.
prev
=
_context36
.
next
)
{
switch
(
_context3
8
.
prev
=
_context38
.
next
)
{
case
0
:
case
0
:
return
_context3
6
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context3
8
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref3
5
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee35
(
resolve
)
{
var
_ref3
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee37
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
5$
(
_context35
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
7$
(
_context37
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context3
5
.
prev
=
_context35
.
next
)
{
switch
(
_context3
7
.
prev
=
_context37
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'getUpTokenCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'getUpTokenCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref3
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee34
(
result
)
{
var
_ref3
8
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee36
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
4$
(
_context34
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
6$
(
_context36
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context3
4
.
prev
=
_context34
.
next
)
{
switch
(
_context3
6
.
prev
=
_context36
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context3
4
.
stop
();
return
_context3
6
.
stop
();
}
}
}
}
},
_callee3
4
);
},
_callee3
6
);
}));
}));
return
function
(
_x3
4
)
{
return
function
(
_x3
6
)
{
return
_ref3
6
.
apply
(
this
,
arguments
);
return
_ref3
8
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context3
5
.
next
=
3
;
_context3
7
.
next
=
3
;
return
invoke
.
bind
(
"getUpToken"
)(
opt
);
return
invoke
.
bind
(
"getUpToken"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context3
5
.
stop
();
return
_context3
7
.
stop
();
}
}
}
}
},
_callee3
5
);
},
_callee3
7
);
}));
}));
return
function
(
_x3
3
)
{
return
function
(
_x3
5
)
{
return
_ref3
5
.
apply
(
this
,
arguments
);
return
_ref3
7
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context3
6
.
stop
();
return
_context3
8
.
stop
();
}
}
}
}
},
_callee3
6
);
},
_callee3
8
);
}));
}));
return
function
getUpToken
(
_x3
2
)
{
return
function
getUpToken
(
_x3
4
)
{
return
_ref3
4
.
apply
(
this
,
arguments
);
return
_ref3
6
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -858,63 +907,63 @@ export var getUpToken = /*#__PURE__*/function () {
...
@@ -858,63 +907,63 @@ export var getUpToken = /*#__PURE__*/function () {
*/
*/
export
var
uploadImage
=
/*#__PURE__*/
function
()
{
export
var
uploadImage
=
/*#__PURE__*/
function
()
{
var
_ref3
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee39
(
opt
)
{
var
_ref3
9
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee41
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
39$
(
_context39
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
41$
(
_context41
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
39
.
prev
=
_context39
.
next
)
{
switch
(
_context
41
.
prev
=
_context41
.
next
)
{
case
0
:
case
0
:
return
_context
39
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context
41
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref
38
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee38
(
resolve
)
{
var
_ref
40
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee40
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
38$
(
_context38
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
40$
(
_context40
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
38
.
prev
=
_context38
.
next
)
{
switch
(
_context
40
.
prev
=
_context40
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'uploadImageCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'uploadImageCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref
39
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee37
(
result
)
{
var
_ref
41
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee39
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
7$
(
_context37
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee3
9$
(
_context39
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context3
7
.
prev
=
_context37
.
next
)
{
switch
(
_context3
9
.
prev
=
_context39
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context3
7
.
stop
();
return
_context3
9
.
stop
();
}
}
}
}
},
_callee3
7
);
},
_callee3
9
);
}));
}));
return
function
(
_x3
7
)
{
return
function
(
_x3
9
)
{
return
_ref
39
.
apply
(
this
,
arguments
);
return
_ref
41
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context
38
.
next
=
3
;
_context
40
.
next
=
3
;
return
invoke
.
bind
(
"uploadImage"
)(
opt
);
return
invoke
.
bind
(
"uploadImage"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context
38
.
stop
();
return
_context
40
.
stop
();
}
}
}
}
},
_callee
38
);
},
_callee
40
);
}));
}));
return
function
(
_x3
6
)
{
return
function
(
_x3
8
)
{
return
_ref
38
.
apply
(
this
,
arguments
);
return
_ref
40
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context
39
.
stop
();
return
_context
41
.
stop
();
}
}
}
}
},
_callee
39
);
},
_callee
41
);
}));
}));
return
function
uploadImage
(
_x3
5
)
{
return
function
uploadImage
(
_x3
7
)
{
return
_ref3
7
.
apply
(
this
,
arguments
);
return
_ref3
9
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -930,63 +979,63 @@ export var uploadImage = /*#__PURE__*/function () {
...
@@ -930,63 +979,63 @@ export var uploadImage = /*#__PURE__*/function () {
*/
*/
export
var
uploadImageThrough
=
/*#__PURE__*/
function
()
{
export
var
uploadImageThrough
=
/*#__PURE__*/
function
()
{
var
_ref4
0
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee42
(
opt
)
{
var
_ref4
2
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee44
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
2$
(
_context42
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
4$
(
_context44
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context4
2
.
prev
=
_context42
.
next
)
{
switch
(
_context4
4
.
prev
=
_context44
.
next
)
{
case
0
:
case
0
:
return
_context4
2
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context4
4
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref4
1
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee41
(
resolve
)
{
var
_ref4
3
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee43
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
1$
(
_context41
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
3$
(
_context43
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context4
1
.
prev
=
_context41
.
next
)
{
switch
(
_context4
3
.
prev
=
_context43
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'uploadImageThroughCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'uploadImageThroughCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref4
2
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee40
(
result
)
{
var
_ref4
4
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee42
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
0$
(
_context40
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
2$
(
_context42
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context4
0
.
prev
=
_context40
.
next
)
{
switch
(
_context4
2
.
prev
=
_context42
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context4
0
.
stop
();
return
_context4
2
.
stop
();
}
}
}
}
},
_callee4
0
);
},
_callee4
2
);
}));
}));
return
function
(
_x4
0
)
{
return
function
(
_x4
2
)
{
return
_ref4
2
.
apply
(
this
,
arguments
);
return
_ref4
4
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context4
1
.
next
=
3
;
_context4
3
.
next
=
3
;
return
invoke
.
bind
(
"uploadImageThrough"
)(
opt
);
return
invoke
.
bind
(
"uploadImageThrough"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context4
1
.
stop
();
return
_context4
3
.
stop
();
}
}
}
}
},
_callee4
1
);
},
_callee4
3
);
}));
}));
return
function
(
_x
39
)
{
return
function
(
_x
41
)
{
return
_ref4
1
.
apply
(
this
,
arguments
);
return
_ref4
3
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context4
2
.
stop
();
return
_context4
4
.
stop
();
}
}
}
}
},
_callee4
2
);
},
_callee4
4
);
}));
}));
return
function
uploadImageThrough
(
_x
38
)
{
return
function
uploadImageThrough
(
_x
40
)
{
return
_ref4
0
.
apply
(
this
,
arguments
);
return
_ref4
2
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -1004,63 +1053,63 @@ export var uploadImageThrough = /*#__PURE__*/function () {
...
@@ -1004,63 +1053,63 @@ export var uploadImageThrough = /*#__PURE__*/function () {
*/
*/
export
var
takePhotoAndUpload
=
/*#__PURE__*/
function
()
{
export
var
takePhotoAndUpload
=
/*#__PURE__*/
function
()
{
var
_ref4
3
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee45
(
opt
)
{
var
_ref4
5
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee47
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
5$
(
_context45
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
7$
(
_context47
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context4
5
.
prev
=
_context45
.
next
)
{
switch
(
_context4
7
.
prev
=
_context47
.
next
)
{
case
0
:
case
0
:
return
_context4
5
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context4
7
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref4
4
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee44
(
resolve
)
{
var
_ref4
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee46
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
4$
(
_context44
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
6$
(
_context46
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context4
4
.
prev
=
_context44
.
next
)
{
switch
(
_context4
6
.
prev
=
_context46
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'takePhotoAndUploadCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'takePhotoAndUploadCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref4
5
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee43
(
result
)
{
var
_ref4
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee45
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
3$
(
_context43
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
5$
(
_context45
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context4
3
.
prev
=
_context43
.
next
)
{
switch
(
_context4
5
.
prev
=
_context45
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context4
3
.
stop
();
return
_context4
5
.
stop
();
}
}
}
}
},
_callee4
3
);
},
_callee4
5
);
}));
}));
return
function
(
_x4
3
)
{
return
function
(
_x4
5
)
{
return
_ref4
5
.
apply
(
this
,
arguments
);
return
_ref4
7
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context4
4
.
next
=
3
;
_context4
6
.
next
=
3
;
return
invoke
.
bind
(
"takePhotoAndUpload"
)(
opt
);
return
invoke
.
bind
(
"takePhotoAndUpload"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context4
4
.
stop
();
return
_context4
6
.
stop
();
}
}
}
}
},
_callee4
4
);
},
_callee4
6
);
}));
}));
return
function
(
_x4
2
)
{
return
function
(
_x4
4
)
{
return
_ref4
4
.
apply
(
this
,
arguments
);
return
_ref4
6
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context4
5
.
stop
();
return
_context4
7
.
stop
();
}
}
}
}
},
_callee4
5
);
},
_callee4
7
);
}));
}));
return
function
takePhotoAndUpload
(
_x4
1
)
{
return
function
takePhotoAndUpload
(
_x4
3
)
{
return
_ref4
3
.
apply
(
this
,
arguments
);
return
_ref4
5
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -1076,63 +1125,63 @@ export var takePhotoAndUpload = /*#__PURE__*/function () {
...
@@ -1076,63 +1125,63 @@ export var takePhotoAndUpload = /*#__PURE__*/function () {
*/
*/
export
var
choosePhotoAndUpload
=
/*#__PURE__*/
function
()
{
export
var
choosePhotoAndUpload
=
/*#__PURE__*/
function
()
{
var
_ref4
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee48
(
opt
)
{
var
_ref4
8
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee50
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
48$
(
_context48
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
50$
(
_context50
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
48
.
prev
=
_context48
.
next
)
{
switch
(
_context
50
.
prev
=
_context50
.
next
)
{
case
0
:
case
0
:
return
_context
48
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context
50
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref4
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee47
(
resolve
)
{
var
_ref4
9
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee49
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
7$
(
_context47
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
9$
(
_context49
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context4
7
.
prev
=
_context47
.
next
)
{
switch
(
_context4
9
.
prev
=
_context49
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'choosePhotoAndUploadCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'choosePhotoAndUploadCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref
48
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee46
(
result
)
{
var
_ref
50
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee48
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
6$
(
_context46
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee4
8$
(
_context48
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context4
6
.
prev
=
_context46
.
next
)
{
switch
(
_context4
8
.
prev
=
_context48
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context4
6
.
stop
();
return
_context4
8
.
stop
();
}
}
}
}
},
_callee4
6
);
},
_callee4
8
);
}));
}));
return
function
(
_x4
6
)
{
return
function
(
_x4
8
)
{
return
_ref
48
.
apply
(
this
,
arguments
);
return
_ref
50
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context4
7
.
next
=
3
;
_context4
9
.
next
=
3
;
return
invoke
.
bind
(
"choosePhotoAndUpload"
)(
opt
);
return
invoke
.
bind
(
"choosePhotoAndUpload"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context4
7
.
stop
();
return
_context4
9
.
stop
();
}
}
}
}
},
_callee4
7
);
},
_callee4
9
);
}));
}));
return
function
(
_x4
5
)
{
return
function
(
_x4
7
)
{
return
_ref4
7
.
apply
(
this
,
arguments
);
return
_ref4
9
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context
48
.
stop
();
return
_context
50
.
stop
();
}
}
}
}
},
_callee
48
);
},
_callee
50
);
}));
}));
return
function
choosePhotoAndUpload
(
_x4
4
)
{
return
function
choosePhotoAndUpload
(
_x4
6
)
{
return
_ref4
6
.
apply
(
this
,
arguments
);
return
_ref4
8
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -1156,63 +1205,63 @@ export var choosePhotoAndUpload = /*#__PURE__*/function () {
...
@@ -1156,63 +1205,63 @@ export var choosePhotoAndUpload = /*#__PURE__*/function () {
*/
*/
export
var
getPhotoAndUpload
=
/*#__PURE__*/
function
()
{
export
var
getPhotoAndUpload
=
/*#__PURE__*/
function
()
{
var
_ref
49
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee51
(
opt
)
{
var
_ref
51
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee53
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
1$
(
_context51
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
3$
(
_context53
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context5
1
.
prev
=
_context51
.
next
)
{
switch
(
_context5
3
.
prev
=
_context53
.
next
)
{
case
0
:
case
0
:
return
_context5
1
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context5
3
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref5
0
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee50
(
resolve
)
{
var
_ref5
2
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee52
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
0$
(
_context50
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
2$
(
_context52
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context5
0
.
prev
=
_context50
.
next
)
{
switch
(
_context5
2
.
prev
=
_context52
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'getPhotoAndUploadCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'getPhotoAndUploadCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref5
1
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee49
(
result
)
{
var
_ref5
3
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee51
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
49$
(
_context49
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
51$
(
_context51
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
49
.
prev
=
_context49
.
next
)
{
switch
(
_context
51
.
prev
=
_context51
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context
49
.
stop
();
return
_context
51
.
stop
();
}
}
}
}
},
_callee
49
);
},
_callee
51
);
}));
}));
return
function
(
_x
49
)
{
return
function
(
_x
51
)
{
return
_ref5
1
.
apply
(
this
,
arguments
);
return
_ref5
3
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context5
0
.
next
=
3
;
_context5
2
.
next
=
3
;
return
invoke
.
bind
(
"getPhotoAndUpload"
)(
opt
);
return
invoke
.
bind
(
"getPhotoAndUpload"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context5
0
.
stop
();
return
_context5
2
.
stop
();
}
}
}
}
},
_callee5
0
);
},
_callee5
2
);
}));
}));
return
function
(
_x
48
)
{
return
function
(
_x
50
)
{
return
_ref5
0
.
apply
(
this
,
arguments
);
return
_ref5
2
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context5
1
.
stop
();
return
_context5
3
.
stop
();
}
}
}
}
},
_callee5
1
);
},
_callee5
3
);
}));
}));
return
function
getPhotoAndUpload
(
_x4
7
)
{
return
function
getPhotoAndUpload
(
_x4
9
)
{
return
_ref
49
.
apply
(
this
,
arguments
);
return
_ref
51
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -1225,63 +1274,63 @@ export var getPhotoAndUpload = /*#__PURE__*/function () {
...
@@ -1225,63 +1274,63 @@ export var getPhotoAndUpload = /*#__PURE__*/function () {
*/
*/
export
var
alertDialog
=
/*#__PURE__*/
function
()
{
export
var
alertDialog
=
/*#__PURE__*/
function
()
{
var
_ref5
2
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee54
(
opt
)
{
var
_ref5
4
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee56
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
4$
(
_context54
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
6$
(
_context56
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context5
4
.
prev
=
_context54
.
next
)
{
switch
(
_context5
6
.
prev
=
_context56
.
next
)
{
case
0
:
case
0
:
return
_context5
4
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context5
6
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref5
3
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee53
(
resolve
)
{
var
_ref5
5
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee55
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
3$
(
_context53
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
5$
(
_context55
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context5
3
.
prev
=
_context53
.
next
)
{
switch
(
_context5
5
.
prev
=
_context55
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'alertDialogCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'alertDialogCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref5
4
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee52
(
result
)
{
var
_ref5
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee54
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
2$
(
_context52
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
4$
(
_context54
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context5
2
.
prev
=
_context52
.
next
)
{
switch
(
_context5
4
.
prev
=
_context54
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context5
2
.
stop
();
return
_context5
4
.
stop
();
}
}
}
}
},
_callee5
2
);
},
_callee5
4
);
}));
}));
return
function
(
_x5
2
)
{
return
function
(
_x5
4
)
{
return
_ref5
4
.
apply
(
this
,
arguments
);
return
_ref5
6
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context5
3
.
next
=
3
;
_context5
5
.
next
=
3
;
return
invoke
.
bind
(
"alertDialog"
)(
opt
);
return
invoke
.
bind
(
"alertDialog"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context5
3
.
stop
();
return
_context5
5
.
stop
();
}
}
}
}
},
_callee5
3
);
},
_callee5
5
);
}));
}));
return
function
(
_x5
1
)
{
return
function
(
_x5
3
)
{
return
_ref5
3
.
apply
(
this
,
arguments
);
return
_ref5
5
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context5
4
.
stop
();
return
_context5
6
.
stop
();
}
}
}
}
},
_callee5
4
);
},
_callee5
6
);
}));
}));
return
function
alertDialog
(
_x5
0
)
{
return
function
alertDialog
(
_x5
2
)
{
return
_ref5
2
.
apply
(
this
,
arguments
);
return
_ref5
4
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -1294,63 +1343,63 @@ export var alertDialog = /*#__PURE__*/function () {
...
@@ -1294,63 +1343,63 @@ export var alertDialog = /*#__PURE__*/function () {
*/
*/
export
var
confirmDialog
=
/*#__PURE__*/
function
()
{
export
var
confirmDialog
=
/*#__PURE__*/
function
()
{
var
_ref5
5
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee57
(
opt
)
{
var
_ref5
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee59
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
7$
(
_context57
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
9$
(
_context59
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context5
7
.
prev
=
_context57
.
next
)
{
switch
(
_context5
9
.
prev
=
_context59
.
next
)
{
case
0
:
case
0
:
return
_context5
7
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context5
9
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref5
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee56
(
resolve
)
{
var
_ref5
8
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee58
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
6$
(
_context56
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
8$
(
_context58
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context5
6
.
prev
=
_context56
.
next
)
{
switch
(
_context5
8
.
prev
=
_context58
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'confirmDialogCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'confirmDialogCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref5
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee55
(
result
)
{
var
_ref5
9
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee57
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
5$
(
_context55
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee5
7$
(
_context57
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context5
5
.
prev
=
_context55
.
next
)
{
switch
(
_context5
7
.
prev
=
_context57
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context5
5
.
stop
();
return
_context5
7
.
stop
();
}
}
}
}
},
_callee5
5
);
},
_callee5
7
);
}));
}));
return
function
(
_x5
5
)
{
return
function
(
_x5
7
)
{
return
_ref5
7
.
apply
(
this
,
arguments
);
return
_ref5
9
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context5
6
.
next
=
3
;
_context5
8
.
next
=
3
;
return
invoke
.
bind
(
"confirmDialog"
)(
opt
);
return
invoke
.
bind
(
"confirmDialog"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context5
6
.
stop
();
return
_context5
8
.
stop
();
}
}
}
}
},
_callee5
6
);
},
_callee5
8
);
}));
}));
return
function
(
_x5
4
)
{
return
function
(
_x5
6
)
{
return
_ref5
6
.
apply
(
this
,
arguments
);
return
_ref5
8
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context5
7
.
stop
();
return
_context5
9
.
stop
();
}
}
}
}
},
_callee5
7
);
},
_callee5
9
);
}));
}));
return
function
confirmDialog
(
_x5
3
)
{
return
function
confirmDialog
(
_x5
5
)
{
return
_ref5
5
.
apply
(
this
,
arguments
);
return
_ref5
7
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -1363,63 +1412,63 @@ export var confirmDialog = /*#__PURE__*/function () {
...
@@ -1363,63 +1412,63 @@ export var confirmDialog = /*#__PURE__*/function () {
*/
*/
export
var
inputDialog
=
/*#__PURE__*/
function
()
{
export
var
inputDialog
=
/*#__PURE__*/
function
()
{
var
_ref
58
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee60
(
opt
)
{
var
_ref
60
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee62
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
0$
(
_context60
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
2$
(
_context62
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context6
0
.
prev
=
_context60
.
next
)
{
switch
(
_context6
2
.
prev
=
_context62
.
next
)
{
case
0
:
case
0
:
return
_context6
0
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context6
2
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref
59
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee59
(
resolve
)
{
var
_ref
61
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee61
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
59$
(
_context59
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
61$
(
_context61
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
59
.
prev
=
_context59
.
next
)
{
switch
(
_context
61
.
prev
=
_context61
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'inputDialogCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'inputDialogCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref6
0
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee58
(
result
)
{
var
_ref6
2
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee60
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
58$
(
_context58
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
60$
(
_context60
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
58
.
prev
=
_context58
.
next
)
{
switch
(
_context
60
.
prev
=
_context60
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context
58
.
stop
();
return
_context
60
.
stop
();
}
}
}
}
},
_callee
58
);
},
_callee
60
);
}));
}));
return
function
(
_x
58
)
{
return
function
(
_x
60
)
{
return
_ref6
0
.
apply
(
this
,
arguments
);
return
_ref6
2
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context
59
.
next
=
3
;
_context
61
.
next
=
3
;
return
invoke
.
bind
(
"inputDialog"
)(
opt
);
return
invoke
.
bind
(
"inputDialog"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context
59
.
stop
();
return
_context
61
.
stop
();
}
}
}
}
},
_callee
59
);
},
_callee
61
);
}));
}));
return
function
(
_x5
7
)
{
return
function
(
_x5
9
)
{
return
_ref
59
.
apply
(
this
,
arguments
);
return
_ref
61
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context6
0
.
stop
();
return
_context6
2
.
stop
();
}
}
}
}
},
_callee6
0
);
},
_callee6
2
);
}));
}));
return
function
inputDialog
(
_x5
6
)
{
return
function
inputDialog
(
_x5
8
)
{
return
_ref
58
.
apply
(
this
,
arguments
);
return
_ref
60
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -1434,63 +1483,63 @@ export var inputDialog = /*#__PURE__*/function () {
...
@@ -1434,63 +1483,63 @@ export var inputDialog = /*#__PURE__*/function () {
*/
*/
export
var
liveDetect
=
/*#__PURE__*/
function
()
{
export
var
liveDetect
=
/*#__PURE__*/
function
()
{
var
_ref6
1
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee63
(
opt
)
{
var
_ref6
3
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee65
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
3$
(
_context63
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
5$
(
_context65
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context6
3
.
prev
=
_context63
.
next
)
{
switch
(
_context6
5
.
prev
=
_context65
.
next
)
{
case
0
:
case
0
:
return
_context6
3
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context6
5
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref6
2
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee62
(
resolve
)
{
var
_ref6
4
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee64
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
2$
(
_context62
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
4$
(
_context64
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context6
2
.
prev
=
_context62
.
next
)
{
switch
(
_context6
4
.
prev
=
_context64
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'liveDetectCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'liveDetectCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref6
3
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee61
(
result
)
{
var
_ref6
5
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee63
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
1$
(
_context61
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
3$
(
_context63
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context6
1
.
prev
=
_context61
.
next
)
{
switch
(
_context6
3
.
prev
=
_context63
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context6
1
.
stop
();
return
_context6
3
.
stop
();
}
}
}
}
},
_callee6
1
);
},
_callee6
3
);
}));
}));
return
function
(
_x6
1
)
{
return
function
(
_x6
3
)
{
return
_ref6
3
.
apply
(
this
,
arguments
);
return
_ref6
5
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context6
2
.
next
=
3
;
_context6
4
.
next
=
3
;
return
invoke
.
bind
(
"liveDetect"
)(
opt
);
return
invoke
.
bind
(
"liveDetect"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context6
2
.
stop
();
return
_context6
4
.
stop
();
}
}
}
}
},
_callee6
2
);
},
_callee6
4
);
}));
}));
return
function
(
_x6
0
)
{
return
function
(
_x6
2
)
{
return
_ref6
2
.
apply
(
this
,
arguments
);
return
_ref6
4
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context6
3
.
stop
();
return
_context6
5
.
stop
();
}
}
}
}
},
_callee6
3
);
},
_callee6
5
);
}));
}));
return
function
liveDetect
(
_x
59
)
{
return
function
liveDetect
(
_x
61
)
{
return
_ref6
1
.
apply
(
this
,
arguments
);
return
_ref6
3
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -1503,63 +1552,63 @@ export var liveDetect = /*#__PURE__*/function () {
...
@@ -1503,63 +1552,63 @@ export var liveDetect = /*#__PURE__*/function () {
*/
*/
export
var
takeIdCard
=
/*#__PURE__*/
function
()
{
export
var
takeIdCard
=
/*#__PURE__*/
function
()
{
var
_ref6
4
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee66
(
opt
)
{
var
_ref6
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee68
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
6$
(
_context66
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
8$
(
_context68
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context6
6
.
prev
=
_context66
.
next
)
{
switch
(
_context6
8
.
prev
=
_context68
.
next
)
{
case
0
:
case
0
:
return
_context6
6
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context6
8
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref6
5
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee65
(
resolve
)
{
var
_ref6
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee67
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
5$
(
_context65
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
7$
(
_context67
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context6
5
.
prev
=
_context65
.
next
)
{
switch
(
_context6
7
.
prev
=
_context67
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'takeIdCardCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'takeIdCardCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref6
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee64
(
result
)
{
var
_ref6
8
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee66
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
4$
(
_context64
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
6$
(
_context66
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context6
4
.
prev
=
_context64
.
next
)
{
switch
(
_context6
6
.
prev
=
_context66
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context6
4
.
stop
();
return
_context6
6
.
stop
();
}
}
}
}
},
_callee6
4
);
},
_callee6
6
);
}));
}));
return
function
(
_x6
4
)
{
return
function
(
_x6
6
)
{
return
_ref6
6
.
apply
(
this
,
arguments
);
return
_ref6
8
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context6
5
.
next
=
3
;
_context6
7
.
next
=
3
;
return
invoke
.
bind
(
"takeIdCard"
)(
opt
);
return
invoke
.
bind
(
"takeIdCard"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context6
5
.
stop
();
return
_context6
7
.
stop
();
}
}
}
}
},
_callee6
5
);
},
_callee6
7
);
}));
}));
return
function
(
_x6
3
)
{
return
function
(
_x6
5
)
{
return
_ref6
5
.
apply
(
this
,
arguments
);
return
_ref6
7
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context6
6
.
stop
();
return
_context6
8
.
stop
();
}
}
}
}
},
_callee6
6
);
},
_callee6
8
);
}));
}));
return
function
takeIdCard
(
_x6
2
)
{
return
function
takeIdCard
(
_x6
4
)
{
return
_ref6
4
.
apply
(
this
,
arguments
);
return
_ref6
6
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -1571,63 +1620,63 @@ export var takeIdCard = /*#__PURE__*/function () {
...
@@ -1571,63 +1620,63 @@ export var takeIdCard = /*#__PURE__*/function () {
*/
*/
export
var
scanCarNo
=
/*#__PURE__*/
function
()
{
export
var
scanCarNo
=
/*#__PURE__*/
function
()
{
var
_ref6
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee69
(
opt
)
{
var
_ref6
9
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee71
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
69$
(
_context69
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
71$
(
_context71
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
69
.
prev
=
_context69
.
next
)
{
switch
(
_context
71
.
prev
=
_context71
.
next
)
{
case
0
:
case
0
:
return
_context
69
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context
71
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref
68
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee68
(
resolve
)
{
var
_ref
70
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee70
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
68$
(
_context68
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
70$
(
_context70
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
68
.
prev
=
_context68
.
next
)
{
switch
(
_context
70
.
prev
=
_context70
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'scanCarNoCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'scanCarNoCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref
69
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee67
(
result
)
{
var
_ref
71
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee69
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
7$
(
_context67
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee6
9$
(
_context69
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context6
7
.
prev
=
_context67
.
next
)
{
switch
(
_context6
9
.
prev
=
_context69
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context6
7
.
stop
();
return
_context6
9
.
stop
();
}
}
}
}
},
_callee6
7
);
},
_callee6
9
);
}));
}));
return
function
(
_x6
7
)
{
return
function
(
_x6
9
)
{
return
_ref
69
.
apply
(
this
,
arguments
);
return
_ref
71
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context
68
.
next
=
3
;
_context
70
.
next
=
3
;
return
invoke
.
bind
(
"scanCarNo"
)(
opt
);
return
invoke
.
bind
(
"scanCarNo"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context
68
.
stop
();
return
_context
70
.
stop
();
}
}
}
}
},
_callee
68
);
},
_callee
70
);
}));
}));
return
function
(
_x6
6
)
{
return
function
(
_x6
8
)
{
return
_ref
68
.
apply
(
this
,
arguments
);
return
_ref
70
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context
69
.
stop
();
return
_context
71
.
stop
();
}
}
}
}
},
_callee
69
);
},
_callee
71
);
}));
}));
return
function
scanCarNo
(
_x6
5
)
{
return
function
scanCarNo
(
_x6
7
)
{
return
_ref6
7
.
apply
(
this
,
arguments
);
return
_ref6
9
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -1639,63 +1688,63 @@ export var scanCarNo = /*#__PURE__*/function () {
...
@@ -1639,63 +1688,63 @@ export var scanCarNo = /*#__PURE__*/function () {
*/
*/
export
var
scanBusinessLicense
=
/*#__PURE__*/
function
()
{
export
var
scanBusinessLicense
=
/*#__PURE__*/
function
()
{
var
_ref7
0
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee72
(
opt
)
{
var
_ref7
2
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee74
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
2$
(
_context72
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
4$
(
_context74
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context7
2
.
prev
=
_context72
.
next
)
{
switch
(
_context7
4
.
prev
=
_context74
.
next
)
{
case
0
:
case
0
:
return
_context7
2
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context7
4
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref7
1
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee71
(
resolve
)
{
var
_ref7
3
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee73
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
1$
(
_context71
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
3$
(
_context73
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context7
1
.
prev
=
_context71
.
next
)
{
switch
(
_context7
3
.
prev
=
_context73
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'scanBusinessLicenseCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'scanBusinessLicenseCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref7
2
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee70
(
result
)
{
var
_ref7
4
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee72
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
0$
(
_context70
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
2$
(
_context72
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context7
0
.
prev
=
_context70
.
next
)
{
switch
(
_context7
2
.
prev
=
_context72
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context7
0
.
stop
();
return
_context7
2
.
stop
();
}
}
}
}
},
_callee7
0
);
},
_callee7
2
);
}));
}));
return
function
(
_x7
0
)
{
return
function
(
_x7
2
)
{
return
_ref7
2
.
apply
(
this
,
arguments
);
return
_ref7
4
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context7
1
.
next
=
3
;
_context7
3
.
next
=
3
;
return
invoke
.
bind
(
"scanBusinessLicense"
)(
opt
);
return
invoke
.
bind
(
"scanBusinessLicense"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context7
1
.
stop
();
return
_context7
3
.
stop
();
}
}
}
}
},
_callee7
1
);
},
_callee7
3
);
}));
}));
return
function
(
_x
69
)
{
return
function
(
_x
71
)
{
return
_ref7
1
.
apply
(
this
,
arguments
);
return
_ref7
3
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context7
2
.
stop
();
return
_context7
4
.
stop
();
}
}
}
}
},
_callee7
2
);
},
_callee7
4
);
}));
}));
return
function
scanBusinessLicense
(
_x
68
)
{
return
function
scanBusinessLicense
(
_x
70
)
{
return
_ref7
0
.
apply
(
this
,
arguments
);
return
_ref7
2
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -1706,63 +1755,63 @@ export var scanBusinessLicense = /*#__PURE__*/function () {
...
@@ -1706,63 +1755,63 @@ export var scanBusinessLicense = /*#__PURE__*/function () {
*/
*/
export
var
discernIdCardFront
=
/*#__PURE__*/
function
()
{
export
var
discernIdCardFront
=
/*#__PURE__*/
function
()
{
var
_ref7
3
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee75
(
opt
)
{
var
_ref7
5
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee77
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
5$
(
_context75
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
7$
(
_context77
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context7
5
.
prev
=
_context75
.
next
)
{
switch
(
_context7
7
.
prev
=
_context77
.
next
)
{
case
0
:
case
0
:
return
_context7
5
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context7
7
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref7
4
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee74
(
resolve
)
{
var
_ref7
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee76
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
4$
(
_context74
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
6$
(
_context76
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context7
4
.
prev
=
_context74
.
next
)
{
switch
(
_context7
6
.
prev
=
_context76
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'discernIdCardFrontCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'discernIdCardFrontCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref7
5
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee73
(
result
)
{
var
_ref7
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee75
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
3$
(
_context73
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
5$
(
_context75
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context7
3
.
prev
=
_context73
.
next
)
{
switch
(
_context7
5
.
prev
=
_context75
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context7
3
.
stop
();
return
_context7
5
.
stop
();
}
}
}
}
},
_callee7
3
);
},
_callee7
5
);
}));
}));
return
function
(
_x7
3
)
{
return
function
(
_x7
5
)
{
return
_ref7
5
.
apply
(
this
,
arguments
);
return
_ref7
7
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context7
4
.
next
=
3
;
_context7
6
.
next
=
3
;
return
invoke
.
bind
(
"discernIdCardFront"
)(
opt
);
return
invoke
.
bind
(
"discernIdCardFront"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context7
4
.
stop
();
return
_context7
6
.
stop
();
}
}
}
}
},
_callee7
4
);
},
_callee7
6
);
}));
}));
return
function
(
_x7
2
)
{
return
function
(
_x7
4
)
{
return
_ref7
4
.
apply
(
this
,
arguments
);
return
_ref7
6
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context7
5
.
stop
();
return
_context7
7
.
stop
();
}
}
}
}
},
_callee7
5
);
},
_callee7
7
);
}));
}));
return
function
discernIdCardFront
(
_x7
1
)
{
return
function
discernIdCardFront
(
_x7
3
)
{
return
_ref7
3
.
apply
(
this
,
arguments
);
return
_ref7
5
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -1773,63 +1822,63 @@ export var discernIdCardFront = /*#__PURE__*/function () {
...
@@ -1773,63 +1822,63 @@ export var discernIdCardFront = /*#__PURE__*/function () {
*/
*/
export
var
discernIdCardBack
=
/*#__PURE__*/
function
()
{
export
var
discernIdCardBack
=
/*#__PURE__*/
function
()
{
var
_ref7
6
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee78
(
opt
)
{
var
_ref7
8
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee80
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
78$
(
_context78
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
80$
(
_context80
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
78
.
prev
=
_context78
.
next
)
{
switch
(
_context
80
.
prev
=
_context80
.
next
)
{
case
0
:
case
0
:
return
_context
78
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context
80
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref7
7
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee77
(
resolve
)
{
var
_ref7
9
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee79
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
7$
(
_context77
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
9$
(
_context79
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context7
7
.
prev
=
_context77
.
next
)
{
switch
(
_context7
9
.
prev
=
_context79
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'discernIdCardBackCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'discernIdCardBackCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref
78
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee76
(
result
)
{
var
_ref
80
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee78
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
6$
(
_context76
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee7
8$
(
_context78
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context7
6
.
prev
=
_context76
.
next
)
{
switch
(
_context7
8
.
prev
=
_context78
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context7
6
.
stop
();
return
_context7
8
.
stop
();
}
}
}
}
},
_callee7
6
);
},
_callee7
8
);
}));
}));
return
function
(
_x7
6
)
{
return
function
(
_x7
8
)
{
return
_ref
78
.
apply
(
this
,
arguments
);
return
_ref
80
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context7
7
.
next
=
3
;
_context7
9
.
next
=
3
;
return
invoke
.
bind
(
"discernIdCardBack"
)(
opt
);
return
invoke
.
bind
(
"discernIdCardBack"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context7
7
.
stop
();
return
_context7
9
.
stop
();
}
}
}
}
},
_callee7
7
);
},
_callee7
9
);
}));
}));
return
function
(
_x7
5
)
{
return
function
(
_x7
7
)
{
return
_ref7
7
.
apply
(
this
,
arguments
);
return
_ref7
9
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context
78
.
stop
();
return
_context
80
.
stop
();
}
}
}
}
},
_callee
78
);
},
_callee
80
);
}));
}));
return
function
discernIdCardBack
(
_x7
4
)
{
return
function
discernIdCardBack
(
_x7
6
)
{
return
_ref7
6
.
apply
(
this
,
arguments
);
return
_ref7
8
.
apply
(
this
,
arguments
);
};
};
}();
}();
/*
/*
...
@@ -1840,63 +1889,63 @@ export var discernIdCardBack = /*#__PURE__*/function () {
...
@@ -1840,63 +1889,63 @@ export var discernIdCardBack = /*#__PURE__*/function () {
*/
*/
export
var
takeIdCardAndDiscern
=
/*#__PURE__*/
function
()
{
export
var
takeIdCardAndDiscern
=
/*#__PURE__*/
function
()
{
var
_ref
79
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee81
(
opt
)
{
var
_ref
81
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee83
(
opt
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee8
1$
(
_context81
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee8
3$
(
_context83
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context8
1
.
prev
=
_context81
.
next
)
{
switch
(
_context8
3
.
prev
=
_context83
.
next
)
{
case
0
:
case
0
:
return
_context8
1
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
return
_context8
3
.
abrupt
(
"return"
,
new
Promise
(
/*#__PURE__*/
function
()
{
var
_ref8
0
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee80
(
resolve
)
{
var
_ref8
2
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee82
(
resolve
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee8
0$
(
_context80
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee8
2$
(
_context82
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context8
0
.
prev
=
_context80
.
next
)
{
switch
(
_context8
2
.
prev
=
_context82
.
next
)
{
case
0
:
case
0
:
invoke
.
define
(
'takeIdCardAndDiscernCompleted'
,
/*#__PURE__*/
function
()
{
invoke
.
define
(
'takeIdCardAndDiscernCompleted'
,
/*#__PURE__*/
function
()
{
var
_ref8
1
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee79
(
result
)
{
var
_ref8
3
=
_asyncToGenerator
(
/*#__PURE__*/
_regeneratorRuntime
.
mark
(
function
_callee81
(
result
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
79$
(
_context79
)
{
return
_regeneratorRuntime
.
wrap
(
function
_callee
81$
(
_context81
)
{
while
(
1
)
{
while
(
1
)
{
switch
(
_context
79
.
prev
=
_context79
.
next
)
{
switch
(
_context
81
.
prev
=
_context81
.
next
)
{
case
0
:
case
0
:
resolve
(
result
);
resolve
(
result
);
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context
79
.
stop
();
return
_context
81
.
stop
();
}
}
}
}
},
_callee
79
);
},
_callee
81
);
}));
}));
return
function
(
_x
79
)
{
return
function
(
_x
81
)
{
return
_ref8
1
.
apply
(
this
,
arguments
);
return
_ref8
3
.
apply
(
this
,
arguments
);
};
};
}());
}());
_context8
0
.
next
=
3
;
_context8
2
.
next
=
3
;
return
invoke
.
bind
(
"takeIdCardAndDiscern"
)(
opt
);
return
invoke
.
bind
(
"takeIdCardAndDiscern"
)(
opt
);
case
3
:
case
3
:
case
"end"
:
case
"end"
:
return
_context8
0
.
stop
();
return
_context8
2
.
stop
();
}
}
}
}
},
_callee8
0
);
},
_callee8
2
);
}));
}));
return
function
(
_x
78
)
{
return
function
(
_x
80
)
{
return
_ref8
0
.
apply
(
this
,
arguments
);
return
_ref8
2
.
apply
(
this
,
arguments
);
};
};
}()));
}()));
case
1
:
case
1
:
case
"end"
:
case
"end"
:
return
_context8
1
.
stop
();
return
_context8
3
.
stop
();
}
}
}
}
},
_callee8
1
);
},
_callee8
3
);
}));
}));
return
function
takeIdCardAndDiscern
(
_x7
7
)
{
return
function
takeIdCardAndDiscern
(
_x7
9
)
{
return
_ref
79
.
apply
(
this
,
arguments
);
return
_ref
81
.
apply
(
this
,
arguments
);
};
};
}();
}();
export
var
EVENTS_TYPE
=
{
export
var
EVENTS_TYPE
=
{
...
@@ -1919,6 +1968,7 @@ export default {
...
@@ -1919,6 +1968,7 @@ export default {
recordVideo
:
recordVideo
,
recordVideo
:
recordVideo
,
barCodeScan
:
barCodeScan
,
barCodeScan
:
barCodeScan
,
openWindow
:
openWindow
,
openWindow
:
openWindow
,
openScreen
:
openScreen
,
closeWindow
:
closeWindow
,
closeWindow
:
closeWindow
,
getPosition
:
getPosition
,
getPosition
:
getPosition
,
launchCQDigitalSign
:
launchCQDigitalSign
,
launchCQDigitalSign
:
launchCQDigitalSign
,
...
...
pages/index.js
View file @
f915efc8
...
@@ -56,6 +56,10 @@ export default class extends React.Component {
...
@@ -56,6 +56,10 @@ export default class extends React.Component {
<
Button
style
=
{{
marginBottom
:
20
}}
>
图片上传相关
<
/Button
>
<
Button
style
=
{{
marginBottom
:
20
}}
>
图片上传相关
<
/Button
>
<
/Link
>
<
/Link
>
<
Link
to
=
{
`/openScreen`
}
>
<
Button
style
=
{{
marginBottom
:
20
}}
>
打开主程序页面
<
/Button
>
<
/Link
>
<
Link
to
=
{
`/openWindow`
}
>
<
Link
to
=
{
`/openWindow`
}
>
<
Button
style
=
{{
marginBottom
:
20
}}
>
打开
WebView
<
/Button
>
<
Button
style
=
{{
marginBottom
:
20
}}
>
打开
WebView
<
/Button
>
<
/Link
>
<
/Link
>
...
...
pages/openScreen.js
0 → 100644
View file @
f915efc8
import
React
from
'react'
import
moment
from
'moment'
import
{
Button
}
from
"antd-mobile"
;
import
{
_Bridge
}
from
"../components"
export
default
class
extends
React
.
Component
{
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
}
}
doFunc
=
async
(
options
)
=>
{
const
result
=
await
_Bridge
.
openScreen
(
options
);
};
render
()
{
return
(
<
div
>
<
h1
style
=
{{
textAlign
:
"center"
}}
>
打开窗口
<
/h1
>
<
div
style
=
{{
padding
:
20
}}
>
<
Button
style
=
{{
marginBottom
:
20
}}
onClick
=
{
async
()
=>
{
await
this
.
doFunc
({
path
:
`/profile/info`
,
});
}}
>
个人信息
<
/Button
>
<
Button
style
=
{{
marginBottom
:
20
}}
onClick
=
{
async
()
=>
{
await
this
.
doFunc
({
path
:
`/apps/person/manage`
});
}}
>
人员管理(实名制)
<
/Button
>
<
/div
>
<
/div
>
);
}
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment