form-imagining 0.0.92-beta10 → 0.0.92-beta11
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/{App-C6vMnlbH.js → App-vTSZ-ukF.js} +1 -1
- package/dist/Area-DMcJF0lo.js +4 -0
- package/dist/Bar-CUhAa_fs.js +4 -0
- package/dist/ChartsArea-BGxKsQT9.js +4 -0
- package/dist/ChartsBar--tmHjXaA.js +4 -0
- package/dist/ChartsPie-DiM85p7a.js +4 -0
- package/dist/CheckBoxModel-BnCcsLfW.js +4 -0
- package/dist/Col-DwNC712S.js +4 -0
- package/dist/Collapse-mTGx5wBw.js +4 -0
- package/dist/{CommonText copy-BskxxmAZ.js → CommonText copy-BIfpAXJf.js } +1 -1
- package/dist/{Demo-pv7FucXj.js → Demo-DqwSQbq9.js} +1 -1
- package/dist/{Demo-Cipzk5M2.js → Demo-FDh-v0Ys.js} +1 -1
- package/dist/FView-B3RD_0z9.js +4 -0
- package/dist/FX-DXqYUnU_.js +4 -0
- package/dist/{FormGridCopy-B1NkW6X5.js → FormGridCopy-D7j7pxSA.js} +1 -1
- package/dist/{FormImagining-bvegcmw_.js → FormImagining-BADrElrF.js} +1 -1
- package/dist/GenerateForm-CRx9lwaP.js +4 -0
- package/dist/GenerateReport-Q3lgEu5o.js +4 -0
- package/dist/{HelloWorld-B35OHQUN.js → HelloWorld-C3qy9zyg.js} +1 -1
- package/dist/Input-/345/210/240/351/231/{244-BSRYIGTf.js → 244-uxdPq-8P.js} +1 -1
- package/dist/Label-/345/210/240/351/231/{244-8EpMuXWK.js → 244-B600MKxI.js} +1 -1
- package/dist/LabelModel-Cs2VBEz0.js +4 -0
- package/dist/{Login-C6cP5gNs.js → Login-9JX9npBF.js} +1 -1
- package/dist/Pie-DmQis7N7.js +4 -0
- package/dist/PropertyIndex-wmp6LlTB.js +4 -0
- package/dist/RView-DPzKnUb3.js +4 -0
- package/dist/SqlModule-BXmEU-bD.js +4 -0
- package/dist/{SvgIconCopy-TfKDIRtO.js → SvgIconCopy-DePBbHs-.js} +1 -1
- package/dist/TableBtnModal-B55SDyjt.js +4 -0
- package/dist/{TextModel-Bl319XAK.js → TextModel-ZMzaK-mQ.js} +1 -1
- package/dist/childForm-DLvEi_q5.js +4 -0
- package/dist/{cssMode-BIpfKXTU.js → cssMode-CMS-L18e.js} +1 -1
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +1 -1
- package/dist/{formTest-YsLxelKd.js → formTest-BQO6ihpB.js} +1 -1
- package/dist/{freemarker2-auZ6fJDq.js → freemarker2-5ji1Wm3h.js} +1 -1
- package/dist/{handlebars-D7swm-0P.js → handlebars-Dxjqkj9j.js} +1 -1
- package/dist/{html-CNKWM-bl.js → html-DkCe_wP4.js} +1 -1
- package/dist/{htmlMode-CHZM1YfO.js → htmlMode-DstLVem5.js} +1 -1
- package/dist/index - /345/211/257/346/234/{254-v_yiE3CF.js" → 254-BcBpyBZC.js" } +1 -1
- package/dist/{index-DejfcYe1.js → index-C7hbmbSa.js} +36 -34
- package/dist/{index-rN6y-CV7.js → index-Cat_BDc-.js} +1 -1
- package/dist/{index-AWBXMKP8.js → index-MYhIiH3u.js} +1 -1
- package/dist/{index-H9v_ZrAH.js → index-xtuZ968R.js} +1 -1
- package/dist/{javascript-lpXrTE-I.js → javascript-B7mGtUFc.js} +1 -1
- package/dist/{jsonMode-BSfoBaK6.js → jsonMode-CD04rRDp.js} +1 -1
- package/dist/{liquid-DcJ6tM4m.js → liquid-ByugB1r1.js} +1 -1
- package/dist/{mdx-DYgOgFZ3.js → mdx-D1jrXrw3.js} +1 -1
- package/dist/{python-qw_dPpdj.js → python-ibVPvEho.js} +1 -1
- package/dist/{razor-DWnUgyQw.js → razor-D2IopoEo.js} +1 -1
- package/dist/{tableSelectDemo-D4k385JO.js → tableSelectDemo-vTjavPyX.js} +1 -1
- package/dist/{tableSelectDemo2-DgRekS9a.js → tableSelectDemo2-Dp4-bu7L.js} +1 -1
- package/dist/{tsMode-CQeAp_v3.js → tsMode-PyKWSlKG.js} +1 -1
- package/dist/{typescript-C1D_Gu-V.js → typescript-eqxftMHf.js} +1 -1
- package/dist/{xml-ChoICeyp.js → xml-C-CrjJT3.js} +1 -1
- package/dist/{yaml-_Fvhw8mu.js → yaml-CVvVtauT.js} +1 -1
- package/package.json +1 -1
- package/dist/Area-DyVQ3KIN.js +0 -4
- package/dist/Bar-CfcySKGM.js +0 -4
- package/dist/ChartsArea-o2DwtviO.js +0 -4
- package/dist/ChartsBar-BLaSbVmM.js +0 -4
- package/dist/ChartsPie-DUu2qZT4.js +0 -4
- package/dist/CheckBoxModel-dKK9rjza.js +0 -4
- package/dist/Col-P7dLegG_.js +0 -4
- package/dist/Collapse-cnVtQIQk.js +0 -4
- package/dist/FView-BdNWMh2U.js +0 -4
- package/dist/FX-Cv1zYd9C.js +0 -4
- package/dist/GenerateForm-BGdEL5jt.js +0 -4
- package/dist/GenerateReport-0vpAjPuq.js +0 -4
- package/dist/LabelModel-W099QsBP.js +0 -4
- package/dist/Pie-CTVPuiYU.js +0 -4
- package/dist/PropertyIndex-Cs7rhNND.js +0 -4
- package/dist/RView-BjvVC7D_.js +0 -4
- package/dist/SqlModule-CXx6qSyS.js +0 -4
- package/dist/TableBtnModal-DPYPw1hK.js +0 -4
- package/dist/childForm-BCXd2X-2.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, onMounted as p, resolveComponent as f, createBlock as e, openBlock as o, unref as t, withCtx as n, createVNode as i, resolveDynamicComponent as _ } from "vue";
|
|
2
|
-
import { l as m, R as u } from "./index-
|
|
2
|
+
import { l as m, R as u } from "./index-C7hbmbSa.js";
|
|
3
3
|
const C = /* @__PURE__ */ c({
|
|
4
4
|
__name: "App",
|
|
5
5
|
setup(s) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as R, computed as f, resolveComponent as u, createElementBlock as c, openBlock as r, createElementVNode as v, createVNode as t, withDirectives as y, withCtx as n, unref as i, h as x, vModelText as O, Fragment as g, renderList as B, createBlock as C, createTextVNode as h, resolveDynamicComponent as z, toDisplayString as j } from "vue";
|
|
2
|
-
import { B as S, z as F, G, H, I as J, J as K, K as P, L as Q, M as q, N as X, O as Y, P as Z, Q as $, x as ee } from "./index-
|
|
2
|
+
import { B as S, z as F, G, H, I as J, J as K, K as P, L as Q, M as q, N as X, O as Y, P as Z, Q as $, x as ee } from "./index-C7hbmbSa.js";
|
|
3
3
|
const le = { class: "property-toolbar" }, te = { class: "toolbar-items" }, oe = /* @__PURE__ */ R({
|
|
4
4
|
__name: "CommonText copy",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as J, ref as r, reactive as K, resolveComponent as s, createElementBlock as l, openBlock as n, createVNode as c, withCtx as d, createBlock as _, createCommentVNode as L, createTextVNode as f, unref as a, isRef as P, Fragment as g, toDisplayString as p, withModifiers as Q } from "vue";
|
|
2
|
-
import { al as X, am as z, an as h, ao as O, s as Y, ap as Z, x as ee } from "./index-
|
|
2
|
+
import { al as X, am as z, an as h, ao as O, s as Y, ap as Z, x as ee } from "./index-C7hbmbSa.js";
|
|
3
3
|
const te = {
|
|
4
4
|
ref: "formRef",
|
|
5
5
|
class: "cici-form-css",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onBeforeUpdate, createBlock, openBlock, unref } from "vue";
|
|
2
|
-
import { $ as useFormStore, a0 as generateReportHtml, o as defHttp } from "./index-
|
|
2
|
+
import { $ as useFormStore, a0 as generateReportHtml, o as defHttp } from "./index-C7hbmbSa.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "Demo",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as j, ref as z, watch as J, resolveComponent as h, createElementBlock as r, openBlock as o, createElementVNode as L, createVNode as u, createCommentVNode as x, unref as f, normalizeStyle as I, withCtx as g, Fragment as k, renderList as w, createBlock as b, normalizeClass as D } from "vue";
|
|
2
|
-
import { $ as W, ad as A, ae as K, af as P, ag as R, ah as S, ai as $, aj as q, x as H } from "./index-
|
|
2
|
+
import { $ as W, ad as A, ae as K, af as P, ag as R, ah as S, ai as $, aj as q, x as H } from "./index-C7hbmbSa.js";
|
|
3
3
|
const Q = { class: "move" }, T = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "widget-view-drag"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, resolveComponent as f, createBlock as m, openBlock as v, withCtx as u, createVNode as t } from "vue";
|
|
2
|
-
import { $ as c } from "./index-
|
|
2
|
+
import { $ as c } from "./index-C7hbmbSa.js";
|
|
3
3
|
const x = /* @__PURE__ */ i({
|
|
4
4
|
__name: "Input-删除",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, resolveComponent as o, createBlock as l, openBlock as n, withCtx as i, createElementBlock as u, Fragment as d, renderList as r, createVNode as k, createCommentVNode as x, createTextVNode as D, toDisplayString as w } from "vue";
|
|
2
|
-
import { $ as U } from "./index-
|
|
2
|
+
import { $ as U } from "./index-C7hbmbSa.js";
|
|
3
3
|
const L = /* @__PURE__ */ _({
|
|
4
4
|
__name: "Label-删除",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as l, computed as n, createElementBlock as a, openBlock as s, mergeProps as u, createElementVNode as o, toDisplayString as g } from "vue";
|
|
2
|
-
import { x as m } from "./index-
|
|
2
|
+
import { x as m } from "./index-C7hbmbSa.js";
|
|
3
3
|
const p = ["xlink:href"], d = /* @__PURE__ */ l({
|
|
4
4
|
__name: "SvgIconCopy",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as et } from "./index-
|
|
1
|
+
import { au as et } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
package/dist/form-imagining.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aJ as s, aK as t, aI as o, aw as r, ax as n, a0 as l, aB as d, ay as f, aD as m, aE as i, az as u, aA as I, aG as p, aF as F, aC as g, aH as v } from "./index-
|
|
1
|
+
import { aJ as s, aK as t, aI as o, aw as r, ax as n, a0 as l, aB as d, ay as f, aD as m, aE as i, az as u, aA as I, aG as p, aF as F, aC as g, aH as v } from "./index-C7hbmbSa.js";
|
|
2
2
|
export {
|
|
3
3
|
s as createScopedBus,
|
|
4
4
|
t as default,
|
|
@@ -2597,7 +2597,7 @@ ${oe.unmounted}
|
|
|
2597
2597
|
@import url('/@/assets/less/form.less');
|
|
2598
2598
|
</style>
|
|
2599
2599
|
`;return U.value.html=ae,U.value}let generateData=vue.ref({html:"",columns:"",pagScript:{},variableScript:{},searchData:[],paginations:{},chartOptions:{}});function generateReportHtml(W,C,H,U){const K="report";useFormStore(),generateData.value={html:"",columns:"",pagScript:{},variableScript:{},searchData:[],paginations:{},chartOptions:{}};let X=C.labelWidth==null?"":`:label-col="{ style: { width:'${C.labelWidth}px'} }"`;const Z=C.formStyle=="table"?"cici-form-css table-form-css":"cici-form-css",Q=vue.reactive({hTable:0,editTable:0,paginations:{},reportData:U,hasTable:!1});let ee=`<div ref="formRef" class="${Z}" style="padding: 10px">`,te=`<a-form ${X} :labelWrap="true">`;ee+=te;const ne=findTable(W);Q.hasTable=ne;for(let re=0;re<W.length;re++){const oe=W[re];switch(oe.type){case"grid":ee+=generateGrid(oe,[],C,H,K,generateData,Q,!1,re>0&&W[re-1].type=="grid");break;case"table":ee+=generateReportTable(oe,re,H,K,generateData,U);break;case"charts-bar":ee+=generateChartsBar(oe,H,ne,generateData);break;case"charts-area":ee+=generateChartsArea(oe,H,ne,generateData);break;case"charts-pie":ee+=generateChartsPie(oe,H,ne,generateData);break;default:ee+=generateBase(oe,[],H,K,generateData)}}const ie=JSON.stringify(generateData.value.searchData);return ie!="[]"&&(H.value.variableScript+=`reportInfo.searchInfo=${ie};`),ee+=`
|
|
2600
|
-
</a-form></div>`,generateData.value.html=ee,generateData.value.pagScript=Q.paginations,generateData.value}function findReportNode(W,C){for(const H of W||[]){if(C(H))return H;const U=getReportNodeChildren(H),K=findReportNode(U,C);if(K)return K}}function getReportNodeChildren(W){return Array.isArray(W==null?void 0:W.columns)?W.columns.flatMap(C=>Array.isArray(C.list)?C.list:[]):Array.isArray(W==null?void 0:W.panes)?W.panes.flatMap(C=>Array.isArray(C.content)?C.content:[]):Array.isArray(W==null?void 0:W.content)?W.content:[]}function getApiSourceCode(W){return W&&W.cType&&W.cType=="javascript"?`let reportApiSource = ${JSON.stringify(W.dataSource)}`:""}const _sfc_main$U=vue.defineComponent({__name:"index",props:{modules:{type:Object,default:null},title:{type:String,default:"标题"},width:{type:[String,Number],default:520},height:{type:[String,Number],default:0},filePath:{type:String,default:""},isFullScreen:{type:Boolean,default:!1},formData:{type:[Object,String,Number,Array]},okText:{type:String,default:"确认"},cancelText:{type:String,default:"取消"},onOk:{type:Function,default:null},onCancel:{type:Function,default:null},footer:{type:Boolean,default:!0},footerStyle:{type:Object,default:()=>({"text-align":"end"})},wrapClassName:{type:String,default:""},footerExtendBtn:{type:Array,default:[]},isDefaultBtn:{type:Boolean,default:!0},configTheme:{type:Object,default:null},maskClosable:{type:Boolean,default:!1}},setup(W,{expose:C}){let H=vue.ref(!1),U=vue.ref(!1),K=vue.ref(),X=vue.ref(!1),Z=vue.ref(!1),Q=W,ee=vue.reactive({...Q});vue.watch(()=>Q,ge=>{Object.keys(ge).forEach(ve=>{ve in ee&&(ee[ve]=ge[ve])})},{deep:!0,immediate:!0});const te={token:{colorPrimary:"#5094F9",fontSize:13}},ne=vue.computed(()=>merge$2({},te,ee.configTheme)),ie=vue.computed(()=>{if(!ee.modules)return console.error("projModules未提供,无法动态加载项目中的组件!"),null;if(ee.modules[`/src/${ee.filePath}.vue`])return vue.defineAsyncComponent(ee.modules[`/src/${ee.filePath}.vue`]);console.error(`该/src/${ee.filePath}.vue路径下组件不存在, 加载失败!`)}),re=vue.computed(()=>ee.footer?"":{footer:null});C({setConfirmLoading:oe,show:le,close:ce,update:ue}),vue.onMounted(()=>{Z.value=!0,le()});function oe(ge){U.value=ge}async function ae(){var ge,ve,ye,me;if(ee.onOk&&typeof ee.onOk=="function"){let Se=K.value,xe;Se&&((me=(ye=(ve=(ge=Se==null?void 0:Se.rView)==null?void 0:ge.$)==null?void 0:ve.exposed)==null?void 0:ye.exposedEvents)!=null&&me.handleOk)?(xe=await Se.rView.$.exposed.exposedEvents.handleOk(),ee.onOk(xe)):Se&&Se.handleOk?(xe=await Se.handleOk(),ee.onOk(xe)):ee.onOk(Se)}else H.value=!1}function se(ge){let ve=ge.func;if(ve&&typeof ve=="function"){let ye=K.value;ve(ye)}else H.value=!1}function le(){H.value=!0}function ce(){H.value=!1}function ue(ge){de(ee,ge)}function de(ge,ve){!ve||typeof ve!="object"||Object.keys(ve).forEach(ye=>{const me=ve[ye],Se=ge[ye];me&&typeof me=="object"&&!Array.isArray(me)?((!Se||typeof Se!="object")&&(ge[ye]={}),de(ge[ye],me)):ge[ye]=me})}function fe(){if(ee.onCancel&&typeof ee.onCancel=="function"){let ge=K.value;ee.onCancel(ge)}else H.value=!1}function pe(){X.value=!X.value}return(ge,ve)=>{const ye=vue.resolveComponent("a-button"),me=vue.resolveComponent("a-space"),Se=vue.resolveComponent("a-spin"),xe=vue.resolveComponent("a-drawer"),we=vue.resolveComponent("a-config-provider");return vue.openBlock(),vue.createBlock(we,{locale:vue.unref(localeValues),theme:ne.value},{default:vue.withCtx(()=>[vue.createVNode(xe,vue.mergeProps({class:"commonDrawer",open:vue.unref(H),"onUpdate:open":ve[0]||(ve[0]=Te=>vue.isRef(H)?H.value=Te:H=Te),width:vue.unref(ee).isFullScreen||vue.unref(X)?"100%":vue.unref(ee).width,"root-class-name":vue.unref(X)||vue.unref(ee).isFullScreen?`full-common-drawer ${vue.unref(ee).wrapClassName||""}`:vue.unref(ee).wrapClassName||"",confirmLoading:vue.unref(U),maskClosable:vue.unref(ee).maskClosable,onCancel:fe},re.value),vue.createSlots({title:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(ee).title)+" ",1),vue.unref(ee).isFullScreen?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"fullscreen-custom",onClick:pe},[vue.unref(X)?(vue.openBlock(),vue.createBlock(vue.unref(FullscreenExitOutlined),{key:0})):(vue.openBlock(),vue.createBlock(vue.unref(FullscreenOutlined),{key:1}))]))]),default:vue.withCtx(()=>[vue.unref(Z)?(vue.openBlock(),vue.createBlock(vue.Suspense,{key:0},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(ie.value),{formData:vue.unref(ee).formData,ref_key:"link",ref:K},null,8,["formData"]))]),fallback:vue.withCtx(()=>[vue.createVNode(Se,{tip:"Loading..."},{default:vue.withCtx(()=>[...ve[1]||(ve[1]=[vue.createElementVNode("div",{style:{"min-height":"200px"}},null,-1)])]),_:1})]),_:1})):vue.createCommentVNode("",!0)]),_:2},[vue.unref(ee).footer?{name:"footer",fn:vue.withCtx(()=>[vue.createElementVNode("div",{style:vue.normalizeStyle(vue.unref(ee).footerStyle)},[vue.createVNode(me,null,{default:vue.withCtx(()=>[vue.unref(ee).isDefaultBtn?(vue.openBlock(),vue.createBlock(ye,{key:0,onClick:fe},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(ee).cancelText),1)]),_:1})):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(ee).footerExtendBtn,(Te,Ae)=>(vue.openBlock(),vue.createBlock(ye,{type:Te.type,onClick:De=>se(Te)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(Te.name),1)]),_:2},1032,["type","onClick"]))),256)),vue.unref(ee).isDefaultBtn?(vue.openBlock(),vue.createBlock(ye,{key:1,loading:vue.unref(U),type:"primary",onClick:ae},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(ee).okText),1)]),_:1},8,["loading"])):vue.createCommentVNode("",!0)]),_:1})],4)]),key:"0"}:void 0]),1040,["open","width","root-class-name","confirmLoading","maskClosable"])]),_:1},8,["locale","theme"])}}}),CommonDrawer=_export_sfc(_sfc_main$U,[["__scopeId","data-v-f0ddda99"]]),index$d=Object.freeze(Object.defineProperty({__proto__:null,default:CommonDrawer},Symbol.toStringTag,{value:"Module"}));let cDrawerModules=null,configTheme$1=null,scopeBus$1=null;function updateCDrawerModules(W){cDrawerModules=W||cDrawerModules}function updateCDrawerTheme(W){configTheme$1=W}function updateCDrawerScopeBus(W){scopeBus$1=W}function cDrawer(W){let C,H,U;C=document.createElement("div"),W&&!W.onCancel&&(W.onCancel=()=>{ee()}),W&&!W.onOk&&(W.onOk=()=>{ee()}),W&&W.isDefaultBtn!==!1&&(W.isDefaultBtn=!0),H=vue.createApp(CommonDrawer,{...W,modules:cDrawerModules,configTheme:configTheme$1}),registerGlobComp(H),H.provide("projModules",cDrawerModules),H.provide("appTheme",configTheme$1),H.provide("scopedEventBus",scopeBus$1),U=H.mount(C);function K(te){U&&U.setConfirmLoading(te)}function X(){U&&U.show()}function Z(){U&&U.close()}function Q(te){U&&U.update(te)}function ee(){Z(),setTimeout(()=>{U=H.unmount()},200)}return{setConfirmLoading:K,show:X,close:Z,destroy:ee,update:Q}}const _sfc_main$T=vue.defineComponent({__name:"RView",props:{id:{type:String,default:"-1"},pFormData:{type:Object,default:{}},pRouter:{type:Object,default:{}},pRoute:{type:Object,default:{}},pMessage:{type:Object,default:null}},emits:["ok","rowChange"],async setup(__props,{expose:__expose,emit:__emit}){var W,C;let __temp,__restore;const VNodes=useVNodes(),userStore=useUserStore(),projModules=vue.inject("projModules"),appTheme=vue.inject("appTheme",null),eventBus=vue.inject("scopedEventBus",null);updateCModalModules(projModules),updateCDrawerModules(projModules),updateCModalTheme(appTheme),updateCDrawerTheme(appTheme),updateCModalScopeBus(eventBus),updateCDrawerScopeBus(eventBus);const props=__props;window.message=props.pMessage||api$2;const router=props.pRouter,route=props.pRoute,formData=vue.reactive({});let bdc=(W=props.pFormData)==null?void 0:W.bdc,code=formData.formId||props.id;code=="-1"&&(route.params.code==null?code=route.fullPath.split("/").pop()||"-1":code=(C=route==null?void 0:route.params)==null?void 0:C.code.toString()),updateRoute(route),vue.watch(()=>props.pFormData,H=>{var U;Object.assign(formData,H||{}),bdc=(U=props.pFormData)==null?void 0:U.bdc},{immediate:!0,deep:!0});let dataSource=vue.ref(),paginations=vue.ref(),columns=vue.ref([]),viewData=vue.ref({}),loading=vue.ref(!1),reportInfo=vue.reactive({formId:"",tableName:"",title:"文件",keyCol:"",searchInfo:[]}),options={viewData,dataSource,reportInfo,paginations,loading,sortField:"",sortOrder:""},eLoading=vue.ref(!1),editableData=vue.reactive({});reportInfo.formId=code.toString(),[__temp,__restore]=vue.withAsyncContext(()=>initStoreData()),await __temp,__restore();const userInfo=userStore.getUserInfo,info=([__temp,__restore]=vue.withAsyncContext(()=>getReport({id:reportInfo.formId})),__temp=await __temp,__restore(),__temp),data=info.content?JSON.parse(info.content):null,config=data==null?void 0:data.config;reportInfo.tableName=info.tableName,reportInfo.title=info.title;const{eventScript,baseScript,cBasicInfo,...restConfig}=config;let vue3Script=vue.ref({importScript:"",variableScript:"",contentScript:""});const generateData=generateReportHtml(data.list,restConfig,vue3Script,info);columns.value=[],generateData.columns!=""&&(columns.value=JSON.parse(generateData.columns));let reportApiSource=info.dataSource;reportInfo.searchInfo=generateData.searchData,paginations.value=generateData.paginations,viewData.value={};let selectedValue=vue.ref([]),events={},exposedEvents={};const computedEvents={};let basicInfo=vue.ref({});if(cBasicInfo)for(let H=0;H<cBasicInfo.length;H++){const U=cBasicInfo[H].name,K=cBasicInfo[H].type,X=cBasicInfo[H].default;basicInfo.value[U]=transformValueByType(X,K)}function transformValueByType(H,U){switch(U){case"string":return H;case"number":return Number(H);case"boolean":return typeof H=="string"?H.toLowerCase()==="true":!!H;case"object":case"array":try{return JSON.parse(H)}catch(K){return console.error(`转换失败: ${H}`,K),null}default:return H}}let chartOptionsMap=generateData.chartOptions;const exposeds=eventScript.filter(H=>H.type=="Exposed");let arrExposed=[];exposeds.length>0&&(arrExposed=exposeds[0].name.split(","));let filterColumns=vue.ref([]);filterColumns.value=columns.value;const emit=__emit;let formRef=vue.ref();vue.onActivated(()=>{updateCModalModules(projModules),updateCDrawerModules(projModules),updateCModalTheme(appTheme),updateCDrawerTheme(appTheme),updateCModalScopeBus(eventBus),updateCDrawerScopeBus(eventBus)});const generateVue3=vue.defineComponent({template:generateData.html,components:{VNodes,InfoCircleOutlined,DownOutlined},props:{},computed:{...computedEvents},setup(){return generateTs(),{emit,message:api$2,viewData,basicInfo,reportInfo,paginations,dataSource,columns,loading,...events,...bdc,dayjs,formData,defHttp,router,route,editableData,selectedValue,search,reset,handleTableChange,syncChange,onCasChange,getSelectAllCheck,setSelectAllCheck,initTableV2,execInitFun,onCAdd,onCDelRow,saveRow,editRow,cancelRow,delRow,addNewRow,getDictItemsByCode,getTreeDictItemsByCode,getLabelByDictCode,getLabelByTreeDictCode,onCExportSearch,onCImportSearch,onExportExcel,onExportExcelApi,onCExport,formatMultipleSelectValue,formatMultipleTreeSelectValue,formatMultipleCascaderValue,onSelectChange,cModal,cDrawer,reloadTable,Modal,getMatchTag,excuteHrefFun,loadStyle,onColumnsChange,userInfo,getDatePicker,getDateValueFormat,getShowTime,chartOptionsMap,formRef,validateFun,validateInfos:exports.validateInfos,onRangeChange,filterSelectableTreeData};async function search(){await validateReport(formRef.value)&&(paginations.value.current=1,execInitFun())}async function reset(){viewData.value={},paginations.value.current=1,await vue.nextTick(),await validateReport(formRef.value)?execInitFun():dataSource.value=[]}function onCExport(H){let U=vue.ref(H.data);if(U.value.length==0){api$2.warning("请选择要导出的列");return}else info.cType=="sql"?H.type=="all"?onExportExcel(U,viewData,reportInfo,eLoading):onExportExcelDefault(U,dataSource,reportInfo):onExportExcelApi({reportInfo,viewData,paginations,reportApiSource,bLoading:eLoading,exportColumns:U})}function onCExportSearch(){onExportSearch(reportInfo)}function onCImportSearch(){onImportSearch(viewData)}async function handleTableChange(H,U){const{sorter:K,pagination:X}=H,{field:Z,order:Q}=K;options.sortField=Z,options.sortOrder=Q,paginations.value.current=X.current,paginations.value.pageSize=X.pageSize,await initTableV2(options),U&&U(H)}function onSelectChange(H,U){basicInfo.value.state.selectedRowKeys=H}function onCAdd(H,U){let K=getCTypeOptions();addNewRow(columns,dataSource,paginations,reportInfo.formId,formData,editableData,H,U,"report",K)}function onCDelRow(H,U,K,X,Z,Q,ee,te,ne,ie,re){let oe=getCTypeOptions();delRow(H,U,K,X,Z,Q,ee,te,ne,ie,re,oe)}function getCTypeOptions(){let H={};return info.cType=="sql"?H={cType:"sql",options}:H={cType:"api",options:{viewData,dataSource,reportApiSource,paginations,loading}},H}function generateTs(){const _eventScript=eventScript.filter(H=>H.type=="Function"||H.type=="Mounted"||H.type=="Watch"||H.type=="Computed"||H.type=="BeforeValidate"||H.type=="UnMounted");for(let i=0;i<_eventScript.length;i++){const _data=_eventScript[i];if(_data.type=="Computed")try{const result=eval(`(${_data.func})`);typeof result=="object"&&(result.get||result.set)||typeof result=="function"?computedEvents[_data.name]=result:computedEvents[_data.name]=eval(`() => { ${_data.func} }`)}catch{try{const result=eval(`({${_data.func}})`);typeof result=="object"&&(result.get||result.set)?computedEvents[_data.name]=result:computedEvents[_data.name]=eval(`() => { ${_data.func} }`)}catch{computedEvents[_data.name]=eval(`() => { ${_data.func} }`)}}else if(_data.param!="")if(_data.isasync)events[_data.name]=eval(`async (${_data.param})=> { ${_data.func}}`),arrExposed.includes(_data.name)&&(exposedEvents[_data.name]=eval(`async (${_data.param})=> { ${_data.func}}`));else try{eval(`(${_data.param})=> { ${_data.func}}`),events[_data.name]=eval(`(${_data.param})=> { ${_data.func}}`),arrExposed.includes(_data.name)&&(exposedEvents[_data.name]=eval(`(${_data.param})=> { ${_data.func}}`))}catch(H){}else _data.isasync?(events[_data.name]=eval(`async ()=> { ${_data.func}}`),arrExposed.includes(_data.name)&&(exposedEvents[_data.name]=eval(`async ()=> { ${_data.func}}`))):(events[_data.name]=eval(`()=> { ${_data.func}}`),arrExposed.includes(_data.name)&&(exposedEvents[_data.name]=eval(`()=> { ${_data.func}}`)))}}},async mounted(){eventScript.filter(U=>U.type=="Mounted").length>0&&await events.initMount(),info.isLoad==1&&(await vue.nextTick(),await validateReport(formRef.value)?execInitFun():dataSource.value=[])},beforeUnmount(){eventScript.filter(U=>U.type=="UnMounted").length>0&&events.unMounted()}});async function initStoreData(){await userStore.initToken(),await userStore.initUserInfo(),await userStore.initDataDict(),await userStore.initCategory(),await userStore.initValidateRule(),await userStore.initApiRule(),await setTimeout(()=>{},200)}function execInitFun(){info.cType=="sql"?initTableV2(options):initApiTable(viewData,dataSource,reportApiSource,paginations,loading)}function createCase(){basicInfo.value.state.selectedRowKeys.length==0?api$2.warning("请选择要提取的数据"):emit("ok",{reload:!0,data:basicInfo.value.state.selectedRowKeys,exParams:basicInfo.value.state.exParams})}function reloadTable(){execInitFun()}function onColumnsChange(H){filterColumns.value=H}function excuteHrefFun(H,U){events[H]&&events[H](U)}return __expose({createCase,exposedEvents}),(H,U)=>(vue.openBlock(),vue.createBlock(vue.unref(generateVue3)))}}),RView=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$T},Symbol.toStringTag,{value:"Module"})),__vite_glob_0_0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAndJREFUSEvtlE1oE0EUx99k0wYVmzWtBpUoagsiHoqK+HURlUiVnmxRT852kqr15MdNaSt4ULEe/KhJptm9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h2OvxaZ4AgVwCwjCXpOUQINBrAWHY6/FpngCBXALCMJek5RAg0GsBYdjr8WmeAIFcAsIwl6TlECDQawFh2OvxaZ4AgVwCwjCXpOUQINBrAWHY6/FpngCBXALCMJek5RAg0GsBYdjr8WmeAIFcAp0u4eUPQuXithwCBKIK2DKMOhl9ESBQVEAYFuVWjACBqALCMOpk9EWAQFEBYViUWzECBKIKCMOok9EXAQJFBYRhUW7FCBCIKiAMo05GXwQIFBUQhkW5FSNAIKqAMIw6GX0RIFBUQBgW5VaMAIGoAsIw6mT0RYBAUQFhWJRbMQIEogoIw6iT0RcBAkUFhGFRbsUIEIgqIAyjTkZfBAgUFRCGRbkVI0AgqoAwjDoZfREgUFRAGBblVowAgagCwjDqZPRFgEBRAWFYlFsxAgSiCgjDqJPRFwECRQWEYVFuxQgQiCogDKNORl8ECBQVEIZFuRUjQCCqgDCMOhl9ESBQVEAYFuVWjACBqALCMOpk9EWAQFEBYViUWzECBKIKCMOok9EXAQJFBYRhUW7FCBCIKiAMo05GXwQIFBUQhkW5FSNAIKqAMIw6GX0RIFBUQBgW5VaMAIGoAsIw6mT0RYBAUQFhWJRbMQIEogoIw6iT0RcBAkUFhGFRbsUIEIgqIAyjTkZfBAgUFRCGRbkVI0AgqoAwjDoZfREgUFRAGBblVowAgagCwjDqZPRFgEBRAWFYlFsxAgSiCgjDqJPRFwECRQWEYVFuxQgQiCogDKNORl8ECBQVEIZFuRUjQCCqgDCMOhl9ESBQVEAYFuVWjACBqALCMOpk9EWAQFEBYViUWzECBKIKCMOok9EXAQJFBYRhUW7FCBCIKiAMo05GXwQIFBUQhkW5FSNAIKqAMIw6GX0RIFBU4H8RUTV123y9kQAAAABJRU5ErkJggg==",_sfc_main$S=vue.defineComponent({__name:"FView",props:{id:{type:String,default:"34"},reload:{type:String,default:""},formType:{type:String,default:"form"},pFormData:{type:Object,default:{}},pRouter:{type:Object,default:{}},pRoute:{type:Object,default:{}},pMessage:{type:Object,default:null}},emits:["aa","rowChange"],async setup(__props,{expose:__expose,emit:__emit}){var W;let __temp,__restore;const userStore=useUserStore(),projModules=vue.inject("projModules"),appTheme=vue.inject("appTheme",null),eventBus=vue.inject("scopedEventBus",null);updateCModalModules(projModules),updateCDrawerModules(projModules),updateCModalTheme(appTheme),updateCDrawerTheme(appTheme),updateCModalScopeBus(eventBus),updateCDrawerScopeBus(eventBus);const props=__props;window.message=props.pMessage||api$2;const currentInstance=vue.computed(()=>vue.getCurrentInstance()),{disabled}=vue.useAttrs(),VNodes=useVNodes(),route=props.pRoute,router=props.pRouter,formData=vue.reactive({});let bdc=(W=props.pFormData)==null?void 0:W.bdc;const code=vue.ref(props.id);updateRoute(route),vue.watch(()=>props.pFormData,C=>{var H;Object.assign(formData,C||{}),bdc=(H=props.pFormData)==null?void 0:H.bdc},{immediate:!0,deep:!0});let dataSource=vue.ref([]),paginations=vue.ref(),columns=vue.ref([]),formInfo=vue.reactive({formId:"",tableName:"",title:"文件",keyCol:"",searchInfo:[]}),editableData=vue.reactive({});formInfo.formId=code.value.toString();let formId=code.value.toString(),formDisabled=vue.ref(!1),isSubmit=vue.ref(!0),validateFlag=!0;disabled!=null&&typeof disabled=="boolean"&&(formDisabled.value=disabled,isSubmit.value=!formDisabled.value);let autoCompleteOptions=vue.ref({}),generateRef=vue.ref();[__temp,__restore]=vue.withAsyncContext(()=>initStoreData()),await __temp,__restore();const userInfo=userStore.getUserInfo,info=([__temp,__restore]=vue.withAsyncContext(()=>getForm({id:formInfo.formId})),__temp=await __temp,__restore(),__temp),data=info.content?JSON.parse(info.content):null,config=data==null?void 0:data.config;formInfo.tableName=info.table_name;const{eventScript,baseScript,cBasicInfo,...restConfig}=config,{formSetting}=restConfig;let vue3Script=vue.ref({importScript:"",variableScript:"",contentScript:""});const generateData=generateFormHtml(info,vue3Script,formId);let activeTabKey=vue.ref(generateData.variableScript.activeTabKey),selectJsonSetting=vue.ref(generateData.selectJsonSetting);getSelectJsonSetting(selectJsonSetting),columns.value=generateData.columns,formInfo.searchInfo=generateData.searchData,paginations.value=generateData.paginations;let viewData=vue.ref({});const _sourcedata=([__temp,__restore]=vue.withAsyncContext(()=>loadSourceData(formId)),__temp=await __temp,__restore(),__temp);viewData.value=getViewDataByFormId(info.id);const apiArr=_sourcedata.filter(C=>C.cType=="javascript");let apiDataSource=apiArr;[__temp,__restore]=vue.withAsyncContext(()=>getData(viewData,formId,formData)),await __temp,__restore(),[__temp,__restore]=vue.withAsyncContext(()=>getDataByApi(viewData,apiDataSource)),await __temp,__restore();let basicInfo=vue.ref({});if(cBasicInfo)for(let C=0;C<cBasicInfo.length;C++){const H=cBasicInfo[C].name,U=cBasicInfo[C].type,K=cBasicInfo[C].default;basicInfo.value[H]=transformValueByType(K,U)}function transformValueByType(C,H){switch(H){case"string":return C;case"number":return Number(C);case"boolean":return typeof C=="string"?C.toLowerCase()==="true":!!C;case"object":case"array":try{return JSON.parse(C)}catch(U){return console.error(`转换失败: ${C}`,U),null}default:return C}}const props1=eventScript.filter(C=>C.type=="Props");props1.length==1;let demoRefsMap=vue.ref(new Map);const demoRefs=vue.computed(()=>{const C=Array.from(demoRefsMap.value.values());return getMultipleRef(C,[])}),events={},computedEvents={};[__temp,__restore]=vue.withAsyncContext(()=>generateTs()),await __temp,__restore(),vue.onActivated(()=>{updateCModalModules(projModules),updateCDrawerModules(projModules),updateCModalTheme(appTheme),updateCDrawerTheme(appTheme),updateCModalScopeBus(eventBus),updateCModalScopeBus(eventBus)});const generateVue3=vue.defineComponent({template:generateData.html,props,components:{VNodes,InfoCircleOutlined,DownOutlined},computed:{...computedEvents},expose:["multipleRef","onSubmit","formId"],methods:{hideFields(C){return hideField(formSetting,viewData,C)}},setup(){let C=vue.ref();initAllCTableV2({viewData,formId,paginations:paginations.value,columns:columns.value},formData);const H=(Q,ee)=>{var ne,ie;const te=(Q==null?void 0:Q.fView)||((ie=(ne=Q==null?void 0:Q.$)==null?void 0:ne.exposed)==null?void 0:ie.fView);Q&&te&&demoRefsMap.value.set(ee,te)};function U(Q,ee){var ie;paginations.value[ee]=Q,paginations.value[ee].showTotal=Q.showTotalObj?Q.showTotalObj.showTotal:`共 ${Q.total} 条数据`;let te=ee.replace("pagination-","");const ne=((ie=columns.value)==null?void 0:ie[`columns-${te}`])??null;initCTableV2({viewData,formId,pagination:paginations.value[ee],column:ne},formData)}async function K(){return isSubmit.value?await onSubmitForm(C.value,X):null}async function X(){return events.onBeforeValidate?await events.onBeforeValidate():!0}function Z(){let Q=[];for(let ee=0;ee<demoRefs.length;ee++)demoRefs[ee].child&&Q.push(demoRefs[ee].child);return Q.length?Q:null}return{setRef:H,isSubmit,validateFlag,formDisabled,formRef:C,currentInstance,basicInfo,viewData,formInfo,paginations,dataSource,columns,autoCompleteOptions,selectJsonSetting,activeTabKey,...events,formId,route,router,eventBus,computed:vue.computed,defHttp,editableData,formData,...bdc,onChange1:U,initCTableV2,addNewRow,saveRow,editRow,cancelRow,delRow,reloadTable,handleChangeTab,getDictItemsByCode,getTreeDictItemsByCode,getCasDictItemsByCode,getLabelByDictCode,getLabelByTreeDictCode,formatMultipleSelectValue,formatMultipleTreeSelectValue,formatMultipleCascaderValue,getSelectJsonSetting,getZjzlRuleCode,syncChange,onCasChange,onTableSelectClear,onTableSelectRowChange,getSelectAllCheck,setSelectAllCheck,validateFun,getFormInfo,getImgUrl,validateInfos:exports.validateInfos,cModal,cDrawer,Modal,message:api$2,dayjs,watch:vue.watch,onSubmit:K,multipleRef:Z,getAccount,getMatchTag,excuteHrefFun,loadStyle,setInputStatus,validateRules,getAutoCompleteOptions,userInfo,getDatePicker,getDateValueFormat,getShowTime,onRangeChange,filterSelectableTreeData}},mounted(){const C=eventScript.filter(H=>H.type=="Mounted");eventBus&&eventBus.on(`switch-tab-${formId}`,H=>{activeTabKey.value=H}),C.length>0&&events.initMount()},beforeUnmount(){const C=eventScript.filter(H=>H.type=="UnMounted");eventBus&&eventBus.off(`switch-tab-${formId}`),C.length>0&&events.unMounted()}});vue.watch(()=>props.reload,async C=>{C!=""&&await getData(viewData,formId,formData)});async function initStoreData(){await userStore.initToken(),await userStore.initUserInfo(),await userStore.initDataDict(),await userStore.initCategory(),await userStore.initValidateRule(),await userStore.initApiRule(),setTimeout(()=>{},200)}function generateTs(){const _eventScript=eventScript.filter(C=>C.type=="Function"||C.type=="Mounted"||C.type=="Watch"||C.type=="Computed"||C.type=="BeforeValidate"||C.type=="UnMounted");for(let i=0;i<_eventScript.length;i++){const _data=_eventScript[i];if(_data.type=="Computed")try{const result=eval(`(${_data.func})`);typeof result=="object"&&(result.get||result.set)||typeof result=="function"?computedEvents[_data.name]=result:computedEvents[_data.name]=eval(`() => { ${_data.func} }`)}catch{try{const result=eval(`({${_data.func}})`);typeof result=="object"&&(result.get||result.set)?computedEvents[_data.name]=result:computedEvents[_data.name]=eval(`() => { ${_data.func} }`)}catch{computedEvents[_data.name]=eval(`() => { ${_data.func} }`)}}else if(_data.param!="")if(_data.isasync)events[_data.name]=eval(`async (${_data.param})=> { ${_data.func}}`);else try{eval(`(${_data.param})=> { ${_data.func}}`),events[_data.name]=eval(`(${_data.param})=> { ${_data.func}}`)}catch(C){}else _data.isasync?events[_data.name]=eval(`async ()=> { ${_data.func}}`):events[_data.name]=eval(`()=> { ${_data.func}}`)}}function getViewDataByFormId(C){let H={};for(let U=0;U<_sourcedata.length;U++)_sourcedata[U].isList?Reflect.set(H,_sourcedata[U].name,[]):Reflect.set(H,_sourcedata[U].name,{});return H}function loadSourceData(C){return new Promise(H=>{const U="/formapi/zrzy-form/data/getNameList",K=route==null?void 0:route.query;defHttp.get({url:U,params:{formId:C,db:K==null?void 0:K.db}},{withToken:!0}).then(X=>{X.success?H(X.result):H([])}).catch(X=>{H([])})})}async function getDataByApi(object,apiDataSource){for(let i=0;i<apiDataSource.length;i++)try{const scope={router};let res=await eval(`(async () => { ${apiDataSource[i].content} })()`);res&&(apiDataSource[i].isList?object.value[apiDataSource[i].name]=Array.isArray(res)?res:[res]:object.value[apiDataSource[i].name]=!Array.isArray(res)&&typeof res=="object"?res:{})}catch(C){console.log("error",C)}}async function onSubmit(){var C;return await((C=generateRef.value)==null?void 0:C.onSubmit())}function multipleRef(){var C;return(C=generateRef.value)==null?void 0:C.multipleRef()}function handleChangeTab(C,H){H&&H(C)}function reloadTable(){initAllCTableV2({viewData,formId,paginations:paginations.value,columns:columns.value},formData)}function excuteHrefFun(C,H){events[C]&&events[C](H)}function getImgUrl(C){return new URL(Object.assign({"/src/assets/images/bg/title2_bg.png":__vite_glob_0_0,"/src/assets/images/bg/title_bg.png":__vite_glob_0_1,"/src/assets/images/drag.png":__vite_glob_0_2})[`/src/assets/images/${C}`],typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:_documentCurrentScript&&_documentCurrentScript.tagName.toUpperCase()==="SCRIPT"&&_documentCurrentScript.src||new URL("form-imagining.umd.cjs",document.baseURI).href).href}return __expose({onSubmit,multipleRef,formId}),(C,H)=>(vue.openBlock(),vue.createBlock(vue.unref(generateVue3),{ref_key:"generateRef",ref:generateRef},null,512))}}),FView=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$S},Symbol.toStringTag,{value:"Module"}));/*! *****************************************************************************
|
|
2600
|
+
</a-form></div>`,generateData.value.html=ee,generateData.value.pagScript=Q.paginations,generateData.value}function findReportNode(W,C){for(const H of W||[]){if(C(H))return H;const U=getReportNodeChildren(H),K=findReportNode(U,C);if(K)return K}}function getReportNodeChildren(W){return Array.isArray(W==null?void 0:W.columns)?W.columns.flatMap(C=>Array.isArray(C.list)?C.list:[]):Array.isArray(W==null?void 0:W.panes)?W.panes.flatMap(C=>Array.isArray(C.content)?C.content:[]):Array.isArray(W==null?void 0:W.content)?W.content:[]}function getApiSourceCode(W){return W&&W.cType&&W.cType=="javascript"?`let reportApiSource = ${JSON.stringify(W.dataSource)}`:""}const _sfc_main$U=vue.defineComponent({__name:"index",props:{modules:{type:Object,default:null},title:{type:String,default:"标题"},width:{type:[String,Number],default:520},height:{type:[String,Number],default:0},filePath:{type:String,default:""},isFullScreen:{type:Boolean,default:!1},formData:{type:[Object,String,Number,Array]},okText:{type:String,default:"确认"},cancelText:{type:String,default:"取消"},onOk:{type:Function,default:null},onCancel:{type:Function,default:null},footer:{type:Boolean,default:!0},footerStyle:{type:Object,default:()=>({"text-align":"end"})},wrapClassName:{type:String,default:""},footerExtendBtn:{type:Array,default:[]},isDefaultBtn:{type:Boolean,default:!0},configTheme:{type:Object,default:null},maskClosable:{type:Boolean,default:!1}},setup(W,{expose:C}){let H=vue.ref(!1),U=vue.ref(!1),K=vue.ref(),X=vue.ref(!1),Z=vue.ref(!1),Q=W,ee=vue.reactive({...Q});vue.watch(()=>Q,ge=>{Object.keys(ge).forEach(ve=>{ve in ee&&(ee[ve]=ge[ve])})},{deep:!0,immediate:!0});const te={token:{colorPrimary:"#5094F9",fontSize:13}},ne=vue.computed(()=>merge$2({},te,ee.configTheme)),ie=vue.computed(()=>{if(!ee.modules)return console.error("projModules未提供,无法动态加载项目中的组件!"),null;if(ee.modules[`/src/${ee.filePath}.vue`])return vue.defineAsyncComponent(ee.modules[`/src/${ee.filePath}.vue`]);console.error(`该/src/${ee.filePath}.vue路径下组件不存在, 加载失败!`)}),re=vue.computed(()=>ee.footer?"":{footer:null});C({setConfirmLoading:oe,show:le,close:ce,update:ue}),vue.onMounted(()=>{Z.value=!0,le()});function oe(ge){U.value=ge}async function ae(){var ge,ve,ye,me;if(ee.onOk&&typeof ee.onOk=="function"){let Se=K.value,xe;Se&&((me=(ye=(ve=(ge=Se==null?void 0:Se.rView)==null?void 0:ge.$)==null?void 0:ve.exposed)==null?void 0:ye.exposedEvents)!=null&&me.handleOk)?(xe=await Se.rView.$.exposed.exposedEvents.handleOk(),ee.onOk(xe)):Se&&Se.handleOk?(xe=await Se.handleOk(),ee.onOk(xe)):ee.onOk(Se)}else H.value=!1}function se(ge){let ve=ge.func;if(ve&&typeof ve=="function"){let ye=K.value;ve(ye)}else H.value=!1}function le(){H.value=!0}function ce(){H.value=!1}function ue(ge){de(ee,ge)}function de(ge,ve){!ve||typeof ve!="object"||Object.keys(ve).forEach(ye=>{const me=ve[ye],Se=ge[ye];me&&typeof me=="object"&&!Array.isArray(me)?((!Se||typeof Se!="object")&&(ge[ye]={}),de(ge[ye],me)):ge[ye]=me})}function fe(){if(ee.onCancel&&typeof ee.onCancel=="function"){let ge=K.value;ee.onCancel(ge)}else H.value=!1}function pe(){X.value=!X.value}return(ge,ve)=>{const ye=vue.resolveComponent("a-button"),me=vue.resolveComponent("a-space"),Se=vue.resolveComponent("a-spin"),xe=vue.resolveComponent("a-drawer"),we=vue.resolveComponent("a-config-provider");return vue.openBlock(),vue.createBlock(we,{locale:vue.unref(localeValues),theme:ne.value},{default:vue.withCtx(()=>[vue.createVNode(xe,vue.mergeProps({class:"commonDrawer",open:vue.unref(H),"onUpdate:open":ve[0]||(ve[0]=Te=>vue.isRef(H)?H.value=Te:H=Te),width:vue.unref(ee).isFullScreen||vue.unref(X)?"100%":vue.unref(ee).width,"root-class-name":vue.unref(X)||vue.unref(ee).isFullScreen?`full-common-drawer ${vue.unref(ee).wrapClassName||""}`:vue.unref(ee).wrapClassName||"",confirmLoading:vue.unref(U),maskClosable:vue.unref(ee).maskClosable,onCancel:fe},re.value),vue.createSlots({title:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(ee).title)+" ",1),vue.unref(ee).isFullScreen?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"fullscreen-custom",onClick:pe},[vue.unref(X)?(vue.openBlock(),vue.createBlock(vue.unref(FullscreenExitOutlined),{key:0})):(vue.openBlock(),vue.createBlock(vue.unref(FullscreenOutlined),{key:1}))]))]),default:vue.withCtx(()=>[vue.unref(Z)?(vue.openBlock(),vue.createBlock(vue.Suspense,{key:0},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(ie.value),{formData:vue.unref(ee).formData,ref_key:"link",ref:K},null,8,["formData"]))]),fallback:vue.withCtx(()=>[vue.createVNode(Se,{tip:"Loading..."},{default:vue.withCtx(()=>[...ve[1]||(ve[1]=[vue.createElementVNode("div",{style:{"min-height":"200px"}},null,-1)])]),_:1})]),_:1})):vue.createCommentVNode("",!0)]),_:2},[vue.unref(ee).footer?{name:"footer",fn:vue.withCtx(()=>[vue.createElementVNode("div",{style:vue.normalizeStyle(vue.unref(ee).footerStyle)},[vue.createVNode(me,null,{default:vue.withCtx(()=>[vue.unref(ee).isDefaultBtn?(vue.openBlock(),vue.createBlock(ye,{key:0,onClick:fe},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(ee).cancelText),1)]),_:1})):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(ee).footerExtendBtn,(Te,Ae)=>(vue.openBlock(),vue.createBlock(ye,{type:Te.type,onClick:De=>se(Te)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(Te.name),1)]),_:2},1032,["type","onClick"]))),256)),vue.unref(ee).isDefaultBtn?(vue.openBlock(),vue.createBlock(ye,{key:1,loading:vue.unref(U),type:"primary",onClick:ae},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(ee).okText),1)]),_:1},8,["loading"])):vue.createCommentVNode("",!0)]),_:1})],4)]),key:"0"}:void 0]),1040,["open","width","root-class-name","confirmLoading","maskClosable"])]),_:1},8,["locale","theme"])}}}),CommonDrawer=_export_sfc(_sfc_main$U,[["__scopeId","data-v-f0ddda99"]]),index$d=Object.freeze(Object.defineProperty({__proto__:null,default:CommonDrawer},Symbol.toStringTag,{value:"Module"}));let cDrawerModules=null,configTheme$1=null,scopeBus$1=null;function updateCDrawerModules(W){cDrawerModules=W||cDrawerModules}function updateCDrawerTheme(W){configTheme$1=W}function updateCDrawerScopeBus(W){scopeBus$1=W}function cDrawer(W){let C,H,U;C=document.createElement("div"),W&&!W.onCancel&&(W.onCancel=()=>{ee()}),W&&!W.onOk&&(W.onOk=()=>{ee()}),W&&W.isDefaultBtn!==!1&&(W.isDefaultBtn=!0),H=vue.createApp(CommonDrawer,{...W,modules:cDrawerModules,configTheme:configTheme$1}),registerGlobComp(H),H.provide("projModules",cDrawerModules),H.provide("appTheme",configTheme$1),H.provide("scopedEventBus",scopeBus$1),U=H.mount(C);function K(te){U&&U.setConfirmLoading(te)}function X(){U&&U.show()}function Z(){U&&U.close()}function Q(te){U&&U.update(te)}function ee(){Z(),setTimeout(()=>{U=H.unmount()},200)}return{setConfirmLoading:K,show:X,close:Z,destroy:ee,update:Q}}const _sfc_main$T=vue.defineComponent({__name:"RView",props:{id:{type:String,default:"-1"},pFormData:{type:Object,default:{}},pRouter:{type:Object,default:{}},pRoute:{type:Object,default:{}},pMessage:{type:Object,default:null}},emits:["ok","rowChange"],async setup(__props,{expose:__expose,emit:__emit}){var W,C;let __temp,__restore;const VNodes=useVNodes(),userStore=useUserStore(),projModules=vue.inject("projModules"),appTheme=vue.inject("appTheme",null),eventBus=vue.inject("scopedEventBus",null);updateCModalModules(projModules),updateCDrawerModules(projModules),updateCModalTheme(appTheme),updateCDrawerTheme(appTheme),updateCModalScopeBus(eventBus),updateCDrawerScopeBus(eventBus);const props=__props;window.message=props.pMessage||api$2;const router=props.pRouter,route=props.pRoute,formData=vue.reactive({});let bdc=(W=props.pFormData)==null?void 0:W.bdc,code=formData.formId||props.id;code=="-1"&&(route.params.code==null?code=route.fullPath.split("/").pop()||"-1":code=(C=route==null?void 0:route.params)==null?void 0:C.code.toString()),updateRoute(route),vue.watch(()=>props.pFormData,H=>{var U;Object.assign(formData,H||{}),bdc=(U=props.pFormData)==null?void 0:U.bdc},{immediate:!0,deep:!0});let dataSource=vue.ref(),paginations=vue.ref(),columns=vue.ref([]),viewData=vue.ref({}),loading=vue.ref(!1),reportInfo=vue.reactive({formId:"",tableName:"",title:"文件",keyCol:"",searchInfo:[]}),options={viewData,dataSource,reportInfo,paginations,loading,sortField:"",sortOrder:""},eLoading=vue.ref(!1),editableData=vue.reactive({});reportInfo.formId=code.toString(),[__temp,__restore]=vue.withAsyncContext(()=>initStoreData()),await __temp,__restore();const userInfo=userStore.getUserInfo,info=([__temp,__restore]=vue.withAsyncContext(()=>getReport({id:reportInfo.formId})),__temp=await __temp,__restore(),__temp),data=info.content?JSON.parse(info.content):null,config=data==null?void 0:data.config;reportInfo.tableName=info.tableName,reportInfo.title=info.title;const{eventScript,baseScript,cBasicInfo,...restConfig}=config;let vue3Script=vue.ref({importScript:"",variableScript:"",contentScript:""});const generateData=generateReportHtml(data.list,restConfig,vue3Script,info);columns.value=[],generateData.columns!=""&&(columns.value=JSON.parse(generateData.columns));let reportApiSource=info.dataSource;reportInfo.searchInfo=generateData.searchData,paginations.value=generateData.paginations,viewData.value={};let selectedValue=vue.ref([]),events={},exposedEvents={};const computedEvents={};let basicInfo=vue.ref({});if(cBasicInfo)for(let H=0;H<cBasicInfo.length;H++){const U=cBasicInfo[H].name,K=cBasicInfo[H].type,X=cBasicInfo[H].default;basicInfo.value[U]=transformValueByType(X,K)}function transformValueByType(H,U){switch(U){case"string":return H;case"number":return Number(H);case"boolean":return typeof H=="string"?H.toLowerCase()==="true":!!H;case"object":case"array":try{return JSON.parse(H)}catch(K){return console.error(`转换失败: ${H}`,K),null}default:return H}}let chartOptionsMap=generateData.chartOptions;const exposeds=eventScript.filter(H=>H.type=="Exposed");let arrExposed=[];exposeds.length>0&&(arrExposed=exposeds[0].name.split(","));let filterColumns=vue.ref([]);filterColumns.value=columns.value;const emit=__emit;let formRef=vue.ref();vue.onActivated(()=>{updateCModalModules(projModules),updateCDrawerModules(projModules),updateCModalTheme(appTheme),updateCDrawerTheme(appTheme),updateCModalScopeBus(eventBus),updateCDrawerScopeBus(eventBus)});const generateVue3=vue.defineComponent({template:generateData.html,components:{VNodes,InfoCircleOutlined,DownOutlined},props:{},computed:{...computedEvents},setup(){return generateTs(),{emit,message:api$2,viewData,basicInfo,reportInfo,paginations,dataSource,columns,loading,...events,...bdc,dayjs,formData,defHttp,router,route,editableData,selectedValue,search,reset,handleTableChange,syncChange,onCasChange,getSelectAllCheck,setSelectAllCheck,initTableV2,execInitFun,onCAdd,onCDelRow,saveRow,editRow,cancelRow,delRow,addNewRow,getDictItemsByCode,getTreeDictItemsByCode,getLabelByDictCode,getLabelByTreeDictCode,onCExportSearch,onCImportSearch,onExportExcel,onExportExcelApi,onCExport,formatMultipleSelectValue,formatMultipleTreeSelectValue,formatMultipleCascaderValue,onSelectChange,cModal,cDrawer,reloadTable,Modal,getMatchTag,excuteHrefFun,loadStyle,onColumnsChange,userInfo,getDatePicker,getDateValueFormat,getShowTime,chartOptionsMap,formRef,validateFun,validateInfos:exports.validateInfos,onRangeChange,filterSelectableTreeData};async function search(){await validateReport(formRef.value)&&(paginations.value.current=1,execInitFun())}async function reset(){viewData.value={},paginations.value.current=1,await vue.nextTick(),await validateReport(formRef.value)?execInitFun():dataSource.value=[]}function onCExport(H){let U=vue.ref(H.data);if(U.value.length==0){api$2.warning("请选择要导出的列");return}else info.cType=="sql"?H.type=="all"?onExportExcel(U,viewData,reportInfo,eLoading):onExportExcelDefault(U,dataSource,reportInfo):onExportExcelApi({reportInfo,viewData,paginations,reportApiSource,bLoading:eLoading,exportColumns:U})}function onCExportSearch(){onExportSearch(reportInfo)}function onCImportSearch(){onImportSearch(viewData)}async function handleTableChange(H,U){const{sorter:K,pagination:X}=H,{field:Z,order:Q}=K;options.sortField=Z,options.sortOrder=Q,paginations.value.current=X.current,paginations.value.pageSize=X.pageSize,await initTableV2(options),U&&U(H)}function onSelectChange(H,U){basicInfo.value.state.selectedRowKeys=H}function onCAdd(H,U){let K=getCTypeOptions();addNewRow(columns,dataSource,paginations,reportInfo.formId,formData,editableData,H,U,"report",K)}function onCDelRow(H,U,K,X,Z,Q,ee,te,ne,ie,re){let oe=getCTypeOptions();delRow(H,U,K,X,Z,Q,ee,te,ne,ie,re,oe)}function getCTypeOptions(){let H={};return info.cType=="sql"?H={cType:"sql",options}:H={cType:"api",options:{viewData,dataSource,reportApiSource,paginations,loading}},H}function generateTs(){const _eventScript=eventScript.filter(H=>H.type=="Function"||H.type=="Mounted"||H.type=="Watch"||H.type=="Computed"||H.type=="BeforeValidate"||H.type=="UnMounted");for(let i=0;i<_eventScript.length;i++){const _data=_eventScript[i];if(_data.type=="Computed")try{const result=eval(`(${_data.func})`);typeof result=="object"&&(result.get||result.set)||typeof result=="function"?computedEvents[_data.name]=result:computedEvents[_data.name]=eval(`() => { ${_data.func} }`)}catch{try{const result=eval(`({${_data.func}})`);typeof result=="object"&&(result.get||result.set)?computedEvents[_data.name]=result:computedEvents[_data.name]=eval(`() => { ${_data.func} }`)}catch{computedEvents[_data.name]=eval(`() => { ${_data.func} }`)}}else if(_data.param!="")if(_data.isasync)events[_data.name]=eval(`async (${_data.param})=> { ${_data.func}}`),arrExposed.includes(_data.name)&&(exposedEvents[_data.name]=eval(`async (${_data.param})=> { ${_data.func}}`));else try{eval(`(${_data.param})=> { ${_data.func}}`),events[_data.name]=eval(`(${_data.param})=> { ${_data.func}}`),arrExposed.includes(_data.name)&&(exposedEvents[_data.name]=eval(`(${_data.param})=> { ${_data.func}}`))}catch(H){}else _data.isasync?(events[_data.name]=eval(`async ()=> { ${_data.func}}`),arrExposed.includes(_data.name)&&(exposedEvents[_data.name]=eval(`async ()=> { ${_data.func}}`))):(events[_data.name]=eval(`()=> { ${_data.func}}`),arrExposed.includes(_data.name)&&(exposedEvents[_data.name]=eval(`()=> { ${_data.func}}`)))}}},async mounted(){eventScript.filter(U=>U.type=="Mounted").length>0&&await events.initMount(),info.isLoad==1&&(await vue.nextTick(),await validateReport(formRef.value)?execInitFun():dataSource.value=[])},beforeUnmount(){eventScript.filter(U=>U.type=="UnMounted").length>0&&events.unMounted()}});async function initStoreData(){await userStore.initToken(),await userStore.initUserInfo(),await userStore.initDataDict(),await userStore.initCategory(),await userStore.initValidateRule(),await userStore.initApiRule(),await setTimeout(()=>{},200)}function execInitFun(){info.cType=="sql"?initTableV2(options):initApiTable(viewData,dataSource,reportApiSource,paginations,loading)}function createCase(){basicInfo.value.state.selectedRowKeys.length==0?api$2.warning("请选择要提取的数据"):emit("ok",{reload:!0,data:basicInfo.value.state.selectedRowKeys,exParams:basicInfo.value.state.exParams})}function reloadTable(){execInitFun()}function onColumnsChange(H){filterColumns.value=H}function excuteHrefFun(H,U){events[H]&&events[H](U)}return __expose({createCase,exposedEvents}),(H,U)=>(vue.openBlock(),vue.createBlock(vue.unref(generateVue3)))}}),RView=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$T},Symbol.toStringTag,{value:"Module"})),__vite_glob_0_0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAndJREFUSEvtlE1oE0EUx99k0wYVmzWtBpUoagsiHoqK+HURlUiVnmxRT852kqr15MdNaSt4ULEe/KhJptm9KNp6klKoojcVRKwH6aVi0EKKwbTZKtiPbJ5s3CSLh2xIQouQPe3wZv+/nd+8GYIABBbhIRXwQlmvqF4o0/B/qGay+ggAjme0VGmz23rZqo8d92LLZpZWxwiQJUZtlFPn1nz6Cl5xtxxxjMOKGABZbgR+4dRZr78zHj8Ggr0/AyKI10KSeKUsYMYnj4IgPDOF3wpJ4iV97FPUh4hwIlMTcG57QFo5UhawL5zoQ0JoJsyGyb1BqfZtd1fEMb7e9R0AaoxaxENv13dCF5YMDgbe299VN0wAQK0RFvUODa9rGWhNtStqk4YwaIL0cOq8aHU8Ctpjf/jHgRSpemEKu8+p85w+9ssJngIiZWuato8z15uygJms3gWAs5kwO8GDD06Jr9ImHA1RQKgzahPeoWGPbqJk8EBLv224yfsNANYYYfGdc2Or/e07kr5wYj8S8tLUcL0hSeywgup1S9X+cHx3ithfm8LlkCS2pbtZVu8gQBZkw/lDQaku+yMlNZdPSdxEJBdMe9jMmWtQN/H8yOGviLj2XxNlWTGT1c8AsNEIm/bApLuTbpg93Te9K2lDcxMpnDpzTWZB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6GX0RIFBUQBgW5VaMAIGoAsIw6mT0RYBAUQFhWJRbMQIEogoIw6iT0RcBAkUFhGFRbsUIEIgqIAyjTkZfBAgUFRCGRbkVI0AgqoAwjDoZfREgUFRAGBblVowAgagCwjDqZPRFgEBRAWFYlFsxAgSiCgjDqJPRFwECRQWEYVFuxQgQiCogDKNORl8ECBQVEIZFuRUjQCCqgDCMOhl9ESBQVEAYFuVWjACBqALCMOpk9EWAQFEBYViUWzECBKIKCMOok9EXAQJFBYRhUW7FCBCIKiAMo05GXwQIFBUQhkW5FSNAIKqAMIw6GX0RIFBU4H8RUTV123y9kQAAAABJRU5ErkJggg==",_sfc_main$S=vue.defineComponent({__name:"FView",props:{id:{type:String,default:"34"},reload:{type:String,default:""},formType:{type:String,default:"form"},pFormData:{type:Object,default:{}},pRouter:{type:Object,default:{}},pRoute:{type:Object,default:{}},pMessage:{type:Object,default:null}},emits:["aa","rowChange"],async setup(__props,{expose:__expose,emit:__emit}){var W;let __temp,__restore;const userStore=useUserStore(),projModules=vue.inject("projModules"),appTheme=vue.inject("appTheme",null),eventBus=vue.inject("scopedEventBus",null);updateCModalModules(projModules),updateCDrawerModules(projModules),updateCModalTheme(appTheme),updateCDrawerTheme(appTheme),updateCModalScopeBus(eventBus),updateCDrawerScopeBus(eventBus);const props=__props;window.message=props.pMessage||api$2;const currentInstance=vue.computed(()=>vue.getCurrentInstance()),{disabled}=vue.useAttrs(),VNodes=useVNodes(),route=props.pRoute,router=props.pRouter,formData=vue.reactive({});let bdc=(W=props.pFormData)==null?void 0:W.bdc;const code=vue.ref(props.id);updateRoute(route),vue.watch(()=>props.pFormData,C=>{var H;Object.assign(formData,C||{}),bdc=(H=props.pFormData)==null?void 0:H.bdc},{immediate:!0,deep:!0});let dataSource=vue.ref([]),paginations=vue.ref(),columns=vue.ref([]),formInfo=vue.reactive({formId:"",tableName:"",title:"文件",keyCol:"",searchInfo:[]}),editableData=vue.reactive({});formInfo.formId=code.value.toString();let formId=code.value.toString(),formDisabled=vue.ref(!1),isSubmit=vue.ref(!0),validateFlag=!0;disabled!=null&&typeof disabled=="boolean"&&(formDisabled.value=disabled,isSubmit.value=!formDisabled.value);let autoCompleteOptions=vue.ref({}),generateRef=vue.ref();[__temp,__restore]=vue.withAsyncContext(()=>initStoreData()),await __temp,__restore();const userInfo=userStore.getUserInfo,info=([__temp,__restore]=vue.withAsyncContext(()=>getForm({id:formInfo.formId})),__temp=await __temp,__restore(),__temp),data=info.content?JSON.parse(info.content):null,config=data==null?void 0:data.config;formInfo.tableName=info.table_name;const{eventScript,baseScript,cBasicInfo,...restConfig}=config,{formSetting}=restConfig;let vue3Script=vue.ref({importScript:"",variableScript:"",contentScript:""});const generateData=generateFormHtml(info,vue3Script,formId);let activeTabKey=vue.ref(generateData.variableScript.activeTabKey),selectJsonSetting=vue.ref(generateData.selectJsonSetting);getSelectJsonSetting(selectJsonSetting),columns.value=generateData.columns,formInfo.searchInfo=generateData.searchData,paginations.value=generateData.paginations;let viewData=vue.ref({});const _sourcedata=([__temp,__restore]=vue.withAsyncContext(()=>loadSourceData(formId)),__temp=await __temp,__restore(),__temp);viewData.value=getViewDataByFormId(info.id);const apiArr=_sourcedata.filter(C=>C.cType=="javascript");let apiDataSource=apiArr;[__temp,__restore]=vue.withAsyncContext(()=>getData(viewData,formId,formData)),await __temp,__restore(),[__temp,__restore]=vue.withAsyncContext(()=>getDataByApi(viewData,apiDataSource)),await __temp,__restore();let basicInfo=vue.ref({});if(cBasicInfo)for(let C=0;C<cBasicInfo.length;C++){const H=cBasicInfo[C].name,U=cBasicInfo[C].type,K=cBasicInfo[C].default;basicInfo.value[H]=transformValueByType(K,U)}function transformValueByType(C,H){switch(H){case"string":return C;case"number":return Number(C);case"boolean":return typeof C=="string"?C.toLowerCase()==="true":!!C;case"object":case"array":try{return JSON.parse(C)}catch(U){return console.error(`转换失败: ${C}`,U),null}default:return C}}const props1=eventScript.filter(C=>C.type=="Props");props1.length==1;const demoRefsMap=vue.shallowReactive(new Map),events={},computedEvents={};[__temp,__restore]=vue.withAsyncContext(()=>generateTs()),await __temp,__restore(),vue.onActivated(()=>{updateCModalModules(projModules),updateCDrawerModules(projModules),updateCModalTheme(appTheme),updateCDrawerTheme(appTheme),updateCModalScopeBus(eventBus),updateCModalScopeBus(eventBus)});const generateVue3=vue.defineComponent({template:generateData.html,props,components:{VNodes,InfoCircleOutlined,DownOutlined},computed:{...computedEvents},expose:["multipleRef","onSubmit","formId"],methods:{hideFields(C){return hideField(formSetting,viewData,C)}},setup(){let C=vue.ref();initAllCTableV2({viewData,formId,paginations:paginations.value,columns:columns.value},formData);const H=Q=>{if(!Q)return;const ee=vue.toRaw(Q);if(demoRefsMap.has(ee))return;const te=Q.$;if(!te){console.warn("子表单无法获取组件实例,无法注册卸载清理",Q);return}demoRefsMap.set(ee,Q),vue.onUnmounted(()=>{demoRefsMap.delete(ee)},te)};function U(Q,ee){var ie;paginations.value[ee]=Q,paginations.value[ee].showTotal=Q.showTotalObj?Q.showTotalObj.showTotal:`共 ${Q.total} 条数据`;let te=ee.replace("pagination-","");const ne=((ie=columns.value)==null?void 0:ie[`columns-${te}`])??null;initCTableV2({viewData,formId,pagination:paginations.value[ee],column:ne},formData)}async function K(){return isSubmit.value?await onSubmitForm(C.value,X):null}async function X(){return events.onBeforeValidate?await events.onBeforeValidate():!0}function Z(){const Q=Array.from(demoRefsMap.values()).map(ee=>ee==null?void 0:ee.child).filter(Boolean);return Q.length?Q:null}return{setRef:H,isSubmit,validateFlag,formDisabled,formRef:C,currentInstance,basicInfo,viewData,formInfo,paginations,dataSource,columns,autoCompleteOptions,selectJsonSetting,activeTabKey,...events,formId,route,router,eventBus,computed:vue.computed,defHttp,editableData,formData,...bdc,onChange1:U,initCTableV2,addNewRow,saveRow,editRow,cancelRow,delRow,reloadTable,handleChangeTab,getDictItemsByCode,getTreeDictItemsByCode,getCasDictItemsByCode,getLabelByDictCode,getLabelByTreeDictCode,formatMultipleSelectValue,formatMultipleTreeSelectValue,formatMultipleCascaderValue,getSelectJsonSetting,getZjzlRuleCode,syncChange,onCasChange,onTableSelectClear,onTableSelectRowChange,getSelectAllCheck,setSelectAllCheck,validateFun,getFormInfo,getImgUrl,validateInfos:exports.validateInfos,cModal,cDrawer,Modal,message:api$2,dayjs,watch:vue.watch,onSubmit:K,multipleRef:Z,getAccount,getMatchTag,excuteHrefFun,loadStyle,setInputStatus,validateRules,getAutoCompleteOptions,userInfo,getDatePicker,getDateValueFormat,getShowTime,onRangeChange,filterSelectableTreeData}},mounted(){const C=eventScript.filter(H=>H.type=="Mounted");eventBus&&eventBus.on(`switch-tab-${formId}`,H=>{activeTabKey.value=H}),C.length>0&&events.initMount()},beforeUnmount(){const C=eventScript.filter(H=>H.type=="UnMounted");eventBus&&eventBus.off(`switch-tab-${formId}`),C.length>0&&events.unMounted()}});vue.watch(()=>props.reload,async C=>{C!=""&&await getData(viewData,formId,formData)});async function initStoreData(){await userStore.initToken(),await userStore.initUserInfo(),await userStore.initDataDict(),await userStore.initCategory(),await userStore.initValidateRule(),await userStore.initApiRule(),setTimeout(()=>{},200)}function generateTs(){const _eventScript=eventScript.filter(C=>C.type=="Function"||C.type=="Mounted"||C.type=="Watch"||C.type=="Computed"||C.type=="BeforeValidate"||C.type=="UnMounted");for(let i=0;i<_eventScript.length;i++){const _data=_eventScript[i];if(_data.type=="Computed")try{const result=eval(`(${_data.func})`);typeof result=="object"&&(result.get||result.set)||typeof result=="function"?computedEvents[_data.name]=result:computedEvents[_data.name]=eval(`() => { ${_data.func} }`)}catch{try{const result=eval(`({${_data.func}})`);typeof result=="object"&&(result.get||result.set)?computedEvents[_data.name]=result:computedEvents[_data.name]=eval(`() => { ${_data.func} }`)}catch{computedEvents[_data.name]=eval(`() => { ${_data.func} }`)}}else if(_data.param!="")if(_data.isasync)events[_data.name]=eval(`async (${_data.param})=> { ${_data.func}}`);else try{eval(`(${_data.param})=> { ${_data.func}}`),events[_data.name]=eval(`(${_data.param})=> { ${_data.func}}`)}catch(C){}else _data.isasync?events[_data.name]=eval(`async ()=> { ${_data.func}}`):events[_data.name]=eval(`()=> { ${_data.func}}`)}}function getViewDataByFormId(C){let H={};for(let U=0;U<_sourcedata.length;U++)_sourcedata[U].isList?Reflect.set(H,_sourcedata[U].name,[]):Reflect.set(H,_sourcedata[U].name,{});return H}function loadSourceData(C){return new Promise(H=>{const U="/formapi/zrzy-form/data/getNameList",K=route==null?void 0:route.query;defHttp.get({url:U,params:{formId:C,db:K==null?void 0:K.db}},{withToken:!0}).then(X=>{X.success?H(X.result):H([])}).catch(X=>{H([])})})}async function getDataByApi(object,apiDataSource){for(let i=0;i<apiDataSource.length;i++)try{const scope={router};let res=await eval(`(async () => { ${apiDataSource[i].content} })()`);res&&(apiDataSource[i].isList?object.value[apiDataSource[i].name]=Array.isArray(res)?res:[res]:object.value[apiDataSource[i].name]=!Array.isArray(res)&&typeof res=="object"?res:{})}catch(C){console.log("error",C)}}async function onSubmit(){var C;return await((C=generateRef.value)==null?void 0:C.onSubmit())}function multipleRef(){var C;return(C=generateRef.value)==null?void 0:C.multipleRef()}function handleChangeTab(C,H){H&&H(C)}function reloadTable(){initAllCTableV2({viewData,formId,paginations:paginations.value,columns:columns.value},formData)}function excuteHrefFun(C,H){events[C]&&events[C](H)}function getImgUrl(C){return new URL(Object.assign({"/src/assets/images/bg/title2_bg.png":__vite_glob_0_0,"/src/assets/images/bg/title_bg.png":__vite_glob_0_1,"/src/assets/images/drag.png":__vite_glob_0_2})[`/src/assets/images/${C}`],typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:_documentCurrentScript&&_documentCurrentScript.tagName.toUpperCase()==="SCRIPT"&&_documentCurrentScript.src||new URL("form-imagining.umd.cjs",document.baseURI).href).href}return __expose({onSubmit,multipleRef,formId}),(C,H)=>(vue.openBlock(),vue.createBlock(vue.unref(generateVue3),{ref_key:"generateRef",ref:generateRef},null,512))}}),FView=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$S},Symbol.toStringTag,{value:"Module"}));/*! *****************************************************************************
|
|
2601
2601
|
Copyright (c) Microsoft Corporation.
|
|
2602
2602
|
|
|
2603
2603
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, ref as t, onMounted as c, createBlock as u, createCommentVNode as m, unref as r, openBlock as d } from "vue";
|
|
2
|
-
import { ar as l, as as f } from "./index-
|
|
2
|
+
import { ar as l, as as f } from "./index-C7hbmbSa.js";
|
|
3
3
|
const v = /* @__PURE__ */ s({
|
|
4
4
|
__name: "formTest",
|
|
5
5
|
setup(i) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as f } from "./index-
|
|
1
|
+
import { au as f } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as l } from "./index-
|
|
1
|
+
import { au as l } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as s } from "./index-
|
|
1
|
+
import { au as s } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as lt } from "./index-
|
|
1
|
+
import { au as lt } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ye, ref as h, computed as O, watch as be, onMounted as he, onBeforeUnmount as Ce, resolveComponent as C, createBlock as k, openBlock as _, unref as p, withCtx as c, createVNode as r, createElementVNode as S, createTextVNode as E, isRef as xe, createCommentVNode as J, createElementBlock as we, Fragment as _e, renderList as Se } from "vue";
|
|
2
|
-
import { u as Ie, g as U, i as ke, C as Ee, D as Ae, F as De, p as Oe, A as Te, a as ze, b as Ne, c as Ue, E as Me, d as je, e as Re, f as Pe, h as Fe, j as Le, k as Be, _ as Ke, r as q, m as Xe, n as H, S as Ye, o as j, q as Je, s as qe, t as He, v as Ve, w as We, x as Ge } from "./index-
|
|
2
|
+
import { u as Ie, g as U, i as ke, C as Ee, D as Ae, F as De, p as Oe, A as Te, a as ze, b as Ne, c as Ue, E as Me, d as je, e as Re, f as Pe, h as Fe, j as Le, k as Be, _ as Ke, r as q, m as Xe, n as H, S as Ye, o as j, q as Je, s as qe, t as He, v as Ve, w as We, x as Ge } from "./index-C7hbmbSa.js";
|
|
3
3
|
const Qe = { class: "container-left-arrow" }, Ze = { style: { "padding-left": "20px !important", "padding-right": "20px !important" } }, $e = { style: { display: "flex", "align-items": "center", margin: "0 20px 0 auto" } }, et = { style: { background: "#fff", textAlign: "center", height: "99%" } }, tt = { style: { padding: "10px" } }, lt = /* @__PURE__ */ ye({
|
|
4
4
|
__name: "index - 副本",
|
|
5
5
|
props: {
|
|
@@ -175870,37 +175870,37 @@ registerLanguage({
|
|
|
175870
175870
|
id: "freemarker2",
|
|
175871
175871
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
175872
175872
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
175873
|
-
loader: () => import("./freemarker2-
|
|
175873
|
+
loader: () => import("./freemarker2-5ji1Wm3h.js").then((W) => W.TagAutoInterpolationDollar)
|
|
175874
175874
|
});
|
|
175875
175875
|
registerLanguage({
|
|
175876
175876
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
175877
175877
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
175878
|
-
loader: () => import("./freemarker2-
|
|
175878
|
+
loader: () => import("./freemarker2-5ji1Wm3h.js").then((W) => W.TagAngleInterpolationDollar)
|
|
175879
175879
|
});
|
|
175880
175880
|
registerLanguage({
|
|
175881
175881
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
175882
175882
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
175883
|
-
loader: () => import("./freemarker2-
|
|
175883
|
+
loader: () => import("./freemarker2-5ji1Wm3h.js").then((W) => W.TagBracketInterpolationDollar)
|
|
175884
175884
|
});
|
|
175885
175885
|
registerLanguage({
|
|
175886
175886
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
175887
175887
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
175888
|
-
loader: () => import("./freemarker2-
|
|
175888
|
+
loader: () => import("./freemarker2-5ji1Wm3h.js").then((W) => W.TagAngleInterpolationBracket)
|
|
175889
175889
|
});
|
|
175890
175890
|
registerLanguage({
|
|
175891
175891
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
175892
175892
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
175893
|
-
loader: () => import("./freemarker2-
|
|
175893
|
+
loader: () => import("./freemarker2-5ji1Wm3h.js").then((W) => W.TagBracketInterpolationBracket)
|
|
175894
175894
|
});
|
|
175895
175895
|
registerLanguage({
|
|
175896
175896
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
175897
175897
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
175898
|
-
loader: () => import("./freemarker2-
|
|
175898
|
+
loader: () => import("./freemarker2-5ji1Wm3h.js").then((W) => W.TagAutoInterpolationDollar)
|
|
175899
175899
|
});
|
|
175900
175900
|
registerLanguage({
|
|
175901
175901
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
175902
175902
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
175903
|
-
loader: () => import("./freemarker2-
|
|
175903
|
+
loader: () => import("./freemarker2-5ji1Wm3h.js").then((W) => W.TagAutoInterpolationBracket)
|
|
175904
175904
|
});
|
|
175905
175905
|
/*!-----------------------------------------------------------------------------
|
|
175906
175906
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -175938,7 +175938,7 @@ registerLanguage({
|
|
|
175938
175938
|
extensions: [".handlebars", ".hbs"],
|
|
175939
175939
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
175940
175940
|
mimetypes: ["text/x-handlebars-template"],
|
|
175941
|
-
loader: () => import("./handlebars-
|
|
175941
|
+
loader: () => import("./handlebars-Dxjqkj9j.js")
|
|
175942
175942
|
});
|
|
175943
175943
|
/*!-----------------------------------------------------------------------------
|
|
175944
175944
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -175963,7 +175963,7 @@ registerLanguage({
|
|
|
175963
175963
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
175964
175964
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
175965
175965
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
175966
|
-
loader: () => import("./html-
|
|
175966
|
+
loader: () => import("./html-DkCe_wP4.js")
|
|
175967
175967
|
});
|
|
175968
175968
|
/*!-----------------------------------------------------------------------------
|
|
175969
175969
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -176004,7 +176004,7 @@ registerLanguage({
|
|
|
176004
176004
|
filenames: ["jakefile"],
|
|
176005
176005
|
aliases: ["JavaScript", "javascript", "js"],
|
|
176006
176006
|
mimetypes: ["text/javascript"],
|
|
176007
|
-
loader: () => import("./javascript-
|
|
176007
|
+
loader: () => import("./javascript-B7mGtUFc.js")
|
|
176008
176008
|
});
|
|
176009
176009
|
/*!-----------------------------------------------------------------------------
|
|
176010
176010
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -176079,7 +176079,7 @@ registerLanguage({
|
|
|
176079
176079
|
extensions: [".liquid", ".html.liquid"],
|
|
176080
176080
|
aliases: ["Liquid", "liquid"],
|
|
176081
176081
|
mimetypes: ["application/liquid"],
|
|
176082
|
-
loader: () => import("./liquid-
|
|
176082
|
+
loader: () => import("./liquid-ByugB1r1.js")
|
|
176083
176083
|
});
|
|
176084
176084
|
/*!-----------------------------------------------------------------------------
|
|
176085
176085
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -176115,7 +176115,7 @@ registerLanguage({
|
|
|
176115
176115
|
id: "mdx",
|
|
176116
176116
|
extensions: [".mdx"],
|
|
176117
176117
|
aliases: ["MDX", "mdx"],
|
|
176118
|
-
loader: () => import("./mdx-
|
|
176118
|
+
loader: () => import("./mdx-D1jrXrw3.js")
|
|
176119
176119
|
});
|
|
176120
176120
|
/*!-----------------------------------------------------------------------------
|
|
176121
176121
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -176310,7 +176310,7 @@ registerLanguage({
|
|
|
176310
176310
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
176311
176311
|
aliases: ["Python", "py"],
|
|
176312
176312
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
176313
|
-
loader: () => import("./python-
|
|
176313
|
+
loader: () => import("./python-ibVPvEho.js")
|
|
176314
176314
|
});
|
|
176315
176315
|
/*!-----------------------------------------------------------------------------
|
|
176316
176316
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -176347,7 +176347,7 @@ registerLanguage({
|
|
|
176347
176347
|
extensions: [".cshtml"],
|
|
176348
176348
|
aliases: ["Razor", "razor"],
|
|
176349
176349
|
mimetypes: ["text/x-cshtml"],
|
|
176350
|
-
loader: () => import("./razor-
|
|
176350
|
+
loader: () => import("./razor-D2IopoEo.js")
|
|
176351
176351
|
});
|
|
176352
176352
|
/*!-----------------------------------------------------------------------------
|
|
176353
176353
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -176599,7 +176599,7 @@ registerLanguage({
|
|
|
176599
176599
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
176600
176600
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
176601
176601
|
mimetypes: ["text/typescript"],
|
|
176602
|
-
loader: () => import("./typescript-
|
|
176602
|
+
loader: () => import("./typescript-eqxftMHf.js")
|
|
176603
176603
|
});
|
|
176604
176604
|
/*!-----------------------------------------------------------------------------
|
|
176605
176605
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -176667,7 +176667,7 @@ registerLanguage({
|
|
|
176667
176667
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
176668
176668
|
aliases: ["XML", "xml"],
|
|
176669
176669
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
176670
|
-
loader: () => import("./xml-
|
|
176670
|
+
loader: () => import("./xml-C-CrjJT3.js")
|
|
176671
176671
|
});
|
|
176672
176672
|
/*!-----------------------------------------------------------------------------
|
|
176673
176673
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -176680,7 +176680,7 @@ registerLanguage({
|
|
|
176680
176680
|
extensions: [".yaml", ".yml"],
|
|
176681
176681
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
176682
176682
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
176683
|
-
loader: () => import("./yaml-
|
|
176683
|
+
loader: () => import("./yaml-CVvVtauT.js")
|
|
176684
176684
|
});
|
|
176685
176685
|
/*!-----------------------------------------------------------------------------
|
|
176686
176686
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -176783,7 +176783,7 @@ var LanguageServiceDefaultsImpl$3 = class {
|
|
|
176783
176783
|
);
|
|
176784
176784
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
176785
176785
|
function getMode$3() {
|
|
176786
|
-
return import("./cssMode-
|
|
176786
|
+
return import("./cssMode-CMS-L18e.js");
|
|
176787
176787
|
}
|
|
176788
176788
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
176789
176789
|
getMode$3().then((W) => W.setupMode(lessDefaults));
|
|
@@ -176889,7 +176889,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
176889
176889
|
registerHTMLLanguageService
|
|
176890
176890
|
};
|
|
176891
176891
|
function getMode$2() {
|
|
176892
|
-
return import("./htmlMode-
|
|
176892
|
+
return import("./htmlMode-DstLVem5.js");
|
|
176893
176893
|
}
|
|
176894
176894
|
function registerHTMLLanguageService(W, C = optionsDefault, H = getConfigurationDefault(W)) {
|
|
176895
176895
|
const U = new LanguageServiceDefaultsImpl$2(W, C, H);
|
|
@@ -176966,7 +176966,7 @@ var LanguageServiceDefaultsImpl$1 = class {
|
|
|
176966
176966
|
), getWorker = () => getMode$1().then((W) => W.getWorker());
|
|
176967
176967
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults, getWorker };
|
|
176968
176968
|
function getMode$1() {
|
|
176969
|
-
return import("./jsonMode-
|
|
176969
|
+
return import("./jsonMode-CD04rRDp.js");
|
|
176970
176970
|
}
|
|
176971
176971
|
monaco_editor_core_exports$1.languages.register({
|
|
176972
176972
|
id: "json",
|
|
@@ -177130,7 +177130,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
177130
177130
|
getJavaScriptWorker
|
|
177131
177131
|
};
|
|
177132
177132
|
function getMode() {
|
|
177133
|
-
return import("./tsMode-
|
|
177133
|
+
return import("./tsMode-PyKWSlKG.js");
|
|
177134
177134
|
}
|
|
177135
177135
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => getMode().then((W) => W.setupTypeScript(typescriptDefaults)));
|
|
177136
177136
|
monaco_editor_core_exports.languages.onLanguage("javascript", () => getMode().then((W) => W.setupJavaScript(javascriptDefaults)));
|
|
@@ -228990,7 +228990,7 @@ const _hoisted_1$m = { key: 0 }, _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
228990
228990
|
}, {
|
|
228991
228991
|
immediate: !0
|
|
228992
228992
|
});
|
|
228993
|
-
const ee = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-
|
|
228993
|
+
const ee = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-vTSZ-ukF.js"), "/src/components/CReport/design/CTable.vue": () => Promise.resolve().then(() => CTable$1), "/src/components/CReport/design/index.vue": () => Promise.resolve().then(() => index$2), "/src/components/CReport/drag/CDrag.vue": () => Promise.resolve().then(() => CDrag$1), "/src/components/CReport/dsource/index.vue": () => Promise.resolve().then(() => index$3), "/src/components/CReport/index - 副本.vue": () => import("./index - 副本-BcBpyBZC.js"), "/src/components/CReport/index.vue": () => Promise.resolve().then(() => index$1), "/src/components/CReport/property/PropertyIndex.vue": () => import("./PropertyIndex-wmp6LlTB.js"), "/src/components/CReport/property/modules/CheckBoxModel.vue": () => import("./CheckBoxModel-BnCcsLfW.js"), "/src/components/CReport/property/modules/CommonText copy.vue": () => import("./CommonText copy-BIfpAXJf.js"), "/src/components/CReport/property/modules/CommonText.vue": () => Promise.resolve().then(() => CommonText$1), "/src/components/CReport/property/modules/ImgModel.vue": () => Promise.resolve().then(() => ImgModel), "/src/components/CReport/property/modules/LabelModel.vue": () => import("./LabelModel-Cs2VBEz0.js"), "/src/components/CReport/property/modules/ReportModel.vue": () => Promise.resolve().then(() => ReportModel), "/src/components/CReport/property/modules/TableModel.vue": () => Promise.resolve().then(() => TableModel), "/src/components/CReport/property/modules/TextModel.vue": () => import("./TextModel-ZMzaK-mQ.js"), "/src/components/CReport/ruler/CRuler.vue": () => Promise.resolve().then(() => CRuler$1), "/src/components/CReport/tool/index.vue": () => Promise.resolve().then(() => index$4), "/src/components/CReport/view/ViewPdf.vue": () => Promise.resolve().then(() => ViewPdf), "/src/components/HelloWorld.vue": () => import("./HelloWorld-C3qy9zyg.js"), "/src/components/ai/MultimodalInput.vue": () => Promise.resolve().then(() => MultimodalInput$1), "/src/components/c-echarts/Area.vue": () => import("./Area-DMcJF0lo.js"), "/src/components/c-echarts/Bar.vue": () => import("./Bar-CUhAa_fs.js"), "/src/components/c-echarts/Pie.vue": () => import("./Pie-DmQis7N7.js"), "/src/components/cDrawer/index.vue": () => Promise.resolve().then(() => index$9), "/src/components/cModal/index.vue": () => Promise.resolve().then(() => index$b), "/src/components/form-widget/widget/childForm.vue": () => import("./childForm-DLvEi_q5.js"), "/src/components/form-widget/widget/collapsePanel.vue": () => Promise.resolve().then(() => collapsePanel), "/src/components/form-widget/widget/tableSelect.vue": () => Promise.resolve().then(() => tableSelect), "/src/components/form-widget/widget/tableSelectDemo.vue": () => import("./tableSelectDemo-vTjavPyX.js"), "/src/components/form-widget/widget/tableSelectDemo2.vue": () => import("./tableSelectDemo2-Dp4-bu7L.js"), "/src/components/generate/Demo.vue": () => import("./Demo-FDh-v0Ys.js"), "/src/components/generate/GenerateForm.vue": () => import("./GenerateForm-CRx9lwaP.js"), "/src/components/generate/GenerateReport.vue": () => import("./GenerateReport-Q3lgEu5o.js"), "/src/components/icon/SvgIcon.vue": () => Promise.resolve().then(() => SvgIcon$1), "/src/components/icon/SvgIconCopy.vue": () => import("./SvgIconCopy-DePBbHs-.js"), "/src/components/monaco/monacoEditor.vue": () => Promise.resolve().then(() => monacoEditor$1), "/src/components/table/ExportModal.vue": () => Promise.resolve().then(() => ExportModal$1), "/src/components/table/index.vue": () => Promise.resolve().then(() => index$a), "/src/components/vfd/index.vue": () => import("./index-Cat_BDc-.js"), "/src/components/wonderform/FView.vue": () => import("./FView-B3RD_0z9.js"), "/src/components/wonderform/FormImagining.vue": () => import("./FormImagining-BADrElrF.js"), "/src/components/wonderform/config/ReportIndex.vue": () => Promise.resolve().then(() => ReportIndex), "/src/components/wonderform/config/index.vue": () => Promise.resolve().then(() => index$c), "/src/components/wonderform/config/modules/Col.vue": () => import("./Col-DwNC712S.js"), "/src/components/wonderform/config/modules/Collapse.vue": () => import("./Collapse-mTGx5wBw.js"), "/src/components/wonderform/config/modules/DataSource.vue": () => Promise.resolve().then(() => DataSource$2), "/src/components/wonderform/config/modules/FX.vue": () => import("./FX-DXqYUnU_.js"), "/src/components/wonderform/config/modules/Form.vue": () => Promise.resolve().then(() => Form), "/src/components/wonderform/config/modules/FormSetting.vue": () => Promise.resolve().then(() => FormSetting$1), "/src/components/wonderform/config/modules/FormSettingIndex.vue": () => Promise.resolve().then(() => FormSettingIndex), "/src/components/wonderform/config/modules/Grid.vue": () => Promise.resolve().then(() => Grid$1), "/src/components/wonderform/config/modules/Input-删除.vue": () => import("./Input-删除-uxdPq-8P.js"), "/src/components/wonderform/config/modules/Label-删除.vue": () => import("./Label-删除-B600MKxI.js"), "/src/components/wonderform/config/modules/Paragraph.vue": () => Promise.resolve().then(() => Paragraph), "/src/components/wonderform/config/modules/Properties.vue": () => Promise.resolve().then(() => Properties), "/src/components/wonderform/config/modules/ReportProperties.vue": () => Promise.resolve().then(() => ReportProperties), "/src/components/wonderform/config/modules/Table.vue": () => Promise.resolve().then(() => Table$1), "/src/components/wonderform/config/modules/TableBtnModal.vue": () => import("./TableBtnModal-B55SDyjt.js"), "/src/components/wonderform/config/modules/TableColumn.vue": () => Promise.resolve().then(() => TableColumn$1), "/src/components/wonderform/config/modules/Tabs.vue": () => Promise.resolve().then(() => Tabs), "/src/components/wonderform/config/modules/TypeScript.vue": () => Promise.resolve().then(() => TypeScript$1), "/src/components/wonderform/config/modules/charts/ChartsArea.vue": () => import("./ChartsArea-BGxKsQT9.js"), "/src/components/wonderform/config/modules/charts/ChartsBar.vue": () => import("./ChartsBar--tmHjXaA.js"), "/src/components/wonderform/config/modules/charts/ChartsPie.vue": () => import("./ChartsPie-DiM85p7a.js"), "/src/components/wonderform/design/Form.vue": () => import("./Form-CE0VVIWD.js"), "/src/components/wonderform/design/index.vue": () => Promise.resolve().then(() => index$d), "/src/components/wonderform/design/modules/Chart.vue": () => Promise.resolve().then(() => Chart), "/src/components/wonderform/design/modules/FormCol.vue": () => Promise.resolve().then(() => FormCol$1), "/src/components/wonderform/design/modules/FormCollapse.vue": () => Promise.resolve().then(() => FormCollapse$1), "/src/components/wonderform/design/modules/FormGrid.vue": () => Promise.resolve().then(() => FormGrid$1), "/src/components/wonderform/design/modules/FormGridCopy.vue": () => import("./FormGridCopy-D7j7pxSA.js"), "/src/components/wonderform/design/modules/FormInput.vue": () => Promise.resolve().then(() => FormInput$1), "/src/components/wonderform/design/modules/FormParagraph.vue": () => Promise.resolve().then(() => FormParagraph$1), "/src/components/wonderform/design/modules/FormReport.vue": () => Promise.resolve().then(() => FormReport$1), "/src/components/wonderform/design/modules/FormTable.vue": () => Promise.resolve().then(() => FormTable$1), "/src/components/wonderform/design/modules/FormTabs.vue": () => Promise.resolve().then(() => FormTabs$1), "/src/components/wonderform/design/modules/FormVue.vue": () => Promise.resolve().then(() => FormVue$1), "/src/components/wonderform/dsource/index.vue": () => Promise.resolve().then(() => index$8), "/src/components/wonderform/dsource/modules/SqlModule.vue": () => import("./SqlModule-BXmEU-bD.js"), "/src/components/wonderform/header/Header.vue": () => Promise.resolve().then(() => Header), "/src/components/wonderform/header/modules/Code.vue": () => Promise.resolve().then(() => Code$1), "/src/components/wonderform/index.vue": () => Promise.resolve().then(() => index$7), "/src/components/wonderform/tool/index.vue": () => Promise.resolve().then(() => index$g), "/src/components/wonderreport/Demo copy.vue": () => import("./Demo copy-Bux2O9AZ.js"), "/src/components/wonderreport/Demo.vue": () => import("./Demo-DqwSQbq9.js"), "/src/components/wonderreport/RView.vue": () => import("./RView-DPzKnUb3.js"), "/src/components/wonderreport/ReportModule.vue": () => Promise.resolve().then(() => ReportModule$1), "/src/components/wonderreport/header/index.vue": () => Promise.resolve().then(() => index$6), "/src/components/wonderreport/index.vue": () => Promise.resolve().then(() => index$5), "/src/views/formTest.vue": () => import("./formTest-BQO6ihpB.js"), "/src/views/layouts/index.vue": () => import("./index-xtuZ968R.js"), "/src/views/sys/login/Login.vue": () => import("./Login-9JX9npBF.js"), "/src/views/workbench/index.vue": () => import("./index-MYhIiH3u.js") }), te = useSlots(), ne = computed(() => {
|
|
228994
228994
|
if (H.filePath) {
|
|
228995
228995
|
let de = `/src/${H.filePath}.vue`;
|
|
228996
228996
|
return H.filePath ? Object.keys(ee).includes(de) : !1;
|
|
@@ -230035,11 +230035,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
230035
230035
|
}
|
|
230036
230036
|
const props1 = eventScript.filter((C) => C.type == "Props");
|
|
230037
230037
|
props1.length == 1;
|
|
230038
|
-
|
|
230039
|
-
const demoRefs = computed(() => {
|
|
230040
|
-
const C = Array.from(demoRefsMap.value.values());
|
|
230041
|
-
return getMultipleRef(C, []);
|
|
230042
|
-
}), events = {}, computedEvents = {};
|
|
230038
|
+
const demoRefsMap = shallowReactive(/* @__PURE__ */ new Map()), events = {}, computedEvents = {};
|
|
230043
230039
|
[__temp, __restore] = withAsyncContext(() => generateTs()), await __temp, __restore(), onActivated(() => {
|
|
230044
230040
|
updateCModalModules(projModules), updateCDrawerModules(projModules), updateCModalTheme(appTheme), updateCDrawerTheme(appTheme), updateCModalScopeBus(eventBus), updateCModalScopeBus(eventBus);
|
|
230045
230041
|
});
|
|
@@ -230063,10 +230059,18 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
230063
230059
|
setup() {
|
|
230064
230060
|
let C = ref();
|
|
230065
230061
|
initAllCTableV2({ viewData, formId, paginations: paginations.value, columns: columns.value }, formData);
|
|
230066
|
-
const H = (Q
|
|
230067
|
-
|
|
230068
|
-
const
|
|
230069
|
-
|
|
230062
|
+
const H = (Q) => {
|
|
230063
|
+
if (!Q) return;
|
|
230064
|
+
const ee = toRaw$1(Q);
|
|
230065
|
+
if (demoRefsMap.has(ee)) return;
|
|
230066
|
+
const te = Q.$;
|
|
230067
|
+
if (!te) {
|
|
230068
|
+
console.warn("子表单无法获取组件实例,无法注册卸载清理", Q);
|
|
230069
|
+
return;
|
|
230070
|
+
}
|
|
230071
|
+
demoRefsMap.set(ee, Q), onUnmounted(() => {
|
|
230072
|
+
demoRefsMap.delete(ee);
|
|
230073
|
+
}, te);
|
|
230070
230074
|
};
|
|
230071
230075
|
function U(Q, ee) {
|
|
230072
230076
|
var ie;
|
|
@@ -230082,9 +230086,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
230082
230086
|
return events.onBeforeValidate ? await events.onBeforeValidate() : !0;
|
|
230083
230087
|
}
|
|
230084
230088
|
function Z() {
|
|
230085
|
-
|
|
230086
|
-
for (let ee = 0; ee < demoRefs.length; ee++)
|
|
230087
|
-
demoRefs[ee].child && Q.push(demoRefs[ee].child);
|
|
230089
|
+
const Q = Array.from(demoRefsMap.values()).map((ee) => ee == null ? void 0 : ee.child).filter(Boolean);
|
|
230088
230090
|
return Q.length ? Q : null;
|
|
230089
230091
|
}
|
|
230090
230092
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, createElementBlock as s, openBlock as i, createElementVNode as o } from "vue";
|
|
2
|
-
import { at as a, x as p } from "./index-
|
|
2
|
+
import { at as a, x as p } from "./index-C7hbmbSa.js";
|
|
3
3
|
const u = { class: "workbench-container" }, _ = /* @__PURE__ */ c({
|
|
4
4
|
__name: "index",
|
|
5
5
|
setup(d) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { conf as t, language as e } from "./typescript-
|
|
1
|
+
import { conf as t, language as e } from "./typescript-eqxftMHf.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as Et } from "./index-
|
|
1
|
+
import { au as Et } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as l } from "./index-
|
|
1
|
+
import { au as l } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as s } from "./index-
|
|
1
|
+
import { au as s } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as o } from "./index-
|
|
1
|
+
import { au as o } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as m } from "./index-
|
|
1
|
+
import { au as m } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as T, computed as p, ref as m, resolveComponent as n, createElementBlock as _, openBlock as f, createElementVNode as y, createVNode as l, withCtx as c, unref as k, isRef as B, createTextVNode as D, createCommentVNode as E } from "vue";
|
|
2
|
-
import { Y as L, Z as R, x as z } from "./index-
|
|
2
|
+
import { Y as L, Z as R, x as z } from "./index-C7hbmbSa.js";
|
|
3
3
|
const M = { class: "table-select-form" }, O = { class: "table-select-tool" }, P = { key: 0 }, U = ["onClick"], Y = /* @__PURE__ */ T({
|
|
4
4
|
__name: "tableSelectDemo",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, computed as u, ref as p, resolveComponent as n, createElementBlock as S, openBlock as V, createElementVNode as N, createVNode as l, withCtx as i, unref as m, isRef as I, createTextVNode as K } from "vue";
|
|
2
|
-
import { Y as B } from "./index-
|
|
2
|
+
import { Y as B } from "./index-C7hbmbSa.js";
|
|
3
3
|
const E = { class: "table-select-form" }, R = { class: "table-select-tool" }, D = /* @__PURE__ */ C({
|
|
4
4
|
__name: "tableSelectDemo2",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { av as O, au as I } from "./index-
|
|
1
|
+
import { av as O, au as I } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as s } from "./index-
|
|
1
|
+
import { au as s } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as r } from "./index-
|
|
1
|
+
import { au as r } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as l } from "./index-
|
|
1
|
+
import { au as l } from "./index-C7hbmbSa.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
package/package.json
CHANGED
package/dist/Area-DyVQ3KIN.js
DELETED
package/dist/Bar-CfcySKGM.js
DELETED
package/dist/Col-P7dLegG_.js
DELETED
package/dist/FView-BdNWMh2U.js
DELETED
package/dist/FX-Cv1zYd9C.js
DELETED
package/dist/Pie-CTVPuiYU.js
DELETED
package/dist/RView-BjvVC7D_.js
DELETED