fstarter 2.10.56 → 2.10.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/.babelrc +6 -6
  2. package/.editorconfig +9 -9
  3. package/index.html +22 -22
  4. package/index.js +222 -222
  5. package/package.json +104 -104
  6. package/src/App.vue +38 -38
  7. package/src/i18n/en-US.js +35 -35
  8. package/src/i18n/zh-CN.js +35 -35
  9. package/src/main.js +95 -95
  10. package/src/plugins/assets/ak.js +948 -948
  11. package/src/plugins/assets/callNative.js +490 -490
  12. package/src/plugins/assets/compressImg.js +75 -75
  13. package/src/plugins/assets/config.js +106 -106
  14. package/src/plugins/assets/fileServer.js +469 -469
  15. package/src/plugins/assets/http.js +344 -344
  16. package/src/plugins/assets/ua.js +27 -27
  17. package/src/plugins/components/BSButton.vue +61 -61
  18. package/src/plugins/components/BSCascader.vue +465 -465
  19. package/src/plugins/components/BSCell.vue +48 -48
  20. package/src/plugins/components/BSDatePicker.vue +167 -167
  21. package/src/plugins/components/BSImage.vue +42 -42
  22. package/src/plugins/components/BSInput.vue +140 -140
  23. package/src/plugins/components/BSList.vue +81 -81
  24. package/src/plugins/components/BSPicCode.vue +96 -96
  25. package/src/plugins/components/BSPopup.vue +43 -43
  26. package/src/plugins/components/BSRadio.vue +97 -97
  27. package/src/plugins/components/BSSearch.vue +109 -109
  28. package/src/plugins/components/BSSelect.vue +144 -144
  29. package/src/plugins/components/BSSign.vue +454 -454
  30. package/src/plugins/components/BSStepper.vue +115 -115
  31. package/src/plugins/components/BSUpload.vue +92 -92
  32. package/src/plugins/components/BSUpload2.vue +397 -397
  33. package/src/plugins/components/BSVerCode.vue +128 -128
  34. package/src/plugins/components/BSViewer.vue +92 -92
  35. package/src/plugins/components/base.js +496 -496
  36. package/src/plugins/components/base2.js +489 -489
  37. package/src/plugins/lib/weixin.js +20 -20
  38. package/src/plugins/platform/index.js +7 -7
  39. package/src/plugins/platform/isp_phone.js +310 -310
  40. package/src/plugins/plugins/README.md +560 -0
  41. package/src/plugins/plugins/browserUtils.js +925 -0
  42. package/src/plugins/plugins/components/imageCropper.vue +299 -0
  43. package/src/plugins/plugins/components/images/bz.png +0 -0
  44. package/src/plugins/plugins/components/images/correct.png +0 -0
  45. package/src/plugins/plugins/components/images/error.png +0 -0
  46. package/src/plugins/plugins/components/images/mohu.png +0 -0
  47. package/src/plugins/plugins/components/images/qs.png +0 -0
  48. package/src/plugins/plugins/components/images/zd.png +0 -0
  49. package/src/plugins/plugins/components/pdfPreview.vue +688 -0
  50. package/src/plugins/plugins/demo.vue +832 -0
  51. package/src/plugins/plugins/native-js-sdk.js +360 -0
  52. package/src/plugins/plugins/nativeUtils.js +1444 -0
  53. package/src/plugins/route/index.js +140 -140
  54. package/src/plugins/selector/index.js +342 -342
  55. package/src/plugins/service/index.js +81 -81
  56. package/src/plugins/services/callCamera.js +53 -53
  57. package/src/plugins/services/exit.js +37 -36
  58. package/src/plugins/services/face.js +69 -69
  59. package/src/plugins/services/faceH5.js +54 -54
  60. package/src/plugins/services/faceInApp.js +31 -31
  61. package/src/plugins/services/faceTx.js +61 -61
  62. package/src/plugins/services/getFaceResult.js +104 -104
  63. package/src/plugins/services/getH5FaceResult.js +62 -62
  64. package/src/plugins/services/getMenus.js +40 -40
  65. package/src/plugins/services/getSystemData.js +144 -128
  66. package/src/plugins/services/getToken.js +93 -79
  67. package/src/plugins/services/getTxFaceResult.js +83 -83
  68. package/src/plugins/services/getUserInfo.js +47 -47
  69. package/src/plugins/services/goSetPage.js +40 -40
  70. package/src/plugins/services/hideFhoneTitle.js +36 -36
  71. package/src/plugins/services/index.js +45 -45
  72. package/src/plugins/services/init.js +35 -35
  73. package/src/plugins/services/jumpView.js +42 -40
  74. package/src/plugins/services/logout.js +44 -43
  75. package/src/plugins/services/share.js +113 -113
  76. package/src/plugins/services/statusBarHeight.js +39 -39
  77. package/src/plugins/session/index.js +32 -32
  78. package/src/services/getAuthInfo.js +22 -22
  79. package/src/services/index.js +9 -9
  80. package/src/services/sendVerCode.js +23 -23
  81. package/src/views/auth.vue +367 -367
  82. package/src/views/auth2.vue +90 -90
  83. package/src/views/auth3.vue +157 -157
  84. package/src/views/auth4.vue +8979 -8979
  85. package/src/views/auth5.vue +50 -50
  86. package/src/views/authh5.vue +369 -369
  87. package/src/views/components/BankSelect.vue +55 -55
  88. package/src/views/foot.vue +140 -140
  89. package/src/views/page.vue +222 -222
  90. package/src/views/shellFunc.vue +41 -41
  91. package/themes/basic.css +1 -1
  92. package/webpack.config.js +144 -144
  93. package/fstarter.iml +0 -9
package/.babelrc CHANGED
@@ -1,6 +1,6 @@
1
- {
2
- "presets": [
3
- ["env", { "modules": false }],
4
- "stage-3"
5
- ]
6
- }
1
+ {
2
+ "presets": [
3
+ ["env", { "modules": false }],
4
+ "stage-3"
5
+ ]
6
+ }
package/.editorconfig CHANGED
@@ -1,9 +1,9 @@
1
- root = true
2
-
3
- [*]
4
- charset = utf-8
5
- indent_style = space
6
- indent_size = 2
7
- end_of_line = lf
8
- insert_final_newline = true
9
- trim_trailing_whitespace = true
1
+ root = true
2
+
3
+ [*]
4
+ charset = utf-8
5
+ indent_style = space
6
+ indent_size = 2
7
+ end_of_line = lf
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
package/index.html CHANGED
@@ -1,22 +1,22 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
6
- <meta name="apple-mobile-web-app-capable" content="yes">
7
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
8
- <meta name="format-detection" content="telephone=no" />
9
- <meta http-equiv="Access-Control-Allow-Origin" content="*">
10
- <meta http-equiv="cache-control" content="max-age=0" />
11
- <meta http-equiv="cache-control" content="no-cache" />
12
- <meta http-equiv="expires" content="0" />
13
- <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
14
- <meta http-equiv="pragma" content="no-cache" />
15
- <title>新易捷</title>
16
- <script src="https://www.ihasl.com/pages/common/lib.js"></script>
17
- </head>
18
- <body>
19
- <div id="app"></div>
20
- <script src="/dist/build.js"></script>
21
- </body>
22
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
6
+ <meta name="apple-mobile-web-app-capable" content="yes">
7
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
8
+ <meta name="format-detection" content="telephone=no" />
9
+ <meta http-equiv="Access-Control-Allow-Origin" content="*">
10
+ <meta http-equiv="cache-control" content="max-age=0" />
11
+ <meta http-equiv="cache-control" content="no-cache" />
12
+ <meta http-equiv="expires" content="0" />
13
+ <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
14
+ <meta http-equiv="pragma" content="no-cache" />
15
+ <title>新易捷</title>
16
+ <script src="https://www.ihasl.com/pages/common/lib.js"></script>
17
+ </head>
18
+ <body>
19
+ <div id="app"></div>
20
+ <script src="/dist/build.js"></script>
21
+ </body>
22
+ </html>
package/index.js CHANGED
@@ -1,222 +1,222 @@
1
- import ak_ from './src/plugins/assets/ak.js'
2
- import http_ from './src/plugins/assets/http.js'
3
- import service from './src/plugins/service';
4
- import services from './src/plugins/services';
5
- import session_ from './src/plugins/session';
6
- import base_ from './src/plugins/components/base.js'
7
- import base2_ from './src/plugins/components/base2.js'
8
- import platform from './src/plugins/platform';
9
- import VueBus from 'vue-bus'
10
- import Vant from 'vant'
11
- import Router from 'vue-router'
12
- import VueI18n from 'vue-i18n'
13
- import {ua} from './src/plugins/assets/ua.js';
14
- import config_ from './src/plugins/assets/config.js'
15
- import route from './src/plugins/route';
16
- import zh_CN from './src/i18n/zh-CN'
17
- import en_US from './src/i18n/en-US'
18
-
19
- import BSInput from './src/plugins/components/BSInput.vue'
20
- import BSSelect from './src/plugins/components/BSSelect.vue'
21
- import BSVerCode from './src/plugins/components/BSVerCode.vue'
22
- import BSPicCode from './src/plugins/components/BSPicCode.vue'
23
- import BSButton from './src/plugins/components/BSButton.vue'
24
- import BSRadio from './src/plugins/components/BSRadio.vue'
25
- import BSDatePicker from './src/plugins/components/BSDatePicker.vue'
26
- import BSImage from "./src/plugins/components/BSImage";
27
- import BSPopup from "./src/plugins/components/BSPopup";
28
- import BSList from "./src/plugins/components/BSList";
29
- import BSCell from "./src/plugins/components/BSCell";
30
- import BSSearch from "./src/plugins/components/BSSearch";
31
- import BSUpload from "./src/plugins/components/BSUpload";
32
-
33
- import BSUpload2 from "./src/plugins/components/BSUpload2";
34
- import BSSign from "./src/plugins/components/BSSign";
35
-
36
- import BSCascader from "./src/plugins/components/BSCascader";
37
- import BSPreviewPdf from "./src/plugins/components/BSViewer";
38
- import BSStepper from "./src/plugins/components/BSStepper";
39
-
40
- import App_ from "./src/App"
41
- import * as callPhone_ from './src/plugins/assets/callNative.js'
42
-
43
- let bstarter = {}
44
- var App
45
- var routes
46
- var locales = {}
47
-
48
-
49
- bstarter.install2 = function(Vue, options) {
50
-
51
- ak_.msg.vue = Vue
52
- Vue.observable(session_)
53
- Vue.observable(route)
54
-
55
- Vue.use(VueBus)
56
- service.bus = Vue.prototype.$bus
57
-
58
- Vue.use(Router)
59
- Vue.use(Vant)
60
- Vue.use(VueI18n)
61
-
62
- Vue.prototype.$ak = ak_;
63
- Vue.prototype.$http = http_;
64
- Vue.prototype.$service = service;
65
- Vue.prototype.$ua = ua;
66
-
67
-
68
- if(ua.isIspPhone){
69
- config_.sys.authType = 'sso'
70
- }else if(ua.microMsg){
71
- config_.sys.authType = 'wx'
72
- }
73
-
74
- Vue.component(BSInput.name, BSInput)
75
- Vue.component(BSSelect.name, BSSelect)
76
- Vue.component(BSVerCode.name, BSVerCode)
77
- Vue.component(BSPicCode.name, BSPicCode)
78
- Vue.component(BSButton.name, BSButton)
79
- Vue.component(BSRadio.name, BSRadio)
80
- Vue.component(BSDatePicker.name, BSDatePicker)
81
- Vue.component(BSImage.name, BSImage)
82
- Vue.component(BSPopup.name, BSPopup)
83
- Vue.component(BSList.name, BSList)
84
- Vue.component(BSCell.name, BSCell)
85
- Vue.component(BSSearch.name, BSSearch)
86
- Vue.component(BSUpload.name, BSUpload)
87
- Vue.component(BSUpload2.name, BSUpload2)
88
- Vue.component(BSSign.name, BSSign)
89
- Vue.component(BSCascader.name, BSCascader)
90
- Vue.component(BSPreviewPdf.name, BSPreviewPdf)
91
- Vue.component(BSPreviewPdf.name, BSPreviewPdf)
92
- Vue.component(BSStepper.name, BSStepper)
93
-
94
-
95
- const router = new Router({
96
- routes: routes
97
- })
98
-
99
- router.beforeEach((to, from, next) => {
100
- to.meta.key = (((1+Math.random())*0x10000)|0).toString(16).substring(1)
101
- next()
102
- })
103
-
104
- locales['zh-CN'] = zh_CN
105
- locales['en-US'] = en_US
106
-
107
- const i18n = new VueI18n({
108
- locale: 'zh-CN',
109
- messages: {
110
- 'zh-CN': {'lang':locales['zh-CN']},
111
- 'en-US': {'lang':locales['en-US']},
112
- }
113
- })
114
-
115
-
116
-
117
-
118
- App = App ? App : App_
119
- new Vue({
120
- el: '#app',
121
- i18n,
122
- router,
123
- components: { App },
124
- template: '<App/>'
125
- })
126
-
127
-
128
-
129
- }
130
-
131
- bstarter.install = function(Vue, options) {
132
-
133
- let configId = config_.sys.id
134
- if(!ak_.utils.isEmpty(config_.sys.configId)){
135
- configId = config_.sys.configId
136
- }
137
-
138
- let configUrl = config_.http.gwURL + '/configfiles/json/' + configId + '/default/application'
139
-
140
- http_.get(configUrl,{hash:new Date().getTime()}).then((data)=>{
141
-
142
- let other = config_.other
143
- for(let key in data){
144
-
145
- let key2 = key.replace('.','-')
146
- other[key2] = data[key]
147
- }
148
-
149
- this.install2(Vue,options)
150
-
151
- })
152
-
153
-
154
-
155
- }
156
-
157
- bstarter.setServices = function(srvd) {
158
- service.defined = Object.assign(services,srvd)
159
- }
160
-
161
- bstarter.setApp = function(app) {
162
- App = app
163
- }
164
-
165
- bstarter.setRoutes2 = function(rt,fpath) {
166
-
167
- let path = fpath === '/' ? rt.path : (fpath + '/' + rt.path)
168
- let name = rt.name
169
- let needLogin = ak.utils.isEmpty(rt.needLogin) ? true : rt.needLogin
170
- let children = rt.children
171
- if(children){
172
- for(let index2 = 0; index2 < children.length; index2++) {
173
- bstarter.setRoutes2(children[index2],path)
174
- }
175
- }
176
-
177
- route.defined[path] = {name:name,path:path,needLogin:needLogin}
178
- }
179
-
180
- bstarter.setRoutes = function(rt) {
181
-
182
- for (let index = 0; index < rt.length; index++) {
183
-
184
- let path = rt[index].path
185
- let name = rt[index].name
186
- let needLogin = ak.utils.isEmpty(rt[index].needLogin) ? true : rt[index].needLogin
187
- let children = rt[index].children
188
- if(children){
189
- for(let index2 = 0; index2 < children.length; index2++) {
190
- bstarter.setRoutes2(children[index2],path)
191
- }
192
- }
193
- route.defined[path] = {name:name,path:path,needLogin:needLogin}
194
- }
195
-
196
- routes = rt
197
-
198
- }
199
-
200
- bstarter.setConfig = function(cfg) {
201
- config_.sys = Object.assign(config_.sys,ak.utils.cloneBySerialize(cfg.sys))
202
- config_.http = Object.assign(config_.http,ak.utils.cloneBySerialize(cfg.http))
203
- config_.file = Object.assign(config_.file,ak.utils.cloneBySerialize(cfg.file))
204
- config_.sso = Object.assign(config_.sso,ak.utils.cloneBySerialize(cfg.sso))
205
- config_.auth = Object.assign(config_.auth,ak.utils.cloneBySerialize(cfg.auth))
206
- }
207
-
208
- bstarter.setLocale = function(local,local_obj) {
209
- if(local == 'zh-CN')
210
- locales[local] = Object.assign(zh_CN,local_obj)
211
- else if(local == 'en-US')
212
- locales[local] = Object.assign(en_US,local_obj)
213
- }
214
-
215
- export default bstarter;
216
- export var base = base_
217
- export var base2 = base2_
218
- export var ak = ak_
219
- export var http = http_
220
- export const callShell = callPhone_
221
- export var session = session_
222
- export var config = config_
1
+ import ak_ from './src/plugins/assets/ak.js'
2
+ import http_ from './src/plugins/assets/http.js'
3
+ import service from './src/plugins/service';
4
+ import services from './src/plugins/services';
5
+ import session_ from './src/plugins/session';
6
+ import base_ from './src/plugins/components/base.js'
7
+ import base2_ from './src/plugins/components/base2.js'
8
+ import platform from './src/plugins/platform';
9
+ import VueBus from 'vue-bus'
10
+ import Vant from 'vant'
11
+ import Router from 'vue-router'
12
+ import VueI18n from 'vue-i18n'
13
+ import {ua} from './src/plugins/assets/ua.js';
14
+ import config_ from './src/plugins/assets/config.js'
15
+ import route from './src/plugins/route';
16
+ import zh_CN from './src/i18n/zh-CN'
17
+ import en_US from './src/i18n/en-US'
18
+
19
+ import BSInput from './src/plugins/components/BSInput.vue'
20
+ import BSSelect from './src/plugins/components/BSSelect.vue'
21
+ import BSVerCode from './src/plugins/components/BSVerCode.vue'
22
+ import BSPicCode from './src/plugins/components/BSPicCode.vue'
23
+ import BSButton from './src/plugins/components/BSButton.vue'
24
+ import BSRadio from './src/plugins/components/BSRadio.vue'
25
+ import BSDatePicker from './src/plugins/components/BSDatePicker.vue'
26
+ import BSImage from "./src/plugins/components/BSImage";
27
+ import BSPopup from "./src/plugins/components/BSPopup";
28
+ import BSList from "./src/plugins/components/BSList";
29
+ import BSCell from "./src/plugins/components/BSCell";
30
+ import BSSearch from "./src/plugins/components/BSSearch";
31
+ import BSUpload from "./src/plugins/components/BSUpload";
32
+
33
+ import BSUpload2 from "./src/plugins/components/BSUpload2";
34
+ import BSSign from "./src/plugins/components/BSSign";
35
+
36
+ import BSCascader from "./src/plugins/components/BSCascader";
37
+ import BSPreviewPdf from "./src/plugins/components/BSViewer";
38
+ import BSStepper from "./src/plugins/components/BSStepper";
39
+
40
+ import App_ from "./src/App"
41
+ import * as callPhone_ from './src/plugins/assets/callNative.js'
42
+
43
+ let bstarter = {}
44
+ var App
45
+ var routes
46
+ var locales = {}
47
+
48
+
49
+ bstarter.install2 = function(Vue, options) {
50
+
51
+ ak_.msg.vue = Vue
52
+ Vue.observable(session_)
53
+ Vue.observable(route)
54
+
55
+ Vue.use(VueBus)
56
+ service.bus = Vue.prototype.$bus
57
+
58
+ Vue.use(Router)
59
+ Vue.use(Vant)
60
+ Vue.use(VueI18n)
61
+
62
+ Vue.prototype.$ak = ak_;
63
+ Vue.prototype.$http = http_;
64
+ Vue.prototype.$service = service;
65
+ Vue.prototype.$ua = ua;
66
+
67
+
68
+ if(ua.isIspPhone){
69
+ config_.sys.authType = 'sso'
70
+ }else if(ua.microMsg){
71
+ config_.sys.authType = 'wx'
72
+ }
73
+
74
+ Vue.component(BSInput.name, BSInput)
75
+ Vue.component(BSSelect.name, BSSelect)
76
+ Vue.component(BSVerCode.name, BSVerCode)
77
+ Vue.component(BSPicCode.name, BSPicCode)
78
+ Vue.component(BSButton.name, BSButton)
79
+ Vue.component(BSRadio.name, BSRadio)
80
+ Vue.component(BSDatePicker.name, BSDatePicker)
81
+ Vue.component(BSImage.name, BSImage)
82
+ Vue.component(BSPopup.name, BSPopup)
83
+ Vue.component(BSList.name, BSList)
84
+ Vue.component(BSCell.name, BSCell)
85
+ Vue.component(BSSearch.name, BSSearch)
86
+ Vue.component(BSUpload.name, BSUpload)
87
+ Vue.component(BSUpload2.name, BSUpload2)
88
+ Vue.component(BSSign.name, BSSign)
89
+ Vue.component(BSCascader.name, BSCascader)
90
+ Vue.component(BSPreviewPdf.name, BSPreviewPdf)
91
+ Vue.component(BSPreviewPdf.name, BSPreviewPdf)
92
+ Vue.component(BSStepper.name, BSStepper)
93
+
94
+
95
+ const router = new Router({
96
+ routes: routes
97
+ })
98
+
99
+ router.beforeEach((to, from, next) => {
100
+ to.meta.key = (((1+Math.random())*0x10000)|0).toString(16).substring(1)
101
+ next()
102
+ })
103
+
104
+ locales['zh-CN'] = zh_CN
105
+ locales['en-US'] = en_US
106
+
107
+ const i18n = new VueI18n({
108
+ locale: 'zh-CN',
109
+ messages: {
110
+ 'zh-CN': {'lang':locales['zh-CN']},
111
+ 'en-US': {'lang':locales['en-US']},
112
+ }
113
+ })
114
+
115
+
116
+
117
+
118
+ App = App ? App : App_
119
+ new Vue({
120
+ el: '#app',
121
+ i18n,
122
+ router,
123
+ components: { App },
124
+ template: '<App/>'
125
+ })
126
+
127
+
128
+
129
+ }
130
+
131
+ bstarter.install = function(Vue, options) {
132
+
133
+ let configId = config_.sys.id
134
+ if(!ak_.utils.isEmpty(config_.sys.configId)){
135
+ configId = config_.sys.configId
136
+ }
137
+
138
+ let configUrl = config_.http.gwURL + '/configfiles/json/' + configId + '/default/application'
139
+
140
+ http_.get(configUrl,{hash:new Date().getTime()}).then((data)=>{
141
+
142
+ let other = config_.other
143
+ for(let key in data){
144
+
145
+ let key2 = key.replace('.','-')
146
+ other[key2] = data[key]
147
+ }
148
+
149
+ this.install2(Vue,options)
150
+
151
+ })
152
+
153
+
154
+
155
+ }
156
+
157
+ bstarter.setServices = function(srvd) {
158
+ service.defined = Object.assign(services,srvd)
159
+ }
160
+
161
+ bstarter.setApp = function(app) {
162
+ App = app
163
+ }
164
+
165
+ bstarter.setRoutes2 = function(rt,fpath) {
166
+
167
+ let path = fpath === '/' ? rt.path : (fpath + '/' + rt.path)
168
+ let name = rt.name
169
+ let needLogin = ak.utils.isEmpty(rt.needLogin) ? true : rt.needLogin
170
+ let children = rt.children
171
+ if(children){
172
+ for(let index2 = 0; index2 < children.length; index2++) {
173
+ bstarter.setRoutes2(children[index2],path)
174
+ }
175
+ }
176
+
177
+ route.defined[path] = {name:name,path:path,needLogin:needLogin}
178
+ }
179
+
180
+ bstarter.setRoutes = function(rt) {
181
+
182
+ for (let index = 0; index < rt.length; index++) {
183
+
184
+ let path = rt[index].path
185
+ let name = rt[index].name
186
+ let needLogin = ak.utils.isEmpty(rt[index].needLogin) ? true : rt[index].needLogin
187
+ let children = rt[index].children
188
+ if(children){
189
+ for(let index2 = 0; index2 < children.length; index2++) {
190
+ bstarter.setRoutes2(children[index2],path)
191
+ }
192
+ }
193
+ route.defined[path] = {name:name,path:path,needLogin:needLogin}
194
+ }
195
+
196
+ routes = rt
197
+
198
+ }
199
+
200
+ bstarter.setConfig = function(cfg) {
201
+ config_.sys = Object.assign(config_.sys,ak.utils.cloneBySerialize(cfg.sys))
202
+ config_.http = Object.assign(config_.http,ak.utils.cloneBySerialize(cfg.http))
203
+ config_.file = Object.assign(config_.file,ak.utils.cloneBySerialize(cfg.file))
204
+ config_.sso = Object.assign(config_.sso,ak.utils.cloneBySerialize(cfg.sso))
205
+ config_.auth = Object.assign(config_.auth,ak.utils.cloneBySerialize(cfg.auth))
206
+ }
207
+
208
+ bstarter.setLocale = function(local,local_obj) {
209
+ if(local == 'zh-CN')
210
+ locales[local] = Object.assign(zh_CN,local_obj)
211
+ else if(local == 'en-US')
212
+ locales[local] = Object.assign(en_US,local_obj)
213
+ }
214
+
215
+ export default bstarter;
216
+ export var base = base_
217
+ export var base2 = base2_
218
+ export var ak = ak_
219
+ export var http = http_
220
+ export const callShell = callPhone_
221
+ export var session = session_
222
+ export var config = config_