@agile-team/mach-report 2.22.0 → 2.23.1
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/README.md +8 -6
- package/dist/ExcelBindingWizard-BrTmdo7f.cjs +1 -0
- package/dist/ExcelBindingWizard-CcDMLO8Q.js +1486 -0
- package/dist/ParamEditor-BGjovFUe.js +737 -0
- package/dist/ParamEditor-CeNp4_zQ.cjs +1 -0
- package/dist/ReportBatchPanel-CHxBtG9R.cjs +1 -0
- package/dist/ReportBatchPanel-CJB67WNd.js +351 -0
- package/dist/ReportLabelStudio-Tplc1TLJ.js +784 -0
- package/dist/ReportLabelStudio-g8PkqJWn.cjs +1 -0
- package/dist/ReportParamPanel-C7fZTllk.cjs +1 -0
- package/dist/{ReportParamPanel-BHSKVL8k.js → ReportParamPanel-GI43aGa0.js} +146 -127
- package/dist/ReportPreview-BoGBGyRr.cjs +6 -0
- package/dist/ReportPreview-QLONCyci.js +6257 -0
- package/dist/ReportTemplateLibrary-BFQIX0sg.cjs +1 -0
- package/dist/ReportTemplateLibrary-KqX4E2sN.js +312 -0
- package/dist/RuleEditor-BZUP9yvL.cjs +1 -0
- package/dist/RuleEditor-OPX1awrH.js +2342 -0
- package/dist/TemplateOutlinePanel-CVYKVLv_.cjs +1 -0
- package/dist/TemplateOutlinePanel-DQS-eOs6.js +97 -0
- package/dist/TemplateReusePanel-CY6O93Zk.cjs +1 -0
- package/dist/TemplateReusePanel-DKXiFTyB.js +389 -0
- package/dist/TemplateReviewPanel-DbeNC8Ms.cjs +1 -0
- package/dist/TemplateReviewPanel-Dijwm9YE.js +593 -0
- package/dist/analytics.cjs +1 -1
- package/dist/analytics.js +26 -26
- package/dist/artifact-integrity.json +106 -104
- package/dist/assets-D2gHc4Mz.cjs +1 -0
- package/dist/assets-T_gDeFaz.js +132 -0
- package/dist/auto-BB99S802.js +257 -0
- package/dist/auto-BrPWo7Xm.cjs +1 -0
- package/dist/capabilities-DiBj4Qgl.cjs +1 -0
- package/dist/capabilities-pg7j7VLT.js +106 -0
- package/dist/charts-Cjw5AYkg.cjs +1 -0
- package/dist/{charts-Dlv8j2AG.js → charts-CxJZ0XaY.js} +1 -1
- package/dist/computed-DK6BruFz.cjs +1 -0
- package/dist/{computed-C8NRZQss.js → computed-f3pOqWLX.js} +381 -301
- package/dist/data-bar-CeZuFmYl.cjs +1 -0
- package/dist/{data-bar-8baGYEZ9.js → data-bar-IkI6VvMQ.js} +1 -1
- package/dist/designer-BZoVWTgl.js +7172 -0
- package/dist/designer-zS2uKJmY.cjs +2 -0
- package/dist/designer.cjs +1 -1
- package/dist/designer.d.cts +105 -45
- package/dist/designer.d.ts +105 -45
- package/dist/designer.js +4 -4
- package/dist/dom-ChE5D-L-.cjs +1 -0
- package/dist/dom-JWrchIre.js +452 -0
- package/dist/dom-cell-address-DLD1mkTB.cjs +1 -0
- package/dist/dom-cell-address-Fn-8nk7D.js +11 -0
- package/dist/{encoding-ncQAvyOv.cjs → encoding-7lquyj0w.cjs} +1 -1
- package/dist/{encoding-DbnhbwI8.js → encoding-CEd-dq9A.js} +2 -2
- package/dist/{font-loader-Di0lQKFf.js → font-loader-CNWXomuV.js} +1 -1
- package/dist/{font-loader-BB372_XN.cjs → font-loader-D8pI87fL.cjs} +1 -1
- package/dist/grid-strokes-Be24LGuV.cjs +1 -0
- package/dist/grid-strokes-EoY66L2f.js +53 -0
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +944 -1259
- package/dist/{json-snapshot-DvQbZlD7.js → json-snapshot-BRnzKudk.js} +763 -776
- package/dist/json-snapshot-DNiIbpOr.cjs +2 -0
- package/dist/matrix-B8QWbsGM.cjs +1 -0
- package/dist/matrix-C6e_r_vp.js +302 -0
- package/dist/{pdf-DmlnL5eB.js → pdf-CJToa81Z.js} +20 -20
- package/dist/{pdf-CARdBcuw.cjs → pdf-DpMkW72B.cjs} +42 -42
- package/dist/pdf.cjs +1 -1
- package/dist/pdf.js +2 -2
- package/dist/{plugin-AcAQ2m9X.cjs → plugin-BWTp-X7b.cjs} +1 -1
- package/dist/{plugin-w5Nyt08U.js → plugin-_BkUVc2z.js} +1 -1
- package/dist/{prefill-BXBxx5We.js → prefill-CWGdnqQd.js} +21 -21
- package/dist/prefill-PaAy6wLk.cjs +1 -0
- package/dist/prepared-CJy_qk7d.js +94 -0
- package/dist/prepared-D0yCSxSO.cjs +1 -0
- package/dist/progress-ByiOxUD3.js +250 -0
- package/dist/progress-WomPRP3B.cjs +1 -0
- package/dist/{protocol-fjaeKkjf.js → protocol-BG16rz6D.js} +3 -3
- package/dist/{protocol-C9ZaylID.cjs → protocol-wzhl1Fim.cjs} +1 -1
- package/dist/record-bindings-DatJZv_e.js +200 -0
- package/dist/record-bindings-MBxbeBsi.cjs +1 -0
- package/dist/{region-binding-workflow-aA8nxmkZ.js → region-binding-workflow-DjrXuR1q.js} +2 -2
- package/dist/{region-binding-workflow-BiJQ7NU6.cjs → region-binding-workflow-l7NGfagJ.cjs} +2 -2
- package/dist/report-encoding-worker.cjs +1 -1
- package/dist/report-encoding-worker.js +1 -1
- package/dist/rich-text-layout-Ciwa6D2o.js +52 -0
- package/dist/rich-text-layout-DK7A_a5r.cjs +3 -0
- package/dist/runtime-DYMOS_gz.cjs +1 -0
- package/dist/{runtime-BTtpjF3D.js → runtime-PiCax9zQ.js} +52 -51
- package/dist/sbom.cdx.json +1 -1
- package/dist/server-node.cjs +5 -5
- package/dist/server-node.js +1676 -1619
- package/dist/server.cjs +1 -1
- package/dist/server.js +24 -24
- package/dist/style.css +1 -1
- package/dist/{template-catalog-JSxSqk5y.js → template-catalog-CRuZL3pi.js} +17 -17
- package/dist/template-catalog-DtrtT1FY.cjs +1 -0
- package/dist/{template-fragments-D2JFj7Du.js → template-fragments-CPpGpQoz.js} +12 -12
- package/dist/template-fragments-GVjpew_q.cjs +1 -0
- package/dist/template-registry-DI59PXVK.cjs +1 -0
- package/dist/{template-registry-Do1Uav2Z.js → template-registry-O0hNIOfB.js} +17 -17
- package/dist/{template-serialization-CU4n_Miu.js → template-serialization-CWmHq7lX.js} +1 -1
- package/dist/{template-serialization-CgqBo6s-.cjs → template-serialization-CqQY4zDg.cjs} +1 -1
- package/dist/textwrap-D4ZksyMK.js +111 -0
- package/dist/textwrap-DEHqAjKZ.cjs +4 -0
- package/dist/vue/async.d.cts +31 -0
- package/dist/vue/async.d.ts +31 -0
- package/dist/vue/index.d.cts +32 -1
- package/dist/vue/index.d.ts +32 -1
- package/dist/vue-async.cjs +1 -1
- package/dist/vue-async.js +3 -3
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +52 -47
- package/dist/{workbook-session-BvEBRRMz.cjs → workbook-session-C6-SrnCT.cjs} +4 -4
- package/dist/{workbook-session-f0wVlzst.js → workbook-session-C9ZmCBwY.js} +15 -16
- package/dist/worker.cjs +1 -1
- package/dist/worker.js +4 -4
- package/dist/xlsx.cjs +4 -4
- package/dist/xlsx.js +184 -179
- package/package.json +1 -1
- package/dist/ExcelBindingWizard-CW79I6Gl.cjs +0 -1
- package/dist/ExcelBindingWizard-CZyppD7I.js +0 -1485
- package/dist/ParamEditor-CiYCJI0b.cjs +0 -1
- package/dist/ParamEditor-DQit-Gdf.js +0 -732
- package/dist/ReportBatchPanel-DKTpV7MU.js +0 -350
- package/dist/ReportBatchPanel-Db6TAfG5.cjs +0 -1
- package/dist/ReportLabelStudio-B0i9ohQj.cjs +0 -1
- package/dist/ReportLabelStudio-BYnRqmje.js +0 -780
- package/dist/ReportParamPanel-lngONOEz.cjs +0 -1
- package/dist/ReportPreview-BDgKssYR.js +0 -5887
- package/dist/ReportPreview-Dw-4icG6.cjs +0 -6
- package/dist/ReportTemplateLibrary-BZuKn0YK.js +0 -311
- package/dist/ReportTemplateLibrary-DEXH07ND.cjs +0 -1
- package/dist/RuleEditor-CIQn547x.js +0 -2341
- package/dist/RuleEditor-zSUmPjKa.cjs +0 -1
- package/dist/TemplateOutlinePanel-B5SfGYVN.cjs +0 -1
- package/dist/TemplateOutlinePanel-D0PgOSQE.js +0 -96
- package/dist/TemplateReusePanel-BKlAEF8-.js +0 -388
- package/dist/TemplateReusePanel-DAy_Hwqz.cjs +0 -1
- package/dist/TemplateReviewPanel-CowmHaQQ.cjs +0 -1
- package/dist/TemplateReviewPanel-div-EH_m.js +0 -592
- package/dist/assets-CxHunY_9.js +0 -232
- package/dist/assets-vbjAGgk8.cjs +0 -1
- package/dist/auto-DcUHlKob.cjs +0 -1
- package/dist/auto-moShblh1.js +0 -240
- package/dist/charts-aCtoswXq.cjs +0 -1
- package/dist/component-tree-1_QCiQJX.js +0 -67
- package/dist/component-tree-BjZIp6w9.cjs +0 -1
- package/dist/computed-4TnxzgIh.cjs +0 -1
- package/dist/data-bar-YltqGTaC.cjs +0 -1
- package/dist/designer-B7jJeAeG.js +0 -6914
- package/dist/designer-BWQVpJeN.cjs +0 -2
- package/dist/grid-geometry-D3SJgWFv.js +0 -136
- package/dist/grid-geometry-D8ReblRV.cjs +0 -1
- package/dist/json-snapshot-nyV63AbB.cjs +0 -2
- package/dist/matrix-0hywp0-F.cjs +0 -1
- package/dist/matrix-Dy-tyY7E.js +0 -381
- package/dist/prefill-DUvejVt1.cjs +0 -1
- package/dist/prepared-YXy-fVLw.cjs +0 -1
- package/dist/prepared-rXCKqdHY.js +0 -88
- package/dist/progress-B0ctFpKf.cjs +0 -1
- package/dist/progress-Hc2vxoCs.js +0 -52
- package/dist/record-bindings-Ct1HkPrc.cjs +0 -1
- package/dist/record-bindings-VZGS-Qd8.js +0 -155
- package/dist/rich-text-layout-K48VHUoW.cjs +0 -3
- package/dist/rich-text-layout-wxBhnAS7.js +0 -102
- package/dist/runtime-Dq0LUsyS.cjs +0 -1
- package/dist/template-catalog-CLAM4w7H.cjs +0 -1
- package/dist/template-fragments-Ca25Jt7e.cjs +0 -1
- package/dist/template-outline-CDWXptuj.js +0 -88
- package/dist/template-outline-K4jGhATu.cjs +0 -1
- package/dist/template-registry-CWnuGqyP.cjs +0 -1
- package/dist/textwrap-CkGjRFT3.js +0 -110
- package/dist/textwrap-OTOUMr4f.cjs +0 -4
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),M=require("./ReportParamPanel-lngONOEz.cjs"),j=require("./_plugin-vue_export-helper-BLmdZLlg.cjs"),q=require("@agile-team/mach-report"),J=require("./designer-BWQVpJeN.cjs"),w={class:"mr-param-tree"},H={"aria-hidden":"true"},W=["value","aria-label","disabled","onInput"],z=["value","aria-label","disabled","onInput"],G=["aria-label","disabled","onClick"],K=["aria-label","disabled","onClick"],Q=["disabled"],X=e.defineComponent({__name:"ParamTreeOptionsEditor",props:{modelValue:{},messages:{},readonly:{type:Boolean}},emits:["update:modelValue"],setup(a,{emit:y}){const b=a,u=y,g=e.computed(()=>{const N=[],h=b.modelValue.map((t,m)=>({item:t,path:[m]}));for(let t=0;t<h.length&&N.length<1e3;t++){const m=h[t];N.push(m),m.path.length<16&&h.splice(t+1,0,...(m.item.children??[]).map((s,l)=>({item:s,path:[...m.path,l]})))}return N});function o(N,h,t=""){if(b.readonly)return;const m=JSON.parse(JSON.stringify(b.modelValue));let s=m;for(const S of N.slice(0,-1))s=s[S].children;const l=N[N.length-1],E=s[l];if(h==="remove")s.splice(l,1);else if(h==="add"){if(g.value.length>=1e3||N.length>=16)return;E?(E.children??=[]).push({label:"",value:""}):m.push({label:"",value:""})}else E&&(E[h]=t);u("update:modelValue",m)}return(N,h)=>(e.openBlock(),e.createElementBlock("div",w,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(t,m)=>(e.openBlock(),e.createElementBlock("div",{key:t.path.join("."),class:"mr-param-tree__row",style:e.normalizeStyle({paddingLeft:`${(t.path.length-1)*14}px`})},[e.createElementVNode("span",H,e.toDisplayString(t.path.length>1?"↳":"•"),1),e.createElementVNode("input",{value:t.item.value,"aria-label":`${a.messages.paramOptionValue} ${m+1}`,disabled:a.readonly,onInput:s=>o(t.path,"value",s.target.value)},null,40,W),e.createElementVNode("input",{value:t.item.label,"aria-label":`${a.messages.paramOptionLabel} ${m+1}`,disabled:a.readonly,onInput:s=>o(t.path,"label",s.target.value)},null,40,z),e.createElementVNode("button",{type:"button","aria-label":`${a.messages.paramChildAdd} ${m+1}`,disabled:a.readonly||t.path.length>=16||g.value.length>=1e3,onClick:s=>o(t.path,"add")},"+↳",8,G),e.createElementVNode("button",{type:"button","aria-label":`${a.messages.paramOptionRemove} ${m+1}`,disabled:a.readonly,onClick:s=>o(t.path,"remove")},"×",8,K)],4))),128)),e.createElementVNode("button",{type:"button",disabled:a.readonly||g.value.length>=1e3,onClick:h[0]||(h[0]=t=>o([a.modelValue.length],"add"))},"+ "+e.toDisplayString(a.messages.paramOptionAdd),9,Q)]))}}),Z=j._export_sfc(X,[["__scopeId","data-v-fb7ced48"]]),ee=["text","number","date","month","year","dateRange","select","multiSelect","cascader","numberRange"],te={text:"string",number:"string → number",date:"YYYY-MM-DD",month:"YYYY-MM",year:"YYYY",dateRange:"YYYY-MM-DD/YYYY-MM-DD",select:"option.value",multiSelect:'JSON ["value",…]',cascader:'JSON ["parent","leaf"]',numberRange:"JSON [minimum,maximum]"};function ae(a){if(a.startsWith("远程选项"))return["optionsSource"];if(a.startsWith("联动依赖"))return["dependsOn"];if(/^(默认值|必填参数的默认值)/.test(a))return["defaultValue"];if(a.includes("参数名"))return["field"];if(a.includes("选项"))return["options"];if(a.startsWith("最小边界"))return["min","max"];if(a.startsWith("最小长度"))return["minLength","maxLength"];const y=/^(minLength|maxLength|minItems|maxItems|min|max) /.exec(a)?.[1];return y?[y]:["type"]}function ne(a){return JSON.parse(JSON.stringify(a))}function P(a){return{field:a.field,label:a.label??"",type:a.type??"text",required:a.required===!0,placeholder:a.placeholder??"",defaultEnabled:a.defaultValue!==void 0,defaultValue:a.defaultValue??"",min:a.min===void 0?"":String(a.min),max:a.max===void 0?"":String(a.max),minLength:a.minLength===void 0?"":String(a.minLength),maxLength:a.maxLength===void 0?"":String(a.maxLength),minItems:a.minItems===void 0?"":String(a.minItems),maxItems:a.maxItems===void 0?"":String(a.maxItems),options:a.options?JSON.parse(JSON.stringify(a.options)):[],optionsMode:a.optionsSource===void 0?"static":"remote",optionsSource:a.optionsSource??"",dependsOn:[...a.dependsOn??[]]}}function le(a){const y={field:a.field,type:a.type};a.label&&(y.label=a.label),a.placeholder&&(y.placeholder=a.placeholder),a.required&&(y.required=!0),a.defaultEnabled&&(y.defaultValue=a.defaultValue);for(const b of["min","max"])a[b]!==""&&(y[b]=["number","numberRange"].includes(a.type)?Number(a[b]):a[b]);for(const b of["minLength","maxLength","minItems","maxItems"])a[b]!==""&&(y[b]=Number(a[b]));return["select","multiSelect","cascader"].includes(a.type)&&a.optionsMode==="remote"?(y.optionsSource=a.optionsSource.trim(),a.dependsOn.length&&(y.dependsOn=[...a.dependsOn])):["select","multiSelect","cascader"].includes(a.type)&&(y.options=JSON.parse(JSON.stringify(a.options))),y}function re(a){const y=()=>JSON.stringify(a.document.template.params??[]),b=e.ref(y()),u=e.ref((a.document.template.params??[]).map(P)),g=e.ref(0),o=e.ref(""),N=e.computed(()=>({...J.PARAM_EDITOR_MESSAGES,...a.messages})),h=e.computed(()=>u.value.map(le)),t=e.ref(JSON.stringify(u.value)),m=e.computed(()=>JSON.stringify(u.value)!==t.value),s=e.computed(()=>y()!==b.value),l=e.computed(()=>q.validateReportParamDefinitions(h.value)),E=e.computed(()=>{const d=new Map;for(const c of l.value){const f=Number(c.path.split(".").at(-1)),v=d.get(f)??[];v.push({message:c.message,controls:ae(c.message)}),d.set(f,v)}return d}),S=e.computed(()=>E.value.keys().next().value),V=e.computed(()=>u.value[g.value]),I=e.computed(()=>l.value.filter(d=>d.path===`$.paramDefs.${g.value}`));function _(d){return(E.value.get(g.value)??[]).filter(c=>c.controls.includes(d)).map(c=>c.message)}const D=e.computed(()=>{const d=JSON.parse(b.value).map(f=>f.field),c=h.value.map(f=>f.field);return{added:c.filter(f=>f&&!d.includes(f)),removed:d.filter(f=>!c.includes(f))}});function x(){b.value=y(),u.value=(a.document.template.params??[]).map(P),g.value=Math.min(g.value,Math.max(0,u.value.length-1)),t.value=JSON.stringify(u.value),o.value=""}e.watch(y,()=>{m.value||x()});function R(){if(a.readonly)return;let d=u.value.length+1;for(;u.value.some(c=>c.field===`param${d}`);)d++;u.value.push(P({field:`param${d}`,type:"text"})),g.value=u.value.length-1}function L(){a.readonly||!V.value||(u.value.splice(g.value,1),g.value=Math.min(g.value,Math.max(0,u.value.length-1)))}function T(d){const c=g.value+d;if(a.readonly||c<0||c>=u.value.length)return;const f=u.value.splice(g.value,1)[0];u.value.splice(c,0,f),g.value=c}function $(d){a.readonly||!V.value||(V.value.type==="cascader"&&d!=="cascader"&&(V.value.options=V.value.options.map(c=>({label:c.label,value:c.value}))),V.value.type=d,V.value.min="",V.value.max="",V.value.minLength="",V.value.maxLength="",V.value.minItems="",V.value.maxItems="")}function k(){if(a.readonly||s.value||l.value.length)return!1;try{return a.accept(ne(h.value))?(b.value=JSON.stringify(h.value),t.value=JSON.stringify(u.value),o.value="",!0):(o.value=N.value.paramApplyFailed,!1)}catch(d){return o.value=d instanceof Error?d.message:String(d),!1}}return J.useTemplateToolDraft({key:()=>"params",baseline:()=>b.value,pending:()=>m.value,reset:x,snapshot:()=>JSON.stringify({rows:u.value,selected:g.value,initial:t.value}),restore(d,c){const f=JSON.parse(d);if(!Array.isArray(f.rows)||f.rows.length>1e3||typeof f.initial!="string")throw new Error("Invalid parameter draft");u.value=f.rows.map(v=>({...v,minItems:v.minItems??"",maxItems:v.maxItems??"",optionsMode:v.optionsMode??"static",optionsSource:v.optionsSource??"",dependsOn:v.dependsOn??[]})),g.value=Math.max(0,Math.min(f.selected,f.rows.length-1)),t.value=f.initial,b.value=c}}),{m:N,rows:u,selected:g,current:V,definitions:h,issues:l,issuesByRow:E,firstIssueIndex:S,controlIssues:_,currentIssues:I,changes:D,pending:m,conflicted:s,error:o,reset:x,add:R,remove:L,move:T,setType:$,apply:k}}const oe=["aria-label"],ie={class:"mr-param-editor__directory"},se=["aria-label"],ue=["aria-pressed","aria-label","onClick"],de={class:"mr-param-editor__directory-title"},me={key:0,class:"mr-param-editor__error-count","aria-hidden":"true"},ce={key:0},pe=["disabled"],fe={key:0,class:"mr-param-editor__validation",role:"status"},ye={class:"mr-param-editor__heading"},ge={class:"mr-param-editor__grid"},ve=["aria-label","disabled"],be=["id"],he=["aria-label","disabled"],Ve=["value","aria-label","disabled"],Ee=["value"],Ne=["id"],ke=["aria-label","disabled"],Se={class:"mr-param-editor__checks"},_e=["disabled"],De=["disabled"],Be={key:0,class:"mr-param-editor__compound-default"},xe={class:"mr-param-editor__default-label"},Ie={class:"mr-param-editor__range"},$e=["value","aria-label","disabled"],Ce=["value","aria-label","disabled"],Oe={key:2},Me=["aria-label","disabled"],Re=["value"],Le=["value","aria-label","type","min","max","step","disabled"],Te=["id"],Pe=["value","aria-label","type","min","max","step","disabled","onInput"],Ue=["id"],Ye=["value","aria-label","disabled","onInput"],Ae=["id"],Fe={key:0,class:"mr-param-editor__hint"},Je={key:1,class:"mr-param-editor__options"},je=["aria-label","disabled"],qe={value:"static"},we={value:"remote"},He=["aria-label","disabled"],We=["id"],ze=["value","disabled"],Ge=["id"],Ke={class:"mr-param-editor__hint"},Qe={key:2,class:"mr-param-editor__options"},Xe={class:"mr-param-editor__option-head"},Ze=["onUpdate:modelValue","aria-label","disabled"],et=["onUpdate:modelValue","aria-label","disabled"],tt=["aria-label","disabled","onClick"],at=["id"],nt=["disabled"],lt={key:3,class:"mr-param-editor__options"},rt={class:"mr-param-editor__hint"},ot=["id"],it={key:4,class:"mr-param-editor__grid"},st=["value","aria-label","disabled","onInput"],ut=["id"],dt={class:"mr-param-editor__row-actions"},mt=["disabled"],ct=["disabled"],pt=["disabled"],ft={class:"mr-param-editor__technical"},yt={key:2,class:"mr-param-editor__empty"},gt=["disabled"],vt={key:3,class:"mr-param-editor__impact"},bt={key:0},ht={key:1},Vt={key:4,class:"mr-param-editor__errors",role:"alert"},Et=["disabled"],Nt=["disabled"],kt=e.defineComponent({__name:"ParamEditor",props:{document:{},readonly:{type:Boolean},messages:{},loadOptions:{type:Function},accept:{type:Function}},emits:["dirty"],setup(a,{expose:y,emit:b}){const u=a,g=b,o=re(u),N=M.useMachReportConfig(),h=e.computed(()=>u.loadOptions??M.resolveConfig(N.value).loadParamOptions),{m:t,rows:m,selected:s,current:l,changes:E,pending:S,conflicted:V,error:I,issues:_,issuesByRow:D}=o,x=e.computed(()=>{const i=m.value.filter((r,n)=>n!==s.value).map(r=>({field:r.field,label:r.label||r.field||t.value.paramUnnamed}));for(const r of l.value?.dependsOn??[])i.some(n=>n.field===r)||i.push({field:r,label:`${r} · ${t.value.paramDependencyUnavailable}`});return i}),R=e.computed(()=>l.value?[{...o.definitions.value[s.value],defaultValue:void 0,required:!1}]:[]),L=e.computed(()=>{const i=Object.fromEntries(o.definitions.value.map(r=>[r.field,r.defaultValue??""]));return l.value&&(i[l.value.field]=l.value.defaultValue),i});function T(i){l.value&&!u.readonly&&(l.value.defaultValue=i[l.value.field]??"")}const $=e.ref(),k=`mr-param-${e.getCurrentInstance()?.uid??0}`;e.watch(S,i=>g("dirty",i),{immediate:!0});function d(i){return{text:t.value.paramText,number:t.value.paramNumber,date:t.value.paramDate,month:t.value.paramMonth,year:t.value.paramYear,dateRange:t.value.paramDateRange,select:t.value.paramSelect,multiSelect:t.value.paramMultiSelect,cascader:t.value.paramCascader,numberRange:t.value.paramNumberRange}[i]}function c(){l.value&&!u.readonly&&l.value.options.push({value:"",label:""})}function f(i){u.readonly||l.value?.options.splice(i,1)}function v(i){const r=o.controlIssues(i).length>0;return{"aria-invalid":r?"true":void 0,"aria-describedby":r?`${k}-${s.value}-${i}`:void 0}}function U(i){return i==="year"?"number":i==="dateRange"?"date":i==="numberRange"?"number":["date","month","number"].includes(i)?i:"text"}function Y(i){return i.target.value}function C(i,r){l.value&&!u.readonly&&(l.value[i]=Y(r))}function O(i){return l.value?.defaultValue.split("/")[i]??""}function A(i,r){if(!l.value||u.readonly)return;const n=[O(0),O(1)];n[i]=Y(r),l.value.defaultValue=n.some(Boolean)?n.join("/"):""}async function F(){const i=o.firstIssueIndex.value;if(i===void 0)return;s.value=i,await e.nextTick();const r=$.value?.querySelector('[aria-invalid="true"]');r?.focus({preventScroll:!0}),r?.scrollIntoView?.({block:"nearest"})}return y({pending:S,reset:o.reset,apply:o.apply,locateIssue:F}),(i,r)=>(e.openBlock(),e.createElementBlock("section",{class:"mr-param-editor","aria-label":e.unref(t).paramsTool},[e.createElementVNode("aside",ie,[e.createElementVNode("header",null,[e.createElementVNode("strong",null,e.toDisplayString(e.unref(t).paramsDirectory),1),e.createElementVNode("span",null,e.toDisplayString(e.unref(m).length),1)]),e.createElementVNode("nav",{"aria-label":e.unref(t).paramsDirectory},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(m),(n,p)=>(e.openBlock(),e.createElementBlock("button",{key:p,type:"button","aria-pressed":e.unref(s)===p,"aria-label":`${n.label||n.field||e.unref(t).paramUnnamed}${e.unref(D).get(p)?.length?` · ${e.unref(t).paramIssueCount} ${e.unref(D).get(p)?.length}`:""}`,class:e.normalizeClass({"has-errors":e.unref(D).has(p)}),onClick:B=>s.value=p},[e.createElementVNode("span",de,[e.createElementVNode("strong",null,e.toDisplayString(n.label||n.field||e.unref(t).paramUnnamed),1),e.unref(D).has(p)?(e.openBlock(),e.createElementBlock("span",me,e.toDisplayString(e.unref(D).get(p)?.length),1)):e.createCommentVNode("",!0)]),e.createElementVNode("small",null,[e.createTextVNode(e.toDisplayString(n.field)+" · "+e.toDisplayString(d(n.type)),1),n.required?(e.openBlock(),e.createElementBlock("span",ce," *")):e.createCommentVNode("",!0)])],10,ue))),128))],8,se),e.createElementVNode("button",{type:"button",class:"mr-param-editor__add",disabled:a.readonly,onClick:r[0]||(r[0]=(...n)=>e.unref(o).add&&e.unref(o).add(...n))},"+ "+e.toDisplayString(e.unref(t).paramAdd),9,pe),e.createElementVNode("p",null,e.toDisplayString(e.unref(t).paramsDescription),1)]),e.createElementVNode("div",{ref_key:"main",ref:$,class:"mr-param-editor__main"},[e.unref(_).length?(e.openBlock(),e.createElementBlock("div",fe,[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(e.unref(t).paramIssueCount)+" ",1),e.createElementVNode("strong",null,e.toDisplayString(e.unref(_).length),1)]),e.createElementVNode("button",{type:"button",onClick:F},e.toDisplayString(e.unref(t).paramLocateFirst),1)])):e.createCommentVNode("",!0),e.unref(l)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("header",ye,[e.createElementVNode("div",null,[e.createElementVNode("strong",null,e.toDisplayString(e.unref(l).label||e.unref(l).field||e.unref(t).paramUnnamed),1),e.createElementVNode("small",null,e.toDisplayString(d(e.unref(l).type)),1)]),e.createElementVNode("span",{class:e.normalizeClass({"is-pending":e.unref(S)||e.unref(_).length>0})},e.toDisplayString(e.unref(_).length?e.unref(t).paramInvalid:e.unref(S)?e.unref(t).paramPending:e.unref(t).paramReady),3)]),e.createElementVNode("div",ge,[e.createElementVNode("label",null,[e.createTextVNode(e.toDisplayString(e.unref(t).paramField),1),e.withDirectives(e.createElementVNode("input",e.mergeProps({"onUpdate:modelValue":r[1]||(r[1]=n=>e.unref(l).field=n),"aria-label":e.unref(t).paramField,disabled:a.readonly,autocomplete:"off"},v("field")),null,16,ve),[[e.vModelDynamic,e.unref(l).field]]),e.unref(o).controlIssues("field").length?(e.openBlock(),e.createElementBlock("small",{key:0,id:`${k}-${e.unref(s)}-field`,class:"mr-param-editor__field-error"},e.toDisplayString(e.unref(o).controlIssues("field").join(";")),9,be)):e.createCommentVNode("",!0)]),e.createElementVNode("label",null,[e.createTextVNode(e.toDisplayString(e.unref(t).paramLabel),1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":r[2]||(r[2]=n=>e.unref(l).label=n),"aria-label":e.unref(t).paramLabel,disabled:a.readonly},null,8,he),[[e.vModelText,e.unref(l).label]])]),e.createElementVNode("label",null,[e.createTextVNode(e.toDisplayString(e.unref(t).paramType),1),e.createElementVNode("select",e.mergeProps({value:e.unref(l).type,"aria-label":e.unref(t).paramType,disabled:a.readonly},v("type"),{onChange:r[3]||(r[3]=n=>e.unref(o).setType(n.target.value))}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(ee),n=>(e.openBlock(),e.createElementBlock("option",{key:n,value:n},e.toDisplayString(d(n)),9,Ee))),128))],16,Ve),e.unref(o).controlIssues("type").length?(e.openBlock(),e.createElementBlock("small",{key:0,id:`${k}-${e.unref(s)}-type`,class:"mr-param-editor__field-error"},e.toDisplayString(e.unref(o).controlIssues("type").join(";")),9,Ne)):e.createCommentVNode("",!0)]),e.createElementVNode("label",null,[e.createTextVNode(e.toDisplayString(e.unref(t).paramPlaceholder),1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":r[4]||(r[4]=n=>e.unref(l).placeholder=n),"aria-label":e.unref(t).paramPlaceholder,disabled:a.readonly},null,8,ke),[[e.vModelText,e.unref(l).placeholder]])]),e.createElementVNode("div",Se,[e.createElementVNode("label",null,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":r[5]||(r[5]=n=>e.unref(l).required=n),type:"checkbox",disabled:a.readonly},null,8,_e),[[e.vModelCheckbox,e.unref(l).required]]),e.createTextVNode(e.toDisplayString(e.unref(t).paramRequired),1)]),e.createElementVNode("label",null,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":r[6]||(r[6]=n=>e.unref(l).defaultEnabled=n),type:"checkbox",disabled:a.readonly},null,8,De),[[e.vModelCheckbox,e.unref(l).defaultEnabled]]),e.createTextVNode(e.toDisplayString(e.unref(t).paramDefaultEnabled),1)])]),e.unref(l).defaultEnabled?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["mr-param-editor__default",{"is-range":e.unref(l).type==="dateRange"}])},[["multiSelect","cascader","numberRange"].includes(e.unref(l).type)?(e.openBlock(),e.createElementBlock("div",Be,[e.createElementVNode("span",null,e.toDisplayString(e.unref(t).paramDefault),1),e.createVNode(M.ReportParamPanel,{defs:R.value,"model-value":L.value,messages:e.unref(M.DEFAULT_MESSAGES),"load-options":h.value,attempted:!1,"show-title":!1,"show-actions":!1,disabled:a.readonly,"onUpdate:modelValue":T},null,8,["defs","model-value","messages","load-options","disabled"])])):e.unref(l).type==="dateRange"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",xe,e.toDisplayString(e.unref(t).paramDefault),1),e.createElementVNode("div",Ie,[e.createElementVNode("label",null,[e.createTextVNode(e.toDisplayString(e.unref(t).paramRangeStart),1),e.createElementVNode("input",e.mergeProps({value:O(0),type:"date","aria-label":e.unref(t).paramRangeStart,disabled:a.readonly},v("defaultValue"),{onInput:r[7]||(r[7]=n=>A(0,n))}),null,16,$e)]),r[21]||(r[21]=e.createElementVNode("span",{"aria-hidden":"true"},"—",-1)),e.createElementVNode("label",null,[e.createTextVNode(e.toDisplayString(e.unref(t).paramRangeEnd),1),e.createElementVNode("input",e.mergeProps({value:O(1),type:"date","aria-label":e.unref(t).paramRangeEnd,disabled:a.readonly},v("defaultValue"),{onInput:r[8]||(r[8]=n=>A(1,n))}),null,16,Ce)])])],64)):(e.openBlock(),e.createElementBlock("label",Oe,[e.createTextVNode(e.toDisplayString(e.unref(t).paramDefault),1),e.unref(l).type==="select"&&e.unref(l).optionsMode!=="remote"?e.withDirectives((e.openBlock(),e.createElementBlock("select",e.mergeProps({key:0,"onUpdate:modelValue":r[9]||(r[9]=n=>e.unref(l).defaultValue=n),"aria-label":e.unref(t).paramDefault,disabled:a.readonly},v("defaultValue")),[r[22]||(r[22]=e.createElementVNode("option",{value:""},null,-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l).options,(n,p)=>(e.openBlock(),e.createElementBlock("option",{key:p,value:n.value},e.toDisplayString(n.label||n.value),9,Re))),128))],16,Me)),[[e.vModelSelect,e.unref(l).defaultValue]]):(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1,value:e.unref(l).defaultValue,"aria-label":e.unref(t).paramDefault,type:U(e.unref(l).type),min:e.unref(l).type==="year"?1:void 0,max:e.unref(l).type==="year"?9999:void 0,step:e.unref(l).type==="year"?1:"any",disabled:a.readonly},v("defaultValue"),{onInput:r[10]||(r[10]=n=>C("defaultValue",n))}),null,16,Le))])),e.unref(o).controlIssues("defaultValue").length?(e.openBlock(),e.createElementBlock("small",{key:3,id:`${k}-${e.unref(s)}-defaultValue`,class:"mr-param-editor__field-error mr-param-editor__errors",role:"alert"},e.toDisplayString(e.unref(o).controlIssues("defaultValue").join(";")),9,Te)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),["number","numberRange","date","month","year","dateRange"].includes(e.unref(l).type)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},e.renderList(["min","max"],n=>e.createElementVNode("label",{key:n},[e.createTextVNode(e.toDisplayString(n==="min"?e.unref(t).paramMinimum:e.unref(t).paramMaximum),1),e.createElementVNode("input",e.mergeProps({value:e.unref(l)[n],"aria-label":n==="min"?e.unref(t).paramMinimum:e.unref(t).paramMaximum,type:U(e.unref(l).type),min:e.unref(l).type==="year"?1:void 0,max:e.unref(l).type==="year"?9999:void 0,step:e.unref(l).type==="year"?1:"any",disabled:a.readonly},{ref_for:!0},v(n),{onInput:p=>C(n,p)}),null,16,Pe),e.unref(o).controlIssues(n).length?(e.openBlock(),e.createElementBlock("small",{key:0,id:`${k}-${e.unref(s)}-${n}`,class:"mr-param-editor__field-error"},e.toDisplayString(e.unref(o).controlIssues(n).join(";")),9,Ue)):e.createCommentVNode("",!0)])),64)):e.createCommentVNode("",!0),e.unref(l).type==="text"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},e.renderList(["minLength","maxLength"],n=>e.createElementVNode("label",{key:n},[e.createTextVNode(e.toDisplayString(n==="minLength"?e.unref(t).paramMinLength:e.unref(t).paramMaxLength),1),e.createElementVNode("input",e.mergeProps({value:e.unref(l)[n],type:"number",min:"0",step:"1","aria-label":n==="minLength"?e.unref(t).paramMinLength:e.unref(t).paramMaxLength,disabled:a.readonly},{ref_for:!0},v(n),{onInput:p=>C(n,p)}),null,16,Ye),e.unref(o).controlIssues(n).length?(e.openBlock(),e.createElementBlock("small",{key:0,id:`${k}-${e.unref(s)}-${n}`,class:"mr-param-editor__field-error"},e.toDisplayString(e.unref(o).controlIssues(n).join(";")),9,Ae)):e.createCommentVNode("",!0)])),64)):e.createCommentVNode("",!0)]),e.unref(l).type==="dateRange"?(e.openBlock(),e.createElementBlock("p",Fe,e.toDisplayString(e.unref(t).paramRangeHint),1)):e.createCommentVNode("",!0),["select","multiSelect","cascader"].includes(e.unref(l).type)?(e.openBlock(),e.createElementBlock("fieldset",Je,[e.createElementVNode("legend",null,e.toDisplayString(e.unref(t).paramOptionsMode),1),e.createElementVNode("label",null,[e.createTextVNode(e.toDisplayString(e.unref(t).paramOptionsMode),1),e.withDirectives(e.createElementVNode("select",{"onUpdate:modelValue":r[11]||(r[11]=n=>e.unref(l).optionsMode=n),"aria-label":e.unref(t).paramOptionsMode,disabled:a.readonly},[e.createElementVNode("option",qe,e.toDisplayString(e.unref(t).paramOptionsStatic),1),e.createElementVNode("option",we,e.toDisplayString(e.unref(t).paramOptionsRemote),1)],8,je),[[e.vModelSelect,e.unref(l).optionsMode]])]),e.unref(l).optionsMode==="remote"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("label",null,[e.createTextVNode(e.toDisplayString(e.unref(t).paramOptionsSource),1),e.withDirectives(e.createElementVNode("input",e.mergeProps({"onUpdate:modelValue":r[12]||(r[12]=n=>e.unref(l).optionsSource=n),"aria-label":e.unref(t).paramOptionsSource,disabled:a.readonly},v("optionsSource")),null,16,He),[[e.vModelDynamic,e.unref(l).optionsSource]])]),e.unref(o).controlIssues("optionsSource").length?(e.openBlock(),e.createElementBlock("small",{key:0,id:`${k}-${e.unref(s)}-optionsSource`,class:"mr-param-editor__field-error"},e.toDisplayString(e.unref(o).controlIssues("optionsSource").join(";")),9,We)):e.createCommentVNode("",!0),e.createElementVNode("fieldset",e.mergeProps({class:"mr-param-editor__dependencies",tabindex:"-1"},v("dependsOn")),[e.createElementVNode("legend",null,e.toDisplayString(e.unref(t).paramDependencies),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,(n,p)=>(e.openBlock(),e.createElementBlock("label",{key:p},[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":r[13]||(r[13]=B=>e.unref(l).dependsOn=B),type:"checkbox",value:n.field,disabled:a.readonly},null,8,ze),[[e.vModelCheckbox,e.unref(l).dependsOn]]),e.createTextVNode(e.toDisplayString(n.label),1)]))),128))],16),e.unref(o).controlIssues("dependsOn").length?(e.openBlock(),e.createElementBlock("small",{key:1,id:`${k}-${e.unref(s)}-dependsOn`,class:"mr-param-editor__field-error"},e.toDisplayString(e.unref(o).controlIssues("dependsOn").join(";")),9,Ge)):e.createCommentVNode("",!0),e.createElementVNode("p",Ke,e.toDisplayString(e.unref(t).paramRemoteHint),1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),["select","multiSelect"].includes(e.unref(l).type)&&e.unref(l).optionsMode==="static"?(e.openBlock(),e.createElementBlock("fieldset",Qe,[e.createElementVNode("legend",null,e.toDisplayString(e.unref(t).paramOptions),1),e.createElementVNode("div",Xe,[e.createElementVNode("span",null,e.toDisplayString(e.unref(t).paramOptionValue),1),e.createElementVNode("span",null,e.toDisplayString(e.unref(t).paramOptionLabel),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l).options,(n,p)=>(e.openBlock(),e.createElementBlock("div",{key:p,class:"mr-param-editor__option"},[e.withDirectives(e.createElementVNode("input",e.mergeProps({"onUpdate:modelValue":B=>n.value=B,"aria-label":`${e.unref(t).paramOptionValue} ${p+1}`,disabled:a.readonly},{ref_for:!0},v("options")),null,16,Ze),[[e.vModelDynamic,n.value]]),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":B=>n.label=B,"aria-label":`${e.unref(t).paramOptionLabel} ${p+1}`,disabled:a.readonly},null,8,et),[[e.vModelText,n.label]]),e.createElementVNode("button",{type:"button","aria-label":`${e.unref(t).paramOptionRemove} ${p+1}`,disabled:a.readonly,onClick:B=>f(p)},"×",8,tt)]))),128)),e.unref(o).controlIssues("options").length?(e.openBlock(),e.createElementBlock("small",{key:0,id:`${k}-${e.unref(s)}-options`,class:"mr-param-editor__field-error"},e.toDisplayString(e.unref(o).controlIssues("options").join(";")),9,at)):e.createCommentVNode("",!0),e.createElementVNode("button",{type:"button",disabled:a.readonly,onClick:c},"+ "+e.toDisplayString(e.unref(t).paramOptionAdd),9,nt)])):e.createCommentVNode("",!0),e.unref(l).type==="cascader"&&e.unref(l).optionsMode==="static"?(e.openBlock(),e.createElementBlock("fieldset",lt,[e.createElementVNode("legend",null,e.toDisplayString(e.unref(t).paramOptions),1),e.createElementVNode("p",rt,e.toDisplayString(e.unref(t).paramTreeHint),1),e.createVNode(Z,{modelValue:e.unref(l).options,"onUpdate:modelValue":r[14]||(r[14]=n=>e.unref(l).options=n),messages:e.unref(t),readonly:a.readonly},null,8,["modelValue","messages","readonly"]),e.unref(o).controlIssues("options").length?(e.openBlock(),e.createElementBlock("small",{key:0,id:`${k}-${e.unref(s)}-options`,class:"mr-param-editor__field-error"},e.toDisplayString(e.unref(o).controlIssues("options").join(";")),9,ot)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.unref(l).type==="multiSelect"?(e.openBlock(),e.createElementBlock("div",it,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(["minItems","maxItems"],n=>e.createElementVNode("label",{key:n},[e.createTextVNode(e.toDisplayString(n==="minItems"?e.unref(t).paramMinItems:e.unref(t).paramMaxItems),1),e.createElementVNode("input",e.mergeProps({value:e.unref(l)[n],"aria-label":n==="minItems"?e.unref(t).paramMinItems:e.unref(t).paramMaxItems,type:"number",min:"0",max:"100",step:"1",disabled:a.readonly},{ref_for:!0},v(n),{onInput:p=>C(n,p)}),null,16,st),e.unref(o).controlIssues(n).length?(e.openBlock(),e.createElementBlock("small",{key:0,id:`${k}-${e.unref(s)}-${n}`,class:"mr-param-editor__field-error"},e.toDisplayString(e.unref(o).controlIssues(n).join(";")),9,ut)):e.createCommentVNode("",!0)])),64))])):e.createCommentVNode("",!0),e.createElementVNode("div",dt,[e.createElementVNode("button",{type:"button",disabled:a.readonly||e.unref(s)===0,onClick:r[15]||(r[15]=n=>e.unref(o).move(-1))},"↑ "+e.toDisplayString(e.unref(t).paramMoveUp),9,mt),e.createElementVNode("button",{type:"button",disabled:a.readonly||e.unref(s)===e.unref(m).length-1,onClick:r[16]||(r[16]=n=>e.unref(o).move(1))},"↓ "+e.toDisplayString(e.unref(t).paramMoveDown),9,ct),e.createElementVNode("button",{type:"button",class:"is-danger",disabled:a.readonly,onClick:r[17]||(r[17]=(...n)=>e.unref(o).remove&&e.unref(o).remove(...n))},e.toDisplayString(e.unref(t).paramRemove),9,pt)]),e.createElementVNode("details",ft,[e.createElementVNode("summary",null,e.toDisplayString(e.unref(t).paramWire),1),e.createElementVNode("code",null,e.toDisplayString(e.unref(te)[e.unref(l).type]),1)])],64)):(e.openBlock(),e.createElementBlock("div",yt,[e.createElementVNode("strong",null,e.toDisplayString(e.unref(t).paramEmpty),1),e.createElementVNode("p",null,e.toDisplayString(e.unref(t).paramEmptyHint),1),e.createElementVNode("button",{type:"button",disabled:a.readonly,onClick:r[18]||(r[18]=(...n)=>e.unref(o).add&&e.unref(o).add(...n))},"+ "+e.toDisplayString(e.unref(t).paramAdd),9,gt)])),e.unref(E).added.length||e.unref(E).removed.length?(e.openBlock(),e.createElementBlock("aside",vt,[e.createElementVNode("strong",null,e.toDisplayString(e.unref(t).paramChanges),1),e.unref(E).added.length?(e.openBlock(),e.createElementBlock("p",bt,[e.createTextVNode(e.toDisplayString(e.unref(t).paramAdded)+":",1),e.createElementVNode("code",null,e.toDisplayString(e.unref(E).added.join(", ")),1)])):e.createCommentVNode("",!0),e.unref(E).removed.length?(e.openBlock(),e.createElementBlock("p",ht,[e.createTextVNode(e.toDisplayString(e.unref(t).paramRemoved)+":",1),e.createElementVNode("code",null,e.toDisplayString(e.unref(E).removed.join(", ")),1)])):e.createCommentVNode("",!0),e.createElementVNode("small",null,e.toDisplayString(e.unref(t).paramRenameHint),1)])):e.createCommentVNode("",!0),e.unref(V)||e.unref(I)?(e.openBlock(),e.createElementBlock("p",Vt,e.toDisplayString(e.unref(V)?e.unref(t).paramConflict:e.unref(I)),1)):e.createCommentVNode("",!0),e.createElementVNode("footer",null,[e.createElementVNode("button",{type:"button",disabled:!e.unref(S)&&!e.unref(V),onClick:r[19]||(r[19]=(...n)=>e.unref(o).reset&&e.unref(o).reset(...n))},e.toDisplayString(e.unref(t).paramRestore),9,Et),e.createElementVNode("button",{type:"button",class:"is-primary",disabled:a.readonly||!e.unref(S)||e.unref(V)||!!e.unref(_).length,onClick:r[20]||(r[20]=(...n)=>e.unref(o).apply&&e.unref(o).apply(...n))},e.toDisplayString(e.unref(t).paramApply),9,Nt)])],512)],8,oe))}}),St=j._export_sfc(kt,[["__scopeId","data-v-276b7ccd"]]);exports.default=St;
|