w-web-api 1.0.8 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/WWebApi.html CHANGED
@@ -604,7 +604,7 @@
604
604
  <br class="clear">
605
605
 
606
606
  <footer>
607
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Thu Apr 14 2022 22:46:53 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
607
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Fri Apr 15 2022 15:15:12 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
608
608
  </footer>
609
609
 
610
610
  <script>prettyPrint();</script>
@@ -153,6 +153,14 @@ async function WWebApi(WOrm, url, db, opt = {}) {
153
153
  let webName = get(opt, 'webName', {})
154
154
 
155
155
 
156
+ //webDescription
157
+ let webDescription = get(opt, 'webDescription', {})
158
+
159
+
160
+ //webLogo
161
+ let webLogo = get(opt, 'webLogo', {})
162
+
163
+
156
164
  //WServOrm
157
165
  let optWServOrm = {
158
166
  bCheckUser,
@@ -173,6 +181,8 @@ async function WWebApi(WOrm, url, db, opt = {}) {
173
181
  let getWebInfor = (userId) => {
174
182
  return {
175
183
  webName,
184
+ webDescription,
185
+ webLogo,
176
186
  }
177
187
  }
178
188
 
@@ -367,7 +377,7 @@ export default WWebApi
367
377
  <br class="clear">
368
378
 
369
379
  <footer>
370
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Thu Apr 14 2022 22:46:53 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
380
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Fri Apr 15 2022 15:15:12 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
371
381
  </footer>
372
382
 
373
383
  <script>prettyPrint();</script>
package/docs/index.html CHANGED
@@ -68,7 +68,7 @@
68
68
  <br class="clear">
69
69
 
70
70
  <footer>
71
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Thu Apr 14 2022 22:46:53 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
71
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Fri Apr 15 2022 15:15:12 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
72
72
  </footer>
73
73
 
74
74
  <script>prettyPrint();</script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "w-web-api",
3
- "version": "1.0.8",
3
+ "version": "1.0.11",
4
4
  "main": "dist/w-web-api.umd.js",
5
5
  "dependencies": {
6
6
  "@mdi/js": "^6.6.96",
@@ -109,6 +109,14 @@ async function WWebApi(WOrm, url, db, opt = {}) {
109
109
  let webName = get(opt, 'webName', {})
110
110
 
111
111
 
112
+ //webDescription
113
+ let webDescription = get(opt, 'webDescription', {})
114
+
115
+
116
+ //webLogo
117
+ let webLogo = get(opt, 'webLogo', {})
118
+
119
+
112
120
  //WServOrm
113
121
  let optWServOrm = {
114
122
  bCheckUser,
@@ -129,6 +137,8 @@ async function WWebApi(WOrm, url, db, opt = {}) {
129
137
  let getWebInfor = (userId) => {
130
138
  return {
131
139
  webName,
140
+ webDescription,
141
+ webLogo,
132
142
  }
133
143
  }
134
144
 
@@ -57,7 +57,7 @@ async function provideApis(url, levels, apis) {
57
57
  .catch((err) => {
58
58
  // console.log(err)
59
59
  rout = {
60
- state: 'success',
60
+ state: 'error',
61
61
  msg: '無法傳輸API清單',
62
62
  res: err,
63
63
  }
package/src/App.vue CHANGED
@@ -28,6 +28,15 @@ export default {
28
28
 
29
29
  }
30
30
  },
31
+ mounted: function() {
32
+ // console.log('mounted')
33
+
34
+ let vo = this
35
+
36
+ //setVo, 更換ui內vo, 才能使用廣播技術, 更換語系才能用廣播通知全部組件forceUpdate
37
+ vo.$ui.setVo(vo)
38
+
39
+ },
31
40
  methods: {
32
41
 
33
42
  resize: function(msg) {
@@ -11,24 +11,20 @@
11
11
  v-if="false"
12
12
  ></WButtonCircle>
13
13
 
14
- <WButtonCircle
15
- :icon="'mdi-menu'"
16
- :tooltip="'cht'"
17
- :shadow="false"
18
- @click="$store.commit($store.types.UpdateLang, 'cht')"
19
- v-if="false"
20
- ></WButtonCircle>
14
+ <div style="padding-left:5px; white-space:nowrap">
15
+ <div style="display:flex; align-items:center;">
21
16
 
22
- <WButtonCircle
23
- :icon="'mdi-menu'"
24
- :tooltip="'eng'"
25
- :shadow="false"
26
- @click="$store.commit($store.types.UpdateLang, 'eng')"
27
- v-if="false"
28
- ></WButtonCircle>
17
+ <div style="padding-right:10px; display:flex; align-items:center;" v-if="webLogo">
18
+ <img style="width:36px; height:36px;" :src="webLogo" />
19
+ </div>
20
+
21
+ <div>
22
+ <div style="font-size:1.2rem; color:#000;">{{webName}}</div>
23
+ <div style="font-size:0.8rem; color:#666;">{{$t('webDescription')}}</div>
24
+ </div>
25
+
26
+ </div>
29
27
 
30
- <div style="padding-left:10px; font-size:1.2rem; color:#000; white-space:nowrap">
31
- <div>{{webName}}</div>
32
28
  </div>
33
29
 
34
30
  <div style="width:100%;"></div>
@@ -54,6 +50,7 @@
54
50
  <script>
55
51
  import get from 'lodash/get'
56
52
  // import cloneDeep from 'lodash/cloneDeep'
53
+ import isestr from 'wsemi/src/isestr.mjs'
57
54
  import WButtonCircle from 'w-component-vue/src/components/WButtonCircle.vue'
58
55
  import WTextSelect from 'w-component-vue/src/components/WTextSelect.vue'
59
56
  import LayoutContent from './LayoutContent.vue'
@@ -89,28 +86,44 @@ export default {
89
86
 
90
87
  }
91
88
  },
92
- computed: {
89
+ beforeMount: function() {
90
+ // console.log('beforeMount')
93
91
 
94
- heightToolbar: function() {
95
- return get(this, `$store.state.heightToolbar`)
96
- },
92
+ let vo = this
97
93
 
98
- kpTexts: function() {
99
- return this.$ui.getKpLang()
94
+ //setLang
95
+ vo.$ui.setLang(vo.tgLangSelect.id)
96
+
97
+ },
98
+ computed: {
99
+
100
+ viewState: function() {
101
+ return get(this, `$store.state.viewState`)
100
102
  },
101
103
 
102
- webName: function() {
103
- let name = get(this, 'kpTexts.webName', this.kpTexts.waitingData)
104
- document.title = name //更換網頁title
105
- return name
104
+ heightToolbar: function() {
105
+ return get(this, `$store.state.heightToolbar`)
106
106
  },
107
107
 
108
- lang: function() {
109
- return get(this, `$store.state.lang`)
108
+ webName: {
109
+ get() {
110
+ let vo = this
111
+ let c = vo.$t('webName')
112
+ // console.log('get webName1', c)
113
+ if (!isestr(c)) {
114
+ c = vo.$t('waitingData')
115
+ }
116
+ // console.log('get webName2', c)
117
+ document.title = c //更換網頁title
118
+ return c
119
+ },
120
+ // set(value) {
121
+ // return value
122
+ // },
110
123
  },
111
124
 
112
- viewState: function() {
113
- return get(this, `$store.state.viewState`)
125
+ webLogo: function() {
126
+ return get(this, `$store.state.webInfor.webLogo`)
114
127
  },
115
128
 
116
129
  },
@@ -120,7 +133,7 @@ export default {
120
133
  // console.log('methods changeLang', msg)
121
134
  let vo = this
122
135
  let lang = msg.id
123
- vo.$store.commit(vo.$store.types.UpdateLang, lang)
136
+ vo.$ui.setLang(lang)
124
137
  },
125
138
 
126
139
  }
@@ -11,7 +11,7 @@
11
11
  style="padding:20px; font-size:0.9rem;"
12
12
  v-else
13
13
  >
14
- {{kpTexts.waitingData}}
14
+ {{$t('waitingData')}}
15
15
  </div>
16
16
 
17
17
  </div>
@@ -49,10 +49,6 @@ export default {
49
49
  },
50
50
  computed: {
51
51
 
52
- kpTexts: function() {
53
- return this.$ui.getKpLang()
54
- },
55
-
56
52
  syncState: function() {
57
53
  return get(this, '$store.state.syncState')
58
54
  },
@@ -41,7 +41,7 @@
41
41
  </div>
42
42
 
43
43
  <div>
44
- {{$s.gv(getItemByKey(props.data.text),'name')}}
44
+ {{$ui.gv(getItemByKey(props.data.text),'name')}}
45
45
  </div>
46
46
 
47
47
  </div>
@@ -67,7 +67,7 @@
67
67
  </div>
68
68
 
69
69
  <div style="font-size:0.8rem;">
70
- {{$s.gv(apiSelect,'url')}}
70
+ {{$ui.gv(apiSelect,'url')}}
71
71
  </div>
72
72
 
73
73
  </div>
@@ -77,11 +77,11 @@
77
77
  <div style="padding:10px;">
78
78
 
79
79
  <div style="color:#485ed5;">
80
- {{$s.gv(apiSelect,'name')}}
80
+ {{$ui.gv(apiSelect,'name')}}
81
81
  </div>
82
82
 
83
83
  <div class="bk-title" style="">
84
- {{$s.gv(apiSelect,'description')}}
84
+ {{$ui.gv(apiSelect,'description')}}
85
85
  </div>
86
86
 
87
87
  </div>
@@ -91,11 +91,11 @@
91
91
  <div class="bk" style="">
92
92
 
93
93
  <div class="bk-title" style="">
94
- {{kpTexts.tokens}}
94
+ {{$t('tokens')}}
95
95
  </div>
96
96
 
97
97
  <div class="bk-item" style="">
98
- {{$s.gv(apiSelect,'tokens')}}
98
+ {{$ui.gv(apiSelect,'tokens')}}
99
99
  </div>
100
100
 
101
101
  </div>
@@ -103,11 +103,11 @@
103
103
  <div class="bk" style="">
104
104
 
105
105
  <div class="bk-title" style="">
106
- {{kpTexts.version}}
106
+ {{$t('version')}}
107
107
  </div>
108
108
 
109
109
  <div class="bk-item" style="">
110
- {{$s.gv(apiSelect,'version')}}
110
+ {{$ui.gv(apiSelect,'version')}}
111
111
  </div>
112
112
 
113
113
  </div>
@@ -115,11 +115,11 @@
115
115
  <div class="bk" style="">
116
116
 
117
117
  <div class="bk-title" style="">
118
- {{kpTexts.levels}}
118
+ {{$t('levels')}}
119
119
  </div>
120
120
 
121
121
  <div class="bk-item" style="">
122
- {{$s.gv(apiSelect,'')}}
122
+ {{$ui.gv(apiSelect,'')}}
123
123
  </div>
124
124
 
125
125
  </div>
@@ -127,11 +127,11 @@
127
127
  <div class="bk" style="">
128
128
 
129
129
  <div class="bk-title" style="">
130
- {{kpTexts.keywords}}
130
+ {{$t('keywords')}}
131
131
  </div>
132
132
 
133
133
  <div class="bk-item" style="">
134
- {{$s.gv(apiSelect,'')}}
134
+ {{$ui.gv(apiSelect,'')}}
135
135
  </div>
136
136
 
137
137
  </div>
@@ -139,11 +139,11 @@
139
139
  <div class="bk" style="">
140
140
 
141
141
  <div class="bk-title" style="">
142
- {{kpTexts.state}}
142
+ {{$t('state')}}
143
143
  </div>
144
144
 
145
145
  <div class="bk-item" style="">
146
- {{$s.gv(apiSelect,'')}}
146
+ {{$ui.gv(apiSelect,'')}}
147
147
  </div>
148
148
 
149
149
  </div>
@@ -151,11 +151,11 @@
151
151
  <div class="bk" style="">
152
152
 
153
153
  <div class="bk-title" style="">
154
- {{kpTexts.timeCreate}}
154
+ {{$t('timeCreate')}}
155
155
  </div>
156
156
 
157
157
  <div class="bk-item" style="">
158
- {{getDay($s.gv(apiSelect,'timeCreate'))}}
158
+ {{$ui.gv(apiSelect,'timeCreate',getDay)}}
159
159
  </div>
160
160
 
161
161
  </div>
@@ -163,11 +163,11 @@
163
163
  <div class="bk" style="">
164
164
 
165
165
  <div class="bk-title" style="">
166
- {{kpTexts.timeUpdate}}
166
+ {{$t('timeUpdate')}}
167
167
  </div>
168
168
 
169
169
  <div class="bk-item" style="">
170
- {{getDay($s.gv(apiSelect,'timeUpdate'))}}
170
+ {{$ui.gv(apiSelect,'timeUpdate',getDay)}}
171
171
  </div>
172
172
 
173
173
  </div>
@@ -175,11 +175,11 @@
175
175
  <div class="bk" style="">
176
176
 
177
177
  <div class="bk-title" style="">
178
- {{kpTexts.creator}}
178
+ {{$t('creator')}}
179
179
  </div>
180
180
 
181
181
  <div class="bk-item" style="">
182
- {{$s.gv(apiSelect,'creator')}}
182
+ {{$ui.gv(apiSelect,'creator')}}
183
183
  </div>
184
184
 
185
185
  </div>
@@ -187,11 +187,11 @@
187
187
  <div class="bk" style="">
188
188
 
189
189
  <div class="bk-title" style="">
190
- {{kpTexts.dataSource}}
190
+ {{$t('dataSource')}}
191
191
  </div>
192
192
 
193
193
  <div class="bk-item" style="">
194
- {{$s.gv(apiSelect,'dataSource')}}
194
+ {{$ui.gv(apiSelect,'dataSource')}}
195
195
  </div>
196
196
 
197
197
  </div>
@@ -199,11 +199,11 @@
199
199
  <div class="bk" style="">
200
200
 
201
201
  <div class="bk-title" style="">
202
- {{kpTexts.isActive}}
202
+ {{$t('isActive')}}
203
203
  </div>
204
204
 
205
205
  <div class="bk-item" style="">
206
- {{$s.gv(apiSelect,'isActive')}}
206
+ {{$ui.gv(apiSelect,'isActive')}}
207
207
  </div>
208
208
 
209
209
  </div>
@@ -213,12 +213,12 @@
213
213
  <div style="padding:10px;">
214
214
 
215
215
  <div class="bk-title" style="">
216
- {{kpTexts.mdInputParams}}
216
+ {{$t('mdInputParams')}}
217
217
  </div>
218
218
 
219
219
  <div class="bk-item" style="padding:10px;">
220
220
  <MdPanel
221
- :md="$s.gv(apiSelect,'mdInputParams')"
221
+ :md="$ui.gv(apiSelect,'mdInputParams')"
222
222
  ></MdPanel>
223
223
  </div>
224
224
 
@@ -227,11 +227,11 @@
227
227
  <div style="padding:10px;">
228
228
 
229
229
  <div class="bk-title" style="">
230
- {{kpTexts.inputExample}}
230
+ {{$t('inputExample')}}
231
231
  </div>
232
232
 
233
233
  <div class="bk-item" style="padding:10px;">
234
- {{$s.gv(apiSelect,'inputExample')}}
234
+ {{$ui.gv(apiSelect,'inputExample')}}
235
235
  </div>
236
236
 
237
237
  </div>
@@ -239,12 +239,12 @@
239
239
  <div style="padding:10px;">
240
240
 
241
241
  <div class="bk-title" style="">
242
- {{kpTexts.mdOutputParams}}
242
+ {{$t('mdOutputParams')}}
243
243
  </div>
244
244
 
245
245
  <div class="bk-item" style="padding:10px;">
246
246
  <MdPanel
247
- :md="$s.gv(apiSelect,'mdOutputParams')"
247
+ :md="$ui.gv(apiSelect,'mdOutputParams')"
248
248
  ></MdPanel>
249
249
  </div>
250
250
 
@@ -253,7 +253,7 @@
253
253
  <div style="padding:10px;">
254
254
 
255
255
  <div class="bk-title" style="">
256
- {{kpTexts.outputExample}}
256
+ {{$t('outputExample')}}
257
257
  </div>
258
258
 
259
259
  <div style="padding-top:10px;">
@@ -302,7 +302,7 @@
302
302
  style="padding:20px; font-size:0.9rem;"
303
303
  v-else
304
304
  >
305
- {{kpTexts.noSelectApi}}
305
+ {{$t('noSelectApi')}}
306
306
  </div>
307
307
 
308
308
  </div>
@@ -311,7 +311,7 @@
311
311
  style="padding:20px; font-size:0.9rem;"
312
312
  v-else
313
313
  >
314
- {{kpTexts.waitingData}}
314
+ {{$t('waitingData')}}
315
315
  </div>
316
316
 
317
317
  </div>
@@ -376,10 +376,6 @@ export default {
376
376
  },
377
377
  computed: {
378
378
 
379
- kpTexts: function() {
380
- return this.$ui.getKpLang()
381
- },
382
-
383
379
  apis: function() {
384
380
  return get(this, '$store.state.apis')
385
381
  },
@@ -399,12 +395,12 @@ export default {
399
395
  let ms = [
400
396
  {
401
397
  id: 'tree',
402
- text: vo.kpTexts.outputMenuTree,
398
+ text: vo.$t('outputMenuTree'),
403
399
  icon: 'mdi-vanity-light',
404
400
  },
405
401
  {
406
402
  id: 'raw',
407
- text: vo.kpTexts.outputMenuRaw,
403
+ text: vo.$t('outputMenuRaw'),
408
404
  icon: 'mdi-lan',
409
405
  },
410
406
  ]
package/src/main.js CHANGED
@@ -41,6 +41,7 @@ let dspt = mDataSupport(Vue.prototype)
41
41
 
42
42
  //prototype
43
43
  Vue.prototype.$ui = ui
44
+ Vue.prototype.$t = ui.getKpText
44
45
  Vue.prototype.$s = s
45
46
  Vue.prototype.$dssm = dssm
46
47
  Vue.prototype.$dspt = dspt
@@ -67,8 +68,9 @@ WServHapiClient({
67
68
  Vue.prototype.$fapi = _fapi
68
69
  _fapi.getWebInfor() //已有fapi時優先取得web資訊
69
70
  .then((wi) => {
70
- // console.log('$fapi wi', wi)
71
+ console.log('$fapi getWebInfor', wi)
71
72
  Vue.prototype.$store.commit(Vue.prototype.$store.types.UpdateWebInfor, wi)
73
+ ui.setLang() //因更新webInfor得要重刷語系才能依照語言取得顯示文字
72
74
  })
73
75
  .catch((err) => {
74
76
  console.log(err)
@@ -1,53 +1,53 @@
1
- import min from 'lodash/min'
2
- import size from 'lodash/size'
3
- import take from 'lodash/take'
4
- import isEqual from 'lodash/isEqual'
5
- import uniq from 'lodash/uniq'
6
- import set from 'lodash/set'
7
- import get from 'lodash/get'
8
- import each from 'lodash/each'
9
- import map from 'lodash/map'
10
- import filter from 'lodash/filter'
11
- import last from 'lodash/last'
12
- import split from 'lodash/split'
13
- import join from 'lodash/join'
14
- import drop from 'lodash/drop'
15
- import dropRight from 'lodash/dropRight'
16
- import groupBy from 'lodash/groupBy'
17
- import sortBy from 'lodash/sortBy'
18
- import cloneDeep from 'lodash/cloneDeep'
19
- import cint from 'wsemi/src/cint.mjs'
20
- import delay from 'wsemi/src/delay.mjs'
21
- import isarr from 'wsemi/src/isarr.mjs'
22
- import isestr from 'wsemi/src/isestr.mjs'
23
- import isfun from 'wsemi/src/isfun.mjs'
24
- import iseobj from 'wsemi/src/iseobj.mjs'
25
- import isearr from 'wsemi/src/isearr.mjs'
26
- import isEle from 'wsemi/src/isEle.mjs'
27
- import strleft from 'wsemi/src/strleft.mjs'
28
- import strdelleft from 'wsemi/src/strdelleft.mjs'
29
- import sep from 'wsemi/src/sep.mjs'
30
- import aes2str from 'wsemi/src/aes2str.mjs'
31
- import str2aes from 'wsemi/src/str2aes.mjs'
32
- import haskey from 'wsemi/src/haskey.mjs'
33
- import genPm from 'wsemi/src/genPm.mjs'
34
- import pmSeries from 'wsemi/src/pmSeries.mjs'
35
- import waitFun from 'wsemi/src/waitFun.mjs'
36
- import browserView from 'wsemi/src/browserView.mjs'
37
- import arrHas from 'wsemi/src/arrHas.mjs'
38
- import arrSort from 'wsemi/src/arrSort.mjs'
39
- import arrInsert from 'wsemi/src/arrInsert.mjs'
40
- import replace from 'wsemi/src/replace.mjs'
41
- import timemsTZ2past from 'wsemi/src/timemsTZ2past.mjs'
42
- import convertToTree from 'wsemi/src/convertToTree.mjs'
43
- import html2picDyn from 'wsemi/src/html2picDyn.mjs'
44
- import urlParse from 'wsemi/src/urlParse.mjs'
45
- import domConvertToPicDyn from 'wsemi/src/domConvertToPicDyn.mjs'
46
- import ltdtkeysheads2mat from 'wsemi/src/ltdtkeysheads2mat.mjs'
47
- import downloadFileFromB64 from 'wsemi/src/downloadFileFromB64.mjs'
48
- import downloadExcelFileFromDataDyn from 'wsemi/src/downloadExcelFileFromDataDyn.mjs'
49
- import getFileAccept from 'wsemi/src/getFileAccept.mjs'
50
- import downloadFileFromU8Arr from 'wsemi/src/downloadFileFromU8Arr.mjs'
1
+ // import min from 'lodash/min'
2
+ // import size from 'lodash/size'
3
+ // import take from 'lodash/take'
4
+ // import isEqual from 'lodash/isEqual'
5
+ // import uniq from 'lodash/uniq'
6
+ // import set from 'lodash/set'
7
+ // import get from 'lodash/get'
8
+ // import each from 'lodash/each'
9
+ // import map from 'lodash/map'
10
+ // import filter from 'lodash/filter'
11
+ // import last from 'lodash/last'
12
+ // import split from 'lodash/split'
13
+ // import join from 'lodash/join'
14
+ // import drop from 'lodash/drop'
15
+ // import dropRight from 'lodash/dropRight'
16
+ // import groupBy from 'lodash/groupBy'
17
+ // import sortBy from 'lodash/sortBy'
18
+ // import cloneDeep from 'lodash/cloneDeep'
19
+ // import cint from 'wsemi/src/cint.mjs'
20
+ // import delay from 'wsemi/src/delay.mjs'
21
+ // import isarr from 'wsemi/src/isarr.mjs'
22
+ // import isestr from 'wsemi/src/isestr.mjs'
23
+ // import isfun from 'wsemi/src/isfun.mjs'
24
+ // import iseobj from 'wsemi/src/iseobj.mjs'
25
+ // import isearr from 'wsemi/src/isearr.mjs'
26
+ // import isEle from 'wsemi/src/isEle.mjs'
27
+ // import strleft from 'wsemi/src/strleft.mjs'
28
+ // import strdelleft from 'wsemi/src/strdelleft.mjs'
29
+ // import sep from 'wsemi/src/sep.mjs'
30
+ // import aes2str from 'wsemi/src/aes2str.mjs'
31
+ // import str2aes from 'wsemi/src/str2aes.mjs'
32
+ // import haskey from 'wsemi/src/haskey.mjs'
33
+ // import genPm from 'wsemi/src/genPm.mjs'
34
+ // import pmSeries from 'wsemi/src/pmSeries.mjs'
35
+ // import waitFun from 'wsemi/src/waitFun.mjs'
36
+ // import browserView from 'wsemi/src/browserView.mjs'
37
+ // import arrHas from 'wsemi/src/arrHas.mjs'
38
+ // import arrSort from 'wsemi/src/arrSort.mjs'
39
+ // import arrInsert from 'wsemi/src/arrInsert.mjs'
40
+ // import replace from 'wsemi/src/replace.mjs'
41
+ // import timemsTZ2past from 'wsemi/src/timemsTZ2past.mjs'
42
+ // import convertToTree from 'wsemi/src/convertToTree.mjs'
43
+ // import html2picDyn from 'wsemi/src/html2picDyn.mjs'
44
+ // import urlParse from 'wsemi/src/urlParse.mjs'
45
+ // import domConvertToPicDyn from 'wsemi/src/domConvertToPicDyn.mjs'
46
+ // import ltdtkeysheads2mat from 'wsemi/src/ltdtkeysheads2mat.mjs'
47
+ // import downloadFileFromB64 from 'wsemi/src/downloadFileFromB64.mjs'
48
+ // import downloadExcelFileFromDataDyn from 'wsemi/src/downloadExcelFileFromDataDyn.mjs'
49
+ // import getFileAccept from 'wsemi/src/getFileAccept.mjs'
50
+ // import downloadFileFromU8Arr from 'wsemi/src/downloadFileFromU8Arr.mjs'
51
51
 
52
52
 
53
53
  function mDataSupport(vo, opt = {}) {
@@ -55,19 +55,7 @@ function mDataSupport(vo, opt = {}) {
55
55
 
56
56
  return {
57
57
 
58
- // getMetadataByTablenameAndId,
59
-
60
- // getProjectBasic,
61
- // getProjectsBasic,
62
-
63
- // treeMds,
64
- // treeProjectsBasicAndMds,
65
-
66
58
  // mdCheckKeyInd,
67
- // mdGetTItemsByKeyInd,
68
- // mdGetSizeByKeyInd,
69
- // mdGetTItemsLast,
70
- // mdGetTableChtByKeyInd,
71
59
  // mdGetTextByKey,
72
60
  // mdGetTextByKeyIndAndKey,
73
61