form-custom-test 3.0.171 → 3.0.172
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/dist/designer.es.js +11 -7
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +3 -3
- package/dist/render.es.js +11 -7
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +3 -3
- package/package.json +1 -1
package/dist/designer.umd.js
CHANGED
|
@@ -4,7 +4,7 @@ var cg=Object.defineProperty,fg=Object.defineProperties;var hg=Object.getOwnProp
|
|
|
4
4
|
* https://clipboardjs.com/
|
|
5
5
|
*
|
|
6
6
|
* Licensed MIT © Zeno Rocha
|
|
7
|
-
*/(function(t,a){(function(h,m){t.exports=m()})(commonjsGlobal,function(){return function(){var e={686:function(p,d,f){f.d(d,{default:function(){return R}});var o=f(279),u=f.n(o),n=f(370),s=f.n(n),i=f(817),r=f.n(i);function l(z){try{return document.execCommand(z)}catch{return!1}}var c=function(j){var U=r()(j);return l("cut"),U},g=c;function v(z){var j=document.documentElement.getAttribute("dir")==="rtl",U=document.createElement("textarea");U.style.fontSize="12pt",U.style.border="0",U.style.padding="0",U.style.margin="0",U.style.position="absolute",U.style[j?"right":"left"]="-9999px";var G=window.pageYOffset||document.documentElement.scrollTop;return U.style.top="".concat(G,"px"),U.setAttribute("readonly",""),U.value=z,U}var b=function(j,U){var G=v(j);U.container.appendChild(G);var H=r()(G);return l("copy"),G.remove(),H},_=function(j){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},G="";return typeof j=="string"?G=b(j,U):j instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(j==null?void 0:j.type)?G=b(j.value,U):(G=r()(j),l("copy")),G},x=_;function w(z){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(U){return typeof U}:w=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},w(z)}var C=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=j.action,G=U===void 0?"copy":U,H=j.container,K=j.target,Y=j.text;if(G!=="copy"&&G!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(K!==void 0)if(K&&w(K)==="object"&&K.nodeType===1){if(G==="copy"&&K.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(G==="cut"&&(K.hasAttribute("readonly")||K.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Y)return x(Y,{container:H});if(K)return G==="cut"?g(K):x(K,{container:H})},M=C;function D(z){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?D=function(U){return typeof U}:D=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},D(z)}function N(z,j){if(!(z instanceof j))throw new TypeError("Cannot call a class as a function")}function S(z,j){for(var U=0;U<j.length;U++){var G=j[U];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(z,G.key,G)}}function L(z,j,U){return j&&S(z.prototype,j),U&&S(z,U),z}function k(z,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");z.prototype=Object.create(j&&j.prototype,{constructor:{value:z,writable:!0,configurable:!0}}),j&&T(z,j)}function T(z,j){return T=Object.setPrototypeOf||function(G,H){return G.__proto__=H,G},T(z,j)}function E(z){var j=B();return function(){var G=V(z),H;if(j){var K=V(this).constructor;H=Reflect.construct(G,arguments,K)}else H=G.apply(this,arguments);return I(this,H)}}function I(z,j){return j&&(D(j)==="object"||typeof j=="function")?j:O(z)}function O(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}function B(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function V(z){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(U){return U.__proto__||Object.getPrototypeOf(U)},V(z)}function P(z,j){var U="data-clipboard-".concat(z);if(!!j.hasAttribute(U))return j.getAttribute(U)}var $=function(z){k(U,z);var j=E(U);function U(G,H){var K;return N(this,U),K=j.call(this),K.resolveOptions(H),K.listenClick(G),K}return L(U,[{key:"resolveOptions",value:function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof H.action=="function"?H.action:this.defaultAction,this.target=typeof H.target=="function"?H.target:this.defaultTarget,this.text=typeof H.text=="function"?H.text:this.defaultText,this.container=D(H.container)==="object"?H.container:document.body}},{key:"listenClick",value:function(H){var K=this;this.listener=s()(H,"click",function(Y){return K.onClick(Y)})}},{key:"onClick",value:function(H){var K=H.delegateTarget||H.currentTarget,Y=this.action(K)||"copy",J=M({action:Y,container:this.container,target:this.target(K),text:this.text(K)});this.emit(J?"success":"error",{action:Y,text:J,trigger:K,clearSelection:function(){K&&K.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(H){return P("action",H)}},{key:"defaultTarget",value:function(H){var K=P("target",H);if(K)return document.querySelector(K)}},{key:"defaultText",value:function(H){return P("text",H)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(H){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return x(H,K)}},{key:"cut",value:function(H){return g(H)}},{key:"isSupported",value:function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],K=typeof H=="string"?[H]:H,Y=!!document.queryCommandSupported;return K.forEach(function(J){Y=Y&&!!document.queryCommandSupported(J)}),Y}}]),U}(u()),R=$},828:function(p){var d=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var f=Element.prototype;f.matches=f.matchesSelector||f.mozMatchesSelector||f.msMatchesSelector||f.oMatchesSelector||f.webkitMatchesSelector}function o(u,n){for(;u&&u.nodeType!==d;){if(typeof u.matches=="function"&&u.matches(n))return u;u=u.parentNode}}p.exports=o},438:function(p,d,f){var o=f(828);function u(i,r,l,c,g){var v=s.apply(this,arguments);return i.addEventListener(l,v,g),{destroy:function(){i.removeEventListener(l,v,g)}}}function n(i,r,l,c,g){return typeof i.addEventListener=="function"?u.apply(null,arguments):typeof l=="function"?u.bind(null,document).apply(null,arguments):(typeof i=="string"&&(i=document.querySelectorAll(i)),Array.prototype.map.call(i,function(v){return u(v,r,l,c,g)}))}function s(i,r,l,c){return function(g){g.delegateTarget=o(g.target,r),g.delegateTarget&&c.call(i,g)}}p.exports=n},879:function(p,d){d.node=function(f){return f!==void 0&&f instanceof HTMLElement&&f.nodeType===1},d.nodeList=function(f){var o=Object.prototype.toString.call(f);return f!==void 0&&(o==="[object NodeList]"||o==="[object HTMLCollection]")&&"length"in f&&(f.length===0||d.node(f[0]))},d.string=function(f){return typeof f=="string"||f instanceof String},d.fn=function(f){var o=Object.prototype.toString.call(f);return o==="[object Function]"}},370:function(p,d,f){var o=f(879),u=f(438);function n(l,c,g){if(!l&&!c&&!g)throw new Error("Missing required arguments");if(!o.string(c))throw new TypeError("Second argument must be a String");if(!o.fn(g))throw new TypeError("Third argument must be a Function");if(o.node(l))return s(l,c,g);if(o.nodeList(l))return i(l,c,g);if(o.string(l))return r(l,c,g);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function s(l,c,g){return l.addEventListener(c,g),{destroy:function(){l.removeEventListener(c,g)}}}function i(l,c,g){return Array.prototype.forEach.call(l,function(v){v.addEventListener(c,g)}),{destroy:function(){Array.prototype.forEach.call(l,function(v){v.removeEventListener(c,g)})}}}function r(l,c,g){return u(document.body,l,c,g)}p.exports=n},817:function(p){function d(f){var o;if(f.nodeName==="SELECT")f.focus(),o=f.value;else if(f.nodeName==="INPUT"||f.nodeName==="TEXTAREA"){var u=f.hasAttribute("readonly");u||f.setAttribute("readonly",""),f.select(),f.setSelectionRange(0,f.value.length),u||f.removeAttribute("readonly"),o=f.value}else{f.hasAttribute("contenteditable")&&f.focus();var n=window.getSelection(),s=document.createRange();s.selectNodeContents(f),n.removeAllRanges(),n.addRange(s),o=n.toString()}return o}p.exports=d},279:function(p){function d(){}d.prototype={on:function(f,o,u){var n=this.e||(this.e={});return(n[f]||(n[f]=[])).push({fn:o,ctx:u}),this},once:function(f,o,u){var n=this;function s(){n.off(f,s),o.apply(u,arguments)}return s._=o,this.on(f,s,u)},emit:function(f){var o=[].slice.call(arguments,1),u=((this.e||(this.e={}))[f]||[]).slice(),n=0,s=u.length;for(n;n<s;n++)u[n].fn.apply(u[n].ctx,o);return this},off:function(f,o){var u=this.e||(this.e={}),n=u[f],s=[];if(n&&o)for(var i=0,r=n.length;i<r;i++)n[i].fn!==o&&n[i].fn._!==o&&s.push(n[i]);return s.length?u[f]=s:delete u[f],this}},p.exports=d,p.exports.TinyEmitter=d}},h={};function m(p){if(h[p])return h[p].exports;var d=h[p]={exports:{}};return e[p](d,d.exports,m),d.exports}return function(){m.n=function(p){var d=p&&p.__esModule?function(){return p.default}:function(){return p};return m.d(d,{a:d}),d}}(),function(){m.d=function(p,d){for(var f in d)m.o(d,f)&&!m.o(p,f)&&Object.defineProperty(p,f,{enumerable:!0,get:d[f]})}}(),function(){m.o=function(p,d){return Object.prototype.hasOwnProperty.call(p,d)}}(),m(686)}().default})})(clipboard);var Clipboard=getDefaultExportFromCjs(clipboard.exports);function isNull(t){return t==null}function isNotNull(t){return t!=null}function isEmptyStr(t){return t===void 0||!t&&t!==0&&t!=="0"||!/[^\s]/.test(t)}const generateId=function(){return Math.floor(Math.random()*1e5+Math.random()*2e4+Math.random()*5e3)},deepClone=function(t){if(t!==void 0)return JSON.parse(JSON.stringify(t))},overwriteObj=function(t,a){Object.keys(a).forEach(e=>{t[e]=a[e]})},evalFn=function(t,a=null,e=null){return new Function("DSV","VFR","return "+t)(a,e)},addWindowResizeHandler=function(t){let a=window.onresize;typeof window.onresize!="function"?window.onresize=t:window.onresize=function(){a(),t()}},insertCustomCssToHead=function(t,a=""){let e=document.getElementsByTagName("head")[0],h=document.getElementById("vform-custom-css");h&&e.removeChild(h),a&&(h=document.getElementById("vform-custom-css-"+a),!!h&&e.removeChild(h));let m=document.createElement("style");m.type="text/css",m.rel="stylesheet",m.id=a?"vform-custom-css-"+a:"vform-custom-css";try{m.appendChild(document.createTextNode(t))}catch{m.styleSheet.cssText=t}e.appendChild(m)},insertGlobalFunctionsToHtml=function(t,a=""){let e=document.getElementsByTagName("body")[0],h=document.getElementById("v_form_global_functions");!!h&&e.removeChild(h),a&&(h=document.getElementById("v_form_global_functions-"+a),!!h&&e.removeChild(h));let m=document.createElement("script");m.id=a?"v_form_global_functions-"+a:"v_form_global_functions",m.type="text/javascript",m.innerHTML=t,e.appendChild(m)},loadRemoteScript=function(t,a){let e=encodeURIComponent(t);if(!document.getElementById(e)){let m=document.createElement("script");m.src=t,m.id=e,document.body.appendChild(m),m.onload=m.onreadystatechange=function(p,d){(d||!m.readyState||m.readyState==="loaded"||m.readyState==="complete")&&(m=m.onload=m.onreadystatechange=null,d||a())}}};function traverseFieldWidgets(t,a,e=null){!t||t.map(h=>{h.formItemFlag?a(h,e):h.type==="grid"?h.cols.map(m=>{traverseFieldWidgets(m.widgetList,a,h)}):h.type==="table"?h.rows.map(m=>{m.cols.map(p=>{traverseFieldWidgets(p.widgetList,a,h)})}):h.type==="tab"?h.tabs.map(m=>{traverseFieldWidgets(m.widgetList,a,h)}):(h.type==="sub-form"||h.category==="container")&&traverseFieldWidgets(h.widgetList,a,h)})}function traverseContainerWidgets(t,a){!t||t.map(e=>{e.category==="container"&&a(e),e.type==="grid"?e.cols.map(h=>{traverseContainerWidgets(h.widgetList,a)}):e.type==="table"?e.rows.map(h=>{h.cols.map(m=>{traverseContainerWidgets(m.widgetList,a)})}):e.type==="tab"?e.tabs.map(h=>{traverseContainerWidgets(h.widgetList,a)}):(e.type==="sub-form"||e.category==="container")&&traverseContainerWidgets(e.widgetList,a)})}function traverseAllWidgets(t,a){!t||t.map(e=>{a(e),e.type==="grid"?e.cols.map(h=>{a(h),traverseAllWidgets(h.widgetList,a)}):e.type==="table"?e.rows.map(h=>{h.cols.map(m=>{a(m),traverseAllWidgets(m.widgetList,a)})}):e.type==="tab"?e.tabs.map(h=>{traverseAllWidgets(h.widgetList,a)}):(e.type==="sub-form"||e.category==="container")&&traverseAllWidgets(e.widgetList,a)})}function handleWidgetForTraverse(t,a){t.category?traverseFieldWidgetsOfContainer(t,a):t.formItemFlag&&a(t)}function traverseFieldWidgetsOfContainer(t,a){t.type==="grid"?t.cols.forEach(e=>{e.widgetList.forEach(h=>{handleWidgetForTraverse(h,a)})}):t.type==="table"?t.rows.forEach(e=>{e.cols.forEach(h=>{h.widgetList.forEach(m=>{handleWidgetForTraverse(m,a)})})}):t.type==="tab"?t.tabs.forEach(e=>{e.widgetList.forEach(h=>{handleWidgetForTraverse(h,a)})}):t.type==="sub-form"?t.widgetList.forEach(e=>{handleWidgetForTraverse(e,a)}):t.category==="container"&&t.widgetList.forEach(e=>{handleWidgetForTraverse(e,a)})}function getAllFieldWidgets(t){if(!t)return[];let a=[];return traverseFieldWidgets(t,h=>{a.push({type:h.type,name:h.options.name,field:h})}),a}function getAllContainerWidgets(t){if(!t)return[];let a=[];return traverseContainerWidgets(t,h=>{a.push({type:h.type,name:h.options.name,container:h})}),a}function copyToClipboard(t,a,e,h,m){const p=new Clipboard(a.target,{text:()=>t});p.on("success",()=>{e.success(h),p.destroy()}),p.on("error",()=>{e.error(m),p.destroy()}),p.onClick(a)}function getQueryParam(t){let e=window.location.search.substring(1).split("&");for(let h=0;h<e.length;h++){let m=e[h].split("=");if(m[0]==t)return m[1]}}function getDefaultFormConfig(){return{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}}function buildDefaultFormJson(){return{widgetList:[],formConfig:deepClone(getDefaultFormConfig())}}function formatAmount(t,a=6){if(t==null||t==="")return"";const e=Number(t);return Number.isNaN(e)?String(t):e.toFixed(a).replace(/\.?0+$/,"")}function isDef(t){return t!=null}function get(t,a){const e=a.split(".");let h=t;return e.forEach(m=>{h=isDef(h)&&isDef(h[m])?h[m]:null}),h}let locale=vue.reactive({lang:localStorage.getItem("v_form_locale")||"zh-CN"});function createI18n(t){return{messages:t.messages,$st(a,...e){const h=get(this.messages[locale.lang],a);return typeof h=="function"?h(...e):h!==null?h:a},$st2(a,e){let h=this.messages[locale.lang];const m=get(h,a);return m!==null?m:get(h,e)},setLang(a){locale.lang=a}}}var enLocale={application:{"zh-CN":"\u7B80\u4F53\u4E2D\u6587","en-US":"English",productTitle:"Online Form Designer",github:"GitHub",document:"Docs",qqGroup:"WeChat Group",deployment:"Deployment",subscription:"Subscription"},designer:{componentLib:"Components",formLib:"Templates",containerTitle:"Container",dragHandlerHint:"drag container or field to layout center",dragAction:"drag",basicFieldTitle:"Basic Field",advancedFieldTitle:"Advanced Field",customFieldTitle:"Customized Field",noWidgetHint:"Please select a widget from the left list, drag and drop to this container.",widgetLabel:{grid:"Grid",table:"Table",tab:"Tab",section:"Section","sub-form":"SubForm","grid-col":"GridCol","table-cell":"TableCell","tab-pane":"TabPane","data-table":"DataTable",input:"Input",textarea:"Textarea",number:"InputNumber",radio:"Radio",checkbox:"Checkbox",select:"Select",selectTree:"SelectTree",time:"Time","time-range":"Time range",date:"Date","date-range":"Date range",switch:"Switch",rate:"Rate",color:"ColorPicker",slider:"Slider","static-text":"Text","html-text":"HTML",button:"Button",divider:"Divider","picture-upload":"Picture","file-upload":"File","rich-editor":"Rich Editor",cascader:"Cascader",slot:"Slot",custom:"Custom Component"},hint:{selectParentWidget:"Select parent of this widget",moveUpWidget:"Move up this widget",moveDownWidget:"Move down this widget",cloneWidget:"Clone this widget",insertRow:"Insert new row",insertColumn:"Insert new column",remove:"Remove this widget",cellSetting:"Cell setting",dragHandler:"Drag handler",copyField:"Copy field widget",onlyFieldWidgetAcceptable:"Only field widget can be dragged into sub-form",moveUpFirstChildHint:"First child can not be move up",moveDownLastChildHint:"Last child can not be move down",closePreview:"Close",copyJson:"Copy",saveFormJson:"Save As File",copyVueCode:"Copy Vue Code",copyHtmlCode:"Copy HTML Code",copyJsonSuccess:"Copy succeed",importJsonSuccess:"Import succeed",invalidJsonFormat:"Invalid JSON format",jsonVersionMismatch:"Version of JSON mismatch",copyJsonFail:"Copy failed",copyVueCodeSuccess:"Copy succeed",copyVueCodeFail:"Copy failed",copyHtmlCodeSuccess:"Copy succeed",copyHtmlCodeFail:"Copy failed",saveVueCode:"Save Vue File",saveHtmlCode:"Save Html File",getFormData:"Get Data",resetForm:"Reset",disableForm:"Disable",enableForm:"Enable",exportFormData:"Form Data",copyFormData:"Copy",saveFormData:"Save As File",copyVue2SFC:"Copy Vue2",copyVue3SFC:"Copy Vue3",copySFCFail:"Copy failed",copySFCSuccess:"Copy succeed",saveVue2SFC:"Save As Vue2",saveVue3SFC:"Save As Vue3",fileNameForSave:"File name:",saveFileTitle:"Save as File",fileNameInputPlaceholder:"Enter the file name",sampleLoadedSuccess:"Example loaded successfully",sampleLoadedFail:"Sample load failed",loadFormTemplate:"Load This",loadFormTemplateHint:"Are you sure to load this template?",loadFormTemplateSuccess:"Load form template success!",loadFormTemplateFailed:"Load form template failed.",currentNodeCannotBeSelected:"The current node cannot be selected.",widgetSetting:"Widget Config",formSetting:"Form Config",prompt:"Prompt",confirm:"OK",cancel:"Cancel",import:"Import",importJsonHint:"The code to be imported should have the following JSON format.",invalidOptionsData:"Invalid data of options:",lastPaneCannotBeDeleted:"The last pane cannot be deleted.",duplicateName:"Duplicate name: ",nameRequired:"Name required.",numberValidator:"Number",letterValidator:"Letter",letterAndNumberValidator:"LetterAndNumber",mobilePhoneValidator:"MobilePhone",emailValidator:"Email",urlValidator:"URL",noChineseValidator:"Non-Chinese",chineseValidator:"Chinese",maxLen12Decimals6Validator:"Max length is 12 digits, 6 decimal places",isPositiveIntegerLengthValidator:"1-4\u4F4D\u7684\u6B63\u6574\u6570",isPositiveIntegerZeroValidator:"0\u62161-4\u4F4D\u7684\u6B63\u6574\u6570",maxLen10Decimals2Validator:"\u6574\u6570\u90E8\u5206\u6700\u591A10\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",maxLen12Decimals2Validator:"\u6574\u6570\u90E8\u5206\u6700\u591A12\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",latitude:"\u8D1F90\u523090\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D",longitude:"\u8D1F180\u5230180\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D",sixFigures:"\u6574\u6570\u90E8\u5206\u6700\u591A6\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A6\u4F4D\u7684\u6570\u5B57",percentage:"0-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D",rowspanNotConsistentForMergeEntireRow:"Cells in this row don't have the same rowspan, operation failed.",colspanNotConsistentForMergeEntireColumn:"Cells in this column don't have the same colspan, operation failed.",rowspanNotConsistentForDeleteEntireRow:"Cells in this row don't have the same rowspan, operation failed.",colspanNotConsistentForDeleteEntireColumn:"Cells in this column don't have the same colspan, operation failed.",lastColCannotBeDeleted:"The last col cannot be deleted.",lastRowCannotBeDeleted:"The last row cannot be deleted."},toolbar:{undoHint:"Undo",redoHint:"Redo",pcLayout:"PC",padLayout:"Pad",mobileLayout:"H5",nodeTreeHint:"Tree View Of Component Hierarchy",nodeTreeTitle:"Tree View Of Component Hierarchy",clear:"Clear",preview:"Preview",importJson:"Import",exportJson:"Export",exportCode:"Codes",generateCode:"Generate Code",generateSFC:"Generate SFC"},setting:{basicSetting:"Basic Setting",attributeSetting:"Attribute Setting",commonSetting:"Common Setting",advancedSetting:"Advanced Setting",eventSetting:"Event Setting",uniqueName:"Unique Name",editNameHelp:"Press enter to confirm the modification",label:"Label",displayType:"Type",defaultValue:"Default Value",placeholder:"Placeholder",startPlaceholder:"Start Placeholder",endPlaceholder:"End Placeholder",widgetColumnWidth:"Width",widgetSize:"Size",fontSize:"Font Size",fontColor:"Text Color",textAlign:"Text Align",autoFullWidth:"Auto Full Width",showStops:"Show Stops",displayStyle:"Display Style",inlineLayout:"inline",blockLayout:"block",buttonStyle:"Show As Button",border:"Show Border",labelWidth:"Width Of Label",rows:"Rows",labelHidden:"Hide Label",required:"Required",requiredHint:"Failure Hint",validation:"Validation",validationHelp:"Regular expressions supported",validationHint:"Validation Hint",readonly:"Readonly",disabled:"Disabled",hidden:"Hidden",textContent:"Text",preWrap:"Line Wrap",htmlContent:"HTML",clearable:"Clearable",objectValue:"Object Value",editable:"Editable",format:"Format",valueFormat:"Value Format",showPassword:"Show Reveal",filterable:"Filterable",allowCreate:"Allow Create",remote:"Remote Query",automaticDropdown:"Automatic Dropdown",multiple:"Multiple",multipleLimit:"Multiple Limit",checkStrictly:"Any Level Selectable",showAllLevels:"Show All Levels",cascaderLabelKey:"Label Field",cascaderLabelKeyPlaceholder:"Default: label",cascaderValueKey:"Value Field",cascaderValueKeyPlaceholder:"Default: value",cascaderChildrenKey:"Children Field",cascaderChildrenKeyPlaceholder:"Default: children",showCheckbox:"Show Checkbox",contentPosition:"Content Position",plain:"Plain",round:"Round",circle:"Circle",icon:"Icon",optionsSetting:"Options Setting",addOption:"Add Option",importOptions:"Import Options",resetDefault:"Reset Default",uploadSetting:"Upload Setting",uploadURL:"Upload URL",uploadTip:"Tip Content",withCredentials:"Send Cookie",multipleSelect:"File Multi-select",showFileList:"Show File List",limit:"Max Upload Number",fileMaxSize:"Max Size(MB)",fileTypes:"Upload File Types",fileTypesHelp:"Allows to add more file types",headers:"Request Headers",allowDrag:"Allow Drag",allowDragHelp:"Enable drag and drop uploading",cellWidth:"Width",cellHeight:"Height",wordBreak:"Line Wrap",gridColHeight:"Height Of Col(px)",gutter:"Gutter(px)",columnSetting:"Cols Setting",colsOfGrid:"Cols Of Grid:",colSpanTitle:"Spans Of Col",colOffsetTitle:"Offset Of Col",colPushTitle:"Push Of Col",colPullTitle:"Pull Of Col",addColumn:"Add Column",responsive:"Responsive",tabPaneSetting:"Tab Panes",addTabPane:"Add Tab Pane",paneActive:"Active",customLabelIcon:"Custom Label",labelIconClass:"Label Icon Class",labelIconPosition:"Label Icon Position",labelTooltip:"Label Tooltip",minValue:"Min Value",maxValue:"Max Value",precision:"Precision",step:"Step",controlsPosition:"Controls Position",minLength:"Min Length",maxLength:"Max Length",showWordLimit:"Show Word Limit",prefixIcon:"Prefix Icon",suffixIcon:"Suffix Icon",inputButton:"Input Button Setting",appendButton:"Append Button",appendButtonDisabled:"Button Disabled",appendButtonIcon:"Append Button Icon",buttonIcon:"Button Icon",switchWidth:"Width of Switch(px)",activeText:"Active Text",inactiveText:"Inactive Text",activeColor:"Active Color",inactiveColor:"Inactive Color",maxStars:"Stars Max Number",lowThreshold:"Low Threshold",highThreshold:"High Threshold",allowHalf:"Allow Half",showText:"Show Text",showScore:"Show Score",range:"Range",vertical:"Vertical",showBlankRow:"Show Blank Row",showRowNumber:"Show Row Number",contentHeight:"Content Area Height",insertColumnToLeft:"insert column to left",insertColumnToRight:"insert column to right",insertRowAbove:"insert row above",insertRowBelow:"insert row below",mergeLeftColumn:"merge left cell",mergeRightColumn:"merge right cell",mergeEntireRow:"merge entire row",mergeRowAbove:"merge cell above",mergeRowBelow:"merge cell below",mergeEntireColumn:"merge entire column",undoMergeCol:"undo merge column",undoMergeRow:"undo merge row",deleteEntireCol:"delete entire column",deleteEntireRow:"delete entire row",widgetName:"Unique Name",formSize:"Size",labelPosition:"Position Of Label",topPosition:"Top",leftPosition:"Left",labelAlign:"Label Align",leftAlign:"Left",centerAlign:"Center",rightAlign:"Right",formCss:"Form CSS",addCss:"Edit",customClass:"Custom Class",mainTip:"Main Tip",subTip:"Sub Tip",globalFunctions:"Global Functions",addEventHandler:"Edit",editWidgetEventHandler:"Edit Widget Event Handler",editFormEventHandler:"Edit Form Event Handler",formSFCSetting:"SFC Setting",formModelName:"Model Name",formRefName:"Ref Name",formRulesName:"Rules Name",syntaxCheckWarning:"Syntax error in the javascript codes, please check again!"}}},zhLocale={application:{"zh-CN":"\u7B80\u4F53\u4E2D\u6587","en-US":"English",productTitle:"\u8868\u5355\u8BBE\u8BA1\u5668",github:"GitHub",document:"\u6587\u6863",qqGroup:"\u6280\u672FWX\u7FA4",deployment:"\u79C1\u6709\u90E8\u7F72",subscription:"\u8BA2\u9605Pro"},designer:{componentLib:"\u7EC4\u4EF6\u5E93",formLib:"\u8868\u5355\u6A21\u677F",containerTitle:"\u5BB9\u5668",dragHandlerHint:"\u9F20\u6807\u62D6\u62FD\u5BB9\u5668\u7EC4\u4EF6\u6216\u5B57\u6BB5\u7EC4\u4EF6\u5E76\u653E\u7F6E\u4E8E\u8868\u5355\u4E2D",dragAction:"\u62D6\u52A8",basicFieldTitle:"\u57FA\u7840\u5B57\u6BB5",advancedFieldTitle:"\u9AD8\u7EA7\u5B57\u6BB5",customFieldTitle:"\u81EA\u5B9A\u4E49\u6269\u5C55\u5B57\u6BB5",noWidgetHint:"\u8BF7\u4ECE\u5DE6\u4FA7\u5217\u8868\u4E2D\u9009\u62E9\u4E00\u4E2A\u7EC4\u4EF6, \u7136\u540E\u7528\u9F20\u6807\u62D6\u52A8\u7EC4\u4EF6\u653E\u7F6E\u4E8E\u6B64\u5904.",widgetLabel:{grid:"\u6805\u683C",table:"\u8868\u683C",tab:"\u6807\u7B7E\u9875",section:"\u533A\u5757","sub-form":"\u5B50\u8868\u5355","grid-col":"\u6805\u683C\u5217","table-cell":"\u5355\u5143\u683C","tab-pane":"\u9009\u9879\u5361\u9875","data-table":"\u6570\u636E\u8868\u683C",input:"\u5355\u884C\u8F93\u5165",textarea:"\u591A\u884C\u8F93\u5165",number:"\u8BA1\u6570\u5668",radio:"\u5355\u9009\u9879",checkbox:"\u591A\u9009\u9879",select:"\u4E0B\u62C9\u9009\u9879","select-tree":"\u6811\u5F62\u9009\u62E9",time:"\u65F6\u95F4","time-range":"\u65F6\u95F4\u8303\u56F4",date:"\u65E5\u671F","date-range":"\u65E5\u671F\u8303\u56F4",switch:"\u5F00\u5173",rate:"\u8BC4\u5206",color:"\u989C\u8272\u9009\u62E9\u5668",slider:"\u6ED1\u5757","static-text":"\u9759\u6001\u6587\u5B57","html-text":"HTML",button:"\u6309\u94AE",divider:"\u5206\u9694\u7EBF","picture-upload":"\u56FE\u7247","file-upload":"\u6587\u4EF6","rich-editor":"\u5BCC\u6587\u672C",cascader:"\u7EA7\u8054\u9009\u62E9",slot:"\u63D2\u69FD",custom:"Custom Component"},hint:{selectParentWidget:"\u9009\u4E2D\u7236\u7EC4\u4EF6",moveUpWidget:"\u4E0A\u79FB\u7EC4\u4EF6",moveDownWidget:"\u4E0B\u79FB\u7EC4\u4EF6",cloneWidget:"\u590D\u5236\u7EC4\u4EF6",insertRow:"\u63D2\u5165\u65B0\u884C",insertColumn:"\u63D2\u5165\u65B0\u5217",remove:"\u79FB\u9664\u7EC4\u4EF6",cellSetting:"\u5355\u5143\u683C\u64CD\u4F5C",dragHandler:"\u62D6\u62FD\u624B\u67C4",copyField:"\u590D\u5236\u5B57\u6BB5\u7EC4\u4EF6",onlyFieldWidgetAcceptable:"\u5B50\u8868\u5355\u53EA\u80FD\u63A5\u6536\u5B57\u6BB5\u7EC4\u4EF6",moveUpFirstChildHint:"\u5DF2\u7ECF\u79FB\u52A8\u5230\u6700\u4E0A\u9762",moveDownLastChildHint:"\u5DF2\u7ECF\u79FB\u52A8\u5230\u6700\u4E0B\u9762",closePreview:"\u5173\u95ED",copyJson:"\u590D\u5236JSON",saveFormJson:"\u4FDD\u5B58\u4E3A\u6587\u4EF6",copyVueCode:"\u590D\u5236Vue\u4EE3\u7801",copyHtmlCode:"\u590D\u5236HTML\u4EE3\u7801",copyJsonSuccess:"\u590D\u5236JSON\u6210\u529F",importJsonSuccess:"\u5BFC\u5165JSON\u6210\u529F",invalidJsonFormat:"\u65E0\u6548\u7684\u8868\u5355JSON\u683C\u5F0F",jsonVersionMismatch:"\u8868\u5355JSON\u7248\u672C\u53F7\u4E0D\u5339\u914D",copyJsonFail:"\u590D\u5236JSON\u5931\u8D25",copyVueCodeSuccess:"\u590D\u5236Vue\u4EE3\u7801\u6210\u529F",copyVueCodeFail:"\u590D\u5236Vue\u4EE3\u7801\u5931\u8D25",copyHtmlCodeSuccess:"\u590D\u5236HTML\u4EE3\u7801\u6210\u529F",copyHtmlCodeFail:"\u590D\u5236HTML\u4EE3\u7801\u5931\u8D25",saveVueCode:"\u4FDD\u5B58Vue\u6587\u4EF6",saveHtmlCode:"\u4FDD\u5B58Html\u6587\u4EF6",getFormData:"\u83B7\u53D6\u6570\u636E",resetForm:"\u91CD\u7F6E\u8868\u5355",disableForm:"\u7981\u7528\u7F16\u8F91",enableForm:"\u6062\u590D\u7F16\u8F91",exportFormData:"\u8868\u5355\u6570\u636E",copyFormData:"\u590D\u5236JSON",saveFormData:"\u4FDD\u5B58\u4E3A\u6587\u4EF6",copyVue2SFC:"\u590D\u5236Vue2\u4EE3\u7801",copyVue3SFC:"\u590D\u5236Vue3\u4EE3\u7801",copySFCFail:"\u590D\u5236SFC\u4EE3\u7801\u5931\u8D25",copySFCSuccess:"\u590D\u5236SFC\u4EE3\u7801\u6210\u529F",saveVue2SFC:"\u4FDD\u5B58\u4E3AVue2\u7EC4\u4EF6",saveVue3SFC:"\u4FDD\u5B58\u4E3AVue3\u7EC4\u4EF6",fileNameForSave:"\u6587\u4EF6\u540D\uFF1A",saveFileTitle:"\u4FDD\u5B58\u4E3A\u6587\u4EF6",fileNameInputPlaceholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D",sampleLoadedSuccess:"\u8868\u5355\u793A\u4F8B\u52A0\u8F7D\u6210\u529F",sampleLoadedFail:"\u8868\u5355\u793A\u4F8B\u52A0\u8F7D\u5931\u8D25",loadFormTemplate:"\u52A0\u8F7D\u6B64\u6A21\u677F",loadFormTemplateHint:"\u662F\u5426\u52A0\u8F7D\u8FD9\u4E2A\u6A21\u677F\uFF1F\u52A0\u8F7D\u540E\u4F1A\u8986\u76D6\u8BBE\u8BA1\u5668\u5F53\u524D\u8868\u5355\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u201C\u64A4\u9500\u201D\u529F\u80FD\u6062\u590D\u3002",loadFormTemplateSuccess:"\u8868\u5355\u6A21\u677F\u52A0\u8F7D\u6210\u529F",loadFormTemplateFailed:"\u8868\u5355\u6A21\u677F\u52A0\u8F7D\u5931\u8D25",currentNodeCannotBeSelected:"\u5F53\u524D\u7EC4\u4EF6\u8282\u70B9\u4E0D\u53EF\u9009\u62E9",widgetSetting:"\u7EC4\u4EF6\u8BBE\u7F6E",formSetting:"\u8868\u5355\u8BBE\u7F6E",prompt:"\u63D0\u793A",confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",import:"\u5BFC\u5165",importJsonHint:"\u5BFC\u5165\u7684JSON\u5185\u5BB9\u987B\u7B26\u5408\u4E0B\u8FF0\u683C\u5F0F\uFF0C\u4EE5\u4FDD\u8BC1\u987A\u5229\u5BFC\u5165.",invalidOptionsData:"\u65E0\u6548\u7684\u9009\u9879\u6570\u636E:",lastPaneCannotBeDeleted:"\u4EC5\u5269\u4E00\u4E2A\u9009\u9879\u5361\u9875\u4E0D\u53EF\u5220\u9664.",duplicateName:"\u7EC4\u4EF6\u540D\u79F0\u5DF2\u5B58\u5728: ",nameRequired:"\u7EC4\u4EF6\u540D\u79F0\u4E0D\u53EF\u4E3A\u7A7A",numberValidator:"\u6570\u5B57",letterValidator:"\u5B57\u6BCD",letterAndNumberValidator:"\u6570\u5B57\u5B57\u6BCD",mobilePhoneValidator:"\u624B\u673A\u53F7\u7801",emailValidator:"\u90AE\u7BB1",urlValidator:"\u7F51\u5740",noChineseValidator:"\u975E\u4E2D\u6587\u5B57\u7B26",chineseValidator:"\u4EC5\u4E2D\u6587\u5B57\u7B26",maxLen12Decimals6Validator:"\u6700\u5927\u957F\u5EA6\u4E3A12\u4F4D\uFF0C\u5C0F\u6570\u70B9\u540E6\u4F4D",isPositiveIntegerLengthValidator:"1-4\u4F4D\u7684\u6B63\u6574\u6570",isPositiveIntegerZeroValidator:"0\u62161-4\u4F4D\u7684\u6B63\u6574\u6570",maxLen10Decimals2Validator:"\u6574\u6570\u90E8\u5206\u6700\u591A10\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",maxLen12Decimals2Validator:"\u6574\u6570\u90E8\u5206\u6700\u591A12\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",latitude:"\u8D1F90\u523090\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D",longitude:"\u8D1F180\u5230180\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D",sixFigures:"\u6574\u6570\u90E8\u5206\u6700\u591A6\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A6\u4F4D\u7684\u6570\u5B57",percentage:"0-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D",rowspanNotConsistentForMergeEntireRow:"\u5B58\u5728\u884C\u9AD8\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u65E0\u6CD5\u5408\u5E76\u6574\u884C.",colspanNotConsistentForMergeEntireColumn:"\u5B58\u5728\u5217\u5BBD\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u65E0\u6CD5\u5408\u5E76\u6574\u5217.",rowspanNotConsistentForDeleteEntireRow:"\u5B58\u5728\u884C\u9AD8\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u4E0D\u53EF\u5220\u9664\u6574\u884C.",colspanNotConsistentForDeleteEntireColumn:"\u5B58\u5728\u5217\u5BBD\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u4E0D\u53EF\u5220\u9664\u6574\u5217.",lastColCannotBeDeleted:"\u6700\u540E\u4E00\u5217\u4E0D\u53EF\u5220\u9664.",lastRowCannotBeDeleted:"\u6700\u540E\u4E00\u884C\u4E0D\u53EF\u5220\u9664."},toolbar:{undoHint:"\u64A4\u9500",redoHint:"\u91CD\u505A",pcLayout:"PC",padLayout:"Pad",mobileLayout:"H5",nodeTreeHint:"\u7EC4\u4EF6\u5C42\u6B21\u7ED3\u6784\u6811",nodeTreeTitle:"\u7EC4\u4EF6\u5C42\u6B21\u7ED3\u6784\u6811",clear:"\u6E05\u7A7A",preview:"\u9884\u89C8",importJson:"\u5BFC\u5165JSON",exportJson:"\u5BFC\u51FAJSON",exportCode:"\u5BFC\u51FA\u4EE3\u7801",generateCode:"\u751F\u6210\u4EE3\u7801",generateSFC:"\u751F\u6210SFC"},setting:{basicSetting:"\u57FA\u672C\u5C5E\u6027",attributeSetting:"\u5C5E\u6027\u8BBE\u7F6E",commonSetting:"\u5E38\u89C1\u5C5E\u6027",advancedSetting:"\u9AD8\u7EA7\u5C5E\u6027",eventSetting:"\u4E8B\u4EF6\u5C5E\u6027",uniqueName:"\u552F\u4E00\u540D\u79F0",editNameHelp:"\u4FEE\u6539\u540D\u79F0\u540E\u9700\u6309\u56DE\u8F66\u786E\u8BA4",label:"\u6807\u7B7E",displayType:"\u663E\u793A\u7C7B\u578B",defaultValue:"\u9ED8\u8BA4\u503C",placeholder:"\u5360\u4F4D\u5185\u5BB9",startPlaceholder:"\u8D77\u59CB\u5360\u4F4D\u5185\u5BB9",endPlaceholder:"\u622A\u6B62\u5360\u4F4D\u5185\u5BB9",widgetColumnWidth:"\u7EC4\u4EF6\u5217\u5BBD",widgetSize:"\u7EC4\u4EF6\u5927\u5C0F",fontSize:"\u5B57\u4F53\u5927\u5C0F",fontColor:"\u6587\u5B57\u989C\u8272",textAlign:"\u6587\u5B57\u5BF9\u9F50",autoFullWidth:"\u81EA\u52A8\u62C9\u4F38\u5BBD\u5EA6",showStops:"\u663E\u793A\u95F4\u65AD\u70B9",displayStyle:"\u663E\u793A\u6837\u5F0F",inlineLayout:"\u884C\u5185",blockLayout:"\u5757",buttonStyle:"\u663E\u793A\u4E3A\u6309\u94AE",border:"\u5E26\u6709\u8FB9\u6846",labelWidth:"\u6807\u7B7E\u5BBD\u5EA6",rows:"\u884C\u6570",labelHidden:"\u9690\u85CF\u5B57\u6BB5\u6807\u7B7E",required:"\u5FC5\u586B\u5B57\u6BB5",requiredHint:"\u5FC5\u586B\u6821\u9A8C\u63D0\u793A",validation:"\u5B57\u6BB5\u6821\u9A8C",validationHelp:"\u652F\u6301\u8F93\u5165\u6B63\u5219\u8868\u8FBE\u5F0F",validationHint:"\u6821\u9A8C\u5931\u8D25\u63D0\u793A",readonly:"\u53EA\u8BFB",disabled:"\u7981\u7528",hidden:"\u9690\u85CF",textContent:"\u9759\u6001\u6587\u5B57",preWrap:"\u81EA\u52A8\u6362\u884C",htmlContent:"HTML",clearable:"\u53EF\u6E05\u9664",objectValue:"\u5BF9\u8C61\u503C",editable:"\u53EF\u8F93\u5165",format:"\u663E\u793A\u683C\u5F0F",valueFormat:"\u7ED1\u5B9A\u503C\u683C\u5F0F",showPassword:"\u53EF\u663E\u793A\u5BC6\u7801",filterable:"\u53EF\u641C\u7D22\u9009\u9879",allowCreate:"\u5141\u8BB8\u521B\u5EFA\u9009\u9879",remote:"\u53EF\u8FDC\u7A0B\u641C\u7D22",automaticDropdown:"\u81EA\u52A8\u5F39\u51FA\u9009\u9879",multiple:"\u9009\u9879\u53EF\u591A\u9009",multipleLimit:"\u591A\u9009\u6570\u91CF\u9650\u5236",checkStrictly:"\u4EFB\u610F\u7EA7\u8282\u70B9\u53EF\u9009",showAllLevels:"\u663E\u793A\u5B8C\u6574\u8DEF\u5F84",cascaderLabelKey:"\u663E\u793A\u5B57\u6BB5\u540D",cascaderLabelKeyPlaceholder:"\u9ED8\u8BA4 label",cascaderValueKey:"\u503C\u5B57\u6BB5\u540D",cascaderValueKeyPlaceholder:"\u9ED8\u8BA4 value",cascaderChildrenKey:"\u5B50\u8282\u70B9\u5B57\u6BB5\u540D",cascaderChildrenKeyPlaceholder:"\u9ED8\u8BA4 children",showCheckbox:"\u663E\u793A\u590D\u9009\u6846",contentPosition:"\u6587\u5B57\u4F4D\u7F6E",plain:"\u6734\u7D20\u6309\u94AE",round:"\u5706\u89D2\u6309\u94AE",circle:"\u5706\u5F62\u6309\u94AE",icon:"\u56FE\u6807",optionsSetting:"\u9009\u9879\u8BBE\u7F6E",addOption:"\u589E\u52A0\u9009\u9879",importOptions:"\u5BFC\u5165\u9009\u9879",resetDefault:"\u91CD\u8BBE\u9009\u4E2D\u9879",uploadSetting:"\u4E0A\u4F20\u53C2\u6570\u8BBE\u7F6E",uploadURL:"\u4E0A\u4F20\u5730\u5740",uploadTip:"\u4E0A\u4F20\u63D0\u793A\u5185\u5BB9",withCredentials:"\u53D1\u9001cookie\u51ED\u8BC1",multipleSelect:"\u6587\u4EF6\u53EF\u591A\u9009",showFileList:"\u663E\u793A\u6587\u4EF6\u5217\u8868",limit:"\u6700\u5927\u4E0A\u4F20\u6570\u91CF",fileMaxSize:"\u6587\u4EF6\u5927\u5C0F\u9650\u5236(MB)",fileTypes:"\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B",fileTypesHelp:"\u652F\u6301\u6DFB\u52A0\u5176\u4ED6\u6587\u4EF6\u7C7B\u578B",headers:"\u4E0A\u4F20\u8BF7\u6C42\u5934",allowDrag:"\u5141\u8BB8\u62D6\u62FD",allowDragHelp:"\u5F00\u542F\u540E\u652F\u6301\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u4E0A\u4F20\u533A\u57DF",cellWidth:"\u5BBD\u5EA6",cellHeight:"\u9AD8\u5EA6",wordBreak:"\u6587\u5B57\u81EA\u52A8\u6362\u884C",gridColHeight:"\u6805\u683C\u5217\u7EDF\u4E00\u9AD8\u5EA6(px)",gutter:"\u6805\u683C\u95F4\u9694(px)",columnSetting:"\u6805\u683C\u5C5E\u6027\u8BBE\u7F6E",colsOfGrid:"\u5F53\u524D\u6805\u683C\u5217:",colSpanTitle:"\u6805\u683C\u5BBD\u5EA6",colOffsetTitle:"\u5DE6\u4FA7\u95F4\u9694\u683C\u6570",colPushTitle:"\u53F3\u79FB\u6805\u683C\u6570",colPullTitle:"\u5DE6\u79FB\u6805\u683C\u6570",addColumn:"\u589E\u52A0\u6805\u683C",responsive:"\u54CD\u5E94\u5F0F\u5E03\u5C40",tabPaneSetting:"\u9009\u9879\u5361\u8BBE\u7F6E",addTabPane:"\u589E\u52A0\u9009\u9879\u5361\u9875",paneActive:"\u6FC0\u6D3B",customLabelIcon:"\u5B9A\u5236\u5B57\u6BB5\u6807\u7B7E",labelIconClass:"\u6807\u7B7EIcon\u6837\u5F0F",labelIconPosition:"\u6807\u7B7EIcon\u4F4D\u7F6E",labelTooltip:"\u6807\u7B7E\u6587\u5B57\u63D0\u793A",minValue:"\u6700\u5C0F\u503C",maxValue:"\u6700\u5927\u503C",precision:"\u7CBE\u5EA6",step:"\u589E\u51CF\u6B65\u957F",controlsPosition:"\u63A7\u5236\u6309\u94AE\u4F4D\u7F6E",minLength:"\u6700\u5C0F\u957F\u5EA6",maxLength:"\u6700\u5927\u957F\u5EA6",showWordLimit:"\u663E\u793A\u5B57\u6570\u7EDF\u8BA1",prefixIcon:"\u5934\u90E8Icon",suffixIcon:"\u5C3E\u90E8Icon",inputButton:"\u8F93\u5165\u6846\u6309\u94AE\u8BBE\u7F6E",appendButton:"\u6DFB\u52A0\u540E\u7F6E\u6309\u94AE",appendButtonDisabled:"\u540E\u7F6E\u6309\u94AE\u7981\u7528",appendButtonIcon:"\u540E\u7F6E\u6309\u94AEIcon",buttonIcon:"\u6309\u94AEIcon",switchWidth:"\u5F00\u5173\u5BBD\u5EA6\uFF08\u50CF\u7D20\uFF09",activeText:"\u5F00\u542F\u65F6\u6587\u5B57\u63CF\u8FF0",inactiveText:"\u5173\u95ED\u65F6\u6587\u5B57\u63CF\u8FF0",activeColor:"\u5F00\u542F\u65F6\u80CC\u666F\u8272",inactiveColor:"\u5173\u95ED\u65F6\u80CC\u666F\u8272",maxStars:"\u6700\u5927\u8BC4\u5206\u503C",lowThreshold:"\u4F4E\u5206\u754C\u9650\u503C",highThreshold:"\u9AD8\u5206\u754C\u9650\u503C",allowHalf:"\u5141\u8BB8\u534A\u9009",showText:"\u663E\u793A\u8F85\u52A9\u6587\u5B57",showScore:"\u663E\u793A\u5F53\u524D\u5206\u6570",range:"\u662F\u5426\u4E3A\u8303\u56F4\u9009\u62E9",vertical:"\u662F\u5426\u7AD6\u5411\u663E\u793A",showBlankRow:"\u9ED8\u8BA4\u663E\u793A\u65B0\u884C",showRowNumber:"\u663E\u793A\u884C\u53F7",contentHeight:"\u5185\u5BB9\u533A\u9AD8\u5EA6",insertColumnToLeft:"\u63D2\u5165\u5DE6\u4FA7\u5217",insertColumnToRight:"\u63D2\u5165\u53F3\u4FA7\u5217",insertRowAbove:"\u63D2\u5165\u4E0A\u65B9\u884C",insertRowBelow:"\u63D2\u5165\u4E0B\u65B9\u884C",mergeLeftColumn:"\u5408\u5E76\u5DE6\u4FA7\u5355\u5143\u683C",mergeRightColumn:"\u5408\u5E76\u53F3\u4FA7\u5355\u5143\u683C",mergeEntireRow:"\u5408\u5E76\u6574\u884C",mergeRowAbove:"\u5408\u5E76\u4E0A\u65B9\u5355\u5143\u683C",mergeRowBelow:"\u5408\u5E76\u4E0B\u65B9\u5355\u5143\u683C",mergeEntireColumn:"\u5408\u5E76\u6574\u5217",undoMergeCol:"\u64A4\u9500\u5217\u5408\u5E76",undoMergeRow:"\u64A4\u9500\u884C\u5408\u5E76",deleteEntireCol:"\u5220\u9664\u6574\u5217",deleteEntireRow:"\u5220\u9664\u6574\u884C",widgetName:"\u7EC4\u4EF6\u552F\u4E00\u540D\u79F0",formSize:"\u5168\u5C40\u7EC4\u4EF6\u5927\u5C0F",labelPosition:"\u6807\u7B7E\u4F4D\u7F6E",topPosition:"\u9876\u90E8",leftPosition:"\u5DE6\u8FB9",labelAlign:"\u5B57\u6BB5\u6807\u7B7E\u5BF9\u9F50",leftAlign:"\u5C45\u5DE6",centerAlign:"\u5C45\u4E2D",rightAlign:"\u5C45\u53F3",formCss:"\u8868\u5355\u5168\u5C40CSS",addCss:"\u7F16\u5199CSS",customClass:"\u81EA\u5B9A\u4E49CSS\u6837\u5F0F",mainTip:"\u4E3B\u63D0\u793A\u8BED",subTip:"\u526F\u63D0\u793A\u8BED",globalFunctions:"\u8868\u5355\u5168\u5C40\u51FD\u6570",addEventHandler:"\u7F16\u5199\u4EE3\u7801",editWidgetEventHandler:"\u7EC4\u4EF6\u4E8B\u4EF6\u5904\u7406",editFormEventHandler:"\u8868\u5355\u4E8B\u4EF6\u5904\u7406",formSFCSetting:"\u751F\u6210SFC\u8BBE\u7F6E",formModelName:"\u6570\u636E\u5BF9\u8C61\u540D\u79F0",formRefName:"\u5F15\u7528\u540D\u79F0",formRulesName:"\u9A8C\u8BC1\u89C4\u5219\u540D\u79F0",syntaxCheckWarning:"JS\u4EE3\u7801\u5B58\u5728\u8BED\u6CD5\u9519\u8BEF\uFF0C\u8BF7\u4ED4\u7EC6\u68C0\u67E5\uFF01"}}},enLocale_render={render:{hint:{prompt:"Prompt",confirm:"OK",cancel:"Cancel",selectPlaceholder:"Pick some item",timePlaceholder:"Select time",startTimePlaceholder:"Start time",endTimePlaceholder:"End time",datePlaceholder:"Select date",startDatePlaceholder:"Start date",endDatePlaceholder:"End date",blankCellContent:"--",uploadError:"Upload error: ",uploadExceed:"The maximum number(${uploadLimit}) of file uploads has been exceeded.",unsupportedFileType:"Unsupported format: ",fileSizeExceed:"File size out of limit: ",refNotFound:"Ref not found: ",fieldRequired:"Input value should be not null.",invalidNumber:"Invalid number format",selectFile:" File...",downloadFile:"Download",removeFile:"Remove",validationFailed:"Form validation failed",subFormAction:"Action",subFormAddAction:"Add",subFormAddActionHint:"add new row",insertSubFormRow:"insert new row",deleteSubFormRow:"delete this row",nonSubFormType:"The type of widget don't match sub-form"}}},zhLocale_render={render:{hint:{prompt:"\u63D0\u793A",confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",selectPlaceholder:"\u8BF7\u9009\u62E9",timePlaceholder:"\u9009\u62E9\u65F6\u95F4",startTimePlaceholder:"\u8D77\u59CB\u65F6\u95F4",endTimePlaceholder:"\u622A\u6B62\u65F6\u95F4",datePlaceholder:"\u9009\u62E9\u65E5\u671F",startDatePlaceholder:"\u8D77\u59CB\u65E5\u671F",endDatePlaceholder:"\u622A\u6B62\u65E5\u671F",blankCellContent:"--",uploadError:"\u4E0A\u4F20\u9519\u8BEF: ",uploadExceed:"\u6700\u5927\u4E0A\u4F20\u6570\u91CF(${uploadLimit})\u5DF2\u8D85\u51FA.",unsupportedFileType:"\u4E0D\u652F\u6301\u683C\u5F0F: ",fileSizeExceed:"\u6587\u4EF6\u5927\u5C0F\u5DF2\u8D85\u51FA: ",refNotFound:"\u7EC4\u4EF6\u672A\u627E\u5230: ",fieldRequired:"\u5B57\u6BB5\u503C\u4E0D\u53EF\u4E3A\u7A7A",invalidNumber:"\u6570\u636E\u683C\u5F0F\u9519\u8BEF",selectFile:" \u9009\u62E9\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D",removeFile:"\u79FB\u9664",validationFailed:"\u8868\u5355\u6570\u636E\u6821\u9A8C\u5931\u8D25",subFormAction:"\u64CD\u4F5C",subFormAddAction:"\u65B0\u589E",subFormAddActionHint:"\u65B0\u589E\u884C",insertSubFormRow:"\u63D2\u5165\u884C",deleteSubFormRow:"\u5220\u9664\u884C",nonSubFormType:"\u7EC4\u4EF6\u7C7B\u578B\u4E0D\u662F\u5B50\u8868\u5355",selectTreeCheckStrictly:"\u662F\u5426\u4E25\u683C\u9009\u4E2D"}}};const cardSchema={type:"card",category:"container",icon:"card",widgetList:[],options:{name:"",label:"card",hidden:!1,folded:!1,showFold:!0,cardWidth:"100%",shadow:"never",customClass:""}},alertSchema={type:"alert",icon:"alert",formItemFlag:!1,options:{name:"",title:"Good things are coming...",type:"info",description:"",closable:!0,closeText:"",center:!0,showIcon:!1,effect:"light",hidden:!1,onClose:"",customClass:""}},personTreeSchema={type:"person-tree",icon:"tree",formItemFlag:!0,options:{name:"",label:"\u4EBA\u5458\u6811",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"auto",defaultValue:null,required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,buttonText:"\u9009\u62E9\u4EBA\u5458",confirmText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",dialogTitle:"\u9009\u62E9\u4EBA\u5458",dialogWidth:"50%",hideFooter:!1,multiple:!0,treeParams:"",customClass:"",onOpen:"",onConfirm:"",onRemoveTag:"",onCancel:"",onClose:""}},radioOtherSchema={type:"radio-other",icon:"radio-field",formItemFlag:!0,options:{name:"",label:"\u5355\u9009\u9879\uFF08\u5176\u4ED6\uFF09",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"auto",size:"",displayStyle:"inline",border:!1,disabled:!1,defaultValue:null,optionItems:[{label:"\u9009\u98791",value:1},{label:"\u9009\u98792",value:2}],required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onChange:"",onValidate:""}},selectOtherSchema={type:"select-other",icon:"select-field",formItemFlag:!0,options:{name:"",label:"\u4E0B\u62C9\u9009\u9879\uFF08\u5176\u4ED6\uFF09",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"auto",size:"",defaultValue:"",placeholder:"",clearable:!0,filterable:!1,allowCreate:!1,remote:!1,automaticDropdown:!1,multiple:!1,multipleLimit:0,disabled:!1,optionItems:[{label:"\u9009\u98791",value:1},{label:"\u9009\u98792",value:2}],required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onRemoteQuery:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},meetingRoomSchema={type:"meeting-room",icon:"meeting-room",formItemFlag:!0,options:{name:"",label:"\u4F1A\u8BAE\u5BA4",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"auto",size:"",defaultValue:null,placeholder:"\u8BF7\u9009\u62E9\u4F1A\u8BAE\u5BA4",required:!1,requiredHint:"",validation:"",validationHint:"",remoteUrl:"",allowMultiple:!1}},currentUserSchema={type:"current-user",icon:"user",formItemFlag:!0,options:{name:"",label:"\u5F53\u524D\u7528\u6237",type:"username",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onChange:""}},assetSelectSchema={type:"asset-select",icon:"asset",formItemFlag:!0,options:{name:"",label:"\u8D44\u4EA7\u9009\u62E9",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onChange:"",buttonText:"\u9009\u62E9\u8D44\u4EA7",dialogTitle:"\u9009\u62E9\u8D44\u4EA7",dialogWidth:"50%",hideFooter:!1,typeJson:{},assetTypeValue:"",assetLimit:0,customClass:["assetCss"],onOpen:"",onConfirm:""}},assetTableSchema={type:"asset-table",icon:"asset",formItemFlag:!0,options:{name:"",label:"\u8D44\u4EA7\u8868\u683C",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,typeJson:{},clickRow:!0,customClass:"",onCreated:"",onMounted:"",onChange:"",onOpen:"",onConfirm:""}},fixedTableSchema={type:"fixed-table",icon:"fixed",formItemFlag:!0,options:{name:"",label:"\u56FA\u5B9A\u8D44\u4EA7\u6295\u8D44\u9879\u76EE\u5217\u8868",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,disabled:!0,typeJson:{},clickRow:!0,customClass:"",onCreated:"",onMounted:"",onChange:"",onOpen:"",onConfirm:""}},equityTableSchema={type:"equity-table",icon:"equity",formItemFlag:!0,options:{name:"",label:"\u80A1\u6743\u6295\u8D44\u9879\u76EE\u5217\u8868",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",disabled:!0,hidden:!1,typeJson:{},clickRow:!0,customClass:"",onCreated:"",onMounted:"",onChange:"",onOpen:"",onConfirm:""}},resolutionTableSchema={type:"resolution-table",icon:"resolution",formItemFlag:!0,options:{name:"",label:"\u51B3\u8BAE\u8868\u683C",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,typeJson:{},clickRow:!0,customClass:"",onCreated:"",onMounted:"",onChange:"",onOpen:"",onConfirm:""}},assetTypeSchema={type:"asset-type",icon:"asset",formItemFlag:!0,options:{name:"",label:"\u8D44\u4EA7\u7C7B\u578B",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onChange:"",assetTypeValue:"0"}},currentUserSecondCompanySchema={type:"current-user-second-company",icon:"user",formItemFlag:!0,options:{name:"",label:"\u5F53\u524D\u7528\u6237\u4E8C\u7EA7\u516C\u53F8",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onChange:""}},customInputSchema={type:"custom-input",icon:"input",formItemFlag:!0,options:{name:"",label:"\u81EA\u5B9A\u4E49\u8F93\u5165",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"auto",size:"",defaultValue:"",placeholder:"",clearable:!0,filterable:!1,disabled:!1,readonly:!1,maxlength:0,minlength:0,pattern:"",title:"",titlePosition:"top",titleWidth:0,titleAlign:"left",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onChange:"",onValidate:""}};var enLocale_extension={extension:{widgetLabel:{card:"Card",alert:"Alert","person-tree":"Person Tree","asset-select":"Asset Select","radio-other":"Radio (Other)","select-other":"Select (Other)","custom-sub-form":"Custom Sub Form","sub-table":"Sub Table","asset-table":"Asset Table","resolution-table":"Resolution Table","fixed-table":"Fixed Table","asset-type":"Asset Type","equity-table":"Equity Table","current-user":"Current User","current-user-second-company":"Current User Second Company","custom-input":"Custom Input"},setting:{cardFolded:"Folded",cardShowFold:"Show Fold",cardWidth:"Width Of Card",cardShadow:"Shadow",alertTitle:"Title",alertType:"Type",description:"Description",closable:"Closable",closeText:"Text On Close Btn",center:"Center",showIcon:"Show Icon",effect:"Effect",personTreeButtonText:"Button Text",personTreeDialogTitle:"Dialog Title",personTreeTreeParams:"Tree Params",personTreeDialogWidth:"Dialog Width",personTreeConfirmText:"Confirm Button Text",personTreeCancelText:"Cancel Button Text",personTreeHideFooter:"Hide Dialog Footer",personTreeMultiple:"Multiple",meetingRoomRemoteUrl:"Request URL",allowMultiple:"Allow Multiple",currentUserType:"Current User Type",selectTreeCheckStrictly:"Check Strictly",assetSelectButtonText:"Button Text",assetSelectTypeJson:"Asset Type Json",assetTableTypeJson:"Asset Table Type Json",fixedTableTypeJson:"Fixed Table Type Json",assetTableClickRow:"Click Row",fixedTableClickRow:"Click Row",equityTableTypeJson:"Equity Table Type Json",equityTableClickRow:"Click Row",assetSelectAssetTypeValue:"Asset Type Value",assetTypeAssetTypeValue:"Asset Type",assetLimit:"Asset Limit",assetType:"Asset Typee"}}},zhLocale_extension={extension:{widgetLabel:{card:"\u5361\u7247",alert:"\u63D0\u793A","person-tree":"\u4EBA\u5458\u6811","current-user":"\u5F53\u524D\u7528\u6237","current-user-second-company":"\u5F53\u524D\u7528\u6237\u4E8C\u7EA7\u516C\u53F8","asset-select":"\u8D44\u4EA7\u9009\u62E9","asset-table":"\u8D44\u4EA7\u8868\u683C","radio-other":"\u5355\u9009\u9879\uFF08\u5176\u4ED6\uFF09","select-other":"\u4E0B\u62C9\u9009\u9879\uFF08\u5176\u4ED6\uFF09","meeting-room":"\u4F1A\u8BAE\u5BA4","custom-sub-form":"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355","sub-table":"\u5B50\u8868\u683C","asset-type":"\u8D44\u4EA7\u7C7B\u578B","resolution-table":"\u51B3\u8BAE\u8868\u683C","fixed-table":"\u56FA\u5B9A\u8D44\u4EA7\u6295\u8D44","equity-table":"\u80A1\u6743\u6295\u8D44\u9879\u76EE","custom-input":"\u81EA\u5B9A\u4E49\u8F93\u5165"},setting:{cardFolded:"\u662F\u5426\u6536\u8D77",cardShowFold:"\u663E\u793A\u6298\u53E0\u6309\u94AE",cardWidth:"\u5361\u7247\u5BBD\u5EA6",cardShadow:"\u663E\u793A\u9634\u5F71",alertTitle:"\u6807\u9898",alertType:"\u7C7B\u578B",description:"\u8F85\u52A9\u6027\u6587\u5B57",closable:"\u662F\u5426\u53EF\u5173\u95ED",closeText:"\u5173\u95ED\u6309\u94AE\u6587\u5B57",center:"\u6587\u5B57\u5C45\u4E2D",showIcon:"\u663E\u793A\u56FE\u6807",effect:"\u663E\u793A\u6548\u679C",personTreeButtonText:"\u6309\u94AE\u6587\u5B57",personTreeDialogTitle:"\u5F39\u7A97\u6807\u9898",personTreeTreeParams:"\u8BF7\u6C42\u53C2\u6570",personTreeDialogWidth:"\u5F39\u7A97\u5BBD\u5EA6",personTreeConfirmText:"\u786E\u5B9A\u6309\u94AE\u6587\u5B57",personTreeCancelText:"\u53D6\u6D88\u6309\u94AE\u6587\u5B57",personTreeHideFooter:"\u9690\u85CF\u5E95\u90E8\u6309\u94AE",personTreeMultiple:"\u662F\u5426\u591A\u9009",meetingRoomRemoteUrl:"\u8BF7\u6C42\u5730\u5740",allowMultiple:"\u662F\u5426\u591A\u9009",currentUserType:"\u5F53\u524D\u7528\u6237\u7C7B\u578B",selectTreeCheckStrictly:"\u662F\u5426\u4E25\u683C\u9009\u4E2D",assetSelectButtonText:"\u6309\u94AE\u6587\u5B57",assetSelectTypeJson:"\u8D44\u4EA7\u7C7B\u578BJson",assetTableTypeJson:"\u8D44\u4EA7\u8868\u683C\u7C7B\u578BJson",fixedTableTypeJson:"\u8D44\u4EA7\u6295\u8D44\u8868\u683CJson",assetTableClickRow:"\u662F\u5426\u70B9\u51FB\u884C",fixedTableClickRow:"\u662F\u5426\u70B9\u51FB\u884C",equityTableTypeJson:"\u8D44\u4EA7\u6295\u8D44\u8868\u683CJson",equityTableClickRow:"\u662F\u5426\u70B9\u51FB\u884C",assetSelectAssetTypeValue:"\u8D44\u4EA7\u7C7B\u578B\u503C",assetTypeAssetTypeValue:"\u9ED8\u8BA4\u8D44\u4EA7\u7C7B\u578B\u503C",assetSelectAssetLimit:"\u8D44\u4EA7\u9009\u62E9\u9650\u5236"}}};const langResources={"en-US":je(je(je({something:{}},enLocale),enLocale_render),enLocale_extension),"zh-CN":je(je(je({something:{}},zhLocale),zhLocale_render),zhLocale_extension)},i18n=createI18n({locale:localStorage.getItem("v_form_locale")||"zh-CN",messages:langResources}),changeLocale=function(t){i18n.setLang(t),localStorage.setItem("v_form_locale",t)},translate=function(t){return i18n.$st(t)};var i18n$1={methods:{i18nt(t){return i18n.$st(t)},i18n2t(t,a){return i18n.$st2(t,a)}}},index_vue_vue_type_style_index_0_scoped_true_lang$9="",_export_sfc$1=(t,a)=>{const e=t.__vccOpts||t;for(const[h,m]of a)e[h]=m;return e};const _sfc_main$3H={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String},title:{type:String,default:""}},computed:{iconName(){return`#icon-${this.iconClass}`},svgClass(){return this.className?"svg-icon "+this.className:"svg-icon"}}},_hoisted_1$Z=["xlink:href"],_hoisted_2$H={key:0};function _sfc_render$3H(t,a,e,h,m,p){return vue.openBlock(),vue.createElementBlock("svg",{class:vue.normalizeClass(p.svgClass),"aria-hidden":"true"},[vue.createElementVNode("use",{"xlink:href":p.iconName},null,8,_hoisted_1$Z),e.title?(vue.openBlock(),vue.createElementBlock("title",_hoisted_2$H,vue.toDisplayString(e.title),1)):vue.createCommentVNode("",!0)],2)}var SvgIcon=_export_sfc$1(_sfc_main$3H,[["render",_sfc_render$3H],["__scopeId","data-v-8002b89a"]]),index_vue_vue_type_style_index_0_scoped_true_lang$8="";const _sfc_main$3G={name:"FieldPanel",mixins:[i18n$1],components:{SvgIcon},props:{designer:Object},inject:["getBannedWidgets","getDesignerConfig"],data(){return{designerConfig:this.getDesignerConfig(),firstTab:"componentLib",scrollerHeight:0,activeNames:["1","2","3","4"],containers:[],basicFields:[],advancedFields:[],customFields:[],formTemplates}},computed:{},created(){this.loadWidgets()},mounted(){this.scrollerHeight=window.innerHeight-56+"px",addWindowResizeHandler(()=>{this.$nextTick(()=>{this.scrollerHeight=window.innerHeight-56+"px"})})},methods:{isBanned(t){return this.getBannedWidgets().indexOf(t)>-1},showFormTemplates(){return this.designerConfig.formTemplates===void 0?!0:!!this.designerConfig.formTemplates},loadWidgets(){this.containers=containers.map(t=>gt(je({key:generateId()},t),{displayName:this.i18n2t(`designer.widgetLabel.${t.type}`,`extension.widgetLabel.${t.type}`)})).filter(t=>!t.internal&&!this.isBanned(t.type)),this.basicFields=basicFields.map(t=>gt(je({key:generateId()},t),{displayName:this.i18n2t(`designer.widgetLabel.${t.type}`,`extension.widgetLabel.${t.type}`)})).filter(t=>!this.isBanned(t.type)),this.advancedFields=advancedFields.map(t=>gt(je({key:generateId()},t),{displayName:this.i18n2t(`designer.widgetLabel.${t.type}`,`extension.widgetLabel.${t.type}`)})).filter(t=>!this.isBanned(t.type)),this.customFields=customFields.map(t=>gt(je({key:generateId()},t),{displayName:this.i18n2t(`designer.widgetLabel.${t.type}`,`extension.widgetLabel.${t.type}`)})).filter(t=>!this.isBanned(t.type))},handleContainerWidgetClone(t){return this.designer.copyNewContainerWidget(t)},handleFieldWidgetClone(t){return this.designer.copyNewFieldWidget(t)},checkContainerMove(t){return this.designer.checkWidgetMove(t)},checkFieldMove(t){return this.designer.checkFieldMove(t)},onContainerDragEnd(t){},addContainerByDbClick(t){this.designer.addContainerByDbClick(t)},addFieldByDbClick(t){this.designer.addFieldByDbClick(t)},loadFormTemplate(t){this.$confirm(this.i18nt("designer.hint.loadFormTemplateHint"),this.i18nt("render.hint.prompt"),{confirmButtonText:this.i18nt("render.hint.confirm"),cancelButtonText:this.i18nt("render.hint.cancel")}).then(()=>{axios.get(t).then(a=>{let e=!1;typeof a.data=="string"?e=this.designer.loadFormJson(JSON.parse(a.data)):a.data.constructor===Object&&(e=this.designer.loadFormJson(a.data)),e&&this.designer.emitHistoryChange(),this.$message.success(this.i18nt("designer.hint.loadFormTemplateSuccess"))}).catch(a=>{this.$message.error(this.i18nt("designer.hint.loadFormTemplateFailed")+":"+a)})}).catch(a=>{console.error(a)})}}},_hoisted_1$Y={class:"panel-container"},_hoisted_2$G=["title","onDblclick"],_hoisted_3$B=["title","onDblclick"],_hoisted_4$p=["title","onDblclick"],_hoisted_5$l=["title","onDblclick"],_hoisted_6$k=["src"],_hoisted_7$h=["src"],_hoisted_8$c={class:"bottom clear-fix"},_hoisted_9$a={class:"ft-title"};function _sfc_render$3G(t,a,e,h,m,p){const d=vue.resolveComponent("svg-icon"),f=vue.resolveComponent("draggable"),o=vue.resolveComponent("el-collapse-item"),u=vue.resolveComponent("el-collapse"),n=vue.resolveComponent("el-tab-pane"),s=vue.resolveComponent("el-popover"),i=vue.resolveComponent("el-button"),r=vue.resolveComponent("el-card"),l=vue.resolveComponent("el-tabs"),c=vue.resolveComponent("el-scrollbar");return vue.openBlock(),vue.createBlock(c,{class:"side-scroll-bar"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$Y,[vue.createVNode(l,{modelValue:m.firstTab,"onUpdate:modelValue":a[1]||(a[1]=g=>m.firstTab=g),class:"no-bottom-margin indent-left-margin"},{default:vue.withCtx(()=>[vue.createVNode(n,{name:"componentLib"},{label:vue.withCtx(()=>[vue.createElementVNode("span",null,[vue.createVNode(d,{"icon-class":"el-set-up"}),vue.createTextVNode(" "+vue.toDisplayString(t.i18nt("designer.componentLib")),1)])]),default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:m.activeNames,"onUpdate:modelValue":a[0]||(a[0]=g=>m.activeNames=g),class:"widget-collapse"},{default:vue.withCtx(()=>[vue.createVNode(o,{name:"1",title:t.i18nt("designer.containerTitle")},{default:vue.withCtx(()=>[vue.createVNode(f,{tag:"ul",list:m.containers,"item-key":"key",group:{name:"dragGroup",pull:"clone",put:!1},clone:p.handleContainerWidgetClone,"ghost-class":"ghost",sort:!1,move:p.checkContainerMove,onEnd:p.onContainerDragEnd},{item:vue.withCtx(({element:g})=>[vue.createElementVNode("li",{class:"container-widget-item",title:g.displayName,onDblclick:v=>p.addContainerByDbClick(g)},[vue.createElementVNode("span",null,[vue.createVNode(d,{"icon-class":g.icon,"class-name":"color-svg-icon"},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${g.type}`,`extension.widgetLabel.${g.type}`)),1)])],40,_hoisted_2$G)]),_:1},8,["list","clone","move","onEnd"])]),_:1},8,["title"]),vue.createVNode(o,{name:"2",title:t.i18nt("designer.basicFieldTitle")},{default:vue.withCtx(()=>[vue.createVNode(f,{tag:"ul",list:m.basicFields,"item-key":"key",group:{name:"dragGroup",pull:"clone",put:!1},move:p.checkFieldMove,clone:p.handleFieldWidgetClone,"ghost-class":"ghost",sort:!1},{item:vue.withCtx(({element:g})=>[vue.createElementVNode("li",{class:"field-widget-item",title:g.displayName,onDblclick:v=>p.addFieldByDbClick(g)},[vue.createElementVNode("span",null,[vue.createVNode(d,{"icon-class":g.icon,"class-name":"color-svg-icon"},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${g.type}`,`extension.widgetLabel.${g.type}`)),1)])],40,_hoisted_3$B)]),_:1},8,["list","move","clone"])]),_:1},8,["title"]),vue.createVNode(o,{name:"3",title:t.i18nt("designer.advancedFieldTitle")},{default:vue.withCtx(()=>[vue.createVNode(f,{tag:"ul",list:m.advancedFields,"item-key":"key",group:{name:"dragGroup",pull:"clone",put:!1},move:p.checkFieldMove,clone:p.handleFieldWidgetClone,"ghost-class":"ghost",sort:!1},{item:vue.withCtx(({element:g})=>[vue.createElementVNode("li",{class:"field-widget-item",title:g.displayName,onDblclick:v=>p.addFieldByDbClick(g)},[vue.createElementVNode("span",null,[vue.createVNode(d,{"icon-class":g.icon,"class-name":"color-svg-icon"},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${g.type}`,`extension.widgetLabel.${g.type}`)),1)])],40,_hoisted_4$p)]),_:1},8,["list","move","clone"])]),_:1},8,["title"]),vue.createVNode(o,{name:"4",title:t.i18nt("designer.customFieldTitle")},{default:vue.withCtx(()=>[vue.createVNode(f,{tag:"ul",list:m.customFields,"item-key":"key",group:{name:"dragGroup",pull:"clone",put:!1},move:p.checkFieldMove,clone:p.handleFieldWidgetClone,"ghost-class":"ghost",sort:!1},{item:vue.withCtx(({element:g})=>[vue.createElementVNode("li",{class:"field-widget-item",title:g.displayName,onDblclick:v=>p.addFieldByDbClick(g)},[vue.createElementVNode("span",null,[vue.createVNode(d,{"icon-class":g.icon,"class-name":"color-svg-icon"},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${g.type}`,`extension.widgetLabel.${g.type}`)),1)])],40,_hoisted_5$l)]),_:1},8,["list","move","clone"])]),_:1},8,["title"])]),_:1},8,["modelValue"])]),_:1}),p.showFormTemplates()?(vue.openBlock(),vue.createBlock(n,{key:0,name:"formLib",style:{padding:"8px"}},{label:vue.withCtx(()=>[vue.createElementVNode("span",null,[vue.createVNode(d,{"icon-class":"el-form-template"}),vue.createTextVNode(" "+vue.toDisplayString(t.i18nt("designer.formLib")),1)])]),default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.formTemplates,(g,v)=>(vue.openBlock(),vue.createBlock(r,{"bord-style":{padding:"0"},shadow:"hover",class:"ft-card"},{default:vue.withCtx(()=>[vue.createVNode(s,{placement:"right",trigger:"hover"},{reference:vue.withCtx(()=>[vue.createElementVNode("img",{src:g.imgUrl,style:{width:"200px"}},null,8,_hoisted_6$k)]),default:vue.withCtx(()=>[vue.createElementVNode("img",{src:g.imgUrl,style:{height:"600px",width:"720px"}},null,8,_hoisted_7$h)]),_:2},1024),vue.createElementVNode("div",_hoisted_8$c,[vue.createElementVNode("span",_hoisted_9$a,"#"+vue.toDisplayString(v+1)+" "+vue.toDisplayString(g.title),1),vue.createVNode(i,{link:"",type:"primary",class:"right-button",onClick:b=>p.loadFormTemplate(g.jsonUrl)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.hint.loadFormTemplate")),1)]),_:1},8,["onClick"])])]),_:2},1024))),256))]),_:1})):vue.createCommentVNode("",!0)]),_:1},8,["modelValue"])])]),_:1})}var WidgetPanel=_export_sfc$1(_sfc_main$3G,[["render",_sfc_render$3G],["__scopeId","data-v-7bf25242"]]),emitter={data(){return{vfEvents:{}}},methods:{emit$(t,a){this.vfEvents[t]&&this.vfEvents[t].forEach(e=>{e(a)})},on$(t,a){this.vfEvents[t]=this.vfEvents[t]||[],this.vfEvents[t].push(a)},off$(t,a){if(this.vfEvents[t]){if(a==null){this.vfEvents[t].length=0;return}for(let e=0;e<this.vfEvents[t].length;e++)if(this.vfEvents[t][e]===a){this.vfEvents[t].splice(e,1);break}}},dispatch:function(a,e,h){let m=this.$parent||this.$root,p=m.$options.componentName;for(;m&&(!p||p!==a);)m=m.$parent,m&&(p=m.$options.componentName);m&&m.emit$&&(m.emit$.call(m,e,h),a==="VFormRender"&&m.$emit(e,...h))},broadcast:function(a,e,h){this.widgetRefList&&Object.keys(this.widgetRefList).forEach(m=>{if(this.widgetRefList[m].$options.componentName===a){let d=this.widgetRefList[m];d.emit$.call(d,e,h)}}),this.refList&&Object.keys(this.refList).forEach(m=>{if(this.refList[m].$options.componentName===a){let d=this.refList[m];d.emit$.call(d,e,h)}})}}};const _sfc_main$3F={name:"container-item-wrapper",props:{widget:Object},computed:{customClass(){return!this.widget||!this.widget.options||!this.widget.options.customClass?"":Array.isArray(this.widget.options.customClass)?this.widget.options.customClass.join(" "):this.widget.options.customClass}}};function _sfc_render$3F(t,a,e,h,m,p){return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["container-wrapper",[p.customClass]])},[vue.renderSlot(t.$slots,"default")],2)}var ContainerItemWrapper=_export_sfc$1(_sfc_main$3F,[["render",_sfc_render$3F]]),__glob_0_0$3=Object.freeze(Object.defineProperty({__proto__:null,default:ContainerItemWrapper},Symbol.toStringTag,{value:"Module"})),refMixin={methods:{initRefList(){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(this.refList[this.widget.options.name]=this)},getWidgetRef(t,a){let e=this.refList[t];return!e&&!!a&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},getFormRef(){return this.refList.v_form_ref},getComponentByContainer(t){return t.type==="grid"?"vf-grid-item":t.type+"-item"}}},staticContentWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$3E={name:"static-content-wrapper",mixins:[i18n$1],components:{SvgIcon},props:{field:Object,designer:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designState:{type:Boolean,default:!1},displayStyle:{type:String,default:"block"},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},computed:{selected(){return!!this.designer&&this.field.id===this.designer.selectedId},customClass(){return this.field.options.customClass?this.field.options.customClass.join(" "):""}},methods:{selectField(t){this.designer&&(this.designer.setSelected(t),this.designer.emitEvent("field-selected",this.parentWidget))},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},removeFieldWidget(){if(this.parentList){const t=this.designer.selectedWidgetName;let a=null;this.parentList.length===1?this.parentWidget&&(a=this.parentWidget):this.parentList.length===1+this.indexOfParentList?a=this.parentList[this.indexOfParentList-1]:a=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(a),this.designer.formWidget.deleteWidgetRef(t),this.designer.emitHistoryChange()})}}}},_hoisted_1$X={key:0,class:"field-action"},_hoisted_2$F=["title"],_hoisted_3$A=["title"],_hoisted_4$o=["title"],_hoisted_5$k=["title"],_hoisted_6$j={key:1,class:"drag-handler background-opacity"},_hoisted_7$g=["title"],_hoisted_8$b={key:0};function _sfc_render$3E(t,a,e,h,m,p){const d=vue.resolveComponent("svg-icon");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["field-wrapper",{"design-time-bottom-margin":!!this.designer}]),style:vue.normalizeStyle({display:e.displayStyle})},[!e.field.options.hidden||e.designState===!0?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:vue.normalizeClass(["static-content-item",[p.selected?"selected":"",p.customClass]]),style:vue.normalizeStyle({display:e.displayStyle}),onClick:a[0]||(a[0]=vue.withModifiers(f=>p.selectField(e.field),["stop"]))},[vue.renderSlot(t.$slots,"default",{},void 0,!0)],6)):vue.createCommentVNode("",!0),this.designer?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[e.designer.selectedId===e.field.id?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$X,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:a[1]||(a[1]=vue.withModifiers(f=>p.selectParentWidget(e.field),["stop"]))},[vue.createVNode(d,{"icon-class":"el-back"})],8,_hoisted_2$F),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:t.i18nt("designer.hint.moveUpWidget"),onClick:a[2]||(a[2]=vue.withModifiers(f=>p.moveUpWidget(e.field),["stop"]))},[vue.createVNode(d,{"icon-class":"el-move-up"})],8,_hoisted_3$A)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:t.i18nt("designer.hint.moveDownWidget"),onClick:a[3]||(a[3]=vue.withModifiers(f=>p.moveDownWidget(e.field),["stop"]))},[vue.createVNode(d,{"icon-class":"el-move-down"})],8,_hoisted_4$o)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:t.i18nt("designer.hint.remove"),onClick:a[4]||(a[4]=vue.withModifiers((...f)=>p.removeFieldWidget&&p.removeFieldWidget(...f),["stop"]))},[vue.createVNode(d,{"icon-class":"el-delete"})],8,_hoisted_5$k)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.field.id?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$j,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.dragHandler")},[vue.createVNode(d,{"icon-class":"el-drag-move"})],8,_hoisted_7$g),vue.createElementVNode("i",null,vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${e.field.type}`,`extension.widgetLabel.${e.field.type}`)),1),e.field.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_8$b,[vue.createVNode(d,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0)],6)}var StaticContentWrapper=_export_sfc$1(_sfc_main$3E,[["render",_sfc_render$3E],["__scopeId","data-v-41799baa"]]),__glob_0_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:StaticContentWrapper},Symbol.toStringTag,{value:"Module"}));const getRegExp=function(t){return{number:"/^[-]?\\d+(\\.\\d+)?$/",letter:"/^[A-Za-z]+$/",letterAndNumber:"/^[A-Za-z0-9]+$/",mobilePhone:"/^[1][3-9][0-9]{9}$/",letterStartNumberIncluded:"/^[A-Za-z]+[A-Za-z\\d]*$/",noChinese:"/^[^\u4E00-\u9FA5]+$/",chinese:"/^[\u4E00-\u9FA5]+$/",email:"/^([-_A-Za-z0-9.]+)@([_A-Za-z0-9]+\\.)+[A-Za-z0-9]{2,3}$/",url:"/^([hH][tT]{2}[pP]:\\/\\/|[hH][tT]{2}[pP][sS]:\\/\\/)(([A-Za-z0-9-~]+)\\.)+([A-Za-z0-9-~\\/])+$/",maxLen12Decimals6:"/^\\d{1,12}(\\.\\d{1,6})?$/",isPositiveIntegerLength:"/^([1-9]\\d{0,3})$/",isPositiveIntegerZero:"/^0$|^([1-9]\\d{0,3})$/",maxLen10Decimals2:"/^\\d{1,10}(\\.\\d{1,2})?$/",maxLen12Decimals2:"/^\\d{1,12}(\\.\\d{1,2})?$/",latitude:"/^-?(?:90(?:\\.0{1,6})?|[1-8]?\\d(?:\\.\\d{1,6})?|0(?:\\.\\d{1,6})?)$/",sixFigures:"/^(0|[1-9]\\d{0,5})(\\.\\d{1,6})?$/",percentage:"/^(?:100(?:\\.0{0,4})?|[1-9]?\\d(?:\\.\\d{0,4})?|0(?:\\.\\d{0,4})?)$/",longitude:"/^-?(?:180(?:\\.0{1,6})?|1[0-7]\\d(?:\\.\\d{1,6})?|[1-9]?\\d(?:\\.\\d{1,6})?|0(?:\\.\\d{1,6})?)$/"}[t]},validateFn=function(validatorName,rule,value,callback,defaultErrorMsg){if(isNull(value)||value.length<=0){callback();return}const reg=eval(getRegExp(validatorName));if(reg.test(value))callback();else{let t=rule.errorMsg||defaultErrorMsg;callback(new Error(t))}},FormValidators={number(t,a,e){validateFn("number",t,a,e,"["+t.label+"]\u5305\u542B\u975E\u6570\u5B57\u5B57\u7B26")},letter(t,a,e){validateFn("letter",t,a,e,"["+t.label+"]\u5305\u542B\u975E\u5B57\u6BCD\u5B57\u7B26")},letterAndNumber(t,a,e){validateFn("letterAndNumber",t,a,e,"["+t.label+"]\u53EA\u80FD\u8F93\u5165\u5B57\u6BCD\u6216\u6570\u5B57")},mobilePhone(t,a,e){validateFn("mobilePhone",t,a,e,"["+t.label+"]\u624B\u673A\u53F7\u7801\u683C\u5F0F\u6709\u8BEF")},noBlankStart(t,a,e){},noBlankEnd(t,a,e){},letterStartNumberIncluded(t,a,e){validateFn("letterStartNumberIncluded",t,a,e,"["+t.label+"]\u5FC5\u987B\u4EE5\u5B57\u6BCD\u5F00\u5934\uFF0C\u53EF\u5305\u542B\u6570\u5B57")},noChinese(t,a,e){validateFn("noChinese",t,a,e,"["+t.label+"]\u4E0D\u53EF\u8F93\u5165\u4E2D\u6587\u5B57\u7B26")},chinese(t,a,e){validateFn("chinese",t,a,e,"["+t.label+"]\u53EA\u80FD\u8F93\u5165\u4E2D\u6587\u5B57\u7B26")},email(t,a,e){validateFn("email",t,a,e,"["+t.label+"]\u90AE\u7BB1\u683C\u5F0F\u6709\u8BEF")},url(t,a,e){validateFn("url",t,a,e,"["+t.label+"]URL\u683C\u5F0F\u6709\u8BEF")},maxLen12Decimals6(t,a,e){validateFn("maxLen12Decimals6",t,a,e,"["+t.label+"]\u6700\u5927\u957F\u5EA6\u4E3A12\u4F4D\uFF0C\u5C0F\u6570\u70B9\u540E6\u4F4D")},isPositiveIntegerLength(t,a,e){validateFn("isPositiveIntegerLength",t,a,e,t.label+"\u8BF7\u8F93\u51651-4\u4F4D\u7684\u6B63\u6574\u6570")},isPositiveIntegerZero(t,a,e){validateFn("isPositiveIntegerZero",t,a,e,t.label+"\u8BF7\u8F93\u51650\u62161-4\u4F4D\u7684\u6B63\u6574\u6570")},maxLen10Decimals2(t,a,e){validateFn("maxLen10Decimals2",t,a,e,t.label+"\u8BF7\u8F93\u5165\u6574\u6570\u90E8\u5206\u6700\u591A10\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57")},maxLen12Decimals2(t,a,e){validateFn("maxLen12Decimals2",t,a,e,t.label+"\u8BF7\u8F93\u5165\u6574\u6570\u90E8\u5206\u6700\u591A12\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57")},latitude(t,a,e){validateFn("latitude",t,a,e,t.label+"\u8BF7\u8F93\u5165\u8D1F90\u523090\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D\u7684\u6570\u5B57")},longitude(t,a,e){validateFn("longitude",t,a,e,t.label+"\u8BF7\u8F93\u5165\u8D1F180\u5230180\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D\u7684\u6570\u5B57")},sixFigures(t,a,e){validateFn("sixFigures",t,a,e,t.label+"\u8BF7\u8F93\u5165\u6574\u6570\u90E8\u5206\u6700\u591A6\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A6\u4F4D\u7684\u6570\u5B57")},percentage(t,a,e){validateFn("percentage",t,a,e,t.label+"\u8BF7\u8F93\u51650-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D")},regExp(rule,value,callback){if(isNull(value)||value.length<=0){callback();return}const pattern=eval(rule.regExp);if(pattern.test(value))callback();else{let t=rule.errorMsg||"["+rule.label+"]invalid value";callback(new Error(t))}}};function mitt(t){return{all:t=t||new Map,on:function(a,e){var h=t.get(a);h?h.push(e):t.set(a,[e])},off:function(a,e){var h=t.get(a);h&&(e?h.splice(h.indexOf(e)>>>0,1):t.set(a,[]))},emit:function(a,e){var h=t.get(a);h&&h.slice().map(function(m){m(e)}),(h=t.get("*"))&&h.slice().map(function(m){m(a,e)})}}}const instance=mitt(),eventBus={};eventBus.$on=instance.on,eventBus.$off=instance.off,eventBus.$emit=instance.emit;var lodash={exports:{}};/**
|
|
7
|
+
*/(function(t,a){(function(h,m){t.exports=m()})(commonjsGlobal,function(){return function(){var e={686:function(p,d,f){f.d(d,{default:function(){return R}});var o=f(279),u=f.n(o),n=f(370),s=f.n(n),i=f(817),r=f.n(i);function l(z){try{return document.execCommand(z)}catch{return!1}}var c=function(j){var U=r()(j);return l("cut"),U},g=c;function v(z){var j=document.documentElement.getAttribute("dir")==="rtl",U=document.createElement("textarea");U.style.fontSize="12pt",U.style.border="0",U.style.padding="0",U.style.margin="0",U.style.position="absolute",U.style[j?"right":"left"]="-9999px";var G=window.pageYOffset||document.documentElement.scrollTop;return U.style.top="".concat(G,"px"),U.setAttribute("readonly",""),U.value=z,U}var b=function(j,U){var G=v(j);U.container.appendChild(G);var H=r()(G);return l("copy"),G.remove(),H},_=function(j){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},G="";return typeof j=="string"?G=b(j,U):j instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(j==null?void 0:j.type)?G=b(j.value,U):(G=r()(j),l("copy")),G},x=_;function w(z){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(U){return typeof U}:w=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},w(z)}var C=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=j.action,G=U===void 0?"copy":U,H=j.container,K=j.target,Y=j.text;if(G!=="copy"&&G!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(K!==void 0)if(K&&w(K)==="object"&&K.nodeType===1){if(G==="copy"&&K.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(G==="cut"&&(K.hasAttribute("readonly")||K.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Y)return x(Y,{container:H});if(K)return G==="cut"?g(K):x(K,{container:H})},M=C;function D(z){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?D=function(U){return typeof U}:D=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},D(z)}function N(z,j){if(!(z instanceof j))throw new TypeError("Cannot call a class as a function")}function S(z,j){for(var U=0;U<j.length;U++){var G=j[U];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(z,G.key,G)}}function L(z,j,U){return j&&S(z.prototype,j),U&&S(z,U),z}function k(z,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");z.prototype=Object.create(j&&j.prototype,{constructor:{value:z,writable:!0,configurable:!0}}),j&&T(z,j)}function T(z,j){return T=Object.setPrototypeOf||function(G,H){return G.__proto__=H,G},T(z,j)}function E(z){var j=B();return function(){var G=V(z),H;if(j){var K=V(this).constructor;H=Reflect.construct(G,arguments,K)}else H=G.apply(this,arguments);return I(this,H)}}function I(z,j){return j&&(D(j)==="object"||typeof j=="function")?j:O(z)}function O(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}function B(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function V(z){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(U){return U.__proto__||Object.getPrototypeOf(U)},V(z)}function P(z,j){var U="data-clipboard-".concat(z);if(!!j.hasAttribute(U))return j.getAttribute(U)}var $=function(z){k(U,z);var j=E(U);function U(G,H){var K;return N(this,U),K=j.call(this),K.resolveOptions(H),K.listenClick(G),K}return L(U,[{key:"resolveOptions",value:function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof H.action=="function"?H.action:this.defaultAction,this.target=typeof H.target=="function"?H.target:this.defaultTarget,this.text=typeof H.text=="function"?H.text:this.defaultText,this.container=D(H.container)==="object"?H.container:document.body}},{key:"listenClick",value:function(H){var K=this;this.listener=s()(H,"click",function(Y){return K.onClick(Y)})}},{key:"onClick",value:function(H){var K=H.delegateTarget||H.currentTarget,Y=this.action(K)||"copy",J=M({action:Y,container:this.container,target:this.target(K),text:this.text(K)});this.emit(J?"success":"error",{action:Y,text:J,trigger:K,clearSelection:function(){K&&K.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(H){return P("action",H)}},{key:"defaultTarget",value:function(H){var K=P("target",H);if(K)return document.querySelector(K)}},{key:"defaultText",value:function(H){return P("text",H)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(H){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return x(H,K)}},{key:"cut",value:function(H){return g(H)}},{key:"isSupported",value:function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],K=typeof H=="string"?[H]:H,Y=!!document.queryCommandSupported;return K.forEach(function(J){Y=Y&&!!document.queryCommandSupported(J)}),Y}}]),U}(u()),R=$},828:function(p){var d=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var f=Element.prototype;f.matches=f.matchesSelector||f.mozMatchesSelector||f.msMatchesSelector||f.oMatchesSelector||f.webkitMatchesSelector}function o(u,n){for(;u&&u.nodeType!==d;){if(typeof u.matches=="function"&&u.matches(n))return u;u=u.parentNode}}p.exports=o},438:function(p,d,f){var o=f(828);function u(i,r,l,c,g){var v=s.apply(this,arguments);return i.addEventListener(l,v,g),{destroy:function(){i.removeEventListener(l,v,g)}}}function n(i,r,l,c,g){return typeof i.addEventListener=="function"?u.apply(null,arguments):typeof l=="function"?u.bind(null,document).apply(null,arguments):(typeof i=="string"&&(i=document.querySelectorAll(i)),Array.prototype.map.call(i,function(v){return u(v,r,l,c,g)}))}function s(i,r,l,c){return function(g){g.delegateTarget=o(g.target,r),g.delegateTarget&&c.call(i,g)}}p.exports=n},879:function(p,d){d.node=function(f){return f!==void 0&&f instanceof HTMLElement&&f.nodeType===1},d.nodeList=function(f){var o=Object.prototype.toString.call(f);return f!==void 0&&(o==="[object NodeList]"||o==="[object HTMLCollection]")&&"length"in f&&(f.length===0||d.node(f[0]))},d.string=function(f){return typeof f=="string"||f instanceof String},d.fn=function(f){var o=Object.prototype.toString.call(f);return o==="[object Function]"}},370:function(p,d,f){var o=f(879),u=f(438);function n(l,c,g){if(!l&&!c&&!g)throw new Error("Missing required arguments");if(!o.string(c))throw new TypeError("Second argument must be a String");if(!o.fn(g))throw new TypeError("Third argument must be a Function");if(o.node(l))return s(l,c,g);if(o.nodeList(l))return i(l,c,g);if(o.string(l))return r(l,c,g);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function s(l,c,g){return l.addEventListener(c,g),{destroy:function(){l.removeEventListener(c,g)}}}function i(l,c,g){return Array.prototype.forEach.call(l,function(v){v.addEventListener(c,g)}),{destroy:function(){Array.prototype.forEach.call(l,function(v){v.removeEventListener(c,g)})}}}function r(l,c,g){return u(document.body,l,c,g)}p.exports=n},817:function(p){function d(f){var o;if(f.nodeName==="SELECT")f.focus(),o=f.value;else if(f.nodeName==="INPUT"||f.nodeName==="TEXTAREA"){var u=f.hasAttribute("readonly");u||f.setAttribute("readonly",""),f.select(),f.setSelectionRange(0,f.value.length),u||f.removeAttribute("readonly"),o=f.value}else{f.hasAttribute("contenteditable")&&f.focus();var n=window.getSelection(),s=document.createRange();s.selectNodeContents(f),n.removeAllRanges(),n.addRange(s),o=n.toString()}return o}p.exports=d},279:function(p){function d(){}d.prototype={on:function(f,o,u){var n=this.e||(this.e={});return(n[f]||(n[f]=[])).push({fn:o,ctx:u}),this},once:function(f,o,u){var n=this;function s(){n.off(f,s),o.apply(u,arguments)}return s._=o,this.on(f,s,u)},emit:function(f){var o=[].slice.call(arguments,1),u=((this.e||(this.e={}))[f]||[]).slice(),n=0,s=u.length;for(n;n<s;n++)u[n].fn.apply(u[n].ctx,o);return this},off:function(f,o){var u=this.e||(this.e={}),n=u[f],s=[];if(n&&o)for(var i=0,r=n.length;i<r;i++)n[i].fn!==o&&n[i].fn._!==o&&s.push(n[i]);return s.length?u[f]=s:delete u[f],this}},p.exports=d,p.exports.TinyEmitter=d}},h={};function m(p){if(h[p])return h[p].exports;var d=h[p]={exports:{}};return e[p](d,d.exports,m),d.exports}return function(){m.n=function(p){var d=p&&p.__esModule?function(){return p.default}:function(){return p};return m.d(d,{a:d}),d}}(),function(){m.d=function(p,d){for(var f in d)m.o(d,f)&&!m.o(p,f)&&Object.defineProperty(p,f,{enumerable:!0,get:d[f]})}}(),function(){m.o=function(p,d){return Object.prototype.hasOwnProperty.call(p,d)}}(),m(686)}().default})})(clipboard);var Clipboard=getDefaultExportFromCjs(clipboard.exports);function isNull(t){return t==null}function isNotNull(t){return t!=null}function isEmptyStr(t){return t===void 0||!t&&t!==0&&t!=="0"||!/[^\s]/.test(t)}const generateId=function(){return Math.floor(Math.random()*1e5+Math.random()*2e4+Math.random()*5e3)},deepClone=function(t){if(t!==void 0)return JSON.parse(JSON.stringify(t))},overwriteObj=function(t,a){Object.keys(a).forEach(e=>{t[e]=a[e]})},evalFn=function(t,a=null,e=null){return new Function("DSV","VFR","return "+t)(a,e)},addWindowResizeHandler=function(t){let a=window.onresize;typeof window.onresize!="function"?window.onresize=t:window.onresize=function(){a(),t()}},insertCustomCssToHead=function(t,a=""){let e=document.getElementsByTagName("head")[0],h=document.getElementById("vform-custom-css");h&&e.removeChild(h),a&&(h=document.getElementById("vform-custom-css-"+a),!!h&&e.removeChild(h));let m=document.createElement("style");m.type="text/css",m.rel="stylesheet",m.id=a?"vform-custom-css-"+a:"vform-custom-css";try{m.appendChild(document.createTextNode(t))}catch{m.styleSheet.cssText=t}e.appendChild(m)},insertGlobalFunctionsToHtml=function(t,a=""){let e=document.getElementsByTagName("body")[0],h=document.getElementById("v_form_global_functions");!!h&&e.removeChild(h),a&&(h=document.getElementById("v_form_global_functions-"+a),!!h&&e.removeChild(h));let m=document.createElement("script");m.id=a?"v_form_global_functions-"+a:"v_form_global_functions",m.type="text/javascript",m.innerHTML=t,e.appendChild(m)},loadRemoteScript=function(t,a){let e=encodeURIComponent(t);if(!document.getElementById(e)){let m=document.createElement("script");m.src=t,m.id=e,document.body.appendChild(m),m.onload=m.onreadystatechange=function(p,d){(d||!m.readyState||m.readyState==="loaded"||m.readyState==="complete")&&(m=m.onload=m.onreadystatechange=null,d||a())}}};function traverseFieldWidgets(t,a,e=null){!t||t.map(h=>{h.formItemFlag?a(h,e):h.type==="grid"?h.cols.map(m=>{traverseFieldWidgets(m.widgetList,a,h)}):h.type==="table"?h.rows.map(m=>{m.cols.map(p=>{traverseFieldWidgets(p.widgetList,a,h)})}):h.type==="tab"?h.tabs.map(m=>{traverseFieldWidgets(m.widgetList,a,h)}):(h.type==="sub-form"||h.category==="container")&&traverseFieldWidgets(h.widgetList,a,h)})}function traverseContainerWidgets(t,a){!t||t.map(e=>{e.category==="container"&&a(e),e.type==="grid"?e.cols.map(h=>{traverseContainerWidgets(h.widgetList,a)}):e.type==="table"?e.rows.map(h=>{h.cols.map(m=>{traverseContainerWidgets(m.widgetList,a)})}):e.type==="tab"?e.tabs.map(h=>{traverseContainerWidgets(h.widgetList,a)}):(e.type==="sub-form"||e.category==="container")&&traverseContainerWidgets(e.widgetList,a)})}function traverseAllWidgets(t,a){!t||t.map(e=>{a(e),e.type==="grid"?e.cols.map(h=>{a(h),traverseAllWidgets(h.widgetList,a)}):e.type==="table"?e.rows.map(h=>{h.cols.map(m=>{a(m),traverseAllWidgets(m.widgetList,a)})}):e.type==="tab"?e.tabs.map(h=>{traverseAllWidgets(h.widgetList,a)}):(e.type==="sub-form"||e.category==="container")&&traverseAllWidgets(e.widgetList,a)})}function handleWidgetForTraverse(t,a){t.category?traverseFieldWidgetsOfContainer(t,a):t.formItemFlag&&a(t)}function traverseFieldWidgetsOfContainer(t,a){t.type==="grid"?t.cols.forEach(e=>{e.widgetList.forEach(h=>{handleWidgetForTraverse(h,a)})}):t.type==="table"?t.rows.forEach(e=>{e.cols.forEach(h=>{h.widgetList.forEach(m=>{handleWidgetForTraverse(m,a)})})}):t.type==="tab"?t.tabs.forEach(e=>{e.widgetList.forEach(h=>{handleWidgetForTraverse(h,a)})}):t.type==="sub-form"?t.widgetList.forEach(e=>{handleWidgetForTraverse(e,a)}):t.category==="container"&&t.widgetList.forEach(e=>{handleWidgetForTraverse(e,a)})}function getAllFieldWidgets(t){if(!t)return[];let a=[];return traverseFieldWidgets(t,h=>{a.push({type:h.type,name:h.options.name,field:h})}),a}function getAllContainerWidgets(t){if(!t)return[];let a=[];return traverseContainerWidgets(t,h=>{a.push({type:h.type,name:h.options.name,container:h})}),a}function copyToClipboard(t,a,e,h,m){const p=new Clipboard(a.target,{text:()=>t});p.on("success",()=>{e.success(h),p.destroy()}),p.on("error",()=>{e.error(m),p.destroy()}),p.onClick(a)}function getQueryParam(t){let e=window.location.search.substring(1).split("&");for(let h=0;h<e.length;h++){let m=e[h].split("=");if(m[0]==t)return m[1]}}function getDefaultFormConfig(){return{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}}function buildDefaultFormJson(){return{widgetList:[],formConfig:deepClone(getDefaultFormConfig())}}function formatAmount(t,a=6){if(t==null||t==="")return"";const e=Number(t);return Number.isNaN(e)?String(t):e.toFixed(a).replace(/\.?0+$/,"")}function isDef(t){return t!=null}function get(t,a){const e=a.split(".");let h=t;return e.forEach(m=>{h=isDef(h)&&isDef(h[m])?h[m]:null}),h}let locale=vue.reactive({lang:localStorage.getItem("v_form_locale")||"zh-CN"});function createI18n(t){return{messages:t.messages,$st(a,...e){const h=get(this.messages[locale.lang],a);return typeof h=="function"?h(...e):h!==null?h:a},$st2(a,e){let h=this.messages[locale.lang];const m=get(h,a);return m!==null?m:get(h,e)},setLang(a){locale.lang=a}}}var enLocale={application:{"zh-CN":"\u7B80\u4F53\u4E2D\u6587","en-US":"English",productTitle:"Online Form Designer",github:"GitHub",document:"Docs",qqGroup:"WeChat Group",deployment:"Deployment",subscription:"Subscription"},designer:{componentLib:"Components",formLib:"Templates",containerTitle:"Container",dragHandlerHint:"drag container or field to layout center",dragAction:"drag",basicFieldTitle:"Basic Field",advancedFieldTitle:"Advanced Field",customFieldTitle:"Customized Field",noWidgetHint:"Please select a widget from the left list, drag and drop to this container.",widgetLabel:{grid:"Grid",table:"Table",tab:"Tab",section:"Section","sub-form":"SubForm","grid-col":"GridCol","table-cell":"TableCell","tab-pane":"TabPane","data-table":"DataTable",input:"Input",textarea:"Textarea",number:"InputNumber",radio:"Radio",checkbox:"Checkbox",select:"Select",selectTree:"SelectTree",time:"Time","time-range":"Time range",date:"Date","date-range":"Date range",switch:"Switch",rate:"Rate",color:"ColorPicker",slider:"Slider","static-text":"Text","html-text":"HTML",button:"Button",divider:"Divider","picture-upload":"Picture","file-upload":"File","rich-editor":"Rich Editor",cascader:"Cascader",slot:"Slot",custom:"Custom Component"},hint:{selectParentWidget:"Select parent of this widget",moveUpWidget:"Move up this widget",moveDownWidget:"Move down this widget",cloneWidget:"Clone this widget",insertRow:"Insert new row",insertColumn:"Insert new column",remove:"Remove this widget",cellSetting:"Cell setting",dragHandler:"Drag handler",copyField:"Copy field widget",onlyFieldWidgetAcceptable:"Only field widget can be dragged into sub-form",moveUpFirstChildHint:"First child can not be move up",moveDownLastChildHint:"Last child can not be move down",closePreview:"Close",copyJson:"Copy",saveFormJson:"Save As File",copyVueCode:"Copy Vue Code",copyHtmlCode:"Copy HTML Code",copyJsonSuccess:"Copy succeed",importJsonSuccess:"Import succeed",invalidJsonFormat:"Invalid JSON format",jsonVersionMismatch:"Version of JSON mismatch",copyJsonFail:"Copy failed",copyVueCodeSuccess:"Copy succeed",copyVueCodeFail:"Copy failed",copyHtmlCodeSuccess:"Copy succeed",copyHtmlCodeFail:"Copy failed",saveVueCode:"Save Vue File",saveHtmlCode:"Save Html File",getFormData:"Get Data",resetForm:"Reset",disableForm:"Disable",enableForm:"Enable",exportFormData:"Form Data",copyFormData:"Copy",saveFormData:"Save As File",copyVue2SFC:"Copy Vue2",copyVue3SFC:"Copy Vue3",copySFCFail:"Copy failed",copySFCSuccess:"Copy succeed",saveVue2SFC:"Save As Vue2",saveVue3SFC:"Save As Vue3",fileNameForSave:"File name:",saveFileTitle:"Save as File",fileNameInputPlaceholder:"Enter the file name",sampleLoadedSuccess:"Example loaded successfully",sampleLoadedFail:"Sample load failed",loadFormTemplate:"Load This",loadFormTemplateHint:"Are you sure to load this template?",loadFormTemplateSuccess:"Load form template success!",loadFormTemplateFailed:"Load form template failed.",currentNodeCannotBeSelected:"The current node cannot be selected.",widgetSetting:"Widget Config",formSetting:"Form Config",prompt:"Prompt",confirm:"OK",cancel:"Cancel",import:"Import",importJsonHint:"The code to be imported should have the following JSON format.",invalidOptionsData:"Invalid data of options:",lastPaneCannotBeDeleted:"The last pane cannot be deleted.",duplicateName:"Duplicate name: ",nameRequired:"Name required.",numberValidator:"Number",letterValidator:"Letter",letterAndNumberValidator:"LetterAndNumber",mobilePhoneValidator:"MobilePhone",emailValidator:"Email",urlValidator:"URL",noChineseValidator:"Non-Chinese",chineseValidator:"Chinese",maxLen12Decimals6Validator:"Max length is 12 digits, 6 decimal places",isPositiveIntegerLengthValidator:"1-4\u4F4D\u7684\u6B63\u6574\u6570",isPositiveIntegerZeroValidator:"0\u62161-4\u4F4D\u7684\u6B63\u6574\u6570",maxLen10Decimals2Validator:"\u6574\u6570\u90E8\u5206\u6700\u591A10\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",maxLen12Decimals2Validator:"\u6574\u6570\u90E8\u5206\u6700\u591A12\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",latitude:"\u8D1F90\u523090\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D",longitude:"\u8D1F180\u5230180\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D",sixFigures:"\u6574\u6570\u90E8\u5206\u6700\u591A6\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A6\u4F4D\u7684\u6570\u5B57",percentage:"0-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D",rowspanNotConsistentForMergeEntireRow:"Cells in this row don't have the same rowspan, operation failed.",colspanNotConsistentForMergeEntireColumn:"Cells in this column don't have the same colspan, operation failed.",rowspanNotConsistentForDeleteEntireRow:"Cells in this row don't have the same rowspan, operation failed.",colspanNotConsistentForDeleteEntireColumn:"Cells in this column don't have the same colspan, operation failed.",lastColCannotBeDeleted:"The last col cannot be deleted.",lastRowCannotBeDeleted:"The last row cannot be deleted."},toolbar:{undoHint:"Undo",redoHint:"Redo",pcLayout:"PC",padLayout:"Pad",mobileLayout:"H5",nodeTreeHint:"Tree View Of Component Hierarchy",nodeTreeTitle:"Tree View Of Component Hierarchy",clear:"Clear",preview:"Preview",importJson:"Import",exportJson:"Export",exportCode:"Codes",generateCode:"Generate Code",generateSFC:"Generate SFC"},setting:{basicSetting:"Basic Setting",attributeSetting:"Attribute Setting",commonSetting:"Common Setting",advancedSetting:"Advanced Setting",eventSetting:"Event Setting",uniqueName:"Unique Name",editNameHelp:"Press enter to confirm the modification",label:"Label",displayType:"Type",defaultValue:"Default Value",placeholder:"Placeholder",startPlaceholder:"Start Placeholder",endPlaceholder:"End Placeholder",widgetColumnWidth:"Width",widgetSize:"Size",fontSize:"Font Size",fontColor:"Text Color",textAlign:"Text Align",autoFullWidth:"Auto Full Width",showStops:"Show Stops",displayStyle:"Display Style",inlineLayout:"inline",blockLayout:"block",buttonStyle:"Show As Button",border:"Show Border",labelWidth:"Width Of Label",rows:"Rows",labelHidden:"Hide Label",required:"Required",requiredHint:"Failure Hint",validation:"Validation",validationHelp:"Regular expressions supported",validationHint:"Validation Hint",readonly:"Readonly",disabled:"Disabled",hidden:"Hidden",textContent:"Text",preWrap:"Line Wrap",htmlContent:"HTML",clearable:"Clearable",objectValue:"Object Value",editable:"Editable",format:"Format",valueFormat:"Value Format",showPassword:"Show Reveal",filterable:"Filterable",allowCreate:"Allow Create",remote:"Remote Query",automaticDropdown:"Automatic Dropdown",multiple:"Multiple",multipleLimit:"Multiple Limit",checkStrictly:"Any Level Selectable",showAllLevels:"Show All Levels",cascaderLabelKey:"Label Field",cascaderLabelKeyPlaceholder:"Default: label",cascaderValueKey:"Value Field",cascaderValueKeyPlaceholder:"Default: value",cascaderChildrenKey:"Children Field",cascaderChildrenKeyPlaceholder:"Default: children",showCheckbox:"Show Checkbox",contentPosition:"Content Position",plain:"Plain",round:"Round",circle:"Circle",icon:"Icon",optionsSetting:"Options Setting",addOption:"Add Option",importOptions:"Import Options",resetDefault:"Reset Default",uploadSetting:"Upload Setting",uploadURL:"Upload URL",uploadTip:"Tip Content",withCredentials:"Send Cookie",multipleSelect:"File Multi-select",showFileList:"Show File List",limit:"Max Upload Number",fileMaxSize:"Max Size(MB)",fileTypes:"Upload File Types",fileTypesHelp:"Allows to add more file types",headers:"Request Headers",allowDrag:"Allow Drag",allowDragHelp:"Enable drag and drop uploading",cellWidth:"Width",cellHeight:"Height",wordBreak:"Line Wrap",gridColHeight:"Height Of Col(px)",gutter:"Gutter(px)",columnSetting:"Cols Setting",colsOfGrid:"Cols Of Grid:",colSpanTitle:"Spans Of Col",colOffsetTitle:"Offset Of Col",colPushTitle:"Push Of Col",colPullTitle:"Pull Of Col",addColumn:"Add Column",responsive:"Responsive",tabPaneSetting:"Tab Panes",addTabPane:"Add Tab Pane",paneActive:"Active",customLabelIcon:"Custom Label",labelIconClass:"Label Icon Class",labelIconPosition:"Label Icon Position",labelTooltip:"Label Tooltip",minValue:"Min Value",maxValue:"Max Value",precision:"Precision",step:"Step",controlsPosition:"Controls Position",minLength:"Min Length",maxLength:"Max Length",showWordLimit:"Show Word Limit",prefixIcon:"Prefix Icon",suffixIcon:"Suffix Icon",inputButton:"Input Button Setting",appendButton:"Append Button",appendButtonDisabled:"Button Disabled",appendButtonIcon:"Append Button Icon",buttonIcon:"Button Icon",switchWidth:"Width of Switch(px)",activeText:"Active Text",inactiveText:"Inactive Text",activeColor:"Active Color",inactiveColor:"Inactive Color",maxStars:"Stars Max Number",lowThreshold:"Low Threshold",highThreshold:"High Threshold",allowHalf:"Allow Half",showText:"Show Text",showScore:"Show Score",range:"Range",vertical:"Vertical",showBlankRow:"Show Blank Row",showRowNumber:"Show Row Number",contentHeight:"Content Area Height",insertColumnToLeft:"insert column to left",insertColumnToRight:"insert column to right",insertRowAbove:"insert row above",insertRowBelow:"insert row below",mergeLeftColumn:"merge left cell",mergeRightColumn:"merge right cell",mergeEntireRow:"merge entire row",mergeRowAbove:"merge cell above",mergeRowBelow:"merge cell below",mergeEntireColumn:"merge entire column",undoMergeCol:"undo merge column",undoMergeRow:"undo merge row",deleteEntireCol:"delete entire column",deleteEntireRow:"delete entire row",widgetName:"Unique Name",formSize:"Size",labelPosition:"Position Of Label",topPosition:"Top",leftPosition:"Left",labelAlign:"Label Align",leftAlign:"Left",centerAlign:"Center",rightAlign:"Right",formCss:"Form CSS",addCss:"Edit",customClass:"Custom Class",mainTip:"Main Tip",subTip:"Sub Tip",globalFunctions:"Global Functions",addEventHandler:"Edit",editWidgetEventHandler:"Edit Widget Event Handler",editFormEventHandler:"Edit Form Event Handler",formSFCSetting:"SFC Setting",formModelName:"Model Name",formRefName:"Ref Name",formRulesName:"Rules Name",syntaxCheckWarning:"Syntax error in the javascript codes, please check again!"}}},zhLocale={application:{"zh-CN":"\u7B80\u4F53\u4E2D\u6587","en-US":"English",productTitle:"\u8868\u5355\u8BBE\u8BA1\u5668",github:"GitHub",document:"\u6587\u6863",qqGroup:"\u6280\u672FWX\u7FA4",deployment:"\u79C1\u6709\u90E8\u7F72",subscription:"\u8BA2\u9605Pro"},designer:{componentLib:"\u7EC4\u4EF6\u5E93",formLib:"\u8868\u5355\u6A21\u677F",containerTitle:"\u5BB9\u5668",dragHandlerHint:"\u9F20\u6807\u62D6\u62FD\u5BB9\u5668\u7EC4\u4EF6\u6216\u5B57\u6BB5\u7EC4\u4EF6\u5E76\u653E\u7F6E\u4E8E\u8868\u5355\u4E2D",dragAction:"\u62D6\u52A8",basicFieldTitle:"\u57FA\u7840\u5B57\u6BB5",advancedFieldTitle:"\u9AD8\u7EA7\u5B57\u6BB5",customFieldTitle:"\u81EA\u5B9A\u4E49\u6269\u5C55\u5B57\u6BB5",noWidgetHint:"\u8BF7\u4ECE\u5DE6\u4FA7\u5217\u8868\u4E2D\u9009\u62E9\u4E00\u4E2A\u7EC4\u4EF6, \u7136\u540E\u7528\u9F20\u6807\u62D6\u52A8\u7EC4\u4EF6\u653E\u7F6E\u4E8E\u6B64\u5904.",widgetLabel:{grid:"\u6805\u683C",table:"\u8868\u683C",tab:"\u6807\u7B7E\u9875",section:"\u533A\u5757","sub-form":"\u5B50\u8868\u5355","grid-col":"\u6805\u683C\u5217","table-cell":"\u5355\u5143\u683C","tab-pane":"\u9009\u9879\u5361\u9875","data-table":"\u6570\u636E\u8868\u683C",input:"\u5355\u884C\u8F93\u5165",textarea:"\u591A\u884C\u8F93\u5165",number:"\u8BA1\u6570\u5668",radio:"\u5355\u9009\u9879",checkbox:"\u591A\u9009\u9879",select:"\u4E0B\u62C9\u9009\u9879","select-tree":"\u6811\u5F62\u9009\u62E9",time:"\u65F6\u95F4","time-range":"\u65F6\u95F4\u8303\u56F4",date:"\u65E5\u671F","date-range":"\u65E5\u671F\u8303\u56F4",switch:"\u5F00\u5173",rate:"\u8BC4\u5206",color:"\u989C\u8272\u9009\u62E9\u5668",slider:"\u6ED1\u5757","static-text":"\u9759\u6001\u6587\u5B57","html-text":"HTML",button:"\u6309\u94AE",divider:"\u5206\u9694\u7EBF","picture-upload":"\u56FE\u7247","file-upload":"\u6587\u4EF6","rich-editor":"\u5BCC\u6587\u672C",cascader:"\u7EA7\u8054\u9009\u62E9",slot:"\u63D2\u69FD",custom:"Custom Component"},hint:{selectParentWidget:"\u9009\u4E2D\u7236\u7EC4\u4EF6",moveUpWidget:"\u4E0A\u79FB\u7EC4\u4EF6",moveDownWidget:"\u4E0B\u79FB\u7EC4\u4EF6",cloneWidget:"\u590D\u5236\u7EC4\u4EF6",insertRow:"\u63D2\u5165\u65B0\u884C",insertColumn:"\u63D2\u5165\u65B0\u5217",remove:"\u79FB\u9664\u7EC4\u4EF6",cellSetting:"\u5355\u5143\u683C\u64CD\u4F5C",dragHandler:"\u62D6\u62FD\u624B\u67C4",copyField:"\u590D\u5236\u5B57\u6BB5\u7EC4\u4EF6",onlyFieldWidgetAcceptable:"\u5B50\u8868\u5355\u53EA\u80FD\u63A5\u6536\u5B57\u6BB5\u7EC4\u4EF6",moveUpFirstChildHint:"\u5DF2\u7ECF\u79FB\u52A8\u5230\u6700\u4E0A\u9762",moveDownLastChildHint:"\u5DF2\u7ECF\u79FB\u52A8\u5230\u6700\u4E0B\u9762",closePreview:"\u5173\u95ED",copyJson:"\u590D\u5236JSON",saveFormJson:"\u4FDD\u5B58\u4E3A\u6587\u4EF6",copyVueCode:"\u590D\u5236Vue\u4EE3\u7801",copyHtmlCode:"\u590D\u5236HTML\u4EE3\u7801",copyJsonSuccess:"\u590D\u5236JSON\u6210\u529F",importJsonSuccess:"\u5BFC\u5165JSON\u6210\u529F",invalidJsonFormat:"\u65E0\u6548\u7684\u8868\u5355JSON\u683C\u5F0F",jsonVersionMismatch:"\u8868\u5355JSON\u7248\u672C\u53F7\u4E0D\u5339\u914D",copyJsonFail:"\u590D\u5236JSON\u5931\u8D25",copyVueCodeSuccess:"\u590D\u5236Vue\u4EE3\u7801\u6210\u529F",copyVueCodeFail:"\u590D\u5236Vue\u4EE3\u7801\u5931\u8D25",copyHtmlCodeSuccess:"\u590D\u5236HTML\u4EE3\u7801\u6210\u529F",copyHtmlCodeFail:"\u590D\u5236HTML\u4EE3\u7801\u5931\u8D25",saveVueCode:"\u4FDD\u5B58Vue\u6587\u4EF6",saveHtmlCode:"\u4FDD\u5B58Html\u6587\u4EF6",getFormData:"\u83B7\u53D6\u6570\u636E",resetForm:"\u91CD\u7F6E\u8868\u5355",disableForm:"\u7981\u7528\u7F16\u8F91",enableForm:"\u6062\u590D\u7F16\u8F91",exportFormData:"\u8868\u5355\u6570\u636E",copyFormData:"\u590D\u5236JSON",saveFormData:"\u4FDD\u5B58\u4E3A\u6587\u4EF6",copyVue2SFC:"\u590D\u5236Vue2\u4EE3\u7801",copyVue3SFC:"\u590D\u5236Vue3\u4EE3\u7801",copySFCFail:"\u590D\u5236SFC\u4EE3\u7801\u5931\u8D25",copySFCSuccess:"\u590D\u5236SFC\u4EE3\u7801\u6210\u529F",saveVue2SFC:"\u4FDD\u5B58\u4E3AVue2\u7EC4\u4EF6",saveVue3SFC:"\u4FDD\u5B58\u4E3AVue3\u7EC4\u4EF6",fileNameForSave:"\u6587\u4EF6\u540D\uFF1A",saveFileTitle:"\u4FDD\u5B58\u4E3A\u6587\u4EF6",fileNameInputPlaceholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D",sampleLoadedSuccess:"\u8868\u5355\u793A\u4F8B\u52A0\u8F7D\u6210\u529F",sampleLoadedFail:"\u8868\u5355\u793A\u4F8B\u52A0\u8F7D\u5931\u8D25",loadFormTemplate:"\u52A0\u8F7D\u6B64\u6A21\u677F",loadFormTemplateHint:"\u662F\u5426\u52A0\u8F7D\u8FD9\u4E2A\u6A21\u677F\uFF1F\u52A0\u8F7D\u540E\u4F1A\u8986\u76D6\u8BBE\u8BA1\u5668\u5F53\u524D\u8868\u5355\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u201C\u64A4\u9500\u201D\u529F\u80FD\u6062\u590D\u3002",loadFormTemplateSuccess:"\u8868\u5355\u6A21\u677F\u52A0\u8F7D\u6210\u529F",loadFormTemplateFailed:"\u8868\u5355\u6A21\u677F\u52A0\u8F7D\u5931\u8D25",currentNodeCannotBeSelected:"\u5F53\u524D\u7EC4\u4EF6\u8282\u70B9\u4E0D\u53EF\u9009\u62E9",widgetSetting:"\u7EC4\u4EF6\u8BBE\u7F6E",formSetting:"\u8868\u5355\u8BBE\u7F6E",prompt:"\u63D0\u793A",confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",import:"\u5BFC\u5165",importJsonHint:"\u5BFC\u5165\u7684JSON\u5185\u5BB9\u987B\u7B26\u5408\u4E0B\u8FF0\u683C\u5F0F\uFF0C\u4EE5\u4FDD\u8BC1\u987A\u5229\u5BFC\u5165.",invalidOptionsData:"\u65E0\u6548\u7684\u9009\u9879\u6570\u636E:",lastPaneCannotBeDeleted:"\u4EC5\u5269\u4E00\u4E2A\u9009\u9879\u5361\u9875\u4E0D\u53EF\u5220\u9664.",duplicateName:"\u7EC4\u4EF6\u540D\u79F0\u5DF2\u5B58\u5728: ",nameRequired:"\u7EC4\u4EF6\u540D\u79F0\u4E0D\u53EF\u4E3A\u7A7A",numberValidator:"\u6570\u5B57",letterValidator:"\u5B57\u6BCD",letterAndNumberValidator:"\u6570\u5B57\u5B57\u6BCD",mobilePhoneValidator:"\u624B\u673A\u53F7\u7801",emailValidator:"\u90AE\u7BB1",urlValidator:"\u7F51\u5740",noChineseValidator:"\u975E\u4E2D\u6587\u5B57\u7B26",chineseValidator:"\u4EC5\u4E2D\u6587\u5B57\u7B26",maxLen12Decimals6Validator:"\u6700\u5927\u957F\u5EA6\u4E3A12\u4F4D\uFF0C\u5C0F\u6570\u70B9\u540E6\u4F4D",isPositiveIntegerLengthValidator:"1-4\u4F4D\u7684\u6B63\u6574\u6570",isPositiveIntegerZeroValidator:"0\u62161-4\u4F4D\u7684\u6B63\u6574\u6570",maxLen10Decimals2Validator:"\u6574\u6570\u90E8\u5206\u6700\u591A10\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",maxLen12Decimals2Validator:"\u6574\u6570\u90E8\u5206\u6700\u591A12\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",latitude:"\u8D1F90\u523090\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D",longitude:"\u8D1F180\u5230180\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D",sixFigures:"\u6574\u6570\u90E8\u5206\u6700\u591A6\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A6\u4F4D\u7684\u6570\u5B57",percentage:"0-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D",rowspanNotConsistentForMergeEntireRow:"\u5B58\u5728\u884C\u9AD8\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u65E0\u6CD5\u5408\u5E76\u6574\u884C.",colspanNotConsistentForMergeEntireColumn:"\u5B58\u5728\u5217\u5BBD\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u65E0\u6CD5\u5408\u5E76\u6574\u5217.",rowspanNotConsistentForDeleteEntireRow:"\u5B58\u5728\u884C\u9AD8\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u4E0D\u53EF\u5220\u9664\u6574\u884C.",colspanNotConsistentForDeleteEntireColumn:"\u5B58\u5728\u5217\u5BBD\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u4E0D\u53EF\u5220\u9664\u6574\u5217.",lastColCannotBeDeleted:"\u6700\u540E\u4E00\u5217\u4E0D\u53EF\u5220\u9664.",lastRowCannotBeDeleted:"\u6700\u540E\u4E00\u884C\u4E0D\u53EF\u5220\u9664."},toolbar:{undoHint:"\u64A4\u9500",redoHint:"\u91CD\u505A",pcLayout:"PC",padLayout:"Pad",mobileLayout:"H5",nodeTreeHint:"\u7EC4\u4EF6\u5C42\u6B21\u7ED3\u6784\u6811",nodeTreeTitle:"\u7EC4\u4EF6\u5C42\u6B21\u7ED3\u6784\u6811",clear:"\u6E05\u7A7A",preview:"\u9884\u89C8",importJson:"\u5BFC\u5165JSON",exportJson:"\u5BFC\u51FAJSON",exportCode:"\u5BFC\u51FA\u4EE3\u7801",generateCode:"\u751F\u6210\u4EE3\u7801",generateSFC:"\u751F\u6210SFC"},setting:{basicSetting:"\u57FA\u672C\u5C5E\u6027",attributeSetting:"\u5C5E\u6027\u8BBE\u7F6E",commonSetting:"\u5E38\u89C1\u5C5E\u6027",advancedSetting:"\u9AD8\u7EA7\u5C5E\u6027",eventSetting:"\u4E8B\u4EF6\u5C5E\u6027",uniqueName:"\u552F\u4E00\u540D\u79F0",editNameHelp:"\u4FEE\u6539\u540D\u79F0\u540E\u9700\u6309\u56DE\u8F66\u786E\u8BA4",label:"\u6807\u7B7E",displayType:"\u663E\u793A\u7C7B\u578B",defaultValue:"\u9ED8\u8BA4\u503C",placeholder:"\u5360\u4F4D\u5185\u5BB9",startPlaceholder:"\u8D77\u59CB\u5360\u4F4D\u5185\u5BB9",endPlaceholder:"\u622A\u6B62\u5360\u4F4D\u5185\u5BB9",widgetColumnWidth:"\u7EC4\u4EF6\u5217\u5BBD",widgetSize:"\u7EC4\u4EF6\u5927\u5C0F",fontSize:"\u5B57\u4F53\u5927\u5C0F",fontColor:"\u6587\u5B57\u989C\u8272",textAlign:"\u6587\u5B57\u5BF9\u9F50",autoFullWidth:"\u81EA\u52A8\u62C9\u4F38\u5BBD\u5EA6",showStops:"\u663E\u793A\u95F4\u65AD\u70B9",displayStyle:"\u663E\u793A\u6837\u5F0F",inlineLayout:"\u884C\u5185",blockLayout:"\u5757",buttonStyle:"\u663E\u793A\u4E3A\u6309\u94AE",border:"\u5E26\u6709\u8FB9\u6846",labelWidth:"\u6807\u7B7E\u5BBD\u5EA6",rows:"\u884C\u6570",labelHidden:"\u9690\u85CF\u5B57\u6BB5\u6807\u7B7E",required:"\u5FC5\u586B\u5B57\u6BB5",requiredHint:"\u5FC5\u586B\u6821\u9A8C\u63D0\u793A",validation:"\u5B57\u6BB5\u6821\u9A8C",validationHelp:"\u652F\u6301\u8F93\u5165\u6B63\u5219\u8868\u8FBE\u5F0F",validationHint:"\u6821\u9A8C\u5931\u8D25\u63D0\u793A",readonly:"\u53EA\u8BFB",disabled:"\u7981\u7528",hidden:"\u9690\u85CF",textContent:"\u9759\u6001\u6587\u5B57",preWrap:"\u81EA\u52A8\u6362\u884C",htmlContent:"HTML",clearable:"\u53EF\u6E05\u9664",objectValue:"\u5BF9\u8C61\u503C",editable:"\u53EF\u8F93\u5165",format:"\u663E\u793A\u683C\u5F0F",valueFormat:"\u7ED1\u5B9A\u503C\u683C\u5F0F",showPassword:"\u53EF\u663E\u793A\u5BC6\u7801",filterable:"\u53EF\u641C\u7D22\u9009\u9879",allowCreate:"\u5141\u8BB8\u521B\u5EFA\u9009\u9879",remote:"\u53EF\u8FDC\u7A0B\u641C\u7D22",automaticDropdown:"\u81EA\u52A8\u5F39\u51FA\u9009\u9879",multiple:"\u9009\u9879\u53EF\u591A\u9009",multipleLimit:"\u591A\u9009\u6570\u91CF\u9650\u5236",checkStrictly:"\u4EFB\u610F\u7EA7\u8282\u70B9\u53EF\u9009",showAllLevels:"\u663E\u793A\u5B8C\u6574\u8DEF\u5F84",cascaderLabelKey:"\u663E\u793A\u5B57\u6BB5\u540D",cascaderLabelKeyPlaceholder:"\u9ED8\u8BA4 label",cascaderValueKey:"\u503C\u5B57\u6BB5\u540D",cascaderValueKeyPlaceholder:"\u9ED8\u8BA4 value",cascaderChildrenKey:"\u5B50\u8282\u70B9\u5B57\u6BB5\u540D",cascaderChildrenKeyPlaceholder:"\u9ED8\u8BA4 children",showCheckbox:"\u663E\u793A\u590D\u9009\u6846",contentPosition:"\u6587\u5B57\u4F4D\u7F6E",plain:"\u6734\u7D20\u6309\u94AE",round:"\u5706\u89D2\u6309\u94AE",circle:"\u5706\u5F62\u6309\u94AE",icon:"\u56FE\u6807",optionsSetting:"\u9009\u9879\u8BBE\u7F6E",addOption:"\u589E\u52A0\u9009\u9879",importOptions:"\u5BFC\u5165\u9009\u9879",resetDefault:"\u91CD\u8BBE\u9009\u4E2D\u9879",uploadSetting:"\u4E0A\u4F20\u53C2\u6570\u8BBE\u7F6E",uploadURL:"\u4E0A\u4F20\u5730\u5740",uploadTip:"\u4E0A\u4F20\u63D0\u793A\u5185\u5BB9",withCredentials:"\u53D1\u9001cookie\u51ED\u8BC1",multipleSelect:"\u6587\u4EF6\u53EF\u591A\u9009",showFileList:"\u663E\u793A\u6587\u4EF6\u5217\u8868",limit:"\u6700\u5927\u4E0A\u4F20\u6570\u91CF",fileMaxSize:"\u6587\u4EF6\u5927\u5C0F\u9650\u5236(MB)",fileTypes:"\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B",fileTypesHelp:"\u652F\u6301\u6DFB\u52A0\u5176\u4ED6\u6587\u4EF6\u7C7B\u578B",headers:"\u4E0A\u4F20\u8BF7\u6C42\u5934",allowDrag:"\u5141\u8BB8\u62D6\u62FD",allowDragHelp:"\u5F00\u542F\u540E\u652F\u6301\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u4E0A\u4F20\u533A\u57DF",cellWidth:"\u5BBD\u5EA6",cellHeight:"\u9AD8\u5EA6",wordBreak:"\u6587\u5B57\u81EA\u52A8\u6362\u884C",gridColHeight:"\u6805\u683C\u5217\u7EDF\u4E00\u9AD8\u5EA6(px)",gutter:"\u6805\u683C\u95F4\u9694(px)",columnSetting:"\u6805\u683C\u5C5E\u6027\u8BBE\u7F6E",colsOfGrid:"\u5F53\u524D\u6805\u683C\u5217:",colSpanTitle:"\u6805\u683C\u5BBD\u5EA6",colOffsetTitle:"\u5DE6\u4FA7\u95F4\u9694\u683C\u6570",colPushTitle:"\u53F3\u79FB\u6805\u683C\u6570",colPullTitle:"\u5DE6\u79FB\u6805\u683C\u6570",addColumn:"\u589E\u52A0\u6805\u683C",responsive:"\u54CD\u5E94\u5F0F\u5E03\u5C40",tabPaneSetting:"\u9009\u9879\u5361\u8BBE\u7F6E",addTabPane:"\u589E\u52A0\u9009\u9879\u5361\u9875",paneActive:"\u6FC0\u6D3B",customLabelIcon:"\u5B9A\u5236\u5B57\u6BB5\u6807\u7B7E",labelIconClass:"\u6807\u7B7EIcon\u6837\u5F0F",labelIconPosition:"\u6807\u7B7EIcon\u4F4D\u7F6E",labelTooltip:"\u6807\u7B7E\u6587\u5B57\u63D0\u793A",minValue:"\u6700\u5C0F\u503C",maxValue:"\u6700\u5927\u503C",precision:"\u7CBE\u5EA6",step:"\u589E\u51CF\u6B65\u957F",controlsPosition:"\u63A7\u5236\u6309\u94AE\u4F4D\u7F6E",minLength:"\u6700\u5C0F\u957F\u5EA6",maxLength:"\u6700\u5927\u957F\u5EA6",showWordLimit:"\u663E\u793A\u5B57\u6570\u7EDF\u8BA1",prefixIcon:"\u5934\u90E8Icon",suffixIcon:"\u5C3E\u90E8Icon",inputButton:"\u8F93\u5165\u6846\u6309\u94AE\u8BBE\u7F6E",appendButton:"\u6DFB\u52A0\u540E\u7F6E\u6309\u94AE",appendButtonDisabled:"\u540E\u7F6E\u6309\u94AE\u7981\u7528",appendButtonIcon:"\u540E\u7F6E\u6309\u94AEIcon",buttonIcon:"\u6309\u94AEIcon",switchWidth:"\u5F00\u5173\u5BBD\u5EA6\uFF08\u50CF\u7D20\uFF09",activeText:"\u5F00\u542F\u65F6\u6587\u5B57\u63CF\u8FF0",inactiveText:"\u5173\u95ED\u65F6\u6587\u5B57\u63CF\u8FF0",activeColor:"\u5F00\u542F\u65F6\u80CC\u666F\u8272",inactiveColor:"\u5173\u95ED\u65F6\u80CC\u666F\u8272",maxStars:"\u6700\u5927\u8BC4\u5206\u503C",lowThreshold:"\u4F4E\u5206\u754C\u9650\u503C",highThreshold:"\u9AD8\u5206\u754C\u9650\u503C",allowHalf:"\u5141\u8BB8\u534A\u9009",showText:"\u663E\u793A\u8F85\u52A9\u6587\u5B57",showScore:"\u663E\u793A\u5F53\u524D\u5206\u6570",range:"\u662F\u5426\u4E3A\u8303\u56F4\u9009\u62E9",vertical:"\u662F\u5426\u7AD6\u5411\u663E\u793A",showBlankRow:"\u9ED8\u8BA4\u663E\u793A\u65B0\u884C",showRowNumber:"\u663E\u793A\u884C\u53F7",contentHeight:"\u5185\u5BB9\u533A\u9AD8\u5EA6",insertColumnToLeft:"\u63D2\u5165\u5DE6\u4FA7\u5217",insertColumnToRight:"\u63D2\u5165\u53F3\u4FA7\u5217",insertRowAbove:"\u63D2\u5165\u4E0A\u65B9\u884C",insertRowBelow:"\u63D2\u5165\u4E0B\u65B9\u884C",mergeLeftColumn:"\u5408\u5E76\u5DE6\u4FA7\u5355\u5143\u683C",mergeRightColumn:"\u5408\u5E76\u53F3\u4FA7\u5355\u5143\u683C",mergeEntireRow:"\u5408\u5E76\u6574\u884C",mergeRowAbove:"\u5408\u5E76\u4E0A\u65B9\u5355\u5143\u683C",mergeRowBelow:"\u5408\u5E76\u4E0B\u65B9\u5355\u5143\u683C",mergeEntireColumn:"\u5408\u5E76\u6574\u5217",undoMergeCol:"\u64A4\u9500\u5217\u5408\u5E76",undoMergeRow:"\u64A4\u9500\u884C\u5408\u5E76",deleteEntireCol:"\u5220\u9664\u6574\u5217",deleteEntireRow:"\u5220\u9664\u6574\u884C",widgetName:"\u7EC4\u4EF6\u552F\u4E00\u540D\u79F0",formSize:"\u5168\u5C40\u7EC4\u4EF6\u5927\u5C0F",labelPosition:"\u6807\u7B7E\u4F4D\u7F6E",topPosition:"\u9876\u90E8",leftPosition:"\u5DE6\u8FB9",labelAlign:"\u5B57\u6BB5\u6807\u7B7E\u5BF9\u9F50",leftAlign:"\u5C45\u5DE6",centerAlign:"\u5C45\u4E2D",rightAlign:"\u5C45\u53F3",formCss:"\u8868\u5355\u5168\u5C40CSS",addCss:"\u7F16\u5199CSS",customClass:"\u81EA\u5B9A\u4E49CSS\u6837\u5F0F",mainTip:"\u4E3B\u63D0\u793A\u8BED",subTip:"\u526F\u63D0\u793A\u8BED",globalFunctions:"\u8868\u5355\u5168\u5C40\u51FD\u6570",addEventHandler:"\u7F16\u5199\u4EE3\u7801",editWidgetEventHandler:"\u7EC4\u4EF6\u4E8B\u4EF6\u5904\u7406",editFormEventHandler:"\u8868\u5355\u4E8B\u4EF6\u5904\u7406",formSFCSetting:"\u751F\u6210SFC\u8BBE\u7F6E",formModelName:"\u6570\u636E\u5BF9\u8C61\u540D\u79F0",formRefName:"\u5F15\u7528\u540D\u79F0",formRulesName:"\u9A8C\u8BC1\u89C4\u5219\u540D\u79F0",syntaxCheckWarning:"JS\u4EE3\u7801\u5B58\u5728\u8BED\u6CD5\u9519\u8BEF\uFF0C\u8BF7\u4ED4\u7EC6\u68C0\u67E5\uFF01"}}},enLocale_render={render:{hint:{prompt:"Prompt",confirm:"OK",cancel:"Cancel",selectPlaceholder:"Pick some item",timePlaceholder:"Select time",startTimePlaceholder:"Start time",endTimePlaceholder:"End time",datePlaceholder:"Select date",startDatePlaceholder:"Start date",endDatePlaceholder:"End date",blankCellContent:"--",uploadError:"Upload error: ",uploadExceed:"The maximum number(${uploadLimit}) of file uploads has been exceeded.",unsupportedFileType:"Unsupported format: ",fileSizeExceed:"File size out of limit: ",refNotFound:"Ref not found: ",fieldRequired:"Input value should be not null.",invalidNumber:"Invalid number format",selectFile:" File...",downloadFile:"Download",removeFile:"Remove",validationFailed:"Form validation failed",subFormAction:"Action",subFormAddAction:"Add",subFormAddActionHint:"add new row",insertSubFormRow:"insert new row",deleteSubFormRow:"delete this row",nonSubFormType:"The type of widget don't match sub-form"}}},zhLocale_render={render:{hint:{prompt:"\u63D0\u793A",confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",selectPlaceholder:"\u8BF7\u9009\u62E9",timePlaceholder:"\u9009\u62E9\u65F6\u95F4",startTimePlaceholder:"\u8D77\u59CB\u65F6\u95F4",endTimePlaceholder:"\u622A\u6B62\u65F6\u95F4",datePlaceholder:"\u9009\u62E9\u65E5\u671F",startDatePlaceholder:"\u8D77\u59CB\u65E5\u671F",endDatePlaceholder:"\u622A\u6B62\u65E5\u671F",blankCellContent:"--",uploadError:"\u4E0A\u4F20\u9519\u8BEF: ",uploadExceed:"\u6700\u5927\u4E0A\u4F20\u6570\u91CF(${uploadLimit})\u5DF2\u8D85\u51FA.",unsupportedFileType:"\u4E0D\u652F\u6301\u683C\u5F0F: ",fileSizeExceed:"\u6587\u4EF6\u5927\u5C0F\u5DF2\u8D85\u51FA: ",refNotFound:"\u7EC4\u4EF6\u672A\u627E\u5230: ",fieldRequired:"\u5B57\u6BB5\u503C\u4E0D\u53EF\u4E3A\u7A7A",invalidNumber:"\u6570\u636E\u683C\u5F0F\u9519\u8BEF",selectFile:" \u9009\u62E9\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D",removeFile:"\u79FB\u9664",validationFailed:"\u8868\u5355\u6570\u636E\u6821\u9A8C\u5931\u8D25",subFormAction:"\u64CD\u4F5C",subFormAddAction:"\u65B0\u589E",subFormAddActionHint:"\u65B0\u589E\u884C",insertSubFormRow:"\u63D2\u5165\u884C",deleteSubFormRow:"\u5220\u9664\u884C",nonSubFormType:"\u7EC4\u4EF6\u7C7B\u578B\u4E0D\u662F\u5B50\u8868\u5355",selectTreeCheckStrictly:"\u662F\u5426\u4E25\u683C\u9009\u4E2D"}}};const cardSchema={type:"card",category:"container",icon:"card",widgetList:[],options:{name:"",label:"card",hidden:!1,folded:!1,showFold:!0,cardWidth:"100%",shadow:"never",customClass:""}},alertSchema={type:"alert",icon:"alert",formItemFlag:!1,options:{name:"",title:"Good things are coming...",type:"info",description:"",closable:!0,closeText:"",center:!0,showIcon:!1,effect:"light",hidden:!1,onClose:"",customClass:""}},personTreeSchema={type:"person-tree",icon:"tree",formItemFlag:!0,options:{name:"",label:"\u4EBA\u5458\u6811",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"auto",defaultValue:null,required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,buttonText:"\u9009\u62E9\u4EBA\u5458",confirmText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",dialogTitle:"\u9009\u62E9\u4EBA\u5458",dialogWidth:"50%",hideFooter:!1,multiple:!0,treeParams:"",customClass:"",onOpen:"",onConfirm:"",onRemoveTag:"",onCancel:"",onClose:""}},radioOtherSchema={type:"radio-other",icon:"radio-field",formItemFlag:!0,options:{name:"",label:"\u5355\u9009\u9879\uFF08\u5176\u4ED6\uFF09",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"auto",size:"",displayStyle:"inline",border:!1,disabled:!1,defaultValue:null,optionItems:[{label:"\u9009\u98791",value:1},{label:"\u9009\u98792",value:2}],required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onChange:"",onValidate:""}},selectOtherSchema={type:"select-other",icon:"select-field",formItemFlag:!0,options:{name:"",label:"\u4E0B\u62C9\u9009\u9879\uFF08\u5176\u4ED6\uFF09",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"auto",size:"",defaultValue:"",placeholder:"",clearable:!0,filterable:!1,allowCreate:!1,remote:!1,automaticDropdown:!1,multiple:!1,multipleLimit:0,disabled:!1,optionItems:[{label:"\u9009\u98791",value:1},{label:"\u9009\u98792",value:2}],required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onRemoteQuery:"",onChange:"",onFocus:"",onBlur:"",onValidate:""}},meetingRoomSchema={type:"meeting-room",icon:"meeting-room",formItemFlag:!0,options:{name:"",label:"\u4F1A\u8BAE\u5BA4",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"auto",size:"",defaultValue:null,placeholder:"\u8BF7\u9009\u62E9\u4F1A\u8BAE\u5BA4",required:!1,requiredHint:"",validation:"",validationHint:"",remoteUrl:"",allowMultiple:!1}},currentUserSchema={type:"current-user",icon:"user",formItemFlag:!0,options:{name:"",label:"\u5F53\u524D\u7528\u6237",type:"username",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onChange:""}},assetSelectSchema={type:"asset-select",icon:"asset",formItemFlag:!0,options:{name:"",label:"\u8D44\u4EA7\u9009\u62E9",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onChange:"",buttonText:"\u9009\u62E9\u8D44\u4EA7",dialogTitle:"\u9009\u62E9\u8D44\u4EA7",dialogWidth:"50%",hideFooter:!1,typeJson:{},assetTypeValue:"",assetLimit:0,customClass:["assetCss"],onOpen:"",onConfirm:""}},assetTableSchema={type:"asset-table",icon:"asset",formItemFlag:!0,options:{name:"",label:"\u8D44\u4EA7\u8868\u683C",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,typeJson:{},clickRow:!0,customClass:"",onCreated:"",onMounted:"",onChange:"",onOpen:"",onConfirm:""}},fixedTableSchema={type:"fixed-table",icon:"fixed",formItemFlag:!0,options:{name:"",label:"\u56FA\u5B9A\u8D44\u4EA7\u6295\u8D44\u9879\u76EE\u5217\u8868",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,disabled:!0,typeJson:{},clickRow:!0,customClass:"",onCreated:"",onMounted:"",onChange:"",onOpen:"",onConfirm:""}},equityTableSchema={type:"equity-table",icon:"equity",formItemFlag:!0,options:{name:"",label:"\u80A1\u6743\u6295\u8D44\u9879\u76EE\u5217\u8868",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",disabled:!0,hidden:!1,typeJson:{},clickRow:!0,customClass:"",onCreated:"",onMounted:"",onChange:"",onOpen:"",onConfirm:""}},resolutionTableSchema={type:"resolution-table",icon:"resolution",formItemFlag:!0,options:{name:"",label:"\u51B3\u8BAE\u8868\u683C",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,typeJson:{},clickRow:!0,customClass:"",onCreated:"",onMounted:"",onChange:"",onOpen:"",onConfirm:""}},assetTypeSchema={type:"asset-type",icon:"asset",formItemFlag:!0,options:{name:"",label:"\u8D44\u4EA7\u7C7B\u578B",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onChange:"",assetTypeValue:"0"}},currentUserSecondCompanySchema={type:"current-user-second-company",icon:"user",formItemFlag:!0,options:{name:"",label:"\u5F53\u524D\u7528\u6237\u4E8C\u7EA7\u516C\u53F8",columnWidth:"auto",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onChange:""}},customInputSchema={type:"custom-input",icon:"input",formItemFlag:!0,options:{name:"",label:"\u81EA\u5B9A\u4E49\u8F93\u5165",labelAlign:"",labelWidth:null,labelHidden:!1,columnWidth:"auto",size:"",defaultValue:"",placeholder:"",clearable:!0,filterable:!1,disabled:!1,readonly:!1,maxlength:0,minlength:0,pattern:"",title:"",titlePosition:"top",titleWidth:0,titleAlign:"left",required:!1,requiredHint:"",validation:"",validationHint:"",hidden:!1,customClass:"",onCreated:"",onMounted:"",onChange:"",onValidate:""}};var enLocale_extension={extension:{widgetLabel:{card:"Card",alert:"Alert","person-tree":"Person Tree","asset-select":"Asset Select","radio-other":"Radio (Other)","select-other":"Select (Other)","custom-sub-form":"Custom Sub Form","sub-table":"Sub Table","asset-table":"Asset Table","resolution-table":"Resolution Table","fixed-table":"Fixed Table","asset-type":"Asset Type","equity-table":"Equity Table","current-user":"Current User","current-user-second-company":"Current User Second Company","custom-input":"Custom Input"},setting:{cardFolded:"Folded",cardShowFold:"Show Fold",cardWidth:"Width Of Card",cardShadow:"Shadow",alertTitle:"Title",alertType:"Type",description:"Description",closable:"Closable",closeText:"Text On Close Btn",center:"Center",showIcon:"Show Icon",effect:"Effect",personTreeButtonText:"Button Text",personTreeDialogTitle:"Dialog Title",personTreeTreeParams:"Tree Params",personTreeDialogWidth:"Dialog Width",personTreeConfirmText:"Confirm Button Text",personTreeCancelText:"Cancel Button Text",personTreeHideFooter:"Hide Dialog Footer",personTreeMultiple:"Multiple",meetingRoomRemoteUrl:"Request URL",allowMultiple:"Allow Multiple",currentUserType:"Current User Type",selectTreeCheckStrictly:"Check Strictly",assetSelectButtonText:"Button Text",assetSelectTypeJson:"Asset Type Json",assetTableTypeJson:"Asset Table Type Json",fixedTableTypeJson:"Fixed Table Type Json",assetTableClickRow:"Click Row",fixedTableClickRow:"Click Row",equityTableTypeJson:"Equity Table Type Json",equityTableClickRow:"Click Row",assetSelectAssetTypeValue:"Asset Type Value",assetTypeAssetTypeValue:"Asset Type",assetLimit:"Asset Limit",assetType:"Asset Typee",subTableShowIndex:"Show Index"}}},zhLocale_extension={extension:{widgetLabel:{card:"\u5361\u7247",alert:"\u63D0\u793A","person-tree":"\u4EBA\u5458\u6811","current-user":"\u5F53\u524D\u7528\u6237","current-user-second-company":"\u5F53\u524D\u7528\u6237\u4E8C\u7EA7\u516C\u53F8","asset-select":"\u8D44\u4EA7\u9009\u62E9","asset-table":"\u8D44\u4EA7\u8868\u683C","radio-other":"\u5355\u9009\u9879\uFF08\u5176\u4ED6\uFF09","select-other":"\u4E0B\u62C9\u9009\u9879\uFF08\u5176\u4ED6\uFF09","meeting-room":"\u4F1A\u8BAE\u5BA4","custom-sub-form":"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355","sub-table":"\u5B50\u8868\u683C","asset-type":"\u8D44\u4EA7\u7C7B\u578B","resolution-table":"\u51B3\u8BAE\u8868\u683C","fixed-table":"\u56FA\u5B9A\u8D44\u4EA7\u6295\u8D44","equity-table":"\u80A1\u6743\u6295\u8D44\u9879\u76EE","custom-input":"\u81EA\u5B9A\u4E49\u8F93\u5165"},setting:{cardFolded:"\u662F\u5426\u6536\u8D77",cardShowFold:"\u663E\u793A\u6298\u53E0\u6309\u94AE",cardWidth:"\u5361\u7247\u5BBD\u5EA6",cardShadow:"\u663E\u793A\u9634\u5F71",alertTitle:"\u6807\u9898",alertType:"\u7C7B\u578B",description:"\u8F85\u52A9\u6027\u6587\u5B57",closable:"\u662F\u5426\u53EF\u5173\u95ED",closeText:"\u5173\u95ED\u6309\u94AE\u6587\u5B57",center:"\u6587\u5B57\u5C45\u4E2D",showIcon:"\u663E\u793A\u56FE\u6807",effect:"\u663E\u793A\u6548\u679C",personTreeButtonText:"\u6309\u94AE\u6587\u5B57",personTreeDialogTitle:"\u5F39\u7A97\u6807\u9898",personTreeTreeParams:"\u8BF7\u6C42\u53C2\u6570",personTreeDialogWidth:"\u5F39\u7A97\u5BBD\u5EA6",personTreeConfirmText:"\u786E\u5B9A\u6309\u94AE\u6587\u5B57",personTreeCancelText:"\u53D6\u6D88\u6309\u94AE\u6587\u5B57",personTreeHideFooter:"\u9690\u85CF\u5E95\u90E8\u6309\u94AE",personTreeMultiple:"\u662F\u5426\u591A\u9009",meetingRoomRemoteUrl:"\u8BF7\u6C42\u5730\u5740",allowMultiple:"\u662F\u5426\u591A\u9009",currentUserType:"\u5F53\u524D\u7528\u6237\u7C7B\u578B",selectTreeCheckStrictly:"\u662F\u5426\u4E25\u683C\u9009\u4E2D",assetSelectButtonText:"\u6309\u94AE\u6587\u5B57",assetSelectTypeJson:"\u8D44\u4EA7\u7C7B\u578BJson",assetTableTypeJson:"\u8D44\u4EA7\u8868\u683C\u7C7B\u578BJson",fixedTableTypeJson:"\u8D44\u4EA7\u6295\u8D44\u8868\u683CJson",assetTableClickRow:"\u662F\u5426\u70B9\u51FB\u884C",fixedTableClickRow:"\u662F\u5426\u70B9\u51FB\u884C",equityTableTypeJson:"\u8D44\u4EA7\u6295\u8D44\u8868\u683CJson",equityTableClickRow:"\u662F\u5426\u70B9\u51FB\u884C",assetSelectAssetTypeValue:"\u8D44\u4EA7\u7C7B\u578B\u503C",assetTypeAssetTypeValue:"\u9ED8\u8BA4\u8D44\u4EA7\u7C7B\u578B\u503C",assetSelectAssetLimit:"\u8D44\u4EA7\u9009\u62E9\u9650\u5236",subTableShowIndex:"\u662F\u5426\u663E\u793A\u5E8F\u53F7\u5217"}}};const langResources={"en-US":je(je(je({something:{}},enLocale),enLocale_render),enLocale_extension),"zh-CN":je(je(je({something:{}},zhLocale),zhLocale_render),zhLocale_extension)},i18n=createI18n({locale:localStorage.getItem("v_form_locale")||"zh-CN",messages:langResources}),changeLocale=function(t){i18n.setLang(t),localStorage.setItem("v_form_locale",t)},translate=function(t){return i18n.$st(t)};var i18n$1={methods:{i18nt(t){return i18n.$st(t)},i18n2t(t,a){return i18n.$st2(t,a)}}},index_vue_vue_type_style_index_0_scoped_true_lang$9="",_export_sfc$1=(t,a)=>{const e=t.__vccOpts||t;for(const[h,m]of a)e[h]=m;return e};const _sfc_main$3H={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String},title:{type:String,default:""}},computed:{iconName(){return`#icon-${this.iconClass}`},svgClass(){return this.className?"svg-icon "+this.className:"svg-icon"}}},_hoisted_1$Z=["xlink:href"],_hoisted_2$H={key:0};function _sfc_render$3H(t,a,e,h,m,p){return vue.openBlock(),vue.createElementBlock("svg",{class:vue.normalizeClass(p.svgClass),"aria-hidden":"true"},[vue.createElementVNode("use",{"xlink:href":p.iconName},null,8,_hoisted_1$Z),e.title?(vue.openBlock(),vue.createElementBlock("title",_hoisted_2$H,vue.toDisplayString(e.title),1)):vue.createCommentVNode("",!0)],2)}var SvgIcon=_export_sfc$1(_sfc_main$3H,[["render",_sfc_render$3H],["__scopeId","data-v-8002b89a"]]),index_vue_vue_type_style_index_0_scoped_true_lang$8="";const _sfc_main$3G={name:"FieldPanel",mixins:[i18n$1],components:{SvgIcon},props:{designer:Object},inject:["getBannedWidgets","getDesignerConfig"],data(){return{designerConfig:this.getDesignerConfig(),firstTab:"componentLib",scrollerHeight:0,activeNames:["1","2","3","4"],containers:[],basicFields:[],advancedFields:[],customFields:[],formTemplates}},computed:{},created(){this.loadWidgets()},mounted(){this.scrollerHeight=window.innerHeight-56+"px",addWindowResizeHandler(()=>{this.$nextTick(()=>{this.scrollerHeight=window.innerHeight-56+"px"})})},methods:{isBanned(t){return this.getBannedWidgets().indexOf(t)>-1},showFormTemplates(){return this.designerConfig.formTemplates===void 0?!0:!!this.designerConfig.formTemplates},loadWidgets(){this.containers=containers.map(t=>gt(je({key:generateId()},t),{displayName:this.i18n2t(`designer.widgetLabel.${t.type}`,`extension.widgetLabel.${t.type}`)})).filter(t=>!t.internal&&!this.isBanned(t.type)),this.basicFields=basicFields.map(t=>gt(je({key:generateId()},t),{displayName:this.i18n2t(`designer.widgetLabel.${t.type}`,`extension.widgetLabel.${t.type}`)})).filter(t=>!this.isBanned(t.type)),this.advancedFields=advancedFields.map(t=>gt(je({key:generateId()},t),{displayName:this.i18n2t(`designer.widgetLabel.${t.type}`,`extension.widgetLabel.${t.type}`)})).filter(t=>!this.isBanned(t.type)),this.customFields=customFields.map(t=>gt(je({key:generateId()},t),{displayName:this.i18n2t(`designer.widgetLabel.${t.type}`,`extension.widgetLabel.${t.type}`)})).filter(t=>!this.isBanned(t.type))},handleContainerWidgetClone(t){return this.designer.copyNewContainerWidget(t)},handleFieldWidgetClone(t){return this.designer.copyNewFieldWidget(t)},checkContainerMove(t){return this.designer.checkWidgetMove(t)},checkFieldMove(t){return this.designer.checkFieldMove(t)},onContainerDragEnd(t){},addContainerByDbClick(t){this.designer.addContainerByDbClick(t)},addFieldByDbClick(t){this.designer.addFieldByDbClick(t)},loadFormTemplate(t){this.$confirm(this.i18nt("designer.hint.loadFormTemplateHint"),this.i18nt("render.hint.prompt"),{confirmButtonText:this.i18nt("render.hint.confirm"),cancelButtonText:this.i18nt("render.hint.cancel")}).then(()=>{axios.get(t).then(a=>{let e=!1;typeof a.data=="string"?e=this.designer.loadFormJson(JSON.parse(a.data)):a.data.constructor===Object&&(e=this.designer.loadFormJson(a.data)),e&&this.designer.emitHistoryChange(),this.$message.success(this.i18nt("designer.hint.loadFormTemplateSuccess"))}).catch(a=>{this.$message.error(this.i18nt("designer.hint.loadFormTemplateFailed")+":"+a)})}).catch(a=>{console.error(a)})}}},_hoisted_1$Y={class:"panel-container"},_hoisted_2$G=["title","onDblclick"],_hoisted_3$B=["title","onDblclick"],_hoisted_4$p=["title","onDblclick"],_hoisted_5$l=["title","onDblclick"],_hoisted_6$k=["src"],_hoisted_7$h=["src"],_hoisted_8$c={class:"bottom clear-fix"},_hoisted_9$a={class:"ft-title"};function _sfc_render$3G(t,a,e,h,m,p){const d=vue.resolveComponent("svg-icon"),f=vue.resolveComponent("draggable"),o=vue.resolveComponent("el-collapse-item"),u=vue.resolveComponent("el-collapse"),n=vue.resolveComponent("el-tab-pane"),s=vue.resolveComponent("el-popover"),i=vue.resolveComponent("el-button"),r=vue.resolveComponent("el-card"),l=vue.resolveComponent("el-tabs"),c=vue.resolveComponent("el-scrollbar");return vue.openBlock(),vue.createBlock(c,{class:"side-scroll-bar"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$Y,[vue.createVNode(l,{modelValue:m.firstTab,"onUpdate:modelValue":a[1]||(a[1]=g=>m.firstTab=g),class:"no-bottom-margin indent-left-margin"},{default:vue.withCtx(()=>[vue.createVNode(n,{name:"componentLib"},{label:vue.withCtx(()=>[vue.createElementVNode("span",null,[vue.createVNode(d,{"icon-class":"el-set-up"}),vue.createTextVNode(" "+vue.toDisplayString(t.i18nt("designer.componentLib")),1)])]),default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:m.activeNames,"onUpdate:modelValue":a[0]||(a[0]=g=>m.activeNames=g),class:"widget-collapse"},{default:vue.withCtx(()=>[vue.createVNode(o,{name:"1",title:t.i18nt("designer.containerTitle")},{default:vue.withCtx(()=>[vue.createVNode(f,{tag:"ul",list:m.containers,"item-key":"key",group:{name:"dragGroup",pull:"clone",put:!1},clone:p.handleContainerWidgetClone,"ghost-class":"ghost",sort:!1,move:p.checkContainerMove,onEnd:p.onContainerDragEnd},{item:vue.withCtx(({element:g})=>[vue.createElementVNode("li",{class:"container-widget-item",title:g.displayName,onDblclick:v=>p.addContainerByDbClick(g)},[vue.createElementVNode("span",null,[vue.createVNode(d,{"icon-class":g.icon,"class-name":"color-svg-icon"},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${g.type}`,`extension.widgetLabel.${g.type}`)),1)])],40,_hoisted_2$G)]),_:1},8,["list","clone","move","onEnd"])]),_:1},8,["title"]),vue.createVNode(o,{name:"2",title:t.i18nt("designer.basicFieldTitle")},{default:vue.withCtx(()=>[vue.createVNode(f,{tag:"ul",list:m.basicFields,"item-key":"key",group:{name:"dragGroup",pull:"clone",put:!1},move:p.checkFieldMove,clone:p.handleFieldWidgetClone,"ghost-class":"ghost",sort:!1},{item:vue.withCtx(({element:g})=>[vue.createElementVNode("li",{class:"field-widget-item",title:g.displayName,onDblclick:v=>p.addFieldByDbClick(g)},[vue.createElementVNode("span",null,[vue.createVNode(d,{"icon-class":g.icon,"class-name":"color-svg-icon"},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${g.type}`,`extension.widgetLabel.${g.type}`)),1)])],40,_hoisted_3$B)]),_:1},8,["list","move","clone"])]),_:1},8,["title"]),vue.createVNode(o,{name:"3",title:t.i18nt("designer.advancedFieldTitle")},{default:vue.withCtx(()=>[vue.createVNode(f,{tag:"ul",list:m.advancedFields,"item-key":"key",group:{name:"dragGroup",pull:"clone",put:!1},move:p.checkFieldMove,clone:p.handleFieldWidgetClone,"ghost-class":"ghost",sort:!1},{item:vue.withCtx(({element:g})=>[vue.createElementVNode("li",{class:"field-widget-item",title:g.displayName,onDblclick:v=>p.addFieldByDbClick(g)},[vue.createElementVNode("span",null,[vue.createVNode(d,{"icon-class":g.icon,"class-name":"color-svg-icon"},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${g.type}`,`extension.widgetLabel.${g.type}`)),1)])],40,_hoisted_4$p)]),_:1},8,["list","move","clone"])]),_:1},8,["title"]),vue.createVNode(o,{name:"4",title:t.i18nt("designer.customFieldTitle")},{default:vue.withCtx(()=>[vue.createVNode(f,{tag:"ul",list:m.customFields,"item-key":"key",group:{name:"dragGroup",pull:"clone",put:!1},move:p.checkFieldMove,clone:p.handleFieldWidgetClone,"ghost-class":"ghost",sort:!1},{item:vue.withCtx(({element:g})=>[vue.createElementVNode("li",{class:"field-widget-item",title:g.displayName,onDblclick:v=>p.addFieldByDbClick(g)},[vue.createElementVNode("span",null,[vue.createVNode(d,{"icon-class":g.icon,"class-name":"color-svg-icon"},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${g.type}`,`extension.widgetLabel.${g.type}`)),1)])],40,_hoisted_5$l)]),_:1},8,["list","move","clone"])]),_:1},8,["title"])]),_:1},8,["modelValue"])]),_:1}),p.showFormTemplates()?(vue.openBlock(),vue.createBlock(n,{key:0,name:"formLib",style:{padding:"8px"}},{label:vue.withCtx(()=>[vue.createElementVNode("span",null,[vue.createVNode(d,{"icon-class":"el-form-template"}),vue.createTextVNode(" "+vue.toDisplayString(t.i18nt("designer.formLib")),1)])]),default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.formTemplates,(g,v)=>(vue.openBlock(),vue.createBlock(r,{"bord-style":{padding:"0"},shadow:"hover",class:"ft-card"},{default:vue.withCtx(()=>[vue.createVNode(s,{placement:"right",trigger:"hover"},{reference:vue.withCtx(()=>[vue.createElementVNode("img",{src:g.imgUrl,style:{width:"200px"}},null,8,_hoisted_6$k)]),default:vue.withCtx(()=>[vue.createElementVNode("img",{src:g.imgUrl,style:{height:"600px",width:"720px"}},null,8,_hoisted_7$h)]),_:2},1024),vue.createElementVNode("div",_hoisted_8$c,[vue.createElementVNode("span",_hoisted_9$a,"#"+vue.toDisplayString(v+1)+" "+vue.toDisplayString(g.title),1),vue.createVNode(i,{link:"",type:"primary",class:"right-button",onClick:b=>p.loadFormTemplate(g.jsonUrl)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.hint.loadFormTemplate")),1)]),_:1},8,["onClick"])])]),_:2},1024))),256))]),_:1})):vue.createCommentVNode("",!0)]),_:1},8,["modelValue"])])]),_:1})}var WidgetPanel=_export_sfc$1(_sfc_main$3G,[["render",_sfc_render$3G],["__scopeId","data-v-7bf25242"]]),emitter={data(){return{vfEvents:{}}},methods:{emit$(t,a){this.vfEvents[t]&&this.vfEvents[t].forEach(e=>{e(a)})},on$(t,a){this.vfEvents[t]=this.vfEvents[t]||[],this.vfEvents[t].push(a)},off$(t,a){if(this.vfEvents[t]){if(a==null){this.vfEvents[t].length=0;return}for(let e=0;e<this.vfEvents[t].length;e++)if(this.vfEvents[t][e]===a){this.vfEvents[t].splice(e,1);break}}},dispatch:function(a,e,h){let m=this.$parent||this.$root,p=m.$options.componentName;for(;m&&(!p||p!==a);)m=m.$parent,m&&(p=m.$options.componentName);m&&m.emit$&&(m.emit$.call(m,e,h),a==="VFormRender"&&m.$emit(e,...h))},broadcast:function(a,e,h){this.widgetRefList&&Object.keys(this.widgetRefList).forEach(m=>{if(this.widgetRefList[m].$options.componentName===a){let d=this.widgetRefList[m];d.emit$.call(d,e,h)}}),this.refList&&Object.keys(this.refList).forEach(m=>{if(this.refList[m].$options.componentName===a){let d=this.refList[m];d.emit$.call(d,e,h)}})}}};const _sfc_main$3F={name:"container-item-wrapper",props:{widget:Object},computed:{customClass(){return!this.widget||!this.widget.options||!this.widget.options.customClass?"":Array.isArray(this.widget.options.customClass)?this.widget.options.customClass.join(" "):this.widget.options.customClass}}};function _sfc_render$3F(t,a,e,h,m,p){return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["container-wrapper",[p.customClass]])},[vue.renderSlot(t.$slots,"default")],2)}var ContainerItemWrapper=_export_sfc$1(_sfc_main$3F,[["render",_sfc_render$3F]]),__glob_0_0$3=Object.freeze(Object.defineProperty({__proto__:null,default:ContainerItemWrapper},Symbol.toStringTag,{value:"Module"})),refMixin={methods:{initRefList(){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(this.refList[this.widget.options.name]=this)},getWidgetRef(t,a){let e=this.refList[t];return!e&&!!a&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},getFormRef(){return this.refList.v_form_ref},getComponentByContainer(t){return t.type==="grid"?"vf-grid-item":t.type+"-item"}}},staticContentWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$3E={name:"static-content-wrapper",mixins:[i18n$1],components:{SvgIcon},props:{field:Object,designer:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designState:{type:Boolean,default:!1},displayStyle:{type:String,default:"block"},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},computed:{selected(){return!!this.designer&&this.field.id===this.designer.selectedId},customClass(){return this.field.options.customClass?this.field.options.customClass.join(" "):""}},methods:{selectField(t){this.designer&&(this.designer.setSelected(t),this.designer.emitEvent("field-selected",this.parentWidget))},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},removeFieldWidget(){if(this.parentList){const t=this.designer.selectedWidgetName;let a=null;this.parentList.length===1?this.parentWidget&&(a=this.parentWidget):this.parentList.length===1+this.indexOfParentList?a=this.parentList[this.indexOfParentList-1]:a=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(a),this.designer.formWidget.deleteWidgetRef(t),this.designer.emitHistoryChange()})}}}},_hoisted_1$X={key:0,class:"field-action"},_hoisted_2$F=["title"],_hoisted_3$A=["title"],_hoisted_4$o=["title"],_hoisted_5$k=["title"],_hoisted_6$j={key:1,class:"drag-handler background-opacity"},_hoisted_7$g=["title"],_hoisted_8$b={key:0};function _sfc_render$3E(t,a,e,h,m,p){const d=vue.resolveComponent("svg-icon");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["field-wrapper",{"design-time-bottom-margin":!!this.designer}]),style:vue.normalizeStyle({display:e.displayStyle})},[!e.field.options.hidden||e.designState===!0?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:vue.normalizeClass(["static-content-item",[p.selected?"selected":"",p.customClass]]),style:vue.normalizeStyle({display:e.displayStyle}),onClick:a[0]||(a[0]=vue.withModifiers(f=>p.selectField(e.field),["stop"]))},[vue.renderSlot(t.$slots,"default",{},void 0,!0)],6)):vue.createCommentVNode("",!0),this.designer?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[e.designer.selectedId===e.field.id?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$X,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:a[1]||(a[1]=vue.withModifiers(f=>p.selectParentWidget(e.field),["stop"]))},[vue.createVNode(d,{"icon-class":"el-back"})],8,_hoisted_2$F),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:t.i18nt("designer.hint.moveUpWidget"),onClick:a[2]||(a[2]=vue.withModifiers(f=>p.moveUpWidget(e.field),["stop"]))},[vue.createVNode(d,{"icon-class":"el-move-up"})],8,_hoisted_3$A)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:t.i18nt("designer.hint.moveDownWidget"),onClick:a[3]||(a[3]=vue.withModifiers(f=>p.moveDownWidget(e.field),["stop"]))},[vue.createVNode(d,{"icon-class":"el-move-down"})],8,_hoisted_4$o)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:t.i18nt("designer.hint.remove"),onClick:a[4]||(a[4]=vue.withModifiers((...f)=>p.removeFieldWidget&&p.removeFieldWidget(...f),["stop"]))},[vue.createVNode(d,{"icon-class":"el-delete"})],8,_hoisted_5$k)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.field.id?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$j,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.dragHandler")},[vue.createVNode(d,{"icon-class":"el-drag-move"})],8,_hoisted_7$g),vue.createElementVNode("i",null,vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${e.field.type}`,`extension.widgetLabel.${e.field.type}`)),1),e.field.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_8$b,[vue.createVNode(d,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0)],6)}var StaticContentWrapper=_export_sfc$1(_sfc_main$3E,[["render",_sfc_render$3E],["__scopeId","data-v-41799baa"]]),__glob_0_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:StaticContentWrapper},Symbol.toStringTag,{value:"Module"}));const getRegExp=function(t){return{number:"/^[-]?\\d+(\\.\\d+)?$/",letter:"/^[A-Za-z]+$/",letterAndNumber:"/^[A-Za-z0-9]+$/",mobilePhone:"/^[1][3-9][0-9]{9}$/",letterStartNumberIncluded:"/^[A-Za-z]+[A-Za-z\\d]*$/",noChinese:"/^[^\u4E00-\u9FA5]+$/",chinese:"/^[\u4E00-\u9FA5]+$/",email:"/^([-_A-Za-z0-9.]+)@([_A-Za-z0-9]+\\.)+[A-Za-z0-9]{2,3}$/",url:"/^([hH][tT]{2}[pP]:\\/\\/|[hH][tT]{2}[pP][sS]:\\/\\/)(([A-Za-z0-9-~]+)\\.)+([A-Za-z0-9-~\\/])+$/",maxLen12Decimals6:"/^\\d{1,12}(\\.\\d{1,6})?$/",isPositiveIntegerLength:"/^([1-9]\\d{0,3})$/",isPositiveIntegerZero:"/^0$|^([1-9]\\d{0,3})$/",maxLen10Decimals2:"/^\\d{1,10}(\\.\\d{1,2})?$/",maxLen12Decimals2:"/^\\d{1,12}(\\.\\d{1,2})?$/",latitude:"/^-?(?:90(?:\\.0{1,6})?|[1-8]?\\d(?:\\.\\d{1,6})?|0(?:\\.\\d{1,6})?)$/",sixFigures:"/^(0|[1-9]\\d{0,5})(\\.\\d{1,6})?$/",percentage:"/^(?:100(?:\\.0{0,4})?|[1-9]?\\d(?:\\.\\d{0,4})?|0(?:\\.\\d{0,4})?)$/",longitude:"/^-?(?:180(?:\\.0{1,6})?|1[0-7]\\d(?:\\.\\d{1,6})?|[1-9]?\\d(?:\\.\\d{1,6})?|0(?:\\.\\d{1,6})?)$/"}[t]},validateFn=function(validatorName,rule,value,callback,defaultErrorMsg){if(isNull(value)||value.length<=0){callback();return}const reg=eval(getRegExp(validatorName));if(reg.test(value))callback();else{let t=rule.errorMsg||defaultErrorMsg;callback(new Error(t))}},FormValidators={number(t,a,e){validateFn("number",t,a,e,"["+t.label+"]\u5305\u542B\u975E\u6570\u5B57\u5B57\u7B26")},letter(t,a,e){validateFn("letter",t,a,e,"["+t.label+"]\u5305\u542B\u975E\u5B57\u6BCD\u5B57\u7B26")},letterAndNumber(t,a,e){validateFn("letterAndNumber",t,a,e,"["+t.label+"]\u53EA\u80FD\u8F93\u5165\u5B57\u6BCD\u6216\u6570\u5B57")},mobilePhone(t,a,e){validateFn("mobilePhone",t,a,e,"["+t.label+"]\u624B\u673A\u53F7\u7801\u683C\u5F0F\u6709\u8BEF")},noBlankStart(t,a,e){},noBlankEnd(t,a,e){},letterStartNumberIncluded(t,a,e){validateFn("letterStartNumberIncluded",t,a,e,"["+t.label+"]\u5FC5\u987B\u4EE5\u5B57\u6BCD\u5F00\u5934\uFF0C\u53EF\u5305\u542B\u6570\u5B57")},noChinese(t,a,e){validateFn("noChinese",t,a,e,"["+t.label+"]\u4E0D\u53EF\u8F93\u5165\u4E2D\u6587\u5B57\u7B26")},chinese(t,a,e){validateFn("chinese",t,a,e,"["+t.label+"]\u53EA\u80FD\u8F93\u5165\u4E2D\u6587\u5B57\u7B26")},email(t,a,e){validateFn("email",t,a,e,"["+t.label+"]\u90AE\u7BB1\u683C\u5F0F\u6709\u8BEF")},url(t,a,e){validateFn("url",t,a,e,"["+t.label+"]URL\u683C\u5F0F\u6709\u8BEF")},maxLen12Decimals6(t,a,e){validateFn("maxLen12Decimals6",t,a,e,"["+t.label+"]\u6700\u5927\u957F\u5EA6\u4E3A12\u4F4D\uFF0C\u5C0F\u6570\u70B9\u540E6\u4F4D")},isPositiveIntegerLength(t,a,e){validateFn("isPositiveIntegerLength",t,a,e,t.label+"\u8BF7\u8F93\u51651-4\u4F4D\u7684\u6B63\u6574\u6570")},isPositiveIntegerZero(t,a,e){validateFn("isPositiveIntegerZero",t,a,e,t.label+"\u8BF7\u8F93\u51650\u62161-4\u4F4D\u7684\u6B63\u6574\u6570")},maxLen10Decimals2(t,a,e){validateFn("maxLen10Decimals2",t,a,e,t.label+"\u8BF7\u8F93\u5165\u6574\u6570\u90E8\u5206\u6700\u591A10\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57")},maxLen12Decimals2(t,a,e){validateFn("maxLen12Decimals2",t,a,e,t.label+"\u8BF7\u8F93\u5165\u6574\u6570\u90E8\u5206\u6700\u591A12\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57")},latitude(t,a,e){validateFn("latitude",t,a,e,t.label+"\u8BF7\u8F93\u5165\u8D1F90\u523090\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D\u7684\u6570\u5B57")},longitude(t,a,e){validateFn("longitude",t,a,e,t.label+"\u8BF7\u8F93\u5165\u8D1F180\u5230180\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D\u7684\u6570\u5B57")},sixFigures(t,a,e){validateFn("sixFigures",t,a,e,t.label+"\u8BF7\u8F93\u5165\u6574\u6570\u90E8\u5206\u6700\u591A6\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A6\u4F4D\u7684\u6570\u5B57")},percentage(t,a,e){validateFn("percentage",t,a,e,t.label+"\u8BF7\u8F93\u51650-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D")},regExp(rule,value,callback){if(isNull(value)||value.length<=0){callback();return}const pattern=eval(rule.regExp);if(pattern.test(value))callback();else{let t=rule.errorMsg||"["+rule.label+"]invalid value";callback(new Error(t))}}};function mitt(t){return{all:t=t||new Map,on:function(a,e){var h=t.get(a);h?h.push(e):t.set(a,[e])},off:function(a,e){var h=t.get(a);h&&(e?h.splice(h.indexOf(e)>>>0,1):t.set(a,[]))},emit:function(a,e){var h=t.get(a);h&&h.slice().map(function(m){m(e)}),(h=t.get("*"))&&h.slice().map(function(m){m(a,e)})}}}const instance=mitt(),eventBus={};eventBus.$on=instance.on,eventBus.$off=instance.off,eventBus.$emit=instance.emit;var lodash={exports:{}};/**
|
|
8
8
|
* @license
|
|
9
9
|
* Lodash <https://lodash.com/>
|
|
10
10
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
@@ -1677,7 +1677,7 @@ ${f}
|
|
|
1677
1677
|
*/`),this.showWidgetEventDialogFlag=!0},saveEventHandler(){const t=this.$refs.ecEditor.getEditorAnnotations();let a=!1;if(!!t&&t.length>0&&(t.forEach(e=>{e.type==="error"&&(a=!0)}),a)){this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));return}this.selectedWidget.options[this.curEventName]=this.eventHandlerCode,this.showWidgetEventDialogFlag=!1}}},_hoisted_1$r={key:0,class:""},_hoisted_2$k={class:"dialog-footer"};function _sfc_render$z(t,a,e,h,m,p){const d=vue.resolveComponent("el-collapse-item"),f=vue.resolveComponent("el-collapse"),o=vue.resolveComponent("el-form"),u=vue.resolveComponent("el-scrollbar"),n=vue.resolveComponent("el-tab-pane"),s=vue.resolveComponent("form-setting"),i=vue.resolveComponent("el-tabs"),r=vue.resolveComponent("el-alert"),l=vue.resolveComponent("code-editor"),c=vue.resolveComponent("el-button"),g=vue.resolveComponent("el-dialog"),v=vue.resolveComponent("el-container"),b=vue.resolveDirective("drag");return vue.openBlock(),vue.createBlock(v,{class:"panel-container"},{default:vue.withCtx(()=>[vue.createVNode(i,{modelValue:m.activeTab,"onUpdate:modelValue":a[4]||(a[4]=_=>m.activeTab=_),style:{height:"100%",width:"100%",overflow:"hidden"}},{default:vue.withCtx(()=>[vue.createVNode(n,{label:t.i18nt("designer.hint.widgetSetting"),name:"1"},{default:vue.withCtx(()=>[vue.createVNode(u,{class:"setting-scrollbar",style:vue.normalizeStyle({height:m.scrollerHeight})},{default:vue.withCtx(()=>[!!e.designer.selectedWidget&&!e.designer.selectedWidget.category?(vue.openBlock(),vue.createBlock(o,{key:0,model:p.optionModel,size:"small","label-position":"left","label-width":"120px",class:"setting-form",onSubmit:a[1]||(a[1]=vue.withModifiers(()=>{},["prevent"]))},{default:vue.withCtx(()=>[vue.createVNode(f,{modelValue:m.widgetActiveCollapseNames,"onUpdate:modelValue":a[0]||(a[0]=_=>m.widgetActiveCollapseNames=_),class:"setting-collapse"},{default:vue.withCtx(()=>[p.showCollapse(m.commonProps)?(vue.openBlock(),vue.createBlock(d,{key:0,name:"1",title:t.i18nt("designer.setting.commonSetting")},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.commonProps,(_,x)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[p.hasPropEditor(x,_)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(p.getPropEditor(x,_)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":p.optionModel},null,8,["designer","selected-widget","option-model"])):vue.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):vue.createCommentVNode("",!0),p.showCollapse(m.advProps)?(vue.openBlock(),vue.createBlock(d,{key:1,name:"2",title:t.i18nt("designer.setting.advancedSetting")},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.advProps,(_,x)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[p.hasPropEditor(x,_)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(p.getPropEditor(x,_)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":p.optionModel},null,8,["designer","selected-widget","option-model"])):vue.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):vue.createCommentVNode("",!0),p.showEventCollapse()&&p.showCollapse(m.eventProps)?(vue.openBlock(),vue.createBlock(d,{key:2,name:"3",title:t.i18nt("designer.setting.eventSetting")},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.eventProps,(_,x)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[p.hasPropEditor(x,_)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(p.getPropEditor(x,_)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":p.optionModel},null,8,["designer","selected-widget","option-model"])):vue.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):vue.createCommentVNode("",!0)]),_:1},8,["modelValue"])]),_:1},8,["model"])):vue.createCommentVNode("",!0),!!e.designer.selectedWidget&&!!e.designer.selectedWidget.category?(vue.openBlock(),vue.createBlock(o,{key:1,model:p.optionModel,size:"small","label-position":"left","label-width":"120px",class:"setting-form",onSubmit:a[3]||(a[3]=vue.withModifiers(()=>{},["prevent"]))},{default:vue.withCtx(()=>[vue.createVNode(f,{modelValue:m.widgetActiveCollapseNames,"onUpdate:modelValue":a[2]||(a[2]=_=>m.widgetActiveCollapseNames=_),class:"setting-collapse"},{default:vue.withCtx(()=>[p.showCollapse(m.commonProps)?(vue.openBlock(),vue.createBlock(d,{key:0,name:"1",title:t.i18nt("designer.setting.commonSetting")},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.commonProps,(_,x)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[p.hasPropEditor(x,_)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(p.getPropEditor(x,_)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":p.optionModel},null,8,["designer","selected-widget","option-model"])):vue.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):vue.createCommentVNode("",!0),p.showCollapse(m.advProps)?(vue.openBlock(),vue.createBlock(d,{key:1,name:"2",title:t.i18nt("designer.setting.advancedSetting")},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.advProps,(_,x)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[p.hasPropEditor(x,_)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(p.getPropEditor(x,_)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":p.optionModel},null,8,["designer","selected-widget","option-model"])):vue.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):vue.createCommentVNode("",!0),p.showEventCollapse()&&p.showCollapse(m.eventProps)?(vue.openBlock(),vue.createBlock(d,{key:2,name:"3",title:t.i18nt("designer.setting.eventSetting")},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.eventProps,(_,x)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[p.hasPropEditor(x,_)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(p.getPropEditor(x,_)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":p.optionModel},null,8,["designer","selected-widget","option-model"])):vue.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):vue.createCommentVNode("",!0)]),_:1},8,["modelValue"])]),_:1},8,["model"])):vue.createCommentVNode("",!0)]),_:1},8,["style"])]),_:1},8,["label"]),e.designer?(vue.openBlock(),vue.createBlock(n,{key:0,label:t.i18nt("designer.hint.formSetting"),name:"2"},{default:vue.withCtx(()=>[vue.createVNode(u,{class:"setting-scrollbar",style:vue.normalizeStyle({height:m.scrollerHeight})},{default:vue.withCtx(()=>[vue.createVNode(s,{designer:e.designer,"form-config":e.formConfig},null,8,["designer","form-config"])]),_:1},8,["style"])]),_:1},8,["label"])):vue.createCommentVNode("",!0)]),_:1},8,["modelValue"]),m.showWidgetEventDialogFlag?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",_hoisted_1$r,[vue.createVNode(g,{title:t.i18nt("designer.setting.editWidgetEventHandler"),modelValue:m.showWidgetEventDialogFlag,"onUpdate:modelValue":a[7]||(a[7]=_=>m.showWidgetEventDialogFlag=_),"show-close":!0,class:"drag-dialog small-padding-dialog","append-to-body":"","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_2$k,[vue.createVNode(c,{onClick:a[6]||(a[6]=_=>m.showWidgetEventDialogFlag=!1)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.hint.cancel")),1)]),_:1}),vue.createVNode(c,{type:"primary",onClick:p.saveEventHandler},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.hint.confirm")),1)]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(r,{type:"info",closable:!1,title:m.eventHeader},null,8,["title"]),vue.createVNode(l,{mode:"javascript",readonly:!1,modelValue:m.eventHandlerCode,"onUpdate:modelValue":a[5]||(a[5]=_=>m.eventHandlerCode=_),ref:"ecEditor"},null,8,["modelValue"]),vue.createVNode(r,{type:"info",closable:!1,title:"}"})]),_:1},8,["title","modelValue"])])),[[b,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):vue.createCommentVNode("",!0)]),_:1})}var SettingPanel=_export_sfc$1(_sfc_main$z,[["render",_sfc_render$z],["__scopeId","data-v-47dbc420"]]),containerMixin={inject:["getFormConfig","getGlobalDsv"],computed:{formConfig(){return this.getFormConfig()}},methods:{appendTableRow(t){this.designer.appendTableRow(t)},appendTableCol(t){this.designer.appendTableCol(t)},onContainerDragAdd(t,a){const e=t.newIndex;a[e]&&this.designer.setSelected(a[e]),this.designer.emitHistoryChange()},onContainerDragUpdate(){this.designer.emitHistoryChange()},checkContainerMove(t){return this.designer.checkWidgetMove(t)},selectWidget(t){this.designer.setSelected(t)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},cloneContainer(t){if(this.parentList){let a=this.designer.cloneContainer(t);this.parentList.splice(this.indexOfParentList+1,0,a),this.designer.setSelected(a),this.designer.emitHistoryChange()}},removeWidget(){if(this.parentList){const t=this.designer.selectedWidgetName;let a=null;this.parentList.length===1?this.parentWidget&&(a=this.parentWidget):this.parentList.length===1+this.indexOfParentList?a=this.parentList[this.indexOfParentList-1]:a=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(a),this.designer.formWidget.deleteWidgetRef(t),this.designer.emitHistoryChange()})}},setWidgetOption(t,a){this.widget.options.hasOwnProperty(t)&&(this.widget.options[t]=a)}}},containerWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$y={name:"container-wrapper",mixins:[i18n$1,containerMixin],components:{SvgIcon},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{customClass(){return this.widget.options.customClass?this.widget.options.customClass.join(" "):""}}},_hoisted_1$q={key:0,class:"container-action"},_hoisted_2$j=["title"],_hoisted_3$h=["title"],_hoisted_4$e=["title"],_hoisted_5$b=["title"],_hoisted_6$b=["title"],_hoisted_7$9=["title"],_hoisted_8$6=["title"],_hoisted_9$5={key:1,class:"drag-handler"},_hoisted_10$3=["title"],_hoisted_11$1={key:0};function _sfc_render$y(t,a,e,h,m,p){const d=vue.resolveComponent("svg-icon");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["container-wrapper",[p.customClass]])},[vue.renderSlot(t.$slots,"default",{},void 0,!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$q,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:a[0]||(a[0]=vue.withModifiers(f=>t.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(d,{"icon-class":"el-back"})],8,_hoisted_2$j),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:t.i18nt("designer.hint.moveUpWidget"),onClick:a[1]||(a[1]=vue.withModifiers(f=>t.moveUpWidget(),["stop"]))},[vue.createVNode(d,{"icon-class":"el-move-up"})],8,_hoisted_3$h)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:t.i18nt("designer.hint.moveDownWidget"),onClick:a[2]||(a[2]=vue.withModifiers(f=>t.moveDownWidget(),["stop"]))},[vue.createVNode(d,{"icon-class":"el-move-down"})],8,_hoisted_4$e)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:2,title:t.i18nt("designer.hint.insertRow"),onClick:a[3]||(a[3]=vue.withModifiers(f=>t.appendTableRow(e.widget),["stop"]))},[vue.createVNode(d,{"icon-class":"el-insert-row"})],8,_hoisted_5$b)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:3,title:t.i18nt("designer.hint.insertColumn"),onClick:a[4]||(a[4]=vue.withModifiers(f=>t.appendTableCol(e.widget),["stop"]))},[vue.createVNode(d,{"icon-class":"el-insert-column"})],8,_hoisted_6$b)):vue.createCommentVNode("",!0),e.widget.type==="grid"||e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:4,title:t.i18nt("designer.hint.cloneWidget"),onClick:a[5]||(a[5]=vue.withModifiers(f=>t.cloneContainer(e.widget),["stop"]))},[vue.createVNode(d,{"icon-class":"el-clone"})],8,_hoisted_7$9)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:t.i18nt("designer.hint.remove"),onClick:a[6]||(a[6]=vue.withModifiers((...f)=>t.removeWidget&&t.removeWidget(...f),["stop"]))},[vue.createVNode(d,{"icon-class":"el-delete"})],8,_hoisted_8$6)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$5,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.dragHandler")},[vue.createVNode(d,{"icon-class":"el-drag-move"})],8,_hoisted_10$3),vue.createElementVNode("i",null,vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${e.widget.type}`,`extension.widgetLabel.${e.widget.type}`)),1),e.widget.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_11$1,[vue.createVNode(d,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2)}var ContainerWrapper=_export_sfc$1(_sfc_main$y,[["render",_sfc_render$y],["__scopeId","data-v-679de05a"]]),__glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:ContainerWrapper},Symbol.toStringTag,{value:"Module"})),refMixinDesign={methods:{initRefList(){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(this.refList[this.widget.options.name]=this)},getWidgetRef(t,a){let e=this.refList[t];return!e&&!!a&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},registerToRefList(t){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(t&&delete this.refList[t],this.refList[this.widget.options.name]=this)}}},gridColWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$x={name:"GridColWidget",componentName:"GridColWidget",mixins:[i18n$1,refMixinDesign],inject:["refList"],components:gt(je({},comps$1),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,colHeight:{type:String,default:null},fieldSchemaData:{type:Array,default:void 0}},data(){return{layoutProps:{span:this.widget.options.span||12,offset:this.widget.options.offset||0,push:this.widget.options.push||0,pull:this.widget.options.pull||0}}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},colHeightStyle(){return this.colHeight?{height:this.colHeight+"px"}:{}}},watch:{"widget.options.name":{handler(t,a){this.registerToRefList(a)}},"designer.formConfig.layoutType":{handler(t){this.widget.options.responsive?t==="H5"?this.layoutProps.span=this.widget.options.xs||12:t==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12:this.layoutProps.span=this.widget.options.span||12}},"widget.options.responsive":{handler(t){let a=this.designer.formConfig.layoutType;t?a==="H5"?this.layoutProps.span=this.widget.options.xs||12:a==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12:this.layoutProps.span=this.widget.options.span||12}},"widget.options.span":{handler(t){this.layoutProps.span=t}},"widget.options.md":{handler(t){this.layoutProps.span=t}},"widget.options.sm":{handler(t){this.layoutProps.span=t}},"widget.options.xs":{handler(t){this.layoutProps.span=t}},"widget.options.offset":{handler(t){this.layoutProps.offset=t}},"widget.options.push":{handler(t){this.layoutProps.push=t}},"widget.options.pull":{handler(t){this.layoutProps.pull=t}}},created(){this.initRefList(),this.initLayoutProps()},beforeUnmount(){var t,a;this.refList!=null&&((a=(t=this.widget)==null?void 0:t.options)==null?void 0:a.name)&&delete this.refList[this.widget.options.name]},methods:{setHidden(t){this.widget.options.hidden=!!t,this.$nextTick(()=>this.$forceUpdate())},initLayoutProps(){if(this.widget.options.responsive){let t=this.designer.formConfig.layoutType;t==="H5"?this.layoutProps.span=this.widget.options.xs||12:t==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12}else this.layoutProps.span=this.widget.options.span},onGridDragEnd(t,a){},onGridDragAdd(t,a){const e=t.newIndex;a[e]&&this.designer.setSelected(a[e]),this.designer.emitHistoryChange()},onGridDragUpdate(){this.designer.emitHistoryChange()},selectWidget(t){console.log("id: "+t.id),this.designer.setSelected(t)},checkContainerMove(t){return this.designer.checkWidgetMove(t)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList)},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList)},cloneGridCol(t){this.designer.cloneGridCol(t,this.parentWidget)},removeWidget(){if(this.parentList){let t=null;this.parentList.length===1?this.parentWidget&&(t=this.parentWidget):this.parentList.length===1+this.indexOfParentList?t=this.parentList[this.indexOfParentList-1]:t=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(t),this.designer.emitHistoryChange()})}}}},_hoisted_1$p={class:"form-widget-list"},_hoisted_2$i={key:0,class:"grid-col-action"},_hoisted_3$g=["title"],_hoisted_4$d=["title"],_hoisted_5$a=["title"],_hoisted_6$a=["title"],_hoisted_7$8=["title"],_hoisted_8$5={key:1,class:"grid-col-handler"},_hoisted_9$4={key:0,class:"col-hidden-tag"};function _sfc_render$x(t,a,e,h,m,p){const d=vue.resolveComponent("draggable"),f=vue.resolveComponent("svg-icon"),o=vue.resolveComponent("el-col");return e.widget.type==="grid-col"&&(!e.widget.options.hidden||e.designer)?(vue.openBlock(),vue.createBlock(o,vue.mergeProps({key:0,class:"grid-cell"},m.layoutProps,{class:[p.selected?"selected":"",p.customClass],style:p.colHeightStyle,key:e.widget.id,onClick:a[7]||(a[7]=vue.withModifiers(u=>p.selectWidget(e.widget),["stop"]))}),{default:vue.withCtx(()=>[vue.createVNode(d,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:a[0]||(a[0]=u=>p.onGridDragEnd(u,e.widget.widgetList)),onAdd:a[1]||(a[1]=u=>p.onGridDragAdd(u,e.widget.widgetList)),onUpdate:p.onGridDragUpdate,move:p.checkContainerMove}),{item:vue.withCtx(({element:u,index:n})=>[vue.createElementVNode("div",_hoisted_1$p,[u.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(u.type+"-widget"),{widget:u,designer:e.designer,key:u.id,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget,"field-schema-data":e.fieldSchemaData&&e.fieldSchemaData[n]?e.fieldSchemaData[n]:void 0},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget","field-schema-data"])):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(e.fieldSchemaData)+" ",1),(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(u.type+"-widget"),{field:e.fieldSchemaData&&e.fieldSchemaData[n]?e.fieldSchemaData[n]:u,designer:e.designer,key:e.fieldSchemaData&&e.fieldSchemaData[n]?e.fieldSchemaData[n].id:u.id,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))],64))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="grid-col"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$i,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:a[2]||(a[2]=vue.withModifiers(u=>p.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(f,{"icon-class":"el-back"})],8,_hoisted_3$g),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:t.i18nt("designer.hint.moveUpWidget"),onClick:a[3]||(a[3]=vue.withModifiers(u=>p.moveUpWidget(),["stop"]))},[vue.createVNode(f,{"icon-class":"el-move-up"})],8,_hoisted_4$d)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:t.i18nt("designer.hint.moveDownWidget"),onClick:a[4]||(a[4]=vue.withModifiers(u=>p.moveDownWidget(),["stop"]))},[vue.createVNode(f,{"icon-class":"el-move-down"})],8,_hoisted_5$a)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:t.i18nt("designer.hint.cloneWidget"),onClick:a[5]||(a[5]=vue.withModifiers(u=>p.cloneGridCol(e.widget),["stop"]))},[vue.createVNode(f,{"icon-class":"el-clone"})],8,_hoisted_6$a),vue.createElementVNode("i",{title:t.i18nt("designer.hint.remove"),onClick:a[6]||(a[6]=vue.withModifiers((...u)=>p.removeWidget&&p.removeWidget(...u),["stop"]))},[vue.createVNode(f,{"icon-class":"el-delete"})],8,_hoisted_7$8)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="grid-col"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$5,[vue.createElementVNode("i",null,vue.toDisplayString(t.i18nt("designer.widgetLabel."+e.widget.type)),1),e.widget.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_9$4,[vue.createVNode(f,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)]),_:1},16,["class","style"])):vue.createCommentVNode("",!0)}var GridColWidget=_export_sfc$1(_sfc_main$x,[["render",_sfc_render$x],["__scopeId","data-v-cb053c20"]]),__glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:GridColWidget},Symbol.toStringTag,{value:"Module"})),gridWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$w={name:"grid-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,GridColWidget},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{}};function _sfc_render$w(t,a,e,h,m,p){const d=vue.resolveComponent("grid-col-widget"),f=vue.resolveComponent("el-row"),o=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(o,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(f,{key:e.widget.id,gutter:e.widget.options.gutter,class:vue.normalizeClass(["grid-container",[p.selected?"selected":"",p.customClass]]),onClick:a[0]||(a[0]=vue.withModifiers(u=>t.selectWidget(e.widget),["stop"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.cols,(u,n)=>(vue.openBlock(),vue.createBlock(d,{key:u.id,widget:u,designer:e.designer,"parent-list":e.widget.cols,"index-of-parent-list":n,"parent-widget":e.widget,"col-height":e.widget.options.colHeight},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget","col-height"]))),128))]),_:1},8,["gutter","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var gridWidget=_export_sfc$1(_sfc_main$w,[["render",_sfc_render$w],["__scopeId","data-v-2b4f7bb7"]]),__glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:gridWidget},Symbol.toStringTag,{value:"Module"})),tabWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$v={name:"tab-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:je({ContainerWrapper},comps$1),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{activeTab:"tab1"}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{onTabClick(t){let a=t.paneName;this.widget.tabs.forEach(e=>{e.options.active=e.options.name===a})}}},_hoisted_1$o={class:"form-widget-list"};function _sfc_render$v(t,a,e,h,m,p){const d=vue.resolveComponent("draggable"),f=vue.resolveComponent("el-tab-pane"),o=vue.resolveComponent("el-tabs"),u=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["tab-container",{selected:p.selected}]),onClick:a[2]||(a[2]=vue.withModifiers(n=>t.selectWidget(e.widget),["stop"]))},[vue.createVNode(o,{type:e.widget.displayType,modelValue:m.activeTab,"onUpdate:modelValue":a[1]||(a[1]=n=>m.activeTab=n),onTabClick:p.onTabClick},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.tabs,(n,s)=>(vue.openBlock(),vue.createBlock(f,{key:s,label:n.options.label,name:n.options.name,onClick:a[0]||(a[0]=vue.withModifiers(i=>t.selectWidget(e.widget),["stop"]))},{default:vue.withCtx(()=>[vue.createVNode(d,vue.mergeProps({list:n.widgetList,"item-key":"id"},{ref_for:!0},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:i=>t.onContainerDragAdd(i,n.widgetList),onUpdate:t.onContainerDragUpdate,move:t.checkContainerMove}),{item:vue.withCtx(({element:i,index:r})=>[vue.createElementVNode("div",_hoisted_1$o,[i.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(i.type+"-widget"),{widget:i,designer:e.designer,key:i.id,"parent-list":n.widgetList,"index-of-parent-list":r,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(i.type+"-widget"),{field:i,designer:e.designer,key:i.id,"parent-list":n.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:2},1040,["list","onAdd","onUpdate","move"])]),_:2},1032,["label","name"]))),128))]),_:1},8,["type","modelValue","onTabClick"])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var tabWidget=_export_sfc$1(_sfc_main$v,[["render",_sfc_render$v],["__scopeId","data-v-2c29f864"]]),__glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:tabWidget},Symbol.toStringTag,{value:"Module"})),tableCellWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$u={name:"TableCellWidget",componentName:"TableCellWidget",mixins:[i18n$1,refMixinDesign],inject:["refList"],components:gt(je({},comps$1),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,rowIndex:Number,colIndex:Number,rowLength:Number,colLength:Number,colArray:Array,rowArray:Array,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},mergeLeftColDisabled(){return this.colIndex<=0||this.colArray[this.colIndex-1].options.rowspan!==this.widget.options.rowspan},mergeRightColDisabled(){let t=this.colIndex+this.widget.options.colspan;return this.colIndex>=this.colLength-1||t>this.colLength-1||this.colArray[t].options.rowspan!==this.widget.options.rowspan},mergeWholeRowDisabled(){return this.colLength<=1||this.colLength===this.widget.options.colspan},mergeAboveRowDisabled(){return this.rowIndex<=0||this.rowArray[this.rowIndex-1].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeBelowRowDisabled(){let t=this.rowIndex+this.widget.options.rowspan;return this.rowIndex>=this.rowLength-1||t>this.rowLength-1||this.rowArray[t].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeWholeColDisabled(){return this.rowLength<=1||this.rowLength===this.widget.options.rowspan},undoMergeColDisabled(){return this.widget.merged||this.widget.options.colspan<=1},undoMergeRowDisabled(){return this.widget.merged||this.widget.options.rowspan<=1},deleteWholeColDisabled(){return this.colLength===1||this.widget.options.colspan===this.colLength},deleteWholeRowDisabled(){return this.rowLength===1||this.widget.options.rowspan===this.rowLength}},watch:{},created(){this.initRefList()},methods:{selectWidget(t){this.designer.setSelected(t)},checkContainerMove(t){return this.designer.checkWidgetMove(t)},onTableDragEnd(t,a){},onTableDragAdd(t,a){const e=t.newIndex;a[e]&&this.designer.setSelected(a[e]),this.designer.emitHistoryChange()},onTableDragUpdate(){this.designer.emitHistoryChange()},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},handleTableCellCommand(t){t==="insertLeftCol"?this.insertLeftCol():t==="insertRightCol"?this.insertRightCol():t==="insertAboveRow"?this.insertAboveRow():t==="insertBelowRow"?this.insertBelowRow():t==="mergeLeftCol"?this.mergeLeftCol():t==="mergeRightCol"?this.mergeRightCol():t==="mergeWholeCol"?this.mergeWholeCol():t==="mergeAboveRow"?this.mergeAboveRow():t==="mergeBelowRow"?this.mergeBelowRow():t==="mergeWholeRow"?this.mergeWholeRow():t==="undoMergeCol"?this.undoMergeCol():t==="undoMergeRow"?this.undoMergeRow():t==="deleteWholeCol"?this.deleteWholeCol():t==="deleteWholeRow"&&this.deleteWholeRow()},insertLeftCol(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!0)},insertRightCol(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!1)},insertAboveRow(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!0)},insertBelowRow(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!1)},mergeLeftCol(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeRightCol(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeRow(){this.designer.mergeTableWholeRow(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},mergeAboveRow(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeBelowRow(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeCol(){this.designer.mergeTableWholeCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},undoMergeCol(){this.designer.undoMergeTableCol(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},undoMergeRow(){this.designer.undoMergeTableRow(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},deleteWholeCol(){this.designer.deleteTableWholeCol(this.rowArray,this.colIndex)},deleteWholeRow(){this.designer.deleteTableWholeRow(this.rowArray,this.rowIndex)}}},_hoisted_1$n=["colspan","rowspan"],_hoisted_2$h={class:"form-widget-list"},_hoisted_3$f={key:0,class:"table-cell-action"},_hoisted_4$c=["title"],_hoisted_5$9=["title"],_hoisted_6$9={key:1,class:"table-cell-handler"};function _sfc_render$u(t,a,e,h,m,p){const d=vue.resolveComponent("draggable"),f=vue.resolveComponent("svg-icon"),o=vue.resolveComponent("el-dropdown-item"),u=vue.resolveComponent("el-dropdown-menu"),n=vue.resolveComponent("el-dropdown");return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["table-cell",[p.selected?"selected":"",p.customClass]]),style:vue.normalizeStyle({width:e.widget.options.cellWidth+"!important"||"",height:e.widget.options.cellHeight+"!important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"}),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,onClick:a[3]||(a[3]=vue.withModifiers(s=>p.selectWidget(e.widget),["stop"]))},[vue.createVNode(d,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:a[0]||(a[0]=s=>p.onTableDragEnd(s,e.widget.widgetList)),onAdd:a[1]||(a[1]=s=>p.onTableDragAdd(s,e.widget.widgetList)),onUpdate:p.onTableDragUpdate,move:p.checkContainerMove}),{item:vue.withCtx(({element:s,index:i})=>[vue.createElementVNode("div",_hoisted_2$h,[s.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{widget:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{field:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$f,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:a[2]||(a[2]=vue.withModifiers(s=>p.selectParentWidget(),["stop"]))},[vue.createVNode(f,{"icon-class":"el-back"})],8,_hoisted_4$c),vue.createVNode(n,{trigger:"click",onCommand:p.handleTableCellCommand,size:"small"},{dropdown:vue.withCtx(()=>[vue.createVNode(u,null,{default:vue.withCtx(()=>[vue.createVNode(o,{command:"insertLeftCol"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.insertColumnToLeft")),1)]),_:1}),vue.createVNode(o,{command:"insertRightCol"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.insertColumnToRight")),1)]),_:1}),vue.createVNode(o,{command:"insertAboveRow"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.insertRowAbove")),1)]),_:1}),vue.createVNode(o,{command:"insertBelowRow"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.insertRowBelow")),1)]),_:1}),vue.createVNode(o,{command:"mergeLeftCol",disabled:p.mergeLeftColDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.mergeLeftColumn")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"mergeRightCol",disabled:p.mergeRightColDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.mergeRightColumn")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"mergeWholeRow",disabled:p.mergeWholeRowDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.mergeEntireRow")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"mergeAboveRow",disabled:p.mergeAboveRowDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.mergeRowAbove")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"mergeBelowRow",disabled:p.mergeBelowRowDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.mergeRowBelow")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"mergeWholeCol",disabled:p.mergeWholeColDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.mergeEntireColumn")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"undoMergeRow",disabled:p.undoMergeRowDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.undoMergeRow")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"undoMergeCol",disabled:p.undoMergeColDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.undoMergeCol")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"deleteWholeCol",disabled:p.deleteWholeColDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.deleteEntireCol")),1)]),_:1},8,["disabled"]),vue.createVNode(o,{command:"deleteWholeRow",disabled:p.deleteWholeRowDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.deleteEntireRow")),1)]),_:1},8,["disabled"])]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("i",{title:t.i18nt("designer.hint.cellSetting")},[vue.createVNode(f,{"icon-class":"el-menu"})],8,_hoisted_5$9)]),_:1},8,["onCommand"])])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$9,[vue.createElementVNode("i",null,vue.toDisplayString(t.i18nt("designer.widgetLabel."+e.widget.type)),1)])):vue.createCommentVNode("",!0)],14,_hoisted_1$n)}var TableCellWidget=_export_sfc$1(_sfc_main$u,[["render",_sfc_render$u],["__scopeId","data-v-2dc3e6c7"]]),__glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:TableCellWidget},Symbol.toStringTag,{value:"Module"})),tableWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$t={name:"table-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,TableCellWidget},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{}},_hoisted_1$m={class:"table-layout"};function _sfc_render$t(t,a,e,h,m,p){const d=vue.resolveComponent("table-cell-widget"),f=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(f,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["table-container",[p.selected?"selected":"",p.customClass]]),onClick:a[0]||(a[0]=vue.withModifiers(o=>t.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("table",_hoisted_1$m,[vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.rows,(o,u)=>(vue.openBlock(),vue.createElementBlock("tr",{key:o.id},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(o.cols,(n,s)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[n.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(d,{widget:n,designer:e.designer,key:n.id,"parent-list":e.widget.cols,"row-index":u,"row-length":e.widget.rows.length,"col-index":s,"col-length":o.cols.length,"col-array":o.cols,"row-array":e.widget.rows,"parent-widget":e.widget},null,8,["widget","designer","parent-list","row-index","row-length","col-index","col-length","col-array","row-array","parent-widget"]))],64))),256))]))),128))])])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var tableWidget=_export_sfc$1(_sfc_main$t,[["render",_sfc_render$t],["__scopeId","data-v-2fde56df"]]),__glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:tableWidget},Symbol.toStringTag,{value:"Module"}));const modules={"./container-wrapper.vue":__glob_0_0,"./grid-col-widget.vue":__glob_0_1,"./grid-widget.vue":__glob_0_2,"./tab-widget.vue":__glob_0_3,"./table-cell-widget.vue":__glob_0_4,"./table-widget.vue":__glob_0_5};var ContainerWidgets={install(t){for(const a in modules){let e=modules[a].default.name;t.component(e,modules[a].default)}}},index_vue_vue_type_style_index_0_scoped_true_lang$3="";const _sfc_main$s={name:"VFormWidget",componentName:"VFormWidget",mixins:[i18n$1],components:je({},comps$1),props:{designer:Object,formConfig:Object,optionData:{type:Object,default:()=>({})},globalDsv:{type:Object,default:()=>({})}},provide(){return{refList:this.widgetRefList,getFormConfig:()=>this.formConfig,getGlobalDsv:()=>this.globalDsv,globalOptionData:this.optionData,getOptionData:()=>this.optionData,globalModel:{formModel:this.formModel}}},inject:["getDesignerConfig"],data(){return{formModel:{},widgetRefList:{}}},computed:{labelPosition(){return!!this.designer.formConfig&&!!this.designer.formConfig.labelPosition?this.designer.formConfig.labelPosition:"left"},size(){return!!this.designer.formConfig&&!!this.designer.formConfig.size?this.designer.formConfig.size:"default"},customClass(){return this.designer.formConfig.customClass||""},layoutType(){return this.designer.getLayoutType()}},watch:{"designer.widgetList":{deep:!0,handler(t){}},"designer.formConfig":{deep:!0,handler(t){}}},created(){this.designer.initDesigner(!!this.getDesignerConfig().resetFormJson),this.designer.loadPresetCssCode(this.getDesignerConfig().presetCssCode)},mounted(){this.disableFirefoxDefaultDrop(),this.designer.registerFormWidget(this)},methods:{getWidgetName(t){return t.type+"-widget"},disableFirefoxDefaultDrop(){navigator.userAgent.toLowerCase().indexOf("firefox")!==-1&&(document.body.ondrop=function(a){a.stopPropagation(),a.preventDefault()})},onDragEnd(t){},onDragAdd(t){const a=t.newIndex;this.designer.widgetList[a]&&this.designer.setSelected(this.designer.widgetList[a]),this.designer.emitHistoryChange()},onDragUpdate(){this.designer.emitHistoryChange()},checkMove(t){return this.designer.checkWidgetMove(t)},getFormData(){return this.formModel},getWidgetRef(t,a=!1){let e=this.widgetRefList[t];return!e&&!!a&&this.$message.error(this.i18nt("designer.hint.refNotFound")+t),e},getStaticTextRef(t){if(t){const e=this.getWidgetRef(t);if(e&&e.field&&e.field.type==="static-text")return e}const a=Object.values(this.widgetRefList).filter(e=>e&&e.field&&e.field.type==="static-text");return a.length>0?a[0]:void 0},getStaticTextRefs(){return Object.values(this.widgetRefList).filter(t=>t&&t.field&&t.field.type==="static-text")},getSelectedWidgetRef(){let t=this.designer.selectedWidgetName;return this.getWidgetRef(t)},clearWidgetRefList(){Object.keys(this.widgetRefList).forEach(t=>{delete this.widgetRefList[t]})},deleteWidgetRef(t){delete this.widgetRefList[t]}}},_hoisted_1$l={class:"form-widget-container"},_hoisted_2$g={key:0,class:"no-widget-hint"},_hoisted_3$e={class:"form-widget-list"},_hoisted_4$b={class:"transition-group-el"};function _sfc_render$s(t,a,e,h,m,p){const d=vue.resolveComponent("draggable"),f=vue.resolveComponent("el-form");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$l,[vue.createVNode(f,{class:vue.normalizeClass(["full-height-width widget-form",[p.customClass,p.layoutType+"-layout"]]),"label-position":p.labelPosition,size:p.size,"validate-on-rule-change":!1},{default:vue.withCtx(()=>[e.designer.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$g,vue.toDisplayString(t.i18nt("designer.noWidgetHint")),1)):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_3$e,[vue.createVNode(d,vue.mergeProps({list:e.designer.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:300},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:p.onDragEnd,onAdd:p.onDragAdd,onUpdate:p.onDragUpdate,move:p.checkMove}),{item:vue.withCtx(({element:o,index:u})=>[vue.createElementVNode("div",_hoisted_4$b,[o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(p.getWidgetName(o)),{widget:o,designer:e.designer,key:o.id,"parent-list":e.designer.widgetList,"index-of-parent-list":u,"parent-widget":null},null,8,["widget","designer","parent-list","index-of-parent-list"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(p.getWidgetName(o)),{field:o,designer:e.designer,key:o.id,"parent-list":e.designer.widgetList,"index-of-parent-list":u,"parent-widget":null,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list"]))])]),_:1},16,["list","onEnd","onAdd","onUpdate","move"])])]),_:1},8,["label-position","class","size"])])}var VFormWidget=_export_sfc$1(_sfc_main$s,[["render",_sfc_render$s],["__scopeId","data-v-09a4c770"]]);function createDesigner(t){let a=deepClone(getDefaultFormConfig());return{widgetList:[],formConfig:{cssCode:""},selectedId:null,selectedWidget:null,selectedWidgetName:null,vueInstance:t,formWidget:null,cssClassList:[],historyData:{index:-1,maxStep:20,steps:[]},initDesigner(e){this.widgetList=[],this.formConfig=deepClone(a),console.info(`%cVariantForm %cVer${VARIANT_FORM_VERSION} %chttps://www.yuque.com/visualdev/vform3`,"color:#409EFF;font-size: 22px;font-weight:bolder","color:#999;font-size: 12px","color:#333"),e||this.initHistoryData()},clearDesigner(e){let h=this.widgetList.length===0;this.widgetList=[],this.selectedId=null,this.selectedWidgetName=null,this.selectedWidget={},overwriteObj(this.formConfig,a),e||(h?this.saveCurrentHistoryStep():this.emitHistoryChange())},loadPresetCssCode(e){this.formConfig.cssCode===""&&!!e&&(this.formConfig.cssCode=e)},getLayoutType(){return this.formConfig.layoutType||"PC"},changeLayoutType(e){this.formConfig.layoutType=e},getImportTemplate(){return{widgetList:[],formConfig:deepClone(a)}},loadFormJson(e){let h=!1;return!!e&&!!e.widgetList&&(this.formWidget.clearWidgetRefList(),this.widgetList=e.widgetList,h=!0),!!e&&!!e.formConfig&&(overwriteObj(this.formConfig,e.formConfig),h=!0),h&&this.emitEvent("form-json-imported",[]),h},setSelected(e){if(!e){this.clearSelected();return}this.selectedWidget=e,e.id&&(this.selectedId=e.id,this.selectedWidgetName=e.options.name)},updateSelectedWidgetNameAndLabel(e,h,m){this.selectedWidgetName=h,!!m&&Object.keys(e.options).indexOf("label")>-1&&(e.options.label=m)},clearSelected(){this.selectedId=null,this.selectedWidgetName=null,this.selectedWidget={}},checkWidgetMove(e){if(!!e.draggedContext&&!!e.draggedContext.element){let h=e.draggedContext.element.category;if(e.draggedContext.element.type+"",e.to&&e.to.className==="sub-form-table"&&h==="container")return!1}return!0},checkFieldMove(e){if(!!e.draggedContext&&!!e.draggedContext.element){e.draggedContext.element.category;let h=e.draggedContext.element.type+"";if(e.to&&e.to.className==="sub-form-table"&&h==="slot")return!1}return!0},appendTableRow(e){let h=e.rows.length,m=deepClone(e.rows[e.rows.length-1]);m.id="table-row-"+generateId(),m.merged=!1,m.cols.forEach(p=>{p.id="table-cell-"+generateId(),p.options.name=p.id,p.merged=!1,p.options.colspan=1,p.options.rowspan=1,p.widgetList.length=0}),e.rows.splice(h,0,m),this.emitHistoryChange()},appendTableCol(e){let h=e.rows[0].cols.length;e.rows.forEach(m=>{let p=deepClone(this.getContainerByType("table-cell"));p.id="table-cell-"+generateId(),p.options.name=p.id,p.merged=!1,p.options.colspan=1,p.options.rowspan=1,p.widgetList.length=0,m.cols.splice(h,0,p)}),this.emitHistoryChange()},insertTableRow(e,h,m,p,d){let f=d?h:h+1;if(!d){let n=f,s=!1;for(;n<e.rows.length;)if(e.rows[n].cols[p].merged)n++;else{f=n,s=!0;break}s||(f=e.rows.length)}let o=deepClone(e.rows[m]);o.id="table-row-"+generateId(),o.merged=!1,o.cols.forEach(n=>{n.id="table-cell-"+generateId(),n.options.name=n.id,n.merged=!1,n.options.colspan=1,n.options.rowspan=1,n.widgetList.length=0}),e.rows.splice(f,0,o);let u=0;for(;f<e.rows.length-1&&u<e.rows[0].cols.length;){const n=e.rows[f+1].cols[u];if(n.merged){let i=e.rows,r={},l=null;for(let c=f;c>=0;c--)if(!i[c].cols[u].merged&&i[c].cols[u].options.rowspan>1){l=c,r=i[c].cols[u];break}if(r.options){let c=r.options.rowspan+1;this.setPropsOfMergedRows(e.rows,l,u,r.options.colspan,c),u+=r.options.colspan}else u+=1}else u+=n.options.colspan||1}this.emitHistoryChange()},insertTableCol(e,h,m,p){let d=p?h:h+1;if(!p){let o=d,u=!1;for(;o<e.rows[m].cols.length;){if(e.rows[m].cols[o].merged)o++;else{d=o,u=!0;break}u||(d=e.rows[m].cols.length)}}e.rows.forEach(o=>{let u=deepClone(this.getContainerByType("table-cell"));u.id="table-cell-"+generateId(),u.options.name=u.id,u.merged=!1,u.options.colspan=1,u.options.rowspan=1,u.widgetList.length=0,o.cols.splice(d,0,u)});let f=0;for(;d<e.rows[0].cols.length-1&&f<e.rows.length;){const o=e.rows[f].cols[d+1];if(o.merged){let n=e.rows[f].cols,s={},i=null;for(let r=d;r>=0;r--)if(!n[r].merged&&n[r].options.colspan>1){i=r,s=n[r];break}if(s.options){let r=s.options.colspan+1;this.setPropsOfMergedCols(e.rows,f,i,r,s.options.rowspan),f+=s.options.rowspan}else f+=1}else f+=o.options.rowspan||1}this.emitHistoryChange()},setPropsOfMergedCols(e,h,m,p,d){for(let f=h;f<h+d;f++)for(let o=m;o<m+p;o++){if(f===h&&o===m){e[f].cols[o].options.colspan=p;continue}e[f].cols[o].merged=!0,e[f].cols[o].options.colspan=p,e[f].cols[o].widgetList=[]}},setPropsOfMergedRows(e,h,m,p,d){for(let f=h;f<h+d;f++)for(let o=m;o<m+p;o++){if(f===h&&o===m){e[f].cols[o].options.rowspan=d;continue}e[f].cols[o].merged=!0,e[f].cols[o].options.rowspan=d,e[f].cols[o].widgetList=[]}},setPropsOfSplitCol(e,h,m,p,d){for(let f=h;f<h+d;f++)for(let o=m;o<m+p;o++)e[f].cols[o].merged=!1,e[f].cols[o].options.rowspan=1,e[f].cols[o].options.colspan=1},setPropsOfSplitRow(e,h,m,p,d){for(let f=h;f<h+d;f++)for(let o=m;o<m+p;o++)e[f].cols[o].merged=!1,e[f].cols[o].options.rowspan=1,e[f].cols[o].options.colspan=1},mergeTableCol(e,h,m,p,d,f){let o=d?p:p+h[p].options.colspan,u=d?p-1:p;if(d){let s=u;for(;s>=0;)if(e[m].cols[s].merged)s--;else{u=s;break}}!!h[o].widgetList&&h[o].widgetList.length>0&&(!h[u].widgetList||h[u].widgetList.length===0)&&(h[u].widgetList=deepClone(h[o].widgetList));let n=h[o].options.colspan*1+h[u].options.colspan*1;this.setPropsOfMergedCols(e,m,u,n,f.options.rowspan),this.emitHistoryChange()},mergeTableWholeRow(e,h,m,p){let d=e[m].cols[0].options.rowspan,f=!1;for(let u=1;u<e[m].cols.length;u++)if(e[m].cols[u].options.rowspan!==d){f=!0;break}if(f){this.vueInstance.$message.info(this.vueInstance.i18nt("designer.hint.rowspanNotConsistentForMergeEntireRow"));return}let o=h.filter(u=>!u.merged&&!!u.widgetList&&u.widgetList.length>0);!!o&&o.length>0&&o[0].id!==h[0].id&&(!h[0].widgetList||h[0].widgetList.length<=0)&&(h[0].widgetList=deepClone(o[0].widgetList)),this.setPropsOfMergedCols(e,m,0,h.length,h[p].options.rowspan),this.emitHistoryChange()},mergeTableRow(e,h,m,p,d){let f=p?h:h+d.options.rowspan,o=p?h-1:h;if(p){let n=o;for(;n>=0;)if(e[n].cols[m].merged)n--;else{o=n;break}}!!e[f].cols[m].widgetList&&e[f].cols[m].widgetList.length>0&&(!e[o].cols[m].widgetList||e[o].cols[m].widgetList.length===0)&&(e[o].cols[m].widgetList=deepClone(e[f].cols[m].widgetList));let u=e[f].cols[m].options.rowspan*1+e[o].cols[m].options.rowspan*1;this.setPropsOfMergedRows(e,o,m,d.options.colspan,u),this.emitHistoryChange()},mergeTableWholeCol(e,h,m,p){let d=e[0].cols[p].options.colspan,f=!1;for(let n=1;n<e.length;n++)if(e[n].cols[p].options.colspan!==d){f=!0;break}if(f){this.vueInstance.$message.info(this.vueInstance.i18nt("designer.hint.colspanNotConsistentForMergeEntireColumn"));return}let o=[];e.forEach(n=>{let s=n.cols[p];!s.merged&&!!s.widgetList&&s.widgetList.length>0&&o.push(s)});let u=e[0].cols[p];!!o&&o.length>0&&o[0].id!==u.id&&(!u.widgetList||u.widgetList.length<=0)&&(u.widgetList=deepClone(o[0].widgetList)),this.setPropsOfMergedRows(e,0,p,u.options.colspan,e.length),this.emitHistoryChange()},undoMergeTableCol(e,h,m,p,d){this.setPropsOfSplitCol(e,h,m,p,d),this.emitHistoryChange()},undoMergeTableRow(e,h,m,p,d){this.setPropsOfSplitRow(e,h,m,p,d),this.emitHistoryChange()},deleteTableWholeCol(e,h){let m=!0;if(e.forEach(f=>{f.cols[0].options.colspan!==e[0].cols.length&&(m=!1)}),m){this.vueInstance.$message.info(this.vueInstance.i18nt("designer.hint.lastColCannotBeDeleted"));return}let p=e[0].cols[h].options.colspan,d=!1;for(let f=1;f<e.length;f++)if(e[f].cols[h].options.colspan!==p){d=!0;break}if(d){this.vueInstance.$message.info(this.vueInstance.i18nt("designer.hint.colspanNotConsistentForDeleteEntireColumn"));return}e.forEach(f=>{f.cols.splice(h,p)}),this.emitHistoryChange()},deleteTableWholeRow(e,h){let m=!0;if(e[0].cols.forEach(f=>{f.options.rowspan!==e.length&&(m=!1)}),m){this.vueInstance.$message.info(this.vueInstance.i18nt("designer.hint.lastRowCannotBeDeleted"));return}let p=e[h].cols[0].options.rowspan,d=!1;for(let f=1;f<e[h].cols.length;f++)if(e[h].cols[f].options.rowspan!==p){d=!0;break}if(d){this.vueInstance.$message.info(this.vueInstance.i18nt("designer.hint.rowspanNotConsistentForDeleteEntireRow"));return}e.splice(h,p),this.emitHistoryChange()},getContainerByType(e){let h=[...containers,...basicFields,...advancedFields,...customFields],m=null;return h.forEach(p=>{!!p.category&&!!p.type&&p.type===e&&(m=p)}),m},getFieldWidgetByType(e){let h=[...containers,...basicFields,...advancedFields,...customFields],m=null;return h.forEach(p=>{!p.category&&!!p.type&&p.type===e&&(m=p)}),m},hasConfig(e,h){let m=null;return e.category?m=this.getContainerByType(e.type):m=this.getFieldWidgetByType(e.type),!m||!m.options?!1:Object.keys(m.options).indexOf(h)>-1},findColByName(e,h){const m=e!=null?e:this.widgetList;if(!m||!h)return null;for(const p of m){if(p.type==="grid"&&p.cols&&p.cols.length){const d=p.cols.find(f=>f.options&&f.options.name===h);if(d)return d}if(p.type==="grid-col"&&p.options&&p.options.name===h)return p;if(p.widgetList&&p.widgetList.length){const d=this.findColByName(p.widgetList,h);if(d)return d}if(p.cols&&p.cols.length)for(const d of p.cols){if(d.options&&d.options.name===h)return d;if(d.widgetList&&d.widgetList.length){const f=this.findColByName(d.widgetList,h);if(f)return f}}}return null},setColHidden(e,h){const m=!!h;if(console.log("colName",e),Array.isArray(e)){let d=!1;return e.forEach(f=>{console.log("cName",f);const o=this.findColByName(f);console.log("col",o),o&&o.options&&(o.options.hidden=m,d=!0)}),d&&this.saveCurrentHistoryStep(),d}const p=this.findColByName(e);return!p||!p.options?!1:(p.options.hidden=m,this.saveCurrentHistoryStep(),!0)},upgradeWidgetConfig(e){let h=null;e.category?h=this.getContainerByType(e.type):h=this.getFieldWidgetByType(e.type),!(!h||!h.options)&&Object.keys(h.options).forEach(m=>{e.hasOwnProperty(m)||(e.options[m]=deepClone(h.options[m]))})},upgradeFormConfig(e){Object.keys(this.formConfig).forEach(h=>{e.hasOwnProperty(h)||(e[h]=deepClone(this.formConfig[h]))})},cloneGridCol(e,h){let m=deepClone(this.getContainerByType("grid-col"));m.options.span=e.options.span;let p=generateId();m.id="grid-col-"+p,m.options.name="gridCol"+p,h.cols.push(m)},cloneContainer(e){if(e.type==="grid"){let h=deepClone(this.getContainerByType("grid"));return h.id=h.type+generateId(),h.options.name=h.id,e.cols.forEach(m=>{let p=deepClone(this.getContainerByType("grid-col")),d=generateId();p.id="grid-col-"+d,p.options.name="gridCol"+d,p.options.span=m.options.span,h.cols.push(p)}),h}else if(e.type==="table"){let h=deepClone(this.getContainerByType("table"));return h.id=h.type+generateId(),h.options.name=h.id,e.rows.forEach(m=>{let p=deepClone(m);p.id="table-row-"+generateId(),p.cols.forEach(d=>{d.id="table-cell-"+generateId(),d.options.name=d.id,d.widgetList=[]}),h.rows.push(p)}),h}else return null},moveUpWidget(e,h){if(e){if(h===0){this.vueInstance.$message(this.vueInstance.i18nt("designer.hint.moveUpFirstChildHint"));return}let m=e[h];e.splice(h,1),e.splice(h-1,0,m)}},moveDownWidget(e,h){if(e){if(h===e.length-1){this.vueInstance.$message(this.vueInstance.i18nt("designer.hint.moveDownLastChildHint"));return}let m=e[h];e.splice(h,1),e.splice(h+1,0,m)}},copyNewFieldWidget(e){let h=deepClone(e),m=generateId();return h.id=h.type.replace(/-/g,"")+m,h.options.name=h.id,h.options.label=h.options.label||h.type.toLowerCase(),delete h.displayName,h},copyNewContainerWidget(e){let h=deepClone(e);if(h.id=h.type.replace(/-/g,"")+generateId(),h.options.name=h.id,h.type==="grid"){let m=deepClone(this.getContainerByType("grid-col")),p=generateId();m.id="grid-col-"+p,m.options.name="gridCol"+p,h.cols.push(m),m=deepClone(m),p=generateId(),m.id="grid-col-"+p,m.options.name="gridCol"+p,h.cols.push(m)}else if(h.type==="table"){let m={cols:[]};m.id="table-row-"+generateId(),m.merged=!1;let p=deepClone(this.getContainerByType("table-cell"));p.id="table-cell-"+generateId(),p.options.name=p.id,p.merged=!1,p.options.colspan=1,p.options.rowspan=1,m.cols.push(p),h.rows.push(m)}else if(h.type==="tab"){let m=deepClone(this.getContainerByType("tab-pane"));m.id="tab-pane-"+generateId(),m.options.name="tab1",m.options.label="tab 1",h.tabs.push(m)}return delete h.displayName,h},addContainerByDbClick(e){let h=this.copyNewContainerWidget(e);this.widgetList.push(h),this.setSelected(h)},addFieldByDbClick(e){let h=this.copyNewFieldWidget(e);if(!!this.selectedWidget&&this.selectedWidget.type==="tab"){let m=this.selectedWidget.tabs[0];this.selectedWidget.tabs.forEach(p=>{p.options.active&&(m=p)}),!!m&&m.widgetList.push(h)}else!!this.selectedWidget&&!!this.selectedWidget.widgetList?this.selectedWidget.widgetList.push(h):this.widgetList.push(h);this.setSelected(h),this.emitHistoryChange()},deleteColOfGrid(e,h){!!e&&!!e.cols&&e.cols.splice(h,1)},addNewColOfGrid(e){const h=e.cols;let m=deepClone(this.getContainerByType("grid-col")),p=generateId();if(m.id="grid-col-"+p,m.options.name="gridCol"+p,!!h&&h.length>0){let d=0;h.forEach(f=>{d+=f.options.span}),d>=24?(console.log("\u5217\u6805\u683C\u4E4B\u548C\u8D85\u51FA24"),e.cols.push(m)):(m.options.span=24-d>12?12:24-d,e.cols.push(m))}else e.cols=[m]},addTabPaneOfTabs(e){const h=e.tabs;let m=deepClone(this.getContainerByType("tab-pane"));m.id="tab-pane-"+generateId(),m.options.name=m.id,m.options.label="tab "+(h.length+1),h.push(m)},deleteTabPaneOfTabs(e,h){e.tabs.splice(h,1)},emitEvent(e,h){eventBus.$emit(e,h)},handleEvent(e,h){eventBus.$on(e,m=>h(m))},setCssClassList(e){this.cssClassList=e},getCssClassList(){return this.cssClassList},registerFormWidget(e){this.formWidget=e},initHistoryData(){this.loadFormContentFromStorage(),this.historyData.index++,this.historyData.steps[this.historyData.index]={widgetList:deepClone(this.widgetList),formConfig:deepClone(this.formConfig)}},emitHistoryChange(){this.historyData.index===this.historyData.maxStep-1?this.historyData.steps.shift():this.historyData.index++,this.historyData.steps[this.historyData.index]={widgetList:deepClone(this.widgetList),formConfig:deepClone(this.formConfig)},this.saveFormContentToStorage(),this.historyData.index<this.historyData.steps.length-1&&(this.historyData.steps=this.historyData.steps.slice(0,this.historyData.index+1))},saveCurrentHistoryStep(){this.historyData.steps[this.historyData.index]=deepClone({widgetList:this.widgetList,formConfig:this.formConfig}),this.saveFormContentToStorage()},undoHistoryStep(){this.historyData.index!==0&&this.historyData.index--,this.widgetList=deepClone(this.historyData.steps[this.historyData.index].widgetList),this.formConfig=deepClone(this.historyData.steps[this.historyData.index].formConfig)},redoHistoryStep(){this.historyData.index!==this.historyData.steps.length-1&&this.historyData.index++,this.widgetList=deepClone(this.historyData.steps[this.historyData.index].widgetList),this.formConfig=deepClone(this.historyData.steps[this.historyData.index].formConfig)},undoEnabled(){return this.historyData.index>0&&this.historyData.steps.length>0},redoEnabled(){return this.historyData.index<this.historyData.steps.length-1},saveFormContentToStorage(){window.localStorage.setItem("widget__list__backup",JSON.stringify(this.widgetList)),window.localStorage.setItem("form__config__backup",JSON.stringify(this.formConfig))},loadFormContentFromStorage(){let e=window.localStorage.getItem("widget__list__backup");e&&(this.widgetList=JSON.parse(e));let h=window.localStorage.getItem("form__config__backup");h&&overwriteObj(this.formConfig,JSON.parse(h))}}}var index_vue_vue_type_style_index_0_scoped_true_lang$2="";const _sfc_main$r={name:"VFormDesigner",componentName:"VFormDesigner",mixins:[i18n$1],components:{SvgIcon,WidgetPanel,ToolbarPanel,SettingPanel,VFormWidget},props:{fieldListApi:{type:Object,default:null},bannedWidgets:{type:Array,default:()=>[]},designerConfig:{type:Object,default:()=>({languageMenu:!0,externalLink:!0,formTemplates:!0,eventCollapse:!0,widgetNameReadonly:!1,clearDesignerButton:!0,previewFormButton:!0,importJsonButton:!0,exportJsonButton:!0,exportCodeButton:!0,generateSFCButton:!0,toolbarMaxWidth:450,toolbarMinWidth:300,presetCssCode:"",resetFormJson:!1})},globalDsv:{type:Object,default:()=>({})}},data(){return{vFormVersion:VARIANT_FORM_VERSION,curLangName:"",curLocale:"",vsCodeFlag:!1,caseName:"",docUrl:"https://www.vform666.com/document3.html",gitUrl:"https://github.com/vform666/variant-form3-vite",chatUrl:"https://www.vform666.com/pages/chat-group/",subScribeUrl:"https://www.vform666.com/pages/pro/",scrollerHeight:0,designer:createDesigner(this),fieldList:[]}},provide(){return{serverFieldList:this.fieldList,getDesignerConfig:()=>this.designerConfig,getBannedWidgets:()=>this.bannedWidgets}},created(){this.vsCodeFlag=getQueryParam("vscode")==1,this.caseName=getQueryParam("case")},mounted(){this.initLocale(),this.scrollerHeight=window.innerHeight-56-36+"px",addWindowResizeHandler(()=>{this.$nextTick(()=>{this.scrollerHeight=window.innerHeight-56-36+"px"})}),this.loadCase(),this.loadFieldListFromServer()},methods:{testEEH(t,a){console.log("test",t),console.log("test222222",a)},showLink(t){return this.designerConfig[t]===void 0?!0:!!this.designerConfig[t]},openHome(){if(this.vsCodeFlag){const t={cmd:"openUrl",data:{url:"https://www.vform666.com/"}};window.parent.postMessage(t,"*")}},openUrl(t,a){if(this.vsCodeFlag){const e={cmd:"openUrl",data:{url:a}};window.parent.postMessage(e,"*")}else{let e=t.currentTarget;e.href=a}},loadCase(){!this.caseName||axios.get(MOCK_CASE_URL+this.caseName+".txt").then(t=>{if(t.data.code){this.$message.error(this.i18nt("designer.hint.sampleLoadedFail"));return}this.setFormJson(t.data),this.$message.success(this.i18nt("designer.hint.sampleLoadedSuccess"))}).catch(t=>{this.$message.error(this.i18nt("designer.hint.sampleLoadedFail")+":"+t)})},initLocale(){this.curLocale=localStorage.getItem("v_form_locale"),this.vsCodeFlag?this.curLocale=this.curLocale||"en-US":this.curLocale=this.curLocale||"zh-CN",this.curLangName=this.i18nt("application."+this.curLocale),this.changeLanguage(this.curLocale)},loadFieldListFromServer(){if(!this.fieldListApi)return;let t=this.fieldListApi.headers||{};axios.get(this.fieldListApi.URL,{headers:t}).then(a=>{let e=this.fieldListApi.labelKey||"label",h=this.fieldListApi.nameKey||"name";this.fieldList.splice(0,this.fieldList.length),a.data.forEach(m=>{this.fieldList.push({label:m[e],name:m[h]})})}).catch(a=>{this.$message.error(a)})},handleLanguageChanged(t){this.changeLanguage(t),this.curLangName=this.i18nt("application."+t)},changeLanguage(t){changeLocale(t)},setFormJson(t){let a=!1;t&&(typeof t=="string"?a=this.designer.loadFormJson(JSON.parse(t)):t.constructor===Object&&(a=this.designer.loadFormJson(t)),a&&this.designer.emitHistoryChange())},getFormJson(){return{widgetList:deepClone(this.designer.widgetList),formConfig:deepClone(this.designer.formConfig)}},clearDesigner(){this.$refs.toolbarRef.clearFormWidget()},refreshDesigner(){let t=this.getFormJson();this.designer.clearDesigner(!0),this.designer.loadFormJson(t)},previewForm(){this.$refs.toolbarRef.previewForm()},importJson(){this.$refs.toolbarRef.importJson()},exportJson(){this.$refs.toolbarRef.exportJson()},exportCode(){this.$refs.toolbarRef.exportCode()},generateSFC(){this.$refs.toolbarRef.generateSFC()},getFieldWidgets(t=null){return getAllFieldWidgets(t||this.designer.widgetList)},getContainerWidgets(t=null){return getAllContainerWidgets(t||this.designer.widgetList)},upgradeFormJson(t){if(!t.widgetList||!t.formConfig){this.$message.error("Invalid form json!");return}return traverseAllWidgets(t.widgetList,a=>{this.designer.upgradeWidgetConfig(a)}),this.designer.upgradeFormConfig(t.formConfig),t},getWidgetRef(t,a=!1){return this.$refs.formRef.getWidgetRef(t,a)},getSelectedWidgetRef(){return this.$refs.formRef.getSelectedWidgetRef()}}};function _sfc_render$r(t,a,e,h,m,p){const d=vue.resolveComponent("widget-panel"),f=vue.resolveComponent("el-aside"),o=vue.resolveComponent("toolbar-panel"),u=vue.resolveComponent("el-header"),n=vue.resolveComponent("v-form-widget"),s=vue.resolveComponent("el-scrollbar"),i=vue.resolveComponent("el-main"),r=vue.resolveComponent("el-container"),l=vue.resolveComponent("setting-panel");return vue.openBlock(),vue.createBlock(r,{class:"main-container full-height"},{default:vue.withCtx(()=>[vue.createVNode(r,null,{default:vue.withCtx(()=>[vue.createVNode(f,{class:"side-panel"},{default:vue.withCtx(()=>[vue.createVNode(d,{designer:m.designer},null,8,["designer"])]),_:1}),vue.createVNode(r,{class:"center-layout-container"},{default:vue.withCtx(()=>[vue.createVNode(u,{class:"toolbar-header"},{default:vue.withCtx(()=>[vue.createVNode(o,{designer:m.designer,"global-dsv":e.globalDsv,ref:"toolbarRef"},vue.createSlots({_:2},[vue.renderList(t.$slots,(c,g)=>({name:g,fn:vue.withCtx(()=>[vue.renderSlot(t.$slots,g,{},void 0,!0)])}))]),1032,["designer","global-dsv"])]),_:3}),vue.createVNode(i,{class:"form-widget-main"},{default:vue.withCtx(()=>[vue.createVNode(s,{class:"container-scroll-bar",style:vue.normalizeStyle({height:m.scrollerHeight})},{default:vue.withCtx(()=>[vue.createVNode(n,{designer:m.designer,"form-config":m.designer.formConfig,"global-dsv":e.globalDsv,ref:"formRef"},null,8,["designer","form-config","global-dsv"])]),_:1},8,["style"])]),_:1})]),_:3}),vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(l,{designer:m.designer,"selected-widget":m.designer.selectedWidget,"form-config":m.designer.formConfig,"global-dsv":e.globalDsv,onEditEventHandler:p.testEEH},null,8,["designer","selected-widget","form-config","global-dsv","onEditEventHandler"])]),_:1})]),_:3})]),_:3})}var VFormDesigner=_export_sfc$1(_sfc_main$r,[["render",_sfc_render$r],["__scopeId","data-v-cd16a5dc"]]),vuedraggable_umd={exports:{}},require$$0=getDefaultExportFromNamespaceIfPresent(vue__namespace);(function(t,a){(function(h,m){t.exports=m(require$$0,require$$1__default.default)})(typeof self!="undefined"?self:commonjsGlobal,function(e,h){return function(m){var p={};function d(f){if(p[f])return p[f].exports;var o=p[f]={i:f,l:!1,exports:{}};return m[f].call(o.exports,o,o.exports,d),o.l=!0,o.exports}return d.m=m,d.c=p,d.d=function(f,o,u){d.o(f,o)||Object.defineProperty(f,o,{enumerable:!0,get:u})},d.r=function(f){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},d.t=function(f,o){if(o&1&&(f=d(f)),o&8||o&4&&typeof f=="object"&&f&&f.__esModule)return f;var u=Object.create(null);if(d.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:f}),o&2&&typeof f!="string")for(var n in f)d.d(u,n,function(s){return f[s]}.bind(null,n));return u},d.n=function(f){var o=f&&f.__esModule?function(){return f.default}:function(){return f};return d.d(o,"a",o),o},d.o=function(f,o){return Object.prototype.hasOwnProperty.call(f,o)},d.p="",d(d.s="fb15")}({"00ee":function(m,p,d){var f=d("b622"),o=f("toStringTag"),u={};u[o]="z",m.exports=String(u)==="[object z]"},"0366":function(m,p,d){var f=d("1c0b");m.exports=function(o,u,n){if(f(o),u===void 0)return o;switch(n){case 0:return function(){return o.call(u)};case 1:return function(s){return o.call(u,s)};case 2:return function(s,i){return o.call(u,s,i)};case 3:return function(s,i,r){return o.call(u,s,i,r)}}return function(){return o.apply(u,arguments)}}},"057f":function(m,p,d){var f=d("fc6a"),o=d("241c").f,u={}.toString,n=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(i){try{return o(i)}catch{return n.slice()}};m.exports.f=function(r){return n&&u.call(r)=="[object Window]"?s(r):o(f(r))}},"06cf":function(m,p,d){var f=d("83ab"),o=d("d1e7"),u=d("5c6c"),n=d("fc6a"),s=d("c04e"),i=d("5135"),r=d("0cfb"),l=Object.getOwnPropertyDescriptor;p.f=f?l:function(g,v){if(g=n(g),v=s(v,!0),r)try{return l(g,v)}catch{}if(i(g,v))return u(!o.f.call(g,v),g[v])}},"0cfb":function(m,p,d){var f=d("83ab"),o=d("d039"),u=d("cc12");m.exports=!f&&!o(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(m,p,d){var f=d("23e7"),o=d("d58f").left,u=d("a640"),n=d("ae40"),s=u("reduce"),i=n("reduce",{1:0});f({target:"Array",proto:!0,forced:!s||!i},{reduce:function(l){return o(this,l,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(m,p,d){var f=d("c6b6"),o=d("9263");m.exports=function(u,n){var s=u.exec;if(typeof s=="function"){var i=s.call(u,n);if(typeof i!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return i}if(f(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return o.call(u,n)}},"159b":function(m,p,d){var f=d("da84"),o=d("fdbc"),u=d("17c2"),n=d("9112");for(var s in o){var i=f[s],r=i&&i.prototype;if(r&&r.forEach!==u)try{n(r,"forEach",u)}catch{r.forEach=u}}},"17c2":function(m,p,d){var f=d("b727").forEach,o=d("a640"),u=d("ae40"),n=o("forEach"),s=u("forEach");m.exports=!n||!s?function(r){return f(this,r,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(m,p,d){var f=d("d066");m.exports=f("document","documentElement")},"1c0b":function(m,p){m.exports=function(d){if(typeof d!="function")throw TypeError(String(d)+" is not a function");return d}},"1c7e":function(m,p,d){var f=d("b622"),o=f("iterator"),u=!1;try{var n=0,s={next:function(){return{done:!!n++}},return:function(){u=!0}};s[o]=function(){return this},Array.from(s,function(){throw 2})}catch{}m.exports=function(i,r){if(!r&&!u)return!1;var l=!1;try{var c={};c[o]=function(){return{next:function(){return{done:l=!0}}}},i(c)}catch{}return l}},"1d80":function(m,p){m.exports=function(d){if(d==null)throw TypeError("Can't call method on "+d);return d}},"1dde":function(m,p,d){var f=d("d039"),o=d("b622"),u=d("2d00"),n=o("species");m.exports=function(s){return u>=51||!f(function(){var i=[],r=i.constructor={};return r[n]=function(){return{foo:1}},i[s](Boolean).foo!==1})}},"23cb":function(m,p,d){var f=d("a691"),o=Math.max,u=Math.min;m.exports=function(n,s){var i=f(n);return i<0?o(i+s,0):u(i,s)}},"23e7":function(m,p,d){var f=d("da84"),o=d("06cf").f,u=d("9112"),n=d("6eeb"),s=d("ce4e"),i=d("e893"),r=d("94ca");m.exports=function(l,c){var g=l.target,v=l.global,b=l.stat,_,x,w,C,M,D;if(v?x=f:b?x=f[g]||s(g,{}):x=(f[g]||{}).prototype,x)for(w in c){if(M=c[w],l.noTargetGet?(D=o(x,w),C=D&&D.value):C=x[w],_=r(v?w:g+(b?".":"#")+w,l.forced),!_&&C!==void 0){if(typeof M==typeof C)continue;i(M,C)}(l.sham||C&&C.sham)&&u(M,"sham",!0),n(x,w,M,l)}}},"241c":function(m,p,d){var f=d("ca84"),o=d("7839"),u=o.concat("length","prototype");p.f=Object.getOwnPropertyNames||function(s){return f(s,u)}},"25f0":function(m,p,d){var f=d("6eeb"),o=d("825a"),u=d("d039"),n=d("ad6d"),s="toString",i=RegExp.prototype,r=i[s],l=u(function(){return r.call({source:"a",flags:"b"})!="/a/b"}),c=r.name!=s;(l||c)&&f(RegExp.prototype,s,function(){var v=o(this),b=String(v.source),_=v.flags,x=String(_===void 0&&v instanceof RegExp&&!("flags"in i)?n.call(v):_);return"/"+b+"/"+x},{unsafe:!0})},"2ca0":function(m,p,d){var f=d("23e7"),o=d("06cf").f,u=d("50c4"),n=d("5a34"),s=d("1d80"),i=d("ab13"),r=d("c430"),l="".startsWith,c=Math.min,g=i("startsWith"),v=!r&&!g&&!!function(){var b=o(String.prototype,"startsWith");return b&&!b.writable}();f({target:"String",proto:!0,forced:!v&&!g},{startsWith:function(_){var x=String(s(this));n(_);var w=u(c(arguments.length>1?arguments[1]:void 0,x.length)),C=String(_);return l?l.call(x,C,w):x.slice(w,w+C.length)===C}})},"2d00":function(m,p,d){var f=d("da84"),o=d("342f"),u=f.process,n=u&&u.versions,s=n&&n.v8,i,r;s?(i=s.split("."),r=i[0]+i[1]):o&&(i=o.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=o.match(/Chrome\/(\d+)/),i&&(r=i[1]))),m.exports=r&&+r},"342f":function(m,p,d){var f=d("d066");m.exports=f("navigator","userAgent")||""},"35a1":function(m,p,d){var f=d("f5df"),o=d("3f8c"),u=d("b622"),n=u("iterator");m.exports=function(s){if(s!=null)return s[n]||s["@@iterator"]||o[f(s)]}},"37e8":function(m,p,d){var f=d("83ab"),o=d("9bf2"),u=d("825a"),n=d("df75");m.exports=f?Object.defineProperties:function(i,r){u(i);for(var l=n(r),c=l.length,g=0,v;c>g;)o.f(i,v=l[g++],r[v]);return i}},"3bbe":function(m,p,d){var f=d("861d");m.exports=function(o){if(!f(o)&&o!==null)throw TypeError("Can't set "+String(o)+" as a prototype");return o}},"3ca3":function(m,p,d){var f=d("6547").charAt,o=d("69f3"),u=d("7dd0"),n="String Iterator",s=o.set,i=o.getterFor(n);u(String,"String",function(r){s(this,{type:n,string:String(r),index:0})},function(){var l=i(this),c=l.string,g=l.index,v;return g>=c.length?{value:void 0,done:!0}:(v=f(c,g),l.index+=v.length,{value:v,done:!1})})},"3f8c":function(m,p){m.exports={}},"4160":function(m,p,d){var f=d("23e7"),o=d("17c2");f({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"428f":function(m,p,d){var f=d("da84");m.exports=f},"44ad":function(m,p,d){var f=d("d039"),o=d("c6b6"),u="".split;m.exports=f(function(){return!Object("z").propertyIsEnumerable(0)})?function(n){return o(n)=="String"?u.call(n,""):Object(n)}:Object},"44d2":function(m,p,d){var f=d("b622"),o=d("7c73"),u=d("9bf2"),n=f("unscopables"),s=Array.prototype;s[n]==null&&u.f(s,n,{configurable:!0,value:o(null)}),m.exports=function(i){s[n][i]=!0}},"44e7":function(m,p,d){var f=d("861d"),o=d("c6b6"),u=d("b622"),n=u("match");m.exports=function(s){var i;return f(s)&&((i=s[n])!==void 0?!!i:o(s)=="RegExp")}},"4930":function(m,p,d){var f=d("d039");m.exports=!!Object.getOwnPropertySymbols&&!f(function(){return!String(Symbol())})},"4d64":function(m,p,d){var f=d("fc6a"),o=d("50c4"),u=d("23cb"),n=function(s){return function(i,r,l){var c=f(i),g=o(c.length),v=u(l,g),b;if(s&&r!=r){for(;g>v;)if(b=c[v++],b!=b)return!0}else for(;g>v;v++)if((s||v in c)&&c[v]===r)return s||v||0;return!s&&-1}};m.exports={includes:n(!0),indexOf:n(!1)}},"4de4":function(m,p,d){var f=d("23e7"),o=d("b727").filter,u=d("1dde"),n=d("ae40"),s=u("filter"),i=n("filter");f({target:"Array",proto:!0,forced:!s||!i},{filter:function(l){return o(this,l,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(m,p,d){var f=d("0366"),o=d("7b0b"),u=d("9bdd"),n=d("e95a"),s=d("50c4"),i=d("8418"),r=d("35a1");m.exports=function(c){var g=o(c),v=typeof this=="function"?this:Array,b=arguments.length,_=b>1?arguments[1]:void 0,x=_!==void 0,w=r(g),C=0,M,D,N,S,L,k;if(x&&(_=f(_,b>2?arguments[2]:void 0,2)),w!=null&&!(v==Array&&n(w)))for(S=w.call(g),L=S.next,D=new v;!(N=L.call(S)).done;C++)k=x?u(S,_,[N.value,C],!0):N.value,i(D,C,k);else for(M=s(g.length),D=new v(M);M>C;C++)k=x?_(g[C],C):g[C],i(D,C,k);return D.length=C,D}},"4fad":function(m,p,d){var f=d("23e7"),o=d("6f53").entries;f({target:"Object",stat:!0},{entries:function(n){return o(n)}})},"50c4":function(m,p,d){var f=d("a691"),o=Math.min;m.exports=function(u){return u>0?o(f(u),9007199254740991):0}},"5135":function(m,p){var d={}.hasOwnProperty;m.exports=function(f,o){return d.call(f,o)}},"5319":function(m,p,d){var f=d("d784"),o=d("825a"),u=d("7b0b"),n=d("50c4"),s=d("a691"),i=d("1d80"),r=d("8aa5"),l=d("14c3"),c=Math.max,g=Math.min,v=Math.floor,b=/\$([$&'`]|\d\d?|<[^>]*>)/g,_=/\$([$&'`]|\d\d?)/g,x=function(w){return w===void 0?w:String(w)};f("replace",2,function(w,C,M,D){var N=D.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,S=D.REPLACE_KEEPS_$0,L=N?"$":"$0";return[function(E,I){var O=i(this),B=E==null?void 0:E[w];return B!==void 0?B.call(E,O,I):C.call(String(O),E,I)},function(T,E){if(!N&&S||typeof E=="string"&&E.indexOf(L)===-1){var I=M(C,T,this,E);if(I.done)return I.value}var O=o(T),B=String(this),V=typeof E=="function";V||(E=String(E));var P=O.global;if(P){var $=O.unicode;O.lastIndex=0}for(var R=[];;){var z=l(O,B);if(z===null||(R.push(z),!P))break;var j=String(z[0]);j===""&&(O.lastIndex=r(B,n(O.lastIndex),$))}for(var U="",G=0,H=0;H<R.length;H++){z=R[H];for(var K=String(z[0]),Y=c(g(s(z.index),B.length),0),J=[],ee=1;ee<z.length;ee++)J.push(x(z[ee]));var de=z.groups;if(V){var ye=[K].concat(J,Y,B);de!==void 0&&ye.push(de);var xe=String(E.apply(void 0,ye))}else xe=k(K,B,Y,J,de,E);Y>=G&&(U+=B.slice(G,Y)+xe,G=Y+K.length)}return U+B.slice(G)}];function k(T,E,I,O,B,V){var P=I+T.length,$=O.length,R=_;return B!==void 0&&(B=u(B),R=b),C.call(V,R,function(z,j){var U;switch(j.charAt(0)){case"$":return"$";case"&":return T;case"`":return E.slice(0,I);case"'":return E.slice(P);case"<":U=B[j.slice(1,-1)];break;default:var G=+j;if(G===0)return z;if(G>$){var H=v(G/10);return H===0?z:H<=$?O[H-1]===void 0?j.charAt(1):O[H-1]+j.charAt(1):z}U=O[G-1]}return U===void 0?"":U})}})},"5692":function(m,p,d){var f=d("c430"),o=d("c6cd");(m.exports=function(u,n){return o[u]||(o[u]=n!==void 0?n:{})})("versions",[]).push({version:"3.6.5",mode:f?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(m,p,d){var f=d("d066"),o=d("241c"),u=d("7418"),n=d("825a");m.exports=f("Reflect","ownKeys")||function(i){var r=o.f(n(i)),l=u.f;return l?r.concat(l(i)):r}},"5a34":function(m,p,d){var f=d("44e7");m.exports=function(o){if(f(o))throw TypeError("The method doesn't accept regular expressions");return o}},"5c6c":function(m,p){m.exports=function(d,f){return{enumerable:!(d&1),configurable:!(d&2),writable:!(d&4),value:f}}},"5db7":function(m,p,d){var f=d("23e7"),o=d("a2bf"),u=d("7b0b"),n=d("50c4"),s=d("1c0b"),i=d("65f0");f({target:"Array",proto:!0},{flatMap:function(l){var c=u(this),g=n(c.length),v;return s(l),v=i(c,0),v.length=o(v,c,c,g,0,1,l,arguments.length>1?arguments[1]:void 0),v}})},"6547":function(m,p,d){var f=d("a691"),o=d("1d80"),u=function(n){return function(s,i){var r=String(o(s)),l=f(i),c=r.length,g,v;return l<0||l>=c?n?"":void 0:(g=r.charCodeAt(l),g<55296||g>56319||l+1===c||(v=r.charCodeAt(l+1))<56320||v>57343?n?r.charAt(l):g:n?r.slice(l,l+2):(g-55296<<10)+(v-56320)+65536)}};m.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(m,p,d){var f=d("861d"),o=d("e8b5"),u=d("b622"),n=u("species");m.exports=function(s,i){var r;return o(s)&&(r=s.constructor,typeof r=="function"&&(r===Array||o(r.prototype))?r=void 0:f(r)&&(r=r[n],r===null&&(r=void 0))),new(r===void 0?Array:r)(i===0?0:i)}},"69f3":function(m,p,d){var f=d("7f9a"),o=d("da84"),u=d("861d"),n=d("9112"),s=d("5135"),i=d("f772"),r=d("d012"),l=o.WeakMap,c,g,v,b=function(N){return v(N)?g(N):c(N,{})},_=function(N){return function(S){var L;if(!u(S)||(L=g(S)).type!==N)throw TypeError("Incompatible receiver, "+N+" required");return L}};if(f){var x=new l,w=x.get,C=x.has,M=x.set;c=function(N,S){return M.call(x,N,S),S},g=function(N){return w.call(x,N)||{}},v=function(N){return C.call(x,N)}}else{var D=i("state");r[D]=!0,c=function(N,S){return n(N,D,S),S},g=function(N){return s(N,D)?N[D]:{}},v=function(N){return s(N,D)}}m.exports={set:c,get:g,has:v,enforce:b,getterFor:_}},"6eeb":function(m,p,d){var f=d("da84"),o=d("9112"),u=d("5135"),n=d("ce4e"),s=d("8925"),i=d("69f3"),r=i.get,l=i.enforce,c=String(String).split("String");(m.exports=function(g,v,b,_){var x=_?!!_.unsafe:!1,w=_?!!_.enumerable:!1,C=_?!!_.noTargetGet:!1;if(typeof b=="function"&&(typeof v=="string"&&!u(b,"name")&&o(b,"name",v),l(b).source=c.join(typeof v=="string"?v:"")),g===f){w?g[v]=b:n(v,b);return}else x?!C&&g[v]&&(w=!0):delete g[v];w?g[v]=b:o(g,v,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&r(this).source||s(this)})},"6f53":function(m,p,d){var f=d("83ab"),o=d("df75"),u=d("fc6a"),n=d("d1e7").f,s=function(i){return function(r){for(var l=u(r),c=o(l),g=c.length,v=0,b=[],_;g>v;)_=c[v++],(!f||n.call(l,_))&&b.push(i?[_,l[_]]:l[_]);return b}};m.exports={entries:s(!0),values:s(!1)}},"73d9":function(m,p,d){var f=d("44d2");f("flatMap")},"7418":function(m,p){p.f=Object.getOwnPropertySymbols},"746f":function(m,p,d){var f=d("428f"),o=d("5135"),u=d("e538"),n=d("9bf2").f;m.exports=function(s){var i=f.Symbol||(f.Symbol={});o(i,s)||n(i,s,{value:u.f(s)})}},"7839":function(m,p){m.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(m,p,d){var f=d("1d80");m.exports=function(o){return Object(f(o))}},"7c73":function(m,p,d){var f=d("825a"),o=d("37e8"),u=d("7839"),n=d("d012"),s=d("1be4"),i=d("cc12"),r=d("f772"),l=">",c="<",g="prototype",v="script",b=r("IE_PROTO"),_=function(){},x=function(N){return c+v+l+N+c+"/"+v+l},w=function(N){N.write(x("")),N.close();var S=N.parentWindow.Object;return N=null,S},C=function(){var N=i("iframe"),S="java"+v+":",L;return N.style.display="none",s.appendChild(N),N.src=String(S),L=N.contentWindow.document,L.open(),L.write(x("document.F=Object")),L.close(),L.F},M,D=function(){try{M=document.domain&&new ActiveXObject("htmlfile")}catch{}D=M?w(M):C();for(var N=u.length;N--;)delete D[g][u[N]];return D()};n[b]=!0,m.exports=Object.create||function(S,L){var k;return S!==null?(_[g]=f(S),k=new _,_[g]=null,k[b]=S):k=D(),L===void 0?k:o(k,L)}},"7dd0":function(m,p,d){var f=d("23e7"),o=d("9ed3"),u=d("e163"),n=d("d2bb"),s=d("d44e"),i=d("9112"),r=d("6eeb"),l=d("b622"),c=d("c430"),g=d("3f8c"),v=d("ae93"),b=v.IteratorPrototype,_=v.BUGGY_SAFARI_ITERATORS,x=l("iterator"),w="keys",C="values",M="entries",D=function(){return this};m.exports=function(N,S,L,k,T,E,I){o(L,S,k);var O=function(H){if(H===T&&R)return R;if(!_&&H in P)return P[H];switch(H){case w:return function(){return new L(this,H)};case C:return function(){return new L(this,H)};case M:return function(){return new L(this,H)}}return function(){return new L(this)}},B=S+" Iterator",V=!1,P=N.prototype,$=P[x]||P["@@iterator"]||T&&P[T],R=!_&&$||O(T),z=S=="Array"&&P.entries||$,j,U,G;if(z&&(j=u(z.call(new N)),b!==Object.prototype&&j.next&&(!c&&u(j)!==b&&(n?n(j,b):typeof j[x]!="function"&&i(j,x,D)),s(j,B,!0,!0),c&&(g[B]=D))),T==C&&$&&$.name!==C&&(V=!0,R=function(){return $.call(this)}),(!c||I)&&P[x]!==R&&i(P,x,R),g[S]=R,T)if(U={values:O(C),keys:E?R:O(w),entries:O(M)},I)for(G in U)(_||V||!(G in P))&&r(P,G,U[G]);else f({target:S,proto:!0,forced:_||V},U);return U}},"7f9a":function(m,p,d){var f=d("da84"),o=d("8925"),u=f.WeakMap;m.exports=typeof u=="function"&&/native code/.test(o(u))},"825a":function(m,p,d){var f=d("861d");m.exports=function(o){if(!f(o))throw TypeError(String(o)+" is not an object");return o}},"83ab":function(m,p,d){var f=d("d039");m.exports=!f(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"8418":function(m,p,d){var f=d("c04e"),o=d("9bf2"),u=d("5c6c");m.exports=function(n,s,i){var r=f(s);r in n?o.f(n,r,u(0,i)):n[r]=i}},"861d":function(m,p){m.exports=function(d){return typeof d=="object"?d!==null:typeof d=="function"}},"8875":function(m,p,d){var f,o,u;(function(n,s){o=[],f=s,u=typeof f=="function"?f.apply(p,o):f,u!==void 0&&(m.exports=u)})(typeof self!="undefined"?self:this,function(){function n(){var s=Object.getOwnPropertyDescriptor(document,"currentScript");if(!s&&"currentScript"in document&&document.currentScript||s&&s.get!==n&&document.currentScript)return document.currentScript;try{throw new Error}catch(M){var i=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,r=/@([^@]*):(\d+):(\d+)\s*$/ig,l=i.exec(M.stack)||r.exec(M.stack),c=l&&l[1]||!1,g=l&&l[2]||!1,v=document.location.href.replace(document.location.hash,""),b,_,x,w=document.getElementsByTagName("script");c===v&&(b=document.documentElement.outerHTML,_=new RegExp("(?:[^\\n]+?\\n){0,"+(g-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),x=b.replace(_,"$1").trim());for(var C=0;C<w.length;C++)if(w[C].readyState==="interactive"||w[C].src===c||c===v&&w[C].innerHTML&&w[C].innerHTML.trim()===x)return w[C];return null}}return n})},"8925":function(m,p,d){var f=d("c6cd"),o=Function.toString;typeof f.inspectSource!="function"&&(f.inspectSource=function(u){return o.call(u)}),m.exports=f.inspectSource},"8aa5":function(m,p,d){var f=d("6547").charAt;m.exports=function(o,u,n){return u+(n?f(o,u).length:1)}},"8bbf":function(m,p){m.exports=e},"90e3":function(m,p){var d=0,f=Math.random();m.exports=function(o){return"Symbol("+String(o===void 0?"":o)+")_"+(++d+f).toString(36)}},"9112":function(m,p,d){var f=d("83ab"),o=d("9bf2"),u=d("5c6c");m.exports=f?function(n,s,i){return o.f(n,s,u(1,i))}:function(n,s,i){return n[s]=i,n}},"9263":function(m,p,d){var f=d("ad6d"),o=d("9f7f"),u=RegExp.prototype.exec,n=String.prototype.replace,s=u,i=function(){var g=/a/,v=/b*/g;return u.call(g,"a"),u.call(v,"a"),g.lastIndex!==0||v.lastIndex!==0}(),r=o.UNSUPPORTED_Y||o.BROKEN_CARET,l=/()??/.exec("")[1]!==void 0,c=i||l||r;c&&(s=function(v){var b=this,_,x,w,C,M=r&&b.sticky,D=f.call(b),N=b.source,S=0,L=v;return M&&(D=D.replace("y",""),D.indexOf("g")===-1&&(D+="g"),L=String(v).slice(b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&v[b.lastIndex-1]!==`
|
|
1678
1678
|
`)&&(N="(?: "+N+")",L=" "+L,S++),x=new RegExp("^(?:"+N+")",D)),l&&(x=new RegExp("^"+N+"$(?!\\s)",D)),i&&(_=b.lastIndex),w=u.call(M?x:b,L),M?w?(w.input=w.input.slice(S),w[0]=w[0].slice(S),w.index=b.lastIndex,b.lastIndex+=w[0].length):b.lastIndex=0:i&&w&&(b.lastIndex=b.global?w.index+w[0].length:_),l&&w&&w.length>1&&n.call(w[0],x,function(){for(C=1;C<arguments.length-2;C++)arguments[C]===void 0&&(w[C]=void 0)}),w}),m.exports=s},"94ca":function(m,p,d){var f=d("d039"),o=/#|\.prototype\./,u=function(l,c){var g=s[n(l)];return g==r?!0:g==i?!1:typeof c=="function"?f(c):!!c},n=u.normalize=function(l){return String(l).replace(o,".").toLowerCase()},s=u.data={},i=u.NATIVE="N",r=u.POLYFILL="P";m.exports=u},"99af":function(m,p,d){var f=d("23e7"),o=d("d039"),u=d("e8b5"),n=d("861d"),s=d("7b0b"),i=d("50c4"),r=d("8418"),l=d("65f0"),c=d("1dde"),g=d("b622"),v=d("2d00"),b=g("isConcatSpreadable"),_=9007199254740991,x="Maximum allowed index exceeded",w=v>=51||!o(function(){var N=[];return N[b]=!1,N.concat()[0]!==N}),C=c("concat"),M=function(N){if(!n(N))return!1;var S=N[b];return S!==void 0?!!S:u(N)},D=!w||!C;f({target:"Array",proto:!0,forced:D},{concat:function(S){var L=s(this),k=l(L,0),T=0,E,I,O,B,V;for(E=-1,O=arguments.length;E<O;E++)if(V=E===-1?L:arguments[E],M(V)){if(B=i(V.length),T+B>_)throw TypeError(x);for(I=0;I<B;I++,T++)I in V&&r(k,T,V[I])}else{if(T>=_)throw TypeError(x);r(k,T++,V)}return k.length=T,k}})},"9bdd":function(m,p,d){var f=d("825a");m.exports=function(o,u,n,s){try{return s?u(f(n)[0],n[1]):u(n)}catch(r){var i=o.return;throw i!==void 0&&f(i.call(o)),r}}},"9bf2":function(m,p,d){var f=d("83ab"),o=d("0cfb"),u=d("825a"),n=d("c04e"),s=Object.defineProperty;p.f=f?s:function(r,l,c){if(u(r),l=n(l,!0),u(c),o)try{return s(r,l,c)}catch{}if("get"in c||"set"in c)throw TypeError("Accessors not supported");return"value"in c&&(r[l]=c.value),r}},"9ed3":function(m,p,d){var f=d("ae93").IteratorPrototype,o=d("7c73"),u=d("5c6c"),n=d("d44e"),s=d("3f8c"),i=function(){return this};m.exports=function(r,l,c){var g=l+" Iterator";return r.prototype=o(f,{next:u(1,c)}),n(r,g,!1,!0),s[g]=i,r}},"9f7f":function(m,p,d){var f=d("d039");function o(u,n){return RegExp(u,n)}p.UNSUPPORTED_Y=f(function(){var u=o("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),p.BROKEN_CARET=f(function(){var u=o("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(m,p,d){var f=d("e8b5"),o=d("50c4"),u=d("0366"),n=function(s,i,r,l,c,g,v,b){for(var _=c,x=0,w=v?u(v,b,3):!1,C;x<l;){if(x in r){if(C=w?w(r[x],x,i):r[x],g>0&&f(C))_=n(s,i,C,o(C.length),_,g-1)-1;else{if(_>=9007199254740991)throw TypeError("Exceed the acceptable array length");s[_]=C}_++}x++}return _};m.exports=n},a352:function(m,p){m.exports=h},a434:function(m,p,d){var f=d("23e7"),o=d("23cb"),u=d("a691"),n=d("50c4"),s=d("7b0b"),i=d("65f0"),r=d("8418"),l=d("1dde"),c=d("ae40"),g=l("splice"),v=c("splice",{ACCESSORS:!0,0:0,1:2}),b=Math.max,_=Math.min,x=9007199254740991,w="Maximum allowed length exceeded";f({target:"Array",proto:!0,forced:!g||!v},{splice:function(M,D){var N=s(this),S=n(N.length),L=o(M,S),k=arguments.length,T,E,I,O,B,V;if(k===0?T=E=0:k===1?(T=0,E=S-L):(T=k-2,E=_(b(u(D),0),S-L)),S+T-E>x)throw TypeError(w);for(I=i(N,E),O=0;O<E;O++)B=L+O,B in N&&r(I,O,N[B]);if(I.length=E,T<E){for(O=L;O<S-E;O++)B=O+E,V=O+T,B in N?N[V]=N[B]:delete N[V];for(O=S;O>S-E+T;O--)delete N[O-1]}else if(T>E)for(O=S-E;O>L;O--)B=O+E-1,V=O+T-1,B in N?N[V]=N[B]:delete N[V];for(O=0;O<T;O++)N[O+L]=arguments[O+2];return N.length=S-E+T,I}})},a4d3:function(m,p,d){var f=d("23e7"),o=d("da84"),u=d("d066"),n=d("c430"),s=d("83ab"),i=d("4930"),r=d("fdbf"),l=d("d039"),c=d("5135"),g=d("e8b5"),v=d("861d"),b=d("825a"),_=d("7b0b"),x=d("fc6a"),w=d("c04e"),C=d("5c6c"),M=d("7c73"),D=d("df75"),N=d("241c"),S=d("057f"),L=d("7418"),k=d("06cf"),T=d("9bf2"),E=d("d1e7"),I=d("9112"),O=d("6eeb"),B=d("5692"),V=d("f772"),P=d("d012"),$=d("90e3"),R=d("b622"),z=d("e538"),j=d("746f"),U=d("d44e"),G=d("69f3"),H=d("b727").forEach,K=V("hidden"),Y="Symbol",J="prototype",ee=R("toPrimitive"),de=G.set,ye=G.getterFor(Y),xe=Object[J],_e=o.Symbol,Ce=u("JSON","stringify"),$e=k.f,Re=T.f,ae=S.f,ue=E.f,be=B("symbols"),ve=B("op-symbols"),fe=B("string-to-symbol-registry"),Ie=B("symbol-to-string-registry"),De=B("wks"),Ne=o.QObject,it=!Ne||!Ne[J]||!Ne[J].findChild,ot=s&&l(function(){return M(Re({},"a",{get:function(){return Re(this,"a",{value:7}).a}})).a!=7})?function(Le,Se,Te){var He=$e(xe,Se);He&&delete xe[Se],Re(Le,Se,Te),He&&Le!==xe&&Re(xe,Se,He)}:Re,Ke=function(Le,Se){var Te=be[Le]=M(_e[J]);return de(Te,{type:Y,tag:Le,description:Se}),s||(Te.description=Se),Te},re=r?function(Le){return typeof Le=="symbol"}:function(Le){return Object(Le)instanceof _e},ne=function(Se,Te,He){Se===xe&&ne(ve,Te,He),b(Se);var Ge=w(Te,!0);return b(He),c(be,Ge)?(He.enumerable?(c(Se,K)&&Se[K][Ge]&&(Se[K][Ge]=!1),He=M(He,{enumerable:C(0,!1)})):(c(Se,K)||Re(Se,K,C(1,{})),Se[K][Ge]=!0),ot(Se,Ge,He)):Re(Se,Ge,He)},se=function(Se,Te){b(Se);var He=x(Te),Ge=D(He).concat(Ze(He));return H(Ge,function(bt){(!s||Ae.call(He,bt))&&ne(Se,bt,He[bt])}),Se},ge=function(Se,Te){return Te===void 0?M(Se):se(M(Se),Te)},Ae=function(Se){var Te=w(Se,!0),He=ue.call(this,Te);return this===xe&&c(be,Te)&&!c(ve,Te)?!1:He||!c(this,Te)||!c(be,Te)||c(this,K)&&this[K][Te]?He:!0},ke=function(Se,Te){var He=x(Se),Ge=w(Te,!0);if(!(He===xe&&c(be,Ge)&&!c(ve,Ge))){var bt=$e(He,Ge);return bt&&c(be,Ge)&&!(c(He,K)&&He[K][Ge])&&(bt.enumerable=!0),bt}},Ve=function(Se){var Te=ae(x(Se)),He=[];return H(Te,function(Ge){!c(be,Ge)&&!c(P,Ge)&&He.push(Ge)}),He},Ze=function(Se){var Te=Se===xe,He=ae(Te?ve:x(Se)),Ge=[];return H(He,function(bt){c(be,bt)&&(!Te||c(xe,bt))&&Ge.push(be[bt])}),Ge};if(i||(_e=function(){if(this instanceof _e)throw TypeError("Symbol is not a constructor");var Se=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Te=$(Se),He=function(Ge){this===xe&&He.call(ve,Ge),c(this,K)&&c(this[K],Te)&&(this[K][Te]=!1),ot(this,Te,C(1,Ge))};return s&&it&&ot(xe,Te,{configurable:!0,set:He}),Ke(Te,Se)},O(_e[J],"toString",function(){return ye(this).tag}),O(_e,"withoutSetter",function(Le){return Ke($(Le),Le)}),E.f=Ae,T.f=ne,k.f=ke,N.f=S.f=Ve,L.f=Ze,z.f=function(Le){return Ke(R(Le),Le)},s&&(Re(_e[J],"description",{configurable:!0,get:function(){return ye(this).description}}),n||O(xe,"propertyIsEnumerable",Ae,{unsafe:!0}))),f({global:!0,wrap:!0,forced:!i,sham:!i},{Symbol:_e}),H(D(De),function(Le){j(Le)}),f({target:Y,stat:!0,forced:!i},{for:function(Le){var Se=String(Le);if(c(fe,Se))return fe[Se];var Te=_e(Se);return fe[Se]=Te,Ie[Te]=Se,Te},keyFor:function(Se){if(!re(Se))throw TypeError(Se+" is not a symbol");if(c(Ie,Se))return Ie[Se]},useSetter:function(){it=!0},useSimple:function(){it=!1}}),f({target:"Object",stat:!0,forced:!i,sham:!s},{create:ge,defineProperty:ne,defineProperties:se,getOwnPropertyDescriptor:ke}),f({target:"Object",stat:!0,forced:!i},{getOwnPropertyNames:Ve,getOwnPropertySymbols:Ze}),f({target:"Object",stat:!0,forced:l(function(){L.f(1)})},{getOwnPropertySymbols:function(Se){return L.f(_(Se))}}),Ce){var rt=!i||l(function(){var Le=_e();return Ce([Le])!="[null]"||Ce({a:Le})!="{}"||Ce(Object(Le))!="{}"});f({target:"JSON",stat:!0,forced:rt},{stringify:function(Se,Te,He){for(var Ge=[Se],bt=1,_n;arguments.length>bt;)Ge.push(arguments[bt++]);if(_n=Te,!(!v(Te)&&Se===void 0||re(Se)))return g(Te)||(Te=function(Gn,tn){if(typeof _n=="function"&&(tn=_n.call(this,Gn,tn)),!re(tn))return tn}),Ge[1]=Te,Ce.apply(null,Ge)}})}_e[J][ee]||I(_e[J],ee,_e[J].valueOf),U(_e,Y),P[K]=!0},a630:function(m,p,d){var f=d("23e7"),o=d("4df4"),u=d("1c7e"),n=!u(function(s){Array.from(s)});f({target:"Array",stat:!0,forced:n},{from:o})},a640:function(m,p,d){var f=d("d039");m.exports=function(o,u){var n=[][o];return!!n&&f(function(){n.call(null,u||function(){throw 1},1)})}},a691:function(m,p){var d=Math.ceil,f=Math.floor;m.exports=function(o){return isNaN(o=+o)?0:(o>0?f:d)(o)}},ab13:function(m,p,d){var f=d("b622"),o=f("match");m.exports=function(u){var n=/./;try{"/./"[u](n)}catch{try{return n[o]=!1,"/./"[u](n)}catch{}}return!1}},ac1f:function(m,p,d){var f=d("23e7"),o=d("9263");f({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(m,p,d){var f=d("825a");m.exports=function(){var o=f(this),u="";return o.global&&(u+="g"),o.ignoreCase&&(u+="i"),o.multiline&&(u+="m"),o.dotAll&&(u+="s"),o.unicode&&(u+="u"),o.sticky&&(u+="y"),u}},ae40:function(m,p,d){var f=d("83ab"),o=d("d039"),u=d("5135"),n=Object.defineProperty,s={},i=function(r){throw r};m.exports=function(r,l){if(u(s,r))return s[r];l||(l={});var c=[][r],g=u(l,"ACCESSORS")?l.ACCESSORS:!1,v=u(l,0)?l[0]:i,b=u(l,1)?l[1]:void 0;return s[r]=!!c&&!o(function(){if(g&&!f)return!0;var _={length:-1};g?n(_,1,{enumerable:!0,get:i}):_[1]=1,c.call(_,v,b)})}},ae93:function(m,p,d){var f=d("e163"),o=d("9112"),u=d("5135"),n=d("b622"),s=d("c430"),i=n("iterator"),r=!1,l=function(){return this},c,g,v;[].keys&&(v=[].keys(),"next"in v?(g=f(f(v)),g!==Object.prototype&&(c=g)):r=!0),c==null&&(c={}),!s&&!u(c,i)&&o(c,i,l),m.exports={IteratorPrototype:c,BUGGY_SAFARI_ITERATORS:r}},b041:function(m,p,d){var f=d("00ee"),o=d("f5df");m.exports=f?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(m,p,d){var f=d("83ab"),o=d("9bf2").f,u=Function.prototype,n=u.toString,s=/^\s*function ([^ (]*)/,i="name";f&&!(i in u)&&o(u,i,{configurable:!0,get:function(){try{return n.call(this).match(s)[1]}catch{return""}}})},b622:function(m,p,d){var f=d("da84"),o=d("5692"),u=d("5135"),n=d("90e3"),s=d("4930"),i=d("fdbf"),r=o("wks"),l=f.Symbol,c=i?l:l&&l.withoutSetter||n;m.exports=function(g){return u(r,g)||(s&&u(l,g)?r[g]=l[g]:r[g]=c("Symbol."+g)),r[g]}},b64b:function(m,p,d){var f=d("23e7"),o=d("7b0b"),u=d("df75"),n=d("d039"),s=n(function(){u(1)});f({target:"Object",stat:!0,forced:s},{keys:function(r){return u(o(r))}})},b727:function(m,p,d){var f=d("0366"),o=d("44ad"),u=d("7b0b"),n=d("50c4"),s=d("65f0"),i=[].push,r=function(l){var c=l==1,g=l==2,v=l==3,b=l==4,_=l==6,x=l==5||_;return function(w,C,M,D){for(var N=u(w),S=o(N),L=f(C,M,3),k=n(S.length),T=0,E=D||s,I=c?E(w,k):g?E(w,0):void 0,O,B;k>T;T++)if((x||T in S)&&(O=S[T],B=L(O,T,N),l)){if(c)I[T]=B;else if(B)switch(l){case 3:return!0;case 5:return O;case 6:return T;case 2:i.call(I,O)}else if(b)return!1}return _?-1:v||b?b:I}};m.exports={forEach:r(0),map:r(1),filter:r(2),some:r(3),every:r(4),find:r(5),findIndex:r(6)}},c04e:function(m,p,d){var f=d("861d");m.exports=function(o,u){if(!f(o))return o;var n,s;if(u&&typeof(n=o.toString)=="function"&&!f(s=n.call(o))||typeof(n=o.valueOf)=="function"&&!f(s=n.call(o))||!u&&typeof(n=o.toString)=="function"&&!f(s=n.call(o)))return s;throw TypeError("Can't convert object to primitive value")}},c430:function(m,p){m.exports=!1},c6b6:function(m,p){var d={}.toString;m.exports=function(f){return d.call(f).slice(8,-1)}},c6cd:function(m,p,d){var f=d("da84"),o=d("ce4e"),u="__core-js_shared__",n=f[u]||o(u,{});m.exports=n},c740:function(m,p,d){var f=d("23e7"),o=d("b727").findIndex,u=d("44d2"),n=d("ae40"),s="findIndex",i=!0,r=n(s);s in[]&&Array(1)[s](function(){i=!1}),f({target:"Array",proto:!0,forced:i||!r},{findIndex:function(c){return o(this,c,arguments.length>1?arguments[1]:void 0)}}),u(s)},c8ba:function(m,p){var d;d=function(){return this}();try{d=d||new Function("return this")()}catch{typeof window=="object"&&(d=window)}m.exports=d},c975:function(m,p,d){var f=d("23e7"),o=d("4d64").indexOf,u=d("a640"),n=d("ae40"),s=[].indexOf,i=!!s&&1/[1].indexOf(1,-0)<0,r=u("indexOf"),l=n("indexOf",{ACCESSORS:!0,1:0});f({target:"Array",proto:!0,forced:i||!r||!l},{indexOf:function(g){return i?s.apply(this,arguments)||0:o(this,g,arguments.length>1?arguments[1]:void 0)}})},ca84:function(m,p,d){var f=d("5135"),o=d("fc6a"),u=d("4d64").indexOf,n=d("d012");m.exports=function(s,i){var r=o(s),l=0,c=[],g;for(g in r)!f(n,g)&&f(r,g)&&c.push(g);for(;i.length>l;)f(r,g=i[l++])&&(~u(c,g)||c.push(g));return c}},caad:function(m,p,d){var f=d("23e7"),o=d("4d64").includes,u=d("44d2"),n=d("ae40"),s=n("indexOf",{ACCESSORS:!0,1:0});f({target:"Array",proto:!0,forced:!s},{includes:function(r){return o(this,r,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(m,p,d){var f=d("da84"),o=d("861d"),u=f.document,n=o(u)&&o(u.createElement);m.exports=function(s){return n?u.createElement(s):{}}},ce4e:function(m,p,d){var f=d("da84"),o=d("9112");m.exports=function(u,n){try{o(f,u,n)}catch{f[u]=n}return n}},d012:function(m,p){m.exports={}},d039:function(m,p){m.exports=function(d){try{return!!d()}catch{return!0}}},d066:function(m,p,d){var f=d("428f"),o=d("da84"),u=function(n){return typeof n=="function"?n:void 0};m.exports=function(n,s){return arguments.length<2?u(f[n])||u(o[n]):f[n]&&f[n][s]||o[n]&&o[n][s]}},d1e7:function(m,p,d){var f={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,u=o&&!f.call({1:2},1);p.f=u?function(s){var i=o(this,s);return!!i&&i.enumerable}:f},d28b:function(m,p,d){var f=d("746f");f("iterator")},d2bb:function(m,p,d){var f=d("825a"),o=d("3bbe");m.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,n={},s;try{s=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,s.call(n,[]),u=n instanceof Array}catch{}return function(r,l){return f(r),o(l),u?s.call(r,l):r.__proto__=l,r}}():void 0)},d3b7:function(m,p,d){var f=d("00ee"),o=d("6eeb"),u=d("b041");f||o(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(m,p,d){var f=d("9bf2").f,o=d("5135"),u=d("b622"),n=u("toStringTag");m.exports=function(s,i,r){s&&!o(s=r?s:s.prototype,n)&&f(s,n,{configurable:!0,value:i})}},d58f:function(m,p,d){var f=d("1c0b"),o=d("7b0b"),u=d("44ad"),n=d("50c4"),s=function(i){return function(r,l,c,g){f(l);var v=o(r),b=u(v),_=n(v.length),x=i?_-1:0,w=i?-1:1;if(c<2)for(;;){if(x in b){g=b[x],x+=w;break}if(x+=w,i?x<0:_<=x)throw TypeError("Reduce of empty array with no initial value")}for(;i?x>=0:_>x;x+=w)x in b&&(g=l(g,b[x],x,v));return g}};m.exports={left:s(!1),right:s(!0)}},d784:function(m,p,d){d("ac1f");var f=d("6eeb"),o=d("d039"),u=d("b622"),n=d("9263"),s=d("9112"),i=u("species"),r=!o(function(){var b=/./;return b.exec=function(){var _=[];return _.groups={a:"7"},_},"".replace(b,"$<a>")!=="7"}),l=function(){return"a".replace(/./,"$0")==="$0"}(),c=u("replace"),g=function(){return/./[c]?/./[c]("a","$0")==="":!1}(),v=!o(function(){var b=/(?:)/,_=b.exec;b.exec=function(){return _.apply(this,arguments)};var x="ab".split(b);return x.length!==2||x[0]!=="a"||x[1]!=="b"});m.exports=function(b,_,x,w){var C=u(b),M=!o(function(){var T={};return T[C]=function(){return 7},""[b](T)!=7}),D=M&&!o(function(){var T=!1,E=/a/;return b==="split"&&(E={},E.constructor={},E.constructor[i]=function(){return E},E.flags="",E[C]=/./[C]),E.exec=function(){return T=!0,null},E[C](""),!T});if(!M||!D||b==="replace"&&!(r&&l&&!g)||b==="split"&&!v){var N=/./[C],S=x(C,""[b],function(T,E,I,O,B){return E.exec===n?M&&!B?{done:!0,value:N.call(E,I,O)}:{done:!0,value:T.call(I,E,O)}:{done:!1}},{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:g}),L=S[0],k=S[1];f(String.prototype,b,L),f(RegExp.prototype,C,_==2?function(T,E){return k.call(T,this,E)}:function(T){return k.call(T,this)})}w&&s(RegExp.prototype[C],"sham",!0)}},d81d:function(m,p,d){var f=d("23e7"),o=d("b727").map,u=d("1dde"),n=d("ae40"),s=u("map"),i=n("map");f({target:"Array",proto:!0,forced:!s||!i},{map:function(l){return o(this,l,arguments.length>1?arguments[1]:void 0)}})},da84:function(m,p,d){(function(f){var o=function(u){return u&&u.Math==Math&&u};m.exports=o(typeof globalThis=="object"&&globalThis)||o(typeof window=="object"&&window)||o(typeof self=="object"&&self)||o(typeof f=="object"&&f)||Function("return this")()}).call(this,d("c8ba"))},dbb4:function(m,p,d){var f=d("23e7"),o=d("83ab"),u=d("56ef"),n=d("fc6a"),s=d("06cf"),i=d("8418");f({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(l){for(var c=n(l),g=s.f,v=u(c),b={},_=0,x,w;v.length>_;)w=g(c,x=v[_++]),w!==void 0&&i(b,x,w);return b}})},dbf1:function(m,p,d){(function(f){d.d(p,"a",function(){return u});function o(){return typeof window!="undefined"?window.console:f.console}var u=o()}).call(this,d("c8ba"))},ddb0:function(m,p,d){var f=d("da84"),o=d("fdbc"),u=d("e260"),n=d("9112"),s=d("b622"),i=s("iterator"),r=s("toStringTag"),l=u.values;for(var c in o){var g=f[c],v=g&&g.prototype;if(v){if(v[i]!==l)try{n(v,i,l)}catch{v[i]=l}if(v[r]||n(v,r,c),o[c]){for(var b in u)if(v[b]!==u[b])try{n(v,b,u[b])}catch{v[b]=u[b]}}}}},df75:function(m,p,d){var f=d("ca84"),o=d("7839");m.exports=Object.keys||function(n){return f(n,o)}},e01a:function(m,p,d){var f=d("23e7"),o=d("83ab"),u=d("da84"),n=d("5135"),s=d("861d"),i=d("9bf2").f,r=d("e893"),l=u.Symbol;if(o&&typeof l=="function"&&(!("description"in l.prototype)||l().description!==void 0)){var c={},g=function(){var C=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),M=this instanceof g?new l(C):C===void 0?l():l(C);return C===""&&(c[M]=!0),M};r(g,l);var v=g.prototype=l.prototype;v.constructor=g;var b=v.toString,_=String(l("test"))=="Symbol(test)",x=/^Symbol\((.*)\)[^)]+$/;i(v,"description",{configurable:!0,get:function(){var C=s(this)?this.valueOf():this,M=b.call(C);if(n(c,C))return"";var D=_?M.slice(7,-1):M.replace(x,"$1");return D===""?void 0:D}}),f({global:!0,forced:!0},{Symbol:g})}},e163:function(m,p,d){var f=d("5135"),o=d("7b0b"),u=d("f772"),n=d("e177"),s=u("IE_PROTO"),i=Object.prototype;m.exports=n?Object.getPrototypeOf:function(r){return r=o(r),f(r,s)?r[s]:typeof r.constructor=="function"&&r instanceof r.constructor?r.constructor.prototype:r instanceof Object?i:null}},e177:function(m,p,d){var f=d("d039");m.exports=!f(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},e260:function(m,p,d){var f=d("fc6a"),o=d("44d2"),u=d("3f8c"),n=d("69f3"),s=d("7dd0"),i="Array Iterator",r=n.set,l=n.getterFor(i);m.exports=s(Array,"Array",function(c,g){r(this,{type:i,target:f(c),index:0,kind:g})},function(){var c=l(this),g=c.target,v=c.kind,b=c.index++;return!g||b>=g.length?(c.target=void 0,{value:void 0,done:!0}):v=="keys"?{value:b,done:!1}:v=="values"?{value:g[b],done:!1}:{value:[b,g[b]],done:!1}},"values"),u.Arguments=u.Array,o("keys"),o("values"),o("entries")},e439:function(m,p,d){var f=d("23e7"),o=d("d039"),u=d("fc6a"),n=d("06cf").f,s=d("83ab"),i=o(function(){n(1)}),r=!s||i;f({target:"Object",stat:!0,forced:r,sham:!s},{getOwnPropertyDescriptor:function(c,g){return n(u(c),g)}})},e538:function(m,p,d){var f=d("b622");p.f=f},e893:function(m,p,d){var f=d("5135"),o=d("56ef"),u=d("06cf"),n=d("9bf2");m.exports=function(s,i){for(var r=o(i),l=n.f,c=u.f,g=0;g<r.length;g++){var v=r[g];f(s,v)||l(s,v,c(i,v))}}},e8b5:function(m,p,d){var f=d("c6b6");m.exports=Array.isArray||function(u){return f(u)=="Array"}},e95a:function(m,p,d){var f=d("b622"),o=d("3f8c"),u=f("iterator"),n=Array.prototype;m.exports=function(s){return s!==void 0&&(o.Array===s||n[u]===s)}},f5df:function(m,p,d){var f=d("00ee"),o=d("c6b6"),u=d("b622"),n=u("toStringTag"),s=o(function(){return arguments}())=="Arguments",i=function(r,l){try{return r[l]}catch{}};m.exports=f?o:function(r){var l,c,g;return r===void 0?"Undefined":r===null?"Null":typeof(c=i(l=Object(r),n))=="string"?c:s?o(l):(g=o(l))=="Object"&&typeof l.callee=="function"?"Arguments":g}},f772:function(m,p,d){var f=d("5692"),o=d("90e3"),u=f("keys");m.exports=function(n){return u[n]||(u[n]=o(n))}},fb15:function(m,p,d){if(d.r(p),typeof window!="undefined"){var f=window.document.currentScript;{var o=d("8875");f=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o})}var u=f&&f.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(d.p=u[1])}d("99af"),d("4de4"),d("4160"),d("c975"),d("d81d"),d("a434"),d("159b"),d("a4d3"),d("e439"),d("dbb4"),d("b64b");function n(re,ne,se){return ne in re?Object.defineProperty(re,ne,{value:se,enumerable:!0,configurable:!0,writable:!0}):re[ne]=se,re}function s(re,ne){var se=Object.keys(re);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(re);ne&&(ge=ge.filter(function(Ae){return Object.getOwnPropertyDescriptor(re,Ae).enumerable})),se.push.apply(se,ge)}return se}function i(re){for(var ne=1;ne<arguments.length;ne++){var se=arguments[ne]!=null?arguments[ne]:{};ne%2?s(Object(se),!0).forEach(function(ge){n(re,ge,se[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(re,Object.getOwnPropertyDescriptors(se)):s(Object(se)).forEach(function(ge){Object.defineProperty(re,ge,Object.getOwnPropertyDescriptor(se,ge))})}return re}function r(re){if(Array.isArray(re))return re}d("e01a"),d("d28b"),d("e260"),d("d3b7"),d("3ca3"),d("ddb0");function l(re,ne){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(re)))){var se=[],ge=!0,Ae=!1,ke=void 0;try{for(var Ve=re[Symbol.iterator](),Ze;!(ge=(Ze=Ve.next()).done)&&(se.push(Ze.value),!(ne&&se.length===ne));ge=!0);}catch(rt){Ae=!0,ke=rt}finally{try{!ge&&Ve.return!=null&&Ve.return()}finally{if(Ae)throw ke}}return se}}d("a630"),d("fb6a"),d("b0c0"),d("25f0");function c(re,ne){(ne==null||ne>re.length)&&(ne=re.length);for(var se=0,ge=new Array(ne);se<ne;se++)ge[se]=re[se];return ge}function g(re,ne){if(!!re){if(typeof re=="string")return c(re,ne);var se=Object.prototype.toString.call(re).slice(8,-1);if(se==="Object"&&re.constructor&&(se=re.constructor.name),se==="Map"||se==="Set")return Array.from(re);if(se==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(se))return c(re,ne)}}function v(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1679
1679
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b(re,ne){return r(re)||l(re,ne)||g(re,ne)||v()}function _(re){if(Array.isArray(re))return c(re)}function x(re){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(re))return Array.from(re)}function w(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1680
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(re){return _(re)||x(re)||g(re)||w()}var M=d("a352"),D=d.n(M);function N(re){re.parentElement!==null&&re.parentElement.removeChild(re)}function S(re,ne,se){var ge=se===0?re.children[0]:re.children[se-1].nextSibling;re.insertBefore(ne,ge)}var L=d("dbf1");d("13d5"),d("4fad"),d("ac1f"),d("5319");function k(re){var ne=Object.create(null);return function(ge){var Ae=ne[ge];return Ae||(ne[ge]=re(ge))}}var T=/-(\w)/g,E=k(function(re){return re.replace(T,function(ne,se){return se.toUpperCase()})});d("5db7"),d("73d9");var I=["Start","Add","Remove","Update","End"],O=["Choose","Unchoose","Sort","Filter","Clone"],B=["Move"],V=[B,I,O].flatMap(function(re){return re}).map(function(re){return"on".concat(re)}),P={manage:B,manageAndEmit:I,emit:O};function $(re){return V.indexOf(re)!==-1}d("caad"),d("2ca0");var R=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function z(re){return R.includes(re)}function j(re){return["transition-group","TransitionGroup"].includes(re)}function U(re){return["id","class","role","style"].includes(re)||re.startsWith("data-")||re.startsWith("aria-")||re.startsWith("on")}function G(re){return re.reduce(function(ne,se){var ge=b(se,2),Ae=ge[0],ke=ge[1];return ne[Ae]=ke,ne},{})}function H(re){var ne=re.$attrs,se=re.componentData,ge=se===void 0?{}:se,Ae=G(Object.entries(ne).filter(function(ke){var Ve=b(ke,2),Ze=Ve[0];return Ve[1],U(Ze)}));return i(i({},Ae),ge)}function K(re){var ne=re.$attrs,se=re.callBackBuilder,ge=G(Y(ne));Object.entries(se).forEach(function(ke){var Ve=b(ke,2),Ze=Ve[0],rt=Ve[1];P[Ze].forEach(function(Le){ge["on".concat(Le)]=rt(Le)})});var Ae="[data-draggable]".concat(ge.draggable||"");return i(i({},ge),{},{draggable:Ae})}function Y(re){return Object.entries(re).filter(function(ne){var se=b(ne,2),ge=se[0];return se[1],!U(ge)}).map(function(ne){var se=b(ne,2),ge=se[0],Ae=se[1];return[E(ge),Ae]}).filter(function(ne){var se=b(ne,2),ge=se[0];return se[1],!$(ge)})}d("c740");function J(re,ne){if(!(re instanceof ne))throw new TypeError("Cannot call a class as a function")}function ee(re,ne){for(var se=0;se<ne.length;se++){var ge=ne[se];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(re,ge.key,ge)}}function de(re,ne,se){return ne&&ee(re.prototype,ne),se&&ee(re,se),re}var ye=function(ne){var se=ne.el||Array.isArray(ne.children)&&ne.children[0].el.parentNode;return se||console.error("\u4F7F\u7528 transition-group , \u9700\u8981\u5728slot\u4E2Dtemplate\u5185\u81F3\u5C112\u5C42html\u6807\u7B7E"),se||{}},xe=function(ne,se){return ne.__draggable_context=se},_e=function(ne){return ne.__draggable_context},Ce=function(){function re(ne){var se=ne.nodes,ge=se.header,Ae=se.default,ke=se.footer,Ve=ne.root,Ze=ne.realList;J(this,re),this.defaultNodes=Ae,this.children=[].concat(C(ge),C(Ae),C(ke)),this.externalComponent=Ve.externalComponent,this.rootTransition=Ve.transition,this.tag=Ve.tag,this.realList=Ze}return de(re,[{key:"render",value:function(se,ge){var Ae=this.tag,ke=this.children,Ve=this._isRootComponent,Ze=Ve?{default:function(){return ke}}:ke;return se(Ae,ge,Ze)}},{key:"updated",value:function(){var se=this.defaultNodes,ge=this.realList;se.forEach(function(Ae,ke){xe(ye(Ae),{element:ge[ke],index:ke})})}},{key:"getUnderlyingVm",value:function(se){return _e(se)}},{key:"getVmIndexFromDomIndex",value:function(se,ge){var Ae=this.defaultNodes,ke=Ae.length,Ve=ge.children,Ze=Ve.item(se);if(Ze===null)return ke;var rt=_e(Ze);if(rt)return rt.index;if(ke===0)return 0;var Le=ye(Ae[0]),Se=C(Ve).findIndex(function(Te){return Te===Le});return se<Se?0:ke}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),re}(),$e=d("8bbf");function Re(re,ne){var se=re[ne];return se?se():[]}function ae(re){var ne=re.$slots,se=re.realList,ge=re.getKey,Ae=se||[],ke=["header","footer"].map(function(Te){return Re(ne,Te)}),Ve=b(ke,2),Ze=Ve[0],rt=Ve[1],Le=ne.item;if(!Le)throw new Error("draggable element must have an item slot");var Se=Ae.flatMap(function(Te,He){return Le({element:Te,index:He}).map(function(Ge){return Ge.key=ge(Te),Ge.props=i(i({},Ge.props||{}),{},{"data-draggable":!0}),Ge})});if(Se.length!==Ae.length)throw new Error("Item slot must have only one child");return{header:Ze,footer:rt,default:Se}}function ue(re){var ne=j(re),se=!z(re)&&!ne;return{transition:ne,externalComponent:se,tag:se?Object($e.resolveComponent)(re):ne?$e.TransitionGroup:re}}function be(re){var ne=re.$slots,se=re.tag,ge=re.realList,Ae=re.getKey,ke=ae({$slots:ne,realList:ge,getKey:Ae}),Ve=ue(se);return new Ce({nodes:ke,root:Ve,realList:ge})}function ve(re,ne){var se=this;Object($e.nextTick)(function(){return se.$emit(re.toLowerCase(),ne)})}function fe(re){var ne=this;return function(se,ge){if(ne.realList!==null)return ne["onDrag".concat(re)](se,ge)}}function Ie(re){var ne=this,se=fe.call(this,re);return function(ge,Ae){se.call(ne,ge,Ae),ve.call(ne,re,ge)}}var De=null,Ne={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(ne){return ne}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},it=["update:modelValue","change"].concat(C([].concat(C(P.manageAndEmit),C(P.emit)).map(function(re){return re.toLowerCase()}))),ot=Object($e.defineComponent)({name:"draggable",inheritAttrs:!1,props:Ne,emits:it,data:function(){return{error:!1}},render:function(){try{this.error=!1;var ne=this.$slots,se=this.$attrs,ge=this.tag,Ae=this.componentData,ke=this.realList,Ve=this.getKey,Ze=be({$slots:ne,tag:ge,realList:ke,getKey:Ve});this.componentStructure=Ze;var rt=H({$attrs:se,componentData:Ae});return Ze.render($e.h,rt)}catch(Le){return this.error=!0,Object($e.h)("pre",{style:{color:"red"}},Le.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&L.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var ne=this;if(!this.error){var se=this.$attrs,ge=this.$el,Ae=this.componentStructure;Ae.updated();var ke=K({$attrs:se,callBackBuilder:{manageAndEmit:function(rt){return Ie.call(ne,rt)},emit:function(rt){return ve.bind(ne,rt)},manage:function(rt){return fe.call(ne,rt)}}}),Ve=ge.nodeType===1?ge:ge.parentElement;this._sortable=new D.a(Ve,ke),this.targetDomElement=Ve,Ve.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var ne=this.list;return ne||this.modelValue},getKey:function(){var ne=this.itemKey;return typeof ne=="function"?ne:function(se){return se[ne]}}},watch:{$attrs:{handler:function(ne){var se=this._sortable;!se||Y(ne).forEach(function(ge){var Ae=b(ge,2),ke=Ae[0],Ve=Ae[1];se.option(ke,Ve)})},deep:!0}},methods:{getUnderlyingVm:function(ne){return this.componentStructure.getUnderlyingVm(ne)||null},getUnderlyingPotencialDraggableComponent:function(ne){return ne.__draggable_component__},emitChanges:function(ne){var se=this;Object($e.nextTick)(function(){return se.$emit("change",ne)})},alterList:function(ne){if(this.list){ne(this.list);return}var se=C(this.modelValue);ne(se),this.$emit("update:modelValue",se)},spliceList:function(){var ne=arguments,se=function(Ae){return Ae.splice.apply(Ae,C(ne))};this.alterList(se)},updatePosition:function(ne,se){var ge=function(ke){return ke.splice(se,0,ke.splice(ne,1)[0])};this.alterList(ge)},getRelatedContextFromMoveEvent:function(ne){var se=ne.to,ge=ne.related,Ae=this.getUnderlyingPotencialDraggableComponent(se);if(!Ae)return{component:Ae};var ke=Ae.realList,Ve={list:ke,component:Ae};if(se!==ge&&ke){var Ze=Ae.getUnderlyingVm(ge)||{};return i(i({},Ze),Ve)}return Ve},getVmIndexFromDomIndex:function(ne){return this.componentStructure.getVmIndexFromDomIndex(ne,this.targetDomElement)},onDragStart:function(ne){this.context=this.getUnderlyingVm(ne.item),ne.item._underlying_vm_=this.clone(this.context.element),De=ne.item},onDragAdd:function(ne){var se=ne.item._underlying_vm_;if(se!==void 0){N(ne.item);var ge=this.getVmIndexFromDomIndex(ne.newIndex);this.spliceList(ge,0,se);var Ae={element:se,newIndex:ge};this.emitChanges({added:Ae})}},onDragRemove:function(ne){if(S(ne.from,ne.item,ne.oldIndex),ne.pullMode==="clone"){N(ne.clone);return}var se=this.context,ge=se.index,Ae=se.element;this.spliceList(ge,1);var ke={element:Ae,oldIndex:ge};this.emitChanges({removed:ke})},onDragUpdate:function(ne){N(ne.item),S(ne.from,ne.item,ne.oldIndex);var se=this.context.index,ge=this.getVmIndexFromDomIndex(ne.newIndex);this.updatePosition(se,ge);var Ae={element:this.context.element,oldIndex:se,newIndex:ge};this.emitChanges({moved:Ae})},computeFutureIndex:function(ne,se){if(!ne.element)return 0;var ge=C(se.to.children).filter(function(Ze){return Ze.style.display!=="none"}),Ae=ge.indexOf(se.related),ke=ne.component.getVmIndexFromDomIndex(Ae),Ve=ge.indexOf(De)!==-1;return Ve||!se.willInsertAfter?ke:ke+1},onDragMove:function(ne,se){var ge=this.move,Ae=this.realList;if(!ge||!Ae)return!0;var ke=this.getRelatedContextFromMoveEvent(ne),Ve=this.computeFutureIndex(ke,ne),Ze=i(i({},this.context),{},{futureIndex:Ve}),rt=i(i({},ne),{},{relatedContext:ke,draggedContext:Ze});return ge(rt,se)},onDragEnd:function(){De=null}}}),Ke=ot;p.default=Ke},fb6a:function(m,p,d){var f=d("23e7"),o=d("861d"),u=d("e8b5"),n=d("23cb"),s=d("50c4"),i=d("fc6a"),r=d("8418"),l=d("b622"),c=d("1dde"),g=d("ae40"),v=c("slice"),b=g("slice",{ACCESSORS:!0,0:0,1:2}),_=l("species"),x=[].slice,w=Math.max;f({target:"Array",proto:!0,forced:!v||!b},{slice:function(M,D){var N=i(this),S=s(N.length),L=n(M,S),k=n(D===void 0?S:D,S),T,E,I;if(u(N)&&(T=N.constructor,typeof T=="function"&&(T===Array||u(T.prototype))?T=void 0:o(T)&&(T=T[_],T===null&&(T=void 0)),T===Array||T===void 0))return x.call(N,L,k);for(E=new(T===void 0?Array:T)(w(k-L,0)),I=0;L<k;L++,I++)L in N&&r(E,I,N[L]);return E.length=I,E}})},fc6a:function(m,p,d){var f=d("44ad"),o=d("1d80");m.exports=function(u){return f(o(u))}},fdbc:function(m,p){m.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(m,p,d){var f=d("4930");m.exports=f&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(vuedraggable_umd);var VuedraggableCjs=getDefaultExportFromCjs(vuedraggable_umd.exports);function registerIcon(t){t.component("el-icon-edit",edit),t.component("el-icon-minus",minus),t.component("el-icon-plus",plus),t.component("el-icon-info",infoFilled),t.component("el-icon-search",search),t.component("el-icon-circle-plus-outline",circlePlus),t.component("el-icon-delete",_delete),t.component("el-icon-arrow-down",arrowDown),t.component("el-icon-arrow-up",arrowUp)}if(typeof window!="undefined"){let t=function(){var a=document.body,e=document.getElementById("__svg__icons__dom__1779871131656__");e||(e=document.createElementNS("http://www.w3.org/2000/svg","svg"),e.style.position="absolute",e.style.width="0",e.style.height="0",e.id="__svg__icons__dom__1779871131656__",e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),e.innerHTML='<symbol class="icon" viewBox="0 0 1024 1024" id="icon-alert"><path d="M512 85.163a319.573 319.573 0 0 1 319.83 309.333l.17 10.667v174.805l58.88 134.656a53.29 53.29 0 0 1-48.853 74.71L640 789.418a128 128 0 0 1-255.787 7.509l-.213-7.637-201.6.042a53.333 53.333 0 0 1-48.939-74.581L192 580.011V405.163c0-177.28 143.019-320 320-320zm64 704.17-128 .128a64 64 0 0 0 127.701 6.144l.256-6.272zm-64-640.17c-141.653 0-256 114.09-256 256v188.16l-57.344 132.01h627.072L768 593.365V405.717l-.17-9.6A255.488 255.488 0 0 0 512 149.163zM896 352h85.333a32 32 0 0 1 4.352 63.701l-4.352.299H896a32 32 0 0 1-4.352-63.701L896 352zm-853.333 0H128a32 32 0 0 1 4.352 63.701L128 416H42.667a32 32 0 0 1-4.352-63.701l4.352-.299zm921.6-243.2a32 32 0 0 1-2.816 41.685l-3.584 3.115-85.334 64a32 32 0 0 1-41.984-48.085l3.584-3.115 85.334-64a32 32 0 0 1 44.8 6.4zm-859.734-6.4 85.334 64a32 32 0 1 1-38.4 51.2l-85.334-64a32 32 0 1 1 38.4-51.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-button"><path d="M912 176v416H732.48v-32H880V208H144v352h175.488v32H112V176z" /><path d="m436.384 788.512.544 2.688a16 16 0 0 0 27.776 5.504l44.032-54.336 56.768 97.664a16 16 0 0 0 21.792 5.856l68.672-39.392 2.368-1.664a16 16 0 0 0 3.52-20.256l-55.904-96.16 68.8-12.064a16 16 0 0 0 6.464-28.8l-256-180.64a16 16 0 0 0-25.12 14.976l36.288 306.624z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-card"><path d="M858.656 864H165.344C109.472 864 64 818.56 64 762.688V261.312C64 205.44 109.472 160 165.344 160h693.312C914.528 160 960 205.44 960 261.312v501.376C960 818.56 914.528 864 858.656 864zM165.344 224C144.736 224 128 240.736 128 261.312v501.376C128 783.264 144.736 800 165.344 800h693.312C879.264 800 896 783.264 896 762.688V261.312C896 240.736 879.264 224 858.656 224H165.344zM800 416H224c-17.664 0-32-14.336-32-32s14.336-32 32-32h576c17.696 0 32 14.336 32 32s-14.304 32-32 32zM320 736h-96c-17.664 0-32-14.304-32-32s14.336-32 32-32h96c17.664 0 32 14.304 32 32s-14.336 32-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-cascader-field"><path d="M661.377 411.07v64.595H314.175v395.654H871.32V475.665h-48.447V411.07h48.447c35.675 0 64.595 28.92 64.595 64.595v395.654c0 35.675-28.92 64.595-64.595 64.595H314.175c-35.675 0-64.6-28.92-64.6-64.595V475.665c0-35.675 28.925-64.595 64.6-64.595h347.202zm48.448-322.984c35.675 0 64.6 28.92 64.6 64.595v403.73c0 35.676-28.925 64.595-64.6 64.595H362.623v-64.594h347.202V152.68H152.68v403.73h48.447v64.595H152.68c-35.675 0-64.595-28.92-64.595-64.594V152.68c0-35.675 28.92-64.595 64.595-64.595h557.144z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-checkbox-field"><path d="M897.94 896.77c6.259-6.278 10.257-14.835 10.257-24.531V147.672c0-9.118-3.998-18.235-10.257-24.533-6.277-6.258-14.815-9.696-24.51-9.696H149.644c-9.688 0-18.236 3.437-24.503 9.696-6.268 6.297-9.687 15.414-9.687 24.533V872.24c0 9.696 3.42 18.253 9.687 24.53 6.267 6.278 14.815 10.276 24.503 10.276h723.784c9.697 0 18.234-3.998 24.511-10.276zM149.645 61.52h723.784c23.933 0 45.586 9.697 60.98 25.111 15.397 15.974 25.073 37.666 25.073 61.04v724.567c0 23.97-9.676 45.643-25.073 61.056-15.394 15.396-37.047 25.093-60.98 25.093H149.645c-23.364 0-45.017-9.697-60.972-25.093-15.396-15.414-25.082-37.087-25.082-61.056V147.672c0-23.374 9.686-45.065 25.082-61.039 15.955-15.415 37.608-25.112 60.972-25.112z" /><path d="M417.42 698.27a23.556 23.556 0 0 1-16.668-6.9L259.5 550.12c-9.173-9.15-9.173-24.095 0-33.291 9.17-9.147 24.115-9.147 33.288 0l124.583 124.607 312.895-312.917c9.194-9.172 24.14-9.172 33.288 0 9.196 9.172 9.196 24.116 0 33.29L433.992 691.37c-4.618 4.645-10.643 6.9-16.666 6.9h.093z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-color-field"><path d="M619.52 490.667h-.853l-85.334-85.334h.854z" /><path d="M619.52 507.733h-.853a17.067 17.067 0 1 1 0-34.133c9.438 0 17.476 7.646 17.476 17.067s-7.185 17.066-16.623 17.066zM534.187 422.4c-9.438 0-17.494-7.646-17.494-17.067s7.202-17.066 16.64-17.066h.854a17.067 17.067 0 1 1 0 34.133zM192 866.133a34.133 34.133 0 0 1-24.132-58.265l42.666-42.667a34.133 34.133 0 1 1 48.265 48.265l-42.667 42.666A33.963 33.963 0 0 1 192 866.133z" /><path d="m619.52 490.667-.427-.427-84.906-84.907L746.667 192H832v85.333z" /><path d="M662.187 567.467a33.997 33.997 0 0 1-24.133-10.001L467.388 386.799a34.133 34.133 0 0 1 48.281-48.282l170.667 170.667a34.133 34.133 0 0 1-24.15 58.283z" /><path d="M320 806.4h-85.333a17.067 17.067 0 0 1-17.067-17.067V704c0-4.54 1.792-8.875 5-12.066L521.695 392.84a16.52 16.52 0 0 1 3.567-2.731l209.305-210.142a17.117 17.117 0 0 1 12.1-5.018H832a17.067 17.067 0 0 1 17.067 17.067v85.333a17.067 17.067 0 0 1-4.967 12.05L631.62 502.732a17.954 17.954 0 0 1-3.618 2.782L332.066 801.434A17.135 17.135 0 0 1 320 806.4zm-68.267-34.133h61.201l294.093-294.093a16.52 16.52 0 0 1 3.567-2.73l204.34-205.16v-61.217h-61.185L546.287 417.382a17.954 17.954 0 0 1-3.618 2.782L251.733 711.066v61.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-component"><path d="M811.008 335.872c-2.048-7.168-11.264-9.216-17.408-4.096L690.176 435.2c-8.192 8.192-20.48 8.192-28.672 0L588.8 362.496c-8.192-8.192-8.192-20.48 0-28.672l104.448-104.448c5.12-5.12 3.072-14.336-4.096-17.408-17.408-4.096-35.84-7.168-54.272-7.168-108.544 0-195.584 94.208-183.296 204.8 2.048 17.408 6.144 32.768 12.288 48.128L225.28 697.344c-27.648 27.648-27.648 73.728 0 101.376 14.336 14.336 32.768 21.504 51.2 21.504s36.864-7.168 51.2-21.504l238.592-238.592c15.36 6.144 31.744 10.24 48.128 12.288 111.616 12.288 204.8-74.752 204.8-183.296 0-18.432-3.072-36.864-8.192-53.248z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-data-table"><path d="M915.692 39.385H108.308c-15.754 0-29.539 13.784-29.539 29.538v98.462c0 15.753 13.785 29.538 29.539 29.538h807.384c15.754 0 29.539-13.785 29.539-29.538V68.923c0-15.754-13.785-29.538-29.539-29.538zM285.538 275.692h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zM285.538 472.615h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 669.538h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 866.462h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538z" /></symbol><symbol class="icon" viewBox="0 0 1132 1024" id="icon-date-field"><path d="M1023.995 1023.995H107.789C48.262 1023.995 0 975.732 0 916.205V188.63C0 129.105 48.262 80.843 107.789 80.843h80.842v53.894h-80.842c-29.777 0-53.895 24.118-53.895 53.895V296.42H1077.89V188.63c0-29.776-24.117-53.894-53.894-53.894h-80.842V80.842h80.842c59.526 0 107.789 48.262 107.789 107.789v727.575c0 59.526-48.263 107.789-107.79 107.789Zm53.894-673.681H53.894v565.892c0 29.777 24.118 53.894 53.895 53.894h916.206c29.777 0 53.894-24.117 53.894-53.894V350.314ZM794.943 628.086l-3.584 5.632c-3.314 6.306-7.087 12.153-11.237 17.731L646.734 861.476H589.12l98.358-160.875c-.108 0-.216.027-.324.027-66.963 0-121.262-60.335-121.262-134.736 0-74.401 54.299-134.736 121.262-134.736 66.964 0 121.263 60.335 121.263 134.736 0 22.42-5.39 43.25-14.12 61.844l.646.35ZM687.154 485.05c-37.214 0-67.368 36.19-67.368 80.842 0 44.651 30.154 80.842 67.368 80.842 19.052 0 36.164-9.567 48.425-24.819l9.781-16.006c5.66-11.83 9.163-25.385 9.163-40.017 0-44.652-30.154-80.842-67.369-80.842Zm-310.216 21.881-80.734 72.327v-66.991l82.405-80.41h52.062v429.727h-53.733V506.93Zm512.32-291.353c-14.874 0-26.947-12.072-26.947-26.947V26.947C862.311 12.072 874.384 0 889.26 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947ZM296.42 80.842h538.944v53.894H296.42V80.842Zm-53.895 134.736c-14.875 0-26.947-12.072-26.947-26.947V26.947C215.578 12.072 227.65 0 242.525 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947Z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-date-range-field"><path d="M887.467 192.853H786.773v-73.386c0-10.24-6.826-17.067-17.066-17.067s-17.067 6.827-17.067 17.067v73.386H303.787v-73.386c0-10.24-6.827-17.067-17.067-17.067s-17.067 6.827-17.067 17.067v73.386H168.96c-46.08 0-85.333 37.547-85.333 85.334v558.08c0 46.08 37.546 85.333 85.333 85.333h718.507c46.08 0 85.333-37.547 85.333-85.333v-558.08c0-47.787-37.547-85.334-85.333-85.334zM168.96 226.987h100.693v66.56c0 10.24 6.827 17.066 17.067 17.066s17.067-6.826 17.067-17.066v-66.56h450.56v66.56c0 10.24 6.826 17.066 17.066 17.066s17.067-6.826 17.067-17.066v-66.56h98.987c27.306 0 51.2 22.186 51.2 51.2v88.746H117.76v-88.746c0-29.014 22.187-51.2 51.2-51.2zm718.507 660.48H168.96c-27.307 0-51.2-22.187-51.2-51.2v-435.2h820.907v435.2c0 27.306-22.187 51.2-51.2 51.2z" /><path d="M858.453 493.227H327.68c-10.24 0-17.067 6.826-17.067 17.066V624.64H194.56c-10.24 0-17.067 6.827-17.067 17.067v133.12c0 10.24 6.827 17.066 17.067 17.066H460.8c10.24 0 17.067-6.826 17.067-17.066V660.48h380.586c10.24 0 17.067-6.827 17.067-17.067v-133.12c0-10.24-6.827-17.066-17.067-17.066zM445.44 527.36v97.28h-98.987v-97.28h98.987zm-230.4 131.413h98.987v98.987H215.04v-98.987zm131.413 97.28v-97.28h98.987v97.28h-98.987zm133.12-228.693h97.28v98.987h-97.28V527.36zm131.414 0h98.986v98.987h-98.986V527.36zm230.4 97.28H742.4v-98.987h98.987v98.987z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-divider"><path d="M62.5 491.773h899v74.918h-899v-74.918z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-document"><path d="M979.478 706.382a44.522 44.522 0 0 1-11.843 57.967l-4.363 2.85L569.478 995.06l-5.388 4.764a84.013 84.013 0 0 1-43.943 17.808l-8.102.401c-19.056 0-37.31-6.545-52.046-18.254l-5.432-4.72L60.817 767.2a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zm0-222.609a44.522 44.522 0 0 1-11.843 57.968l-4.363 2.849-393.794 227.862-5.388 4.764a84.013 84.013 0 0 1-43.943 17.809l-8.102.4c-19.056 0-37.31-6.544-52.046-18.254l-5.432-4.719L60.817 544.59a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zM512 0c18.788 0 36.864 6.1 51.645 17.185l4.586 3.74 403.5 199.68 5.61 6.144c32.501 35.44 32.501 89.89 0 125.329l-5.61 6.144-403.5 199.59-4.541 3.785a86.239 86.239 0 0 1-43.676 16.83l-8.014.356c-18.788 0-36.864-6.1-51.645-17.186l-4.63-3.784L52.269 358.222l-5.61-6.144a92.739 92.739 0 0 1 0-125.329l5.61-6.144 403.456-199.68 4.585-3.74C473 7.702 488.136 1.87 503.986.356z" fill="#008df0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-drag"><path d="M574.958 267.016h-63.454 204.649L511.213 63.655 307.85 267.016h141.191V456.68H258.688v125.917H449.04V772.95h125.917V582.596h188.875V456.679H574.958V267.016zm-63.704 693.33 189.62-187.396H323.126l188.129 187.395zM71.292 518.891l187.395 189.62v-377.75L71.292 518.892zm692.54-188.13v377.75L952.708 518.89 763.833 330.762z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-file-upload-field"><path d="m676.48 72.96 209.92 211.2 9.6 23.04V928l-32 32H160l-32-32V96l32-32h494.08l22.4 8.96zM640 320h192L640 128v192zM192 128v768h640V384H608l-32-32V128H192zm512 320H320v64h384v-64zM320 576h384v64H320v-64zm384 128H320v64h384v-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-github"><path d="M512 0C229.284 0 .142 234.943.142 524.868c0 231.829 146.647 428.553 350.068 497.952 25.593 4.82 34.977-11.389 34.977-25.294 0-12.455-.469-45.47-.725-89.277-142.382 31.735-172.453-70.38-172.453-70.38-23.247-60.57-56.817-76.694-56.817-76.694-46.493-32.588 3.54-31.948 3.54-31.948 51.357 3.71 78.358 54.086 78.358 54.086 45.683 80.191 119.817 57.072 148.993 43.594 4.65-33.911 17.915-57.03 32.503-70.168-113.675-13.223-233.151-58.224-233.151-259.341 0-57.285 19.92-104.163 52.678-140.846-5.246-13.266-22.82-66.627 4.991-138.884 0 0 42.996-14.076 140.76 53.787 40.864-11.644 84.628-17.445 128.179-17.659 43.465.214 87.271 6.015 128.135 17.66 97.68-67.907 140.59-53.788 140.59-53.788 27.939 72.257 10.408 125.618 5.119 138.884 32.844 36.683 52.593 83.56 52.593 140.846 0 201.587-119.647 245.99-233.663 258.957 18.341 16.21 34.72 48.2 34.72 97.21 0 70.168-.639 126.728-.639 143.96 0 14.034 9.214 30.371 35.19 25.21 203.25-69.528 349.77-266.124 349.77-497.867C1023.858 234.943 794.674 0 512 0" fill="#3E75C3" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-grid"><path d="M819.354 921.6h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 819.2v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 460.8v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V102.4h-102.4v102.4zM921.754 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 921.754 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM563.354 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 563.354 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM204.954 0h-102.4A102.4 102.4 0 0 0 .154 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 204.954 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-html-text"><path d="m137.6 512 204.8-204.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L70.4 489.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4l227.2 227.2c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8L137.6 512zm464-339.2c-16-3.2-35.2 6.4-38.4 22.4L396.8 812.8c-3.2 16 6.4 35.2 22.4 38.4 16 3.2 35.2-6.4 38.4-22.4L624 211.2c6.4-16-3.2-35.2-22.4-38.4zm352 316.8L726.4 262.4c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8L886.4 512 681.6 716.8c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l227.2-227.2c6.4-6.4 9.6-16 9.6-22.4 0-9.6-3.2-16-9.6-22.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-node-tree"><path d="M332.48 500.864a25.6 25.6 0 1 0 0-51.2H192.384v-184.96a115.2 115.2 0 0 0 89.6-112.128c0-63.488-51.712-115.2-115.2-115.2s-115.2 51.712-115.2 115.2a115.2 115.2 0 0 0 89.6 112.128v696.192a25.6 25.6 0 1 0 51.2 0v-141.12c2.304.192 4.48.512 6.912.512H332.48a25.6 25.6 0 1 0 0-51.2H199.296c-3.456 0-5.504-.448-6.08-.256a29.184 29.184 0 0 1-.896-8.576V500.8h140.16zM102.784 152.64c0-35.264 28.736-64 64-64s64 28.736 64 64-28.736 64-64 64-64-28.736-64-64zm818.432 207.424h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4zm486.336 140.352h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-number-field"><path d="M960 1024H64a64 64 0 0 1-64-64V64A64 64 0 0 1 64 0h896a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64zm0-896a64 64 0 0 0-64-64H128a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128zM832 768H704a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v384a64 64 0 0 1-64 64zM512 640a64 64 0 0 1 0 128H384a64 64 0 0 1-64-64V512a64 64 0 0 1 64-64h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v192a64 64 0 0 1-64 64h-64v64h64zM192 768a64 64 0 0 1-64-64V320a64 64 0 0 1 128 0v384a64 64 0 0 1-64 64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-picture-upload-field"><path d="M896 1024H128C57.312 1024 0 966.688 0 896V128C0 57.312 57.312 0 128 0h768c70.688 0 128 57.312 128 128v768c0 70.688-57.312 128-128 128zm0-64c35.328 0 64-28.672 64-64V639.968l-192-192L494.816 721.12 730.624 960H896zM64 896c0 35.328 28.672 64 64 64h512.032L318.24 638.208 64 865.952V896zm896-768c0-35.328-28.672-64-64-64H128c-35.328 0-64 28.672-64 64v650.752L320 544l129.856 131.552L768 352l192 196.096V128zM256 384c-70.688 0-128-57.312-128-128s57.312-128 128-128 128 57.312 128 128-57.312 128-128 128zm0-192c-35.328 0-64 28.672-64 64s28.672 64 64 64 64-28.672 64-64-28.672-64-64-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-radio-field"><path d="M512 65.983C266.08 65.983 65.983 266.08 65.983 512c0 245.952 200.065 446.017 446.017 446.017S958.017 757.952 958.017 512c0-245.92-200.065-446.017-446.017-446.017zm0 828.034c-210.656 0-382.017-171.392-382.017-382.017 0-210.656 171.36-382.017 382.017-382.017 210.625 0 382.017 171.36 382.017 382.017 0 210.625-171.392 382.017-382.017 382.017zM512 352C423.776 352 352 423.776 352 512s71.774 160 160 160 160-71.774 160-160-71.776-160-160-160z" /></symbol><symbol class="icon" viewBox="0 0 1069 1024" id="icon-rate-field"><path d="m633.73 378.02 9.498 18.688 20.78 2.798 206.616 27.332a11.465 11.465 0 0 1 6.61 19.473L729.966 593.665l-14.893 14.893 3.8 20.683 37.847 204.89a11.465 11.465 0 0 1-16.481 12.296l-185.55-94.58-18.687-9.493-18.487 9.992-183.24 99.35a11.465 11.465 0 0 1-16.784-11.867l32.543-205.796 3.297-20.786-15.192-14.492-151.033-143.484a11.465 11.465 0 0 1 6.1-19.64L399 402.998l20.786-3.296 9.092-18.98 89.713-188.078a11.465 11.465 0 0 1 20.569-.263l94.568 185.635zM496.647 85.52 374.89 340.501l-279.126 44.26a34.395 34.395 0 0 0-18.303 58.908l204.873 194.663-44.169 279.115a34.395 34.395 0 0 0 50.366 35.616l248.4-134.679L788.776 946.66a34.395 34.395 0 0 0 49.437-36.894l-51.306-277.854 199.731-199.909a34.395 34.395 0 0 0-19.828-58.408l-280.118-37.032L558.33 84.713a34.395 34.395 0 0 0-61.682.802z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-redo"><path d="M412.081 346.3h443.415L640.168 133.871c-18.973-18.973-18.973-46.064 0-65.038s44.325-19.884 63.381-.83l291.385 284.591c18.973 18.973 18.973 44.159 0 63.132L703.549 700.649c-18.973 18.973-44.325 18.973-63.381-.083-18.973-18.973-18.973-43.91 0-62.883l215.328-208.534H412.081c-177.3 0-314.335 138.359-314.335 309.364v44.325c0 25.354-16.074 44.325-41.425 44.325s-41.425-18.973-41.425-44.325v-44.325c0-221.709 169.181-392.213 397.185-392.213z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-rich-editor-field"><path d="M313.36 448.094H632.63v31.927H313.36v-31.927ZM313.36 583.784h223.49v31.927H313.36v-31.927ZM313.36 719.474h127.709v31.927h-127.71v-31.927ZM889.412 554.809l-39.955-39.971-39.957-39.941c-7.358-7.358-19.285-7.358-26.642 0l-329.7 329.694a14.08 14.08 0 0 0-4.592 6.873L412.078 932.86a14.158 14.158 0 0 0 3.54 14.079l.99.763.77.982a14.174 14.174 0 0 0 14.062 3.555l121.395-36.495a14.04 14.04 0 0 0 6.938-4.677l329.639-329.63c7.35-7.343 7.35-19.284 0-26.627zM541.136 889.756l-95.198 28.622 28.623-95.235 255.02-255.02 66.6 66.599-255.045 255.034zM856.112 574.78l-46.611 46.611-66.59-66.598 46.605-46.597c3.677-3.68 9.641-3.68 13.319-.016l26.892 26.892 26.384 26.394c3.68 3.68 3.68 9.65.001 13.314z" /><path d="M671.874 224.898v-28.934c0-22.004-17.905-39.909-39.909-39.909H314.026c-22.004 0-39.909 17.905-39.909 39.91v28.933h-104.43v643.564c0 35.26 28.592 63.854 63.855 63.854h127.709v-47.89H249.506c-17.632 0-31.928-14.299-31.928-31.928v-579.71h56.54v10.976c0 22.004 17.904 39.909 39.908 39.909h317.938c22.004 0 39.91-17.905 39.91-39.91V272.79h56.538V437.45h47.89V224.898H671.875zm-47.89 50.884H322.007v-71.836h301.974v71.836z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-section"><path d="M141.074 906.496h741.852c89.581 0 134.583-44.562 134.583-132.846V250.331c0-88.283-45.002-132.845-134.583-132.845H141.074c-89.143.018-134.583 44.16-134.583 132.845V773.67c0 88.704 45.44 132.845 134.583 132.845zm1.28-68.992c-42.861 0-66.852-22.71-66.852-67.291V253.806c0-44.58 23.99-67.292 66.852-67.292h739.292c42.423 0 66.852 22.711 66.852 67.292v516.388c0 44.58-24.43 67.292-66.852 67.292z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-select-field"><path d="M374.784 649.515a32 32 0 0 1 3.072 41.685l-3.115 3.584L225.28 843.947a32 32 0 0 1-37.845 5.504l-3.968-2.56-85.334-64a32 32 0 0 1 34.432-53.76l3.968 2.56 63.147 47.36 129.835-129.622a32 32 0 0 1 45.269.043zm531.37 75.818a32 32 0 0 1 4.31 63.702l-4.31.298h-448a32 32 0 0 1-4.351-63.744l4.352-.256h448zm.513-256a32 32 0 0 1 4.352 63.702l-4.352.298h-448a32 32 0 0 1-4.352-63.701l4.352-.299h448zm-531.84-331.776a32 32 0 0 1 2.986 41.686l-3.114 3.584-149.846 149.205a32 32 0 0 1-37.888 5.419l-3.925-2.56-84.907-64a32 32 0 0 1 34.518-53.675l3.968 2.56 62.72 47.275L329.6 137.472a32 32 0 0 1 45.227.085zm531.328 75.819a32 32 0 0 1 4.309 63.701l-4.31.299H459.35a32 32 0 0 1-4.352-63.744l4.352-.256h446.806z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-select-tree-field"><path d="M374.784 649.515a32 32 0 0 1 3.072 41.685l-3.115 3.584L225.28 843.947a32 32 0 0 1-37.845 5.504l-3.968-2.56-85.334-64a32 32 0 0 1 34.432-53.76l3.968 2.56 63.147 47.36 129.835-129.622a32 32 0 0 1 45.269.043zm531.37 75.818a32 32 0 0 1 4.31 63.702l-4.31.298h-448a32 32 0 0 1-4.351-63.744l4.352-.256h448zm.513-256a32 32 0 0 1 4.352 63.702l-4.352.298h-448a32 32 0 0 1-4.352-63.701l4.352-.299h448zm-531.84-331.776a32 32 0 0 1 2.986 41.686l-3.114 3.584-149.846 149.205a32 32 0 0 1-37.888 5.419l-3.925-2.56-84.907-64a32 32 0 0 1 34.518-53.675l3.968 2.56 62.72 47.275L329.6 137.472a32 32 0 0 1 45.227.085zm531.328 75.819a32 32 0 0 1 4.309 63.701l-4.31.299H459.35a32 32 0 0 1-4.352-63.744l4.352-.256h446.806z" /><path d="M224 192a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm256-480a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0ZM192 352h256M192 672h256M224 192v160m0 160v160" stroke="currentColor" stroke-width="32" fill="none" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slider-field"><path d="M951.453 476.844H523.672a131.836 131.836 0 0 0-254.18 0H72.547v70.312h196.945a131.836 131.836 0 0 0 254.18 0h427.781z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-component"><path d="M512 102.4c-212.48 0-384 171.52-384 384s171.52 384 384 384 384-171.52 384-384-171.52-384-384-384zm25.6 716.8v-128c0-15.36-10.24-25.6-25.6-25.6s-25.6 10.24-25.6 25.6v128C322.56 806.4 192 675.84 179.2 512h128c15.36 0 25.6-10.24 25.6-25.6s-10.24-25.6-25.6-25.6h-128C192 296.96 322.56 166.4 486.4 156.16V281.6c0 15.36 10.24 25.6 25.6 25.6s25.6-10.24 25.6-25.6V156.16C701.44 168.96 832 299.52 844.8 460.8h-128c-15.36 0-25.6 10.24-25.6 25.6s10.24 25.6 25.6 25.6h128C832 675.84 701.44 806.4 537.6 819.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-field"><path d="M493.969 244.87h36.285q18.031 0 18.031 18.03v217.267q0 18.031-18.031 18.031h-36.285q-18.032 0-18.032-18.031V262.901q0-18.031 18.032-18.031ZM323.45000000000005 525.802h36.286q18.031 0 18.031 18.031v217.266q0 18.031-18.031 18.031H323.45q-18.03 0-18.03-18.03V543.832q0-18.031 18.03-18.031ZM664.2639999999999 525.802h36.286q18.03 0 18.03 18.031v217.266q0 18.031-18.03 18.031h-36.286q-18.031 0-18.031-18.03V543.832q0-18.031 18.031-18.031Z" /><path d="M827.437 122.212H196.563a74.574 74.574 0 0 0-74.35 74.351v630.874a74.574 74.574 0 0 0 74.35 74.35h630.874a74.574 74.574 0 0 0 74.35-74.35V196.563a74.574 74.574 0 0 0-74.35-74.35zm52.09 705.225a52.09 52.09 0 0 1-52.09 52.09H196.563a52.09 52.09 0 0 1-52.09-52.09V196.563a52.09 52.09 0 0 1 52.09-52.09h630.874a52.09 52.09 0 0 1 52.09 52.09z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-static-text"><path d="M213.333 160c-4.821 0-9.472.64-13.824 1.792a32 32 0 0 1-16.554-61.824C192.683 97.408 202.88 96 213.333 96h33.195a32 32 0 0 1 0 64h-33.195zm133.931-32a32 32 0 0 1 32-32h66.347a32 32 0 1 1 0 64h-66.304a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zm199.083 0a32 32 0 0 1 32-32h33.195c10.453 0 20.65 1.365 30.378 3.968a32 32 0 1 1-16.554 61.867A53.419 53.419 0 0 0 810.667 160h-33.195a32 32 0 0 1-32-32zm-606.293 32.341a32 32 0 0 1 22.613 39.168A53.461 53.461 0 0 0 160 213.333v33.195a32 32 0 0 1-64 0v-33.195c0-10.453 1.365-20.65 3.968-30.378a32 32 0 0 1 39.168-22.614zm745.685 0a32 32 0 0 1 39.168 22.614c2.56 9.728 3.968 19.925 3.968 30.378v33.195a32 32 0 0 1-64 0v-33.195c0-4.821-.64-9.472-1.792-13.824a32 32 0 0 1 22.613-39.168zM128 347.221a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zM128 546.432a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm0 199.083a32 32 0 0 1 32 32v33.152c0 10.453-1.365 20.65-3.968 30.378a32 32 0 1 1-61.867-16.554c1.195-4.352 1.835-8.96 1.835-13.824v-33.195a32 32 0 0 1 32-32zm-768 0a32 32 0 0 1 32 32v33.152c0 4.821.64 9.472 1.792 13.824a32 32 0 0 1-61.824 16.512A117.461 117.461 0 0 1 96 810.667v-33.195a32 32 0 0 1 32-32zm32.341 139.392a32 32 0 0 1 39.168-22.656 53.814 53.814 0 0 0 13.824 1.792h33.195a32 32 0 0 1 0 64h-33.195c-10.453 0-20.65-1.366-30.378-3.968a32 32 0 0 1-22.614-39.168zm703.318 0a32 32 0 0 1-22.614 39.168c-9.728 2.56-19.925 3.968-30.378 3.968h-33.195a32 32 0 0 1 0-64h33.195c4.821 0 9.472-.64 13.824-1.792a32 32 0 0 1 39.168 22.613zM347.307 896a32 32 0 0 1 32-32h66.346a32 32 0 1 1 0 64h-66.346a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zM341.333 352a32 32 0 0 0 0 64H480v266.667a32 32 0 0 0 64 0V416h138.667a32 32 0 0 0 0-64H341.333z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-sub-form"><path d="M512 106.667H112a5.333 5.333 0 0 0-5.333 5.333v800a5.333 5.333 0 0 0 5.333 5.333h800a5.333 5.333 0 0 0 5.333-5.333V112a5.333 5.333 0 0 0-5.333-5.333zm0 74.666h325.333a5.333 5.333 0 0 1 5.334 5.334v160a5.333 5.333 0 0 1-5.334 5.333H186.667a5.333 5.333 0 0 1-5.334-5.333v-160a5.333 5.333 0 0 1 5.334-5.334zM597.333 432v405.333a5.333 5.333 0 0 1-5.333 5.334H432a5.333 5.333 0 0 1-5.333-5.334V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.333 5.333zm-410.666-5.333h160A5.333 5.333 0 0 1 352 432v405.333a5.333 5.333 0 0 1-5.333 5.334h-160a5.333 5.333 0 0 1-5.334-5.334V432a5.333 5.333 0 0 1 5.334-5.333zM672 837.333V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.334 5.333v405.333a5.333 5.333 0 0 1-5.334 5.334h-160a5.333 5.333 0 0 1-5.333-5.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-switch-field"><path d="M692 792H332C182 792 62 672 62 522s120-270 270-270h360c150 0 270 120 270 270 0 147-120 270-270 270zM332 312c-117 0-210 93-210 210s93 210 210 210h360c117 0 210-93 210-210s-93-210-210-210H332z" /><path d="M191 522a150 150 0 1 0 300 0 150 150 0 1 0-300 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-tab"><path d="M908.8 1005.44H115.2A101.76 101.76 0 0 1 14.08 903.68V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z" /><path d="M977.92 299.52a32.64 32.64 0 0 1-32-32v-87.04a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32H908.8a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z" /><path d="M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z" /><path d="M699.52 299.52a32 32 0 0 1-32-32v-156.8a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-table"><path d="M925.586 0H101.369C69.885 0 42.24 28.924 42.24 62.328v902.8c0 33.403 27.645 58.872 59.129 58.872h824.217c31.484 0 56.057-25.469 56.057-58.873V62.328C981.643 28.924 957.198 0 925.586 0zM373.719 735.908V543.932h276.445v191.976zm276.445 42.235v203.494H373.719V778.143zm287.964-276.446h-244.45V298.203h244.45zm-287.964 0H373.719V298.203h276.445zm-319.96 0H85.754V298.203h244.45zm-244.45 42.235h244.45v191.976H85.754zm607.925 0h244.449v191.976h-244.45zM101.369 42.235h824.217c7.807 0 12.542 10.366 12.542 20.093v193.64H85.755V62.328c0-9.727 7.807-20.093 15.614-20.093zM85.755 964.999V778.143h244.449v203.494H101.369c-7.807 0-15.614-6.91-15.614-16.51zm839.83 16.638H693.68V778.143h244.449v186.856c0 9.727-4.607 16.638-12.542 16.638z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-text-field"><path d="M896 224H128c-35.2 0-64 28.8-64 64v448c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V288c0-35.2-28.8-64-64-64zm0 480c0 19.2-12.8 32-32 32H160c-19.2 0-32-12.8-32-32V320c0-19.2 12.8-32 32-32h704c19.2 0 32 12.8 32 32v384z" /><path d="M224 352c-19.2 0-32 12.8-32 32v256c0 16 12.8 32 32 32s32-12.8 32-32V384c0-16-12.8-32-32-32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-textarea-field"><path d="M896.4 173.1H128.9c-35.2 0-49 13.8-49 49v575.6c0 35.2 13.8 49 49 49h767.5c35.2 0 49-13.8 49-49V222.1c0-35.2-13.8-49-49-49zm0 592.6c0 16-12.8 32-32 32H160.9c-19.2 0-32-12.8-32-32V254.1c0-16 12.8-32 32-32h703.5c19.2 0 32 12.8 32 32v511.6z" /><path d="M710.2 766.7h141.5c8.1 0 14.7-6.6 14.7-14.7V610.4c0-1.3-1.6-2-2.6-1.1L709.1 764.1c-1 1-.3 2.6 1.1 2.6zm-503-172.4h-13.5c-10 0-18.2-8.2-18.2-18.2V291.8c0-10.2 8.4-18.6 18.6-18.6h12.8c10.2 0 18.6 8.4 18.6 18.6v284.3c-.1 10-8.3 18.2-18.3 18.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-field"><path d="M512 39.385A472.615 472.615 0 1 0 984.615 512 472.615 472.615 0 0 0 512 39.385zm0 866.461A393.846 393.846 0 1 1 905.846 512 393.846 393.846 0 0 1 512 905.846zm75.855-373.72A77.154 77.154 0 0 0 590.769 512a78.454 78.454 0 0 0-39.384-67.86V196.923a39.385 39.385 0 0 0-78.77 0V444.14a78.336 78.336 0 0 0 59.55 143.715l70.144 70.144a39.385 39.385 0 0 0 55.69-55.69zM512 551.385A39.385 39.385 0 1 1 551.385 512 39.385 39.385 0 0 1 512 551.385zm315.077-78.77A39.385 39.385 0 1 0 866.462 512a39.385 39.385 0 0 0-39.385-39.385zm-630.154 0A39.385 39.385 0 1 0 236.308 512a39.385 39.385 0 0 0-39.385-39.385zm509.991 234.3a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69 0zM317.007 317.006a39.385 39.385 0 1 0-55.73 0 39.385 39.385 0 0 0 55.809.04zM512 787.692a39.385 39.385 0 1 0 39.385 39.385A39.385 39.385 0 0 0 512 787.692zm-250.604-80.778a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.039zm445.518-445.518a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.04z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-range-field"><path d="M498.596 482.29H345.42v57.308h210.478V274.197h-57.301V482.29zm79.089 162.695h379.88v57.302h-379.88v-57.302zm0 128.78h379.88v57.307h-379.88v-57.307zm0 128.785h379.88v57.307h-379.88V902.55zm0 0" /><path d="M102.523 382.29a28.668 28.668 0 0 0 23.367 2.56l190.81-61.886c15.053-4.883 23.298-21.04 18.415-36.09-4.882-15.052-21.04-23.297-36.093-18.415l-123.346 40c15.994-26.117 35.17-50.538 57.37-72.745 73.768-73.767 171.847-114.388 276.169-114.388 104.32 0 202.395 40.622 276.161 114.388S899.77 407.56 899.77 511.882c0 26.428-2.616 52.45-7.71 77.78h58.303c4.465-25.499 6.709-51.47 6.709-77.78 0-60.45-11.846-119.102-35.205-174.336-22.56-53.335-54.85-101.227-95.969-142.35-41.122-41.122-89.017-73.408-142.348-95.968-55.233-23.361-113.89-35.207-174.334-35.207-60.45 0-119.107 11.846-174.337 35.208-53.335 22.56-101.23 54.846-142.35 95.969-23.98 23.98-44.933 50.278-62.727 78.6l-20.738-105.654c-3.043-15.528-18.105-25.642-33.632-22.6-15.528 3.048-25.643 18.105-22.6 33.637l36.103 183.932a28.666 28.666 0 0 0 13.588 19.178zm23.497 205.652H67.768c5.76 33.679 15.368 66.544 28.79 98.278 22.56 53.334 54.85 101.225 95.972 142.348 41.123 41.123 89.014 73.409 142.349 95.969 54.112 22.888 111.518 34.711 170.668 35.182v-57.324c-102.95-.941-199.595-41.446-272.5-114.349-55.501-55.502-92.237-124.77-107.027-200.104zm0 0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-undo"><path d="M609.206 396.656H193.504l201.87-199.152c17.787-17.787 17.787-43.185 0-60.973s-41.555-18.641-59.42-.778L62.857 402.557c-17.787 17.787-17.787 41.399 0 59.186L336.03 728.858c17.787 17.787 41.555 17.787 59.42-.078 17.787-17.787 17.787-41.166 0-58.953L193.502 474.326h415.702c166.219 0 311.155 129.712 311.155 290.029v41.555c0 23.769 15.069 41.555 38.836 41.555s38.836-17.787 38.836-41.555v-41.555c0-207.852-175.073-367.7-388.828-367.7z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-vue-sfc"><path d="M454.138 11.176 54.066 174.092c-72.088 29.49-72.088 120.523 0 150.014l400.276 162.916c36.454 14.95 78.847 14.95 115.506 0l400.071-162.814c72.191-29.593 72.089-120.83-.307-150.116L569.746 11.278a155.339 155.339 0 0 0-115.608-.205zm469.19 237.872L532.37 408.585l-7.885 2.457a55.09 55.09 0 0 1-32.562-2.457L100.35 249.048l391.265-159.23a55.09 55.09 0 0 1 40.447 0l391.162 159.23z" fill="#1890FF" /><path d="M498.681 729.911c-20.275 0-40.652-3.788-59.391-11.673L53.76 561.26C20.48 547.847 0 519.89 0 488.558c0-31.436 20.582-59.391 53.862-72.703l36.556-15.053c21.401-8.806 47.103-1.024 57.24 17.408 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.229-4.71 3.584-4.71 6.45 0 3.073 1.536 5.12 4.71 6.452l385.326 156.875c14.336 5.939 30.924 5.939 45.362 0L906.74 495.009c3.072-1.229 4.915-3.584 4.915-6.451 0-3.072-1.536-5.222-4.607-6.451l-44.851-18.227c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.329 35.84-26.214 57.24-17.407l44.851 18.431c33.177 13.517 53.76 41.267 53.76 72.703 0 31.334-20.48 59.391-53.76 72.703L558.482 718.238a161.585 161.585 0 0 1-59.801 11.673z" fill="#5DE1C8" /><path d="M498.681 966.247c-20.275 0-40.652-3.89-59.391-11.673L53.76 797.597C20.48 784.08 0 756.227 0 724.997c0-31.437 20.582-59.494 53.862-72.806l36.556-14.95c21.401-8.807 47.103-1.024 57.24 17.407 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.126-4.71 3.584-4.71 6.451 0 3.072 1.536 5.12 4.71 6.349l385.326 156.977c14.336 5.939 30.924 5.939 45.362 0L906.74 731.14c3.072-1.126 4.915-3.584 4.915-6.349 0-3.072-1.536-5.324-4.607-6.45l-44.851-18.33c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.431 35.84-26.214 57.24-17.407l44.851 18.329c33.177 13.517 53.76 41.369 53.76 72.703 0 31.436-20.48 59.494-53.76 72.805l-385.428 157.08a161.585 161.585 0 0 1-59.801 11.673z" fill="#FF7272" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-search"><path d="M863.3 641.94A416.1 416.1 0 0 0 96.7 318.06a416.1 416.1 0 0 0 766.6 323.88zM480 832a352 352 0 1 1 248.9-103.1A349.69 349.69 0 0 1 480 832z" /><path d="m950.63 841.37-96-96a32 32 0 0 0-45.25 45.25l96 96a13.25 13.25 0 1 1-18.75 18.75l-96-96a32 32 0 0 0-45.25 45.25l96 96a77.25 77.25 0 1 0 109.25-109.25z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-arrow-down"><path d="M512 714.667c-8.533 0-17.067-2.134-23.467-8.534L147.2 364.8c-12.8-12.8-12.8-32 0-44.8 12.8-12.8 32-12.8 44.8 0l320 317.867 317.867-320c12.8-12.8 32-12.8 44.8 0 12.8 12.8 12.8 32 0 44.8L533.333 704c-4.266 8.533-12.8 10.667-21.333 10.667z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-back"><path fill="currentColor" d="M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z" /><path fill="currentColor" d="m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312L237.248 512z" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-el-check"><path fill="currentColor" d="M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-clone"><path d="M774.144 839.68c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H184.32c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V380.928c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4v65.536c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08V839.68c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h458.752c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08h65.536zM380.928 118.784c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v458.752c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456H839.68c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V184.32c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H380.928zm0-65.536H839.68c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v458.752c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H380.928c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V184.32c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-delete"><path fill="currentColor" d="M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-download"><path d="M896 672c-17.067 0-32 14.933-32 32v128c0 6.4-4.267 10.667-10.667 10.667H170.667c-6.4 0-10.667-4.267-10.667-10.667V704c0-17.067-14.933-32-32-32s-32 14.933-32 32v128c0 40.533 34.133 74.667 74.667 74.667h682.666C893.867 906.667 928 872.533 928 832V704c0-17.067-14.933-32-32-32z" /><path d="M488.533 727.467c6.4 6.4 14.934 8.533 23.467 8.533s17.067-2.133 23.467-8.533L748.8 514.133c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L546.133 627.2V170.667c0-17.067-14.933-32-32-32S480 153.6 480 170.667V627.2L322.133 469.333c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8l211.2 213.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-drag-move"><path d="M909.3 506.3 781.7 405.6c-4.7-3.7-11.7-.4-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7c-2.9-3.7-8.5-3.7-11.3 0L405.6 242.3c-3.7 4.7-.4 11.7 5.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3c-3.7 2.9-3.7 8.5 0 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.7-2.9 3.7-8.5.1-11.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-form-template"><path d="M298.667 981.333A85.333 85.333 0 0 1 213.333 896V128a85.333 85.333 0 0 1 85.334-85.333h426.666A85.333 85.333 0 0 1 810.667 128v768a85.333 85.333 0 0 1-85.334 85.333zm0-832v725.334A21.333 21.333 0 0 0 320 896h384a21.333 21.333 0 0 0 21.333-21.333V149.333A21.333 21.333 0 0 0 704 128H320a21.333 21.333 0 0 0-21.333 21.333zm640 618.667V256a42.667 42.667 0 0 1 42.666-42.667A42.667 42.667 0 0 1 1024 256v512a42.667 42.667 0 0 1-42.667 42.667A42.667 42.667 0 0 1 938.667 768zM0 768V256a42.667 42.667 0 0 1 42.667-42.667A42.667 42.667 0 0 1 85.333 256v512a42.667 42.667 0 0 1-42.666 42.667A42.667 42.667 0 0 1 0 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-hide"><path d="M956.8 496c-41.6-70.4-99.2-147.2-176-204.8l105.6-105.6c12.8-12.8 12.8-32 0-44.8s-32-12.8-44.8 0L726.4 256C665.6 214.4 592 192 512 192c-214.4 0-358.4 166.4-444.8 304-6.4 9.6-6.4 22.4 0 32 41.6 70.4 102.4 147.2 176 204.8L134.4 841.6c-12.8 12.8-12.8 32 0 44.8 9.6 6.4 16 9.6 25.6 9.6s16-3.2 22.4-9.6l115.2-115.2C358.4 809.6 432 832 512 832c185.6 0 374.4-128 444.8-307.2 3.2-9.6 3.2-19.2 0-28.8zm-822.4 16C211.2 390.4 336 256 512 256c60.8 0 118.4 16 166.4 44.8l-80 80C576 361.6 544 352 512 352c-89.6 0-160 70.4-160 160 0 32 9.6 64 25.6 89.6L288 691.2C224 640 172.8 572.8 134.4 512zm473.6 0c0 54.4-41.6 96-96 96-16 0-28.8-3.2-41.6-9.6l128-128c6.4 12.8 9.6 25.6 9.6 41.6zm-192 0c0-54.4 41.6-96 96-96 16 0 28.8 3.2 41.6 9.6l-128 128c-6.4-12.8-9.6-25.6-9.6-41.6zm96 256c-60.8 0-118.4-16-166.4-44.8l80-80C448 662.4 480 672 512 672c89.6 0 160-70.4 160-160 0-32-9.6-64-25.6-89.6l89.6-89.6C803.2 384 854.4 451.2 892.8 512 825.6 659.2 665.6 768 512 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-info"><path d="M512.001 928.997c230.524 0 418.076-187.552 418.075-418.077 0-230.527-187.552-418.077-418.075-418.077S93.924 280.393 93.924 510.92c0 230.525 187.552 418.077 418.077 418.077zM512 301.88c28.86 0 52.26 23.399 52.26 52.263 0 28.858-23.399 52.257-52.26 52.257s-52.26-23.399-52.26-52.257c0-28.863 23.399-52.263 52.26-52.263zm-52.26 209.042c0-28.86 23.399-52.26 52.26-52.26s52.26 23.399 52.26 52.26v156.775c0 28.86-23.399 52.26-52.26 52.26s-52.26-23.399-52.26-52.26V510.922z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-column"><path d="M653.184 713.6c12.864-12.864 33.6-12.864 46.528 0 6.4 6.4 3.776 14.72 3.776 23.232a32.675 32.675 0 0 1-9.6 23.104L569.92 886.4c-.128.128-.32.192-.512.32-2.88 2.88-9.536 5.184-13.312 6.784-3.456 1.344-.64 1.856-4.096 2.112-.768 0-1.344.384-2.048.384-.512 0-.896-.256-1.344-.256-3.84-.192-5.76-.896-9.344-2.24-3.264-1.344-6.016-3.52-8.64-5.76-.64-.512-1.472-.768-2.048-1.344L391.232 760c-12.864-12.736-6.976-33.6 5.888-46.4 12.8-12.864 33.6-12.864 46.464 0l105.472 100.352L653.184 713.6zM384 64v576h320V64H384zM128 704v256H64V640h256v320h-62.976L256 704H128m704 0v256h-64V640h256v320h-62.976L960 704H832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-row"><path d="M310.336 653.184c12.864 12.864 12.864 33.6 0 46.528-6.4 6.4-14.72 3.776-23.168 3.776s-16.832-3.264-23.168-9.6L137.6 569.92c-.128-.128-.192-.32-.256-.512-2.88-2.816-5.248-9.536-6.848-13.312-1.344-3.392-1.856-.576-2.112-4.096 0-.768-.384-1.344-.384-2.048 0-.512.256-.896.256-1.344.192-3.84.896-5.76 2.24-9.344 1.344-3.264 3.52-6.016 5.76-8.64.512-.704.768-1.536 1.344-2.112l126.336-137.344c12.8-12.864 33.6-6.976 46.4 5.888 12.864 12.8 12.864 33.6 0 46.464L210.048 548.992l100.288 104.192zM960 384H384v320h576V384zM320 128H64V64h320v256H64v-62.976L320 256V128m0 704H64v-64h320v256H64v-62.976L320 960V832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-menu"><path d="M844.8 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zM435.2 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-down"><path d="M898.133 512c-12.8-12.8-32-12.8-44.8-2.133L544 800V149.333c0-17.066-14.933-32-32-32s-32 14.934-32 32V800L170.667 509.867c-12.8-12.8-34.134-10.667-44.8 2.133-12.8 12.8-10.667 34.133 2.133 44.8l362.667 341.333c2.133 2.134 6.4 4.267 8.533 6.4 4.267 2.134 6.4 2.134 10.667 2.134s8.533 0 10.666-2.134c4.267-2.133 6.4-4.266 8.534-6.4L891.733 556.8c17.067-12.8 19.2-32 6.4-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-up"><path d="M896 467.2 533.333 125.867c-2.133-2.134-6.4-4.267-8.533-6.4-4.267-2.134-6.4-2.134-10.667-2.134s-8.533 0-10.666 2.134c-4.267 2.133-6.4 4.266-8.534 6.4L132.267 467.2c-12.8 12.8-12.8 32-2.134 44.8 12.8 12.8 32 12.8 44.8 2.133L484.267 224v650.667c0 17.066 14.933 32 32 32s32-14.934 32-32V224l305.066 290.133c6.4 6.4 14.934 8.534 21.334 8.534 8.533 0 17.066-4.267 23.466-10.667 12.8-12.8 10.667-32-2.133-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-plus"><path d="M554.667 213.333h-85.334v256h-256v85.334h256v256h85.334v-256h256v-85.334h-256z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-set-up"><path d="M217.088 151.552c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v589.824c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h589.824c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V217.088c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H217.088zm0-65.536h589.824c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v589.824c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H217.088c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V217.088c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4zm163.84 327.68c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm98.304-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H479.232c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768zm163.84 425.984c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm-360.448-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H282.624c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-view"><path fill="currentColor" d="M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-el-zoom-in"><path fill="currentColor" d="m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z" /></symbol>',a.insertBefore(e,a.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}var iconfont="",index="";function addDirective(t){t.directive("drag",{mounted(a,e){if(!e.value)return!1;e.instance.$nextTick(()=>{const h=document.querySelector(e.value[0]),m=document.querySelector(e.value[1]);m.onmouseover=()=>m.style.cursor="move";function p(f,o){const u=o==="pc"?f.clientX-m.offsetLeft:f.touches[0].clientX-m.offsetLeft,n=o==="pc"?f.clientY-m.offsetTop:f.touches[0].clientY-m.offsetTop,s=document.body.clientWidth,i=document.documentElement.clientHeight,r=h.offsetWidth,l=h.offsetHeight,c=h.offsetLeft,g=s-h.offsetLeft-r,v=h.offsetTop,b=i-h.offsetTop-l;let _=getComputedStyle(h).left,x=getComputedStyle(h).top;return _.includes("%")?(_=+document.body.clientWidth*(+_.replace(/%/g,"")/100),x=+document.body.clientHeight*(+x.replace(/%/g,"")/100)):(_=+_.replace(/\px/g,""),x=+x.replace(/\px/g,"")),{disX:u,disY:n,minDragDomLeft:c,maxDragDomLeft:g,minDragDomTop:v,maxDragDomTop:b,styL:_,styT:x}}function d(f,o,u){let{disX:n,disY:s,minDragDomLeft:i,maxDragDomLeft:r,minDragDomTop:l,maxDragDomTop:c,styL:g,styT:v}=u,b=o==="pc"?f.clientX-n:f.touches[0].clientX-n,_=o==="pc"?f.clientY-s:f.touches[0].clientY-s;-b>i?b=-i:b>r&&(b=r),-_>l?_=-l:_>c&&(_=c),h.style.cssText+=`;left:${b+g}px;top:${_+v}px;`}m.onmousedown=f=>{const o=p(f,"pc");document.onmousemove=u=>{d(u,"pc",o)},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null}},m.ontouchstart=f=>{const o=p(f,"app");document.ontouchmove=u=>{d(u,"app",o)},document.ontouchend=()=>{document.ontouchmove=null,document.ontouchend=null}}})}}),t.directive("dialogDragWidth",{mounted(a,e){e.instance.$nextTick(()=>{const h=e.value.$el.querySelector(".el-dialog");a.onmousedown=m=>{const p=m.clientX-a.offsetLeft;document.onmousemove=function(d){d.preventDefault();const f=d.clientX-p;h.style.width=`${f}px`},document.onmouseup=function(d){document.onmousemove=null,document.onmouseup=null}}})}})}function _isSlot(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!vue.isVNode(t)}const createInputTextEditor=function(t,a){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(a)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[t],"onUpdate:modelValue":h=>this.optionModel[t]=h},null)]})}}},createTextareaEditor=function(t,a,e={}){return{props:{optionModel:Object},render(h){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(a)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"textarea",modelValue:this.optionModel[t],"onUpdate:modelValue":m=>this.optionModel[t]=m,rows:e.rows||4,autosize:e.autosize||!1},null)]})}}},createInputNumberEditor=function(t,a){return{props:{optionModel:Object},methods:{updateValue(e){e==null||isNaN(e)?this.optionModel[t]=null:this.optionModel[t]=Number(e)}},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(a)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input-number"),{type:"text",modelValue:this.optionModel[t],"onUpdate:modelValue":h=>this.optionModel[t]=h,onChange:this.updateValue,style:"width: 100%"},null)]})}}},createBooleanEditor=function(t,a){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(a)},{default:()=>[vue.createVNode(vue.resolveComponent("el-switch"),{modelValue:this.optionModel[t],"onUpdate:modelValue":h=>this.optionModel[t]=h},null)]})}}},createRadioButtonGroupEditor=function(t,a,e){return{props:{optionModel:Object},render(h){let m;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(a)},{default:()=>[vue.createVNode(vue.resolveComponent("el-radio-group"),{modelValue:this.optionModel[t],"onUpdate:modelValue":p=>this.optionModel[t]=p},_isSlot(m=e.optionItems.map(p=>vue.createVNode(vue.resolveComponent("el-radio-button"),{label:p.value},{default:()=>[p.label]})))?m:{default:()=>[m]})]})}}},createSelectEditor=function(t,a,e){return{props:{optionModel:Object},render(h){let m;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(a)},{default:()=>[vue.createVNode(vue.resolveComponent("el-select"),{modelValue:this.optionModel[t],"onUpdate:modelValue":p=>this.optionModel[t]=p},_isSlot(m=e.optionItems.map(p=>vue.createVNode(vue.resolveComponent("el-option"),{label:p.label,value:p.value},null)))?m:{default:()=>[m]})]})}}},createEventHandlerEditor=function(t,a){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[t,[...a]])}},render(e){let h;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:t,"label-width":"150px"},{default:()=>[vue.createVNode(vue.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(h=translate("designer.setting.addEventHandler"))?h:{default:()=>[h]})]})}}};var cardWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$q={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:gt(je({ContainerWrapper},comps$1),{ArrowDownBold:arrowDownBold}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{checkContainerMove(t){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(t){this.widget.options.folded=!!t}}},_hoisted_1$k={class:"label"},_hoisted_2$f={class:"form-widget-list"};function _sfc_render$q(t,a,e,h,m,p){const d=vue.resolveComponent("ArrowDownBold"),f=vue.resolveComponent("el-icon"),o=vue.resolveComponent("draggable"),u=vue.resolveComponent("el-card"),n=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(u,{key:e.widget.id,class:vue.normalizeClass(["card-container",[p.selected?"selected":"",e.widget.options.folded?"folded":"",p.customClass]]),onClick:a[2]||(a[2]=vue.withModifiers(s=>t.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:a[0]||(a[0]=(...s)=>p.toggleCard&&p.toggleCard(...s)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(f,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(d)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$k,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[vue.createVNode(o,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:a[1]||(a[1]=s=>t.onContainerDragAdd(s,e.widget.widgetList)),onUpdate:t.onContainerDragUpdate,move:p.checkContainerMove}),{item:vue.withCtx(({element:s,index:i})=>[vue.createElementVNode("div",_hoisted_2$f,[s.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{widget:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{field:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"])]),_:1},8,["shadow","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CardWidget=_export_sfc$1(_sfc_main$q,[["render",_sfc_render$q],["__scopeId","data-v-2c3be1b8"]]),cardItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$p={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:gt(je({ContainerItemWrapper},comps$1),{ArrowDownBold:arrowDownBold}),props:{widget:Object},inject:["refList","sfRefList","globalModel"],computed:{customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},beforeUnmount(){this.unregisterFromRefList()},methods:{toggleCard(){this.widget.options.folded=!this.widget.options.folded}}},_hoisted_1$j={class:"label"};function _sfc_render$p(t,a,e,h,m,p){const d=vue.resolveComponent("ArrowDownBold"),f=vue.resolveComponent("el-icon"),o=vue.resolveComponent("el-card"),u=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(u,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createBlock(o,{key:e.widget.id,class:vue.normalizeClass(["card-container",[e.widget.options.folded?"folded":"",p.customClass]]),ref:e.widget.id,shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:a[0]||(a[0]=(...n)=>p.toggleCard&&p.toggleCard(...n)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(f,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(d)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$j,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[!!e.widget.widgetList&&e.widget.widgetList.length>0?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.widget.widgetList,(n,s)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[n.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(n)),{widget:n,key:s,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),i=>({name:i,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,i,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(n.type+"-widget"),{field:n,designer:null,key:s,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),i=>({name:i,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,i,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256)):vue.createCommentVNode("",!0)]),_:3},8,["class","shadow"])),[[vue.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}var CardItem=_export_sfc$1(_sfc_main$p,[["render",_sfc_render$p],["__scopeId","data-v-2f0daae4"]]);const cardTemplateGenerator=function(t,a){const e=t.options,h=buildClassAttr(t),m=e.cardWidth?`style="{width: ${e.cardWidth} !important}"`:"",p=`shadow="${e.shadow}"`,d=e.hidden?'v-show="false"':"";return`<div class="card-container">
|
|
1680
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(re){return _(re)||x(re)||g(re)||w()}var M=d("a352"),D=d.n(M);function N(re){re.parentElement!==null&&re.parentElement.removeChild(re)}function S(re,ne,se){var ge=se===0?re.children[0]:re.children[se-1].nextSibling;re.insertBefore(ne,ge)}var L=d("dbf1");d("13d5"),d("4fad"),d("ac1f"),d("5319");function k(re){var ne=Object.create(null);return function(ge){var Ae=ne[ge];return Ae||(ne[ge]=re(ge))}}var T=/-(\w)/g,E=k(function(re){return re.replace(T,function(ne,se){return se.toUpperCase()})});d("5db7"),d("73d9");var I=["Start","Add","Remove","Update","End"],O=["Choose","Unchoose","Sort","Filter","Clone"],B=["Move"],V=[B,I,O].flatMap(function(re){return re}).map(function(re){return"on".concat(re)}),P={manage:B,manageAndEmit:I,emit:O};function $(re){return V.indexOf(re)!==-1}d("caad"),d("2ca0");var R=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function z(re){return R.includes(re)}function j(re){return["transition-group","TransitionGroup"].includes(re)}function U(re){return["id","class","role","style"].includes(re)||re.startsWith("data-")||re.startsWith("aria-")||re.startsWith("on")}function G(re){return re.reduce(function(ne,se){var ge=b(se,2),Ae=ge[0],ke=ge[1];return ne[Ae]=ke,ne},{})}function H(re){var ne=re.$attrs,se=re.componentData,ge=se===void 0?{}:se,Ae=G(Object.entries(ne).filter(function(ke){var Ve=b(ke,2),Ze=Ve[0];return Ve[1],U(Ze)}));return i(i({},Ae),ge)}function K(re){var ne=re.$attrs,se=re.callBackBuilder,ge=G(Y(ne));Object.entries(se).forEach(function(ke){var Ve=b(ke,2),Ze=Ve[0],rt=Ve[1];P[Ze].forEach(function(Le){ge["on".concat(Le)]=rt(Le)})});var Ae="[data-draggable]".concat(ge.draggable||"");return i(i({},ge),{},{draggable:Ae})}function Y(re){return Object.entries(re).filter(function(ne){var se=b(ne,2),ge=se[0];return se[1],!U(ge)}).map(function(ne){var se=b(ne,2),ge=se[0],Ae=se[1];return[E(ge),Ae]}).filter(function(ne){var se=b(ne,2),ge=se[0];return se[1],!$(ge)})}d("c740");function J(re,ne){if(!(re instanceof ne))throw new TypeError("Cannot call a class as a function")}function ee(re,ne){for(var se=0;se<ne.length;se++){var ge=ne[se];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(re,ge.key,ge)}}function de(re,ne,se){return ne&&ee(re.prototype,ne),se&&ee(re,se),re}var ye=function(ne){var se=ne.el||Array.isArray(ne.children)&&ne.children[0].el.parentNode;return se||console.error("\u4F7F\u7528 transition-group , \u9700\u8981\u5728slot\u4E2Dtemplate\u5185\u81F3\u5C112\u5C42html\u6807\u7B7E"),se||{}},xe=function(ne,se){return ne.__draggable_context=se},_e=function(ne){return ne.__draggable_context},Ce=function(){function re(ne){var se=ne.nodes,ge=se.header,Ae=se.default,ke=se.footer,Ve=ne.root,Ze=ne.realList;J(this,re),this.defaultNodes=Ae,this.children=[].concat(C(ge),C(Ae),C(ke)),this.externalComponent=Ve.externalComponent,this.rootTransition=Ve.transition,this.tag=Ve.tag,this.realList=Ze}return de(re,[{key:"render",value:function(se,ge){var Ae=this.tag,ke=this.children,Ve=this._isRootComponent,Ze=Ve?{default:function(){return ke}}:ke;return se(Ae,ge,Ze)}},{key:"updated",value:function(){var se=this.defaultNodes,ge=this.realList;se.forEach(function(Ae,ke){xe(ye(Ae),{element:ge[ke],index:ke})})}},{key:"getUnderlyingVm",value:function(se){return _e(se)}},{key:"getVmIndexFromDomIndex",value:function(se,ge){var Ae=this.defaultNodes,ke=Ae.length,Ve=ge.children,Ze=Ve.item(se);if(Ze===null)return ke;var rt=_e(Ze);if(rt)return rt.index;if(ke===0)return 0;var Le=ye(Ae[0]),Se=C(Ve).findIndex(function(Te){return Te===Le});return se<Se?0:ke}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),re}(),$e=d("8bbf");function Re(re,ne){var se=re[ne];return se?se():[]}function ae(re){var ne=re.$slots,se=re.realList,ge=re.getKey,Ae=se||[],ke=["header","footer"].map(function(Te){return Re(ne,Te)}),Ve=b(ke,2),Ze=Ve[0],rt=Ve[1],Le=ne.item;if(!Le)throw new Error("draggable element must have an item slot");var Se=Ae.flatMap(function(Te,He){return Le({element:Te,index:He}).map(function(Ge){return Ge.key=ge(Te),Ge.props=i(i({},Ge.props||{}),{},{"data-draggable":!0}),Ge})});if(Se.length!==Ae.length)throw new Error("Item slot must have only one child");return{header:Ze,footer:rt,default:Se}}function ue(re){var ne=j(re),se=!z(re)&&!ne;return{transition:ne,externalComponent:se,tag:se?Object($e.resolveComponent)(re):ne?$e.TransitionGroup:re}}function be(re){var ne=re.$slots,se=re.tag,ge=re.realList,Ae=re.getKey,ke=ae({$slots:ne,realList:ge,getKey:Ae}),Ve=ue(se);return new Ce({nodes:ke,root:Ve,realList:ge})}function ve(re,ne){var se=this;Object($e.nextTick)(function(){return se.$emit(re.toLowerCase(),ne)})}function fe(re){var ne=this;return function(se,ge){if(ne.realList!==null)return ne["onDrag".concat(re)](se,ge)}}function Ie(re){var ne=this,se=fe.call(this,re);return function(ge,Ae){se.call(ne,ge,Ae),ve.call(ne,re,ge)}}var De=null,Ne={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(ne){return ne}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},it=["update:modelValue","change"].concat(C([].concat(C(P.manageAndEmit),C(P.emit)).map(function(re){return re.toLowerCase()}))),ot=Object($e.defineComponent)({name:"draggable",inheritAttrs:!1,props:Ne,emits:it,data:function(){return{error:!1}},render:function(){try{this.error=!1;var ne=this.$slots,se=this.$attrs,ge=this.tag,Ae=this.componentData,ke=this.realList,Ve=this.getKey,Ze=be({$slots:ne,tag:ge,realList:ke,getKey:Ve});this.componentStructure=Ze;var rt=H({$attrs:se,componentData:Ae});return Ze.render($e.h,rt)}catch(Le){return this.error=!0,Object($e.h)("pre",{style:{color:"red"}},Le.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&L.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var ne=this;if(!this.error){var se=this.$attrs,ge=this.$el,Ae=this.componentStructure;Ae.updated();var ke=K({$attrs:se,callBackBuilder:{manageAndEmit:function(rt){return Ie.call(ne,rt)},emit:function(rt){return ve.bind(ne,rt)},manage:function(rt){return fe.call(ne,rt)}}}),Ve=ge.nodeType===1?ge:ge.parentElement;this._sortable=new D.a(Ve,ke),this.targetDomElement=Ve,Ve.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var ne=this.list;return ne||this.modelValue},getKey:function(){var ne=this.itemKey;return typeof ne=="function"?ne:function(se){return se[ne]}}},watch:{$attrs:{handler:function(ne){var se=this._sortable;!se||Y(ne).forEach(function(ge){var Ae=b(ge,2),ke=Ae[0],Ve=Ae[1];se.option(ke,Ve)})},deep:!0}},methods:{getUnderlyingVm:function(ne){return this.componentStructure.getUnderlyingVm(ne)||null},getUnderlyingPotencialDraggableComponent:function(ne){return ne.__draggable_component__},emitChanges:function(ne){var se=this;Object($e.nextTick)(function(){return se.$emit("change",ne)})},alterList:function(ne){if(this.list){ne(this.list);return}var se=C(this.modelValue);ne(se),this.$emit("update:modelValue",se)},spliceList:function(){var ne=arguments,se=function(Ae){return Ae.splice.apply(Ae,C(ne))};this.alterList(se)},updatePosition:function(ne,se){var ge=function(ke){return ke.splice(se,0,ke.splice(ne,1)[0])};this.alterList(ge)},getRelatedContextFromMoveEvent:function(ne){var se=ne.to,ge=ne.related,Ae=this.getUnderlyingPotencialDraggableComponent(se);if(!Ae)return{component:Ae};var ke=Ae.realList,Ve={list:ke,component:Ae};if(se!==ge&&ke){var Ze=Ae.getUnderlyingVm(ge)||{};return i(i({},Ze),Ve)}return Ve},getVmIndexFromDomIndex:function(ne){return this.componentStructure.getVmIndexFromDomIndex(ne,this.targetDomElement)},onDragStart:function(ne){this.context=this.getUnderlyingVm(ne.item),ne.item._underlying_vm_=this.clone(this.context.element),De=ne.item},onDragAdd:function(ne){var se=ne.item._underlying_vm_;if(se!==void 0){N(ne.item);var ge=this.getVmIndexFromDomIndex(ne.newIndex);this.spliceList(ge,0,se);var Ae={element:se,newIndex:ge};this.emitChanges({added:Ae})}},onDragRemove:function(ne){if(S(ne.from,ne.item,ne.oldIndex),ne.pullMode==="clone"){N(ne.clone);return}var se=this.context,ge=se.index,Ae=se.element;this.spliceList(ge,1);var ke={element:Ae,oldIndex:ge};this.emitChanges({removed:ke})},onDragUpdate:function(ne){N(ne.item),S(ne.from,ne.item,ne.oldIndex);var se=this.context.index,ge=this.getVmIndexFromDomIndex(ne.newIndex);this.updatePosition(se,ge);var Ae={element:this.context.element,oldIndex:se,newIndex:ge};this.emitChanges({moved:Ae})},computeFutureIndex:function(ne,se){if(!ne.element)return 0;var ge=C(se.to.children).filter(function(Ze){return Ze.style.display!=="none"}),Ae=ge.indexOf(se.related),ke=ne.component.getVmIndexFromDomIndex(Ae),Ve=ge.indexOf(De)!==-1;return Ve||!se.willInsertAfter?ke:ke+1},onDragMove:function(ne,se){var ge=this.move,Ae=this.realList;if(!ge||!Ae)return!0;var ke=this.getRelatedContextFromMoveEvent(ne),Ve=this.computeFutureIndex(ke,ne),Ze=i(i({},this.context),{},{futureIndex:Ve}),rt=i(i({},ne),{},{relatedContext:ke,draggedContext:Ze});return ge(rt,se)},onDragEnd:function(){De=null}}}),Ke=ot;p.default=Ke},fb6a:function(m,p,d){var f=d("23e7"),o=d("861d"),u=d("e8b5"),n=d("23cb"),s=d("50c4"),i=d("fc6a"),r=d("8418"),l=d("b622"),c=d("1dde"),g=d("ae40"),v=c("slice"),b=g("slice",{ACCESSORS:!0,0:0,1:2}),_=l("species"),x=[].slice,w=Math.max;f({target:"Array",proto:!0,forced:!v||!b},{slice:function(M,D){var N=i(this),S=s(N.length),L=n(M,S),k=n(D===void 0?S:D,S),T,E,I;if(u(N)&&(T=N.constructor,typeof T=="function"&&(T===Array||u(T.prototype))?T=void 0:o(T)&&(T=T[_],T===null&&(T=void 0)),T===Array||T===void 0))return x.call(N,L,k);for(E=new(T===void 0?Array:T)(w(k-L,0)),I=0;L<k;L++,I++)L in N&&r(E,I,N[L]);return E.length=I,E}})},fc6a:function(m,p,d){var f=d("44ad"),o=d("1d80");m.exports=function(u){return f(o(u))}},fdbc:function(m,p){m.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(m,p,d){var f=d("4930");m.exports=f&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(vuedraggable_umd);var VuedraggableCjs=getDefaultExportFromCjs(vuedraggable_umd.exports);function registerIcon(t){t.component("el-icon-edit",edit),t.component("el-icon-minus",minus),t.component("el-icon-plus",plus),t.component("el-icon-info",infoFilled),t.component("el-icon-search",search),t.component("el-icon-circle-plus-outline",circlePlus),t.component("el-icon-delete",_delete),t.component("el-icon-arrow-down",arrowDown),t.component("el-icon-arrow-up",arrowUp)}if(typeof window!="undefined"){let t=function(){var a=document.body,e=document.getElementById("__svg__icons__dom__1779873397432__");e||(e=document.createElementNS("http://www.w3.org/2000/svg","svg"),e.style.position="absolute",e.style.width="0",e.style.height="0",e.id="__svg__icons__dom__1779873397432__",e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),e.innerHTML='<symbol class="icon" viewBox="0 0 1024 1024" id="icon-alert"><path d="M512 85.163a319.573 319.573 0 0 1 319.83 309.333l.17 10.667v174.805l58.88 134.656a53.29 53.29 0 0 1-48.853 74.71L640 789.418a128 128 0 0 1-255.787 7.509l-.213-7.637-201.6.042a53.333 53.333 0 0 1-48.939-74.581L192 580.011V405.163c0-177.28 143.019-320 320-320zm64 704.17-128 .128a64 64 0 0 0 127.701 6.144l.256-6.272zm-64-640.17c-141.653 0-256 114.09-256 256v188.16l-57.344 132.01h627.072L768 593.365V405.717l-.17-9.6A255.488 255.488 0 0 0 512 149.163zM896 352h85.333a32 32 0 0 1 4.352 63.701l-4.352.299H896a32 32 0 0 1-4.352-63.701L896 352zm-853.333 0H128a32 32 0 0 1 4.352 63.701L128 416H42.667a32 32 0 0 1-4.352-63.701l4.352-.299zm921.6-243.2a32 32 0 0 1-2.816 41.685l-3.584 3.115-85.334 64a32 32 0 0 1-41.984-48.085l3.584-3.115 85.334-64a32 32 0 0 1 44.8 6.4zm-859.734-6.4 85.334 64a32 32 0 1 1-38.4 51.2l-85.334-64a32 32 0 1 1 38.4-51.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-button"><path d="M912 176v416H732.48v-32H880V208H144v352h175.488v32H112V176z" /><path d="m436.384 788.512.544 2.688a16 16 0 0 0 27.776 5.504l44.032-54.336 56.768 97.664a16 16 0 0 0 21.792 5.856l68.672-39.392 2.368-1.664a16 16 0 0 0 3.52-20.256l-55.904-96.16 68.8-12.064a16 16 0 0 0 6.464-28.8l-256-180.64a16 16 0 0 0-25.12 14.976l36.288 306.624z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-card"><path d="M858.656 864H165.344C109.472 864 64 818.56 64 762.688V261.312C64 205.44 109.472 160 165.344 160h693.312C914.528 160 960 205.44 960 261.312v501.376C960 818.56 914.528 864 858.656 864zM165.344 224C144.736 224 128 240.736 128 261.312v501.376C128 783.264 144.736 800 165.344 800h693.312C879.264 800 896 783.264 896 762.688V261.312C896 240.736 879.264 224 858.656 224H165.344zM800 416H224c-17.664 0-32-14.336-32-32s14.336-32 32-32h576c17.696 0 32 14.336 32 32s-14.304 32-32 32zM320 736h-96c-17.664 0-32-14.304-32-32s14.336-32 32-32h96c17.664 0 32 14.304 32 32s-14.336 32-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-cascader-field"><path d="M661.377 411.07v64.595H314.175v395.654H871.32V475.665h-48.447V411.07h48.447c35.675 0 64.595 28.92 64.595 64.595v395.654c0 35.675-28.92 64.595-64.595 64.595H314.175c-35.675 0-64.6-28.92-64.6-64.595V475.665c0-35.675 28.925-64.595 64.6-64.595h347.202zm48.448-322.984c35.675 0 64.6 28.92 64.6 64.595v403.73c0 35.676-28.925 64.595-64.6 64.595H362.623v-64.594h347.202V152.68H152.68v403.73h48.447v64.595H152.68c-35.675 0-64.595-28.92-64.595-64.594V152.68c0-35.675 28.92-64.595 64.595-64.595h557.144z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-checkbox-field"><path d="M897.94 896.77c6.259-6.278 10.257-14.835 10.257-24.531V147.672c0-9.118-3.998-18.235-10.257-24.533-6.277-6.258-14.815-9.696-24.51-9.696H149.644c-9.688 0-18.236 3.437-24.503 9.696-6.268 6.297-9.687 15.414-9.687 24.533V872.24c0 9.696 3.42 18.253 9.687 24.53 6.267 6.278 14.815 10.276 24.503 10.276h723.784c9.697 0 18.234-3.998 24.511-10.276zM149.645 61.52h723.784c23.933 0 45.586 9.697 60.98 25.111 15.397 15.974 25.073 37.666 25.073 61.04v724.567c0 23.97-9.676 45.643-25.073 61.056-15.394 15.396-37.047 25.093-60.98 25.093H149.645c-23.364 0-45.017-9.697-60.972-25.093-15.396-15.414-25.082-37.087-25.082-61.056V147.672c0-23.374 9.686-45.065 25.082-61.039 15.955-15.415 37.608-25.112 60.972-25.112z" /><path d="M417.42 698.27a23.556 23.556 0 0 1-16.668-6.9L259.5 550.12c-9.173-9.15-9.173-24.095 0-33.291 9.17-9.147 24.115-9.147 33.288 0l124.583 124.607 312.895-312.917c9.194-9.172 24.14-9.172 33.288 0 9.196 9.172 9.196 24.116 0 33.29L433.992 691.37c-4.618 4.645-10.643 6.9-16.666 6.9h.093z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-color-field"><path d="M619.52 490.667h-.853l-85.334-85.334h.854z" /><path d="M619.52 507.733h-.853a17.067 17.067 0 1 1 0-34.133c9.438 0 17.476 7.646 17.476 17.067s-7.185 17.066-16.623 17.066zM534.187 422.4c-9.438 0-17.494-7.646-17.494-17.067s7.202-17.066 16.64-17.066h.854a17.067 17.067 0 1 1 0 34.133zM192 866.133a34.133 34.133 0 0 1-24.132-58.265l42.666-42.667a34.133 34.133 0 1 1 48.265 48.265l-42.667 42.666A33.963 33.963 0 0 1 192 866.133z" /><path d="m619.52 490.667-.427-.427-84.906-84.907L746.667 192H832v85.333z" /><path d="M662.187 567.467a33.997 33.997 0 0 1-24.133-10.001L467.388 386.799a34.133 34.133 0 0 1 48.281-48.282l170.667 170.667a34.133 34.133 0 0 1-24.15 58.283z" /><path d="M320 806.4h-85.333a17.067 17.067 0 0 1-17.067-17.067V704c0-4.54 1.792-8.875 5-12.066L521.695 392.84a16.52 16.52 0 0 1 3.567-2.731l209.305-210.142a17.117 17.117 0 0 1 12.1-5.018H832a17.067 17.067 0 0 1 17.067 17.067v85.333a17.067 17.067 0 0 1-4.967 12.05L631.62 502.732a17.954 17.954 0 0 1-3.618 2.782L332.066 801.434A17.135 17.135 0 0 1 320 806.4zm-68.267-34.133h61.201l294.093-294.093a16.52 16.52 0 0 1 3.567-2.73l204.34-205.16v-61.217h-61.185L546.287 417.382a17.954 17.954 0 0 1-3.618 2.782L251.733 711.066v61.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-component"><path d="M811.008 335.872c-2.048-7.168-11.264-9.216-17.408-4.096L690.176 435.2c-8.192 8.192-20.48 8.192-28.672 0L588.8 362.496c-8.192-8.192-8.192-20.48 0-28.672l104.448-104.448c5.12-5.12 3.072-14.336-4.096-17.408-17.408-4.096-35.84-7.168-54.272-7.168-108.544 0-195.584 94.208-183.296 204.8 2.048 17.408 6.144 32.768 12.288 48.128L225.28 697.344c-27.648 27.648-27.648 73.728 0 101.376 14.336 14.336 32.768 21.504 51.2 21.504s36.864-7.168 51.2-21.504l238.592-238.592c15.36 6.144 31.744 10.24 48.128 12.288 111.616 12.288 204.8-74.752 204.8-183.296 0-18.432-3.072-36.864-8.192-53.248z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-data-table"><path d="M915.692 39.385H108.308c-15.754 0-29.539 13.784-29.539 29.538v98.462c0 15.753 13.785 29.538 29.539 29.538h807.384c15.754 0 29.539-13.785 29.539-29.538V68.923c0-15.754-13.785-29.538-29.539-29.538zM285.538 275.692h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zM285.538 472.615h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 669.538h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 866.462h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538z" /></symbol><symbol class="icon" viewBox="0 0 1132 1024" id="icon-date-field"><path d="M1023.995 1023.995H107.789C48.262 1023.995 0 975.732 0 916.205V188.63C0 129.105 48.262 80.843 107.789 80.843h80.842v53.894h-80.842c-29.777 0-53.895 24.118-53.895 53.895V296.42H1077.89V188.63c0-29.776-24.117-53.894-53.894-53.894h-80.842V80.842h80.842c59.526 0 107.789 48.262 107.789 107.789v727.575c0 59.526-48.263 107.789-107.79 107.789Zm53.894-673.681H53.894v565.892c0 29.777 24.118 53.894 53.895 53.894h916.206c29.777 0 53.894-24.117 53.894-53.894V350.314ZM794.943 628.086l-3.584 5.632c-3.314 6.306-7.087 12.153-11.237 17.731L646.734 861.476H589.12l98.358-160.875c-.108 0-.216.027-.324.027-66.963 0-121.262-60.335-121.262-134.736 0-74.401 54.299-134.736 121.262-134.736 66.964 0 121.263 60.335 121.263 134.736 0 22.42-5.39 43.25-14.12 61.844l.646.35ZM687.154 485.05c-37.214 0-67.368 36.19-67.368 80.842 0 44.651 30.154 80.842 67.368 80.842 19.052 0 36.164-9.567 48.425-24.819l9.781-16.006c5.66-11.83 9.163-25.385 9.163-40.017 0-44.652-30.154-80.842-67.369-80.842Zm-310.216 21.881-80.734 72.327v-66.991l82.405-80.41h52.062v429.727h-53.733V506.93Zm512.32-291.353c-14.874 0-26.947-12.072-26.947-26.947V26.947C862.311 12.072 874.384 0 889.26 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947ZM296.42 80.842h538.944v53.894H296.42V80.842Zm-53.895 134.736c-14.875 0-26.947-12.072-26.947-26.947V26.947C215.578 12.072 227.65 0 242.525 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947Z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-date-range-field"><path d="M887.467 192.853H786.773v-73.386c0-10.24-6.826-17.067-17.066-17.067s-17.067 6.827-17.067 17.067v73.386H303.787v-73.386c0-10.24-6.827-17.067-17.067-17.067s-17.067 6.827-17.067 17.067v73.386H168.96c-46.08 0-85.333 37.547-85.333 85.334v558.08c0 46.08 37.546 85.333 85.333 85.333h718.507c46.08 0 85.333-37.547 85.333-85.333v-558.08c0-47.787-37.547-85.334-85.333-85.334zM168.96 226.987h100.693v66.56c0 10.24 6.827 17.066 17.067 17.066s17.067-6.826 17.067-17.066v-66.56h450.56v66.56c0 10.24 6.826 17.066 17.066 17.066s17.067-6.826 17.067-17.066v-66.56h98.987c27.306 0 51.2 22.186 51.2 51.2v88.746H117.76v-88.746c0-29.014 22.187-51.2 51.2-51.2zm718.507 660.48H168.96c-27.307 0-51.2-22.187-51.2-51.2v-435.2h820.907v435.2c0 27.306-22.187 51.2-51.2 51.2z" /><path d="M858.453 493.227H327.68c-10.24 0-17.067 6.826-17.067 17.066V624.64H194.56c-10.24 0-17.067 6.827-17.067 17.067v133.12c0 10.24 6.827 17.066 17.067 17.066H460.8c10.24 0 17.067-6.826 17.067-17.066V660.48h380.586c10.24 0 17.067-6.827 17.067-17.067v-133.12c0-10.24-6.827-17.066-17.067-17.066zM445.44 527.36v97.28h-98.987v-97.28h98.987zm-230.4 131.413h98.987v98.987H215.04v-98.987zm131.413 97.28v-97.28h98.987v97.28h-98.987zm133.12-228.693h97.28v98.987h-97.28V527.36zm131.414 0h98.986v98.987h-98.986V527.36zm230.4 97.28H742.4v-98.987h98.987v98.987z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-divider"><path d="M62.5 491.773h899v74.918h-899v-74.918z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-document"><path d="M979.478 706.382a44.522 44.522 0 0 1-11.843 57.967l-4.363 2.85L569.478 995.06l-5.388 4.764a84.013 84.013 0 0 1-43.943 17.808l-8.102.401c-19.056 0-37.31-6.545-52.046-18.254l-5.432-4.72L60.817 767.2a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zm0-222.609a44.522 44.522 0 0 1-11.843 57.968l-4.363 2.849-393.794 227.862-5.388 4.764a84.013 84.013 0 0 1-43.943 17.809l-8.102.4c-19.056 0-37.31-6.544-52.046-18.254l-5.432-4.719L60.817 544.59a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zM512 0c18.788 0 36.864 6.1 51.645 17.185l4.586 3.74 403.5 199.68 5.61 6.144c32.501 35.44 32.501 89.89 0 125.329l-5.61 6.144-403.5 199.59-4.541 3.785a86.239 86.239 0 0 1-43.676 16.83l-8.014.356c-18.788 0-36.864-6.1-51.645-17.186l-4.63-3.784L52.269 358.222l-5.61-6.144a92.739 92.739 0 0 1 0-125.329l5.61-6.144 403.456-199.68 4.585-3.74C473 7.702 488.136 1.87 503.986.356z" fill="#008df0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-drag"><path d="M574.958 267.016h-63.454 204.649L511.213 63.655 307.85 267.016h141.191V456.68H258.688v125.917H449.04V772.95h125.917V582.596h188.875V456.679H574.958V267.016zm-63.704 693.33 189.62-187.396H323.126l188.129 187.395zM71.292 518.891l187.395 189.62v-377.75L71.292 518.892zm692.54-188.13v377.75L952.708 518.89 763.833 330.762z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-file-upload-field"><path d="m676.48 72.96 209.92 211.2 9.6 23.04V928l-32 32H160l-32-32V96l32-32h494.08l22.4 8.96zM640 320h192L640 128v192zM192 128v768h640V384H608l-32-32V128H192zm512 320H320v64h384v-64zM320 576h384v64H320v-64zm384 128H320v64h384v-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-github"><path d="M512 0C229.284 0 .142 234.943.142 524.868c0 231.829 146.647 428.553 350.068 497.952 25.593 4.82 34.977-11.389 34.977-25.294 0-12.455-.469-45.47-.725-89.277-142.382 31.735-172.453-70.38-172.453-70.38-23.247-60.57-56.817-76.694-56.817-76.694-46.493-32.588 3.54-31.948 3.54-31.948 51.357 3.71 78.358 54.086 78.358 54.086 45.683 80.191 119.817 57.072 148.993 43.594 4.65-33.911 17.915-57.03 32.503-70.168-113.675-13.223-233.151-58.224-233.151-259.341 0-57.285 19.92-104.163 52.678-140.846-5.246-13.266-22.82-66.627 4.991-138.884 0 0 42.996-14.076 140.76 53.787 40.864-11.644 84.628-17.445 128.179-17.659 43.465.214 87.271 6.015 128.135 17.66 97.68-67.907 140.59-53.788 140.59-53.788 27.939 72.257 10.408 125.618 5.119 138.884 32.844 36.683 52.593 83.56 52.593 140.846 0 201.587-119.647 245.99-233.663 258.957 18.341 16.21 34.72 48.2 34.72 97.21 0 70.168-.639 126.728-.639 143.96 0 14.034 9.214 30.371 35.19 25.21 203.25-69.528 349.77-266.124 349.77-497.867C1023.858 234.943 794.674 0 512 0" fill="#3E75C3" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-grid"><path d="M819.354 921.6h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 819.2v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 460.8v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V102.4h-102.4v102.4zM921.754 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 921.754 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM563.354 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 563.354 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM204.954 0h-102.4A102.4 102.4 0 0 0 .154 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 204.954 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-html-text"><path d="m137.6 512 204.8-204.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L70.4 489.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4l227.2 227.2c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8L137.6 512zm464-339.2c-16-3.2-35.2 6.4-38.4 22.4L396.8 812.8c-3.2 16 6.4 35.2 22.4 38.4 16 3.2 35.2-6.4 38.4-22.4L624 211.2c6.4-16-3.2-35.2-22.4-38.4zm352 316.8L726.4 262.4c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8L886.4 512 681.6 716.8c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l227.2-227.2c6.4-6.4 9.6-16 9.6-22.4 0-9.6-3.2-16-9.6-22.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-node-tree"><path d="M332.48 500.864a25.6 25.6 0 1 0 0-51.2H192.384v-184.96a115.2 115.2 0 0 0 89.6-112.128c0-63.488-51.712-115.2-115.2-115.2s-115.2 51.712-115.2 115.2a115.2 115.2 0 0 0 89.6 112.128v696.192a25.6 25.6 0 1 0 51.2 0v-141.12c2.304.192 4.48.512 6.912.512H332.48a25.6 25.6 0 1 0 0-51.2H199.296c-3.456 0-5.504-.448-6.08-.256a29.184 29.184 0 0 1-.896-8.576V500.8h140.16zM102.784 152.64c0-35.264 28.736-64 64-64s64 28.736 64 64-28.736 64-64 64-64-28.736-64-64zm818.432 207.424h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4zm486.336 140.352h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-number-field"><path d="M960 1024H64a64 64 0 0 1-64-64V64A64 64 0 0 1 64 0h896a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64zm0-896a64 64 0 0 0-64-64H128a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128zM832 768H704a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v384a64 64 0 0 1-64 64zM512 640a64 64 0 0 1 0 128H384a64 64 0 0 1-64-64V512a64 64 0 0 1 64-64h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v192a64 64 0 0 1-64 64h-64v64h64zM192 768a64 64 0 0 1-64-64V320a64 64 0 0 1 128 0v384a64 64 0 0 1-64 64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-picture-upload-field"><path d="M896 1024H128C57.312 1024 0 966.688 0 896V128C0 57.312 57.312 0 128 0h768c70.688 0 128 57.312 128 128v768c0 70.688-57.312 128-128 128zm0-64c35.328 0 64-28.672 64-64V639.968l-192-192L494.816 721.12 730.624 960H896zM64 896c0 35.328 28.672 64 64 64h512.032L318.24 638.208 64 865.952V896zm896-768c0-35.328-28.672-64-64-64H128c-35.328 0-64 28.672-64 64v650.752L320 544l129.856 131.552L768 352l192 196.096V128zM256 384c-70.688 0-128-57.312-128-128s57.312-128 128-128 128 57.312 128 128-57.312 128-128 128zm0-192c-35.328 0-64 28.672-64 64s28.672 64 64 64 64-28.672 64-64-28.672-64-64-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-radio-field"><path d="M512 65.983C266.08 65.983 65.983 266.08 65.983 512c0 245.952 200.065 446.017 446.017 446.017S958.017 757.952 958.017 512c0-245.92-200.065-446.017-446.017-446.017zm0 828.034c-210.656 0-382.017-171.392-382.017-382.017 0-210.656 171.36-382.017 382.017-382.017 210.625 0 382.017 171.36 382.017 382.017 0 210.625-171.392 382.017-382.017 382.017zM512 352C423.776 352 352 423.776 352 512s71.774 160 160 160 160-71.774 160-160-71.776-160-160-160z" /></symbol><symbol class="icon" viewBox="0 0 1069 1024" id="icon-rate-field"><path d="m633.73 378.02 9.498 18.688 20.78 2.798 206.616 27.332a11.465 11.465 0 0 1 6.61 19.473L729.966 593.665l-14.893 14.893 3.8 20.683 37.847 204.89a11.465 11.465 0 0 1-16.481 12.296l-185.55-94.58-18.687-9.493-18.487 9.992-183.24 99.35a11.465 11.465 0 0 1-16.784-11.867l32.543-205.796 3.297-20.786-15.192-14.492-151.033-143.484a11.465 11.465 0 0 1 6.1-19.64L399 402.998l20.786-3.296 9.092-18.98 89.713-188.078a11.465 11.465 0 0 1 20.569-.263l94.568 185.635zM496.647 85.52 374.89 340.501l-279.126 44.26a34.395 34.395 0 0 0-18.303 58.908l204.873 194.663-44.169 279.115a34.395 34.395 0 0 0 50.366 35.616l248.4-134.679L788.776 946.66a34.395 34.395 0 0 0 49.437-36.894l-51.306-277.854 199.731-199.909a34.395 34.395 0 0 0-19.828-58.408l-280.118-37.032L558.33 84.713a34.395 34.395 0 0 0-61.682.802z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-redo"><path d="M412.081 346.3h443.415L640.168 133.871c-18.973-18.973-18.973-46.064 0-65.038s44.325-19.884 63.381-.83l291.385 284.591c18.973 18.973 18.973 44.159 0 63.132L703.549 700.649c-18.973 18.973-44.325 18.973-63.381-.083-18.973-18.973-18.973-43.91 0-62.883l215.328-208.534H412.081c-177.3 0-314.335 138.359-314.335 309.364v44.325c0 25.354-16.074 44.325-41.425 44.325s-41.425-18.973-41.425-44.325v-44.325c0-221.709 169.181-392.213 397.185-392.213z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-rich-editor-field"><path d="M313.36 448.094H632.63v31.927H313.36v-31.927ZM313.36 583.784h223.49v31.927H313.36v-31.927ZM313.36 719.474h127.709v31.927h-127.71v-31.927ZM889.412 554.809l-39.955-39.971-39.957-39.941c-7.358-7.358-19.285-7.358-26.642 0l-329.7 329.694a14.08 14.08 0 0 0-4.592 6.873L412.078 932.86a14.158 14.158 0 0 0 3.54 14.079l.99.763.77.982a14.174 14.174 0 0 0 14.062 3.555l121.395-36.495a14.04 14.04 0 0 0 6.938-4.677l329.639-329.63c7.35-7.343 7.35-19.284 0-26.627zM541.136 889.756l-95.198 28.622 28.623-95.235 255.02-255.02 66.6 66.599-255.045 255.034zM856.112 574.78l-46.611 46.611-66.59-66.598 46.605-46.597c3.677-3.68 9.641-3.68 13.319-.016l26.892 26.892 26.384 26.394c3.68 3.68 3.68 9.65.001 13.314z" /><path d="M671.874 224.898v-28.934c0-22.004-17.905-39.909-39.909-39.909H314.026c-22.004 0-39.909 17.905-39.909 39.91v28.933h-104.43v643.564c0 35.26 28.592 63.854 63.855 63.854h127.709v-47.89H249.506c-17.632 0-31.928-14.299-31.928-31.928v-579.71h56.54v10.976c0 22.004 17.904 39.909 39.908 39.909h317.938c22.004 0 39.91-17.905 39.91-39.91V272.79h56.538V437.45h47.89V224.898H671.875zm-47.89 50.884H322.007v-71.836h301.974v71.836z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-section"><path d="M141.074 906.496h741.852c89.581 0 134.583-44.562 134.583-132.846V250.331c0-88.283-45.002-132.845-134.583-132.845H141.074c-89.143.018-134.583 44.16-134.583 132.845V773.67c0 88.704 45.44 132.845 134.583 132.845zm1.28-68.992c-42.861 0-66.852-22.71-66.852-67.291V253.806c0-44.58 23.99-67.292 66.852-67.292h739.292c42.423 0 66.852 22.711 66.852 67.292v516.388c0 44.58-24.43 67.292-66.852 67.292z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-select-field"><path d="M374.784 649.515a32 32 0 0 1 3.072 41.685l-3.115 3.584L225.28 843.947a32 32 0 0 1-37.845 5.504l-3.968-2.56-85.334-64a32 32 0 0 1 34.432-53.76l3.968 2.56 63.147 47.36 129.835-129.622a32 32 0 0 1 45.269.043zm531.37 75.818a32 32 0 0 1 4.31 63.702l-4.31.298h-448a32 32 0 0 1-4.351-63.744l4.352-.256h448zm.513-256a32 32 0 0 1 4.352 63.702l-4.352.298h-448a32 32 0 0 1-4.352-63.701l4.352-.299h448zm-531.84-331.776a32 32 0 0 1 2.986 41.686l-3.114 3.584-149.846 149.205a32 32 0 0 1-37.888 5.419l-3.925-2.56-84.907-64a32 32 0 0 1 34.518-53.675l3.968 2.56 62.72 47.275L329.6 137.472a32 32 0 0 1 45.227.085zm531.328 75.819a32 32 0 0 1 4.309 63.701l-4.31.299H459.35a32 32 0 0 1-4.352-63.744l4.352-.256h446.806z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-select-tree-field"><path d="M374.784 649.515a32 32 0 0 1 3.072 41.685l-3.115 3.584L225.28 843.947a32 32 0 0 1-37.845 5.504l-3.968-2.56-85.334-64a32 32 0 0 1 34.432-53.76l3.968 2.56 63.147 47.36 129.835-129.622a32 32 0 0 1 45.269.043zm531.37 75.818a32 32 0 0 1 4.31 63.702l-4.31.298h-448a32 32 0 0 1-4.351-63.744l4.352-.256h448zm.513-256a32 32 0 0 1 4.352 63.702l-4.352.298h-448a32 32 0 0 1-4.352-63.701l4.352-.299h448zm-531.84-331.776a32 32 0 0 1 2.986 41.686l-3.114 3.584-149.846 149.205a32 32 0 0 1-37.888 5.419l-3.925-2.56-84.907-64a32 32 0 0 1 34.518-53.675l3.968 2.56 62.72 47.275L329.6 137.472a32 32 0 0 1 45.227.085zm531.328 75.819a32 32 0 0 1 4.309 63.701l-4.31.299H459.35a32 32 0 0 1-4.352-63.744l4.352-.256h446.806z" /><path d="M224 192a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm256-480a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0ZM192 352h256M192 672h256M224 192v160m0 160v160" stroke="currentColor" stroke-width="32" fill="none" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slider-field"><path d="M951.453 476.844H523.672a131.836 131.836 0 0 0-254.18 0H72.547v70.312h196.945a131.836 131.836 0 0 0 254.18 0h427.781z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-component"><path d="M512 102.4c-212.48 0-384 171.52-384 384s171.52 384 384 384 384-171.52 384-384-171.52-384-384-384zm25.6 716.8v-128c0-15.36-10.24-25.6-25.6-25.6s-25.6 10.24-25.6 25.6v128C322.56 806.4 192 675.84 179.2 512h128c15.36 0 25.6-10.24 25.6-25.6s-10.24-25.6-25.6-25.6h-128C192 296.96 322.56 166.4 486.4 156.16V281.6c0 15.36 10.24 25.6 25.6 25.6s25.6-10.24 25.6-25.6V156.16C701.44 168.96 832 299.52 844.8 460.8h-128c-15.36 0-25.6 10.24-25.6 25.6s10.24 25.6 25.6 25.6h128C832 675.84 701.44 806.4 537.6 819.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-field"><path d="M493.969 244.87h36.285q18.031 0 18.031 18.03v217.267q0 18.031-18.031 18.031h-36.285q-18.032 0-18.032-18.031V262.901q0-18.031 18.032-18.031ZM323.45000000000005 525.802h36.286q18.031 0 18.031 18.031v217.266q0 18.031-18.031 18.031H323.45q-18.03 0-18.03-18.03V543.832q0-18.031 18.03-18.031ZM664.2639999999999 525.802h36.286q18.03 0 18.03 18.031v217.266q0 18.031-18.03 18.031h-36.286q-18.031 0-18.031-18.03V543.832q0-18.031 18.031-18.031Z" /><path d="M827.437 122.212H196.563a74.574 74.574 0 0 0-74.35 74.351v630.874a74.574 74.574 0 0 0 74.35 74.35h630.874a74.574 74.574 0 0 0 74.35-74.35V196.563a74.574 74.574 0 0 0-74.35-74.35zm52.09 705.225a52.09 52.09 0 0 1-52.09 52.09H196.563a52.09 52.09 0 0 1-52.09-52.09V196.563a52.09 52.09 0 0 1 52.09-52.09h630.874a52.09 52.09 0 0 1 52.09 52.09z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-static-text"><path d="M213.333 160c-4.821 0-9.472.64-13.824 1.792a32 32 0 0 1-16.554-61.824C192.683 97.408 202.88 96 213.333 96h33.195a32 32 0 0 1 0 64h-33.195zm133.931-32a32 32 0 0 1 32-32h66.347a32 32 0 1 1 0 64h-66.304a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zm199.083 0a32 32 0 0 1 32-32h33.195c10.453 0 20.65 1.365 30.378 3.968a32 32 0 1 1-16.554 61.867A53.419 53.419 0 0 0 810.667 160h-33.195a32 32 0 0 1-32-32zm-606.293 32.341a32 32 0 0 1 22.613 39.168A53.461 53.461 0 0 0 160 213.333v33.195a32 32 0 0 1-64 0v-33.195c0-10.453 1.365-20.65 3.968-30.378a32 32 0 0 1 39.168-22.614zm745.685 0a32 32 0 0 1 39.168 22.614c2.56 9.728 3.968 19.925 3.968 30.378v33.195a32 32 0 0 1-64 0v-33.195c0-4.821-.64-9.472-1.792-13.824a32 32 0 0 1 22.613-39.168zM128 347.221a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zM128 546.432a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm0 199.083a32 32 0 0 1 32 32v33.152c0 10.453-1.365 20.65-3.968 30.378a32 32 0 1 1-61.867-16.554c1.195-4.352 1.835-8.96 1.835-13.824v-33.195a32 32 0 0 1 32-32zm-768 0a32 32 0 0 1 32 32v33.152c0 4.821.64 9.472 1.792 13.824a32 32 0 0 1-61.824 16.512A117.461 117.461 0 0 1 96 810.667v-33.195a32 32 0 0 1 32-32zm32.341 139.392a32 32 0 0 1 39.168-22.656 53.814 53.814 0 0 0 13.824 1.792h33.195a32 32 0 0 1 0 64h-33.195c-10.453 0-20.65-1.366-30.378-3.968a32 32 0 0 1-22.614-39.168zm703.318 0a32 32 0 0 1-22.614 39.168c-9.728 2.56-19.925 3.968-30.378 3.968h-33.195a32 32 0 0 1 0-64h33.195c4.821 0 9.472-.64 13.824-1.792a32 32 0 0 1 39.168 22.613zM347.307 896a32 32 0 0 1 32-32h66.346a32 32 0 1 1 0 64h-66.346a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zM341.333 352a32 32 0 0 0 0 64H480v266.667a32 32 0 0 0 64 0V416h138.667a32 32 0 0 0 0-64H341.333z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-sub-form"><path d="M512 106.667H112a5.333 5.333 0 0 0-5.333 5.333v800a5.333 5.333 0 0 0 5.333 5.333h800a5.333 5.333 0 0 0 5.333-5.333V112a5.333 5.333 0 0 0-5.333-5.333zm0 74.666h325.333a5.333 5.333 0 0 1 5.334 5.334v160a5.333 5.333 0 0 1-5.334 5.333H186.667a5.333 5.333 0 0 1-5.334-5.333v-160a5.333 5.333 0 0 1 5.334-5.334zM597.333 432v405.333a5.333 5.333 0 0 1-5.333 5.334H432a5.333 5.333 0 0 1-5.333-5.334V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.333 5.333zm-410.666-5.333h160A5.333 5.333 0 0 1 352 432v405.333a5.333 5.333 0 0 1-5.333 5.334h-160a5.333 5.333 0 0 1-5.334-5.334V432a5.333 5.333 0 0 1 5.334-5.333zM672 837.333V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.334 5.333v405.333a5.333 5.333 0 0 1-5.334 5.334h-160a5.333 5.333 0 0 1-5.333-5.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-switch-field"><path d="M692 792H332C182 792 62 672 62 522s120-270 270-270h360c150 0 270 120 270 270 0 147-120 270-270 270zM332 312c-117 0-210 93-210 210s93 210 210 210h360c117 0 210-93 210-210s-93-210-210-210H332z" /><path d="M191 522a150 150 0 1 0 300 0 150 150 0 1 0-300 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-tab"><path d="M908.8 1005.44H115.2A101.76 101.76 0 0 1 14.08 903.68V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z" /><path d="M977.92 299.52a32.64 32.64 0 0 1-32-32v-87.04a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32H908.8a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z" /><path d="M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z" /><path d="M699.52 299.52a32 32 0 0 1-32-32v-156.8a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-table"><path d="M925.586 0H101.369C69.885 0 42.24 28.924 42.24 62.328v902.8c0 33.403 27.645 58.872 59.129 58.872h824.217c31.484 0 56.057-25.469 56.057-58.873V62.328C981.643 28.924 957.198 0 925.586 0zM373.719 735.908V543.932h276.445v191.976zm276.445 42.235v203.494H373.719V778.143zm287.964-276.446h-244.45V298.203h244.45zm-287.964 0H373.719V298.203h276.445zm-319.96 0H85.754V298.203h244.45zm-244.45 42.235h244.45v191.976H85.754zm607.925 0h244.449v191.976h-244.45zM101.369 42.235h824.217c7.807 0 12.542 10.366 12.542 20.093v193.64H85.755V62.328c0-9.727 7.807-20.093 15.614-20.093zM85.755 964.999V778.143h244.449v203.494H101.369c-7.807 0-15.614-6.91-15.614-16.51zm839.83 16.638H693.68V778.143h244.449v186.856c0 9.727-4.607 16.638-12.542 16.638z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-text-field"><path d="M896 224H128c-35.2 0-64 28.8-64 64v448c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V288c0-35.2-28.8-64-64-64zm0 480c0 19.2-12.8 32-32 32H160c-19.2 0-32-12.8-32-32V320c0-19.2 12.8-32 32-32h704c19.2 0 32 12.8 32 32v384z" /><path d="M224 352c-19.2 0-32 12.8-32 32v256c0 16 12.8 32 32 32s32-12.8 32-32V384c0-16-12.8-32-32-32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-textarea-field"><path d="M896.4 173.1H128.9c-35.2 0-49 13.8-49 49v575.6c0 35.2 13.8 49 49 49h767.5c35.2 0 49-13.8 49-49V222.1c0-35.2-13.8-49-49-49zm0 592.6c0 16-12.8 32-32 32H160.9c-19.2 0-32-12.8-32-32V254.1c0-16 12.8-32 32-32h703.5c19.2 0 32 12.8 32 32v511.6z" /><path d="M710.2 766.7h141.5c8.1 0 14.7-6.6 14.7-14.7V610.4c0-1.3-1.6-2-2.6-1.1L709.1 764.1c-1 1-.3 2.6 1.1 2.6zm-503-172.4h-13.5c-10 0-18.2-8.2-18.2-18.2V291.8c0-10.2 8.4-18.6 18.6-18.6h12.8c10.2 0 18.6 8.4 18.6 18.6v284.3c-.1 10-8.3 18.2-18.3 18.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-field"><path d="M512 39.385A472.615 472.615 0 1 0 984.615 512 472.615 472.615 0 0 0 512 39.385zm0 866.461A393.846 393.846 0 1 1 905.846 512 393.846 393.846 0 0 1 512 905.846zm75.855-373.72A77.154 77.154 0 0 0 590.769 512a78.454 78.454 0 0 0-39.384-67.86V196.923a39.385 39.385 0 0 0-78.77 0V444.14a78.336 78.336 0 0 0 59.55 143.715l70.144 70.144a39.385 39.385 0 0 0 55.69-55.69zM512 551.385A39.385 39.385 0 1 1 551.385 512 39.385 39.385 0 0 1 512 551.385zm315.077-78.77A39.385 39.385 0 1 0 866.462 512a39.385 39.385 0 0 0-39.385-39.385zm-630.154 0A39.385 39.385 0 1 0 236.308 512a39.385 39.385 0 0 0-39.385-39.385zm509.991 234.3a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69 0zM317.007 317.006a39.385 39.385 0 1 0-55.73 0 39.385 39.385 0 0 0 55.809.04zM512 787.692a39.385 39.385 0 1 0 39.385 39.385A39.385 39.385 0 0 0 512 787.692zm-250.604-80.778a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.039zm445.518-445.518a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.04z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-range-field"><path d="M498.596 482.29H345.42v57.308h210.478V274.197h-57.301V482.29zm79.089 162.695h379.88v57.302h-379.88v-57.302zm0 128.78h379.88v57.307h-379.88v-57.307zm0 128.785h379.88v57.307h-379.88V902.55zm0 0" /><path d="M102.523 382.29a28.668 28.668 0 0 0 23.367 2.56l190.81-61.886c15.053-4.883 23.298-21.04 18.415-36.09-4.882-15.052-21.04-23.297-36.093-18.415l-123.346 40c15.994-26.117 35.17-50.538 57.37-72.745 73.768-73.767 171.847-114.388 276.169-114.388 104.32 0 202.395 40.622 276.161 114.388S899.77 407.56 899.77 511.882c0 26.428-2.616 52.45-7.71 77.78h58.303c4.465-25.499 6.709-51.47 6.709-77.78 0-60.45-11.846-119.102-35.205-174.336-22.56-53.335-54.85-101.227-95.969-142.35-41.122-41.122-89.017-73.408-142.348-95.968-55.233-23.361-113.89-35.207-174.334-35.207-60.45 0-119.107 11.846-174.337 35.208-53.335 22.56-101.23 54.846-142.35 95.969-23.98 23.98-44.933 50.278-62.727 78.6l-20.738-105.654c-3.043-15.528-18.105-25.642-33.632-22.6-15.528 3.048-25.643 18.105-22.6 33.637l36.103 183.932a28.666 28.666 0 0 0 13.588 19.178zm23.497 205.652H67.768c5.76 33.679 15.368 66.544 28.79 98.278 22.56 53.334 54.85 101.225 95.972 142.348 41.123 41.123 89.014 73.409 142.349 95.969 54.112 22.888 111.518 34.711 170.668 35.182v-57.324c-102.95-.941-199.595-41.446-272.5-114.349-55.501-55.502-92.237-124.77-107.027-200.104zm0 0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-undo"><path d="M609.206 396.656H193.504l201.87-199.152c17.787-17.787 17.787-43.185 0-60.973s-41.555-18.641-59.42-.778L62.857 402.557c-17.787 17.787-17.787 41.399 0 59.186L336.03 728.858c17.787 17.787 41.555 17.787 59.42-.078 17.787-17.787 17.787-41.166 0-58.953L193.502 474.326h415.702c166.219 0 311.155 129.712 311.155 290.029v41.555c0 23.769 15.069 41.555 38.836 41.555s38.836-17.787 38.836-41.555v-41.555c0-207.852-175.073-367.7-388.828-367.7z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-vue-sfc"><path d="M454.138 11.176 54.066 174.092c-72.088 29.49-72.088 120.523 0 150.014l400.276 162.916c36.454 14.95 78.847 14.95 115.506 0l400.071-162.814c72.191-29.593 72.089-120.83-.307-150.116L569.746 11.278a155.339 155.339 0 0 0-115.608-.205zm469.19 237.872L532.37 408.585l-7.885 2.457a55.09 55.09 0 0 1-32.562-2.457L100.35 249.048l391.265-159.23a55.09 55.09 0 0 1 40.447 0l391.162 159.23z" fill="#1890FF" /><path d="M498.681 729.911c-20.275 0-40.652-3.788-59.391-11.673L53.76 561.26C20.48 547.847 0 519.89 0 488.558c0-31.436 20.582-59.391 53.862-72.703l36.556-15.053c21.401-8.806 47.103-1.024 57.24 17.408 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.229-4.71 3.584-4.71 6.45 0 3.073 1.536 5.12 4.71 6.452l385.326 156.875c14.336 5.939 30.924 5.939 45.362 0L906.74 495.009c3.072-1.229 4.915-3.584 4.915-6.451 0-3.072-1.536-5.222-4.607-6.451l-44.851-18.227c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.329 35.84-26.214 57.24-17.407l44.851 18.431c33.177 13.517 53.76 41.267 53.76 72.703 0 31.334-20.48 59.391-53.76 72.703L558.482 718.238a161.585 161.585 0 0 1-59.801 11.673z" fill="#5DE1C8" /><path d="M498.681 966.247c-20.275 0-40.652-3.89-59.391-11.673L53.76 797.597C20.48 784.08 0 756.227 0 724.997c0-31.437 20.582-59.494 53.862-72.806l36.556-14.95c21.401-8.807 47.103-1.024 57.24 17.407 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.126-4.71 3.584-4.71 6.451 0 3.072 1.536 5.12 4.71 6.349l385.326 156.977c14.336 5.939 30.924 5.939 45.362 0L906.74 731.14c3.072-1.126 4.915-3.584 4.915-6.349 0-3.072-1.536-5.324-4.607-6.45l-44.851-18.33c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.431 35.84-26.214 57.24-17.407l44.851 18.329c33.177 13.517 53.76 41.369 53.76 72.703 0 31.436-20.48 59.494-53.76 72.805l-385.428 157.08a161.585 161.585 0 0 1-59.801 11.673z" fill="#FF7272" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-search"><path d="M863.3 641.94A416.1 416.1 0 0 0 96.7 318.06a416.1 416.1 0 0 0 766.6 323.88zM480 832a352 352 0 1 1 248.9-103.1A349.69 349.69 0 0 1 480 832z" /><path d="m950.63 841.37-96-96a32 32 0 0 0-45.25 45.25l96 96a13.25 13.25 0 1 1-18.75 18.75l-96-96a32 32 0 0 0-45.25 45.25l96 96a77.25 77.25 0 1 0 109.25-109.25z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-arrow-down"><path d="M512 714.667c-8.533 0-17.067-2.134-23.467-8.534L147.2 364.8c-12.8-12.8-12.8-32 0-44.8 12.8-12.8 32-12.8 44.8 0l320 317.867 317.867-320c12.8-12.8 32-12.8 44.8 0 12.8 12.8 12.8 32 0 44.8L533.333 704c-4.266 8.533-12.8 10.667-21.333 10.667z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-back"><path fill="currentColor" d="M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z" /><path fill="currentColor" d="m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312L237.248 512z" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-el-check"><path fill="currentColor" d="M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-clone"><path d="M774.144 839.68c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H184.32c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V380.928c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4v65.536c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08V839.68c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h458.752c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08h65.536zM380.928 118.784c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v458.752c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456H839.68c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V184.32c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H380.928zm0-65.536H839.68c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v458.752c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H380.928c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V184.32c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-delete"><path fill="currentColor" d="M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-download"><path d="M896 672c-17.067 0-32 14.933-32 32v128c0 6.4-4.267 10.667-10.667 10.667H170.667c-6.4 0-10.667-4.267-10.667-10.667V704c0-17.067-14.933-32-32-32s-32 14.933-32 32v128c0 40.533 34.133 74.667 74.667 74.667h682.666C893.867 906.667 928 872.533 928 832V704c0-17.067-14.933-32-32-32z" /><path d="M488.533 727.467c6.4 6.4 14.934 8.533 23.467 8.533s17.067-2.133 23.467-8.533L748.8 514.133c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L546.133 627.2V170.667c0-17.067-14.933-32-32-32S480 153.6 480 170.667V627.2L322.133 469.333c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8l211.2 213.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-drag-move"><path d="M909.3 506.3 781.7 405.6c-4.7-3.7-11.7-.4-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7c-2.9-3.7-8.5-3.7-11.3 0L405.6 242.3c-3.7 4.7-.4 11.7 5.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3c-3.7 2.9-3.7 8.5 0 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.7-2.9 3.7-8.5.1-11.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-form-template"><path d="M298.667 981.333A85.333 85.333 0 0 1 213.333 896V128a85.333 85.333 0 0 1 85.334-85.333h426.666A85.333 85.333 0 0 1 810.667 128v768a85.333 85.333 0 0 1-85.334 85.333zm0-832v725.334A21.333 21.333 0 0 0 320 896h384a21.333 21.333 0 0 0 21.333-21.333V149.333A21.333 21.333 0 0 0 704 128H320a21.333 21.333 0 0 0-21.333 21.333zm640 618.667V256a42.667 42.667 0 0 1 42.666-42.667A42.667 42.667 0 0 1 1024 256v512a42.667 42.667 0 0 1-42.667 42.667A42.667 42.667 0 0 1 938.667 768zM0 768V256a42.667 42.667 0 0 1 42.667-42.667A42.667 42.667 0 0 1 85.333 256v512a42.667 42.667 0 0 1-42.666 42.667A42.667 42.667 0 0 1 0 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-hide"><path d="M956.8 496c-41.6-70.4-99.2-147.2-176-204.8l105.6-105.6c12.8-12.8 12.8-32 0-44.8s-32-12.8-44.8 0L726.4 256C665.6 214.4 592 192 512 192c-214.4 0-358.4 166.4-444.8 304-6.4 9.6-6.4 22.4 0 32 41.6 70.4 102.4 147.2 176 204.8L134.4 841.6c-12.8 12.8-12.8 32 0 44.8 9.6 6.4 16 9.6 25.6 9.6s16-3.2 22.4-9.6l115.2-115.2C358.4 809.6 432 832 512 832c185.6 0 374.4-128 444.8-307.2 3.2-9.6 3.2-19.2 0-28.8zm-822.4 16C211.2 390.4 336 256 512 256c60.8 0 118.4 16 166.4 44.8l-80 80C576 361.6 544 352 512 352c-89.6 0-160 70.4-160 160 0 32 9.6 64 25.6 89.6L288 691.2C224 640 172.8 572.8 134.4 512zm473.6 0c0 54.4-41.6 96-96 96-16 0-28.8-3.2-41.6-9.6l128-128c6.4 12.8 9.6 25.6 9.6 41.6zm-192 0c0-54.4 41.6-96 96-96 16 0 28.8 3.2 41.6 9.6l-128 128c-6.4-12.8-9.6-25.6-9.6-41.6zm96 256c-60.8 0-118.4-16-166.4-44.8l80-80C448 662.4 480 672 512 672c89.6 0 160-70.4 160-160 0-32-9.6-64-25.6-89.6l89.6-89.6C803.2 384 854.4 451.2 892.8 512 825.6 659.2 665.6 768 512 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-info"><path d="M512.001 928.997c230.524 0 418.076-187.552 418.075-418.077 0-230.527-187.552-418.077-418.075-418.077S93.924 280.393 93.924 510.92c0 230.525 187.552 418.077 418.077 418.077zM512 301.88c28.86 0 52.26 23.399 52.26 52.263 0 28.858-23.399 52.257-52.26 52.257s-52.26-23.399-52.26-52.257c0-28.863 23.399-52.263 52.26-52.263zm-52.26 209.042c0-28.86 23.399-52.26 52.26-52.26s52.26 23.399 52.26 52.26v156.775c0 28.86-23.399 52.26-52.26 52.26s-52.26-23.399-52.26-52.26V510.922z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-column"><path d="M653.184 713.6c12.864-12.864 33.6-12.864 46.528 0 6.4 6.4 3.776 14.72 3.776 23.232a32.675 32.675 0 0 1-9.6 23.104L569.92 886.4c-.128.128-.32.192-.512.32-2.88 2.88-9.536 5.184-13.312 6.784-3.456 1.344-.64 1.856-4.096 2.112-.768 0-1.344.384-2.048.384-.512 0-.896-.256-1.344-.256-3.84-.192-5.76-.896-9.344-2.24-3.264-1.344-6.016-3.52-8.64-5.76-.64-.512-1.472-.768-2.048-1.344L391.232 760c-12.864-12.736-6.976-33.6 5.888-46.4 12.8-12.864 33.6-12.864 46.464 0l105.472 100.352L653.184 713.6zM384 64v576h320V64H384zM128 704v256H64V640h256v320h-62.976L256 704H128m704 0v256h-64V640h256v320h-62.976L960 704H832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-row"><path d="M310.336 653.184c12.864 12.864 12.864 33.6 0 46.528-6.4 6.4-14.72 3.776-23.168 3.776s-16.832-3.264-23.168-9.6L137.6 569.92c-.128-.128-.192-.32-.256-.512-2.88-2.816-5.248-9.536-6.848-13.312-1.344-3.392-1.856-.576-2.112-4.096 0-.768-.384-1.344-.384-2.048 0-.512.256-.896.256-1.344.192-3.84.896-5.76 2.24-9.344 1.344-3.264 3.52-6.016 5.76-8.64.512-.704.768-1.536 1.344-2.112l126.336-137.344c12.8-12.864 33.6-6.976 46.4 5.888 12.864 12.8 12.864 33.6 0 46.464L210.048 548.992l100.288 104.192zM960 384H384v320h576V384zM320 128H64V64h320v256H64v-62.976L320 256V128m0 704H64v-64h320v256H64v-62.976L320 960V832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-menu"><path d="M844.8 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zM435.2 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-down"><path d="M898.133 512c-12.8-12.8-32-12.8-44.8-2.133L544 800V149.333c0-17.066-14.933-32-32-32s-32 14.934-32 32V800L170.667 509.867c-12.8-12.8-34.134-10.667-44.8 2.133-12.8 12.8-10.667 34.133 2.133 44.8l362.667 341.333c2.133 2.134 6.4 4.267 8.533 6.4 4.267 2.134 6.4 2.134 10.667 2.134s8.533 0 10.666-2.134c4.267-2.133 6.4-4.266 8.534-6.4L891.733 556.8c17.067-12.8 19.2-32 6.4-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-up"><path d="M896 467.2 533.333 125.867c-2.133-2.134-6.4-4.267-8.533-6.4-4.267-2.134-6.4-2.134-10.667-2.134s-8.533 0-10.666 2.134c-4.267 2.133-6.4 4.266-8.534 6.4L132.267 467.2c-12.8 12.8-12.8 32-2.134 44.8 12.8 12.8 32 12.8 44.8 2.133L484.267 224v650.667c0 17.066 14.933 32 32 32s32-14.934 32-32V224l305.066 290.133c6.4 6.4 14.934 8.534 21.334 8.534 8.533 0 17.066-4.267 23.466-10.667 12.8-12.8 10.667-32-2.133-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-plus"><path d="M554.667 213.333h-85.334v256h-256v85.334h256v256h85.334v-256h256v-85.334h-256z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-set-up"><path d="M217.088 151.552c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v589.824c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h589.824c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V217.088c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H217.088zm0-65.536h589.824c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v589.824c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H217.088c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V217.088c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4zm163.84 327.68c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm98.304-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H479.232c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768zm163.84 425.984c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm-360.448-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H282.624c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-view"><path fill="currentColor" d="M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-el-zoom-in"><path fill="currentColor" d="m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z" /></symbol>',a.insertBefore(e,a.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}var iconfont="",index="";function addDirective(t){t.directive("drag",{mounted(a,e){if(!e.value)return!1;e.instance.$nextTick(()=>{const h=document.querySelector(e.value[0]),m=document.querySelector(e.value[1]);m.onmouseover=()=>m.style.cursor="move";function p(f,o){const u=o==="pc"?f.clientX-m.offsetLeft:f.touches[0].clientX-m.offsetLeft,n=o==="pc"?f.clientY-m.offsetTop:f.touches[0].clientY-m.offsetTop,s=document.body.clientWidth,i=document.documentElement.clientHeight,r=h.offsetWidth,l=h.offsetHeight,c=h.offsetLeft,g=s-h.offsetLeft-r,v=h.offsetTop,b=i-h.offsetTop-l;let _=getComputedStyle(h).left,x=getComputedStyle(h).top;return _.includes("%")?(_=+document.body.clientWidth*(+_.replace(/%/g,"")/100),x=+document.body.clientHeight*(+x.replace(/%/g,"")/100)):(_=+_.replace(/\px/g,""),x=+x.replace(/\px/g,"")),{disX:u,disY:n,minDragDomLeft:c,maxDragDomLeft:g,minDragDomTop:v,maxDragDomTop:b,styL:_,styT:x}}function d(f,o,u){let{disX:n,disY:s,minDragDomLeft:i,maxDragDomLeft:r,minDragDomTop:l,maxDragDomTop:c,styL:g,styT:v}=u,b=o==="pc"?f.clientX-n:f.touches[0].clientX-n,_=o==="pc"?f.clientY-s:f.touches[0].clientY-s;-b>i?b=-i:b>r&&(b=r),-_>l?_=-l:_>c&&(_=c),h.style.cssText+=`;left:${b+g}px;top:${_+v}px;`}m.onmousedown=f=>{const o=p(f,"pc");document.onmousemove=u=>{d(u,"pc",o)},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null}},m.ontouchstart=f=>{const o=p(f,"app");document.ontouchmove=u=>{d(u,"app",o)},document.ontouchend=()=>{document.ontouchmove=null,document.ontouchend=null}}})}}),t.directive("dialogDragWidth",{mounted(a,e){e.instance.$nextTick(()=>{const h=e.value.$el.querySelector(".el-dialog");a.onmousedown=m=>{const p=m.clientX-a.offsetLeft;document.onmousemove=function(d){d.preventDefault();const f=d.clientX-p;h.style.width=`${f}px`},document.onmouseup=function(d){document.onmousemove=null,document.onmouseup=null}}})}})}function _isSlot(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!vue.isVNode(t)}const createInputTextEditor=function(t,a){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(a)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[t],"onUpdate:modelValue":h=>this.optionModel[t]=h},null)]})}}},createTextareaEditor=function(t,a,e={}){return{props:{optionModel:Object},render(h){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(a)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"textarea",modelValue:this.optionModel[t],"onUpdate:modelValue":m=>this.optionModel[t]=m,rows:e.rows||4,autosize:e.autosize||!1},null)]})}}},createInputNumberEditor=function(t,a){return{props:{optionModel:Object},methods:{updateValue(e){e==null||isNaN(e)?this.optionModel[t]=null:this.optionModel[t]=Number(e)}},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(a)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input-number"),{type:"text",modelValue:this.optionModel[t],"onUpdate:modelValue":h=>this.optionModel[t]=h,onChange:this.updateValue,style:"width: 100%"},null)]})}}},createBooleanEditor=function(t,a){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(a)},{default:()=>[vue.createVNode(vue.resolveComponent("el-switch"),{modelValue:this.optionModel[t],"onUpdate:modelValue":h=>this.optionModel[t]=h},null)]})}}},createRadioButtonGroupEditor=function(t,a,e){return{props:{optionModel:Object},render(h){let m;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(a)},{default:()=>[vue.createVNode(vue.resolveComponent("el-radio-group"),{modelValue:this.optionModel[t],"onUpdate:modelValue":p=>this.optionModel[t]=p},_isSlot(m=e.optionItems.map(p=>vue.createVNode(vue.resolveComponent("el-radio-button"),{label:p.value},{default:()=>[p.label]})))?m:{default:()=>[m]})]})}}},createSelectEditor=function(t,a,e){return{props:{optionModel:Object},render(h){let m;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(a)},{default:()=>[vue.createVNode(vue.resolveComponent("el-select"),{modelValue:this.optionModel[t],"onUpdate:modelValue":p=>this.optionModel[t]=p},_isSlot(m=e.optionItems.map(p=>vue.createVNode(vue.resolveComponent("el-option"),{label:p.label,value:p.value},null)))?m:{default:()=>[m]})]})}}},createEventHandlerEditor=function(t,a){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[t,[...a]])}},render(e){let h;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:t,"label-width":"150px"},{default:()=>[vue.createVNode(vue.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(h=translate("designer.setting.addEventHandler"))?h:{default:()=>[h]})]})}}};var cardWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$q={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:gt(je({ContainerWrapper},comps$1),{ArrowDownBold:arrowDownBold}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{checkContainerMove(t){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(t){this.widget.options.folded=!!t}}},_hoisted_1$k={class:"label"},_hoisted_2$f={class:"form-widget-list"};function _sfc_render$q(t,a,e,h,m,p){const d=vue.resolveComponent("ArrowDownBold"),f=vue.resolveComponent("el-icon"),o=vue.resolveComponent("draggable"),u=vue.resolveComponent("el-card"),n=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(u,{key:e.widget.id,class:vue.normalizeClass(["card-container",[p.selected?"selected":"",e.widget.options.folded?"folded":"",p.customClass]]),onClick:a[2]||(a[2]=vue.withModifiers(s=>t.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:a[0]||(a[0]=(...s)=>p.toggleCard&&p.toggleCard(...s)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(f,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(d)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$k,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[vue.createVNode(o,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:a[1]||(a[1]=s=>t.onContainerDragAdd(s,e.widget.widgetList)),onUpdate:t.onContainerDragUpdate,move:p.checkContainerMove}),{item:vue.withCtx(({element:s,index:i})=>[vue.createElementVNode("div",_hoisted_2$f,[s.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{widget:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{field:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"])]),_:1},8,["shadow","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CardWidget=_export_sfc$1(_sfc_main$q,[["render",_sfc_render$q],["__scopeId","data-v-2c3be1b8"]]),cardItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$p={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:gt(je({ContainerItemWrapper},comps$1),{ArrowDownBold:arrowDownBold}),props:{widget:Object},inject:["refList","sfRefList","globalModel"],computed:{customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},beforeUnmount(){this.unregisterFromRefList()},methods:{toggleCard(){this.widget.options.folded=!this.widget.options.folded}}},_hoisted_1$j={class:"label"};function _sfc_render$p(t,a,e,h,m,p){const d=vue.resolveComponent("ArrowDownBold"),f=vue.resolveComponent("el-icon"),o=vue.resolveComponent("el-card"),u=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(u,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createBlock(o,{key:e.widget.id,class:vue.normalizeClass(["card-container",[e.widget.options.folded?"folded":"",p.customClass]]),ref:e.widget.id,shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:a[0]||(a[0]=(...n)=>p.toggleCard&&p.toggleCard(...n)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(f,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(d)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$j,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[!!e.widget.widgetList&&e.widget.widgetList.length>0?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.widget.widgetList,(n,s)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[n.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(n)),{widget:n,key:s,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),i=>({name:i,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,i,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(n.type+"-widget"),{field:n,designer:null,key:s,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),i=>({name:i,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,i,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256)):vue.createCommentVNode("",!0)]),_:3},8,["class","shadow"])),[[vue.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}var CardItem=_export_sfc$1(_sfc_main$p,[["render",_sfc_render$p],["__scopeId","data-v-2f0daae4"]]);const cardTemplateGenerator=function(t,a){const e=t.options,h=buildClassAttr(t),m=e.cardWidth?`style="{width: ${e.cardWidth} !important}"`:"",p=`shadow="${e.shadow}"`,d=e.hidden?'v-show="false"':"";return`<div class="card-container">
|
|
1681
1681
|
<el-card ${h} ${m} ${p} ${d}>
|
|
1682
1682
|
<template #header>
|
|
1683
1683
|
<div class="clear-fix">
|
|
@@ -1702,4 +1702,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1702
1702
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
1703
1703
|
* derived from CryptoJS.mode.CTR
|
|
1704
1704
|
* Jan Hruby jhruby.web@gmail.com
|
|
1705
|
-
*/return e.mode.CTRGladman=function(){var h=e.lib.BlockCipherMode.extend();function m(f){if((f>>24&255)==255){var o=f>>16&255,u=f>>8&255,n=f&255;o===255?(o=0,u===255?(u=0,n===255?n=0:++n):++u):++o,f=0,f+=o<<16,f+=u<<8,f+=n}else f+=1<<24;return f}function p(f){return(f[0]=m(f[0]))===0&&(f[1]=m(f[1])),f}var d=h.Encryptor=h.extend({processBlock:function(f,o){var u=this._cipher,n=u.blockSize,s=this._iv,i=this._counter;s&&(i=this._counter=s.slice(0),this._iv=void 0),p(i);var r=i.slice(0);u.encryptBlock(r,0);for(var l=0;l<n;l++)f[o+l]^=r[l]}});return h.Decryptor=d,h}(),e.mode.CTRGladman})})(modeCtrGladman);var modeOfb={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.mode.OFB=function(){var h=e.lib.BlockCipherMode.extend(),m=h.Encryptor=h.extend({processBlock:function(p,d){var f=this._cipher,o=f.blockSize,u=this._iv,n=this._keystream;u&&(n=this._keystream=u.slice(0),this._iv=void 0),f.encryptBlock(n,0);for(var s=0;s<o;s++)p[d+s]^=n[s]}});return h.Decryptor=m,h}(),e.mode.OFB})})(modeOfb);var modeEcb={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.mode.ECB=function(){var h=e.lib.BlockCipherMode.extend();return h.Encryptor=h.extend({processBlock:function(m,p){this._cipher.encryptBlock(m,p)}}),h.Decryptor=h.extend({processBlock:function(m,p){this._cipher.decryptBlock(m,p)}}),h}(),e.mode.ECB})})(modeEcb);var padAnsix923={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.AnsiX923={pad:function(h,m){var p=h.sigBytes,d=m*4,f=d-p%d,o=p+f-1;h.clamp(),h.words[o>>>2]|=f<<24-o%4*8,h.sigBytes+=f},unpad:function(h){var m=h.words[h.sigBytes-1>>>2]&255;h.sigBytes-=m}},e.pad.Ansix923})})(padAnsix923);var padIso10126={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.Iso10126={pad:function(h,m){var p=m*4,d=p-h.sigBytes%p;h.concat(e.lib.WordArray.random(d-1)).concat(e.lib.WordArray.create([d<<24],1))},unpad:function(h){var m=h.words[h.sigBytes-1>>>2]&255;h.sigBytes-=m}},e.pad.Iso10126})})(padIso10126);var padIso97971={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.Iso97971={pad:function(h,m){h.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(h,m)},unpad:function(h){e.pad.ZeroPadding.unpad(h),h.sigBytes--}},e.pad.Iso97971})})(padIso97971);var padZeropadding={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.ZeroPadding={pad:function(h,m){var p=m*4;h.clamp(),h.sigBytes+=p-(h.sigBytes%p||p)},unpad:function(h){for(var m=h.words,p=h.sigBytes-1,p=h.sigBytes-1;p>=0;p--)if(m[p>>>2]>>>24-p%4*8&255){h.sigBytes=p+1;break}}},e.pad.ZeroPadding})})(padZeropadding);var padNopadding={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding})})(padNopadding);var formatHex={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(h){var m=e,p=m.lib,d=p.CipherParams,f=m.enc,o=f.Hex,u=m.format;u.Hex={stringify:function(n){return n.ciphertext.toString(o)},parse:function(n){var s=o.parse(n);return d.create({ciphertext:s})}}}(),e.format.Hex})})(formatHex);var aes={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var h=e,m=h.lib,p=m.BlockCipher,d=h.algo,f=[],o=[],u=[],n=[],s=[],i=[],r=[],l=[],c=[],g=[];(function(){for(var _=[],x=0;x<256;x++)x<128?_[x]=x<<1:_[x]=x<<1^283;for(var w=0,C=0,x=0;x<256;x++){var M=C^C<<1^C<<2^C<<3^C<<4;M=M>>>8^M&255^99,f[w]=M,o[M]=w;var D=_[w],N=_[D],S=_[N],L=_[M]*257^M*16843008;u[w]=L<<24|L>>>8,n[w]=L<<16|L>>>16,s[w]=L<<8|L>>>24,i[w]=L;var L=S*16843009^N*65537^D*257^w*16843008;r[M]=L<<24|L>>>8,l[M]=L<<16|L>>>16,c[M]=L<<8|L>>>24,g[M]=L,w?(w=D^_[_[_[S^D]]],C^=_[_[C]]):w=C=1}})();var v=[0,1,2,4,8,16,32,64,128,27,54],b=d.AES=p.extend({_doReset:function(){var _;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var x=this._keyPriorReset=this._key,w=x.words,C=x.sigBytes/4,M=this._nRounds=C+6,D=(M+1)*4,N=this._keySchedule=[],S=0;S<D;S++)S<C?N[S]=w[S]:(_=N[S-1],S%C?C>6&&S%C==4&&(_=f[_>>>24]<<24|f[_>>>16&255]<<16|f[_>>>8&255]<<8|f[_&255]):(_=_<<8|_>>>24,_=f[_>>>24]<<24|f[_>>>16&255]<<16|f[_>>>8&255]<<8|f[_&255],_^=v[S/C|0]<<24),N[S]=N[S-C]^_);for(var L=this._invKeySchedule=[],k=0;k<D;k++){var S=D-k;if(k%4)var _=N[S];else var _=N[S-4];k<4||S<=4?L[k]=_:L[k]=r[f[_>>>24]]^l[f[_>>>16&255]]^c[f[_>>>8&255]]^g[f[_&255]]}}},encryptBlock:function(_,x){this._doCryptBlock(_,x,this._keySchedule,u,n,s,i,f)},decryptBlock:function(_,x){var w=_[x+1];_[x+1]=_[x+3],_[x+3]=w,this._doCryptBlock(_,x,this._invKeySchedule,r,l,c,g,o);var w=_[x+1];_[x+1]=_[x+3],_[x+3]=w},_doCryptBlock:function(_,x,w,C,M,D,N,S){for(var L=this._nRounds,k=_[x]^w[0],T=_[x+1]^w[1],E=_[x+2]^w[2],I=_[x+3]^w[3],O=4,B=1;B<L;B++){var V=C[k>>>24]^M[T>>>16&255]^D[E>>>8&255]^N[I&255]^w[O++],P=C[T>>>24]^M[E>>>16&255]^D[I>>>8&255]^N[k&255]^w[O++],$=C[E>>>24]^M[I>>>16&255]^D[k>>>8&255]^N[T&255]^w[O++],R=C[I>>>24]^M[k>>>16&255]^D[T>>>8&255]^N[E&255]^w[O++];k=V,T=P,E=$,I=R}var V=(S[k>>>24]<<24|S[T>>>16&255]<<16|S[E>>>8&255]<<8|S[I&255])^w[O++],P=(S[T>>>24]<<24|S[E>>>16&255]<<16|S[I>>>8&255]<<8|S[k&255])^w[O++],$=(S[E>>>24]<<24|S[I>>>16&255]<<16|S[k>>>8&255]<<8|S[T&255])^w[O++],R=(S[I>>>24]<<24|S[k>>>16&255]<<16|S[T>>>8&255]<<8|S[E&255])^w[O++];_[x]=V,_[x+1]=P,_[x+2]=$,_[x+3]=R},keySize:256/32});h.AES=p._createHelper(b)}(),e.AES})})(aes);var tripledes={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var h=e,m=h.lib,p=m.WordArray,d=m.BlockCipher,f=h.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],n=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],s=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],i=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],r=f.DES=d.extend({_doReset:function(){for(var v=this._key,b=v.words,_=[],x=0;x<56;x++){var w=o[x]-1;_[x]=b[w>>>5]>>>31-w%32&1}for(var C=this._subKeys=[],M=0;M<16;M++){for(var D=C[M]=[],N=n[M],x=0;x<24;x++)D[x/6|0]|=_[(u[x]-1+N)%28]<<31-x%6,D[4+(x/6|0)]|=_[28+(u[x+24]-1+N)%28]<<31-x%6;D[0]=D[0]<<1|D[0]>>>31;for(var x=1;x<7;x++)D[x]=D[x]>>>(x-1)*4+3;D[7]=D[7]<<5|D[7]>>>27}for(var S=this._invSubKeys=[],x=0;x<16;x++)S[x]=C[15-x]},encryptBlock:function(v,b){this._doCryptBlock(v,b,this._subKeys)},decryptBlock:function(v,b){this._doCryptBlock(v,b,this._invSubKeys)},_doCryptBlock:function(v,b,_){this._lBlock=v[b],this._rBlock=v[b+1],l.call(this,4,252645135),l.call(this,16,65535),c.call(this,2,858993459),c.call(this,8,16711935),l.call(this,1,1431655765);for(var x=0;x<16;x++){for(var w=_[x],C=this._lBlock,M=this._rBlock,D=0,N=0;N<8;N++)D|=s[N][((M^w[N])&i[N])>>>0];this._lBlock=M,this._rBlock=C^D}var S=this._lBlock;this._lBlock=this._rBlock,this._rBlock=S,l.call(this,1,1431655765),c.call(this,8,16711935),c.call(this,2,858993459),l.call(this,16,65535),l.call(this,4,252645135),v[b]=this._lBlock,v[b+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function l(v,b){var _=(this._lBlock>>>v^this._rBlock)&b;this._rBlock^=_,this._lBlock^=_<<v}function c(v,b){var _=(this._rBlock>>>v^this._lBlock)&b;this._lBlock^=_,this._rBlock^=_<<v}h.DES=d._createHelper(r);var g=f.TripleDES=d.extend({_doReset:function(){var v=this._key,b=v.words;if(b.length!==2&&b.length!==4&&b.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var _=b.slice(0,2),x=b.length<4?b.slice(0,2):b.slice(2,4),w=b.length<6?b.slice(0,2):b.slice(4,6);this._des1=r.createEncryptor(p.create(_)),this._des2=r.createEncryptor(p.create(x)),this._des3=r.createEncryptor(p.create(w))},encryptBlock:function(v,b){this._des1.encryptBlock(v,b),this._des2.decryptBlock(v,b),this._des3.encryptBlock(v,b)},decryptBlock:function(v,b){this._des3.decryptBlock(v,b),this._des2.encryptBlock(v,b),this._des1.decryptBlock(v,b)},keySize:192/32,ivSize:64/32,blockSize:64/32});h.TripleDES=d._createHelper(g)}(),e.TripleDES})})(tripledes);var rc4={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var h=e,m=h.lib,p=m.StreamCipher,d=h.algo,f=d.RC4=p.extend({_doReset:function(){for(var n=this._key,s=n.words,i=n.sigBytes,r=this._S=[],l=0;l<256;l++)r[l]=l;for(var l=0,c=0;l<256;l++){var g=l%i,v=s[g>>>2]>>>24-g%4*8&255;c=(c+r[l]+v)%256;var b=r[l];r[l]=r[c],r[c]=b}this._i=this._j=0},_doProcessBlock:function(n,s){n[s]^=o.call(this)},keySize:256/32,ivSize:0});function o(){for(var n=this._S,s=this._i,i=this._j,r=0,l=0;l<4;l++){s=(s+1)%256,i=(i+n[s])%256;var c=n[s];n[s]=n[i],n[i]=c,r|=n[(n[s]+n[i])%256]<<24-l*8}return this._i=s,this._j=i,r}h.RC4=p._createHelper(f);var u=d.RC4Drop=f.extend({cfg:f.cfg.extend({drop:192}),_doReset:function(){f._doReset.call(this);for(var n=this.cfg.drop;n>0;n--)o.call(this)}});h.RC4Drop=p._createHelper(u)}(),e.RC4})})(rc4);var rabbit={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var h=e,m=h.lib,p=m.StreamCipher,d=h.algo,f=[],o=[],u=[],n=d.Rabbit=p.extend({_doReset:function(){for(var i=this._key.words,r=this.cfg.iv,l=0;l<4;l++)i[l]=(i[l]<<8|i[l]>>>24)&16711935|(i[l]<<24|i[l]>>>8)&4278255360;var c=this._X=[i[0],i[3]<<16|i[2]>>>16,i[1],i[0]<<16|i[3]>>>16,i[2],i[1]<<16|i[0]>>>16,i[3],i[2]<<16|i[1]>>>16],g=this._C=[i[2]<<16|i[2]>>>16,i[0]&4294901760|i[1]&65535,i[3]<<16|i[3]>>>16,i[1]&4294901760|i[2]&65535,i[0]<<16|i[0]>>>16,i[2]&4294901760|i[3]&65535,i[1]<<16|i[1]>>>16,i[3]&4294901760|i[0]&65535];this._b=0;for(var l=0;l<4;l++)s.call(this);for(var l=0;l<8;l++)g[l]^=c[l+4&7];if(r){var v=r.words,b=v[0],_=v[1],x=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,C=x>>>16|w&4294901760,M=w<<16|x&65535;g[0]^=x,g[1]^=C,g[2]^=w,g[3]^=M,g[4]^=x,g[5]^=C,g[6]^=w,g[7]^=M;for(var l=0;l<4;l++)s.call(this)}},_doProcessBlock:function(i,r){var l=this._X;s.call(this),f[0]=l[0]^l[5]>>>16^l[3]<<16,f[1]=l[2]^l[7]>>>16^l[5]<<16,f[2]=l[4]^l[1]>>>16^l[7]<<16,f[3]=l[6]^l[3]>>>16^l[1]<<16;for(var c=0;c<4;c++)f[c]=(f[c]<<8|f[c]>>>24)&16711935|(f[c]<<24|f[c]>>>8)&4278255360,i[r+c]^=f[c]},blockSize:128/32,ivSize:64/32});function s(){for(var i=this._X,r=this._C,l=0;l<8;l++)o[l]=r[l];r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<o[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<o[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<o[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<o[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<o[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<o[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<o[6]>>>0?1:0)|0,this._b=r[7]>>>0<o[7]>>>0?1:0;for(var l=0;l<8;l++){var c=i[l]+r[l],g=c&65535,v=c>>>16,b=((g*g>>>17)+g*v>>>15)+v*v,_=((c&4294901760)*c|0)+((c&65535)*c|0);u[l]=b^_}i[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,i[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,i[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,i[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,i[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,i[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,i[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,i[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}h.Rabbit=p._createHelper(n)}(),e.Rabbit})})(rabbit);var rabbitLegacy={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var h=e,m=h.lib,p=m.StreamCipher,d=h.algo,f=[],o=[],u=[],n=d.RabbitLegacy=p.extend({_doReset:function(){var i=this._key.words,r=this.cfg.iv,l=this._X=[i[0],i[3]<<16|i[2]>>>16,i[1],i[0]<<16|i[3]>>>16,i[2],i[1]<<16|i[0]>>>16,i[3],i[2]<<16|i[1]>>>16],c=this._C=[i[2]<<16|i[2]>>>16,i[0]&4294901760|i[1]&65535,i[3]<<16|i[3]>>>16,i[1]&4294901760|i[2]&65535,i[0]<<16|i[0]>>>16,i[2]&4294901760|i[3]&65535,i[1]<<16|i[1]>>>16,i[3]&4294901760|i[0]&65535];this._b=0;for(var g=0;g<4;g++)s.call(this);for(var g=0;g<8;g++)c[g]^=l[g+4&7];if(r){var v=r.words,b=v[0],_=v[1],x=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,C=x>>>16|w&4294901760,M=w<<16|x&65535;c[0]^=x,c[1]^=C,c[2]^=w,c[3]^=M,c[4]^=x,c[5]^=C,c[6]^=w,c[7]^=M;for(var g=0;g<4;g++)s.call(this)}},_doProcessBlock:function(i,r){var l=this._X;s.call(this),f[0]=l[0]^l[5]>>>16^l[3]<<16,f[1]=l[2]^l[7]>>>16^l[5]<<16,f[2]=l[4]^l[1]>>>16^l[7]<<16,f[3]=l[6]^l[3]>>>16^l[1]<<16;for(var c=0;c<4;c++)f[c]=(f[c]<<8|f[c]>>>24)&16711935|(f[c]<<24|f[c]>>>8)&4278255360,i[r+c]^=f[c]},blockSize:128/32,ivSize:64/32});function s(){for(var i=this._X,r=this._C,l=0;l<8;l++)o[l]=r[l];r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<o[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<o[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<o[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<o[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<o[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<o[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<o[6]>>>0?1:0)|0,this._b=r[7]>>>0<o[7]>>>0?1:0;for(var l=0;l<8;l++){var c=i[l]+r[l],g=c&65535,v=c>>>16,b=((g*g>>>17)+g*v>>>15)+v*v,_=((c&4294901760)*c|0)+((c&65535)*c|0);u[l]=b^_}i[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,i[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,i[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,i[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,i[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,i[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,i[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,i[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}h.RabbitLegacy=p._createHelper(n)}(),e.RabbitLegacy})})(rabbitLegacy);var blowfish={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var h=e,m=h.lib,p=m.BlockCipher,d=h.algo;const f=16,o=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],u=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var n={pbox:[],sbox:[]};function s(g,v){let b=v>>24&255,_=v>>16&255,x=v>>8&255,w=v&255,C=g.sbox[0][b]+g.sbox[1][_];return C=C^g.sbox[2][x],C=C+g.sbox[3][w],C}function i(g,v,b){let _=v,x=b,w;for(let C=0;C<f;++C)_=_^g.pbox[C],x=s(g,_)^x,w=_,_=x,x=w;return w=_,_=x,x=w,x=x^g.pbox[f],_=_^g.pbox[f+1],{left:_,right:x}}function r(g,v,b){let _=v,x=b,w;for(let C=f+1;C>1;--C)_=_^g.pbox[C],x=s(g,_)^x,w=_,_=x,x=w;return w=_,_=x,x=w,x=x^g.pbox[1],_=_^g.pbox[0],{left:_,right:x}}function l(g,v,b){for(let M=0;M<4;M++){g.sbox[M]=[];for(let D=0;D<256;D++)g.sbox[M][D]=u[M][D]}let _=0;for(let M=0;M<f+2;M++)g.pbox[M]=o[M]^v[_],_++,_>=b&&(_=0);let x=0,w=0,C=0;for(let M=0;M<f+2;M+=2)C=i(g,x,w),x=C.left,w=C.right,g.pbox[M]=x,g.pbox[M+1]=w;for(let M=0;M<4;M++)for(let D=0;D<256;D+=2)C=i(g,x,w),x=C.left,w=C.right,g.sbox[M][D]=x,g.sbox[M][D+1]=w;return!0}var c=d.Blowfish=p.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var g=this._keyPriorReset=this._key,v=g.words,b=g.sigBytes/4;l(n,v,b)}},encryptBlock:function(g,v){var b=i(n,g[v],g[v+1]);g[v]=b.left,g[v+1]=b.right},decryptBlock:function(g,v){var b=r(n,g[v],g[v+1]);g[v]=b.left,g[v+1]=b.right},blockSize:64/32,keySize:128/32,ivSize:64/32});h.Blowfish=p._createHelper(c)}(),e.Blowfish})})(blowfish),function(t,a){(function(e,h,m){t.exports=h(core.exports,x64Core.exports,libTypedarrays.exports,encUtf16.exports,encBase64.exports,encBase64url.exports,md5.exports,sha1.exports,sha256.exports,sha224.exports,sha512.exports,sha384.exports,sha3.exports,ripemd160.exports,hmac.exports,pbkdf2.exports,evpkdf.exports,cipherCore.exports,modeCfb.exports,modeCtr.exports,modeCtrGladman.exports,modeOfb.exports,modeEcb.exports,padAnsix923.exports,padIso10126.exports,padIso97971.exports,padZeropadding.exports,padNopadding.exports,formatHex.exports,aes.exports,tripledes.exports,rc4.exports,rabbit.exports,rabbitLegacy.exports,blowfish.exports)})(commonjsGlobal,function(e){return e})}(cryptoJs),useCookies();const getToken=()=>sessionStorage.getItem("Authorization");useCookies();const service$1=axios.create({baseURL:"/api",timeout:5e4,headers:{"Content-Type":"application/json;charset=utf-8"}});service$1.interceptors.request.use(t=>{t.headers.Client="web";const a=getToken(),e=sessionStorage.getItem("companyId"),h=sessionStorage.getItem("postId");return a&&(t.headers.Authorization=getToken()),e&&(t.headers.Company=e),h&&(t.headers.Post=h),t},t=>Promise.reject(t)),service$1.interceptors.response.use(t=>{const{responseType:a}=t.config;if(a==="blob")return t;const{code:e,data:h,msg:m,message:p}=t.data;return e&&e!==200?(elementPlus.ElMessage({message:m||p||"\u7CFB\u7EDF\u51FA\u9519",type:"error",showClose:!0}),Promise.reject(m||p||"\u7CFB\u7EDF\u51FA\u9519")):h&&h.code&&h.code!==200?(elementPlus.ElMessage({message:m||h.msg||h.message||"\u7CFB\u7EDF\u51FA\u9519",type:"error",showClose:!0}),Promise.reject(h.msg||p)):t.data},t=>{if(console.log(t,"error"),t.response){const{message:a,status:e,data:h}=t.response;if(e===401&&(document.querySelector(".login-expired-notice")||elementPlus.ElMessage({message:"\u60A8\u7684\u4EE4\u724C\u65E0\u6548\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55",type:"error",showClose:!0})),e===401){document.querySelector(".login-expired-notice")||elementPlus.ElMessage({message:"\u60A8\u7684\u767B\u5F55\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55",type:"error",showClose:!0});return}elementPlus.ElMessage({message:(h==null?void 0:h.msg)||(h==null?void 0:h.message)||a||t.message||"\u7CFB\u7EDF\u51FA\u9519",type:"error",showClose:!0})}return Promise.reject(t.msg||t.message||t||"\u7CFB\u7EDF\u51FA\u9519")});var companyIcon="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDE2IDE2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDx0aXRsZT7nvJbnu4QgNzwvdGl0bGU+DQogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldm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gICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=",personTreeItem_vue_vue_type_style_index_0_lang="",personTreeItem_vue_vue_type_style_index_1_scoped_true_lang="";const _sfc_main$n={name:"person-tree-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{dialogVisible:!1,fieldModel:null,oldFieldValue:null,rules:[],treeData:[],defaultProps:{children:"children",label:"name"},checkedNodes:[],treeRef:null,defaultExpandedKeys:[],currentNodeKey:null,search:""}},computed:{displayModel:{get(){return this.fieldModel!=null?this.fieldModel:[]},set(t){this.fieldModel=t}},widgetStyle(){return{width:"100%"}}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted(),this.getTreeData()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleRemoveTag(t,a){if(this.field.options.disabled)return;const e=Array.isArray(this.fieldModel)?this.fieldModel:[];let h;t!=null&&typeof a=="number"&&a>=0?(h=deepClone(e),h.splice(a,0,t)):h=deepClone(e),this.oldFieldValue=h,this.syncUpdateFormModel(e),this.emitFieldDataChange(e,this.oldFieldValue),this.triggerEvent("onRemoveTag",t,e,a),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},getTreeData(){const t=this.field.options.treeParams?JSON.parse(this.field.options.treeParams):{};if(t.isNeedDeptId){const a=localStorage.getItem("userInfo")||"";t.deptIds=a?[JSON.parse(a).deptId]:[]}service$1({method:"post",url:"/unified-system/sysCompany/fullTree",data:je({companyId:sessionStorage.getItem("companyId")},t)}).then(({data:a})=>{this.treeData=e(a);function e(h){var m;for(const p of h)p.nodeKey=p.joinUserId||p.id,p.children&&((m=p.children)==null?void 0:m.length)&&e(p.children);return h}this.$nextTick(()=>{this.applyTreeFilter()})})},filterNode(t,a){if(t==null||String(t).trim()==="")return!0;const e=String(t).trim().toLowerCase(),h=(a.name||"").toLowerCase();return(a.postName||"").toLowerCase(),h.includes(e)},applyTreeFilter(){this.$refs.treeRef&&typeof this.$refs.treeRef.filter=="function"&&this.$refs.treeRef.filter(this.search)},renderContent(t,{node:a,data:e}){return t("div",{class:"custom-tree-node"},[a.level===1&&t("img",{src:companyIcon,alt:""}),a.level===2&&t("img",{src:deptIcon,alt:""}),a.level===3&&t("img",{src:personTree,alt:""}),a.level===3&&t("div",{class:"avatar mr-6px",style:{backgroundImage:`url(${e.avatarUrl||personIcon})`}}),[t("div",{class:a.level===1?"text-#1D2129":"text-#4E5969 ",style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,width:"80%"}},e.postName?`${a.label}\uFF08${e.postName}\uFF09`:a.label),a.level===3&&!this.field.options.multiple&&t("div",{class:`personRadio-checked-icon ${(e==null?void 0:e.nodeKey)===this.currentNodeKey?"personRadio-checked":""}`})]])},handleClick(){this.getTreeData(),this.dialogVisible=!0,this.triggerEvent("onOpen"),this.$nextTick(()=>{this.field.options.multiple?this.fieldModel&&this.fieldModel.length>0?(this.$refs.treeRef.setCheckedKeys(this.fieldModel.map(t=>t.nodeKey)),this.defaultExpandedKeys=this.fieldModel.map(t=>t.nodeKey)):(this.$refs.treeRef.setCheckedKeys([]),this.defaultExpandedKeys=[]):(this.currentNodeKey=this.fieldModel&&this.fieldModel[0]?this.fieldModel[0].nodeKey:null,this.defaultExpandedKeys=this.currentNodeKey?[this.currentNodeKey]:[]),this.applyTreeFilter()})},handleNodeClick(t,a){this.field.options.multiple||(this.currentNodeKey=t.nodeKey)},handleCheck(){},handleConfirm(){var a;this.dialogVisible=!1,this.$nextTick(()=>{this.$refs.inputTagRef.blur()}),this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null;let t=[];if(this.field.options.multiple)t=(((a=this.$refs.treeRef)==null?void 0:a.getCheckedNodes())||[]).filter(e=>e.joinUserId).map(e=>({postName:e.postName,joinUserId:e.joinUserId,name:e.name,id:e.id,nodeKey:e.nodeKey,avatar:e.avatarUrl}));else{const e=this.currentNodeKey;if(e&&this.$refs.treeRef){const h=this.$refs.treeRef.getNode(e),m=h==null?void 0:h.data;(m==null?void 0:m.joinUserId)&&(t=[{joinUserId:m.joinUserId,name:m.name,id:m.id,nodeKey:m.nodeKey,avatar:m.avatarUrl,postName:m.postName}])}}this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",t),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},handleCancel(){this.dialogVisible=!1,this.triggerEvent("onCancel"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()]),this.$nextTick(()=>{this.$refs.inputTagRef.blur()})},handleClose(){this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(t,...a){var h,m;const e=(m=(h=this.field)==null?void 0:h.options)==null?void 0:m[t];if(e)try{if(t==="onConfirm"&&a.length>0){const p=a[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,p,p,p)}else if(t==="onRemoveTag"&&a.length>=2){const p=a[0],d=a[1],f=a[2];new Function("removedItem","remainingNodes","remainingValue","selectedValue","removedIndex",e).call(this,p,d,d,d,f)}else if(a.length>0){const p=a.map((f,o)=>`arg${o}`).join(", ");new Function(p,e).apply(this,a)}else new Function(e).call(this)}catch(p){console.error(`Error executing ${t} handler:`,p),console.error("Handler code:",e),console.error("Args:",a)}},handleSearch(){this.$nextTick(()=>{this.applyTreeFilter()})}}},_hoisted_1$i={class:"person-tree-widget__trigger"},_hoisted_2$e={class:"flex items-center"},_hoisted_3$d={class:"dialog-footer"};function _sfc_render$n(t,a,e,h,m,p){const d=vue.resolveComponent("el-input-tag"),f=vue.resolveComponent("el-input"),o=vue.resolveComponent("el-tree"),u=vue.resolveComponent("el-scrollbar"),n=vue.resolveComponent("el-button"),s=vue.resolveComponent("el-dialog"),i=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(i,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"person-tree-widget",style:vue.normalizeStyle(p.widgetStyle)},[vue.createElementVNode("div",_hoisted_1$i,[vue.createVNode(d,{modelValue:p.displayModel,"onUpdate:modelValue":a[0]||(a[0]=r=>p.displayModel=r),"tag-type":"success","tag-effect":"light",disabled:e.field.options.disabled,placeholder:"\u8BF7\u9009\u62E9\u4EBA\u5458",onClick:p.handleClick,ref:"inputTagRef",onRemoveTag:p.handleRemoveTag},{tag:vue.withCtx(({value:r})=>[vue.createElementVNode("div",_hoisted_2$e,[vue.createElementVNode("span",null,vue.toDisplayString(r.name),1)])]),_:1},8,["modelValue","disabled","onClick","onRemoveTag"])]),vue.createVNode(s,{modelValue:m.dialogVisible,"onUpdate:modelValue":a[2]||(a[2]=r=>m.dialogVisible=r),title:e.field.options.dialogTitle||"\u4EBA\u5458\u6811",width:"480px",onClose:p.handleClose,"body-class":"person-tree-dialog-body","header-class":"person-tree-dialog-header"},vue.createSlots({default:vue.withCtx(()=>[vue.createVNode(f,{modelValue:m.search,"onUpdate:modelValue":a[1]||(a[1]=r=>m.search=r),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u8FDB\u884C\u641C\u7D22",onInput:p.handleSearch,class:"pr-24px mb-30px"},null,8,["modelValue","onInput"]),vue.createVNode(u,{height:"514px",class:"pr-24px"},{default:vue.withCtx(()=>[vue.createVNode(o,{data:m.treeData,"show-checkbox":e.field.options.multiple,props:m.defaultProps,"render-content":p.renderContent,"node-key":"nodeKey",ref:"treeRef","default-expanded-keys":m.defaultExpandedKeys,"filter-node-method":p.filterNode,"highlight-current":!e.field.options.multiple,"current-node-key":m.currentNodeKey,onNodeClick:p.handleNodeClick,onCheck:p.handleCheck},null,8,["data","show-checkbox","props","render-content","default-expanded-keys","filter-node-method","highlight-current","current-node-key","onNodeClick","onCheck"])]),_:1})]),_:2},[e.field.options.hideFooter?void 0:{name:"footer",fn:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$d,[vue.createVNode(n,{onClick:p.handleCancel,size:"default"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.cancelText||"\u53D6\u6D88"),1)]),_:1},8,["onClick"]),vue.createVNode(n,{type:"primary",onClick:p.handleConfirm,size:"default"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.confirmText||"\u786E\u5B9A"),1)]),_:1},8,["onClick"])])]),key:"0"}]),1032,["modelValue","title","onClose"])],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var PersonTreeWidget=_export_sfc$1(_sfc_main$n,[["render",_sfc_render$n],["__scopeId","data-v-2f0d2d47"]]);const _sfc_main$m={name:"radio-other-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[],inputValue:"",radioValue:null}},computed:{widgetSize(){return this.field.options.size||"default"},options(){return[...this.field.options.optionItems||[],{value:"_RADIO_OTHER_",label:"\u5176\u4ED6"}]}},watch:{fieldModel:{handler(t){if(typeof t=="string"&&t.includes("_RADIO_OTHER_")){const[a,e]=t.split("&");this.radioValue=a||"_RADIO_OTHER_",this.inputValue=e}else this.radioValue=t,this.inputValue=""}},immediate:!0},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleChangeEvent(t){this.oldFieldValue=this.fieldModel,this.radioValue=t,this.inputValue="",t==="_RADIO_OTHER_"?(this.fieldModel=t,this.inputValue?this.syncUpdateFormModel(`${t}&${this.inputValue}`):this.syncUpdateFormModel(t)):(this.otherValue="",this.fieldModel=t,this.syncUpdateFormModel(t)),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleOtherValueChange(){if(this.radioValue==="_RADIO_OTHER_"){const t=this.inputValue?`${this.radioValue}&${this.inputValue}`:this.radioValue;this.oldFieldValue=this.fieldModel,this.syncUpdateFormModel(t),this.emitFieldDataChange(t,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])}}}};function _sfc_render$m(t,a,e,h,m,p){const d=vue.resolveComponent("el-radio"),f=vue.resolveComponent("el-radio-group"),o=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(f,{modelValue:m.radioValue,"onUpdate:modelValue":a[0]||(a[0]=n=>m.radioValue=n),class:vue.normalizeClass({"radio-group-block":e.field.options.displayStyle==="block"}),disabled:e.field.options.disabled,size:p.widgetSize,onChange:p.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(p.options,(n,s)=>(vue.openBlock(),vue.createBlock(d,{key:s,label:n.value,disabled:n.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createElementVNode("span",null,vue.toDisplayString(n.label),1)]),_:2},1032,["label","disabled","border","style"]))),128))]),_:1},8,["modelValue","class","disabled","size","onChange"]),m.radioValue==="_RADIO_OTHER_"?(vue.openBlock(),vue.createBlock(o,{key:0,modelValue:m.inputValue,"onUpdate:modelValue":a[1]||(a[1]=n=>m.inputValue=n),disabled:e.field.options.disabled,onInput:a[2]||(a[2]=n=>p.handleOtherValueChange()),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue","disabled"])):vue.createCommentVNode("",!0)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var radioOtherItem=_export_sfc$1(_sfc_main$m,[["render",_sfc_render$m]]);const _sfc_main$l={name:"select-other-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,otherValue:"",rules:[]}},computed:{widgetSize(){return this.field.options.size||"default"},allowDefaultFirstOption(){return!!this.field.options.filterable&&!!this.field.options.allowCreate},optionItems(){return[...this.field.options.optionItems||[],{value:"_SELECT_OTHER_",label:"\u5176\u4ED6"}]},remoteMethod(){if(!!this.field.options.remote&&!!this.field.options.onRemoteQuery)return this.remoteQuery}},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleChangeEvent(t){this.oldFieldValue=this.fieldModel,t==="_SELECT_OTHER_"?(this.fieldModel=t,this.otherValue?this.syncUpdateFormModel(`${t}${this.otherValue}`):this.syncUpdateFormModel(t)):(this.otherValue="",this.fieldModel=t,this.syncUpdateFormModel(t)),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleOtherValueChange(){if(this.fieldModel==="_SELECT_OTHER_"){const t=this.otherValue?`${this.fieldModel}${this.otherValue}`:this.fieldModel;this.oldFieldValue=this.fieldModel,this.syncUpdateFormModel(t),this.emitFieldDataChange(t,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])}}}};function _sfc_render$l(t,a,e,h,m,p){const d=vue.resolveComponent("el-option"),f=vue.resolveComponent("el-select"),o=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(f,{ref:"fieldEditor",modelValue:m.fieldModel,"onUpdate:modelValue":a[0]||(a[0]=n=>m.fieldModel=n),class:"full-width-input",disabled:e.field.options.disabled,size:p.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":p.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":p.remoteMethod,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:p.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(p.optionItems,n=>(vue.openBlock(),vue.createBlock(d,{key:n.value,label:n.label,value:n.value,disabled:n.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","disabled","size","clearable","filterable","allow-create","default-first-option","automatic-dropdown","multiple","multiple-limit","placeholder","remote","remote-method","onFocus","onBlur","onChange"]),m.fieldModel==="_SELECT_OTHER_"?(vue.openBlock(),vue.createBlock(o,{key:0,modelValue:m.otherValue,"onUpdate:modelValue":a[1]||(a[1]=n=>m.otherValue=n),placeholder:"\u8BF7\u8F93\u5165\u5176\u4ED6\u9009\u9879",onChange:p.handleOtherValueChange,class:"mt-10px"},null,8,["modelValue","onChange"])):vue.createCommentVNode("",!0)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var selectOtherItem=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$l]]),meetingRoomItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$k={name:"meeting-room-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,Loading:loading},data(){return{oldFieldValue:null,fieldModel:null,rules:[],popoverWidth:0,roomList:[],loading:!1,popoverVisible:!1}},computed:{widgetSize(){return this.field.options.size||"default"},roomValue(){if(this.field.options.allowMultiple)return!this.fieldModel||!Array.isArray(this.fieldModel)||this.fieldModel.length===0?"":this.roomList.filter(a=>this.fieldModel.some(e=>String(e)===String(a.id))).map(a=>a.roomName).join("\u3001");{const t=this.roomList.find(a=>String(a.id)===String(this.fieldModel));return t?t.roomName:""}}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted(),this.$nextTick(()=>{this.updatePopoverWidth()})},beforeUnmount(){this.unregisterFromRefList()},methods:{handleSelect(t){return this.field.options.allowMultiple?this.fieldModel&&Array.isArray(this.fieldModel)&&this.fieldModel.length?this.fieldModel.some(a=>String(a)===String(t.id)):!1:String(this.fieldModel)===String(t.id)},handleChangeEvent(t){this.oldFieldValue=this.fieldModel,this.fieldModel=t,this.syncUpdateFormModel(t),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updatePopoverWidth(){this.$refs.inputRef&&this.$refs.inputRef.$el&&(this.popoverWidth=this.$refs.inputRef.$el.offsetWidth||0)},handlePopoverShow(){this.field.options.remoteUrl&&this.fetchRoomList()},fetchRoomList(){!this.field.options.remoteUrl||(this.loading=!0,this.roomList=[],service$1.get(this.field.options.remoteUrl).then(t=>{let a=t;t&&t.data&&(a=t.data),Array.isArray(a)?this.roomList=a:a&&Array.isArray(a.data)?this.roomList=a.data:a&&Array.isArray(a.list)?this.roomList=a.list:this.roomList=[]}).catch(t=>{console.error("\u83B7\u53D6\u4F1A\u8BAE\u5BA4\u5217\u8868\u5931\u8D25:",t),this.roomList=[]}).finally(()=>{this.loading=!1}))},handleSelectRoom({id:t}){if(this.oldFieldValue=this.fieldModel,this.field.options.allowMultiple){this.fieldModel||(this.fieldModel=[]);const a=String(t),e=this.fieldModel.findIndex(h=>String(h)===a);e!==-1?this.fieldModel.splice(e,1):this.fieldModel.push(t)}else this.fieldModel=t,this.popoverVisible=!1;this.syncUpdateFormModel(this.fieldModel),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])}}},_hoisted_1$h={key:0,class:"empty-wrap"},_hoisted_2$d={key:1,class:"room-wrap"},_hoisted_3$c=["onClick"],_hoisted_4$a={class:"select-icon"},_hoisted_5$8={class:"room-item-name"},_hoisted_6$8={key:0,class:"room-item-capacity"},_hoisted_7$7={key:1,class:"room-item-equipment"};function _sfc_render$k(t,a,e,h,m,p){const d=vue.resolveComponent("el-input"),f=vue.resolveComponent("el-empty"),o=vue.resolveComponent("Select"),u=vue.resolveComponent("el-icon"),n=vue.resolveComponent("el-popover"),s=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(s,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(n,{visible:m.popoverVisible,"onUpdate:visible":a[1]||(a[1]=i=>m.popoverVisible=i),trigger:"click",placement:"top-start",width:m.popoverWidth,onShow:p.handlePopoverShow},{reference:vue.withCtx(()=>[vue.createVNode(d,{modelValue:p.roomValue,"onUpdate:modelValue":a[0]||(a[0]=i=>p.roomValue=i),class:"full-width-input",disabled:e.field.options.disabled,size:p.widgetSize,ref:"inputRef",readonly:"",placeholder:e.field.options.placeholder||"\u8BF7\u9009\u62E9\u4F1A\u8BAE\u5BA4"},null,8,["modelValue","disabled","size","placeholder"])]),default:vue.withCtx(()=>[vue.createElementVNode("div",null,[m.roomList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$h,[vue.createVNode(f,{description:"\u6682\u65E0\u6570\u636E"})])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$d,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.roomList,i=>{var r;return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["room-item",{selected:e.field.options.allowMultiple?(r=m.fieldModel)==null?void 0:r.includes(i.id):m.fieldModel===i.id}]),key:i.id||i.value,onClick:l=>p.handleSelectRoom(i)},[vue.withDirectives(vue.createElementVNode("div",_hoisted_4$a,[vue.createVNode(u,null,{default:vue.withCtx(()=>[vue.createVNode(o)]),_:1})],512),[[vue.vShow,p.handleSelect(i)]]),vue.createElementVNode("div",_hoisted_5$8,[vue.createElementVNode("span",null,vue.toDisplayString(i.roomName),1)]),i.capacity?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$8,[vue.createElementVNode("span",null,"\u5BB9\u91CF\uFF1A"+vue.toDisplayString(i.capacity),1)])):vue.createCommentVNode("",!0),i.equipment?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$7,[vue.createElementVNode("span",null,"\u8BBE\u5907\uFF1A"+vue.toDisplayString(i.equipment),1)])):vue.createCommentVNode("",!0)],10,_hoisted_3$c)}),128))]))])]),_:1},8,["visible","width","onShow"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var meetingRoomItem=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$k],["__scopeId","data-v-344c32a1"]]);const customSubFormSchema={type:"custom-sub-form",category:"container",icon:"sub-form",widgetList:[],options:{name:"",label:"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355",labelAlign:"",labelWidth:null,hidden:!1,disabled:!1,showBlankRow:!0,showRowNumber:!0,customClass:"",onSubFormRowChange:"",onSubFormRowAdd:"",onSubFormRowInsert:"",onSubFormRowDelete:""}};var customSubFormWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$j={name:"custom-sub-form-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:gt(je(je({ContainerWrapper},comps$1),ContainerWidgets),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{previewRows:[],actionDisabled:!1}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{checkContainerMove(t){return this.designer.checkWidgetMove(t)},addSubFormRow(){if(!this.widget.widgetList||this.widget.widgetList.length===0){this.$message.warning("\u8BF7\u5148\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D");return}this.previewRows.push(this.previewRows.length)},deletePreviewRow(t){this.previewRows.splice(t,1)}}},_hoisted_1$g={class:"sub-form-header"},_hoisted_2$c={class:"sub-form-label"},_hoisted_3$b={class:"group-header"},_hoisted_4$9={class:"group-title"},_hoisted_5$7={key:0,class:"row-number-span"},_hoisted_6$7={key:1,class:"row-number-span"},_hoisted_7$6={class:"group-actions"},_hoisted_8$4={class:"group-content"},_hoisted_9$3={class:"form-widget-list"},_hoisted_10$2={key:0,class:"empty-hint"};function _sfc_render$j(t,a,e,h,m,p){const d=vue.resolveComponent("svg-icon"),f=vue.resolveComponent("el-button"),o=vue.resolveComponent("draggable"),u=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-sub-form-container",[p.selected?"selected":"",p.customClass]]),onClick:a[1]||(a[1]=vue.withModifiers(n=>t.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("div",_hoisted_1$g,[vue.createElementVNode("span",_hoisted_2$c,vue.toDisplayString(e.widget.options.label||"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"),1)]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.previewRows,(n,s)=>(vue.openBlock(),vue.createElementBlock("div",{class:"preview-group-row",key:"preview-"+s},[vue.createElementVNode("div",_hoisted_3$b,[vue.createElementVNode("div",_hoisted_4$9,[e.widget.options.showRowNumber?(vue.openBlock(),vue.createElementBlock("span",_hoisted_5$7,vue.toDisplayString(e.widget.options.label)+" "+vue.toDisplayString(s+1)+" \u7EC4",1)):(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$7,"\u8868\u5355\u7EC4"))]),vue.createElementVNode("div",_hoisted_7$6,[vue.createVNode(f,{size:"small",type:"danger",onClick:i=>p.deletePreviewRow(s),title:"\u5220\u9664\u7EC4"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-delete"}),a[2]||(a[2]=vue.createTextVNode(" \u5220\u9664 ",-1))]),_:1},8,["onClick"])])]),vue.createElementVNode("div",_hoisted_8$4,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,(i,r)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(i.type+"-widget"),{key:i.id+"preview"+s+"-"+r,field:i,designer:e.designer,"parent-list":e.widget.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))),128))])]))),128)),vue.createElementVNode("div",{class:vue.normalizeClass(["drag-area",{"has-widgets":e.widget.widgetList&&e.widget.widgetList.length>0}])},[vue.createVNode(o,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:a[0]||(a[0]=n=>t.onContainerDragAdd(n,e.widget.widgetList)),onUpdate:t.onContainerDragUpdate,move:p.checkContainerMove}),{item:vue.withCtx(({element:n,index:s})=>[vue.createElementVNode("div",_hoisted_9$3,[n.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(n.type+"-widget"),{widget:n,designer:e.designer,key:n.id,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(n.type+"-widget"),{field:n,designer:e.designer,key:n.id,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$2," \u62D6\u62FD\u4EFB\u610F\u7EC4\u4EF6\u5230\u6B64\u5904 ")):vue.createCommentVNode("",!0)],2)],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CustomSubFormWidget=_export_sfc$1(_sfc_main$j,[["render",_sfc_render$j],["__scopeId","data-v-787fff1a"]]),customSubFormItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$i={name:"custom-sub-form-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:gt(je({ContainerItemWrapper},comps$1),{SvgIcon}),props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{rowIdData:[],fieldSchemaData:[],actionDisabled:!1}},computed:{customClass(){return!this.widget||!this.widget.options?"":this.widget.options.customClass||""},formModel:{cache:!1,get(){return this.globalModel.formModel}}},created(){this.initRefList(),this.registerSubFormToRefList(),this.initRowIdData(!0),this.$nextTick(()=>{this.rowIdData.length>0&&this.fieldSchemaData.length===0&&this.initFieldSchemaData()}),this.initEventHandler()},mounted(){this.rowIdData.length>0&&this.fieldSchemaData.length===0&&this.widget&&this.widget.widgetList&&this.widget.widgetList.length>0&&this.initFieldSchemaData(),this.handleSubFormFirstRowAdd()},watch:{"widget.widgetList":{handler(t,a){this.rowIdData.length>0&&this.fieldSchemaData.length===0&&t&&t.length>0&&this.initFieldSchemaData()},deep:!0,immediate:!1}},beforeUnmount(){this.unregisterFromRefList()},methods:{getComponentName(t){return t?t.type?t.category==="container"?t.type==="grid"?"vf-grid-item":t.type+"-item":t.type+"-widget":(console.error("getComponentName: subWidget.type is undefined",t),null):(console.error("getComponentName: subWidget is undefined"),null)},registerSubFormToRefList(){this.widget&&this.widget.type==="custom-sub-form"&&(this.sfRefList[this.widget.options.name]=this)},initRowIdData(t){if(!this.widget||this.widget.type!=="custom-sub-form")return;this.rowIdData.splice(0,this.rowIdData.length);let a=this.formModel[this.widget.options.name];!!a&&a.length>0?(a.forEach(()=>{this.rowIdData.push("id"+generateId())}),t&&setTimeout(()=>{this.handleSubFormRowChange(a)},800)):!!this.widget.options.showBlankRow&&this.widget.widgetList&&this.widget.widgetList.length>0&&this.addSubFormRow()},addToRowIdData(){this.rowIdData.push("id"+generateId())},insertToRowIdData(t){this.rowIdData.splice(t,0,"id"+generateId())},deleteFromRowIdData(t){this.rowIdData.splice(t,1)},getRowIdData(){return this.rowIdData},disableSubFormRow(t){!this.widget.widgetList||!this.rowIdData[t]||this.widget.widgetList.forEach(a=>{const e=a.options.name+"@row"+this.rowIdData[t],h=this.getWidgetRef(e);h&&typeof h.setDisabled=="function"&&h.setDisabled(!0)})},enableSubFormRow(t){!this.widget.widgetList||!this.rowIdData[t]||this.widget.widgetList.forEach(a=>{const e=a.options.name+"@row"+this.rowIdData[t],h=this.getWidgetRef(e);h&&typeof h.setDisabled=="function"&&h.setDisabled(!1)})},disableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((t,a)=>{this.disableSubFormRow(a)}),this.actionDisabled=!0,this.widget&&this.widget.options&&(this.widget.options.disabled=!0)},enableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((t,a)=>{this.enableSubFormRow(a)}),this.actionDisabled=!1,this.widget&&this.widget.options&&(this.widget.options.disabled=!1)},initFieldSchemaData(){if(!this.widget||this.widget.type!=="custom-sub-form")return;let t=this.rowIdData.length;if(this.fieldSchemaData.splice(0,this.fieldSchemaData.length),t>0&&this.widget.widgetList&&this.widget.widgetList.length>0)for(let a=0;a<t;a++){let e=[];this.widget.widgetList.forEach(h=>{e.push(this.cloneFieldSchema(h))}),this.fieldSchemaData.push(e)}},addToFieldSchemaData(t){if(!this.widget.widgetList||this.widget.widgetList.length===0)return;let a=[];this.widget.widgetList.forEach(e=>{a.push(this.cloneFieldSchema(e))}),t===void 0?(console.log(a,"fieldSchemas"),this.fieldSchemaData.push(a)):this.fieldSchemaData.splice(t,0,a)},deleteFromFieldSchemaData(t){this.fieldSchemaData.splice(t,1)},cloneFieldSchema(t){let a=deepClone(t);return a.id=t.type+generateId(),a},initEventHandler(){!this.widget||this.widget.type!=="custom-sub-form"||this.on$("setFormData",t=>{this.initRowIdData(!1),this.initFieldSchemaData();let a=t[this.widget.options.name]||[];setTimeout(()=>{this.handleSubFormRowChange(a)},800)})},handleSubFormFirstRowAdd(){if(!(!this.widget||this.widget.type!=="custom-sub-form")&&(this.rowIdData.length>0&&this.fieldSchemaData.length===0&&this.initFieldSchemaData(),!!this.widget.options.showBlankRow&&this.rowIdData.length===1)){let t=this.formModel[this.widget.options.name]||[];this.handleSubFormRowAdd(t,this.rowIdData[0]),this.handleSubFormRowChange(t)}},collectAllFields(t,a){!t||!Array.isArray(t)||t.forEach(e=>{e.formItemFlag&&e.options&&e.options.name&&(a[e.options.name]=e.options.defaultValue!==void 0?e.options.defaultValue:""),e.type==="grid"&&e.cols?e.cols.forEach(h=>{h.widgetList&&this.collectAllFields(h.widgetList,a)}):e.type==="table"&&e.rows?e.rows.forEach(h=>{h.cols&&h.cols.forEach(m=>{m.widgetList&&this.collectAllFields(m.widgetList,a)})}):e.type==="tab"&&e.tabs?e.tabs.forEach(h=>{h.widgetList&&this.collectAllFields(h.widgetList,a)}):(e.type==="grid-col"||e.type==="table-cell")&&e.widgetList?this.collectAllFields(e.widgetList,a):e.category==="container"&&e.widgetList&&this.collectAllFields(e.widgetList,a)})},addSubFormRow(){if(!this.widget.widgetList||this.widget.widgetList.length===0){this.$message.warning("\u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D");return}let t={};this.collectAllFields(this.widget.widgetList,t),this.formModel[this.widget.options.name]||(this.formModel[this.widget.options.name]=[]);let a=deepClone(this.formModel[this.widget.options.name]);console.log(t,"newSubFormDataRow"),a.push(t),this.addToRowIdData(),this.addToFieldSchemaData(),this.handleSubFormRowAdd(a,this.rowIdData[a.length-1]),this.handleSubFormRowChange(a)},insertSubFormRow(t){let a={};this.collectAllFields(this.widget.widgetList,a),this.formModel[this.widget.options.name]||(this.formModel[this.widget.options.name]=[]);let e=this.formModel[this.widget.options.name];e.splice(t,0,a),this.insertToRowIdData(t),this.addToFieldSchemaData(t),this.handleSubFormRowInsert(e,this.rowIdData[t]),this.handleSubFormRowChange(e)},deleteSubFormRow(t){this.$confirm("\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{if(!this.formModel[this.widget.options.name])return;let a=this.formModel[this.widget.options.name],e=deepClone(a[t]);a.splice(t,1),this.deleteFromRowIdData(t),this.deleteFromFieldSchemaData(t),this.handleSubFormRowDelete(a,e),this.handleSubFormRowChange(a)}).catch(()=>{})},handleSubFormRowChange(t){if(this.widget.options.onSubFormRowChange)try{new Function("subFormData",this.widget.options.onSubFormRowChange).call(this,t)}catch(a){console.error("\u6267\u884C\u5B50\u8868\u5355\u884C\u53D8\u5316\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",a)}},handleSubFormRowAdd(t,a){if(this.widget.options.onSubFormRowAdd)try{new Function("subFormData","newRowId",this.widget.options.onSubFormRowAdd).call(this,t,a)}catch(e){console.error("\u6267\u884C\u5B50\u8868\u5355\u6DFB\u52A0\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",e)}},handleSubFormRowInsert(t,a){if(this.widget.options.onSubFormRowInsert)try{new Function("subFormData","newRowId",this.widget.options.onSubFormRowInsert).call(this,t,a)}catch(e){console.error("\u6267\u884C\u5B50\u8868\u5355\u63D2\u5165\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",e)}},handleSubFormRowDelete(t,a){if(this.widget.options.onSubFormRowDelete)try{new Function("subFormData","deletedDataRow",this.widget.options.onSubFormRowDelete).call(this,t,a)}catch(e){console.error("\u6267\u884C\u5B50\u8868\u5355\u5220\u9664\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",e)}},getFieldSchemaDataForContainer(t,a,e){const h=this.fieldSchemaData[a]&&this.fieldSchemaData[a][e];if(!!h&&h.widgetList&&Array.isArray(h.widgetList))return gt(je({},h.widgetList),{disabled:this.widget.options.disabled})}}},_hoisted_1$f={class:"sub-form-header"},_hoisted_2$b={class:"sub-form-label"},_hoisted_3$a={class:"group-header"},_hoisted_4$8={class:"group-title"},_hoisted_5$6={key:0,class:"row-number-span"},_hoisted_6$6={key:1,class:"row-number-span"},_hoisted_7$5={class:"group-actions"},_hoisted_8$3={class:"group-content"},_hoisted_9$2={key:1,class:"field-loading",style:{color:"#909399","font-size":"12px",padding:"8px"}},_hoisted_10$1={key:1,class:"empty-hint"},_hoisted_11={key:0},_hoisted_12={key:1},_hoisted_13={key:0,class:"empty-hint"},_hoisted_14={key:1,class:"empty-hint"};function _sfc_render$i(t,a,e,h,m,p){const d=vue.resolveComponent("el-button"),f=vue.resolveComponent("svg-icon"),o=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(o,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-sub-form-container",p.customClass])},[vue.createElementVNode("div",_hoisted_1$f,[vue.createElementVNode("span",_hoisted_2$b,vue.toDisplayString(e.widget.options.label||"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"),1)]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.rowIdData,(u,n)=>(vue.openBlock(),vue.createElementBlock("div",{class:"form-group-row",key:u},[vue.createElementVNode("div",_hoisted_3$a,[vue.createElementVNode("div",_hoisted_4$8,[e.widget.options.showRowNumber?(vue.openBlock(),vue.createElementBlock("span",_hoisted_5$6,vue.toDisplayString(e.widget.options.label||"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355")+" "+vue.toDisplayString(n+1),1)):(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$6,"\u8868\u5355\u7EC4"))]),vue.createElementVNode("div",_hoisted_7$5,[n>0&&!e.widget.options.disabled?(vue.openBlock(),vue.createBlock(d,{key:0,size:"small",type:"danger",plain:"",onClick:s=>p.deleteSubFormRow(n),title:"\u5220\u9664\u7EC4"},{default:vue.withCtx(()=>[...a[0]||(a[0]=[vue.createTextVNode(" \u5220\u9664 ",-1)])]),_:1},8,["onClick"])):vue.createCommentVNode("",!0)])]),vue.createElementVNode("div",_hoisted_8$3,[e.widget&&e.widget.widgetList&&e.widget.widgetList.length>0?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.widget.widgetList,(s,i)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:s?s.id+"gc"+u+"-"+i:"gc"+u+"-"+i},[s&&s.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(p.getComponentName(s)),{key:0,widget:s,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"sub-form-row-index":n,"sub-form-row-id":u,"sub-form-col-index":i,subFormDisabled:e.widget.options.disabled,"field-schema-data":p.getFieldSchemaDataForContainer(s,n,i)},null,8,["widget","parent-list","index-of-parent-list","parent-widget","sub-form-row-index","sub-form-row-id","sub-form-col-index","subFormDisabled","field-schema-data"])):s?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[m.fieldSchemaData&&m.fieldSchemaData[n]&&m.fieldSchemaData[n][i]?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(p.getComponentName(s)),{key:0,field:m.fieldSchemaData[n][i],"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"sub-form-row-id":u,"sub-form-row-index":n,"sub-form-col-index":i,"sub-form-disabled":e.widget.options.disabled},null,8,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index","sub-form-disabled"])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$2," \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))],64)):vue.createCommentVNode("",!0)],64))),128)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$1,[e.widget?!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_12," \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")):vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_11,"\u7EC4\u4EF6\u672A\u521D\u59CB\u5316"))]))])]))),128)),!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_13," \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")):m.rowIdData.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_14,' \u70B9\u51FB"\u6DFB\u52A0"\u6309\u94AE\u6DFB\u52A0\u6570\u636E\u884C ')):vue.createCommentVNode("",!0),e.widget.options.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(d,{key:2,disabled:m.actionDisabled,type:"primary",plain:"",class:"action-button",onClick:p.addSubFormRow},{default:vue.withCtx(()=>[vue.createVNode(f,{"icon-class":"el-plus"}),a[1]||(a[1]=vue.createTextVNode(" \u6DFB\u52A0 ",-1))]),_:1},8,["disabled","onClick"]))],2)),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:1},8,["widget"])}var CustomSubFormItem=_export_sfc$1(_sfc_main$i,[["render",_sfc_render$i],["__scopeId","data-v-6bd07e4e"]]);const customTableCellSchema={type:"custom-table-cell",category:"container",icon:"table-cell",internal:!0,widgetList:[],merged:!1,options:{name:"",cellWidth:"",cellHeight:"",colspan:1,rowspan:1,wordBreak:!1,customClass:""}},customTableSchema={type:"custom-table",category:"container",icon:"table",rows:[],options:{name:"",label:"\u81EA\u5B9A\u4E49\u8868\u683C",hidden:!1,customClass:"",onTableRowAdd:"",onTableRowInsert:"",onTableRowDelete:"",onTableRowChange:""}};var customTableCellWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$h={name:"custom-table-cell-widget",componentName:"CustomTableCellWidget",mixins:[i18n$1,refMixinDesign],inject:["refList"],components:gt(je(je({},comps$1),ContainerWidgets),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,rowIndex:Number,colIndex:Number,rowLength:Number,colLength:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{selectWidget(t){this.designer.setSelected(t)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},checkContainerMove(t){return this.designer.checkWidgetMove(t)},onTableDragAdd(t,a){const e=t.newIndex;a[e]&&this.designer.setSelected(a[e]),this.designer.emitHistoryChange()},onTableDragUpdate(){this.designer.emitHistoryChange()},handleTableCellCommand(t){t==="insertLeftCol"?this.insertLeftCol():t==="insertRightCol"?this.insertRightCol():t==="insertAboveRow"?this.insertAboveRow():t==="insertBelowRow"?this.insertBelowRow():t==="deleteCol"?this.deleteWholeCol():t==="deleteRow"&&this.deleteWholeRow()},insertLeftCol(){this.insertTableCol(!0)},insertRightCol(){this.insertTableCol(!1)},insertAboveRow(){this.insertTableRow(!0)},insertBelowRow(){this.insertTableRow(!1)},insertTableCol(t){let a=t?this.colIndex:this.colIndex+1;if(!t){let e=a;for(;e<this.colLength;){if(this.parentWidget.rows[this.rowIndex]&&this.parentWidget.rows[this.rowIndex].cols[e]&&!this.parentWidget.rows[this.rowIndex].cols[e].merged){a=e;break}e++}e>=this.colLength&&(a=this.colLength)}this.parentWidget.rows.forEach(e=>{let h=deepClone(this.designer.getContainerByType("custom-table-cell"));h.id="custom-table-cell-"+generateId(),h.options.name=h.id,h.merged=!1,h.options.colspan=1,h.options.rowspan=1,h.widgetList.length=0,e.cols.splice(a,0,h)}),this.designer.emitHistoryChange()},insertTableRow(t){let a=t?this.rowIndex:this.rowIndex+1;if(!t){let h=a;for(;h<this.rowLength;){if(this.parentWidget.rows[h]&&this.parentWidget.rows[h].cols[this.colIndex]&&!this.parentWidget.rows[h].cols[this.colIndex].merged){a=h;break}h++}h>=this.rowLength&&(a=this.rowLength)}let e=deepClone(this.parentWidget.rows[this.rowIndex]);e.id="custom-table-row-"+generateId(),e.merged=!1,e.cols.forEach(h=>{h.id="custom-table-cell-"+generateId(),h.options.name=h.id,h.merged=!1,h.options.colspan=1,h.options.rowspan=1,h.widgetList.length=0}),this.parentWidget.rows.splice(a,0,e),this.designer.emitHistoryChange()},deleteWholeCol(){if(this.colLength===1){this.$message.warning("\u81F3\u5C11\u4FDD\u7559\u4E00\u5217");return}this.parentWidget.rows.forEach(t=>{t.cols.splice(this.colIndex,1)}),this.designer.emitHistoryChange()},deleteWholeRow(){if(this.rowLength===1){this.$message.warning("\u81F3\u5C11\u4FDD\u7559\u4E00\u884C");return}this.parentWidget.rows.splice(this.rowIndex,1),this.designer.emitHistoryChange()}}},_hoisted_1$e=["colspan","rowspan"],_hoisted_2$a={class:"form-widget-list"},_hoisted_3$9={key:0,class:"custom-table-cell-action"},_hoisted_4$7={title:"\u5355\u5143\u683C\u8BBE\u7F6E"},_hoisted_5$5={key:1,class:"custom-table-cell-handler"},_hoisted_6$5={key:2,class:"empty-hint"};function _sfc_render$h(t,a,e,h,m,p){const d=vue.resolveComponent("draggable"),f=vue.resolveComponent("svg-icon"),o=vue.resolveComponent("el-dropdown-item"),u=vue.resolveComponent("el-dropdown-menu"),n=vue.resolveComponent("el-dropdown");return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["custom-table-cell",[p.selected?"selected":"",p.customClass]]),style:vue.normalizeStyle({width:e.widget.options.cellWidth+"!important"||"",height:e.widget.options.cellHeight+"!important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"}),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,onClick:a[2]||(a[2]=vue.withModifiers(s=>p.selectWidget(e.widget),["stop"]))},[vue.createVNode(d,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:a[0]||(a[0]=s=>p.onTableDragAdd(s,e.widget.widgetList)),onUpdate:p.onTableDragUpdate,move:p.checkContainerMove}),{item:vue.withCtx(({element:s,index:i})=>[vue.createElementVNode("div",_hoisted_2$a,[s.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{widget:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{field:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="custom-table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$9,[vue.createElementVNode("i",{title:"\u9009\u62E9\u7236\u7EC4\u4EF6",onClick:a[1]||(a[1]=vue.withModifiers(s=>p.selectParentWidget(),["stop"]))},[vue.createVNode(f,{"icon-class":"el-back"})]),vue.createVNode(n,{trigger:"click",onCommand:p.handleTableCellCommand,size:"small"},{dropdown:vue.withCtx(()=>[vue.createVNode(u,null,{default:vue.withCtx(()=>[vue.createVNode(o,{command:"insertLeftCol"},{default:vue.withCtx(()=>[...a[3]||(a[3]=[vue.createTextVNode("\u5DE6\u4FA7\u63D2\u5165\u5217",-1)])]),_:1}),vue.createVNode(o,{command:"insertRightCol"},{default:vue.withCtx(()=>[...a[4]||(a[4]=[vue.createTextVNode("\u53F3\u4FA7\u63D2\u5165\u5217",-1)])]),_:1}),vue.createVNode(o,{command:"insertAboveRow"},{default:vue.withCtx(()=>[...a[5]||(a[5]=[vue.createTextVNode("\u4E0A\u65B9\u63D2\u5165\u884C",-1)])]),_:1}),vue.createVNode(o,{command:"insertBelowRow"},{default:vue.withCtx(()=>[...a[6]||(a[6]=[vue.createTextVNode("\u4E0B\u65B9\u63D2\u5165\u884C",-1)])]),_:1}),vue.createVNode(o,{command:"deleteCol",divided:""},{default:vue.withCtx(()=>[...a[7]||(a[7]=[vue.createTextVNode("\u5220\u9664\u6574\u5217",-1)])]),_:1}),vue.createVNode(o,{command:"deleteRow"},{default:vue.withCtx(()=>[...a[8]||(a[8]=[vue.createTextVNode("\u5220\u9664\u6574\u884C",-1)])]),_:1})]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("i",_hoisted_4$7,[vue.createVNode(f,{"icon-class":"el-menu"})])]),_:1},8,["onCommand"])])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="custom-table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$5,[...a[9]||(a[9]=[vue.createElementVNode("i",null,"\u5355\u5143\u683C",-1)])])):vue.createCommentVNode("",!0),!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$5," \u62D6\u62FD\u7EC4\u4EF6\u5230\u6B64\u5904 ")):vue.createCommentVNode("",!0)],14,_hoisted_1$e)}var CustomTableCellWidget=_export_sfc$1(_sfc_main$h,[["render",_sfc_render$h],["__scopeId","data-v-6e28297c"]]),customTableWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$g={name:"custom-table-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,CustomTableCellWidget},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList(),this.initDefaultTable()},methods:{initDefaultTable(){if(!this.widget.rows||this.widget.rows.length===0){let t={id:"custom-table-row-"+generateId(),merged:!1,cols:[]},a=deepClone(this.designer.getContainerByType("custom-table-cell"));a&&(a.id="custom-table-cell-"+generateId(),a.options.name=a.id,a.merged=!1,a.options.colspan=1,a.options.rowspan=1,a.widgetList.length=0,t.cols.push(a),this.widget.rows.push(t))}}}},_hoisted_1$d={class:"custom-table-layout"};function _sfc_render$g(t,a,e,h,m,p){const d=vue.resolveComponent("custom-table-cell-widget"),f=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(f,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-table-container",[p.selected?"selected":"",p.customClass]]),onClick:a[0]||(a[0]=vue.withModifiers(o=>t.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("table",_hoisted_1$d,[vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.rows,(o,u)=>(vue.openBlock(),vue.createElementBlock("tr",{key:o.id},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(o.cols,(n,s)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[n.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(d,{widget:n,designer:e.designer,key:n.id,"parent-list":e.widget.rows,"row-index":u,"row-length":e.widget.rows.length,"col-index":s,"col-length":o.cols.length,"parent-widget":e.widget},null,8,["widget","designer","parent-list","row-index","row-length","col-index","col-length","parent-widget"]))],64))),256))]))),128))])])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CustomTableWidget=_export_sfc$1(_sfc_main$g,[["render",_sfc_render$g],["__scopeId","data-v-5281c94a"]]),customTableCellItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$f={name:"custom-table-cell-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:je({},comps$1),props:{widget:Object,rowIndex:Number,colIndex:Number},inject:["refList","globalModel"],computed:{customClass(){return this.widget.options.customClass||""}}},_hoisted_1$c=["colspan","rowspan"];function _sfc_render$f(t,a,e,h,m,p){return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["custom-table-cell",p.customClass]),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,style:vue.normalizeStyle({width:e.widget.options.cellWidth+" !important"||"",height:e.widget.options.cellHeight+" !important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,(d,f)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:d.id},[d.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(d)),{widget:d,key:f,"parent-list":e.widget.widgetList,"index-of-parent-list":f,"parent-widget":e.widget},null,8,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(d.type+"-widget"),{field:d,designer:null,key:f,"parent-list":e.widget.widgetList,"index-of-parent-list":f,"parent-widget":e.widget},null,8,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),128))],14,_hoisted_1$c)}var CustomTableCellItem=_export_sfc$1(_sfc_main$f,[["render",_sfc_render$f],["__scopeId","data-v-188e7bf2"]]),customTableItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$e={name:"custom-table-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:{ContainerItemWrapper,CustomTableCellItem,SvgIcon},props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{rowIdData:[]}},computed:{customClass(){return this.widget.options.customClass||""},formModel:{cache:!1,get(){return this.globalModel.formModel}}},created(){this.initRefList(),this.initRowIdData(),this.initEventHandler()},beforeUnmount(){this.unregisterFromRefList()},methods:{initRowIdData(){!this.widget.rows||this.widget.rows.length===0||(this.rowIdData.splice(0,this.rowIdData.length),this.widget.rows.forEach(()=>{this.rowIdData.push("id"+generateId())}))},addToRowIdData(t){t===void 0?this.rowIdData.push("id"+generateId()):this.rowIdData.splice(t,0,"id"+generateId())},deleteFromRowIdData(t){this.rowIdData.splice(t,1)},cloneCellWithFields(t,a){const e=deepClone(t);return e.id="custom-table-cell-"+generateId(),e.options.name=e.id,e.widgetList&&e.widgetList.length>0&&(e.widgetList=e.widgetList.map(h=>{const m=deepClone(h);if(m.id=h.type+"-"+generateId(),m.options&&m.options.name){const p=m.options.name.split("@")[0];m.options.name=p+"@row"+a}return m})),e},addTableRow(){if(!this.widget.rows||this.widget.rows.length===0)return;this.addToRowIdData();const t=this.rowIdData[this.rowIdData.length-1],a=this.widget.rows[0],e={id:"custom-table-row-"+generateId(),merged:!1,cols:a.cols.map(h=>this.cloneCellWithFields(h,t))};this.widget.rows.push(e),this.initRowFormData(e,this.widget.rows.length-1),this.handleTableRowAdd(this.widget.rows,t),this.handleTableRowChange(this.widget.rows)},insertTableRow(t){if(!this.widget.rows||this.widget.rows.length===0)return;this.addToRowIdData(t);const a=this.rowIdData[t],e=this.widget.rows[0],h={id:"custom-table-row-"+generateId(),merged:!1,cols:e.cols.map(m=>this.cloneCellWithFields(m,a))};this.widget.rows.splice(t,0,h),this.initRowFormData(h,t),this.handleTableRowInsert(this.widget.rows,a),this.handleTableRowChange(this.widget.rows)},deleteTableRow(t){if(!this.widget.rows||t<0||t>=this.widget.rows.length)return;const a=deepClone(this.widget.rows[t]);this.widget.rows.splice(t,1),this.deleteFromRowIdData(t),this.handleTableRowDelete(this.widget.rows,a),this.handleTableRowChange(this.widget.rows)},initRowFormData(t,a){!t||!t.cols||t.cols.forEach(e=>{e.widgetList&&e.widgetList.length>0&&e.widgetList.forEach(h=>{if(h.formItemFlag&&h.options&&h.options.name){const m=h.options.name;this.formModel[m]===void 0&&(this.formModel[m]=h.options.defaultValue!==void 0?h.options.defaultValue:null)}})})},initEventHandler(){this.on$("setFormData",t=>{this.initRowIdData(),setTimeout(()=>{this.handleTableRowChange(this.widget.rows)},800)})},handleTableRowChange(t){if(this.widget.options.onTableRowChange)try{new Function("tableRows",this.widget.options.onTableRowChange).call(this,t)}catch(a){console.error("Error executing onTableRowChange handler:",a)}},handleTableRowAdd(t,a){if(this.widget.options.onTableRowAdd)try{new Function("tableRows","newRowId",this.widget.options.onTableRowAdd).call(this,t,a)}catch(e){console.error("Error executing onTableRowAdd handler:",e)}},handleTableRowInsert(t,a){if(this.widget.options.onTableRowInsert)try{new Function("tableRows","newRowId",this.widget.options.onTableRowInsert).call(this,t,a)}catch(e){console.error("Error executing onTableRowInsert handler:",e)}},handleTableRowDelete(t,a){if(this.widget.options.onTableRowDelete)try{new Function("tableRows","deletedRow",this.widget.options.onTableRowDelete).call(this,t,a)}catch(e){console.error("Error executing onTableRowDelete handler:",e)}}}},_hoisted_1$b={key:0,class:"table-actions"},_hoisted_2$9={class:"custom-table-layout"},_hoisted_3$8={key:0,class:"row-actions-cell"};function _sfc_render$e(t,a,e,h,m,p){const d=vue.resolveComponent("svg-icon"),f=vue.resolveComponent("el-button"),o=vue.resolveComponent("custom-table-cell-item"),u=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(u,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-table-container",p.customClass])},[e.widget.rows&&e.widget.rows.length>0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$b,[vue.createVNode(f,{type:"primary",size:"small",onClick:p.addTableRow,title:"\u6DFB\u52A0\u884C"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-plus"}),a[0]||(a[0]=vue.createTextVNode(" \u6DFB\u52A0\u884C ",-1))]),_:1},8,["onClick"])])):vue.createCommentVNode("",!0),vue.createElementVNode("table",_hoisted_2$9,[vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.rows,(n,s)=>(vue.openBlock(),vue.createElementBlock("tr",{key:m.rowIdData[s]||n.id},[e.widget.rows.length>0?(vue.openBlock(),vue.createElementBlock("td",_hoisted_3$8,[vue.createVNode(f,{type:"primary",size:"small",circle:"",onClick:i=>p.insertTableRow(s),title:"\u5728\u6B64\u884C\u524D\u63D2\u5165"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-plus"})]),_:1},8,["onClick"]),vue.createVNode(f,{type:"danger",size:"small",circle:"",onClick:i=>p.deleteTableRow(s),title:"\u5220\u9664\u6B64\u884C"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-delete"})]),_:1},8,["onClick"])])):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(n.cols,(i,r)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(o,{widget:i,key:i.id+"@row"+(m.rowIdData[s]||""),"parent-list":e.widget.rows,"row-index":s,"col-index":r,"parent-widget":e.widget},null,8,["widget","parent-list","row-index","col-index","parent-widget"]))],64))),256))]))),128))])])],2)),[[vue.vShow,!e.widget.options.hidden]])]),_:1},8,["widget"])}var CustomTableItem=_export_sfc$1(_sfc_main$e,[["render",_sfc_render$e],["__scopeId","data-v-1aff2bd9"]]);const subTableSchema={type:"sub-table",category:"container",icon:"table",formItemFlag:!0,options:{name:"",label:"\u5B50\u8868\u683C",labelAlign:"",labelWidth:null,hidden:!1,disabled:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",columns:[],showIndex:!0,showOperation:!0,operationColumnWidth:"150",border:!0,stripe:!1,size:"default",maxHeight:"",defaultValue:[],onCreated:"",onMounted:"",onChange:"",onValidate:"",onRowAdd:"",onRowEdit:"",onRowDelete:""}};var subTableWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$d={name:"sub-table-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,SvgIcon},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{previewData:[],actionDisabled:!1}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},tableMaxHeight(){var a,e;const t=(e=(a=this.widget)==null?void 0:a.options)==null?void 0:e.maxHeight;return t!=null&&t!==""?t:void 0}},created(){this.initRefList(),this.initPreviewData()},watch:{"widget.options.columns":{handler(){this.initPreviewData()},deep:!0},"widget.options.defaultValue":{handler(){this.initPreviewData()},deep:!0}},methods:{initPreviewData(){if(this.widget.options.defaultValue&&Array.isArray(this.widget.options.defaultValue)&&this.widget.options.defaultValue.length>0)this.previewData=JSON.parse(JSON.stringify(this.widget.options.defaultValue));else if(this.widget.options.columns&&this.widget.options.columns.length>0){const t={};this.widget.options.columns.forEach(a=>{t[a.prop]="\u793A\u4F8B\u6570\u636E"}),this.previewData=[t]}else this.previewData=[]},addPreviewRow(){if(!this.widget.options.columns||this.widget.options.columns.length===0){this.$message.warning("\u8BF7\u5148\u914D\u7F6E\u8868\u683C\u5217");return}const t={};this.widget.options.columns.forEach(a=>{t[a.prop]=""}),this.previewData.push(t)},editPreviewRow(t){this.$message.info("\u8BBE\u8BA1\u5668\u4E2D\u4E0D\u652F\u6301\u7F16\u8F91\uFF0C\u8BF7\u5728\u8FD0\u884C\u671F\u4F7F\u7528")},deletePreviewRow(t){this.previewData.splice(t,1)}}},_hoisted_1$a={class:"sub-table-header"},_hoisted_2$8={class:"sub-table-label"},_hoisted_3$7={class:"table-preview"},_hoisted_4$6={class:"preview-cell"},_hoisted_5$4={class:"empty-hint"},_hoisted_6$4={key:0},_hoisted_7$4={key:1},_hoisted_8$2={key:0,class:"config-hint"};function _sfc_render$d(t,a,e,h,m,p){const d=vue.resolveComponent("svg-icon"),f=vue.resolveComponent("el-button"),o=vue.resolveComponent("el-table-column"),u=vue.resolveComponent("el-table"),n=vue.resolveComponent("el-alert"),s=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(s,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["sub-table-container",[p.selected?"selected":"",p.customClass]]),onClick:a[0]||(a[0]=vue.withModifiers(i=>t.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("div",_hoisted_1$a,[vue.createElementVNode("span",_hoisted_2$8,vue.toDisplayString(e.widget.options.label||"\u5B50\u8868\u683C"),1),vue.createVNode(f,{disabled:m.actionDisabled,round:"",type:"primary",size:"small",class:"action-button",onClick:vue.withModifiers(p.addPreviewRow,["stop"])},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-plus"}),a[1]||(a[1]=vue.createTextVNode(" \u6DFB\u52A0\u884C ",-1))]),_:1},8,["disabled","onClick"])]),vue.createElementVNode("div",_hoisted_3$7,[vue.createVNode(u,{data:m.previewData,border:e.widget.options.border,stripe:e.widget.options.stripe,size:e.widget.options.size,"max-height":p.tableMaxHeight,style:{width:"100%"}},{empty:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_5$4,[e.widget.options.columns&&e.widget.options.columns.length>0?(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$4,' \u6682\u65E0\u6570\u636E\uFF0C\u70B9\u51FB"\u6DFB\u52A0\u884C"\u6309\u94AE\u6DFB\u52A0\u6570\u636E ')):(vue.openBlock(),vue.createElementBlock("span",_hoisted_7$4," \u8BF7\u5728\u53F3\u4FA7\u5C5E\u6027\u9762\u677F\u4E2D\u914D\u7F6E\u8868\u683C\u5217 "))])]),default:vue.withCtx(()=>[e.widget.options.showIndex?(vue.openBlock(),vue.createBlock(o,{key:0,type:"index",label:"\u5E8F\u53F7",width:"60",align:"center"})):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.options.columns,(i,r)=>(vue.openBlock(),vue.createBlock(o,{key:r,prop:i.prop,label:i.label,width:i.width,"min-width":i.minWidth,align:"center"},{default:vue.withCtx(({row:l})=>[vue.createElementVNode("span",_hoisted_4$6,vue.toDisplayString(l[i.prop]||"-"),1)]),_:2},1032,["prop","label","width","min-width"]))),128)),e.widget.options.showOperation?(vue.openBlock(),vue.createBlock(o,{key:1,label:"\u64CD\u4F5C",width:e.widget.options.operationColumnWidth,align:"center",fixed:"right"},{default:vue.withCtx(({$index:i})=>[vue.createVNode(f,{size:"small",type:"primary",link:"",onClick:vue.withModifiers(r=>p.editPreviewRow(i),["stop"])},{default:vue.withCtx(()=>[...a[2]||(a[2]=[vue.createTextVNode(" \u7F16\u8F91 ",-1)])]),_:1},8,["onClick"]),vue.createVNode(f,{size:"small",type:"danger",link:"",onClick:vue.withModifiers(r=>p.deletePreviewRow(i),["stop"])},{default:vue.withCtx(()=>[...a[3]||(a[3]=[vue.createTextVNode(" \u5220\u9664 ",-1)])]),_:1},8,["onClick"])]),_:1},8,["width"])):vue.createCommentVNode("",!0)]),_:1},8,["data","border","stripe","size","max-height"])]),!e.widget.options.columns||e.widget.options.columns.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$2,[vue.createVNode(n,{title:"\u63D0\u793A",type:"info",closable:!1,"show-icon":""},{default:vue.withCtx(()=>[...a[4]||(a[4]=[vue.createElementVNode("div",null,"\u8BF7\u5728\u53F3\u4FA7\u5C5E\u6027\u9762\u677F\u4E2D\u914D\u7F6E\u8868\u683C\u5217\uFF0C\u5305\u62EC\uFF1A\u5217\u540D\u3001\u5B57\u6BB5\u540D\u3001\u5217\u5BBD\u7B49",-1)])]),_:1})])):vue.createCommentVNode("",!0)],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var SubTableWidget=_export_sfc$1(_sfc_main$d,[["render",_sfc_render$d],["__scopeId","data-v-1fb729c8"]]),subTableItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$c={name:"sub-table-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:{ContainerItemWrapper,SvgIcon},props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{tableData:[],dialogVisible:!1,dialogTitle:"\u65B0\u589E",dialogFormData:{},dialogFormRules:{},editingIndex:-1,syncFromFormModel:!1}},computed:{formModel(){var t,a;return((a=(t=this.globalModel)==null?void 0:t.formModel)==null?void 0:a[this.widget.options.name])||[]},customClass(){return this.widget.options.customClass||""},labelClass(){return{"sub-table-label-text":!0,"label-left-align":this.widget.options.labelAlign==="left","label-center-align":this.widget.options.labelAlign==="center","label-right-align":this.widget.options.labelAlign==="right"}},tableMaxHeight(){var a,e;const t=(e=(a=this.widget)==null?void 0:a.options)==null?void 0:e.maxHeight;return t!=null&&t!==""?t:void 0}},watch:{formModel:{handler(t){this.syncFromFormModel=!0,t&&Array.isArray(t)?this.tableData=deepClone(t):t||(this.tableData=[]),this.$nextTick(()=>{this.syncFromFormModel=!1})},immediate:!0,deep:!0},tableData:{handler(t){this.syncFromFormModel||this.formModel!==t&&this.updateFormModel(t)},deep:!0}},created(){this.initRefList(),this.initTableData()},mounted(){this.initTableData()},beforeUnmount(){this.unregisterFromRefList()},methods:{updateFormModel(t){this.globalModel&&this.globalModel.formModel&&(this.globalModel.formModel[this.widget.options.name]=deepClone(t),this.dispatch("FieldWidget","field-value-changed",[this.widget.options.name,deepClone(t),this.formModel]))},initTableData(){this.fieldModel&&Array.isArray(this.fieldModel)?this.tableData=deepClone(this.fieldModel):this.widget.options.defaultValue&&Array.isArray(this.widget.options.defaultValue)?(this.tableData=deepClone(this.widget.options.defaultValue),this.updateFormModel(this.tableData)):(this.tableData=[],this.updateFormModel([]))},handleAddRow(){this.editingIndex=-1,this.dialogTitle="\u65B0\u589E",this.initDialogFormData(),this.dialogVisible=!0},handleEditRow(t,a){this.editingIndex=t,this.dialogTitle="\u7F16\u8F91",this.dialogFormData=deepClone(a),this.dialogFormData._columnOptions||(this.dialogFormData._columnOptions={}),this.dialogVisible=!0,this.$nextTick(()=>{this.widget.options.columns&&this.widget.options.columns.forEach(e=>{if(e.dependOn&&this.dialogFormData[e.dependOn]&&!(this.dialogFormData._columnOptions&&this.dialogFormData._columnOptions[e.prop]&&Array.isArray(this.dialogFormData._columnOptions[e.prop])&&this.dialogFormData._columnOptions[e.prop].length>0)){const m=this.widget.options.columns.find(p=>p.prop===e.dependOn);m&&this.handleColumnLinkage(e,m,this.dialogFormData[e.dependOn])}})})},handleDeleteRow(t){this.$confirm("\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E00\u884C\u5417\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{if(this.tableData.splice(t,1),this.updateFormModel(this.tableData),this.$message.success("\u5220\u9664\u6210\u529F"),this.widget.options.onRowDelete)try{new Function("rowIndex","rowData",this.widget.options.onRowDelete)(t,this.tableData[t])}catch(a){console.error("\u6267\u884C\u5220\u9664\u884C\u4E8B\u4EF6\u5931\u8D25:",a)}}).catch(()=>{})},initDialogFormData(){const t={};t._columnOptions={},this.widget.options.columns&&this.widget.options.columns.length>0&&this.widget.options.columns.forEach(a=>{t[a.prop]=a.defaultValue!==void 0?a.defaultValue:""}),this.dialogFormData=t,this.initDialogFormRules()},initDialogFormRules(){const t={};this.widget.options.columns&&this.widget.options.columns.length>0&&this.widget.options.columns.forEach(a=>{if(!a.prop)return;const e=[];a.required&&e.push({required:!0,message:a.requiredHint||`\u8BF7\u8F93\u5165${a.label}`,trigger:"blur"}),a.validation&&(FormValidators[a.validation]?e.push({validator:FormValidators[a.validation],trigger:["blur","change"],label:a.label,errorMsg:a.validationHint}):e.push({validator:FormValidators.regExp,trigger:["blur","change"],regExp:a.validation,label:a.label,errorMsg:a.validationHint})),e.length>0&&(t[a.prop]=e)}),this.dialogFormRules=t},getColumnOptions(t){if(this.dialogVisible&&this.dialogFormData._columnOptions){const a=this.dialogFormData._columnOptions[t.prop];if(a&&Array.isArray(a)&&a.length>0)return a}if(t.options&&Array.isArray(t.options)&&t.options.length>0)return t.options;if(t.dictCode&&t.dictCode.trim()){const a=t.dictCode.trim();let e=[];if(typeof window!="undefined"&&window.getDictData?e=window.getDictData(a)||[]:typeof window!="undefined"&&window.dictCache&&window.dictCache[a]&&(e=window.dictCache[a]||[]),e&&Array.isArray(e)&&e.length>0){const h=e.map(m=>({label:m.dictLabel||m.label||m.name||m.text||"",value:m.dictValue||m.value||m.code||"",disabled:m.disabled||!1}));return t.options=h,h}}return[]},handleDialogConfirm(){this.$refs.dialogFormRef.validate(t=>{if(t){const a=deepClone(this.dialogFormData);if(a._columnOptions,this.editingIndex===-1){if(this.tableData.push(a),this.$message.success("\u6DFB\u52A0\u6210\u529F"),this.widget.options.onRowAdd)try{new Function("rowData",this.widget.options.onRowAdd)(deepClone(a))}catch(e){console.error("\u6267\u884C\u6DFB\u52A0\u884C\u4E8B\u4EF6\u5931\u8D25:",e)}}else if(this.tableData[this.editingIndex]=a,this.$message.success("\u4FDD\u5B58\u6210\u529F"),this.widget.options.onRowEdit)try{new Function("rowIndex","rowData",this.widget.options.onRowEdit)(this.editingIndex,deepClone(a))}catch(e){console.error("\u6267\u884C\u7F16\u8F91\u884C\u4E8B\u4EF6\u5931\u8D25:",e)}this.updateFormModel(this.tableData),this.dialogVisible=!1}else this.$message.warning("\u8BF7\u586B\u5199\u5B8C\u6574\u4FE1\u606F")})},handleDialogClose(){var t;(t=this.$refs.dialogFormRef)==null||t.resetFields(),this.dialogFormData={},this.editingIndex=-1,this.dialogFormData._columnOptions&&(this.dialogFormData._columnOptions={})},getValue(){return this.tableData},setValue(t){Array.isArray(t)&&(this.tableData=deepClone(t),this.updateFormModel(this.tableData))},getTableValue(t,a,e){if(a.type==="select"){let h=[];if(t._columnOptions&&t._columnOptions[a.prop]&&Array.isArray(t._columnOptions[a.prop])?h=t._columnOptions[a.prop]:h=this.getColumnOptions(a),h&&h.length>0){const m=h.find(p=>p.value===t[a.prop]);return m?m.label:t[a.prop]}return t[a.prop]}return t[a.prop]},handleInputChange(t){if(!t||!this.widget.options.columns)return;const a=this.dialogFormData[t.prop];if(this.widget.options.columns.forEach(e=>{e.dependOn===t.prop&&e.type==="select"&&this.handleColumnLinkage(e,t,a)}),t.onChange&&t.onChange.trim())try{const e=h=>{Array.isArray(h)&&(t.options=h,t.optionsText!==void 0&&(t.optionsText=JSON.stringify(h,null,2)))};new Function("col","value","formData","setOptions",t.onChange)(t,a,this.dialogFormData,e)}catch(e){console.error(`\u6267\u884C\u5217 "${t.label||t.prop}" \u7684 onChange \u4E8B\u4EF6\u5931\u8D25:`,e)}},handleColumnLinkage(t,a,e){if(!(!t||!a||t.type!=="select")&&t.onDependChange&&t.onDependChange.trim())try{const h=this.dialogFormData[t.prop],m=(o,u=0)=>{Array.isArray(o)&&(this.dialogVisible?(this.dialogFormData._columnOptions||(this.dialogFormData._columnOptions={}),this.dialogFormData._columnOptions[t.prop]=[...o]):(t.options=o,t.optionsText!==void 0&&(t.optionsText=JSON.stringify(o,null,2))))},p=o=>{this.dialogVisible&&this.dialogFormData&&(this.dialogFormData[t.prop]=o)},d=()=>this.dialogFormData[t.prop],f=this.getColumnOptions(t);new Function("targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue",t.onDependChange)(t,a,e,this.dialogFormData,f,m,p,d)}catch(h){console.error(`\u6267\u884C\u5217 "${t.label||t.prop}" \u7684\u8054\u52A8\u4E8B\u4EF6\u5931\u8D25:`,h)}},handleSelectMounted(t,a){t&&a&&a.onMounted&&a.onMounted.trim()&&this.$nextTick(()=>{try{let e=this.getColumnOptions(a);const h=m=>{Array.isArray(m)&&(a.options=m,a.optionsText!==void 0&&(a.optionsText=JSON.stringify(m,null,2)))};new Function("col","options","setOptions",a.onMounted)(a,e,h)}catch(e){console.error(`\u6267\u884C\u5217 "${a.label||a.prop}" \u7684 onMounted \u4E8B\u4EF6\u5931\u8D25:`,e)}})}}},_hoisted_1$9={key:0,class:"sub-table-label"},_hoisted_2$7={key:0,class:"required-mark"},_hoisted_3$6={class:"table-toolbar"},_hoisted_4$5={class:"dialog-footer"};function _sfc_render$c(t,a,e,h,m,p){const d=vue.resolveComponent("el-button"),f=vue.resolveComponent("el-table-column"),o=vue.resolveComponent("el-table"),u=vue.resolveComponent("el-input"),n=vue.resolveComponent("el-input-number"),s=vue.resolveComponent("el-date-picker"),i=vue.resolveComponent("el-option"),r=vue.resolveComponent("el-select"),l=vue.resolveComponent("el-textarea"),c=vue.resolveComponent("el-form-item"),g=vue.resolveComponent("el-form"),v=vue.resolveComponent("el-dialog"),b=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(b,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["sub-table-container",p.customClass])},[e.widget.options.label?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$9,[vue.createElementVNode("span",{class:vue.normalizeClass(p.labelClass)},vue.toDisplayString(e.widget.options.label),3),e.widget.options.required?(vue.openBlock(),vue.createElementBlock("span",_hoisted_2$7,"*")):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_3$6,[e.widget.options.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(d,{key:0,type:"primary",size:"small",disabled:e.widget.options.disabled,onClick:p.handleAddRow,icon:"el-icon-plus"},{default:vue.withCtx(()=>[...a[2]||(a[2]=[vue.createTextVNode(" \u65B0\u589E ",-1)])]),_:1},8,["disabled","onClick"]))]),vue.createVNode(o,{data:m.tableData,border:e.widget.options.border,stripe:e.widget.options.stripe,size:e.widget.options.size,"max-height":p.tableMaxHeight,style:{width:"100%"},disabled:e.widget.options.disabled},{empty:vue.withCtx(()=>[...a[5]||(a[5]=[vue.createElementVNode("div",{class:"empty-hint"},[vue.createElementVNode("span",null,"\u6682\u65E0\u6570\u636E")],-1)])]),default:vue.withCtx(()=>[e.widget.options.showIndex?(vue.openBlock(),vue.createBlock(f,{key:0,type:"index",label:"\u5E8F\u53F7",width:"60",align:"center"})):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.options.columns,(_,x)=>(vue.openBlock(),vue.createBlock(f,{key:x,prop:_.prop,label:_.label,width:_.width,"min-width":_.minWidth,align:"left","show-overflow-tooltip":""},{default:vue.withCtx(({row:w,$index:C})=>[vue.createTextVNode(vue.toDisplayString(p.getTableValue(w,_,C)),1)]),_:2},1032,["prop","label","width","min-width"]))),128)),e.widget.options.showOperation&&!e.widget.options.disabled?(vue.openBlock(),vue.createBlock(f,{key:1,label:"\u64CD\u4F5C",width:e.widget.options.operationColumnWidth,align:"center",fixed:"right"},{default:vue.withCtx(({row:_,$index:x})=>[vue.createVNode(d,{size:"small",type:"primary",link:"",disabled:e.widget.options.disabled,onClick:w=>p.handleEditRow(x,_)},{default:vue.withCtx(()=>[...a[3]||(a[3]=[vue.createTextVNode(" \u7F16\u8F91 ",-1)])]),_:1},8,["disabled","onClick"]),vue.createVNode(d,{size:"small",type:"danger",link:"",disabled:e.widget.options.disabled,onClick:w=>p.handleDeleteRow(x)},{default:vue.withCtx(()=>[...a[4]||(a[4]=[vue.createTextVNode(" \u5220\u9664 ",-1)])]),_:1},8,["disabled","onClick"])]),_:1},8,["width"])):vue.createCommentVNode("",!0)]),_:1},8,["data","border","stripe","size","max-height","disabled"]),vue.createVNode(v,{modelValue:m.dialogVisible,"onUpdate:modelValue":a[1]||(a[1]=_=>m.dialogVisible=_),title:m.dialogTitle,width:"800px","close-on-click-modal":!1,onClose:p.handleDialogClose},{footer:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_4$5,[vue.createVNode(d,{size:"default",onClick:a[0]||(a[0]=_=>m.dialogVisible=!1)},{default:vue.withCtx(()=>[...a[6]||(a[6]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(d,{size:"default",type:"primary",onClick:p.handleDialogConfirm},{default:vue.withCtx(()=>[...a[7]||(a[7]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(g,{ref:"dialogFormRef",model:m.dialogFormData,rules:m.dialogFormRules,"label-width":"auto"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.options.columns,(_,x)=>(vue.openBlock(),vue.createBlock(c,{key:x,label:_.label,prop:_.prop,required:_.required},{default:vue.withCtx(()=>[!_.type||_.type==="input"?(vue.openBlock(),vue.createBlock(u,{key:0,modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,placeholder:_.placeholder||`\u8BF7\u8F93\u5165${_.label}`,disabled:e.widget.options.disabled,onChange:w=>p.handleInputChange(_)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):_.type==="number"?(vue.openBlock(),vue.createBlock(n,{key:1,modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,placeholder:_.placeholder||`\u8BF7\u8F93\u5165${_.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},onChange:w=>p.handleInputChange(_)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):_.type==="date"?(vue.openBlock(),vue.createBlock(s,{key:2,modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,type:"date",placeholder:_.placeholder||`\u8BF7\u9009\u62E9${_.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},"value-format":"YYYY-MM-DD",onChange:w=>p.handleInputChange(_)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):_.type==="datetime"?(vue.openBlock(),vue.createBlock(s,{key:3,modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,type:"datetime",placeholder:_.placeholder||`\u8BF7\u9009\u62E9${_.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},"value-format":"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled"])):_.type==="month"?(vue.openBlock(),vue.createBlock(s,{key:4,modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,type:"month",placeholder:_.placeholder||`\u8BF7\u9009\u62E9${_.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},"value-format":"YYYY-MM",onChange:w=>p.handleInputChange(_)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):_.type==="select"?(vue.openBlock(),vue.createBlock(r,{modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,placeholder:_.placeholder||`\u8BF7\u9009\u62E9${_.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},ref_for:!0,ref:w=>p.handleSelectMounted(w,_),onChange:w=>p.handleInputChange(_),key:`select-${_.prop}-${m.dialogFormData._columnOptions?Object.keys(m.dialogFormData._columnOptions).length:0}`},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(p.getColumnOptions(_),(w,C)=>(vue.openBlock(),vue.createBlock(i,{key:`${_.prop}-${C}-${w.value}`,label:w.label,value:w.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):_.type==="textarea"?(vue.openBlock(),vue.createBlock(l,{key:6,modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,placeholder:_.placeholder||`\u8BF7\u8F93\u5165${_.label}`,disabled:e.widget.options.disabled,rows:_.rows||3,onChange:w=>p.handleInputChange(_)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","rows","onChange"])):vue.createCommentVNode("",!0)]),_:2},1032,["label","prop","required"]))),128))]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title","onClose"])],2)),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:1},8,["widget"])}var SubTableItem=_export_sfc$1(_sfc_main$c,[["render",_sfc_render$c],["__scopeId","data-v-63004f99"]]),subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$b={name:"sub-table-columns-editor",mixins:[i18n$1],components:{CodeEditor},props:{designer:Object,selectedWidget:Object,optionModel:Object},data(){return{showColumnEventDialog:!1,currentEventName:"",currentColumn:null,columnEventHandlerCode:"",eventHeader:"",fieldValidators:[{value:"number",label:this.i18nt("designer.hint.numberValidator")},{value:"letter",label:this.i18nt("designer.hint.letterValidator")},{value:"letterAndNumber",label:this.i18nt("designer.hint.letterAndNumberValidator")},{value:"mobilePhone",label:this.i18nt("designer.hint.mobilePhoneValidator")},{value:"email",label:this.i18nt("designer.hint.emailValidator")},{value:"url",label:this.i18nt("designer.hint.urlValidator")},{value:"noChinese",label:this.i18nt("designer.hint.noChineseValidator")},{value:"chinese",label:this.i18nt("designer.hint.chineseValidator")},{value:"maxLen12Decimals6",label:this.i18nt("designer.hint.maxLen12Decimals6Validator")},{value:"isPositiveIntegerLength",label:this.i18nt("designer.hint.isPositiveIntegerLengthValidator")},{value:"isPositiveIntegerZero",label:this.i18nt("designer.hint.isPositiveIntegerZeroValidator")},{value:"maxLen10Decimals2",label:this.i18nt("designer.hint.maxLen10Decimals2Validator")},{value:"maxLen12Decimals2",label:this.i18nt("designer.hint.maxLen12Decimals2Validator")},{value:"latitude",label:this.i18nt("designer.hint.latitude")},{value:"longitude",label:this.i18nt("designer.hint.longitude")},{value:"sixFigures",label:this.i18nt("designer.hint.sixFigures")},{value:"percentage",label:this.i18nt("designer.hint.percentage")}]}},created(){this.optionModel.columns||(this.optionModel.columns=[])},methods:{addNewColumn(){this.optionModel.columns||(this.optionModel.columns=[]);const t={prop:"field"+(this.optionModel.columns.length+1),label:"\u5217"+(this.optionModel.columns.length+1),type:"input",width:"",minWidth:"",placeholder:"",required:!1,validation:"",validationHint:"",defaultValue:""};this.optionModel.columns.push(t),this.designer.saveCurrentHistoryStep()},deleteColumn(t){this.optionModel.columns.splice(t,1),this.designer.saveCurrentHistoryStep()},handleColumnChange(){this.designer.saveCurrentHistoryStep()},handleValidationChange(t){t.validation||(t.validationHint=""),this.handleColumnChange()},handleSelectOptionsChange(t,a){try{if(a&&a.trim()){const e=JSON.parse(a);Array.isArray(e)?t.options=e:t.options=[]}else t.options=[]}catch(e){console.warn("\u9009\u9879\u6570\u636E\u683C\u5F0F\u9519\u8BEF:",e)}this.designer.saveCurrentHistoryStep()},loadDictOptionsForColumn(t){if(!t.dictCode||!t.dictCode.trim())return;const a=t.dictCode.trim();t._loadingDict=!0;try{let e=null;if(typeof window!="undefined"&&window.getDictData){const h=window.getDictData(a);if(h&&Array.isArray(h)&&h.length>0){t.options=h.map(m=>({label:m.dictLabel||m.label||m.name||m.text||"",value:m.dictValue||m.value||m.code||m.value||m.itemValue||"",disabled:m.disabled||!1})),t.optionsText=JSON.stringify(t.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),t._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.dictCache&&window.dictCache[a]){const h=window.dictCache[a];if(Array.isArray(h)&&h.length>0){t.options=h.map(m=>({label:m.dictLabel||m.label||m.name||m.text||"",value:m.dictValue||m.value||m.code||m.value||m.itemValue||"",disabled:m.disabled||!1})),t.optionsText=JSON.stringify(t.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),t._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.service){window.service.post("/unified-dict/sysItemDict/page",{current:1,size:1e4,dictType:a}).then(({data:h})=>{t._loadingDict=!1;const m=(h==null?void 0:h.records)||(h==null?void 0:h.data)||h||[];if(Array.isArray(m)&&m.length>0){const p=m.filter(d=>d.dictType===a);p.length>0?(t.options=p.map(d=>({label:d.dictLabel||d.label||d.name||d.text||"",value:d.dictValue||d.value||d.code||d.value||d.itemValue||"",disabled:d.disabled||!1})),t.optionsText=JSON.stringify(t.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u52A0\u8F7D\u9009\u9879\u6210\u529F"),this.designer.saveCurrentHistoryStep()):this.$message.warning(`\u672A\u627E\u5230\u5B57\u5178\u7C7B\u578B\u4E3A "${a}" \u7684\u6570\u636E`)}else this.$message.warning("\u5B57\u5178\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E")}).catch(h=>{t._loadingDict=!1,console.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25:",h),this.$message.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u5B57\u5178CODE\u662F\u5426\u6B63\u786E")});return}this.$message.warning("\u672A\u627E\u5230\u5B57\u5178\u7F13\u5B58\uFF0C\u8BF7\u786E\u4FDD\u5B57\u5178CODE\u6B63\u786E\u6216\u5B57\u5178\u5DF2\u52A0\u8F7D")}catch(e){console.error("\u52A0\u8F7D\u5B57\u5178\u6570\u636E\u5931\u8D25:",e),this.$message.error("\u52A0\u8F7D\u5B57\u5178\u6570\u636E\u5931\u8D25: "+e.message)}finally{t._loadingDict=!1}},editColumnEventHandler(t,a,e){this.currentColumn=t,this.currentEventName=a,this.eventHeader=`${t.label||t.prop}.${a}(${e.join(", ")}) {`,this.columnEventHandlerCode=t[a]||"",this.showColumnEventDialog=!0},saveColumnEventHandler(){if(!(!this.currentColumn||!this.currentEventName)){if(this.$refs.columnEventEditor){const t=this.$refs.columnEventEditor.getEditorAnnotations();let a=!1;if(t&&t.length>0&&(t.forEach(e=>{e.type==="error"&&(a=!0)}),a)){this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));return}}this.currentColumn[this.currentEventName]=this.columnEventHandlerCode,this.designer.saveCurrentHistoryStep(),this.showColumnEventDialog=!1,this.$message.success("\u4E8B\u4EF6\u4FDD\u5B58\u6210\u529F")}}}},_hoisted_1$8={class:"column-header"},_hoisted_2$6={class:"column-title"},_hoisted_3$5={class:"column-form"},_hoisted_4$4={class:"dialog-footer"};function _sfc_render$b(t,a,e,h,m,p){const d=vue.resolveComponent("el-divider"),f=vue.resolveComponent("el-form-item"),o=vue.resolveComponent("el-button"),u=vue.resolveComponent("el-input"),n=vue.resolveComponent("el-option"),s=vue.resolveComponent("el-select"),i=vue.resolveComponent("el-switch"),r=vue.resolveComponent("el-input-number"),l=vue.resolveComponent("el-alert"),c=vue.resolveComponent("code-editor"),g=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",null,[vue.createVNode(f,{"label-width":"0"},{default:vue.withCtx(()=>[vue.createVNode(d,{class:"custom-divider"},{default:vue.withCtx(()=>[...a[3]||(a[3]=[vue.createTextVNode("\u8868\u683C\u5217\u914D\u7F6E",-1)])]),_:1})]),_:1}),vue.createVNode(f,{"label-width":"0"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(v,b)=>(vue.openBlock(),vue.createElementBlock("div",{key:b,class:"column-item"},[vue.createElementVNode("div",_hoisted_1$8,[vue.createElementVNode("span",_hoisted_2$6,"\u5217 "+vue.toDisplayString(b+1),1),vue.createVNode(o,{circle:"",plain:"",size:"small",type:"danger",onClick:_=>p.deleteColumn(b),icon:"el-icon-minus",class:"column-delete-button"},null,8,["onClick"])]),vue.createElementVNode("div",_hoisted_3$5,[vue.createVNode(f,{label:"\u5217\u540D"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.label,"onUpdate:modelValue":_=>v.label=_,placeholder:"\u8BF7\u8F93\u5165\u5217\u540D",onInput:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(f,{label:"\u5B57\u6BB5\u540D"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.prop,"onUpdate:modelValue":_=>v.prop=_,placeholder:"\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D\uFF08\u82F1\u6587\uFF09",onInput:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(f,{label:"\u5217\u7C7B\u578B"},{default:vue.withCtx(()=>[vue.createVNode(s,{modelValue:v.type,"onUpdate:modelValue":_=>v.type=_,placeholder:"\u8BF7\u9009\u62E9\u5217\u7C7B\u578B",onChange:p.handleColumnChange,style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(n,{label:"\u6587\u672C\u8F93\u5165",value:"input"}),vue.createVNode(n,{label:"\u6570\u5B57\u8F93\u5165",value:"number"}),vue.createVNode(n,{label:"\u65E5\u671F\u9009\u62E9",value:"date"}),vue.createVNode(n,{label:"\u6708\u4EFD\u9009\u62E9",value:"month"}),vue.createVNode(n,{label:"\u65E5\u671F\u65F6\u95F4",value:"datetime"}),vue.createVNode(n,{label:"\u4E0B\u62C9\u9009\u62E9",value:"select"}),vue.createVNode(n,{label:"\u591A\u884C\u6587\u672C",value:"textarea"})]),_:1},8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),v.type==="select"?(vue.openBlock(),vue.createBlock(f,{key:0,label:"\u5B57\u5178CODE"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.dictCode,"onUpdate:modelValue":_=>v.dictCode=_,placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178CODE\uFF0C\u5C06\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879",onBlur:_=>p.loadDictOptionsForColumn(v),clearable:""},{append:vue.withCtx(()=>[vue.createVNode(o,{onClick:_=>p.loadDictOptionsForColumn(v),loading:v._loadingDict},{default:vue.withCtx(()=>[...a[4]||(a[4]=[vue.createTextVNode("\u52A0\u8F7D",-1)])]),_:1},8,["onClick","loading"])]),_:2},1032,["modelValue","onUpdate:modelValue","onBlur"]),a[5]||(a[5]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},' \u586B\u5199\u5B57\u5178CODE\u540E\uFF0C\u70B9\u51FB"\u52A0\u8F7D"\u6309\u94AE\u6216\u5931\u7126\u65F6\u81EA\u52A8\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879\u6570\u636E ',-1))]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(f,{label:"\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.width,"onUpdate:modelValue":_=>v.width=_,placeholder:"\u5982\uFF1A150\uFF08\u53EF\u9009\uFF09",onInput:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(f,{label:"\u6700\u5C0F\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.minWidth,"onUpdate:modelValue":_=>v.minWidth=_,placeholder:"\u5982\uFF1A100\uFF08\u53EF\u9009\uFF09",onInput:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(f,{label:"\u5360\u4F4D\u7B26"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.placeholder,"onUpdate:modelValue":_=>v.placeholder=_,placeholder:"\u8BF7\u8F93\u5165\u5360\u4F4D\u7B26\uFF08\u53EF\u9009\uFF09",onInput:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(f,{label:"\u662F\u5426\u5FC5\u586B"},{default:vue.withCtx(()=>[vue.createVNode(i,{modelValue:v.required,"onUpdate:modelValue":_=>v.required=_,onChange:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),vue.createVNode(f,{label:"\u6821\u9A8C\u89C4\u5219"},{default:vue.withCtx(()=>[vue.createVNode(s,{modelValue:v.validation,"onUpdate:modelValue":_=>v.validation=_,placeholder:"\u8BF7\u9009\u62E9\u6821\u9A8C\u89C4\u5219",filterable:"",clearable:"",style:{width:"100%"},onChange:_=>p.handleValidationChange(v)},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.fieldValidators,(_,x)=>(vue.openBlock(),vue.createBlock(n,{key:x,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),v.validation?(vue.openBlock(),vue.createBlock(f,{key:1,label:"\u6821\u9A8C\u5931\u8D25\u63D0\u793A"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.validationHint,"onUpdate:modelValue":_=>v.validationHint=_,placeholder:"\u53EF\u9009\uFF0C\u4E0D\u586B\u5219\u4F7F\u7528\u9ED8\u8BA4\u63D0\u793A",onInput:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024)):vue.createCommentVNode("",!0),v.type==="select"?(vue.openBlock(),vue.createBlock(f,{key:2,label:"\u9009\u9879\u6570\u636E"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.optionsText,"onUpdate:modelValue":_=>v.optionsText=_,type:"textarea",rows:3,placeholder:'\u683C\u5F0F\uFF1A[{"label":"\u9009\u98791","value":"value1"},{"label":"\u9009\u98792","value":"value2"}]',onInput:_=>p.handleSelectOptionsChange(v,_)},null,8,["modelValue","onUpdate:modelValue","onInput"]),a[6]||(a[6]=vue.createElementVNode("div",{class:"hint-text"},"\u8BF7\u8F93\u5165 JSON \u683C\u5F0F\u7684\u9009\u9879\u6570\u7EC4",-1))]),_:2},1024)):vue.createCommentVNode("",!0),v.type==="select"?(vue.openBlock(),vue.createBlock(f,{key:3,label:"onMounted\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(o,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:_=>p.editColumnEventHandler(v,"onMounted",["col","options","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),a[7]||(a[7]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},[vue.createTextVNode(" \u4E0B\u62C9\u9879\u6302\u8F7D\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1Acol\uFF08\u5217\u914D\u7F6E\u5BF9\u8C61\uFF09\u3001options\uFF08\u9009\u9879\u6570\u7EC4\uFF09\u3001setOptions\uFF08\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5\uFF09 "),vue.createElementVNode("br"),vue.createTextVNode("\u793A\u4F8B\uFF1AsetOptions([{label: '\u9009\u98791', value: '1'}, {label: '\u9009\u98792', value: '2'}]) ")],-1))]),_:2},1024)):vue.createCommentVNode("",!0),v.type==="select"?(vue.openBlock(),vue.createBlock(f,{key:4,label:"\u4F9D\u8D56\u5217\uFF08\u8054\u52A8\uFF09"},{default:vue.withCtx(()=>[vue.createVNode(s,{modelValue:v.dependOn,"onUpdate:modelValue":_=>v.dependOn=_,placeholder:"\u9009\u62E9\u4F9D\u8D56\u7684\u5217\uFF08\u5F53\u4F9D\u8D56\u5217\u53D8\u5316\u65F6\uFF0C\u6B64\u5217\u7684\u4E0B\u62C9\u9009\u9879\u4F1A\u66F4\u65B0\uFF09",clearable:"",filterable:"",style:{width:"100%"},onChange:p.handleColumnChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(_,x)=>(vue.openBlock(),vue.createBlock(n,{key:x,label:_.label||_.prop,value:_.prop,disabled:_.prop===v.prop},null,8,["label","value","disabled"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),a[8]||(a[8]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}}," \u9009\u62E9\u4F9D\u8D56\u7684\u5217\uFF0C\u5F53\u4F9D\u8D56\u5217\u7684\u503C\u53D8\u5316\u65F6\uFF0C\u4F1A\u89E6\u53D1\u6B64\u5217\u7684\u8054\u52A8\u4E8B\u4EF6\u66F4\u65B0\u4E0B\u62C9\u9009\u9879 ",-1))]),_:2},1024)):vue.createCommentVNode("",!0),v.type==="select"&&v.dependOn?(vue.openBlock(),vue.createBlock(f,{key:5,label:"\u8054\u52A8\u5904\u7406\u51FD\u6570"},{default:vue.withCtx(()=>[vue.createVNode(o,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:_=>p.editColumnEventHandler(v,"onDependChange",["targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),a[9]||(a[9]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},[vue.createTextVNode(" \u5F53\u4F9D\u8D56\u5217\u7684\u503C\u53D8\u5316\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1A "),vue.createElementVNode("br"),vue.createTextVNode("- targetCol\uFF1A\u5F53\u524D\u5217\u914D\u7F6E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- sourceCol\uFF1A\u4F9D\u8D56\u7684\u5217\u914D\u7F6E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- sourceValue\uFF1A\u4F9D\u8D56\u5217\u7684\u503C "),vue.createElementVNode("br"),vue.createTextVNode("- formData\uFF1A\u5F53\u524D\u8868\u5355\u6570\u636E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- currentOptions\uFF1A\u5F53\u524D\u9009\u9879\u6570\u7EC4 "),vue.createElementVNode("br"),vue.createTextVNode("- setOptions\uFF1A\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5 (newOptions, index) "),vue.createElementVNode("br"),vue.createTextVNode("- setValue\uFF1A\u8BBE\u7F6E\u76EE\u6807\u5217\u7684\u503C (value) "),vue.createElementVNode("br"),vue.createTextVNode("- getValue\uFF1A\u83B7\u53D6\u76EE\u6807\u5217\u7684\u5F53\u524D\u503C () "),vue.createElementVNode("br"),vue.createTextVNode("\u793A\u4F8B\uFF1A\u6839\u636E sourceValue \u52A8\u6001\u8BBE\u7F6E\u9009\u9879\u548C\u503C\uFF08\u53EA\u5F71\u54CD\u5F53\u524D\u7F16\u8F91\u884C\uFF09 "),vue.createElementVNode("br"),vue.createTextVNode("if (sourceValue === '1') { "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setOptions([{label: '\u9009\u9879A', value: 'a'}, {label: '\u9009\u9879B', value: 'b'}]); "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setValue('a'); // \u81EA\u52A8\u9009\u62E9\u7B2C\u4E00\u4E2A\u9009\u9879 "),vue.createElementVNode("br"),vue.createTextVNode("} else { "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setOptions([{label: '\u9009\u9879C', value: 'c'}, {label: '\u9009\u9879D', value: 'd'}]); "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setValue('c'); // \u81EA\u52A8\u9009\u62E9\u7B2C\u4E00\u4E2A\u9009\u9879 "),vue.createElementVNode("br"),vue.createTextVNode("} "),vue.createElementVNode("br"),vue.createElementVNode("strong",null,"\u6CE8\u610F\uFF1A"),vue.createTextVNode("setOptions \u53EA\u4F1A\u66F4\u65B0\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8FD9\u4E00\u884C\u7684\u4E0B\u62C9\u9009\u9879\uFF0C\u4E0D\u4F1A\u5F71\u54CD\u5176\u4ED6\u884C\u3002 "),vue.createElementVNode("br"),vue.createTextVNode("setValue \u53EF\u4EE5\u8BBE\u7F6E\u76EE\u6807\u5217\u7684\u503C\uFF0C\u5E38\u7528\u4E8E\u81EA\u52A8\u9009\u62E9\u9ED8\u8BA4\u9009\u9879\u3002 ")],-1))]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(f,{label:"onChange\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(o,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:_=>p.editColumnEventHandler(v,"onChange",["col","value","formData","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),a[10]||(a[10]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}}," \u5F53\u524D\u5217\u7684\u503C\u53D8\u5316\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1Acol\uFF08\u5217\u914D\u7F6E\u5BF9\u8C61\uFF09\u3001value\uFF08\u5F53\u524D\u503C\uFF09\u3001formData\uFF08\u8868\u5355\u6570\u636E\uFF09\u3001setOptions\uFF08\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5\uFF0C\u4EC5select\u7C7B\u578B\u53EF\u7528\uFF09 ",-1))]),_:2},1024),v.type==="textarea"?(vue.openBlock(),vue.createBlock(f,{key:6,label:"\u884C\u6570"},{default:vue.withCtx(()=>[vue.createVNode(r,{modelValue:v.rows,"onUpdate:modelValue":_=>v.rows=_,min:1,max:10,onChange:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)):vue.createCommentVNode("",!0)])]))),128)),vue.createElementVNode("div",null,[vue.createVNode(o,{link:"",type:"primary",onClick:p.addNewColumn},{default:vue.withCtx(()=>[...a[11]||(a[11]=[vue.createTextVNode("\u6DFB\u52A0\u5217",-1)])]),_:1},8,["onClick"])])]),_:1})]),vue.createVNode(g,{modelValue:m.showColumnEventDialog,"onUpdate:modelValue":a[2]||(a[2]=v=>m.showColumnEventDialog=v),title:`\u7F16\u8F91\u4E8B\u4EF6\uFF1A${m.currentEventName}`,width:"1000px","append-to-body":"","close-on-click-modal":!1},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$4,[vue.createVNode(o,{onClick:a[1]||(a[1]=v=>m.showColumnEventDialog=!1)},{default:vue.withCtx(()=>[...a[12]||(a[12]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(o,{type:"primary",onClick:p.saveColumnEventHandler},{default:vue.withCtx(()=>[...a[13]||(a[13]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(l,{type:"info",closable:!1,title:m.eventHeader,style:{"margin-bottom":"10px"}},null,8,["title"]),vue.createVNode(c,{mode:"javascript",readonly:!1,modelValue:m.columnEventHandlerCode,"onUpdate:modelValue":a[0]||(a[0]=v=>m.columnEventHandlerCode=v),ref:"columnEventEditor"},null,8,["modelValue"])]),_:1},8,["modelValue","title"])],64)}var SubTableColumnsEditor=_export_sfc$1(_sfc_main$b,[["render",_sfc_render$b],["__scopeId","data-v-2d1b4989"]]);const _sfc_main$a={name:"current-user-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[]}},computed:{displayModel(){return this.currentUserType==="username"?this.fieldModel?this.fieldModel.username:"":this.currentUserType==="deptName"?this.fieldModel?this.fieldModel.deptName:"":this.currentUserType==="companyName"?this.fieldModel?this.fieldModel.companyName:"":JSON.stringify(this.fieldModel)},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}},currentUserType(){var t;return((t=this.field.options)==null?void 0:t.type)||"username"}},methods:{hasExistingValue(){var a;const t=(a=this.fieldModel)!=null?a:this.oldFieldValue;return t!=null&&t!==""},async getCurrentUser(){const{data:t}=await service$1({method:"get",url:"unified-system/employee/loginInfo?accessType=0"});this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue)}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},"field.options.type":{handler(t,a){a!==void 0&&this.getCurrentUser()},immediate:!1}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.hasExistingValue()||this.getCurrentUser()}};function _sfc_render$a(t,a,e,h,m,p){const d=vue.resolveComponent("el-input"),f=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(f,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(d,{modelValue:p.displayModel,"onUpdate:modelValue":a[0]||(a[0]=o=>p.displayModel=o),disabled:!0},null,8,["modelValue"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CurrentUserWidget=_export_sfc$1(_sfc_main$a,[["render",_sfc_render$a]]),assetDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$9={name:"asset-dialog",props:{dialogVisible:{type:Boolean,default:!1},fieldValue:{type:Array,default:()=>[]},assetTypeValue:{type:String,default:""},limit:{type:Number,default:0}},watch:{dialogVisible:{handler(t){this.visible=t,t&&(this.getTableData(),this.selectedRows=this.fieldValue&&Array.isArray(this.fieldValue)?lodash.exports.cloneDeep(this.fieldValue):[])}},assetTypeValue:{handler(t){this.disabled=!!t,t?this.form.assetType=t:this.form.assetType="all"},immediate:!0}},computed:{filterList(){const t=this.searchValue.toLocaleLowerCase();return this.selectedRows.filter(a=>a.labelName.toLocaleLowerCase().includes(t)||a.assetCode.toLocaleLowerCase().includes(t))}},data(){return{tableData:[],selectedRows:[],visible:!1,pageSize:10,currentPage:1,assetTypeOptions:[],form:{assetCode:"",assetType:"all",assetOwnerUnit:"",labelName:""},disabled:!1,total:0,searchValue:"",_prevTableSelectionIds:[],_handlingSelectionChange:!1}},methods:{formatAmount,handleClose(){this.form={assetCode:"",assetType:this.assetTypeValue||"all",assetOwnerUnit:"",labelName:""},this.searchValue="",this.$emit("close")},handleConfirm(){this.form={assetCode:"",assetType:"all",assetOwnerUnit:"",labelName:""},this.$emit("confirm",this.selectedRows)},handleSelectionChange(t){if(this._handlingSelectionChange)return;const a=this.$refs.tableRef,e=Array.isArray(t)?t:[],h=e.map(m=>m.assetId);if(this.limit>0&&h.length>this.limit){const p=(Array.isArray(this._prevTableSelectionIds)?this._prevTableSelectionIds:[]).slice(0,this.limit);a&&typeof a.clearSelection=="function"&&typeof a.toggleRowSelection=="function"&&(this._handlingSelectionChange=!0,a.clearSelection(),e.forEach(d=>{p.includes(d.assetId)&&a.toggleRowSelection(d,!0)}),this._handlingSelectionChange=!1),this._prevTableSelectionIds=p;return}this._prevTableSelectionIds=h},getTableData(){service$1({method:"post",url:"/asset-business/overview/pageList",data:gt(je({size:this.pageSize,current:this.currentPage,reqType:"disposal"},this.form),{assetType:this.form.assetType==="all"?"":this.form.assetType,systemStatusList:["2"]})}).then(({data:t})=>{const{records:a,total:e,current:h}=t;this.tableData=a.map(m=>{const o=m,{id:p}=o,d=zl(o,["id"]);return gt(je({},d),{assetId:p})}),this.total=e,this.currentPage=h})},handleSizeChange(t){this.pageSize=t,this.getTableData()},handleCurrentChange(t){this.currentPage=t,this.getTableData()},handleAdd(){const t=this.$refs.tableRef,a=t&&typeof t.getSelectionRows=="function"?t.getSelectionRows():[];if(!a||a.length===0){this.$message.error("\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u8D44\u4EA7");return}const e=[...this.selectedRows,...a].reduce((h,m)=>(h.some(p=>p.assetId===m.assetId)||h.push(m),h),[]);if(this.limit&&e.length>this.limit){this.$message.error(`\u6700\u591A\u9009\u62E9 ${this.limit} \u4E2A\u8D44\u4EA7`);return}this.selectedRows=e},handleRemove(t){const a=this.selectedRows.findIndex(e=>e.assetId===t);a!==-1&&this.selectedRows.splice(a,1)},handleGetAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:t}})=>{this.assetTypeOptions=t.map(a=>({label:a.label,value:a.itemValue})),this.assetTypeOptions.unshift({label:"\u5168\u90E8",value:"all"})})},handleSearch(){this.currentPage=1,this.getTableData()}},created(){this.getTableData(),this.handleGetAssetTypeOptions()}},_hoisted_1$7={class:"asset-body-wrap"},_hoisted_2$5={class:"bottom-wrap"},_hoisted_3$4={class:"left-wrap"},_hoisted_4$3={class:"filter-wrap"},_hoisted_5$3={class:"right-wrap"},_hoisted_6$3={class:"asset-wrap-title"},_hoisted_7$3={class:"asset-wrap"},_hoisted_8$1={class:"asset-item-left"},_hoisted_9$1={class:"asset-item-right"},_hoisted_10={class:"dialog-footer"};function _sfc_render$9(t,a,e,h,m,p){const d=vue.resolveComponent("el-input"),f=vue.resolveComponent("el-form-item"),o=vue.resolveComponent("el-col"),u=vue.resolveComponent("el-option"),n=vue.resolveComponent("el-select"),s=vue.resolveComponent("el-button"),i=vue.resolveComponent("el-row"),r=vue.resolveComponent("el-form"),l=vue.resolveComponent("el-table-column"),c=vue.resolveComponent("el-table"),g=vue.resolveComponent("el-pagination"),v=vue.resolveComponent("DArrowRight"),b=vue.resolveComponent("el-icon"),_=vue.resolveComponent("Search"),x=vue.resolveComponent("Close"),w=vue.resolveComponent("el-scrollbar"),C=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(C,{modelValue:m.visible,"onUpdate:modelValue":a[6]||(a[6]=M=>m.visible=M),title:"\u8D44\u4EA7\u9009\u62E9",width:"1418px",onClose:p.handleClose,"body-class":"asset-list-dialog-body","close-on-click-modal":!1,draggable:"","header-class":"asset-list-dialog-header"},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_10,[vue.createVNode(s,{onClick:p.handleClose,size:"default"},{default:vue.withCtx(()=>[...a[12]||(a[12]=[vue.createTextVNode(" \u53D6\u6D88 ",-1)])]),_:1},8,["onClick"]),vue.createVNode(s,{type:"primary",onClick:p.handleConfirm,size:"default"},{default:vue.withCtx(()=>[...a[13]||(a[13]=[vue.createTextVNode(" \u786E\u5B9A ",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$7,[vue.createElementVNode("div",_hoisted_2$5,[vue.createElementVNode("div",_hoisted_3$4,[vue.createElementVNode("div",_hoisted_4$3,[vue.createVNode(r,{model:m.form,ref:"formRef"},{default:vue.withCtx(()=>[vue.createVNode(i,{gutter:12},{default:vue.withCtx(()=>[vue.createVNode(o,{span:5},{default:vue.withCtx(()=>[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(d,{maxlength:"50",modelValue:m.form.assetCode,"onUpdate:modelValue":a[0]||(a[0]=M=>m.form.assetCode=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...a[7]||(a[7]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u7F16\u7801\uFF1A",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(o,{span:6},{default:vue.withCtx(()=>[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(d,{maxlength:"50",modelValue:m.form.labelName,"onUpdate:modelValue":a[1]||(a[1]=M=>m.form.labelName=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...a[8]||(a[8]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u540D\u79F0\uFF1A",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(o,{span:5},{default:vue.withCtx(()=>[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(n,{disabled:m.disabled,modelValue:m.form.assetType,"onUpdate:modelValue":a[2]||(a[2]=M=>m.form.assetType=M),placeholder:"\u8BF7\u9009\u62E9",clearable:""},{prefix:vue.withCtx(()=>[...a[9]||(a[9]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u7C7B\u578B\uFF1A",-1)])]),default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.assetTypeOptions,M=>(vue.openBlock(),vue.createBlock(u,{key:M.value,label:M.label,value:M.value},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})]),_:1}),vue.createVNode(o,{span:6},{default:vue.withCtx(()=>[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(d,{maxlength:"50",modelValue:m.form.assetOwnerUnit,"onUpdate:modelValue":a[3]||(a[3]=M=>m.form.assetOwnerUnit=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...a[10]||(a[10]=[vue.createElementVNode("span",null,"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D\uFF1A",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(o,{span:2},{default:vue.withCtx(()=>[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(s,{type:"primary",onClick:p.handleSearch},{default:vue.withCtx(()=>[...a[11]||(a[11]=[vue.createTextVNode("\u641C\u7D22",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),vue.createVNode(c,{data:m.tableData,height:"500px",style:{width:"100%"},"check-strictly":"","row-key":"assetId",ref:"tableRef","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:""},{default:vue.withCtx(()=>[vue.createVNode(l,{type:"selection",width:"55"}),vue.createVNode(l,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801",width:"200"}),vue.createVNode(l,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0"}),vue.createVNode(l,{prop:"assetTypeName","header-align":"center",align:"center",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(l,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(l,{prop:"originalValue",label:"\u539F\u503C(\u4E07\u5143)",width:"120"},{default:vue.withCtx(({row:M})=>[vue.createTextVNode(vue.toDisplayString(M.originalValue),1)]),_:1}),vue.createVNode(l,{prop:"netValue",label:"\u51C0\u503C(\u4E07\u5143)",width:"120"},{default:vue.withCtx(({row:M})=>[vue.createTextVNode(vue.toDisplayString(M.netValue),1)]),_:1})]),_:1},8,["data"]),vue.createVNode(g,{onSizeChange:p.handleSizeChange,onCurrentChange:p.handleCurrentChange,"current-page":m.currentPage,layout:"total, sizes, prev, pager, next",size:"small",total:m.total},null,8,["onSizeChange","onCurrentChange","current-page","total"])]),vue.createElementVNode("div",{class:"center-wrap",onClick:a[4]||(a[4]=(...M)=>p.handleAdd&&p.handleAdd(...M))},[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(v)]),_:1})]),vue.createElementVNode("div",_hoisted_5$3,[vue.createElementVNode("div",_hoisted_6$3,[vue.createVNode(d,{modelValue:m.searchValue,"onUpdate:modelValue":a[5]||(a[5]=M=>m.searchValue=M),placeholder:"\u8BF7\u8F93\u5165\u8D44\u4EA7\u540D\u79F0\u6216\u8D44\u4EA7\u7F16\u7801\u641C\u7D22",clearable:""},{prefix:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(_)]),_:1})]),_:1},8,["modelValue"])]),vue.createVNode(w,{class:"asset-wrap-scroll"},{default:vue.withCtx(()=>[vue.createElementVNode("ul",_hoisted_7$3,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(p.filterList,M=>(vue.openBlock(),vue.createElementBlock("li",{class:"asset-item",key:M.assetId},[vue.createElementVNode("div",_hoisted_8$1,[vue.createElementVNode("div",null,vue.toDisplayString(M.labelName),1),vue.createElementVNode("div",null,vue.toDisplayString(M.assetCode),1)]),vue.createElementVNode("div",_hoisted_9$1,[vue.createVNode(b,{onClick:D=>p.handleRemove(M.assetId)},{default:vue.withCtx(()=>[vue.createVNode(x)]),_:1},8,["onClick"])])]))),128))])]),_:1})])])])]),_:1},8,["modelValue","onClose"])}var AssetDialog=_export_sfc$1(_sfc_main$9,[["render",_sfc_render$9],["__scopeId","data-v-5cca3952"]]),index_vue_vue_type_style_index_0_lang$3="";const _sfc_main$8={name:"asset-select-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,AssetDialog},data(){return{dialogVisible:!1,fieldModel:null,oldFieldValue:null,rules:[],tableData:[]}},computed:{displayModel:{get(){return this.fieldModel!=null?this.fieldModel:[]},set(t){this.fieldModel=t}},widgetStyle(){return{width:"100%"}}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{updateFieldLabel(t,a){var o;if(!t)return!1;const e=a==null?"":String(a),h=this.getWidgetRef(t,!1);if((o=h==null?void 0:h.field)==null?void 0:o.options){h.field.options.label=e;const u=this.getFormRef();return u&&typeof u.$forceUpdate=="function"&&u.$forceUpdate(),!0}const m=this.getFormRef();if(!m||typeof m.getFormJson!="function"||typeof m.setFormJson!="function")return!1;const p=m.getFormJson();let d=!1;const f=u=>{!Array.isArray(u)||u.forEach(n=>{var s;if(!d){if(((s=n==null?void 0:n.options)==null?void 0:s.name)===t){n.options.label=e,d=!0;return}Array.isArray(n==null?void 0:n.widgetList)&&f(n.widgetList),Array.isArray(n==null?void 0:n.cols)&&n.cols.forEach(i=>f(i==null?void 0:i.widgetList)),Array.isArray(n==null?void 0:n.rows)&&n.rows.forEach(i=>Array.isArray(i==null?void 0:i.cols)&&i.cols.forEach(r=>f(r==null?void 0:r.widgetList))),Array.isArray(n==null?void 0:n.tabs)&&n.tabs.forEach(i=>f(i==null?void 0:i.widgetList))}})};return f(p==null?void 0:p.widgetList),d?(m.setFormJson(p),!0):!1},handleClick(){this.dialogVisible=!0},handleConfirm(t){this.dialogVisible=!1,this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null,this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",t),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},handleCancel(){this.triggerEvent("onCancel"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(t,...a){var h,m;const e=(m=(h=this.field)==null?void 0:h.options)==null?void 0:m[t];if(e)try{if(t==="onConfirm"&&a.length>0){const p=a[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,p,p,p)}else if(t==="onRemoveTag"&&a.length>=2){const p=a[0],d=a[1],f=a[2];new Function("removedItem","remainingNodes","remainingValue","selectedValue","removedIndex",e).call(this,p,d,d,d,f)}else if(a.length>0){const p=a.map((f,o)=>`arg${o}`).join(", ");new Function(p,e).apply(this,a)}else new Function(e).call(this)}catch(p){console.error(`Error executing ${t} handler:`,p),console.error("Handler code:",e),console.error("Args:",a)}},handleSearch(){this.$nextTick(()=>{this.applyTreeFilter()})}}},_hoisted_1$6={class:"asset-select-widget__trigger"};function _sfc_render$8(t,a,e,h,m,p){const d=vue.resolveComponent("el-button"),f=vue.resolveComponent("asset-dialog"),o=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(o,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-select-widget",style:vue.normalizeStyle(p.widgetStyle)},[vue.createElementVNode("div",_hoisted_1$6,[vue.createVNode(d,{type:"primary",class:"asset-select-widget__button",plain:"",disabled:e.field.options.disabled,placeholder:"\u8BF7\u9009\u62E9\u8D44\u4EA7",onClick:p.handleClick,ref:"inputTagRef"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.buttonText||"\u9009\u62E9\u8D44\u4EA7"),1)]),_:1},8,["disabled","onClick"])]),vue.createVNode(f,{"dialog-visible":m.dialogVisible,onClose:p.handleClose,onConfirm:p.handleConfirm,onCancel:p.handleCancel,limit:e.field.options.assetLimit,fieldValue:m.fieldModel,assetTypeValue:e.field.options.assetTypeValue},null,8,["dialog-visible","onClose","onConfirm","onCancel","limit","fieldValue","assetTypeValue"])],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AssetSelectWidget=_export_sfc$1(_sfc_main$8,[["render",_sfc_render$8]]),detailDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$7={name:"detail-dialog",components:{VFormRender},props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})},typeJson:{type:[String,Object],default:()=>({})},disabled:{type:Boolean,default:!1}},data(){return{formData:{},formJson:null,defaultFormJson:{widgetList:[],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}},showForm:!1,pendingColHiddenOps:[]}},computed:{dialogVisible:{get(){return this.visible},set(t){t||this.handleClose()}},currentRowData(){return this.data&&typeof this.data=="object"?this.data:{}},renderFormJson(){return this.formJson||this.defaultFormJson}},watch:{visible:{immediate:!0,handler(t){t?this.initFormData():this.formData={}}},disabled:{immediate:!0,handler(){this.$nextTick(()=>{this.syncFormDisabledStatus()})}}},methods:{resolveTypeJsonMap(){const t=this.typeJson;if(t==null||t==="")return{};if(typeof t=="string")try{return JSON.parse(t)}catch{return{}}return typeof t=="object"?t:{}},syncFormDisabledStatus(){const t=this.$refs.detailFormRender;!t||this.disabled&&typeof t.disableForm=="function"&&t.disableForm()},applyFormJsonToRender(t){this.formJson=t&&t.widgetList&&t.formConfig?t:lodash.exports.cloneDeep(this.defaultFormJson),this.$nextTick(()=>{const a=this.$refs.detailFormRender;a&&typeof a.setFormJson=="function"&&(a.setFormJson(lodash.exports.cloneDeep(this.formJson)),this.$nextTick(()=>{this.flushPendingColHiddenOps(),this.syncFormDisabledStatus()}))})},setColHidden(t,a){const e=Array.isArray(t)?t:[t];this.pendingColHiddenOps.push({names:e,hidden:a})},flushPendingColHiddenOps(){if(!this.pendingColHiddenOps.length)return;const t=this.$refs.detailFormRender;!t||typeof t.setColHidden!="function"||(this.pendingColHiddenOps.forEach(({names:a,hidden:e})=>{a.forEach(h=>t.setColHidden(h,e))}),this.pendingColHiddenOps=[])},initFormData(){this.showForm=!1,this.formData=lodash.exports.cloneDeep(this.currentRowData)||{};const t=this.typeJson;if(!t){this.$message.error("\u672A\u627E\u5230\u8D44\u4EA7\u7C7B\u578B\u5BF9\u5E94\u7684\u8868\u5355\u914D\u7F6E"),this.dialogVisible=!1;return}service$1({method:"get",url:`/workflow-engine/businessFlowConfig/detailByCode/${t}`}).then(({data:a})=>{if(!(a==null?void 0:a.formJson)){this.applyFormJsonToRender(null);return}let e;try{e=typeof a.formJson=="string"?JSON.parse(a.formJson):a.formJson,this.showForm=!0}catch(h){console.error(h),e=null}this.applyFormJsonToRender(e),this.showForm=!0}).catch(a=>{console.error(a),this.applyFormJsonToRender(null)})},async handleConfirm(){const t=this.$refs.detailFormRender;if(!!t)try{const a=await t.getFormData(!0);console.log(a,"formValues"),this.$emit("confirm",a),this.dialogVisible=!1}catch(a){this.$message.error(a),console.error(a)}},handleClose(){this.formData={},this.pendingColHiddenOps=[],this.formJson={widgetList:[],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}},this.$emit("close")}}},_hoisted_1$5={class:"asset-body-wrap"},_hoisted_2$4={key:0},_hoisted_3$3={class:"dialog-footer"};function _sfc_render$7(t,a,e,h,m,p){const d=vue.resolveComponent("v-form-render"),f=vue.resolveComponent("el-button"),o=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(o,{modelValue:p.dialogVisible,"onUpdate:modelValue":a[0]||(a[0]=u=>p.dialogVisible=u),title:"\u5904\u7F6E\u8BE6\u60C5",width:"1200px",onClose:p.handleClose,"close-on-click-modal":!1,draggable:""},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$3,[vue.createVNode(f,{onClick:p.handleClose},{default:vue.withCtx(()=>[...a[1]||(a[1]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1},8,["onClick"]),e.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(f,{key:0,type:"primary",onClick:p.handleConfirm},{default:vue.withCtx(()=>[...a[2]||(a[2]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"]))])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$5,[m.showForm?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$4,[vue.createVNode(d,{ref:"detailFormRender","form-json":p.renderFormJson,"form-data":m.formData},null,8,["form-json","form-data"])])):vue.createCommentVNode("",!0)])]),_:1},8,["modelValue","onClose"])}var DetailDialog=_export_sfc$1(_sfc_main$7,[["render",_sfc_render$7],["__scopeId","data-v-3a7f7afa"]]),index_vue_vue_type_style_index_0_lang$2="";const _sfc_main$6={name:"asset-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DetailDialog},data(){return{fieldModel:null,oldFieldValue:null,rules:[],detailDialogVisible:!1,detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{formatAmount,handleShowIsUpdate(){return!(this.field.options.disabled||!this.field.options.clickRow)},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(t){const a=this.fieldModel.findIndex(e=>e.assetId===t.assetId);a!==-1&&(this.fieldModel[a]=je(je({},this.fieldModel[a]),t))},triggerEvent(t,...a){var h,m;const e=(m=(h=this.field)==null?void 0:h.options)==null?void 0:m[t];if(e)try{if(t==="onOpen"&&a.length>0){const p=a[0];new Function("rowData",e).call(this,p)}else if(t==="onChange"){const p=a[0],d=a[1];if(this.subFormItemFlag){const f=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,p,d,f,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,p,d)}else if(a.length>0){const p=a.map((f,o)=>`arg${o}`).join(", ");new Function(p,e).apply(this,a)}else new Function(e).call(this)}catch(p){console.error(`Error executing ${t} handler:`,p),console.error("Handler code:",e),console.error("Args:",a)}},handleRow(t){const a=this.fieldModel.findIndex(e=>e.assetId===t.assetId);a!==-1&&(this.triggerEvent("onOpen",this.fieldModel[a]),this.detailDialogVisible=!0,this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[a]))},setDetailColHidden(t,a){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,a)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(t){const a=this.fieldModel.findIndex(h=>h.assetId===this.detailDialogData.assetId);if(a===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[a]=gt(je(je({},this.fieldModel[a]),t),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$4={key:1};function _sfc_render$6(t,a,e,h,m,p){const d=vue.resolveComponent("el-table-column"),f=vue.resolveComponent("el-text"),o=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),n=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(o,{data:m.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"",style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(d,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801"}),vue.createVNode(d,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0",align:"left"},{default:vue.withCtx(({row:s})=>[e.field.options.clickRow?(vue.openBlock(),vue.createBlock(f,{key:0,class:"click-text",type:"primary",onClick:i=>p.handleRow(s)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.labelName),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$4,vue.toDisplayString(s.labelName),1))]),_:1}),vue.createVNode(d,{prop:"assetTypeName",align:"center",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(d,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(d,{prop:"originalValue",label:"\u539F\u503C(\u4E07\u5143)"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.originalValue),1)]),_:1}),vue.createVNode(d,{prop:"netValue",label:"\u51C0\u503C(\u4E07\u5143)"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.netValue),1)]),_:1}),p.handleShowIsUpdate()?(vue.openBlock(),vue.createBlock(d,{key:0,prop:"isUpdate",align:"center","header-align":"center",label:"\u662F\u5426\u5DF2\u5B8C\u6210\u586B\u5199"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.isUpdate?"\u662F":"\u5426"),1)]),_:1})):vue.createCommentVNode("",!0)]),_:1},8,["data"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:m.detailDialogVisible,typeJson:e.field.options.typeJson,data:m.detailDialogData,onClose:p.handleCloseDetailDialog,onConfirm:p.handleConfirm,disabled:e.field.options.disabled},null,8,["visible","typeJson","data","onClose","onConfirm","disabled"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AssetTableWidget=_export_sfc$1(_sfc_main$6,[["render",_sfc_render$6]]),index_vue_vue_type_style_index_0_scoped_true_lang$1="";const _sfc_main$5={name:"resolution-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:[{companyName:"\u516C\u53F81",fileName:"1111.png"},{companyName:"\u516C\u53F81"},{companyName:"\u516C\u53F81"},{companyName:"\u516C\u53F82"}],oldFieldValue:null,rules:[],detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{tableRowClassName({row:t}){return t.fileName?"":"no-attachment-row"},getFileIcon(t){const a=t==null?void 0:t.substring((t==null?void 0:t.lastIndexOf("."))+1).toLowerCase();return a?new URL({"../../assets/image/fileType/7z.png":__glob_6_0,"../../assets/image/fileType/bmp.png":__glob_6_1,"../../assets/image/fileType/default.png":__glob_6_2,"../../assets/image/fileType/doc.png":__glob_6_3,"../../assets/image/fileType/docx.png":__glob_6_4,"../../assets/image/fileType/dot.png":__glob_6_5,"../../assets/image/fileType/et.png":__glob_6_6,"../../assets/image/fileType/ett.png":__glob_6_7,"../../assets/image/fileType/jpeg.png":__glob_6_8,"../../assets/image/fileType/jpg.png":__glob_6_9,"../../assets/image/fileType/mp3.png":__glob_6_10,"../../assets/image/fileType/mp4.png":__glob_6_11,"../../assets/image/fileType/ofd.png":__glob_6_12,"../../assets/image/fileType/pdf.png":__glob_6_13,"../../assets/image/fileType/png.png":__glob_6_14,"../../assets/image/fileType/ppt.png":__glob_6_15,"../../assets/image/fileType/pptx.png":__glob_6_16,"../../assets/image/fileType/rar.png":__glob_6_17,"../../assets/image/fileType/tar.png":__glob_6_18,"../../assets/image/fileType/txt.png":__glob_6_19,"../../assets/image/fileType/wav.png":__glob_6_20,"../../assets/image/fileType/wps.png":__glob_6_21,"../../assets/image/fileType/wpt.png":__glob_6_22,"../../assets/image/fileType/xls.png":__glob_6_23,"../../assets/image/fileType/xlsx.png":__glob_6_24,"../../assets/image/fileType/xlt.png":__glob_6_25,"../../assets/image/fileType/zip.png":__glob_6_26}[`../../assets/image/fileType/${a}.png`],self.location):__glob_6_2},isZip(t){const a=t==null?void 0:t.substring((t==null?void 0:t.lastIndexOf("."))+1).toLowerCase();return a==="zip"||a==="rar"||a==="7z"||a==="tar"},async handlePreview(t){console.log(t,"file");try{const{response:a,fileId:e}=t;if(a){const{data:h}=a;if(!h.fileId)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:m}=await service({method:"get",url:"unified-file/sys-file/kkfile-url",params:{fileId:h.fileId}});window.open(m)}else{if(!e)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:h}=await service({method:"get",url:"unified-file/sys-file/kkfile-url",params:{fileId:e}});window.open(h)}}catch(a){console.error(a)}},async handleDownload(t){const{response:a,fileId:e,fileName:h,name:m}=t;if(a){const{data:p}=a;if(!p.fileId)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:d}=await service({method:"post",url:"unified-file/sys-file/download",params:{fileId:p.fileId},responseType:"blob"});downloadMethod(d,p.fileName)}else{if(!e)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:p}=await service({method:"post",url:"unified-file/sys-file/download",params:{fileId:e},responseType:"blob"});downloadMethod(p,m||h)}},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(t,...a){var h,m;const e=(m=(h=this.field)==null?void 0:h.options)==null?void 0:m[t];if(e)try{if(t==="onOpen"&&a.length>0){const p=a[0];new Function("rowData",e).call(this,p)}else if(t==="onChange"){const p=a[0],d=a[1];if(this.subFormItemFlag){const f=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,p,d,f,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,p,d)}else if(a.length>0){const p=a.map((f,o)=>`arg${o}`).join(", ");new Function(p,e).apply(this,a)}else new Function(e).call(this)}catch(p){console.error(`Error executing ${t} handler:`,p),console.error("Handler code:",e),console.error("Args:",a)}},setDetailColHidden(t,a){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,a)})}}},_hoisted_1$3={class:"upload-file-list"},_hoisted_2$3={class:"left-wrap"},_hoisted_3$2=["src"],_hoisted_4$2=["title"],_hoisted_5$2={class:"right-wrap"},_hoisted_6$2=["onClick"],_hoisted_7$2=["onClick"];function _sfc_render$5(t,a,e,h,m,p){const d=vue.resolveComponent("el-table-column"),f=vue.resolveComponent("el-table"),o=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(o,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"resolution-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(f,{data:m.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"",style:{width:"100%"},"row-key":"id",ref:"tableRef","row-class-name":p.tableRowClassName},{default:vue.withCtx(()=>[vue.createVNode(d,{prop:"companyName",label:"\u516C\u53F8\u540D\u79F0"}),vue.createVNode(d,{prop:"label2",label:"\u9644\u4EF6",align:"left"},{default:vue.withCtx(({row:u})=>[vue.createElementVNode("div",_hoisted_1$3,[vue.createElementVNode("div",_hoisted_2$3,[vue.createElementVNode("img",{src:p.getFileIcon(u.fileName),alt:"",style:{width:"18px",height:"18px","margin-right":"8px"}},null,8,_hoisted_3$2),vue.createElementVNode("div",{class:"upload-file-name",title:u.fileName},vue.toDisplayString(u.fileName),9,_hoisted_4$2)]),vue.createElementVNode("div",_hoisted_5$2,[p.isZip(u.fileName)?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",{key:0,onClick:vue.withModifiers(n=>p.handlePreview(u),["stop"]),class:"pr-8px color-primary cursor-pointer file-action-right"}," \u9884\u89C8 ",8,_hoisted_6$2)),vue.createElementVNode("div",{onClick:vue.withModifiers(n=>p.handleDownload(u),["stop"]),class:"pr-8px color-primary cursor-pointer file-action-right"}," \u4E0B\u8F7D ",8,_hoisted_7$2)])])]),_:1})]),_:1},8,["data","row-class-name"])],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var ResolutionTableWidget=_export_sfc$1(_sfc_main$5,[["render",_sfc_render$5],["__scopeId","data-v-4448f07d"]]),index_vue_vue_type_style_index_0_lang$1="";const _sfc_main$4={name:"fixed-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DetailDialog},data(){return{fieldModel:[{enterpriseName:"\u516C\u53F81",enterpriseProjectCount:"100",projectName:"\u9879\u76EEA",projectStage:"\u9636\u6BB51",totalPlannedInvestment:"500",completedInvestment:"200",currentYearPlannedInvestment:"100",enterpriseTotalPlannedInvestment:"300",remark:"\u5907\u6CE81"},{enterpriseName:"\u516C\u53F81",enterpriseProjectCount:"200",projectName:"\u9879\u76EEB",projectStage:"\u9636\u6BB52",totalPlannedInvestment:"800",completedInvestment:"300",currentYearPlannedInvestment:"150",enterpriseTotalPlannedInvestment:"450",remark:"\u5907\u6CE82"},{enterpriseName:"\u516C\u53F81",enterpriseProjectCount:"150",projectName:"\u9879\u76EEC",projectStage:"\u9636\u6BB53",totalPlannedInvestment:"600",completedInvestment:"250",currentYearPlannedInvestment:"120",enterpriseTotalPlannedInvestment:"380",remark:"\u5907\u6CE83"},{enterpriseName:"\u516C\u53F82",enterpriseProjectCount:"300",projectName:"\u9879\u76EED",projectStage:"\u9636\u6BB51",totalPlannedInvestment:"1000",completedInvestment:"400",currentYearPlannedInvestment:"200",enterpriseTotalPlannedInvestment:"600",remark:"\u5907\u6CE84"}],oldFieldValue:null,rules:[],detailDialogVisible:!1,detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{objectSpanMethod({row:t,column:a,rowIndex:e,columnIndex:h}){if(["enterpriseName","enterpriseProjectCount","enterpriseTotalPlannedInvestment"].includes(a.property)){const p=this.getSameCompanyRows(e);if(p.length>1)return e===p[0]?{rowspan:p.length,colspan:1}:{rowspan:0,colspan:0}}return{rowspan:1,colspan:1}},getSameCompanyRows(t){const a=this.fieldModel[t].enterpriseName,e=[t];for(let h=t-1;h>=0&&this.fieldModel[h].enterpriseName===a;h--)e.unshift(h);for(let h=t+1;h<this.fieldModel.length&&this.fieldModel[h].enterpriseName===a;h++)e.push(h);return e},formatAmount,handleShowIsUpdate(){return!(this.field.options.disabled||!this.field.options.clickRow)},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(t){const a=this.fieldModel.findIndex(e=>e.assetId===t.assetId);a!==-1&&(this.fieldModel[a]=je(je({},this.fieldModel[a]),t))},triggerEvent(t,...a){var h,m;const e=(m=(h=this.field)==null?void 0:h.options)==null?void 0:m[t];if(e)try{if(t==="onOpen"&&a.length>0){const p=a[0];new Function("rowData",e).call(this,p)}else if(t==="onChange"){const p=a[0],d=a[1];if(this.subFormItemFlag){const f=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,p,d,f,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,p,d)}else if(a.length>0){const p=a.map((f,o)=>`arg${o}`).join(", ");new Function(p,e).apply(this,a)}else new Function(e).call(this)}catch(p){console.error(`Error executing ${t} handler:`,p),console.error("Handler code:",e),console.error("Args:",a)}},handleRow(t){const a=this.fieldModel.findIndex(e=>e.assetId===t.assetId);a!==-1&&(this.triggerEvent("onOpen",this.fieldModel[a]),this.detailDialogVisible=!0,this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[a]))},setDetailColHidden(t,a){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,a)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(t){const a=this.fieldModel.findIndex(h=>h.assetId===this.detailDialogData.assetId);if(a===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[a]=gt(je(je({},this.fieldModel[a]),t),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$2={key:1},_hoisted_2$2={class:"funds"},_hoisted_3$1={class:"funds-source"},_hoisted_4$1={class:"funds"},_hoisted_5$1={class:"funds-source"},_hoisted_6$1={class:"funds"},_hoisted_7$1={class:"funds-source"};function _sfc_render$4(t,a,e,h,m,p){const d=vue.resolveComponent("el-table-column"),f=vue.resolveComponent("el-text"),o=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),n=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"fixed-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(o,{data:m.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"","span-method":p.objectSpanMethod,style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(d,{prop:"enterpriseName",label:"\u516C\u53F8\u540D\u79F0",width:"150"}),vue.createVNode(d,{prop:"enterpriseProjectCount",label:"\u6570\u91CF",align:"left",width:"60"}),vue.createVNode(d,{prop:"projectName",align:"center",label:"\u9879\u76EE\u540D\u79F0",width:"200"},{default:vue.withCtx(({row:s})=>{var i,r;return[((r=(i=e.field)==null?void 0:i.options)==null?void 0:r.clickRow)?(vue.openBlock(),vue.createBlock(f,{key:0,class:"click-text",type:"primary",onClick:l=>p.handleRow(s)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.projectName),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$2,vue.toDisplayString(s.projectName),1))]}),_:1}),vue.createVNode(d,{prop:"projectStage",label:"\u9879\u76EE\u9636\u6BB5",width:"90"}),vue.createVNode(d,{prop:"totalPlannedInvestment",label:"\u9879\u76EE\u603B\u6295\u8D44(\u4E07\u5143)",width:"100"}),vue.createVNode(d,{prop:"completedInvestment",label:"\u5DF2\u5B8C\u6210\u6295\u8D44(\u4E07\u5143)",width:"100"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.completedInvestment),1)]),_:1}),vue.createVNode(d,{prop:"currentYearPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u989D(\u4E07\u5143)",width:"111"}),vue.createVNode(d,{prop:"enterpriseTotalPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u603B\u989D(\u4E07\u5143)",width:"130"}),vue.createVNode(d,{prop:"label9",label:"\u8D44\u91D1\u6765\u6E90",width:"320"},{default:vue.withCtx(({row:s})=>[vue.createElementVNode("div",_hoisted_2$2,[vue.createElementVNode("div",_hoisted_3$1,"\u81EA\u6709\u8D44\u4EA7(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.ownFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.ownFundsPercent),1)]),vue.createElementVNode("div",_hoisted_4$1,[vue.createElementVNode("div",_hoisted_5$1,"\u94F6\u884C\u8D37\u6B3E(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.loanFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.loanFundsPercent),1)]),vue.createElementVNode("div",_hoisted_6$1,[vue.createElementVNode("div",_hoisted_7$1,"\u5176\u4ED6\u8D44\u91D1(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.otherFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.otherFundsPercent),1)])]),_:1}),vue.createVNode(d,{prop:"remark",label:"\u5907\u6CE8"})]),_:1},8,["data","span-method"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:m.detailDialogVisible,typeJson:e.field.options.typeJson,data:m.detailDialogData,onClose:p.handleCloseDetailDialog,onConfirm:p.handleConfirm,disabled:e.field.options.disabled},null,8,["visible","typeJson","data","onClose","onConfirm","disabled"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var FixedTableWidget=_export_sfc$1(_sfc_main$4,[["render",_sfc_render$4]]),index_vue_vue_type_style_index_0_lang="";const _sfc_main$3={name:"equity-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DetailDialog},data(){return{fieldModel:[{enterpriseName:"\u516C\u53F81",enterpriseProjectCount:"100",projectName:"\u9879\u76EEA",registeredCapital:"\u9636\u6BB51",subscribedCapital:"500",paidInCapital:"200",currentYearPlannedInvestment:"100",enterpriseTotalPlannedInvestment:"300",label9:"\u81EA\u6709\u8D44\u91D1",remark:"\u5907\u6CE81"},{enterpriseName:"\u516C\u53F81",enterpriseProjectCount:"200",projectName:"\u9879\u76EEB",registeredCapital:"\u9636\u6BB52",subscribedCapital:"800",paidInCapital:"300",currentYearPlannedInvestment:"150",enterpriseTotalPlannedInvestment:"450",label9:"\u94F6\u884C\u8D37\u6B3E",remark:"\u5907\u6CE82"},{enterpriseName:"\u516C\u53F81",enterpriseProjectCount:"150",projectName:"\u9879\u76EEC",registeredCapital:"\u9636\u6BB53",subscribedCapital:"600",paidInCapital:"250",currentYearPlannedInvestment:"120",enterpriseTotalPlannedInvestment:"380",label9:"\u653F\u5E9C\u62E8\u6B3E",remark:"\u5907\u6CE83"},{enterpriseName:"\u516C\u53F82",enterpriseProjectCount:"300",projectName:"\u9879\u76EED",registeredCapital:"\u9636\u6BB51",subscribedCapital:"1000",paidInCapital:"400",currentYearPlannedInvestment:"200",enterpriseTotalPlannedInvestment:"600",label9:"\u81EA\u6709\u8D44\u91D1",remark:"\u5907\u6CE84"}],oldFieldValue:null,rules:[],detailDialogVisible:!1,detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{objectSpanMethod({row:t,column:a,rowIndex:e,columnIndex:h}){if(["enterpriseName","enterpriseProjectCount","enterpriseTotalPlannedInvestment"].includes(a.property)){const p=this.getSameCompanyRows(e);if(p.length>1)return e===p[0]?{rowspan:p.length,colspan:1}:{rowspan:0,colspan:0}}return{rowspan:1,colspan:1}},getSameCompanyRows(t){const a=this.fieldModel[t].enterpriseName,e=[t];for(let h=t-1;h>=0&&this.fieldModel[h].enterpriseName===a;h--)e.unshift(h);for(let h=t+1;h<this.fieldModel.length&&this.fieldModel[h].enterpriseName===a;h++)e.push(h);return e},formatAmount,handleShowIsUpdate(){return!(this.field.options.disabled||!this.field.options.clickRow)},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(t){const a=this.fieldModel.findIndex(e=>e.assetId===t.assetId);a!==-1&&(this.fieldModel[a]=je(je({},this.fieldModel[a]),t))},triggerEvent(t,...a){var h,m;const e=(m=(h=this.field)==null?void 0:h.options)==null?void 0:m[t];if(e)try{if(t==="onOpen"&&a.length>0){const p=a[0];new Function("rowData",e).call(this,p)}else if(t==="onChange"){const p=a[0],d=a[1];if(this.subFormItemFlag){const f=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,p,d,f,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,p,d)}else if(a.length>0){const p=a.map((f,o)=>`arg${o}`).join(", ");new Function(p,e).apply(this,a)}else new Function(e).call(this)}catch(p){console.error(`Error executing ${t} handler:`,p),console.error("Handler code:",e),console.error("Args:",a)}},handleRow(t){const a=this.fieldModel.findIndex(e=>e.assetId===t.assetId);a!==-1&&(this.triggerEvent("onOpen",this.fieldModel[a]),this.detailDialogVisible=!0,this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[a]))},setDetailColHidden(t,a){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,a)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(t){const a=this.fieldModel.findIndex(h=>h.assetId===this.detailDialogData.assetId);if(a===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[a]=gt(je(je({},this.fieldModel[a]),t),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$1={key:1},_hoisted_2$1={class:"funds"},_hoisted_3={class:"funds-source"},_hoisted_4={class:"funds"},_hoisted_5={class:"funds-source"},_hoisted_6={class:"funds"},_hoisted_7={class:"funds-source"},_hoisted_8={class:"funds"},_hoisted_9={class:"funds-source"};function _sfc_render$3(t,a,e,h,m,p){const d=vue.resolveComponent("el-table-column"),f=vue.resolveComponent("el-text"),o=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),n=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"equity-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(o,{data:m.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"","span-method":p.objectSpanMethod,style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(d,{prop:"enterpriseName",label:"\u516C\u53F8\u540D\u79F0",width:"150"}),vue.createVNode(d,{prop:"enterpriseProjectCount",label:"\u6570\u91CF",align:"left",width:"60"}),vue.createVNode(d,{prop:"projectName",align:"center",label:"\u9879\u76EE\u540D\u79F0",width:"200"},{default:vue.withCtx(({row:s})=>{var i,r;return[((r=(i=e.field)==null?void 0:i.options)==null?void 0:r.clickRow)?(vue.openBlock(),vue.createBlock(f,{key:0,class:"click-text",type:"primary",onClick:l=>p.handleRow(s)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.projectName),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$1,vue.toDisplayString(s.projectName),1))]}),_:1}),vue.createVNode(d,{prop:"registeredCapital",label:"\u6CE8\u518C\u8D44\u672C(\u4E07\u5143)",width:"90"}),vue.createVNode(d,{prop:"subscribedCapital",label:"\u8BA4\u7F34\u51FA\u8D44(\u4E07\u5143)",width:"100"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.subscribedCapital),1)]),_:1}),vue.createVNode(d,{prop:"paidInCapital",label:"\u5DF2\u5B8C\u6210\u6295\u8D44(\u4E07\u5143)",width:"100"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.paidInCapital),1)]),_:1}),vue.createVNode(d,{prop:"currentYearPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u989D(\u4E07\u5143)",width:"111"}),vue.createVNode(d,{prop:"enterpriseTotalPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u603B\u989D(\u4E07\u5143)",width:"130"}),vue.createVNode(d,{prop:"label9",label:"\u8D44\u91D1\u6765\u6E90",width:"360"},{default:vue.withCtx(({row:s})=>[vue.createElementVNode("div",_hoisted_2$1,[vue.createElementVNode("div",_hoisted_3,"\u81EA\u6709\u8D44\u4EA7(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.ownFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.ownFundsPercent),1)]),vue.createElementVNode("div",_hoisted_4,[vue.createElementVNode("div",_hoisted_5,"\u94F6\u884C\u8D37\u6B3E(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.loanFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.loanFundsPercent),1)]),vue.createElementVNode("div",_hoisted_6,[vue.createElementVNode("div",_hoisted_7,"\u5176\u4ED6\u8D44\u91D1(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.otherFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.otherFundsPercent),1)]),vue.createElementVNode("div",_hoisted_8,[vue.createElementVNode("div",_hoisted_9," \u5173\u8054\u4F01\u4E1A\u501F\u6B3E\u8D44\u91D1(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.relatedPartyBorrowing||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.relatedPartyBorrowingPercent),1)])]),_:1}),vue.createVNode(d,{prop:"remark",label:"\u5907\u6CE8"})]),_:1},8,["data","span-method"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:m.detailDialogVisible,typeJson:e.field.options.typeJson,data:m.detailDialogData,onClose:p.handleCloseDetailDialog,onConfirm:p.handleConfirm,disabled:e.field.options.disabled},null,8,["visible","typeJson","data","onClose","onConfirm","disabled"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var EquityTableSchema=_export_sfc$1(_sfc_main$3,[["render",_sfc_render$3]]);const AssetTypeEnum={"0":"equity","1":"house","2":"land","3":"equipment","4":"vehicle","5":"intangible","6":"other_fixed","7":"electronic","8":"office_furniture"};var equity="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikdyb3VwIDI0NyI+CjxwYXRoIGlkPSJFbGxpcHNlIDUiIGQ9Ik0xMyA5QzEzIDEwLjE4NjcgMTIuNjQ4MSAxMS4zNDY3IDExLjk4ODggMTIuMzMzNEMxMS4zMjk1IDEzLjMyMDEgMTAuMzkyNSAxNC4wODkyIDkuMjk2MSAxNC41NDMzQzguMTk5NzQgMTQuOTk3NCA2Ljk5MzM0IDE1LjExNjIgNS44Mjk0NiAxNC44ODQ3QzQuNjY1NTcgMTQuNjUzMiAzLjU5NjQ3IDE0LjA4MTggMi43NTczNiAxMy4yNDI2QzEuOTE4MjQgMTIuNDAzNSAxLjM0NjggMTEuMzM0NCAxLjExNTI5IDEwLjE3MDVDMC44ODM3NzcgOS4wMDY2NiAxLjAwMjYgNy44MDAyNiAxLjQ1NjcyIDYuNzAzOUMxLjkxMDg1IDUuNjA3NTQgMi42Nzk4OCA0LjY3MDQ3IDMuNjY2NTggNC4wMTExOEM0LjY1MzI3IDMuMzUxODkgNS44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IiB4PSIyLjUiIHk9IjEwIiB3aWR0aD0iNCIgaGVpZ2h0PSIxIiBmaWxsPSIjMzE4MkNFIi8+CjxwYXRoIGlkPSJWZWN0b3IgNCIgZD0iTTIuNSA2TDQuNSAzIiBzdHJva2U9IiMzMTgyQ0UiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBpZD0iVmVjdG9yIDYiIGQ9Ik0yLjUgMTBMNCA4IiBzdHJva2U9IiMzMTgyQ0UiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBpZD0iVmVjdG9yIDUiIGQ9Ik00LjUgNkw1LjUgNC41IiBzdHJva2U9IiMzMTgyQ0UiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBpZD0iVmVjdG9yIDciIGQ9Ik00LjUgMTBMNS41IDguNSIgc3Ryb2tlPSIjMzE4MkNFIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=",index_vue_vue_type_style_index_0_scoped_true_lang="";const assetTypeImageMap={equity,"equity-active":equityActive,house,"house-active":houseActive,land,"land-active":landActive,equipment,"equipment-active":equipmentActive,vehicle,"vehicle-active":vehicleActive,intangible,"intangible-active":intangibleActive,other_fixed:otherFixed,"other_fixed-active":otherFixedActive,electronic,"electronic-active":electronicActive,office_furniture:officeFurniture,"office_furniture-active":officeFurnitureActive},_sfc_main$2={name:"asset-type-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,rules:[],selectedValue:null,assetTypeOptions:[]}},computed:{},watch:{"field.options.assetTypeValue":{handler(t){this.fieldModel=t,this.syncUpdateFormModel(t)},immediate:!0}},methods:{getAssetTypeImage(t,a){const e=AssetTypeEnum[t];if(!e)return"";const h=a==="selected"?`${e}-active`:`${e}`;return assetTypeImageMap[h]||""},getAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:t}})=>{this.assetTypeOptions=t.map(a=>({label:a.label,value:a.itemValue})),console.log("assetTypeOptions",this.assetTypeOptions)})}},mounted(){this.getAssetTypeOptions()},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()}},_hoisted_1=["src"],_hoisted_2={class:"item-label"};function _sfc_render$2(t,a,e,h,m,p){const d=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(d,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-type-widget",style:vue.normalizeStyle(t.widgetStyle)},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.assetTypeOptions,f=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["asset-type-item",{selected:m.fieldModel===f.value}]),key:f.value},[f.value!=="all"?(vue.openBlock(),vue.createElementBlock("img",{key:0,src:p.getAssetTypeImage(f.value,m.fieldModel===f.value?"selected":"normal"),alt:"",class:""},null,8,_hoisted_1)):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_2,vue.toDisplayString(f.label),1)],2))),128))],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AssetTypeWidget=_export_sfc$1(_sfc_main$2,[["render",_sfc_render$2],["__scopeId","data-v-7351af35"]]);const _sfc_main$1={name:"current-user-second-company-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[]}},computed:{displayModel(){var t,a;return(a=(t=this.fieldModel)==null?void 0:t.companyName)!=null?a:""},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}}},methods:{hasExistingValue(){var a;const t=(a=this.fieldModel)!=null?a:this.oldFieldValue;return t==null||t===""?!1:typeof t=="object"?!!(t.companyName||t.id||t.companyId):!0},tryLoadCurrentUserSecondCompany(){console.log(this.designState,this.hasExistingValue(),"222222222"),!(this.designState||this.hasExistingValue())&&this.getCurrentUserSecondCompany()},async getCurrentUserSecondCompany(){if(this.hasExistingValue())return;const{data:t}=await service$1({method:"get",url:"unified-system/sysCompany/targetCompany",params:{id:sessionStorage.getItem("companyId")}});this.hasExistingValue()||(this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue))}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){console.log(this.designState,this.modelValue,this.hasExistingValue(),"333333333"),this.$nextTick(()=>{this.tryLoadCurrentUserSecondCompany()})}};function _sfc_render$1(t,a,e,h,m,p){const d=vue.resolveComponent("el-input"),f=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(f,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(d,{modelValue:p.displayModel,"onUpdate:modelValue":a[0]||(a[0]=o=>p.displayModel=o),disabled:!0},null,8,["modelValue"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CurrentUserSecondCompanyWidget=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1]]);const _sfc_main={name:"custom-input-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,SvgIcon},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{inputType(){return this.field.options.type==="number"?"text":this.field.options.type}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.hasExistingValue()||this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{hasExistingValue(){var a;const t=(a=this.fieldModel)!=null?a:this.oldFieldValue;return t!=null&&t!==""}}};function _sfc_render(t,a,e,h,m,p){const d=vue.resolveComponent("svg-icon"),f=vue.resolveComponent("el-button"),o=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(o,{ref:"fieldEditor",modelValue:m.fieldModel,"onUpdate:modelValue":a[0]||(a[0]=n=>m.fieldModel=n),disabled:t.getDisabled(),readonly:e.field.options.readonly,size:t.widgetSize,class:"hide-spin-button",type:p.inputType,"show-password":e.field.options.showPassword,placeholder:e.field.options.placeholder,clearable:e.field.options.clearable,minlength:e.field.options.minLength,maxlength:e.field.options.maxLength,"show-word-limit":e.field.options.showWordLimit,"prefix-icon":e.field.options.prefixIcon,"suffix-icon":e.field.options.suffixIcon,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onInput:t.handleInputCustomEvent,onChange:t.handleChangeEvent},vue.createSlots({_:2},[e.field.options.appendButton?{name:"append",fn:vue.withCtx(()=>[vue.createVNode(f,{disabled:t.getDisabled()||e.field.options.appendButtonDisabled,onClick:t.emitAppendButtonClick},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":e.field.options.buttonIcon},null,8,["icon-class"])]),_:1},8,["disabled","onClick"])]),key:"0"}:void 0]),1032,["modelValue","disabled","readonly","size","type","show-password","placeholder","clearable","minlength","maxlength","show-word-limit","prefix-icon","suffix-icon","onFocus","onBlur","onInput","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CustomInputWidget=_export_sfc$1(_sfc_main,[["render",_sfc_render]]);const loadExtension=function(t){addContainerWidgetSchema(cardSchema),t.component(CardWidget.name,CardWidget),t.component(CardItem.name,CardItem),registerCPEditor(t,"card-folded","card-folded-editor",createBooleanEditor("folded","extension.setting.cardFolded")),registerCPEditor(t,"card-showFold","card-showFold-editor",createBooleanEditor("showFold","extension.setting.cardShowFold")),registerCPEditor(t,"card-cardWidth","card-cardWidth-editor",createInputTextEditor("cardWidth","extension.setting.cardWidth")),registerCPEditor(t,"card-shadow","card-shadow-editor",createSelectEditor("shadow","extension.setting.cardShadow",{optionItems:[{label:"never",value:"never"},{label:"hover",value:"hover"},{label:"always",value:"always"}]})),registerCWGenerator("card",cardTemplateGenerator),registerCPEditor(t,"mainTip","mainTip-editor",createInputTextEditor("mainTip","designer.setting.mainTip")),registerCPEditor(t,"subTip","subTip-editor",createInputTextEditor("subTip","designer.setting.subTip")),addCustomWidgetSchema(alertSchema),t.component(AlertWidget.name,AlertWidget),registerCPEditor(t,"alert-title","alert-title-editor",createInputTextEditor("title","extension.setting.alertTitle"));let e=[{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"info",value:"info"},{label:"error",value:"error"}];t.component("alert-type-editor",createSelectEditor("type","extension.setting.alertType",{optionItems:e})),registerCPEditor(t,"alert-description","alert-description-editor",createInputTextEditor("description","extension.setting.description")),registerCPEditor(t,"alert-closable","alert-closable-editor",createBooleanEditor("closable","extension.setting.closable")),registerCPEditor(t,"alert-closeText","alert-closeText-editor",createInputTextEditor("closeText","extension.setting.closeText")),registerCPEditor(t,"alert-center","alert-center-editor",createBooleanEditor("center","extension.setting.center")),registerCPEditor(t,"alert-showIcon","alert-showIcon-editor",createBooleanEditor("showIcon","extension.setting.showIcon")),registerCPEditor(t,"alert-effect","alert-effect-editor",createRadioButtonGroupEditor("effect","extension.setting.effect",{optionItems:[{label:"light",value:"light"},{label:"dark",value:"dark"}]})),registerEPEditor(t,"alert-onClose","alert-onClose-editor",createEventHandlerEditor("onClose",[])),registerFWGenerator("alert",alertTemplateGenerator),addCustomWidgetSchema(personTreeSchema),t.component(PersonTreeWidget.name,PersonTreeWidget),registerCPEditor(t,"person-tree-buttonText","person-tree-buttonText-editor",createInputTextEditor("buttonText","extension.setting.personTreeButtonText")),registerCPEditor(t,"person-tree-dialogTitle","person-tree-dialogTitle-editor",createInputTextEditor("dialogTitle","extension.setting.personTreeDialogTitle")),registerCPEditor(t,"person-tree-treeParams","person-tree-treeParams-editor",createTextareaEditor("treeParams","extension.setting.personTreeTreeParams",{rows:4})),registerAPEditor(t,"person-tree-dialogWidth","person-tree-dialogWidth-editor",createInputTextEditor("dialogWidth","extension.setting.personTreeDialogWidth")),registerCPEditor(t,"person-tree-confirmText","person-tree-confirmText-editor",createInputTextEditor("confirmText","extension.setting.personTreeConfirmText")),registerCPEditor(t,"person-tree-cancelText","person-tree-cancelText-editor",createInputTextEditor("cancelText","extension.setting.personTreeCancelText")),registerCPEditor(t,"person-tree-hideFooter","person-tree-hideFooter-editor",createBooleanEditor("hideFooter","extension.setting.personTreeHideFooter")),registerEPEditor(t,"person-tree-onOpen","person-tree-onOpen-editor",createEventHandlerEditor("onOpen",[])),registerEPEditor(t,"person-tree-onConfirm","person-tree-onConfirm-editor",createEventHandlerEditor("onConfirm",["checkedNodes"])),registerEPEditor(t,"person-tree-onRemoveTag","person-tree-onRemoveTag-editor",createEventHandlerEditor("onRemoveTag",["removedItem","remainingNodes","removedIndex"])),registerEPEditor(t,"person-tree-onCancel","person-tree-onCancel-editor",createEventHandlerEditor("onCancel",[])),registerEPEditor(t,"person-tree-onClose","person-tree-onClose-editor",createEventHandlerEditor("onClose",[])),addCustomWidgetSchema(radioOtherSchema),t.component(radioOtherItem.name,radioOtherItem),addCustomWidgetSchema(selectOtherSchema),t.component(selectOtherItem.name,selectOtherItem),addCustomWidgetSchema(meetingRoomSchema),t.component(meetingRoomItem.name,meetingRoomItem),registerCPEditor(t,"meeting-room-remoteUrl","meeting-room-remoteUrl-editor",createInputTextEditor("remoteUrl","extension.setting.meetingRoomRemoteUrl")),registerCPEditor(t,"meeting-room-allowMultiple","meeting-room-allowMultiple-editor",createBooleanEditor("allowMultiple","extension.setting.allowMultiple")),addContainerWidgetSchema(customSubFormSchema),t.component(CustomSubFormWidget.name,CustomSubFormWidget),t.component(CustomSubFormItem.name,CustomSubFormItem),addContainerWidgetSchema(customTableCellSchema),addContainerWidgetSchema(customTableSchema),t.component(CustomTableWidget.name,CustomTableWidget),t.component(CustomTableItem.name,CustomTableItem),t.component(CustomTableCellWidget.name,CustomTableCellWidget),t.component(CustomTableCellItem.name,CustomTableCellItem),addContainerWidgetSchema(subTableSchema),t.component(SubTableWidget.name,SubTableWidget),t.component(SubTableItem.name,SubTableItem),t.component("sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(t,"sub-table-columns","sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(t,"select-tree-showCheckbox","select-tree-showCheckbox-editor",createBooleanEditor("showCheckbox","designer.setting.showCheckbox")),registerCPEditor(t,"select-tree-checkStrictly","select-tree-checkStrictly-editor",createBooleanEditor("checkStrictly","extension.setting.selectTreeCheckStrictly")),addCustomWidgetSchema(currentUserSchema),t.component(CurrentUserWidget.name,CurrentUserWidget),registerCPEditor(t,"current-user-type","current-user-type-editor",createSelectEditor("type","extension.setting.currentUserType",{optionItems:[{label:"\u7528\u6237\u540D",value:"username"},{label:"\u90E8\u95E8\u540D\u79F0",value:"deptName"},{label:"\u516C\u53F8\u540D\u79F0",value:"companyName"}]})),addCustomWidgetSchema(currentUserSecondCompanySchema),t.component(CurrentUserSecondCompanyWidget.name,CurrentUserSecondCompanyWidget),addCustomWidgetSchema(assetSelectSchema),t.component(AssetSelectWidget.name,AssetSelectWidget),registerCPEditor(t,"asset-select-buttonText","asset-select-buttonText-editor",createInputTextEditor("buttonText","extension.setting.assetSelectButtonText")),registerCPEditor(t,"asset-select-typeJson","asset-select-typeJson-editor",createTextareaEditor("typeJson","extension.setting.assetSelectTypeJson",{rows:4})),registerCPEditor(t,"asset-select-assetTypeValue","asset-select-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetSelectAssetTypeValue")),registerCPEditor(t,"asset-select-assetLimit","asset-select-assetLimit-editor",createInputNumberEditor("assetLimit","extension.setting.assetSelectAssetLimit")),addCustomWidgetSchema(assetTableSchema),t.component(AssetTableWidget.name,AssetTableWidget),registerCPEditor(t,"asset-table-typeJson","asset-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.assetTableTypeJson")),registerCPEditor(t,"asset-table-clickRow","asset-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.assetTableClickRow")),registerEPEditor(t,"asset-table-onOpen","asset-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),addCustomWidgetSchema(fixedTableSchema),t.component(FixedTableWidget.name,FixedTableWidget),registerCPEditor(t,"fixed-table-typeJson","fixed-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.fixedTableTypeJson")),registerCPEditor(t,"fixed-table-clickRow","fixed-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.fixedTableClickRow")),registerEPEditor(t,"fixed-table-onOpen","fixed-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),addCustomWidgetSchema(equityTableSchema),t.component(EquityTableSchema.name,EquityTableSchema),registerCPEditor(t,"equity-table-typeJson","equity-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.equityTableTypeJson")),registerCPEditor(t,"equity-table-clickRow","equity-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.equityTableClickRow")),registerEPEditor(t,"equity-table-onOpen","equity-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),addCustomWidgetSchema(resolutionTableSchema),t.component(ResolutionTableWidget.name,ResolutionTableWidget),addCustomWidgetSchema(assetTypeSchema),t.component(AssetTypeWidget.name,AssetTypeWidget),registerCPEditor(t,"asset-type-assetTypeValue","asset-type-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetTypeAssetTypeValue")),addCustomWidgetSchema(customInputSchema),t.component(CustomInputWidget.name,CustomInputWidget)},{cookies}=useCookies();function getElMessage(t){var a,e,h;try{if((e=(a=t==null?void 0:t.config)==null?void 0:a.globalProperties)==null?void 0:e.$message)return t.config.globalProperties.$message;if(typeof window!="undefined"&&window.ElementPlus)return window.ElementPlus.ElMessage||((h=window.ElementPlus.default)==null?void 0:h.ElMessage)||null}catch{}return null}typeof window!="undefined"&&(window.cookies=cookies);const SortableLib=(ct=(nt=require$$1__default.default)==null?void 0:nt.default)!=null?ct:require$$1__default.default;typeof window!="undefined"&&!window.Sortable&&(window.Sortable=SortableLib);const Draggable=(xt=VuedraggableCjs==null?void 0:VuedraggableCjs.default)!=null?xt:VuedraggableCjs;VFormDesigner.install=function(t){addDirective(t),loadExtension(t),t.use(ContainerWidgets),t.use(ContainerItems),registerIcon(t),t.component("draggable",Draggable),t.component(VFormDesigner.name,VFormDesigner),t.config.globalProperties.$service=service$1,t.provide("service",service$1),t.provide("ElMessage",getElMessage(t)),t.config.globalProperties.$cookies=cookies,t.provide("cookies",cookies)},VFormRender.install=function(t){loadExtension(t),t.use(ContainerItems),registerIcon(t),t.component(VFormRender.name,VFormRender),t.config.globalProperties.$service=service$1,t.provide("service",service$1),t.config.globalProperties.$cookies=cookies,t.provide("cookies",cookies)};const components=[VFormDesigner,VFormRender],install=t=>{addDirective(t),loadExtension(t),t.use(ContainerWidgets),t.use(ContainerItems),registerIcon(t),t.component("draggable",Draggable),components.forEach(a=>{t.component(a.name,a)}),t.config.globalProperties.$service=service$1,t.provide("service",service$1),window.axios=axios,typeof window!="undefined"&&(window.service=service$1)};var install$1={install,VFormDesigner,VFormRender};return install$1});
|
|
1705
|
+
*/return e.mode.CTRGladman=function(){var h=e.lib.BlockCipherMode.extend();function m(f){if((f>>24&255)==255){var o=f>>16&255,u=f>>8&255,n=f&255;o===255?(o=0,u===255?(u=0,n===255?n=0:++n):++u):++o,f=0,f+=o<<16,f+=u<<8,f+=n}else f+=1<<24;return f}function p(f){return(f[0]=m(f[0]))===0&&(f[1]=m(f[1])),f}var d=h.Encryptor=h.extend({processBlock:function(f,o){var u=this._cipher,n=u.blockSize,s=this._iv,i=this._counter;s&&(i=this._counter=s.slice(0),this._iv=void 0),p(i);var r=i.slice(0);u.encryptBlock(r,0);for(var l=0;l<n;l++)f[o+l]^=r[l]}});return h.Decryptor=d,h}(),e.mode.CTRGladman})})(modeCtrGladman);var modeOfb={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.mode.OFB=function(){var h=e.lib.BlockCipherMode.extend(),m=h.Encryptor=h.extend({processBlock:function(p,d){var f=this._cipher,o=f.blockSize,u=this._iv,n=this._keystream;u&&(n=this._keystream=u.slice(0),this._iv=void 0),f.encryptBlock(n,0);for(var s=0;s<o;s++)p[d+s]^=n[s]}});return h.Decryptor=m,h}(),e.mode.OFB})})(modeOfb);var modeEcb={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.mode.ECB=function(){var h=e.lib.BlockCipherMode.extend();return h.Encryptor=h.extend({processBlock:function(m,p){this._cipher.encryptBlock(m,p)}}),h.Decryptor=h.extend({processBlock:function(m,p){this._cipher.decryptBlock(m,p)}}),h}(),e.mode.ECB})})(modeEcb);var padAnsix923={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.AnsiX923={pad:function(h,m){var p=h.sigBytes,d=m*4,f=d-p%d,o=p+f-1;h.clamp(),h.words[o>>>2]|=f<<24-o%4*8,h.sigBytes+=f},unpad:function(h){var m=h.words[h.sigBytes-1>>>2]&255;h.sigBytes-=m}},e.pad.Ansix923})})(padAnsix923);var padIso10126={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.Iso10126={pad:function(h,m){var p=m*4,d=p-h.sigBytes%p;h.concat(e.lib.WordArray.random(d-1)).concat(e.lib.WordArray.create([d<<24],1))},unpad:function(h){var m=h.words[h.sigBytes-1>>>2]&255;h.sigBytes-=m}},e.pad.Iso10126})})(padIso10126);var padIso97971={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.Iso97971={pad:function(h,m){h.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(h,m)},unpad:function(h){e.pad.ZeroPadding.unpad(h),h.sigBytes--}},e.pad.Iso97971})})(padIso97971);var padZeropadding={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.ZeroPadding={pad:function(h,m){var p=m*4;h.clamp(),h.sigBytes+=p-(h.sigBytes%p||p)},unpad:function(h){for(var m=h.words,p=h.sigBytes-1,p=h.sigBytes-1;p>=0;p--)if(m[p>>>2]>>>24-p%4*8&255){h.sigBytes=p+1;break}}},e.pad.ZeroPadding})})(padZeropadding);var padNopadding={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding})})(padNopadding);var formatHex={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(h){var m=e,p=m.lib,d=p.CipherParams,f=m.enc,o=f.Hex,u=m.format;u.Hex={stringify:function(n){return n.ciphertext.toString(o)},parse:function(n){var s=o.parse(n);return d.create({ciphertext:s})}}}(),e.format.Hex})})(formatHex);var aes={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var h=e,m=h.lib,p=m.BlockCipher,d=h.algo,f=[],o=[],u=[],n=[],s=[],i=[],r=[],l=[],c=[],g=[];(function(){for(var _=[],x=0;x<256;x++)x<128?_[x]=x<<1:_[x]=x<<1^283;for(var w=0,C=0,x=0;x<256;x++){var M=C^C<<1^C<<2^C<<3^C<<4;M=M>>>8^M&255^99,f[w]=M,o[M]=w;var D=_[w],N=_[D],S=_[N],L=_[M]*257^M*16843008;u[w]=L<<24|L>>>8,n[w]=L<<16|L>>>16,s[w]=L<<8|L>>>24,i[w]=L;var L=S*16843009^N*65537^D*257^w*16843008;r[M]=L<<24|L>>>8,l[M]=L<<16|L>>>16,c[M]=L<<8|L>>>24,g[M]=L,w?(w=D^_[_[_[S^D]]],C^=_[_[C]]):w=C=1}})();var v=[0,1,2,4,8,16,32,64,128,27,54],b=d.AES=p.extend({_doReset:function(){var _;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var x=this._keyPriorReset=this._key,w=x.words,C=x.sigBytes/4,M=this._nRounds=C+6,D=(M+1)*4,N=this._keySchedule=[],S=0;S<D;S++)S<C?N[S]=w[S]:(_=N[S-1],S%C?C>6&&S%C==4&&(_=f[_>>>24]<<24|f[_>>>16&255]<<16|f[_>>>8&255]<<8|f[_&255]):(_=_<<8|_>>>24,_=f[_>>>24]<<24|f[_>>>16&255]<<16|f[_>>>8&255]<<8|f[_&255],_^=v[S/C|0]<<24),N[S]=N[S-C]^_);for(var L=this._invKeySchedule=[],k=0;k<D;k++){var S=D-k;if(k%4)var _=N[S];else var _=N[S-4];k<4||S<=4?L[k]=_:L[k]=r[f[_>>>24]]^l[f[_>>>16&255]]^c[f[_>>>8&255]]^g[f[_&255]]}}},encryptBlock:function(_,x){this._doCryptBlock(_,x,this._keySchedule,u,n,s,i,f)},decryptBlock:function(_,x){var w=_[x+1];_[x+1]=_[x+3],_[x+3]=w,this._doCryptBlock(_,x,this._invKeySchedule,r,l,c,g,o);var w=_[x+1];_[x+1]=_[x+3],_[x+3]=w},_doCryptBlock:function(_,x,w,C,M,D,N,S){for(var L=this._nRounds,k=_[x]^w[0],T=_[x+1]^w[1],E=_[x+2]^w[2],I=_[x+3]^w[3],O=4,B=1;B<L;B++){var V=C[k>>>24]^M[T>>>16&255]^D[E>>>8&255]^N[I&255]^w[O++],P=C[T>>>24]^M[E>>>16&255]^D[I>>>8&255]^N[k&255]^w[O++],$=C[E>>>24]^M[I>>>16&255]^D[k>>>8&255]^N[T&255]^w[O++],R=C[I>>>24]^M[k>>>16&255]^D[T>>>8&255]^N[E&255]^w[O++];k=V,T=P,E=$,I=R}var V=(S[k>>>24]<<24|S[T>>>16&255]<<16|S[E>>>8&255]<<8|S[I&255])^w[O++],P=(S[T>>>24]<<24|S[E>>>16&255]<<16|S[I>>>8&255]<<8|S[k&255])^w[O++],$=(S[E>>>24]<<24|S[I>>>16&255]<<16|S[k>>>8&255]<<8|S[T&255])^w[O++],R=(S[I>>>24]<<24|S[k>>>16&255]<<16|S[T>>>8&255]<<8|S[E&255])^w[O++];_[x]=V,_[x+1]=P,_[x+2]=$,_[x+3]=R},keySize:256/32});h.AES=p._createHelper(b)}(),e.AES})})(aes);var tripledes={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var h=e,m=h.lib,p=m.WordArray,d=m.BlockCipher,f=h.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],n=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],s=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],i=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],r=f.DES=d.extend({_doReset:function(){for(var v=this._key,b=v.words,_=[],x=0;x<56;x++){var w=o[x]-1;_[x]=b[w>>>5]>>>31-w%32&1}for(var C=this._subKeys=[],M=0;M<16;M++){for(var D=C[M]=[],N=n[M],x=0;x<24;x++)D[x/6|0]|=_[(u[x]-1+N)%28]<<31-x%6,D[4+(x/6|0)]|=_[28+(u[x+24]-1+N)%28]<<31-x%6;D[0]=D[0]<<1|D[0]>>>31;for(var x=1;x<7;x++)D[x]=D[x]>>>(x-1)*4+3;D[7]=D[7]<<5|D[7]>>>27}for(var S=this._invSubKeys=[],x=0;x<16;x++)S[x]=C[15-x]},encryptBlock:function(v,b){this._doCryptBlock(v,b,this._subKeys)},decryptBlock:function(v,b){this._doCryptBlock(v,b,this._invSubKeys)},_doCryptBlock:function(v,b,_){this._lBlock=v[b],this._rBlock=v[b+1],l.call(this,4,252645135),l.call(this,16,65535),c.call(this,2,858993459),c.call(this,8,16711935),l.call(this,1,1431655765);for(var x=0;x<16;x++){for(var w=_[x],C=this._lBlock,M=this._rBlock,D=0,N=0;N<8;N++)D|=s[N][((M^w[N])&i[N])>>>0];this._lBlock=M,this._rBlock=C^D}var S=this._lBlock;this._lBlock=this._rBlock,this._rBlock=S,l.call(this,1,1431655765),c.call(this,8,16711935),c.call(this,2,858993459),l.call(this,16,65535),l.call(this,4,252645135),v[b]=this._lBlock,v[b+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function l(v,b){var _=(this._lBlock>>>v^this._rBlock)&b;this._rBlock^=_,this._lBlock^=_<<v}function c(v,b){var _=(this._rBlock>>>v^this._lBlock)&b;this._lBlock^=_,this._rBlock^=_<<v}h.DES=d._createHelper(r);var g=f.TripleDES=d.extend({_doReset:function(){var v=this._key,b=v.words;if(b.length!==2&&b.length!==4&&b.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var _=b.slice(0,2),x=b.length<4?b.slice(0,2):b.slice(2,4),w=b.length<6?b.slice(0,2):b.slice(4,6);this._des1=r.createEncryptor(p.create(_)),this._des2=r.createEncryptor(p.create(x)),this._des3=r.createEncryptor(p.create(w))},encryptBlock:function(v,b){this._des1.encryptBlock(v,b),this._des2.decryptBlock(v,b),this._des3.encryptBlock(v,b)},decryptBlock:function(v,b){this._des3.decryptBlock(v,b),this._des2.encryptBlock(v,b),this._des1.decryptBlock(v,b)},keySize:192/32,ivSize:64/32,blockSize:64/32});h.TripleDES=d._createHelper(g)}(),e.TripleDES})})(tripledes);var rc4={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var h=e,m=h.lib,p=m.StreamCipher,d=h.algo,f=d.RC4=p.extend({_doReset:function(){for(var n=this._key,s=n.words,i=n.sigBytes,r=this._S=[],l=0;l<256;l++)r[l]=l;for(var l=0,c=0;l<256;l++){var g=l%i,v=s[g>>>2]>>>24-g%4*8&255;c=(c+r[l]+v)%256;var b=r[l];r[l]=r[c],r[c]=b}this._i=this._j=0},_doProcessBlock:function(n,s){n[s]^=o.call(this)},keySize:256/32,ivSize:0});function o(){for(var n=this._S,s=this._i,i=this._j,r=0,l=0;l<4;l++){s=(s+1)%256,i=(i+n[s])%256;var c=n[s];n[s]=n[i],n[i]=c,r|=n[(n[s]+n[i])%256]<<24-l*8}return this._i=s,this._j=i,r}h.RC4=p._createHelper(f);var u=d.RC4Drop=f.extend({cfg:f.cfg.extend({drop:192}),_doReset:function(){f._doReset.call(this);for(var n=this.cfg.drop;n>0;n--)o.call(this)}});h.RC4Drop=p._createHelper(u)}(),e.RC4})})(rc4);var rabbit={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var h=e,m=h.lib,p=m.StreamCipher,d=h.algo,f=[],o=[],u=[],n=d.Rabbit=p.extend({_doReset:function(){for(var i=this._key.words,r=this.cfg.iv,l=0;l<4;l++)i[l]=(i[l]<<8|i[l]>>>24)&16711935|(i[l]<<24|i[l]>>>8)&4278255360;var c=this._X=[i[0],i[3]<<16|i[2]>>>16,i[1],i[0]<<16|i[3]>>>16,i[2],i[1]<<16|i[0]>>>16,i[3],i[2]<<16|i[1]>>>16],g=this._C=[i[2]<<16|i[2]>>>16,i[0]&4294901760|i[1]&65535,i[3]<<16|i[3]>>>16,i[1]&4294901760|i[2]&65535,i[0]<<16|i[0]>>>16,i[2]&4294901760|i[3]&65535,i[1]<<16|i[1]>>>16,i[3]&4294901760|i[0]&65535];this._b=0;for(var l=0;l<4;l++)s.call(this);for(var l=0;l<8;l++)g[l]^=c[l+4&7];if(r){var v=r.words,b=v[0],_=v[1],x=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,C=x>>>16|w&4294901760,M=w<<16|x&65535;g[0]^=x,g[1]^=C,g[2]^=w,g[3]^=M,g[4]^=x,g[5]^=C,g[6]^=w,g[7]^=M;for(var l=0;l<4;l++)s.call(this)}},_doProcessBlock:function(i,r){var l=this._X;s.call(this),f[0]=l[0]^l[5]>>>16^l[3]<<16,f[1]=l[2]^l[7]>>>16^l[5]<<16,f[2]=l[4]^l[1]>>>16^l[7]<<16,f[3]=l[6]^l[3]>>>16^l[1]<<16;for(var c=0;c<4;c++)f[c]=(f[c]<<8|f[c]>>>24)&16711935|(f[c]<<24|f[c]>>>8)&4278255360,i[r+c]^=f[c]},blockSize:128/32,ivSize:64/32});function s(){for(var i=this._X,r=this._C,l=0;l<8;l++)o[l]=r[l];r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<o[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<o[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<o[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<o[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<o[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<o[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<o[6]>>>0?1:0)|0,this._b=r[7]>>>0<o[7]>>>0?1:0;for(var l=0;l<8;l++){var c=i[l]+r[l],g=c&65535,v=c>>>16,b=((g*g>>>17)+g*v>>>15)+v*v,_=((c&4294901760)*c|0)+((c&65535)*c|0);u[l]=b^_}i[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,i[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,i[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,i[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,i[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,i[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,i[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,i[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}h.Rabbit=p._createHelper(n)}(),e.Rabbit})})(rabbit);var rabbitLegacy={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var h=e,m=h.lib,p=m.StreamCipher,d=h.algo,f=[],o=[],u=[],n=d.RabbitLegacy=p.extend({_doReset:function(){var i=this._key.words,r=this.cfg.iv,l=this._X=[i[0],i[3]<<16|i[2]>>>16,i[1],i[0]<<16|i[3]>>>16,i[2],i[1]<<16|i[0]>>>16,i[3],i[2]<<16|i[1]>>>16],c=this._C=[i[2]<<16|i[2]>>>16,i[0]&4294901760|i[1]&65535,i[3]<<16|i[3]>>>16,i[1]&4294901760|i[2]&65535,i[0]<<16|i[0]>>>16,i[2]&4294901760|i[3]&65535,i[1]<<16|i[1]>>>16,i[3]&4294901760|i[0]&65535];this._b=0;for(var g=0;g<4;g++)s.call(this);for(var g=0;g<8;g++)c[g]^=l[g+4&7];if(r){var v=r.words,b=v[0],_=v[1],x=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,C=x>>>16|w&4294901760,M=w<<16|x&65535;c[0]^=x,c[1]^=C,c[2]^=w,c[3]^=M,c[4]^=x,c[5]^=C,c[6]^=w,c[7]^=M;for(var g=0;g<4;g++)s.call(this)}},_doProcessBlock:function(i,r){var l=this._X;s.call(this),f[0]=l[0]^l[5]>>>16^l[3]<<16,f[1]=l[2]^l[7]>>>16^l[5]<<16,f[2]=l[4]^l[1]>>>16^l[7]<<16,f[3]=l[6]^l[3]>>>16^l[1]<<16;for(var c=0;c<4;c++)f[c]=(f[c]<<8|f[c]>>>24)&16711935|(f[c]<<24|f[c]>>>8)&4278255360,i[r+c]^=f[c]},blockSize:128/32,ivSize:64/32});function s(){for(var i=this._X,r=this._C,l=0;l<8;l++)o[l]=r[l];r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<o[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<o[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<o[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<o[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<o[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<o[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<o[6]>>>0?1:0)|0,this._b=r[7]>>>0<o[7]>>>0?1:0;for(var l=0;l<8;l++){var c=i[l]+r[l],g=c&65535,v=c>>>16,b=((g*g>>>17)+g*v>>>15)+v*v,_=((c&4294901760)*c|0)+((c&65535)*c|0);u[l]=b^_}i[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,i[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,i[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,i[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,i[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,i[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,i[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,i[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}h.RabbitLegacy=p._createHelper(n)}(),e.RabbitLegacy})})(rabbitLegacy);var blowfish={exports:{}};(function(t,a){(function(e,h,m){t.exports=h(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var h=e,m=h.lib,p=m.BlockCipher,d=h.algo;const f=16,o=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],u=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var n={pbox:[],sbox:[]};function s(g,v){let b=v>>24&255,_=v>>16&255,x=v>>8&255,w=v&255,C=g.sbox[0][b]+g.sbox[1][_];return C=C^g.sbox[2][x],C=C+g.sbox[3][w],C}function i(g,v,b){let _=v,x=b,w;for(let C=0;C<f;++C)_=_^g.pbox[C],x=s(g,_)^x,w=_,_=x,x=w;return w=_,_=x,x=w,x=x^g.pbox[f],_=_^g.pbox[f+1],{left:_,right:x}}function r(g,v,b){let _=v,x=b,w;for(let C=f+1;C>1;--C)_=_^g.pbox[C],x=s(g,_)^x,w=_,_=x,x=w;return w=_,_=x,x=w,x=x^g.pbox[1],_=_^g.pbox[0],{left:_,right:x}}function l(g,v,b){for(let M=0;M<4;M++){g.sbox[M]=[];for(let D=0;D<256;D++)g.sbox[M][D]=u[M][D]}let _=0;for(let M=0;M<f+2;M++)g.pbox[M]=o[M]^v[_],_++,_>=b&&(_=0);let x=0,w=0,C=0;for(let M=0;M<f+2;M+=2)C=i(g,x,w),x=C.left,w=C.right,g.pbox[M]=x,g.pbox[M+1]=w;for(let M=0;M<4;M++)for(let D=0;D<256;D+=2)C=i(g,x,w),x=C.left,w=C.right,g.sbox[M][D]=x,g.sbox[M][D+1]=w;return!0}var c=d.Blowfish=p.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var g=this._keyPriorReset=this._key,v=g.words,b=g.sigBytes/4;l(n,v,b)}},encryptBlock:function(g,v){var b=i(n,g[v],g[v+1]);g[v]=b.left,g[v+1]=b.right},decryptBlock:function(g,v){var b=r(n,g[v],g[v+1]);g[v]=b.left,g[v+1]=b.right},blockSize:64/32,keySize:128/32,ivSize:64/32});h.Blowfish=p._createHelper(c)}(),e.Blowfish})})(blowfish),function(t,a){(function(e,h,m){t.exports=h(core.exports,x64Core.exports,libTypedarrays.exports,encUtf16.exports,encBase64.exports,encBase64url.exports,md5.exports,sha1.exports,sha256.exports,sha224.exports,sha512.exports,sha384.exports,sha3.exports,ripemd160.exports,hmac.exports,pbkdf2.exports,evpkdf.exports,cipherCore.exports,modeCfb.exports,modeCtr.exports,modeCtrGladman.exports,modeOfb.exports,modeEcb.exports,padAnsix923.exports,padIso10126.exports,padIso97971.exports,padZeropadding.exports,padNopadding.exports,formatHex.exports,aes.exports,tripledes.exports,rc4.exports,rabbit.exports,rabbitLegacy.exports,blowfish.exports)})(commonjsGlobal,function(e){return e})}(cryptoJs),useCookies();const getToken=()=>sessionStorage.getItem("Authorization");useCookies();const service$1=axios.create({baseURL:"/api",timeout:5e4,headers:{"Content-Type":"application/json;charset=utf-8"}});service$1.interceptors.request.use(t=>{t.headers.Client="web";const a=getToken(),e=sessionStorage.getItem("companyId"),h=sessionStorage.getItem("postId");return a&&(t.headers.Authorization=getToken()),e&&(t.headers.Company=e),h&&(t.headers.Post=h),t},t=>Promise.reject(t)),service$1.interceptors.response.use(t=>{const{responseType:a}=t.config;if(a==="blob")return t;const{code:e,data:h,msg:m,message:p}=t.data;return e&&e!==200?(elementPlus.ElMessage({message:m||p||"\u7CFB\u7EDF\u51FA\u9519",type:"error",showClose:!0}),Promise.reject(m||p||"\u7CFB\u7EDF\u51FA\u9519")):h&&h.code&&h.code!==200?(elementPlus.ElMessage({message:m||h.msg||h.message||"\u7CFB\u7EDF\u51FA\u9519",type:"error",showClose:!0}),Promise.reject(h.msg||p)):t.data},t=>{if(console.log(t,"error"),t.response){const{message:a,status:e,data:h}=t.response;if(e===401&&(document.querySelector(".login-expired-notice")||elementPlus.ElMessage({message:"\u60A8\u7684\u4EE4\u724C\u65E0\u6548\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55",type:"error",showClose:!0})),e===401){document.querySelector(".login-expired-notice")||elementPlus.ElMessage({message:"\u60A8\u7684\u767B\u5F55\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55",type:"error",showClose:!0});return}elementPlus.ElMessage({message:(h==null?void 0:h.msg)||(h==null?void 0:h.message)||a||t.message||"\u7CFB\u7EDF\u51FA\u9519",type:"error",showClose:!0})}return Promise.reject(t.msg||t.message||t||"\u7CFB\u7EDF\u51FA\u9519")});var companyIcon="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDE2IDE2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDx0aXRsZT7nvJbnu4QgNzwvdGl0bGU+DQogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4NCiAgICAgICAgPGcgaWQ9IumAieaLqeS6uuWRmC3ot6jljZXkvY0t5aSa6YCJIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNzQwLCAtMjc5KSI+DQogICAgICAgICAgICA8ZyBpZD0i57yW57uELTEzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3MjAsIDI2NikiPg0KICAgICAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtNyIgdHJhbnNmb3J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Q3LDcuMTExMTExMTEgMy4yMjIyMjIyMiw3LjExMTExMTExIEwxMC4xMTExMTExLDcuMTExMTExMTEgQzEwLjY2MzM5NTksNy4xMTExMTExMSAxMS4xMTExMTExLDcuNTU4ODI2MzYgMTEuMTExMTExMSw4LjExMTExMTExIEwxMS4xMTExMTExLDkuNzc3Nzc3NzggTDExLjExMTExMTEsOS43Nzc3Nzc3OCIgaWQ9Iui3r+W+hCI+PC9wYXRoPg0KICAgICAgICAgICAgICAgICAgICAgICAgPGxpbmUgeDE9IjYuNjY2NjY2NjciIHkxPSI3LjExMTExMTExIiB4Mj0iNi42NjY2NjY2NyIgeTI9IjQuOTIyMTA5MTMiIGlkPSLot6/lvoQtNCIgZmlsbD0iI0U3QkI2NSI+PC9saW5lPg0KICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgPC9nPg0KICAgICAgICA8L2c+DQogICAgPC9nPg0KPC9zdmc+",personTree="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiIHZpZXdCb3g9IjAgMCA2IDYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+DQogICAgPHRpdGxlPue8lue7hCA35aSH5Lu9IDg8L3RpdGxlPg0KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIGlkPSLpgInmi6nkurrlkZgt6Leo5Y2V5L2NLeWkmumAiSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTc3MCwgLTQxMCkiIGZpbGw9IiNFNUU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1NjgzNSwxNy44NTU5Nzg3IEMxMy44ODk4OTgxLDE3Ljg1NTk3ODcgMTMuNzgwMTQxMSwxNy45NDExMzU3IDEzLjc0ODgxMjYsMTguMDYyODkyNiBMMTIuOTg2NzI4MiwyMS4wMjY5NzMxIEMxMi45NzIwMjgzLDIxLjA4NDEwMTUgMTIuOTc2MDk5NywyMS4xNDQ0NDQzIDEyLjk5ODI1NjgsMjEuMTk5MTI5OSBMMTMuNzMyMjY5OCwyMy4wMDk0MTI0IEMxMy43NzQ0NDExLDIzLjExMzM4MzYgMTMuODc1NDEyNCwyMy4xODEzOTc4IDEzLjk4NzYxMjIsMjMuMTgxMzk3OCBMMTQuNTc5MTI1NCwyMy4xODEzOTc4IEMxNC42OTEyODIzLDIzLjE4MTM5NzggMTQuNzkyMjk2NCwyMy4xMTMzODM2IDE0LjgzNDQ2NzgsMjMuMDA5NDEyNCBMMTUuNTY4NDgwOCwyMS4xOTkxMjk5IEMxNS41OTA2Mzc5LDIxLjE0NDQ0NDMgMTUuNTk0NjY2NCwyMS4wODQxMDE1IDE1LjU4MDAwOTMsMjEuMDI2OTczMSBMMTQuODE3OTI1LDE4LjA2Mjg5MjYgQzE0Ljc4NjU5NjUsMTcuOTQxMTM1NyAxNC42NzY3OTY2LDE3Ljg1NTk3ODcgMTQuNTUxMDU0LDE3Ljg1NTk3ODciIGlkPSJGaWxsLTE1IiBmaWxsPSIjQTNBREMzIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=",personTreeItem_vue_vue_type_style_index_0_lang="",personTreeItem_vue_vue_type_style_index_1_scoped_true_lang="";const _sfc_main$n={name:"person-tree-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{dialogVisible:!1,fieldModel:null,oldFieldValue:null,rules:[],treeData:[],defaultProps:{children:"children",label:"name"},checkedNodes:[],treeRef:null,defaultExpandedKeys:[],currentNodeKey:null,search:""}},computed:{displayModel:{get(){return this.fieldModel!=null?this.fieldModel:[]},set(t){this.fieldModel=t}},widgetStyle(){return{width:"100%"}}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted(),this.getTreeData()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleRemoveTag(t,a){if(this.field.options.disabled)return;const e=Array.isArray(this.fieldModel)?this.fieldModel:[];let h;t!=null&&typeof a=="number"&&a>=0?(h=deepClone(e),h.splice(a,0,t)):h=deepClone(e),this.oldFieldValue=h,this.syncUpdateFormModel(e),this.emitFieldDataChange(e,this.oldFieldValue),this.triggerEvent("onRemoveTag",t,e,a),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},getTreeData(){const t=this.field.options.treeParams?JSON.parse(this.field.options.treeParams):{};if(t.isNeedDeptId){const a=localStorage.getItem("userInfo")||"";t.deptIds=a?[JSON.parse(a).deptId]:[]}service$1({method:"post",url:"/unified-system/sysCompany/fullTree",data:je({companyId:sessionStorage.getItem("companyId")},t)}).then(({data:a})=>{this.treeData=e(a);function e(h){var m;for(const p of h)p.nodeKey=p.joinUserId||p.id,p.children&&((m=p.children)==null?void 0:m.length)&&e(p.children);return h}this.$nextTick(()=>{this.applyTreeFilter()})})},filterNode(t,a){if(t==null||String(t).trim()==="")return!0;const e=String(t).trim().toLowerCase(),h=(a.name||"").toLowerCase();return(a.postName||"").toLowerCase(),h.includes(e)},applyTreeFilter(){this.$refs.treeRef&&typeof this.$refs.treeRef.filter=="function"&&this.$refs.treeRef.filter(this.search)},renderContent(t,{node:a,data:e}){return t("div",{class:"custom-tree-node"},[a.level===1&&t("img",{src:companyIcon,alt:""}),a.level===2&&t("img",{src:deptIcon,alt:""}),a.level===3&&t("img",{src:personTree,alt:""}),a.level===3&&t("div",{class:"avatar mr-6px",style:{backgroundImage:`url(${e.avatarUrl||personIcon})`}}),[t("div",{class:a.level===1?"text-#1D2129":"text-#4E5969 ",style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,width:"80%"}},e.postName?`${a.label}\uFF08${e.postName}\uFF09`:a.label),a.level===3&&!this.field.options.multiple&&t("div",{class:`personRadio-checked-icon ${(e==null?void 0:e.nodeKey)===this.currentNodeKey?"personRadio-checked":""}`})]])},handleClick(){this.getTreeData(),this.dialogVisible=!0,this.triggerEvent("onOpen"),this.$nextTick(()=>{this.field.options.multiple?this.fieldModel&&this.fieldModel.length>0?(this.$refs.treeRef.setCheckedKeys(this.fieldModel.map(t=>t.nodeKey)),this.defaultExpandedKeys=this.fieldModel.map(t=>t.nodeKey)):(this.$refs.treeRef.setCheckedKeys([]),this.defaultExpandedKeys=[]):(this.currentNodeKey=this.fieldModel&&this.fieldModel[0]?this.fieldModel[0].nodeKey:null,this.defaultExpandedKeys=this.currentNodeKey?[this.currentNodeKey]:[]),this.applyTreeFilter()})},handleNodeClick(t,a){this.field.options.multiple||(this.currentNodeKey=t.nodeKey)},handleCheck(){},handleConfirm(){var a;this.dialogVisible=!1,this.$nextTick(()=>{this.$refs.inputTagRef.blur()}),this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null;let t=[];if(this.field.options.multiple)t=(((a=this.$refs.treeRef)==null?void 0:a.getCheckedNodes())||[]).filter(e=>e.joinUserId).map(e=>({postName:e.postName,joinUserId:e.joinUserId,name:e.name,id:e.id,nodeKey:e.nodeKey,avatar:e.avatarUrl}));else{const e=this.currentNodeKey;if(e&&this.$refs.treeRef){const h=this.$refs.treeRef.getNode(e),m=h==null?void 0:h.data;(m==null?void 0:m.joinUserId)&&(t=[{joinUserId:m.joinUserId,name:m.name,id:m.id,nodeKey:m.nodeKey,avatar:m.avatarUrl,postName:m.postName}])}}this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",t),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},handleCancel(){this.dialogVisible=!1,this.triggerEvent("onCancel"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()]),this.$nextTick(()=>{this.$refs.inputTagRef.blur()})},handleClose(){this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(t,...a){var h,m;const e=(m=(h=this.field)==null?void 0:h.options)==null?void 0:m[t];if(e)try{if(t==="onConfirm"&&a.length>0){const p=a[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,p,p,p)}else if(t==="onRemoveTag"&&a.length>=2){const p=a[0],d=a[1],f=a[2];new Function("removedItem","remainingNodes","remainingValue","selectedValue","removedIndex",e).call(this,p,d,d,d,f)}else if(a.length>0){const p=a.map((f,o)=>`arg${o}`).join(", ");new Function(p,e).apply(this,a)}else new Function(e).call(this)}catch(p){console.error(`Error executing ${t} handler:`,p),console.error("Handler code:",e),console.error("Args:",a)}},handleSearch(){this.$nextTick(()=>{this.applyTreeFilter()})}}},_hoisted_1$i={class:"person-tree-widget__trigger"},_hoisted_2$e={class:"flex items-center"},_hoisted_3$d={class:"dialog-footer"};function _sfc_render$n(t,a,e,h,m,p){const d=vue.resolveComponent("el-input-tag"),f=vue.resolveComponent("el-input"),o=vue.resolveComponent("el-tree"),u=vue.resolveComponent("el-scrollbar"),n=vue.resolveComponent("el-button"),s=vue.resolveComponent("el-dialog"),i=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(i,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"person-tree-widget",style:vue.normalizeStyle(p.widgetStyle)},[vue.createElementVNode("div",_hoisted_1$i,[vue.createVNode(d,{modelValue:p.displayModel,"onUpdate:modelValue":a[0]||(a[0]=r=>p.displayModel=r),"tag-type":"success","tag-effect":"light",disabled:e.field.options.disabled,placeholder:"\u8BF7\u9009\u62E9\u4EBA\u5458",onClick:p.handleClick,ref:"inputTagRef",onRemoveTag:p.handleRemoveTag},{tag:vue.withCtx(({value:r})=>[vue.createElementVNode("div",_hoisted_2$e,[vue.createElementVNode("span",null,vue.toDisplayString(r.name),1)])]),_:1},8,["modelValue","disabled","onClick","onRemoveTag"])]),vue.createVNode(s,{modelValue:m.dialogVisible,"onUpdate:modelValue":a[2]||(a[2]=r=>m.dialogVisible=r),title:e.field.options.dialogTitle||"\u4EBA\u5458\u6811",width:"480px",onClose:p.handleClose,"body-class":"person-tree-dialog-body","header-class":"person-tree-dialog-header"},vue.createSlots({default:vue.withCtx(()=>[vue.createVNode(f,{modelValue:m.search,"onUpdate:modelValue":a[1]||(a[1]=r=>m.search=r),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u8FDB\u884C\u641C\u7D22",onInput:p.handleSearch,class:"pr-24px mb-30px"},null,8,["modelValue","onInput"]),vue.createVNode(u,{height:"514px",class:"pr-24px"},{default:vue.withCtx(()=>[vue.createVNode(o,{data:m.treeData,"show-checkbox":e.field.options.multiple,props:m.defaultProps,"render-content":p.renderContent,"node-key":"nodeKey",ref:"treeRef","default-expanded-keys":m.defaultExpandedKeys,"filter-node-method":p.filterNode,"highlight-current":!e.field.options.multiple,"current-node-key":m.currentNodeKey,onNodeClick:p.handleNodeClick,onCheck:p.handleCheck},null,8,["data","show-checkbox","props","render-content","default-expanded-keys","filter-node-method","highlight-current","current-node-key","onNodeClick","onCheck"])]),_:1})]),_:2},[e.field.options.hideFooter?void 0:{name:"footer",fn:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$d,[vue.createVNode(n,{onClick:p.handleCancel,size:"default"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.cancelText||"\u53D6\u6D88"),1)]),_:1},8,["onClick"]),vue.createVNode(n,{type:"primary",onClick:p.handleConfirm,size:"default"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.confirmText||"\u786E\u5B9A"),1)]),_:1},8,["onClick"])])]),key:"0"}]),1032,["modelValue","title","onClose"])],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var PersonTreeWidget=_export_sfc$1(_sfc_main$n,[["render",_sfc_render$n],["__scopeId","data-v-2f0d2d47"]]);const _sfc_main$m={name:"radio-other-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[],inputValue:"",radioValue:null}},computed:{widgetSize(){return this.field.options.size||"default"},options(){return[...this.field.options.optionItems||[],{value:"_RADIO_OTHER_",label:"\u5176\u4ED6"}]}},watch:{fieldModel:{handler(t){if(typeof t=="string"&&t.includes("_RADIO_OTHER_")){const[a,e]=t.split("&");this.radioValue=a||"_RADIO_OTHER_",this.inputValue=e}else this.radioValue=t,this.inputValue=""}},immediate:!0},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleChangeEvent(t){this.oldFieldValue=this.fieldModel,this.radioValue=t,this.inputValue="",t==="_RADIO_OTHER_"?(this.fieldModel=t,this.inputValue?this.syncUpdateFormModel(`${t}&${this.inputValue}`):this.syncUpdateFormModel(t)):(this.otherValue="",this.fieldModel=t,this.syncUpdateFormModel(t)),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleOtherValueChange(){if(this.radioValue==="_RADIO_OTHER_"){const t=this.inputValue?`${this.radioValue}&${this.inputValue}`:this.radioValue;this.oldFieldValue=this.fieldModel,this.syncUpdateFormModel(t),this.emitFieldDataChange(t,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])}}}};function _sfc_render$m(t,a,e,h,m,p){const d=vue.resolveComponent("el-radio"),f=vue.resolveComponent("el-radio-group"),o=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(f,{modelValue:m.radioValue,"onUpdate:modelValue":a[0]||(a[0]=n=>m.radioValue=n),class:vue.normalizeClass({"radio-group-block":e.field.options.displayStyle==="block"}),disabled:e.field.options.disabled,size:p.widgetSize,onChange:p.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(p.options,(n,s)=>(vue.openBlock(),vue.createBlock(d,{key:s,label:n.value,disabled:n.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createElementVNode("span",null,vue.toDisplayString(n.label),1)]),_:2},1032,["label","disabled","border","style"]))),128))]),_:1},8,["modelValue","class","disabled","size","onChange"]),m.radioValue==="_RADIO_OTHER_"?(vue.openBlock(),vue.createBlock(o,{key:0,modelValue:m.inputValue,"onUpdate:modelValue":a[1]||(a[1]=n=>m.inputValue=n),disabled:e.field.options.disabled,onInput:a[2]||(a[2]=n=>p.handleOtherValueChange()),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue","disabled"])):vue.createCommentVNode("",!0)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var radioOtherItem=_export_sfc$1(_sfc_main$m,[["render",_sfc_render$m]]);const _sfc_main$l={name:"select-other-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,otherValue:"",rules:[]}},computed:{widgetSize(){return this.field.options.size||"default"},allowDefaultFirstOption(){return!!this.field.options.filterable&&!!this.field.options.allowCreate},optionItems(){return[...this.field.options.optionItems||[],{value:"_SELECT_OTHER_",label:"\u5176\u4ED6"}]},remoteMethod(){if(!!this.field.options.remote&&!!this.field.options.onRemoteQuery)return this.remoteQuery}},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleChangeEvent(t){this.oldFieldValue=this.fieldModel,t==="_SELECT_OTHER_"?(this.fieldModel=t,this.otherValue?this.syncUpdateFormModel(`${t}${this.otherValue}`):this.syncUpdateFormModel(t)):(this.otherValue="",this.fieldModel=t,this.syncUpdateFormModel(t)),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleOtherValueChange(){if(this.fieldModel==="_SELECT_OTHER_"){const t=this.otherValue?`${this.fieldModel}${this.otherValue}`:this.fieldModel;this.oldFieldValue=this.fieldModel,this.syncUpdateFormModel(t),this.emitFieldDataChange(t,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])}}}};function _sfc_render$l(t,a,e,h,m,p){const d=vue.resolveComponent("el-option"),f=vue.resolveComponent("el-select"),o=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(f,{ref:"fieldEditor",modelValue:m.fieldModel,"onUpdate:modelValue":a[0]||(a[0]=n=>m.fieldModel=n),class:"full-width-input",disabled:e.field.options.disabled,size:p.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":p.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":p.remoteMethod,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:p.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(p.optionItems,n=>(vue.openBlock(),vue.createBlock(d,{key:n.value,label:n.label,value:n.value,disabled:n.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","disabled","size","clearable","filterable","allow-create","default-first-option","automatic-dropdown","multiple","multiple-limit","placeholder","remote","remote-method","onFocus","onBlur","onChange"]),m.fieldModel==="_SELECT_OTHER_"?(vue.openBlock(),vue.createBlock(o,{key:0,modelValue:m.otherValue,"onUpdate:modelValue":a[1]||(a[1]=n=>m.otherValue=n),placeholder:"\u8BF7\u8F93\u5165\u5176\u4ED6\u9009\u9879",onChange:p.handleOtherValueChange,class:"mt-10px"},null,8,["modelValue","onChange"])):vue.createCommentVNode("",!0)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var selectOtherItem=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$l]]),meetingRoomItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$k={name:"meeting-room-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,Loading:loading},data(){return{oldFieldValue:null,fieldModel:null,rules:[],popoverWidth:0,roomList:[],loading:!1,popoverVisible:!1}},computed:{widgetSize(){return this.field.options.size||"default"},roomValue(){if(this.field.options.allowMultiple)return!this.fieldModel||!Array.isArray(this.fieldModel)||this.fieldModel.length===0?"":this.roomList.filter(a=>this.fieldModel.some(e=>String(e)===String(a.id))).map(a=>a.roomName).join("\u3001");{const t=this.roomList.find(a=>String(a.id)===String(this.fieldModel));return t?t.roomName:""}}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted(),this.$nextTick(()=>{this.updatePopoverWidth()})},beforeUnmount(){this.unregisterFromRefList()},methods:{handleSelect(t){return this.field.options.allowMultiple?this.fieldModel&&Array.isArray(this.fieldModel)&&this.fieldModel.length?this.fieldModel.some(a=>String(a)===String(t.id)):!1:String(this.fieldModel)===String(t.id)},handleChangeEvent(t){this.oldFieldValue=this.fieldModel,this.fieldModel=t,this.syncUpdateFormModel(t),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updatePopoverWidth(){this.$refs.inputRef&&this.$refs.inputRef.$el&&(this.popoverWidth=this.$refs.inputRef.$el.offsetWidth||0)},handlePopoverShow(){this.field.options.remoteUrl&&this.fetchRoomList()},fetchRoomList(){!this.field.options.remoteUrl||(this.loading=!0,this.roomList=[],service$1.get(this.field.options.remoteUrl).then(t=>{let a=t;t&&t.data&&(a=t.data),Array.isArray(a)?this.roomList=a:a&&Array.isArray(a.data)?this.roomList=a.data:a&&Array.isArray(a.list)?this.roomList=a.list:this.roomList=[]}).catch(t=>{console.error("\u83B7\u53D6\u4F1A\u8BAE\u5BA4\u5217\u8868\u5931\u8D25:",t),this.roomList=[]}).finally(()=>{this.loading=!1}))},handleSelectRoom({id:t}){if(this.oldFieldValue=this.fieldModel,this.field.options.allowMultiple){this.fieldModel||(this.fieldModel=[]);const a=String(t),e=this.fieldModel.findIndex(h=>String(h)===a);e!==-1?this.fieldModel.splice(e,1):this.fieldModel.push(t)}else this.fieldModel=t,this.popoverVisible=!1;this.syncUpdateFormModel(this.fieldModel),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])}}},_hoisted_1$h={key:0,class:"empty-wrap"},_hoisted_2$d={key:1,class:"room-wrap"},_hoisted_3$c=["onClick"],_hoisted_4$a={class:"select-icon"},_hoisted_5$8={class:"room-item-name"},_hoisted_6$8={key:0,class:"room-item-capacity"},_hoisted_7$7={key:1,class:"room-item-equipment"};function _sfc_render$k(t,a,e,h,m,p){const d=vue.resolveComponent("el-input"),f=vue.resolveComponent("el-empty"),o=vue.resolveComponent("Select"),u=vue.resolveComponent("el-icon"),n=vue.resolveComponent("el-popover"),s=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(s,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(n,{visible:m.popoverVisible,"onUpdate:visible":a[1]||(a[1]=i=>m.popoverVisible=i),trigger:"click",placement:"top-start",width:m.popoverWidth,onShow:p.handlePopoverShow},{reference:vue.withCtx(()=>[vue.createVNode(d,{modelValue:p.roomValue,"onUpdate:modelValue":a[0]||(a[0]=i=>p.roomValue=i),class:"full-width-input",disabled:e.field.options.disabled,size:p.widgetSize,ref:"inputRef",readonly:"",placeholder:e.field.options.placeholder||"\u8BF7\u9009\u62E9\u4F1A\u8BAE\u5BA4"},null,8,["modelValue","disabled","size","placeholder"])]),default:vue.withCtx(()=>[vue.createElementVNode("div",null,[m.roomList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$h,[vue.createVNode(f,{description:"\u6682\u65E0\u6570\u636E"})])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$d,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.roomList,i=>{var r;return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["room-item",{selected:e.field.options.allowMultiple?(r=m.fieldModel)==null?void 0:r.includes(i.id):m.fieldModel===i.id}]),key:i.id||i.value,onClick:l=>p.handleSelectRoom(i)},[vue.withDirectives(vue.createElementVNode("div",_hoisted_4$a,[vue.createVNode(u,null,{default:vue.withCtx(()=>[vue.createVNode(o)]),_:1})],512),[[vue.vShow,p.handleSelect(i)]]),vue.createElementVNode("div",_hoisted_5$8,[vue.createElementVNode("span",null,vue.toDisplayString(i.roomName),1)]),i.capacity?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$8,[vue.createElementVNode("span",null,"\u5BB9\u91CF\uFF1A"+vue.toDisplayString(i.capacity),1)])):vue.createCommentVNode("",!0),i.equipment?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$7,[vue.createElementVNode("span",null,"\u8BBE\u5907\uFF1A"+vue.toDisplayString(i.equipment),1)])):vue.createCommentVNode("",!0)],10,_hoisted_3$c)}),128))]))])]),_:1},8,["visible","width","onShow"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var meetingRoomItem=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$k],["__scopeId","data-v-344c32a1"]]);const customSubFormSchema={type:"custom-sub-form",category:"container",icon:"sub-form",widgetList:[],options:{name:"",label:"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355",labelAlign:"",labelWidth:null,hidden:!1,disabled:!1,showBlankRow:!0,showRowNumber:!0,customClass:"",onSubFormRowChange:"",onSubFormRowAdd:"",onSubFormRowInsert:"",onSubFormRowDelete:""}};var customSubFormWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$j={name:"custom-sub-form-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:gt(je(je({ContainerWrapper},comps$1),ContainerWidgets),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{previewRows:[],actionDisabled:!1}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{checkContainerMove(t){return this.designer.checkWidgetMove(t)},addSubFormRow(){if(!this.widget.widgetList||this.widget.widgetList.length===0){this.$message.warning("\u8BF7\u5148\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D");return}this.previewRows.push(this.previewRows.length)},deletePreviewRow(t){this.previewRows.splice(t,1)}}},_hoisted_1$g={class:"sub-form-header"},_hoisted_2$c={class:"sub-form-label"},_hoisted_3$b={class:"group-header"},_hoisted_4$9={class:"group-title"},_hoisted_5$7={key:0,class:"row-number-span"},_hoisted_6$7={key:1,class:"row-number-span"},_hoisted_7$6={class:"group-actions"},_hoisted_8$4={class:"group-content"},_hoisted_9$3={class:"form-widget-list"},_hoisted_10$2={key:0,class:"empty-hint"};function _sfc_render$j(t,a,e,h,m,p){const d=vue.resolveComponent("svg-icon"),f=vue.resolveComponent("el-button"),o=vue.resolveComponent("draggable"),u=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-sub-form-container",[p.selected?"selected":"",p.customClass]]),onClick:a[1]||(a[1]=vue.withModifiers(n=>t.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("div",_hoisted_1$g,[vue.createElementVNode("span",_hoisted_2$c,vue.toDisplayString(e.widget.options.label||"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"),1)]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.previewRows,(n,s)=>(vue.openBlock(),vue.createElementBlock("div",{class:"preview-group-row",key:"preview-"+s},[vue.createElementVNode("div",_hoisted_3$b,[vue.createElementVNode("div",_hoisted_4$9,[e.widget.options.showRowNumber?(vue.openBlock(),vue.createElementBlock("span",_hoisted_5$7,vue.toDisplayString(e.widget.options.label)+" "+vue.toDisplayString(s+1)+" \u7EC4",1)):(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$7,"\u8868\u5355\u7EC4"))]),vue.createElementVNode("div",_hoisted_7$6,[vue.createVNode(f,{size:"small",type:"danger",onClick:i=>p.deletePreviewRow(s),title:"\u5220\u9664\u7EC4"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-delete"}),a[2]||(a[2]=vue.createTextVNode(" \u5220\u9664 ",-1))]),_:1},8,["onClick"])])]),vue.createElementVNode("div",_hoisted_8$4,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,(i,r)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(i.type+"-widget"),{key:i.id+"preview"+s+"-"+r,field:i,designer:e.designer,"parent-list":e.widget.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))),128))])]))),128)),vue.createElementVNode("div",{class:vue.normalizeClass(["drag-area",{"has-widgets":e.widget.widgetList&&e.widget.widgetList.length>0}])},[vue.createVNode(o,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:a[0]||(a[0]=n=>t.onContainerDragAdd(n,e.widget.widgetList)),onUpdate:t.onContainerDragUpdate,move:p.checkContainerMove}),{item:vue.withCtx(({element:n,index:s})=>[vue.createElementVNode("div",_hoisted_9$3,[n.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(n.type+"-widget"),{widget:n,designer:e.designer,key:n.id,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(n.type+"-widget"),{field:n,designer:e.designer,key:n.id,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$2," \u62D6\u62FD\u4EFB\u610F\u7EC4\u4EF6\u5230\u6B64\u5904 ")):vue.createCommentVNode("",!0)],2)],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CustomSubFormWidget=_export_sfc$1(_sfc_main$j,[["render",_sfc_render$j],["__scopeId","data-v-787fff1a"]]),customSubFormItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$i={name:"custom-sub-form-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:gt(je({ContainerItemWrapper},comps$1),{SvgIcon}),props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{rowIdData:[],fieldSchemaData:[],actionDisabled:!1}},computed:{customClass(){return!this.widget||!this.widget.options?"":this.widget.options.customClass||""},formModel:{cache:!1,get(){return this.globalModel.formModel}}},created(){this.initRefList(),this.registerSubFormToRefList(),this.initRowIdData(!0),this.$nextTick(()=>{this.rowIdData.length>0&&this.fieldSchemaData.length===0&&this.initFieldSchemaData()}),this.initEventHandler()},mounted(){this.rowIdData.length>0&&this.fieldSchemaData.length===0&&this.widget&&this.widget.widgetList&&this.widget.widgetList.length>0&&this.initFieldSchemaData(),this.handleSubFormFirstRowAdd()},watch:{"widget.widgetList":{handler(t,a){this.rowIdData.length>0&&this.fieldSchemaData.length===0&&t&&t.length>0&&this.initFieldSchemaData()},deep:!0,immediate:!1}},beforeUnmount(){this.unregisterFromRefList()},methods:{getComponentName(t){return t?t.type?t.category==="container"?t.type==="grid"?"vf-grid-item":t.type+"-item":t.type+"-widget":(console.error("getComponentName: subWidget.type is undefined",t),null):(console.error("getComponentName: subWidget is undefined"),null)},registerSubFormToRefList(){this.widget&&this.widget.type==="custom-sub-form"&&(this.sfRefList[this.widget.options.name]=this)},initRowIdData(t){if(!this.widget||this.widget.type!=="custom-sub-form")return;this.rowIdData.splice(0,this.rowIdData.length);let a=this.formModel[this.widget.options.name];!!a&&a.length>0?(a.forEach(()=>{this.rowIdData.push("id"+generateId())}),t&&setTimeout(()=>{this.handleSubFormRowChange(a)},800)):!!this.widget.options.showBlankRow&&this.widget.widgetList&&this.widget.widgetList.length>0&&this.addSubFormRow()},addToRowIdData(){this.rowIdData.push("id"+generateId())},insertToRowIdData(t){this.rowIdData.splice(t,0,"id"+generateId())},deleteFromRowIdData(t){this.rowIdData.splice(t,1)},getRowIdData(){return this.rowIdData},disableSubFormRow(t){!this.widget.widgetList||!this.rowIdData[t]||this.widget.widgetList.forEach(a=>{const e=a.options.name+"@row"+this.rowIdData[t],h=this.getWidgetRef(e);h&&typeof h.setDisabled=="function"&&h.setDisabled(!0)})},enableSubFormRow(t){!this.widget.widgetList||!this.rowIdData[t]||this.widget.widgetList.forEach(a=>{const e=a.options.name+"@row"+this.rowIdData[t],h=this.getWidgetRef(e);h&&typeof h.setDisabled=="function"&&h.setDisabled(!1)})},disableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((t,a)=>{this.disableSubFormRow(a)}),this.actionDisabled=!0,this.widget&&this.widget.options&&(this.widget.options.disabled=!0)},enableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((t,a)=>{this.enableSubFormRow(a)}),this.actionDisabled=!1,this.widget&&this.widget.options&&(this.widget.options.disabled=!1)},initFieldSchemaData(){if(!this.widget||this.widget.type!=="custom-sub-form")return;let t=this.rowIdData.length;if(this.fieldSchemaData.splice(0,this.fieldSchemaData.length),t>0&&this.widget.widgetList&&this.widget.widgetList.length>0)for(let a=0;a<t;a++){let e=[];this.widget.widgetList.forEach(h=>{e.push(this.cloneFieldSchema(h))}),this.fieldSchemaData.push(e)}},addToFieldSchemaData(t){if(!this.widget.widgetList||this.widget.widgetList.length===0)return;let a=[];this.widget.widgetList.forEach(e=>{a.push(this.cloneFieldSchema(e))}),t===void 0?(console.log(a,"fieldSchemas"),this.fieldSchemaData.push(a)):this.fieldSchemaData.splice(t,0,a)},deleteFromFieldSchemaData(t){this.fieldSchemaData.splice(t,1)},cloneFieldSchema(t){let a=deepClone(t);return a.id=t.type+generateId(),a},initEventHandler(){!this.widget||this.widget.type!=="custom-sub-form"||this.on$("setFormData",t=>{this.initRowIdData(!1),this.initFieldSchemaData();let a=t[this.widget.options.name]||[];setTimeout(()=>{this.handleSubFormRowChange(a)},800)})},handleSubFormFirstRowAdd(){if(!(!this.widget||this.widget.type!=="custom-sub-form")&&(this.rowIdData.length>0&&this.fieldSchemaData.length===0&&this.initFieldSchemaData(),!!this.widget.options.showBlankRow&&this.rowIdData.length===1)){let t=this.formModel[this.widget.options.name]||[];this.handleSubFormRowAdd(t,this.rowIdData[0]),this.handleSubFormRowChange(t)}},collectAllFields(t,a){!t||!Array.isArray(t)||t.forEach(e=>{e.formItemFlag&&e.options&&e.options.name&&(a[e.options.name]=e.options.defaultValue!==void 0?e.options.defaultValue:""),e.type==="grid"&&e.cols?e.cols.forEach(h=>{h.widgetList&&this.collectAllFields(h.widgetList,a)}):e.type==="table"&&e.rows?e.rows.forEach(h=>{h.cols&&h.cols.forEach(m=>{m.widgetList&&this.collectAllFields(m.widgetList,a)})}):e.type==="tab"&&e.tabs?e.tabs.forEach(h=>{h.widgetList&&this.collectAllFields(h.widgetList,a)}):(e.type==="grid-col"||e.type==="table-cell")&&e.widgetList?this.collectAllFields(e.widgetList,a):e.category==="container"&&e.widgetList&&this.collectAllFields(e.widgetList,a)})},addSubFormRow(){if(!this.widget.widgetList||this.widget.widgetList.length===0){this.$message.warning("\u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D");return}let t={};this.collectAllFields(this.widget.widgetList,t),this.formModel[this.widget.options.name]||(this.formModel[this.widget.options.name]=[]);let a=deepClone(this.formModel[this.widget.options.name]);console.log(t,"newSubFormDataRow"),a.push(t),this.addToRowIdData(),this.addToFieldSchemaData(),this.handleSubFormRowAdd(a,this.rowIdData[a.length-1]),this.handleSubFormRowChange(a)},insertSubFormRow(t){let a={};this.collectAllFields(this.widget.widgetList,a),this.formModel[this.widget.options.name]||(this.formModel[this.widget.options.name]=[]);let e=this.formModel[this.widget.options.name];e.splice(t,0,a),this.insertToRowIdData(t),this.addToFieldSchemaData(t),this.handleSubFormRowInsert(e,this.rowIdData[t]),this.handleSubFormRowChange(e)},deleteSubFormRow(t){this.$confirm("\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{if(!this.formModel[this.widget.options.name])return;let a=this.formModel[this.widget.options.name],e=deepClone(a[t]);a.splice(t,1),this.deleteFromRowIdData(t),this.deleteFromFieldSchemaData(t),this.handleSubFormRowDelete(a,e),this.handleSubFormRowChange(a)}).catch(()=>{})},handleSubFormRowChange(t){if(this.widget.options.onSubFormRowChange)try{new Function("subFormData",this.widget.options.onSubFormRowChange).call(this,t)}catch(a){console.error("\u6267\u884C\u5B50\u8868\u5355\u884C\u53D8\u5316\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",a)}},handleSubFormRowAdd(t,a){if(this.widget.options.onSubFormRowAdd)try{new Function("subFormData","newRowId",this.widget.options.onSubFormRowAdd).call(this,t,a)}catch(e){console.error("\u6267\u884C\u5B50\u8868\u5355\u6DFB\u52A0\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",e)}},handleSubFormRowInsert(t,a){if(this.widget.options.onSubFormRowInsert)try{new Function("subFormData","newRowId",this.widget.options.onSubFormRowInsert).call(this,t,a)}catch(e){console.error("\u6267\u884C\u5B50\u8868\u5355\u63D2\u5165\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",e)}},handleSubFormRowDelete(t,a){if(this.widget.options.onSubFormRowDelete)try{new Function("subFormData","deletedDataRow",this.widget.options.onSubFormRowDelete).call(this,t,a)}catch(e){console.error("\u6267\u884C\u5B50\u8868\u5355\u5220\u9664\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",e)}},getFieldSchemaDataForContainer(t,a,e){const h=this.fieldSchemaData[a]&&this.fieldSchemaData[a][e];if(!!h&&h.widgetList&&Array.isArray(h.widgetList))return gt(je({},h.widgetList),{disabled:this.widget.options.disabled})}}},_hoisted_1$f={class:"sub-form-header"},_hoisted_2$b={class:"sub-form-label"},_hoisted_3$a={class:"group-header"},_hoisted_4$8={class:"group-title"},_hoisted_5$6={key:0,class:"row-number-span"},_hoisted_6$6={key:1,class:"row-number-span"},_hoisted_7$5={class:"group-actions"},_hoisted_8$3={class:"group-content"},_hoisted_9$2={key:1,class:"field-loading",style:{color:"#909399","font-size":"12px",padding:"8px"}},_hoisted_10$1={key:1,class:"empty-hint"},_hoisted_11={key:0},_hoisted_12={key:1},_hoisted_13={key:0,class:"empty-hint"},_hoisted_14={key:1,class:"empty-hint"};function _sfc_render$i(t,a,e,h,m,p){const d=vue.resolveComponent("el-button"),f=vue.resolveComponent("svg-icon"),o=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(o,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-sub-form-container",p.customClass])},[vue.createElementVNode("div",_hoisted_1$f,[vue.createElementVNode("span",_hoisted_2$b,vue.toDisplayString(e.widget.options.label||"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"),1)]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.rowIdData,(u,n)=>(vue.openBlock(),vue.createElementBlock("div",{class:"form-group-row",key:u},[vue.createElementVNode("div",_hoisted_3$a,[vue.createElementVNode("div",_hoisted_4$8,[e.widget.options.showRowNumber?(vue.openBlock(),vue.createElementBlock("span",_hoisted_5$6,vue.toDisplayString(e.widget.options.label||"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355")+" "+vue.toDisplayString(n+1),1)):(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$6,"\u8868\u5355\u7EC4"))]),vue.createElementVNode("div",_hoisted_7$5,[n>0&&!e.widget.options.disabled?(vue.openBlock(),vue.createBlock(d,{key:0,size:"small",type:"danger",plain:"",onClick:s=>p.deleteSubFormRow(n),title:"\u5220\u9664\u7EC4"},{default:vue.withCtx(()=>[...a[0]||(a[0]=[vue.createTextVNode(" \u5220\u9664 ",-1)])]),_:1},8,["onClick"])):vue.createCommentVNode("",!0)])]),vue.createElementVNode("div",_hoisted_8$3,[e.widget&&e.widget.widgetList&&e.widget.widgetList.length>0?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.widget.widgetList,(s,i)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:s?s.id+"gc"+u+"-"+i:"gc"+u+"-"+i},[s&&s.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(p.getComponentName(s)),{key:0,widget:s,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"sub-form-row-index":n,"sub-form-row-id":u,"sub-form-col-index":i,subFormDisabled:e.widget.options.disabled,"field-schema-data":p.getFieldSchemaDataForContainer(s,n,i)},null,8,["widget","parent-list","index-of-parent-list","parent-widget","sub-form-row-index","sub-form-row-id","sub-form-col-index","subFormDisabled","field-schema-data"])):s?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[m.fieldSchemaData&&m.fieldSchemaData[n]&&m.fieldSchemaData[n][i]?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(p.getComponentName(s)),{key:0,field:m.fieldSchemaData[n][i],"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"sub-form-row-id":u,"sub-form-row-index":n,"sub-form-col-index":i,"sub-form-disabled":e.widget.options.disabled},null,8,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index","sub-form-disabled"])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$2," \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))],64)):vue.createCommentVNode("",!0)],64))),128)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$1,[e.widget?!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_12," \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")):vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_11,"\u7EC4\u4EF6\u672A\u521D\u59CB\u5316"))]))])]))),128)),!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_13," \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")):m.rowIdData.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_14,' \u70B9\u51FB"\u6DFB\u52A0"\u6309\u94AE\u6DFB\u52A0\u6570\u636E\u884C ')):vue.createCommentVNode("",!0),e.widget.options.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(d,{key:2,disabled:m.actionDisabled,type:"primary",plain:"",class:"action-button",onClick:p.addSubFormRow},{default:vue.withCtx(()=>[vue.createVNode(f,{"icon-class":"el-plus"}),a[1]||(a[1]=vue.createTextVNode(" \u6DFB\u52A0 ",-1))]),_:1},8,["disabled","onClick"]))],2)),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:1},8,["widget"])}var CustomSubFormItem=_export_sfc$1(_sfc_main$i,[["render",_sfc_render$i],["__scopeId","data-v-6bd07e4e"]]);const customTableCellSchema={type:"custom-table-cell",category:"container",icon:"table-cell",internal:!0,widgetList:[],merged:!1,options:{name:"",cellWidth:"",cellHeight:"",colspan:1,rowspan:1,wordBreak:!1,customClass:""}},customTableSchema={type:"custom-table",category:"container",icon:"table",rows:[],options:{name:"",label:"\u81EA\u5B9A\u4E49\u8868\u683C",hidden:!1,customClass:"",onTableRowAdd:"",onTableRowInsert:"",onTableRowDelete:"",onTableRowChange:""}};var customTableCellWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$h={name:"custom-table-cell-widget",componentName:"CustomTableCellWidget",mixins:[i18n$1,refMixinDesign],inject:["refList"],components:gt(je(je({},comps$1),ContainerWidgets),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,rowIndex:Number,colIndex:Number,rowLength:Number,colLength:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{selectWidget(t){this.designer.setSelected(t)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},checkContainerMove(t){return this.designer.checkWidgetMove(t)},onTableDragAdd(t,a){const e=t.newIndex;a[e]&&this.designer.setSelected(a[e]),this.designer.emitHistoryChange()},onTableDragUpdate(){this.designer.emitHistoryChange()},handleTableCellCommand(t){t==="insertLeftCol"?this.insertLeftCol():t==="insertRightCol"?this.insertRightCol():t==="insertAboveRow"?this.insertAboveRow():t==="insertBelowRow"?this.insertBelowRow():t==="deleteCol"?this.deleteWholeCol():t==="deleteRow"&&this.deleteWholeRow()},insertLeftCol(){this.insertTableCol(!0)},insertRightCol(){this.insertTableCol(!1)},insertAboveRow(){this.insertTableRow(!0)},insertBelowRow(){this.insertTableRow(!1)},insertTableCol(t){let a=t?this.colIndex:this.colIndex+1;if(!t){let e=a;for(;e<this.colLength;){if(this.parentWidget.rows[this.rowIndex]&&this.parentWidget.rows[this.rowIndex].cols[e]&&!this.parentWidget.rows[this.rowIndex].cols[e].merged){a=e;break}e++}e>=this.colLength&&(a=this.colLength)}this.parentWidget.rows.forEach(e=>{let h=deepClone(this.designer.getContainerByType("custom-table-cell"));h.id="custom-table-cell-"+generateId(),h.options.name=h.id,h.merged=!1,h.options.colspan=1,h.options.rowspan=1,h.widgetList.length=0,e.cols.splice(a,0,h)}),this.designer.emitHistoryChange()},insertTableRow(t){let a=t?this.rowIndex:this.rowIndex+1;if(!t){let h=a;for(;h<this.rowLength;){if(this.parentWidget.rows[h]&&this.parentWidget.rows[h].cols[this.colIndex]&&!this.parentWidget.rows[h].cols[this.colIndex].merged){a=h;break}h++}h>=this.rowLength&&(a=this.rowLength)}let e=deepClone(this.parentWidget.rows[this.rowIndex]);e.id="custom-table-row-"+generateId(),e.merged=!1,e.cols.forEach(h=>{h.id="custom-table-cell-"+generateId(),h.options.name=h.id,h.merged=!1,h.options.colspan=1,h.options.rowspan=1,h.widgetList.length=0}),this.parentWidget.rows.splice(a,0,e),this.designer.emitHistoryChange()},deleteWholeCol(){if(this.colLength===1){this.$message.warning("\u81F3\u5C11\u4FDD\u7559\u4E00\u5217");return}this.parentWidget.rows.forEach(t=>{t.cols.splice(this.colIndex,1)}),this.designer.emitHistoryChange()},deleteWholeRow(){if(this.rowLength===1){this.$message.warning("\u81F3\u5C11\u4FDD\u7559\u4E00\u884C");return}this.parentWidget.rows.splice(this.rowIndex,1),this.designer.emitHistoryChange()}}},_hoisted_1$e=["colspan","rowspan"],_hoisted_2$a={class:"form-widget-list"},_hoisted_3$9={key:0,class:"custom-table-cell-action"},_hoisted_4$7={title:"\u5355\u5143\u683C\u8BBE\u7F6E"},_hoisted_5$5={key:1,class:"custom-table-cell-handler"},_hoisted_6$5={key:2,class:"empty-hint"};function _sfc_render$h(t,a,e,h,m,p){const d=vue.resolveComponent("draggable"),f=vue.resolveComponent("svg-icon"),o=vue.resolveComponent("el-dropdown-item"),u=vue.resolveComponent("el-dropdown-menu"),n=vue.resolveComponent("el-dropdown");return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["custom-table-cell",[p.selected?"selected":"",p.customClass]]),style:vue.normalizeStyle({width:e.widget.options.cellWidth+"!important"||"",height:e.widget.options.cellHeight+"!important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"}),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,onClick:a[2]||(a[2]=vue.withModifiers(s=>p.selectWidget(e.widget),["stop"]))},[vue.createVNode(d,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:a[0]||(a[0]=s=>p.onTableDragAdd(s,e.widget.widgetList)),onUpdate:p.onTableDragUpdate,move:p.checkContainerMove}),{item:vue.withCtx(({element:s,index:i})=>[vue.createElementVNode("div",_hoisted_2$a,[s.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{widget:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{field:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="custom-table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$9,[vue.createElementVNode("i",{title:"\u9009\u62E9\u7236\u7EC4\u4EF6",onClick:a[1]||(a[1]=vue.withModifiers(s=>p.selectParentWidget(),["stop"]))},[vue.createVNode(f,{"icon-class":"el-back"})]),vue.createVNode(n,{trigger:"click",onCommand:p.handleTableCellCommand,size:"small"},{dropdown:vue.withCtx(()=>[vue.createVNode(u,null,{default:vue.withCtx(()=>[vue.createVNode(o,{command:"insertLeftCol"},{default:vue.withCtx(()=>[...a[3]||(a[3]=[vue.createTextVNode("\u5DE6\u4FA7\u63D2\u5165\u5217",-1)])]),_:1}),vue.createVNode(o,{command:"insertRightCol"},{default:vue.withCtx(()=>[...a[4]||(a[4]=[vue.createTextVNode("\u53F3\u4FA7\u63D2\u5165\u5217",-1)])]),_:1}),vue.createVNode(o,{command:"insertAboveRow"},{default:vue.withCtx(()=>[...a[5]||(a[5]=[vue.createTextVNode("\u4E0A\u65B9\u63D2\u5165\u884C",-1)])]),_:1}),vue.createVNode(o,{command:"insertBelowRow"},{default:vue.withCtx(()=>[...a[6]||(a[6]=[vue.createTextVNode("\u4E0B\u65B9\u63D2\u5165\u884C",-1)])]),_:1}),vue.createVNode(o,{command:"deleteCol",divided:""},{default:vue.withCtx(()=>[...a[7]||(a[7]=[vue.createTextVNode("\u5220\u9664\u6574\u5217",-1)])]),_:1}),vue.createVNode(o,{command:"deleteRow"},{default:vue.withCtx(()=>[...a[8]||(a[8]=[vue.createTextVNode("\u5220\u9664\u6574\u884C",-1)])]),_:1})]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("i",_hoisted_4$7,[vue.createVNode(f,{"icon-class":"el-menu"})])]),_:1},8,["onCommand"])])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="custom-table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$5,[...a[9]||(a[9]=[vue.createElementVNode("i",null,"\u5355\u5143\u683C",-1)])])):vue.createCommentVNode("",!0),!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$5," \u62D6\u62FD\u7EC4\u4EF6\u5230\u6B64\u5904 ")):vue.createCommentVNode("",!0)],14,_hoisted_1$e)}var CustomTableCellWidget=_export_sfc$1(_sfc_main$h,[["render",_sfc_render$h],["__scopeId","data-v-6e28297c"]]),customTableWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$g={name:"custom-table-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,CustomTableCellWidget},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList(),this.initDefaultTable()},methods:{initDefaultTable(){if(!this.widget.rows||this.widget.rows.length===0){let t={id:"custom-table-row-"+generateId(),merged:!1,cols:[]},a=deepClone(this.designer.getContainerByType("custom-table-cell"));a&&(a.id="custom-table-cell-"+generateId(),a.options.name=a.id,a.merged=!1,a.options.colspan=1,a.options.rowspan=1,a.widgetList.length=0,t.cols.push(a),this.widget.rows.push(t))}}}},_hoisted_1$d={class:"custom-table-layout"};function _sfc_render$g(t,a,e,h,m,p){const d=vue.resolveComponent("custom-table-cell-widget"),f=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(f,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-table-container",[p.selected?"selected":"",p.customClass]]),onClick:a[0]||(a[0]=vue.withModifiers(o=>t.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("table",_hoisted_1$d,[vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.rows,(o,u)=>(vue.openBlock(),vue.createElementBlock("tr",{key:o.id},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(o.cols,(n,s)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[n.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(d,{widget:n,designer:e.designer,key:n.id,"parent-list":e.widget.rows,"row-index":u,"row-length":e.widget.rows.length,"col-index":s,"col-length":o.cols.length,"parent-widget":e.widget},null,8,["widget","designer","parent-list","row-index","row-length","col-index","col-length","parent-widget"]))],64))),256))]))),128))])])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CustomTableWidget=_export_sfc$1(_sfc_main$g,[["render",_sfc_render$g],["__scopeId","data-v-5281c94a"]]),customTableCellItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$f={name:"custom-table-cell-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:je({},comps$1),props:{widget:Object,rowIndex:Number,colIndex:Number},inject:["refList","globalModel"],computed:{customClass(){return this.widget.options.customClass||""}}},_hoisted_1$c=["colspan","rowspan"];function _sfc_render$f(t,a,e,h,m,p){return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["custom-table-cell",p.customClass]),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,style:vue.normalizeStyle({width:e.widget.options.cellWidth+" !important"||"",height:e.widget.options.cellHeight+" !important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,(d,f)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:d.id},[d.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(d)),{widget:d,key:f,"parent-list":e.widget.widgetList,"index-of-parent-list":f,"parent-widget":e.widget},null,8,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(d.type+"-widget"),{field:d,designer:null,key:f,"parent-list":e.widget.widgetList,"index-of-parent-list":f,"parent-widget":e.widget},null,8,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),128))],14,_hoisted_1$c)}var CustomTableCellItem=_export_sfc$1(_sfc_main$f,[["render",_sfc_render$f],["__scopeId","data-v-188e7bf2"]]),customTableItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$e={name:"custom-table-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:{ContainerItemWrapper,CustomTableCellItem,SvgIcon},props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{rowIdData:[]}},computed:{customClass(){return this.widget.options.customClass||""},formModel:{cache:!1,get(){return this.globalModel.formModel}}},created(){this.initRefList(),this.initRowIdData(),this.initEventHandler()},beforeUnmount(){this.unregisterFromRefList()},methods:{initRowIdData(){!this.widget.rows||this.widget.rows.length===0||(this.rowIdData.splice(0,this.rowIdData.length),this.widget.rows.forEach(()=>{this.rowIdData.push("id"+generateId())}))},addToRowIdData(t){t===void 0?this.rowIdData.push("id"+generateId()):this.rowIdData.splice(t,0,"id"+generateId())},deleteFromRowIdData(t){this.rowIdData.splice(t,1)},cloneCellWithFields(t,a){const e=deepClone(t);return e.id="custom-table-cell-"+generateId(),e.options.name=e.id,e.widgetList&&e.widgetList.length>0&&(e.widgetList=e.widgetList.map(h=>{const m=deepClone(h);if(m.id=h.type+"-"+generateId(),m.options&&m.options.name){const p=m.options.name.split("@")[0];m.options.name=p+"@row"+a}return m})),e},addTableRow(){if(!this.widget.rows||this.widget.rows.length===0)return;this.addToRowIdData();const t=this.rowIdData[this.rowIdData.length-1],a=this.widget.rows[0],e={id:"custom-table-row-"+generateId(),merged:!1,cols:a.cols.map(h=>this.cloneCellWithFields(h,t))};this.widget.rows.push(e),this.initRowFormData(e,this.widget.rows.length-1),this.handleTableRowAdd(this.widget.rows,t),this.handleTableRowChange(this.widget.rows)},insertTableRow(t){if(!this.widget.rows||this.widget.rows.length===0)return;this.addToRowIdData(t);const a=this.rowIdData[t],e=this.widget.rows[0],h={id:"custom-table-row-"+generateId(),merged:!1,cols:e.cols.map(m=>this.cloneCellWithFields(m,a))};this.widget.rows.splice(t,0,h),this.initRowFormData(h,t),this.handleTableRowInsert(this.widget.rows,a),this.handleTableRowChange(this.widget.rows)},deleteTableRow(t){if(!this.widget.rows||t<0||t>=this.widget.rows.length)return;const a=deepClone(this.widget.rows[t]);this.widget.rows.splice(t,1),this.deleteFromRowIdData(t),this.handleTableRowDelete(this.widget.rows,a),this.handleTableRowChange(this.widget.rows)},initRowFormData(t,a){!t||!t.cols||t.cols.forEach(e=>{e.widgetList&&e.widgetList.length>0&&e.widgetList.forEach(h=>{if(h.formItemFlag&&h.options&&h.options.name){const m=h.options.name;this.formModel[m]===void 0&&(this.formModel[m]=h.options.defaultValue!==void 0?h.options.defaultValue:null)}})})},initEventHandler(){this.on$("setFormData",t=>{this.initRowIdData(),setTimeout(()=>{this.handleTableRowChange(this.widget.rows)},800)})},handleTableRowChange(t){if(this.widget.options.onTableRowChange)try{new Function("tableRows",this.widget.options.onTableRowChange).call(this,t)}catch(a){console.error("Error executing onTableRowChange handler:",a)}},handleTableRowAdd(t,a){if(this.widget.options.onTableRowAdd)try{new Function("tableRows","newRowId",this.widget.options.onTableRowAdd).call(this,t,a)}catch(e){console.error("Error executing onTableRowAdd handler:",e)}},handleTableRowInsert(t,a){if(this.widget.options.onTableRowInsert)try{new Function("tableRows","newRowId",this.widget.options.onTableRowInsert).call(this,t,a)}catch(e){console.error("Error executing onTableRowInsert handler:",e)}},handleTableRowDelete(t,a){if(this.widget.options.onTableRowDelete)try{new Function("tableRows","deletedRow",this.widget.options.onTableRowDelete).call(this,t,a)}catch(e){console.error("Error executing onTableRowDelete handler:",e)}}}},_hoisted_1$b={key:0,class:"table-actions"},_hoisted_2$9={class:"custom-table-layout"},_hoisted_3$8={key:0,class:"row-actions-cell"};function _sfc_render$e(t,a,e,h,m,p){const d=vue.resolveComponent("svg-icon"),f=vue.resolveComponent("el-button"),o=vue.resolveComponent("custom-table-cell-item"),u=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(u,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-table-container",p.customClass])},[e.widget.rows&&e.widget.rows.length>0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$b,[vue.createVNode(f,{type:"primary",size:"small",onClick:p.addTableRow,title:"\u6DFB\u52A0\u884C"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-plus"}),a[0]||(a[0]=vue.createTextVNode(" \u6DFB\u52A0\u884C ",-1))]),_:1},8,["onClick"])])):vue.createCommentVNode("",!0),vue.createElementVNode("table",_hoisted_2$9,[vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.rows,(n,s)=>(vue.openBlock(),vue.createElementBlock("tr",{key:m.rowIdData[s]||n.id},[e.widget.rows.length>0?(vue.openBlock(),vue.createElementBlock("td",_hoisted_3$8,[vue.createVNode(f,{type:"primary",size:"small",circle:"",onClick:i=>p.insertTableRow(s),title:"\u5728\u6B64\u884C\u524D\u63D2\u5165"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-plus"})]),_:1},8,["onClick"]),vue.createVNode(f,{type:"danger",size:"small",circle:"",onClick:i=>p.deleteTableRow(s),title:"\u5220\u9664\u6B64\u884C"},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-delete"})]),_:1},8,["onClick"])])):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(n.cols,(i,r)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(o,{widget:i,key:i.id+"@row"+(m.rowIdData[s]||""),"parent-list":e.widget.rows,"row-index":s,"col-index":r,"parent-widget":e.widget},null,8,["widget","parent-list","row-index","col-index","parent-widget"]))],64))),256))]))),128))])])],2)),[[vue.vShow,!e.widget.options.hidden]])]),_:1},8,["widget"])}var CustomTableItem=_export_sfc$1(_sfc_main$e,[["render",_sfc_render$e],["__scopeId","data-v-1aff2bd9"]]);const subTableSchema={type:"sub-table",category:"container",icon:"table",formItemFlag:!0,options:{name:"",label:"\u5B50\u8868\u683C",labelAlign:"",labelWidth:null,hidden:!1,disabled:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",columns:[],showIndex:!0,showOperation:!0,operationColumnWidth:"150",border:!0,stripe:!1,size:"default",maxHeight:"",defaultValue:[],onCreated:"",onMounted:"",onChange:"",onValidate:"",onRowAdd:"",onRowEdit:"",onRowDelete:""}};var subTableWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$d={name:"sub-table-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,SvgIcon},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{previewData:[],actionDisabled:!1}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},tableMaxHeight(){var a,e;const t=(e=(a=this.widget)==null?void 0:a.options)==null?void 0:e.maxHeight;return t!=null&&t!==""?t:void 0}},created(){this.initRefList(),this.initPreviewData()},watch:{"widget.options.columns":{handler(){this.initPreviewData()},deep:!0},"widget.options.defaultValue":{handler(){this.initPreviewData()},deep:!0}},methods:{initPreviewData(){if(this.widget.options.defaultValue&&Array.isArray(this.widget.options.defaultValue)&&this.widget.options.defaultValue.length>0)this.previewData=JSON.parse(JSON.stringify(this.widget.options.defaultValue));else if(this.widget.options.columns&&this.widget.options.columns.length>0){const t={};this.widget.options.columns.forEach(a=>{t[a.prop]="\u793A\u4F8B\u6570\u636E"}),this.previewData=[t]}else this.previewData=[]},addPreviewRow(){if(!this.widget.options.columns||this.widget.options.columns.length===0){this.$message.warning("\u8BF7\u5148\u914D\u7F6E\u8868\u683C\u5217");return}const t={};this.widget.options.columns.forEach(a=>{t[a.prop]=""}),this.previewData.push(t)},editPreviewRow(t){this.$message.info("\u8BBE\u8BA1\u5668\u4E2D\u4E0D\u652F\u6301\u7F16\u8F91\uFF0C\u8BF7\u5728\u8FD0\u884C\u671F\u4F7F\u7528")},deletePreviewRow(t){this.previewData.splice(t,1)}}},_hoisted_1$a={class:"sub-table-header"},_hoisted_2$8={class:"sub-table-label"},_hoisted_3$7={class:"table-preview"},_hoisted_4$6={class:"preview-cell"},_hoisted_5$4={class:"empty-hint"},_hoisted_6$4={key:0},_hoisted_7$4={key:1},_hoisted_8$2={key:0,class:"config-hint"};function _sfc_render$d(t,a,e,h,m,p){const d=vue.resolveComponent("svg-icon"),f=vue.resolveComponent("el-button"),o=vue.resolveComponent("el-table-column"),u=vue.resolveComponent("el-table"),n=vue.resolveComponent("el-alert"),s=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(s,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["sub-table-container",[p.selected?"selected":"",p.customClass]]),onClick:a[0]||(a[0]=vue.withModifiers(i=>t.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("div",_hoisted_1$a,[vue.createElementVNode("span",_hoisted_2$8,vue.toDisplayString(e.widget.options.label||"\u5B50\u8868\u683C"),1),vue.createVNode(f,{disabled:m.actionDisabled,round:"",type:"primary",size:"small",class:"action-button",onClick:vue.withModifiers(p.addPreviewRow,["stop"])},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":"el-plus"}),a[1]||(a[1]=vue.createTextVNode(" \u6DFB\u52A0\u884C ",-1))]),_:1},8,["disabled","onClick"])]),vue.createElementVNode("div",_hoisted_3$7,[vue.createVNode(u,{data:m.previewData,border:e.widget.options.border,stripe:e.widget.options.stripe,size:e.widget.options.size,"max-height":p.tableMaxHeight,style:{width:"100%"}},{empty:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_5$4,[e.widget.options.columns&&e.widget.options.columns.length>0?(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$4,' \u6682\u65E0\u6570\u636E\uFF0C\u70B9\u51FB"\u6DFB\u52A0\u884C"\u6309\u94AE\u6DFB\u52A0\u6570\u636E ')):(vue.openBlock(),vue.createElementBlock("span",_hoisted_7$4," \u8BF7\u5728\u53F3\u4FA7\u5C5E\u6027\u9762\u677F\u4E2D\u914D\u7F6E\u8868\u683C\u5217 "))])]),default:vue.withCtx(()=>[e.widget.options.showIndex?(vue.openBlock(),vue.createBlock(o,{key:0,type:"index",label:"\u5E8F\u53F7",width:"60",align:"center"})):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.options.columns,(i,r)=>(vue.openBlock(),vue.createBlock(o,{key:r,prop:i.prop,label:i.label,width:i.width,"min-width":i.minWidth,align:"center"},{default:vue.withCtx(({row:l})=>[vue.createElementVNode("span",_hoisted_4$6,vue.toDisplayString(l[i.prop]||"-"),1)]),_:2},1032,["prop","label","width","min-width"]))),128)),e.widget.options.showOperation?(vue.openBlock(),vue.createBlock(o,{key:1,label:"\u64CD\u4F5C",width:e.widget.options.operationColumnWidth,align:"center",fixed:"right"},{default:vue.withCtx(({$index:i})=>[vue.createVNode(f,{size:"small",type:"primary",link:"",onClick:vue.withModifiers(r=>p.editPreviewRow(i),["stop"])},{default:vue.withCtx(()=>[...a[2]||(a[2]=[vue.createTextVNode(" \u7F16\u8F91 ",-1)])]),_:1},8,["onClick"]),vue.createVNode(f,{size:"small",type:"danger",link:"",onClick:vue.withModifiers(r=>p.deletePreviewRow(i),["stop"])},{default:vue.withCtx(()=>[...a[3]||(a[3]=[vue.createTextVNode(" \u5220\u9664 ",-1)])]),_:1},8,["onClick"])]),_:1},8,["width"])):vue.createCommentVNode("",!0)]),_:1},8,["data","border","stripe","size","max-height"])]),!e.widget.options.columns||e.widget.options.columns.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$2,[vue.createVNode(n,{title:"\u63D0\u793A",type:"info",closable:!1,"show-icon":""},{default:vue.withCtx(()=>[...a[4]||(a[4]=[vue.createElementVNode("div",null,"\u8BF7\u5728\u53F3\u4FA7\u5C5E\u6027\u9762\u677F\u4E2D\u914D\u7F6E\u8868\u683C\u5217\uFF0C\u5305\u62EC\uFF1A\u5217\u540D\u3001\u5B57\u6BB5\u540D\u3001\u5217\u5BBD\u7B49",-1)])]),_:1})])):vue.createCommentVNode("",!0)],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var SubTableWidget=_export_sfc$1(_sfc_main$d,[["render",_sfc_render$d],["__scopeId","data-v-1fb729c8"]]),subTableItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$c={name:"sub-table-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:{ContainerItemWrapper,SvgIcon},props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{tableData:[],dialogVisible:!1,dialogTitle:"\u65B0\u589E",dialogFormData:{},dialogFormRules:{},editingIndex:-1,syncFromFormModel:!1}},computed:{formModel(){var t,a;return((a=(t=this.globalModel)==null?void 0:t.formModel)==null?void 0:a[this.widget.options.name])||[]},customClass(){return this.widget.options.customClass||""},labelClass(){return{"sub-table-label-text":!0,"label-left-align":this.widget.options.labelAlign==="left","label-center-align":this.widget.options.labelAlign==="center","label-right-align":this.widget.options.labelAlign==="right"}},tableMaxHeight(){var a,e;const t=(e=(a=this.widget)==null?void 0:a.options)==null?void 0:e.maxHeight;return t!=null&&t!==""?t:void 0}},watch:{formModel:{handler(t){this.syncFromFormModel=!0,t&&Array.isArray(t)?this.tableData=deepClone(t):t||(this.tableData=[]),this.$nextTick(()=>{this.syncFromFormModel=!1})},immediate:!0,deep:!0},tableData:{handler(t){this.syncFromFormModel||this.formModel!==t&&this.updateFormModel(t)},deep:!0}},created(){this.initRefList(),this.initTableData()},mounted(){this.initTableData()},beforeUnmount(){this.unregisterFromRefList()},methods:{updateFormModel(t){this.globalModel&&this.globalModel.formModel&&(this.globalModel.formModel[this.widget.options.name]=deepClone(t),this.dispatch("FieldWidget","field-value-changed",[this.widget.options.name,deepClone(t),this.formModel]))},initTableData(){this.fieldModel&&Array.isArray(this.fieldModel)?this.tableData=deepClone(this.fieldModel):this.widget.options.defaultValue&&Array.isArray(this.widget.options.defaultValue)?(this.tableData=deepClone(this.widget.options.defaultValue),this.updateFormModel(this.tableData)):(this.tableData=[],this.updateFormModel([]))},handleAddRow(){this.editingIndex=-1,this.dialogTitle="\u65B0\u589E",this.initDialogFormData(),this.dialogVisible=!0},handleEditRow(t,a){this.editingIndex=t,this.dialogTitle="\u7F16\u8F91",this.dialogFormData=deepClone(a),this.dialogFormData._columnOptions||(this.dialogFormData._columnOptions={}),this.dialogVisible=!0,this.$nextTick(()=>{this.widget.options.columns&&this.widget.options.columns.forEach(e=>{if(e.dependOn&&this.dialogFormData[e.dependOn]&&!(this.dialogFormData._columnOptions&&this.dialogFormData._columnOptions[e.prop]&&Array.isArray(this.dialogFormData._columnOptions[e.prop])&&this.dialogFormData._columnOptions[e.prop].length>0)){const m=this.widget.options.columns.find(p=>p.prop===e.dependOn);m&&this.handleColumnLinkage(e,m,this.dialogFormData[e.dependOn])}})})},handleDeleteRow(t){this.$confirm("\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E00\u884C\u5417\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{if(this.tableData.splice(t,1),this.updateFormModel(this.tableData),this.$message.success("\u5220\u9664\u6210\u529F"),this.widget.options.onRowDelete)try{new Function("rowIndex","rowData",this.widget.options.onRowDelete)(t,this.tableData[t])}catch(a){console.error("\u6267\u884C\u5220\u9664\u884C\u4E8B\u4EF6\u5931\u8D25:",a)}}).catch(()=>{})},initDialogFormData(){const t={};t._columnOptions={},this.widget.options.columns&&this.widget.options.columns.length>0&&this.widget.options.columns.forEach(a=>{t[a.prop]=a.defaultValue!==void 0?a.defaultValue:""}),this.dialogFormData=t,this.initDialogFormRules()},initDialogFormRules(){const t={};this.widget.options.columns&&this.widget.options.columns.length>0&&this.widget.options.columns.forEach(a=>{if(!a.prop)return;const e=[];a.required&&e.push({required:!0,message:a.requiredHint||`\u8BF7\u8F93\u5165${a.label}`,trigger:"blur"}),a.validation&&(FormValidators[a.validation]?e.push({validator:FormValidators[a.validation],trigger:["blur","change"],label:a.label,errorMsg:a.validationHint}):e.push({validator:FormValidators.regExp,trigger:["blur","change"],regExp:a.validation,label:a.label,errorMsg:a.validationHint})),e.length>0&&(t[a.prop]=e)}),this.dialogFormRules=t},getColumnOptions(t){if(this.dialogVisible&&this.dialogFormData._columnOptions){const a=this.dialogFormData._columnOptions[t.prop];if(a&&Array.isArray(a)&&a.length>0)return a}if(t.options&&Array.isArray(t.options)&&t.options.length>0)return t.options;if(t.dictCode&&t.dictCode.trim()){const a=t.dictCode.trim();let e=[];if(typeof window!="undefined"&&window.getDictData?e=window.getDictData(a)||[]:typeof window!="undefined"&&window.dictCache&&window.dictCache[a]&&(e=window.dictCache[a]||[]),e&&Array.isArray(e)&&e.length>0){const h=e.map(m=>({label:m.dictLabel||m.label||m.name||m.text||"",value:m.dictValue||m.value||m.code||"",disabled:m.disabled||!1}));return t.options=h,h}}return[]},handleDialogConfirm(){this.$refs.dialogFormRef.validate(t=>{if(t){const a=deepClone(this.dialogFormData);if(a._columnOptions,this.editingIndex===-1){if(this.tableData.push(a),this.$message.success("\u6DFB\u52A0\u6210\u529F"),this.widget.options.onRowAdd)try{new Function("rowData",this.widget.options.onRowAdd)(deepClone(a))}catch(e){console.error("\u6267\u884C\u6DFB\u52A0\u884C\u4E8B\u4EF6\u5931\u8D25:",e)}}else if(this.tableData[this.editingIndex]=a,this.$message.success("\u4FDD\u5B58\u6210\u529F"),this.widget.options.onRowEdit)try{new Function("rowIndex","rowData",this.widget.options.onRowEdit)(this.editingIndex,deepClone(a))}catch(e){console.error("\u6267\u884C\u7F16\u8F91\u884C\u4E8B\u4EF6\u5931\u8D25:",e)}this.updateFormModel(this.tableData),this.dialogVisible=!1}else this.$message.warning("\u8BF7\u586B\u5199\u5B8C\u6574\u4FE1\u606F")})},handleDialogClose(){var t;(t=this.$refs.dialogFormRef)==null||t.resetFields(),this.dialogFormData={},this.editingIndex=-1,this.dialogFormData._columnOptions&&(this.dialogFormData._columnOptions={})},getValue(){return this.tableData},setValue(t){Array.isArray(t)&&(this.tableData=deepClone(t),this.updateFormModel(this.tableData))},getTableValue(t,a,e){if(a.type==="select"){let h=[];if(t._columnOptions&&t._columnOptions[a.prop]&&Array.isArray(t._columnOptions[a.prop])?h=t._columnOptions[a.prop]:h=this.getColumnOptions(a),h&&h.length>0){const m=h.find(p=>p.value===t[a.prop]);return m?m.label:t[a.prop]}return t[a.prop]}return t[a.prop]},handleInputChange(t){if(!t||!this.widget.options.columns)return;const a=this.dialogFormData[t.prop];if(this.widget.options.columns.forEach(e=>{e.dependOn===t.prop&&e.type==="select"&&this.handleColumnLinkage(e,t,a)}),t.onChange&&t.onChange.trim())try{const e=h=>{Array.isArray(h)&&(t.options=h,t.optionsText!==void 0&&(t.optionsText=JSON.stringify(h,null,2)))};new Function("col","value","formData","setOptions",t.onChange)(t,a,this.dialogFormData,e)}catch(e){console.error(`\u6267\u884C\u5217 "${t.label||t.prop}" \u7684 onChange \u4E8B\u4EF6\u5931\u8D25:`,e)}},handleColumnLinkage(t,a,e){if(!(!t||!a||t.type!=="select")&&t.onDependChange&&t.onDependChange.trim())try{const h=this.dialogFormData[t.prop],m=(o,u=0)=>{Array.isArray(o)&&(this.dialogVisible?(this.dialogFormData._columnOptions||(this.dialogFormData._columnOptions={}),this.dialogFormData._columnOptions[t.prop]=[...o]):(t.options=o,t.optionsText!==void 0&&(t.optionsText=JSON.stringify(o,null,2))))},p=o=>{this.dialogVisible&&this.dialogFormData&&(this.dialogFormData[t.prop]=o)},d=()=>this.dialogFormData[t.prop],f=this.getColumnOptions(t);new Function("targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue",t.onDependChange)(t,a,e,this.dialogFormData,f,m,p,d)}catch(h){console.error(`\u6267\u884C\u5217 "${t.label||t.prop}" \u7684\u8054\u52A8\u4E8B\u4EF6\u5931\u8D25:`,h)}},handleSelectMounted(t,a){t&&a&&a.onMounted&&a.onMounted.trim()&&this.$nextTick(()=>{try{let e=this.getColumnOptions(a);const h=m=>{Array.isArray(m)&&(a.options=m,a.optionsText!==void 0&&(a.optionsText=JSON.stringify(m,null,2)))};new Function("col","options","setOptions",a.onMounted)(a,e,h)}catch(e){console.error(`\u6267\u884C\u5217 "${a.label||a.prop}" \u7684 onMounted \u4E8B\u4EF6\u5931\u8D25:`,e)}})}}},_hoisted_1$9={key:0,class:"sub-table-label"},_hoisted_2$7={key:0,class:"required-mark"},_hoisted_3$6={class:"table-toolbar"},_hoisted_4$5={class:"dialog-footer"};function _sfc_render$c(t,a,e,h,m,p){const d=vue.resolveComponent("el-button"),f=vue.resolveComponent("el-table-column"),o=vue.resolveComponent("el-table"),u=vue.resolveComponent("el-input"),n=vue.resolveComponent("el-input-number"),s=vue.resolveComponent("el-date-picker"),i=vue.resolveComponent("el-option"),r=vue.resolveComponent("el-select"),l=vue.resolveComponent("el-textarea"),c=vue.resolveComponent("el-form-item"),g=vue.resolveComponent("el-form"),v=vue.resolveComponent("el-dialog"),b=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(b,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["sub-table-container",p.customClass])},[e.widget.options.label?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$9,[vue.createElementVNode("span",{class:vue.normalizeClass(p.labelClass)},vue.toDisplayString(e.widget.options.label),3),e.widget.options.required?(vue.openBlock(),vue.createElementBlock("span",_hoisted_2$7,"*")):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_3$6,[e.widget.options.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(d,{key:0,type:"primary",size:"small",disabled:e.widget.options.disabled,onClick:p.handleAddRow,icon:"el-icon-plus"},{default:vue.withCtx(()=>[...a[2]||(a[2]=[vue.createTextVNode(" \u65B0\u589E ",-1)])]),_:1},8,["disabled","onClick"]))]),vue.createVNode(o,{data:m.tableData,border:e.widget.options.border,stripe:e.widget.options.stripe,size:e.widget.options.size,"max-height":p.tableMaxHeight,style:{width:"100%"},disabled:e.widget.options.disabled},{empty:vue.withCtx(()=>[...a[5]||(a[5]=[vue.createElementVNode("div",{class:"empty-hint"},[vue.createElementVNode("span",null,"\u6682\u65E0\u6570\u636E")],-1)])]),default:vue.withCtx(()=>[e.widget.options.showIndex?(vue.openBlock(),vue.createBlock(f,{key:0,type:"index",label:"\u5E8F\u53F7",width:"60",align:"center"})):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.options.columns,(_,x)=>(vue.openBlock(),vue.createBlock(f,{key:x,prop:_.prop,label:_.label,width:_.width,"min-width":_.minWidth,align:"left","show-overflow-tooltip":""},{default:vue.withCtx(({row:w,$index:C})=>[vue.createTextVNode(vue.toDisplayString(p.getTableValue(w,_,C)),1)]),_:2},1032,["prop","label","width","min-width"]))),128)),e.widget.options.showOperation&&!e.widget.options.disabled?(vue.openBlock(),vue.createBlock(f,{key:1,label:"\u64CD\u4F5C",width:e.widget.options.operationColumnWidth,align:"center",fixed:"right"},{default:vue.withCtx(({row:_,$index:x})=>[vue.createVNode(d,{size:"small",type:"primary",link:"",disabled:e.widget.options.disabled,onClick:w=>p.handleEditRow(x,_)},{default:vue.withCtx(()=>[...a[3]||(a[3]=[vue.createTextVNode(" \u7F16\u8F91 ",-1)])]),_:1},8,["disabled","onClick"]),vue.createVNode(d,{size:"small",type:"danger",link:"",disabled:e.widget.options.disabled,onClick:w=>p.handleDeleteRow(x)},{default:vue.withCtx(()=>[...a[4]||(a[4]=[vue.createTextVNode(" \u5220\u9664 ",-1)])]),_:1},8,["disabled","onClick"])]),_:1},8,["width"])):vue.createCommentVNode("",!0)]),_:1},8,["data","border","stripe","size","max-height","disabled"]),vue.createVNode(v,{modelValue:m.dialogVisible,"onUpdate:modelValue":a[1]||(a[1]=_=>m.dialogVisible=_),title:m.dialogTitle,width:"800px","close-on-click-modal":!1,onClose:p.handleDialogClose},{footer:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_4$5,[vue.createVNode(d,{size:"default",onClick:a[0]||(a[0]=_=>m.dialogVisible=!1)},{default:vue.withCtx(()=>[...a[6]||(a[6]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(d,{size:"default",type:"primary",onClick:p.handleDialogConfirm},{default:vue.withCtx(()=>[...a[7]||(a[7]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(g,{ref:"dialogFormRef",model:m.dialogFormData,rules:m.dialogFormRules,"label-width":"auto"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.options.columns,(_,x)=>(vue.openBlock(),vue.createBlock(c,{key:x,label:_.label,prop:_.prop,required:_.required},{default:vue.withCtx(()=>[!_.type||_.type==="input"?(vue.openBlock(),vue.createBlock(u,{key:0,modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,placeholder:_.placeholder||`\u8BF7\u8F93\u5165${_.label}`,disabled:e.widget.options.disabled,onChange:w=>p.handleInputChange(_)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):_.type==="number"?(vue.openBlock(),vue.createBlock(n,{key:1,modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,placeholder:_.placeholder||`\u8BF7\u8F93\u5165${_.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},onChange:w=>p.handleInputChange(_)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):_.type==="date"?(vue.openBlock(),vue.createBlock(s,{key:2,modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,type:"date",placeholder:_.placeholder||`\u8BF7\u9009\u62E9${_.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},"value-format":"YYYY-MM-DD",onChange:w=>p.handleInputChange(_)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):_.type==="datetime"?(vue.openBlock(),vue.createBlock(s,{key:3,modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,type:"datetime",placeholder:_.placeholder||`\u8BF7\u9009\u62E9${_.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},"value-format":"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled"])):_.type==="month"?(vue.openBlock(),vue.createBlock(s,{key:4,modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,type:"month",placeholder:_.placeholder||`\u8BF7\u9009\u62E9${_.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},"value-format":"YYYY-MM",onChange:w=>p.handleInputChange(_)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):_.type==="select"?(vue.openBlock(),vue.createBlock(r,{modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,placeholder:_.placeholder||`\u8BF7\u9009\u62E9${_.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},ref_for:!0,ref:w=>p.handleSelectMounted(w,_),onChange:w=>p.handleInputChange(_),key:`select-${_.prop}-${m.dialogFormData._columnOptions?Object.keys(m.dialogFormData._columnOptions).length:0}`},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(p.getColumnOptions(_),(w,C)=>(vue.openBlock(),vue.createBlock(i,{key:`${_.prop}-${C}-${w.value}`,label:w.label,value:w.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):_.type==="textarea"?(vue.openBlock(),vue.createBlock(l,{key:6,modelValue:m.dialogFormData[_.prop],"onUpdate:modelValue":w=>m.dialogFormData[_.prop]=w,placeholder:_.placeholder||`\u8BF7\u8F93\u5165${_.label}`,disabled:e.widget.options.disabled,rows:_.rows||3,onChange:w=>p.handleInputChange(_)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","rows","onChange"])):vue.createCommentVNode("",!0)]),_:2},1032,["label","prop","required"]))),128))]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title","onClose"])],2)),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:1},8,["widget"])}var SubTableItem=_export_sfc$1(_sfc_main$c,[["render",_sfc_render$c],["__scopeId","data-v-63004f99"]]),subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$b={name:"sub-table-columns-editor",mixins:[i18n$1],components:{CodeEditor},props:{designer:Object,selectedWidget:Object,optionModel:Object},data(){return{showColumnEventDialog:!1,currentEventName:"",currentColumn:null,columnEventHandlerCode:"",eventHeader:"",fieldValidators:[{value:"number",label:this.i18nt("designer.hint.numberValidator")},{value:"letter",label:this.i18nt("designer.hint.letterValidator")},{value:"letterAndNumber",label:this.i18nt("designer.hint.letterAndNumberValidator")},{value:"mobilePhone",label:this.i18nt("designer.hint.mobilePhoneValidator")},{value:"email",label:this.i18nt("designer.hint.emailValidator")},{value:"url",label:this.i18nt("designer.hint.urlValidator")},{value:"noChinese",label:this.i18nt("designer.hint.noChineseValidator")},{value:"chinese",label:this.i18nt("designer.hint.chineseValidator")},{value:"maxLen12Decimals6",label:this.i18nt("designer.hint.maxLen12Decimals6Validator")},{value:"isPositiveIntegerLength",label:this.i18nt("designer.hint.isPositiveIntegerLengthValidator")},{value:"isPositiveIntegerZero",label:this.i18nt("designer.hint.isPositiveIntegerZeroValidator")},{value:"maxLen10Decimals2",label:this.i18nt("designer.hint.maxLen10Decimals2Validator")},{value:"maxLen12Decimals2",label:this.i18nt("designer.hint.maxLen12Decimals2Validator")},{value:"latitude",label:this.i18nt("designer.hint.latitude")},{value:"longitude",label:this.i18nt("designer.hint.longitude")},{value:"sixFigures",label:this.i18nt("designer.hint.sixFigures")},{value:"percentage",label:this.i18nt("designer.hint.percentage")}]}},created(){this.optionModel.columns||(this.optionModel.columns=[])},methods:{addNewColumn(){this.optionModel.columns||(this.optionModel.columns=[]);const t={prop:"field"+(this.optionModel.columns.length+1),label:"\u5217"+(this.optionModel.columns.length+1),type:"input",width:"",minWidth:"",placeholder:"",required:!1,validation:"",validationHint:"",defaultValue:""};this.optionModel.columns.push(t),this.designer.saveCurrentHistoryStep()},deleteColumn(t){this.optionModel.columns.splice(t,1),this.designer.saveCurrentHistoryStep()},handleColumnChange(){this.designer.saveCurrentHistoryStep()},handleValidationChange(t){t.validation||(t.validationHint=""),this.handleColumnChange()},handleSelectOptionsChange(t,a){try{if(a&&a.trim()){const e=JSON.parse(a);Array.isArray(e)?t.options=e:t.options=[]}else t.options=[]}catch(e){console.warn("\u9009\u9879\u6570\u636E\u683C\u5F0F\u9519\u8BEF:",e)}this.designer.saveCurrentHistoryStep()},loadDictOptionsForColumn(t){if(!t.dictCode||!t.dictCode.trim())return;const a=t.dictCode.trim();t._loadingDict=!0;try{let e=null;if(typeof window!="undefined"&&window.getDictData){const h=window.getDictData(a);if(h&&Array.isArray(h)&&h.length>0){t.options=h.map(m=>({label:m.dictLabel||m.label||m.name||m.text||"",value:m.dictValue||m.value||m.code||m.value||m.itemValue||"",disabled:m.disabled||!1})),t.optionsText=JSON.stringify(t.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),t._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.dictCache&&window.dictCache[a]){const h=window.dictCache[a];if(Array.isArray(h)&&h.length>0){t.options=h.map(m=>({label:m.dictLabel||m.label||m.name||m.text||"",value:m.dictValue||m.value||m.code||m.value||m.itemValue||"",disabled:m.disabled||!1})),t.optionsText=JSON.stringify(t.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),t._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.service){window.service.post("/unified-dict/sysItemDict/page",{current:1,size:1e4,dictType:a}).then(({data:h})=>{t._loadingDict=!1;const m=(h==null?void 0:h.records)||(h==null?void 0:h.data)||h||[];if(Array.isArray(m)&&m.length>0){const p=m.filter(d=>d.dictType===a);p.length>0?(t.options=p.map(d=>({label:d.dictLabel||d.label||d.name||d.text||"",value:d.dictValue||d.value||d.code||d.value||d.itemValue||"",disabled:d.disabled||!1})),t.optionsText=JSON.stringify(t.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u52A0\u8F7D\u9009\u9879\u6210\u529F"),this.designer.saveCurrentHistoryStep()):this.$message.warning(`\u672A\u627E\u5230\u5B57\u5178\u7C7B\u578B\u4E3A "${a}" \u7684\u6570\u636E`)}else this.$message.warning("\u5B57\u5178\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E")}).catch(h=>{t._loadingDict=!1,console.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25:",h),this.$message.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u5B57\u5178CODE\u662F\u5426\u6B63\u786E")});return}this.$message.warning("\u672A\u627E\u5230\u5B57\u5178\u7F13\u5B58\uFF0C\u8BF7\u786E\u4FDD\u5B57\u5178CODE\u6B63\u786E\u6216\u5B57\u5178\u5DF2\u52A0\u8F7D")}catch(e){console.error("\u52A0\u8F7D\u5B57\u5178\u6570\u636E\u5931\u8D25:",e),this.$message.error("\u52A0\u8F7D\u5B57\u5178\u6570\u636E\u5931\u8D25: "+e.message)}finally{t._loadingDict=!1}},editColumnEventHandler(t,a,e){this.currentColumn=t,this.currentEventName=a,this.eventHeader=`${t.label||t.prop}.${a}(${e.join(", ")}) {`,this.columnEventHandlerCode=t[a]||"",this.showColumnEventDialog=!0},saveColumnEventHandler(){if(!(!this.currentColumn||!this.currentEventName)){if(this.$refs.columnEventEditor){const t=this.$refs.columnEventEditor.getEditorAnnotations();let a=!1;if(t&&t.length>0&&(t.forEach(e=>{e.type==="error"&&(a=!0)}),a)){this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));return}}this.currentColumn[this.currentEventName]=this.columnEventHandlerCode,this.designer.saveCurrentHistoryStep(),this.showColumnEventDialog=!1,this.$message.success("\u4E8B\u4EF6\u4FDD\u5B58\u6210\u529F")}}}},_hoisted_1$8={class:"column-header"},_hoisted_2$6={class:"column-title"},_hoisted_3$5={class:"column-form"},_hoisted_4$4={class:"dialog-footer"};function _sfc_render$b(t,a,e,h,m,p){const d=vue.resolveComponent("el-divider"),f=vue.resolveComponent("el-form-item"),o=vue.resolveComponent("el-button"),u=vue.resolveComponent("el-input"),n=vue.resolveComponent("el-option"),s=vue.resolveComponent("el-select"),i=vue.resolveComponent("el-switch"),r=vue.resolveComponent("el-input-number"),l=vue.resolveComponent("el-alert"),c=vue.resolveComponent("code-editor"),g=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",null,[vue.createVNode(f,{"label-width":"0"},{default:vue.withCtx(()=>[vue.createVNode(d,{class:"custom-divider"},{default:vue.withCtx(()=>[...a[3]||(a[3]=[vue.createTextVNode("\u8868\u683C\u5217\u914D\u7F6E",-1)])]),_:1})]),_:1}),vue.createVNode(f,{"label-width":"0"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(v,b)=>(vue.openBlock(),vue.createElementBlock("div",{key:b,class:"column-item"},[vue.createElementVNode("div",_hoisted_1$8,[vue.createElementVNode("span",_hoisted_2$6,"\u5217 "+vue.toDisplayString(b+1),1),vue.createVNode(o,{circle:"",plain:"",size:"small",type:"danger",onClick:_=>p.deleteColumn(b),icon:"el-icon-minus",class:"column-delete-button"},null,8,["onClick"])]),vue.createElementVNode("div",_hoisted_3$5,[vue.createVNode(f,{label:"\u5217\u540D"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.label,"onUpdate:modelValue":_=>v.label=_,placeholder:"\u8BF7\u8F93\u5165\u5217\u540D",onInput:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(f,{label:"\u5B57\u6BB5\u540D"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.prop,"onUpdate:modelValue":_=>v.prop=_,placeholder:"\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D\uFF08\u82F1\u6587\uFF09",onInput:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(f,{label:"\u5217\u7C7B\u578B"},{default:vue.withCtx(()=>[vue.createVNode(s,{modelValue:v.type,"onUpdate:modelValue":_=>v.type=_,placeholder:"\u8BF7\u9009\u62E9\u5217\u7C7B\u578B",onChange:p.handleColumnChange,style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(n,{label:"\u6587\u672C\u8F93\u5165",value:"input"}),vue.createVNode(n,{label:"\u6570\u5B57\u8F93\u5165",value:"number"}),vue.createVNode(n,{label:"\u65E5\u671F\u9009\u62E9",value:"date"}),vue.createVNode(n,{label:"\u6708\u4EFD\u9009\u62E9",value:"month"}),vue.createVNode(n,{label:"\u65E5\u671F\u65F6\u95F4",value:"datetime"}),vue.createVNode(n,{label:"\u4E0B\u62C9\u9009\u62E9",value:"select"}),vue.createVNode(n,{label:"\u591A\u884C\u6587\u672C",value:"textarea"})]),_:1},8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),v.type==="select"?(vue.openBlock(),vue.createBlock(f,{key:0,label:"\u5B57\u5178CODE"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.dictCode,"onUpdate:modelValue":_=>v.dictCode=_,placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178CODE\uFF0C\u5C06\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879",onBlur:_=>p.loadDictOptionsForColumn(v),clearable:""},{append:vue.withCtx(()=>[vue.createVNode(o,{onClick:_=>p.loadDictOptionsForColumn(v),loading:v._loadingDict},{default:vue.withCtx(()=>[...a[4]||(a[4]=[vue.createTextVNode("\u52A0\u8F7D",-1)])]),_:1},8,["onClick","loading"])]),_:2},1032,["modelValue","onUpdate:modelValue","onBlur"]),a[5]||(a[5]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},' \u586B\u5199\u5B57\u5178CODE\u540E\uFF0C\u70B9\u51FB"\u52A0\u8F7D"\u6309\u94AE\u6216\u5931\u7126\u65F6\u81EA\u52A8\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879\u6570\u636E ',-1))]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(f,{label:"\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.width,"onUpdate:modelValue":_=>v.width=_,placeholder:"\u5982\uFF1A150\uFF08\u53EF\u9009\uFF09",onInput:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(f,{label:"\u6700\u5C0F\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.minWidth,"onUpdate:modelValue":_=>v.minWidth=_,placeholder:"\u5982\uFF1A100\uFF08\u53EF\u9009\uFF09",onInput:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(f,{label:"\u5360\u4F4D\u7B26"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.placeholder,"onUpdate:modelValue":_=>v.placeholder=_,placeholder:"\u8BF7\u8F93\u5165\u5360\u4F4D\u7B26\uFF08\u53EF\u9009\uFF09",onInput:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(f,{label:"\u662F\u5426\u5FC5\u586B"},{default:vue.withCtx(()=>[vue.createVNode(i,{modelValue:v.required,"onUpdate:modelValue":_=>v.required=_,onChange:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),vue.createVNode(f,{label:"\u6821\u9A8C\u89C4\u5219"},{default:vue.withCtx(()=>[vue.createVNode(s,{modelValue:v.validation,"onUpdate:modelValue":_=>v.validation=_,placeholder:"\u8BF7\u9009\u62E9\u6821\u9A8C\u89C4\u5219",filterable:"",clearable:"",style:{width:"100%"},onChange:_=>p.handleValidationChange(v)},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.fieldValidators,(_,x)=>(vue.openBlock(),vue.createBlock(n,{key:x,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),v.validation?(vue.openBlock(),vue.createBlock(f,{key:1,label:"\u6821\u9A8C\u5931\u8D25\u63D0\u793A"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.validationHint,"onUpdate:modelValue":_=>v.validationHint=_,placeholder:"\u53EF\u9009\uFF0C\u4E0D\u586B\u5219\u4F7F\u7528\u9ED8\u8BA4\u63D0\u793A",onInput:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024)):vue.createCommentVNode("",!0),v.type==="select"?(vue.openBlock(),vue.createBlock(f,{key:2,label:"\u9009\u9879\u6570\u636E"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:v.optionsText,"onUpdate:modelValue":_=>v.optionsText=_,type:"textarea",rows:3,placeholder:'\u683C\u5F0F\uFF1A[{"label":"\u9009\u98791","value":"value1"},{"label":"\u9009\u98792","value":"value2"}]',onInput:_=>p.handleSelectOptionsChange(v,_)},null,8,["modelValue","onUpdate:modelValue","onInput"]),a[6]||(a[6]=vue.createElementVNode("div",{class:"hint-text"},"\u8BF7\u8F93\u5165 JSON \u683C\u5F0F\u7684\u9009\u9879\u6570\u7EC4",-1))]),_:2},1024)):vue.createCommentVNode("",!0),v.type==="select"?(vue.openBlock(),vue.createBlock(f,{key:3,label:"onMounted\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(o,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:_=>p.editColumnEventHandler(v,"onMounted",["col","options","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),a[7]||(a[7]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},[vue.createTextVNode(" \u4E0B\u62C9\u9879\u6302\u8F7D\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1Acol\uFF08\u5217\u914D\u7F6E\u5BF9\u8C61\uFF09\u3001options\uFF08\u9009\u9879\u6570\u7EC4\uFF09\u3001setOptions\uFF08\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5\uFF09 "),vue.createElementVNode("br"),vue.createTextVNode("\u793A\u4F8B\uFF1AsetOptions([{label: '\u9009\u98791', value: '1'}, {label: '\u9009\u98792', value: '2'}]) ")],-1))]),_:2},1024)):vue.createCommentVNode("",!0),v.type==="select"?(vue.openBlock(),vue.createBlock(f,{key:4,label:"\u4F9D\u8D56\u5217\uFF08\u8054\u52A8\uFF09"},{default:vue.withCtx(()=>[vue.createVNode(s,{modelValue:v.dependOn,"onUpdate:modelValue":_=>v.dependOn=_,placeholder:"\u9009\u62E9\u4F9D\u8D56\u7684\u5217\uFF08\u5F53\u4F9D\u8D56\u5217\u53D8\u5316\u65F6\uFF0C\u6B64\u5217\u7684\u4E0B\u62C9\u9009\u9879\u4F1A\u66F4\u65B0\uFF09",clearable:"",filterable:"",style:{width:"100%"},onChange:p.handleColumnChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(_,x)=>(vue.openBlock(),vue.createBlock(n,{key:x,label:_.label||_.prop,value:_.prop,disabled:_.prop===v.prop},null,8,["label","value","disabled"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),a[8]||(a[8]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}}," \u9009\u62E9\u4F9D\u8D56\u7684\u5217\uFF0C\u5F53\u4F9D\u8D56\u5217\u7684\u503C\u53D8\u5316\u65F6\uFF0C\u4F1A\u89E6\u53D1\u6B64\u5217\u7684\u8054\u52A8\u4E8B\u4EF6\u66F4\u65B0\u4E0B\u62C9\u9009\u9879 ",-1))]),_:2},1024)):vue.createCommentVNode("",!0),v.type==="select"&&v.dependOn?(vue.openBlock(),vue.createBlock(f,{key:5,label:"\u8054\u52A8\u5904\u7406\u51FD\u6570"},{default:vue.withCtx(()=>[vue.createVNode(o,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:_=>p.editColumnEventHandler(v,"onDependChange",["targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),a[9]||(a[9]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},[vue.createTextVNode(" \u5F53\u4F9D\u8D56\u5217\u7684\u503C\u53D8\u5316\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1A "),vue.createElementVNode("br"),vue.createTextVNode("- targetCol\uFF1A\u5F53\u524D\u5217\u914D\u7F6E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- sourceCol\uFF1A\u4F9D\u8D56\u7684\u5217\u914D\u7F6E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- sourceValue\uFF1A\u4F9D\u8D56\u5217\u7684\u503C "),vue.createElementVNode("br"),vue.createTextVNode("- formData\uFF1A\u5F53\u524D\u8868\u5355\u6570\u636E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- currentOptions\uFF1A\u5F53\u524D\u9009\u9879\u6570\u7EC4 "),vue.createElementVNode("br"),vue.createTextVNode("- setOptions\uFF1A\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5 (newOptions, index) "),vue.createElementVNode("br"),vue.createTextVNode("- setValue\uFF1A\u8BBE\u7F6E\u76EE\u6807\u5217\u7684\u503C (value) "),vue.createElementVNode("br"),vue.createTextVNode("- getValue\uFF1A\u83B7\u53D6\u76EE\u6807\u5217\u7684\u5F53\u524D\u503C () "),vue.createElementVNode("br"),vue.createTextVNode("\u793A\u4F8B\uFF1A\u6839\u636E sourceValue \u52A8\u6001\u8BBE\u7F6E\u9009\u9879\u548C\u503C\uFF08\u53EA\u5F71\u54CD\u5F53\u524D\u7F16\u8F91\u884C\uFF09 "),vue.createElementVNode("br"),vue.createTextVNode("if (sourceValue === '1') { "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setOptions([{label: '\u9009\u9879A', value: 'a'}, {label: '\u9009\u9879B', value: 'b'}]); "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setValue('a'); // \u81EA\u52A8\u9009\u62E9\u7B2C\u4E00\u4E2A\u9009\u9879 "),vue.createElementVNode("br"),vue.createTextVNode("} else { "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setOptions([{label: '\u9009\u9879C', value: 'c'}, {label: '\u9009\u9879D', value: 'd'}]); "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setValue('c'); // \u81EA\u52A8\u9009\u62E9\u7B2C\u4E00\u4E2A\u9009\u9879 "),vue.createElementVNode("br"),vue.createTextVNode("} "),vue.createElementVNode("br"),vue.createElementVNode("strong",null,"\u6CE8\u610F\uFF1A"),vue.createTextVNode("setOptions \u53EA\u4F1A\u66F4\u65B0\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8FD9\u4E00\u884C\u7684\u4E0B\u62C9\u9009\u9879\uFF0C\u4E0D\u4F1A\u5F71\u54CD\u5176\u4ED6\u884C\u3002 "),vue.createElementVNode("br"),vue.createTextVNode("setValue \u53EF\u4EE5\u8BBE\u7F6E\u76EE\u6807\u5217\u7684\u503C\uFF0C\u5E38\u7528\u4E8E\u81EA\u52A8\u9009\u62E9\u9ED8\u8BA4\u9009\u9879\u3002 ")],-1))]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(f,{label:"onChange\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(o,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:_=>p.editColumnEventHandler(v,"onChange",["col","value","formData","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),a[10]||(a[10]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}}," \u5F53\u524D\u5217\u7684\u503C\u53D8\u5316\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1Acol\uFF08\u5217\u914D\u7F6E\u5BF9\u8C61\uFF09\u3001value\uFF08\u5F53\u524D\u503C\uFF09\u3001formData\uFF08\u8868\u5355\u6570\u636E\uFF09\u3001setOptions\uFF08\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5\uFF0C\u4EC5select\u7C7B\u578B\u53EF\u7528\uFF09 ",-1))]),_:2},1024),v.type==="textarea"?(vue.openBlock(),vue.createBlock(f,{key:6,label:"\u884C\u6570"},{default:vue.withCtx(()=>[vue.createVNode(r,{modelValue:v.rows,"onUpdate:modelValue":_=>v.rows=_,min:1,max:10,onChange:p.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)):vue.createCommentVNode("",!0)])]))),128)),vue.createElementVNode("div",null,[vue.createVNode(o,{link:"",type:"primary",onClick:p.addNewColumn},{default:vue.withCtx(()=>[...a[11]||(a[11]=[vue.createTextVNode("\u6DFB\u52A0\u5217",-1)])]),_:1},8,["onClick"])])]),_:1})]),vue.createVNode(g,{modelValue:m.showColumnEventDialog,"onUpdate:modelValue":a[2]||(a[2]=v=>m.showColumnEventDialog=v),title:`\u7F16\u8F91\u4E8B\u4EF6\uFF1A${m.currentEventName}`,width:"1000px","append-to-body":"","close-on-click-modal":!1},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$4,[vue.createVNode(o,{onClick:a[1]||(a[1]=v=>m.showColumnEventDialog=!1)},{default:vue.withCtx(()=>[...a[12]||(a[12]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(o,{type:"primary",onClick:p.saveColumnEventHandler},{default:vue.withCtx(()=>[...a[13]||(a[13]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(l,{type:"info",closable:!1,title:m.eventHeader,style:{"margin-bottom":"10px"}},null,8,["title"]),vue.createVNode(c,{mode:"javascript",readonly:!1,modelValue:m.columnEventHandlerCode,"onUpdate:modelValue":a[0]||(a[0]=v=>m.columnEventHandlerCode=v),ref:"columnEventEditor"},null,8,["modelValue"])]),_:1},8,["modelValue","title"])],64)}var SubTableColumnsEditor=_export_sfc$1(_sfc_main$b,[["render",_sfc_render$b],["__scopeId","data-v-2d1b4989"]]);const _sfc_main$a={name:"current-user-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[]}},computed:{displayModel(){return this.currentUserType==="username"?this.fieldModel?this.fieldModel.username:"":this.currentUserType==="deptName"?this.fieldModel?this.fieldModel.deptName:"":this.currentUserType==="companyName"?this.fieldModel?this.fieldModel.companyName:"":JSON.stringify(this.fieldModel)},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}},currentUserType(){var t;return((t=this.field.options)==null?void 0:t.type)||"username"}},methods:{hasExistingValue(){var a;const t=(a=this.fieldModel)!=null?a:this.oldFieldValue;return t!=null&&t!==""},async getCurrentUser(){const{data:t}=await service$1({method:"get",url:"unified-system/employee/loginInfo?accessType=0"});this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue)}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},"field.options.type":{handler(t,a){a!==void 0&&this.getCurrentUser()},immediate:!1}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.hasExistingValue()||this.getCurrentUser()}};function _sfc_render$a(t,a,e,h,m,p){const d=vue.resolveComponent("el-input"),f=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(f,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(d,{modelValue:p.displayModel,"onUpdate:modelValue":a[0]||(a[0]=o=>p.displayModel=o),disabled:!0},null,8,["modelValue"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CurrentUserWidget=_export_sfc$1(_sfc_main$a,[["render",_sfc_render$a]]),assetDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$9={name:"asset-dialog",props:{dialogVisible:{type:Boolean,default:!1},fieldValue:{type:Array,default:()=>[]},assetTypeValue:{type:String,default:""},limit:{type:Number,default:0}},watch:{dialogVisible:{handler(t){this.visible=t,t&&(this.getTableData(),this.selectedRows=this.fieldValue&&Array.isArray(this.fieldValue)?lodash.exports.cloneDeep(this.fieldValue):[])}},assetTypeValue:{handler(t){this.disabled=!!t,t?this.form.assetType=t:this.form.assetType="all"},immediate:!0}},computed:{filterList(){const t=this.searchValue.toLocaleLowerCase();return this.selectedRows.filter(a=>a.labelName.toLocaleLowerCase().includes(t)||a.assetCode.toLocaleLowerCase().includes(t))}},data(){return{tableData:[],selectedRows:[],visible:!1,pageSize:10,currentPage:1,assetTypeOptions:[],form:{assetCode:"",assetType:"all",assetOwnerUnit:"",labelName:""},disabled:!1,total:0,searchValue:"",_prevTableSelectionIds:[],_handlingSelectionChange:!1}},methods:{formatAmount,handleClose(){this.form={assetCode:"",assetType:this.assetTypeValue||"all",assetOwnerUnit:"",labelName:""},this.searchValue="",this.$emit("close")},handleConfirm(){this.form={assetCode:"",assetType:"all",assetOwnerUnit:"",labelName:""},this.$emit("confirm",this.selectedRows)},handleSelectionChange(t){if(this._handlingSelectionChange)return;const a=this.$refs.tableRef,e=Array.isArray(t)?t:[],h=e.map(m=>m.assetId);if(this.limit>0&&h.length>this.limit){const p=(Array.isArray(this._prevTableSelectionIds)?this._prevTableSelectionIds:[]).slice(0,this.limit);a&&typeof a.clearSelection=="function"&&typeof a.toggleRowSelection=="function"&&(this._handlingSelectionChange=!0,a.clearSelection(),e.forEach(d=>{p.includes(d.assetId)&&a.toggleRowSelection(d,!0)}),this._handlingSelectionChange=!1),this._prevTableSelectionIds=p;return}this._prevTableSelectionIds=h},getTableData(){service$1({method:"post",url:"/asset-business/overview/pageList",data:gt(je({size:this.pageSize,current:this.currentPage,reqType:"disposal"},this.form),{assetType:this.form.assetType==="all"?"":this.form.assetType,systemStatusList:["2"]})}).then(({data:t})=>{const{records:a,total:e,current:h}=t;this.tableData=a.map(m=>{const o=m,{id:p}=o,d=zl(o,["id"]);return gt(je({},d),{assetId:p})}),this.total=e,this.currentPage=h})},handleSizeChange(t){this.pageSize=t,this.getTableData()},handleCurrentChange(t){this.currentPage=t,this.getTableData()},handleAdd(){const t=this.$refs.tableRef,a=t&&typeof t.getSelectionRows=="function"?t.getSelectionRows():[];if(!a||a.length===0){this.$message.error("\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u8D44\u4EA7");return}const e=[...this.selectedRows,...a].reduce((h,m)=>(h.some(p=>p.assetId===m.assetId)||h.push(m),h),[]);if(this.limit&&e.length>this.limit){this.$message.error(`\u6700\u591A\u9009\u62E9 ${this.limit} \u4E2A\u8D44\u4EA7`);return}this.selectedRows=e},handleRemove(t){const a=this.selectedRows.findIndex(e=>e.assetId===t);a!==-1&&this.selectedRows.splice(a,1)},handleGetAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:t}})=>{this.assetTypeOptions=t.map(a=>({label:a.label,value:a.itemValue})),this.assetTypeOptions.unshift({label:"\u5168\u90E8",value:"all"})})},handleSearch(){this.currentPage=1,this.getTableData()}},created(){this.getTableData(),this.handleGetAssetTypeOptions()}},_hoisted_1$7={class:"asset-body-wrap"},_hoisted_2$5={class:"bottom-wrap"},_hoisted_3$4={class:"left-wrap"},_hoisted_4$3={class:"filter-wrap"},_hoisted_5$3={class:"right-wrap"},_hoisted_6$3={class:"asset-wrap-title"},_hoisted_7$3={class:"asset-wrap"},_hoisted_8$1={class:"asset-item-left"},_hoisted_9$1={class:"asset-item-right"},_hoisted_10={class:"dialog-footer"};function _sfc_render$9(t,a,e,h,m,p){const d=vue.resolveComponent("el-input"),f=vue.resolveComponent("el-form-item"),o=vue.resolveComponent("el-col"),u=vue.resolveComponent("el-option"),n=vue.resolveComponent("el-select"),s=vue.resolveComponent("el-button"),i=vue.resolveComponent("el-row"),r=vue.resolveComponent("el-form"),l=vue.resolveComponent("el-table-column"),c=vue.resolveComponent("el-table"),g=vue.resolveComponent("el-pagination"),v=vue.resolveComponent("DArrowRight"),b=vue.resolveComponent("el-icon"),_=vue.resolveComponent("Search"),x=vue.resolveComponent("Close"),w=vue.resolveComponent("el-scrollbar"),C=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(C,{modelValue:m.visible,"onUpdate:modelValue":a[6]||(a[6]=M=>m.visible=M),title:"\u8D44\u4EA7\u9009\u62E9",width:"1418px",onClose:p.handleClose,"body-class":"asset-list-dialog-body","close-on-click-modal":!1,draggable:"","header-class":"asset-list-dialog-header"},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_10,[vue.createVNode(s,{onClick:p.handleClose,size:"default"},{default:vue.withCtx(()=>[...a[12]||(a[12]=[vue.createTextVNode(" \u53D6\u6D88 ",-1)])]),_:1},8,["onClick"]),vue.createVNode(s,{type:"primary",onClick:p.handleConfirm,size:"default"},{default:vue.withCtx(()=>[...a[13]||(a[13]=[vue.createTextVNode(" \u786E\u5B9A ",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$7,[vue.createElementVNode("div",_hoisted_2$5,[vue.createElementVNode("div",_hoisted_3$4,[vue.createElementVNode("div",_hoisted_4$3,[vue.createVNode(r,{model:m.form,ref:"formRef"},{default:vue.withCtx(()=>[vue.createVNode(i,{gutter:12},{default:vue.withCtx(()=>[vue.createVNode(o,{span:5},{default:vue.withCtx(()=>[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(d,{maxlength:"50",modelValue:m.form.assetCode,"onUpdate:modelValue":a[0]||(a[0]=M=>m.form.assetCode=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...a[7]||(a[7]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u7F16\u7801\uFF1A",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(o,{span:6},{default:vue.withCtx(()=>[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(d,{maxlength:"50",modelValue:m.form.labelName,"onUpdate:modelValue":a[1]||(a[1]=M=>m.form.labelName=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...a[8]||(a[8]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u540D\u79F0\uFF1A",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(o,{span:5},{default:vue.withCtx(()=>[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(n,{disabled:m.disabled,modelValue:m.form.assetType,"onUpdate:modelValue":a[2]||(a[2]=M=>m.form.assetType=M),placeholder:"\u8BF7\u9009\u62E9",clearable:""},{prefix:vue.withCtx(()=>[...a[9]||(a[9]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u7C7B\u578B\uFF1A",-1)])]),default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.assetTypeOptions,M=>(vue.openBlock(),vue.createBlock(u,{key:M.value,label:M.label,value:M.value},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})]),_:1}),vue.createVNode(o,{span:6},{default:vue.withCtx(()=>[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(d,{maxlength:"50",modelValue:m.form.assetOwnerUnit,"onUpdate:modelValue":a[3]||(a[3]=M=>m.form.assetOwnerUnit=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...a[10]||(a[10]=[vue.createElementVNode("span",null,"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D\uFF1A",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(o,{span:2},{default:vue.withCtx(()=>[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(s,{type:"primary",onClick:p.handleSearch},{default:vue.withCtx(()=>[...a[11]||(a[11]=[vue.createTextVNode("\u641C\u7D22",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),vue.createVNode(c,{data:m.tableData,height:"500px",style:{width:"100%"},"check-strictly":"","row-key":"assetId",ref:"tableRef","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:""},{default:vue.withCtx(()=>[vue.createVNode(l,{type:"selection",width:"55"}),vue.createVNode(l,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801",width:"200"}),vue.createVNode(l,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0"}),vue.createVNode(l,{prop:"assetTypeName","header-align":"center",align:"center",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(l,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(l,{prop:"originalValue",label:"\u539F\u503C(\u4E07\u5143)",width:"120"},{default:vue.withCtx(({row:M})=>[vue.createTextVNode(vue.toDisplayString(M.originalValue),1)]),_:1}),vue.createVNode(l,{prop:"netValue",label:"\u51C0\u503C(\u4E07\u5143)",width:"120"},{default:vue.withCtx(({row:M})=>[vue.createTextVNode(vue.toDisplayString(M.netValue),1)]),_:1})]),_:1},8,["data"]),vue.createVNode(g,{onSizeChange:p.handleSizeChange,onCurrentChange:p.handleCurrentChange,"current-page":m.currentPage,layout:"total, sizes, prev, pager, next",size:"small",total:m.total},null,8,["onSizeChange","onCurrentChange","current-page","total"])]),vue.createElementVNode("div",{class:"center-wrap",onClick:a[4]||(a[4]=(...M)=>p.handleAdd&&p.handleAdd(...M))},[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(v)]),_:1})]),vue.createElementVNode("div",_hoisted_5$3,[vue.createElementVNode("div",_hoisted_6$3,[vue.createVNode(d,{modelValue:m.searchValue,"onUpdate:modelValue":a[5]||(a[5]=M=>m.searchValue=M),placeholder:"\u8BF7\u8F93\u5165\u8D44\u4EA7\u540D\u79F0\u6216\u8D44\u4EA7\u7F16\u7801\u641C\u7D22",clearable:""},{prefix:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(_)]),_:1})]),_:1},8,["modelValue"])]),vue.createVNode(w,{class:"asset-wrap-scroll"},{default:vue.withCtx(()=>[vue.createElementVNode("ul",_hoisted_7$3,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(p.filterList,M=>(vue.openBlock(),vue.createElementBlock("li",{class:"asset-item",key:M.assetId},[vue.createElementVNode("div",_hoisted_8$1,[vue.createElementVNode("div",null,vue.toDisplayString(M.labelName),1),vue.createElementVNode("div",null,vue.toDisplayString(M.assetCode),1)]),vue.createElementVNode("div",_hoisted_9$1,[vue.createVNode(b,{onClick:D=>p.handleRemove(M.assetId)},{default:vue.withCtx(()=>[vue.createVNode(x)]),_:1},8,["onClick"])])]))),128))])]),_:1})])])])]),_:1},8,["modelValue","onClose"])}var AssetDialog=_export_sfc$1(_sfc_main$9,[["render",_sfc_render$9],["__scopeId","data-v-5cca3952"]]),index_vue_vue_type_style_index_0_lang$3="";const _sfc_main$8={name:"asset-select-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,AssetDialog},data(){return{dialogVisible:!1,fieldModel:null,oldFieldValue:null,rules:[],tableData:[]}},computed:{displayModel:{get(){return this.fieldModel!=null?this.fieldModel:[]},set(t){this.fieldModel=t}},widgetStyle(){return{width:"100%"}}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{updateFieldLabel(t,a){var o;if(!t)return!1;const e=a==null?"":String(a),h=this.getWidgetRef(t,!1);if((o=h==null?void 0:h.field)==null?void 0:o.options){h.field.options.label=e;const u=this.getFormRef();return u&&typeof u.$forceUpdate=="function"&&u.$forceUpdate(),!0}const m=this.getFormRef();if(!m||typeof m.getFormJson!="function"||typeof m.setFormJson!="function")return!1;const p=m.getFormJson();let d=!1;const f=u=>{!Array.isArray(u)||u.forEach(n=>{var s;if(!d){if(((s=n==null?void 0:n.options)==null?void 0:s.name)===t){n.options.label=e,d=!0;return}Array.isArray(n==null?void 0:n.widgetList)&&f(n.widgetList),Array.isArray(n==null?void 0:n.cols)&&n.cols.forEach(i=>f(i==null?void 0:i.widgetList)),Array.isArray(n==null?void 0:n.rows)&&n.rows.forEach(i=>Array.isArray(i==null?void 0:i.cols)&&i.cols.forEach(r=>f(r==null?void 0:r.widgetList))),Array.isArray(n==null?void 0:n.tabs)&&n.tabs.forEach(i=>f(i==null?void 0:i.widgetList))}})};return f(p==null?void 0:p.widgetList),d?(m.setFormJson(p),!0):!1},handleClick(){this.dialogVisible=!0},handleConfirm(t){this.dialogVisible=!1,this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null,this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",t),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},handleCancel(){this.triggerEvent("onCancel"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(t,...a){var h,m;const e=(m=(h=this.field)==null?void 0:h.options)==null?void 0:m[t];if(e)try{if(t==="onConfirm"&&a.length>0){const p=a[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,p,p,p)}else if(t==="onRemoveTag"&&a.length>=2){const p=a[0],d=a[1],f=a[2];new Function("removedItem","remainingNodes","remainingValue","selectedValue","removedIndex",e).call(this,p,d,d,d,f)}else if(a.length>0){const p=a.map((f,o)=>`arg${o}`).join(", ");new Function(p,e).apply(this,a)}else new Function(e).call(this)}catch(p){console.error(`Error executing ${t} handler:`,p),console.error("Handler code:",e),console.error("Args:",a)}},handleSearch(){this.$nextTick(()=>{this.applyTreeFilter()})}}},_hoisted_1$6={class:"asset-select-widget__trigger"};function _sfc_render$8(t,a,e,h,m,p){const d=vue.resolveComponent("el-button"),f=vue.resolveComponent("asset-dialog"),o=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(o,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-select-widget",style:vue.normalizeStyle(p.widgetStyle)},[vue.createElementVNode("div",_hoisted_1$6,[vue.createVNode(d,{type:"primary",class:"asset-select-widget__button",plain:"",disabled:e.field.options.disabled,placeholder:"\u8BF7\u9009\u62E9\u8D44\u4EA7",onClick:p.handleClick,ref:"inputTagRef"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.buttonText||"\u9009\u62E9\u8D44\u4EA7"),1)]),_:1},8,["disabled","onClick"])]),vue.createVNode(f,{"dialog-visible":m.dialogVisible,onClose:p.handleClose,onConfirm:p.handleConfirm,onCancel:p.handleCancel,limit:e.field.options.assetLimit,fieldValue:m.fieldModel,assetTypeValue:e.field.options.assetTypeValue},null,8,["dialog-visible","onClose","onConfirm","onCancel","limit","fieldValue","assetTypeValue"])],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AssetSelectWidget=_export_sfc$1(_sfc_main$8,[["render",_sfc_render$8]]),detailDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$7={name:"detail-dialog",components:{VFormRender},props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})},typeJson:{type:[String,Object],default:()=>({})},disabled:{type:Boolean,default:!1}},data(){return{formData:{},formJson:null,defaultFormJson:{widgetList:[],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}},showForm:!1,pendingColHiddenOps:[]}},computed:{dialogVisible:{get(){return this.visible},set(t){t||this.handleClose()}},currentRowData(){return this.data&&typeof this.data=="object"?this.data:{}},renderFormJson(){return this.formJson||this.defaultFormJson}},watch:{visible:{immediate:!0,handler(t){t?this.initFormData():this.formData={}}},disabled:{immediate:!0,handler(){this.$nextTick(()=>{this.syncFormDisabledStatus()})}}},methods:{resolveTypeJsonMap(){const t=this.typeJson;if(t==null||t==="")return{};if(typeof t=="string")try{return JSON.parse(t)}catch{return{}}return typeof t=="object"?t:{}},syncFormDisabledStatus(){const t=this.$refs.detailFormRender;!t||this.disabled&&typeof t.disableForm=="function"&&t.disableForm()},applyFormJsonToRender(t){this.formJson=t&&t.widgetList&&t.formConfig?t:lodash.exports.cloneDeep(this.defaultFormJson),this.$nextTick(()=>{const a=this.$refs.detailFormRender;a&&typeof a.setFormJson=="function"&&(a.setFormJson(lodash.exports.cloneDeep(this.formJson)),this.$nextTick(()=>{this.flushPendingColHiddenOps(),this.syncFormDisabledStatus()}))})},setColHidden(t,a){const e=Array.isArray(t)?t:[t];this.pendingColHiddenOps.push({names:e,hidden:a})},flushPendingColHiddenOps(){if(!this.pendingColHiddenOps.length)return;const t=this.$refs.detailFormRender;!t||typeof t.setColHidden!="function"||(this.pendingColHiddenOps.forEach(({names:a,hidden:e})=>{a.forEach(h=>t.setColHidden(h,e))}),this.pendingColHiddenOps=[])},initFormData(){this.showForm=!1,this.formData=lodash.exports.cloneDeep(this.currentRowData)||{};const t=this.typeJson;if(!t){this.$message.error("\u672A\u627E\u5230\u8D44\u4EA7\u7C7B\u578B\u5BF9\u5E94\u7684\u8868\u5355\u914D\u7F6E"),this.dialogVisible=!1;return}service$1({method:"get",url:`/workflow-engine/businessFlowConfig/detailByCode/${t}`}).then(({data:a})=>{if(!(a==null?void 0:a.formJson)){this.applyFormJsonToRender(null);return}let e;try{e=typeof a.formJson=="string"?JSON.parse(a.formJson):a.formJson,this.showForm=!0}catch(h){console.error(h),e=null}this.applyFormJsonToRender(e),this.showForm=!0}).catch(a=>{console.error(a),this.applyFormJsonToRender(null)})},async handleConfirm(){const t=this.$refs.detailFormRender;if(!!t)try{const a=await t.getFormData(!0);console.log(a,"formValues"),this.$emit("confirm",a),this.dialogVisible=!1}catch(a){this.$message.error(a),console.error(a)}},handleClose(){this.formData={},this.pendingColHiddenOps=[],this.formJson={widgetList:[],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}},this.$emit("close")}}},_hoisted_1$5={class:"asset-body-wrap"},_hoisted_2$4={key:0},_hoisted_3$3={class:"dialog-footer"};function _sfc_render$7(t,a,e,h,m,p){const d=vue.resolveComponent("v-form-render"),f=vue.resolveComponent("el-button"),o=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(o,{modelValue:p.dialogVisible,"onUpdate:modelValue":a[0]||(a[0]=u=>p.dialogVisible=u),title:"\u5904\u7F6E\u8BE6\u60C5",width:"1200px",onClose:p.handleClose,"close-on-click-modal":!1,draggable:""},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$3,[vue.createVNode(f,{onClick:p.handleClose},{default:vue.withCtx(()=>[...a[1]||(a[1]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1},8,["onClick"]),e.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(f,{key:0,type:"primary",onClick:p.handleConfirm},{default:vue.withCtx(()=>[...a[2]||(a[2]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"]))])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$5,[m.showForm?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$4,[vue.createVNode(d,{ref:"detailFormRender","form-json":p.renderFormJson,"form-data":m.formData},null,8,["form-json","form-data"])])):vue.createCommentVNode("",!0)])]),_:1},8,["modelValue","onClose"])}var DetailDialog=_export_sfc$1(_sfc_main$7,[["render",_sfc_render$7],["__scopeId","data-v-3a7f7afa"]]),index_vue_vue_type_style_index_0_lang$2="";const _sfc_main$6={name:"asset-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DetailDialog},data(){return{fieldModel:null,oldFieldValue:null,rules:[],detailDialogVisible:!1,detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{formatAmount,handleShowIsUpdate(){return!(this.field.options.disabled||!this.field.options.clickRow)},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(t){const a=this.fieldModel.findIndex(e=>e.assetId===t.assetId);a!==-1&&(this.fieldModel[a]=je(je({},this.fieldModel[a]),t))},triggerEvent(t,...a){var h,m;const e=(m=(h=this.field)==null?void 0:h.options)==null?void 0:m[t];if(e)try{if(t==="onOpen"&&a.length>0){const p=a[0];new Function("rowData",e).call(this,p)}else if(t==="onChange"){const p=a[0],d=a[1];if(this.subFormItemFlag){const f=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,p,d,f,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,p,d)}else if(a.length>0){const p=a.map((f,o)=>`arg${o}`).join(", ");new Function(p,e).apply(this,a)}else new Function(e).call(this)}catch(p){console.error(`Error executing ${t} handler:`,p),console.error("Handler code:",e),console.error("Args:",a)}},handleRow(t){const a=this.fieldModel.findIndex(e=>e.assetId===t.assetId);a!==-1&&(this.triggerEvent("onOpen",this.fieldModel[a]),this.detailDialogVisible=!0,this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[a]))},setDetailColHidden(t,a){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,a)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(t){const a=this.fieldModel.findIndex(h=>h.assetId===this.detailDialogData.assetId);if(a===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[a]=gt(je(je({},this.fieldModel[a]),t),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$4={key:1};function _sfc_render$6(t,a,e,h,m,p){const d=vue.resolveComponent("el-table-column"),f=vue.resolveComponent("el-text"),o=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),n=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(o,{data:m.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"",style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(d,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801"}),vue.createVNode(d,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0",align:"left"},{default:vue.withCtx(({row:s})=>[e.field.options.clickRow?(vue.openBlock(),vue.createBlock(f,{key:0,class:"click-text",type:"primary",onClick:i=>p.handleRow(s)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.labelName),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$4,vue.toDisplayString(s.labelName),1))]),_:1}),vue.createVNode(d,{prop:"assetTypeName",align:"center",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(d,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(d,{prop:"originalValue",label:"\u539F\u503C(\u4E07\u5143)"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.originalValue),1)]),_:1}),vue.createVNode(d,{prop:"netValue",label:"\u51C0\u503C(\u4E07\u5143)"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.netValue),1)]),_:1}),p.handleShowIsUpdate()?(vue.openBlock(),vue.createBlock(d,{key:0,prop:"isUpdate",align:"center","header-align":"center",label:"\u662F\u5426\u5DF2\u5B8C\u6210\u586B\u5199"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.isUpdate?"\u662F":"\u5426"),1)]),_:1})):vue.createCommentVNode("",!0)]),_:1},8,["data"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:m.detailDialogVisible,typeJson:e.field.options.typeJson,data:m.detailDialogData,onClose:p.handleCloseDetailDialog,onConfirm:p.handleConfirm,disabled:e.field.options.disabled},null,8,["visible","typeJson","data","onClose","onConfirm","disabled"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AssetTableWidget=_export_sfc$1(_sfc_main$6,[["render",_sfc_render$6]]),index_vue_vue_type_style_index_0_scoped_true_lang$1="";const _sfc_main$5={name:"resolution-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:[{companyName:"\u516C\u53F81",fileName:"1111.png"},{companyName:"\u516C\u53F81"},{companyName:"\u516C\u53F81"},{companyName:"\u516C\u53F82"}],oldFieldValue:null,rules:[],detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{tableRowClassName({row:t}){return t.fileName?"":"no-attachment-row"},getFileIcon(t){const a=t==null?void 0:t.substring((t==null?void 0:t.lastIndexOf("."))+1).toLowerCase();return a?new URL({"../../assets/image/fileType/7z.png":__glob_6_0,"../../assets/image/fileType/bmp.png":__glob_6_1,"../../assets/image/fileType/default.png":__glob_6_2,"../../assets/image/fileType/doc.png":__glob_6_3,"../../assets/image/fileType/docx.png":__glob_6_4,"../../assets/image/fileType/dot.png":__glob_6_5,"../../assets/image/fileType/et.png":__glob_6_6,"../../assets/image/fileType/ett.png":__glob_6_7,"../../assets/image/fileType/jpeg.png":__glob_6_8,"../../assets/image/fileType/jpg.png":__glob_6_9,"../../assets/image/fileType/mp3.png":__glob_6_10,"../../assets/image/fileType/mp4.png":__glob_6_11,"../../assets/image/fileType/ofd.png":__glob_6_12,"../../assets/image/fileType/pdf.png":__glob_6_13,"../../assets/image/fileType/png.png":__glob_6_14,"../../assets/image/fileType/ppt.png":__glob_6_15,"../../assets/image/fileType/pptx.png":__glob_6_16,"../../assets/image/fileType/rar.png":__glob_6_17,"../../assets/image/fileType/tar.png":__glob_6_18,"../../assets/image/fileType/txt.png":__glob_6_19,"../../assets/image/fileType/wav.png":__glob_6_20,"../../assets/image/fileType/wps.png":__glob_6_21,"../../assets/image/fileType/wpt.png":__glob_6_22,"../../assets/image/fileType/xls.png":__glob_6_23,"../../assets/image/fileType/xlsx.png":__glob_6_24,"../../assets/image/fileType/xlt.png":__glob_6_25,"../../assets/image/fileType/zip.png":__glob_6_26}[`../../assets/image/fileType/${a}.png`],self.location):__glob_6_2},isZip(t){const a=t==null?void 0:t.substring((t==null?void 0:t.lastIndexOf("."))+1).toLowerCase();return a==="zip"||a==="rar"||a==="7z"||a==="tar"},async handlePreview(t){console.log(t,"file");try{const{response:a,fileId:e}=t;if(a){const{data:h}=a;if(!h.fileId)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:m}=await service({method:"get",url:"unified-file/sys-file/kkfile-url",params:{fileId:h.fileId}});window.open(m)}else{if(!e)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:h}=await service({method:"get",url:"unified-file/sys-file/kkfile-url",params:{fileId:e}});window.open(h)}}catch(a){console.error(a)}},async handleDownload(t){const{response:a,fileId:e,fileName:h,name:m}=t;if(a){const{data:p}=a;if(!p.fileId)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:d}=await service({method:"post",url:"unified-file/sys-file/download",params:{fileId:p.fileId},responseType:"blob"});downloadMethod(d,p.fileName)}else{if(!e)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:p}=await service({method:"post",url:"unified-file/sys-file/download",params:{fileId:e},responseType:"blob"});downloadMethod(p,m||h)}},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(t,...a){var h,m;const e=(m=(h=this.field)==null?void 0:h.options)==null?void 0:m[t];if(e)try{if(t==="onOpen"&&a.length>0){const p=a[0];new Function("rowData",e).call(this,p)}else if(t==="onChange"){const p=a[0],d=a[1];if(this.subFormItemFlag){const f=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,p,d,f,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,p,d)}else if(a.length>0){const p=a.map((f,o)=>`arg${o}`).join(", ");new Function(p,e).apply(this,a)}else new Function(e).call(this)}catch(p){console.error(`Error executing ${t} handler:`,p),console.error("Handler code:",e),console.error("Args:",a)}},setDetailColHidden(t,a){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,a)})}}},_hoisted_1$3={class:"upload-file-list"},_hoisted_2$3={class:"left-wrap"},_hoisted_3$2=["src"],_hoisted_4$2=["title"],_hoisted_5$2={class:"right-wrap"},_hoisted_6$2=["onClick"],_hoisted_7$2=["onClick"];function _sfc_render$5(t,a,e,h,m,p){const d=vue.resolveComponent("el-table-column"),f=vue.resolveComponent("el-table"),o=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(o,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"resolution-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(f,{data:m.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"",style:{width:"100%"},"row-key":"id",ref:"tableRef","row-class-name":p.tableRowClassName},{default:vue.withCtx(()=>[vue.createVNode(d,{prop:"companyName",label:"\u516C\u53F8\u540D\u79F0"}),vue.createVNode(d,{prop:"label2",label:"\u9644\u4EF6",align:"left"},{default:vue.withCtx(({row:u})=>[vue.createElementVNode("div",_hoisted_1$3,[vue.createElementVNode("div",_hoisted_2$3,[u.fileName?(vue.openBlock(),vue.createElementBlock("img",{key:0,src:p.getFileIcon(u.fileName),alt:"",style:{width:"18px",height:"18px","margin-right":"8px"}},null,8,_hoisted_3$2)):vue.createCommentVNode("",!0),vue.createElementVNode("div",{class:"upload-file-name",title:u.fileName},vue.toDisplayString(u.fileName),9,_hoisted_4$2)]),vue.createElementVNode("div",_hoisted_5$2,[p.isZip(u.fileName)?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",{key:0,onClick:vue.withModifiers(n=>p.handlePreview(u),["stop"]),class:"pr-8px color-primary cursor-pointer file-action-right"}," \u9884\u89C8 ",8,_hoisted_6$2)),vue.createElementVNode("div",{onClick:vue.withModifiers(n=>p.handleDownload(u),["stop"]),class:"pr-8px color-primary cursor-pointer file-action-right"}," \u4E0B\u8F7D ",8,_hoisted_7$2)])])]),_:1})]),_:1},8,["data","row-class-name"])],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var ResolutionTableWidget=_export_sfc$1(_sfc_main$5,[["render",_sfc_render$5],["__scopeId","data-v-4e95dfe2"]]),index_vue_vue_type_style_index_0_lang$1="";const _sfc_main$4={name:"fixed-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DetailDialog},data(){return{fieldModel:[{enterpriseName:"\u516C\u53F81",enterpriseProjectCount:"100",projectName:"\u9879\u76EEA",projectStage:"\u9636\u6BB51",totalPlannedInvestment:"500",completedInvestment:"200",currentYearPlannedInvestment:"100",enterpriseTotalPlannedInvestment:"300",remark:"\u5907\u6CE81"},{enterpriseName:"\u516C\u53F81",enterpriseProjectCount:"200",projectName:"\u9879\u76EEB",projectStage:"\u9636\u6BB52",totalPlannedInvestment:"800",completedInvestment:"300",currentYearPlannedInvestment:"150",enterpriseTotalPlannedInvestment:"450",remark:"\u5907\u6CE82"},{enterpriseName:"\u516C\u53F81",enterpriseProjectCount:"150",projectName:"\u9879\u76EEC",projectStage:"\u9636\u6BB53",totalPlannedInvestment:"600",completedInvestment:"250",currentYearPlannedInvestment:"120",enterpriseTotalPlannedInvestment:"380",remark:"\u5907\u6CE83"},{enterpriseName:"\u516C\u53F82",enterpriseProjectCount:"300",projectName:"\u9879\u76EED",projectStage:"\u9636\u6BB51",totalPlannedInvestment:"1000",completedInvestment:"400",currentYearPlannedInvestment:"200",enterpriseTotalPlannedInvestment:"600",remark:"\u5907\u6CE84"}],oldFieldValue:null,rules:[],detailDialogVisible:!1,detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{objectSpanMethod({row:t,column:a,rowIndex:e,columnIndex:h}){if(["enterpriseName","enterpriseProjectCount","enterpriseTotalPlannedInvestment"].includes(a.property)){const p=this.getSameCompanyRows(e);if(p.length>1)return e===p[0]?{rowspan:p.length,colspan:1}:{rowspan:0,colspan:0}}return{rowspan:1,colspan:1}},getSameCompanyRows(t){const a=this.fieldModel[t].enterpriseName,e=[t];for(let h=t-1;h>=0&&this.fieldModel[h].enterpriseName===a;h--)e.unshift(h);for(let h=t+1;h<this.fieldModel.length&&this.fieldModel[h].enterpriseName===a;h++)e.push(h);return e},formatAmount,handleShowIsUpdate(){return!(this.field.options.disabled||!this.field.options.clickRow)},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(t){const a=this.fieldModel.findIndex(e=>e.assetId===t.assetId);a!==-1&&(this.fieldModel[a]=je(je({},this.fieldModel[a]),t))},triggerEvent(t,...a){var h,m;const e=(m=(h=this.field)==null?void 0:h.options)==null?void 0:m[t];if(e)try{if(t==="onOpen"&&a.length>0){const p=a[0];new Function("rowData",e).call(this,p)}else if(t==="onChange"){const p=a[0],d=a[1];if(this.subFormItemFlag){const f=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,p,d,f,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,p,d)}else if(a.length>0){const p=a.map((f,o)=>`arg${o}`).join(", ");new Function(p,e).apply(this,a)}else new Function(e).call(this)}catch(p){console.error(`Error executing ${t} handler:`,p),console.error("Handler code:",e),console.error("Args:",a)}},handleRow(t){const a=this.fieldModel.findIndex(e=>e.assetId===t.assetId);a!==-1&&(this.triggerEvent("onOpen",this.fieldModel[a]),this.detailDialogVisible=!0,this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[a]))},setDetailColHidden(t,a){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,a)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(t){const a=this.fieldModel.findIndex(h=>h.assetId===this.detailDialogData.assetId);if(a===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[a]=gt(je(je({},this.fieldModel[a]),t),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$2={key:1},_hoisted_2$2={class:"funds"},_hoisted_3$1={class:"funds-source"},_hoisted_4$1={class:"funds"},_hoisted_5$1={class:"funds-source"},_hoisted_6$1={class:"funds"},_hoisted_7$1={class:"funds-source"};function _sfc_render$4(t,a,e,h,m,p){const d=vue.resolveComponent("el-table-column"),f=vue.resolveComponent("el-text"),o=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),n=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"fixed-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(o,{data:m.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"","span-method":p.objectSpanMethod,style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(d,{prop:"enterpriseName",label:"\u516C\u53F8\u540D\u79F0",width:"150"}),vue.createVNode(d,{prop:"enterpriseProjectCount",label:"\u6570\u91CF",align:"left",width:"60"}),vue.createVNode(d,{prop:"projectName",align:"center",label:"\u9879\u76EE\u540D\u79F0",width:"200"},{default:vue.withCtx(({row:s})=>{var i,r;return[((r=(i=e.field)==null?void 0:i.options)==null?void 0:r.clickRow)?(vue.openBlock(),vue.createBlock(f,{key:0,class:"click-text",type:"primary",onClick:l=>p.handleRow(s)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.projectName),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$2,vue.toDisplayString(s.projectName),1))]}),_:1}),vue.createVNode(d,{prop:"projectStage",label:"\u9879\u76EE\u9636\u6BB5",width:"90"}),vue.createVNode(d,{prop:"totalPlannedInvestment",label:"\u9879\u76EE\u603B\u6295\u8D44(\u4E07\u5143)",width:"100"}),vue.createVNode(d,{prop:"completedInvestment",label:"\u5DF2\u5B8C\u6210\u6295\u8D44(\u4E07\u5143)",width:"100"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.completedInvestment),1)]),_:1}),vue.createVNode(d,{prop:"currentYearPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u989D(\u4E07\u5143)",width:"111"}),vue.createVNode(d,{prop:"enterpriseTotalPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u603B\u989D(\u4E07\u5143)",width:"130"}),vue.createVNode(d,{prop:"label9",label:"\u8D44\u91D1\u6765\u6E90",width:"320"},{default:vue.withCtx(({row:s})=>[vue.createElementVNode("div",_hoisted_2$2,[vue.createElementVNode("div",_hoisted_3$1,"\u81EA\u6709\u8D44\u4EA7(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.ownFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.ownFundsPercent),1)]),vue.createElementVNode("div",_hoisted_4$1,[vue.createElementVNode("div",_hoisted_5$1,"\u94F6\u884C\u8D37\u6B3E(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.loanFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.loanFundsPercent),1)]),vue.createElementVNode("div",_hoisted_6$1,[vue.createElementVNode("div",_hoisted_7$1,"\u5176\u4ED6\u8D44\u91D1(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.otherFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.otherFundsPercent),1)])]),_:1}),vue.createVNode(d,{prop:"remark",label:"\u5907\u6CE8"})]),_:1},8,["data","span-method"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:m.detailDialogVisible,typeJson:e.field.options.typeJson,data:m.detailDialogData,onClose:p.handleCloseDetailDialog,onConfirm:p.handleConfirm,disabled:e.field.options.disabled},null,8,["visible","typeJson","data","onClose","onConfirm","disabled"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var FixedTableWidget=_export_sfc$1(_sfc_main$4,[["render",_sfc_render$4]]),index_vue_vue_type_style_index_0_lang="";const _sfc_main$3={name:"equity-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DetailDialog},data(){return{fieldModel:[{enterpriseName:"\u516C\u53F81",enterpriseProjectCount:"100",projectName:"\u9879\u76EEA",registeredCapital:"\u9636\u6BB51",subscribedCapital:"500",paidInCapital:"200",currentYearPlannedInvestment:"100",enterpriseTotalPlannedInvestment:"300",label9:"\u81EA\u6709\u8D44\u91D1",remark:"\u5907\u6CE81"},{enterpriseName:"\u516C\u53F81",enterpriseProjectCount:"200",projectName:"\u9879\u76EEB",registeredCapital:"\u9636\u6BB52",subscribedCapital:"800",paidInCapital:"300",currentYearPlannedInvestment:"150",enterpriseTotalPlannedInvestment:"450",label9:"\u94F6\u884C\u8D37\u6B3E",remark:"\u5907\u6CE82"},{enterpriseName:"\u516C\u53F81",enterpriseProjectCount:"150",projectName:"\u9879\u76EEC",registeredCapital:"\u9636\u6BB53",subscribedCapital:"600",paidInCapital:"250",currentYearPlannedInvestment:"120",enterpriseTotalPlannedInvestment:"380",label9:"\u653F\u5E9C\u62E8\u6B3E",remark:"\u5907\u6CE83"},{enterpriseName:"\u516C\u53F82",enterpriseProjectCount:"300",projectName:"\u9879\u76EED",registeredCapital:"\u9636\u6BB51",subscribedCapital:"1000",paidInCapital:"400",currentYearPlannedInvestment:"200",enterpriseTotalPlannedInvestment:"600",label9:"\u81EA\u6709\u8D44\u91D1",remark:"\u5907\u6CE84"}],oldFieldValue:null,rules:[],detailDialogVisible:!1,detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{objectSpanMethod({row:t,column:a,rowIndex:e,columnIndex:h}){if(["enterpriseName","enterpriseProjectCount","enterpriseTotalPlannedInvestment"].includes(a.property)){const p=this.getSameCompanyRows(e);if(p.length>1)return e===p[0]?{rowspan:p.length,colspan:1}:{rowspan:0,colspan:0}}return{rowspan:1,colspan:1}},getSameCompanyRows(t){const a=this.fieldModel[t].enterpriseName,e=[t];for(let h=t-1;h>=0&&this.fieldModel[h].enterpriseName===a;h--)e.unshift(h);for(let h=t+1;h<this.fieldModel.length&&this.fieldModel[h].enterpriseName===a;h++)e.push(h);return e},formatAmount,handleShowIsUpdate(){return!(this.field.options.disabled||!this.field.options.clickRow)},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(t){const a=this.fieldModel.findIndex(e=>e.assetId===t.assetId);a!==-1&&(this.fieldModel[a]=je(je({},this.fieldModel[a]),t))},triggerEvent(t,...a){var h,m;const e=(m=(h=this.field)==null?void 0:h.options)==null?void 0:m[t];if(e)try{if(t==="onOpen"&&a.length>0){const p=a[0];new Function("rowData",e).call(this,p)}else if(t==="onChange"){const p=a[0],d=a[1];if(this.subFormItemFlag){const f=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,p,d,f,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,p,d)}else if(a.length>0){const p=a.map((f,o)=>`arg${o}`).join(", ");new Function(p,e).apply(this,a)}else new Function(e).call(this)}catch(p){console.error(`Error executing ${t} handler:`,p),console.error("Handler code:",e),console.error("Args:",a)}},handleRow(t){const a=this.fieldModel.findIndex(e=>e.assetId===t.assetId);a!==-1&&(this.triggerEvent("onOpen",this.fieldModel[a]),this.detailDialogVisible=!0,this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[a]))},setDetailColHidden(t,a){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,a)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(t){const a=this.fieldModel.findIndex(h=>h.assetId===this.detailDialogData.assetId);if(a===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[a]=gt(je(je({},this.fieldModel[a]),t),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$1={key:1},_hoisted_2$1={class:"funds"},_hoisted_3={class:"funds-source"},_hoisted_4={class:"funds"},_hoisted_5={class:"funds-source"},_hoisted_6={class:"funds"},_hoisted_7={class:"funds-source"},_hoisted_8={class:"funds"},_hoisted_9={class:"funds-source"};function _sfc_render$3(t,a,e,h,m,p){const d=vue.resolveComponent("el-table-column"),f=vue.resolveComponent("el-text"),o=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),n=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"equity-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(o,{data:m.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"","span-method":p.objectSpanMethod,style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(d,{prop:"enterpriseName",label:"\u516C\u53F8\u540D\u79F0",width:"150"}),vue.createVNode(d,{prop:"enterpriseProjectCount",label:"\u6570\u91CF",align:"left",width:"60"}),vue.createVNode(d,{prop:"projectName",align:"center",label:"\u9879\u76EE\u540D\u79F0",width:"200"},{default:vue.withCtx(({row:s})=>{var i,r;return[((r=(i=e.field)==null?void 0:i.options)==null?void 0:r.clickRow)?(vue.openBlock(),vue.createBlock(f,{key:0,class:"click-text",type:"primary",onClick:l=>p.handleRow(s)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.projectName),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$1,vue.toDisplayString(s.projectName),1))]}),_:1}),vue.createVNode(d,{prop:"registeredCapital",label:"\u6CE8\u518C\u8D44\u672C(\u4E07\u5143)",width:"90"}),vue.createVNode(d,{prop:"subscribedCapital",label:"\u8BA4\u7F34\u51FA\u8D44(\u4E07\u5143)",width:"100"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.subscribedCapital),1)]),_:1}),vue.createVNode(d,{prop:"paidInCapital",label:"\u5DF2\u5B8C\u6210\u6295\u8D44(\u4E07\u5143)",width:"100"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.paidInCapital),1)]),_:1}),vue.createVNode(d,{prop:"currentYearPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u989D(\u4E07\u5143)",width:"111"}),vue.createVNode(d,{prop:"enterpriseTotalPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u603B\u989D(\u4E07\u5143)",width:"130"}),vue.createVNode(d,{prop:"label9",label:"\u8D44\u91D1\u6765\u6E90",width:"360"},{default:vue.withCtx(({row:s})=>[vue.createElementVNode("div",_hoisted_2$1,[vue.createElementVNode("div",_hoisted_3,"\u81EA\u6709\u8D44\u4EA7(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.ownFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.ownFundsPercent),1)]),vue.createElementVNode("div",_hoisted_4,[vue.createElementVNode("div",_hoisted_5,"\u94F6\u884C\u8D37\u6B3E(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.loanFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.loanFundsPercent),1)]),vue.createElementVNode("div",_hoisted_6,[vue.createElementVNode("div",_hoisted_7,"\u5176\u4ED6\u8D44\u91D1(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.otherFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.otherFundsPercent),1)]),vue.createElementVNode("div",_hoisted_8,[vue.createElementVNode("div",_hoisted_9," \u5173\u8054\u4F01\u4E1A\u501F\u6B3E\u8D44\u91D1(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.relatedPartyBorrowing||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.relatedPartyBorrowingPercent),1)])]),_:1}),vue.createVNode(d,{prop:"remark",label:"\u5907\u6CE8"})]),_:1},8,["data","span-method"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:m.detailDialogVisible,typeJson:e.field.options.typeJson,data:m.detailDialogData,onClose:p.handleCloseDetailDialog,onConfirm:p.handleConfirm,disabled:e.field.options.disabled},null,8,["visible","typeJson","data","onClose","onConfirm","disabled"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var EquityTableSchema=_export_sfc$1(_sfc_main$3,[["render",_sfc_render$3]]);const AssetTypeEnum={"0":"equity","1":"house","2":"land","3":"equipment","4":"vehicle","5":"intangible","6":"other_fixed","7":"electronic","8":"office_furniture"};var equity="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikdyb3VwIDI0NyI+CjxwYXRoIGlkPSJFbGxpcHNlIDUiIGQ9Ik0xMyA5QzEzIDEwLjE4NjcgMTIuNjQ4MSAxMS4zNDY3IDExLjk4ODggMTIuMzMzNEMxMS4zMjk1IDEzLjMyMDEgMTAuMzkyNSAxNC4wODkyIDkuMjk2MSAxNC41NDMzQzguMTk5NzQgMTQuOTk3NCA2Ljk5MzM0IDE1LjExNjIgNS44Mjk0NiAxNC44ODQ3QzQuNjY1NTcgMTQuNjUzMiAzLjU5NjQ3IDE0LjA4MTggMi43NTczNiAxMy4yNDI2QzEuOTE4MjQgMTIuNDAzNSAxLjM0NjggMTEuMzM0NCAxLjExNTI5IDEwLjE3MDVDMC44ODM3NzcgOS4wMDY2NiAxLjAwMjYgNy44MDAyNiAxLjQ1NjcyIDYuNzAzOUMxLjkxMDg1IDUuNjA3NTQgMi42Nzk4OCA0LjY3MDQ3IDMuNjY2NTggNC4wMTExOEM0LjY1MzI3IDMuMzUxODkgNS44MTMzMSAzIDcgM1Y5SDEzWiIgZmlsbD0iIzRFNTk2OSIvPgo8cGF0aCBpZD0iRWxsaXBzZSA2IiBvcGFjaXR5PSIwLjciIGQ9Ik0xNSA3LjVDMTUgNi42NDY0MSAxNC44MzE5IDUuODAxMTcgMTQuNTA1MiA1LjAxMjU2QzE0LjE3ODYgNC4yMjM5NCAxMy42OTk4IDMuNTA3Mzk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GQ9Ik0yLjUgMTBMNCA4IiBzdHJva2U9IiMzMTgyQ0UiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBpZD0iVmVjdG9yIDUiIGQ9Ik00LjUgNkw1LjUgNC41IiBzdHJva2U9IiMzMTgyQ0UiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBpZD0iVmVjdG9yIDciIGQ9Ik00LjUgMTBMNS41IDguNSIgc3Ryb2tlPSIjMzE4MkNFIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=",index_vue_vue_type_style_index_0_scoped_true_lang="";const assetTypeImageMap={equity,"equity-active":equityActive,house,"house-active":houseActive,land,"land-active":landActive,equipment,"equipment-active":equipmentActive,vehicle,"vehicle-active":vehicleActive,intangible,"intangible-active":intangibleActive,other_fixed:otherFixed,"other_fixed-active":otherFixedActive,electronic,"electronic-active":electronicActive,office_furniture:officeFurniture,"office_furniture-active":officeFurnitureActive},_sfc_main$2={name:"asset-type-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,rules:[],selectedValue:null,assetTypeOptions:[]}},computed:{},watch:{"field.options.assetTypeValue":{handler(t){this.fieldModel=t,this.syncUpdateFormModel(t)},immediate:!0}},methods:{getAssetTypeImage(t,a){const e=AssetTypeEnum[t];if(!e)return"";const h=a==="selected"?`${e}-active`:`${e}`;return assetTypeImageMap[h]||""},getAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:t}})=>{this.assetTypeOptions=t.map(a=>({label:a.label,value:a.itemValue})),console.log("assetTypeOptions",this.assetTypeOptions)})}},mounted(){this.getAssetTypeOptions()},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()}},_hoisted_1=["src"],_hoisted_2={class:"item-label"};function _sfc_render$2(t,a,e,h,m,p){const d=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(d,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-type-widget",style:vue.normalizeStyle(t.widgetStyle)},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.assetTypeOptions,f=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["asset-type-item",{selected:m.fieldModel===f.value}]),key:f.value},[f.value!=="all"?(vue.openBlock(),vue.createElementBlock("img",{key:0,src:p.getAssetTypeImage(f.value,m.fieldModel===f.value?"selected":"normal"),alt:"",class:""},null,8,_hoisted_1)):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_2,vue.toDisplayString(f.label),1)],2))),128))],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AssetTypeWidget=_export_sfc$1(_sfc_main$2,[["render",_sfc_render$2],["__scopeId","data-v-7351af35"]]);const _sfc_main$1={name:"current-user-second-company-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[]}},computed:{displayModel(){var t,a;return(a=(t=this.fieldModel)==null?void 0:t.companyName)!=null?a:""},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}}},methods:{hasExistingValue(){var a;const t=(a=this.fieldModel)!=null?a:this.oldFieldValue;return t==null||t===""?!1:typeof t=="object"?!!(t.companyName||t.id||t.companyId):!0},tryLoadCurrentUserSecondCompany(){console.log(this.designState,this.hasExistingValue(),"222222222"),!(this.designState||this.hasExistingValue())&&this.getCurrentUserSecondCompany()},async getCurrentUserSecondCompany(){if(this.hasExistingValue())return;const{data:t}=await service$1({method:"get",url:"unified-system/sysCompany/targetCompany",params:{id:sessionStorage.getItem("companyId")}});this.hasExistingValue()||(this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue))}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){console.log(this.designState,this.modelValue,this.hasExistingValue(),"333333333"),this.$nextTick(()=>{this.tryLoadCurrentUserSecondCompany()})}};function _sfc_render$1(t,a,e,h,m,p){const d=vue.resolveComponent("el-input"),f=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(f,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(d,{modelValue:p.displayModel,"onUpdate:modelValue":a[0]||(a[0]=o=>p.displayModel=o),disabled:!0},null,8,["modelValue"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CurrentUserSecondCompanyWidget=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1]]);const _sfc_main={name:"custom-input-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,SvgIcon},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{inputType(){return this.field.options.type==="number"?"text":this.field.options.type}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.hasExistingValue()||this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{hasExistingValue(){var a;const t=(a=this.fieldModel)!=null?a:this.oldFieldValue;return t!=null&&t!==""}}};function _sfc_render(t,a,e,h,m,p){const d=vue.resolveComponent("svg-icon"),f=vue.resolveComponent("el-button"),o=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:m.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(o,{ref:"fieldEditor",modelValue:m.fieldModel,"onUpdate:modelValue":a[0]||(a[0]=n=>m.fieldModel=n),disabled:t.getDisabled(),readonly:e.field.options.readonly,size:t.widgetSize,class:"hide-spin-button",type:p.inputType,"show-password":e.field.options.showPassword,placeholder:e.field.options.placeholder,clearable:e.field.options.clearable,minlength:e.field.options.minLength,maxlength:e.field.options.maxLength,"show-word-limit":e.field.options.showWordLimit,"prefix-icon":e.field.options.prefixIcon,"suffix-icon":e.field.options.suffixIcon,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onInput:t.handleInputCustomEvent,onChange:t.handleChangeEvent},vue.createSlots({_:2},[e.field.options.appendButton?{name:"append",fn:vue.withCtx(()=>[vue.createVNode(f,{disabled:t.getDisabled()||e.field.options.appendButtonDisabled,onClick:t.emitAppendButtonClick},{default:vue.withCtx(()=>[vue.createVNode(d,{"icon-class":e.field.options.buttonIcon},null,8,["icon-class"])]),_:1},8,["disabled","onClick"])]),key:"0"}:void 0]),1032,["modelValue","disabled","readonly","size","type","show-password","placeholder","clearable","minlength","maxlength","show-word-limit","prefix-icon","suffix-icon","onFocus","onBlur","onInput","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CustomInputWidget=_export_sfc$1(_sfc_main,[["render",_sfc_render]]);const loadExtension=function(t){addContainerWidgetSchema(cardSchema),t.component(CardWidget.name,CardWidget),t.component(CardItem.name,CardItem),registerCPEditor(t,"card-folded","card-folded-editor",createBooleanEditor("folded","extension.setting.cardFolded")),registerCPEditor(t,"card-showFold","card-showFold-editor",createBooleanEditor("showFold","extension.setting.cardShowFold")),registerCPEditor(t,"card-cardWidth","card-cardWidth-editor",createInputTextEditor("cardWidth","extension.setting.cardWidth")),registerCPEditor(t,"card-shadow","card-shadow-editor",createSelectEditor("shadow","extension.setting.cardShadow",{optionItems:[{label:"never",value:"never"},{label:"hover",value:"hover"},{label:"always",value:"always"}]})),registerCWGenerator("card",cardTemplateGenerator),registerCPEditor(t,"mainTip","mainTip-editor",createInputTextEditor("mainTip","designer.setting.mainTip")),registerCPEditor(t,"subTip","subTip-editor",createInputTextEditor("subTip","designer.setting.subTip")),addCustomWidgetSchema(alertSchema),t.component(AlertWidget.name,AlertWidget),registerCPEditor(t,"alert-title","alert-title-editor",createInputTextEditor("title","extension.setting.alertTitle"));let e=[{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"info",value:"info"},{label:"error",value:"error"}];t.component("alert-type-editor",createSelectEditor("type","extension.setting.alertType",{optionItems:e})),registerCPEditor(t,"alert-description","alert-description-editor",createInputTextEditor("description","extension.setting.description")),registerCPEditor(t,"alert-closable","alert-closable-editor",createBooleanEditor("closable","extension.setting.closable")),registerCPEditor(t,"alert-closeText","alert-closeText-editor",createInputTextEditor("closeText","extension.setting.closeText")),registerCPEditor(t,"alert-center","alert-center-editor",createBooleanEditor("center","extension.setting.center")),registerCPEditor(t,"alert-showIcon","alert-showIcon-editor",createBooleanEditor("showIcon","extension.setting.showIcon")),registerCPEditor(t,"alert-effect","alert-effect-editor",createRadioButtonGroupEditor("effect","extension.setting.effect",{optionItems:[{label:"light",value:"light"},{label:"dark",value:"dark"}]})),registerEPEditor(t,"alert-onClose","alert-onClose-editor",createEventHandlerEditor("onClose",[])),registerFWGenerator("alert",alertTemplateGenerator),addCustomWidgetSchema(personTreeSchema),t.component(PersonTreeWidget.name,PersonTreeWidget),registerCPEditor(t,"person-tree-buttonText","person-tree-buttonText-editor",createInputTextEditor("buttonText","extension.setting.personTreeButtonText")),registerCPEditor(t,"person-tree-dialogTitle","person-tree-dialogTitle-editor",createInputTextEditor("dialogTitle","extension.setting.personTreeDialogTitle")),registerCPEditor(t,"person-tree-treeParams","person-tree-treeParams-editor",createTextareaEditor("treeParams","extension.setting.personTreeTreeParams",{rows:4})),registerAPEditor(t,"person-tree-dialogWidth","person-tree-dialogWidth-editor",createInputTextEditor("dialogWidth","extension.setting.personTreeDialogWidth")),registerCPEditor(t,"person-tree-confirmText","person-tree-confirmText-editor",createInputTextEditor("confirmText","extension.setting.personTreeConfirmText")),registerCPEditor(t,"person-tree-cancelText","person-tree-cancelText-editor",createInputTextEditor("cancelText","extension.setting.personTreeCancelText")),registerCPEditor(t,"person-tree-hideFooter","person-tree-hideFooter-editor",createBooleanEditor("hideFooter","extension.setting.personTreeHideFooter")),registerEPEditor(t,"person-tree-onOpen","person-tree-onOpen-editor",createEventHandlerEditor("onOpen",[])),registerEPEditor(t,"person-tree-onConfirm","person-tree-onConfirm-editor",createEventHandlerEditor("onConfirm",["checkedNodes"])),registerEPEditor(t,"person-tree-onRemoveTag","person-tree-onRemoveTag-editor",createEventHandlerEditor("onRemoveTag",["removedItem","remainingNodes","removedIndex"])),registerEPEditor(t,"person-tree-onCancel","person-tree-onCancel-editor",createEventHandlerEditor("onCancel",[])),registerEPEditor(t,"person-tree-onClose","person-tree-onClose-editor",createEventHandlerEditor("onClose",[])),addCustomWidgetSchema(radioOtherSchema),t.component(radioOtherItem.name,radioOtherItem),addCustomWidgetSchema(selectOtherSchema),t.component(selectOtherItem.name,selectOtherItem),addCustomWidgetSchema(meetingRoomSchema),t.component(meetingRoomItem.name,meetingRoomItem),registerCPEditor(t,"meeting-room-remoteUrl","meeting-room-remoteUrl-editor",createInputTextEditor("remoteUrl","extension.setting.meetingRoomRemoteUrl")),registerCPEditor(t,"meeting-room-allowMultiple","meeting-room-allowMultiple-editor",createBooleanEditor("allowMultiple","extension.setting.allowMultiple")),addContainerWidgetSchema(customSubFormSchema),t.component(CustomSubFormWidget.name,CustomSubFormWidget),t.component(CustomSubFormItem.name,CustomSubFormItem),addContainerWidgetSchema(customTableCellSchema),addContainerWidgetSchema(customTableSchema),t.component(CustomTableWidget.name,CustomTableWidget),t.component(CustomTableItem.name,CustomTableItem),t.component(CustomTableCellWidget.name,CustomTableCellWidget),t.component(CustomTableCellItem.name,CustomTableCellItem),addContainerWidgetSchema(subTableSchema),t.component(SubTableWidget.name,SubTableWidget),t.component(SubTableItem.name,SubTableItem),registerCPEditor(t,"sub-table-showIndex","sub-table-showIndex-editor",createBooleanEditor("showIndex","extension.setting.subTableShowIndex")),t.component("sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(t,"sub-table-columns","sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(t,"select-tree-showCheckbox","select-tree-showCheckbox-editor",createBooleanEditor("showCheckbox","designer.setting.showCheckbox")),registerCPEditor(t,"select-tree-checkStrictly","select-tree-checkStrictly-editor",createBooleanEditor("checkStrictly","extension.setting.selectTreeCheckStrictly")),addCustomWidgetSchema(currentUserSchema),t.component(CurrentUserWidget.name,CurrentUserWidget),registerCPEditor(t,"current-user-type","current-user-type-editor",createSelectEditor("type","extension.setting.currentUserType",{optionItems:[{label:"\u7528\u6237\u540D",value:"username"},{label:"\u90E8\u95E8\u540D\u79F0",value:"deptName"},{label:"\u516C\u53F8\u540D\u79F0",value:"companyName"}]})),addCustomWidgetSchema(currentUserSecondCompanySchema),t.component(CurrentUserSecondCompanyWidget.name,CurrentUserSecondCompanyWidget),addCustomWidgetSchema(assetSelectSchema),t.component(AssetSelectWidget.name,AssetSelectWidget),registerCPEditor(t,"asset-select-buttonText","asset-select-buttonText-editor",createInputTextEditor("buttonText","extension.setting.assetSelectButtonText")),registerCPEditor(t,"asset-select-typeJson","asset-select-typeJson-editor",createTextareaEditor("typeJson","extension.setting.assetSelectTypeJson",{rows:4})),registerCPEditor(t,"asset-select-assetTypeValue","asset-select-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetSelectAssetTypeValue")),registerCPEditor(t,"asset-select-assetLimit","asset-select-assetLimit-editor",createInputNumberEditor("assetLimit","extension.setting.assetSelectAssetLimit")),addCustomWidgetSchema(assetTableSchema),t.component(AssetTableWidget.name,AssetTableWidget),registerCPEditor(t,"asset-table-typeJson","asset-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.assetTableTypeJson")),registerCPEditor(t,"asset-table-clickRow","asset-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.assetTableClickRow")),registerEPEditor(t,"asset-table-onOpen","asset-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),addCustomWidgetSchema(fixedTableSchema),t.component(FixedTableWidget.name,FixedTableWidget),registerCPEditor(t,"fixed-table-typeJson","fixed-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.fixedTableTypeJson")),registerCPEditor(t,"fixed-table-clickRow","fixed-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.fixedTableClickRow")),registerEPEditor(t,"fixed-table-onOpen","fixed-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),addCustomWidgetSchema(equityTableSchema),t.component(EquityTableSchema.name,EquityTableSchema),registerCPEditor(t,"equity-table-typeJson","equity-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.equityTableTypeJson")),registerCPEditor(t,"equity-table-clickRow","equity-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.equityTableClickRow")),registerEPEditor(t,"equity-table-onOpen","equity-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),addCustomWidgetSchema(resolutionTableSchema),t.component(ResolutionTableWidget.name,ResolutionTableWidget),addCustomWidgetSchema(assetTypeSchema),t.component(AssetTypeWidget.name,AssetTypeWidget),registerCPEditor(t,"asset-type-assetTypeValue","asset-type-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetTypeAssetTypeValue")),addCustomWidgetSchema(customInputSchema),t.component(CustomInputWidget.name,CustomInputWidget)},{cookies}=useCookies();function getElMessage(t){var a,e,h;try{if((e=(a=t==null?void 0:t.config)==null?void 0:a.globalProperties)==null?void 0:e.$message)return t.config.globalProperties.$message;if(typeof window!="undefined"&&window.ElementPlus)return window.ElementPlus.ElMessage||((h=window.ElementPlus.default)==null?void 0:h.ElMessage)||null}catch{}return null}typeof window!="undefined"&&(window.cookies=cookies);const SortableLib=(ct=(nt=require$$1__default.default)==null?void 0:nt.default)!=null?ct:require$$1__default.default;typeof window!="undefined"&&!window.Sortable&&(window.Sortable=SortableLib);const Draggable=(xt=VuedraggableCjs==null?void 0:VuedraggableCjs.default)!=null?xt:VuedraggableCjs;VFormDesigner.install=function(t){addDirective(t),loadExtension(t),t.use(ContainerWidgets),t.use(ContainerItems),registerIcon(t),t.component("draggable",Draggable),t.component(VFormDesigner.name,VFormDesigner),t.config.globalProperties.$service=service$1,t.provide("service",service$1),t.provide("ElMessage",getElMessage(t)),t.config.globalProperties.$cookies=cookies,t.provide("cookies",cookies)},VFormRender.install=function(t){loadExtension(t),t.use(ContainerItems),registerIcon(t),t.component(VFormRender.name,VFormRender),t.config.globalProperties.$service=service$1,t.provide("service",service$1),t.config.globalProperties.$cookies=cookies,t.provide("cookies",cookies)};const components=[VFormDesigner,VFormRender],install=t=>{addDirective(t),loadExtension(t),t.use(ContainerWidgets),t.use(ContainerItems),registerIcon(t),t.component("draggable",Draggable),components.forEach(a=>{t.component(a.name,a)}),t.config.globalProperties.$service=service$1,t.provide("service",service$1),window.axios=axios,typeof window!="undefined"&&(window.service=service$1)};var install$1={install,VFormDesigner,VFormRender};return install$1});
|