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.
- package/lib/0.js +1 -1
- package/lib/1.js +1 -1
- package/lib/115.js +1 -1
- package/lib/131.js +2 -2
- package/lib/132.js +1 -1
- package/lib/2.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/add-form-item.js +1 -1
- package/lib/components/add-form.js +2 -2
- package/lib/components/ai-agent-page.js +1 -1
- package/lib/components/ai-chat-page.js +1 -1
- package/lib/components/ai-import-page.js +2 -2
- package/lib/components/ai-import.js +1 -1
- package/lib/components/alert.js +1 -1
- package/lib/components/app-index.js +1 -1
- package/lib/components/app-nav.js +2 -2
- package/lib/components/app-tabs.js +1 -1
- package/lib/components/apply-form.js +1 -1
- package/lib/components/approval-index-page.js +2 -2
- package/lib/components/approval-index.js +2 -2
- package/lib/components/base-page.js +2 -2
- package/lib/components/button.js +1 -1
- package/lib/components/card-form-item.js +1 -1
- package/lib/components/card.js +1 -1
- package/lib/components/carousel.js +1 -1
- package/lib/components/category-list.js +1 -1
- package/lib/components/chart.js +2 -2
- package/lib/components/check-history.js +2 -2
- package/lib/components/collapse.js +1 -1
- package/lib/components/color-picker.js +1 -1
- package/lib/components/component.js +1 -1
- package/lib/components/config-page.js +2 -2
- package/lib/components/contacts.js +1 -1
- package/lib/components/dashboard.js +3 -1
- package/lib/components/div.js +1 -1
- package/lib/components/dropdown.js +2 -2
- package/lib/components/edit-entity-list.js +1 -1
- package/lib/components/entity-add-page.js +2 -2
- package/lib/components/entity-apply-page.js +2 -2
- package/lib/components/entity-card-list.js +1 -1
- package/lib/components/entity-list-find-page.js +2 -2
- package/lib/components/entity-list-find.js +2 -2
- package/lib/components/entity-list-page.js +2 -2
- package/lib/components/entity-list.js +2 -2
- package/lib/components/entity-no-submit-sub-list.js +1 -1
- package/lib/components/entity-sub-grid.js +2 -2
- package/lib/components/entity-sub-list.js +2 -2
- package/lib/components/entity-tree-find-page.js +2 -2
- package/lib/components/entity-tree-find.js +2 -2
- package/lib/components/export-file.js +1 -1
- package/lib/components/export.js +2 -2
- package/lib/components/flow-num.js +1 -1
- package/lib/components/footer.js +1 -1
- package/lib/components/form-field.js +1 -1
- package/lib/components/form-item.js +2 -2
- package/lib/components/form.js +2 -2
- package/lib/components/formula.js +1 -1
- package/lib/components/gauge.js +1 -1
- package/lib/components/grid.js +1 -1
- package/lib/components/header.js +1 -1
- package/lib/components/html.js +1 -1
- package/lib/components/icon.js +1 -1
- package/lib/components/iframe.js +1 -1
- package/lib/components/image.js +1 -1
- package/lib/components/import-file.js +1 -1
- package/lib/components/import.js +2 -2
- package/lib/components/layout.js +1 -1
- package/lib/components/list.js +1 -1
- package/lib/components/load-page.js +1 -1
- package/lib/components/m-entity-add-page.js +2 -2
- package/lib/components/m-entity-dept-find.js +1 -1
- package/lib/components/m-entity-list-find.js +1 -1
- package/lib/components/m-entity-list.js +1 -1
- package/lib/components/m-entity-no-submit-sub-list.js +2 -2
- package/lib/components/m-entity-tree-find.js +1 -1
- package/lib/components/m-entity-user-find.js +1 -1
- package/lib/components/menu-index.js +1 -1
- package/lib/components/menu.js +1 -1
- package/lib/components/mine.js +1 -1
- package/lib/components/module-index-page.js +2 -2
- package/lib/components/module-list-page.js +2 -2
- package/lib/components/module-list.js +1 -1
- package/lib/components/module-tabs-page.js +2 -2
- package/lib/components/nav-add-form.js +1 -1
- package/lib/components/num.js +1 -1
- package/lib/components/org-chart.js +1 -1
- package/lib/components/page-help.js +1 -1
- package/lib/components/page-tabs.js +1 -1
- package/lib/components/page.js +2 -2
- package/lib/components/pagination.js +1 -1
- package/lib/components/progress-chart.js +1 -1
- package/lib/components/progress.js +1 -1
- package/lib/components/report-chart.js +2 -2
- package/lib/components/report-html.js +2 -2
- package/lib/components/report-preview.js +2 -2
- package/lib/components/report.js +2 -2
- package/lib/components/router-view.js +1 -1
- package/lib/components/scope.js +2 -2
- package/lib/components/search-bar.js +1 -1
- package/lib/components/search-list.js +1 -1
- package/lib/components/search.js +2 -2
- package/lib/components/step-item.js +1 -1
- package/lib/components/step.js +1 -1
- package/lib/components/tab-bar.js +1 -1
- package/lib/components/tab-tags.js +1 -1
- package/lib/components/tabs.js +1 -1
- package/lib/components/tag.js +1 -1
- package/lib/components/task-list-page.js +2 -2
- package/lib/components/task-list.js +2 -2
- package/lib/components/template.js +2 -2
- package/lib/components/text-editor.js +1 -1
- package/lib/components/text.js +1 -1
- package/lib/components/title.js +1 -1
- package/lib/components/video.js +1 -1
- package/lib/components/visual-config-page.js +2 -2
- package/lib/epx-frame.common.js +2 -2
- package/lib/http.js +2 -2
- package/lib/router.js +2 -2
- package/lib/store.js +2 -2
- package/lib/utils/Config.js +1 -1
- package/lib/utils/axios.js +2 -2
- package/lib/utils/chartTheme.js +1 -1
- package/lib/utils/fieldFactory.js +2 -2
- package/lib/utils/formula.js +1 -1
- package/lib/utils/index.js +2 -2
- package/lib/utils/loadComponent.js +1 -1
- package/lib/utils/loadLibrary.js +1 -1
- package/lib/utils/meta.js +1 -1
- package/lib/utils/mixins/component.js +2 -2
- package/lib/utils/mixins/global.js +2 -2
- package/lib/utils/mixins/index.js +2 -2
- package/lib/utils/page.js +1 -1
- package/lib/utils/pdf.viewer.js +2 -2
- package/lib/utils/util.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=
|
|
1
|
+
module.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=816)}({123:function(t,e){t.exports=require("epx-frame/lib/components/entity-list")},2:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,u){var c,s="function"==typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),i&&(s.functional=!0),o&&(s._scopeId="data-v-"+o),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},s._ssrRegister=c):r&&(c=u?function(){r.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(s.functional){s._injectStyles=c;var l=s.render;s.render=function(t,e){return c.call(e),l(t,e)}}else{var d=s.beforeCreate;s.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:s}}n.d(e,"a",(function(){return i}))},23:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(6);function r(t){var e=function(t,e){if("object"!=Object(i.a)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Object(i.a)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Object(i.a)(e)?e:e+""}},4:function(t,e,n){"use strict";var i,r=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function u(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function c(t,e){for(var n={},i=[],r=0;r<t.length;r++){var o=t[r],c=e.base?o[0]+e.base:o[0],s=n[c]||0,l="".concat(c," ").concat(s);n[c]=s+1;var d=u(l),f={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(a[d].references++,a[d].updater(f)):a.push({identifier:l,updater:m(f,e),references:1}),i.push(l)}return i}function s(t){var e=document.createElement("style"),i=t.attributes||{};if(void 0===i.nonce){var r=n.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach((function(t){e.setAttribute(t,i[t])})),"function"==typeof t.insert)t.insert(e);else{var a=o(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var l,d=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function f(t,e,n,i){var r=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(t.styleSheet)t.styleSheet.cssText=d(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function p(t,e,n){var i=n.css,r=n.media,o=n.sourceMap;if(r?t.setAttribute("media",r):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var b=null,v=0;function m(t,e){var n,i,r;if(e.singleton){var o=v++;n=b||(b=s(e)),i=f.bind(null,n,o,!1),r=f.bind(null,n,o,!0)}else n=s(e),i=p.bind(null,n,e),r=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=r());var n=c(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var i=0;i<n.length;i++){var r=u(n[i]);a[r].references--}for(var o=c(t,e),s=0;s<n.length;s++){var l=u(n[s]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=o}}}},451:function(t,e,n){"use strict";var i=n(5),r=n.n(i)()((function(t){return t[1]}));r.push([t.i,"[data-v-752b7439]:root{--color-primary: 8,116,231 }.el-tooltip font[data-v-752b7439]{display:inline-block;height:23px;width:100%}.editInput[data-v-752b7439] input::-webkit-outer-spin-button,.editInput[data-v-752b7439] input::-webkit-inner-spin-button{-webkit-appearance:none !important}.editInput[data-v-752b7439] input[type=number]{-moz-appearance:textfield !important}",""]),e.a=r},5:function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,i){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(i)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(r[a]=!0)}for(var u=0;u<t.length;u++){var c=[].concat(t[u]);i&&r[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},6:function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return i}))},7:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(23);function r(t,e,n){return(e=Object(i.a)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},8:function(t,e){t.exports=require("core-js/modules/es.function.name.js")},816:function(t,e,n){"use strict";n.r(e);n(8);var i=n(7),r=n(123),o={name:"epx-edit-entity-list",extends:n.n(r).a,data:function(){return{editField:{},inputValue:"",isEdit:!1}},methods:{renderField:function(t){var e=this,n=this.$createElement,i=(t.attribute||{}).isLabel;return{scopedSlots:{default:function(r){var o=r.row;return n("div",[e.isEdit&&e.editField.rowId===o.ID&&e.editField.columnId===t.attriName?n("el-input",{attrs:{type:"text"===e.editField.dataType?"text":"number"},on:{blur:e.blurFn.bind(e,t,o)},directives:[{name:"focus",value:!0}],nativeOn:{keyup:e.enterFn.bind(e,t,o)},class:"editInput",model:{value:e.inputValue,callback:function(t){e.inputValue=t}}}):n("font",{class:{"is-label":t.isLabel||"1"===i||t.detailPageId},attrs:{color:t.color},on:{click:e.clickField.bind(e,t,o)}},[o[t.attriName+"#"]||o[t.attriName]])])}}}},updateField:function(t,e,n){this.$http.$post(Object(i.a)({action:"update",entityId:this.$metaId,"bean.ID":t.ID},"bean.".concat(e),n))},clickField:function(t,e){if(this.editField={rowId:e.ID,columnId:t.attriName,dataType:t.dataType},"text"===t.dataType||"int"===t.dataType){this.isEdit=!0;var n=t.attriName+"#";this.inputValue=e[n]}},blurFn:function(t,e){this.isEdit=!1;var n=t.attriName+"#";e[n]!==this.inputValue&&(e[n]=this.inputValue,this.updateField(e,t.attriName,this.inputValue))},enterFn:function(t,e,n){13===n.keyCode&&(this.isEdit=!1)}},directives:{focus:{inserted:function(t){t.querySelector("input").focus()}}}},a=n(4),u=n.n(a),c=n(451),s={insert:"head",singleton:!1},l=(u()(c.a,s),c.a.locals,n(2)),d=Object(l.a)(o,void 0,void 0,!1,null,"752b7439",null).exports;d.install=function(t){t.component(d.name,d)};e.default=d}});
|
|
@@ -1,3 +1,3 @@
|
|
|
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=
|
|
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=837)}({0:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(7);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},1:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(9);var o=n(14);function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(o.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")},107:function(e,t){e.exports=require("core-js/modules/es.promise.finally.js")},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")},13:function(e,t){e.exports=require("core-js/modules/es.array.find.js")},135:function(e,t,n){"use strict";n.r(t);n(8);var r=n(87);r.a.install=function(e){e.component(r.a.name,r.a)},t.default=r.a},14:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(14);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Object(r.a)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}},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")},19:function(e,t,n){"use strict";function r(e,t,n,o){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}(r=function(e,t,n,o){function a(t,n){r(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n:(a("next",0),a("throw",1),a("return",2))})(e,t,n,o)}function o(){
|
|
2
2
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
3
|
-
var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function s(n,o,i,a){var s=o&&o.prototype instanceof u?o:u,l=Object.create(s.prototype);return r(l,"_invoke",function(n,r,o){var i,a,s,u=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,s=e,p.n=n,c}};function d(n,r){for(a=n,s=r,t=0;!f&&u&&!o&&t<l.length;t++){var o,i=l[t],d=p.p,m=i[2];n>3?(o=m===r)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,p.v=r,p.n=i[1]):d<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,p.n=m,a=0))}if(o||n>1)return c;throw f=!0,r}return function(o,l,m){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&d(l,m),a=l,s=m;(t=a<2?e:s)||!f;){i||(a?a<3?(a>1&&(p.n=-1),d(a,s)):p.n=s:p.v=s);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(f=p.n<0)?s:n.call(r,p))!==c)break}catch(t){i=e,a=1,s=t}finally{u=1}}return{value:t,done:f}}}(n,i,a),!0),l}var c={};function u(){}function l(){}function f(){}t=Object.getPrototypeOf;var p=[][i]?t(t([][i]())):(r(t={},i,(function(){return this})),t),d=f.prototype=u.prototype=Object.create(p);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=f,r(d,"constructor",f),r(f,"constructor",l),l.displayName="GeneratorFunction",r(f,a,"GeneratorFunction"),r(d),r(d,a,"Generator"),r(d,i,(function(){return this})),r(d,"toString",(function(){return"[object Generator]"})),(o=function(){return{w:s,m:m}})()}n.d(t,"a",(function(){return o}))},19:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},2:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=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(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},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,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(5);function o(e){var t=function(e,t){if("object"!=Object(r.a)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Object(r.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(r.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")},27:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},28:function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},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]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],c=t.base?i[0]+t.base:i[0],u=n[c]||0,l="".concat(c," ").concat(u);n[c]=u+1;var f=s(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:b(p,t),references:1}),r.push(l)}return r}function u(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 a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function p(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),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(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 m=null,h=0;function b(e,t){var n,r,o;if(t.singleton){var i=h++;n=m||(m=u(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=u(t),r=d.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=c(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=s(n[r]);a[o].references--}for(var i=c(e,t),u=0;u<n.length;u++){var l=s(n[u]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},31:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},32:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return o}))},34:function(e,t,n){"use strict"},36: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 a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},40:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},41:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(14);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||Object(r.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.")}()}},49:function(e,t){e.exports=require("core-js/modules/es.promise.js")},5:function(e,t,n){"use strict";function r(e){return(r="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)}n.d(t,"a",(function(){return r}))},51:function(e,t){e.exports=require("core-js/modules/es.object.values.js")},6:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(23);function o(e,t,n){return(t=Object(r.a)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},829:function(e,t,n){"use strict";n.r(t);n(8);var r=n(1),o=(n(34),n(20),n(10),n(6),n(15),n(27),n(19),n(31),n(25),{name:"epx-entity-add-page",extends:n(135).default,pageType:"ADD",items:[],itemConfigs:{},computed:{pageType:function(){var e=this.$configs.pageType,t=this.$query.pageType,n=void 0===t?e:t;return n}},methods:{getLinkAttrs:function(){var e=this,t=this.pageConfig.linkSubs,n=[];return this.$meta?(t?t.forEach((function(t){var r=e.$meta.getRelationByFlag(t);r&&n.push(r)})):"DETAIL"===this.pageType?n=this.$meta.getRelatedEntitysOfDetail():"EDIT"===this.pageType&&(n=this.$meta.getRelatedEntitysOfEdit()),n):n}},created:function(){var e=this.$component.items,t=void 0===e?[]:e,n=this.getLinkAttrs().map((function(e){return{id:"sub_".concat(e.flag),contentType:"entity-sub-list",title:e.title,configs:{relationId:e.flag}}}));0===t.length&&(t=[{id:"form",title:this.$meta.name,contentType:"add-form"}],n.length>0&&"ADD"!==this.pageType&&(t=[{id:"tabs",title:this.$t("label page"),contentType:"page-tabs",items:[{id:"form",title:this.$meta.name,contentType:"add-form"}].concat(Object(r.a)(n))}]),this.inline||"2"===this.$query.openType||t.unshift({id:"nav",contentType:"header"}),this.$set(this.$component,"items",t))}}),i=n(2),a=Object(i.a)(o,void 0,void 0,!1,null,null,null).exports;a.install=function(e){e.component(a.name,a)};t.default=a},86:function(e,t,n){"use strict";var r=function(){var e=this,t=e._self._c;return t("div",{ref:"container",class:["epx-base-page",{"epx-base-page--hidden-scroll-bar":e.$configs.scrollBarHidden}],style:e.style},[t("el-row",{ref:"row",staticClass:"epx-base-page__row",style:e.pageStyle},e._l(e.$subcomponents,(function(n){return t("el-col",e._b({key:n.id+(n.iterator&&n.iterator.key?"-"+n.iterator.key:""),class:["epx-base-page__col",{"epx-base-page__col--header":n.contentType.includes("header")}],style:e.componentStyle(n)},"el-col",e.colAttribute(n),!1),[t("epx-component",e._b({ref:"component_"+n.id,refInFor:!0,staticClass:"epx-component",attrs:{name:n.contentType,"is-component":"","content-type":n.contentType,_component:n,"comp-id":e.getComponentId(n),"comp-title":n.title,items:n.items,"comp-flex":n.flex,"comp-style":n.style,"comp-configs":n.configs}},"epx-component",e.isPage?e.$attrs:{},!1))],1)})),1)],1)};r._withStripped=!0;var o=n(47),i=n(18),a=n(32),s=n(41),c=n(7),u=(n(34),n(0)),l=n(16),f=(n(11),n(13),n(10),n(8),n(36),n(22),n(6),n(51),n(49),n(108),n(12),n(21),n(17),n(15),n(27),n(19),n(28),n(31),n(25),n(40),n(24)),p=["xsspan"];function d(){this.$children.forEach((function(e){"component"===e.$options.$componentType&&e.$refesh&&e.$refesh("page"),d.apply(e)}))}function m(e){var t,n=Object(l.a)(this.$children);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.compId===e)return r;if(r.$children){var o=m.apply(r,[e]);if(o)return o}}}catch(e){n.e(e)}finally{n.f()}}var h={name:"epx-base-page",mixins:[n.n(f).a],$componentType:"page",navConfigs:{flag:!1},style:{},layout:"grid",direction:"column",items:[{id:"nav",title:"导航",contentType:"header"}],itemConfigs:{},props:{inline:Boolean,routeKey:[String,Number],routes:{type:Array,default:function(){return[]}}},inject:["hasMenu"],data:function(){return{headerTitle:null,pageParams:{},model:{},pageEvents:{},compInfo:{},requestMap:{},watchRequestMap:{},watchComponentMap:{}}},computed:{style:function(){return!this.$configs.pageSeparatelyCenter||this.hasMenu||this.$isMobile?Object(u.a)({},this.$component.style):Object(u.a)({width:"1200px",margin:"0 auto"},this.$component.style)},pageTitle:function(){return this.headerTitle||this.page&&this.page.title||this.meta&&this.meta.name},components:function(){var e,t=this,n=this.$component.items,r=[],o=Object(l.a)(n);try{var i=function(){var n,o=e.value,i=o.configs,a=void 0===i?{}:i,s=o.id,l=t.pageConfig.itemConfigs[s]||{},f=Object(u.a)(Object(u.a)({},l),a);if(null!==(n=f.iterator)&&void 0!==n&&n.data){var p=f.iterator,d=p.data,m=p.name,h=void 0===m?"item":m,b=p.key,y=void 0===b?"ID":b,v=p.index,g=void 0===v?"index":v,j=[];if(Array.isArray(d))j=d;else{var O=/^\$\[(.+)\]$/.exec(d);O&&(j=t.pageParams[O[1]])}j&&Array.isArray(j)&&j.forEach((function(e,t){var n=e[y]||t;r.push(Object(u.a)(Object(u.a)({},o),{},{iterator:Object(c.a)(Object(c.a)(Object(c.a)({},h,e),g,t),"key",n)}))}))}else r.push(o)};for(o.s();!(e=o.n()).done;)i()}catch(e){o.e(e)}finally{o.f()}return r},colAttribute:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.xsspan,n=void 0===t?24:t,r=Object(s.a)(e,p),o=Object(u.a)(Object(u.a)({},r),{},{xs:{span:n}});return delete o.id,delete o.style,delete o.title,o}},pageStyle:function(){var e=this.$configs,t=e.layout,n=void 0===t?"grid":t,r=e.direction,o=void 0===r?"column":r,i=e.justify,a=void 0===i?"flex-start":i,s=e.align;return"flex"===n?{display:"flex","flex-direction":o,"justify-content":a,"align-items":void 0===s?"top":s}:{}},componentStyle:function(){var e=this;return function(t){var n=e.$configs.layout,r=t.flex,o={},i=e.compInfo[t.id];return void 0===r&&i&&(r=i.configs.flex),"flex"===n&&r&&(o.flex=1,o.overflow="hidden"),o}},componentConfigs:function(){var e=this;return function(t){var n=t.configs,r=void 0===n?{}:n,o=t.id,i=e.pageConfig[o]||{};return Object(u.a)(Object(u.a)({},r),i)}},isComponentIterator:function(){var e=this;return function(t){var n,r=t.configs,o=void 0===r?{}:r,i=t.id,a=e.pageConfig[i]||{};if(null!==(n=Object(u.a)(Object(u.a)({},a),o).iterator)&&void 0!==n&&n.name)return!0}},requestParamList:function(){var e=this;return Object.values(this.watchRequestMap).map((function(t){var n={action:t.action,rule:t.rule,entityId:t.metaId||e.$metaId};return t.scopeParams&&t.scopeParams.length>0&&(n.scopeParams=JSON.stringify(e.$formatScope(t.scopeParams))),t.requestParams&&(n=Object(u.a)(Object(u.a)({},n),e.$formatParams(t.requestParams))),{config:t,params:n}}))}},watch:{pageTitle:{handler:function(e){this.$emit("change-route",this.routeKey,{title:e})},immediate:!0},requestParamList:{handler:function(e){var t=this;this.requestParamList.forEach((function(e){t.oldRequestParams&&t.oldRequestParams[e.config.code]&&!t.$_.isEqual(e.params,t.oldRequestParams[e.config.code])&&t.delayRequest(e.config,e.params)}))},deep:!0}},provide:function(){if(this.isPage)return{upPage:this,pageId:this.page?this.page.pageId:"",pageMetaId:this.isPage?this.$metaId||(this.page?this.page.metaId:""):null}},methods:{getPageParams:function(){var e=this;return Object(a.a)(Object(i.a)().m((function t(){var n,r,o,a,s,c,u;return Object(i.a)().w((function(t){for(;;)switch(t.p=t.n){case 0:n=e.pageConfig.variableSets,r=void 0===n?[]:n,o=Object(l.a)(r),t.p=1,o.s();case 2:if((a=o.n()).done){t.n=8;break}if("request"!==(s=a.value).type){t.n=6;break}if(!s.action&&!s.rule){t.n=5;break}if(e.pageParams[s.code]||e.$set(e.pageParams,s.code,null),"sync"!==s.requestType){t.n=4;break}return t.n=3,e.request(s);case 3:t.n=5;break;case 4:e.request(s);case 5:t.n=7;break;case 6:c="","fixed"===s.type?(c=JSON.parse(s.value),e.$set(e.pageParams,s.code,e.getFormatValue(s,c))):"query"===s.type?(c=e.$util.getQueryValue(s.value||s.code,e.$query||e.$tab),e.$set(e.pageParams,s.code,e.getFormatValue(s,c))):"component"===s.type&&(e.pageParams[s.code]||e.$set(e.pageParams,s.code,null),e.watchCompValue(s));case 7:t.n=2;break;case 8:t.n=10;break;case 9:t.p=9,u=t.v,o.e(u);case 10:return t.p=10,o.f(),t.f(10);case 11:return t.a(2)}}),t,null,[[1,9,10,11]])})))()},$refesh:function(){d.apply(this),this.getPageParams()},setComp:function(e,t){this.$set(this.compInfo,e,t)},watchCompValue:function(e){var t=this,n=e.value.split(".")[0],r=e.value.replace(n+".",""),o=m.apply(this,[n]),i=this.$util.getQueryValue(r,o);this.$set(this.pageParams,e.code,this.getFormatValue(e,i)),o&&(this.watchComponentMap[e.code]||(o.$watch(r,(function(n){t.$set(t.pageParams,e.code,t.getFormatValue(e,n))}),{deep:!0}),this.watchComponentMap[e.code]=!0))},loadComponent:function(e){var t=Object(o.a)(e,1)[0];this.setComp(t.id,t);var n=this.pageConfig.variableSets,r=(void 0===n?[]:n).find((function(e){return"component"===e.type&&e.value.includes(t.id)}));r&&(this.watchComponentMap[r.code]=!1,this.watchCompValue(r))},delayRequest:function(e,t){var n=this;this.timer||(this.timer={}),this.timer[e.code]&&clearTimeout(this.timer[e.code]),this.timer[e.code]=setTimeout((function(){n.request(e,t),clearTimeout(n.timer[e.code])}),400)},request:function(e,t){var n=this,r={action:e.action,rule:e.rule,entityId:e.metaId||this.$metaId};return t?r=t:(e.scopeParams&&e.scopeParams.length>0&&(r.scopeParams=JSON.stringify(this.$formatScope(e.scopeParams))),e.requestParams&&(r=Object(u.a)(Object(u.a)({},r),this.$formatParams(e.requestParams)))),this.oldRequestParams||(this.oldRequestParams={}),this.oldRequestParams[e.code]=Object(u.a)({},r),this.$http.$post(r).then((function(t){var r=t;return e.value&&(r=n.$util.getQueryValue(e.value,t)),n.$set(n.pageParams,e.code,n.getFormatValue(e,r)),r})).finally((function(){n.watchRequest(e)}))},watchRequest:function(e){this.watchRequestMap[e.code]||this.$set(this.watchRequestMap,e.code,e)},getFormatValue:function(e,t){if(e.dataFormat)try{var n=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},this.$tab),this.$query),this.$pageParams),{},{user:this.user,appConfig:this.appConfig,clientConfig:this.clientConfig,CURRENT_VALUE_:t});t=this.$util.evalExpression(e.dataFormat,n)}catch(e){console.error(e)}return t},saveScrollPosition:function(){this.scrollTop=this.$refs.container.scrollTop}},created:function(){var e=this;this.$on("add-page-params",(function(t){var n=Object(o.a)(t,1)[0];e.pageParams=Object(u.a)(Object(u.a)({},e.pageParams),n)})),this.$on("load-component",this.loadComponent.bind(this))},mounted:function(){var e=this;return Object(a.a)(Object(i.a)().m((function t(){return Object(i.a)().w((function(t){for(;;)switch(t.n){case 0:e.$refs.container.addEventListener("scroll",e.saveScrollPosition),e.getPageParams();case 1:return t.a(2)}}),t)})))()},activated:function(){var e=this,t=this.$refs.container;t.addEventListener("scroll",this.saveScrollPosition),setTimeout((function(){e.scrollTop&&(t.scrollTop=e.scrollTop)}),10)},deactivated:function(){this.$refs.container.removeEventListener("scroll",this.saveScrollPosition)},beforeDestroy:function(){this.$refs.container.removeEventListener("scroll",this.saveScrollPosition)}},b=n(3),y=n.n(b),v=n(91),g={insert:"head",singleton:!1},j=(y()(v.a,g),v.a.locals,n(92)),O={insert:"head",singleton:!1},x=(y()(j.a,O),j.a.locals,n(2)),$=Object(x.a)(h,r,[],!1,null,null,null);t.a=$.exports},9:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},91: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-base-page{width:100%;height:100%;padding:0;margin:0;overflow:auto;overflow-x:hidden}.epx-base-page--hidden-scroll-bar::-webkit-scrollbar,.epx-base-page--hidden-scroll-bar::-webkit-scrollbar-thumb{background:none}.epx-base-page .epx-base-page{position:static;overflow-x:hidden;padding:0}.epx-base-page__row{height:100%;box-sizing:border-box}.epx-base-page__col{box-sizing:border-box;flex-shrink:0;min-height:0}.epx-base-page__col .epx-base-page__row{margin-right:-10px}.epx-base-page__col--header{position:sticky;left:0;top:0;z-index:101}@media screen and (max-width: 992px){.epx-base-page{padding:0}}",""]),t.a=o},92: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-component{margin:var(--margin)}",""]),t.a=o}});
|
|
3
|
+
var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function s(n,o,i,a){var s=o&&o.prototype instanceof u?o:u,l=Object.create(s.prototype);return r(l,"_invoke",function(n,r,o){var i,a,s,u=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,s=e,p.n=n,c}};function d(n,r){for(a=n,s=r,t=0;!f&&u&&!o&&t<l.length;t++){var o,i=l[t],d=p.p,m=i[2];n>3?(o=m===r)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,p.v=r,p.n=i[1]):d<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,p.n=m,a=0))}if(o||n>1)return c;throw f=!0,r}return function(o,l,m){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&d(l,m),a=l,s=m;(t=a<2?e:s)||!f;){i||(a?a<3?(a>1&&(p.n=-1),d(a,s)):p.n=s:p.v=s);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(f=p.n<0)?s:n.call(r,p))!==c)break}catch(t){i=e,a=1,s=t}finally{u=1}}return{value:t,done:f}}}(n,i,a),!0),l}var c={};function u(){}function l(){}function f(){}t=Object.getPrototypeOf;var p=[][i]?t(t([][i]())):(r(t={},i,(function(){return this})),t),d=f.prototype=u.prototype=Object.create(p);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=f,r(d,"constructor",f),r(f,"constructor",l),l.displayName="GeneratorFunction",r(f,a,"GeneratorFunction"),r(d),r(d,a,"Generator"),r(d,i,(function(){return this})),r(d,"toString",(function(){return"[object Generator]"})),(o=function(){return{w:s,m:m}})()}n.d(t,"a",(function(){return o}))},2:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=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(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},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,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(6);function o(e){var t=function(e,t){if("object"!=Object(r.a)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Object(r.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(r.a)(t)?t:t+""}},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")},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")},33:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return o}))},35:function(e,t,n){"use strict"},36: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]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],c=t.base?i[0]+t.base:i[0],u=n[c]||0,l="".concat(c," ").concat(u);n[c]=u+1;var f=s(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:b(p,t),references:1}),r.push(l)}return r}function u(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 a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function p(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),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(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 m=null,h=0;function b(e,t){var n,r,o;if(t.singleton){var i=h++;n=m||(m=u(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=u(t),r=d.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=c(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=s(n[r]);a[o].references--}for(var i=c(e,t),u=0;u<n.length;u++){var l=s(n[u]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},40:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},41:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},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 a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},50:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(14);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||Object(r.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.")}()}},51:function(e,t){e.exports=require("core-js/modules/es.promise.js")},52:function(e,t){e.exports=require("core-js/modules/es.object.values.js")},6:function(e,t,n){"use strict";function r(e){return(r="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)}n.d(t,"a",(function(){return r}))},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(23);function o(e,t,n){return(t=Object(r.a)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},837:function(e,t,n){"use strict";n.r(t);n(8);var r=n(1),o=(n(35),n(18),n(10),n(3),n(11),n(26),n(17),n(28),n(27),{name:"epx-entity-add-page",extends:n(135).default,pageType:"ADD",items:[],itemConfigs:{},computed:{pageType:function(){var e=this.$configs.pageType,t=this.$query.pageType,n=void 0===t?e:t;return n}},methods:{getLinkAttrs:function(){var e=this,t=this.pageConfig.linkSubs,n=[];return this.$meta?(t?t.forEach((function(t){var r=e.$meta.getRelationByFlag(t);r&&n.push(r)})):"DETAIL"===this.pageType?n=this.$meta.getRelatedEntitysOfDetail():"EDIT"===this.pageType&&(n=this.$meta.getRelatedEntitysOfEdit()),n):n}},created:function(){var e=this.$component.items,t=void 0===e?[]:e,n=this.getLinkAttrs().map((function(e){return{id:"sub_".concat(e.flag),contentType:"entity-sub-list",title:e.title,configs:{relationId:e.flag}}}));0===t.length&&(t=[{id:"form",title:this.$meta.name,contentType:"add-form"}],n.length>0&&"ADD"!==this.pageType&&(t=[{id:"tabs",title:this.$t("label page"),contentType:"page-tabs",items:[{id:"form",title:this.$meta.name,contentType:"add-form"}].concat(Object(r.a)(n))}]),this.inline||"2"===this.$query.openType||t.unshift({id:"nav",contentType:"header"}),this.$set(this.$component,"items",t))}}),i=n(2),a=Object(i.a)(o,void 0,void 0,!1,null,null,null).exports;a.install=function(e){e.component(a.name,a)};t.default=a},87:function(e,t,n){"use strict";var r=function(){var e=this,t=e._self._c;return t("div",{ref:"container",class:["epx-base-page",{"epx-base-page--hidden-scroll-bar":e.$configs.scrollBarHidden}],style:e.style},[t("el-row",{ref:"row",staticClass:"epx-base-page__row",style:e.pageStyle},e._l(e.$subcomponents,(function(n){return t("el-col",e._b({key:n.id+(n.iterator&&n.iterator.key?"-"+n.iterator.key:""),class:["epx-base-page__col",{"epx-base-page__col--header":n.contentType.includes("header")}],style:e.componentStyle(n)},"el-col",e.colAttribute(n),!1),[t("epx-component",e._b({ref:"component_"+n.id,refInFor:!0,staticClass:"epx-component",attrs:{name:n.contentType,"is-component":"","content-type":n.contentType,_component:n,"comp-id":e.getComponentId(n),"comp-title":n.title,items:n.items,"comp-flex":n.flex,"comp-style":n.style,"comp-configs":n.configs}},"epx-component",e.isPage?e.$attrs:{},!1))],1)})),1)],1)};r._withStripped=!0;var o=n(50),i=n(19),a=n(33),s=n(41),c=n(7),u=(n(35),n(0)),l=n(15),f=(n(13),n(16),n(10),n(8),n(36),n(21),n(3),n(52),n(51),n(107),n(12),n(22),n(20),n(11),n(26),n(17),n(30),n(28),n(27),n(40),n(25)),p=["xsspan"];function d(){this.$children.forEach((function(e){"component"===e.$options.$componentType&&e.$refesh&&e.$refesh("page"),d.apply(e)}))}function m(e){var t,n=Object(l.a)(this.$children);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.compId===e)return r;if(r.$children){var o=m.apply(r,[e]);if(o)return o}}}catch(e){n.e(e)}finally{n.f()}}var h={name:"epx-base-page",mixins:[n.n(f).a],$componentType:"page",navConfigs:{flag:!1},style:{},layout:"grid",direction:"column",items:[{id:"nav",title:"导航",contentType:"header"}],itemConfigs:{},props:{inline:Boolean,routeKey:[String,Number],routes:{type:Array,default:function(){return[]}}},inject:["hasMenu"],data:function(){return{headerTitle:null,pageParams:{},model:{},pageEvents:{},compInfo:{},requestMap:{},watchRequestMap:{},watchComponentMap:{}}},computed:{style:function(){return!this.$configs.pageSeparatelyCenter||this.hasMenu||this.$isMobile?Object(u.a)({},this.$component.style):Object(u.a)({width:"1200px",margin:"0 auto"},this.$component.style)},pageTitle:function(){return this.headerTitle||this.page&&this.page.title||this.meta&&this.meta.name},components:function(){var e,t=this,n=this.$component.items,r=[],o=Object(l.a)(n);try{var i=function(){var n,o=e.value,i=o.configs,a=void 0===i?{}:i,s=o.id,l=t.pageConfig.itemConfigs[s]||{},f=Object(u.a)(Object(u.a)({},l),a);if(null!==(n=f.iterator)&&void 0!==n&&n.data){var p=f.iterator,d=p.data,m=p.name,h=void 0===m?"item":m,b=p.key,y=void 0===b?"ID":b,v=p.index,g=void 0===v?"index":v,j=[];if(Array.isArray(d))j=d;else{var O=/^\$\[(.+)\]$/.exec(d);O&&(j=t.pageParams[O[1]])}j&&Array.isArray(j)&&j.forEach((function(e,t){var n=e[y]||t;r.push(Object(u.a)(Object(u.a)({},o),{},{iterator:Object(c.a)(Object(c.a)(Object(c.a)({},h,e),g,t),"key",n)}))}))}else r.push(o)};for(o.s();!(e=o.n()).done;)i()}catch(e){o.e(e)}finally{o.f()}return r},colAttribute:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.xsspan,n=void 0===t?24:t,r=Object(s.a)(e,p),o=Object(u.a)(Object(u.a)({},r),{},{xs:{span:n}});return delete o.id,delete o.style,delete o.title,o}},pageStyle:function(){var e=this.$configs,t=e.layout,n=void 0===t?"grid":t,r=e.direction,o=void 0===r?"column":r,i=e.justify,a=void 0===i?"flex-start":i,s=e.align;return"flex"===n?{display:"flex","flex-direction":o,"justify-content":a,"align-items":void 0===s?"top":s}:{}},componentStyle:function(){var e=this;return function(t){var n=e.$configs.layout,r=t.flex,o={},i=e.compInfo[t.id];return void 0===r&&i&&(r=i.configs.flex),"flex"===n&&r&&(o.flex=1,o.overflow="hidden"),o}},componentConfigs:function(){var e=this;return function(t){var n=t.configs,r=void 0===n?{}:n,o=t.id,i=e.pageConfig[o]||{};return Object(u.a)(Object(u.a)({},r),i)}},isComponentIterator:function(){var e=this;return function(t){var n,r=t.configs,o=void 0===r?{}:r,i=t.id,a=e.pageConfig[i]||{};if(null!==(n=Object(u.a)(Object(u.a)({},a),o).iterator)&&void 0!==n&&n.name)return!0}},requestParamList:function(){var e=this;return Object.values(this.watchRequestMap).map((function(t){var n={action:t.action,rule:t.rule,entityId:t.metaId||e.$metaId};return t.scopeParams&&t.scopeParams.length>0&&(n.scopeParams=JSON.stringify(e.$formatScope(t.scopeParams))),t.requestParams&&(n=Object(u.a)(Object(u.a)({},n),e.$formatParams(t.requestParams))),{config:t,params:n}}))}},watch:{pageTitle:{handler:function(e){this.$emit("change-route",this.routeKey,{title:e})},immediate:!0},requestParamList:{handler:function(e){var t=this;this.requestParamList.forEach((function(e){t.oldRequestParams&&t.oldRequestParams[e.config.code]&&!t.$_.isEqual(e.params,t.oldRequestParams[e.config.code])&&t.delayRequest(e.config,e.params)}))},deep:!0}},provide:function(){if(this.isPage)return{upPage:this,pageId:this.page?this.page.pageId:"",pageMetaId:this.isPage?this.$metaId||(this.page?this.page.metaId:""):null}},methods:{getPageParams:function(){var e=this;return Object(a.a)(Object(i.a)().m((function t(){var n,r,o,a,s,c,u;return Object(i.a)().w((function(t){for(;;)switch(t.p=t.n){case 0:n=e.pageConfig.variableSets,r=void 0===n?[]:n,o=Object(l.a)(r),t.p=1,o.s();case 2:if((a=o.n()).done){t.n=8;break}if("request"!==(s=a.value).type){t.n=6;break}if(!s.action&&!s.rule){t.n=5;break}if(e.pageParams[s.code]||e.$set(e.pageParams,s.code,null),"sync"!==s.requestType){t.n=4;break}return t.n=3,e.request(s);case 3:t.n=5;break;case 4:e.request(s);case 5:t.n=7;break;case 6:c="","fixed"===s.type?(c=JSON.parse(s.value),e.$set(e.pageParams,s.code,e.getFormatValue(s,c))):"query"===s.type?(c=e.$util.getQueryValue(s.value||s.code,e.$query||e.$tab),e.$set(e.pageParams,s.code,e.getFormatValue(s,c))):"component"===s.type&&(e.pageParams[s.code]||e.$set(e.pageParams,s.code,null),e.watchCompValue(s));case 7:t.n=2;break;case 8:t.n=10;break;case 9:t.p=9,u=t.v,o.e(u);case 10:return t.p=10,o.f(),t.f(10);case 11:return t.a(2)}}),t,null,[[1,9,10,11]])})))()},$refesh:function(){d.apply(this),this.getPageParams()},setComp:function(e,t){this.$set(this.compInfo,e,t)},watchCompValue:function(e){var t=this,n=e.value.split(".")[0],r=e.value.replace(n+".",""),o=m.apply(this,[n]),i=this.$util.getQueryValue(r,o);this.$set(this.pageParams,e.code,this.getFormatValue(e,i)),o&&(this.watchComponentMap[e.code]||(o.$watch(r,(function(n){t.$set(t.pageParams,e.code,t.getFormatValue(e,n))}),{deep:!0}),this.watchComponentMap[e.code]=!0))},loadComponent:function(e){var t=Object(o.a)(e,1)[0];this.setComp(t.id,t);var n=this.pageConfig.variableSets,r=(void 0===n?[]:n).find((function(e){return"component"===e.type&&e.value.includes(t.id)}));r&&(this.watchComponentMap[r.code]=!1,this.watchCompValue(r))},delayRequest:function(e,t){var n=this;this.timer||(this.timer={}),this.timer[e.code]&&clearTimeout(this.timer[e.code]),this.timer[e.code]=setTimeout((function(){n.request(e,t),clearTimeout(n.timer[e.code])}),400)},request:function(e,t){var n=this,r={action:e.action,rule:e.rule,entityId:e.metaId||this.$metaId};return t?r=t:(e.scopeParams&&e.scopeParams.length>0&&(r.scopeParams=JSON.stringify(this.$formatScope(e.scopeParams))),e.requestParams&&(r=Object(u.a)(Object(u.a)({},r),this.$formatParams(e.requestParams)))),this.oldRequestParams||(this.oldRequestParams={}),this.oldRequestParams[e.code]=Object(u.a)({},r),this.$http.$post(r).then((function(t){var r=t;return e.value&&(r=n.$util.getQueryValue(e.value,t)),n.$set(n.pageParams,e.code,n.getFormatValue(e,r)),r})).finally((function(){n.watchRequest(e)}))},watchRequest:function(e){this.watchRequestMap[e.code]||this.$set(this.watchRequestMap,e.code,e)},getFormatValue:function(e,t){if(e.dataFormat)try{var n=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},this.$tab),this.$query),this.$pageParams),{},{user:this.user,appConfig:this.appConfig,clientConfig:this.clientConfig,$currentRole:this.$currentRole,CURRENT_VALUE_:t});t=this.$util.evalExpression(e.dataFormat,n)}catch(e){console.error(e)}return t},saveScrollPosition:function(){this.scrollTop=this.$refs.container.scrollTop}},created:function(){var e=this;this.$on("add-page-params",(function(t){var n=Object(o.a)(t,1)[0];e.pageParams=Object(u.a)(Object(u.a)({},e.pageParams),n)})),this.$on("load-component",this.loadComponent.bind(this))},mounted:function(){var e=this;return Object(a.a)(Object(i.a)().m((function t(){return Object(i.a)().w((function(t){for(;;)switch(t.n){case 0:e.$refs.container.addEventListener("scroll",e.saveScrollPosition),e.getPageParams();case 1:return t.a(2)}}),t)})))()},activated:function(){var e=this,t=this.$refs.container;t.addEventListener("scroll",this.saveScrollPosition),setTimeout((function(){e.scrollTop&&(t.scrollTop=e.scrollTop)}),10)},deactivated:function(){this.$refs.container.removeEventListener("scroll",this.saveScrollPosition)},beforeDestroy:function(){this.$refs.container.removeEventListener("scroll",this.saveScrollPosition)}},b=n(4),y=n.n(b),v=n(92),g={insert:"head",singleton:!1},j=(y()(v.a,g),v.a.locals,n(93)),O={insert:"head",singleton:!1},x=(y()(j.a,O),j.a.locals,n(2)),$=Object(x.a)(h,r,[],!1,null,null,null);t.a=$.exports},9:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},92: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-base-page{width:100%;height:100%;padding:0;margin:0;overflow:auto;overflow-x:hidden}.epx-base-page--hidden-scroll-bar::-webkit-scrollbar,.epx-base-page--hidden-scroll-bar::-webkit-scrollbar-thumb{background:none}.epx-base-page .epx-base-page{position:static;overflow-x:hidden;padding:0}.epx-base-page__row{height:100%;box-sizing:border-box}.epx-base-page__col{box-sizing:border-box;flex-shrink:0;min-height:0}.epx-base-page__col .epx-base-page__row{margin-right:-10px}.epx-base-page__col--header{position:sticky;left:0;top:0;z-index:101}@media screen and (max-width: 992px){.epx-base-page{padding:0}}",""]),t.a=o},93: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-component{margin:var(--margin)}",""]),t.a=o}});
|
|
@@ -1,3 +1,3 @@
|
|
|
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=
|
|
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=838)}({0:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(7);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},10:function(e,t){e.exports=require("core-js/modules/es.array.map.js")},107:function(e,t){e.exports=require("core-js/modules/es.promise.finally.js")},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")},13:function(e,t){e.exports=require("core-js/modules/es.array.find.js")},135:function(e,t,n){"use strict";n.r(t);n(8);var r=n(87);r.a.install=function(e){e.component(r.a.name,r.a)},t.default=r.a},14:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(14);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Object(r.a)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}},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")},19:function(e,t,n){"use strict";function r(e,t,n,o){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}(r=function(e,t,n,o){function a(t,n){r(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n:(a("next",0),a("throw",1),a("return",2))})(e,t,n,o)}function o(){
|
|
2
2
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
3
|
-
var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function s(n,o,i,a){var s=o&&o.prototype instanceof u?o:u,l=Object.create(s.prototype);return r(l,"_invoke",function(n,r,o){var i,a,s,u=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,s=e,p.n=n,c}};function d(n,r){for(a=n,s=r,t=0;!f&&u&&!o&&t<l.length;t++){var o,i=l[t],d=p.p,m=i[2];n>3?(o=m===r)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,p.v=r,p.n=i[1]):d<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,p.n=m,a=0))}if(o||n>1)return c;throw f=!0,r}return function(o,l,m){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&d(l,m),a=l,s=m;(t=a<2?e:s)||!f;){i||(a?a<3?(a>1&&(p.n=-1),d(a,s)):p.n=s:p.v=s);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(f=p.n<0)?s:n.call(r,p))!==c)break}catch(t){i=e,a=1,s=t}finally{u=1}}return{value:t,done:f}}}(n,i,a),!0),l}var c={};function u(){}function l(){}function f(){}t=Object.getPrototypeOf;var p=[][i]?t(t([][i]())):(r(t={},i,(function(){return this})),t),d=f.prototype=u.prototype=Object.create(p);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=f,r(d,"constructor",f),r(f,"constructor",l),l.displayName="GeneratorFunction",r(f,a,"GeneratorFunction"),r(d),r(d,a,"Generator"),r(d,i,(function(){return this})),r(d,"toString",(function(){return"[object Generator]"})),(o=function(){return{w:s,m:m}})()}n.d(t,"a",(function(){return o}))},19:function(e,t){e.exports=require("core-js/modules/es.iterator.constructor.js")},2:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=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(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},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,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(5);function o(e){var t=function(e,t){if("object"!=Object(r.a)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Object(r.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(r.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")},27:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},28:function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},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]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],c=t.base?i[0]+t.base:i[0],u=n[c]||0,l="".concat(c," ").concat(u);n[c]=u+1;var f=s(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:v(p,t),references:1}),r.push(l)}return r}function u(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 a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function p(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),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(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 m=null,h=0;function v(e,t){var n,r,o;if(t.singleton){var i=h++;n=m||(m=u(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=u(t),r=d.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=c(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=s(n[r]);a[o].references--}for(var i=c(e,t),u=0;u<n.length;u++){var l=s(n[u]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},31:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},32:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return o}))},34:function(e,t,n){"use strict"},36: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 a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},40:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},41:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(14);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||Object(r.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.")}()}},49:function(e,t){e.exports=require("core-js/modules/es.promise.js")},5:function(e,t,n){"use strict";function r(e){return(r="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)}n.d(t,"a",(function(){return r}))},51:function(e,t){e.exports=require("core-js/modules/es.object.values.js")},6:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(23);function o(e,t,n){return(t=Object(r.a)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},830:function(e,t,n){"use strict";n.r(t);n(34),n(8);var r={name:"epx-entity-apply-page",extends:n(135).default,pageType:"ADD",items:[],itemConfigs:{},computed:{pageType:function(){var e=this.$configs.pageType,t=this.$query.pageType,n=void 0===t?e:t;return n}},created:function(){var e=this.$component.items,t=void 0===e?[]:e,n=this.$query.isSub;0===t.length&&(t=[{id:"form",title:this.$meta.name,contentType:"apply-form",items:[{id:"form_item",title:this.$t("application information"),contentType:"add-form-item"},{id:"check_history",title:this.$t("approval process"),contentType:"check-history"}]}],n||this.inline||"2"===this.$query.openType||t.unshift({id:"nav",contentType:"header"}),this.$set(this.$component,"items",t))}},o=n(2),i=Object(o.a)(r,void 0,void 0,!1,null,null,null).exports;t.default=i},86:function(e,t,n){"use strict";var r=function(){var e=this,t=e._self._c;return t("div",{ref:"container",class:["epx-base-page",{"epx-base-page--hidden-scroll-bar":e.$configs.scrollBarHidden}],style:e.style},[t("el-row",{ref:"row",staticClass:"epx-base-page__row",style:e.pageStyle},e._l(e.$subcomponents,(function(n){return t("el-col",e._b({key:n.id+(n.iterator&&n.iterator.key?"-"+n.iterator.key:""),class:["epx-base-page__col",{"epx-base-page__col--header":n.contentType.includes("header")}],style:e.componentStyle(n)},"el-col",e.colAttribute(n),!1),[t("epx-component",e._b({ref:"component_"+n.id,refInFor:!0,staticClass:"epx-component",attrs:{name:n.contentType,"is-component":"","content-type":n.contentType,_component:n,"comp-id":e.getComponentId(n),"comp-title":n.title,items:n.items,"comp-flex":n.flex,"comp-style":n.style,"comp-configs":n.configs}},"epx-component",e.isPage?e.$attrs:{},!1))],1)})),1)],1)};r._withStripped=!0;var o=n(47),i=n(18),a=n(32),s=n(41),c=n(7),u=(n(34),n(0)),l=n(16),f=(n(11),n(13),n(10),n(8),n(36),n(22),n(6),n(51),n(49),n(108),n(12),n(21),n(17),n(15),n(27),n(19),n(28),n(31),n(25),n(40),n(24)),p=["xsspan"];function d(){this.$children.forEach((function(e){"component"===e.$options.$componentType&&e.$refesh&&e.$refesh("page"),d.apply(e)}))}function m(e){var t,n=Object(l.a)(this.$children);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.compId===e)return r;if(r.$children){var o=m.apply(r,[e]);if(o)return o}}}catch(e){n.e(e)}finally{n.f()}}var h={name:"epx-base-page",mixins:[n.n(f).a],$componentType:"page",navConfigs:{flag:!1},style:{},layout:"grid",direction:"column",items:[{id:"nav",title:"导航",contentType:"header"}],itemConfigs:{},props:{inline:Boolean,routeKey:[String,Number],routes:{type:Array,default:function(){return[]}}},inject:["hasMenu"],data:function(){return{headerTitle:null,pageParams:{},model:{},pageEvents:{},compInfo:{},requestMap:{},watchRequestMap:{},watchComponentMap:{}}},computed:{style:function(){return!this.$configs.pageSeparatelyCenter||this.hasMenu||this.$isMobile?Object(u.a)({},this.$component.style):Object(u.a)({width:"1200px",margin:"0 auto"},this.$component.style)},pageTitle:function(){return this.headerTitle||this.page&&this.page.title||this.meta&&this.meta.name},components:function(){var e,t=this,n=this.$component.items,r=[],o=Object(l.a)(n);try{var i=function(){var n,o=e.value,i=o.configs,a=void 0===i?{}:i,s=o.id,l=t.pageConfig.itemConfigs[s]||{},f=Object(u.a)(Object(u.a)({},l),a);if(null!==(n=f.iterator)&&void 0!==n&&n.data){var p=f.iterator,d=p.data,m=p.name,h=void 0===m?"item":m,v=p.key,y=void 0===v?"ID":v,b=p.index,g=void 0===b?"index":b,j=[];if(Array.isArray(d))j=d;else{var x=/^\$\[(.+)\]$/.exec(d);x&&(j=t.pageParams[x[1]])}j&&Array.isArray(j)&&j.forEach((function(e,t){var n=e[y]||t;r.push(Object(u.a)(Object(u.a)({},o),{},{iterator:Object(c.a)(Object(c.a)(Object(c.a)({},h,e),g,t),"key",n)}))}))}else r.push(o)};for(o.s();!(e=o.n()).done;)i()}catch(e){o.e(e)}finally{o.f()}return r},colAttribute:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.xsspan,n=void 0===t?24:t,r=Object(s.a)(e,p),o=Object(u.a)(Object(u.a)({},r),{},{xs:{span:n}});return delete o.id,delete o.style,delete o.title,o}},pageStyle:function(){var e=this.$configs,t=e.layout,n=void 0===t?"grid":t,r=e.direction,o=void 0===r?"column":r,i=e.justify,a=void 0===i?"flex-start":i,s=e.align;return"flex"===n?{display:"flex","flex-direction":o,"justify-content":a,"align-items":void 0===s?"top":s}:{}},componentStyle:function(){var e=this;return function(t){var n=e.$configs.layout,r=t.flex,o={},i=e.compInfo[t.id];return void 0===r&&i&&(r=i.configs.flex),"flex"===n&&r&&(o.flex=1,o.overflow="hidden"),o}},componentConfigs:function(){var e=this;return function(t){var n=t.configs,r=void 0===n?{}:n,o=t.id,i=e.pageConfig[o]||{};return Object(u.a)(Object(u.a)({},r),i)}},isComponentIterator:function(){var e=this;return function(t){var n,r=t.configs,o=void 0===r?{}:r,i=t.id,a=e.pageConfig[i]||{};if(null!==(n=Object(u.a)(Object(u.a)({},a),o).iterator)&&void 0!==n&&n.name)return!0}},requestParamList:function(){var e=this;return Object.values(this.watchRequestMap).map((function(t){var n={action:t.action,rule:t.rule,entityId:t.metaId||e.$metaId};return t.scopeParams&&t.scopeParams.length>0&&(n.scopeParams=JSON.stringify(e.$formatScope(t.scopeParams))),t.requestParams&&(n=Object(u.a)(Object(u.a)({},n),e.$formatParams(t.requestParams))),{config:t,params:n}}))}},watch:{pageTitle:{handler:function(e){this.$emit("change-route",this.routeKey,{title:e})},immediate:!0},requestParamList:{handler:function(e){var t=this;this.requestParamList.forEach((function(e){t.oldRequestParams&&t.oldRequestParams[e.config.code]&&!t.$_.isEqual(e.params,t.oldRequestParams[e.config.code])&&t.delayRequest(e.config,e.params)}))},deep:!0}},provide:function(){if(this.isPage)return{upPage:this,pageId:this.page?this.page.pageId:"",pageMetaId:this.isPage?this.$metaId||(this.page?this.page.metaId:""):null}},methods:{getPageParams:function(){var e=this;return Object(a.a)(Object(i.a)().m((function t(){var n,r,o,a,s,c,u;return Object(i.a)().w((function(t){for(;;)switch(t.p=t.n){case 0:n=e.pageConfig.variableSets,r=void 0===n?[]:n,o=Object(l.a)(r),t.p=1,o.s();case 2:if((a=o.n()).done){t.n=8;break}if("request"!==(s=a.value).type){t.n=6;break}if(!s.action&&!s.rule){t.n=5;break}if(e.pageParams[s.code]||e.$set(e.pageParams,s.code,null),"sync"!==s.requestType){t.n=4;break}return t.n=3,e.request(s);case 3:t.n=5;break;case 4:e.request(s);case 5:t.n=7;break;case 6:c="","fixed"===s.type?(c=JSON.parse(s.value),e.$set(e.pageParams,s.code,e.getFormatValue(s,c))):"query"===s.type?(c=e.$util.getQueryValue(s.value||s.code,e.$query||e.$tab),e.$set(e.pageParams,s.code,e.getFormatValue(s,c))):"component"===s.type&&(e.pageParams[s.code]||e.$set(e.pageParams,s.code,null),e.watchCompValue(s));case 7:t.n=2;break;case 8:t.n=10;break;case 9:t.p=9,u=t.v,o.e(u);case 10:return t.p=10,o.f(),t.f(10);case 11:return t.a(2)}}),t,null,[[1,9,10,11]])})))()},$refesh:function(){d.apply(this),this.getPageParams()},setComp:function(e,t){this.$set(this.compInfo,e,t)},watchCompValue:function(e){var t=this,n=e.value.split(".")[0],r=e.value.replace(n+".",""),o=m.apply(this,[n]),i=this.$util.getQueryValue(r,o);this.$set(this.pageParams,e.code,this.getFormatValue(e,i)),o&&(this.watchComponentMap[e.code]||(o.$watch(r,(function(n){t.$set(t.pageParams,e.code,t.getFormatValue(e,n))}),{deep:!0}),this.watchComponentMap[e.code]=!0))},loadComponent:function(e){var t=Object(o.a)(e,1)[0];this.setComp(t.id,t);var n=this.pageConfig.variableSets,r=(void 0===n?[]:n).find((function(e){return"component"===e.type&&e.value.includes(t.id)}));r&&(this.watchComponentMap[r.code]=!1,this.watchCompValue(r))},delayRequest:function(e,t){var n=this;this.timer||(this.timer={}),this.timer[e.code]&&clearTimeout(this.timer[e.code]),this.timer[e.code]=setTimeout((function(){n.request(e,t),clearTimeout(n.timer[e.code])}),400)},request:function(e,t){var n=this,r={action:e.action,rule:e.rule,entityId:e.metaId||this.$metaId};return t?r=t:(e.scopeParams&&e.scopeParams.length>0&&(r.scopeParams=JSON.stringify(this.$formatScope(e.scopeParams))),e.requestParams&&(r=Object(u.a)(Object(u.a)({},r),this.$formatParams(e.requestParams)))),this.oldRequestParams||(this.oldRequestParams={}),this.oldRequestParams[e.code]=Object(u.a)({},r),this.$http.$post(r).then((function(t){var r=t;return e.value&&(r=n.$util.getQueryValue(e.value,t)),n.$set(n.pageParams,e.code,n.getFormatValue(e,r)),r})).finally((function(){n.watchRequest(e)}))},watchRequest:function(e){this.watchRequestMap[e.code]||this.$set(this.watchRequestMap,e.code,e)},getFormatValue:function(e,t){if(e.dataFormat)try{var n=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},this.$tab),this.$query),this.$pageParams),{},{user:this.user,appConfig:this.appConfig,clientConfig:this.clientConfig,CURRENT_VALUE_:t});t=this.$util.evalExpression(e.dataFormat,n)}catch(e){console.error(e)}return t},saveScrollPosition:function(){this.scrollTop=this.$refs.container.scrollTop}},created:function(){var e=this;this.$on("add-page-params",(function(t){var n=Object(o.a)(t,1)[0];e.pageParams=Object(u.a)(Object(u.a)({},e.pageParams),n)})),this.$on("load-component",this.loadComponent.bind(this))},mounted:function(){var e=this;return Object(a.a)(Object(i.a)().m((function t(){return Object(i.a)().w((function(t){for(;;)switch(t.n){case 0:e.$refs.container.addEventListener("scroll",e.saveScrollPosition),e.getPageParams();case 1:return t.a(2)}}),t)})))()},activated:function(){var e=this,t=this.$refs.container;t.addEventListener("scroll",this.saveScrollPosition),setTimeout((function(){e.scrollTop&&(t.scrollTop=e.scrollTop)}),10)},deactivated:function(){this.$refs.container.removeEventListener("scroll",this.saveScrollPosition)},beforeDestroy:function(){this.$refs.container.removeEventListener("scroll",this.saveScrollPosition)}},v=n(3),y=n.n(v),b=n(91),g={insert:"head",singleton:!1},j=(y()(b.a,g),b.a.locals,n(92)),x={insert:"head",singleton:!1},O=(y()(j.a,x),j.a.locals,n(2)),P=Object(O.a)(h,r,[],!1,null,null,null);t.a=P.exports},9:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},91: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-base-page{width:100%;height:100%;padding:0;margin:0;overflow:auto;overflow-x:hidden}.epx-base-page--hidden-scroll-bar::-webkit-scrollbar,.epx-base-page--hidden-scroll-bar::-webkit-scrollbar-thumb{background:none}.epx-base-page .epx-base-page{position:static;overflow-x:hidden;padding:0}.epx-base-page__row{height:100%;box-sizing:border-box}.epx-base-page__col{box-sizing:border-box;flex-shrink:0;min-height:0}.epx-base-page__col .epx-base-page__row{margin-right:-10px}.epx-base-page__col--header{position:sticky;left:0;top:0;z-index:101}@media screen and (max-width: 992px){.epx-base-page{padding:0}}",""]),t.a=o},92: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-component{margin:var(--margin)}",""]),t.a=o}});
|
|
3
|
+
var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function s(n,o,i,a){var s=o&&o.prototype instanceof u?o:u,l=Object.create(s.prototype);return r(l,"_invoke",function(n,r,o){var i,a,s,u=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,s=e,p.n=n,c}};function d(n,r){for(a=n,s=r,t=0;!f&&u&&!o&&t<l.length;t++){var o,i=l[t],d=p.p,m=i[2];n>3?(o=m===r)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,p.v=r,p.n=i[1]):d<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,p.n=m,a=0))}if(o||n>1)return c;throw f=!0,r}return function(o,l,m){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&d(l,m),a=l,s=m;(t=a<2?e:s)||!f;){i||(a?a<3?(a>1&&(p.n=-1),d(a,s)):p.n=s:p.v=s);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(f=p.n<0)?s:n.call(r,p))!==c)break}catch(t){i=e,a=1,s=t}finally{u=1}}return{value:t,done:f}}}(n,i,a),!0),l}var c={};function u(){}function l(){}function f(){}t=Object.getPrototypeOf;var p=[][i]?t(t([][i]())):(r(t={},i,(function(){return this})),t),d=f.prototype=u.prototype=Object.create(p);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=f,r(d,"constructor",f),r(f,"constructor",l),l.displayName="GeneratorFunction",r(f,a,"GeneratorFunction"),r(d),r(d,a,"Generator"),r(d,i,(function(){return this})),r(d,"toString",(function(){return"[object Generator]"})),(o=function(){return{w:s,m:m}})()}n.d(t,"a",(function(){return o}))},2:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=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(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},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,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(6);function o(e){var t=function(e,t){if("object"!=Object(r.a)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Object(r.a)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Object(r.a)(t)?t:t+""}},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")},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")},33:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return o}))},35:function(e,t,n){"use strict"},36: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]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],c=t.base?i[0]+t.base:i[0],u=n[c]||0,l="".concat(c," ").concat(u);n[c]=u+1;var f=s(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:v(p,t),references:1}),r.push(l)}return r}function u(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 a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function p(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),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(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 m=null,h=0;function v(e,t){var n,r,o;if(t.singleton){var i=h++;n=m||(m=u(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=u(t),r=d.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=c(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=s(n[r]);a[o].references--}for(var i=c(e,t),u=0;u<n.length;u++){var l=s(n[u]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},40:function(e,t){e.exports=require("core-js/modules/es.json.stringify.js")},41:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},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 a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},50:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(14);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||Object(r.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.")}()}},51:function(e,t){e.exports=require("core-js/modules/es.promise.js")},52:function(e,t){e.exports=require("core-js/modules/es.object.values.js")},6:function(e,t,n){"use strict";function r(e){return(r="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)}n.d(t,"a",(function(){return r}))},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(23);function o(e,t,n){return(t=Object(r.a)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},838:function(e,t,n){"use strict";n.r(t);n(35),n(8);var r={name:"epx-entity-apply-page",extends:n(135).default,pageType:"ADD",items:[],itemConfigs:{},computed:{pageType:function(){var e=this.$configs.pageType,t=this.$query.pageType,n=void 0===t?e:t;return n}},created:function(){var e=this.$component.items,t=void 0===e?[]:e,n=this.$query.isSub;0===t.length&&(t=[{id:"form",title:this.$meta.name,contentType:"apply-form",items:[{id:"form_item",title:this.$t("application information"),contentType:"add-form-item"},{id:"check_history",title:this.$t("approval process"),contentType:"check-history"}]}],n||this.inline||"2"===this.$query.openType||t.unshift({id:"nav",contentType:"header"}),this.$set(this.$component,"items",t))}},o=n(2),i=Object(o.a)(r,void 0,void 0,!1,null,null,null).exports;t.default=i},87:function(e,t,n){"use strict";var r=function(){var e=this,t=e._self._c;return t("div",{ref:"container",class:["epx-base-page",{"epx-base-page--hidden-scroll-bar":e.$configs.scrollBarHidden}],style:e.style},[t("el-row",{ref:"row",staticClass:"epx-base-page__row",style:e.pageStyle},e._l(e.$subcomponents,(function(n){return t("el-col",e._b({key:n.id+(n.iterator&&n.iterator.key?"-"+n.iterator.key:""),class:["epx-base-page__col",{"epx-base-page__col--header":n.contentType.includes("header")}],style:e.componentStyle(n)},"el-col",e.colAttribute(n),!1),[t("epx-component",e._b({ref:"component_"+n.id,refInFor:!0,staticClass:"epx-component",attrs:{name:n.contentType,"is-component":"","content-type":n.contentType,_component:n,"comp-id":e.getComponentId(n),"comp-title":n.title,items:n.items,"comp-flex":n.flex,"comp-style":n.style,"comp-configs":n.configs}},"epx-component",e.isPage?e.$attrs:{},!1))],1)})),1)],1)};r._withStripped=!0;var o=n(50),i=n(19),a=n(33),s=n(41),c=n(7),u=(n(35),n(0)),l=n(15),f=(n(13),n(16),n(10),n(8),n(36),n(21),n(3),n(52),n(51),n(107),n(12),n(22),n(20),n(11),n(26),n(17),n(30),n(28),n(27),n(40),n(25)),p=["xsspan"];function d(){this.$children.forEach((function(e){"component"===e.$options.$componentType&&e.$refesh&&e.$refesh("page"),d.apply(e)}))}function m(e){var t,n=Object(l.a)(this.$children);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.compId===e)return r;if(r.$children){var o=m.apply(r,[e]);if(o)return o}}}catch(e){n.e(e)}finally{n.f()}}var h={name:"epx-base-page",mixins:[n.n(f).a],$componentType:"page",navConfigs:{flag:!1},style:{},layout:"grid",direction:"column",items:[{id:"nav",title:"导航",contentType:"header"}],itemConfigs:{},props:{inline:Boolean,routeKey:[String,Number],routes:{type:Array,default:function(){return[]}}},inject:["hasMenu"],data:function(){return{headerTitle:null,pageParams:{},model:{},pageEvents:{},compInfo:{},requestMap:{},watchRequestMap:{},watchComponentMap:{}}},computed:{style:function(){return!this.$configs.pageSeparatelyCenter||this.hasMenu||this.$isMobile?Object(u.a)({},this.$component.style):Object(u.a)({width:"1200px",margin:"0 auto"},this.$component.style)},pageTitle:function(){return this.headerTitle||this.page&&this.page.title||this.meta&&this.meta.name},components:function(){var e,t=this,n=this.$component.items,r=[],o=Object(l.a)(n);try{var i=function(){var n,o=e.value,i=o.configs,a=void 0===i?{}:i,s=o.id,l=t.pageConfig.itemConfigs[s]||{},f=Object(u.a)(Object(u.a)({},l),a);if(null!==(n=f.iterator)&&void 0!==n&&n.data){var p=f.iterator,d=p.data,m=p.name,h=void 0===m?"item":m,v=p.key,y=void 0===v?"ID":v,b=p.index,g=void 0===b?"index":b,j=[];if(Array.isArray(d))j=d;else{var x=/^\$\[(.+)\]$/.exec(d);x&&(j=t.pageParams[x[1]])}j&&Array.isArray(j)&&j.forEach((function(e,t){var n=e[y]||t;r.push(Object(u.a)(Object(u.a)({},o),{},{iterator:Object(c.a)(Object(c.a)(Object(c.a)({},h,e),g,t),"key",n)}))}))}else r.push(o)};for(o.s();!(e=o.n()).done;)i()}catch(e){o.e(e)}finally{o.f()}return r},colAttribute:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.xsspan,n=void 0===t?24:t,r=Object(s.a)(e,p),o=Object(u.a)(Object(u.a)({},r),{},{xs:{span:n}});return delete o.id,delete o.style,delete o.title,o}},pageStyle:function(){var e=this.$configs,t=e.layout,n=void 0===t?"grid":t,r=e.direction,o=void 0===r?"column":r,i=e.justify,a=void 0===i?"flex-start":i,s=e.align;return"flex"===n?{display:"flex","flex-direction":o,"justify-content":a,"align-items":void 0===s?"top":s}:{}},componentStyle:function(){var e=this;return function(t){var n=e.$configs.layout,r=t.flex,o={},i=e.compInfo[t.id];return void 0===r&&i&&(r=i.configs.flex),"flex"===n&&r&&(o.flex=1,o.overflow="hidden"),o}},componentConfigs:function(){var e=this;return function(t){var n=t.configs,r=void 0===n?{}:n,o=t.id,i=e.pageConfig[o]||{};return Object(u.a)(Object(u.a)({},r),i)}},isComponentIterator:function(){var e=this;return function(t){var n,r=t.configs,o=void 0===r?{}:r,i=t.id,a=e.pageConfig[i]||{};if(null!==(n=Object(u.a)(Object(u.a)({},a),o).iterator)&&void 0!==n&&n.name)return!0}},requestParamList:function(){var e=this;return Object.values(this.watchRequestMap).map((function(t){var n={action:t.action,rule:t.rule,entityId:t.metaId||e.$metaId};return t.scopeParams&&t.scopeParams.length>0&&(n.scopeParams=JSON.stringify(e.$formatScope(t.scopeParams))),t.requestParams&&(n=Object(u.a)(Object(u.a)({},n),e.$formatParams(t.requestParams))),{config:t,params:n}}))}},watch:{pageTitle:{handler:function(e){this.$emit("change-route",this.routeKey,{title:e})},immediate:!0},requestParamList:{handler:function(e){var t=this;this.requestParamList.forEach((function(e){t.oldRequestParams&&t.oldRequestParams[e.config.code]&&!t.$_.isEqual(e.params,t.oldRequestParams[e.config.code])&&t.delayRequest(e.config,e.params)}))},deep:!0}},provide:function(){if(this.isPage)return{upPage:this,pageId:this.page?this.page.pageId:"",pageMetaId:this.isPage?this.$metaId||(this.page?this.page.metaId:""):null}},methods:{getPageParams:function(){var e=this;return Object(a.a)(Object(i.a)().m((function t(){var n,r,o,a,s,c,u;return Object(i.a)().w((function(t){for(;;)switch(t.p=t.n){case 0:n=e.pageConfig.variableSets,r=void 0===n?[]:n,o=Object(l.a)(r),t.p=1,o.s();case 2:if((a=o.n()).done){t.n=8;break}if("request"!==(s=a.value).type){t.n=6;break}if(!s.action&&!s.rule){t.n=5;break}if(e.pageParams[s.code]||e.$set(e.pageParams,s.code,null),"sync"!==s.requestType){t.n=4;break}return t.n=3,e.request(s);case 3:t.n=5;break;case 4:e.request(s);case 5:t.n=7;break;case 6:c="","fixed"===s.type?(c=JSON.parse(s.value),e.$set(e.pageParams,s.code,e.getFormatValue(s,c))):"query"===s.type?(c=e.$util.getQueryValue(s.value||s.code,e.$query||e.$tab),e.$set(e.pageParams,s.code,e.getFormatValue(s,c))):"component"===s.type&&(e.pageParams[s.code]||e.$set(e.pageParams,s.code,null),e.watchCompValue(s));case 7:t.n=2;break;case 8:t.n=10;break;case 9:t.p=9,u=t.v,o.e(u);case 10:return t.p=10,o.f(),t.f(10);case 11:return t.a(2)}}),t,null,[[1,9,10,11]])})))()},$refesh:function(){d.apply(this),this.getPageParams()},setComp:function(e,t){this.$set(this.compInfo,e,t)},watchCompValue:function(e){var t=this,n=e.value.split(".")[0],r=e.value.replace(n+".",""),o=m.apply(this,[n]),i=this.$util.getQueryValue(r,o);this.$set(this.pageParams,e.code,this.getFormatValue(e,i)),o&&(this.watchComponentMap[e.code]||(o.$watch(r,(function(n){t.$set(t.pageParams,e.code,t.getFormatValue(e,n))}),{deep:!0}),this.watchComponentMap[e.code]=!0))},loadComponent:function(e){var t=Object(o.a)(e,1)[0];this.setComp(t.id,t);var n=this.pageConfig.variableSets,r=(void 0===n?[]:n).find((function(e){return"component"===e.type&&e.value.includes(t.id)}));r&&(this.watchComponentMap[r.code]=!1,this.watchCompValue(r))},delayRequest:function(e,t){var n=this;this.timer||(this.timer={}),this.timer[e.code]&&clearTimeout(this.timer[e.code]),this.timer[e.code]=setTimeout((function(){n.request(e,t),clearTimeout(n.timer[e.code])}),400)},request:function(e,t){var n=this,r={action:e.action,rule:e.rule,entityId:e.metaId||this.$metaId};return t?r=t:(e.scopeParams&&e.scopeParams.length>0&&(r.scopeParams=JSON.stringify(this.$formatScope(e.scopeParams))),e.requestParams&&(r=Object(u.a)(Object(u.a)({},r),this.$formatParams(e.requestParams)))),this.oldRequestParams||(this.oldRequestParams={}),this.oldRequestParams[e.code]=Object(u.a)({},r),this.$http.$post(r).then((function(t){var r=t;return e.value&&(r=n.$util.getQueryValue(e.value,t)),n.$set(n.pageParams,e.code,n.getFormatValue(e,r)),r})).finally((function(){n.watchRequest(e)}))},watchRequest:function(e){this.watchRequestMap[e.code]||this.$set(this.watchRequestMap,e.code,e)},getFormatValue:function(e,t){if(e.dataFormat)try{var n=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},this.$tab),this.$query),this.$pageParams),{},{user:this.user,appConfig:this.appConfig,clientConfig:this.clientConfig,$currentRole:this.$currentRole,CURRENT_VALUE_:t});t=this.$util.evalExpression(e.dataFormat,n)}catch(e){console.error(e)}return t},saveScrollPosition:function(){this.scrollTop=this.$refs.container.scrollTop}},created:function(){var e=this;this.$on("add-page-params",(function(t){var n=Object(o.a)(t,1)[0];e.pageParams=Object(u.a)(Object(u.a)({},e.pageParams),n)})),this.$on("load-component",this.loadComponent.bind(this))},mounted:function(){var e=this;return Object(a.a)(Object(i.a)().m((function t(){return Object(i.a)().w((function(t){for(;;)switch(t.n){case 0:e.$refs.container.addEventListener("scroll",e.saveScrollPosition),e.getPageParams();case 1:return t.a(2)}}),t)})))()},activated:function(){var e=this,t=this.$refs.container;t.addEventListener("scroll",this.saveScrollPosition),setTimeout((function(){e.scrollTop&&(t.scrollTop=e.scrollTop)}),10)},deactivated:function(){this.$refs.container.removeEventListener("scroll",this.saveScrollPosition)},beforeDestroy:function(){this.$refs.container.removeEventListener("scroll",this.saveScrollPosition)}},v=n(4),y=n.n(v),b=n(92),g={insert:"head",singleton:!1},j=(y()(b.a,g),b.a.locals,n(93)),x={insert:"head",singleton:!1},O=(y()(j.a,x),j.a.locals,n(2)),P=Object(O.a)(h,r,[],!1,null,null,null);t.a=P.exports},9:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},92: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-base-page{width:100%;height:100%;padding:0;margin:0;overflow:auto;overflow-x:hidden}.epx-base-page--hidden-scroll-bar::-webkit-scrollbar,.epx-base-page--hidden-scroll-bar::-webkit-scrollbar-thumb{background:none}.epx-base-page .epx-base-page{position:static;overflow-x:hidden;padding:0}.epx-base-page__row{height:100%;box-sizing:border-box}.epx-base-page__col{box-sizing:border-box;flex-shrink:0;min-height:0}.epx-base-page__col .epx-base-page__row{margin-right:-10px}.epx-base-page__col--header{position:sticky;left:0;top:0;z-index:101}@media screen and (max-width: 992px){.epx-base-page{padding:0}}",""]),t.a=o},93: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-component{margin:var(--margin)}",""]),t.a=o}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports=function(e){var t={};function a(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,a),o.l=!0,o.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)a.d(r,o,function(t){return e[t]}.bind(null,o));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/dist/",a(a.s=811)}({1:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var r=a(9);var o=a(14);function n(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(o.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")},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")},123:function(e,t){e.exports=require("epx-frame/lib/components/entity-list")},126:function(e,t){e.exports=require("core-js/modules/esnext.string.replace-all.js")},127:function(e,t){e.exports=require("core-js/modules/es.string.replace-all.js")},13:function(e,t){e.exports=require("core-js/modules/es.array.includes.js")},14:function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var r=a(9);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Object(r.a)(e,t):void 0}}},15:function(e,t){e.exports=require("core-js/modules/web.dom-collections.for-each.js")},168:function(e,t){e.exports=require("core-js/modules/es.number.to-fixed.js")},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")},196:function(e,t,a){"use strict";a.r(t),t.default=a.p+"media/default-icon.png"},2:function(e,t,a){"use strict";function r(e,t,a,r,o,n,i,c){var l,s="function"==typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=a,s._compiled=!0),r&&(s.functional=!0),n&&(s._scopeId="data-v-"+n),i?(l=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(i)},s._ssrRegister=l):o&&(l=c?function(){o.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(s.functional){s._injectStyles=l;var d=s.render;s.render=function(e,t){return l.call(t),d(e,t)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:s}}a.d(t,"a",(function(){return r}))},20:function(e,t){e.exports=require("core-js/modules/es.array.concat.js")},25:function(e,t){e.exports=require("core-js/modules/es.iterator.map.js")},27:function(e,t){e.exports=require("core-js/modules/es.array.push.js")},28:function(e,t){e.exports=require("core-js/modules/es.iterator.find.js")},3:function(e,t,a){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},n=function(){var e={};return function(t){if(void 0===e[t]){var a=document.querySelector(t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}e[t]=a}return e[t]}}(),i=[];function c(e){for(var t=-1,a=0;a<i.length;a++)if(i[a].identifier===e){t=a;break}return t}function l(e,t){for(var a={},r=[],o=0;o<e.length;o++){var n=e[o],l=t.base?n[0]+t.base:n[0],s=a[l]||0,d="".concat(l," ").concat(s);a[l]=s+1;var u=c(d),f={css:n[1],media:n[2],sourceMap:n[3]};-1!==u?(i[u].references++,i[u].updater(f)):i.push({identifier:d,updater:v(f,t),references:1}),r.push(d)}return r}function s(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=a.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 i=n(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function f(e,t,a,r){var o=a?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=u(t,o);else{var n=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(n,i[t]):e.appendChild(n)}}function p(e,t,a){var r=a.css,o=a.media,n=a.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),n&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(n))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var m=null,h=0;function v(e,t){var a,r,o;if(t.singleton){var n=h++;a=m||(m=s(t)),r=f.bind(null,a,n,!1),o=f.bind(null,a,n,!0)}else a=s(t),r=p.bind(null,a,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(a)};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 a=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<a.length;r++){var o=c(a[r]);i[o].references--}for(var n=l(e,t),s=0;s<a.length;s++){var d=c(a[s]);0===i[d].references&&(i[d].updater(),i.splice(d,1))}a=n}}}},31:function(e,t){e.exports=require("core-js/modules/es.iterator.for-each.js")},38:function(e,t){e.exports=require("core-js/modules/es.array.join.js")},4:function(e,t,a){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a=e(t);return t[2]?"@media ".concat(t[2]," {").concat(a,"}"):a})).join("")},t.i=function(e,a,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var n=0;n<this.length;n++){var i=this[n][0];null!=i&&(o[i]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);r&&o[l[0]]||(a&&(l[2]?l[2]="".concat(a," and ").concat(l[2]):l[2]=a),t.push(l))}},t}},452:function(e,t,a){"use strict";var r=a(4),o=a.n(r)()((function(e){return e[1]}));o.push([e.i,"[data-v-62270f53]:root{--color-primary: 8,116,231 }.list-container[data-v-62270f53]{height:100%;display:flex;flex-direction:column}.list-operates[data-v-62270f53]{display:flex;justify-content:space-between;align-items:center}.more-table-operates[data-v-62270f53]{margin-left:10px}.content[data-v-62270f53]{flex:1;display:flex;flex-direction:column;overflow:hidden}.card-checkbox-group[data-v-62270f53]{flex:1;overflow:hidden}.card-list[data-v-62270f53]{height:100%;display:flex;flex-wrap:wrap;overflow:auto;margin:0 -10px}.card-item[data-v-62270f53]{padding:10px;box-sizing:border-box;overflow:hidden}.card-item--horizontal .card-item__container[data-v-62270f53]{flex-direction:row}.card-item--horizontal .card-item__content[data-v-62270f53]{flex-basis:100%;flex-direction:row;overflow:hidden;width:auto}.card-item--horizontal .card-item__icon[data-v-62270f53]{margin-right:12px;margin-bottom:0}.card-item--horizontal .card-item__fields[data-v-62270f53]{flex:1;overflow:hidden}.card-item--horizontal .card-item__row[data-v-62270f53]{text-align:left}.card-item--horizontal .card-item__footer[data-v-62270f53]{width:auto;margin-top:0;flex-shrink:0;display:flex;align-items:center}.card-item--border .card-item__container[data-v-62270f53]{border:1px solid #e3e3e3}.card-item__container[data-v-62270f53]{padding:14px;background:#fff;border-radius:4px;position:relative;display:flex;flex-direction:column;cursor:pointer;box-sizing:border-box;overflow:hidden}.card-item__container[data-v-62270f53]:hover{box-shadow:0px 6px 12px -3px rgba(0,0,0,.15)}.card-item__checkbox[data-v-62270f53]{position:absolute;top:10px;left:10px}.card-item__content[data-v-62270f53]{width:100%;display:flex;flex-direction:column;align-items:center}.card-item__icon[data-v-62270f53]{width:56px;height:56px;border-radius:50%;overflow:hidden;background-color:#0874e7}[data-theme=purple] .card-item__icon[data-v-62270f53]{background-color:#7569e2}[data-theme=palevioletred] .card-item__icon[data-v-62270f53]{background-color:#ce4545}[data-theme=forestgreen] .card-item__icon[data-v-62270f53]{background-color:#3d8a50}[data-theme=deepblue] .card-item__icon[data-v-62270f53]{background-color:#0f5fbd}[data-theme=orange] .card-item__icon[data-v-62270f53]{background-color:#ea6000}[data-theme=skyblue] .card-item__icon[data-v-62270f53]{background-color:#1a4586}[data-theme=aurorablue] .card-item__icon[data-v-62270f53]{background-color:#383b9e}[data-theme=tiffanyblue] .card-item__icon[data-v-62270f53]{background-color:#00aaad}[data-theme=tsinghuapurple] .card-item__icon[data-v-62270f53]{background-color:#5f2167}[data-theme=creativeblue] .card-item__icon[data-v-62270f53]{background-color:#418cff}[data-theme=njhkht] .card-item__icon[data-v-62270f53]{background-color:#1d2088}[data-theme=custom] .card-item__icon[data-v-62270f53]{background-color:rgba(var(--color-primary), 1)}.card-item__icon[data-v-62270f53]{margin-bottom:4px;flex-shrink:0;text-align:center}.card-item__icon>img[data-v-62270f53]{width:100%;height:100%;object-fit:cover}.card-item__icon>i[data-v-62270f53]{color:#fff;font-size:28px;line-height:56px}.card-item__fields[data-v-62270f53]{width:100%}.card-item__row[data-v-62270f53]{margin:8px 0;font-size:14px;color:#666;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-item__row:first-child>span:first-child>font[data-v-62270f53]{font-size:16px;color:#121212;font-weight:600}.pagination[data-v-62270f53]{background:rgba(0,0,0,0);padding:10px 0}.pagination[data-v-62270f53] .el-pagination .el-select{margin-left:24px}.pagination[data-v-62270f53] .el-pagination .number,.pagination[data-v-62270f53] .el-pagination button{background:rgba(0,0,0,0)}.pagination[data-v-62270f53] .el-pagination .el-pagination__total{float:right}.card-item__footer[data-v-62270f53]{width:100%;margin-top:8px}.card-item__operates--hover[data-v-62270f53]{opacity:0;pointer-events:none}.card-item__container:hover .card-item__operates--hover[data-v-62270f53]{opacity:1;pointer-events:all}.card-item__operates--text[data-v-62270f53]{width:100%;display:flex}.card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#0874e7}[data-theme=purple] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#7569e2}[data-theme=palevioletred] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#ce4545}[data-theme=forestgreen] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#3d8a50}[data-theme=deepblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#0f5fbd}[data-theme=orange] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#ea6000}[data-theme=skyblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#1a4586}[data-theme=aurorablue] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#383b9e}[data-theme=tiffanyblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#00aaad}[data-theme=tsinghuapurple] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#5f2167}[data-theme=creativeblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#418cff}[data-theme=njhkht] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#1d2088}[data-theme=custom] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:rgba(var(--color-primary), 1)}.card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(57.4,143.8,235.8)}[data-theme=purple] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(144.6,135,231.8)}[data-theme=palevioletred] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(215.8,106.2,106.2)}[data-theme=forestgreen] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(99.8,161.4,115)}[data-theme=deepblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(63,127,202.2)}[data-theme=orange] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(238.2,127.8,51)}[data-theme=skyblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(71.8,106.2,158.2)}[data-theme=aurorablue] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(95.8,98.2,177.4)}[data-theme=tiffanyblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(51,187,189.4)}[data-theme=tsinghuapurple] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(127,77.4,133.4)}[data-theme=creativeblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:#67a3ff}[data-theme=njhkht] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(74.2,76.6,159.8)}[data-theme=custom] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgba(var(--color-primary), 0.8)}.card-item__operates--text .column-operate-btn[data-v-62270f53]{cursor:pointer;padding:0;margin:0;flex:1;border-right:1px solid #e3e3e3;text-align:center}.card-item__operates--text .column-operate-btn[data-v-62270f53]:last-child{border:0}.card-item__operates--button[data-v-62270f53]{width:100%;display:flex;justify-content:center;flex-wrap:wrap}.card-item__operates--button .column-operate-btn[data-v-62270f53]{margin:4px 0;margin-left:10px}.card-item--horizontal .card-item__operates--text .column-operate-btn[data-v-62270f53]{padding:0 10px;color:#666}.null-data[data-v-62270f53]{min-height:300px;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.null-data>i[data-v-62270f53]{font-size:120px}.null-data>span[data-v-62270f53]{display:block;font-size:16px;color:#666}",""]),t.a=o},50:function(e,t){e.exports=require("core-js/modules/es.string.split.js")},6:function(e,t){e.exports=require("core-js/modules/es.object.to-string.js")},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},811:function(e,t,a){"use strict";a.r(t);a(8);var r=a(1),o=(a(20),a(11),a(13),a(38),a(10),a(168),a(6),a(12),a(17),a(50),a(126),a(15),a(27),a(19),a(28),a(31),a(25),a(127),a(123)),n={name:"epx-entity-card-list",extends:a.n(o).a,setField:!1,multiSelectColumnFlag:!1,data:function(){return{iconField:""}},computed:{rowTitle:function(){return function(e,t){var a="";return e.map((function(r,o){if("HIDDEN"===r.state)return null;var n=t[r.attriName+"#"]||t[r.attriName]||"";"meta"===r.type&&(n=n.replaceAll("\n"," , "));var i=e[o+1],c=null;i&&(c=t[i.attriName+"#"]||i[r.attriName]),a+=(r.showLabel?r.attriLabel+":":"")+(n||"")+(o!==e.length-1&&n&&(r.showLabel||c)?r.split||" | ":"")})),a}}},methods:{getFields:function(){var e,t=this,a=this.$configs,o=a.fieldConfigs,n=void 0===o?{}:o,i=a.listFields,c=a.iconField,l=void 0===c?[]:c;if(!i){var s=this.$meta.getLabel();i=s?[[s]]:[]}var d=(e=[]).concat.apply(e,Object(r.a)(i).concat(Object(r.a)(l)));this.$FieldFactory.createFields({defaultFieldConfigs:n,fields:d,meta:this.$meta}).then((function(e){t.listFields=Object(r.a)(e),l.length>0&&(t.iconField=t.listFields.find((function(e){return e.attriName===l[0]})));var a=[],o=[];t.rows=i.map((function(t){return t.map((function(t){var a=e.find((function(e){return e.attriName===(t.attriName||t)}));return a||t}))})),t.listFields.forEach((function(e){e.isWrap&&(a.push(o),o=[]),o.push(e)})),o.length>0&&(a.push(o),o=[]),t.columns=a,t.getData()})).catch((function(){t.getData()}))},renderTable:function(){var e=this,t=this.$createElement,a=this.$configs,r=a.pageFlag,o=a.isTree;return t("div",{class:"content"},[t("el-checkbox-group",{class:"card-checkbox-group",model:{value:e.selectionIds,callback:function(t){e.selectionIds=t}}},[t("ul",{class:"card-list"},[0===this.data.length?t("div",{class:"null-data"},[t("i",{class:"epx-icon-color-kong"}),t("span",["暂无数据"])]):this.data.map((function(t){return e.renderVerticalItem(t)}))])]),r&&!o&&t("div",{class:"pagination"},[t("el-pagination",{attrs:{currentPage:this.currentPage,pageSizes:[5,10,15,20,30,50,100,200],pageSize:this.pageSize,layout:"prev, pager, next, jumper, sizes,total",total:this.total},on:{"size-change":this.sizeChange,"current-change":this.currentChange}})])])},renderHorizontalItem:function(){},renderVerticalItem:function(e){var t=this,r=this.$createElement,o=this.$configs,n=o.iconFlag,i=o.showLabelField,c=o.labelField,l=void 0===c?[]:c,s=o.iconColor,d=o.iconBgColor,u=o.column,f=void 0===u?3:u,p=o.operateColumnFlag,m=o.cardDirection,h=void 0===m?"vertical":m,v=o.border,b=o.backgroundColor,g=o.multiSelectColumnFlag,_=l[0],x=this.iconField?this.iconField.attriName:null,y=["photo","blob","multiblob"].includes(this.iconField.dataType)?"image":"icon";return r("li",{class:["card-item","card-item--"+h,{"card-item--border":v}],style:{"flex-basis":100*(1/f).toFixed(4)+"%"}},[r("div",{class:"card-item__container",style:{backgroundColor:b},on:{click:this.viewEntity.bind(this,{},e)}},[g&&r("el-checkbox",{nativeOn:{click:function(e){return e.stopPropagation()}},class:"card-item__checkbox",attrs:{label:e[this.$metaKey]}},[r("i")]),r("div",{class:"card-item__header"},["vertical"===h&&i&&_&&e[_]&&r("el-tag",{attrs:{size:"mini"}},[e[_]])]),r("div",{class:"card-item__content"},[n&&x&&r("div",{class:"card-item__icon",style:{backgroundColor:"image"===y?"transparent":d}},["image"===y?r("img",{attrs:{src:e[x]?this.$util.getFileUrl(e[x]):a(196)}}):r("i",{class:e[x]||"el-icon-picture",style:{color:s}})]),r("div",{class:"card-item__fields"},[this.rows.map((function(a,o){return r("p",{class:"card-item__row",key:a.map((function(e){return e.attriName})).join("")},[a.map((function(o,n){if("HIDDEN"===o.state)return null;var i=e[o.attriName+"#"]||e[o.attriName]||"";"meta"===o.type&&(i=i.replaceAll("\n"," , "));var c=a[n+1],l=null;return c&&(l=e[c.attriName+"#"]||c[o.attriName]),r("span",{attrs:{title:t.rowTitle(a,e)}},[o.showLabel&&o.attriLabel+":","tag"===o.style&&i?r("span",{class:"field-tag"},[r("font",{style:{color:o.color,fontWeight:o.fontWeight,fontSize:o.fontSize+"px"}},[i])]):r("font",{style:{color:o.color,fontWeight:o.fontWeight,fontSize:o.fontSize+"px"}},[i]),n!==a.length-1&&i&&(o.showLabel||l)?o.split||" | ":""])})),"horizontal"===h&&0===o&&i&&_&&e[_]&&r("el-tag",{style:{marginLeft:"4px"},attrs:{size:"mini"}},[e[_]])])}))])]),r("div",{class:"card-item__footer"},[p&&this.renderColumnOperates(e)])])])},renderColumnOperates:function(e){var t=this,a=this.$createElement;if(this.readonly)return null;var r=this.$configs,o=r.columnOperateType,n=void 0===o?"text":o,i=r.operateColumnShowType,c=void 0===i?"always":i,l=this.getShowColumnOperates(e),s=this.getFoldColumnOperates(l),d=this.getUnFoldColumnOperates(l);return a("div",{class:["card-item__operates","card-item__operates--"+n,"card-item__operates--"+c],on:{click:function(e){return e.stopPropagation()}}},[d.map((function(r){return a("el-button",{class:"column-operate-btn",key:r.text,attrs:{type:"text"===n?"text":r.ui,size:"medium"},on:{click:t.$handler.bind(t,r,e)}},[r.iconCls&&a("i",{class:r.iconCls}),r.text])})),s.length>0&&a("el-dropdown",{class:"column-operate-btn",attrs:{trigger:"click"},on:{"visible-change":function(a){return t.activeDropDown=a?e[t.$pageMetaKey]:""}}},[a("span",{class:["el-dropdown-link",{active:this.activeDropDown===e[this.$pageMetaKey]}]},["text"===n?a("i",{class:"el-icon-more"}):a("el-button",{attrs:{size:"medium"}},[a("i",{class:"el-icon-more"})])]),a("el-dropdown-menu",{slot:"dropdown"},[s.map((function(r){return a("el-dropdown-item",{key:r.text,nativeOn:{click:t.$handler.bind(t,r,e)},attrs:{icon:r.iconCls}},[r.text])}))])])])}}},i=a(3),c=a.n(i),l=a(452),s={insert:"head",singleton:!1},d=(c()(l.a,s),l.a.locals,a(2)),u=Object(d.a)(n,void 0,void 0,!1,null,"62270f53",null).exports;u.install=function(e){e.component(u.name,u)};t.default=u},9:function(e,t,a){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=Array(t);a<t;a++)r[a]=e[a];return r}a.d(t,"a",(function(){return r}))}});
|
|
1
|
+
module.exports=function(e){var t={};function a(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,a),r.l=!0,r.exports}return a.m=e,a.c=t,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(o,r,function(t){return e[t]}.bind(null,r));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/dist/",a(a.s=817)}({1:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var o=a(9);var r=a(14);function n(e){return function(e){if(Array.isArray(e))return Object(o.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(r.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")},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")},123:function(e,t){e.exports=require("epx-frame/lib/components/entity-list")},126:function(e,t){e.exports=require("core-js/modules/esnext.string.replace-all.js")},127:function(e,t){e.exports=require("core-js/modules/es.string.replace-all.js")},13:function(e,t){e.exports=require("core-js/modules/es.array.find.js")},14:function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var o=a(9);function r(e,t){if(e){if("string"==typeof e)return Object(o.a)(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Object(o.a)(e,t):void 0}}},16:function(e,t){e.exports=require("core-js/modules/es.array.includes.js")},169:function(e,t){e.exports=require("core-js/modules/es.number.to-fixed.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")},197:function(e,t,a){"use strict";a.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAHgCAIAAADytinCAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAB4KADAAQAAAABAAAB4AAAAACGV0FwAAApVUlEQVR4Ae3daWwc93nHcS5vURJ12LJsy44dOXVSO8jRxk1RpweaGG1RtEEOt+ibouibojCQF30XNC8CNEXe9YWRoMibIocTW7IkW3Z8O87hOHZsJ7EokZQoidRBiXvxWu599lnSOjgiZ6//7P+ZmW9gJJqd2f88/88z+Xm1O0ckNp/p4T8IIIAAAvoEevWVREUIIIAAAnUBAprjAAEEEFAqQEArbQxlIYAAAgQ0xwACCCCgV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EEENAiQEBr6QR1IIAAAg4BAtoBwiICCCCgRYCA1tIJ6kAAAQQcAgS0A4RFBBBAQIsAAa2lE9SBAAIIOAQIaAcIiwgggIAWAQJaSyeoAwEEEHAIENAOEBYRQAABLQIEtJZOUAcCCCDgECCgHSAsIoAAAloECGgtnaAOBBBAwCFAQDtAWEQAAQS0CBDQWjpBHQgggIBDgIB2gLCIAAIIaBEgoLV0gjoQQAABhwAB7QBhEQEEENAiQEBr6QR1IIAAAg4BAtoBwiICCCCgRYCA1tIJ6kAAAQQcAgS0A4RFBBBAQIsAAa2lE9SBAAIIOAQIaAcIiwgggIAWAQJaSyeoAwEEEHAIENAOEBYRQAABLQIEtJZOUAcCCCDgECCgHSAsIoAAAloECGgtnaAOBBBAwCFAQDtAWEQAAQS0CBDQWjpBHQgggIBDgIB2gLCIAAIIaBEgoLV0gjoQQAABhwAB7QBhEQEEENAiQEBr6QR1IIAAAg4BAtoBwiICCCCgRYCA1tIJ6kAAAQQcAgS0A4RFBBBAQIsAAa2lE9SBAAIIOAQIaAcIiwgggIAWAQJaSyeoAwEEEHAIENAOEBYRQAABLQIEtJZOUAcCCCDgECCgHSAsIoAAAloECGgtnaAOBBBAwCFAQDtAWEQAAQS0CBDQWjpBHQgggIBDgIB2gLCIAAIIaBEgoLV0gjoQQAABhwAB7QBhEQEEENAiQEBr6QR1IIAAAg4BAtoBwiICCCCgRYCA1tIJ6kAAAQQcAgS0A4RFBBBAQIsAAa2lE9SBAAIIOAQIaAcIiwgggIAWAQJaSyeoAwEEEHAIENAOEBYRQAABLQIEtJZOUAcCCCDgECCgHSAsIoAAAloECGgtnaAOBBBAwCHQv2dwq+MlFhFAAAEENAj8P9caCGJjyssbAAAAAElFTkSuQmCC"},2:function(e,t,a){"use strict";function o(e,t,a,o,r,n,A,i){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=a,l._compiled=!0),o&&(l.functional=!0),n&&(l._scopeId="data-v-"+n),A?(c=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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(A)},l._ssrRegister=c):r&&(c=i?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var s=l.render;l.render=function(e,t){return c.call(t),s(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}a.d(t,"a",(function(){return o}))},20:function(e,t){e.exports=require("core-js/modules/es.string.replace.js")},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")},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")},38:function(e,t){e.exports=require("core-js/modules/es.array.join.js")},4:function(e,t,a){"use strict";var o,r=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},n=function(){var e={};return function(t){if(void 0===e[t]){var a=document.querySelector(t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}e[t]=a}return e[t]}}(),A=[];function i(e){for(var t=-1,a=0;a<A.length;a++)if(A[a].identifier===e){t=a;break}return t}function c(e,t){for(var a={},o=[],r=0;r<e.length;r++){var n=e[r],c=t.base?n[0]+t.base:n[0],l=a[c]||0,s="".concat(c," ").concat(l);a[c]=l+1;var d=i(s),g={css:n[1],media:n[2],sourceMap:n[3]};-1!==d?(A[d].references++,A[d].updater(g)):A.push({identifier:s,updater:B(g,t),references:1}),o.push(s)}return o}function l(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var r=a.nc;r&&(o.nonce=r)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var A=n(e.insert||"head");if(!A)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");A.appendChild(t)}return t}var s,d=(s=[],function(e,t){return s[e]=t,s.filter(Boolean).join("\n")});function g(e,t,a,o){var r=a?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=d(t,r);else{var n=document.createTextNode(r),A=e.childNodes;A[t]&&e.removeChild(A[t]),A.length?e.insertBefore(n,A[t]):e.appendChild(n)}}function f(e,t,a){var o=a.css,r=a.media,n=a.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),n&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(n))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var u=null,p=0;function B(e,t){var a,o,r;if(t.singleton){var n=p++;a=u||(u=l(t)),o=g.bind(null,a,n,!1),r=g.bind(null,a,n,!0)}else a=l(t),o=f.bind(null,a,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(a)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var a=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<a.length;o++){var r=i(a[o]);A[r].references--}for(var n=c(e,t),l=0;l<a.length;l++){var s=i(a[l]);0===A[s].references&&(A[s].updater(),A.splice(s,1))}a=n}}}},452:function(e,t,a){"use strict";var o=a(5),r=a.n(o)()((function(e){return e[1]}));r.push([e.i,"[data-v-62270f53]:root{--color-primary: 8,116,231 }.list-container[data-v-62270f53]{height:100%;display:flex;flex-direction:column}.list-operates[data-v-62270f53]{display:flex;justify-content:space-between;align-items:center}.more-table-operates[data-v-62270f53]{margin-left:10px}.content[data-v-62270f53]{flex:1;display:flex;flex-direction:column;overflow:hidden}.card-checkbox-group[data-v-62270f53]{flex:1;overflow:hidden}.card-list[data-v-62270f53]{height:100%;display:flex;flex-wrap:wrap;overflow:auto;margin:0 -10px}.card-item[data-v-62270f53]{padding:10px;box-sizing:border-box;overflow:hidden}.card-item--horizontal .card-item__container[data-v-62270f53]{flex-direction:row}.card-item--horizontal .card-item__content[data-v-62270f53]{flex-basis:100%;flex-direction:row;overflow:hidden;width:auto}.card-item--horizontal .card-item__icon[data-v-62270f53]{margin-right:12px;margin-bottom:0}.card-item--horizontal .card-item__fields[data-v-62270f53]{flex:1;overflow:hidden}.card-item--horizontal .card-item__row[data-v-62270f53]{text-align:left}.card-item--horizontal .card-item__footer[data-v-62270f53]{width:auto;margin-top:0;flex-shrink:0;display:flex;align-items:center}.card-item--border .card-item__container[data-v-62270f53]{border:1px solid #e3e3e3}.card-item__container[data-v-62270f53]{padding:14px;background:#fff;border-radius:4px;position:relative;display:flex;flex-direction:column;cursor:pointer;box-sizing:border-box;overflow:hidden}.card-item__container[data-v-62270f53]:hover{box-shadow:0px 6px 12px -3px rgba(0,0,0,.15)}.card-item__checkbox[data-v-62270f53]{position:absolute;top:10px;left:10px}.card-item__content[data-v-62270f53]{width:100%;display:flex;flex-direction:column;align-items:center}.card-item__icon[data-v-62270f53]{width:56px;height:56px;border-radius:50%;overflow:hidden;background-color:#0874e7}[data-theme=purple] .card-item__icon[data-v-62270f53]{background-color:#7569e2}[data-theme=palevioletred] .card-item__icon[data-v-62270f53]{background-color:#ce4545}[data-theme=forestgreen] .card-item__icon[data-v-62270f53]{background-color:#3d8a50}[data-theme=deepblue] .card-item__icon[data-v-62270f53]{background-color:#0f5fbd}[data-theme=orange] .card-item__icon[data-v-62270f53]{background-color:#ea6000}[data-theme=skyblue] .card-item__icon[data-v-62270f53]{background-color:#1a4586}[data-theme=aurorablue] .card-item__icon[data-v-62270f53]{background-color:#383b9e}[data-theme=tiffanyblue] .card-item__icon[data-v-62270f53]{background-color:#00aaad}[data-theme=tsinghuapurple] .card-item__icon[data-v-62270f53]{background-color:#5f2167}[data-theme=creativeblue] .card-item__icon[data-v-62270f53]{background-color:#418cff}[data-theme=njhkht] .card-item__icon[data-v-62270f53]{background-color:#1d2088}[data-theme=custom] .card-item__icon[data-v-62270f53]{background-color:rgba(var(--color-primary), 1)}.card-item__icon[data-v-62270f53]{margin-bottom:4px;flex-shrink:0;text-align:center}.card-item__icon>img[data-v-62270f53]{width:100%;height:100%;object-fit:cover}.card-item__icon>i[data-v-62270f53]{color:#fff;font-size:28px;line-height:56px}.card-item__fields[data-v-62270f53]{width:100%}.card-item__row[data-v-62270f53]{margin:8px 0;font-size:14px;color:#666;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-item__row:first-child>span:first-child>font[data-v-62270f53]{font-size:16px;color:#121212;font-weight:600}.pagination[data-v-62270f53]{background:rgba(0,0,0,0);padding:10px 0}.pagination[data-v-62270f53] .el-pagination .el-select{margin-left:24px}.pagination[data-v-62270f53] .el-pagination .number,.pagination[data-v-62270f53] .el-pagination button{background:rgba(0,0,0,0)}.pagination[data-v-62270f53] .el-pagination .el-pagination__total{float:right}.card-item__footer[data-v-62270f53]{width:100%;margin-top:8px}.card-item__operates--hover[data-v-62270f53]{opacity:0;pointer-events:none}.card-item__container:hover .card-item__operates--hover[data-v-62270f53]{opacity:1;pointer-events:all}.card-item__operates--text[data-v-62270f53]{width:100%;display:flex}.card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#0874e7}[data-theme=purple] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#7569e2}[data-theme=palevioletred] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#ce4545}[data-theme=forestgreen] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#3d8a50}[data-theme=deepblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#0f5fbd}[data-theme=orange] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#ea6000}[data-theme=skyblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#1a4586}[data-theme=aurorablue] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#383b9e}[data-theme=tiffanyblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#00aaad}[data-theme=tsinghuapurple] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#5f2167}[data-theme=creativeblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#418cff}[data-theme=njhkht] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:#1d2088}[data-theme=custom] .card-item__operates--text .column-operate-btn[data-v-62270f53]{color:rgba(var(--color-primary), 1)}.card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(57.4,143.8,235.8)}[data-theme=purple] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(144.6,135,231.8)}[data-theme=palevioletred] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(215.8,106.2,106.2)}[data-theme=forestgreen] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(99.8,161.4,115)}[data-theme=deepblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(63,127,202.2)}[data-theme=orange] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(238.2,127.8,51)}[data-theme=skyblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(71.8,106.2,158.2)}[data-theme=aurorablue] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(95.8,98.2,177.4)}[data-theme=tiffanyblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(51,187,189.4)}[data-theme=tsinghuapurple] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(127,77.4,133.4)}[data-theme=creativeblue] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:#67a3ff}[data-theme=njhkht] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgb(74.2,76.6,159.8)}[data-theme=custom] .card-item__operates--text .column-operate-btn[data-v-62270f53]:hover{color:rgba(var(--color-primary), 0.8)}.card-item__operates--text .column-operate-btn[data-v-62270f53]{cursor:pointer;padding:0;margin:0;flex:1;border-right:1px solid #e3e3e3;text-align:center}.card-item__operates--text .column-operate-btn[data-v-62270f53]:last-child{border:0}.card-item__operates--button[data-v-62270f53]{width:100%;display:flex;justify-content:center;flex-wrap:wrap}.card-item__operates--button .column-operate-btn[data-v-62270f53]{margin:4px 0;margin-left:10px}.card-item--horizontal .card-item__operates--text .column-operate-btn[data-v-62270f53]{padding:0 10px;color:#666}.null-data[data-v-62270f53]{min-height:300px;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.null-data>i[data-v-62270f53]{font-size:120px}.null-data>span[data-v-62270f53]{display:block;font-size:16px;color:#666}",""]),t.a=r},47:function(e,t){e.exports=require("core-js/modules/es.string.split.js")},5:function(e,t,a){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a=e(t);return t[2]?"@media ".concat(t[2]," {").concat(a,"}"):a})).join("")},t.i=function(e,a,o){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(o)for(var n=0;n<this.length;n++){var A=this[n][0];null!=A&&(r[A]=!0)}for(var i=0;i<e.length;i++){var c=[].concat(e[i]);o&&r[c[0]]||(a&&(c[2]?c[2]="".concat(a," and ").concat(c[2]):c[2]=a),t.push(c))}},t}},8:function(e,t){e.exports=require("core-js/modules/es.function.name.js")},817:function(e,t,a){"use strict";a.r(t);a(8);var o=a(1),r=(a(18),a(13),a(16),a(38),a(10),a(169),a(3),a(12),a(20),a(47),a(126),a(11),a(26),a(17),a(30),a(28),a(27),a(127),a(123)),n={name:"epx-entity-card-list",extends:a.n(r).a,setField:!1,multiSelectColumnFlag:!1,data:function(){return{iconField:""}},computed:{rowTitle:function(){return function(e,t){var a="";return e.map((function(o,r){if("HIDDEN"===o.state)return null;var n=t[o.attriName+"#"]||t[o.attriName]||"";"meta"===o.type&&(n=n.replaceAll("\n"," , "));var A=e[r+1],i=null;A&&(i=t[A.attriName+"#"]||A[o.attriName]),a+=(o.showLabel?o.attriLabel+":":"")+(n||"")+(r!==e.length-1&&n&&(o.showLabel||i)?o.split||" | ":"")})),a}}},methods:{getFields:function(){var e,t=this,a=this.$configs,r=a.fieldConfigs,n=void 0===r?{}:r,A=a.listFields,i=a.iconField,c=void 0===i?[]:i;if(!A){var l=this.$meta.getLabel();A=l?[[l]]:[]}var s=(e=[]).concat.apply(e,Object(o.a)(A).concat(Object(o.a)(c)));this.$FieldFactory.createFields({defaultFieldConfigs:n,fields:s,meta:this.$meta}).then((function(e){t.listFields=Object(o.a)(e),c.length>0&&(t.iconField=t.listFields.find((function(e){return e.attriName===c[0]})));var a=[],r=[];t.rows=A.map((function(t){return t.map((function(t){var a=e.find((function(e){return e.attriName===(t.attriName||t)}));return a||t}))})),t.listFields.forEach((function(e){e.isWrap&&(a.push(r),r=[]),r.push(e)})),r.length>0&&(a.push(r),r=[]),t.columns=a,t.getData()})).catch((function(){t.getData()}))},renderTable:function(){var e=this,t=this.$createElement,a=this.$configs,o=a.pageFlag,r=a.isTree;return t("div",{class:"content"},[t("el-checkbox-group",{class:"card-checkbox-group",model:{value:e.selectionIds,callback:function(t){e.selectionIds=t}}},[t("ul",{class:"card-list"},[0===this.data.length?t("div",{class:"null-data"},[t("i",{class:"epx-icon-color-kong"}),t("span",["暂无数据"])]):this.data.map((function(t){return e.renderVerticalItem(t)}))])]),o&&!r&&t("div",{class:"pagination"},[t("el-pagination",{attrs:{currentPage:this.currentPage,pageSizes:[5,10,15,20,30,50,100,200],pageSize:this.pageSize,layout:"prev, pager, next, jumper, sizes,total",total:this.total},on:{"size-change":this.sizeChange,"current-change":this.currentChange}})])])},renderHorizontalItem:function(){},renderVerticalItem:function(e){var t=this,o=this.$createElement,r=this.$configs,n=r.iconFlag,A=r.showLabelField,i=r.labelField,c=void 0===i?[]:i,l=r.iconColor,s=r.iconBgColor,d=r.column,g=void 0===d?3:d,f=r.operateColumnFlag,u=r.cardDirection,p=void 0===u?"vertical":u,B=r.border,m=r.backgroundColor,C=r.multiSelectColumnFlag,Q=c[0],v=this.iconField?this.iconField.attriName:null,E=["photo","blob","multiblob"].includes(this.iconField.dataType)?"image":"icon";return o("li",{class:["card-item","card-item--"+p,{"card-item--border":B}],style:{"flex-basis":100*(1/g).toFixed(4)+"%"}},[o("div",{class:"card-item__container",style:{backgroundColor:m},on:{click:this.viewEntity.bind(this,{},e)}},[C&&o("el-checkbox",{nativeOn:{click:function(e){return e.stopPropagation()}},class:"card-item__checkbox",attrs:{label:e[this.$metaKey]}},[o("i")]),o("div",{class:"card-item__header"},["vertical"===p&&A&&Q&&e[Q]&&o("el-tag",{attrs:{size:"mini"}},[e[Q]])]),o("div",{class:"card-item__content"},[n&&v&&o("div",{class:"card-item__icon",style:{backgroundColor:"image"===E?"transparent":s}},["image"===E?o("img",{attrs:{src:e[v]?this.$util.getFileUrl(e[v]):a(197)}}):o("i",{class:e[v]||"el-icon-picture",style:{color:l}})]),o("div",{class:"card-item__fields"},[this.rows.map((function(a,r){return o("p",{class:"card-item__row",key:a.map((function(e){return e.attriName})).join("")},[a.map((function(r,n){if("HIDDEN"===r.state)return null;var A=e[r.attriName+"#"]||e[r.attriName]||"";"meta"===r.type&&(A=A.replaceAll("\n"," , "));var i=a[n+1],c=null;return i&&(c=e[i.attriName+"#"]||i[r.attriName]),o("span",{attrs:{title:t.rowTitle(a,e)}},[r.showLabel&&r.attriLabel+":","tag"===r.style&&A?o("span",{class:"field-tag"},[o("font",{style:{color:r.color,fontWeight:r.fontWeight,fontSize:r.fontSize+"px"}},[A])]):o("font",{style:{color:r.color,fontWeight:r.fontWeight,fontSize:r.fontSize+"px"}},[A]),n!==a.length-1&&A&&(r.showLabel||c)?r.split||" | ":""])})),"horizontal"===p&&0===r&&A&&Q&&e[Q]&&o("el-tag",{style:{marginLeft:"4px"},attrs:{size:"mini"}},[e[Q]])])}))])]),o("div",{class:"card-item__footer"},[f&&this.renderColumnOperates(e)])])])},renderColumnOperates:function(e){var t=this,a=this.$createElement;if(this.readonly)return null;var o=this.$configs,r=o.columnOperateType,n=void 0===r?"text":r,A=o.operateColumnShowType,i=void 0===A?"always":A,c=this.getShowColumnOperates(e),l=this.getFoldColumnOperates(c),s=this.getUnFoldColumnOperates(c);return a("div",{class:["card-item__operates","card-item__operates--"+n,"card-item__operates--"+i],on:{click:function(e){return e.stopPropagation()}}},[s.map((function(o){return a("el-button",{class:"column-operate-btn",key:o.text,attrs:{type:"text"===n?"text":o.ui,size:"medium"},on:{click:t.$handler.bind(t,o,e)}},[o.iconCls&&a("i",{class:o.iconCls}),o.text])})),l.length>0&&a("el-dropdown",{class:"column-operate-btn",attrs:{trigger:"click"},on:{"visible-change":function(a){return t.activeDropDown=a?e[t.$pageMetaKey]:""}}},[a("span",{class:["el-dropdown-link",{active:this.activeDropDown===e[this.$pageMetaKey]}]},["text"===n?a("i",{class:"el-icon-more"}):a("el-button",{attrs:{size:"medium"}},[a("i",{class:"el-icon-more"})])]),a("el-dropdown-menu",{slot:"dropdown"},[l.map((function(o){return a("el-dropdown-item",{key:o.text,nativeOn:{click:t.$handler.bind(t,o,e)},attrs:{icon:o.iconCls}},[o.text])}))])])])}}},A=a(4),i=a.n(A),c=a(452),l={insert:"head",singleton:!1},s=(i()(c.a,l),c.a.locals,a(2)),d=Object(s.a)(n,void 0,void 0,!1,null,"62270f53",null).exports;d.install=function(e){e.component(d.name,d)};t.default=d},9:function(e,t,a){"use strict";function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,o=Array(t);a<t;a++)o[a]=e[a];return o}a.d(t,"a",(function(){return o}))}});
|