UNPKG

sd-data-grid

Version:
13 lines 728 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("sd-data-grid",[],e):"object"==typeof exports?exports["sd-data-grid"]=e():t["sd-data-grid"]=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(a){if(r[a])return r[a].exports;var i=r[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,a){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:a})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=51)}([function(t,e){t.exports=function(t,e,r,a,i,o){var n,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(n=t,s=t.default);var c="function"==typeof s?s.options:s;e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId=i);var d;if(o?(d=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=d):a&&(d=a),d){var u=c.functional,p=u?c.render:c.beforeCreate;u?(c._injectStyles=d,c.render=function(t,e){return d.call(e),p(t,e)}):c.beforeCreate=p?[].concat(p,d):[d]}return{esModule:n,exports:s,options:c}}},function(t,e){function r(t,e){var r=t[1]||"",i=t[3];if(!i)return r;if(e&&"function"==typeof btoa){var o=a(i);return[r].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([o]).join("\n")}return[r].join("\n")}function a(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=r(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var a={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(a[o]=!0)}for(i=0;i<t.length;i++){var n=t[i];"number"==typeof n[0]&&a[n[0]]||(r&&!n[2]?n[2]=r:r&&(n[2]="("+n[2]+") and ("+r+")"),e.push(n))}},e}},function(t,e,r){function a(t){for(var e=0;e<t.length;e++){var r=t[e],a=d[r.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](r.parts[i]);for(;i<r.parts.length;i++)a.parts.push(o(r.parts[i]));a.parts.length>r.parts.length&&(a.parts.length=r.parts.length)}else{for(var n=[],i=0;i<r.parts.length;i++)n.push(o(r.parts[i]));d[r.id]={id:r.id,refs:1,parts:n}}}}function i(){var t=document.createElement("style");return t.type="text/css",u.appendChild(t),t}function o(t){var e,r,a=document.querySelector("style["+g+'~="'+t.id+'"]');if(a){if(h)return m;a.parentNode.removeChild(a)}if(y){var o=f++;a=p||(p=i()),e=n.bind(null,a,o,!1),r=n.bind(null,a,o,!0)}else a=i(),e=s.bind(null,a),r=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else r()}}function n(t,e,r,a){var i=r?"":a.css;if(t.styleSheet)t.styleSheet.cssText=b(e,i);else{var o=document.createTextNode(i),n=t.childNodes;n[e]&&t.removeChild(n[e]),n.length?t.insertBefore(o,n[e]):t.appendChild(o)}}function s(t,e){var r=e.css,a=e.media,i=e.sourceMap;if(a&&t.setAttribute("media",a),v.ssrId&&t.setAttribute(g,e.id),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=r(55),d={},u=l&&(document.head||document.getElementsByTagName("head")[0]),p=null,f=0,h=!1,m=function(){},v=null,g="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,r,i){h=r,v=i||{};var o=c(t,e);return a(o),function(e){for(var r=[],i=0;i<o.length;i++){var n=o[i],s=d[n.id];s.refs--,r.push(s)}e?(o=c(t,e),a(o)):o=[];for(var i=0;i<r.length;i++){var s=r[i];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete d[s.id]}}}};var b=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}()},function(t,e,r){"use strict";function a(t,e){if(t){var r=Object.assign({},e.query||{},{_t:Date.now()}),a=t.resolve({name:e.name,query:r}).href,i=window.location.href.split("#")[0],o=i+a,n=e.name||"_blank";window.open(o,n)}}function i(t){f=Object.assign({},l.a,c.a,t||{})}function o(){return f}function n(t){h=t||h}function s(){return h}r.d(e,"b",function(){return d}),r.d(e,"c",function(){return u}),r.d(e,"a",function(){return p}),e.f=a,e.g=i,e.d=o,e.h=n,e.e=s;var l=r(19),c=r(79),d={config:"customQuery",history:"customQueryHistory",result:"customQueryResult"},u={config:"/com/model/custom-query",history:"/com/model/custom-query-history",result:"/com/model/custom-query-result"},p="CUSTOM_QUERY_PAYLOAD",f=Object.assign({},l.a,c.a),h=null},function(t,e,r){"use strict";t.exports=TypeError},function(t,e,r){"use strict";function a(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}var i=r(58),o=r(9),n=r.n(o);e.a={data:function(){return{sDialogShow:!1,dayjs:n.a,complexQueryConfig:[],customShowList:[],showModal:!1,modalStatus:!1,dataGridLoad:!1,comModelProps:null,comModel:null,modelShowFields:null,dataGridColumns:[],gridData:[],queryFields:[],queryFieldsZH:[],allqueryFields:[],hiddenQueryFields:[],filterFields:{},pageNo:1,pageSize:10,pageSizeOpts:[10,20,50,100],labelWidth:120,totalNum:0,orderKey:[],orderType:[],quickFilter:[],batch_select:[],multiColSetShow:!1,column:[],slotColumn:[],funcAuth:[],showOper:!0,hasRowOper:!1,headOper:[],headOperBatch:[],rowOper:[],rowOperBatch:[],iframeUrl:"",iframeComponent:"",gridExportOptStatus:!1,gridExportDataStatus:!1,gridExportDataRequestParams:null,gridDataRequestParams:null,gridPrintOptStatus:!1,gridPrintDataStatus:!1,gridPrintDataRequestParams:null,modalId:"",modalTitle:"",modalWidth:1e3,modalHeight:600,searchShow:!1,pageSearch:!0,showCheckbox:!1,loading:!0,dataGridId:"",clearCache:"",browsePerm:!0,dataGridWidth:0,dataGridHeight:-1,searchType:"01",errorMsg:"",dbType:"",exportMaxCount:0,returnParams:{},showDicManage:!1,openDicModal:!1,dicModalTitle:"字典代码管理",isDefaultTab:this.$route.query&&this.$route.query.isDefaultTab?this.$route.query.isDefaultTab:"",currentFilter:"",asyncExportTotal:0,containSubordinate:"",startTime:null,renderData:[],currentStart:0,isLoading:!1,noMoreData:!1,scrollThreshold:40,scrollContainer:null,dialogMark:"",paramsDialog:{},operObjWidth:100,autoGridHeight:440}},mixins:[i.a],computed:{showCustomQuery:function(){var t=this.comModelProps&&this.comModelProps.iscustomShow;return"1"===t||!0===t},customQueryMark:function(){return this.gridMark||this.funcMark||this.comModel&&this.comModel.mark||""},gridHeight:function(){if(null!==this.externalHeight&&void 0!==this.externalHeight&&""!==this.externalHeight)return this.externalHeight;var t=Number(this.dataGridHeight);return!isNaN(t)&&t>0?t:this.autoGridHeight}},methods:{calcAutoGridHeight:function(){var t=this;this.$nextTick(function(){var e=t.$refs.scrollWrapper;if(e&&e.getBoundingClientRect){var r=e.getBoundingClientRect().top,a=window.innerHeight-r-70;a<200&&(a=200),t.autoGridHeight=a}})},plog:function(t,e,r){r||(r=this.startTime),console.log("[性能] "+t+": "+(e-r).toFixed(2)+"ms")},query_grid_data:function(t,e){var r=this;this.renderData=[],this.currentStart=0,this.startTime=performance.now(),console.log(this.$refs,"[性能] 开始查询: Tag = "+(e||"未定义")+", pageNo="+(t||this.pageNo)+", pageSize="+this.pageSize),this.loading=!0,t&&(this.pageNo=t);var a=this.getGridRequestParams("cx"==e?e:"03"===this.searchType||e);console.log(this.complexQueryConfig,"complexQueryConfig",a),this.$emit("returnParams",a),this.$store.dispatch("postRequest",{url:"/bsp-com/com/datagrid/getQueryPageData",params:a}).then(function(t){if(t.success){r.plog("数据接收耗时",performance.now());var e=performance.now(),i=function(){r.plog("渲染耗时",performance.now(),e),r.plog("总耗时",performance.now())};if(r.$emit("returnParamsSuccess",a,t,r.returnParams),r.beforeRender?r.beforeRender(t).then(function(t){t.success&&r.initRenderData(t.rows,t.total,i)}):r.initRenderData(t.rows,t.total,i),r.comModel.groupStat&&r.comModel.groupStatField&&t.group&&r.quickFilter)try{r.quickFilter[0].forEach(function(e){if(e.groupStatType&&"0"!=e.groupStatType){if("1"==e.groupStatType&&t.groupFilter){var r=e.mark;e.groupNum=t.groupFilter[r]||0}}else{var a=e.groupStatField.split("|"),i=e.groupMatchValue.split("|");e.groupNum=0;for(var o=0;o<a.length;o++){var n=a[o],s=i[o];t.group[n]&&t.group[n][s]&&(e.groupNum+=t.group[n][s])}}})}catch(t){console.log("分组统计异常:",t)}t.asyncExportTotal&&(r.asyncExportTotal=t.asyncExportTotal)}})},getGridRequestParams:function(t){var e=this,r={modelId:this.comModel.mark,pageNo:this.pageNo,pageSize:this.pageSize,browsePerm:this.browsePerm},a=[],i=this.build_query_condis(t),o=this.build_filter_condis();o.length>0&&(a=a.concat(o)),i.length>0&&(a=a.concat(i)),a.length>0&&(r.condis=JSON.stringify(a));var n=this.get_quick_filter();n&&""!==n&&(r.quickFilterSql=n);var s=[];if(this.orderKey.length>0&&this.orderKey.forEach(function(t){var r=e.chineseSort[t];r?s.push(r):s.push(t)}),r.sortName=s.join(","),r.sortType=this.orderType.join(","),Object.keys(this.extendParams).length>0)r.extendParams=JSON.stringify(this.extendParams);else if(Object.keys(this.params).length>0){var l=Object.assign(this.$route.query,this.params);r.extendParams=JSON.stringify(l)}else r.extendParams=JSON.stringify(this.$route.query);return r},initRenderData:function(t,e,r){this.gridData=t,this.totalNum=e;var a=performance.now(),i=this.modelShowFields.filter(function(t){return t.attachProps&&JSON.parse(t.attachProps)&&JSON.parse(t.attachProps)._disabled});this.plog("处理禁用字段",performance.now(),a);var o=performance.now();this.gridData&&this.gridData.length>0&&this.gridData.forEach(function(t){i.forEach(function(e){JSON.parse(e.attachProps)._disabledValue==t[e.name.toLowerCase()]&&(t._disabled=!0)})}),this.plog("处理附加属性",performance.now(),o),this.batch_select=[],this.loading=!1,this.$nextTick(function(){r&&r()})},initScrollContainer:function(){var t=this;setTimeout(function(){var e=document.getElementsByClassName("ivu-table-overflowY");console.log(e,"成功绑定Table滚动容器"),e.length>0?(t.scrollContainer=e[0],t.scrollContainer.addEventListener("scroll",t.handleTableScroll),t.resetScrollTop(),console.log("成功绑定Table滚动容器")):setTimeout(function(){var e=document.getElementsByClassName("ivu-table-overflowY");e.length>0?(t.scrollContainer=e[0],t.scrollContainer.addEventListener("scroll",t.handleTableScroll)):console.warn("未找到Table滚动容器:ivu-table-overflowY")},200)},2e3)},handleTableScroll:function(){if(!this.loading&&!this.noMoreData){var t=this.scrollContainer;t.scrollHeight-t.scrollTop-t.clientHeight<this.scrollThreshold&&this.loadMoreData()}},loadMoreData:function(){var t=this;this.loading=!1,setTimeout(function(){var e=t.currentStart+100,r=t.gridData.slice(t.currentStart,e);t.renderData=[].concat(a(t.renderData),a(r)),t.currentStart=e,t.renderData.length>=t.gridData.length?t.noMoreData=!0:t.noMoreData=!1,t.loading=!1},200)},resetScrollTop:function(){var t=this;this.$nextTick(function(){if(t.scrollContainer)t.scrollContainer.scrollTop=0;else{var e=document.getElementsByClassName("ivu-table-overflowY");e.length>0&&(t.scrollContainer=e[0],t.scrollContainer.scrollTop=0)}})},refreshGrid:function(t){this.query_grid_data(t)},get_quick_filter:function(){var t=[];return this.quickFilter.forEach(function(e){var r=[];e.forEach(function(t){"1"===t.isDefault&&t.filterSql&&r.push(t.filterSql)}),r.length>0&&t.push(r.join(" or "))}),t.join(" and ")},build_query_condis:function(t){var e=this,r=[],a=[];if(t&&"cx"!=t)a=this.complexQueryConfig.concat(),a.forEach(function(t){t.fields&&t.fields.length>0&&t.fields.forEach(function(t){e.queryFields.forEach(function(e){e.forEach(function(e){t.name==e.name&&(e=Object.assign(e,t))})})})}),this.$forceUpdate();else if(t&&"cx"==t){var i=[],o=this.complexQueryConfig.concat();o.forEach(function(t){t.fields&&t.fields.length>0&&t.fields.forEach(function(t){e.queryFields.forEach(function(e){i.push(t),e.forEach(function(e){t.name==e.name&&(e=Object.assign(t,e))})})})}),a=this.queryFields.concat([i]),this.$forceUpdate()}else a=this.queryFields.concat();var n=this;if(n.containSubordinate="",this.hiddenQueryFields.length>0){var s=[],l=Object.assign({},this.$route.query,this.params),c={user:this.$store.getters.sessionUser,req:l};this.hiddenQueryFields.forEach(function(t){var e=Object.assign({},t),r=e.defaultValue?e.defaultValue.trim():"",a=n.template(r,c);""!==a&&(e.searchValue=a),e.startDefault&&(e.start=n.template(e.startDefault.trim(),c)),e.endDefault&&(e.end=n.template(e.endDefault.trim(),c)),s.push(e)}),s.length>0&&a.push(s)}return a.forEach(function(e){(t&&"cx"!=t?e.fields:e).forEach(function(t){if(!t.controlTypeName||"09"!=t.controlTypeName&&"10"!=t.controlTypeName||(n.containSubordinate=t&&t.containSubordinate?t.containSubordinate:""),"between"===t.opName){if(t.start){var e={name:t.name,op:">=",value:t.start,valueType:t.valueType};r.push(e)}if(t.end){var a=t.end;16===a.length&&"datetime"===t.valueType?a+=":59":14===a.length&&"datetime"===t.valueType&&(a+=":59:59");var i={name:t.name,op:"<=",value:a,valueType:t.valueType};r.push(i)}}else if(t.searchValue instanceof Array){if(t.searchValue.length>0){var o={name:t.name,op:"dicmultiple",value:t.searchValue.join(","),valueType:t.valueType};r.push(o)}}else if(t.searchValue){var s={name:t.name,op:t.opName,value:t.searchValue,valueType:t.valueType};t.isDicMultiple&&(s.op="dicmultiple"),r.push(s)}})}),this.params.containSubordinate=this.containSubordinate,r},build_filter_condis:function(){var t={};Object.assign(t,this.filterFields);var e=[];for(var r in t){if(t[r].length>0){var a="=";t[r].length>1&&(a="dicmultiple");var i={name:r,op:a,value:t[r].join(","),valueType:"string"};e.push(i)}}return e},on_batch_select:function(t){this.batch_select=t},isAuth:function(t){return!t||""===t}}}},function(t,e,r){"use strict";var a=r(80),i=r(108),o=r(14);t.exports={formats:o,parse:i,stringify:a}},function(t,e,r){(function(e){function a(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||at.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var a=t<0?-st(-t):st(t);if(a!==t){var i=String(a),o=Z.call(e,i.length+1);return tt.call(i,r,"$&_")+"."+tt.call(tt.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return tt.call(e,r,"$&_")}function i(t,e,r){var a=r.quoteStyle||e,i=yt[a];return i+t+i}function o(t){return tt.call(String(t),/"/g,"&quot;")}function n(t){return!pt||!("object"==typeof t&&(pt in t||void 0!==t[pt]))}function s(t){return"[object Array]"===g(t)&&n(t)}function l(t){return"[object Date]"===g(t)&&n(t)}function c(t){return"[object RegExp]"===g(t)&&n(t)}function d(t){return"[object Error]"===g(t)&&n(t)}function u(t){return"[object String]"===g(t)&&n(t)}function p(t){return"[object Number]"===g(t)&&n(t)}function f(t){return"[object Boolean]"===g(t)&&n(t)}function h(t){if(ut)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!dt)return!1;try{return dt.call(t),!0}catch(t){}return!1}function m(t){if(!t||"object"!=typeof t||!lt)return!1;try{return lt.call(t),!0}catch(t){}return!1}function v(t,e){return _t.call(t,e)}function g(t){return J.call(t)}function y(t){if(t.name)return t.name;var e=Y.call(K.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function b(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,a=t.length;r<a;r++)if(t[r]===e)return r;return-1}function _(t){if(!F||!t||"object"!=typeof t)return!1;try{F.call(t);try{$.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}function x(t){if(!V||!t||"object"!=typeof t)return!1;try{V.call(t,V);try{W.call(t,W)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}function w(t){if(!H||!t||"object"!=typeof t)return!1;try{return H.call(t),!0}catch(t){}return!1}function k(t){if(!$||!t||"object"!=typeof t)return!1;try{$.call(t);try{F.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}function O(t){if(!W||!t||"object"!=typeof t)return!1;try{W.call(t,W);try{V.call(t,V)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}function S(t){return!(!t||"object"!=typeof t)&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)}function C(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,a="... "+r+" more character"+(r>1?"s":"");return C(Z.call(t,0,e.maxStringLength),e)+a}var o=bt[e.quoteStyle||"single"];return o.lastIndex=0,i(tt.call(tt.call(t,o,"\\$1"),/[\x00-\x1f]/g,D),"single",e)}function D(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+et.call(e.toString(16))}function M(t){return"Object("+t+")"}function T(t){return t+" { ? }"}function P(t,e,r,a){return t+" ("+e+") {"+(a?A(r,a):ot.call(r,", "))+"}"}function E(t){for(var e=0;e<t.length;e++)if(b(t[e],"\n")>=0)return!1;return!0}function N(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=ot.call(Array(t.indent+1)," ")}return{base:r,prev:ot.call(Array(e+1),r)}}function A(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+ot.call(t,","+r)+"\n"+e.prev}function I(t,e){var r=s(t),a=[];if(r){a.length=t.length;for(var i=0;i<t.length;i++)a[i]=v(t,i)?e(t[i],t):""}var o,n="function"==typeof ct?ct(t):[];if(ut){o={};for(var l=0;l<n.length;l++)o["$"+n[l]]=n[l]}for(var c in t)v(t,c)&&(r&&String(Number(c))===c&&c<t.length||ut&&o["$"+c]instanceof Symbol||(at.call(/[^\w$]/,c)?a.push(e(c,t)+": "+e(t[c],t)):a.push(c+": "+e(t[c],t))));if("function"==typeof ct)for(var d=0;d<n.length;d++)ft.call(t,n[d])&&a.push("["+e(n[d])+"]: "+e(t[n[d]],t));return a}var R="function"==typeof Map&&Map.prototype,j=Object.getOwnPropertyDescriptor&&R?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,F=R&&j&&"function"==typeof j.get?j.get:null,q=R&&Map.prototype.forEach,B="function"==typeof Set&&Set.prototype,z=Object.getOwnPropertyDescriptor&&B?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,$=B&&z&&"function"==typeof z.get?z.get:null,G=B&&Set.prototype.forEach,L="function"==typeof WeakMap&&WeakMap.prototype,V=L?WeakMap.prototype.has:null,X="function"==typeof WeakSet&&WeakSet.prototype,W=X?WeakSet.prototype.has:null,U="function"==typeof WeakRef&&WeakRef.prototype,H=U?WeakRef.prototype.deref:null,Q=Boolean.prototype.valueOf,J=Object.prototype.toString,K=Function.prototype.toString,Y=String.prototype.match,Z=String.prototype.slice,tt=String.prototype.replace,et=String.prototype.toUpperCase,rt=String.prototype.toLowerCase,at=RegExp.prototype.test,it=Array.prototype.concat,ot=Array.prototype.join,nt=Array.prototype.slice,st=Math.floor,lt="function"==typeof BigInt?BigInt.prototype.valueOf:null,ct=Object.getOwnPropertySymbols,dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,ut="function"==typeof Symbol&&"object"==typeof Symbol.iterator,pt="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ut?"object":"symbol")?Symbol.toStringTag:null,ft=Object.prototype.propertyIsEnumerable,ht=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null),mt=r(82),vt=mt.custom,gt=h(vt)?vt:null,yt={__proto__:null,double:'"',single:"'"},bt={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};t.exports=function t(r,n,D,R){function j(e,r,a){if(r&&(R=nt.call(R),R.push(r)),a){var i={depth:B.depth};return v(B,"quoteStyle")&&(i.quoteStyle=B.quoteStyle),t(e,i,D+1,R)}return t(e,B,D+1,R)}var B=n||{};if(v(B,"quoteStyle")&&!v(yt,B.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(v(B,"maxStringLength")&&("number"==typeof B.maxStringLength?B.maxStringLength<0&&B.maxStringLength!==1/0:null!==B.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var z=!v(B,"customInspect")||B.customInspect;if("boolean"!=typeof z&&"symbol"!==z)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(v(B,"indent")&&null!==B.indent&&"\t"!==B.indent&&!(parseInt(B.indent,10)===B.indent&&B.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(v(B,"numericSeparator")&&"boolean"!=typeof B.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var L=B.numericSeparator;if(void 0===r)return"undefined";if(null===r)return"null";if("boolean"==typeof r)return r?"true":"false";if("string"==typeof r)return C(r,B);if("number"==typeof r){if(0===r)return 1/0/r>0?"0":"-0";var V=String(r);return L?a(r,V):V}if("bigint"==typeof r){var X=String(r)+"n";return L?a(r,X):X}var W=void 0===B.depth?5:B.depth;if(void 0===D&&(D=0),D>=W&&W>0&&"object"==typeof r)return s(r)?"[Array]":"[Object]";var U=N(B,D);if(void 0===R)R=[];else if(b(R,r)>=0)return"[Circular]";if("function"==typeof r&&!c(r)){var H=y(r),J=I(r,j);return"[Function"+(H?": "+H:" (anonymous)")+"]"+(J.length>0?" { "+ot.call(J,", ")+" }":"")}if(h(r)){var K=ut?tt.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):dt.call(r);return"object"!=typeof r||ut?K:M(K)}if(S(r)){for(var Y="<"+rt.call(String(r.nodeName)),et=r.attributes||[],at=0;at<et.length;at++)Y+=" "+et[at].name+"="+i(o(et[at].value),"double",B);return Y+=">",r.childNodes&&r.childNodes.length&&(Y+="..."),Y+="</"+rt.call(String(r.nodeName))+">"}if(s(r)){if(0===r.length)return"[]";var st=I(r,j);return U&&!E(st)?"["+A(st,U)+"]":"[ "+ot.call(st,", ")+" ]"}if(d(r)){var ct=I(r,j);return"cause"in Error.prototype||!("cause"in r)||ft.call(r,"cause")?0===ct.length?"["+String(r)+"]":"{ ["+String(r)+"] "+ot.call(ct,", ")+" }":"{ ["+String(r)+"] "+ot.call(it.call("[cause]: "+j(r.cause),ct),", ")+" }"}if("object"==typeof r&&z){if(gt&&"function"==typeof r[gt]&&mt)return mt(r,{depth:W-D});if("symbol"!==z&&"function"==typeof r.inspect)return r.inspect()}if(_(r)){var vt=[];return q&&q.call(r,function(t,e){vt.push(j(e,r,!0)+" => "+j(t,r))}),P("Map",F.call(r),vt,U)}if(k(r)){var bt=[];return G&&G.call(r,function(t){bt.push(j(t,r))}),P("Set",$.call(r),bt,U)}if(x(r))return T("WeakMap");if(O(r))return T("WeakSet");if(w(r))return T("WeakRef");if(p(r))return M(j(Number(r)));if(m(r))return M(j(lt.call(r)));if(f(r))return M(Q.call(r));if(u(r))return M(j(String(r)));if("undefined"!=typeof window&&r===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&r===globalThis||void 0!==e&&r===e)return"{ [object globalThis] }";if(!l(r)&&!c(r)){var _t=I(r,j),xt=ht?ht(r)===Object.prototype:r instanceof Object||r.constructor===Object,wt=r instanceof Object?"":"null prototype",kt=!xt&&pt&&Object(r)===r&&pt in r?Z.call(g(r),8,-1):wt?"Object":"",Ot=xt||"function"!=typeof r.constructor?"":r.constructor.name?r.constructor.name+" ":"",St=Ot+(kt||wt?"["+ot.call(it.call([],kt||[],wt||[]),": ")+"] ":"");return 0===_t.length?St+"{}":U?St+"{"+A(_t,U)+"}":St+"{ "+ot.call(_t,", ")+" }"}return String(r)};var _t=Object.prototype.hasOwnProperty||function(t){return t in this}}).call(e,r(81))},function(t,e,r){"use strict";var a=r(103);t.exports=Function.prototype.bind||a},function(t,e,r){!function(e,r){t.exports=r()}(0,function(){"use strict";var t="millisecond",e="second",r="minute",a="hour",i="day",o="week",n="month",s="quarter",l="year",c="date",d="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},h=function(t,e,r){var a=String(t);return!a||a.length>=e?t:""+Array(e+1-a.length).join(r)+t},m={s:h,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),a=Math.floor(r/60),i=r%60;return(e<=0?"+":"-")+h(a,2,"0")+":"+h(i,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var a=12*(r.year()-e.year())+(r.month()-e.month()),i=e.clone().add(a,n),o=r-i<0,s=e.clone().add(a+(o?-1:1),n);return+(-(a+(r-i)/(o?i-s:s-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(d){return{M:n,y:l,w:o,d:i,D:c,h:a,m:r,s:e,ms:t,Q:s}[d]||String(d||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},v="en",g={};g[v]=f;var y="$isDayjsObject",b=function(t){return t instanceof k||!(!t||!t[y])},_=function t(e,r,a){var i;if(!e)return v;if("string"==typeof e){var o=e.toLowerCase();g[o]&&(i=o),r&&(g[o]=r,i=o);var n=e.split("-");if(!i&&n.length>1)return t(n[0])}else{var s=e.name;g[s]=e,i=s}return!a&&i&&(v=i),i||!a&&v},x=function(t,e){if(b(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new k(r)},w=m;w.l=_,w.i=b,w.w=function(t,e){return x(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var k=function(){function f(t){this.$L=_(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[y]=!0}var h=f.prototype;return h.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(w.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var a=e.match(u);if(a){var i=a[2]-1||0,o=(a[7]||"0").substring(0,3);return r?new Date(Date.UTC(a[1],i,a[3]||1,a[4]||0,a[5]||0,a[6]||0,o)):new Date(a[1],i,a[3]||1,a[4]||0,a[5]||0,a[6]||0,o)}}return new Date(e)}(t),this.init()},h.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},h.$utils=function(){return w},h.isValid=function(){return!(this.$d.toString()===d)},h.isSame=function(t,e){var r=x(t);return this.startOf(e)<=r&&r<=this.endOf(e)},h.isAfter=function(t,e){return x(t)<this.startOf(e)},h.isBefore=function(t,e){return this.endOf(e)<x(t)},h.$g=function(t,e,r){return w.u(t)?this[e]:this.set(r,t)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(t,s){var d=this,u=!!w.u(s)||s,p=w.p(t),f=function(t,e){var r=w.w(d.$u?Date.UTC(d.$y,e,t):new Date(d.$y,e,t),d);return u?r:r.endOf(i)},h=function(t,e){return w.w(d.toDate()[t].apply(d.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(e)),d)},m=this.$W,v=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(p){case l:return u?f(1,0):f(31,11);case n:return u?f(1,v):f(0,v+1);case o:var b=this.$locale().weekStart||0,_=(m<b?m+7:m)-b;return f(u?g-_:g+(6-_),v);case i:case c:return h(y+"Hours",0);case a:return h(y+"Minutes",1);case r:return h(y+"Seconds",2);case e:return h(y+"Milliseconds",3);default:return this.clone()}},h.endOf=function(t){return this.startOf(t,!1)},h.$set=function(o,s){var d,u=w.p(o),p="set"+(this.$u?"UTC":""),f=(d={},d[i]=p+"Date",d[c]=p+"Date",d[n]=p+"Month",d[l]=p+"FullYear",d[a]=p+"Hours",d[r]=p+"Minutes",d[e]=p+"Seconds",d[t]=p+"Milliseconds",d)[u],h=u===i?this.$D+(s-this.$W):s;if(u===n||u===l){var m=this.clone().set(c,1);m.$d[f](h),m.init(),this.$d=m.set(c,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},h.set=function(t,e){return this.clone().$set(t,e)},h.get=function(t){return this[w.p(t)]()},h.add=function(t,s){var c,d=this;t=Number(t);var u=w.p(s),p=function(e){var r=x(d);return w.w(r.date(r.date()+Math.round(e*t)),d)};if(u===n)return this.set(n,this.$M+t);if(u===l)return this.set(l,this.$y+t);if(u===i)return p(1);if(u===o)return p(7);var f=(c={},c[r]=6e4,c[a]=36e5,c[e]=1e3,c)[u]||1,h=this.$d.getTime()+t*f;return w.w(h,this)},h.subtract=function(t,e){return this.add(-1*t,e)},h.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||d;var a=t||"YYYY-MM-DDTHH:mm:ssZ",i=w.z(this),o=this.$H,n=this.$m,s=this.$M,l=r.weekdays,c=r.months,u=r.meridiem,f=function(t,r,i,o){return t&&(t[r]||t(e,a))||i[r].slice(0,o)},h=function(t){return w.s(o%12||12,t,"0")},m=u||function(t,e,r){var a=t<12?"AM":"PM";return r?a.toLowerCase():a};return a.replace(p,function(t,a){return a||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return w.s(e.$y,4,"0");case"M":return s+1;case"MM":return w.s(s+1,2,"0");case"MMM":return f(r.monthsShort,s,c,3);case"MMMM":return f(c,s);case"D":return e.$D;case"DD":return w.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return f(r.weekdaysMin,e.$W,l,2);case"ddd":return f(r.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(o);case"HH":return w.s(o,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return m(o,n,!0);case"A":return m(o,n,!1);case"m":return String(n);case"mm":return w.s(n,2,"0");case"s":return String(e.$s);case"ss":return w.s(e.$s,2,"0");case"SSS":return w.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")})},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(t,c,d){var u,p=this,f=w.p(c),h=x(t),m=6e4*(h.utcOffset()-this.utcOffset()),v=this-h,g=function(){return w.m(p,h)};switch(f){case l:u=g()/12;break;case n:u=g();break;case s:u=g()/3;break;case o:u=(v-m)/6048e5;break;case i:u=(v-m)/864e5;break;case a:u=v/36e5;break;case r:u=v/6e4;break;case e:u=v/1e3;break;default:u=v}return d?u:w.a(u)},h.daysInMonth=function(){return this.endOf(n).$D},h.$locale=function(){return g[this.$L]},h.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),a=_(t,e,!0);return a&&(r.$L=a),r},h.clone=function(){return w.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),O=k.prototype;return x.prototype=O,[["$ms",t],["$s",e],["$m",r],["$H",a],["$W",i],["$M",n],["$y",l],["$D",c]].forEach(function(t){O[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),x.extend=function(t,e){return t.$i||(t(e,k,x),t.$i=!0),x},x.locale=_,x.isDayjs=b,x.unix=function(t){return x(1e3*t)},x.en=g[v],x.Ls=g,x.p={},x})},function(t,e,r){"use strict";/*! * @jsmini/type 0.9.2 (https://github.com/jsmini/type) * API https://github.com/jsmini/type/blob/master/doc/api.md * Copyright 2017-2019 jsmini. All Rights Reserved * Licensed under MIT (https://github.com/jsmini/type/blob/master/LICENSE) */ function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=!!e,null===t)return"null";var r=a(t);if(e&&"number"===r&&isNaN(t))return"nan";if("object"!==r)return r;var i,n;try{i=o.call(t).slice(8,-1),n=i.toLowerCase()}catch(t){return"object"}if("object"!==n){if(e){if("number"===n&&isNaN(t))return"NaN";if("number"===n||"boolean"===n||"string"===n)return i}return n}if(t.constructor==Object)return n;try{if(null===Object.getPrototypeOf(t)||null===t.__proto__)return"object"}catch(t){}try{var s=t.constructor.name;if("string"==typeof s)return s}catch(t){}return"unknown"}r.d(e,"a",function(){return i});var o=Object.prototype.toString},function(t,e,r){"use strict";/*! * @jsmini/extend 0.3.3 (https://github.com/jsmini/extend) * API https://github.com/jsmini/extend/blob/master/doc/api.md * Copyright 2017-2019 jsmini. All Rights Reserved * Licensed under MIT (https://github.com/jsmini/extend/blob/master/LICENSE) */ function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function i(){return s.apply(void 0,arguments)}function o(t){if(!Object(n.c)(t)&&!Object(n.a)(t))throw new TypeError("extend target param must is object");for(var e=0;e<(arguments.length<=1?0:arguments.length-1);e++){var r=e+1<1||arguments.length<=e+1?void 0:arguments[e+1];for(var i in r){var s=t[i],l=r[i];if(t!==l&&a(r,i)){var c=void 0;if(l&&(Object(n.c)(l)||(c=Object(n.a)(l)))){var d=void 0;d=c?s&&Object(n.a)(s)?s:[]:s&&Object(n.c)(s)?s:{},t[i]=o(d,l)}else void 0!==l&&(t[i]=l)}}}return t}r.d(e,"a",function(){return i}),r.d(e,"b",function(){return o});var n=r(60),s=Object(n.b)(Object.assign)?Object.assign:function(t){if(!Object(n.c)(t))throw new TypeError("assign first param must is object");for(var e=0;e<(arguments.length<=1?0:arguments.length-1);e++){var r=e+1<1||arguments.length<=e+1?void 0:arguments[e+1];if(Object(n.c)(r))for(var i in r)a(r,i)&&(t[i]=r[i])}return t}},function(t,e,r){"use strict";var a=r(22),i=r(84),o=r(85),n=r(86),s=r(87),l=r(88),c=r(4),d=r(89),u=r(90),p=r(91),f=r(92),h=r(93),m=r(94),v=r(95),g=r(96),y=Function,b=function(t){try{return y('"use strict"; return ('+t+").constructor;")()}catch(t){}},_=r(23),x=r(24),w=function(){throw new c},k=_?function(){try{return arguments.callee,w}catch(t){try{return _(arguments,"callee").get}catch(t){return w}}}():w,O=r(99)(),S=r(101),C=r(26),D=r(25),M=r(28),T=r(13),P={},E="undefined"!=typeof Uint8Array&&S?S(Uint8Array):void 0,N={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":O&&S?S([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":P,"%AsyncGenerator%":P,"%AsyncGeneratorFunction%":P,"%AsyncIteratorPrototype%":P,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float16Array%":"undefined"==typeof Float16Array?void 0:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":P,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":O&&S?S(S([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&O&&S?S((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":a,"%Object.getOwnPropertyDescriptor%":_,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":n,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&O&&S?S((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":O&&S?S(""[Symbol.iterator]()):void 0,"%Symbol%":O?Symbol:void 0,"%SyntaxError%":l,"%ThrowTypeError%":k,"%TypedArray%":E,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":d,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":M,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":C,"%Math.abs%":u,"%Math.floor%":p,"%Math.max%":f,"%Math.min%":h,"%Math.pow%":m,"%Math.round%":v,"%Math.sign%":g,"%Reflect.getPrototypeOf%":D};if(S)try{null.error}catch(t){var A=S(S(t));N["%Error.prototype%"]=A}var I=function t(e){var r;if("%AsyncFunction%"===e)r=b("async function () {}");else if("%GeneratorFunction%"===e)r=b("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=b("async function* () {}");else if("%AsyncGenerator%"===e){var a=t("%AsyncGeneratorFunction%");a&&(r=a.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&S&&(r=S(i.prototype))}return N[e]=r,r},R={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},j=r(8),F=r(106),q=j.call(T,Array.prototype.concat),B=j.call(M,Array.prototype.splice),z=j.call(T,String.prototype.replace),$=j.call(T,String.prototype.slice),G=j.call(T,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,X=function(t){var e=$(t,0,1),r=$(t,-1);if("%"===e&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new l("invalid intrinsic syntax, expected opening `%`");var a=[];return z(t,L,function(t,e,r,i){a[a.length]=r?z(i,V,"$1"):e||t}),a},W=function(t,e){var r,a=t;if(F(R,a)&&(r=R[a],a="%"+r[0]+"%"),F(N,a)){var i=N[a];if(i===P&&(i=I(a)),void 0===i&&!e)throw new c("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:a,value:i}}throw new l("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new c('"allowMissing" argument must be a boolean');if(null===G(/^%?[^%]*%?$/,t))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=X(t),a=r.length>0?r[0]:"",i=W("%"+a+"%",e),o=i.name,n=i.value,s=!1,d=i.alias;d&&(a=d[0],B(r,q([0,1],d)));for(var u=1,p=!0;u<r.length;u+=1){var f=r[u],h=$(f,0,1),m=$(f,-1);if(('"'===h||"'"===h||"`"===h||'"'===m||"'"===m||"`"===m)&&h!==m)throw new l("property names with quotes must have matching quotes");if("constructor"!==f&&p||(s=!0),a+="."+f,o="%"+a+"%",F(N,o))n=N[o];else if(null!=n){if(!(f in n)){if(!e)throw new c("base intrinsic for "+t+" exists, but the property is not available.");return}if(_&&u+1>=r.length){var v=_(n,f);p=!!v,n=p&&"get"in v&&!("originalValue"in v.get)?v.get:n[f]}else p=F(n,f),n=n[f];p&&!s&&(N[o]=n)}}return n}},function(t,e,r){"use strict";t.exports=Function.prototype.call},function(t,e,r){"use strict";var a=String.prototype.replace,i=/%20/g,o={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports={default:o.RFC3986,formatters:{RFC1738:function(t){return a.call(t,i,"+")},RFC3986:function(t){return String(t)}},RFC1738:o.RFC1738,RFC3986:o.RFC3986}},function(t,e,r){"use strict";var a=r(56),i=r(140),o=r(144),n=r(148),s=r(153),l=r(160),c=(r.n(l),r(161)),d=(r.n(c),r(162)),u=(r.n(d),r(163)),p=(r.n(u),r(164)),f=(r.n(p),r(165)),h=r(47),m=r(49),v=r(171);r.n(v);e.a={mixins:[a.a],components:{iframeComponent:i.a,gridExportOpt:o.a,gridDataOpt:n.a,gridPrintOpt:s.a,dicManage:p.dicManage,sdAreaSelectNew:l.sdAreaSelectNew,sdCascader:c.sdCascader,sdAreaTreeSelectNew:d.sdAreaTreeSelectNew,sdAyTreeSelect:u.sdAyTreeSelect,girdMoreSearch:f.a,dataCheckbox:h.a,dataRadio:m.a,sDialog:v.sDialog},computed:{pickerOptions:function(){return function(t,e){return{disabledDate:function(r){if(1===e){if(t.end){var a=new Date(t.end);return a.setDate(a.getDate()),r.getTime()>=a}return!1}if(t.start){var i=new Date(t.start);return i.setDate(i.getDate()-1),r.getTime()<=i}return!1}}}}}}},function(t,e,r){"use strict";(t.exports={}).forEach=function(t,e){for(var r=0;r<t.length;r++){var a=e(t[r]);if(a)return a}}},function(t,e,r){"use strict";var a=t.exports={};a.isIE=function(t){return!!function(){var t=navigator.userAgent.toLowerCase();return-1!==t.indexOf("msie")||-1!==t.indexOf("trident")||-1!==t.indexOf(" edge/")}()&&(!t||t===function(){var t=3,e=document.createElement("div"),r=e.getElementsByTagName("i");do{e.innerHTML="\x3c!--[if gt IE "+ ++t+"]><i></i><![endif]--\x3e"}while(r[0]);return t>4?t:void 0}())},a.isLegacyOpera=function(){return!!window.opera}},function(t,e,r){"use strict";function a(){return[{path:n.c.config,name:n.b.config,meta:{title:"自定义查询",hideInMenu:!0},component:function(){return new Promise(function(t){t()}).then(r.bind(null,109))}},{path:n.c.history,name:n.b.history,meta:{title:"历史查询模版",hideInMenu:!0},component:function(){return new Promise(function(t){t()}).then(r.bind(null,124))}},{path:n.c.result,name:n.b.result,meta:{title:"查询结果",hideInMenu:!0},component:function(){return new Promise(function(t){t()}).then(r.bind(null,132))}}]}function i(t){if(!t)return void console.warn("[custom-query] 缺少 router 实例,无法注册路由");var e="function"==typeof t.getRoutes&&t.getRoutes().some(function(t){return t.name===n.b.config});if(!s&&!e){var r=a();"function"==typeof t.addRoute?r.forEach(function(e){return t.addRoute(e)}):"function"==typeof t.addRoutes&&t.addRoutes(r),s=!0}}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.store&&Object(n.h)(e.store),i(t),Object(n.f)(t,{name:n.b.config,query:{mark:e.mark||"",appId:e.appId||""}})}e.a=i,e.b=o;var n=r(3),s=!1},function(t,e,r){"use strict";function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;return new Promise(function(r){return setTimeout(function(){return r(t)},e)})}var i=[{name:"ryjbxxzb",label:"人员基本信息总表(排第一位)"},{name:"jbxx",label:"监室基本信息"},{name:"ajxx",label:"案件信息"},{name:"ssxx",label:"诉讼信息"}],o={ryjbxxzb:[{name:"jsbh",label:"监所编号",code:"jsbh"},{name:"rybh",label:"人员编号",code:"rybh"},{name:"xm",label:"姓名",code:"xm"},{name:"zw",label:"职务",code:"zw"},{name:"xb",label:"性别",code:"xb",fieldType:"varchar",dicName:"XBDM"},{name:"jsh",label:"监室号",code:"jsh"},{name:"zjh",label:"证件号",code:"zjh"},{name:"ajlb",label:"案件类别",code:"ajlb"},{name:"rssj",label:"入所时间",code:"rssj",fieldType:"timestamp"},{name:"jyqx",label:"羁押期限",code:"jyqx",fieldType:"date"},{name:"sshj",label:"诉讼环节",code:"sshj"},{name:"ryzt",label:"人员状态",code:"ryzt"}],jbxx:[{name:"jsbh",label:"监所编号",code:"jsbh"},{name:"jsh",label:"监室号",code:"jsh"},{name:"jsmc",label:"监室名称",code:"jsmc"},{name:"rsrs",label:"容纳人数",code:"rsrs",fieldType:"number"}],ajxx:[{name:"ajbh",label:"案件编号",code:"ajbh"},{name:"ajmc",label:"案件名称",code:"ajmc"},{name:"ajlb",label:"案件类别",code:"ajlb"},{name:"larq",label:"立案日期",code:"larq",fieldType:"date"}],ssxx:[{name:"ssbh",label:"诉讼编号",code:"ssbh"},{name:"sshj",label:"诉讼环节",code:"sshj"},{name:"cbdw",label:"承办单位",code:"cbdw"}]},n=[{value:"eq",label:"等于"},{value:"ne",label:"不等于"},{value:"gt",label:"大于"},{value:"lt",label:"小于"},{value:"ge",label:"大于等于"},{value:"le",label:"小于等于"},{value:"like",label:"包含"},{value:"between",label:"介于"}],s=[{value:"and",label:"并且"},{value:"or",label:"或者"}],l=[{id:"1",name:"2024年度财务凭证查询",description:"按日期范围和凭证类型筛选年度财...",mainTableName:"fin_voucher",conditionSummary:['凭证日期 介于 "2024-01-01 ~ 2024-12-31"','凭证类型 等于 "记账凭证"','金额 大于 "10,000"'],createTime:"2025-12-20 14:30"},{id:"2",name:"在职员工信息快速查询",description:"查询当前在职员工的基本信息及部...",mainTableName:"hr_employee",conditionSummary:['员工状态 等于 "在职"','部门 等于 "技术部"'],createTime:"2025-12-18 09:15"},{id:"3",name:"项目成本超标预警",description:"筛选预算超支的项目,用于管理层...",mainTableName:"pm_project",conditionSummary:['实际成本 大于 "预算金额"','项目状态 等于 "进行中"'],createTime:"2025-12-15 16:00"},{id:"4",name:"供应商付款账明细",description:"按应商查询未结清的应付账款",mainTableName:"ap_invoice",conditionSummary:['付款状态 等于 "未付"','发票日期 大于等于 "2025-01-01"','供应商名称 包含 "科技"'],createTime:"2025-12-10 11:20"},{id:"5",name:"销售合同到期提醒",description:"查询未来30天内到期的销售合同列表",mainTableName:"crm_contract",conditionSummary:['合同到期日 介于 "today ~ today+30d"','合同状态 等于 "生效中"'],createTime:"2025-12-05 08:45"},{id:"6",name:"库存预警商品清单",description:"查询库存量低于安全库存的所有商品",mainTableName:"wms_product",conditionSummary:['当前库存 小于 "安全库存"','仓库 等于 "主仓库"'],createTime:"2025-12-01 10:00"}],c={getMainTables:function(){return a(i.slice())},getTableFields:function(t){return a((o[t]||[]).slice())},getOperators:function(){return Promise.resolve(n.slice())},getLogicOps:function(){return Promise.resolve(s.slice())},executeQuery:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,i=t&&t.showFields||[],o=i.map(function(t){return{title:t.label,key:t.name}}),n=["张果","王珊","李四","赵力"],s={xm:function(){return n[Math.floor(Math.random()*n.length)]},rybh:function(){return"11000011320250726090"+Math.floor(9*Math.random())},xb:function(){return Math.random()>.5?"男":"女"},jsh:function(){return"东101"},zjh:function(){return"330783198501134819"},ajlb:function(){return"贩卖毒品罪"},rssj:function(){return"2025-6-12"},jyqx:function(){return"2030-6-22"},sshj:function(){return["刑事拘留","逮捕","一审"][Math.floor(3*Math.random())]},ryzt:function(){return Math.random()>.5?"在所":"历史"},jsbh:function(){return"JS"+Math.floor(1e3*Math.random())}},l=[],c=(e-1)*r,d=0;d<r&&c+d<96;d++)!function(t){var e={};o.forEach(function(t){e[t.key]=s[t.key]?s[t.key]():"--"}),l.push(e)}();return a({rows:l,total:96,columns:o})},saveTemplate:function(t){var e=String(l.length+1);return l.unshift({id:e,name:t.name,description:t.description||"",mainTableName:t.mainTableName||"",conditionSummary:t.conditionSummary||[],createTime:t.createTime||""}),a({success:!0,id:e})},getTemplatePage:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(t.keyword||"").trim(),r=l.slice();e&&(r=r.filter(function(t){return t.name&&t.name.indexOf(e)>-1||t.mainTableName&&t.mainTableName.indexOf(e)>-1||t.description&&t.description.indexOf(e)>-1}));var i=t.pageNo||1,o=t.pageSize||5;return a({rows:r.slice((i-1)*o,i*o),total:r.length})},deleteTemplate:function(t){return l=l.filter(function(e){return e.id!==t}),a({success:!0})},getTemplateDetail:function(t){var e=l.find(function(e){return e.id===t});return a(e?Object.assign({},e):null)},getQueryScript:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a({success:!0,sql:"SELECT *\nFROM demo_table\nWHERE 1 = 1\n AND status = 1",debugSql:"-- queryJson:\n-- "+("string"==typeof t.queryJson?t.queryJson:JSON.stringify(t.queryJson||{},null,2)).replace(/\n/g,"\n-- ")+"\nSELECT *\nFROM demo_table\nWHERE 1 = 1\n AND status = 1"})}};e.a=c},function(t,e,r){"use strict";var a=r(4),i=r(7),o=r(83),n=r(21),s=r(107),l=s||n||o;t.exports=function(){var t,e={assert:function(t){if(!e.has(t)){var r=t&&Object(t)===t?"the given object key":i(t);throw new a("Side channel does not contain "+r)}},delete:function(e){return!!t&&t.delete(e)},get:function(e){return t&&t.get(e)},has:fu