w-web-api 1.0.14 → 1.0.17

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/dist/index.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" lang="zh-tw"><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,minimal-ui"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title></title><link href="https://cdn.jsdelivr.net/npm/@mdi/font/css/materialdesignicons.min.css" rel="stylesheet"><link href="https://pro.fontawesome.com/releases/v5.15.4/css/all.css" rel="stylesheet"><link href="/css/app.5eff8f8a.css" rel="preload" as="style"><link href="/css/chunk-vendors.f0a39794.css" rel="preload" as="style"><link href="/js/app.3361a687.js" rel="preload" as="script"><link href="/js/chunk-vendors.36762e7b.js" rel="preload" as="script"><link href="/css/chunk-vendors.f0a39794.css" rel="stylesheet"><link href="/css/app.5eff8f8a.css" rel="stylesheet"></head><body style="font-family:'Microsoft JhengHei','Avenir','Helvetica', 'Arial', 'sans-serif'; padding:0px; margin:0px;"><noscript><strong>We're sorry but w-component-vue doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.36762e7b.js"></script><script src="/js/app.3361a687.js"></script></body></html>
1
+ <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" lang="zh-tw"><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,minimal-ui"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title></title><link href="https://cdn.jsdelivr.net/npm/@mdi/font/css/materialdesignicons.min.css" rel="stylesheet"><link href="https://pro.fontawesome.com/releases/v5.15.4/css/all.css" rel="stylesheet"><link href="/css/app.5eff8f8a.css" rel="preload" as="style"><link href="/css/chunk-vendors.f0a39794.css" rel="preload" as="style"><link href="/js/app.3862cf85.js" rel="preload" as="script"><link href="/js/chunk-vendors.07b6a404.js" rel="preload" as="script"><link href="/css/chunk-vendors.f0a39794.css" rel="stylesheet"><link href="/css/app.5eff8f8a.css" rel="stylesheet"></head><body style="font-family:'Microsoft JhengHei','Avenir','Helvetica', 'Arial', 'sans-serif'; padding:0px; margin:0px;"><noscript><strong>We're sorry but w-component-vue doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.07b6a404.js"></script><script src="/js/app.3862cf85.js"></script></body></html>
@@ -1,2 +1,2 @@
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="/";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")},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 bt})),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)])},y=[],b=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,activeItem:t.apiActive,"fun-active":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("a3a0"),Object(Y["a"])(at,C,w,!1,null,"7c186c61",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(b["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,y,!1,null,"a357a654",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"),yt=a("9523"),bt="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){yt(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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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(b["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={},yt(ne,bt,(function(t,e){t.webInfor=e})),yt(ne,St,(function(t,e){t.lang=e})),yt(ne,Tt,(function(t,e){t.kpText=e})),yt(ne,It,(function(t,e){t.connState=e})),yt(ne,kt,(function(t,e){t.syncState=e})),yt(ne,Ct,(function(t,e){t.loading=e})),yt(ne,wt,(function(t,e){t.viewState=e})),yt(ne,Et,(function(t,e){t[e.tableName]=e.data})),yt(ne,At,(function(t,e){E(t,e.path,e.data)})),yt(ne,Ot,(function(t,e){t.heightApp=e})),yt(ne,Bt,(function(t,e){t.heightAppEff=e})),yt(ne,jt,(function(t,e){t.heightToolbar=e})),yt(ne,xt,(function(t,e){t.menu=e})),yt(ne,Gt,(function(t,e){t.userToken=e})),yt(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){yt(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 ye=d["a"].prototype;function be(t){ye=t}function Se(t){ye.$store.commit(ye.$store.types.UpdateConnState,t)}function Te(t){ye.$store.commit(ye.$store.types.UpdateLoading,t)}function Ie(t){ye.$store.commit(ye.$store.types.UpdateViewState,t)}function ke(){function t(e){O(e,(function(e){e.$forceUpdate(),e.$children&&t(e.$children)}))}t(ye.$children)}function Ce(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Object(b["a"])(t)&&ye.$store.commit(ye.$store.types.UpdateLang,t),we(),ke()}function we(){var t=p(ye,"$store.state.keyLangs"),e=p(ye,"$store.state.webInfor.webName"),a=p(ye,"$store.state.webInfor.webDescription"),n=ve(ve({},t),{},{webName:ve({},e),webDescription:ve({},a)}),r=p(ye,"$store.state.lang"),i={};return O(n,(function(t,e){i[e]=t[r]})),ye.$store.commit(ye.$store.types.UpdateKpText,i),i}function Ee(t){var e=p(ye,"$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(b["a"])(n)){var r=Ee("empty");return r}return Object(fe["a"])(a)&&(n=a(n)),n}function Oe(){var t=p(ye,"$store.state.heightToolbar"),e=window.innerHeight-t;return ye.$store.commit(ye.$store.types.UpdateHeightApp,window.innerHeight),ye.$store.commit(ye.$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(ye,"$dsrl"))}));case 6:return t.next=8,Object(ge["a"])((function(){return p(ye,"$store.state.syncState")}));case 8:case"end":return t.stop()}}),t)}))),je.apply(this,arguments)}var xe={setVo:be,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,yt({},e,a));return r||(r=""),Object(b["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){},a3a0:function(t,e,a){"use strict";a("fd72")},fd72:function(t,e,a){}});
2
- //# sourceMappingURL=app.3361a687.js.map
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="/";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")},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 bt})),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)])},y=[],b=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,activeItem:t.apiActive,"fun-active":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("a3a0"),Object(Y["a"])(at,C,w,!1,null,"7c186c61",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(b["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,y,!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"),yt=a("9523"),bt="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){yt(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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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}&paramA=123&paramB=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(b["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={},yt(ne,bt,(function(t,e){t.webInfor=e})),yt(ne,St,(function(t,e){t.lang=e})),yt(ne,Tt,(function(t,e){t.kpText=e})),yt(ne,It,(function(t,e){t.connState=e})),yt(ne,kt,(function(t,e){t.syncState=e})),yt(ne,Ct,(function(t,e){t.loading=e})),yt(ne,wt,(function(t,e){t.viewState=e})),yt(ne,Et,(function(t,e){t[e.tableName]=e.data})),yt(ne,At,(function(t,e){E(t,e.path,e.data)})),yt(ne,Ot,(function(t,e){t.heightApp=e})),yt(ne,Bt,(function(t,e){t.heightAppEff=e})),yt(ne,jt,(function(t,e){t.heightToolbar=e})),yt(ne,xt,(function(t,e){t.menu=e})),yt(ne,Gt,(function(t,e){t.userToken=e})),yt(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){yt(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 ye=d["a"].prototype;function be(t){ye=t}function Se(t){ye.$store.commit(ye.$store.types.UpdateConnState,t)}function Te(t){ye.$store.commit(ye.$store.types.UpdateLoading,t)}function Ie(t){ye.$store.commit(ye.$store.types.UpdateViewState,t)}function ke(){function t(e){O(e,(function(e){e.$forceUpdate(),e.$children&&t(e.$children)}))}t(ye.$children)}function Ce(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Object(b["a"])(t)&&ye.$store.commit(ye.$store.types.UpdateLang,t),we(),ke()}function we(){var t=p(ye,"$store.state.keyLangs"),e=p(ye,"$store.state.webInfor.webName"),a=p(ye,"$store.state.webInfor.webDescription"),n=ve(ve({},t),{},{webName:ve({},e),webDescription:ve({},a)}),r=p(ye,"$store.state.lang"),i={};return O(n,(function(t,e){i[e]=t[r]})),ye.$store.commit(ye.$store.types.UpdateKpText,i),i}function Ee(t){var e=p(ye,"$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(b["a"])(n)){var r=Ee("empty");return r}return Object(fe["a"])(a)&&(n=a(n)),n}function Oe(){var t=p(ye,"$store.state.heightToolbar"),e=window.innerHeight-t;return ye.$store.commit(ye.$store.types.UpdateHeightApp,window.innerHeight),ye.$store.commit(ye.$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(ye,"$dsrl"))}));case 6:return t.next=8,Object(ge["a"])((function(){return p(ye,"$store.state.syncState")}));case 8:case"end":return t.stop()}}),t)}))),je.apply(this,arguments)}var xe={setVo:be,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,yt({},e,a));return r||(r=""),Object(b["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){},a3a0:function(t,e,a){"use strict";a("fd72")},fd72:function(t,e,a){}});
2
+ //# sourceMappingURL=app.3862cf85.js.map