gds-plus-design-vue 1.2.4 → 1.2.5
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/lib/{chartbi.5eded588.js → chartbi.b5b6fdab.js} +1 -1
- package/lib/{chartbi.c3bc6adb.mjs → chartbi.b6818e8e.mjs} +3 -2
- package/lib/gd-initial.js +14 -14
- package/lib/gd-initial.mjs +3614 -2814
- package/lib/{main.00e2ba37.mjs → main.4e325110.mjs} +3 -3
- package/lib/main.6713b76c.js +1 -0
- package/lib/{main.b4ad6d81.mjs → main.955f770e.mjs} +16 -13
- package/lib/main.a28f67df.js +1 -0
- package/lib/{main.7e1495ec.js → main.b4a303dc.js} +1 -1
- package/lib/{main.b25a9b4c.mjs → main.be62e9a4.mjs} +12 -34
- package/lib/{main.55fab1ce.mjs → main.c59fc1e8.mjs} +7 -7
- package/lib/{main.a27e1e54.js → main.f3ae0933.js} +1 -1
- package/lib/messages.1346558e.js +9 -0
- package/lib/{messages.bc3bc0e8.mjs → messages.7e418640.mjs} +1095 -1065
- package/lib/style.css +3 -3
- package/lib/{system.account.868f96f9.mjs → system.account.64fbdaeb.mjs} +2 -2
- package/lib/{system.account.e82580de.js → system.account.7c43a95e.js} +1 -1
- package/lib/system.config.93d6cb7d.js +1 -0
- package/lib/{system.config.71615d2b.mjs → system.config.f0d2d130.mjs} +7 -2
- package/lib/{system.datasource.523ae242.js → system.datasource.4bb39222.js} +1 -1
- package/lib/{system.datasource.009a1673.mjs → system.datasource.61ff56ec.mjs} +3 -3
- package/lib/{system.dict.0111a3bc.js → system.dict.5a2e60fe.js} +1 -1
- package/lib/{system.dict.8f562e89.mjs → system.dict.a817cf68.mjs} +2 -2
- package/lib/{system.duplicatechecking.1865e065.js → system.duplicatechecking.65b77e64.js} +1 -1
- package/lib/{system.duplicatechecking.f517abed.mjs → system.duplicatechecking.751664ba.mjs} +15 -11
- package/lib/{system.email.4c484530.mjs → system.email.2f53252e.mjs} +2 -2
- package/lib/{system.email.70351605.js → system.email.fec5ae26.js} +1 -1
- package/lib/{system.fieldsecurity.9f9f73df.mjs → system.fieldsecurity.6feb94c3.mjs} +1 -1
- package/lib/{system.fieldsecurity.d11088e3.js → system.fieldsecurity.920adca4.js} +1 -1
- package/lib/{system.file.96b3ce1e.mjs → system.file.1930d109.mjs} +11 -6
- package/lib/system.file.5a9a5e0e.js +1 -0
- package/lib/{system.log.80feb1c4.mjs → system.log.61d303bd.mjs} +64 -81
- package/lib/system.log.b309c0e0.js +1 -0
- package/lib/{system.machine.6e46b7a3.js → system.machine.9368e508.js} +1 -1
- package/lib/{system.machine.52e8a4f3.mjs → system.machine.ed69ec93.mjs} +1 -1
- package/lib/{system.notice.b4247147.mjs → system.notice.bd18554e.mjs} +13 -10
- package/lib/system.notice.ff62c06a.js +1 -0
- package/lib/{system.noticereceived.eef2cf6e.mjs → system.noticereceived.4dc360c0.mjs} +31 -29
- package/lib/system.noticereceived.9550818b.js +1 -0
- package/lib/{system.onlineuser.de5f62bf.mjs → system.onlineuser.08a15a71.mjs} +22 -15
- package/lib/system.onlineuser.6cf4fe24.js +1 -0
- package/lib/{system.org.d22168d6.js → system.org.0c67131d.js} +1 -1
- package/lib/{system.org.94393315.mjs → system.org.6e858bf3.mjs} +3 -3
- package/lib/{system.permissions.3c5c3573.js → system.permissions.af548a3b.js} +1 -1
- package/lib/{system.permissions.ccbe352d.mjs → system.permissions.cc5ac7ac.mjs} +3 -3
- package/lib/{system.plugin.5d47e679.js → system.plugin.83d03fb2.js} +1 -1
- package/lib/{system.plugin.8caa5d1f.mjs → system.plugin.a1f1c194.mjs} +2 -2
- package/lib/{system.pos.caaef4fc.js → system.pos.eae2051e.js} +1 -1
- package/lib/{system.pos.e4be69c4.mjs → system.pos.eb8fd7dd.mjs} +2 -2
- package/lib/{system.promptmanagement.e73f64a2.js → system.promptmanagement.04501417.js} +1 -1
- package/lib/{system.promptmanagement.1ad89863.mjs → system.promptmanagement.c84db7d5.mjs} +7 -7
- package/lib/{system.role.0323ddd5.mjs → system.role.d2195303.mjs} +49 -48
- package/lib/system.role.e623c50b.js +1 -0
- package/lib/{system.sumberrules.42965c1e.mjs → system.sumberrules.141dc00b.mjs} +2 -2
- package/lib/{system.sumberrules.2babdd81.js → system.sumberrules.a01e1805.js} +1 -1
- package/lib/system.team.0cebcde7.js +1 -0
- package/lib/{system.team.28168433.mjs → system.team.27a6d5d5.mjs} +289 -246
- package/lib/system.teammembers.b67f003f.js +1 -0
- package/lib/{system.teammembers.08f3ce38.mjs → system.teammembers.d73c659f.mjs} +78 -40
- package/lib/{system.timers.040b9bce.mjs → system.timers.4a3dd57d.mjs} +2 -2
- package/lib/{system.timers.310b3710.js → system.timers.b27fcb6d.js} +1 -1
- package/lib/{system.translation.a4396166.js → system.translation.d2c982ed.js} +1 -1
- package/lib/{system.translation.c0068d8f.mjs → system.translation.d9488c23.mjs} +7 -7
- package/lib/{system.user.20a5e7b4.js → system.user.0664c21c.js} +5 -5
- package/lib/{system.user.84e77277.mjs → system.user.6874aa87.mjs} +101 -69
- package/lib/{system.useraffiliation.fb961d98.mjs → system.useraffiliation.5e3e2bab.mjs} +3 -3
- package/lib/{system.useraffiliation.307e3cd7.js → system.useraffiliation.6b7a1612.js} +1 -1
- package/lib/{system.webresource.2d0ab7a6.mjs → system.webresource.204911b7.mjs} +16 -18
- package/lib/system.webresource.5de18052.js +1 -0
- package/lib/{system.welcome.aaac4a40.mjs → system.welcome.79e15015.mjs} +1 -1
- package/lib/{system.welcome.67d20fa4.js → system.welcome.ec7aa744.js} +1 -1
- package/locale/en_US.js +25 -3
- package/locale/id_ID.js +25 -3
- package/locale/vi_VN.js +1967 -1945
- package/locale/zh_CN.js +26 -4
- package/package.json +1 -1
- package/lib/main.9c85b10c.js +0 -1
- package/lib/main.a794f7cf.js +0 -1
- package/lib/messages.fa3d97b5.js +0 -9
- package/lib/system.config.6aae9ea6.js +0 -1
- package/lib/system.file.001a01bc.js +0 -1
- package/lib/system.log.f7afb251.js +0 -1
- package/lib/system.notice.365ddd35.js +0 -1
- package/lib/system.noticereceived.5545acf8.js +0 -1
- package/lib/system.onlineuser.fd9fdc66.js +0 -1
- package/lib/system.role.b5b55ddd.js +0 -1
- package/lib/system.team.a3527834.js +0 -1
- package/lib/system.teammembers.4b11e49b.js +0 -1
- package/lib/system.webresource.0382b6b1.js +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* vuex v3.6.2
|
|
3
3
|
* (c) 2021 Evan You
|
|
4
4
|
* @license MIT
|
|
5
|
-
*/function Nb(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var r=e.prototype._init;e.prototype._init=function(i){i===void 0&&(i={}),i.init=i.init?[n].concat(i.init):n,r.call(this,i)}}function n(){var i=this.$options;i.store?this.$store=typeof i.store=="function"?i.store():i.store:i.parent&&i.parent.$store&&(this.$store=i.parent.$store)}}var Rb=typeof window<"u"?window:typeof global<"u"?global:{},si=Rb.__VUE_DEVTOOLS_GLOBAL_HOOK__;function kb(e){!si||(e._devtoolHook=si,si.emit("vuex:init",e),si.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(t,r){si.emit("vuex:mutation",t,r)},{prepend:!0}),e.subscribeAction(function(t,r){si.emit("vuex:action",t,r)},{prepend:!0}))}function ti(e,t){Object.keys(e).forEach(function(r){return t(e[r],r)})}function um(e){return e!==null&&typeof e=="object"}function Bb(e){return e&&typeof e.then=="function"}function Ee(e,t){if(!e)throw new Error("[vuex] "+t)}function Fb(e,t){return function(){return e(t)}}var Xe=function(t,r){this.runtime=r,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=(typeof n=="function"?n():n)||{}},fm={namespaced:{configurable:!0}};fm.namespaced.get=function(){return!!this._rawModule.namespaced};Xe.prototype.addChild=function(t,r){this._children[t]=r};Xe.prototype.removeChild=function(t){delete this._children[t]};Xe.prototype.getChild=function(t){return this._children[t]};Xe.prototype.hasChild=function(t){return t in this._children};Xe.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Xe.prototype.forEachChild=function(t){ti(this._children,t)};Xe.prototype.forEachGetter=function(t){this._rawModule.getters&&ti(this._rawModule.getters,t)};Xe.prototype.forEachAction=function(t){this._rawModule.actions&&ti(this._rawModule.actions,t)};Xe.prototype.forEachMutation=function(t){this._rawModule.mutations&&ti(this._rawModule.mutations,t)};Object.defineProperties(Xe.prototype,fm);var ei=function(t){this.register([],t,!1)};ei.prototype.get=function(t){return t.reduce(function(r,n){return r.getChild(n)},this.root)};ei.prototype.getNamespace=function(t){var r=this.root;return t.reduce(function(n,i){return r=r.getChild(i),n+(r.namespaced?i+"/":"")},"")};ei.prototype.update=function(t){cm([],this.root,t)};ei.prototype.register=function(t,r,n){var i=this;n===void 0&&(n=!0),process.env.NODE_ENV!=="production"&&hm(t,r);var a=new Xe(r,n);if(t.length===0)this.root=a;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],a)}r.modules&&ti(r.modules,function(s,l){i.register(t.concat(l),s,n)})};ei.prototype.unregister=function(t){var r=this.get(t.slice(0,-1)),n=t[t.length-1],i=r.getChild(n);if(!i){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to unregister module '"+n+"', which is not registered");return}!i.runtime||r.removeChild(n)};ei.prototype.isRegistered=function(t){var r=this.get(t.slice(0,-1)),n=t[t.length-1];return r?r.hasChild(n):!1};function cm(e,t,r){if(process.env.NODE_ENV!=="production"&&hm(e,r),t.update(r),r.modules)for(var n in r.modules){if(!t.getChild(n)){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to add a new module '"+n+"' on hot reloading, manual reload is needed");return}cm(e.concat(n),t.getChild(n),r.modules[n])}}var Hv={assert:function(e){return typeof e=="function"},expected:"function"},Vb={assert:function(e){return typeof e=="function"||typeof e=="object"&&typeof e.handler=="function"},expected:'function or object with "handler" function'},Wv={getters:Hv,mutations:Hv,actions:Vb};function hm(e,t){Object.keys(Wv).forEach(function(r){if(!!t[r]){var n=Wv[r];ti(t[r],function(i,a){Ee(n.assert(i),zb(e,r,a,i,n.expected))})}})}function zb(e,t,r,n,i){var a=t+" should be "+i+' but "'+t+"."+r+'"';return e.length>0&&(a+=' in module "'+e.join(".")+'"'),a+=" is "+JSON.stringify(n)+".",a}var te,Ne=function e(t){var r=this;t===void 0&&(t={}),!te&&typeof window<"u"&&window.Vue&&Xb(window.Vue),process.env.NODE_ENV!=="production"&&(Ee(te,"must call Vue.use(Vuex) before creating a store instance."),Ee(typeof Promise<"u","vuex requires a Promise polyfill in this browser."),Ee(this instanceof e,"store must be called with the new operator."));var n=t.plugins;n===void 0&&(n=[]);var i=t.strict;i===void 0&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ei(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new te,this._makeLocalGettersCache=Object.create(null);var a=this,o=this,s=o.dispatch,l=o.commit;this.dispatch=function(v,h){return s.call(a,v,h)},this.commit=function(v,h,d){return l.call(a,v,h,d)},this.strict=i;var u=this._modules.root.state;wl(this,u,[],this._modules.root),eh(this,u),n.forEach(function(c){return c(r)});var f=t.devtools!==void 0?t.devtools:te.config.devtools;f&&kb(this)},th={state:{configurable:!0}};th.state.get=function(){return this._vm._data.$$state};th.state.set=function(e){process.env.NODE_ENV!=="production"&&Ee(!1,"use store.replaceState() to explicit replace store state.")};Ne.prototype.commit=function(t,r,n){var i=this,a=Vs(t,r,n),o=a.type,s=a.payload,l=a.options,u={type:o,payload:s},f=this._mutations[o];if(!f){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown mutation type: "+o);return}this._withCommit(function(){f.forEach(function(v){v(s)})}),this._subscribers.slice().forEach(function(c){return c(u,i.state)}),process.env.NODE_ENV!=="production"&&l&&l.silent&&console.warn("[vuex] mutation type: "+o+". Silent option has been removed. Use the filter functionality in the vue-devtools")};Ne.prototype.dispatch=function(t,r){var n=this,i=Vs(t,r),a=i.type,o=i.payload,s={type:a,payload:o},l=this._actions[a];if(!l){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown action type: "+a);return}try{this._actionSubscribers.slice().filter(function(f){return f.before}).forEach(function(f){return f.before(s,n.state)})}catch(f){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in before action subscribers: "),console.error(f))}var u=l.length>1?Promise.all(l.map(function(f){return f(o)})):l[0](o);return new Promise(function(f,c){u.then(function(v){try{n._actionSubscribers.filter(function(h){return h.after}).forEach(function(h){return h.after(s,n.state)})}catch(h){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in after action subscribers: "),console.error(h))}f(v)},function(v){try{n._actionSubscribers.filter(function(h){return h.error}).forEach(function(h){return h.error(s,n.state,v)})}catch(h){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in error action subscribers: "),console.error(h))}c(v)})})};Ne.prototype.subscribe=function(t,r){return vm(t,this._subscribers,r)};Ne.prototype.subscribeAction=function(t,r){var n=typeof t=="function"?{before:t}:t;return vm(n,this._actionSubscribers,r)};Ne.prototype.watch=function(t,r,n){var i=this;return process.env.NODE_ENV!=="production"&&Ee(typeof t=="function","store.watch only accepts a function."),this._watcherVM.$watch(function(){return t(i.state,i.getters)},r,n)};Ne.prototype.replaceState=function(t){var r=this;this._withCommit(function(){r._vm._data.$$state=t})};Ne.prototype.registerModule=function(t,r,n){n===void 0&&(n={}),typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&(Ee(Array.isArray(t),"module path must be a string or an Array."),Ee(t.length>0,"cannot register the root module by using registerModule.")),this._modules.register(t,r),wl(this,this.state,t,this._modules.get(t),n.preserveState),eh(this,this.state)};Ne.prototype.unregisterModule=function(t){var r=this;typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&Ee(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit(function(){var n=rh(r.state,t.slice(0,-1));te.delete(n,t[t.length-1])}),dm(this)};Ne.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&Ee(Array.isArray(t),"module path must be a string or an Array."),this._modules.isRegistered(t)};Ne.prototype.hotUpdate=function(t){this._modules.update(t),dm(this,!0)};Ne.prototype._withCommit=function(t){var r=this._committing;this._committing=!0,t(),this._committing=r};Object.defineProperties(Ne.prototype,th);function vm(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function dm(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;wl(e,r,[],e._modules.root,!0),eh(e,r,t)}function eh(e,t,r){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={};ti(i,function(s,l){a[l]=Fb(s,e),Object.defineProperty(e.getters,l,{get:function(){return e._vm[l]},enumerable:!0})});var o=te.config.silent;te.config.silent=!0,e._vm=new te({data:{$$state:t},computed:a}),te.config.silent=o,e.strict&&Yb(e),n&&(r&&e._withCommit(function(){n._data.$$state=null}),te.nextTick(function(){return n.$destroy()}))}function wl(e,t,r,n,i){var a=!r.length,o=e._modules.getNamespace(r);if(n.namespaced&&(e._modulesNamespaceMap[o]&&process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate namespace "+o+" for the namespaced module "+r.join("/")),e._modulesNamespaceMap[o]=n),!a&&!i){var s=rh(t,r.slice(0,-1)),l=r[r.length-1];e._withCommit(function(){process.env.NODE_ENV!=="production"&&l in s&&console.warn('[vuex] state field "'+l+'" was overridden by a module with the same name at "'+r.join(".")+'"'),te.set(s,l,n.state)})}var u=n.context=Gb(e,o,r);n.forEachMutation(function(f,c){var v=o+c;Hb(e,v,f,u)}),n.forEachAction(function(f,c){var v=f.root?c:o+c,h=f.handler||f;Wb(e,v,h,u)}),n.forEachGetter(function(f,c){var v=o+c;Ub(e,v,f,u)}),n.forEachChild(function(f,c){wl(e,t,r.concat(c),f,i)})}function Gb(e,t,r){var n=t==="",i={dispatch:n?e.dispatch:function(a,o,s){var l=Vs(a,o,s),u=l.payload,f=l.options,c=l.type;if((!f||!f.root)&&(c=t+c,process.env.NODE_ENV!=="production"&&!e._actions[c])){console.error("[vuex] unknown local action type: "+l.type+", global type: "+c);return}return e.dispatch(c,u)},commit:n?e.commit:function(a,o,s){var l=Vs(a,o,s),u=l.payload,f=l.options,c=l.type;if((!f||!f.root)&&(c=t+c,process.env.NODE_ENV!=="production"&&!e._mutations[c])){console.error("[vuex] unknown local mutation type: "+l.type+", global type: "+c);return}e.commit(c,u,f)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return $b(e,t)}},state:{get:function(){return rh(e.state,r)}}}),i}function $b(e,t){if(!e._makeLocalGettersCache[t]){var r={},n=t.length;Object.keys(e.getters).forEach(function(i){if(i.slice(0,n)===t){var a=i.slice(n);Object.defineProperty(r,a,{get:function(){return e.getters[i]},enumerable:!0})}}),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}function Hb(e,t,r,n){var i=e._mutations[t]||(e._mutations[t]=[]);i.push(function(o){r.call(e,n.state,o)})}function Wb(e,t,r,n){var i=e._actions[t]||(e._actions[t]=[]);i.push(function(o){var s=r.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},o);return Bb(s)||(s=Promise.resolve(s)),e._devtoolHook?s.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):s})}function Ub(e,t,r,n){if(e._wrappedGetters[t]){process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate getter key: "+t);return}e._wrappedGetters[t]=function(a){return r(n.state,n.getters,a.state,a.getters)}}function Yb(e){e._vm.$watch(function(){return this._data.$$state},function(){process.env.NODE_ENV!=="production"&&Ee(e._committing,"do not mutate vuex store state outside mutation handlers.")},{deep:!0,sync:!0})}function rh(e,t){return t.reduce(function(r,n){return r[n]},e)}function Vs(e,t,r){return um(e)&&e.type&&(r=t,t=e,e=e.type),process.env.NODE_ENV!=="production"&&Ee(typeof e=="string","expects string as the type, but found "+typeof e+"."),{type:e,payload:t,options:r}}function Xb(e){if(te&&e===te){process.env.NODE_ENV!=="production"&&console.error("[vuex] already installed. Vue.use(Vuex) should be called only once.");return}te=e,Nb(te)}var pm=ym(function(e,t){var r={};return process.env.NODE_ENV!=="production"&&!nh(t)&&console.error("[vuex] mapGetters: mapper parameter must be either an Array or an Object"),gm(t).forEach(function(n){var i=n.key,a=n.val;a=e+a,r[i]=function(){if(!(e&&!mm(this.$store,"mapGetters",e))){if(process.env.NODE_ENV!=="production"&&!(a in this.$store.getters)){console.error("[vuex] unknown getter: "+a);return}return this.$store.getters[a]}},r[i].vuex=!0}),r}),qb=ym(function(e,t){var r={};return process.env.NODE_ENV!=="production"&&!nh(t)&&console.error("[vuex] mapActions: mapper parameter must be either an Array or an Object"),gm(t).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var s=[],l=arguments.length;l--;)s[l]=arguments[l];var u=this.$store.dispatch;if(e){var f=mm(this.$store,"mapActions",e);if(!f)return;u=f.context.dispatch}return typeof a=="function"?a.apply(this,[u].concat(s)):u.apply(this.$store,[a].concat(s))}}),r});function gm(e){return nh(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function nh(e){return Array.isArray(e)||um(e)}function ym(e){return function(t,r){return typeof t!="string"?(r=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,r)}}function mm(e,t,r){var n=e._modulesNamespaceMap[r];return process.env.NODE_ENV!=="production"&&!n&&console.error("[vuex] module namespace not found in "+t+"(): "+r),n}function ri(e,t,r,n,i,a,o,s){var l=typeof e=="function"?e.options:e;t&&(l.render=t,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),a&&(l._scopeId="data-v-"+a);var u;if(o?(u=function(v){v=v||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!v&&typeof __VUE_SSR_CONTEXT__<"u"&&(v=__VUE_SSR_CONTEXT__),i&&i.call(this,v),v&&v._registeredComponents&&v._registeredComponents.add(o)},l._ssrRegister=u):i&&(u=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var f=l.render;l.render=function(h,d){return u.call(d),f(h,d)}}else{var c=l.beforeCreate;l.beforeCreate=c?[].concat(c,u):[u]}return{exports:e,options:l}}function Zb(e){switch(e){case"Log/vislog":return"Vislog";default:return e}}function jb(e){let t="";return e&&e.split("_").forEach((n,i)=>{t+=n.replace(n[0],n[0].toUpperCase())}),t}function _m(e=36,t=!0,r=!0){let n=[],i="0123456789abcdefghijklnmopqrstvuwxyz";t||(i="abcdefghijklnmopqrstvuwxyz");let a=i.toString().length-Math.round(Math.random()*10);for(var o=0;o<e;o++)n[o]=i.substr(Math.floor(Math.random()*a),1);return r&&(n[0]="u"),n[19]&&(n[19]=i.substr(n[19]&3|8,1)),n.join("")}function Kb(e,t="children"){const r=[];for(;e.length;){const n=e[0];r.push(n),e.shift(),n[t]&&n[t].length&&e.push(...n[t])}return r}function zs(e){if(e.length<=1)return e;for(var t=Math.floor(e.length/2),r=e.splice(t,1)[0],n=[],i=[],a=0;a<e.length;a++)e[a].order<r.order?n.push(e[a]):i.push(e[a]);return zs(n).concat([r],zs(i))}function Qb(e){if(!e)return"";let t=[...e];if(t.length===0)return"";let r=[];return t.forEach(n=>{(typeof n=="string"||typeof n=="number")&&r.push(n)}),r.join(",")}function Jb(e,t){switch(t.effecttype){case"fk":return e.columnname+t.fketityname+t.columnname;case"user":return e.columnname+t.fketityname+t.columnname;case"about":return t.relations.toLowerCase();default:return t.columnname}}function tS(e){var t=new Array("\u96F6","\u58F9","\u8D30","\u53C1","\u8086","\u4F0D","\u9646","\u67D2","\u634C","\u7396"),r=new Array("","\u62FE","\u4F70","\u4EDF"),n=new Array("","\u4E07","\u4EBF","\u5146"),i=new Array("\u89D2","\u5206","\u6BEB","\u5398"),a="\u6574",o="\u5143",s=1e15,l,u,f="",c;if(e==""||(e=parseFloat(e),e>=s))return"";if(e==0)return f=t[0]+o+a,f;if(e=e.toString(),e.indexOf(".")==-1?(l=e,u=""):(c=e.split("."),l=c[0],u=c[1].substr(0,4)),parseInt(l,10)>0){for(var v=0,h=l.length,d=0;d<h;d++){var g=l.substr(d,1),p=h-d-1,y=p/4,m=p%4;g=="0"?v++:(v>0&&(f+=t[0]),v=0,f+=t[parseInt(g)]+r[m]),m==0&&v<4&&(f+=n[y])}f+=o}if(u!="")for(var _=u.length,d=0;d<_;d++){var g=u.substr(d,1);g!="0"&&(f+=t[Number(g)]+i[d])}return f==""?f+=t[0]+o+a:u==""&&(f+=a),f}function eS(e){let t=1,r=e.displayMode?e.displayMode:"none";return r==="percent"?t=100:r==="permil"&&(t=1e3),t}function rS(e){if(typeof e=="string")try{var t=JSON.parse(e);return!!(typeof t=="object"&&t)}catch{return!1}else return!1}function nS(e){switch(e){case"zh_CN":return{name:"\u7B80\u4F53\u4E2D\u6587:",order:1};case"en_US":return{name:"English (USA):",order:2};case"vi_VN":return{name:"Ti\u1EBFng Vi\u1EC7t:",order:3};case"id_ID":return{name:"Indonesia:",order:4};default:return{name:"\u7B80\u4F53\u4E2D\u6587:",order:1}}}function iS(e,t,r){let n=t.split("."),i=e;return n.forEach(a=>{i?i=i[a]:i=null}),i||r}async function aS(e,t){if(navigator.clipboard)await navigator.clipboard.writeText(e);else{const r=document.createElement("textarea");r.value=e,document.body.appendChild(r),r.select(),document.execCommand("copy"),document.body.removeChild(r)}typeof t=="function"&&t()}async function oS(e){let t="";if(navigator.clipboard&&navigator.clipboard.readText)try{t=await navigator.clipboard.readText()}catch{t=Uv()}else t=Uv();typeof e=="function"&&e(t)}function Uv(){let e=document.createElement("textarea");document.body.appendChild(e),e.focus(),document.execCommand("paste");let t=e.value;return document.body.removeChild(e),t}function Tl(e,t){const r=10**t;return Math.round(e*r)/r}function sS(e){var t=new Date,r=t.getFullYear(),n=t.getMonth()+1,i=t.getDate(),a=t.getHours(),o=t.getMinutes(),s=t.getSeconds();return`${r}-${aa(n)}-${aa(i)} ${aa(a)}:${aa(o)}:${aa(s)}`}function aa(e){return e=e.toString(),e[1]?e:"0"+e}function lS(e){return e==="image"?"image/jpg,image/png,image/jpeg,image/gif,image/bmp":"image/jpg,image/png,image/jpeg,image/gif,image/bmp,text/plain,application/pdf,application/msword,application/vnd.ms-excel,application/octet-stream,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.openxmlformats-officedocument.wordprocessingml.document"}function uS(e){return e==="image"?100:1024}function fS(e){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)}function cS(e){let t=new Map;return e.indexOf("?")===-1||e.slice(e.indexOf("?")+1).split("&").map(r=>r.split("=")).map(([r,n])=>(t.set(r,n),{key:r,value:n})),Object.fromEntries(t)}/*! *****************************************************************************
|
|
5
|
+
*/function Nb(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var r=e.prototype._init;e.prototype._init=function(i){i===void 0&&(i={}),i.init=i.init?[n].concat(i.init):n,r.call(this,i)}}function n(){var i=this.$options;i.store?this.$store=typeof i.store=="function"?i.store():i.store:i.parent&&i.parent.$store&&(this.$store=i.parent.$store)}}var Rb=typeof window<"u"?window:typeof global<"u"?global:{},si=Rb.__VUE_DEVTOOLS_GLOBAL_HOOK__;function kb(e){!si||(e._devtoolHook=si,si.emit("vuex:init",e),si.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(t,r){si.emit("vuex:mutation",t,r)},{prepend:!0}),e.subscribeAction(function(t,r){si.emit("vuex:action",t,r)},{prepend:!0}))}function ti(e,t){Object.keys(e).forEach(function(r){return t(e[r],r)})}function um(e){return e!==null&&typeof e=="object"}function Bb(e){return e&&typeof e.then=="function"}function Ee(e,t){if(!e)throw new Error("[vuex] "+t)}function Fb(e,t){return function(){return e(t)}}var Xe=function(t,r){this.runtime=r,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=(typeof n=="function"?n():n)||{}},fm={namespaced:{configurable:!0}};fm.namespaced.get=function(){return!!this._rawModule.namespaced};Xe.prototype.addChild=function(t,r){this._children[t]=r};Xe.prototype.removeChild=function(t){delete this._children[t]};Xe.prototype.getChild=function(t){return this._children[t]};Xe.prototype.hasChild=function(t){return t in this._children};Xe.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Xe.prototype.forEachChild=function(t){ti(this._children,t)};Xe.prototype.forEachGetter=function(t){this._rawModule.getters&&ti(this._rawModule.getters,t)};Xe.prototype.forEachAction=function(t){this._rawModule.actions&&ti(this._rawModule.actions,t)};Xe.prototype.forEachMutation=function(t){this._rawModule.mutations&&ti(this._rawModule.mutations,t)};Object.defineProperties(Xe.prototype,fm);var ei=function(t){this.register([],t,!1)};ei.prototype.get=function(t){return t.reduce(function(r,n){return r.getChild(n)},this.root)};ei.prototype.getNamespace=function(t){var r=this.root;return t.reduce(function(n,i){return r=r.getChild(i),n+(r.namespaced?i+"/":"")},"")};ei.prototype.update=function(t){cm([],this.root,t)};ei.prototype.register=function(t,r,n){var i=this;n===void 0&&(n=!0),process.env.NODE_ENV!=="production"&&hm(t,r);var a=new Xe(r,n);if(t.length===0)this.root=a;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],a)}r.modules&&ti(r.modules,function(s,l){i.register(t.concat(l),s,n)})};ei.prototype.unregister=function(t){var r=this.get(t.slice(0,-1)),n=t[t.length-1],i=r.getChild(n);if(!i){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to unregister module '"+n+"', which is not registered");return}!i.runtime||r.removeChild(n)};ei.prototype.isRegistered=function(t){var r=this.get(t.slice(0,-1)),n=t[t.length-1];return r?r.hasChild(n):!1};function cm(e,t,r){if(process.env.NODE_ENV!=="production"&&hm(e,r),t.update(r),r.modules)for(var n in r.modules){if(!t.getChild(n)){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to add a new module '"+n+"' on hot reloading, manual reload is needed");return}cm(e.concat(n),t.getChild(n),r.modules[n])}}var Hv={assert:function(e){return typeof e=="function"},expected:"function"},Vb={assert:function(e){return typeof e=="function"||typeof e=="object"&&typeof e.handler=="function"},expected:'function or object with "handler" function'},Wv={getters:Hv,mutations:Hv,actions:Vb};function hm(e,t){Object.keys(Wv).forEach(function(r){if(!!t[r]){var n=Wv[r];ti(t[r],function(i,a){Ee(n.assert(i),zb(e,r,a,i,n.expected))})}})}function zb(e,t,r,n,i){var a=t+" should be "+i+' but "'+t+"."+r+'"';return e.length>0&&(a+=' in module "'+e.join(".")+'"'),a+=" is "+JSON.stringify(n)+".",a}var te,Ne=function e(t){var r=this;t===void 0&&(t={}),!te&&typeof window<"u"&&window.Vue&&Xb(window.Vue),process.env.NODE_ENV!=="production"&&(Ee(te,"must call Vue.use(Vuex) before creating a store instance."),Ee(typeof Promise<"u","vuex requires a Promise polyfill in this browser."),Ee(this instanceof e,"store must be called with the new operator."));var n=t.plugins;n===void 0&&(n=[]);var i=t.strict;i===void 0&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ei(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new te,this._makeLocalGettersCache=Object.create(null);var a=this,o=this,s=o.dispatch,l=o.commit;this.dispatch=function(v,h){return s.call(a,v,h)},this.commit=function(v,h,d){return l.call(a,v,h,d)},this.strict=i;var u=this._modules.root.state;wl(this,u,[],this._modules.root),eh(this,u),n.forEach(function(c){return c(r)});var f=t.devtools!==void 0?t.devtools:te.config.devtools;f&&kb(this)},th={state:{configurable:!0}};th.state.get=function(){return this._vm._data.$$state};th.state.set=function(e){process.env.NODE_ENV!=="production"&&Ee(!1,"use store.replaceState() to explicit replace store state.")};Ne.prototype.commit=function(t,r,n){var i=this,a=Vs(t,r,n),o=a.type,s=a.payload,l=a.options,u={type:o,payload:s},f=this._mutations[o];if(!f){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown mutation type: "+o);return}this._withCommit(function(){f.forEach(function(v){v(s)})}),this._subscribers.slice().forEach(function(c){return c(u,i.state)}),process.env.NODE_ENV!=="production"&&l&&l.silent&&console.warn("[vuex] mutation type: "+o+". Silent option has been removed. Use the filter functionality in the vue-devtools")};Ne.prototype.dispatch=function(t,r){var n=this,i=Vs(t,r),a=i.type,o=i.payload,s={type:a,payload:o},l=this._actions[a];if(!l){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown action type: "+a);return}try{this._actionSubscribers.slice().filter(function(f){return f.before}).forEach(function(f){return f.before(s,n.state)})}catch(f){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in before action subscribers: "),console.error(f))}var u=l.length>1?Promise.all(l.map(function(f){return f(o)})):l[0](o);return new Promise(function(f,c){u.then(function(v){try{n._actionSubscribers.filter(function(h){return h.after}).forEach(function(h){return h.after(s,n.state)})}catch(h){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in after action subscribers: "),console.error(h))}f(v)},function(v){try{n._actionSubscribers.filter(function(h){return h.error}).forEach(function(h){return h.error(s,n.state,v)})}catch(h){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in error action subscribers: "),console.error(h))}c(v)})})};Ne.prototype.subscribe=function(t,r){return vm(t,this._subscribers,r)};Ne.prototype.subscribeAction=function(t,r){var n=typeof t=="function"?{before:t}:t;return vm(n,this._actionSubscribers,r)};Ne.prototype.watch=function(t,r,n){var i=this;return process.env.NODE_ENV!=="production"&&Ee(typeof t=="function","store.watch only accepts a function."),this._watcherVM.$watch(function(){return t(i.state,i.getters)},r,n)};Ne.prototype.replaceState=function(t){var r=this;this._withCommit(function(){r._vm._data.$$state=t})};Ne.prototype.registerModule=function(t,r,n){n===void 0&&(n={}),typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&(Ee(Array.isArray(t),"module path must be a string or an Array."),Ee(t.length>0,"cannot register the root module by using registerModule.")),this._modules.register(t,r),wl(this,this.state,t,this._modules.get(t),n.preserveState),eh(this,this.state)};Ne.prototype.unregisterModule=function(t){var r=this;typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&Ee(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit(function(){var n=rh(r.state,t.slice(0,-1));te.delete(n,t[t.length-1])}),dm(this)};Ne.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&Ee(Array.isArray(t),"module path must be a string or an Array."),this._modules.isRegistered(t)};Ne.prototype.hotUpdate=function(t){this._modules.update(t),dm(this,!0)};Ne.prototype._withCommit=function(t){var r=this._committing;this._committing=!0,t(),this._committing=r};Object.defineProperties(Ne.prototype,th);function vm(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function dm(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;wl(e,r,[],e._modules.root,!0),eh(e,r,t)}function eh(e,t,r){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={};ti(i,function(s,l){a[l]=Fb(s,e),Object.defineProperty(e.getters,l,{get:function(){return e._vm[l]},enumerable:!0})});var o=te.config.silent;te.config.silent=!0,e._vm=new te({data:{$$state:t},computed:a}),te.config.silent=o,e.strict&&Yb(e),n&&(r&&e._withCommit(function(){n._data.$$state=null}),te.nextTick(function(){return n.$destroy()}))}function wl(e,t,r,n,i){var a=!r.length,o=e._modules.getNamespace(r);if(n.namespaced&&(e._modulesNamespaceMap[o]&&process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate namespace "+o+" for the namespaced module "+r.join("/")),e._modulesNamespaceMap[o]=n),!a&&!i){var s=rh(t,r.slice(0,-1)),l=r[r.length-1];e._withCommit(function(){process.env.NODE_ENV!=="production"&&l in s&&console.warn('[vuex] state field "'+l+'" was overridden by a module with the same name at "'+r.join(".")+'"'),te.set(s,l,n.state)})}var u=n.context=Gb(e,o,r);n.forEachMutation(function(f,c){var v=o+c;Hb(e,v,f,u)}),n.forEachAction(function(f,c){var v=f.root?c:o+c,h=f.handler||f;Wb(e,v,h,u)}),n.forEachGetter(function(f,c){var v=o+c;Ub(e,v,f,u)}),n.forEachChild(function(f,c){wl(e,t,r.concat(c),f,i)})}function Gb(e,t,r){var n=t==="",i={dispatch:n?e.dispatch:function(a,o,s){var l=Vs(a,o,s),u=l.payload,f=l.options,c=l.type;if((!f||!f.root)&&(c=t+c,process.env.NODE_ENV!=="production"&&!e._actions[c])){console.error("[vuex] unknown local action type: "+l.type+", global type: "+c);return}return e.dispatch(c,u)},commit:n?e.commit:function(a,o,s){var l=Vs(a,o,s),u=l.payload,f=l.options,c=l.type;if((!f||!f.root)&&(c=t+c,process.env.NODE_ENV!=="production"&&!e._mutations[c])){console.error("[vuex] unknown local mutation type: "+l.type+", global type: "+c);return}e.commit(c,u,f)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return $b(e,t)}},state:{get:function(){return rh(e.state,r)}}}),i}function $b(e,t){if(!e._makeLocalGettersCache[t]){var r={},n=t.length;Object.keys(e.getters).forEach(function(i){if(i.slice(0,n)===t){var a=i.slice(n);Object.defineProperty(r,a,{get:function(){return e.getters[i]},enumerable:!0})}}),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}function Hb(e,t,r,n){var i=e._mutations[t]||(e._mutations[t]=[]);i.push(function(o){r.call(e,n.state,o)})}function Wb(e,t,r,n){var i=e._actions[t]||(e._actions[t]=[]);i.push(function(o){var s=r.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},o);return Bb(s)||(s=Promise.resolve(s)),e._devtoolHook?s.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):s})}function Ub(e,t,r,n){if(e._wrappedGetters[t]){process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate getter key: "+t);return}e._wrappedGetters[t]=function(a){return r(n.state,n.getters,a.state,a.getters)}}function Yb(e){e._vm.$watch(function(){return this._data.$$state},function(){process.env.NODE_ENV!=="production"&&Ee(e._committing,"do not mutate vuex store state outside mutation handlers.")},{deep:!0,sync:!0})}function rh(e,t){return t.reduce(function(r,n){return r[n]},e)}function Vs(e,t,r){return um(e)&&e.type&&(r=t,t=e,e=e.type),process.env.NODE_ENV!=="production"&&Ee(typeof e=="string","expects string as the type, but found "+typeof e+"."),{type:e,payload:t,options:r}}function Xb(e){if(te&&e===te){process.env.NODE_ENV!=="production"&&console.error("[vuex] already installed. Vue.use(Vuex) should be called only once.");return}te=e,Nb(te)}var pm=ym(function(e,t){var r={};return process.env.NODE_ENV!=="production"&&!nh(t)&&console.error("[vuex] mapGetters: mapper parameter must be either an Array or an Object"),gm(t).forEach(function(n){var i=n.key,a=n.val;a=e+a,r[i]=function(){if(!(e&&!mm(this.$store,"mapGetters",e))){if(process.env.NODE_ENV!=="production"&&!(a in this.$store.getters)){console.error("[vuex] unknown getter: "+a);return}return this.$store.getters[a]}},r[i].vuex=!0}),r}),qb=ym(function(e,t){var r={};return process.env.NODE_ENV!=="production"&&!nh(t)&&console.error("[vuex] mapActions: mapper parameter must be either an Array or an Object"),gm(t).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var s=[],l=arguments.length;l--;)s[l]=arguments[l];var u=this.$store.dispatch;if(e){var f=mm(this.$store,"mapActions",e);if(!f)return;u=f.context.dispatch}return typeof a=="function"?a.apply(this,[u].concat(s)):u.apply(this.$store,[a].concat(s))}}),r});function gm(e){return nh(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function nh(e){return Array.isArray(e)||um(e)}function ym(e){return function(t,r){return typeof t!="string"?(r=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,r)}}function mm(e,t,r){var n=e._modulesNamespaceMap[r];return process.env.NODE_ENV!=="production"&&!n&&console.error("[vuex] module namespace not found in "+t+"(): "+r),n}function ri(e,t,r,n,i,a,o,s){var l=typeof e=="function"?e.options:e;t&&(l.render=t,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),a&&(l._scopeId="data-v-"+a);var u;if(o?(u=function(v){v=v||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!v&&typeof __VUE_SSR_CONTEXT__<"u"&&(v=__VUE_SSR_CONTEXT__),i&&i.call(this,v),v&&v._registeredComponents&&v._registeredComponents.add(o)},l._ssrRegister=u):i&&(u=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var f=l.render;l.render=function(h,d){return u.call(d),f(h,d)}}else{var c=l.beforeCreate;l.beforeCreate=c?[].concat(c,u):[u]}return{exports:e,options:l}}function Zb(e){switch(e){case"Log/vislog":return"Vislog";default:return e}}function jb(e){let t="";return e&&e.split("_").forEach((n,i)=>{t+=n.replace(n[0],n[0].toUpperCase())}),t}function _m(e=36,t=!0,r=!0){let n=[],i="0123456789abcdefghijklnmopqrstvuwxyz";t||(i="abcdefghijklnmopqrstvuwxyz");let a=i.toString().length-Math.round(Math.random()*10);for(var o=0;o<e;o++)n[o]=i.substr(Math.floor(Math.random()*a),1);return r&&(n[0]="u"),n[19]&&(n[19]=i.substr(n[19]&3|8,1)),n.join("")}function Kb(e,t="children"){const r=[];for(;e.length;){const n=e[0];r.push(n),e.shift(),n[t]&&n[t].length&&e.push(...n[t])}return r}function zs(e){if(e.length<=1)return e;for(var t=Math.floor(e.length/2),r=e.splice(t,1)[0],n=[],i=[],a=0;a<e.length;a++)e[a].order<r.order?n.push(e[a]):i.push(e[a]);return zs(n).concat([r],zs(i))}function Qb(e){if(!e)return"";let t=[...e];if(t.length===0)return"";let r=[];return t.forEach(n=>{(typeof n=="string"||typeof n=="number")&&r.push(n)}),r.join(",")}function Jb(e,t){const r=t.fkentityname?t.fkentityname:t.fketityname;switch(t.effecttype){case"fk":return e.columnname+r+t.columnname;case"user":return e.columnname+r+t.columnname;case"about":return t.relations.toLowerCase();default:return t.columnname}}function tS(e){var t=new Array("\u96F6","\u58F9","\u8D30","\u53C1","\u8086","\u4F0D","\u9646","\u67D2","\u634C","\u7396"),r=new Array("","\u62FE","\u4F70","\u4EDF"),n=new Array("","\u4E07","\u4EBF","\u5146"),i=new Array("\u89D2","\u5206","\u6BEB","\u5398"),a="\u6574",o="\u5143",s=1e15,l,u,f="",c;if(e==""||(e=parseFloat(e),e>=s))return"";if(e==0)return f=t[0]+o+a,f;if(e=e.toString(),e.indexOf(".")==-1?(l=e,u=""):(c=e.split("."),l=c[0],u=c[1].substr(0,4)),parseInt(l,10)>0){for(var v=0,h=l.length,d=0;d<h;d++){var g=l.substr(d,1),p=h-d-1,y=p/4,m=p%4;g=="0"?v++:(v>0&&(f+=t[0]),v=0,f+=t[parseInt(g)]+r[m]),m==0&&v<4&&(f+=n[y])}f+=o}if(u!="")for(var _=u.length,d=0;d<_;d++){var g=u.substr(d,1);g!="0"&&(f+=t[Number(g)]+i[d])}return f==""?f+=t[0]+o+a:u==""&&(f+=a),f}function eS(e){let t=1,r=e.displayMode?e.displayMode:"none";return r==="percent"?t=100:r==="permil"&&(t=1e3),t}function rS(e){if(typeof e=="string")try{var t=JSON.parse(e);return!!(typeof t=="object"&&t)}catch{return!1}else return!1}function nS(e){switch(e){case"zh_CN":return{name:"\u7B80\u4F53\u4E2D\u6587:",order:1};case"en_US":return{name:"English (USA):",order:2};case"vi_VN":return{name:"Ti\u1EBFng Vi\u1EC7t:",order:3};case"id_ID":return{name:"Indonesia:",order:4};default:return{name:"\u7B80\u4F53\u4E2D\u6587:",order:1}}}function iS(e,t,r){let n=t.split("."),i=e;return n.forEach(a=>{i?i=i[a]:i=null}),i||r}async function aS(e,t){if(navigator.clipboard)await navigator.clipboard.writeText(e);else{const r=document.createElement("textarea");r.value=e,document.body.appendChild(r),r.select(),document.execCommand("copy"),document.body.removeChild(r)}typeof t=="function"&&t()}async function oS(e){let t="";if(navigator.clipboard&&navigator.clipboard.readText)try{t=await navigator.clipboard.readText()}catch{t=Uv()}else t=Uv();typeof e=="function"&&e(t)}function Uv(){let e=document.createElement("textarea");document.body.appendChild(e),e.focus(),document.execCommand("paste");let t=e.value;return document.body.removeChild(e),t}function Tl(e,t){const r=10**t;return Math.round(e*r)/r}function sS(e){var t=new Date,r=t.getFullYear(),n=t.getMonth()+1,i=t.getDate(),a=t.getHours(),o=t.getMinutes(),s=t.getSeconds();return`${r}-${aa(n)}-${aa(i)} ${aa(a)}:${aa(o)}:${aa(s)}`}function aa(e){return e=e.toString(),e[1]?e:"0"+e}function lS(e){return e==="image"?"image/jpg,image/png,image/jpeg,image/gif,image/bmp":"image/jpg,image/png,image/jpeg,image/gif,image/bmp,text/plain,application/pdf,application/msword,application/vnd.ms-excel,application/octet-stream,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.openxmlformats-officedocument.wordprocessingml.document"}function uS(e){return e==="image"?100:1024}function fS(e){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)}function cS(e){let t=new Map;return e.indexOf("?")===-1||e.slice(e.indexOf("?")+1).split("&").map(r=>r.split("=")).map(([r,n])=>(t.set(r,n),{key:r,value:n})),Object.fromEntries(t)}/*! *****************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation.
|
|
7
7
|
|
|
8
8
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -600,11 +600,12 @@ function OB(e) {
|
|
|
600
600
|
}), r.join(",");
|
|
601
601
|
}
|
|
602
602
|
function NB(e, t) {
|
|
603
|
+
const r = t.fkentityname ? t.fkentityname : t.fketityname;
|
|
603
604
|
switch (t.effecttype) {
|
|
604
605
|
case "fk":
|
|
605
|
-
return e.columnname +
|
|
606
|
+
return e.columnname + r + t.columnname;
|
|
606
607
|
case "user":
|
|
607
|
-
return e.columnname +
|
|
608
|
+
return e.columnname + r + t.columnname;
|
|
608
609
|
case "about":
|
|
609
610
|
return t.relations.toLowerCase();
|
|
610
611
|
default:
|