epx-frame 5.0.5 → 5.1.0

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 (135) hide show
  1. package/lib/0.js +1 -1
  2. package/lib/1.js +1 -1
  3. package/lib/115.js +1 -1
  4. package/lib/131.js +2 -2
  5. package/lib/132.js +1 -1
  6. package/lib/2.js +1 -1
  7. package/lib/components/Link.js +1 -1
  8. package/lib/components/add-form-item.js +1 -1
  9. package/lib/components/add-form.js +2 -2
  10. package/lib/components/ai-agent-page.js +1 -1
  11. package/lib/components/ai-chat-page.js +1 -1
  12. package/lib/components/ai-import-page.js +2 -2
  13. package/lib/components/ai-import.js +1 -1
  14. package/lib/components/alert.js +1 -1
  15. package/lib/components/app-index.js +1 -1
  16. package/lib/components/app-nav.js +2 -2
  17. package/lib/components/app-tabs.js +1 -1
  18. package/lib/components/apply-form.js +1 -1
  19. package/lib/components/approval-index-page.js +2 -2
  20. package/lib/components/approval-index.js +2 -2
  21. package/lib/components/base-page.js +2 -2
  22. package/lib/components/button.js +1 -1
  23. package/lib/components/card-form-item.js +1 -1
  24. package/lib/components/card.js +1 -1
  25. package/lib/components/carousel.js +1 -1
  26. package/lib/components/category-list.js +1 -1
  27. package/lib/components/chart.js +2 -2
  28. package/lib/components/check-history.js +2 -2
  29. package/lib/components/collapse.js +1 -1
  30. package/lib/components/color-picker.js +1 -1
  31. package/lib/components/component.js +1 -1
  32. package/lib/components/config-page.js +2 -2
  33. package/lib/components/contacts.js +1 -1
  34. package/lib/components/dashboard.js +3 -1
  35. package/lib/components/div.js +1 -1
  36. package/lib/components/dropdown.js +2 -2
  37. package/lib/components/edit-entity-list.js +1 -1
  38. package/lib/components/entity-add-page.js +2 -2
  39. package/lib/components/entity-apply-page.js +2 -2
  40. package/lib/components/entity-card-list.js +1 -1
  41. package/lib/components/entity-list-find-page.js +2 -2
  42. package/lib/components/entity-list-find.js +2 -2
  43. package/lib/components/entity-list-page.js +2 -2
  44. package/lib/components/entity-list.js +2 -2
  45. package/lib/components/entity-no-submit-sub-list.js +1 -1
  46. package/lib/components/entity-sub-grid.js +2 -2
  47. package/lib/components/entity-sub-list.js +2 -2
  48. package/lib/components/entity-tree-find-page.js +2 -2
  49. package/lib/components/entity-tree-find.js +2 -2
  50. package/lib/components/export-file.js +1 -1
  51. package/lib/components/export.js +2 -2
  52. package/lib/components/flow-num.js +1 -1
  53. package/lib/components/footer.js +1 -1
  54. package/lib/components/form-field.js +1 -1
  55. package/lib/components/form-item.js +2 -2
  56. package/lib/components/form.js +2 -2
  57. package/lib/components/formula.js +1 -1
  58. package/lib/components/gauge.js +1 -1
  59. package/lib/components/grid.js +1 -1
  60. package/lib/components/header.js +1 -1
  61. package/lib/components/html.js +1 -1
  62. package/lib/components/icon.js +1 -1
  63. package/lib/components/iframe.js +1 -1
  64. package/lib/components/image.js +1 -1
  65. package/lib/components/import-file.js +1 -1
  66. package/lib/components/import.js +2 -2
  67. package/lib/components/layout.js +1 -1
  68. package/lib/components/list.js +1 -1
  69. package/lib/components/load-page.js +1 -1
  70. package/lib/components/m-entity-add-page.js +2 -2
  71. package/lib/components/m-entity-dept-find.js +1 -1
  72. package/lib/components/m-entity-list-find.js +1 -1
  73. package/lib/components/m-entity-list.js +1 -1
  74. package/lib/components/m-entity-no-submit-sub-list.js +2 -2
  75. package/lib/components/m-entity-tree-find.js +1 -1
  76. package/lib/components/m-entity-user-find.js +1 -1
  77. package/lib/components/menu-index.js +1 -1
  78. package/lib/components/menu.js +1 -1
  79. package/lib/components/mine.js +1 -1
  80. package/lib/components/module-index-page.js +2 -2
  81. package/lib/components/module-list-page.js +2 -2
  82. package/lib/components/module-list.js +1 -1
  83. package/lib/components/module-tabs-page.js +2 -2
  84. package/lib/components/nav-add-form.js +1 -1
  85. package/lib/components/num.js +1 -1
  86. package/lib/components/org-chart.js +1 -1
  87. package/lib/components/page-help.js +1 -1
  88. package/lib/components/page-tabs.js +1 -1
  89. package/lib/components/page.js +2 -2
  90. package/lib/components/pagination.js +1 -1
  91. package/lib/components/progress-chart.js +1 -1
  92. package/lib/components/progress.js +1 -1
  93. package/lib/components/report-chart.js +2 -2
  94. package/lib/components/report-html.js +2 -2
  95. package/lib/components/report-preview.js +2 -2
  96. package/lib/components/report.js +2 -2
  97. package/lib/components/router-view.js +1 -1
  98. package/lib/components/scope.js +2 -2
  99. package/lib/components/search-bar.js +1 -1
  100. package/lib/components/search-list.js +1 -1
  101. package/lib/components/search.js +2 -2
  102. package/lib/components/step-item.js +1 -1
  103. package/lib/components/step.js +1 -1
  104. package/lib/components/tab-bar.js +1 -1
  105. package/lib/components/tab-tags.js +1 -1
  106. package/lib/components/tabs.js +1 -1
  107. package/lib/components/tag.js +1 -1
  108. package/lib/components/task-list-page.js +2 -2
  109. package/lib/components/task-list.js +2 -2
  110. package/lib/components/template.js +2 -2
  111. package/lib/components/text-editor.js +1 -1
  112. package/lib/components/text.js +1 -1
  113. package/lib/components/title.js +1 -1
  114. package/lib/components/video.js +1 -1
  115. package/lib/components/visual-config-page.js +2 -2
  116. package/lib/epx-frame.common.js +2 -2
  117. package/lib/http.js +2 -2
  118. package/lib/router.js +2 -2
  119. package/lib/store.js +2 -2
  120. package/lib/utils/Config.js +1 -1
  121. package/lib/utils/axios.js +2 -2
  122. package/lib/utils/chartTheme.js +1 -1
  123. package/lib/utils/fieldFactory.js +2 -2
  124. package/lib/utils/formula.js +1 -1
  125. package/lib/utils/index.js +2 -2
  126. package/lib/utils/loadComponent.js +1 -1
  127. package/lib/utils/loadLibrary.js +1 -1
  128. package/lib/utils/meta.js +1 -1
  129. package/lib/utils/mixins/component.js +2 -2
  130. package/lib/utils/mixins/global.js +2 -2
  131. package/lib/utils/mixins/index.js +2 -2
  132. package/lib/utils/page.js +1 -1
  133. package/lib/utils/pdf.viewer.js +2 -2
  134. package/lib/utils/util.js +1 -1
  135. package/package.json +1 -1
@@ -1 +1 @@
1
- module.exports=function(e){var t={};function o(_){if(t[_])return t[_].exports;var i=t[_]={i:_,l:!1,exports:{}};return e[_].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.d=function(e,t,_){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:_})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var _=Object.create(null);if(o.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(_,i,function(t){return e[t]}.bind(null,i));return _},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/dist/",o(o.s=770)}({0:function(e,t,o){"use strict";o.d(t,"a",(function(){return r}));var _=o(7);function i(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);t&&(_=_.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,_)}return o}function r(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(Object(o),!0).forEach((function(t){Object(_.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}},1:function(e,t,o){"use strict";o.d(t,"a",(function(){return r}));var _=o(9);var i=o(14);function r(e){return function(e){if(Array.isArray(e))return Object(_.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(i.a)(e)||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.")}()}},10:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},103:function(e,t,o){"use strict";o.r(t);var _=o(85).a,i=o(3),r=o.n(i),n=o(93),a={insert:"head",singleton:!1},s=(r()(n.a,a),n.a.locals,o(2)),l=Object(s.a)(_,void 0,void 0,!1,null,null,null);t.default=l.exports},11:function(e,t){e.exports=require("core-js/modules/es.array.find.js")},12:function(e,t){e.exports=require("core-js/modules/es.regexp.exec.js")},122:function(e,t,o){"use strict";o.r(t),o.d(t,"light",(function(){return _})),o.d(t,"defaultTheme",(function(){return i})),o.d(t,"cool",(function(){return r})),o.d(t,"dark",(function(){return n})),o.d(t,"technology",(function(){return a}));var _={color:["#1976D2","#14ADF2","#0ACDE6","#06A697","#F7C353","#FA8356","#F35754","#F36897","#C763D9","#4C60CE"],graph:{itemStyle:{borderWidth:0,borderColor:"#ccc"},lineStyle:{width:1,color:"#aaa"},symbolSize:4,symbol:"emptyCircle",smooth:!1,color:["#1976D2","#14ADF2","#0ACDE6","#06A697","#F7C353","#FA8356","#F35754","#F36897","#C763D9","#4C60CE"],label:{color:"#eee"}}},i={color:["#C1232B","#27727B","#FCCE10","#E87C25","#B5C334","#FE8463","#9BCA63","#FAD860","#F3A43B","#60C0DD","#D7504B","#C6E579","#F4E001","#F0805A","#26C0C0"],graph:{itemStyle:{borderWidth:0,borderColor:"#ccc"},lineStyle:{width:1,color:"#aaa"},symbolSize:4,symbol:"emptyCircle",smooth:!1,color:["#C1232B","#27727B","#FCCE10","#E87C25","#B5C334","#FE8463","#9BCA63","#FAD860","#F3A43B","#60C0DD","#D7504B","#C6E579","#F4E001","#F0805A","#26C0C0"],label:{color:"#eee"}}},r={color:["#0083DE","#00A6F1","#00C0F3","#6DD4EF","#A7DBFF","#46D4C7","#00BCAA","#26A69A","#1291B0","#0063C5"],backgroundColor:"rgba(0, 0, 0, 0)",textStyle:{},title:{textStyle:{color:"#333"},subtextStyle:{color:"#aaa"}},line:{itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:4,symbol:"emptyCircle",smooth:!1},radar:{itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:4,symbol:"emptyCircle",smooth:!1},bar:{itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},pie:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},scatter:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},boxplot:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},parallel:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},sankey:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},funnel:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},gauge:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},candlestick:{itemStyle:{color:"#c23531",color0:"#314656",borderColor:"#c23531",borderColor0:"#314656",borderWidth:1}},graph:{itemStyle:{borderWidth:0,borderColor:"#ccc"},lineStyle:{width:1,color:"#aaa"},symbolSize:4,symbol:"emptyCircle",smooth:!1,color:["#0083DE","#00A6F1","#00C0F3","#6DD4EF","#A7DBFF","#46D4C7","#00BCAA","#26A69A","#1291B0","#0063C5"],label:{color:"#eee"}},map:{itemStyle:{normal:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},emphasis:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1}},label:{normal:{textStyle:{color:"#000"}},emphasis:{textStyle:{color:"rgb(100,0,0)"}}}},geo:{itemStyle:{normal:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},emphasis:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1}},label:{normal:{textStyle:{color:"#000"}},emphasis:{textStyle:{color:"rgb(100,0,0)"}}}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:"#333"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"#333"}},splitLine:{show:!1,lineStyle:{color:["#ccc"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},valueAxis:{axisLine:{show:!0,lineStyle:{color:"#333"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"#333"}},splitLine:{show:!0,lineStyle:{color:["#ccc"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},logAxis:{axisLine:{show:!0,lineStyle:{color:"#333"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"#333"}},splitLine:{show:!0,lineStyle:{color:["#ccc"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},timeAxis:{axisLine:{show:!0,lineStyle:{color:"#333"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"#333"}},splitLine:{show:!0,lineStyle:{color:["#ccc"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},toolbox:{iconStyle:{normal:{borderColor:"#999"},emphasis:{borderColor:"#666"}}},legend:{textStyle:{color:"#333"}},tooltip:{axisPointer:{lineStyle:{color:"#ccc",width:1},crossStyle:{color:"#ccc",width:1}}},timeline:{lineStyle:{color:"#293c55",width:1},itemStyle:{normal:{color:"#293c55",borderWidth:1},emphasis:{color:"#a9334c"}},controlStyle:{normal:{color:"#293c55",borderColor:"#293c55",borderWidth:.5},emphasis:{color:"#293c55",borderColor:"#293c55",borderWidth:.5}},checkpointStyle:{color:"#e43c59",borderColor:"rgba(194,53,49, 0.5)"},label:{normal:{textStyle:{color:"#293c55"}},emphasis:{textStyle:{color:"#293c55"}}}},visualMap:{color:["#bf444c","#d88273","#f6efa6"]},dataZoom:{backgroundColor:"rgba(47,69,84,0)",dataBackgroundColor:"rgba(47,69,84,0.3)",fillerColor:"rgba(167,183,204,0.4)",handleColor:"#a7b7cc",handleSize:"100%",textStyle:{color:"#333"}},markPoint:{label:{color:"#eee"},emphasis:{label:{color:"#eee"}}}},n={color:["#1976D2","#14ADF2","#0ACDE6","#06A697","#F7C353","#FA8356","#F35754","#F36897","#C763D9","#4C60CE"],label:{color:"rgba(255, 255, 255, 0.8)"},graph:{itemStyle:{borderWidth:0,borderColor:"rgba(255, 255, 255, 0.45)"},lineStyle:{width:1,color:"rgba(255, 255, 255, 0.45)"},symbolSize:4,symbol:"emptyCircle",smooth:!1,color:["#1976D2","#14ADF2","#0ACDE6","#06A697","#F7C353","#FA8356","#F35754","#F36897","#C763D9","#4C60CE"],label:{color:"rgba(255, 255, 255, 0.8)"}},legend:{textStyle:{color:"rgba(255, 255, 255, 0.8)"}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.45)"}},axisTick:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.8)"}},axisLabel:{show:!0,textStyle:{color:"rgba(255, 255, 255, 0.8)"}},splitLine:{show:!1,lineStyle:{color:["rgba(255, 255, 255, 0.15)"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},valueAxis:{axisLine:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.45)"}},axisTick:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.8)"}},axisLabel:{show:!0,textStyle:{color:"rgba(255, 255, 255, 0.8)"}},splitLine:{show:!0,lineStyle:{color:["rgba(255, 255, 255, 0.15)"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}}},a={color:["#1976D2","#14ADF2","#0ACDE6","#06A697","#F7C353","#FA8356","#F35754","#F36897","#C763D9","#4C60CE"],label:{color:"rgba(255, 255, 255, 0.8)"},graph:{itemStyle:{borderWidth:0,borderColor:"rgba(255, 255, 255, 0.45)"},lineStyle:{width:1,color:"rgba(255, 255, 255, 0.45)"},symbolSize:4,symbol:"emptyCircle",smooth:!1,color:["#1976D2","#14ADF2","#0ACDE6","#06A697","#F7C353","#FA8356","#F35754","#F36897","#C763D9","#4C60CE"],label:{color:"rgba(255, 255, 255, 0.8)"}},legend:{textStyle:{color:"rgba(255, 255, 255, 0.8)"}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.45)"}},axisTick:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.45)"}},axisLabel:{show:!0,textStyle:{color:"rgba(255, 255, 255, 0.8)"}},splitLine:{show:!1,lineStyle:{color:["rgba(255, 255, 255, 0.15)"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},valueAxis:{axisLine:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.45)"}},axisTick:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.8)"}},axisLabel:{show:!0,textStyle:{color:"rgba(255, 255, 255, 0.8)"}},splitLine:{show:!0,lineStyle:{color:["rgba(255, 255, 255, 0.15)"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}}}},13:function(e,t){e.exports=require("core-js/modules/es.array.includes.js")},14:function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var _=o(9);function i(e,t){if(e){if("string"==typeof e)return Object(_.a)(e,t);var o={}.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)?Object(_.a)(e,t):void 0}}},15:function(e,t){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},16:function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var _=o(14);function i(e,t){var o="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!o){if(Array.isArray(e)||(o=Object(_.a)(e))||t&&e&&"number"==typeof e.length){o&&(e=o);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},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 n,a=!0,s=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return a=e.done,e},e:function(e){s=!0,n=e},f:function(){try{a||null==o.return||o.return()}finally{if(s)throw n}}}}},17:function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},19:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},2:function(e,t,o){"use strict";function _(e,t,o,_,i,r,n,a){var s,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=o,l._compiled=!0),_&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),n?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(n)},l._ssrRegister=s):i&&(s=a?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(l.functional){l._injectStyles=s;var c=l.render;l.render=function(e,t){return s.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,s):[s]}return{exports:e,options:l}}o.d(t,"a",(function(){return _}))},20:function(e,t){e.exports=require("core-js/modules/es.array.concat.js")},21:function(e,t){e.exports=require("core-js/modules/es.string.includes.js")},22:function(e,t){e.exports=require("core-js/modules/es.object.keys.js")},23:function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var _=o(5);function i(e){var t=function(e,t){if("object"!=Object(_.a)(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=Object(_.a)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(_.a)(t)?t:t+""}},24:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},25:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},26:function(e,t){e.exports=require("core-js/modules/web.dom-collections.iterator.js")},27:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},277:function(module,__webpack_exports__,__webpack_require__){"use strict";var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(47),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_readOnlyError_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(34),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(20),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5__),core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(39),core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(36),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es_object_entries_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(90),core_js_modules_es_object_entries_js__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es_object_entries_js__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(6),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_9__),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(12),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_10__),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(17),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_11__),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(15),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12__),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(26),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_13__),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(27),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_14__),core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(19),core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_15__),core_js_modules_es_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(31),core_js_modules_es_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(core_js_modules_es_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_16__),core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(40),core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_17__),core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(52),core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_18__),_utils_mixins_component__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(24),_utils_mixins_component__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(_utils_mixins_component__WEBPACK_IMPORTED_MODULE_19__),_utils_chartTheme_js__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(122);__webpack_exports__.a={name:"epx-gauge",mixins:[_utils_mixins_component__WEBPACK_IMPORTED_MODULE_19___default.a],data:function(){return{ratio:0}},props:{theme:String},computed:{showTitle:function(){var e=this.$configs.showTitle,t=void 0===e||e;return!1!==t},title:function(){var e=this.$component.title,t=void 0===e?"":e;return t},chartTheme:function(){return this.$configs.theme||this.theme},scopeParams:function scopeParams(){var _this$$configs$scopeP=this.$configs.scopeParams,configScopeParams=void 0===_this$$configs$scopeP?[]:_this$$configs$scopeP,_this$$query$scopePar=this.$query.scopeParams,queryScopeParams=void 0===_this$$query$scopePar?[]:_this$$query$scopePar,scopeParams=[],_scopeParams2;"object"!==Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_3__.a)(configScopeParams)||Array.isArray(configScopeParams)?(_scopeParams2=scopeParams).push.apply(_scopeParams2,Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__.a)(configScopeParams)):Object.entries(configScopeParams).forEach((function(e){var t=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__.a)(e,2),o=t[0],_=t[1];scopeParams.push(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__.a)({field:o},_))}));var _scopeParams=this.$_.cloneDeep([].concat(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__.a)(scopeParams),Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__.a)(queryScopeParams),Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__.a)(this.searchScopeparams||[]))),that=this,_loop=function _loop(){var scope=_scopeParams[scopeKey],values=scope.values;/#\{(.+)\}/.test(values)&&(values=values.replace(/#\{(.+)\}/,(function(match,key){try{return eval("that.$query.".concat(key))||eval("that.$tab.".concat(key))||""}catch(e){return scope.values}}))),/\$\[(.+)\]/.test(values)&&(values=values.replace(/\$\[(.+)\]/,(function(match,key){try{return eval("that.$query.".concat(key))||eval("that.$tab.".concat(key))||""}catch(e){return scope.values}}))),scope.values=values};for(var scopeKey in _scopeParams)_loop();return _scopeParams},percentScopeParams:function percentScopeParams(){var _this$$configs$percen=this.$configs.percentScopeParams,percentScopeParams=void 0===_this$$configs$percen?[]:_this$$configs$percen,_this$$query$scopePar2=this.$query.scopeParams,queryScopeParams=void 0===_this$$query$scopePar2?[]:_this$$query$scopePar2,_scopeParams=this.$_.cloneDeep([].concat(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__.a)(percentScopeParams),Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__.a)(queryScopeParams))),that=this,_loop2=function _loop2(){var scope=_scopeParams[scopeKey],values=scope.values;/#\{(.+)\}/.test(values)&&(values=values.replace(/#\{(.+)\}/,(function(match,key){try{return eval("that.$query.".concat(key))||eval("that.$tab.".concat(key))||""}catch(e){return scope.values}}))),/\$\[(.+)\]/.test(values)&&(values=values.replace(/\$\[(.+)\]/,(function(match,key){try{return eval("that.$query.".concat(key))||eval("that.$tab.".concat(key))||""}catch(e){return scope.values}}))),scope.values=values};for(var scopeKey in _scopeParams)_loop2();return _scopeParams}},watch:{scopeParams:function(e){this.isInit&&!this.$_.isEqual(e,this.oldScopeParams)&&this.getRatio()}},methods:{initComponent:function(){this.isInit=!0,this.getRatio()},$refesh:function(){this.getRatio()},getRatio:function getRatio(){var _this=this;if(this.oldScopeParams=this.$_.cloneDeep(this.scopeParams),null===this.count||void 0===this.count){var _this$$configs=this.$configs,_this$$configs$entity=_this$$configs.entityId,entityId=void 0===_this$$configs$entity?this.$metaId:_this$$configs$entity,_this$$configs$dataKe=_this$$configs.dataKey,dataKey=void 0===_this$$configs$dataKe?"total":_this$$configs$dataKe,countType=_this$$configs.countType,countField=_this$$configs.countField,countFunction=_this$$configs.countFunction,_this$$configs$showPe=_this$$configs.showPercent,showPercent=void 0===_this$$configs$showPe?"1":_this$$configs$showPe,allCountType=_this$$configs.allCountType,allCountField=_this$$configs.allCountField,allCountFunction=_this$$configs.allCountFunction,_this$$configs$params=this.$configs.params,params=void 0===_this$$configs$params?{}:_this$$configs$params,props=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__.a)(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__.a)({action:"getCount",entityId:entityId,countType:countType,allCountType:allCountType},this.$formatParams(params)),{},{scopeParams:JSON.stringify(this.scopeParams)});countType&&(props.countField=countField,props.countFunction=countFunction),showPercent&&(props.showPercent="1",props.percentScopeParams=JSON.stringify(this.percentScopeParams)),allCountType&&(props.allCountField=allCountField||countField,props.allCountFunction=allCountFunction),this.$http.save(props).then((function(data){_this.ratio=data?"string"==typeof data||"number"==typeof data?data:eval("data.".concat(dataKey)):"0",_this.ratio=_this.ratio.replace("%",""),_this.setChart()})).catch((function(e){_this.$message.error(e.message)}))}},setChart:function(){var e=this.$configs,t=e.type,o=e.animation,_=void 0===o||o,i=e.detailOffsetCenterY,r=e.detailSuffix,n=void 0===r?"":r,a=e.titleFont,s=void 0===a?{}:a,l=e.detailFont,c=void 0===l?{}:l,u=e.showSplitLine,p=void 0===u||u,d=e.showAxisLabel,f=void 0===d||d,m=e.pointerLength,h=void 0===m?"60":m;c.fontSize&&(c.fontSize=c.fontSize.replace("px","")),c.lineHeight&&(c.lineHeight=c.lineHeight.replace("px","")),s.fontSize&&(s.fontSize=s.fontSize.replace("px","")),s.lineHeight&&(s.lineHeight=s.lineHeight.replace("px",""));var g={name:"Pressure",type:"gauge",radius:"90%",progress:{show:_},title:{},splitLine:{show:p,distance:5},axisLabel:{show:f},axisTick:{show:!1},pointer:{length:h+"%"},detail:Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__.a)({valueAnimation:_,formatter:"{value} "+n},c),data:[{value:this.ratio}]};"circle"===t&&(g.pointer=!1,g.startAngle=90,g.endAngle=-270,g.splitLine=!1,g.splitLine=!1,g.axisLabel.show=!1,g.axisLabel.distance=50,i=0),(i||0===i)&&(g.title.offsetCenter=[0,Number(i)-8+"%"],g.detail.offsetCenter=[0,Number(i)+8+"%"]),this.chartOption={series:[g]},this.myChart&&this.myChart.dispose(),this.myChart=this.echarts.init(this.$refs.main,this.chartTheme),this.myChart.setOption(this.chartOption)}},created:function(){var e=this;this.$util.usePlugin("echarts").then((function(t){for(var o in e.echarts=t,_utils_chartTheme_js__WEBPACK_IMPORTED_MODULE_20__)t.registerTheme(o,_utils_chartTheme_js__WEBPACK_IMPORTED_MODULE_20__[o]);e.setChart()}))}}},28:function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},3:function(e,t,o){"use strict";var _,i=function(){return void 0===_&&(_=Boolean(window&&document&&document.all&&!window.atob)),_},r=function(){var e={};return function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[t]=o}return e[t]}}(),n=[];function a(e){for(var t=-1,o=0;o<n.length;o++)if(n[o].identifier===e){t=o;break}return t}function s(e,t){for(var o={},_=[],i=0;i<e.length;i++){var r=e[i],s=t.base?r[0]+t.base:r[0],l=o[s]||0,c="".concat(s," ").concat(l);o[s]=l+1;var u=a(c),p={css:r[1],media:r[2],sourceMap:r[3]};-1!==u?(n[u].references++,n[u].updater(p)):n.push({identifier:c,updater:h(p,t),references:1}),_.push(c)}return _}function l(e){var t=document.createElement("style"),_=e.attributes||{};if(void 0===_.nonce){var i=o.nc;i&&(_.nonce=i)}if(Object.keys(_).forEach((function(e){t.setAttribute(e,_[e])})),"function"==typeof e.insert)e.insert(t);else{var n=r(e.insert||"head");if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(t)}return t}var c,u=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function p(e,t,o,_){var i=o?"":_.media?"@media ".concat(_.media," {").concat(_.css,"}"):_.css;if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var r=document.createTextNode(i),n=e.childNodes;n[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r)}}function d(e,t,o){var _=o.css,i=o.media,r=o.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(_+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=_;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(_))}}var f=null,m=0;function h(e,t){var o,_,i;if(t.singleton){var r=m++;o=f||(f=l(t)),_=p.bind(null,o,r,!1),i=p.bind(null,o,r,!0)}else o=l(t),_=d.bind(null,o,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(o)};return _(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;_(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var o=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var _=0;_<o.length;_++){var i=a(o[_]);n[i].references--}for(var r=s(e,t),l=0;l<o.length;l++){var c=a(o[l]);0===n[c].references&&(n[c].updater(),n.splice(c,1))}o=r}}}},30:function(e,t){e.exports=require("core-js/modules/es.array.filter.js")},31:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},33:function(e,t){e.exports=require("vuex")},34:function(e,t,o){"use strict"},36:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},39:function(e,t){e.exports=require("core-js/modules/es.array.iterator.js")},4:function(e,t,o){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},t.i=function(e,o,_){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(_)for(var r=0;r<this.length;r++){var n=this[r][0];null!=n&&(i[n]=!0)}for(var a=0;a<e.length;a++){var s=[].concat(e[a]);_&&i[s[0]]||(o&&(s[2]?s[2]="".concat(o," and ").concat(s[2]):s[2]=o),t.push(s))}},t}},40:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},43:function(e,t){e.exports=require("core-js/modules/es.iterator.filter.js")},47:function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var _=o(14);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var _,i,r,n,a=[],s=!0,l=!1;try{if(r=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;s=!1}else for(;!(s=(_=r.call(o)).done)&&(a.push(_.value),a.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=o.return&&(n=o.return(),Object(n)!==n))return}finally{if(l)throw i}}return a}}(e,t)||Object(_.a)(e,t)||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.")}()}},491:function(e,t,o){"use strict";var _=o(4),i=o.n(_)()((function(e){return e[1]}));i.push([e.i,':root{--color-primary: 8,116,231 }.epx-gauge{display:flex;flex-direction:column;height:100%;height:360px;box-sizing:border-box;padding:10px;background-color:#fff;overflow:hidden}.epx-gauge__header{margin-bottom:10px;flex-shrink:0;color:#666;font-size:16px;font-weight:600;font-family:"MicrosoftYaHei-Bold";display:flex;align-items:center}.epx-gauge__header-icon{width:30px;height:40px}.epx-gauge__header-icon::after{content:"";display:inline-block;width:4px;height:20px;background:#0874e7;border-radius:2px;margin-top:10px;margin-left:10px}.epx-gauge__title{line-height:36px}.epx-gauge__main{width:100%;height:100%;flex:1;overflow:hidden;position:relative}.epx-gauge--dark{background:hsla(0,0%,100%,.1)}.epx-gauge--dark .epx-gauge__title{color:#fff}.epx-gauge--technology{position:relative}.epx-gauge--technology::before{content:"";position:absolute;top:0;display:block;width:100%;height:1px;background:linear-gradient(90deg, rgba(45, 164, 247, 0) 0%, #2DA4F7 50%, rgba(45, 164, 247, 0) 100%);opacity:.5}.epx-gauge--technology::after{content:"";position:absolute;bottom:0;display:block;width:100%;height:1px;background:linear-gradient(90deg, rgba(45, 164, 247, 0) 0%, #2DA4F7 50%, rgba(45, 164, 247, 0) 100%);opacity:.5}.epx-gauge--technology{background:hsla(0,0%,100%,.1);backdrop-filter:blur(4px)}',""]),t.a=i},5:function(e,t,o){"use strict";function _(e){return(_="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)}o.d(t,"a",(function(){return _}))},52:function(e,t){e.exports=require("core-js/modules/es.regexp.test.js")},55:function(e,t){e.exports=require("core-js/modules/es.string.match.js")},6:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},7:function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var _=o(23);function i(e,t,o){return(t=Object(_.a)(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}},770:function(e,t,o){"use strict";o.r(t);o(8);var _=function(){var e=this._self._c;return e("div",{class:["epx-gauge","epx-gauge--"+this.chartTheme],style:this.$component.style},[this.showTitle&&this.title?e("p",{staticClass:"epx-gauge__header"},[e("span",{staticClass:"epx-gauge__header-icon"}),e("span",{staticClass:"epx-gauge__title"},[this._v(this._s(this.title))])]):this._e(),e("div",{ref:"main",staticClass:"epx-gauge__main"})])};_._withStripped=!0;var i=o(277).a,r=o(3),n=o.n(r),a=o(491),s={insert:"head",singleton:!1},l=(n()(a.a,s),a.a.locals,o(2)),c=Object(l.a)(i,_,[],!1,null,null,null).exports,u=o(0),p=(o(11),o(6),o(19),o(28),{name:"epx-gauge-visual",extends:o(103).default,watch:{allConfigs:{handler:function(e){e.metaId&&(this.componentMetaId=e.metaId)},immediate:!0}},methods:{initDefaultConfigs:function(){this.defaultConfigs={flex:!1,metaId:this.pageMetaId,componentName:this.componentInfo.title,type:"base","justify-content":"center",background:"#fff",border:!1,orientation:"vertical",titleFontSize:"14px",titleColor:"#000",countFontSize:"30px",countColor:"#000",openMode:"3",span:24,xsspan:24}},initConfigOptions:function(){var e=[{key:"global",label:"全局设置",children:[{key:"componentName",label:"组件名称",type:"input"},{key:"componentType",label:"组件状态",type:"radio",options:[{label:"根据页面状态",value:""},{label:"详情",value:"DETAIL"},{label:"只读",value:"READONLY"}]},{key:"metaId",label:"组件对象",type:"object",object:"FM_ENTITY"},{key:"metaViewId",label:"对象视图",type:"object",object:"FM_ENTITY_VIEW"}]},{key:"gaude",label:"仪表盘配置",children:[{key:"animation",label:"是否开启动画",type:"switch",defaultValue:!0},{key:"detailOffsetCenterY",label:"数据离心距离",type:"num"},{key:"detailSuffix",label:"单位名称",type:"input"},{key:"showTitle",label:"显示标题",type:"switch",defaultValue:!0},{key:"titleFont",label:"标题文字",type:"font",showFlag:[null,!0]},{key:"detailFont",label:"数量文字",type:"font"},{key:"showSplitLine",label:"显示刻度",type:"switch",defaultValue:!0},{key:"showAxisLabel",label:"显示刻度标签",type:"switch",defaultValue:!0},{key:"pointerLength",label:"指针长度",type:"num",defaultValue:60},{key:"type",label:"仪表盘类型",type:"radio",options:[{label:"基础",value:"base"},{label:"环形",value:"circle"}],defaultValue:"base"}]},{key:"point",label:"指针配置",children:[{key:"scopeParams",label:"指针范围",type:"scope"},{key:"countType",label:"指针统计方式",type:"radio",options:[{label:"记录数",value:"record"},{label:"字段值",value:"field"}],defaultValue:"record"},{key:"countField",label:"统计字段",type:"field",multiple:!1,showSubField:!1,limit:{dataType:["num","int"]},showFlag:{countType:"field"}},{key:"countFunction",label:"统计函数",type:"radio",options:[{label:"平均数",value:"AVG"},{label:"合计数",value:"SUM"},{label:"最大值",value:"MAX"},{label:"最小值",value:"MIN"}],defaultValue:"AVG",showFlag:{countType:"field"}}]},{key:"total",label:"总值配置",children:[{key:"percentScopeParams",label:"指针范围",type:"scope"},{key:"allCountType",label:"指针统计方式",type:"radio",options:[{label:"记录数",value:"record"},{label:"字段值",value:"field"}],defaultValue:"record"},{key:"allCountField",label:"统计字段",type:"field",multiple:!1,showSubField:!1,limit:{dataType:["num","int"]},showFlag:{allCountType:"field"},note:"不设置默认按指针统计字段处理"},{key:"allCountFunction",label:"统计函数",type:"radio",options:[{label:"平均数",value:"AVG"},{label:"合计数",value:"SUM"},{label:"最大值",value:"MAX"},{label:"最小值",value:"MIN"}],defaultValue:"AVG",showFlag:{allCountType:"field"}}]},{key:"advance",label:"高级",children:[{key:"theme",label:"主题",type:"radio",options:[{label:"默认",value:""},{label:"经典白",value:"default"},{label:"经典黑",value:"dark"},{label:"科幻",value:"technology"}],defaultValue:""},{key:"link",label:"链接",type:"radio",options:[{label:"无",value:"none"},{label:"菜单",value:"menu"},{label:"页面",value:"page"}],defaultValue:"none"},{key:"menuId",label:"打开菜单",type:"object",object:"FM_MODULE",flag:"config_menu",objectWay:"option",isTree:"1",showFlag:{link:"menu"}},{key:"pageId",label:"打开页面",type:"object",object:"FM_PAGE_CONFIG",showFlag:{link:"page"}},{key:"openMode",label:"页面打开方式",type:"radio",options:[{label:"直接打开",value:"3"},{label:"弹窗",value:"2"},{label:"新页面",value:"1"}],defaultValue:"3",showFlag:{link:"page"}},{key:"params",label:"参数传递",type:"params",showFlag:{link:["menu","page"]}},{key:"span",label:"宽度",type:"select",options:this.spanOptions},{key:"xsspan",label:"移动端宽度",type:"select",options:this.spanOptions},{key:"height",label:"高度",type:"height"},{key:"flex",label:"占据页面剩余空间",type:"radio",options:[{label:"是",value:!0},{label:"否",value:!1}]}]}];this.configOptions=e},initConfig:function(){var e=this,t=Object(u.a)({},this.compConfig);this.componentInfo.span&&(t.span=this.componentInfo.span),this.config=t;var o=function(t){"field"===(e.configOptions.find((function(e){return e.key===t}))||{}).type&&(e.selectFieldWay[t]="custom")};for(var _ in this.config)o(_)}}}),d=Object(l.a)(p,void 0,void 0,!1,null,null,null).exports;c.install=function(e){e.component(c.name,c),e.component(d.name,d)};t.default=c},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},85:function(module,__webpack_exports__,__webpack_require__){"use strict";var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(16),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_readOnlyError_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(34),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(20),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5__),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(30),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(11),core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(13),core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(10),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_9__),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(36),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_10__),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(22),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_11__),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(6),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_12__),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(12),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_13__),core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(21),core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_14__),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(55),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_15__),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(17),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_16__),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(15),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_17__),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(27),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_18__),core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(19),core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_19__),core_js_modules_es_iterator_filter_js__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(43),core_js_modules_es_iterator_filter_js__WEBPACK_IMPORTED_MODULE_20___default=__webpack_require__.n(core_js_modules_es_iterator_filter_js__WEBPACK_IMPORTED_MODULE_20__),core_js_modules_es_iterator_find_js__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(28),core_js_modules_es_iterator_find_js__WEBPACK_IMPORTED_MODULE_21___default=__webpack_require__.n(core_js_modules_es_iterator_find_js__WEBPACK_IMPORTED_MODULE_21__),core_js_modules_es_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(31),core_js_modules_es_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_22___default=__webpack_require__.n(core_js_modules_es_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_22__),core_js_modules_es_iterator_map_js__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(25),core_js_modules_es_iterator_map_js__WEBPACK_IMPORTED_MODULE_23___default=__webpack_require__.n(core_js_modules_es_iterator_map_js__WEBPACK_IMPORTED_MODULE_23__),vuex__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(33),vuex__WEBPACK_IMPORTED_MODULE_24___default=__webpack_require__.n(vuex__WEBPACK_IMPORTED_MODULE_24__);__webpack_exports__.a={name:"epx-visual-component",props:{designer:Object,widget:Object,id:[String,Number],metaId:String,upMetaId:String,upMetaViewId:String,componentInfo:{type:Object,default:function(){return{}}},compConfig:{type:Object,default:function(){return{}}},globalConfigs:{type:Object,default:function(){return{}}},upComponent:{type:String,default:""},upId:String,upComponentInstance:Object,pageActionList:{type:Array},pageRuleList:{type:Array},pageRelationList:{type:Array,default:function(){return[]}},pageAllFieldList:{type:Array},pageParams:{type:Array,default:function(){return[]}},scopeConfigs:Object},inject:{pageId:{type:String},pageConfigs:{type:Object,default:function(){return{}}},getPageMetaId:{type:Function},getItemConfigs:{type:Function},changeItemConfigs:{type:Function},updateWidget:{type:Function},setContainerDefaultItems:{type:Function}},data:function(){return{spanOptions:[],config:{},defaultConfigs:{},componentActionList:null,componentTreeFieldStore:null,configOptions:[],FunctionOption:[],commonOperates:[],componentMetaId:null,metaViewId:null,componentRuleList:null,componentRelationList:null,foldMap:{},opened:{}}},computed:Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.a)(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.a)(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.a)({},Object(vuex__WEBPACK_IMPORTED_MODULE_24__.mapState)({pages:function(e){return e.page.configs},metas:function(e){return e.meta.metas}})),Object(vuex__WEBPACK_IMPORTED_MODULE_24__.mapGetters)(["getPageById","getCodeById","getMeta","getMetaRelationFields","getMetaViewFields"])),{},{pageMetaId:function(){return this.getPageMetaId&&this.getPageMetaId()},currentPage:function(){return this.getPageById(this.pageId)||this.designer.page},currentMetaId:function(){return this.componentMetaId||this.upMetaId||this.metaId||this.pageMetaId},currentMetaViewId:function(){return this.metaViewId||this.upMetaViewId},currentMeta:function(){var e=this.getMeta(this.currentMetaId);return!e&&this.currentMetaId&&this.$store.dispatch({type:"ADD_META",metaId:this.currentMetaId}),e||null},pageMeta:function(){return this.getMeta(this.pageMetaId)},itemConfigs:function(){return this.getItemConfigs()},allConfigs:{get:function(){var e=this,t=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.a)({},this.config);return this.$_.assignWith(t,this.defaultConfigs,(function(t,o){return e.$_.isNil(t)?o:t}))},set:function(e){}},isDefaultValue:function(){var e=this;return function(t){var o=e.defaultConfigs[t],_=e.config[t];return void 0!==o&&(void 0===_||e.$_.isEqual(_,o))}},showConfigOptions:function(){var e=this;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.configOptions,o=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_3__.a)(t);return o.filter((function(t){var o=!0;if(t.showFlag)for(var _ in t.showFlag)Array.isArray(t.showFlag[_])?t.showFlag[_].includes(e.allConfigs[_])||(o=!1):t.showFlag[_]!=e.allConfigs[_]&&(o=!1);return o}))}},actionList:function(){return this.componentActionList||this.pageActionList||[]},ruleList:function(){return this.componentRuleList||this.pageRuleList||[]},relationList:function(){return this.componentRelationList||this.pageRelationList||[]},treeFieldStore:function(){return this.getMetaViewFields(this.currentMetaId,this.currentMetaViewId)},functionList:function(){var e=this.globalConfigs.JS,t=(void 0===e?"":e).match(/export\sfunction\s(\w+)/g),o=[];return t?(t.forEach((function(e){o.push(e.replace(/export\sfunction\s/,""))})),o):[]},getConfigMetaId:function getConfigMetaId(){var _this4=this;return function(item){if(item.metaId)return item.metaId;if(item.dynamicMetaId){var getFieldRelatedMeta=function(e){return _this4.currentMeta.getAllFieldConfigs().find((function(t){return t.attriName===e[0]||e})).codeKey},el=JSON.parse(item.dynamicMetaId).el.replace(/^#{(.*)}$/,"$1"),configs=_this4.allConfigs;return eval(el)}return _this4.componentMetaId}}}),watch:{pageParams:{handler:function(e){},deep:!0},config:{handler:function(e){e.metaId&&(this.componentMetaId=e.metaId),this.metaViewId=e.metaViewId;var t=this.getComponentSetting(),o=this.getConfigs();this.changeItemConfigs(this.id,o),this.designer&&this.designer.updateWidget(this.id,t)},deep:!0},currentMetaId:{handler:function(e){this.getActionList(e),this.getRuleList(e),this.getAllFields(e)},immediate:!0},currentMetaViewId:{handler:function(e){this.getAllFields(),this.initDefaultConfigs(),this.initConfigOptions(),this.afterConfigOptions()},immediate:!0},currentMeta:{handler:function(e){this.initDefaultConfigs(),this.initConfigOptions(),this.afterConfigOptions()},deep:!0,immediate:!0},actionList:function(e){this.initConfigOptions()},ruleList:function(e){this.initConfigOptions()},relationList:function(e){this.initConfigOptions(),this.afterConfigOptions()},pageRuleList:function(){this.getOperateOptions()}},methods:{initDefaultConfigs:function(){this.defaultConfigs={flex:!1,span:24,xsspan:24}},getEntityRelation:function(e){var t=this;this.$http.$get({entityId:"FM_ENTITY_RELATION",action:"getEntityRelationTree",mainEntity:e||this.currentMetaId}).then((function(e){e.forEach((function(e){e.label=e.title,e.value=e.flag,e.children=e.childrens,e.childrens&&e.childrens.forEach((function(t){t.value=e.flag+"#"+t.flag,t.label=t.title}))})),t.componentRelationList=e}))},getField:function(e){if(!e.includes("|"))return this.treeFieldStore[0].children.find((function(t){return t.code===e}));var t=e.split("|"),o=this.treeFieldStore;t.forEach((function(e,_){if(_===t.length-1)return o.find((function(e){return e.code===e}));var i=o.find((function(e){return e.linkFlag&&e.linkFlag.toUppercase()===e}));if(!i)return null;o=i.children}))},initConfigOptions:function initConfigOptions(){var _this6=this;if(this.configOptions=[{key:"componentName",label:"组件名称"},{key:"componentEvents",label:"组件事件",type:"event"},{key:"span",label:"宽度",type:"select",options:this.spanOptions},{key:"xsspan",label:"移动端宽度",type:"select",options:this.spanOptions},{key:"flex",label:"占据页面剩余空间",type:"radio",options:[{label:"是",value:!0},{label:"否",value:!1}]}],this.componentInfo.ID||this.componentInfo.templateId){var params={entityId:"FM_PAGE_ATTRIBUTE",showEntity:"1",order_field:"ORDER_NUM",order_mode:"asc"};"template"===this.widget.type?(params["scope.TEMPLATE"]=this.componentInfo.ID,params.entityId="FM_TEMPLATE_ATTRIBUTE"):params["scope.PAGE"]=this.componentInfo.ID||this.componentInfo.templateId,this.$http.getTree(params).then((function(data){if(data.length>0){var component=_this6.componentInfo||{},meta=_this6.currentMeta||{},pageMeta=_this6.pageMeta||{},keywordFields=[],label=meta.label,_meta$keyNames=meta.keyNames,keyNames=void 0===_meta$keyNames?[]:_meta$keyNames;meta&&meta.id&&(meta.allFields=meta.getAllFields(),keywordFields=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_3__.a)(keyNames),label&&keywordFields.push(label));var _formatData=function formatData(arr){arr.forEach((function(item){var _item$entity$data=item.entity.data,TYPE=_item$entity$data.TYPE,CODE=_item$entity$data.CODE,NAME=_item$entity$data.NAME,CODE_KEY=_item$entity$data.CODE_KEY,RELATED_ENTITY=_item$entity$data.RELATED_ENTITY,RELATED_ENTITY_KEY=_item$entity$data.RELATED_ENTITY_KEY,SHOW_CONDITION=_item$entity$data.SHOW_CONDITION,DYNAMIC_META_ID=_item$entity$data.DYNAMIC_META_ID,OBJECT_SCOPE=_item$entity$data.OBJECT_SCOPE,FIELD_EDITABLE=_item$entity$data.FIELD_EDITABLE,DEFAULT_VALUE_TYPE=_item$entity$data.DEFAULT_VALUE_TYPE,DEFAULT_VALUE=_item$entity$data.DEFAULT_VALUE,DEFAULT_VALUE_DYNAMIC=_item$entity$data.DEFAULT_VALUE_DYNAMIC,INPUT_VARIABLE=_item$entity$data.INPUT_VARIABLE,NOTE=_item$entity$data.NOTE;try{"dynamic"===DEFAULT_VALUE_TYPE?DEFAULT_VALUE_DYNAMIC&&(item.defaultValue=eval(DEFAULT_VALUE_DYNAMIC)):DEFAULT_VALUE&&(item.defaultValue="switch"===TYPE||"num"===TYPE?eval(DEFAULT_VALUE):"operates"===TYPE?JSON.parse(DEFAULT_VALUE):DEFAULT_VALUE)}catch(e){console.error(e)}if(_this6.$_.isNil(item.defaultValue)||(_this6.defaultConfigs[CODE]=item.defaultValue),item.key=CODE,item.label=NAME,item.type=TYPE,item.showCondition=SHOW_CONDITION,item.dynamicMetaId=DYNAMIC_META_ID,item.code=CODE_KEY,item.object=RELATED_ENTITY,item.dataKey=RELATED_ENTITY_KEY,item.fieldEditable=FIELD_EDITABLE,item.inputVariable="1"===INPUT_VARIABLE,item.tip=NOTE,OBJECT_SCOPE){var scope=JSON.parse(OBJECT_SCOPE);item.scopeParams=scope.scopeParams}item.children&&_formatData(item.children)}))};_formatData(data),_this6.configOptions=data}}))}},afterConfigOptions:function(){if(this.upComponentInstance){var e=this.upComponentInstance.$children[0]||{},t=e.subConfigOptions,o=void 0===t?[]:t,_=e.subDefaultConfigs,i=void 0===_?{}:_;this.configOptions=[].concat(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_3__.a)(o),Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_3__.a)(this.configOptions)),this.defaultConfigs=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.a)(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.a)({},i),this.defaultConfigs)}},initConfig:function(){var e=this.$_.cloneDeep(this.compConfig);this.componentInfo.span&&(e.span=this.componentInfo.span),this.config=e,this.afterInitConfig()},afterInitConfig:function(){},getActionList:function(e){var t=this;!e||e===this.pageMetaId&&this.pageActionList||this.$http.list({action:"getEntityAllApi",entityId:"FM_ENTITY_API",metaId:e}).then((function(o){e===t.currentMetaId&&(t.componentActionList=o.entitys.map((function(e){return{label:e.LABEL||e.NAME,value:e.NAME}})))}))},getRuleList:function(e){var t=this;!e||e===this.pageMetaId&&this.pageRuleList||this.$http.list({entityId:"ACT_RE_MODEL","scope.ENTITY":e,"scope.CATEGORY":"2"}).then((function(o){e===t.currentMetaId&&(t.componentRuleList=o.entitys.map((function(e){return{label:e.NAME||e.KEY,value:e.KEY}})))}))},getFieldOptions:function(){this.fieldOptions=[{key:"attriName",label:"字段",readonly:!0},{key:"configWay",label:"配置方式",type:"radio",options:[{label:"默认配置",value:"default"},{label:"自定义",value:"custom"}],defaultValue:"default"},{key:"attriLabel",label:"名称",type:"text"},{key:"width",label:"宽度",type:"text",defaultValue:"120"},{key:"isLabel",label:"外部标签",type:"radio",options:[{label:"是",value:!0},{label:"否",value:!1}],defaultValue:!1},{key:"locked",label:"是否锁定",type:"radio",options:[{label:"是",value:!0},{label:"否",value:!1}],defaultValue:!1},{key:"color",label:"字体颜色",type:"color",defaultValue:"#333"},{key:"detailPageId",label:"字段详情页面",type:"object",object:"FM_PAGE_CONFIG",showFlag:{dataType:["object","multiobject"]}}]},getHandlerList:function(){var e=this;this.$http.list({entityId:"FM_PAGE_HANDLERS","scope.PAGE":this.componentInfo.ID,order_field:"ORDER_NUM",order_mode:"asc"}).then((function(t){e.handlerList=t.entitys.map((function(e){return{label:e.NAME,value:e.CODE}}))}))},getCommonOperates:function getCommonOperates(){var _this0=this;this.$http.list({entityId:"FM_PAGE_COMMON_OPERATES","scope.PAGE":this.componentInfo.ID,link:"handler,component|left join",order_field:"ORDER_NUM",order_mode:"asc"}).then((function(data){data.entitys&&data.entitys.length>0&&(_this0.commonOperates=data.entitys.map((function(item){var handler={};return item.TEXT&&(handler.text=item.TEXT),item.HANDLER&&(handler.handler=item["HANDLER|CODE"]),item.UI&&(handler.ui=item.UI),item.ACTION&&(handler.action=item.ACTION),item.COMPONENT&&(handler.component=item["COMPONENT|CODE"]),item.NUM&&(handler.num=item.NUM),item.CONFIRM_MSG&&(handler.confirmMsg=item.CONFIRM_MSG),item.OPEN_MODE&&(handler.openMode=item.OPEN_MODE),item.PAGE_TYPE&&(handler.pageType=item.PAGE_TYPE),item.PARAMS&&(handler.params=eval("("+item.PARAMS+")")),handler})))}))},getOperateOptions:function(){this.getHandlerList(),this.getCommonOperates(),this.operateConfigs=[{key:"base",title:"基本",options:["text","ui","type","icon","preview"]},{key:"event",title:"事件",options:["metaId","handler","action","rule","moveType","openMode","page","pageType","menuId","serviceId","webLinkUrl","printWay","printCode","cptName","destActivityId","processNode","function","params","beforeTrigger","afterTrigger","afterTriggerPage","afterTriggerPageOpenMode","afterTriggerParams"]},{key:"advance",title:"高级",options:["terminal","num","limitFlag","limitCondition","limitTip","showCondition","confirm","confirmMsg","confirmButtonText","cancelButtonText","successMsg","failMsg","mask"]}]},getAllFields:function(e){return this.currentMetaId?this.treeFieldStore?this.treeFieldStore:this.$store.dispatch({type:"ADD_META_VIEW_FIELDS",metaId:this.currentMetaId,viewId:this.metaViewId}):[]},changeConfigItem:function(e,t){this.$set(this.config,e,t)},changeLanguageConfig:function(e,t){this.$set(this.config,"".concat(e,".i18n"),t)},getConfigs:function(){var e={};for(var t in this.config){var o,_={},i=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__.a)(this.configOptions);try{for(i.s();!(o=i.n()).done;){var r=o.value;if(r.key===t){_=r;break}if(r.children){var n,a=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__.a)(r.children);try{for(a.s();!(n=a.n()).done;){var s=n.value;if(s.key===t){_=s;break}}}catch(e){a.e(e)}finally{a.f()}}}}catch(e){i.e(e)}finally{i.f()}"component"===_.allocation||(this.$_.isEqual(this.config[t],this.defaultConfigs[t])&&"componentName"!==_.key?e[t]=null:e[t]=this.config[t])}return e},getComponentSetting:function(){var e=this,t={},o=["flex","layout","direction","justify","align","style","componentName","span","xsspan","items","countScopeParams"],_=function(_){var i=o.find((function(e){return e===_||e+".i18n"===_}));("component"===(e.configOptions.find((function(e){return e.key===_}))||{}).allocation||i)&&(e.$_.isEqual(e.config[_],e.defaultConfigs[_])||(t[_]=e.config[_]))};for(var i in this.config)_(i);return t},switchAccordion:function(e){this.$set(this.foldMap,e,!this.foldMap[e])},renderAccordion:function(e){var t=this,o=this.$createElement;return o("div",{class:{"epx-visual-component__accordion":!0,"is-fold":this.foldMap[e.key]}},[o("div",{class:"epx-visual-component__accordion-header"},[o("span",[e.label]),o("i",{class:"epx-visual-component__accordion-icon el-icon-arrow-up",on:{click:this.switchAccordion.bind(this,e.key)}})]),o("div",{class:"epx-visual-component__accordion-body"},[this.showConfigOptions(e.children).map((function(e){if(e.showCondition){var o=!0;try{var _=JSON.parse(e.showCondition).el.replace(/^#{(.*)}$/,"$1"),i=t.allConfigs;_&&(o=new Function("config","return "+_).call(t,i))}catch(e){console.error(e),o=!1}if(!o)return null}return e.render?e.render(e):t.renderFormItem(e)}))])])},renderFormItem:function(e){var t=this,o=this.$createElement,_=this.$_.isNil(e.defaultValue)?this.defaultConfigs[e.key]:e.defaultValue;return"report"===e.type?o("epx-visual-config-design-report",{attrs:{value:this.allConfigs[e.key],defaultValue:this.defaultConfigs[e.key]}}):o("el-row",{key:e.key},[o("el-form-item",{attrs:{label:"".concat(e.label)},class:Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)({"is-default":this.isDefaultValue(e.key),"epx-visual-component__form-item":!0},"epx-visual-component__form-item--"+e.type,!0),"epx-visual-component__form-item--opened",this.opened[e.key])},["font"===e.type?o("span",{slot:"label"},[o("i",{class:"epx-visual-component__form-item-fold-icon el-icon-caret-right",on:{click:function(){return t.$set(t.opened,e.key,!t.opened[e.key])}}}),e.label]):e.tip?o("span",{slot:"label"},[e.label,o("el-tooltip",{attrs:{content:e.tip,placement:"top"}},[o("i",{class:"el-icon-warning epx-visual-component__form-item-tip"})])]):null,e.renderContent?o("div",[e.renderContent(e)]):"radio"===e.type?o("epx-visual-config-radio",{attrs:{code:e.code,"option-list":e.options,value:this.allConfigs[e.key],inputable:e.inputable,defaultValue:_},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"checkbox"===e.type?o("epx-visual-config-checkbox",{attrs:{code:e.code,"option-list":e.options,value:this.allConfigs[e.key],defaultValue:_},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"switch"===e.type?o("epx-visual-config-switch",{attrs:{value:this.allConfigs[e.key],defaultValue:_},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"action"===e.type?o("epx-visual-config-list",{attrs:{"option-list":this.actionList,value:this.allConfigs[e.key],defaultValue:_,code:e.code,label:e.label,multiple:e.multiple},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"tree"===e.type?o("epx-visual-config-tree",{attrs:{"option-list":e.options,value:this.allConfigs[e.key],defaultValue:_},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"row"===e.type?o("epx-visual-config-row",{attrs:{value:this.config[e.key],defaultValue:_,treeFieldStore:this.treeFieldStore,"field-options":this.rowFieldOptions||this.fieldOptions,pageParams:this.pageParams,pageGlobalConfigs:this.globalConfigs,changeItemConfigs:this.changeItemConfigs,scopeConfigs:this.scopeConfigs,functionOption:this.FunctionOption},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"list"===e.type?o("epx-visual-config-list",{attrs:{"option-list":e.options,value:this.allConfigs[e.key],defaultValue:_,code:e.code,label:e.label,multiple:e.multiple},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"select"===e.type?o("epx-visual-config-select",{attrs:{"option-list":e.options,value:this.allConfigs[e.key],defaultValue:_},on:{"change-configs":e.change||this.changeConfigItem.bind(this,e.key)}}):"list-field"===e.type||"field"===e.type&&"1"===e.fieldEditable?o("epx-visual-config-list-field",{attrs:{value:this.config[e.key],componentMetaId:this.componentMetaId,defaultValue:_,"rule-list":this.ruleList,treeFieldStore:this.treeFieldStore,functionOption:this.FunctionOption,scopeConfigs:this.scopeConfigs,pageParams:this.pageParams,pageGlobalConfigs:this.globalConfigs,"field-options":e.children&&e.children.length>0?e.children:this.fieldOptions,changeItemConfigs:this.changeItemConfigs},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"field"===e.type?o("epx-visual-config-field",{attrs:{value:this.config[e.key],defaultValue:_,"rule-list":this.ruleList,metaId:e.metaId||this.currentMetaId,treeFieldStore:this.treeFieldStore,multiple:e.multiple,limit:e.limit,scopeConfigs:this.scopeConfigs,defaultShowSubField:e.showSubField},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"m-field"===e.type?o("epx-visual-config-m-list-field",{attrs:{value:this.config[e.key],defaultValue:this.defaultConfigs[e.key],treeFieldStore:this.treeFieldStore,"field-options":this.fieldOptions,pageParams:this.pageParams},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"order-field"===e.type?o("epx-visual-config-order-field",{attrs:{value:this.config[e.key],defaultValue:_,metaId:e.metaId||this.currentMetaId,treeFieldStore:this.treeFieldStore},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"operates"===e.type||"operate"===e.type?o("epx-visual-config-operate",{attrs:{designer:this.designer,value:this.config[e.key],defaultValue:_,configs:this.config,metaId:e.metaId,compMetaId:this.currentMetaId,"common-operates":e.commonOperates||this.commonOperates,"operate-options":this.operateOptions,"operate-configs":this.operateConfigs,treeFieldStore:this.treeFieldStore,pageParams:this.pageParams,handlerList:e.handlerList||this.handlerList,"action-list":this.actionList,"rule-list":this.ruleList,scopeConfigs:this.scopeConfigs,pageGlobalConfigs:this.globalConfigs,changeItemConfigs:this.changeItemConfigs},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"scope"===e.type?o("epx-visual-config-scope",{attrs:{designer:this.designer,value:this.config[e.key],pageParams:this.pageParams,treeFieldStore:this.treeFieldStore,extendFields:e.extendFields,componentMetaId:this.getConfigMetaId(e),scopeConfigs:this.scopeConfigs},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"num"===e.type?o("epx-visual-config-number",{attrs:{value:this.allConfigs[e.key],defaultValue:_},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"chart"===e.type?o("epx-visual-config-chart",{attrs:{value:this.allConfigs[e.key],defaultValue:_},on:{callback:e.callback,"change-configs":this.changeConfigItem.bind(this,e.key)}}):"params"===e.type?o("epx-visual-config-params",{attrs:{value:this.allConfigs[e.key],defaultValue:_,treeFieldStore:this.treeFieldStore,pageParams:this.pageParams},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"object"===e.type||"multiobject"===e.type?o("epx-visual-config-object",{attrs:{type:e.type,value:this.allConfigs[e.key],defaultValue:_,object:e.object,label:e.label,dataKey:e.dataKey,fieldConfigs:e.fieldConfigs,flag:e.flag,scopeParams:"metaViewId"===e.key?[{field:"ENTITY",values:this.componentMetaId}]:e.scopeParams},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"font"===e.type?o("epx-visual-config-font",{attrs:{value:this.allConfigs[e.key],defaultValue:this.defaultConfigs[e.key]},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"color"===e.type?o("epx-visual-config-color",{attrs:{value:this.allConfigs[e.key],defaultValue:this.defaultConfigs[e.key]},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"page"===e.type?o("epx-visual-config-item-page",{attrs:{value:this.allConfigs[e.key],defaultValue:this.defaultConfigs[e.key]},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"event"===e.type?o("epx-visual-config-event",{attrs:{value:this.allConfigs[e.key],defaultValue:_,functionList:this.functionList,pageGlobalConfigs:this.globalConfigs,changeItemConfigs:this.changeItemConfigs},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"function"===e.type?o("epx-visual-config-function",{attrs:{designer:this.designer,value:this.allConfigs[e.key],defaultValue:_,functionList:this.functionList,pageGlobalConfigs:this.globalConfigs},on:{input:this.changeConfigItem.bind(this,e.key)}}):"html"===e.type?o("epx-visual-config-html",{attrs:{designer:this.designer,value:this.allConfigs[e.key],defaultValue:this.defaultConfigs[e.key],i18nValue:this.allConfigs[e.key+".i18n"],pageGlobalConfigs:this.globalConfigs,changeItemConfigs:this.changeItemConfigs},on:{"change-configs":this.changeConfigItem.bind(this,e.key),"change-language-config":this.changeLanguageConfig.bind(this,e.key)}}):"image"===e.type?o("epx-visual-config-image",{attrs:{designer:this.designer,label:e.label,value:this.allConfigs[e.key],defaultValue:this.defaultConfigs[e.key],pageGlobalConfigs:this.globalConfigs,changeItemConfigs:this.changeItemConfigs},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"textarea"===e.type?o("epx-visual-config-textarea",{attrs:{designer:this.designer,label:e.label,value:this.allConfigs[e.key],i18nValue:this.allConfigs[e.key+".i18n"],defaultValue:this.defaultConfigs[e.key],inputVariable:e.inputVariable,change:e.change},on:{"change-configs":this.changeConfigItem.bind(this,e.key),"change-language-config":this.changeLanguageConfig.bind(this,e.key)}}):o("epx-visual-config-input",{attrs:{designer:this.designer,label:e.label,value:this.allConfigs[e.key],i18nValue:this.allConfigs[e.key+".i18n"],defaultValue:this.defaultConfigs[e.key],inputVariable:e.inputVariable,regExp:e.regExp,readonly:e.readonly,change:e.change},on:{"change-configs":this.changeConfigItem.bind(this,e.key),"change-language-config":this.changeLanguageConfig.bind(this,e.key)}})])])}},created:function(){for(var e=0;e<=24;e++)this.spanOptions.push({label:e,value:e});this.handlerList=[{label:"打开指定页面",value:"goPage"},{label:"打开指定应用",value:"goApp"},{label:"打开指定链接",value:"Link"},{label:"发起通用请求",value:"commonAction"},{label:"发起业务规则",value:"commonRuleAction"},{label:"报表打印",value:"print"},{label:"下载文件",value:"downloadFile"},{label:"返回",value:"backPage"},{label:"自定义JS",value:"customJs"}],this.initConfig(),this.getFieldOptions(),this.getOperateOptions()},render:function(){var e=this,t=arguments[0];return t("div",{class:"epx-visual-component"},[t("el-form",{attrs:{inline:!0,"label-position":"left","label-width":"98px"}},[this.showConfigOptions().map((function(t){var o;if(t.showCondition){var _=!0;try{var i=JSON.parse(t.showCondition).el.replace(/^#{(.*)}$/,"$1"),r=e.allConfigs;i&&(_=new Function("config","return "+i).call(e,r))}catch(e){console.error(e),_=!1}if(!_)return null}return t.render?t.render(t):(null===(o=t.children)||void 0===o?void 0:o.length)>0||"area"===t.type?e.renderAccordion(t):e.renderFormItem(t)}))])])}}},9:function(e,t,o){"use strict";function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,_=Array(t);o<t;o++)_[o]=e[o];return _}o.d(t,"a",(function(){return _}))},90:function(e,t){e.exports=require("core-js/modules/es.object.entries.js")},93:function(e,t,o){"use strict";var _=o(4),i=o.n(_)()((function(e){return e[1]}));i.push([e.i,":root{--color-primary: 8,116,231 }.epx-visual-component{padding:0 16px}.epx-visual-component__accordion.is-fold{margin-bottom:10px}.epx-visual-component__accordion.is-fold .epx-visual-component__accordion-icon{transform:rotate(180deg)}.epx-visual-component__accordion.is-fold .epx-visual-component__accordion-body{display:none}.epx-visual-component__accordion-header{width:calc(100% + 32px);display:flex;height:40px;padding:0 16px;justify-content:space-between;align-items:center;background:rgba(31,56,88,.1);position:relative;left:-16px}.epx-visual-component__accordion-body{padding:12px 0}.epx-visual-component__accordion-icon{font-size:16px;cursor:pointer;transition:all .5s}.epx-visual-component__form-item.el-form-item{display:flex;flex-wrap:wrap}.epx-visual-component__form-item .el-form-item__header{flex-shrink:0}.epx-visual-component__form-item>.el-form-item__content{flex:1}.epx-visual-component__form-item .el-form-item__label{flex-shrink:0;line-height:20px;padding:10px 8px 10px 0}.epx-visual-component__form-item-tip{color:#999;cursor:pointer;margin-left:2px}.epx-visual-component__form-item--font{display:block}.epx-visual-component__form-item--font .el-form-item__label{width:100% !important}.epx-visual-component__form-item--font .el-form-item__content{display:none}.epx-visual-component__form-item--opened .epx-visual-component__form-item-fold-icon{transform:rotate(90deg)}.epx-visual-component__form-item--opened .el-form-item__content{display:block}.epx-visual-component__form-item-fold-icon{cursor:pointer;transition:all .5s}",""]),t.a=i}});
1
+ module.exports=function(e){var t={};function o(_){if(t[_])return t[_].exports;var i=t[_]={i:_,l:!1,exports:{}};return e[_].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.d=function(e,t,_){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:_})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var _=Object.create(null);if(o.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(_,i,function(t){return e[t]}.bind(null,i));return _},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/dist/",o(o.s=776)}({0:function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));var _=o(7);function i(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(e);t&&(_=_.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,_)}return o}function n(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(Object(o),!0).forEach((function(t){Object(_.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}},1:function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));var _=o(9);var i=o(14);function n(e){return function(e){if(Array.isArray(e))return Object(_.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(i.a)(e)||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.")}()}},10:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},103:function(e,t,o){"use strict";o.r(t);var _=o(85).a,i=o(4),n=o.n(i),r=o(94),a={insert:"head",singleton:!1},s=(n()(r.a,a),r.a.locals,o(2)),l=Object(s.a)(_,void 0,void 0,!1,null,null,null);t.default=l.exports},11:function(e,t){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},12:function(e,t){e.exports=require("core-js/modules/es.regexp.exec.js")},122:function(e,t,o){"use strict";o.r(t),o.d(t,"light",(function(){return _})),o.d(t,"defaultTheme",(function(){return i})),o.d(t,"cool",(function(){return n})),o.d(t,"dark",(function(){return r})),o.d(t,"technology",(function(){return a}));var _={color:["#1976D2","#14ADF2","#0ACDE6","#06A697","#F7C353","#FA8356","#F35754","#F36897","#C763D9","#4C60CE"],graph:{itemStyle:{borderWidth:0},lineStyle:{width:1},symbolSize:4,symbol:"emptyCircle",smooth:!1,color:["#1976D2","#14ADF2","#0ACDE6","#06A697","#F7C353","#FA8356","#F35754","#F36897","#C763D9","#4C60CE"]}},i={color:["#C1232B","#27727B","#FCCE10","#E87C25","#B5C334","#FE8463","#9BCA63","#FAD860","#F3A43B","#60C0DD","#D7504B","#C6E579","#F4E001","#F0805A","#26C0C0"],graph:{itemStyle:{borderWidth:0,borderColor:"#ccc"},lineStyle:{width:1},symbolSize:4,symbol:"emptyCircle",smooth:!1,color:["#C1232B","#27727B","#FCCE10","#E87C25","#B5C334","#FE8463","#9BCA63","#FAD860","#F3A43B","#60C0DD","#D7504B","#C6E579","#F4E001","#F0805A","#26C0C0"],label:{}}},n={color:["#0083DE","#00A6F1","#00C0F3","#6DD4EF","#A7DBFF","#46D4C7","#00BCAA","#26A69A","#1291B0","#0063C5"],backgroundColor:"rgba(0, 0, 0, 0)",textStyle:{},title:{},line:{itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:4,symbol:"emptyCircle",smooth:!1},radar:{itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:4,symbol:"emptyCircle",smooth:!1},bar:{itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},pie:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},scatter:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},boxplot:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},parallel:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},sankey:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},funnel:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},gauge:{itemStyle:{borderWidth:0,borderColor:"#ccc"}},candlestick:{itemStyle:{color:"#c23531",color0:"#314656",borderColor:"#c23531",borderColor0:"#314656",borderWidth:1}},graph:{itemStyle:{borderWidth:0,borderColor:"#ccc"},lineStyle:{width:1},symbolSize:4,symbol:"emptyCircle",smooth:!1,color:["#0083DE","#00A6F1","#00C0F3","#6DD4EF","#A7DBFF","#46D4C7","#00BCAA","#26A69A","#1291B0","#0063C5"],label:{}},map:{itemStyle:{normal:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},emphasis:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1}},label:{normal:{textStyle:{}},emphasis:{textStyle:{color:"rgb(100,0,0)"}}}},geo:{itemStyle:{normal:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},emphasis:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1}},label:{normal:{textStyle:{}},emphasis:{textStyle:{color:"rgb(100,0,0)"}}}},categoryAxis:{axisLine:{show:!0,lineStyle:{}},axisTick:{show:!0,lineStyle:{}},axisLabel:{show:!0,textStyle:{}},splitLine:{show:!1},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},valueAxis:{axisLine:{show:!0},axisTick:{show:!0},axisLabel:{show:!0},splitLine:{show:!0,lineStyle:{}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},logAxis:{axisLine:{show:!0,lineStyle:{}},axisTick:{show:!0,lineStyle:{}},axisLabel:{show:!0,textStyle:{}},splitLine:{show:!0,lineStyle:{}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},timeAxis:{axisLine:{show:!0,lineStyle:{}},axisTick:{show:!0,lineStyle:{}},axisLabel:{show:!0,textStyle:{}},splitLine:{show:!0,lineStyle:{}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},toolbox:{iconStyle:{normal:{borderColor:"#999"},emphasis:{borderColor:"#666"}}},legend:{textStyle:{}},tooltip:{axisPointer:{}},timeline:{lineStyle:{width:1},itemStyle:{normal:{borderWidth:1},emphasis:{}},controlStyle:{normal:{borderWidth:.5},emphasis:{borderWidth:.5}},checkpointStyle:{borderColor:"rgba(194,53,49, 0.5)"},label:{normal:{textStyle:{}},emphasis:{textStyle:{}}}},visualMap:{color:["#bf444c","#d88273","#f6efa6"]},dataZoom:{backgroundColor:"rgba(47,69,84,0)",dataBackgroundColor:"rgba(47,69,84,0.3)",fillerColor:"rgba(167,183,204,0.4)",handleColor:"#a7b7cc",handleSize:"100%",textStyle:{color:"#333"}},markPoint:{label:{},emphasis:{label:{}}}},r={color:["#1976D2","#14ADF2","#0ACDE6","#06A697","#F7C353","#FA8356","#F35754","#F36897","#C763D9","#4C60CE"],label:{color:"rgba(255, 255, 255, 0.8)"},graph:{itemStyle:{borderWidth:0,borderColor:"rgba(255, 255, 255, 0.45)"},lineStyle:{width:1,color:"rgba(255, 255, 255, 0.45)"},symbolSize:4,symbol:"emptyCircle",smooth:!1,color:["#1976D2","#14ADF2","#0ACDE6","#06A697","#F7C353","#FA8356","#F35754","#F36897","#C763D9","#4C60CE"],label:{color:"rgba(255, 255, 255, 0.8)"}},legend:{textStyle:{color:"rgba(255, 255, 255, 0.8)"}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.45)"}},axisTick:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.8)"}},axisLabel:{show:!0,textStyle:{color:"rgba(255, 255, 255, 0.8)"}},splitLine:{show:!1,lineStyle:{color:["rgba(255, 255, 255, 0.15)"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},valueAxis:{axisLine:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.45)"}},axisTick:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.8)"}},axisLabel:{show:!0,textStyle:{color:"rgba(255, 255, 255, 0.8)"}},splitLine:{show:!0,lineStyle:{color:["rgba(255, 255, 255, 0.15)"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}}},a={color:["#1976D2","#14ADF2","#0ACDE6","#06A697","#F7C353","#FA8356","#F35754","#F36897","#C763D9","#4C60CE"],label:{color:"rgba(255, 255, 255, 0.8)"},graph:{itemStyle:{borderWidth:0,borderColor:"rgba(255, 255, 255, 0.45)"},lineStyle:{width:1,color:"rgba(255, 255, 255, 0.45)"},symbolSize:4,symbol:"emptyCircle",smooth:!1,color:["#1976D2","#14ADF2","#0ACDE6","#06A697","#F7C353","#FA8356","#F35754","#F36897","#C763D9","#4C60CE"],label:{color:"rgba(255, 255, 255, 0.8)"}},legend:{textStyle:{color:"rgba(255, 255, 255, 0.8)"}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.45)"}},axisTick:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.45)"}},axisLabel:{show:!0,textStyle:{color:"rgba(255, 255, 255, 0.8)"}},splitLine:{show:!1,lineStyle:{color:["rgba(255, 255, 255, 0.15)"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},valueAxis:{axisLine:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.45)"}},axisTick:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.8)"}},axisLabel:{show:!0,textStyle:{color:"rgba(255, 255, 255, 0.8)"}},splitLine:{show:!0,lineStyle:{color:["rgba(255, 255, 255, 0.15)"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}}}},13:function(e,t){e.exports=require("core-js/modules/es.array.find.js")},14:function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var _=o(9);function i(e,t){if(e){if("string"==typeof e)return Object(_.a)(e,t);var o={}.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)?Object(_.a)(e,t):void 0}}},15:function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var _=o(14);function i(e,t){var o="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!o){if(Array.isArray(e)||(o=Object(_.a)(e))||t&&e&&"number"==typeof e.length){o&&(e=o);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}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 r,a=!0,s=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==o.return||o.return()}finally{if(s)throw r}}}}},16:function(e,t){e.exports=require("core-js/modules/es.array.includes.js")},17:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},18:function(e,t){e.exports=require("core-js/modules/es.array.concat.js")},2:function(e,t,o){"use strict";function _(e,t,o,_,i,n,r,a){var s,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=o,l._compiled=!0),_&&(l.functional=!0),n&&(l._scopeId="data-v-"+n),r?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=s):i&&(s=a?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(l.functional){l._injectStyles=s;var c=l.render;l.render=function(e,t){return s.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,s):[s]}return{exports:e,options:l}}o.d(t,"a",(function(){return _}))},20:function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},21:function(e,t){e.exports=require("core-js/modules/es.object.keys.js")},22:function(e,t){e.exports=require("core-js/modules/es.string.includes.js")},23:function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var _=o(6);function i(e){var t=function(e,t){if("object"!=Object(_.a)(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=Object(_.a)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(_.a)(t)?t:t+""}},24:function(e,t){e.exports=require("core-js/modules/web.dom-collections.iterator.js")},25:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},26:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},27:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},276:function(module,__webpack_exports__,__webpack_require__){"use strict";var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(50),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(6),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_readOnlyError_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(35),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(18),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5__),core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(39),core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(36),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es_object_entries_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(91),core_js_modules_es_object_entries_js__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es_object_entries_js__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(3),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_9__),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(12),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_10__),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(20),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_11__),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(11),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12__),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(24),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_13__),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(26),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_14__),core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(17),core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_15__),core_js_modules_es_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(28),core_js_modules_es_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(core_js_modules_es_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_16__),core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(40),core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_17__),core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(76),core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_18__),_utils_mixins_component__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(25),_utils_mixins_component__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(_utils_mixins_component__WEBPACK_IMPORTED_MODULE_19__),_utils_chartTheme_js__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(122);__webpack_exports__.a={name:"epx-gauge",mixins:[_utils_mixins_component__WEBPACK_IMPORTED_MODULE_19___default.a],data:function(){return{ratio:0}},props:{theme:String},computed:{showTitle:function(){var e=this.$configs.showTitle,t=void 0===e||e;return!1!==t},title:function(){var e=this.$component.title,t=void 0===e?"":e;return t},chartTheme:function(){return this.$configs.theme||this.theme},scopeParams:function scopeParams(){var _this$$configs$scopeP=this.$configs.scopeParams,configScopeParams=void 0===_this$$configs$scopeP?[]:_this$$configs$scopeP,_this$$query$scopePar=this.$query.scopeParams,queryScopeParams=void 0===_this$$query$scopePar?[]:_this$$query$scopePar,scopeParams=[],_scopeParams2;"object"!==Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_3__.a)(configScopeParams)||Array.isArray(configScopeParams)?(_scopeParams2=scopeParams).push.apply(_scopeParams2,Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__.a)(configScopeParams)):Object.entries(configScopeParams).forEach((function(e){var t=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__.a)(e,2),o=t[0],_=t[1];scopeParams.push(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__.a)({field:o},_))}));var _scopeParams=this.$_.cloneDeep([].concat(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__.a)(scopeParams),Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__.a)(queryScopeParams),Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__.a)(this.searchScopeparams||[]))),that=this,_loop=function _loop(){var scope=_scopeParams[scopeKey],values=scope.values;/#\{(.+)\}/.test(values)&&(values=values.replace(/#\{(.+)\}/,(function(match,key){try{return eval("that.$query.".concat(key))||eval("that.$tab.".concat(key))||""}catch(e){return scope.values}}))),/\$\[(.+)\]/.test(values)&&(values=values.replace(/\$\[(.+)\]/,(function(match,key){try{return eval("that.$query.".concat(key))||eval("that.$tab.".concat(key))||""}catch(e){return scope.values}}))),scope.values=values};for(var scopeKey in _scopeParams)_loop();return _scopeParams},percentScopeParams:function percentScopeParams(){var _this$$configs$percen=this.$configs.percentScopeParams,percentScopeParams=void 0===_this$$configs$percen?[]:_this$$configs$percen,_this$$query$scopePar2=this.$query.scopeParams,queryScopeParams=void 0===_this$$query$scopePar2?[]:_this$$query$scopePar2,_scopeParams=this.$_.cloneDeep([].concat(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__.a)(percentScopeParams),Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__.a)(queryScopeParams))),that=this,_loop2=function _loop2(){var scope=_scopeParams[scopeKey],values=scope.values;/#\{(.+)\}/.test(values)&&(values=values.replace(/#\{(.+)\}/,(function(match,key){try{return eval("that.$query.".concat(key))||eval("that.$tab.".concat(key))||""}catch(e){return scope.values}}))),/\$\[(.+)\]/.test(values)&&(values=values.replace(/\$\[(.+)\]/,(function(match,key){try{return eval("that.$query.".concat(key))||eval("that.$tab.".concat(key))||""}catch(e){return scope.values}}))),scope.values=values};for(var scopeKey in _scopeParams)_loop2();return _scopeParams}},watch:{scopeParams:function(e){this.isInit&&!this.$_.isEqual(e,this.oldScopeParams)&&this.getRatio()}},methods:{initComponent:function(){this.isInit=!0,this.getRatio()},$refesh:function(){this.getRatio()},getRatio:function getRatio(){var _this=this;if(this.oldScopeParams=this.$_.cloneDeep(this.scopeParams),null===this.count||void 0===this.count){var _this$$configs=this.$configs,_this$$configs$entity=_this$$configs.entityId,entityId=void 0===_this$$configs$entity?this.$metaId:_this$$configs$entity,_this$$configs$dataKe=_this$$configs.dataKey,dataKey=void 0===_this$$configs$dataKe?"total":_this$$configs$dataKe,countType=_this$$configs.countType,countField=_this$$configs.countField,countFunction=_this$$configs.countFunction,_this$$configs$showPe=_this$$configs.showPercent,showPercent=void 0===_this$$configs$showPe?"1":_this$$configs$showPe,allCountType=_this$$configs.allCountType,allCountField=_this$$configs.allCountField,allCountFunction=_this$$configs.allCountFunction,_this$$configs$params=this.$configs.params,params=void 0===_this$$configs$params?{}:_this$$configs$params,props=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__.a)(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__.a)({action:"getCount",entityId:entityId,countType:countType,allCountType:allCountType},this.$formatParams(params)),{},{scopeParams:JSON.stringify(this.scopeParams)});countType&&(props.countField=countField,props.countFunction=countFunction),showPercent&&(props.showPercent="1",props.percentScopeParams=JSON.stringify(this.percentScopeParams)),allCountType&&(props.allCountField=allCountField||countField,props.allCountFunction=allCountFunction),this.$http.save(props).then((function(data){_this.ratio=data?"string"==typeof data||"number"==typeof data?data:eval("data.".concat(dataKey)):"0",_this.ratio=_this.ratio.replace("%",""),_this.setChart()})).catch((function(e){_this.$message.error(e.message)}))}},setChart:function(){var e=this.$configs,t=e.type,o=e.animation,_=void 0===o||o,i=e.detailOffsetCenterY,n=e.detailSuffix,r=void 0===n?"":n,a=e.titleFont,s=void 0===a?{}:a,l=e.detailFont,c=void 0===l?{}:l,u=e.showSplitLine,p=void 0===u||u,d=e.showAxisLabel,f=void 0===d||d,m=e.pointerLength,h=void 0===m?"60":m;c.fontSize&&(c.fontSize=c.fontSize.replace("px","")),c.lineHeight&&(c.lineHeight=c.lineHeight.replace("px","")),s.fontSize&&(s.fontSize=s.fontSize.replace("px","")),s.lineHeight&&(s.lineHeight=s.lineHeight.replace("px",""));var g={name:"Pressure",type:"gauge",radius:"90%",progress:{show:_},title:{},splitLine:{show:p,distance:5},axisLabel:{show:f},axisTick:{show:!1},pointer:{length:h+"%"},detail:Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__.a)({valueAnimation:_,formatter:"{value} "+r},c),data:[{value:this.ratio}]};"circle"===t&&(g.pointer=!1,g.startAngle=90,g.endAngle=-270,g.splitLine=!1,g.splitLine=!1,g.axisLabel.show=!1,g.axisLabel.distance=50,i=0),(i||0===i)&&(g.title.offsetCenter=[0,Number(i)-8+"%"],g.detail.offsetCenter=[0,Number(i)+8+"%"]),this.chartOption={series:[g]},this.myChart&&this.myChart.dispose(),this.myChart=this.echarts.init(this.$refs.main,this.chartTheme),this.myChart.setOption(this.chartOption)}},created:function(){var e=this;this.$util.usePlugin("echarts").then((function(t){for(var o in e.echarts=t,_utils_chartTheme_js__WEBPACK_IMPORTED_MODULE_20__)t.registerTheme(o,_utils_chartTheme_js__WEBPACK_IMPORTED_MODULE_20__[o]);e.setChart()}))}}},28:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},3:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},30:function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},31:function(e,t){e.exports=require("core-js/modules/es.array.filter.js")},34:function(e,t){e.exports=require("vuex")},35:function(e,t,o){"use strict"},36:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},39:function(e,t){e.exports=require("core-js/modules/es.array.iterator.js")},4:function(e,t,o){"use strict";var _,i=function(){return void 0===_&&(_=Boolean(window&&document&&document.all&&!window.atob)),_},n=function(){var e={};return function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[t]=o}return e[t]}}(),r=[];function a(e){for(var t=-1,o=0;o<r.length;o++)if(r[o].identifier===e){t=o;break}return t}function s(e,t){for(var o={},_=[],i=0;i<e.length;i++){var n=e[i],s=t.base?n[0]+t.base:n[0],l=o[s]||0,c="".concat(s," ").concat(l);o[s]=l+1;var u=a(c),p={css:n[1],media:n[2],sourceMap:n[3]};-1!==u?(r[u].references++,r[u].updater(p)):r.push({identifier:c,updater:h(p,t),references:1}),_.push(c)}return _}function l(e){var t=document.createElement("style"),_=e.attributes||{};if(void 0===_.nonce){var i=o.nc;i&&(_.nonce=i)}if(Object.keys(_).forEach((function(e){t.setAttribute(e,_[e])})),"function"==typeof e.insert)e.insert(t);else{var r=n(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var c,u=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function p(e,t,o,_){var i=o?"":_.media?"@media ".concat(_.media," {").concat(_.css,"}"):_.css;if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var n=document.createTextNode(i),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(n,r[t]):e.appendChild(n)}}function d(e,t,o){var _=o.css,i=o.media,n=o.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),n&&"undefined"!=typeof btoa&&(_+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(n))))," */")),e.styleSheet)e.styleSheet.cssText=_;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(_))}}var f=null,m=0;function h(e,t){var o,_,i;if(t.singleton){var n=m++;o=f||(f=l(t)),_=p.bind(null,o,n,!1),i=p.bind(null,o,n,!0)}else o=l(t),_=d.bind(null,o,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(o)};return _(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;_(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var o=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var _=0;_<o.length;_++){var i=a(o[_]);r[i].references--}for(var n=s(e,t),l=0;l<o.length;l++){var c=a(o[l]);0===r[c].references&&(r[c].updater(),r.splice(c,1))}o=n}}}},40:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},43:function(e,t){e.exports=require("core-js/modules/es.iterator.filter.js")},46:function(e,t){e.exports=require("core-js/modules/es.string.match.js")},491:function(e,t,o){"use strict";var _=o(5),i=o.n(_)()((function(e){return e[1]}));i.push([e.i,':root{--color-primary: 8,116,231 }.epx-gauge{display:flex;flex-direction:column;height:100%;height:360px;box-sizing:border-box;padding:10px;background-color:#fff;overflow:hidden}.epx-gauge__header{margin-bottom:10px;flex-shrink:0;color:#666;font-size:16px;font-weight:600;font-family:"MicrosoftYaHei-Bold";display:flex;align-items:center}.epx-gauge__header-icon{width:30px;height:40px}.epx-gauge__header-icon::after{content:"";display:inline-block;width:4px;height:20px;background:#0874e7;border-radius:2px;margin-top:10px;margin-left:10px}.epx-gauge__title{line-height:36px}.epx-gauge__main{width:100%;height:100%;flex:1;overflow:hidden;position:relative}.epx-gauge--dark{background:hsla(0,0%,100%,.1)}.epx-gauge--dark .epx-gauge__title{color:#fff}.epx-gauge--technology{position:relative}.epx-gauge--technology::before{content:"";position:absolute;top:0;display:block;width:100%;height:1px;background:linear-gradient(90deg, rgba(45, 164, 247, 0) 0%, #2DA4F7 50%, rgba(45, 164, 247, 0) 100%);opacity:.5}.epx-gauge--technology::after{content:"";position:absolute;bottom:0;display:block;width:100%;height:1px;background:linear-gradient(90deg, rgba(45, 164, 247, 0) 0%, #2DA4F7 50%, rgba(45, 164, 247, 0) 100%);opacity:.5}.epx-gauge--technology{background:hsla(0,0%,100%,.1);backdrop-filter:blur(4px)}',""]),t.a=i},5:function(e,t,o){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=e(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")},t.i=function(e,o,_){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(_)for(var n=0;n<this.length;n++){var r=this[n][0];null!=r&&(i[r]=!0)}for(var a=0;a<e.length;a++){var s=[].concat(e[a]);_&&i[s[0]]||(o&&(s[2]?s[2]="".concat(o," and ").concat(s[2]):s[2]=o),t.push(s))}},t}},50:function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var _=o(14);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var _,i,n,r,a=[],s=!0,l=!1;try{if(n=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;s=!1}else for(;!(s=(_=n.call(o)).done)&&(a.push(_.value),a.length!==t);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=o.return&&(r=o.return(),Object(r)!==r))return}finally{if(l)throw i}}return a}}(e,t)||Object(_.a)(e,t)||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.")}()}},6:function(e,t,o){"use strict";function _(e){return(_="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)}o.d(t,"a",(function(){return _}))},7:function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var _=o(23);function i(e,t,o){return(t=Object(_.a)(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}},76:function(e,t){e.exports=require("core-js/modules/es.regexp.test.js")},776:function(e,t,o){"use strict";o.r(t);o(8);var _=function(){var e=this._self._c;return e("div",{class:["epx-gauge","epx-gauge--"+this.chartTheme],style:this.$component.style},[this.showTitle&&this.title?e("p",{staticClass:"epx-gauge__header"},[e("span",{staticClass:"epx-gauge__header-icon"}),e("span",{staticClass:"epx-gauge__title"},[this._v(this._s(this.title))])]):this._e(),e("div",{ref:"main",staticClass:"epx-gauge__main"})])};_._withStripped=!0;var i=o(276).a,n=o(4),r=o.n(n),a=o(491),s={insert:"head",singleton:!1},l=(r()(a.a,s),a.a.locals,o(2)),c=Object(l.a)(i,_,[],!1,null,null,null).exports,u=o(0),p=(o(13),o(3),o(17),o(30),{name:"epx-gauge-visual",extends:o(103).default,watch:{allConfigs:{handler:function(e){e.metaId&&(this.componentMetaId=e.metaId)},immediate:!0}},methods:{initDefaultConfigs:function(){this.defaultConfigs={flex:!1,metaId:this.pageMetaId,componentName:this.componentInfo.title,type:"base","justify-content":"center",background:"#fff",border:!1,orientation:"vertical",titleFontSize:"14px",titleColor:"#000",countFontSize:"30px",countColor:"#000",openMode:"3",span:24,xsspan:24}},initConfigOptions:function(){var e=[{key:"global",label:"全局设置",children:[{key:"componentName",label:"组件名称",type:"input"},{key:"componentType",label:"组件状态",type:"radio",options:[{label:"根据页面状态",value:""},{label:"详情",value:"DETAIL"},{label:"只读",value:"READONLY"}]},{key:"metaId",label:"组件对象",type:"object",object:"FM_ENTITY"},{key:"metaViewId",label:"对象视图",type:"object",object:"FM_ENTITY_VIEW"}]},{key:"gaude",label:"仪表盘配置",children:[{key:"animation",label:"是否开启动画",type:"switch",defaultValue:!0},{key:"detailOffsetCenterY",label:"数据离心距离",type:"num"},{key:"detailSuffix",label:"单位名称",type:"input"},{key:"showTitle",label:"显示标题",type:"switch",defaultValue:!0},{key:"titleFont",label:"标题文字",type:"font",showFlag:[null,!0]},{key:"detailFont",label:"数量文字",type:"font"},{key:"showSplitLine",label:"显示刻度",type:"switch",defaultValue:!0},{key:"showAxisLabel",label:"显示刻度标签",type:"switch",defaultValue:!0},{key:"pointerLength",label:"指针长度",type:"num",defaultValue:60},{key:"type",label:"仪表盘类型",type:"radio",options:[{label:"基础",value:"base"},{label:"环形",value:"circle"}],defaultValue:"base"}]},{key:"point",label:"指针配置",children:[{key:"scopeParams",label:"指针范围",type:"scope"},{key:"countType",label:"指针统计方式",type:"radio",options:[{label:"记录数",value:"record"},{label:"字段值",value:"field"}],defaultValue:"record"},{key:"countField",label:"统计字段",type:"field",multiple:!1,showSubField:!1,limit:{dataType:["num","int"]},showFlag:{countType:"field"}},{key:"countFunction",label:"统计函数",type:"radio",options:[{label:"平均数",value:"AVG"},{label:"合计数",value:"SUM"},{label:"最大值",value:"MAX"},{label:"最小值",value:"MIN"}],defaultValue:"AVG",showFlag:{countType:"field"}}]},{key:"total",label:"总值配置",children:[{key:"percentScopeParams",label:"指针范围",type:"scope"},{key:"allCountType",label:"指针统计方式",type:"radio",options:[{label:"记录数",value:"record"},{label:"字段值",value:"field"}],defaultValue:"record"},{key:"allCountField",label:"统计字段",type:"field",multiple:!1,showSubField:!1,limit:{dataType:["num","int"]},showFlag:{allCountType:"field"},note:"不设置默认按指针统计字段处理"},{key:"allCountFunction",label:"统计函数",type:"radio",options:[{label:"平均数",value:"AVG"},{label:"合计数",value:"SUM"},{label:"最大值",value:"MAX"},{label:"最小值",value:"MIN"}],defaultValue:"AVG",showFlag:{allCountType:"field"}}]},{key:"advance",label:"高级",children:[{key:"theme",label:"主题",type:"radio",options:[{label:"默认",value:""},{label:"经典白",value:"default"},{label:"经典黑",value:"dark"},{label:"科幻",value:"technology"}],defaultValue:""},{key:"link",label:"链接",type:"radio",options:[{label:"无",value:"none"},{label:"菜单",value:"menu"},{label:"页面",value:"page"}],defaultValue:"none"},{key:"menuId",label:"打开菜单",type:"object",object:"FM_MODULE",flag:"config_menu",objectWay:"option",isTree:"1",showFlag:{link:"menu"}},{key:"pageId",label:"打开页面",type:"object",object:"FM_PAGE_CONFIG",showFlag:{link:"page"}},{key:"openMode",label:"页面打开方式",type:"radio",options:[{label:"直接打开",value:"3"},{label:"弹窗",value:"2"},{label:"新页面",value:"1"}],defaultValue:"3",showFlag:{link:"page"}},{key:"params",label:"参数传递",type:"params",showFlag:{link:["menu","page"]}},{key:"span",label:"宽度",type:"select",options:this.spanOptions},{key:"xsspan",label:"移动端宽度",type:"select",options:this.spanOptions},{key:"height",label:"高度",type:"height"},{key:"flex",label:"占据页面剩余空间",type:"radio",options:[{label:"是",value:!0},{label:"否",value:!1}]}]}];this.configOptions=e},initConfig:function(){var e=this,t=Object(u.a)({},this.compConfig);this.componentInfo.span&&(t.span=this.componentInfo.span),this.config=t;var o=function(t){"field"===(e.configOptions.find((function(e){return e.key===t}))||{}).type&&(e.selectFieldWay[t]="custom")};for(var _ in this.config)o(_)}}}),d=Object(l.a)(p,void 0,void 0,!1,null,null,null).exports;c.install=function(e){e.component(c.name,c),e.component(d.name,d)};t.default=c},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},85:function(module,__webpack_exports__,__webpack_require__){"use strict";var E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(15),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_readOnlyError_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(35),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(18),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5__),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(31),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(13),core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(16),core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(10),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_9__),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(36),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_10__),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(21),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_11__),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_12__),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(12),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_13__),core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(22),core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_14__),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(46),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_15__),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(20),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_16__),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(11),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_17__),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(26),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_18__),core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(17),core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_19__),core_js_modules_es_iterator_filter_js__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(43),core_js_modules_es_iterator_filter_js__WEBPACK_IMPORTED_MODULE_20___default=__webpack_require__.n(core_js_modules_es_iterator_filter_js__WEBPACK_IMPORTED_MODULE_20__),core_js_modules_es_iterator_find_js__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(30),core_js_modules_es_iterator_find_js__WEBPACK_IMPORTED_MODULE_21___default=__webpack_require__.n(core_js_modules_es_iterator_find_js__WEBPACK_IMPORTED_MODULE_21__),core_js_modules_es_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(28),core_js_modules_es_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_22___default=__webpack_require__.n(core_js_modules_es_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_22__),core_js_modules_es_iterator_map_js__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(27),core_js_modules_es_iterator_map_js__WEBPACK_IMPORTED_MODULE_23___default=__webpack_require__.n(core_js_modules_es_iterator_map_js__WEBPACK_IMPORTED_MODULE_23__),vuex__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(34),vuex__WEBPACK_IMPORTED_MODULE_24___default=__webpack_require__.n(vuex__WEBPACK_IMPORTED_MODULE_24__);__webpack_exports__.a={name:"epx-visual-component",props:{designer:Object,widget:Object,id:[String,Number],metaId:String,upMetaId:String,upMetaViewId:String,componentInfo:{type:Object,default:function(){return{}}},compConfig:{type:Object,default:function(){return{}}},globalConfigs:{type:Object,default:function(){return{}}},upComponent:{type:String,default:""},upId:String,upComponentInstance:Object,pageActionList:{type:Array},pageRuleList:{type:Array},pageRelationList:{type:Array,default:function(){return[]}},pageAllFieldList:{type:Array},pageParams:{type:Array,default:function(){return[]}},scopeConfigs:Object},inject:{pageId:{type:String},pageConfigs:{type:Object,default:function(){return{}}},getPageMetaId:{type:Function},getItemConfigs:{type:Function},changeItemConfigs:{type:Function},updateWidget:{type:Function},setContainerDefaultItems:{type:Function}},data:function(){return{spanOptions:[],config:{},defaultConfigs:{},componentActionList:null,componentTreeFieldStore:null,configOptions:[],FunctionOption:[],commonOperates:[],componentMetaId:null,metaViewId:null,componentRuleList:null,componentRelationList:null,foldMap:{},opened:{}}},computed:Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.a)(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.a)(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.a)({},Object(vuex__WEBPACK_IMPORTED_MODULE_24__.mapState)({pages:function(e){return e.page.configs},metas:function(e){return e.meta.metas}})),Object(vuex__WEBPACK_IMPORTED_MODULE_24__.mapGetters)(["getPageById","getCodeById","getMeta","getMetaRelationFields","getMetaViewFields"])),{},{pageMetaId:function(){return this.getPageMetaId&&this.getPageMetaId()},currentPage:function(){return this.getPageById(this.pageId)||this.designer.page},currentMetaId:function(){return this.componentMetaId||this.upMetaId||this.metaId||this.pageMetaId},currentMetaViewId:function(){return this.metaViewId||this.upMetaViewId},currentMeta:function(){var e=this.getMeta(this.currentMetaId);return!e&&this.currentMetaId&&this.$store.dispatch({type:"ADD_META",metaId:this.currentMetaId}),e||null},pageMeta:function(){return this.getMeta(this.pageMetaId)},itemConfigs:function(){return this.getItemConfigs()},allConfigs:{get:function(){var e=this,t=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.a)({},this.config);return this.$_.assignWith(t,this.defaultConfigs,(function(t,o){return e.$_.isNil(t)?o:t}))},set:function(e){}},isDefaultValue:function(){var e=this;return function(t){var o=e.defaultConfigs[t],_=e.config[t];return void 0!==o&&(void 0===_||e.$_.isEqual(_,o))}},showConfigOptions:function(){var e=this;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.configOptions,o=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_3__.a)(t);return o.filter((function(t){var o=!0;if(t.showFlag)for(var _ in t.showFlag)Array.isArray(t.showFlag[_])?t.showFlag[_].includes(e.allConfigs[_])||(o=!1):t.showFlag[_]!=e.allConfigs[_]&&(o=!1);return o}))}},actionList:function(){return this.componentActionList||this.pageActionList||[]},ruleList:function(){return this.componentRuleList||this.pageRuleList||[]},relationList:function(){return this.componentRelationList||this.pageRelationList||[]},treeFieldStore:function(){return this.getMetaViewFields(this.currentMetaId,this.currentMetaViewId)},functionList:function(){var e=this.globalConfigs.JS,t=(void 0===e?"":e).match(/export\sfunction\s(\w+)/g),o=[];return t?(t.forEach((function(e){o.push(e.replace(/export\sfunction\s/,""))})),o):[]},getConfigMetaId:function getConfigMetaId(){var _this4=this;return function(item){if(item.metaId)return item.metaId;if(item.dynamicMetaId){var getFieldRelatedMeta=function(e){return _this4.currentMeta.getAllFieldConfigs().find((function(t){return t.attriName===e[0]||e})).codeKey},el=JSON.parse(item.dynamicMetaId).el.replace(/^#{(.*)}$/,"$1"),configs=_this4.allConfigs;return eval(el)}return _this4.componentMetaId}}}),watch:{pageParams:{handler:function(e){},deep:!0},config:{handler:function(e){e.metaId&&(this.componentMetaId=e.metaId),this.metaViewId=e.metaViewId;var t=this.getComponentSetting(),o=this.getConfigs();this.changeItemConfigs(this.id,o),this.designer&&this.designer.updateWidget(this.id,t)},deep:!0},currentMetaId:{handler:function(e){this.getActionList(e),this.getRuleList(e),this.getAllFields(e)},immediate:!0},currentMetaViewId:{handler:function(e){this.getAllFields(),this.initDefaultConfigs(),this.initConfigOptions(),this.afterConfigOptions()},immediate:!0},currentMeta:{handler:function(e){this.initDefaultConfigs(),this.initConfigOptions(),this.afterConfigOptions()},deep:!0,immediate:!0},actionList:function(e){this.initConfigOptions()},ruleList:function(e){this.initConfigOptions()},relationList:function(e){this.initConfigOptions(),this.afterConfigOptions()},pageRuleList:function(){this.getOperateOptions()}},methods:{initDefaultConfigs:function(){this.defaultConfigs={flex:!1,span:24,xsspan:24}},getEntityRelation:function(e){var t=this;this.$http.$get({entityId:"FM_ENTITY_RELATION",action:"getEntityRelationTree",mainEntity:e||this.currentMetaId}).then((function(e){e.forEach((function(e){e.label=e.title,e.value=e.flag,e.children=e.childrens,e.childrens&&e.childrens.forEach((function(t){t.value=e.flag+"#"+t.flag,t.label=t.title}))})),t.componentRelationList=e}))},getField:function(e){var t=this.treeFieldStore[0].children.find((function(t){return t.linkCode===e}));if(t)return t;if(e.includes("|")){var o=e.split("|"),_=this.treeFieldStore;o.forEach((function(e,t){if(t===o.length-1)return _.find((function(e){return e.code===e}));var i=_.find((function(e){return e.linkFlag&&e.linkFlag.toUppercase()===e}));if(!i)return null;_=i.children}))}},initConfigOptions:function initConfigOptions(){var _this6=this;if(this.configOptions=[{key:"componentName",label:"组件名称"},{key:"componentEvents",label:"组件事件",type:"event"},{key:"span",label:"宽度",type:"select",options:this.spanOptions},{key:"xsspan",label:"移动端宽度",type:"select",options:this.spanOptions},{key:"flex",label:"占据页面剩余空间",type:"radio",options:[{label:"是",value:!0},{label:"否",value:!1}]}],this.componentInfo.ID||this.componentInfo.templateId){var params={entityId:"FM_PAGE_ATTRIBUTE",showEntity:"1",order_field:"ORDER_NUM",order_mode:"asc"};"template"===this.widget.type?(params["scope.TEMPLATE"]=this.componentInfo.ID,params.entityId="FM_TEMPLATE_ATTRIBUTE"):params["scope.PAGE"]=this.componentInfo.ID||this.componentInfo.templateId,this.$http.getTree(params).then((function(data){if(data.length>0){var component=_this6.componentInfo||{},meta=_this6.currentMeta||{},pageMeta=_this6.pageMeta||{},keywordFields=[],label=meta.label,_meta$keyNames=meta.keyNames,keyNames=void 0===_meta$keyNames?[]:_meta$keyNames;meta&&meta.id&&(meta.allFields=meta.getAllFields(),keywordFields=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_3__.a)(keyNames),label&&keywordFields.push(label));var _formatData=function formatData(arr){arr.forEach((function(item){var _item$entity$data=item.entity.data,TYPE=_item$entity$data.TYPE,CODE=_item$entity$data.CODE,NAME=_item$entity$data.NAME,CODE_KEY=_item$entity$data.CODE_KEY,RELATED_ENTITY=_item$entity$data.RELATED_ENTITY,RELATED_ENTITY_KEY=_item$entity$data.RELATED_ENTITY_KEY,SHOW_CONDITION=_item$entity$data.SHOW_CONDITION,DYNAMIC_META_ID=_item$entity$data.DYNAMIC_META_ID,OBJECT_SCOPE=_item$entity$data.OBJECT_SCOPE,FIELD_EDITABLE=_item$entity$data.FIELD_EDITABLE,DEFAULT_VALUE_TYPE=_item$entity$data.DEFAULT_VALUE_TYPE,DEFAULT_VALUE=_item$entity$data.DEFAULT_VALUE,DEFAULT_VALUE_DYNAMIC=_item$entity$data.DEFAULT_VALUE_DYNAMIC,INPUT_VARIABLE=_item$entity$data.INPUT_VARIABLE,NOTE=_item$entity$data.NOTE;try{"dynamic"===DEFAULT_VALUE_TYPE?DEFAULT_VALUE_DYNAMIC&&(item.defaultValue=eval(DEFAULT_VALUE_DYNAMIC)):DEFAULT_VALUE&&(item.defaultValue="switch"===TYPE||"num"===TYPE?eval(DEFAULT_VALUE):"operates"===TYPE?JSON.parse(DEFAULT_VALUE):DEFAULT_VALUE)}catch(e){console.error(e)}if(_this6.$_.isNil(item.defaultValue)||(_this6.defaultConfigs[CODE]=item.defaultValue),item.key=CODE,item.label=NAME,item.type=TYPE,item.showCondition=SHOW_CONDITION,item.dynamicMetaId=DYNAMIC_META_ID,item.code=CODE_KEY,item.object=RELATED_ENTITY,item.dataKey=RELATED_ENTITY_KEY,item.fieldEditable=FIELD_EDITABLE,item.inputVariable="1"===INPUT_VARIABLE,item.tip=NOTE,OBJECT_SCOPE){var scope=JSON.parse(OBJECT_SCOPE);item.scopeParams=scope.scopeParams}item.children&&_formatData(item.children)}))};_formatData(data),_this6.configOptions=data}}))}},afterConfigOptions:function(){if(this.upComponentInstance){var e=this.upComponentInstance.$children[0]||{},t=e.subConfigOptions,o=void 0===t?[]:t,_=e.subDefaultConfigs,i=void 0===_?{}:_;this.configOptions=[].concat(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_3__.a)(o),Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_3__.a)(this.configOptions)),this.defaultConfigs=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.a)(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.a)({},i),this.defaultConfigs)}},initConfig:function(){var e=this.$_.cloneDeep(this.compConfig);this.componentInfo.span&&(e.span=this.componentInfo.span),this.config=e,this.afterInitConfig()},afterInitConfig:function(){},getActionList:function(e){var t=this;!e||e===this.pageMetaId&&this.pageActionList||this.$http.list({action:"getEntityAllApi",entityId:"FM_ENTITY_API",metaId:e}).then((function(o){e===t.currentMetaId&&(t.componentActionList=o.entitys.map((function(e){return{label:e.LABEL||e.NAME,value:e.NAME}})))}))},getRuleList:function(e){var t=this;!e||e===this.pageMetaId&&this.pageRuleList||this.$http.list({entityId:"ACT_RE_MODEL","scope.ENTITY":e,"scope.CATEGORY":"2"}).then((function(o){e===t.currentMetaId&&(t.componentRuleList=o.entitys.map((function(e){return{label:e.NAME||e.KEY,value:e.KEY}})))}))},getFieldOptions:function(){this.fieldOptions=[{key:"attriName",label:"字段",readonly:!0},{key:"configWay",label:"配置方式",type:"radio",options:[{label:"默认配置",value:"default"},{label:"自定义",value:"custom"}],defaultValue:"default"},{key:"attriLabel",label:"名称",type:"text"},{key:"width",label:"宽度",type:"text",defaultValue:"120"},{key:"isLabel",label:"外部标签",type:"radio",options:[{label:"是",value:!0},{label:"否",value:!1}],defaultValue:!1},{key:"locked",label:"是否锁定",type:"radio",options:[{label:"是",value:!0},{label:"否",value:!1}],defaultValue:!1},{key:"color",label:"字体颜色",type:"color",defaultValue:"#333"},{key:"detailPageId",label:"字段详情页面",type:"object",object:"FM_PAGE_CONFIG",showFlag:{dataType:["object","multiobject"]}}]},getHandlerList:function(){var e=this;this.$http.list({entityId:"FM_PAGE_HANDLERS","scope.PAGE":this.componentInfo.ID,order_field:"ORDER_NUM",order_mode:"asc"}).then((function(t){e.handlerList=t.entitys.map((function(e){return{label:e.NAME,value:e.CODE}}))}))},getCommonOperates:function getCommonOperates(){var _this0=this;this.$http.list({entityId:"FM_PAGE_COMMON_OPERATES","scope.PAGE":this.componentInfo.ID,link:"handler,component|left join",order_field:"ORDER_NUM",order_mode:"asc"}).then((function(data){data.entitys&&data.entitys.length>0&&(_this0.commonOperates=data.entitys.map((function(item){var handler={};return item.TEXT&&(handler.text=item.TEXT),item.HANDLER&&(handler.handler=item["HANDLER|CODE"]),item.UI&&(handler.ui=item.UI),item.ACTION&&(handler.action=item.ACTION),item.COMPONENT&&(handler.component=item["COMPONENT|CODE"]),item.NUM&&(handler.num=item.NUM),item.CONFIRM_MSG&&(handler.confirmMsg=item.CONFIRM_MSG),item.OPEN_MODE&&(handler.openMode=item.OPEN_MODE),item.PAGE_TYPE&&(handler.pageType=item.PAGE_TYPE),item.PARAMS&&(handler.params=eval("("+item.PARAMS+")")),handler})))}))},getOperateOptions:function(){this.getHandlerList(),this.getCommonOperates(),this.operateConfigs=[{key:"base",title:"基本",options:["text","ui","type","icon","preview"]},{key:"event",title:"事件",options:["metaId","handler","action","rule","moveType","openMode","page","pageType","menuId","serviceId","webLinkUrl","printWay","printCode","cptName","destActivityId","processNode","function","params","beforeTrigger","afterTrigger","afterTriggerPage","afterTriggerPageOpenMode","afterTriggerParams"]},{key:"advance",title:"高级",options:["terminal","num","limitFlag","limitCondition","limitTip","showCondition","confirm","confirmMsg","confirmButtonText","cancelButtonText","successMsg","failMsg","mask"]}]},getAllFields:function(e){return this.currentMetaId?this.treeFieldStore?this.treeFieldStore:this.$store.dispatch({type:"ADD_META_VIEW_FIELDS",metaId:this.currentMetaId,viewId:this.metaViewId}):[]},changeConfigItem:function(e,t){this.$set(this.config,e,t)},changeLanguageConfig:function(e,t){this.$set(this.config,"".concat(e,".i18n"),t)},getConfigs:function(){var e={};for(var t in this.config){var o,_={},i=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__.a)(this.configOptions);try{for(i.s();!(o=i.n()).done;){var n=o.value;if(n.key===t){_=n;break}if(n.children){var r,a=Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__.a)(n.children);try{for(a.s();!(r=a.n()).done;){var s=r.value;if(s.key===t){_=s;break}}}catch(e){a.e(e)}finally{a.f()}}}}catch(e){i.e(e)}finally{i.f()}"component"===_.allocation||(this.$_.isEqual(this.config[t],this.defaultConfigs[t])&&"componentName"!==_.key?e[t]=null:e[t]=this.config[t])}return e},getComponentSetting:function(){var e=this,t={},o=["flex","layout","direction","justify","align","style","componentName","span","xsspan","items","countScopeParams"],_=function(_){var i=o.find((function(e){return e===_||e+".i18n"===_}));("component"===(e.configOptions.find((function(e){return e.key===_}))||{}).allocation||i)&&(e.$_.isEqual(e.config[_],e.defaultConfigs[_])||(t[_]=e.config[_]))};for(var i in this.config)_(i);return t},switchAccordion:function(e){this.$set(this.foldMap,e,!this.foldMap[e])},renderAccordion:function(e){var t=this,o=this.$createElement;return o("div",{class:{"epx-visual-component__accordion":!0,"is-fold":this.foldMap[e.key]}},[o("div",{class:"epx-visual-component__accordion-header"},[o("span",[e.label]),o("i",{class:"epx-visual-component__accordion-icon el-icon-arrow-up",on:{click:this.switchAccordion.bind(this,e.key)}})]),o("div",{class:"epx-visual-component__accordion-body"},[this.showConfigOptions(e.children).map((function(e){if(e.showCondition){var o=!0;try{var _=JSON.parse(e.showCondition).el.replace(/^#{(.*)}$/,"$1"),i=t.allConfigs;_&&(o=new Function("config","return "+_).call(t,i))}catch(e){console.error(e),o=!1}if(!o)return null}return e.render?e.render(e):t.renderFormItem(e)}))])])},renderFormItem:function(e){var t=this,o=this.$createElement,_=this.$_.isNil(e.defaultValue)?this.defaultConfigs[e.key]:e.defaultValue;return"report"===e.type?o("epx-visual-config-design-report",{attrs:{value:this.allConfigs[e.key],defaultValue:this.defaultConfigs[e.key]}}):o("el-row",{key:e.key},[o("el-form-item",{attrs:{label:"".concat(e.label)},class:Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)(Object(E_workspace_gitrepo_epx_group_frame_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)({"is-default":this.isDefaultValue(e.key),"epx-visual-component__form-item":!0},"epx-visual-component__form-item--"+e.type,!0),"epx-visual-component__form-item--opened",this.opened[e.key])},["font"===e.type?o("span",{slot:"label"},[o("i",{class:"epx-visual-component__form-item-fold-icon el-icon-caret-right",on:{click:function(){return t.$set(t.opened,e.key,!t.opened[e.key])}}}),e.label]):e.tip?o("span",{slot:"label"},[e.label,o("el-tooltip",{attrs:{content:e.tip,placement:"top"}},[o("i",{class:"el-icon-warning epx-visual-component__form-item-tip"})])]):null,e.renderContent?o("div",[e.renderContent(e)]):"radio"===e.type?o("epx-visual-config-radio",{attrs:{code:e.code,"option-list":e.options,value:this.allConfigs[e.key],inputable:e.inputable,defaultValue:_},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"checkbox"===e.type?o("epx-visual-config-checkbox",{attrs:{code:e.code,"option-list":e.options,value:this.allConfigs[e.key],defaultValue:_},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"switch"===e.type?o("epx-visual-config-switch",{attrs:{value:this.allConfigs[e.key],defaultValue:_},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"action"===e.type?o("epx-visual-config-list",{attrs:{"option-list":this.actionList,value:this.allConfigs[e.key],defaultValue:_,code:e.code,label:e.label,multiple:e.multiple},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"tree"===e.type?o("epx-visual-config-tree",{attrs:{"option-list":e.options,value:this.allConfigs[e.key],defaultValue:_},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"row"===e.type?o("epx-visual-config-row",{attrs:{value:this.config[e.key],defaultValue:_,treeFieldStore:this.treeFieldStore,"field-options":this.rowFieldOptions||this.fieldOptions,pageParams:this.pageParams,pageGlobalConfigs:this.globalConfigs,changeItemConfigs:this.changeItemConfigs,scopeConfigs:this.scopeConfigs,functionOption:this.FunctionOption},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"list"===e.type?o("epx-visual-config-list",{attrs:{"option-list":e.options,value:this.allConfigs[e.key],defaultValue:_,code:e.code,label:e.label,multiple:e.multiple},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"select"===e.type?o("epx-visual-config-select",{attrs:{"option-list":e.options,value:this.allConfigs[e.key],defaultValue:_},on:{"change-configs":e.change||this.changeConfigItem.bind(this,e.key)}}):"list-field"===e.type||"field"===e.type&&"1"===e.fieldEditable?o("epx-visual-config-list-field",{attrs:{value:this.config[e.key],componentMetaId:this.componentMetaId,defaultValue:_,"rule-list":this.ruleList,treeFieldStore:this.treeFieldStore,functionOption:this.FunctionOption,scopeConfigs:this.scopeConfigs,pageParams:this.pageParams,pageGlobalConfigs:this.globalConfigs,"field-options":e.children&&e.children.length>0?e.children:this.fieldOptions,changeItemConfigs:this.changeItemConfigs},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"field"===e.type?o("epx-visual-config-field",{attrs:{value:this.config[e.key],defaultValue:_,"rule-list":this.ruleList,metaId:e.metaId||this.currentMetaId,treeFieldStore:this.treeFieldStore,multiple:e.multiple,limit:e.limit,scopeConfigs:this.scopeConfigs,defaultShowSubField:e.showSubField},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"m-field"===e.type?o("epx-visual-config-m-list-field",{attrs:{value:this.config[e.key],defaultValue:this.defaultConfigs[e.key],treeFieldStore:this.treeFieldStore,"field-options":this.fieldOptions,pageParams:this.pageParams},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"order-field"===e.type?o("epx-visual-config-order-field",{attrs:{value:this.config[e.key],defaultValue:_,metaId:e.metaId||this.currentMetaId,treeFieldStore:this.treeFieldStore},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"operates"===e.type||"operate"===e.type?o("epx-visual-config-operate",{attrs:{designer:this.designer,value:this.config[e.key],defaultValue:_,configs:this.config,metaId:e.metaId,compMetaId:this.currentMetaId,"common-operates":e.commonOperates||this.commonOperates,"operate-options":this.operateOptions,"operate-configs":this.operateConfigs,treeFieldStore:this.treeFieldStore,pageParams:this.pageParams,handlerList:e.handlerList||this.handlerList,"action-list":this.actionList,"rule-list":this.ruleList,scopeConfigs:this.scopeConfigs,pageGlobalConfigs:this.globalConfigs,changeItemConfigs:this.changeItemConfigs},on:{"change-operate":this.changeOperate&&this.changeOperate.bind(this,e.key),"change-configs":this.changeConfigItem.bind(this,e.key)}}):"scope"===e.type?o("epx-visual-config-scope",{attrs:{designer:this.designer,value:this.config[e.key],pageParams:this.pageParams,treeFieldStore:this.treeFieldStore,extendFields:e.extendFields,componentMetaId:this.getConfigMetaId(e),scopeConfigs:this.scopeConfigs},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"num"===e.type?o("epx-visual-config-number",{attrs:{value:this.allConfigs[e.key],defaultValue:_},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"chart"===e.type?o("epx-visual-config-chart",{attrs:{value:this.allConfigs[e.key],defaultValue:_},on:{callback:e.callback,"change-configs":this.changeConfigItem.bind(this,e.key)}}):"params"===e.type?o("epx-visual-config-params",{attrs:{value:this.allConfigs[e.key],defaultValue:_,treeFieldStore:this.treeFieldStore,pageParams:this.pageParams},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"object"===e.type||"multiobject"===e.type?o("epx-visual-config-object",{attrs:{type:e.type,value:this.allConfigs[e.key],defaultValue:_,object:e.object,label:e.label,dataKey:e.dataKey,fieldConfigs:e.fieldConfigs,flag:e.flag,scopeParams:"metaViewId"===e.key?[{field:"ENTITY",values:this.componentMetaId}]:e.scopeParams},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"font"===e.type?o("epx-visual-config-font",{attrs:{value:this.allConfigs[e.key],defaultValue:this.defaultConfigs[e.key]},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"color"===e.type?o("epx-visual-config-color",{attrs:{value:this.allConfigs[e.key],defaultValue:this.defaultConfigs[e.key]},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"page"===e.type?o("epx-visual-config-item-page",{attrs:{value:this.allConfigs[e.key],defaultValue:this.defaultConfigs[e.key]},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"event"===e.type?o("epx-visual-config-event",{attrs:{value:this.allConfigs[e.key],defaultValue:_,functionList:this.functionList,eventList:e.eventList,pageGlobalConfigs:this.globalConfigs,changeItemConfigs:this.changeItemConfigs},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"function"===e.type?o("epx-visual-config-function",{attrs:{designer:this.designer,value:this.allConfigs[e.key],defaultValue:_,functionList:this.functionList,pageGlobalConfigs:this.globalConfigs},on:{input:this.changeConfigItem.bind(this,e.key)}}):"html"===e.type?o("epx-visual-config-html",{attrs:{designer:this.designer,value:this.allConfigs[e.key],defaultValue:this.defaultConfigs[e.key],i18nValue:this.allConfigs[e.key+".i18n"],pageGlobalConfigs:this.globalConfigs,changeItemConfigs:this.changeItemConfigs},on:{"change-configs":this.changeConfigItem.bind(this,e.key),"change-language-config":this.changeLanguageConfig.bind(this,e.key)}}):"image"===e.type?o("epx-visual-config-image",{attrs:{designer:this.designer,label:e.label,value:this.allConfigs[e.key],defaultValue:this.defaultConfigs[e.key],pageGlobalConfigs:this.globalConfigs,changeItemConfigs:this.changeItemConfigs},on:{"change-configs":this.changeConfigItem.bind(this,e.key)}}):"textarea"===e.type?o("epx-visual-config-textarea",{attrs:{designer:this.designer,label:e.label,value:this.allConfigs[e.key],i18nValue:this.allConfigs[e.key+".i18n"],defaultValue:this.defaultConfigs[e.key],inputVariable:e.inputVariable,change:e.change},on:{"change-configs":this.changeConfigItem.bind(this,e.key),"change-language-config":this.changeLanguageConfig.bind(this,e.key)}}):o("epx-visual-config-input",{attrs:{designer:this.designer,label:e.label,value:this.allConfigs[e.key],i18nValue:this.allConfigs[e.key+".i18n"],defaultValue:this.defaultConfigs[e.key],inputVariable:e.inputVariable,regExp:e.regExp,readonly:e.readonly,change:e.change},on:{"change-configs":this.changeConfigItem.bind(this,e.key),"change-language-config":this.changeLanguageConfig.bind(this,e.key)}})])])}},created:function(){for(var e=0;e<=24;e++)this.spanOptions.push({label:e,value:e});this.handlerList=[{label:"打开指定页面",value:"goPage"},{label:"打开指定应用",value:"goApp"},{label:"打开指定链接",value:"Link"},{label:"发起通用请求",value:"commonAction"},{label:"发起业务规则",value:"commonRuleAction"},{label:"报表打印",value:"print"},{label:"下载文件",value:"downloadFile"},{label:"返回",value:"backPage"},{label:"自定义JS",value:"customJs"}],this.initConfig(),this.getFieldOptions(),this.getOperateOptions()},render:function(){var e=this,t=arguments[0];return t("div",{class:"epx-visual-component"},[t("el-form",{attrs:{inline:!0,"label-position":"left","label-width":"98px"}},[this.showConfigOptions().map((function(t){var o;if(t.showCondition){var _=!0;try{var i=JSON.parse(t.showCondition).el.replace(/^#{(.*)}$/,"$1"),n=e.allConfigs;i&&(_=new Function("config","return "+i).call(e,n))}catch(e){console.error(e),_=!1}if(!_)return null}return t.render?t.render(t):(null===(o=t.children)||void 0===o?void 0:o.length)>0||"area"===t.type?e.renderAccordion(t):e.renderFormItem(t)}))])])}}},9:function(e,t,o){"use strict";function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,_=Array(t);o<t;o++)_[o]=e[o];return _}o.d(t,"a",(function(){return _}))},91:function(e,t){e.exports=require("core-js/modules/es.object.entries.js")},94:function(e,t,o){"use strict";var _=o(5),i=o.n(_)()((function(e){return e[1]}));i.push([e.i,":root{--color-primary: 8,116,231 }.epx-visual-component{padding:0 16px}.epx-visual-component__accordion.is-fold{margin-bottom:10px}.epx-visual-component__accordion.is-fold .epx-visual-component__accordion-icon{transform:rotate(180deg)}.epx-visual-component__accordion.is-fold .epx-visual-component__accordion-body{display:none}.epx-visual-component__accordion-header{width:calc(100% + 32px);display:flex;height:40px;padding:0 16px;justify-content:space-between;align-items:center;background:rgba(31,56,88,.1);position:relative;left:-16px}.epx-visual-component__accordion-body{padding:12px 0}.epx-visual-component__accordion-icon{font-size:16px;cursor:pointer;transition:all .5s}.epx-visual-component__form-item.el-form-item{display:flex;flex-wrap:wrap}.epx-visual-component__form-item .el-form-item__header{flex-shrink:0}.epx-visual-component__form-item>.el-form-item__content{flex:1}.epx-visual-component__form-item .el-form-item__label{flex-shrink:0;line-height:20px;padding:10px 8px 10px 0}.epx-visual-component__form-item-tip{color:#999;cursor:pointer;margin-left:2px}.epx-visual-component__form-item--font{display:block}.epx-visual-component__form-item--font .el-form-item__label{width:100% !important}.epx-visual-component__form-item--font .el-form-item__content{display:none}.epx-visual-component__form-item--opened .epx-visual-component__form-item-fold-icon{transform:rotate(90deg)}.epx-visual-component__form-item--opened .el-form-item__content{display:block}.epx-visual-component__form-item-fold-icon{cursor:pointer;transition:all .5s}",""]),t.a=i}});