epx-frame 5.2.7 → 5.3.0-beta

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 (149) hide show
  1. package/README.md +222 -96
  2. package/lib/0.js +1 -1
  3. package/lib/1.js +1 -1
  4. package/lib/121.js +1 -0
  5. package/lib/140.js +3 -0
  6. package/lib/141.js +1 -0
  7. package/lib/142.js +1 -0
  8. package/lib/2.js +1 -1
  9. package/lib/components/Link.js +1 -1
  10. package/lib/components/act-process-form-item.js +3 -0
  11. package/lib/components/add-form-item.js +1 -1
  12. package/lib/components/add-form.js +2 -2
  13. package/lib/components/ai-agent-page.js +3 -1
  14. package/lib/components/ai-chat-page.js +3 -1
  15. package/lib/components/ai-import-page.js +2 -2
  16. package/lib/components/ai-import.js +3 -1
  17. package/lib/components/ai-metadata-assistant.js +1 -0
  18. package/lib/components/alert.js +1 -1
  19. package/lib/components/app-index.js +1 -1
  20. package/lib/components/app-nav.js +2 -2
  21. package/lib/components/app-tabs.js +1 -1
  22. package/lib/components/apply-form.js +1 -1
  23. package/lib/components/approval-index-page.js +2 -2
  24. package/lib/components/approval-index.js +2 -2
  25. package/lib/components/base-page.js +2 -2
  26. package/lib/components/button.js +1 -1
  27. package/lib/components/card-form-item.js +3 -1
  28. package/lib/components/card.js +1 -1
  29. package/lib/components/carousel.js +3 -1
  30. package/lib/components/category-list.js +1 -1
  31. package/lib/components/chart.js +2 -2
  32. package/lib/components/check-history.js +2 -2
  33. package/lib/components/collapse.js +3 -1
  34. package/lib/components/color-picker.js +1 -1
  35. package/lib/components/component.js +1 -1
  36. package/lib/components/config-page.js +2 -2
  37. package/lib/components/contacts.js +1 -1
  38. package/lib/components/dashboard.js +2 -2
  39. package/lib/components/div.js +1 -1
  40. package/lib/components/dropdown.js +2 -2
  41. package/lib/components/edit-entity-list.js +1 -1
  42. package/lib/components/entity-add-page.js +2 -2
  43. package/lib/components/entity-apply-page.js +2 -2
  44. package/lib/components/entity-card-list.js +1 -1
  45. package/lib/components/entity-list-find-page.js +2 -2
  46. package/lib/components/entity-list-find.js +2 -2
  47. package/lib/components/entity-list-page.js +2 -2
  48. package/lib/components/entity-list.js +2 -2
  49. package/lib/components/entity-no-submit-sub-list.js +1 -1
  50. package/lib/components/entity-sub-grid.js +2 -2
  51. package/lib/components/entity-sub-list.js +2 -2
  52. package/lib/components/entity-tree-find-page.js +2 -2
  53. package/lib/components/entity-tree-find.js +2 -2
  54. package/lib/components/export-file.js +1 -1
  55. package/lib/components/export.js +2 -2
  56. package/lib/components/flow-num.js +1 -1
  57. package/lib/components/footer.js +1 -1
  58. package/lib/components/form-field.js +1 -1
  59. package/lib/components/form-item.js +2 -2
  60. package/lib/components/form.js +2 -2
  61. package/lib/components/formula-editor.js +3 -0
  62. package/lib/components/formula.js +1 -1
  63. package/lib/components/gauge.js +1 -1
  64. package/lib/components/grid.js +1 -1
  65. package/lib/components/header.js +1 -1
  66. package/lib/components/html.js +1 -1
  67. package/lib/components/icon.js +1 -1
  68. package/lib/components/iframe.js +1 -1
  69. package/lib/components/image.js +1 -1
  70. package/lib/components/import-file.js +1 -1
  71. package/lib/components/import.js +2 -2
  72. package/lib/components/layout.js +3 -1
  73. package/lib/components/list.js +3 -1
  74. package/lib/components/load-page.js +1 -1
  75. package/lib/components/m-entity-add-page.js +2 -2
  76. package/lib/components/m-entity-dept-find.js +1 -1
  77. package/lib/components/m-entity-list-find.js +3 -1
  78. package/lib/components/m-entity-list.js +1 -1
  79. package/lib/components/m-entity-no-submit-sub-list.js +2 -2
  80. package/lib/components/m-entity-tree-find.js +1 -1
  81. package/lib/components/m-entity-user-find.js +1 -1
  82. package/lib/components/menu-index.js +1 -1
  83. package/lib/components/menu.js +1 -1
  84. package/lib/components/mine.js +1 -1
  85. package/lib/components/module-index-page.js +2 -2
  86. package/lib/components/module-list-page.js +2 -2
  87. package/lib/components/module-list.js +1 -1
  88. package/lib/components/module-tabs-page.js +2 -2
  89. package/lib/components/nav-add-form.js +1 -1
  90. package/lib/components/num.js +1 -1
  91. package/lib/components/org-chart.js +1 -1
  92. package/lib/components/page-help.js +1 -1
  93. package/lib/components/page-tabs.js +1 -1
  94. package/lib/components/page.js +2 -2
  95. package/lib/components/pagination.js +1 -1
  96. package/lib/components/progress-chart.js +1 -1
  97. package/lib/components/progress.js +1 -1
  98. package/lib/components/report-chart.js +2 -2
  99. package/lib/components/report-html.js +2 -2
  100. package/lib/components/report-preview.js +2 -2
  101. package/lib/components/report.js +2 -2
  102. package/lib/components/router-view.js +1 -1
  103. package/lib/components/scope.js +2 -2
  104. package/lib/components/search-bar.js +1 -1
  105. package/lib/components/search-list.js +1 -1
  106. package/lib/components/search.js +2 -2
  107. package/lib/components/step-item.js +1 -1
  108. package/lib/components/step.js +1 -1
  109. package/lib/components/tab-bar.js +1 -1
  110. package/lib/components/tab-tags.js +1 -1
  111. package/lib/components/tabs.js +3 -1
  112. package/lib/components/tag.js +1 -1
  113. package/lib/components/task-list-page.js +2 -2
  114. package/lib/components/task-list.js +2 -2
  115. package/lib/components/template.js +2 -2
  116. package/lib/components/text-editor.js +1 -1
  117. package/lib/components/text.js +1 -1
  118. package/lib/components/title.js +1 -1
  119. package/lib/components/update-form-item.js +1 -1
  120. package/lib/components/update-form.js +2 -2
  121. package/lib/components/update-sub-list.js +1 -1
  122. package/lib/components/video.js +1 -1
  123. package/lib/components/visual-config-page.js +2 -2
  124. package/lib/epx-frame.common.js +2 -2
  125. package/lib/http.js +2 -2
  126. package/lib/media/ai_bg.jpg +0 -0
  127. package/lib/media/ai_index.webp +0 -0
  128. package/lib/media/topbg.png +0 -0
  129. package/lib/router.js +2 -2
  130. package/lib/store.js +2 -2
  131. package/lib/utils/Config.js +1 -1
  132. package/lib/utils/axios.js +2 -2
  133. package/lib/utils/chartTheme.js +1 -1
  134. package/lib/utils/fieldFactory.js +2 -2
  135. package/lib/utils/formula.js +1 -1
  136. package/lib/utils/index.js +2 -2
  137. package/lib/utils/loadComponent.js +1 -1
  138. package/lib/utils/loadLibrary.js +1 -1
  139. package/lib/utils/meta.js +1 -1
  140. package/lib/utils/mixins/component.js +2 -2
  141. package/lib/utils/mixins/global.js +2 -2
  142. package/lib/utils/mixins/index.js +2 -2
  143. package/lib/utils/mixins/methods-to-prototype.js +3 -0
  144. package/lib/utils/mixins/optimized-global.js +1 -0
  145. package/lib/utils/page.js +1 -1
  146. package/lib/utils/pdf.viewer.js +2 -2
  147. package/lib/utils/security.js +1 -1
  148. package/lib/utils/util.js +1 -1
  149. package/package.json +5 -5
@@ -1 +1 @@
1
- module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=840)}({172:function(e,t){e.exports=require("core-js/modules/es.number.to-fixed.js")},2:function(e,t,n){"use strict";function r(e,t,n,r,o,i,s,c){var a,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(a=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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=a):o&&(a=c?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),a)if(l.functional){l._injectStyles=a;var u=l.render;l.render=function(e,t){return a.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,a):[a]}return{exports:e,options:l}}n.d(t,"a",(function(){return r}))},27:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},37:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},4:function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function c(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function a(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],l=n[a]||0,u="".concat(a," ").concat(l);n[a]=l+1;var f=c(u),d={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(s[f].references++,s[f].updater(d)):s.push({identifier:u,updater:g(d,t),references:1}),r.push(u)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var s=i(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var u,f=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function p(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,v=0;function g(e,t){var n,r,o;if(t.singleton){var i=v++;n=h||(h=l(t)),r=d.bind(null,n,i,!1),o=d.bind(null,n,i,!0)}else n=l(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=a(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=c(n[r]);s[o].references--}for(var i=a(e,t),l=0;l<n.length;l++){var u=c(n[l]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}n=i}}}},5:function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(o[s]=!0)}for(var c=0;c<e.length;c++){var a=[].concat(e[c]);r&&o[a[0]]||(n&&(a[2]?a[2]="".concat(n," and ").concat(a[2]):a[2]=n),t.push(a))}},t}},566:function(e,t,n){"use strict";var r=n(5),o=n.n(r)()((function(e){return e[1]}));o.push([e.i,":root{--color-primary: 8,116,231 }.epx-progress--half-circle .el-progress__text{transform:none;font-size:16px;color:#333}",""]),t.a=o},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},840:function(e,t,n){"use strict";n.r(t);n(8);var r=function(){var e=this,t=e._self._c;return"half-circle"===e.type?t("div",{staticClass:"el-progress el-progress--circle epx-progress epx-progress--half-circle"},[t("div",{staticClass:"el-progress-circle",style:{width:e.size+"px",height:e.size/1.67+"px"}},[t("svg",{attrs:{viewBox:"0 0 100 60"}},[t("path",{staticClass:"el-progress-circle__track",attrs:{d:`\n M 50 50\n m -${e.circlePathDistance} 0\n a ${e.circlePathDistance} ${e.circlePathDistance} 0 1 1 ${2*e.circlePathDistance} 0\n `,stroke:e.$configs.backColor||"#ebeef5","stroke-linecap":"round","stroke-width":e.circleStrokeWidth,fill:"none"}}),t("path",{staticClass:"el-progress-circle__path",style:{transition:"stroke-dasharray 0.6s, stroke 0.6s"},attrs:{d:`\n M 50 50\n m -${e.circlePathDistance} 0\n a ${e.circlePathDistance} ${e.circlePathDistance} 0 1 1 ${2*e.circlePathDistance} 0\n `,stroke:e.$configs.color||"#6C4B4B",fill:"none","stroke-linecap":"round","stroke-width":e.circleStrokeWidth,"stroke-dasharray":3.1416*e.circlePathDistance,"stroke-dashoffset":3.1416*e.circlePathDistance/100*(100-e.$configs.percentage||0)}})])]),!1!==e.$configs.showText?t("div",{staticClass:"el-progress__text",style:{color:e.$configs.textColor}},[e._v(e._s(e.$configs.percentage||0)+"%")]):e._e()]):t("el-progress",{staticClass:"epx-progress",attrs:{type:e.type,"stroke-width":e.$configs.strokeWidth,"show-text":!1!==e.$configs.showText,"text-inside":"line"==e.type&&e.$configs.textInside,"define-back-color":e.$configs.backColor,color:e.$configs.color,width:e.$configs.size,percentage:e.$configs.percentage||0,"text-color":e.$configs.textColor}})};r._withStripped=!0;n(37),n(172);var o=n(27),i={name:"epx-progress",mixins:[n.n(o).a],data:function(){return{}},computed:{type:function(){return this.$configs.type||"line"},size:function(){return this.$configs.size||126},circleStrokeWidth:function(){var e=this.$configs.strokeWidth||6;return Number(e/(this.size/100).toFixed(1))},circlePathDistance:function(){return 50-Math.ceil(this.circleStrokeWidth/2)}}},s=n(4),c=n.n(s),a=n(566),l={insert:"head",singleton:!1},u=(c()(a.a,l),a.a.locals,n(2)),f=Object(u.a)(i,r,[],!1,null,null,null).exports;f.install=function(e){e.component(f.name,f)};t.default=f}});
1
+ module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=917)}({1:function(e,t,n){"use strict";function r(e,t,n,r,o,i,s,c){var a,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(a=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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=a):o&&(a=c?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),a)if(l.functional){l._injectStyles=a;var u=l.render;l.render=function(e,t){return a.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,a):[a]}return{exports:e,options:l}}n.d(t,"a",(function(){return r}))},174:function(e,t){e.exports=require("core-js/modules/es.number.to-fixed.js")},27:function(e,t){e.exports=require("epx-frame/lib/utils/mixins/component")},3:function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function c(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function a(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],l=n[a]||0,u="".concat(a," ").concat(l);n[a]=l+1;var f=c(u),d={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(s[f].references++,s[f].updater(d)):s.push({identifier:u,updater:g(d,t),references:1}),r.push(u)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var s=i(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var u,f=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function p(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,v=0;function g(e,t){var n,r,o;if(t.singleton){var i=v++;n=h||(h=l(t)),r=d.bind(null,n,i,!1),o=d.bind(null,n,i,!0)}else n=l(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=a(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=c(n[r]);s[o].references--}for(var i=a(e,t),l=0;l<n.length;l++){var u=c(n[l]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}n=i}}}},34:function(e,t){e.exports=require("core-js/modules/es.number.constructor.js")},4:function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(o[s]=!0)}for(var c=0;c<e.length;c++){var a=[].concat(e[c]);r&&o[a[0]]||(n&&(a[2]?a[2]="".concat(n," and ").concat(a[2]):a[2]=n),t.push(a))}},t}},666:function(e,t,n){"use strict";var r=n(4),o=n.n(r)()((function(e){return e[1]}));o.push([e.i,":root{--color-primary: 8,116,231 }.epx-progress--half-circle .el-progress__text{transform:none;font-size:16px;color:#333}",""]),t.a=o},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},917:function(e,t,n){"use strict";n.r(t);n(8);var r=function(){var e=this,t=e._self._c;return"half-circle"===e.type?t("div",{staticClass:"el-progress el-progress--circle epx-progress epx-progress--half-circle"},[t("div",{staticClass:"el-progress-circle",style:{width:e.size+"px",height:e.size/1.67+"px"}},[t("svg",{attrs:{viewBox:"0 0 100 60"}},[t("path",{staticClass:"el-progress-circle__track",attrs:{d:`\n M 50 50\n m -${e.circlePathDistance} 0\n a ${e.circlePathDistance} ${e.circlePathDistance} 0 1 1 ${2*e.circlePathDistance} 0\n `,stroke:e.$configs.backColor||"#ebeef5","stroke-linecap":"round","stroke-width":e.circleStrokeWidth,fill:"none"}}),t("path",{staticClass:"el-progress-circle__path",style:{transition:"stroke-dasharray 0.6s, stroke 0.6s"},attrs:{d:`\n M 50 50\n m -${e.circlePathDistance} 0\n a ${e.circlePathDistance} ${e.circlePathDistance} 0 1 1 ${2*e.circlePathDistance} 0\n `,stroke:e.$configs.color||"#6C4B4B",fill:"none","stroke-linecap":"round","stroke-width":e.circleStrokeWidth,"stroke-dasharray":3.1416*e.circlePathDistance,"stroke-dashoffset":3.1416*e.circlePathDistance/100*(100-e.$configs.percentage||0)}})])]),!1!==e.$configs.showText?t("div",{staticClass:"el-progress__text",style:{color:e.$configs.textColor}},[e._v(e._s(e.$configs.percentage||0)+"%")]):e._e()]):t("el-progress",{staticClass:"epx-progress",attrs:{type:e.type,"stroke-width":e.$configs.strokeWidth,"show-text":!1!==e.$configs.showText,"text-inside":"line"==e.type&&e.$configs.textInside,"define-back-color":e.$configs.backColor,color:e.$configs.color,width:e.$configs.size,percentage:e.$configs.percentage||0,"text-color":e.$configs.textColor}})};r._withStripped=!0;n(34),n(174);var o=n(27),i={name:"epx-progress",mixins:[n.n(o).a],data:function(){return{}},computed:{type:function(){return this.$configs.type||"line"},size:function(){return this.$configs.size||126},circleStrokeWidth:function(){var e=this.$configs.strokeWidth||6;return Number(e/(this.size/100).toFixed(1))},circlePathDistance:function(){return 50-Math.ceil(this.circleStrokeWidth/2)}}},s=n(3),c=n.n(s),a=n(666),l={insert:"head",singleton:!1},u=(c()(a.a,l),a.a.locals,n(1)),f=Object(u.a)(i,r,[],!1,null,null,null).exports;f.install=function(e){e.component(f.name,f)};t.default=f}});