w-web-api 1.0.21 → 1.0.23
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/.eslintrc.js +17 -17
- package/.github/workflows/ci-test.yml +24 -0
- package/babel.config.js +1 -0
- package/dist/css/{chunk-vendors.b4caa718.css → chunk-vendors.1474a727.css} +1 -1
- package/dist/index.tmp +1 -1
- package/dist/js/app-legacy.c9a65a85.js +2 -0
- package/dist/js/app-legacy.c9a65a85.js.map +1 -0
- package/dist/js/app.c9a65a85.js +2 -0
- package/dist/js/app.c9a65a85.js.map +1 -0
- package/dist/js/chunk-vendors-legacy.bf09c4e2.js +14 -0
- package/dist/js/chunk-vendors-legacy.bf09c4e2.js.map +1 -0
- package/dist/js/chunk-vendors.bf09c4e2.js +14 -0
- package/dist/js/chunk-vendors.bf09c4e2.js.map +1 -0
- package/dist/w-web-api.umd.js +2 -2
- package/dist/w-web-api.umd.js.map +1 -1
- package/docs/WWebApi.html +27 -11
- package/docs/WWebApi.mjs.html +4 -1
- package/docs/index.html +4 -1
- package/docs/scripts/collapse.js +19 -0
- package/docs/scripts/commonNav.js +28 -0
- package/docs/scripts/search.js +16 -0
- package/docs/styles/jsdoc.css +13 -2
- package/docs/styles/prettify.css +1 -0
- package/g.getSettings.mjs +1 -1
- package/package.json +24 -26
- package/src/components/Layout.vue +1 -0
- package/tableTags-web-api.json +1 -1
- package/test/all.test.mjs +10 -0
- package/dist/js/app.0c5f01fa.js +0 -2
- package/dist/js/app.0c5f01fa.js.map +0 -1
- package/dist/js/chunk-vendors.27062223.js +0 -24
- package/dist/js/chunk-vendors.27062223.js.map +0 -1
- /package/dist/css/{app.5b03c2b6.css → app.e645631b.css} +0 -0
package/docs/WWebApi.html
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
<link type="text/css" rel="stylesheet" href="styles/prettify.css">
|
|
15
15
|
<link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
|
|
16
16
|
<script src="scripts/nav.js" defer></script>
|
|
17
|
+
|
|
17
18
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
18
19
|
</head>
|
|
19
20
|
<body>
|
|
@@ -27,7 +28,9 @@
|
|
|
27
28
|
|
|
28
29
|
<nav >
|
|
29
30
|
|
|
31
|
+
|
|
30
32
|
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="WWebApi.html">WWebApi</a></li></ul>
|
|
33
|
+
|
|
31
34
|
</nav>
|
|
32
35
|
|
|
33
36
|
<div id="main">
|
|
@@ -45,7 +48,9 @@
|
|
|
45
48
|
<header>
|
|
46
49
|
|
|
47
50
|
<h2>
|
|
48
|
-
|
|
51
|
+
|
|
52
|
+
WWebApi
|
|
53
|
+
|
|
49
54
|
</h2>
|
|
50
55
|
|
|
51
56
|
|
|
@@ -67,6 +72,10 @@
|
|
|
67
72
|
|
|
68
73
|
|
|
69
74
|
<dl class="details">
|
|
75
|
+
|
|
76
|
+
<dt class="tag-description">Description:</dt>
|
|
77
|
+
<dd class="tag-description"><ul class="dummy"><li><p>基於hapi之API伺服器</p></li></ul></dd>
|
|
78
|
+
|
|
70
79
|
|
|
71
80
|
|
|
72
81
|
<dt class="tag-source">Source:</dt>
|
|
@@ -110,26 +119,20 @@
|
|
|
110
119
|
|
|
111
120
|
|
|
112
121
|
|
|
113
|
-
<div class="description usertext">
|
|
114
|
-
<p>基於hapi之API伺服器</p>
|
|
115
|
-
</div>
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
122
|
|
|
120
123
|
|
|
121
124
|
|
|
122
125
|
|
|
123
126
|
|
|
124
127
|
|
|
125
|
-
<h5>Example</h5>
|
|
128
|
+
<h5 class="h5-examples">Example</h5>
|
|
126
129
|
|
|
127
130
|
<pre class="prettyprint"><code>import WOrm from 'w-orm-mongodb/src/WOrmMongodb.mjs' //自行選擇引用ORM, 使用Mongodb測試
|
|
128
131
|
getUserById: null,
|
|
129
132
|
bCheckUser: false,
|
|
130
133
|
bExcludeWhenNotAdmin: false,
|
|
131
134
|
serverPort: 11005,
|
|
132
135
|
subfolder: '', //mpai
|
|
133
136
|
webName: {
|
|
134
137
|
'eng': 'API Service',
|
|
135
138
|
'cht': 'API管理系統'
|
|
136
139
|
},
|
|
137
140
|
console.log(err)
|
|
138
141
|
|
|
139
142
|
|
|
140
143
|
|
|
141
144
|
|
|
142
|
-
<h5>Parameters:</h5>
|
|
145
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
143
146
|
|
|
144
147
|
|
|
145
148
|
<table class="params">
|
|
@@ -167,6 +170,7 @@
|
|
|
167
170
|
<span class="param-type">function</span>
|
|
168
171
|
|
|
169
172
|
|
|
173
|
+
|
|
170
174
|
|
|
171
175
|
</td>
|
|
172
176
|
|
|
@@ -202,6 +206,7 @@
|
|
|
202
206
|
<span class="param-type">String</span>
|
|
203
207
|
|
|
204
208
|
|
|
209
|
+
|
|
205
210
|
|
|
206
211
|
</td>
|
|
207
212
|
|
|
@@ -237,6 +242,7 @@
|
|
|
237
242
|
<span class="param-type">String</span>
|
|
238
243
|
|
|
239
244
|
|
|
245
|
+
|
|
240
246
|
|
|
241
247
|
</td>
|
|
242
248
|
|
|
@@ -272,6 +278,7 @@
|
|
|
272
278
|
<span class="param-type">Object</span>
|
|
273
279
|
|
|
274
280
|
|
|
281
|
+
|
|
275
282
|
|
|
276
283
|
</td>
|
|
277
284
|
|
|
@@ -334,6 +341,7 @@
|
|
|
334
341
|
<span class="param-type">Integer</span>
|
|
335
342
|
|
|
336
343
|
|
|
344
|
+
|
|
337
345
|
|
|
338
346
|
</td>
|
|
339
347
|
|
|
@@ -373,6 +381,7 @@
|
|
|
373
381
|
<span class="param-type">function</span>
|
|
374
382
|
|
|
375
383
|
|
|
384
|
+
|
|
376
385
|
|
|
377
386
|
</td>
|
|
378
387
|
|
|
@@ -412,6 +421,7 @@
|
|
|
412
421
|
<span class="param-type">Boolean</span>
|
|
413
422
|
|
|
414
423
|
|
|
424
|
+
|
|
415
425
|
|
|
416
426
|
</td>
|
|
417
427
|
|
|
@@ -451,6 +461,7 @@
|
|
|
451
461
|
<span class="param-type">Boolean</span>
|
|
452
462
|
|
|
453
463
|
|
|
464
|
+
|
|
454
465
|
|
|
455
466
|
</td>
|
|
456
467
|
|
|
@@ -490,6 +501,7 @@
|
|
|
490
501
|
<span class="param-type">Object</span>
|
|
491
502
|
|
|
492
503
|
|
|
504
|
+
|
|
493
505
|
|
|
494
506
|
</td>
|
|
495
507
|
|
|
@@ -529,6 +541,7 @@
|
|
|
529
541
|
<span class="param-type">Object</span>
|
|
530
542
|
|
|
531
543
|
|
|
544
|
+
|
|
532
545
|
|
|
533
546
|
</td>
|
|
534
547
|
|
|
@@ -568,6 +581,7 @@
|
|
|
568
581
|
<span class="param-type">String</span>
|
|
569
582
|
|
|
570
583
|
|
|
584
|
+
|
|
571
585
|
|
|
572
586
|
</td>
|
|
573
587
|
|
|
@@ -607,6 +621,7 @@
|
|
|
607
621
|
<span class="param-type">String</span>
|
|
608
622
|
|
|
609
623
|
|
|
624
|
+
|
|
610
625
|
|
|
611
626
|
</td>
|
|
612
627
|
|
|
@@ -659,7 +674,7 @@
|
|
|
659
674
|
|
|
660
675
|
|
|
661
676
|
|
|
662
|
-
<h5>Returns:</h5>
|
|
677
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
663
678
|
|
|
664
679
|
|
|
665
680
|
<div class="param-desc">
|
|
@@ -677,6 +692,7 @@
|
|
|
677
692
|
<span class="param-type">Object</span>
|
|
678
693
|
|
|
679
694
|
|
|
695
|
+
|
|
680
696
|
</dd>
|
|
681
697
|
</dl>
|
|
682
698
|
|
|
@@ -721,7 +737,7 @@
|
|
|
721
737
|
<br class="clear">
|
|
722
738
|
|
|
723
739
|
<footer>
|
|
724
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc
|
|
740
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Apr 02 2023 18:21:09 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
725
741
|
</footer>
|
|
726
742
|
|
|
727
743
|
<script>prettyPrint();</script>
|
package/docs/WWebApi.mjs.html
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
<link type="text/css" rel="stylesheet" href="styles/prettify.css">
|
|
15
15
|
<link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
|
|
16
16
|
<script src="scripts/nav.js" defer></script>
|
|
17
|
+
|
|
17
18
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
18
19
|
</head>
|
|
19
20
|
<body>
|
|
@@ -27,7 +28,9 @@
|
|
|
27
28
|
|
|
28
29
|
<nav >
|
|
29
30
|
|
|
31
|
+
|
|
30
32
|
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="WWebApi.html">WWebApi</a></li></ul>
|
|
33
|
+
|
|
31
34
|
</nav>
|
|
32
35
|
|
|
33
36
|
<div id="main">
|
|
@@ -438,7 +441,7 @@ export default WWebApi
|
|
|
438
441
|
<br class="clear">
|
|
439
442
|
|
|
440
443
|
<footer>
|
|
441
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc
|
|
444
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Apr 02 2023 18:21:09 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
442
445
|
</footer>
|
|
443
446
|
|
|
444
447
|
<script>prettyPrint();</script>
|
package/docs/index.html
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
<link type="text/css" rel="stylesheet" href="styles/prettify.css">
|
|
15
15
|
<link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
|
|
16
16
|
<script src="scripts/nav.js" defer></script>
|
|
17
|
+
|
|
17
18
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
18
19
|
</head>
|
|
19
20
|
<body>
|
|
@@ -27,7 +28,9 @@
|
|
|
27
28
|
|
|
28
29
|
<nav >
|
|
29
30
|
|
|
31
|
+
|
|
30
32
|
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="WWebApi.html">WWebApi</a></li></ul>
|
|
33
|
+
|
|
31
34
|
</nav>
|
|
32
35
|
|
|
33
36
|
<div id="main">
|
|
@@ -68,7 +71,7 @@
|
|
|
68
71
|
<br class="clear">
|
|
69
72
|
|
|
70
73
|
<footer>
|
|
71
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc
|
|
74
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Apr 02 2023 18:21:09 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
72
75
|
</footer>
|
|
73
76
|
|
|
74
77
|
<script>prettyPrint();</script>
|
package/docs/scripts/collapse.js
CHANGED
|
@@ -1,15 +1,34 @@
|
|
|
1
1
|
function hideAllButCurrent(){
|
|
2
2
|
//by default all submenut items are hidden
|
|
3
3
|
//but we need to rehide them for search
|
|
4
|
+
document.querySelectorAll("nav > ul").forEach(function(parent) {
|
|
5
|
+
if (parent.className.indexOf("collapse_top") !== -1) {
|
|
6
|
+
parent.style.display = "none";
|
|
7
|
+
}
|
|
8
|
+
});
|
|
4
9
|
document.querySelectorAll("nav > ul > li > ul li").forEach(function(parent) {
|
|
5
10
|
parent.style.display = "none";
|
|
6
11
|
});
|
|
12
|
+
document.querySelectorAll("nav > h3").forEach(function(section) {
|
|
13
|
+
if (section.className.indexOf("collapsed_header") !== -1) {
|
|
14
|
+
section.addEventListener("click", function(){
|
|
15
|
+
if (section.nextSibling.style.display === "none") {
|
|
16
|
+
section.nextSibling.style.display = "block";
|
|
17
|
+
} else {
|
|
18
|
+
section.nextSibling.style.display = "none";
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
});
|
|
7
23
|
|
|
8
24
|
//only current page (if it exists) should be opened
|
|
9
25
|
var file = window.location.pathname.split("/").pop().replace(/\.html/, '');
|
|
10
26
|
document.querySelectorAll("nav > ul > li > a").forEach(function(parent) {
|
|
11
27
|
var href = parent.attributes.href.value.replace(/\.html/, '');
|
|
12
28
|
if (file === href) {
|
|
29
|
+
if (parent.parentNode.parentNode.className.indexOf("collapse_top") !== -1) {
|
|
30
|
+
parent.parentNode.parentNode.style.display = "block";
|
|
31
|
+
}
|
|
13
32
|
parent.parentNode.querySelectorAll("ul li").forEach(function(elem) {
|
|
14
33
|
elem.style.display = "block";
|
|
15
34
|
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
if (typeof fetch === 'function') {
|
|
2
|
+
const init = () => {
|
|
3
|
+
if (typeof scrollToNavItem !== 'function') return false
|
|
4
|
+
scrollToNavItem()
|
|
5
|
+
// hideAllButCurrent not always loaded
|
|
6
|
+
if (typeof hideAllButCurrent === 'function') hideAllButCurrent()
|
|
7
|
+
return true
|
|
8
|
+
}
|
|
9
|
+
fetch('./nav.inc.html')
|
|
10
|
+
.then(response => response.ok ? response.text() : `${response.url} => ${response.status} ${response.statusText}`)
|
|
11
|
+
.then(body => {
|
|
12
|
+
document.querySelector('nav').innerHTML += body
|
|
13
|
+
// nav.js should be quicker to load than nav.inc.html, a fallback just in case
|
|
14
|
+
return init()
|
|
15
|
+
})
|
|
16
|
+
.then(done => {
|
|
17
|
+
if (done) return
|
|
18
|
+
let i = 0
|
|
19
|
+
;(function waitUntilNavJs () {
|
|
20
|
+
if (init()) return
|
|
21
|
+
if (i++ < 100) return setTimeout(waitUntilNavJs, 300)
|
|
22
|
+
console.error(Error('nav.js not loaded after 30s waiting for it'))
|
|
23
|
+
})()
|
|
24
|
+
})
|
|
25
|
+
.catch(error => console.error(error))
|
|
26
|
+
} else {
|
|
27
|
+
console.error(Error('Browser too old to display commonNav (remove commonNav docdash option)'))
|
|
28
|
+
}
|
package/docs/scripts/search.js
CHANGED
|
@@ -33,6 +33,9 @@ document.getElementById("nav-search").addEventListener("keyup", function(event)
|
|
|
33
33
|
document.querySelectorAll("nav > ul > li").forEach(function(elem) {
|
|
34
34
|
elem.style.display = "block";
|
|
35
35
|
});
|
|
36
|
+
document.querySelectorAll("nav > ul").forEach(function(elem) {
|
|
37
|
+
elem.style.display = "block";
|
|
38
|
+
});
|
|
36
39
|
//hide all results
|
|
37
40
|
document.querySelectorAll("nav > ul > li > ul li").forEach(function(elem) {
|
|
38
41
|
elem.style.display = "none";
|
|
@@ -79,5 +82,18 @@ document.getElementById("nav-search").addEventListener("keyup", function(event)
|
|
|
79
82
|
parent.style.display = "none";
|
|
80
83
|
}
|
|
81
84
|
});
|
|
85
|
+
document.querySelectorAll("nav > ul.collapse_top").forEach(function(parent) {
|
|
86
|
+
var countVisible = 0;
|
|
87
|
+
parent.querySelectorAll("li").forEach(function(elem) {
|
|
88
|
+
if (elem.style.display !== "none") {
|
|
89
|
+
countVisible++;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
if (countVisible == 0) {
|
|
94
|
+
//has no child at all and does not contain text
|
|
95
|
+
parent.style.display = "none";
|
|
96
|
+
}
|
|
97
|
+
});
|
|
82
98
|
}
|
|
83
99
|
});
|
package/docs/styles/jsdoc.css
CHANGED
|
@@ -162,12 +162,19 @@ h6 {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
tt, code, kbd, samp {
|
|
165
|
+
tt, code, kbd, samp, pre {
|
|
166
166
|
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
|
167
167
|
background: #f4f4f4;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
tt, code, kbd, samp{
|
|
168
171
|
padding: 1px 5px;
|
|
169
172
|
}
|
|
170
173
|
|
|
174
|
+
pre {
|
|
175
|
+
padding-bottom: 1em;
|
|
176
|
+
}
|
|
177
|
+
|
|
171
178
|
.class-description {
|
|
172
179
|
font-size: 130%;
|
|
173
180
|
line-height: 140%;
|
|
@@ -242,6 +249,10 @@ nav h3 {
|
|
|
242
249
|
color: #000;
|
|
243
250
|
}
|
|
244
251
|
|
|
252
|
+
nav h3.collapsed_header {
|
|
253
|
+
cursor: pointer;
|
|
254
|
+
}
|
|
255
|
+
|
|
245
256
|
nav ul {
|
|
246
257
|
font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
|
|
247
258
|
font-size: 100%;
|
|
@@ -762,4 +773,4 @@ html[data-search-mode] .level-hide {
|
|
|
762
773
|
font-weight: 300;
|
|
763
774
|
font-style: normal;
|
|
764
775
|
|
|
765
|
-
}
|
|
776
|
+
}
|
package/docs/styles/prettify.css
CHANGED
package/g.getSettings.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,41 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "w-web-api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"main": "dist/w-web-api.umd.js",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@mdi/js": "^
|
|
7
|
-
"axios": "^
|
|
6
|
+
"@mdi/js": "^7.2.96",
|
|
7
|
+
"axios": "^1.3.4",
|
|
8
8
|
"lodash": "^4.17.21",
|
|
9
|
-
"showdown": "^2.0
|
|
10
|
-
"w-component-vue": "^2.2.
|
|
11
|
-
"w-data-collector": "^1.0.
|
|
12
|
-
"w-serv-hapi": "^1.0.
|
|
13
|
-
"w-serv-orm": "^1.0.
|
|
14
|
-
"wsemi": "^1.
|
|
9
|
+
"showdown": "^2.1.0",
|
|
10
|
+
"w-component-vue": "^2.2.76",
|
|
11
|
+
"w-data-collector": "^1.0.19",
|
|
12
|
+
"w-serv-hapi": "^1.0.11",
|
|
13
|
+
"w-serv-orm": "^1.0.6",
|
|
14
|
+
"wsemi": "^1.7.2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@vue/cli-plugin-babel": "^
|
|
18
|
-
"@vue/cli-plugin-eslint": "^
|
|
19
|
-
"@vue/cli-service": "^
|
|
20
|
-
"
|
|
21
|
-
"eslint": "^
|
|
22
|
-
"eslint-config-standard": "^16.0.2",
|
|
17
|
+
"@vue/cli-plugin-babel": "^5.0.8",
|
|
18
|
+
"@vue/cli-plugin-eslint": "^5.0.8",
|
|
19
|
+
"@vue/cli-service": "^5.0.8",
|
|
20
|
+
"eslint": "^8.37.0",
|
|
21
|
+
"eslint-config-standard": "^17.0.0",
|
|
23
22
|
"eslint-friendly-formatter": "^4.0.1",
|
|
24
|
-
"eslint-
|
|
25
|
-
"eslint-plugin-import": "^2.22.1",
|
|
23
|
+
"eslint-plugin-import": "^2.27.5",
|
|
26
24
|
"eslint-plugin-node": "^11.1.0",
|
|
27
|
-
"eslint-plugin-promise": "^
|
|
25
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
28
26
|
"eslint-plugin-standard": "^4.1.0",
|
|
29
|
-
"eslint-plugin-vue": "^
|
|
30
|
-
"sass": "^1.
|
|
31
|
-
"sass-loader": "^
|
|
27
|
+
"eslint-plugin-vue": "^9.10.0",
|
|
28
|
+
"sass": "^1.60.0",
|
|
29
|
+
"sass-loader": "^13.2.2",
|
|
32
30
|
"vue": "^2.6.14",
|
|
33
|
-
"vue-cli-plugin-vuetify": "^2.
|
|
34
|
-
"vuetify": "^2.6.
|
|
35
|
-
"vuetify-loader": "^1.
|
|
31
|
+
"vue-cli-plugin-vuetify": "^2.5.8",
|
|
32
|
+
"vuetify": "^2.6.14",
|
|
33
|
+
"vuetify-loader": "^1.9.2",
|
|
36
34
|
"vuex": "^3.6.2",
|
|
37
|
-
"w-orm-mongodb": "^1.1.
|
|
38
|
-
"w-package-tools": "^1.0.
|
|
35
|
+
"w-orm-mongodb": "^1.1.29",
|
|
36
|
+
"w-package-tools": "^1.0.69"
|
|
39
37
|
},
|
|
40
38
|
"scripts": {
|
|
41
39
|
"serve": "vue-cli-service serve",
|
package/tableTags-web-api.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"apis":"
|
|
1
|
+
{"apis":"zv3kI4"}
|
package/dist/js/app.0c5f01fa.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(function(t){function e(e){for(var n,o,p=e[0],s=e[1],d=e[2],l=0,m=[];l<p.length;l++)o=p[l],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&m.push(r[o][0]),r[o]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(t[n]=s[n]);c&&c(e);while(m.length)m.shift()();return i.push.apply(i,d||[]),a()}function a(){for(var t,e=0;e<i.length;e++){for(var a=i[e],n=!0,p=1;p<a.length;p++){var s=a[p];0!==r[s]&&(n=!1)}n&&(i.splice(e--,1),t=o(o.s=a[0]))}return t}var n={},r={app:0},i=[];function o(e){if(n[e])return n[e].exports;var a=n[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,o),a.l=!0,a.exports}o.m=t,o.c=n,o.d=function(t,e,a){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(a,n,function(e){return t[e]}.bind(null,n));return a},o.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="/mapi/";var p=window["webpackJsonp"]=window["webpackJsonp"]||[],s=p.push.bind(p);p.push=e,p=p.slice();for(var d=0;d<p.length;d++)e(p[d]);var c=s;i.push([0,"chunk-vendors"]),a()})({0:function(t,e,a){t.exports=a("56d7")},"034f":function(t,e,a){"use strict";a("85ec")},"0cec":function(t,e,a){"use strict";a("a4c7")},1:function(t,e){},"16cc":function(t,e,a){"use strict";a("8096")},"56d7":function(t,e,a){"use strict";a.r(e);var n={};a.r(n),a.d(n,"UpdateWebInfor",(function(){return yt})),a.d(n,"UpdateLang",(function(){return St})),a.d(n,"UpdateKpText",(function(){return Tt})),a.d(n,"UpdateConnState",(function(){return It})),a.d(n,"UpdateSyncState",(function(){return kt})),a.d(n,"UpdateLoading",(function(){return Ct})),a.d(n,"UpdateViewState",(function(){return wt})),a.d(n,"UpdateTableData",(function(){return Et})),a.d(n,"UpdateData",(function(){return At})),a.d(n,"UpdateHeightApp",(function(){return Ot})),a.d(n,"UpdateHeightAppEff",(function(){return Bt})),a.d(n,"UpdateHeightToolbar",(function(){return jt})),a.d(n,"UpdateMenu",(function(){return xt})),a.d(n,"UpdateUserToken",(function(){return Gt})),a.d(n,"UpdateUserSelf",(function(){return Nt}));var r={};a.r(r);var i={};a.r(i);var o={};a.r(o),a.d(o,"at",(function(){return _e["a"]}));var p=a("9b02"),s=a.n(p),d=a("2b0e"),c=a("e7c6"),l=a("ded4"),m=a("36ac"),u=a("7548"),f=a("8ce7"),g=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"domresize",rawName:"v-domresize"}],on:{domresize:t.resize}},[a("transition",{attrs:{"enter-active-class":"fade-enter-active","leave-active-class":"fade-leave-active"}},[t.ready?a("Layout"):t._e()],1)],1)},h=[],v=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{height:"100vh",background:"#f5f5f5"}},[a("div",{style:"height:"+t.heightToolbar+"px; padding:0px 10px; display:flex; align-items:center; background:#fff; border-bottom:1px solid #ccc;"},[t._e(),a("div",{staticStyle:{"padding-left":"5px","white-space":"nowrap"}},[a("div",{staticStyle:{display:"flex","align-items":"center"}},[t.webLogo?a("div",{staticStyle:{"padding-right":"10px",display:"flex","align-items":"center"}},[a("img",{staticStyle:{width:"36px",height:"36px"},attrs:{src:t.webLogo}})]):t._e(),a("div",[a("div",{staticStyle:{"font-size":"1.2rem",color:"#000"}},[t._v(t._s(t.webName))]),a("div",{staticStyle:{"font-size":"0.8rem",color:"#666"}},[t._v(t._s(t.$t("webDescription")))])])])]),a("div",{staticStyle:{width:"100%"}}),a("div",{staticStyle:{"padding-right":"10px","white-space":"nowrap"}},[a("WTextSelect",{attrs:{items:t.tgLangs},on:{input:t.changeLang},model:{value:t.tgLangSelect,callback:function(e){t.tgLangSelect=e},expression:"tgLangSelect"}})],1)],1),a("div",{style:"height:calc( 100% - "+t.heightToolbar+"px );"},[a("LayoutContent")],1)])},b=[],y=a("c97c"),S=a("ea3a"),T=a("d4e6"),I=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{height:"100%"}},[t.syncState?[a("LayoutContentList")]:a("div",{staticStyle:{padding:"20px","font-size":"0.9rem"}},[t._v(" "+t._s(t.$t("waitingData"))+" ")])],2)},k=[],C=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{height:"100%"},attrs:{changeApis:t.changeApis}},[t.hasApis?a("div",{staticStyle:{display:"flex",height:"100%"}},[a("div",{directives:[{name:"domresize",rawName:"v-domresize"}],staticStyle:{"min-width":"400px",height:"100%",color:"#444",background:"#fff"},on:{domresize:t.resizeTree}},[a("WTree",{attrs:{viewHeightMax:t.heightTree,data:t.apisTree,iconHeight:t.lineHeightTree,defItemHeight:t.lineHeightTree,activable:!0,itemActive:t.apiActive,funActive:t.funActive,itemTextColorActive:"#000",itemBackgroundColorActive:"rgba(100,100,100,0.15)"},scopedSlots:t._u([{key:"item",fn:function(e){return["node"!==e.data.type?a("div",{style:"display:flex; align-items:center; min-height:"+t.lineHeightTree+"px;"},[t._v(" "+t._s(e.data.key)+" ")]):a("div",{style:"display:flex; align-items:center; min-height:"+t.lineHeightTree+"px; cursor:pointer;",on:{click:function(a){t.ckItem(t.getItemByKey(e.data.text))}}},[a("div",{staticStyle:{"padding-right":"5px"}},[a("div",{style:"padding:0px 6px; font-size:0.7rem; border-radius:10px; border:1px solid #ddd; color:#fff; background:"+t.getMethodColorByKey(e.data.text)+";"},[t._v(" "+t._s(t.getMethodByKey(e.data.text))+" ")])]),a("div",[t._v(" "+t._s(t.$ui.gv(t.getItemByKey(e.data.text),"name"))+" ")])])]}}],null,!1,901240009)})],1),a("div",{staticStyle:{height:"100%","border-right":"1px solid #ddd"}}),t.apiSelect?a("div",{staticStyle:{width:"100%",height:"100%","overflow-y":"auto"}},[a("div",{staticStyle:{padding:"15px 20px 10px 10px"}},[a("div",{staticStyle:{padding:"5px"}},[a("div",{staticStyle:{padding:"10px","border-radius":"5px",border:"1px solid #ddd",background:"#fff",display:"flex","align-items":"center"}},[a("div",{staticStyle:{"padding-right":"5px"}},[a("div",{style:"padding:0px 6px; font-size:0.7rem; border-radius:10px; border:1px solid #ddd; color:#fff; background:"+t.getMethodColor(t.apiSelect)+";"},[t._v(" "+t._s(t.getMethod(t.apiSelect))+" ")])]),a("div",{staticStyle:{"font-size":"0.8rem"}},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,"url"))+" ")])])]),a("div",{staticStyle:{padding:"10px"}},[a("div",{staticStyle:{color:"#485ed5"}},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,"name"))+" ")]),a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,"description"))+" ")])]),a("div",{staticStyle:{padding:"10px"}},[a("div",{staticClass:"bk"},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("tokens"))+" ")]),a("div",{staticClass:"bk-item"},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,"tokens"))+" ")])]),a("div",{staticClass:"bk"},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("version"))+" ")]),a("div",{staticClass:"bk-item"},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,"version"))+" ")])]),a("div",{staticClass:"bk"},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("levels"))+" ")]),a("div",{staticClass:"bk-item"},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,""))+" ")])]),a("div",{staticClass:"bk"},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("keywords"))+" ")]),a("div",{staticClass:"bk-item"},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,""))+" ")])]),a("div",{staticClass:"bk"},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("state"))+" ")]),a("div",{staticClass:"bk-item"},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,""))+" ")])]),a("div",{staticClass:"bk"},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("timeCreate"))+" ")]),a("div",{staticClass:"bk-item"},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,"timeCreate",t.getDay))+" ")])]),a("div",{staticClass:"bk"},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("timeUpdate"))+" ")]),a("div",{staticClass:"bk-item"},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,"timeUpdate",t.getDay))+" ")])]),a("div",{staticClass:"bk"},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("creator"))+" ")]),a("div",{staticClass:"bk-item"},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,"creator"))+" ")])]),a("div",{staticClass:"bk"},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("dataSource"))+" ")]),a("div",{staticClass:"bk-item"},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,"dataSource"))+" ")])]),a("div",{staticClass:"bk"},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("isActive"))+" ")]),a("div",{staticClass:"bk-item"},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,"isActive"))+" ")])])]),a("div",{staticStyle:{padding:"10px"}},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("mdInputParams"))+" ")]),a("div",{staticClass:"bk-item",staticStyle:{padding:"10px"}},[a("MdPanel",{attrs:{md:t.$ui.gv(t.apiSelect,"mdInputParams")}})],1)]),a("div",{staticStyle:{padding:"10px"}},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("inputExample"))+" ")]),a("div",{staticClass:"bk-item",staticStyle:{padding:"10px"}},[t._v(" "+t._s(t.$ui.gv(t.apiSelect,"inputExample"))+" ")])]),a("div",{staticStyle:{padding:"10px"}},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("mdOutputParams"))+" ")]),a("div",{staticClass:"bk-item",staticStyle:{padding:"10px"}},[a("MdPanel",{attrs:{md:t.$ui.gv(t.apiSelect,"mdOutputParams")}})],1)]),a("div",{staticStyle:{padding:"10px"}},[a("div",{staticClass:"bk-title"},[t._v(" "+t._s(t.$t("outputExample"))+" ")]),a("div",{staticStyle:{"padding-top":"10px"}},[a("div",{staticStyle:{"padding-left":"10px","margin-bottom":"-1px"}},[a("WGroupRadio",{attrs:{items:t.optputMenuItems,value:t.optputMenuItemSelect,group:!0,"group-border-radius-style":{top:!0},"group-shift":7,"border-radius":20,"border-color":"#ddd","border-color-hover":"#dadada","border-color-active":"orange lighten-2","margin-style":{}},on:{input:t.changeOptputMenuItemSelect}})],1),a("div",{staticStyle:{border:"1px solid #ddd",background:"#fff"}},["tree"===t.optputMenuItemSelectId?a("div",{},[a("WJsonView",{staticStyle:{width:"100%"},attrs:{viewHeightMax:null,data:t.getOutputJsonObj(t.apiSelect)}})],1):t._e(),"raw"===t.optputMenuItemSelectId?a("div",{staticStyle:{padding:"10px",color:"#555","font-size":"0.85rem"}},[a("pre",[t._v(t._s(t.getOutputJson(t.apiSelect)))])]):t._e()])])])])]):a("div",{staticStyle:{padding:"20px","font-size":"0.9rem"}},[t._v(" "+t._s(t.$t("noSelectApi"))+" ")])]):a("div",{staticStyle:{padding:"20px","font-size":"0.9rem"}},[t._v(" "+t._s(t.$t("waitingData"))+" ")])])},w=[],E=a("0f5c"),A=a.n(E),O=a("c641"),B=a.n(O),j=a("d623"),x=a.n(j),G=a("66c7"),N=a.n(G),R=a("2769"),U=a.n(R),L=a("0644"),_=a.n(L),$=a("ec85"),P=a("524d"),D=a("73cf"),M=a("3b32"),H=a("1b73"),z=a("d502"),K=a("9dd0"),W=a("c0ce"),J=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"md",domProps:{innerHTML:t._s(t.mdh)}})])},V=[],X=a("339e"),q=a.n(X),F={components:{},props:{md:{type:String,default:""}},data:function(){return{}},computed:{mdh:function(){var t=this,e=new q.a.Converter;e.setOption("tables",!0);var a=e.makeHtml(t.md);return a}},methods:{}},Q=F,Y=(a("16cc"),a("2877")),Z=Object(Y["a"])(Q,J,V,!1,null,"6700278b",null),tt=Z.exports,et={components:{WGroupRadio:z["a"],WTree:K["a"],WJsonView:W["a"],MdPanel:tt},props:{},data:function(){return{heightTree:2,lineHeightTree:38,apisTree:[],kpApisTree:{},apiActive:null,apiSelect:null,kpColorMethod:{GET:"#7c2",POST:"#68f",PUT:"#f82",DEL:"#f26"},optputMenuItemSelectId:"tree"}},computed:{apis:function(){return s()(this,"$store.state.apis")},changeApis:function(){var t=this;return t.genTree(t.apis),""},hasApis:function(){return x()(this.apisTree)>0},optputMenuItems:function(){var t=this,e=[{id:"tree",text:t.$t("outputMenuTree"),icon:"mdi-vanity-light"},{id:"raw",text:t.$t("outputMenuRaw"),icon:"mdi-lan"}];return e},optputMenuItemSelect:function(){var t=this,e=U()(t.optputMenuItems,{id:t.optputMenuItemSelectId});return e}},methods:{resizeTree:function(t){var e=this,a=s()(t,"snew.clientHeight");e.heightTree=a},genTree:function(){var t=this;t.apisTree=[],t.kpApisTree={};var e=_()(t.apis),a={},n={};B()(e,(function(t){var e=t.id,r="".concat(t.levels,".").concat(t.name);n[e]=t,Object($["a"])(s()(a,r))||A()(a,r,e)}));var r=Object(H["a"])(a,{bindRoot:"全部"}),i=s()(e,0,null);t.apiSelect=i,t.apisTree=r,t.kpApisTree=n},getItemByKey:function(t){var e=this,a=e.kpApisTree[t];return a},getMethod:function(t){var e=s()(t,"method","").toUpperCase();return e},getMethodByKey:function(t){var e=this,a=e.getItemByKey(t),n=s()(a,"method","").toUpperCase();return n},getMethodColor:function(t){var e=this,a=e.getMethod(t),n=s()(e.kpColorMethod,a,"#888");return n},getMethodColorByKey:function(t){var e=this,a=e.getMethodByKey(t),n=s()(e.kpColorMethod,a,"#888");return n},getDay:function(t){return Object(M["a"])(t)},getOutputJson:function(t){var e=s()(t,"outputExample","");return e=N()(e),e},getOutputJsonObj:function(t){var e=this.getOutputJson(t),a=Object(D["a"])(e);return a},funActive:function(t){var e=this,a=!Array.isArray(t.item.children);if(a&&!Object(P["a"])(e.apiActive)){var n=t.item.id;e.apiActive={id:n}}return a},changeOptputMenuItemSelect:function(t){var e=this;e.optputMenuItemSelectId=t.id},ckItem:function(t){var e=this;e.apiSelect=_()(t)}}},at=et,nt=(a("0cec"),Object(Y["a"])(at,C,w,!1,null,"382b8964",null)),rt=nt.exports,it={components:{LayoutContentList:rt},props:{},data:function(){return{}},computed:{syncState:function(){return s()(this,"$store.state.syncState")}},methods:{}},ot=it,pt=Object(Y["a"])(ot,I,k,!1,null,"9b2333d2",null),st=pt.exports,dt={components:{WButtonCircle:S["a"],WTextSelect:T["a"],LayoutContent:st},props:{},data:function(){return{drawer:!1,tgLangs:[{id:"cht",text:"中文"},{id:"eng",text:"English"}],tgLangSelect:{id:"cht",text:"中文"}}},beforeMount:function(){var t=this;t.$ui.setLang(t.tgLangSelect.id)},computed:{viewState:function(){return s()(this,"$store.state.viewState")},heightToolbar:function(){return s()(this,"$store.state.heightToolbar")},webName:{get:function(){var t=this,e=t.$t("webName");return Object(y["a"])(e)||(e=t.$t("waitingData")),document.title=e,e}},webLogo:function(){return s()(this,"$store.state.webInfor.webLogo")}},methods:{changeLang:function(t){var e=this,a=t.id;e.$ui.setLang(a)}}},ct=dt,lt=Object(Y["a"])(ct,v,b,!1,null,"dd5199a0",null),mt=lt.exports,ut={components:{Layout:mt},data:function(){return{ready:!0}},mounted:function(){var t=this;t.$ui.setVo(t)},methods:{resize:function(t){var e=this;e.$ui.syncHeight()}}},ft=ut,gt=(a("034f"),Object(Y["a"])(ft,g,h,!1,null,null,null)),ht=gt.exports,vt=a("d7a6"),bt=a("9523"),yt="UpdateWebInfor",St="UpdateLang",Tt="UpdateKpText",It="UpdateConnState",kt="UpdateSyncState",Ct="UpdateLoading",wt="UpdateViewState",Et="UpdateTableData",At="UpdateData",Ot="UpdateHeightApp",Bt="UpdateHeightAppEff",jt="UpdateHeightToolbar",xt="UpdateMenu",Gt="UpdateUserToken",Nt="UpdateUserSelf",Rt=a("dd61"),Ut=a("ec69"),Lt=a("5cff"),_t=a("80d1"),$t=a("7092"),Pt=a("e096"),Dt=a("7cc7");function Mt(t){return t.indexOf("\\\\")>=0?"```"+t+"```":t}var Ht=Mt;function zt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function Kt(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?zt(Object(a),!0).forEach((function(e){bt(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):zt(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var Wt="apis",Jt="APIs",Vt="APIs",Xt={id:{pk:!0,name:"主鍵",type:"STRING"},order:{name:"順序",type:"INTEGER"},name:{name:"名稱",type:"STRING"},description:{name:"說明",type:"TEXT"},url:{name:"網址",type:"STRING"},method:{name:"方法",type:"STRING"},version:{name:"版本",type:"STRING"},group:{name:"群組",type:"STRING"},levels:{name:"階層群組",type:"STRING"},keywords:{name:"關鍵字",type:"STRING"},state:{name:"狀態",type:"STRING"},creator:{name:"創建者",type:"STRING"},dataSource:{name:"資料提供者",type:"STRING"},tokens:{name:"金鑰",type:"TEXT"},mdInputParams:{name:"輸入參數md說明",type:"STRING"},inputExample:{name:"輸入範例",type:"STRING"},mdOutputParams:{name:"輸出資料md說明",type:"STRING"},outputExample:{name:"輸出範例",type:"STRING"},timeCreate:{name:"創建時間",type:"STRING"},timeUpdate:{name:"更新時間",type:"STRING"},isActive:{name:"是否有效",type:"STRING"}},qt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object(_t["a"])(t,Ut(Xt));return e.id="".concat(Object(Dt["a"])(),"-").concat(Object(Lt["a"])()),e.timeCreate=Object(Pt["a"])(),e.timeUpdate=e.timeCreate,e.isActive="y",e},Ft=function(){var t=Rt([{id:"id-for-apis-sys-1",name:"取得API清單",description:"API管理中心取得API清單資訊",url:"http://localhost:11005/getAPIsList",method:"get",version:"v1",group:"全部",levels:"API",keywords:"API;center",state:"ok",creator:"apis-system",dataSource:"apis-data",mdInputParams:"### GET網址參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '},{id:"id-for-apis-pets-1",name:"取得寵物清單",description:"寵物管理中心取得寵物清單資訊",url:"http://localhost:11005/getPetsList",method:"get",version:"v1",group:"寵物",levels:"寵物",keywords:"pets",state:"ok",creator:"pets-system",dataSource:"pets-data",mdInputParams:"### GET網址參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '},{id:"id-for-apis-pets-dogs-1",name:"取得狗狗清單",description:"取得狗狗清單資訊",url:"http://localhost:11005/getDogsList",method:"get",version:"v1",group:"寵物",levels:"寵物.狗狗",keywords:"pets;dogs",state:"ok",creator:"pets-system",dataSource:"pets-data",mdInputParams:"### GET網址參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '},{id:"id-for-apis-pets-dogs-2",name:"新增狗狗資訊",description:"新增狗狗資訊",url:"http://localhost:11005/addDog",method:"post",version:"v1",group:"寵物",levels:"寵物.狗狗",keywords:"pets;dogs",state:"ok",creator:"pets-system",dataSource:"pets-data",mdInputParams:"### POST參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '},{id:"id-for-apis-pets-dogs-3",name:"變更狗狗資訊",description:"變更狗狗資訊",url:"http://localhost:11005/updateDog",method:"put",version:"v1",group:"寵物",levels:"寵物.狗狗",keywords:"pets;dogs",state:"ok",creator:"pets-system",dataSource:"pets-data",mdInputParams:"### GET網址參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '},{id:"id-for-apis-pets-dogs-4",name:"刪除狗狗資訊",description:"刪除狗狗資訊",url:"http://localhost:11005/deleteDog",method:"del",version:"v1",group:"寵物",levels:"寵物.狗狗",keywords:"pets;dogs",state:"ok",creator:"pets-system",dataSource:"pets-data",mdInputParams:"### GET網址參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '},{id:"id-for-apis-pets-cats-1",name:"取得貓咪清單",description:"取得貓咪清單資訊",url:"http://localhost:11005/getCatsList",method:"get",version:"v1",group:"寵物",levels:"寵物.貓咪",keywords:"pets;cats",state:"ok",creator:"pets-system",dataSource:"pets-data",mdInputParams:"### GET網址參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '},{id:"id-for-apis-pets-cats-2",name:"新增貓咪資訊",description:"新增貓咪資訊",url:"http://localhost:11005/addCat",method:"post",version:"v1",group:"寵物",levels:"寵物.貓咪",keywords:"pets;cats",state:"ok",creator:"pets-system",dataSource:"pets-data",mdInputParams:"### POST參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '},{id:"id-for-apis-pets-cats-3",name:"變更貓咪資訊",description:"變更貓咪資訊",url:"http://localhost:11005/updateCat",method:"put",version:"v1",group:"寵物",levels:"寵物.貓咪",keywords:"pets;cats",state:"ok",creator:"pets-system",dataSource:"pets-data",mdInputParams:"### GET網址參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '},{id:"id-for-apis-pets-cats-4",name:"刪除貓咪資訊",description:"刪除貓咪資訊",url:"http://localhost:11005/deleteCat",method:"del",version:"v1",group:"寵物",levels:"寵物.貓咪",keywords:"pets;cats",state:"ok",creator:"pets-system",dataSource:"pets-data",mdInputParams:"### GET網址參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '},{id:"id-for-apis-vehicles-cars-1",name:"取得汽車清單",description:"取得汽車清單資訊",url:"http://localhost:11005/getcarsList",method:"get",version:"v1",group:"寵物",levels:"交通工具.汽車",keywords:"vehicles;cars",state:"ok",creator:"vehicles-system",dataSource:"vehicles-data",mdInputParams:"### GET網址參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '},{id:"id-for-apis-vehicles-cars-2",name:"新增汽車資訊",description:"新增汽車資訊",url:"http://localhost:11005/addDog",method:"post",version:"v1",group:"寵物",levels:"交通工具.汽車",keywords:"vehicles;cars",state:"ok",creator:"vehicles-system",dataSource:"vehicles-data",mdInputParams:"### POST參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '},{id:"id-for-apis-vehicles-cars-3",name:"變更汽車資訊",description:"變更汽車資訊",url:"http://localhost:11005/updateDog",method:"put",version:"v1",group:"寵物",levels:"交通工具.汽車",keywords:"vehicles;cars",state:"ok",creator:"vehicles-system",dataSource:"vehicles-data",mdInputParams:"### GET網址參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '},{id:"id-for-apis-vehicles-cars-4",name:"刪除汽車資訊",description:"刪除汽車資訊",url:"http://localhost:11005/deleteDog",method:"del",version:"v1",group:"寵物",levels:"交通工具.汽車",keywords:"vehicles;cars",state:"ok",creator:"vehicles-system",dataSource:"vehicles-data",mdInputParams:"### GET網址參數\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| token | STRING | key-for-token |\n| id | STRING | id-for-test |\n| paramA | INTEGER | 123 |\n| paramB | DOUBLE | 123.456 |\n ",inputExample:"http://localhost:11005/getAPIsList?token={token}&id={id}¶mA=123¶mB=123.456",mdOutputParams:"### 回傳數據欄位: Array of objects\n| 參數 | 型別 | 範例 |\n| -- | -- | -- |\n| id | STRING | id-for-test |\n| weight | DOUBLE | 12.3 |\n| color | STRING | #f26 |\n| paramA | INTEGER | 321 |\n| paramB | DOUBLE | 654.321 |\n| paramC | STRING | ".concat(Ht("C:\\\\pj\\abc\\filename.pdf")," |\n "),outputExample:'\n[\n {\n "id": "id-for-test-1",\n "weight": 12.3,\n "color": "#f26",\n "paramA": 101,\n "paramB": 0.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename1.pdf"\n },\n {\n "id": "id-for-test-2",\n "weight": 22.3,\n "color": "#2f6",\n "paramA": 102,\n "paramB": 1.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename2.pdf"\n },\n {\n "id": "id-for-test-3",\n "weight": 32.3,\n "color": "#26f",\n "paramA": 103,\n "paramB": 2.01,\n "paramC": "C:\\\\\\\\pj\\\\abc\\\\filename3.pdf"\n }\n]\n '}],(function(t,e){var a=qt(Kt(Kt({},t),{},{order:e}));return a.id=t.id,Object(y["a"])(t.timeUpdate)&&(a.timeUpdate=t.timeUpdate),a=Object($t["a"])(a,Ut(Xt)),a}));return console.log("已產生: {keyTable} 測試資料",t),t},Qt={keyTable:Wt,tableNameCht:Jt,tableNameEng:Vt,settings:Xt,funNew:qt,funTest:Ft},Yt=Qt,Zt=a("a623"),te={apis:Yt},ee={};for(var ae in te)ee[ae]=Object(Zt["a"])(te[ae],{useCreateStorage:!1});var ne,re=ee,ie={hostname:"".concat(window.location.origin),webInfor:{},connState:"連線中...",syncState:!1,viewState:"lists",loading:!1,settings:{leftDrawerWidth:200},heightApp:0,heightAppEff:0,heightToolbar:60,menu:{},userToken:"",userSelf:{id:"id-for-admin",name:"系統管理員",email:"admin@email.com",isAdmin:!0},lang:"cht",keyLangs:{empty:{eng:"Empty",cht:"無"},noSelectApi:{eng:"No Select",cht:"尚未選擇API"},waitingData:{eng:"Waiting data...",cht:"等待數據中..."},tokens:{eng:"Tokens",cht:"授權金鑰"},version:{eng:"Version",cht:"版本"},levels:{eng:"Levels",cht:"所屬階層"},keywords:{eng:"Keywords",cht:"關鍵字"},state:{eng:"State",cht:"狀態"},timeCreate:{eng:"Create time",cht:"創建時間"},timeUpdate:{eng:"Update time",cht:"更新時間"},creator:{eng:"Creator",cht:"API創建者"},dataSource:{eng:"Source",cht:"資料提供者"},isActive:{eng:"Active",cht:"有效"},mdInputParams:{eng:"Input",cht:"輸入參數資訊或結構"},inputExample:{eng:"Input example",cht:"輸入範例"},mdOutputParams:{eng:"Output",cht:"回傳數據結構"},outputExample:{eng:"Output example",cht:"回傳數據範例"},outputMenuTree:{eng:"Tree",cht:"樹狀組件"},outputMenuRaw:{eng:"Raw",cht:"原始數據"}},kpText:{}};O(re,(function(t,e){ie[e]=null}));var oe=(ne={},bt(ne,yt,(function(t,e){t.webInfor=e})),bt(ne,St,(function(t,e){t.lang=e})),bt(ne,Tt,(function(t,e){t.kpText=e})),bt(ne,It,(function(t,e){t.connState=e})),bt(ne,kt,(function(t,e){t.syncState=e})),bt(ne,Ct,(function(t,e){t.loading=e})),bt(ne,wt,(function(t,e){t.viewState=e})),bt(ne,Et,(function(t,e){t[e.tableName]=e.data})),bt(ne,At,(function(t,e){E(t,e.path,e.data)})),bt(ne,Ot,(function(t,e){t.heightApp=e})),bt(ne,Bt,(function(t,e){t.heightAppEff=e})),bt(ne,jt,(function(t,e){t.heightToolbar=e})),bt(ne,xt,(function(t,e){t.menu=e})),bt(ne,Gt,(function(t,e){t.userToken=e})),bt(ne,Nt,(function(t,e){t.userSelf=e})),ne);d["a"].use(vt);var pe=new vt.Store({state:ie,mutations:oe,getters:r,actions:i,strict:!0});pe.types=n,d["a"].prototype.$store=pe;var se=pe,de=a("f309");d["a"].use(de["a"]);var ce=new de["a"]({icons:{iconfont:"mdiSvg"}}),le=a("c973"),me=a("a34a"),ue=(a("004e"),a("5e9e"),a("63ea"),a("eed6"),a("9380"),a("4416"),a("6625"),a("ded5"),a("e726"),a("27d4"),a("6edf"),a("c707"),a("a7f7"),a("6578")),fe=(a("fe98"),a("0bce")),ge=(a("60e1"),a("6560"),a("d029"),a("1fdc"),a("3001"),a("05f1"),a("9871"),a("750f"),a("194f"),a("d71d"),a("04cd"));a("dd60"),a("40dd"),a("eeac"),a("94c5"),a("04a3"),a("b4cd");function he(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function ve(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?he(Object(a),!0).forEach((function(e){bt(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):he(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var be=d["a"].prototype;function ye(t){be=t}function Se(t){be.$store.commit(be.$store.types.UpdateConnState,t)}function Te(t){be.$store.commit(be.$store.types.UpdateLoading,t)}function Ie(t){be.$store.commit(be.$store.types.UpdateViewState,t)}function ke(){function t(e){O(e,(function(e){e.$forceUpdate(),e.$children&&t(e.$children)}))}t(be.$children)}function Ce(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Object(y["a"])(t)&&be.$store.commit(be.$store.types.UpdateLang,t),we(),ke()}function we(){var t=p(be,"$store.state.keyLangs"),e=p(be,"$store.state.webInfor.webName"),a=p(be,"$store.state.webInfor.webDescription"),n=ve(ve({},t),{},{webName:ve({},e),webDescription:ve({},a)}),r=p(be,"$store.state.lang"),i={};return O(n,(function(t,e){i[e]=t[r]})),be.$store.commit(be.$store.types.UpdateKpText,i),i}function Ee(t){var e=p(be,"$store.state.kpText");return p(e,t,"")}function Ae(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=p(t,e,"");if(!Object(y["a"])(n)){var r=Ee("empty");return r}return Object(fe["a"])(a)&&(n=a(n)),n}function Oe(){var t=p(be,"$store.state.heightToolbar"),e=window.innerHeight-t;return be.$store.commit(be.$store.types.UpdateHeightApp,window.innerHeight),be.$store.commit(be.$store.types.UpdateHeightAppEff,e),""}function Be(){return je.apply(this,arguments)}function je(){return je=le(me.mark((function t(){var e,a=arguments;return me.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=a.length>0&&void 0!==a[0]?a[0]:0,!(e>0)){t.next=4;break}return t.next=4,Object(ue["a"])(e);case 4:return t.next=6,Object(ge["a"])((function(){return Object(P["a"])(p(be,"$dsrl"))}));case 6:return t.next=8,Object(ge["a"])((function(){return p(be,"$store.state.syncState")}));case 8:case"end":return t.stop()}}),t)}))),je.apply(this,arguments)}var xe={setVo:ye,updateConnState:Se,updateLoading:Te,updateViewState:Ie,forceUpdate:ke,setLang:Ce,getKpLang:we,getKpText:Ee,gv:Ae,syncHeight:Oe,waitData:Be},Ge=xe;function Ne(t){function e(e,a,n){var r=R(t,bt({},e,a));return r||(r=""),Object(y["a"])(n)&&(r=p(r,n,"")),r}function a(t){return e("keyTable",t,"tableNameCht")}return{getTableInforBy:e,getTableChtByKey:a}}var Re=Ne;function Ue(t){return{}}var Le=Ue,_e=a("d5a1");d["a"].config.productionTip=!1,d["a"].prototype.$alert=function(){var t=Array.prototype.slice.call(arguments),e=t[0],a=t[1];console.log(e,a),"close"!==e&&Object(l["a"])(e,a)};var $e=Re(re),Pe=Le(d["a"].prototype);d["a"].prototype.$ui=Ge,d["a"].prototype.$t=Ge.getKpText,d["a"].prototype.$s=o,d["a"].prototype.$dssm=$e,d["a"].prototype.$dspt=Pe,d["a"].prototype.$dg={},d["a"].directive("domresize",Object(u["a"])()),d["a"].directive("dommutation",Object(m["a"])()),d["a"].directive("domdragdrop",Object(f["a"])());var De=!1;Object(c["a"])({getUrl:function(){return window.location.origin+window.location.pathname},useWaitToken:!1,getToken:function(){return s()(d["a"].prototype,"$store.state.userToken","")},getServerMethods:function(t){console.log("$fapi",t),d["a"].prototype.$fapi=t,t.getWebInfor().then((function(t){console.log("$fapi getWebInfor",t),d["a"].prototype.$store.commit(d["a"].prototype.$store.types.UpdateWebInfor,t),Ge.setLang()})).catch((function(t){console.log(t)}))},recvData:function(t){console.log("sync data",t.tableName,t.data),d["a"].prototype.$store.commit(d["a"].prototype.$store.types.UpdateTableData,t)},getAfterUpdateTableTags:function(t){De||(De=!0,console.log("first-sync"),d["a"].prototype.$store.commit(d["a"].prototype.$store.types.UpdateSyncState,!0))}}),new d["a"]({vuetify:ce,store:se,render:function(t){return t(ht)}}).$mount("#app")},8096:function(t,e,a){},"85ec":function(t,e,a){},a4c7:function(t,e,a){}});
|
|
2
|
-
//# sourceMappingURL=app.0c5f01fa.js.map
|