@ecan-bi/datav 1.0.14 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/_utils/constant.d.ts +1 -1
  2. package/dist/_utils/hooks/index.d.ts +1 -1
  3. package/dist/_utils/hooks/usePickEchartsData.d.ts +1 -1
  4. package/dist/_utils/hooks/useRequestData.d.ts +5 -13
  5. package/dist/_utils/hooks/useTransformEchartsDataset.d.ts +12 -3
  6. package/dist/_utils/props.d.ts +1 -1
  7. package/dist/_utils/util.d.ts +14 -0
  8. package/dist/common/echarts/ECharts.d.ts +1 -0
  9. package/dist/container/border/props.d.ts +67 -57
  10. package/dist/container/index.d.ts +1 -0
  11. package/dist/container/modal/Modal.vue.d.ts +49 -32
  12. package/dist/container/modal/props.d.ts +29 -18
  13. package/dist/container/tabs/Tabs.vue.d.ts +271 -0
  14. package/dist/container/tabs/index.d.ts +3 -0
  15. package/dist/container/tabs/props.d.ts +219 -0
  16. package/dist/control/button/Button.vue.d.ts +53 -53
  17. package/dist/control/button/props.d.ts +49 -49
  18. package/dist/control/date-picker/DatePicker.vue.d.ts +61 -61
  19. package/dist/control/date-picker/props.d.ts +7 -7
  20. package/dist/control/input/Input.vue.d.ts +59 -59
  21. package/dist/control/input/props.d.ts +53 -53
  22. package/dist/control/range-picker/RangePicker.vue.d.ts +55 -55
  23. package/dist/control/range-picker/props.d.ts +51 -51
  24. package/dist/control/select/Select.vue.d.ts +65 -61
  25. package/dist/control/select/props.d.ts +53 -53
  26. package/dist/graph/bar/Bar.vue.d.ts +304 -57
  27. package/dist/graph/bar/props.d.ts +277 -49
  28. package/dist/graph/combo-graph/ComboGraph.vue.d.ts +880 -0
  29. package/dist/graph/combo-graph/index.d.ts +3 -0
  30. package/dist/graph/combo-graph/props.d.ts +619 -0
  31. package/dist/graph/custom-graph/CustomGraph.vue.d.ts +57 -57
  32. package/dist/graph/custom-graph/props.d.ts +53 -53
  33. package/dist/graph/index.d.ts +1 -0
  34. package/dist/graph/line/Line.vue.d.ts +286 -109
  35. package/dist/graph/line/props.d.ts +235 -49
  36. package/dist/graph/pie/Pie.vue.d.ts +332 -114
  37. package/dist/graph/pie/props.d.ts +279 -57
  38. package/dist/graph/scatter/Scatter.vue.d.ts +157 -209
  39. package/dist/graph/scatter/props.d.ts +148 -123
  40. package/dist/index.esm.js +16 -0
  41. package/dist/index.umd.js +16 -0
  42. package/dist/media/image/Image.vue.d.ts +55 -55
  43. package/dist/media/image/props.d.ts +51 -51
  44. package/dist/table/table/Table.vue.d.ts +208 -67
  45. package/dist/table/table/props.d.ts +160 -62
  46. package/dist/text/index.d.ts +2 -0
  47. package/dist/text/list/List.vue.d.ts +471 -0
  48. package/dist/text/list/index.d.ts +3 -0
  49. package/dist/text/list/props.d.ts +367 -0
  50. package/dist/text/text/Text.vue.d.ts +132 -43
  51. package/dist/text/text/props.d.ts +122 -38
  52. package/dist/text/time-display/TimeDisplay.vue.d.ts +385 -0
  53. package/dist/text/time-display/index.d.ts +3 -0
  54. package/dist/text/time-display/props.d.ts +275 -0
  55. package/package.json +15 -6
  56. package/dist/_utils/hooks/useRequestParams.d.ts +0 -5
  57. package/dist/_utils/request.d.ts +0 -2
  58. package/dist/index.js +0 -16
  59. package/dist/index.js.map +0 -1
  60. package/dist/index.mjs +0 -16
  61. package/dist/index.mjs.map +0 -1
@@ -1,5 +0,0 @@
1
- import { RequestParams } from '../props';
2
- export declare const useRequestParams: (params: RequestParams) => {
3
- [key: string]: any;
4
- };
5
- export default useRequestParams;
@@ -1,2 +0,0 @@
1
- export declare const request: import("axios").AxiosInstance;
2
- export default request;
package/dist/index.js DELETED
@@ -1,16 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("echarts/core"),require("resize-detector"),require("lodash-es"),require("mitt"),require("ant-design-vue"),require("ant-design-vue/es/input/style/index"),require("dayjs"),require("ant-design-vue/es/date-picker/style/index"),require("ant-design-vue/es/date-picker/locale/zh_CN"),require("ant-design-vue/es/select/style/index"),require("ant-design-vue/es/button/style/index"),require("echarts/renderers"),require("echarts/charts"),require("echarts/components"),require("axios"),require("echarts"),require("ant-design-vue/es/table/style/index")):"function"==typeof define&&define.amd?define(["exports","vue","echarts/core","resize-detector","lodash-es","mitt","ant-design-vue","ant-design-vue/es/input/style/index","dayjs","ant-design-vue/es/date-picker/style/index","ant-design-vue/es/date-picker/locale/zh_CN","ant-design-vue/es/select/style/index","ant-design-vue/es/button/style/index","echarts/renderers","echarts/charts","echarts/components","axios","echarts","ant-design-vue/es/table/style/index"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).index={},e.vue,e["echarts/core"],e["resize-detector"],e["lodash-es"],e.mitt,e["ant-design-vue"],null,e.dayjs,null,e["ant-design-vue/es/date-picker/locale/zh_CN"],null,null,e["echarts/renderers"],e["echarts/charts"],e["echarts/components"],e.axios,e.echarts)}(this,(function(e,t,n,o,r,a,i,l,c,s,u,d,p,f,m,h,v,g){"use strict";function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function y(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var x=b(a),k=b(c),w=b(u),C=b(v),S=y(g),A=["getWidth","getHeight","getDom","getOption","resize","dispatchAction","convertToPixel","convertFromPixel","containPixel","getDataURL","getConnectedDataURL","appendData","clear","isDisposed","dispose"];function E(e,t){return n=Object.create(null),A.forEach((function(o){n[o]=function(n){return function(){if(e.value||t(),!e.value)throw new Error("ECharts is not initialized yet.");for(var o=arguments.length,r=new Array(o),a=0;a<o;a++)r[a]=arguments[a];return e.value[n].apply(e.value,r)}}(o)})),n;var n}function B(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var O={exports:{}},L={exports:{}};!function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports}(L);var j={exports:{}};!function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw r}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports}(j);var P={exports:{}},N={exports:{}};!function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o},e.exports.__esModule=!0,e.exports.default=e.exports}(N),function(e){var t=N.exports;e.exports=function(e,n){if(e){if("string"==typeof e)return t(e,n);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?t(e,n):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}(P);var T={exports:{}};!function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}(T),function(e){var t=L.exports,n=j.exports,o=P.exports,r=T.exports;e.exports=function(e,a){return t(e)||n(e,a)||o(e,a)||r()},e.exports.__esModule=!0,e.exports.default=e.exports}(O);var M=B(O.exports);var z={autoresize:Boolean};var I={loading:Boolean,loadingOptions:Object};function R(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}R("x-vue-echarts{display:block;height:100%;width:100%}");var J=/^on[^a-z]/,U=function(e){return J.test(e)};var _=t.defineComponent({name:"echarts",props:Object.assign(Object.assign({option:Object,theme:{type:[Object,String]},initOptions:Object,updateOptions:Object,group:String,manualUpdate:Boolean},z),I),inheritAttrs:!1,setup:function(e,r){var a=r.attrs,i=r.listeners,l=t.shallowRef(),c=t.shallowRef(),s=t.shallowRef(),u=t.inject("ecTheme",null),d=t.inject("ecInitOptions",null),p=t.inject("ecUpdateOptions",null),f=t.toRefs(e),m=f.autoresize,h=f.manualUpdate,v=f.loading,g=f.loadingOptions,b=t.computed((function(){return s.value||e.option||Object.create(null)})),y=t.computed((function(){return e.theme||t.unref(u)||{}})),x=t.computed((function(){return e.initOptions||t.unref(d)||{}})),k=t.computed((function(){return e.updateOptions||t.unref(p)||{}})),w=t.computed((function(){return function(e){var t={};for(var n in e)U(n)||(t[n]=e[n]);return t}(a)}));function C(o){if(!c.value&&l.value){var r=c.value=n.init(l.value,y.value,x.value);e.group&&(r.group=e.group);var s=i;s||(s={},Object.keys(a).filter((function(e){return 0===e.indexOf("on")&&e.length>2})).forEach((function(e){var t=e.charAt(2).toLowerCase()+e.slice(3);s[t]=a[e]}))),Object.keys(s).forEach((function(e){var t=s[e];t&&(0===e.indexOf("zr:")?r.getZr().on(e.slice(3).toLowerCase(),t):r.on(e.toLowerCase(),t))})),m.value?t.nextTick((function(){!function(){if(r&&!r.isDisposed())try{r.resize()}catch(e){if("Cannot read property 'get' of undefined"===e.message)return;throw e}}(),u()})):u()}function u(){r.setOption(o||b.value,k.value)}}function S(){c.value&&(c.value.dispose(),c.value=void 0)}var A=null;t.watch(h,(function(n){"function"==typeof A&&(A(),A=null),n||(A=t.watch((function(){return e.option}),(function(e){e&&(c.value?c.value.setOption(e,k.value):C())}),{deep:!0}))}),{immediate:!0}),t.watch([y,x],(function(){S(),C()}),{deep:!0}),t.watchEffect((function(){e.group&&c.value&&(c.value.group=e.group)}));var B=E(c,C);return function(e,n,o){var r=t.inject("ecLoadingOptions",{}),a=t.computed((function(){return Object.assign(Object.assign({},t.unref(r)),null==o?void 0:o.value)}));t.watchEffect((function(){var t=e.value;t&&(n.value?t.showLoading(a.value):t.hideLoading())}))}(c,v,g),function(e,r,a){var i=null;t.watch([a,e,r],(function(e,t,r){var a=M(e,3),l=a[0],c=a[1],s=a[2];l&&c&&s&&(i=n.throttle((function(){c.resize()}),100),o.addListener(l,i)),r((function(){i&&l&&o.removeListener(l,i)}))}))}(c,m,l),t.onMounted((function(){e.option&&C()})),t.onUnmounted(S),Object.assign({chart:c,root:l,setOption:function(t,n){e.manualUpdate&&(s.value=t),c.value?c.value.setOption(t,n||{}):C(t)},nonEventAttrs:w},B)},render:function(){var e=Object.assign({},this.nonEventAttrs);return e.ref="root",e.class=e.class?["echarts"].concat(e.class):"echarts",t.h("x-vue-echarts",e)}}),V={exports:{}},q={exports:{}};!function(e){var t=N.exports;e.exports=function(e){if(Array.isArray(e))return t(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(q);var F={exports:{}};!function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(F);var G={exports:{}};!function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}(G),function(e){var t=q.exports,n=F.exports,o=P.exports,r=G.exports;e.exports=function(e){return t(e)||n(e)||o(e)||r()},e.exports.__esModule=!0,e.exports.default=e.exports}(V);var D=B(V.exports);"production"===process.env.NODE_ENV||Object.freeze({}),"production"===process.env.NODE_ENV||Object.freeze([]);var K=function(e,t){if(e.install=function(n){for(var o=0,r=[e].concat(D(Object.values(null!=t?t:{})));o<r.length;o++){var a=r[o];n.component(a.name,a)}},t)for(var n=0,o=Object.entries(t);n<o.length;n++){var r=M(o[n],2),a=r[0],i=r[1];e[a]=i}return e},Y={exports:{}};!function(e){var t=function(e){var t,n=Object.prototype,o=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function s(e,t,n,o){var r=t&&t.prototype instanceof v?t:v,a=Object.create(r.prototype),i=new O(o||[]);return a._invoke=function(e,t,n){var o=d;return function(r,a){if(o===f)throw new Error("Generator is already running");if(o===m){if("throw"===r)throw a;return j()}for(n.method=r,n.arg=a;;){var i=n.delegate;if(i){var l=A(i,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var c=u(e,t,n);if("normal"===c.type){if(o=n.done?m:p,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}(e,n,i),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var d="suspendedStart",p="suspendedYield",f="executing",m="completed",h={};function v(){}function g(){}function b(){}var y={};c(y,a,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(L([])));k&&k!==n&&o.call(k,a)&&(y=k);var w=b.prototype=v.prototype=Object.create(y);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(r,a,i,l){var c=u(e[r],e,a);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==typeof d&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){return n("throw",e,i,l)}))}l(c.arg)}var r;this._invoke=function(e,o){function a(){return new t((function(t,r){n(e,o,t,r)}))}return r=r?r.then(a,a):a()}}function A(e,n){var o=e.iterator[n.method];if(o===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=u(o,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,h;var a=r.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function B(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function L(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function n(){for(;++r<e.length;)if(o.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:j}}function j(){return{value:t,done:!0}}return g.prototype=b,c(w,"constructor",b),c(b,"constructor",g),g.displayName=c(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},C(S.prototype),c(S.prototype,i,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,o,r,a){void 0===a&&(a=Promise);var i=new S(s(t,n,o,r),a);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},C(w),c(w,l,"Generator"),c(w,a,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var o=t.pop();if(o in e)return n.value=o,n.done=!1,n}return n.done=!0,n}},e.values=L,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(B),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(o,r){return l.type="throw",l.arg=e,n.next=o,r&&(n.method="next",n.arg=t),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),B(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;B(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,o){return this.delegate={iterator:L(e),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}(Y);var W=Y.exports;
2
- /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */function Q(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{c(o.next(e))}catch(e){a(e)}}function l(e){try{c(o.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}c((o=o.apply(e,t||[])).next())}))}var Z={id:"",name:"",keyName:"",type:"",width:"100px",height:"40px",position:"absolute",top:"0px",left:"0px",zIndex:1,rotate:"0deg",isShow:!0,isRender:!0,isRequestData:!1,requestUrl:"",requestMethod:"get",requestHeaders:{},isOpenRequestTimer:!1,requestInterval:1,requestParams:[{key:"",value:{id:"",prop:""}}],events:[]},H=function(e){return r.mapValues(e,(function(e){return null==e?{}:{type:e.constructor,default:e}}))},X={width:"1920px",height:"1080px",backgroundColor:"#ffffff",backgroundImage:"",backgroundSize:"100% 100%",contextRequestUrl:"",mode:"normal"},$=H(X),ee=t.defineComponent({name:"EcanPageConfig",props:Object.assign({},$),setup:function(e){var n,o=this,a=t.computed((function(){return{width:e.width,height:e.height,backgroundColor:e.backgroundColor,backgroundImage:e.backgroundImage,backgroundSize:e.backgroundSize}})),i=t.ref(0),l=t.ref(0),c=t.ref(0),s=t.ref(0),u=t.ref(!1),d=t.ref(),p=function(){return new Promise((function(n){t.nextTick((function(){e.width&&e.height?(i.value=parseFloat(e.width),l.value=parseFloat(e.height)):(i.value=d.value.clientWidth,l.value=d.value.clientHeight),c.value&&s.value||(c.value=window.screen.width,s.value=window.screen.height),n()}))}))},f=function(){var e=document.body.clientWidth,t=document.body.clientHeight,n=e/(i.value||c.value),o=t/(l.value||s.value);d.value&&(d.value.style.transform="scale(".concat(n,", ").concat(o,")"))},m=function(){return Q(o,void 0,void 0,W.mark((function e(){return W.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:f();case 3:case"end":return e.stop()}}),e)})))};return t.onMounted((function(){return Q(o,void 0,void 0,W.mark((function e(){return W.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u.value=!1,e.next=3,p();case 3:i.value&&l.value?(d.value.style.width="".concat(i.value,"px"),d.value.style.height="".concat(l.value,"px")):(d.value.style.width="".concat(c.value,"px"),d.value.style.height="".concat(s.value,"px")),f(),window.addEventListener("resize",r.debounce(m,100)),t=void 0,t=window.MutationObserver,(n=new t(m)).observe(d.value,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0}),u.value=!0;case 8:case"end":return e.stop()}var t}),e)})))})),t.onUnmounted((function(){window.removeEventListener("resize",m),n&&(n.disconnect(),n.takeRecords(),n=null)})),{style:a,container:d,ready:u}}}),te={id:"container",ref:"container"};R("#container[data-v-f2b96d90]{left:0;overflow:hidden;position:fixed;top:0;transform-origin:left top;z-index:999}.page-config[data-v-f2b96d90]{background-size:cover;overflow:hidden;position:relative}"),ee.render=function(e,n,o,r,a,i){return t.openBlock(),t.createElementBlock("div",te,[e.ready?(t.openBlock(),t.createElementBlock("div",{key:0,class:"page-config",style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],4)):t.createCommentVNode("v-if",!0)],512)},ee.__scopeId="data-v-f2b96d90",ee.__file="src/setting/page-config/PageConfig.vue";var ne=K(ee),oe="EVENT_BUS",re="GLOBAL_VAR",ae="GLOBAL_MODEL",ie={contextRequestUrl:"",pageMode:"normal",theme:"light"},le=H(ie),ce=t.defineComponent({name:"EcanProviderConfig",props:Object.assign({},le),setup:function(e){var n=t.ref(),o=function(){n.value.setAttribute("datav-theme",e.theme)};t.watch((function(){return e.theme}),(function(){o()})),t.onMounted((function(){o()})),t.provide(re,{contextRequestUrl:e.contextRequestUrl,pageMode:e.pageMode,theme:e.theme});var r=new Map;t.provide(ae,{getGlobalModel:function(e){return r.get(e)},setGlobalModel:function(e,t){r.set(e,t)}});var a=x.default();return t.provide(oe,{onEvent:function(e,n){a.on(e,(function(e){return n[e]()})),t.onUnmounted((function(){a.off(e)}))},offEvent:function(e){a.off(e)},emitEvent:function(e,t){a.emit(e,t)}}),{providerConfig:n}}}),se={id:"ProviderConfig",ref:"providerConfig"};ce.render=function(e,n,o,r,a,i){return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createCommentVNode(" 请勿去除属性id "),t.createElementVNode("div",se,[t.renderSlot(e.$slots,"default")],512)],2112)},ce.__file="src/setting/provider-config/ProviderConfig.vue";var ue=K(ce),de=Object.assign(Object.assign({},Z),{name:"基础文本",type:"ecanText",width:"100px",height:"40px",text:"文字",color:"#333",fontSize:"14px",fontFamily:"",fontWeight:400,textAlign:"center",overflow:"hidden",textShadow:""}),pe=H(de),fe=["width","height","color","position","top","left","rotate","fontSize","fontFamily","fontWeight","textDecoration","textAlign","overflow","backgroundColor","backgroundImage","backgroundImage","textShadow"],me=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=r.without.apply(void 0,[fe].concat(D(n)));return t.computed((function(){return r.pick(e,o)}))},he=function(e,n){t.watch((function(){return e.id}),(function(e,o){var r=t.inject(oe,{onEvent:function(e,t){},offEvent:function(e){}});null!=o&&""!==o&&r.offEvent(o),null!=e&&""!==e&&r.onEvent(e,n)}),{immediate:!0})},ve=function(e){var n=t.inject(oe,{emitEvent:function(e,t){}});return function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};return function(){if(o.call.apply(o,[this].concat(Array.prototype.slice.call(arguments))),n){var r=n.emitEvent;e.forEach((function(e){t===e.on&&r(e.target,e.emit)}))}}}},ge={exports:{}};!function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(ge);var be=B(ge.exports),ye={exports:{}};!function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports}(ye);var xe=B(ye.exports);function ke(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return we(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return we(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var Ce=t.defineComponent({name:"EcanText",props:Object.assign({},pe),setup:function(e){return{style:me(e)}}});R(""),Ce.render=function(e,n,o,r,a,i){return t.openBlock(),t.createElementBlock("div",{class:"ecan-text",style:t.normalizeStyle(e.style)},t.toDisplayString(e.text),5)},Ce.__scopeId="data-v-41a337b4",Ce.__file="src/text/text/Text.vue";var Se=K(Ce),Ae=t.defineComponent({name:"EcanScrollText",setup:function(){return{text:t.ref("基础文本")}}}),Ee={class:"red"};R(".red[data-v-0cbdffb5]{color:red}"),Ae.render=function(e,n,o,r,a,i){return t.openBlock(),t.createElementBlock("div",Ee,t.toDisplayString(e.text),1)},Ae.__scopeId="data-v-0cbdffb5",Ae.__file="src/text/scroll-text/ScrollText.vue";var Be=K(Ae),Oe=Object.assign(Object.assign({},Z),{width:"200px",id:"",left:"0px",top:"0px",name:"输入框",keyName:"输入框",rotate:"",type:"ecanInput",value:"",placeholder:"请输入文字"}),Le=H(Oe),je=t.defineComponent({name:"EcanInput",components:{AInput:i.Input},props:Object.assign({},Le),setup:function(e){return{style:me(e)}}});R(".input[data-v-b714c8ac]{height:100%;width:100%}"),je.render=function(e,n,o,r,a,i){var l=t.resolveComponent("a-input");return t.openBlock(),t.createElementBlock("div",{class:"ecan-input",style:t.normalizeStyle(e.style)},[t.createVNode(l,{class:"input",value:e.value,placeholder:e.placeholder},null,8,["value","placeholder"])],4)},je.__scopeId="data-v-b714c8ac",je.__file="src/control/input/Input.vue";var Pe=K(je),Ne=Object.assign(Object.assign({},Z),{height:"33px",width:"130px",id:"",left:"0px",top:"0px",name:"时间选择器",keyName:"时间选择器",rotate:"",type:"ecanDatePicker",value:k.default().format("YYYY-MM-DD"),picker:"date",format:"YYYY-MM-DD",showTime:!1}),Te=H(Ne),Me=["dateChange"],ze=t.defineComponent({name:"EcanDatePicker",props:Object.assign({},Te),components:{ADatePicker:i.DatePicker},setup:function(e){var n=me(e),o=t.ref(k.default(e.value)),r=t.computed((function(){return o.value.format(e.format)})),a=e.events;(0,t.inject(ae,{setGlobalModel:function(e,t){}}).setGlobalModel)(e.id,r);var i=ve(a)("dateChange",(function(){}));return he(e,{dateChange:i}),{style:n,getPopupContainer:function(){return document.getElementById("ProviderConfig")||document.body},myValue:o,locale:w.default,dateChange:i}}});R("[datav-theme=light] .ant-picker{border:1px solid #d9d9d9;color:rgba(0,0,0,.85)}[datav-theme=light] .ant-picker-input>input{color:rgba(0,0,0,.85)}[datav-theme=light] .anticon-calendar,[datav-theme=light] .anticon-close-circle{color:#333}[datav-theme=darkBlue] .ant-picker{background-color:#05164c;border:1px solid #1f63a3;box-shadow:inset 0 0 10px #005efe;color:#fff}[datav-theme=darkBlue] .ant-picker-input>input,[datav-theme=darkBlue] .anticon-calendar{color:#fff}[datav-theme=darkBlue] .anticon-close-circle{color:#333}[datav-theme=darkBlue] .ant-picker-panel{background:#05174e;border-bottom:1px solid #69befa}[datav-theme=darkBlue] .ant-picker-header{border-bottom:1px solid #69befa;color:#69befa}[datav-theme=darkBlue] .ant-picker-panel .ant-picker-footer{border-top:1px solid #69befa}[datav-theme=darkBlue] .ant-picker-content td,[datav-theme=darkBlue] .ant-picker-content th,[datav-theme=darkBlue] .ant-picker-header button,[datav-theme=darkBlue] .ant-picker-today-btn{color:#69befa}[datav-theme=darkBlue] .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,[datav-theme=darkBlue] .ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner{background:#1890ff}"),ze.render=function(e,n,o,r,a,i){var l=t.resolveComponent("a-date-picker");return t.openBlock(),t.createElementBlock("div",{class:"ecan-date-picker",style:t.normalizeStyle(e.style)},[t.createCommentVNode(" 宽度style有效,class无效 "),t.createVNode(l,{class:"date-picker",style:{width:"100%",height:"100%"},picker:e.picker,value:e.myValue,"onUpdate:value":n[0]||(n[0]=function(t){return e.myValue=t}),showTime:e.showTime,locale:e.locale,onChange:e.dateChange,getPopupContainer:e.getPopupContainer},null,8,["picker","value","showTime","locale","onChange","getPopupContainer"])],4)},ze.__file="src/control/date-picker/DatePicker.vue";var Ie=K(ze),Re=Object.assign(Object.assign({},Z),{name:"选择器",keyName:"选择器",width:"120px",height:"33px",type:"ecanSelect",data:[],value:""}),Je=H(Re),Ue=t.defineComponent({name:"EcanSelect",components:{ASelect:i.Select},props:Object.assign({},Je),setup:function(e){return{style:me(e),getPopupContainer:function(){return document.getElementById("ProviderConfig")||document.body}}}});R(".ecan-select[data-v-b6743858] [data-v-b6743858] .ant-select-selector{height:100%!important}.select[data-v-b6743858]{height:100%;width:100%}");R("[datav-theme=light] .ant-select:not(.ant-select-customize-input) .ant-select-selector{border:1px solid #d9d9d9}[datav-theme=light] .ant-select-dropdown{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.15);color:rgba(0,0,0,.85)}[datav-theme=light] .ant-empty-img-simple-g{stroke:#d9d9d9}[datav-theme=light] .ant-empty-img-simple-ellipse{fill:#f5f5f5}[datav-theme=light] .ant-empty-img-simple-path{fill:#f5f5f5;stroke:#d9d9d9}[datav-theme=light] .ant-empty-description{color:rgba(0,0,0,.25)}[datav-theme=light] .anticon-down{color:#333}[datav-theme=darkBlue] .ant-select:not(.ant-select-customize-input) .ant-select-selector{background-color:#05164c;border:1px solid #1f63a3;box-shadow:inset 0 0 10px #005efe;color:#fff}[datav-theme=darkBlue] .ant-select-dropdown{background-color:#05164c;box-shadow:inset 0 0 10px #005efe;color:#fff}[datav-theme=darkBlue] .ant-empty-img-simple-g{stroke:#69befa}[datav-theme=darkBlue] .ant-empty-img-simple-ellipse{fill-opacity:0}[datav-theme=darkBlue] .ant-empty-img-simple-path{fill:#69befa;stroke:#69befa}[datav-theme=darkBlue] .ant-empty-description{color:#69befa}[datav-theme=darkBlue] .ant-select-item,[datav-theme=darkBlue] .anticon-down{color:#fff}[datav-theme=darkBlue] .ant-select-item-option-active,[datav-theme=darkBlue] .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background:#1f63a3}"),Ue.render=function(e,n,o,r,a,i){var l=t.resolveComponent("a-select");return t.openBlock(),t.createElementBlock("div",{class:"ecan-select",style:t.normalizeStyle(e.style)},[t.createVNode(l,{class:"select",value:e.value,options:e.data,"show-search":"",getPopupContainer:e.getPopupContainer},null,8,["value","options","getPopupContainer"])],4)},Ue.__scopeId="data-v-b6743858",Ue.__file="src/control/select/Select.vue";var _e=K(Ue),Ve=Object.assign(Object.assign({},Z),{name:"范围选择器",keyName:"范围选择器",type:"ecanRangePicker",width:"200px",height:"35px",picker:"date"}),qe=H(Ve),Fe=t.defineComponent({name:"EcanRangePicker",components:{ARangePicker:i.RangePicker},props:Object.assign({},qe),setup:function(e){return{style:me(e),getPopupContainer:function(){return document.getElementById("ProviderConfig")||document.body},locale:w.default}}});R(".range-picker[data-v-9eb3e236]{height:100%;width:100%}");R("[datav-theme=light] .ant-picker{border:1px solid #d9d9d9;color:rgba(0,0,0,.85)}[datav-theme=light] .ant-picker-input>input{color:rgba(0,0,0,.85)}[datav-theme=darkBlue] .ant-picker{background-color:#05164c;border:1px solid #1f63a3;box-shadow:inset 0 0 10px #005efe;color:#fff}[datav-theme=darkBlue] .ant-picker-range-arrow:after{border-color:#05164c #05164c transparent transparent}[datav-theme=darkBlue] .ant-picker-input>input,[datav-theme=darkBlue] .anticon-calendar{color:#fff}[datav-theme=darkBlue] .anticon-close-circle{color:#333}[datav-theme=darkBlue] .ant-picker-panel{background-color:#05164c;border-bottom:1px solid #69befa}[datav-theme=darkBlue] .ant-picker-header{border-bottom:1px solid #69befa;color:#69befa}[datav-theme=darkBlue] .ant-picker-panel .ant-picker-footer{border-top:1px solid #69befa}[datav-theme=darkBlue] .ant-picker-content td,[datav-theme=darkBlue] .ant-picker-content th,[datav-theme=darkBlue] .ant-picker-header button,[datav-theme=darkBlue] .ant-picker-today-btn{color:#69befa}[datav-theme=darkBlue] .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,[datav-theme=darkBlue] .ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner{background:#1890ff}[datav-theme=darkBlue] .anticon-swap-right{color:#fff}"),Fe.render=function(e,n,o,r,a,i){var l=t.resolveComponent("a-range-picker");return t.openBlock(),t.createElementBlock("div",{class:"ecan-range-picker",style:t.normalizeStyle(e.style)},[t.createVNode(l,{class:"range-picker",picker:e.picker,locale:e.locale,getPopupContainer:e.getPopupContainer},null,8,["picker","locale","getPopupContainer"])],4)},Fe.__scopeId="data-v-9eb3e236",Fe.__file="src/control/range-picker/RangePicker.vue";var Ge=K(Fe),De=Object.assign(Object.assign({},Z),{width:"200px",name:"按钮",keyName:"按钮",type:"ecanButton"}),Ke=H(De),Ye=["click"],We=t.defineComponent({name:"EcanButton",components:{AButton:i.Button},props:Object.assign({},Ke),setup:function(e){var t=me(e),n=e.events;return{style:t,click:ve(n)("click")}}}),Qe=t.createTextVNode(" 测试 ");R(".button[data-v-34f909d8]{height:100%;width:100%}"),We.render=function(e,n,o,r,a,i){var l=t.resolveComponent("a-button");return t.openBlock(),t.createElementBlock("div",{class:"ecan-input",style:t.normalizeStyle(e.style)},[t.createVNode(l,{class:"button",block:"",onClick:e.click},{default:t.withCtx((function(){return[Qe]})),_:1},8,["onClick"])],4)},We.__scopeId="data-v-34f909d8",We.__file="src/control/button/Button.vue";var Ze=K(We),He=Object.assign(Object.assign({},Z),{id:"",name:"饼图",keyName:"饼图",type:"ecanPie",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:335},{name:"名称二",value:310},{name:"名称三",value:234}],titleText:"",titleSubtext:"",titleLeft:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],backgroundColor:"",tooltipShow:!0,tooltipTextStyleColor:"",tooltipTrigger:"item",tooltipFormatter:"{b} : {c} ({d}%)",legendShow:!0,legendTextStyleColor:"#333",legendOrient:"vertical",legendTop:"top",legendLeft:"left",innerRadius:"0%",outerRadius:"60%",centerLeft:"50%",centerTop:"50%",labelShow:!0,labelColor:"#333",isUseLabelColors:!1,labelFontSize:12,labelPosition:"outside",labelFormatter:"{b}\\n{d}%",labelLineShow:!0,labelLineLength:10,labelLineLength2:15,roseType:""}),Xe=H(He),$e=function(e){return e.replace(/\\n/g,"\n")};n.use([f.CanvasRenderer,m.PieChart,h.TitleComponent,h.TooltipComponent,h.LegendComponent]);var et=t.defineComponent({name:"EcanPie",props:Object.assign({},Xe),components:{Echarts:_},setup:function(e){var n=me(e),o=t.computed((function(){if(Array.isArray(e.colors)){var t=e.isUseLabelColors,n=e.colors;return e.data.map((function(e,o){return Object.assign({label:t?{color:n[o]}:{}},e)}))}return e.data}));return{option:t.computed((function(){return{title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},tooltip:{show:e.tooltipShow,trigger:e.tooltipTrigger,formatter:$e(e.tooltipFormatter),textStyle:{color:e.tooltipTextStyleColor}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{color:e.legendTextStyleColor}},color:e.colors,series:[{type:"pie",radius:[e.innerRadius,e.outerRadius],center:[e.centerLeft,e.centerTop],roseType:e.roseType,data:o.value,label:{show:e.labelShow,color:e.labelColor,fontSize:e.labelFontSize,position:e.labelPosition,formatter:$e(e.labelFormatter)},labelLine:{show:e.labelLineShow,length:e.labelLineLength,length2:e.labelLineLength2},emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]}})),style:n}}});et.render=function(e,n,o,r,a,i){var l=t.resolveComponent("echarts");return t.openBlock(),t.createElementBlock("div",{style:t.normalizeStyle(e.style)},[t.createVNode(l,{option:e.option,autoresize:""},null,8,["option"])],4)},et.__file="src/graph/pie/Pie.vue";var tt=K(et),nt=Object.assign(Object.assign({},Z),{id:"",name:"折线图",keyName:"折线图",type:"ecanLine",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:335},{name:"名称二",value:310},{name:"名称三",value:234},{name:"名称四",value:135},{name:"名称五",value:1548}],titleText:"",titleSubtext:"",titleLeft:"",legendShow:!1,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],symbolSize:4,lineStyleWidth:2,smooth:!1,xAxisSplitLineShow:!0,xAxisSplitLineStyleColor:"#333",xAxisLabelColor:"#333",xAxisLineStyleColor:"#333",xAxisTickShow:!0,yAxisSplitLineShow:!0,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333"}),ot=H(nt);n.use([f.CanvasRenderer,m.LineChart,h.TitleComponent,h.LegendComponent]);var rt=t.defineComponent({name:"EcanLine",props:Object.assign({},ot),components:{Echarts:_},setup:function(e){var n=me(e),o=t.ref();return t.watch((function(){return e.data}),(function(e){Array.isArray(e)&&(o.value=e.map((function(e){return[e.name,e.value]})))}),{immediate:!0}),{option:t.computed((function(){return{title:{text:e.titleText,subText:e.titleSubtext,left:"center"},color:e.colors,xAxis:{type:"category",splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor}},axisLabel:{color:e.xAxisLabelColor},axisLine:{lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{type:"value",splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor}},axisLabel:{color:e.yAxisLabelColor},axisLine:{lineStyle:{color:e.yAxisLineStyleColor}}},tooltip:{trigger:"axis"},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft},series:[{name:"默认",type:"line",data:o.value,symbolSize:e.symbolSize,smooth:e.smooth,lineStyle:{width:e.lineStyleWidth}}]}})),style:n}}});rt.render=function(e,n,o,r,a,i){var l=t.resolveComponent("echarts");return t.openBlock(),t.createElementBlock("div",{style:t.normalizeStyle(e.style)},[t.createVNode(l,{option:e.option,autoresize:""},null,8,["option"])],4)},rt.__file="src/graph/line/Line.vue";var at=K(rt),it=Object.assign(Object.assign({},Z),{id:"",name:"柱状图",keyName:"柱状图",type:"ecanBar",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:335,type:"类型一"},{name:"名称二",value:310,type:"类型一"},{name:"名称三",value:310,type:"类型一"}],titleText:"",titleSubtext:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],legendShow:!0,legendTextStyleColor:"#333",legendOrient:"horizontal",legendTop:"top",legendLeft:"center",xAxisSplitLineShow:!0,xAxisSplitLineStyleColor:"#333",xAxisLabelColor:"#333",xAxisLineStyleColor:"#333",xAxisTickShow:!0,yAxisSplitLineShow:!0,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333"}),lt=H(it),ct=["refreshData","click"];n.use([f.CanvasRenderer,m.BarChart,h.TitleComponent,h.LegendComponent,h.DatasetComponent]);var st=t.defineComponent({name:"EcanBar",props:Object.assign({},lt),components:{Echarts:_},setup:function(e){var n=this,o=me(e),r=t.ref([]),a=t.ref([]),i=t.ref([]),l=function(e){var t=function(e){var t=new Set,n=new Map;e.forEach((function(e){var o=e.name,r=e.value,a=e.type,i=void 0===a?"默认":a;if(t.add(i),n.has(o)){var l=n.get(o);l[i]=r,n.set(o,l)}else n.set(o,xe({},i,r))}));var o=Array.from(t);o.unshift("product");var r,a=[],i=ke(n);try{for(i.s();!(r=i.n()).done;){var l=M(r.value,2),c=l[0],s=l[1];a.push(Object.assign({product:c},s))}}catch(e){i.e(e)}finally{i.f()}return{dimensions:o,source:a}}(e),n=t.dimensions,o=t.source;r.value=n,a.value=o;for(var l=n.length-1,c=[],s=0;s<l;s++)c.push({type:"bar"});i.value=c};t.watch((function(){return e.data}),(function(e){l(e)}),{immediate:!0,deep:!0});var c=t.computed((function(){return{title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},color:e.colors,tooltip:{trigger:"axis"},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{color:e.legendTextStyleColor}},xAxis:{type:"category",splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor}},axisLabel:{color:e.xAxisLabelColor},axisLine:{lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{type:"value",splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor}},axisLabel:{color:e.yAxisLabelColor},axisLine:{lineStyle:{color:e.yAxisLineStyleColor}}},dataset:{dimensions:r.value,source:a.value},series:i.value}})),s=t.inject(re,{contextRequestUrl:"",pageMode:"normal"}),u=t.inject(ae,{getGlobalModel:function(e,t){}}),d=function(){return Q(n,void 0,void 0,W.mark((function t(){var n,o,r,a,i;return W.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.requestUrl&&e.requestMethod&&e.requestHeaders&&"normal"===s.pageMode){t.next=2;break}return t.abrupt("return");case 2:return n={},e.requestParams.forEach((function(e){var t=e.key,o=e.value;if("object"===be(o)&&o.id&&o.prop){var r=u.getGlobalModel(o.id,o.prop);n[t]=(null==r?void 0:r.value)||r}else"string"==typeof o&&(n[t]=o)})),o="",r=Object.keys(n),a=r.length-1,r.forEach((function(e,t){switch(t){case 0:o+="?".concat(e,"=").concat(n[e],"&");break;case a:o+="".concat(e,"=").concat(n[e]);break;default:o+="".concat(e,"=").concat(n[e],"&")}})),t.prev=8,t.next=11,C.default({baseURL:s.contextRequestUrl,url:["get","head"].includes(e.requestMethod)?e.requestUrl+o:e.requestUrl,method:e.requestMethod,headers:e.requestHeaders,data:["get","head"].includes(e.requestMethod)?{}:n});case 11:i=t.sent,l(i.data.data),t.next=18;break;case 15:t.prev=15,t.t0=t.catch(8),console.error(t.t0);case 18:case"end":return t.stop()}}),t,null,[[8,15]])})))},p=function(){e.isRequestData&&d()},f=ve(e.events),m="preview"!==s.pageMode&&e.isOpenRequestTimer&&setInterval(d,1e3*e.requestInterval),h=f("click",(function(e){console.log(e)}));return t.onMounted((function(){d()})),t.onUnmounted((function(){m&&clearInterval(m)})),he(e,{refreshData:p,click:h}),{option:c,style:o,refreshData:p,click:h}}});st.render=function(e,n,o,r,a,i){var l=t.resolveComponent("echarts");return t.openBlock(),t.createElementBlock("div",{style:t.normalizeStyle(e.style)},[t.createVNode(l,{option:e.option,"update-options":{notMerge:!0},autoresize:"",onClick:e.click},null,8,["option","onClick"])],4)},st.__file="src/graph/bar/Bar.vue";var ut=K(st),dt=Object.assign(Object.assign({},Z),{id:"",name:"散点图",keyName:"散点图",type:"ecanScatter",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:233,value:335},{name:556,value:310},{name:56,value:234}],titleText:"",titleSubtext:"",tooltipShow:!0,tooltipTrigger:"item",tooltipFormatter:"{c}",legendShow:!1,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],symbolSize:10,xAxisSplitLineShow:!0,xAxisSplitLineStyleColor:"#333",xAxisLabelColor:"#333",xAxisLineStyleColor:"#333",xAxisTickShow:!0,yAxisSplitLineShow:!0,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333"}),pt=H(dt);n.use([f.CanvasRenderer,m.ScatterChart,h.TitleComponent,h.TooltipComponent,h.LegendComponent]);var ft=t.defineComponent({name:"EcanScatter",props:Object.assign({},pt),components:{Echarts:_},setup:function(e){var n=me(e),o=t.ref(e.data);return t.watch((function(){return e.data}),(function(e){o.value=e})),{option:t.computed((function(){return{title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},color:e.colors,xAxis:{splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor}},axisLabel:{color:e.xAxisLabelColor},axisLine:{lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor}},axisLabel:{color:e.yAxisLabelColor},axisLine:{lineStyle:{color:e.yAxisLineStyleColor}}},tooltip:{show:e.tooltipShow,trigger:e.tooltipTrigger,formatter:e.tooltipFormatter},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft},series:[{name:"默认",type:"scatter",data:o.value,symbolSize:e.symbolSize}]}})),style:n}}});ft.render=function(e,n,o,r,a,i){var l=t.resolveComponent("echarts");return t.openBlock(),t.createElementBlock("div",{style:t.normalizeStyle(e.style)},[t.createVNode(l,{option:e.option,autoresize:""},null,8,["option"])],4)},ft.__file="src/graph/scatter/Scatter.vue";var mt=K(ft),ht=Object.assign(Object.assign({},Z),{id:"",name:"自定义图表",keyName:"自定义图表",type:"ecanCustomGraph",width:"400px",height:"400px",option:{},optionCode:""}),vt=H(ht),gt=t.defineComponent({name:"EcanCustomGraph",props:Object.assign({},vt),components:{Echarts:_},setup:function(e){var n=me(e),o=t.ref();return t.watch((function(){return e.optionCode}),(function(e){try{var t=eval;o.value=t(e)}catch(e){console.error(e)}}),{immediate:!0}),{style:n,myOption:o,echarts:S}}});gt.render=function(e,n,o,r,a,i){var l=t.resolveComponent("echarts");return t.openBlock(),t.createElementBlock("div",{style:t.normalizeStyle(e.style)},[t.createVNode(l,{option:e.myOption,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])],4)},gt.__file="src/graph/custom-graph/CustomGraph.vue";var bt=K(gt);function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xt=Object.assign(Object.assign({},Z),{name:"边框",keyName:"边框",type:"ecanBorder",width:"450px",height:"450px",zIndex:0,fontSize:"16px",fontFamily:"",fontWeight:700,title:"标题"}),kt=H(xt);function wt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var Ct=t.defineComponent({name:"EcanBorder",props:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(n),!0).forEach((function(t){yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},kt),setup:function(e){return{style:me(e)}}}),St=function(e){return t.pushScopeId("data-v-af8a0f90"),e=e(),t.popScopeId(),e},At={class:"title-item-wrapper"},Et={class:"title-item"},Bt=St((function(){return t.createElementVNode("img",{class:"title-decoration-left",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAZlBMVEUAAABBltJCldJCldFEk89BltJCltFBldI/lMBKndtmb9pCltNDldFAkclAldNBldJBltM/lM5AltNCldJBldJBlNJBltVBldJBlNJBlNI/lNNBldJBldNAldJBldJBldJBldNBldIiNK7WAAAAInRSTlMAM4BNGmaz5gQGbiAPCV1WQxUpOCY9EmxQSC2jdoacqZK8uPo7tAAAAZ9JREFUSMe90NmOwjAMheGka0J3SulCy/L+Lzk4I+HYhckEKs7dr1x8kQVM5YJMZ7SLiXVHOw817Z72cSns3BmziY7EnGRGjDqUpKt4pEZQKruvyaJt85YmBUebKLJVNUlpq6oOQ1tVVRzbqu6DwFb1NUlsVd3SNL0UDM0jqkaSqoeQqjKmahtQNUzuC1AtU1sF9KHmnmrtrSK6idqBWqE6GFVxFdGvqDGoJ01Qt7rfTEV0e7V6qSK6VjNPtTaqoOq8Ugnqr7aeav+rAuqrTh+qZw3o1urAVcFVQD3U6ZnaYY9MLZk6G5WhDaDFI9UeUPyE7gCNsAdAD9gxoBJ7ARRPUVwALXdu8/h/s3xmjtwUu0/M0M/UJzBjAei3TUTdpmKmcpkBmOHKBNTPzJi59zYJys3DO2aL78YcmNkLgrrM9m9TucwzmoBy08xlju+bgL42G4c5OcxqZSLqbwqXOVNTGXMWFD0ak6KN1ZKaojYmbribndW9MXELNQEFFUyiNqQlmEQ1JqpgErUifUUTUVEIupx1wzpjvWfdsh4FQX8ANe4nnpsb9NEAAAAASUVORK5CYII="},null,-1)})),Ot={class:"title"},Lt=St((function(){return t.createElementVNode("img",{class:"title-decoration-right",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAaVBMVEUAAABElM9BltJCldJCldFBltJBldJCltFNmrNCmNNFldNAldJBldNBldRBldNBldNBldJCoNFBldJBltNBldJBldJAldJAltJBldJBldJBldNAlNFAldJBlNJAldJBldNBldJBldJBldLfIVowAAAAI3RSTlMAGjJNgGbmswMSCScgDTs/ZAVRK0eYj2s3r3AWveHEhXjeXb5rzlgAAAFqSURBVEjH1dbJVsJAEIXhHjJ05tlEooK8/0NKsbDrFjmHiBD0Lvqcf9PfthRM7xvoZMQuLHZaOejGYLtcdEItzI9oaLg5xIHj5hgcG262oXXcrGzJ23Umg5717C7NKBrAjOMDM8YgCI5ghmEPprUTmMZkrBOtdbJgfpZovho0gwzNOkfTam9k5jSGkKlTMOezWT3VLH5qlg8wQzSbO5jJ28l8Z+YLmZMwuz9lupvNXpjlFTMTZv7vzFSatTDtGnNeYdpNzZTMSJhx5f84m8Y3mSEzJzTVolko3J7Qve+a0J3vntDWffdEaMUQQo1vTWjuuyA0UWvUUarqzuqLUMPt1MD3uKTaTdRwvdrdorpFtfZtH6eyK2F3RS23U3uhlr9VB1TdE1V2h7Vr1O4mdbdera6o+Wq1Vqi2rEktFapGoZopVLVCtVCXag19IBPUiiWpBrojE1QNXZAp1/TYbhKdKVwuWotORKfn9wu/DSc/X9T6qgAAAABJRU5ErkJggg=="},null,-1)})),jt=St((function(){return t.createElementVNode("div",{class:"top-left border-item"},null,-1)})),Pt=St((function(){return t.createElementVNode("div",{class:"top-right border-item"},null,-1)})),Nt=St((function(){return t.createElementVNode("div",{class:"bottom-left border-item"},null,-1)})),Tt=St((function(){return t.createElementVNode("div",{class:"bottom-right border-item"},null,-1)}));R('.ecan-border[data-v-af8a0f90]{background:rgba(7,22,85,.8);border:1px solid rgba(55,85,218,.3);box-sizing:border-box;position:relative}.border-item[data-v-af8a0f90]{border-color:#50fcfc;border-style:solid;height:11px;position:absolute;width:13px;z-index:2}.top-left[data-v-af8a0f90]{border-left-width:1px;border-top-width:1px;left:0;top:0}.top-right[data-v-af8a0f90]{border-right-width:1px;border-top-width:1px;right:-2px;top:0}.bottom-left[data-v-af8a0f90]{border-bottom-width:1px;border-left-width:1px;bottom:-2px;left:0}.bottom-right[data-v-af8a0f90]{border-bottom-width:1px;border-right-width:1px;bottom:-2px;right:-2px}.title-item-wrapper[data-v-af8a0f90]{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcgAAAAsCAMAAADW3dj4AAAAVFBMVEUIKbkAAAAAqv8IL70AovwAnfAAlvEGQsUIOcEAkewGfuQGR8gAg+YIPMMFd+AEadkEXtQAi+sEYtcGTcsFcd4INL8DW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Cqdq30yB+B9JmdK7tWEcmuVTwKSUdke1NemNghkizk7D+YkT3C5z0RZctMkbMjSZQciJJIlLo/vaKW/Rc8IhJAtgsBp08PATOql6UCVwAAAABJRU5ErkJggg==");background-size:cover;display:grid;padding:5px 0;place-content:center;width:100%}.title-item[data-v-af8a0f90]{align-items:center;display:flex}.title[data-v-af8a0f90]{-webkit-text-fill-color:transparent;background:linear-gradient(0deg,#01aaff,#00eaff);-webkit-background-clip:text;color:#d5fdfd;padding:0 17px}.title-decoration-left[data-v-af8a0f90],.title-decoration-right[data-v-af8a0f90]{height:14px;width:58px}'),Ct.render=function(e,n,o,r,a,i){return t.openBlock(),t.createElementBlock("div",{class:"ecan-border",style:t.normalizeStyle(e.style)},[t.createElementVNode("div",At,[t.createElementVNode("div",Et,[Bt,t.createElementVNode("div",Ot,t.toDisplayString(e.title),1),Lt])]),jt,Pt,Nt,Tt],4)},Ct.__scopeId="data-v-af8a0f90",Ct.__file="src/container/border/Border.vue";var Mt=K(Ct),zt={id:"",type:"ecanModal",width:"1000px",height:"800px",originalWidth:"1920px",originalHeight:"1080px",backgroundColor:"#fff",backgroundImage:"",backgroundSize:"",keyName:"弹窗",componentList:[],fullModal:!1,centered:!1},It=H(zt),Rt=["showModal"],Jt=t.defineComponent({name:"EcanModal",components:{EcanPageConfig:ne},props:Object.assign({},It),setup:function(e){var n=e.width,o=e.height,r=e.originalWidth,a=e.originalHeight,i=t.computed((function(){return parseFloat(n)/parseFloat(r)})),l=t.computed((function(){return parseFloat(o)/parseFloat(a)})),c=t.computed((function(){return"".concat(100*i.value,"%")})),s=document.body.offsetWidth,u=document.body.offsetHeight,d=t.computed((function(){return s*i.value})),p=t.computed((function(){return u*l.value})),f=t.computed((function(){return{width:"".concat(d.value,"px"),height:"".concat(p.value,"px")}})),m=me(e),h=t.computed((function(){return Object.assign(Object.assign({},m.value),{transform:"scale(".concat(d.value/parseFloat(n),",").concat(p.value/parseFloat(o),")")})})),v=t.computed((function(){return e.fullModal})),g=t.ref(!1),b=t.ref(),y=function(){g.value=!0,t.nextTick((function(){console.log(b.value.getBoundingClientRect())}))},x=function(){g.value=!1};return he(e,{showModal:y}),{contain:b,containStyle:f,contentStyle:h,getContainer:function(){return document.getElementById("ProviderConfig")||document.body},modalWith:c,isFullModal:v,style:m,visible:g,showModal:y,onOk:function(){x()},onCancel:function(){x()}}}});R(".contain[data-v-4efa8b94]{overflow:hidden;position:relative}.content[data-v-4efa8b94]{transform-origin:left top;z-index:999}");R(".ecan-modal .ant-modal-body{padding:0}.ecan-full-modal .ant-modal{margin:0;max-width:100%;padding-bottom:0;top:0}.ecan-full-modal .ant-modal-content{display:flex;flex-direction:column;height:100vh}.ecan-full-modal .ant-modal-body{flex:1}[datav-theme=darkBlue] .ecan-modal .anticon-close>svg>path{fill:#fff}"),Jt.render=function(e,n,o,r,a,i){var l=t.resolveComponent("a-modal");return t.openBlock(),t.createBlock(l,{getContainer:e.getContainer,wrapClassName:e.isFullModal?"ecan-modal ecan-full-modal":"ecan-modal",visible:e.visible,footer:null,width:e.isFullModal?"100%":e.modalWith,centered:e.centered,onOk:e.onOk,onCancel:e.onCancel},{default:t.withCtx((function(){return[t.createElementVNode("div",{class:"contain",ref:"contain",style:t.normalizeStyle(e.containStyle)},[t.createElementVNode("div",{class:"content",style:t.normalizeStyle(e.contentStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.componentList,(function(e,n){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.type),t.mergeProps({key:e.id+n},e),null,16)})),128))],4)],4)]})),_:1},8,["getContainer","wrapClassName","visible","width","centered","onOk","onCancel"])},Jt.__scopeId="data-v-4efa8b94",Jt.__file="src/container/modal/Modal.vue";var Ut=K(Jt),_t=Object.assign(Object.assign({},Z),{name:"图片",keyName:"图片",type:"ecanImage",width:"300px",height:"300px",imgUrl:""}),Vt=H(_t),qt=t.defineComponent({name:"EcanImage",props:Object.assign({},Vt),setup:function(e){return{style:me(e)}}}),Ft=["src"];R(".image-placeholder[data-v-5a006553]{border:1px solid #d9d9d9;color:#333;display:grid;font-size:16px;place-content:center}"),qt.render=function(e,n,o,r,a,i){return""!==e.imgUrl?(t.openBlock(),t.createElementBlock("img",{key:0,style:t.normalizeStyle(e.style),src:e.imgUrl},null,12,Ft)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"image-placeholder",style:t.normalizeStyle(e.style)}," 请上传图片 ",4))},qt.__scopeId="data-v-5a006553",qt.__file="src/media/image/Image.vue";var Gt=K(qt),Dt=Object.assign(Object.assign({},Z),{zIndex:2,name:"表格",keyName:"表格",type:"ecanTable",width:"400px",height:"240px",bordered:!1,size:"default",isUseSeq:!1,columnsFixedNum:0,scrollX:0,columns:[{title:"姓名",dataIndex:"name"},{title:"年龄",dataIndex:"age"},{title:"住址",dataIndex:"address"}],data:[{name:"小明",age:32,address:"福州软件园"},{name:"小红",age:25,address:"福州软件园"}]}),Kt=H(Dt),Yt=["click"],Wt=t.defineComponent({name:"EcanTable",components:{ATable:i.Table},props:Object.assign({},Kt),setup:function(e){var n=me(e),o=t.computed((function(){switch(e.size){case"small":return 90;case"middle":return 100;default:return 120}})),r=t.computed((function(){return e.scrollX})),a=t.computed((function(){return parseFloat(e.height)-o.value})),i=t.computed((function(){var t=[];e.isUseSeq&&t.push({title:"序号",dataIndex:"seq"});for(var n=(t=t.concat(e.columns)).length,o=e.columnsFixedNum,r=0;r<n;r++){var a=t[r];a.fixed=r<o&&"left"}return t})),l=ve(e.events)("click",(function(){}));return he(e,{click:l}),{x:r,y:a,myColumns:i,style:n,customRow:function(){return{onClick:l}}}}});R(".table[data-v-21849ce3]{height:100%;width:100%}");R(".ecan-table .ant-spin-nested-loading{height:100%}.ecan-table .ant-spin-container{display:flex;flex-direction:column;height:100%}.ecan-table .ant-table{background:#fff;color:rgba(0,0,0,.65);flex:1}.ecan-table .ant-table-thead>tr>th{background:#fafafa;border-bottom:1px solid #f0f0f0;color:rgba(0,0,0,.85)}.ecan-table .ant-table-tbody>tr>td{border-bottom:1px solid #f0f0f0}.ecan-table .ant-table-bordered .ant-table-container{border:1px solid #f0f0f0!important}.ecan-table .ant-table-bordered .ant-table-cell{border-right:1px solid #f0f0f0!important}.ecan-table .ant-pagination-item-link{border:1px solid #d9d9d9!important}.ecan-table .anticon{color:rgba(0,0,0,.65)!important}[datav-theme=darkBlue] .ecan-table .ant-table{background:#071655;color:#e8e8e8;flex:1}[datav-theme=darkBlue] .ecan-table .ant-table-thead>tr>th{background:#17338c;border-bottom:1px solid #3e8ee3;color:#cdd0f7}[datav-theme=darkBlue] .ecan-table .ant-table-tbody>tr>td{border-bottom:1px solid #3e8ee3}[datav-theme=darkBlue] .ecan-table .ant-table-bordered .ant-table-container{border:1px solid #3e8ee3!important}[datav-theme=darkBlue] .ecan-table .ant-table-bordered .ant-table-cell{border-right:1px solid #3e8ee3!important}[datav-theme=darkBlue] .ecan-table .ant-pagination-item-link{background:#17338c!important;border:1px solid #243c8e!important}[datav-theme=darkBlue] .ecan-table .ant-pagination-item{background:#17338c!important}[datav-theme=darkBlue] .ecan-table .anticon{color:hsla(0,0%,100%,.65)!important}[datav-theme=darkBlue] .ecan-table .ant-table-tbody>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td{background:#225b98}"),Wt.render=function(e,n,o,r,a,i){var l=t.resolveComponent("a-table");return t.openBlock(),t.createElementBlock("div",{class:"ecan-table",style:t.normalizeStyle(e.style)},[t.createVNode(l,{class:"table",columns:e.myColumns,"data-source":e.data,bordered:e.bordered,size:e.size,customRow:e.customRow,scroll:{x:e.x,y:e.y}},{bodyCell:t.withCtx((function(e){var n=e.column,o=e.index;return[t.createCommentVNode(" 序列配置 "),"seq"===n.dataIndex?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(o+1),1)],2112)):t.createCommentVNode("v-if",!0)]})),_:1},8,["columns","data-source","bordered","size","customRow","scroll"])],4)},Wt.__scopeId="data-v-21849ce3",Wt.__file="src/table/table/Table.vue";var Qt=K(Wt),Zt=Object.freeze({__proto__:null,pageConfig:X,pageConfigComponentProps:$,EcanPageConfig:ne,providerConfig:ie,providerConfigComponentProps:le,EcanProviderConfig:ue,textProps:de,textComponentProps:pe,EcanText:Se,EcanScrollText:Be,inputProps:Oe,inputComponentProps:Le,EcanInput:Pe,datePickerProps:Ne,datePickerComponentProps:Te,datePickerEvents:Me,EcanDatePicker:Ie,selectProps:Re,selectComponentProps:Je,EcanSelect:_e,rangePickerProps:Ve,rangePickerComponentProps:qe,EcanRangePicker:Ge,buttonProps:De,buttonComponentProps:Ke,buttonEvents:Ye,EcanButton:Ze,pieProps:He,pieComponentProps:Xe,EcanPie:tt,lineProps:nt,lineComponentProps:ot,EcanLine:at,barProps:it,barComponentProps:lt,barEvents:ct,EcanBar:ut,scatterProps:dt,scatterComponentProps:pt,EcanScatter:mt,customGraphProps:ht,customGraphComponentProps:vt,EcanCustomGraph:bt,borderProps:xt,cardComponentProps:kt,EcanBorder:Mt,modalProps:zt,modalComponentProps:It,modalEvents:Rt,EcanModal:Ut,imageProps:_t,imageComponentProps:Vt,EcanImage:Gt,tableProps:Dt,tableComponentProps:Kt,tableEvents:Yt,EcanTable:Qt}),Ht={install:function(e){Object.keys(Zt).forEach((function(t){var n=Zt[t];n.install&&e.use(n)}))}};e.EcanBar=ut,e.EcanBorder=Mt,e.EcanButton=Ze,e.EcanCustomGraph=bt,e.EcanDatePicker=Ie,e.EcanImage=Gt,e.EcanInput=Pe,e.EcanLine=at,e.EcanModal=Ut,e.EcanPageConfig=ne,e.EcanPie=tt,e.EcanProviderConfig=ue,e.EcanRangePicker=Ge,e.EcanScatter=mt,e.EcanScrollText=Be,e.EcanSelect=_e,e.EcanTable=Qt,e.EcanText=Se,e.barComponentProps=lt,e.barEvents=ct,e.barProps=it,e.borderProps=xt,e.buttonComponentProps=Ke,e.buttonEvents=Ye,e.buttonProps=De,e.cardComponentProps=kt,e.customGraphComponentProps=vt,e.customGraphProps=ht,e.datePickerComponentProps=Te,e.datePickerEvents=Me,e.datePickerProps=Ne,e.default=Ht,e.imageComponentProps=Vt,e.imageProps=_t,e.inputComponentProps=Le,e.inputProps=Oe,e.lineComponentProps=ot,e.lineProps=nt,e.modalComponentProps=It,e.modalEvents=Rt,e.modalProps=zt,e.pageConfig=X,e.pageConfigComponentProps=$,e.pieComponentProps=Xe,e.pieProps=He,e.providerConfig=ie,e.providerConfigComponentProps=le,e.rangePickerComponentProps=qe,e.rangePickerProps=Ve,e.scatterComponentProps=pt,e.scatterProps=dt,e.selectComponentProps=Je,e.selectProps=Re,e.tableComponentProps=Kt,e.tableEvents=Yt,e.tableProps=Dt,e.textComponentProps=pe,e.textProps=de,Object.defineProperty(e,"__esModule",{value:!0})}));
16
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../node_modules/@babel/runtime/helpers/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","../node_modules/@babel/runtime/helpers/nonIterableRest.js","../node_modules/@babel/runtime/helpers/slicedToArray.js","../node_modules/style-inject/dist/style-inject.es.js","../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/iterableToArray.js","../node_modules/@babel/runtime/helpers/nonIterableSpread.js","../node_modules/@babel/runtime/helpers/toConsumableArray.js","../node_modules/@vue/shared/dist/shared.esm-bundler.js","../node_modules/regenerator-runtime/runtime.js","../node_modules/@babel/runtime/regenerator/index.js","../src/setting/page-config/PageConfig.vue?vue&type=template&id=f2b96d90&lang.js","../src/setting/provider-config/ProviderConfig.vue?vue&type=template&id=c0047108&lang.js","../node_modules/@babel/runtime/helpers/typeof.js","../node_modules/@babel/runtime/helpers/defineProperty.js","../src/text/text/Text.vue?vue&type=template&id=41a337b4&lang.js","../src/text/scroll-text/ScrollText.vue?vue&type=template&id=0cbdffb5&lang.js","../src/control/input/Input.vue?vue&type=template&id=b714c8ac&lang.js","../src/control/date-picker/DatePicker.vue?vue&type=template&id=18740e6e&lang.js","../src/control/select/Select.vue?vue&type=template&id=b6743858&lang.js","../src/control/range-picker/RangePicker.vue?vue&type=template&id=9eb3e236&lang.js","../src/control/button/Button.vue?vue&type=template&id=34f909d8&lang.js","../src/graph/pie/Pie.vue?vue&type=template&id=9a0368c2&lang.js","../src/graph/line/Line.vue?vue&type=template&id=54811405&lang.js","../src/graph/bar/Bar.vue?vue&type=template&id=fbb863a6&lang.js","../src/graph/scatter/Scatter.vue?vue&type=template&id=728fdd83&lang.js","../src/graph/custom-graph/CustomGraph.vue?vue&type=template&id=0faf24da&lang.js","../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../src/container/border/Border.vue","../src/container/border/Border.vue?vue&type=template&id=af8a0f90&lang.js","../src/assets/border-title-decoration-left.png","../src/assets/border-title-decoration-right.png","../src/container/modal/Modal.vue?vue&type=template&id=4efa8b94&lang.js","../src/media/image/Image.vue?vue&type=template&id=5a006553&lang.js","../src/table/table/Table.vue?vue&type=template&id=21849ce3&lang.js"],"sourcesContent":["function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nmodule.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithHoles = require(\"./arrayWithHoles.js\");\n\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableRest = require(\"./nonIterableRest.js\");\n\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\n\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}\n\nmodule.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nmodule.exports = _iterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithoutHoles = require(\"./arrayWithoutHoles.js\");\n\nvar iterableToArray = require(\"./iterableToArray.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableSpread = require(\"./nonIterableSpread.js\");\n\nfunction _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}\n\nmodule.exports = _toConsumableArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/**\r\n * Make a map and return a function for checking if a key\r\n * is in that map.\r\n * IMPORTANT: all calls of this function must be prefixed with\r\n * \\/\\*#\\_\\_PURE\\_\\_\\*\\/\r\n * So that rollup can tree-shake them if necessary.\r\n */\r\nfunction makeMap(str, expectsLowerCase) {\r\n const map = Object.create(null);\r\n const list = str.split(',');\r\n for (let i = 0; i < list.length; i++) {\r\n map[list[i]] = true;\r\n }\r\n return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];\r\n}\n\n/**\r\n * dev only flag -> name mapping\r\n */\r\nconst PatchFlagNames = {\r\n [1 /* TEXT */]: `TEXT`,\r\n [2 /* CLASS */]: `CLASS`,\r\n [4 /* STYLE */]: `STYLE`,\r\n [8 /* PROPS */]: `PROPS`,\r\n [16 /* FULL_PROPS */]: `FULL_PROPS`,\r\n [32 /* HYDRATE_EVENTS */]: `HYDRATE_EVENTS`,\r\n [64 /* STABLE_FRAGMENT */]: `STABLE_FRAGMENT`,\r\n [128 /* KEYED_FRAGMENT */]: `KEYED_FRAGMENT`,\r\n [256 /* UNKEYED_FRAGMENT */]: `UNKEYED_FRAGMENT`,\r\n [512 /* NEED_PATCH */]: `NEED_PATCH`,\r\n [1024 /* DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,\r\n [2048 /* DEV_ROOT_FRAGMENT */]: `DEV_ROOT_FRAGMENT`,\r\n [-1 /* HOISTED */]: `HOISTED`,\r\n [-2 /* BAIL */]: `BAIL`\r\n};\n\n/**\r\n * Dev only\r\n */\r\nconst slotFlagsText = {\r\n [1 /* STABLE */]: 'STABLE',\r\n [2 /* DYNAMIC */]: 'DYNAMIC',\r\n [3 /* FORWARDED */]: 'FORWARDED'\r\n};\n\nconst GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +\r\n 'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +\r\n 'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt';\r\nconst isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED);\n\nconst range = 2;\r\nfunction generateCodeFrame(source, start = 0, end = source.length) {\r\n // Split the content into individual lines but capture the newline sequence\r\n // that separated each line. This is important because the actual sequence is\r\n // needed to properly take into account the full line length for offset\r\n // comparison\r\n let lines = source.split(/(\\r?\\n)/);\r\n // Separate the lines and newline sequences into separate arrays for easier referencing\r\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\r\n lines = lines.filter((_, idx) => idx % 2 === 0);\r\n let count = 0;\r\n const res = [];\r\n for (let i = 0; i < lines.length; i++) {\r\n count +=\r\n lines[i].length +\r\n ((newlineSequences[i] && newlineSequences[i].length) || 0);\r\n if (count >= start) {\r\n for (let j = i - range; j <= i + range || end > count; j++) {\r\n if (j < 0 || j >= lines.length)\r\n continue;\r\n const line = j + 1;\r\n res.push(`${line}${' '.repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`);\r\n const lineLength = lines[j].length;\r\n const newLineSeqLength = (newlineSequences[j] && newlineSequences[j].length) || 0;\r\n if (j === i) {\r\n // push underline\r\n const pad = start - (count - (lineLength + newLineSeqLength));\r\n const length = Math.max(1, end > count ? lineLength - pad : end - start);\r\n res.push(` | ` + ' '.repeat(pad) + '^'.repeat(length));\r\n }\r\n else if (j > i) {\r\n if (end > count) {\r\n const length = Math.max(Math.min(end - count, lineLength), 1);\r\n res.push(` | ` + '^'.repeat(length));\r\n }\r\n count += lineLength + newLineSeqLength;\r\n }\r\n }\r\n break;\r\n }\r\n }\r\n return res.join('\\n');\r\n}\n\n/**\r\n * On the client we only need to offer special cases for boolean attributes that\r\n * have different names from their corresponding dom properties:\r\n * - itemscope -> N/A\r\n * - allowfullscreen -> allowFullscreen\r\n * - formnovalidate -> formNoValidate\r\n * - ismap -> isMap\r\n * - nomodule -> noModule\r\n * - novalidate -> noValidate\r\n * - readonly -> readOnly\r\n */\r\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\r\nconst isSpecialBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs);\r\n/**\r\n * The full list is needed during SSR to produce the correct initial markup.\r\n */\r\nconst isBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs +\r\n `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,` +\r\n `loop,open,required,reversed,scoped,seamless,` +\r\n `checked,muted,multiple,selected`);\r\n/**\r\n * Boolean attributes should be included if the value is truthy or ''.\r\n * e.g. `<select multiple>` compiles to `{ multiple: '' }`\r\n */\r\nfunction includeBooleanAttr(value) {\r\n return !!value || value === '';\r\n}\r\nconst unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\r\nconst attrValidationCache = {};\r\nfunction isSSRSafeAttrName(name) {\r\n if (attrValidationCache.hasOwnProperty(name)) {\r\n return attrValidationCache[name];\r\n }\r\n const isUnsafe = unsafeAttrCharRE.test(name);\r\n if (isUnsafe) {\r\n console.error(`unsafe attribute name: ${name}`);\r\n }\r\n return (attrValidationCache[name] = !isUnsafe);\r\n}\r\nconst propsToAttrMap = {\r\n acceptCharset: 'accept-charset',\r\n className: 'class',\r\n htmlFor: 'for',\r\n httpEquiv: 'http-equiv'\r\n};\r\n/**\r\n * CSS properties that accept plain numbers\r\n */\r\nconst isNoUnitNumericStyleProp = /*#__PURE__*/ makeMap(`animation-iteration-count,border-image-outset,border-image-slice,` +\r\n `border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,` +\r\n `columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,` +\r\n `grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,` +\r\n `grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,` +\r\n `line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,` +\r\n // SVG\r\n `fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,` +\r\n `stroke-miterlimit,stroke-opacity,stroke-width`);\r\n/**\r\n * Known attributes, this is used for stringification of runtime static nodes\r\n * so that we don't stringify bindings that cannot be set from HTML.\r\n * Don't also forget to allow `data-*` and `aria-*`!\r\n * Generated from https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes\r\n */\r\nconst isKnownHtmlAttr = /*#__PURE__*/ makeMap(`accept,accept-charset,accesskey,action,align,allow,alt,async,` +\r\n `autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,` +\r\n `border,buffered,capture,challenge,charset,checked,cite,class,code,` +\r\n `codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,` +\r\n `coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,` +\r\n `disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,` +\r\n `formaction,formenctype,formmethod,formnovalidate,formtarget,headers,` +\r\n `height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,` +\r\n `ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,` +\r\n `manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,` +\r\n `open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,` +\r\n `referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,` +\r\n `selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,` +\r\n `start,step,style,summary,tabindex,target,title,translate,type,usemap,` +\r\n `value,width,wrap`);\r\n/**\r\n * Generated from https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute\r\n */\r\nconst isKnownSvgAttr = /*#__PURE__*/ makeMap(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,` +\r\n `arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,` +\r\n `baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,` +\r\n `clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,` +\r\n `color-interpolation-filters,color-profile,color-rendering,` +\r\n `contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,` +\r\n `descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,` +\r\n `dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,` +\r\n `fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,` +\r\n `font-family,font-size,font-size-adjust,font-stretch,font-style,` +\r\n `font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,` +\r\n `glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,` +\r\n `gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,` +\r\n `horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,` +\r\n `k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,` +\r\n `lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,` +\r\n `marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,` +\r\n `mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,` +\r\n `name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,` +\r\n `overflow,overline-position,overline-thickness,panose-1,paint-order,path,` +\r\n `pathLength,patternContentUnits,patternTransform,patternUnits,ping,` +\r\n `pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,` +\r\n `preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,` +\r\n `rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,` +\r\n `restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,` +\r\n `specularConstant,specularExponent,speed,spreadMethod,startOffset,` +\r\n `stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,` +\r\n `strikethrough-position,strikethrough-thickness,string,stroke,` +\r\n `stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,` +\r\n `stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,` +\r\n `systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,` +\r\n `text-decoration,text-rendering,textLength,to,transform,transform-origin,` +\r\n `type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,` +\r\n `unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,` +\r\n `v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,` +\r\n `vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,` +\r\n `writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,` +\r\n `xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,` +\r\n `xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`);\n\nfunction normalizeStyle(value) {\r\n if (isArray(value)) {\r\n const res = {};\r\n for (let i = 0; i < value.length; i++) {\r\n const item = value[i];\r\n const normalized = isString(item)\r\n ? parseStringStyle(item)\r\n : normalizeStyle(item);\r\n if (normalized) {\r\n for (const key in normalized) {\r\n res[key] = normalized[key];\r\n }\r\n }\r\n }\r\n return res;\r\n }\r\n else if (isString(value)) {\r\n return value;\r\n }\r\n else if (isObject(value)) {\r\n return value;\r\n }\r\n}\r\nconst listDelimiterRE = /;(?![^(]*\\))/g;\r\nconst propertyDelimiterRE = /:(.+)/;\r\nfunction parseStringStyle(cssText) {\r\n const ret = {};\r\n cssText.split(listDelimiterRE).forEach(item => {\r\n if (item) {\r\n const tmp = item.split(propertyDelimiterRE);\r\n tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\r\n }\r\n });\r\n return ret;\r\n}\r\nfunction stringifyStyle(styles) {\r\n let ret = '';\r\n if (!styles || isString(styles)) {\r\n return ret;\r\n }\r\n for (const key in styles) {\r\n const value = styles[key];\r\n const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\r\n if (isString(value) ||\r\n (typeof value === 'number' && isNoUnitNumericStyleProp(normalizedKey))) {\r\n // only render valid values\r\n ret += `${normalizedKey}:${value};`;\r\n }\r\n }\r\n return ret;\r\n}\r\nfunction normalizeClass(value) {\r\n let res = '';\r\n if (isString(value)) {\r\n res = value;\r\n }\r\n else if (isArray(value)) {\r\n for (let i = 0; i < value.length; i++) {\r\n const normalized = normalizeClass(value[i]);\r\n if (normalized) {\r\n res += normalized + ' ';\r\n }\r\n }\r\n }\r\n else if (isObject(value)) {\r\n for (const name in value) {\r\n if (value[name]) {\r\n res += name + ' ';\r\n }\r\n }\r\n }\r\n return res.trim();\r\n}\r\nfunction normalizeProps(props) {\r\n if (!props)\r\n return null;\r\n let { class: klass, style } = props;\r\n if (klass && !isString(klass)) {\r\n props.class = normalizeClass(klass);\r\n }\r\n if (style) {\r\n props.style = normalizeStyle(style);\r\n }\r\n return props;\r\n}\n\n// These tag configs are shared between compiler-dom and runtime-dom, so they\r\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element\r\nconst HTML_TAGS = 'html,body,base,head,link,meta,style,title,address,article,aside,footer,' +\r\n 'header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,' +\r\n 'figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,' +\r\n 'data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,' +\r\n 'time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,' +\r\n 'canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,' +\r\n 'th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,' +\r\n 'option,output,progress,select,textarea,details,dialog,menu,' +\r\n 'summary,template,blockquote,iframe,tfoot';\r\n// https://developer.mozilla.org/en-US/docs/Web/SVG/Element\r\nconst SVG_TAGS = 'svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,' +\r\n 'defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,' +\r\n 'feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,' +\r\n 'feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,' +\r\n 'feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,' +\r\n 'fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,' +\r\n 'foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,' +\r\n 'mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,' +\r\n 'polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,' +\r\n 'text,textPath,title,tspan,unknown,use,view';\r\nconst VOID_TAGS = 'area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr';\r\nconst isHTMLTag = /*#__PURE__*/ makeMap(HTML_TAGS);\r\nconst isSVGTag = /*#__PURE__*/ makeMap(SVG_TAGS);\r\nconst isVoidTag = /*#__PURE__*/ makeMap(VOID_TAGS);\n\nconst escapeRE = /[\"'&<>]/;\r\nfunction escapeHtml(string) {\r\n const str = '' + string;\r\n const match = escapeRE.exec(str);\r\n if (!match) {\r\n return str;\r\n }\r\n let html = '';\r\n let escaped;\r\n let index;\r\n let lastIndex = 0;\r\n for (index = match.index; index < str.length; index++) {\r\n switch (str.charCodeAt(index)) {\r\n case 34: // \"\r\n escaped = '&quot;';\r\n break;\r\n case 38: // &\r\n escaped = '&amp;';\r\n break;\r\n case 39: // '\r\n escaped = '&#39;';\r\n break;\r\n case 60: // <\r\n escaped = '&lt;';\r\n break;\r\n case 62: // >\r\n escaped = '&gt;';\r\n break;\r\n default:\r\n continue;\r\n }\r\n if (lastIndex !== index) {\r\n html += str.slice(lastIndex, index);\r\n }\r\n lastIndex = index + 1;\r\n html += escaped;\r\n }\r\n return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\r\n}\r\n// https://www.w3.org/TR/html52/syntax.html#comments\r\nconst commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;\r\nfunction escapeHtmlComment(src) {\r\n return src.replace(commentStripRE, '');\r\n}\n\nfunction looseCompareArrays(a, b) {\r\n if (a.length !== b.length)\r\n return false;\r\n let equal = true;\r\n for (let i = 0; equal && i < a.length; i++) {\r\n equal = looseEqual(a[i], b[i]);\r\n }\r\n return equal;\r\n}\r\nfunction looseEqual(a, b) {\r\n if (a === b)\r\n return true;\r\n let aValidType = isDate(a);\r\n let bValidType = isDate(b);\r\n if (aValidType || bValidType) {\r\n return aValidType && bValidType ? a.getTime() === b.getTime() : false;\r\n }\r\n aValidType = isArray(a);\r\n bValidType = isArray(b);\r\n if (aValidType || bValidType) {\r\n return aValidType && bValidType ? looseCompareArrays(a, b) : false;\r\n }\r\n aValidType = isObject(a);\r\n bValidType = isObject(b);\r\n if (aValidType || bValidType) {\r\n /* istanbul ignore if: this if will probably never be called */\r\n if (!aValidType || !bValidType) {\r\n return false;\r\n }\r\n const aKeysCount = Object.keys(a).length;\r\n const bKeysCount = Object.keys(b).length;\r\n if (aKeysCount !== bKeysCount) {\r\n return false;\r\n }\r\n for (const key in a) {\r\n const aHasKey = a.hasOwnProperty(key);\r\n const bHasKey = b.hasOwnProperty(key);\r\n if ((aHasKey && !bHasKey) ||\r\n (!aHasKey && bHasKey) ||\r\n !looseEqual(a[key], b[key])) {\r\n return false;\r\n }\r\n }\r\n }\r\n return String(a) === String(b);\r\n}\r\nfunction looseIndexOf(arr, val) {\r\n return arr.findIndex(item => looseEqual(item, val));\r\n}\n\n/**\r\n * For converting {{ interpolation }} values to displayed strings.\r\n * @private\r\n */\r\nconst toDisplayString = (val) => {\r\n return val == null\r\n ? ''\r\n : isArray(val) ||\r\n (isObject(val) &&\r\n (val.toString === objectToString || !isFunction(val.toString)))\r\n ? JSON.stringify(val, replacer, 2)\r\n : String(val);\r\n};\r\nconst replacer = (_key, val) => {\r\n // can't use isRef here since @vue/shared has no deps\r\n if (val && val.__v_isRef) {\r\n return replacer(_key, val.value);\r\n }\r\n else if (isMap(val)) {\r\n return {\r\n [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val]) => {\r\n entries[`${key} =>`] = val;\r\n return entries;\r\n }, {})\r\n };\r\n }\r\n else if (isSet(val)) {\r\n return {\r\n [`Set(${val.size})`]: [...val.values()]\r\n };\r\n }\r\n else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\r\n return String(val);\r\n }\r\n return val;\r\n};\n\nconst EMPTY_OBJ = (process.env.NODE_ENV !== 'production')\r\n ? Object.freeze({})\r\n : {};\r\nconst EMPTY_ARR = (process.env.NODE_ENV !== 'production') ? Object.freeze([]) : [];\r\nconst NOOP = () => { };\r\n/**\r\n * Always return false.\r\n */\r\nconst NO = () => false;\r\nconst onRE = /^on[^a-z]/;\r\nconst isOn = (key) => onRE.test(key);\r\nconst isModelListener = (key) => key.startsWith('onUpdate:');\r\nconst extend = Object.assign;\r\nconst remove = (arr, el) => {\r\n const i = arr.indexOf(el);\r\n if (i > -1) {\r\n arr.splice(i, 1);\r\n }\r\n};\r\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\r\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\r\nconst isArray = Array.isArray;\r\nconst isMap = (val) => toTypeString(val) === '[object Map]';\r\nconst isSet = (val) => toTypeString(val) === '[object Set]';\r\nconst isDate = (val) => val instanceof Date;\r\nconst isFunction = (val) => typeof val === 'function';\r\nconst isString = (val) => typeof val === 'string';\r\nconst isSymbol = (val) => typeof val === 'symbol';\r\nconst isObject = (val) => val !== null && typeof val === 'object';\r\nconst isPromise = (val) => {\r\n return isObject(val) && isFunction(val.then) && isFunction(val.catch);\r\n};\r\nconst objectToString = Object.prototype.toString;\r\nconst toTypeString = (value) => objectToString.call(value);\r\nconst toRawType = (value) => {\r\n // extract \"RawType\" from strings like \"[object RawType]\"\r\n return toTypeString(value).slice(8, -1);\r\n};\r\nconst isPlainObject = (val) => toTypeString(val) === '[object Object]';\r\nconst isIntegerKey = (key) => isString(key) &&\r\n key !== 'NaN' &&\r\n key[0] !== '-' &&\r\n '' + parseInt(key, 10) === key;\r\nconst isReservedProp = /*#__PURE__*/ makeMap(\r\n// the leading comma is intentional so empty string \"\" is also included\r\n',key,ref,ref_for,ref_key,' +\r\n 'onVnodeBeforeMount,onVnodeMounted,' +\r\n 'onVnodeBeforeUpdate,onVnodeUpdated,' +\r\n 'onVnodeBeforeUnmount,onVnodeUnmounted');\r\nconst cacheStringFunction = (fn) => {\r\n const cache = Object.create(null);\r\n return ((str) => {\r\n const hit = cache[str];\r\n return hit || (cache[str] = fn(str));\r\n });\r\n};\r\nconst camelizeRE = /-(\\w)/g;\r\n/**\r\n * @private\r\n */\r\nconst camelize = cacheStringFunction((str) => {\r\n return str.replace(camelizeRE, (_, c) => (c ? c.toUpperCase() : ''));\r\n});\r\nconst hyphenateRE = /\\B([A-Z])/g;\r\n/**\r\n * @private\r\n */\r\nconst hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, '-$1').toLowerCase());\r\n/**\r\n * @private\r\n */\r\nconst capitalize = cacheStringFunction((str) => str.charAt(0).toUpperCase() + str.slice(1));\r\n/**\r\n * @private\r\n */\r\nconst toHandlerKey = cacheStringFunction((str) => str ? `on${capitalize(str)}` : ``);\r\n// compare whether a value has changed, accounting for NaN.\r\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\r\nconst invokeArrayFns = (fns, arg) => {\r\n for (let i = 0; i < fns.length; i++) {\r\n fns[i](arg);\r\n }\r\n};\r\nconst def = (obj, key, value) => {\r\n Object.defineProperty(obj, key, {\r\n configurable: true,\r\n enumerable: false,\r\n value\r\n });\r\n};\r\nconst toNumber = (val) => {\r\n const n = parseFloat(val);\r\n return isNaN(n) ? val : n;\r\n};\r\nlet _globalThis;\r\nconst getGlobalThis = () => {\r\n return (_globalThis ||\r\n (_globalThis =\r\n typeof globalThis !== 'undefined'\r\n ? globalThis\r\n : typeof self !== 'undefined'\r\n ? self\r\n : typeof window !== 'undefined'\r\n ? window\r\n : typeof global !== 'undefined'\r\n ? global\r\n : {}));\r\n};\n\nexport { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, generateCodeFrame, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isDate, isFunction, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownSvgAttr, isMap, isModelListener, isNoUnitNumericStyleProp, isObject, isOn, isPlainObject, isPromise, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, makeMap, normalizeClass, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, slotFlagsText, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n define(Gp, \"constructor\", GeneratorFunctionPrototype);\n define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction);\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","module.exports = require(\"regenerator-runtime\");\n","<template>\n <div id=\"container\" ref=\"container\">\n <template v-if=\"ready\">\n <div\n class=\"page-config\"\n :style=\"style\"\n >\n <slot></slot>\n </div>\n </template>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, nextTick, computed, ref, onMounted, onUnmounted } from 'vue'\nimport { debounce } from 'lodash-es'\nimport { pageConfigComponentProps } from './props'\nexport default defineComponent({\n name: 'EcanPageConfig',\n props: {\n ...pageConfigComponentProps\n },\n setup (props) {\n // 大屏设计容器\n const style = computed(() => ({\n width: props.width,\n height: props.height,\n backgroundColor: props.backgroundColor,\n backgroundImage: props.backgroundImage,\n backgroundSize: props.backgroundSize\n }))\n const width = ref(0)\n const height = ref(0)\n const originalWidth = ref(0)\n const originalHeight = ref(0)\n const ready = ref(false)\n const container = ref()\n let observer: MutationObserver | null\n const initSize = () => {\n return new Promise<void>((resolve) => {\n nextTick(() => {\n // 获取大屏的真实尺寸\n if (props.width && props.height) {\n width.value = parseFloat(props.width)\n height.value = parseFloat(props.height)\n } else {\n width.value = container.value.clientWidth\n height.value = container.value.clientHeight\n }\n // 获取画布尺寸\n if (!originalWidth.value || !originalHeight.value) {\n originalWidth.value = window.screen.width\n originalHeight.value = window.screen.height\n }\n resolve()\n })\n })\n }\n const updateSize = () => {\n if (width.value && height.value) {\n container.value.style.width = `${width.value}px`\n container.value.style.height = `${height.value}px`\n } else {\n container.value.style.width = `${originalWidth.value}px`\n container.value.style.height = `${originalHeight.value}px`\n }\n }\n const updateScale = () => {\n // 获取真实的视口尺寸\n const currentWidth = document.body.clientWidth\n const currentHeight = document.body.clientHeight\n // 获取大屏最终的宽高\n const realWidth = width.value || originalWidth.value\n const realHeight = height.value || originalHeight.value\n const widthScale = currentWidth / realWidth\n const heightScale = currentHeight / realHeight\n container.value && (container.value.style.transform = `scale(${widthScale}, ${heightScale})`)\n }\n const onResize = async () => {\n await initSize()\n updateScale()\n }\n const initMutationObserver = () => {\n const MutationObserver = window.MutationObserver\n observer = new MutationObserver(onResize)\n observer.observe(container.value, {\n attributes: true,\n attributeFilter: ['style'],\n attributeOldValue: true\n })\n }\n const removeMutationObserver = () => {\n if (observer) {\n observer.disconnect()\n observer.takeRecords()\n observer = null\n }\n }\n onMounted(async () => {\n ready.value = false\n await initSize()\n updateSize()\n updateScale()\n window.addEventListener('resize', debounce(onResize, 100))\n initMutationObserver()\n ready.value = true\n })\n onUnmounted(() => {\n window.removeEventListener('resize', onResize)\n removeMutationObserver()\n })\n return {\n style,\n container,\n ready\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n#container {\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n transform-origin: left top;\n z-index: 999;\n}\n.page-config {\n position: relative;\n overflow: hidden;\n background-size: cover;\n}\n</style>\n","<template>\n <!-- 请勿去除属性id -->\n <div id=\"ProviderConfig\" ref=\"providerConfig\">\n <slot></slot>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, provide, onUnmounted, ref, onMounted, watch } from 'vue'\nimport mitt from 'mitt'\nimport { EVENT_BUS, GLOBAL_VAR, GLOBAL_MODEL } from '../../_utils/constant'\nimport { providerConfigComponentProps } from './props'\nexport default defineComponent({\n name: 'EcanProviderConfig',\n props: {\n ...providerConfigComponentProps\n },\n setup (props) {\n const providerConfig = ref<HTMLElement>()\n const setTheme = () => {\n providerConfig.value.setAttribute('datav-theme', props.theme)\n }\n watch(() => props.theme, () => {\n setTheme()\n })\n onMounted(() => {\n setTheme()\n })\n // 提供全局变量\n provide(GLOBAL_VAR, {\n contextRequestUrl: props.contextRequestUrl,\n pageMode: props.pageMode,\n theme: props.theme\n })\n\n // 提供全局控件值\n const globalModel = new Map()\n const getGlobalModel = (key: string) => {\n return globalModel.get(key)\n }\n const setGlobalModel = (key: string, value: any) => {\n globalModel.set(key, value)\n }\n provide(GLOBAL_MODEL, {\n getGlobalModel,\n setGlobalModel\n })\n\n // 提供事件\n const eventBus = mitt()\n const onEvent = (key: string, events: { [key:string]: any }) => {\n eventBus.on(key, (k: string) => events[k]())\n onUnmounted(() => {\n eventBus.off(key)\n })\n }\n const offEvent = (key) => {\n eventBus.off(key)\n }\n const emitEvent = (key, eventName) => {\n eventBus.emit(key, eventName)\n }\n provide(EVENT_BUS, {\n onEvent,\n offEvent,\n emitEvent\n })\n return {\n providerConfig\n }\n }\n})\n</script>\n\n<style scoped>\n\n</style>\n","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\n\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","<template>\n <div class=\"ecan-text\" :style=\"style\">\n {{ text }}\n </div>\n</template>\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { textComponentProps } from './props'\nimport { usePickComponentStyle } from '../../_utils/hooks'\nexport default defineComponent({\n name: 'EcanText',\n props: {\n ...textComponentProps\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n return {\n style\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.ecan-text {\n}\n</style>\n","<template>\n <div class=\"red\">\n {{ text }}\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, ref } from 'vue'\nexport default defineComponent({\n name: 'EcanScrollText',\n setup () {\n const text = ref('基础文本')\n return {\n text\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.red {\n color: red;\n}\n</style>\n","<template>\n <div\n class=\"ecan-input\"\n :style=\"style\"\n >\n <a-input\n class=\"input\"\n :value=\"value\"\n :placeholder=\"placeholder\"\n />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { usePickComponentStyle } from 'src/_utils/hooks'\nimport { Input as AInput } from 'ant-design-vue'\nimport 'ant-design-vue/es/input/style/index'\nimport { inputComponentProps } from './props'\nexport default defineComponent({\n name: 'EcanInput',\n components: {\n AInput\n },\n props: {\n ...inputComponentProps\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n return {\n style\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.input {\n width: 100%;\n height: 100%;\n}\n</style>\n","<template>\n <div\n class=\"ecan-date-picker\"\n :style=\"style\"\n >\n <!-- 宽度style有效,class无效 -->\n <a-date-picker\n class=\"date-picker\"\n style=\"width: 100%; height: 100%\"\n :picker=\"picker\"\n v-model:value=\"myValue\"\n :showTime=\"showTime\"\n :locale=\"locale\"\n @change=\"dateChange\"\n :getPopupContainer=\"getPopupContainer\"\n />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, inject, ref } from 'vue'\nimport { Events } from '../../_utils/props'\nimport { datePickerComponentProps } from './props'\nimport { DatePicker as ADatePicker } from 'ant-design-vue'\nimport 'ant-design-vue/es/date-picker/style/index'\nimport { usePickComponentStyle, useOnEvent, useEmitEvent } from '../../_utils/hooks'\nimport locale from 'ant-design-vue/es/date-picker/locale/zh_CN'\nimport dayjs, { Dayjs } from 'dayjs'\nimport { GLOBAL_MODEL } from 'src/_utils/constant'\nexport default defineComponent({\n name: 'EcanDatePicker',\n props: {\n ...datePickerComponentProps\n },\n components: {\n ADatePicker\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n const getPopupContainer = () => document.getElementById('ProviderConfig') || document.body\n const myValue = ref<Dayjs>(dayjs(props.value as string))\n const valueStr = computed(() => myValue.value.format(props.format as string))\n const events = props.events as Events\n const { setGlobalModel } = inject(GLOBAL_MODEL, {\n // @ts-ignore\n // eslint-disable-next-line no-void\n setGlobalModel: (key: string, value: any) => void 0\n })\n setGlobalModel(props.id as string, valueStr)\n // 注册函数触发事件拦截器\n const emitEvent = useEmitEvent(events)\n const dateChange = emitEvent('dateChange', () => {\n })\n // TODO 传入需要注册的参数\n useOnEvent(props, {\n dateChange\n })\n return {\n style,\n getPopupContainer,\n myValue,\n locale,\n dateChange\n }\n }\n})\n</script>\n\n<style lang=\"less\">\n[datav-theme='light'] {\n .ant-picker {\n color: rgba(0, 0, 0, 0.85);\n border: 1px solid #d9d9d9;\n }\n .ant-picker-input > input {\n color: rgba(0, 0, 0, 0.85);\n }\n .anticon-calendar {\n color: #333;\n }\n .anticon-close-circle {\n color: #333;\n }\n}\n\n[datav-theme='darkBlue'] {\n .ant-picker {\n background-color: #05164c;\n border: 1px solid #1f63a3;\n color: #fff;\n box-shadow: inset 0 0 10px #005efe;\n }\n .ant-picker-input > input {\n color: #ffffff;\n }\n .anticon-calendar {\n color: #ffffff;\n }\n .anticon-close-circle {\n color: #333;\n }\n .ant-picker-panel {\n background: #05174e;\n border-bottom: 1px solid #69befa;\n }\n .ant-picker-header {\n color: #69befa;\n border-bottom: 1px solid #69befa;\n }\n .ant-picker-panel .ant-picker-footer {\n border-top: 1px solid #69befa;\n }\n .ant-picker-header button {\n color: #69befa;\n }\n .ant-picker-content th {\n color: #69befa;\n }\n .ant-picker-content td {\n color: #69befa;\n }\n .ant-picker-today-btn {\n color: #69befa;\n }\n .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner, .ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner {\n background: #1890ff;\n }\n}\n</style>\n","<template>\n <div\n class=\"ecan-select\"\n :style=\"style\"\n >\n <a-select\n class=\"select\"\n :value=\"value\"\n :options=\"data\"\n show-search\n :getPopupContainer=\"getPopupContainer\"\n />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { Select as ASelect } from 'ant-design-vue'\nimport 'ant-design-vue/es/select/style/index'\nimport { usePickComponentStyle } from '../../_utils/hooks'\nimport { selectComponentProps } from './props'\nexport default defineComponent({\n name: 'EcanSelect',\n components: {\n ASelect\n },\n props: {\n ...selectComponentProps\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n // 挂在在 ProviderConfig 或者 body 下\n const getPopupContainer = () => document.getElementById('ProviderConfig') || document.body\n return {\n style,\n getPopupContainer\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.ecan-select {\n :deep(.ant-select-selector) {\n height: 100% !important;\n }\n}\n\n.select {\n width: 100%;\n height: 100%;\n}\n</style>\n\n<style lang=\"less\">\n[datav-theme='light'] {\n .ant-select:not(.ant-select-customize-input) .ant-select-selector {\n border: 1px solid #d9d9d9;\n }\n .ant-select-dropdown {\n color: rgba(0, 0, 0, 0.85);\n background: #ffffff;\n box-shadow: 0 2px 8px rgb(0 0 0 / 15%);\n }\n .ant-empty-img-simple-g {\n stroke: #d9d9d9;\n }\n .ant-empty-img-simple-ellipse {\n fill: #f5f5f5;\n }\n .ant-empty-img-simple-path {\n fill: #f5f5f5;\n stroke: #d9d9d9;\n }\n .ant-empty-description {\n color: rgba(0, 0, 0, 0.25);\n }\n .anticon-down {\n color: #333;\n }\n}\n\n[datav-theme='darkBlue'] {\n .ant-select:not(.ant-select-customize-input) .ant-select-selector {\n border: 1px solid #1f63a3;\n background-color: #05164c;\n box-shadow: inset 0 0 10px #005efe;\n color: #ffffff;\n }\n .ant-select-dropdown {\n box-shadow: inset 0 0 10px #005efe;\n color: #fff;\n background-color: #05164c;\n }\n .ant-empty-img-simple-g {\n stroke: #69befa;\n }\n .ant-empty-img-simple-ellipse {\n fill-opacity: 0;\n }\n .ant-empty-img-simple-path {\n fill: #69befa;\n stroke: #69befa;\n }\n .ant-empty-description {\n color: #69befa;\n }\n .anticon-down {\n color: #ffffff;\n }\n .ant-select-item {\n color: #ffffff;\n }\n .ant-select-item-option-active {\n background: #1f63a3;\n }\n .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {\n background: #1f63a3;\n }\n}\n</style>\n","<template>\n <div\n class=\"ecan-range-picker\"\n :style=\"style\"\n >\n <a-range-picker\n class=\"range-picker\"\n :picker=\"picker\"\n :locale=\"locale\"\n :getPopupContainer=\"getPopupContainer\"\n />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { rangePickerComponentProps } from './props'\nimport { usePickComponentStyle } from 'src/_utils/hooks'\nimport { RangePicker as ARangePicker } from 'ant-design-vue'\n// import RangePicker as ARangePicker from 'ant-design-vue/es/da'\nimport locale from 'ant-design-vue/es/date-picker/locale/zh_CN'\n// antdv 中 range-picker 组件与 date-picker 共用一个样式\nimport 'ant-design-vue/es/date-picker/style/index'\nexport default defineComponent({\n name: 'EcanRangePicker',\n components: {\n ARangePicker\n },\n props: {\n ...rangePickerComponentProps\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n const getPopupContainer = () => document.getElementById('ProviderConfig') || document.body\n return {\n style,\n getPopupContainer,\n locale\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.range-picker {\n width: 100%;\n height: 100%;\n}\n</style>\n\n<style lang=\"less\">\n[datav-theme='light'] {\n .ant-picker {\n color: rgba(0, 0, 0, 0.85);\n border: 1px solid #d9d9d9;\n }\n .ant-picker-input > input {\n color: rgba(0, 0, 0, 0.85);\n }\n}\n\n[datav-theme='darkBlue'] {\n .ant-picker {\n background-color: #05164c;\n border: 1px solid #1f63a3;\n color: #fff;\n box-shadow: inset 0 0 10px #005efe;\n }\n .ant-picker-range-arrow::after {\n border-color: #05164c #05164c transparent transparent;\n }\n .ant-picker-input > input {\n color: #ffffff;\n }\n .anticon-calendar {\n color: #ffffff;\n }\n .anticon-close-circle {\n color: #333;\n }\n .ant-picker-panel {\n background-color: #05164c;\n border-bottom: 1px solid #69befa;\n }\n .ant-picker-header {\n color: #69befa;\n border-bottom: 1px solid #69befa;\n }\n .ant-picker-panel .ant-picker-footer {\n border-top: 1px solid #69befa;\n }\n .ant-picker-header button {\n color: #69befa;\n }\n .ant-picker-content th {\n color: #69befa;\n }\n .ant-picker-content td {\n color: #69befa;\n }\n .ant-picker-today-btn {\n color: #69befa;\n }\n .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner, .ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner {\n background: #1890ff;\n }\n .anticon-swap-right {\n color: #ffffff;\n }\n}\n</style>\n","<template>\n <div\n class=\"ecan-input\"\n :style=\"style\"\n >\n <a-button\n class=\"button\"\n block\n @click=\"click\"\n >\n 测试\n </a-button>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { usePickComponentStyle, useEmitEvent } from 'src/_utils/hooks'\nimport { Button as AButton } from 'ant-design-vue'\nimport 'ant-design-vue/es/button/style/index'\nimport { buttonComponentProps } from './props'\nimport { Events } from 'src/_utils/props'\nexport default defineComponent({\n name: 'EcanButton',\n components: {\n AButton\n },\n props: {\n ...buttonComponentProps\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n const events = props.events as Events\n // 拦截触发事件\n const emitEvent = useEmitEvent(events)\n // click 是 event 名称\n const click = emitEvent('click')\n return {\n style,\n click\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.button {\n width: 100%;\n height: 100%;\n}\n</style>\n","<template>\n <div :style=\"style\">\n <echarts\n :option=\"option\"\n autoresize\n />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, computed } from 'vue'\nimport { usePickComponentStyle } from '../../_utils/hooks'\nimport Echarts from '../../common/echarts'\nimport { pieComponentProps } from './props'\nimport { use } from 'echarts/core'\nimport { CanvasRenderer } from 'echarts/renderers'\nimport { PieChart } from 'echarts/charts'\nimport {\n TitleComponent,\n TooltipComponent,\n LegendComponent\n} from 'echarts/components'\nimport { handleFormatter } from '../../_utils/util'\nuse([\n CanvasRenderer,\n PieChart,\n TitleComponent,\n TooltipComponent,\n LegendComponent\n])\nexport default defineComponent({\n name: 'EcanPie',\n props: {\n ...pieComponentProps\n },\n components: {\n Echarts\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n const data = computed(() => {\n if (Array.isArray(props.colors)) {\n const isUseLabelColors = props.isUseLabelColors\n const colors = props.colors\n return (props.data as { [key: string]: any } []).map((item, index) => ({\n label: isUseLabelColors ? { color: colors[index] } : {},\n ...item\n }))\n }\n return props.data\n })\n const option = computed(() => ({\n title: {\n text: props.titleText,\n subtext: props.titleSubtext,\n left: 'center'\n },\n // 提示\n tooltip: {\n show: props.tooltipShow,\n trigger: props.tooltipTrigger,\n formatter: handleFormatter(props.tooltipFormatter as string),\n textStyle: {\n color: props.tooltipTextStyleColor\n }\n },\n // 图例\n legend: {\n show: props.legendShow,\n orient: props.legendOrient,\n top: props.legendTop,\n left: props.legendLeft,\n textStyle: {\n color: props.legendTextStyleColor\n }\n },\n color: props.colors,\n series: [\n {\n type: 'pie',\n radius: [props.innerRadius, props.outerRadius],\n center: [props.centerLeft, props.centerTop],\n roseType: props.roseType,\n data: data.value,\n label: {\n show: props.labelShow,\n color: props.labelColor,\n fontSize: props.labelFontSize,\n position: props.labelPosition,\n formatter: handleFormatter(props.labelFormatter as string)\n },\n labelLine: {\n show: props.labelLineShow,\n length: props.labelLineLength,\n length2: props.labelLineLength2\n },\n emphasis: {\n itemStyle: {\n shadowBlur: 10,\n shadowOffsetX: 0,\n shadowColor: 'rgba(0, 0, 0, 0.5)'\n }\n }\n }\n ]\n }))\n\n return {\n option,\n style\n }\n }\n})\n</script>\n","<template>\n <div :style=\"style\">\n <echarts\n :option=\"option\"\n autoresize\n />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, ref, watch } from 'vue'\nimport { usePickComponentStyle } from '../../_utils/hooks'\nimport Echarts from '../../common/echarts'\nimport { lineComponentProps } from './props'\nimport { use } from 'echarts/core'\nimport { CanvasRenderer } from 'echarts/renderers'\nimport { LineChart } from 'echarts/charts'\nimport {\n TitleComponent,\n LegendComponent\n} from 'echarts/components'\nuse([\n CanvasRenderer,\n LineChart,\n TitleComponent,\n LegendComponent\n])\nexport default defineComponent({\n name: 'EcanLine',\n props: {\n ...lineComponentProps\n },\n components: {\n Echarts\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n const data = ref()\n watch(() => props.data, (value: any) => {\n if (Array.isArray(value)) {\n data.value = value.map((item) => [item.name, item.value])\n }\n }, {\n immediate: true\n })\n const option = computed(() => ({\n title: {\n text: props.titleText,\n subText: props.titleSubtext,\n left: 'center'\n },\n color: props.colors,\n xAxis: {\n type: 'category',\n splitLine: {\n show: props.xAxisSplitLineShow,\n lineStyle: {\n color: props.xAxisSplitLineStyleColor\n }\n },\n axisLabel: {\n color: props.xAxisLabelColor\n },\n axisLine: {\n lineStyle: {\n color: props.xAxisLineStyleColor\n }\n },\n axisTick: {\n show: props.xAxisTickShow\n }\n },\n yAxis: {\n type: 'value',\n splitLine: {\n show: props.yAxisSplitLineShow,\n lineStyle: {\n color: props.yAxisSplitLineStyleColor\n }\n },\n axisLabel: {\n color: props.yAxisLabelColor\n },\n axisLine: {\n lineStyle: {\n color: props.yAxisLineStyleColor\n }\n }\n },\n tooltip: {\n trigger: 'axis'\n },\n // 图例\n legend: {\n show: props.legendShow,\n orient: props.legendOrient,\n top: props.legendTop,\n left: props.legendLeft\n },\n series: [\n {\n name: '默认',\n type: 'line',\n data: data.value,\n symbolSize: props.symbolSize,\n smooth: props.smooth,\n lineStyle: {\n width: props.lineStyleWidth\n }\n }\n ]\n }))\n return {\n option,\n style\n }\n }\n})\n</script>\n","<template>\n <div :style=\"style\">\n <echarts\n :option=\"option\"\n :update-options=\"{ notMerge: true }\"\n autoresize\n @click=\"click\"\n />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, computed, ref, watch, onMounted, inject, onUnmounted } from 'vue'\nimport axios from 'axios'\nimport { usePickComponentStyle, useOnEvent, useTransformEchartsDataset, useEmitEvent } from 'src/_utils/hooks'\nimport { GLOBAL_MODEL, GLOBAL_VAR } from 'src/_utils/constant'\nimport { RequestMethod, RequestParams, Events } from 'src/_utils/props'\nimport Echarts from 'src/common/echarts'\nimport { barComponentProps, BarEvents } from './props'\nimport { use } from 'echarts/core'\nimport { CanvasRenderer } from 'echarts/renderers'\nimport { BarChart } from 'echarts/charts'\nimport {\n TitleComponent,\n LegendComponent,\n DatasetComponent\n} from 'echarts/components'\nuse([\n CanvasRenderer,\n BarChart,\n TitleComponent,\n LegendComponent,\n DatasetComponent\n])\nexport default defineComponent({\n name: 'EcanBar',\n props: {\n ...barComponentProps\n },\n components: {\n Echarts\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n const dimensions = ref<string []>([])\n const source = ref<{ [key: string]: any }[]>([])\n const series = ref<{ [key: string]: any }[]>([])\n const handleDataset = (data: any) => {\n const { dimensions: d, source: s } = useTransformEchartsDataset(data)\n dimensions.value = d\n source.value = s\n const last = d.length - 1\n const temp = []\n for (let i = 0; i < last; i++) {\n temp.push({ type: 'bar' })\n }\n series.value = temp\n }\n watch(() => props.data, (value: any) => {\n handleDataset(value)\n }, {\n immediate: true,\n deep: true\n })\n const option = computed(() => ({\n title: {\n text: props.titleText,\n subtext: props.titleSubtext,\n left: 'center'\n },\n color: props.colors,\n tooltip: {\n trigger: 'axis'\n },\n legend: {\n show: props.legendShow,\n orient: props.legendOrient,\n top: props.legendTop,\n left: props.legendLeft,\n textStyle: {\n color: props.legendTextStyleColor\n }\n },\n xAxis: {\n type: 'category',\n splitLine: {\n show: props.xAxisSplitLineShow,\n lineStyle: {\n color: props.xAxisSplitLineStyleColor\n }\n },\n axisLabel: {\n color: props.xAxisLabelColor\n },\n axisLine: {\n lineStyle: {\n color: props.xAxisLineStyleColor\n }\n },\n axisTick: {\n show: props.xAxisTickShow\n }\n },\n yAxis: {\n type: 'value',\n splitLine: {\n show: props.yAxisSplitLineShow,\n lineStyle: {\n color: props.yAxisSplitLineStyleColor\n }\n },\n axisLabel: {\n color: props.yAxisLabelColor\n },\n axisLine: {\n lineStyle: {\n color: props.yAxisLineStyleColor\n }\n }\n },\n dataset: {\n dimensions: dimensions.value,\n source: source.value\n },\n series: series.value\n }))\n\n const globalVar = inject(GLOBAL_VAR, {\n contextRequestUrl: '',\n pageMode: 'normal'\n })\n\n const globalModel = inject(GLOBAL_MODEL, {\n // @ts-ignore\n // eslint-disable-next-line no-void\n getGlobalModel: (key: string, prop: string) => void 0\n })\n\n const handleRequestData = async () => {\n if (!props.requestUrl || !props.requestMethod || !props.requestHeaders || globalVar.pageMode !== 'normal') return\n // TODO 优化:抽离公共方法\n const params = {} as { [key: string]: any }\n (props.requestParams as RequestParams).forEach((param) => {\n const { key, value } = param\n if (typeof value === 'object' && value.id && value.prop) {\n const v = globalModel.getGlobalModel(value.id, value.prop)\n // 如果传入响应式数据优取响应式,然后取字符串\n params[key] = v?.value || v\n } else if (typeof value === 'string') {\n params[key] = value\n }\n })\n let urlParams = ''\n const keys = Object.keys(params)\n const last = keys.length - 1\n keys.forEach((key, index) => {\n switch (index) {\n case 0:\n urlParams += `?${key}=${params[key]}&`\n break\n case last:\n urlParams += `${key}=${params[key]}`\n break\n default:\n urlParams += `${key}=${params[key]}&`\n }\n })\n try {\n const res = await axios({\n baseURL: globalVar.contextRequestUrl,\n url: (['get', 'head'].includes(props.requestMethod as RequestMethod)) ? props.requestUrl as string + urlParams : props.requestUrl as string,\n method: props.requestMethod as RequestMethod,\n headers: props.requestHeaders as { [key:string]: string },\n data: !(['get', 'head'].includes(props.requestMethod as RequestMethod)) ? params : {}\n })\n handleDataset(res.data.data)\n } catch (e) {\n console.error(e)\n }\n }\n\n const refreshData = () => {\n if (props.isRequestData) handleRequestData()\n }\n\n const emitEvent = useEmitEvent(props.events as Events)\n\n // 定时器\n const handleRequestDataTimer = globalVar.pageMode !== 'preview' && props.isOpenRequestTimer && setInterval(handleRequestData, (props.requestInterval as number) * 1000)\n\n const click = emitEvent('click', (e) => {\n console.log(e)\n })\n\n onMounted(() => {\n handleRequestData()\n })\n\n onUnmounted(() => {\n handleRequestDataTimer && clearInterval(handleRequestDataTimer)\n })\n useOnEvent(props, {\n refreshData,\n click\n } as BarEvents)\n\n return {\n option,\n style,\n refreshData,\n click\n }\n }\n})\n</script>\n","<template>\n <div :style=\"style\">\n <echarts\n :option=\"option\"\n autoresize\n />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, computed, ref, watch } from 'vue'\nimport { usePickComponentStyle } from '../../_utils/hooks'\nimport Echarts from '../../common/echarts'\nimport { scatterComponentProps } from './props'\nimport { use } from 'echarts/core'\nimport { CanvasRenderer } from 'echarts/renderers'\nimport { ScatterChart } from 'echarts/charts'\nimport {\n TitleComponent,\n TooltipComponent,\n LegendComponent\n} from 'echarts/components'\nuse([\n CanvasRenderer,\n ScatterChart,\n TitleComponent,\n TooltipComponent,\n LegendComponent\n])\nexport default defineComponent({\n name: 'EcanScatter',\n props: {\n ...scatterComponentProps\n },\n components: {\n Echarts\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n const data = ref(props.data)\n watch(() => props.data, (value: any) => {\n data.value = value\n })\n const option = computed(() => ({\n title: {\n text: props.titleText,\n subtext: props.titleSubtext,\n left: 'center'\n },\n color: props.colors,\n xAxis: {\n splitLine: {\n show: props.xAxisSplitLineShow,\n lineStyle: {\n color: props.xAxisSplitLineStyleColor\n }\n },\n axisLabel: {\n color: props.xAxisLabelColor\n },\n axisLine: {\n lineStyle: {\n color: props.xAxisLineStyleColor\n }\n },\n axisTick: {\n show: props.xAxisTickShow\n }\n },\n yAxis: {\n splitLine: {\n show: props.yAxisSplitLineShow,\n lineStyle: {\n color: props.yAxisSplitLineStyleColor\n }\n },\n axisLabel: {\n color: props.yAxisLabelColor\n },\n axisLine: {\n lineStyle: {\n color: props.yAxisLineStyleColor\n }\n }\n },\n // 提示\n tooltip: {\n show: props.tooltipShow,\n trigger: props.tooltipTrigger,\n formatter: props.tooltipFormatter\n },\n // 图例\n legend: {\n show: props.legendShow,\n orient: props.legendOrient,\n top: props.legendTop,\n left: props.legendLeft\n },\n series: [\n {\n name: '默认',\n type: 'scatter',\n data: data.value,\n symbolSize: props.symbolSize\n }\n ]\n }))\n\n return {\n option,\n style\n }\n }\n})\n</script>\n","<template>\n <div :style=\"style\">\n <echarts\n :option=\"myOption\"\n :update-options=\"{ notMerge: true }\"\n autoresize\n />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, watch, ref } from 'vue'\nimport Echarts from '../../common/echarts'\nimport { customGraphComponentProps } from './props'\nimport { usePickComponentStyle } from '../../_utils/hooks'\nimport * as echarts from 'echarts'\n// import 'echarts/components'\nexport default defineComponent({\n name: 'EcanCustomGraph',\n props: {\n ...customGraphComponentProps\n },\n components: {\n Echarts\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n const myOption = ref()\n watch(() => props.optionCode, (optionCode: string) => {\n /* // eslint-disable-next-line\n let option = {}\n // eslint-disable-next-line\n eval(props.optionCode as string)\n myOption.value = option */\n try {\n // eslint-disable-next-line\n const evalCopy = eval\n myOption.value = evalCopy(optionCode)\n } catch (e) {\n console.error(e)\n }\n }, {\n immediate: true\n })\n return {\n style,\n myOption,\n echarts\n }\n }\n})\n</script>\n","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","<template>\n <div\n class=\"ecan-border\"\n :style=\"style\"\n >\n <div class=\"title-item-wrapper\">\n <div class=\"title-item\">\n <img\n class=\"title-decoration-left\"\n src=\"../../assets/border-title-decoration-left.png\"\n >\n <div class=\"title\">{{ title }}</div>\n <img\n class=\"title-decoration-right\"\n src=\"../../assets/border-title-decoration-right.png\"\n >\n </div>\n </div>\n <div class=\"top-left border-item\"/>\n <div class=\"top-right border-item\"/>\n <div class=\"bottom-left border-item\"/>\n <div class=\"bottom-right border-item\"/>\n </div>\n</template>\n\n<script>\nimport { defineComponent } from 'vue'\nimport { cardComponentProps } from './props'\nimport { usePickComponentStyle } from '../../_utils/hooks'\nexport default defineComponent({\n name: 'EcanBorder',\n props: {\n ...cardComponentProps\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n return {\n style\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.ecan-border {\n border: 1px solid rgba(55,85,218,.3);\n background: rgba(7,22,85,.8);\n position: relative;\n box-sizing: border-box;\n}\n.border-item {\n position: absolute;\n z-index: 2;\n border-color: #50FCFC;\n border-style: solid;\n width: 13px;\n height: 11px;\n}\n.top-left {\n top: 0;\n left: 0;\n border-top-width: 1px;\n border-left-width: 1px;\n\n}\n.top-right {\n top: 0;\n right: -2px;\n border-top-width: 1px;\n border-right-width: 1px;\n}\n.bottom-left {\n bottom: -2px;\n left: 0;\n border-bottom-width: 1px;\n border-left-width: 1px;\n}\n.bottom-right {\n bottom: -2px;\n right: -2px;\n border-bottom-width: 1px;\n border-right-width: 1px;\n}\n.title-item-wrapper {\n width: 100%;\n padding: 5px 0;\n background-image: url(\"../../assets/border-title-background.png\");\n background-size: cover;\n display: grid;\n place-content: center;\n}\n.title-item {\n display: flex;\n align-items: center;\n}\n.title {\n padding: 0 17px;\n color: #d5fdfd;\n background: linear-gradient(0deg,#01aaff,#00eaff);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n.title-decoration-left {\n width: 58px;\n height: 14px;\n}\n.title-decoration-right {\n width: 58px;\n height: 14px;\n}\n</style>\n","<template>\n <div\n class=\"ecan-border\"\n :style=\"style\"\n >\n <div class=\"title-item-wrapper\">\n <div class=\"title-item\">\n <img\n class=\"title-decoration-left\"\n src=\"../../assets/border-title-decoration-left.png\"\n >\n <div class=\"title\">{{ title }}</div>\n <img\n class=\"title-decoration-right\"\n src=\"../../assets/border-title-decoration-right.png\"\n >\n </div>\n </div>\n <div class=\"top-left border-item\"/>\n <div class=\"top-right border-item\"/>\n <div class=\"bottom-left border-item\"/>\n <div class=\"bottom-right border-item\"/>\n </div>\n</template>\n\n<script>\nimport { defineComponent } from 'vue'\nimport { cardComponentProps } from './props'\nimport { usePickComponentStyle } from '../../_utils/hooks'\nexport default defineComponent({\n name: 'EcanBorder',\n props: {\n ...cardComponentProps\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n return {\n style\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.ecan-border {\n border: 1px solid rgba(55,85,218,.3);\n background: rgba(7,22,85,.8);\n position: relative;\n box-sizing: border-box;\n}\n.border-item {\n position: absolute;\n z-index: 2;\n border-color: #50FCFC;\n border-style: solid;\n width: 13px;\n height: 11px;\n}\n.top-left {\n top: 0;\n left: 0;\n border-top-width: 1px;\n border-left-width: 1px;\n\n}\n.top-right {\n top: 0;\n right: -2px;\n border-top-width: 1px;\n border-right-width: 1px;\n}\n.bottom-left {\n bottom: -2px;\n left: 0;\n border-bottom-width: 1px;\n border-left-width: 1px;\n}\n.bottom-right {\n bottom: -2px;\n right: -2px;\n border-bottom-width: 1px;\n border-right-width: 1px;\n}\n.title-item-wrapper {\n width: 100%;\n padding: 5px 0;\n background-image: url(\"../../assets/border-title-background.png\");\n background-size: cover;\n display: grid;\n place-content: center;\n}\n.title-item {\n display: flex;\n align-items: center;\n}\n.title {\n padding: 0 17px;\n color: #d5fdfd;\n background: linear-gradient(0deg,#01aaff,#00eaff);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n.title-decoration-left {\n width: 58px;\n height: 14px;\n}\n.title-decoration-right {\n width: 58px;\n height: 14px;\n}\n</style>\n","var img = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAZlBMVEUAAABBltJCldJCldFEk89BltJCltFBldI/lMBKndtmb9pCltNDldFAkclAldNBldJBltM/lM5AltNCldJBldJBlNJBltVBldJBlNJBlNI/lNNBldJBldNAldJBldJBldJBldNBldIiNK7WAAAAInRSTlMAM4BNGmaz5gQGbiAPCV1WQxUpOCY9EmxQSC2jdoacqZK8uPo7tAAAAZ9JREFUSMe90NmOwjAMheGka0J3SulCy/L+Lzk4I+HYhckEKs7dr1x8kQVM5YJMZ7SLiXVHOw817Z72cSns3BmziY7EnGRGjDqUpKt4pEZQKruvyaJt85YmBUebKLJVNUlpq6oOQ1tVVRzbqu6DwFb1NUlsVd3SNL0UDM0jqkaSqoeQqjKmahtQNUzuC1AtU1sF9KHmnmrtrSK6idqBWqE6GFVxFdGvqDGoJ01Qt7rfTEV0e7V6qSK6VjNPtTaqoOq8Ugnqr7aeav+rAuqrTh+qZw3o1urAVcFVQD3U6ZnaYY9MLZk6G5WhDaDFI9UeUPyE7gCNsAdAD9gxoBJ7ARRPUVwALXdu8/h/s3xmjtwUu0/M0M/UJzBjAei3TUTdpmKmcpkBmOHKBNTPzJi59zYJys3DO2aL78YcmNkLgrrM9m9TucwzmoBy08xlju+bgL42G4c5OcxqZSLqbwqXOVNTGXMWFD0ak6KN1ZKaojYmbribndW9MXELNQEFFUyiNqQlmEQ1JqpgErUifUUTUVEIupx1wzpjvWfdsh4FQX8ANe4nnpsb9NEAAAAASUVORK5CYII=\";\n export default img;","var img = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAaVBMVEUAAABElM9BltJCldJCldFBltJBldJCltFNmrNCmNNFldNAldJBldNBldRBldNBldNBldJCoNFBldJBltNBldJBldJAldJAltJBldJBldJBldNAlNFAldJBlNJAldJBldNBldJBldJBldLfIVowAAAAI3RSTlMAGjJNgGbmswMSCScgDTs/ZAVRK0eYj2s3r3AWveHEhXjeXb5rzlgAAAFqSURBVEjH1dbJVsJAEIXhHjJ05tlEooK8/0NKsbDrFjmHiBD0Lvqcf9PfthRM7xvoZMQuLHZaOejGYLtcdEItzI9oaLg5xIHj5hgcG262oXXcrGzJ23Umg5717C7NKBrAjOMDM8YgCI5ghmEPprUTmMZkrBOtdbJgfpZovho0gwzNOkfTam9k5jSGkKlTMOezWT3VLH5qlg8wQzSbO5jJ28l8Z+YLmZMwuz9lupvNXpjlFTMTZv7vzFSatTDtGnNeYdpNzZTMSJhx5f84m8Y3mSEzJzTVolko3J7Qve+a0J3vntDWffdEaMUQQo1vTWjuuyA0UWvUUarqzuqLUMPt1MD3uKTaTdRwvdrdorpFtfZtH6eyK2F3RS23U3uhlr9VB1TdE1V2h7Vr1O4mdbdera6o+Wq1Vqi2rEktFapGoZopVLVCtVCXag19IBPUiiWpBrojE1QNXZAp1/TYbhKdKVwuWotORKfn9wu/DSc/X9T6qgAAAABJRU5ErkJggg==\";\n export default img;","<template>\n <a-modal\n :getContainer=\"getContainer\"\n :wrapClassName=\"isFullModal ? 'ecan-modal ecan-full-modal' : 'ecan-modal'\"\n :visible=\"visible\"\n :footer=\"null\"\n :width=\"isFullModal ? '100%' : modalWith\"\n :centered=\"centered\"\n @ok=\"onOk\"\n @cancel=\"onCancel\"\n >\n <div class=\"contain\" ref=\"contain\" :style=\"containStyle\">\n <div class=\"content\" :style=\"contentStyle\">\n <component\n v-for=\"(component, index) in componentList\"\n :key=\"(component.id) + index\"\n :is=\"component.type\"\n v-bind=\"component\"\n />\n </div>\n </div>\n </a-modal>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, nextTick, ref } from 'vue'\nimport { modalComponentProps } from './props'\n// import { Modal as AModal } from 'ant-design-vue'\n// import 'ant-design-vue/es/modal/style/index'\nimport { useOnEvent, usePickComponentStyle } from 'src/_utils/hooks'\nimport EcanPageConfig from 'src/setting/page-config'\nexport default defineComponent({\n name: 'EcanModal',\n components: {\n EcanPageConfig\n // AModal\n },\n props: {\n ...modalComponentProps\n },\n setup (props) {\n const getContainer = () => document.getElementById('ProviderConfig') || document.body\n const width = props.width as string\n const height = props.height as string\n const originalWidth = props.originalWidth as string\n const originalHeight = props.originalHeight as string\n const scaleWidth = computed(() => parseFloat(width) / parseFloat(originalWidth))\n const scaleHeight = computed(() => parseFloat(height) / parseFloat(originalHeight))\n // 弹窗适配\n const modalWith = computed(() => `${scaleWidth.value * 100}%`)\n // const modalHeight = computed(() => `${scaleHeight.value * 100}%`)\n const screenWidth = document.body.offsetWidth\n const screenHeight = document.body.offsetHeight\n const containWidth = computed(() => screenWidth * scaleWidth.value)\n const containHeight = computed(() => screenHeight * scaleHeight.value)\n const containStyle = computed(() => ({\n width: `${containWidth.value}px`,\n height: `${containHeight.value}px`\n }))\n const style = usePickComponentStyle(props)\n const contentStyle = computed(() => ({\n ...style.value,\n transform: `scale(${containWidth.value / parseFloat(width)},${containHeight.value / parseFloat(height)})`\n }))\n // const isFullModal = computed(() => props.fullModal || modalWith.value === '100%')\n const isFullModal = computed(() => props.fullModal)\n const visible = ref(false)\n const contain = ref<HTMLElement>()\n const showModal = () => {\n visible.value = true\n nextTick(() => {\n console.log(contain.value.getBoundingClientRect())\n })\n }\n const hideModal = () => {\n visible.value = false\n }\n const onOk = () => {\n hideModal()\n }\n const onCancel = () => {\n hideModal()\n }\n // 注册\n useOnEvent(props, {\n showModal\n })\n\n return {\n contain,\n containStyle,\n contentStyle,\n getContainer,\n modalWith,\n isFullModal,\n style,\n visible,\n showModal,\n onOk,\n onCancel\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.contain {\n position: relative;\n overflow: hidden;\n}\n.content {\n transform-origin: left top;\n z-index: 999;\n}\n</style>\n\n<style lang=\"less\">\n.ecan-modal {\n .ant-modal-body {\n padding: 0;\n }\n}\n\n.ecan-full-modal {\n .ant-modal {\n max-width: 100%;\n top: 0;\n padding-bottom: 0;\n margin: 0;\n }\n .ant-modal-content {\n display: flex;\n flex-direction: column;\n height: calc(100vh);\n }\n .ant-modal-body {\n flex: 1;\n }\n}\n\n[datav-theme='darkBlue'] .ecan-modal {\n .anticon-close > svg > path {\n fill: #fff;\n }\n}\n</style>\n","<template>\n <img\n :style=\"style\"\n :src=\"imgUrl\"\n v-if=\"imgUrl !== ''\"\n />\n <div\n class=\"image-placeholder\"\n :style=\"style\"\n v-else\n >\n 请上传图片\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { imageComponentProps } from './props'\nimport { usePickComponentStyle } from '../../_utils/hooks'\nexport default defineComponent({\n name: 'EcanImage',\n props: {\n ...imageComponentProps\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n return {\n style\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.image-placeholder {\n display: grid;\n place-content: center;\n border: 1px solid #d9d9d9;\n font-size: 16px;\n color: #333;\n}\n</style>\n","<template>\n <div class=\"ecan-table\" :style=\"style\">\n <a-table\n class=\"table\"\n :columns=\"myColumns\"\n :data-source=\"data\"\n :bordered=\"bordered\"\n :size=\"size\"\n :customRow=\"customRow\"\n :scroll=\"{ x, y }\"\n >\n <template v-slot:bodyCell=\"{ column, index }\">\n <!-- 序列配置 -->\n <template v-if=\"column.dataIndex === 'seq'\">\n {{ index + 1 }}\n </template>\n </template>\n </a-table>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent } from 'vue'\nimport { Table as ATable } from 'ant-design-vue'\nimport 'ant-design-vue/es/table/style/index'\nimport { usePickComponentStyle, useEmitEvent, useOnEvent } from 'src/_utils/hooks'\nimport { tableComponentProps } from './props'\nimport { Events } from 'src/_utils/props'\nexport default defineComponent({\n name: 'EcanTable',\n components: {\n ATable\n },\n props: {\n ...tableComponentProps\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n const splitY = computed(() => {\n switch (props.size) {\n case 'small':\n return 90\n case 'middle':\n return 100\n default:\n return 120\n }\n })\n // const x = computed(() => props.columnsFixedNum === 0 ? parseFloat(props.width as string) : props.scrollX)\n const x = computed(() => props.scrollX)\n const y = computed(() => parseFloat(props.height as string) - splitY.value)\n const myColumns = computed(() => {\n // 复制表头数据\n let columns = [] as {[key:string]: any} []\n const isUseSeq = props.isUseSeq as boolean\n if (isUseSeq) {\n // 添加序号\n columns.push({\n title: '序号',\n dataIndex: 'seq'\n })\n }\n columns = columns.concat(props.columns as {[key:string]: any} [])\n const len = columns.length\n const columnsFixedNum = props.columnsFixedNum as number\n // 这里的循环为了 props 是引用类型,会造成脏数据(上次修改后,还会存在上次的数据)\n // 如果使用深拷贝会造成性能的浪费,c循环来说相对更快\n for (let i = 0; i < len; i++) {\n const column = columns[i]\n if (i < columnsFixedNum) {\n column.fixed = 'left'\n } else {\n column.fixed = false\n }\n }\n return columns\n })\n const emitEvent = useEmitEvent(props.events as Events)\n const click = emitEvent('click', () => {\n })\n const customRow = () => ({\n onClick: click\n })\n useOnEvent(props, {\n click\n })\n return {\n x,\n y,\n myColumns,\n style,\n customRow\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.table {\n width: 100%;\n height: 100%;\n}\n</style>\n\n<style lang=\"less\">\n\n.ecan-table {\n .ant-spin-nested-loading {\n height: 100%;\n }\n .ant-spin-container {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n .ant-table {\n flex: 1;\n color: rgba(0, 0, 0, .65);\n background: #ffffff;\n }\n .ant-table-thead > tr > th {\n color: rgba(0, 0, 0, .85);\n background: #fafafa;\n border-bottom: 1px solid #f0f0f0;\n }\n .ant-table-tbody > tr > td {\n border-bottom: 1px solid #f0f0f0;\n }\n /*.ant-table-container {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n .ant-table-body {\n flex: 1;\n }\n table {\n height: 100%;\n }*/\n .ant-table-bordered {\n .ant-table-container {\n border: 1px solid #f0f0f0 !important;\n }\n .ant-table-cell {\n border-right: 1px solid #f0f0f0 !important;\n }\n }\n .ant-pagination-item-link {\n border: 1px solid #d9d9d9 !important;\n }\n\n .anticon {\n color: rgba(0, 0, 0, .65) !important;\n }\n}\n\n[datav-theme='darkBlue'] {\n .ecan-table {\n .ant-table {\n flex: 1;\n color: #e8e8e8;\n background: #071655;\n }\n\n .ant-table-thead > tr > th {\n color: #cdd0f7;\n background: #17338c;\n border-bottom: 1px solid #3e8ee3;\n }\n\n .ant-table-tbody > tr > td {\n border-bottom: 1px solid #3e8ee3;\n }\n\n .ant-table-bordered {\n .ant-table-container {\n border: 1px solid #3e8ee3 !important;\n }\n\n .ant-table-cell {\n border-right: 1px solid #3e8ee3 !important;\n }\n }\n\n .ant-pagination-item-link {\n background: #17338c !important;\n border: 1px solid #243c8e !important;\n }\n\n .ant-pagination-item {\n background: #17338c !important;\n }\n\n .anticon {\n color: rgba(255, 255, 255, .65) !important;\n }\n\n .ant-table-tbody > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td {\n background: #225b98;\n }\n }\n}\n</style>\n"],"names":["module","arr","Array","isArray","exports","i","_i","Symbol","iterator","_s","_e","_arr","_n","_d","call","next","done","push","value","length","err","len","arr2","arrayLikeToArray","require$$0","o","minLen","n","Object","prototype","toString","slice","constructor","name","from","test","TypeError","arrayWithHoles","iterableToArrayLimit","require$$1","unsupportedIterableToArray","require$$2","nonIterableRest","require$$3","styleInject","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","iter","arrayWithoutHoles","iterableToArray","nonIterableSpread","process","env","NODE_ENV","freeze","runtime","undefined","Op","hasOwn","hasOwnProperty","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","obj","key","defineProperty","enumerable","configurable","writable","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","_invoke","state","GenStateSuspendedStart","method","arg","GenStateExecuting","Error","GenStateCompleted","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","GenStateSuspendedYield","makeInvokeMethod","fn","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","this","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","AsyncIterator","PromiseImpl","invoke","resolve","reject","result","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","info","resultName","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","displayName","isGeneratorFunction","genFun","ctor","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","object","reverse","pop","skipTempReset","prev","charAt","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","catch","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","globalThis","Function","regenerator","id","_createElementBlock","_hoisted_1","_ctx","_renderSlot","_createCommentVNode","_createElementVNode","_typeof","_createVNode","placeholder","picker","showTime","locale","onChange","getPopupContainer","options","block","onClick","option","autoresize","_defineProperty","defineComponent","props","cardComponentProps","setup","usePickComponentStyle","src","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_createBlock","getContainer","wrapClassName","visible","footer","width","centered","onOk","onCancel","component","index","_mergeProps","columns","bordered","size","customRow","scroll","bodyCell","column","dataIndex"],"mappings":"w+EAIAA,UAJA,SAAyBC,GACvB,GAAIC,MAAMC,QAAQF,GAAM,OAAOA,GAGCD,sBAA4B,EAAMA,EAAOI,QAAiB,QAAIJ,EAAOI,4CC0BvGJ,UA9BA,SAA+BC,EAAKI,GAClC,IAAIC,EAAY,MAAPL,EAAc,KAAyB,oBAAXM,QAA0BN,EAAIM,OAAOC,WAAaP,EAAI,cAE3F,GAAU,MAANK,EAAJ,CACA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