form-imagining 0.0.72 → 0.0.74
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-d338b72a.js → App-026fc8dc.js} +1 -1
- package/dist/Code-ec774974.js +5 -0
- package/dist/Col-e3330449.js +5 -0
- package/dist/Collapse-2225a7bd.js +5 -0
- package/dist/{Demo-96288c9c.js → Demo-6bca1df9.js} +1 -1
- package/dist/FX-5ec1c6ea.js +5 -0
- package/dist/Form-c71257a0.js +5 -0
- package/dist/{FormGridCopy-9f477d2e.js → FormGridCopy-c5ccfaa0.js} +1 -1
- package/dist/GenerateForm-4fecd785.js +5 -0
- package/dist/{GenerateReport-53263d7a.js → GenerateReport-03e36575.js} +1 -1
- package/dist/{HelloWorld-dbe84440.js → HelloWorld-54c53a77.js} +1 -1
- package/dist/Input-/345/210/240/351/231/{244-bc2662ba.js → 244-61d9c067.js} +1 -1
- package/dist/Label-/345/210/240/351/231/{244-e983a593.js → 244-9fbe3f2f.js} +1 -1
- package/dist/{Login-412138ce.js → Login-0adf8e46.js} +1 -1
- package/dist/ReportModule-086a529c.js +5 -0
- package/dist/SqlModule-a388631a.js +5 -0
- package/dist/Table-15d32ea9.js +5 -0
- package/dist/TableBtnModal-e2887984.js +5 -0
- package/dist/cTable-ad923999.js +5 -0
- package/dist/childForm-531cd748.js +5 -0
- package/dist/{cssMode-3fd642ce.js → cssMode-32c827e6.js} +1 -1
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +498 -488
- package/dist/{formTest-8671d669.js → formTest-6e3a4800.js} +1 -1
- package/dist/{freemarker2-dff25310.js → freemarker2-9dad79a4.js} +1 -1
- package/dist/{handlebars-14680c4b.js → handlebars-121f37fa.js} +1 -1
- package/dist/{html-c19ae107.js → html-233f180a.js} +1 -1
- package/dist/{htmlMode-4ec2980b.js → htmlMode-f176fb07.js} +1 -1
- package/dist/{index-c9f9793f.js → index-2865adbe.js} +1 -1
- package/dist/{index-67abe8c1.js → index-3e76bb9e.js} +170 -144
- package/dist/{javascript-949200cc.js → javascript-026077ff.js} +2 -2
- package/dist/{jsonMode-91292003.js → jsonMode-b1072a5a.js} +1 -1
- package/dist/{liquid-b40a0f1b.js → liquid-569d3505.js} +1 -1
- package/dist/{mdx-83607acc.js → mdx-5c47b2f3.js} +1 -1
- package/dist/{python-bed8548d.js → python-8001ccbc.js} +1 -1
- package/dist/{razor-ff1649c7.js → razor-48d4189f.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-ac6128df.js → tableSelectDemo-b8709661.js} +1 -1
- package/dist/{tableSelectDemo2-973d4daa.js → tableSelectDemo2-71070b2d.js} +1 -1
- package/dist/{tsMode-871aad82.js → tsMode-56ea7112.js} +1 -1
- package/dist/{typescript-9a9cf958.js → typescript-eba3b144.js} +1 -1
- package/dist/{xml-96747401.js → xml-e98696ad.js} +1 -1
- package/dist/xx-10698037.js +4 -0
- package/dist/{yaml-5573282b.js → yaml-7db875f8.js} +1 -1
- package/package.json +1 -1
- package/dist/Code-ecba614c.js +0 -5
- package/dist/Col-3a9f0d0b.js +0 -5
- package/dist/Collapse-357a84a0.js +0 -5
- package/dist/FX-e078806e.js +0 -5
- package/dist/Form-95db552c.js +0 -5
- package/dist/GenerateForm-39b75fba.js +0 -5
- package/dist/ReportModule-d4d54e7e.js +0 -5
- package/dist/SqlModule-b9635545.js +0 -5
- package/dist/Table-e156d4e9.js +0 -5
- package/dist/TableBtnModal-ad22f511.js +0 -5
- package/dist/cTable-a751fb8f.js +0 -5
- package/dist/childForm-4bb0be44.js +0 -5
|
@@ -75729,7 +75729,7 @@ function generateBase(W, C, H) {
|
|
|
75729
75729
|
const Ne = selectSyncHtml(de, W, Q), ke = selectSlotHtml(de, W, Q), We = Q == null ? "" : `:value="formatMultipleSelectValue(viewData.${Q})"`;
|
|
75730
75730
|
let Oe = W.multiple ? `${We}` : `${te}`;
|
|
75731
75731
|
const Be = W.dic == "" ? "" : `:options="getDictItemsByCode(${W.dictType == "dynamic" ? `viewData.${W.dic}` : `'${W.dic}'`})"`;
|
|
75732
|
-
ce = `<a-select ${Oe} ${ee} ${se} ${ae} ${de} ${pe} allow-clear show-search optionFilterProp="label" style='${oe}' ${Be} ${W.extended + Ne} >${ke}</a-select>`;
|
|
75732
|
+
ce = `<a-select ${Oe} ${ee} ${se} ${ae} ${de} ${ue + pe} allow-clear show-search optionFilterProp="label" style='${oe}' ${Be} ${W.extended + Ne} >${ke}</a-select>`;
|
|
75733
75733
|
break;
|
|
75734
75734
|
case "treeselect":
|
|
75735
75735
|
const Ae = selectSyncHtml(de, W, Q), ze = W.multiple ? "tree-checkable treeCheckStrictly" : "", Me = Q == null ? "" : `:value="formatMultipleTreeSelectValue(viewData.${Q},'${W.treedic}')"`;
|
|
@@ -75847,35 +75847,41 @@ function generateChildForm(W) {
|
|
|
75847
75847
|
}
|
|
75848
75848
|
function generateTabs(W, C, H, K, U) {
|
|
75849
75849
|
let G = "", X = `width:${W.width}`;
|
|
75850
|
+
const Q = W.changeEvent == null ? "" : "," + W.changeEvent;
|
|
75850
75851
|
H.value.variableScript += `let activeTabKey = ref('${W.activeTabKey}');
|
|
75851
|
-
`, K.value.variableScript.activeTabKey = W.activeTabKey,
|
|
75852
|
-
|
|
75853
|
-
|
|
75854
|
-
|
|
75855
|
-
|
|
75856
|
-
G +=
|
|
75857
|
-
|
|
75858
|
-
|
|
75859
|
-
|
|
75852
|
+
`, K.value.variableScript.activeTabKey = W.activeTabKey, H.value.contentScript += `
|
|
75853
|
+
function handleChangeTab(key, callback) {
|
|
75854
|
+
demoRefs = []
|
|
75855
|
+
callback(key)
|
|
75856
|
+
}
|
|
75857
|
+
`, G += `<a-tabs ${W.extended || ""} v-model:activeKey="activeTabKey" hideAdd type='${W.tabType}' style='${X}' @change="(key) => handleChangeTab(key${Q})">`;
|
|
75858
|
+
for (let Z = 0; Z < W.panes.length; Z++) {
|
|
75859
|
+
let ee = W.panes[Z];
|
|
75860
|
+
G += `<a-tab-pane key="${ee.key}" tab="${ee.title}" :closable="false" force-render>`;
|
|
75861
|
+
let te = C.labelWidth == null ? "" : `:label-col="{ style: { width:'${C.labelWidth}px'} }"`, ne = ee.content.length > 0 ? `<a-form class="form-container" ${te}>` : "";
|
|
75862
|
+
G += ne;
|
|
75863
|
+
for (let oe = 0; oe < ee.content.length; oe++) {
|
|
75864
|
+
let re = ee.content[oe];
|
|
75865
|
+
switch (re.type) {
|
|
75860
75866
|
case "childform":
|
|
75861
|
-
G += generateChildForm(
|
|
75867
|
+
G += generateChildForm(re);
|
|
75862
75868
|
break;
|
|
75863
75869
|
case "grid":
|
|
75864
|
-
G += generateGrid(
|
|
75870
|
+
G += generateGrid(re, C, U);
|
|
75865
75871
|
break;
|
|
75866
75872
|
case "table":
|
|
75867
|
-
G += generateTable(
|
|
75873
|
+
G += generateTable(re, Z + oe, H, K, U);
|
|
75868
75874
|
break;
|
|
75869
75875
|
case "collapse":
|
|
75870
|
-
G += generateCollapsePanel(
|
|
75876
|
+
G += generateCollapsePanel(re, C, H, K, U);
|
|
75871
75877
|
break;
|
|
75872
75878
|
default:
|
|
75873
|
-
G += generateBase(
|
|
75879
|
+
G += generateBase(re, U);
|
|
75874
75880
|
break;
|
|
75875
75881
|
}
|
|
75876
75882
|
}
|
|
75877
|
-
let
|
|
75878
|
-
G +=
|
|
75883
|
+
let ie = ee.content.length > 0 ? "</a-form>" : "";
|
|
75884
|
+
G += ie, G += "</a-tab-pane>";
|
|
75879
75885
|
}
|
|
75880
75886
|
return G += "</a-tabs>", G;
|
|
75881
75887
|
}
|
|
@@ -76008,7 +76014,7 @@ function generateTable(W, C, H, K, U) {
|
|
|
76008
76014
|
</div>
|
|
76009
76015
|
</template>
|
|
76010
76016
|
</template>
|
|
76011
|
-
`), Reflect.set(K.value.columns, G, Z);
|
|
76017
|
+
`), Reflect.set(K.value.columns, G, Z), K.value.paginations = commonProps$1.paginations;
|
|
76012
76018
|
const se = W.options.scrollY == null ? "" : `:scroll="{ y: ${W.options.scrollY} }"`;
|
|
76013
76019
|
return ee += `<a-table :columns="columns.${G}" :data-source="${W.model}" ${se} ${W.extended} ${te} bordered>${re}</a-table>`, commonProps$1.hTable++, ee;
|
|
76014
76020
|
}
|
|
@@ -77644,10 +77650,15 @@ const route = useRoute();
|
|
|
77644
77650
|
const VNodes = useVNodes();
|
|
77645
77651
|
let datalist: any = ref([]);
|
|
77646
77652
|
let formRef = ref()
|
|
77653
|
+
let formDisabled = ref(false)
|
|
77647
77654
|
let demoRefs: any = []
|
|
77648
77655
|
let viewData = ref<any>(${JSON.stringify(getViewData())})
|
|
77649
77656
|
let apiDataSource = ${JSON.stringify(X)}
|
|
77650
|
-
const { isSaved, caseCode } = useAttrs()
|
|
77657
|
+
const { isSaved, caseCode, disabled } = useAttrs()
|
|
77658
|
+
// 如果有传值优先读取父组件传值
|
|
77659
|
+
if (disabled != undefined && typeof disabled == 'Boolean') {
|
|
77660
|
+
formDisabled.value = disabled
|
|
77661
|
+
}
|
|
77651
77662
|
await getDataByApi(viewData, apiDataSource)
|
|
77652
77663
|
if (isSaved) {
|
|
77653
77664
|
await getData(viewData, formId)
|
|
@@ -77722,7 +77733,7 @@ function generateFormHtml(W, C) {
|
|
|
77722
77733
|
}
|
|
77723
77734
|
function getHtml(W, C, H) {
|
|
77724
77735
|
const K = "form";
|
|
77725
|
-
let U = ref({ viewData: [], html: "", columns: {}, pagScript: {}, variableScript: {}, searchData: [], paginations: {} }), G = C.labelWidth == null ? "" : `:label-col="{ style: { width:'${C.labelWidth}px'} }"`, X = '<div ref="formRef" class="cici-form-css">', Q = `<a-form ${G} :labelWrap="true">`;
|
|
77736
|
+
let U = ref({ viewData: [], html: "", columns: {}, pagScript: {}, variableScript: {}, searchData: [], paginations: {} }), G = C.labelWidth == null ? "" : `:label-col="{ style: { width:'${C.labelWidth}px'} }"`, X = '<div ref="formRef" class="cici-form-css">', Q = `<a-form ${G} :labelWrap="true" :disabled="formDisabled">`;
|
|
77726
77737
|
X += Q;
|
|
77727
77738
|
let Z = "";
|
|
77728
77739
|
for (let ne = 0; ne < W.length; ne++) {
|
|
@@ -152053,37 +152064,37 @@ registerLanguage({
|
|
|
152053
152064
|
id: "freemarker2",
|
|
152054
152065
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
152055
152066
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
152056
|
-
loader: () => import("./freemarker2-
|
|
152067
|
+
loader: () => import("./freemarker2-9dad79a4.js").then((W) => W.TagAutoInterpolationDollar)
|
|
152057
152068
|
});
|
|
152058
152069
|
registerLanguage({
|
|
152059
152070
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
152060
152071
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
152061
|
-
loader: () => import("./freemarker2-
|
|
152072
|
+
loader: () => import("./freemarker2-9dad79a4.js").then((W) => W.TagAngleInterpolationDollar)
|
|
152062
152073
|
});
|
|
152063
152074
|
registerLanguage({
|
|
152064
152075
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
152065
152076
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
152066
|
-
loader: () => import("./freemarker2-
|
|
152077
|
+
loader: () => import("./freemarker2-9dad79a4.js").then((W) => W.TagBracketInterpolationDollar)
|
|
152067
152078
|
});
|
|
152068
152079
|
registerLanguage({
|
|
152069
152080
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
152070
152081
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
152071
|
-
loader: () => import("./freemarker2-
|
|
152082
|
+
loader: () => import("./freemarker2-9dad79a4.js").then((W) => W.TagAngleInterpolationBracket)
|
|
152072
152083
|
});
|
|
152073
152084
|
registerLanguage({
|
|
152074
152085
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
152075
152086
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
152076
|
-
loader: () => import("./freemarker2-
|
|
152087
|
+
loader: () => import("./freemarker2-9dad79a4.js").then((W) => W.TagBracketInterpolationBracket)
|
|
152077
152088
|
});
|
|
152078
152089
|
registerLanguage({
|
|
152079
152090
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
152080
152091
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
152081
|
-
loader: () => import("./freemarker2-
|
|
152092
|
+
loader: () => import("./freemarker2-9dad79a4.js").then((W) => W.TagAutoInterpolationDollar)
|
|
152082
152093
|
});
|
|
152083
152094
|
registerLanguage({
|
|
152084
152095
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
152085
152096
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
152086
|
-
loader: () => import("./freemarker2-
|
|
152097
|
+
loader: () => import("./freemarker2-9dad79a4.js").then((W) => W.TagAutoInterpolationBracket)
|
|
152087
152098
|
});
|
|
152088
152099
|
/*!-----------------------------------------------------------------------------
|
|
152089
152100
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152121,7 +152132,7 @@ registerLanguage({
|
|
|
152121
152132
|
extensions: [".handlebars", ".hbs"],
|
|
152122
152133
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
152123
152134
|
mimetypes: ["text/x-handlebars-template"],
|
|
152124
|
-
loader: () => import("./handlebars-
|
|
152135
|
+
loader: () => import("./handlebars-121f37fa.js")
|
|
152125
152136
|
});
|
|
152126
152137
|
/*!-----------------------------------------------------------------------------
|
|
152127
152138
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152146,7 +152157,7 @@ registerLanguage({
|
|
|
152146
152157
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
152147
152158
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
152148
152159
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
152149
|
-
loader: () => import("./html-
|
|
152160
|
+
loader: () => import("./html-233f180a.js")
|
|
152150
152161
|
});
|
|
152151
152162
|
/*!-----------------------------------------------------------------------------
|
|
152152
152163
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152187,7 +152198,7 @@ registerLanguage({
|
|
|
152187
152198
|
filenames: ["jakefile"],
|
|
152188
152199
|
aliases: ["JavaScript", "javascript", "js"],
|
|
152189
152200
|
mimetypes: ["text/javascript"],
|
|
152190
|
-
loader: () => import("./javascript-
|
|
152201
|
+
loader: () => import("./javascript-026077ff.js")
|
|
152191
152202
|
});
|
|
152192
152203
|
/*!-----------------------------------------------------------------------------
|
|
152193
152204
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152262,7 +152273,7 @@ registerLanguage({
|
|
|
152262
152273
|
extensions: [".liquid", ".html.liquid"],
|
|
152263
152274
|
aliases: ["Liquid", "liquid"],
|
|
152264
152275
|
mimetypes: ["application/liquid"],
|
|
152265
|
-
loader: () => import("./liquid-
|
|
152276
|
+
loader: () => import("./liquid-569d3505.js")
|
|
152266
152277
|
});
|
|
152267
152278
|
/*!-----------------------------------------------------------------------------
|
|
152268
152279
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152298,7 +152309,7 @@ registerLanguage({
|
|
|
152298
152309
|
id: "mdx",
|
|
152299
152310
|
extensions: [".mdx"],
|
|
152300
152311
|
aliases: ["MDX", "mdx"],
|
|
152301
|
-
loader: () => import("./mdx-
|
|
152312
|
+
loader: () => import("./mdx-5c47b2f3.js")
|
|
152302
152313
|
});
|
|
152303
152314
|
/*!-----------------------------------------------------------------------------
|
|
152304
152315
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152493,7 +152504,7 @@ registerLanguage({
|
|
|
152493
152504
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
152494
152505
|
aliases: ["Python", "py"],
|
|
152495
152506
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
152496
|
-
loader: () => import("./python-
|
|
152507
|
+
loader: () => import("./python-8001ccbc.js")
|
|
152497
152508
|
});
|
|
152498
152509
|
/*!-----------------------------------------------------------------------------
|
|
152499
152510
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152530,7 +152541,7 @@ registerLanguage({
|
|
|
152530
152541
|
extensions: [".cshtml"],
|
|
152531
152542
|
aliases: ["Razor", "razor"],
|
|
152532
152543
|
mimetypes: ["text/x-cshtml"],
|
|
152533
|
-
loader: () => import("./razor-
|
|
152544
|
+
loader: () => import("./razor-48d4189f.js")
|
|
152534
152545
|
});
|
|
152535
152546
|
/*!-----------------------------------------------------------------------------
|
|
152536
152547
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152782,7 +152793,7 @@ registerLanguage({
|
|
|
152782
152793
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
152783
152794
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
152784
152795
|
mimetypes: ["text/typescript"],
|
|
152785
|
-
loader: () => import("./typescript-
|
|
152796
|
+
loader: () => import("./typescript-eba3b144.js")
|
|
152786
152797
|
});
|
|
152787
152798
|
/*!-----------------------------------------------------------------------------
|
|
152788
152799
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152838,7 +152849,7 @@ registerLanguage({
|
|
|
152838
152849
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
152839
152850
|
aliases: ["XML", "xml"],
|
|
152840
152851
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
152841
|
-
loader: () => import("./xml-
|
|
152852
|
+
loader: () => import("./xml-e98696ad.js")
|
|
152842
152853
|
});
|
|
152843
152854
|
/*!-----------------------------------------------------------------------------
|
|
152844
152855
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152851,7 +152862,7 @@ registerLanguage({
|
|
|
152851
152862
|
extensions: [".yaml", ".yml"],
|
|
152852
152863
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
152853
152864
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
152854
|
-
loader: () => import("./yaml-
|
|
152865
|
+
loader: () => import("./yaml-7db875f8.js")
|
|
152855
152866
|
});
|
|
152856
152867
|
/*!-----------------------------------------------------------------------------
|
|
152857
152868
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -152946,7 +152957,7 @@ var LanguageServiceDefaultsImpl$3 = class {
|
|
|
152946
152957
|
}, cssDefaults = new LanguageServiceDefaultsImpl$3("css", optionsDefault$1, modeConfigurationDefault$2), scssDefaults = new LanguageServiceDefaultsImpl$3("scss", optionsDefault$1, modeConfigurationDefault$2), lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, modeConfigurationDefault$2);
|
|
152947
152958
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
152948
152959
|
function getMode$3() {
|
|
152949
|
-
return import("./cssMode-
|
|
152960
|
+
return import("./cssMode-32c827e6.js");
|
|
152950
152961
|
}
|
|
152951
152962
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
152952
152963
|
getMode$3().then((W) => W.setupMode(lessDefaults));
|
|
@@ -153041,7 +153052,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
153041
153052
|
registerHTMLLanguageService
|
|
153042
153053
|
};
|
|
153043
153054
|
function getMode$2() {
|
|
153044
|
-
return import("./htmlMode-
|
|
153055
|
+
return import("./htmlMode-f176fb07.js");
|
|
153045
153056
|
}
|
|
153046
153057
|
function registerHTMLLanguageService(W, C = optionsDefault, H = getConfigurationDefault(W)) {
|
|
153047
153058
|
const K = new LanguageServiceDefaultsImpl$2(W, C, H);
|
|
@@ -153118,7 +153129,7 @@ var LanguageServiceDefaultsImpl$1 = class {
|
|
|
153118
153129
|
}, jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault, modeConfigurationDefault$1);
|
|
153119
153130
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
153120
153131
|
function getMode$1() {
|
|
153121
|
-
return import("./jsonMode-
|
|
153132
|
+
return import("./jsonMode-b1072a5a.js");
|
|
153122
153133
|
}
|
|
153123
153134
|
monaco_editor_core_exports$1.languages.register({
|
|
153124
153135
|
id: "json",
|
|
@@ -153281,7 +153292,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
153281
153292
|
getJavaScriptWorker
|
|
153282
153293
|
};
|
|
153283
153294
|
function getMode() {
|
|
153284
|
-
return import("./tsMode-
|
|
153295
|
+
return import("./tsMode-56ea7112.js");
|
|
153285
153296
|
}
|
|
153286
153297
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => getMode().then((W) => W.setupTypeScript(typescriptDefaults)));
|
|
153287
153298
|
monaco_editor_core_exports.languages.onLanguage("javascript", () => getMode().then((W) => W.setupJavaScript(javascriptDefaults)));
|
|
@@ -186631,7 +186642,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
186631
186642
|
}), monacoEditor_vue_vue_type_style_index_0_scoped_8e6cb063_lang = "", monacoEditor = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-8e6cb063"]]), monacoEditor$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
186632
186643
|
__proto__: null,
|
|
186633
186644
|
default: monacoEditor
|
|
186634
|
-
}, Symbol.toStringTag, { value: "Module" })), _withScopeId$2 = (W) => (pushScopeId("data-v-
|
|
186645
|
+
}, Symbol.toStringTag, { value: "Module" })), _withScopeId$2 = (W) => (pushScopeId("data-v-44ae75e4"), W = W(), popScopeId(), W), _hoisted_1$e = { style: { height: "40px" } }, _hoisted_2$7 = { style: { float: "right" } }, _hoisted_3$6 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", null, "watch监听事件放到Mounted方法里面", -1)), _hoisted_4$4 = { style: { height: "500px", width: "100%" } }, _hoisted_5$4 = { style: { width: "300px", height: "100%", border: "1px solid #e4e7ed", float: "left", overflow: "auto" } }, _hoisted_6$4 = ["onClick"], _hoisted_7$2 = { style: { color: "#67c23a" } }, _hoisted_8$2 = ["onClick"], _hoisted_9$2 = {
|
|
186635
186646
|
key: 0,
|
|
186636
186647
|
style: { width: "calc(100% - 310px)", height: "100%", float: "left" }
|
|
186637
186648
|
}, _hoisted_10$2 = { class: "content" }, _hoisted_11$2 = { key: 0 }, _hoisted_12$2 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("a", { style: { color: "red" } }, "存在多个时,用逗号(,)分隔,如onChange,onClose", -1)), _hoisted_13$2 = {
|
|
@@ -186697,72 +186708,69 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
186697
186708
|
default: ""
|
|
186698
186709
|
});
|
|
186699
186710
|
}
|
|
186700
|
-
function te(
|
|
186701
|
-
let
|
|
186702
|
-
|
|
186711
|
+
function te(re) {
|
|
186712
|
+
let se = Z.value.indexOf(re);
|
|
186713
|
+
se !== -1 && Z.value.splice(se, 1);
|
|
186703
186714
|
}
|
|
186704
186715
|
G.value = X.value[0];
|
|
186705
|
-
function ne(
|
|
186706
|
-
if (["Mounted", "Emit", "Props", "basicInfo"].includes(
|
|
186707
|
-
message.warning("已经存在一个" +
|
|
186716
|
+
function ne(re) {
|
|
186717
|
+
if (["Mounted", "Emit", "Props", "basicInfo"].includes(re) && X.value.filter((ce) => ce.type == re).length == 1) {
|
|
186718
|
+
message.warning("已经存在一个" + re + ",不能重复添加");
|
|
186708
186719
|
return;
|
|
186709
186720
|
}
|
|
186710
|
-
const
|
|
186721
|
+
const ae = {
|
|
186711
186722
|
key: "12323",
|
|
186712
186723
|
name: "fun1",
|
|
186713
186724
|
func: "",
|
|
186714
186725
|
param: "",
|
|
186715
186726
|
isasync: !1,
|
|
186716
|
-
type:
|
|
186727
|
+
type: re
|
|
186717
186728
|
};
|
|
186718
|
-
switch (
|
|
186729
|
+
switch (re) {
|
|
186719
186730
|
case "Props":
|
|
186720
|
-
|
|
186731
|
+
ae.name = "_props", ae.func = "// {{name:'value',type:'string'}}";
|
|
186721
186732
|
break;
|
|
186722
186733
|
case "Mounted":
|
|
186723
|
-
|
|
186734
|
+
ae.name = "initMount";
|
|
186724
186735
|
break;
|
|
186725
186736
|
case "basicInfo":
|
|
186726
|
-
|
|
186737
|
+
ae.name = "变量";
|
|
186727
186738
|
break;
|
|
186728
186739
|
}
|
|
186729
|
-
X.value.push(
|
|
186740
|
+
X.value.push(ae), oe(X.value.length - 1);
|
|
186730
186741
|
}
|
|
186731
|
-
function ie(
|
|
186732
|
-
if (["basicInfo"].includes(
|
|
186742
|
+
function ie(re, se) {
|
|
186743
|
+
if (["basicInfo"].includes(re.type) && Z.value.length > 0) {
|
|
186733
186744
|
message.error("存在变量项,不能直接删除,请先删除变量项");
|
|
186734
186745
|
return;
|
|
186735
186746
|
}
|
|
186736
|
-
X.value.splice(
|
|
186737
|
-
const
|
|
186738
|
-
U.value =
|
|
186747
|
+
X.value.splice(se, 1);
|
|
186748
|
+
const le = se - 1;
|
|
186749
|
+
U.value = le, G.value = X.value[le];
|
|
186739
186750
|
}
|
|
186740
|
-
function oe() {
|
|
186741
|
-
|
|
186751
|
+
function oe(re) {
|
|
186752
|
+
U.value = re, G.value = X.value[re];
|
|
186742
186753
|
}
|
|
186743
|
-
|
|
186744
|
-
|
|
186745
|
-
}
|
|
186746
|
-
return (se, ae) => {
|
|
186747
|
-
const le = resolveComponent("a-button"), ce = resolveComponent("a-space"), de = resolveComponent("a-tooltip"), ue = resolveComponent("a-input"), he = resolveComponent("a-form-item"), ge = resolveComponent("a-col"), fe = resolveComponent("a-select"), pe = resolveComponent("a-row"), me = resolveComponent("a-switch"), ve = resolveComponent("a-form");
|
|
186754
|
+
return (re, se) => {
|
|
186755
|
+
const ae = resolveComponent("a-button"), le = resolveComponent("a-space"), ce = resolveComponent("a-tooltip"), de = resolveComponent("a-input"), ue = resolveComponent("a-form-item"), he = resolveComponent("a-col"), ge = resolveComponent("a-select"), fe = resolveComponent("a-row"), pe = resolveComponent("a-switch"), me = resolveComponent("a-form");
|
|
186748
186756
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
186749
186757
|
createElementVNode("div", _hoisted_1$e, [
|
|
186750
|
-
createVNode(
|
|
186758
|
+
createVNode(le, null, {
|
|
186751
186759
|
default: withCtx(() => [
|
|
186752
|
-
(openBlock(), createElementBlock(Fragment, null, renderList(H, (
|
|
186753
|
-
onClick: (
|
|
186760
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(H, (ve, be) => createVNode(ae, {
|
|
186761
|
+
onClick: (ye) => ne(ve.type)
|
|
186754
186762
|
}, {
|
|
186755
186763
|
default: withCtx(() => [
|
|
186756
|
-
createTextVNode(toDisplayString(
|
|
186764
|
+
createTextVNode(toDisplayString(ve.name), 1)
|
|
186757
186765
|
]),
|
|
186758
186766
|
_: 2
|
|
186759
186767
|
}, 1032, ["onClick"])), 64)),
|
|
186760
|
-
(openBlock(), createElementBlock(Fragment, null, renderList(K, (
|
|
186768
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(K, (ve, be) => createVNode(ae, {
|
|
186761
186769
|
danger: "",
|
|
186762
|
-
onClick: (
|
|
186770
|
+
onClick: (ye) => ne(ve.type)
|
|
186763
186771
|
}, {
|
|
186764
186772
|
default: withCtx(() => [
|
|
186765
|
-
createTextVNode(toDisplayString(
|
|
186773
|
+
createTextVNode(toDisplayString(ve.name), 1)
|
|
186766
186774
|
]),
|
|
186767
186775
|
_: 2
|
|
186768
186776
|
}, 1032, ["onClick"])), 64))
|
|
@@ -186770,9 +186778,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
186770
186778
|
_: 1
|
|
186771
186779
|
}),
|
|
186772
186780
|
createElementVNode("div", _hoisted_2$7, [
|
|
186773
|
-
createVNode(
|
|
186781
|
+
createVNode(le, null, {
|
|
186774
186782
|
default: withCtx(() => [
|
|
186775
|
-
createVNode(
|
|
186783
|
+
createVNode(ce, {
|
|
186776
186784
|
color: "green",
|
|
186777
186785
|
placement: "bottom"
|
|
186778
186786
|
}, {
|
|
@@ -186783,15 +186791,6 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
186783
186791
|
createVNode(unref(QuestionCircleOutlined$1), { style: { fontSize: "16px", color: "#1677ff" } })
|
|
186784
186792
|
]),
|
|
186785
186793
|
_: 1
|
|
186786
|
-
}),
|
|
186787
|
-
createVNode(le, {
|
|
186788
|
-
type: "primary",
|
|
186789
|
-
onClick: oe
|
|
186790
|
-
}, {
|
|
186791
|
-
default: withCtx(() => [
|
|
186792
|
-
createTextVNode("保存")
|
|
186793
|
-
]),
|
|
186794
|
-
_: 1
|
|
186795
186794
|
})
|
|
186796
186795
|
]),
|
|
186797
186796
|
_: 1
|
|
@@ -186801,20 +186800,20 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
186801
186800
|
createElementVNode("div", _hoisted_4$4, [
|
|
186802
186801
|
createElementVNode("div", _hoisted_5$4, [
|
|
186803
186802
|
createElementVNode("ul", null, [
|
|
186804
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(X), (
|
|
186805
|
-
class: normalizeClass(["menu-item", { active: unref(U) ==
|
|
186803
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(X), (ve, be) => (openBlock(), createElementBlock("li", {
|
|
186804
|
+
class: normalizeClass(["menu-item", { active: unref(U) == be }])
|
|
186806
186805
|
}, [
|
|
186807
186806
|
createElementVNode("div", null, [
|
|
186808
186807
|
createElementVNode("div", {
|
|
186809
186808
|
style: { "padding-left": "5px", display: "inline-block", width: "230px" },
|
|
186810
|
-
onClick: (
|
|
186809
|
+
onClick: (ye) => oe(be)
|
|
186811
186810
|
}, [
|
|
186812
|
-
createElementVNode("span", _hoisted_7$2, toDisplayString(
|
|
186813
|
-
createTextVNode(" " + toDisplayString(
|
|
186811
|
+
createElementVNode("span", _hoisted_7$2, toDisplayString(ve.type ? ve.type : "Function"), 1),
|
|
186812
|
+
createTextVNode(" " + toDisplayString(ve.name), 1)
|
|
186814
186813
|
], 8, _hoisted_6$4),
|
|
186815
186814
|
createElementVNode("div", {
|
|
186816
186815
|
style: { display: "inline-block", right: "5px", cursor: "pointer" },
|
|
186817
|
-
onClick: (
|
|
186816
|
+
onClick: (ye) => ie(ve, be)
|
|
186818
186817
|
}, [
|
|
186819
186818
|
createVNode(unref(DeleteOutlined$1))
|
|
186820
186819
|
], 8, _hoisted_8$2)
|
|
@@ -186825,14 +186824,14 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
186825
186824
|
unref(G) != null ? (openBlock(), createElementBlock("div", _hoisted_9$2, [
|
|
186826
186825
|
createElementVNode("div", _hoisted_10$2, [
|
|
186827
186826
|
unref(G).type == "Emit" ? (openBlock(), createElementBlock("div", _hoisted_11$2, [
|
|
186828
|
-
createVNode(
|
|
186827
|
+
createVNode(ue, {
|
|
186829
186828
|
label: "Emit",
|
|
186830
186829
|
rules: [{ required: !0 }]
|
|
186831
186830
|
}, {
|
|
186832
186831
|
default: withCtx(() => [
|
|
186833
|
-
createVNode(
|
|
186832
|
+
createVNode(de, {
|
|
186834
186833
|
value: unref(G).name,
|
|
186835
|
-
"onUpdate:value":
|
|
186834
|
+
"onUpdate:value": se[0] || (se[0] = (ve) => unref(G).name = ve),
|
|
186836
186835
|
placeholder: ""
|
|
186837
186836
|
}, null, 8, ["value"]),
|
|
186838
186837
|
_hoisted_12$2
|
|
@@ -186842,33 +186841,33 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
186842
186841
|
])) : unref(G).type == "Props" ? (openBlock(), createElementBlock("div", _hoisted_13$2, [
|
|
186843
186842
|
createVNode(monacoEditor, {
|
|
186844
186843
|
modelValue: unref(G).func,
|
|
186845
|
-
"onUpdate:modelValue":
|
|
186844
|
+
"onUpdate:modelValue": se[1] || (se[1] = (ve) => unref(G).func = ve),
|
|
186846
186845
|
language: "typescript",
|
|
186847
186846
|
style: { width: "100%" },
|
|
186848
186847
|
height: "100%",
|
|
186849
186848
|
"update:modelValue": "eventScript.func"
|
|
186850
186849
|
}, null, 8, ["modelValue"])
|
|
186851
186850
|
])) : unref(G).type == "basicInfo" ? (openBlock(), createElementBlock("div", _hoisted_14$2, [
|
|
186852
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(Z), (
|
|
186851
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(Z), (ve, be) => (openBlock(), createBlock(fe, { style: { "padding-bottom": "5px" } }, {
|
|
186853
186852
|
default: withCtx(() => [
|
|
186854
|
-
createVNode(
|
|
186853
|
+
createVNode(he, { span: 6 }, {
|
|
186855
186854
|
default: withCtx(() => [
|
|
186856
|
-
createVNode(
|
|
186857
|
-
value:
|
|
186858
|
-
"onUpdate:value": (
|
|
186855
|
+
createVNode(de, {
|
|
186856
|
+
value: ve.name,
|
|
186857
|
+
"onUpdate:value": (ye) => ve.name = ye,
|
|
186859
186858
|
placeholder: "变量名称"
|
|
186860
186859
|
}, null, 8, ["value", "onUpdate:value"])
|
|
186861
186860
|
]),
|
|
186862
186861
|
_: 2
|
|
186863
186862
|
}, 1024),
|
|
186864
|
-
createVNode(
|
|
186863
|
+
createVNode(he, {
|
|
186865
186864
|
span: 6,
|
|
186866
186865
|
offset: 1
|
|
186867
186866
|
}, {
|
|
186868
186867
|
default: withCtx(() => [
|
|
186869
|
-
createVNode(
|
|
186870
|
-
value:
|
|
186871
|
-
"onUpdate:value": (
|
|
186868
|
+
createVNode(ge, {
|
|
186869
|
+
value: ve.type,
|
|
186870
|
+
"onUpdate:value": (ye) => ve.type = ye,
|
|
186872
186871
|
options: Q,
|
|
186873
186872
|
placeholder: "变量类型",
|
|
186874
186873
|
style: { width: "100%" }
|
|
@@ -186876,27 +186875,27 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
186876
186875
|
]),
|
|
186877
186876
|
_: 2
|
|
186878
186877
|
}, 1024),
|
|
186879
|
-
createVNode(
|
|
186878
|
+
createVNode(he, {
|
|
186880
186879
|
span: 6,
|
|
186881
186880
|
offset: 1
|
|
186882
186881
|
}, {
|
|
186883
186882
|
default: withCtx(() => [
|
|
186884
|
-
createVNode(
|
|
186885
|
-
value:
|
|
186886
|
-
"onUpdate:value": (
|
|
186883
|
+
createVNode(de, {
|
|
186884
|
+
value: ve.default,
|
|
186885
|
+
"onUpdate:value": (ye) => ve.default = ye,
|
|
186887
186886
|
placeholder: "默认值"
|
|
186888
186887
|
}, null, 8, ["value", "onUpdate:value"])
|
|
186889
186888
|
]),
|
|
186890
186889
|
_: 2
|
|
186891
186890
|
}, 1024),
|
|
186892
|
-
createVNode(
|
|
186891
|
+
createVNode(he, {
|
|
186893
186892
|
span: 3,
|
|
186894
186893
|
offset: 1,
|
|
186895
186894
|
style: { "line-height": "30px" }
|
|
186896
186895
|
}, {
|
|
186897
186896
|
default: withCtx(() => [
|
|
186898
186897
|
createVNode(unref(MinusCircleFilled$1), {
|
|
186899
|
-
onClick: (
|
|
186898
|
+
onClick: (ye) => te(ve),
|
|
186900
186899
|
style: { "font-size": "16px", color: "#f56c6c", "border-color": "#fbc4c4" }
|
|
186901
186900
|
}, null, 8, ["onClick"])
|
|
186902
186901
|
]),
|
|
@@ -186905,9 +186904,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
186905
186904
|
]),
|
|
186906
186905
|
_: 2
|
|
186907
186906
|
}, 1024))), 256)),
|
|
186908
|
-
createVNode(
|
|
186907
|
+
createVNode(ue, null, {
|
|
186909
186908
|
default: withCtx(() => [
|
|
186910
|
-
createVNode(
|
|
186909
|
+
createVNode(ae, {
|
|
186911
186910
|
type: "dashed",
|
|
186912
186911
|
style: { width: "100%" },
|
|
186913
186912
|
onClick: ee
|
|
@@ -186923,43 +186922,43 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
186923
186922
|
_: 1
|
|
186924
186923
|
})
|
|
186925
186924
|
])) : (openBlock(), createElementBlock("div", _hoisted_16$2, [
|
|
186926
|
-
createVNode(
|
|
186925
|
+
createVNode(me, {
|
|
186927
186926
|
"label-col": { span: 6 },
|
|
186928
186927
|
"wrapper-col": { span: 18 },
|
|
186929
186928
|
style: { height: "100%" }
|
|
186930
186929
|
}, {
|
|
186931
186930
|
default: withCtx(() => [
|
|
186932
186931
|
unref(G).name != "全局变量定义" ? (openBlock(), createElementBlock("div", _hoisted_17$2, [
|
|
186933
|
-
createVNode(
|
|
186932
|
+
createVNode(ue, {
|
|
186934
186933
|
label: "Function Name",
|
|
186935
186934
|
rules: [{ required: !0 }]
|
|
186936
186935
|
}, {
|
|
186937
186936
|
default: withCtx(() => [
|
|
186938
|
-
createVNode(
|
|
186937
|
+
createVNode(de, {
|
|
186939
186938
|
value: unref(G).name,
|
|
186940
|
-
"onUpdate:value":
|
|
186939
|
+
"onUpdate:value": se[2] || (se[2] = (ve) => unref(G).name = ve),
|
|
186941
186940
|
readOnly: unref(G).type == "Mounted"
|
|
186942
186941
|
}, null, 8, ["value", "readOnly"])
|
|
186943
186942
|
]),
|
|
186944
186943
|
_: 1
|
|
186945
186944
|
}),
|
|
186946
|
-
unref(G).name != "全局变量定义" && unref(G).type != "Computed" ? (openBlock(), createBlock(
|
|
186945
|
+
unref(G).name != "全局变量定义" && unref(G).type != "Computed" ? (openBlock(), createBlock(ue, {
|
|
186947
186946
|
key: 0,
|
|
186948
186947
|
label: "参数"
|
|
186949
186948
|
}, {
|
|
186950
186949
|
default: withCtx(() => [
|
|
186951
|
-
createVNode(
|
|
186950
|
+
createVNode(de, {
|
|
186952
186951
|
value: unref(G).param,
|
|
186953
|
-
"onUpdate:value":
|
|
186952
|
+
"onUpdate:value": se[3] || (se[3] = (ve) => unref(G).param = ve)
|
|
186954
186953
|
}, null, 8, ["value"])
|
|
186955
186954
|
]),
|
|
186956
186955
|
_: 1
|
|
186957
186956
|
})) : createCommentVNode("", !0),
|
|
186958
|
-
createVNode(
|
|
186957
|
+
createVNode(ue, { label: "是否异步" }, {
|
|
186959
186958
|
default: withCtx(() => [
|
|
186960
|
-
createVNode(
|
|
186959
|
+
createVNode(pe, {
|
|
186961
186960
|
checked: unref(G).isasync,
|
|
186962
|
-
"onUpdate:checked":
|
|
186961
|
+
"onUpdate:checked": se[4] || (se[4] = (ve) => unref(G).isasync = ve),
|
|
186963
186962
|
"checked-children": "是",
|
|
186964
186963
|
"un-checked-children": "否"
|
|
186965
186964
|
}, null, 8, ["checked"])
|
|
@@ -186970,7 +186969,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
186970
186969
|
])) : createCommentVNode("", !0),
|
|
186971
186970
|
createVNode(monacoEditor, {
|
|
186972
186971
|
modelValue: unref(G).func,
|
|
186973
|
-
"onUpdate:modelValue":
|
|
186972
|
+
"onUpdate:modelValue": se[5] || (se[5] = (ve) => unref(G).func = ve),
|
|
186974
186973
|
language: "typescript",
|
|
186975
186974
|
style: { width: "100%" },
|
|
186976
186975
|
height: "100%",
|
|
@@ -186987,7 +186986,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
186987
186986
|
], 64);
|
|
186988
186987
|
};
|
|
186989
186988
|
}
|
|
186990
|
-
}),
|
|
186989
|
+
}), TypeScript_vue_vue_type_style_index_0_scoped_44ae75e4_lang = "", TypeScript = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-44ae75e4"]]), TypeScript$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
186991
186990
|
__proto__: null,
|
|
186992
186991
|
default: TypeScript
|
|
186993
186992
|
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
@@ -187076,8 +187075,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
187076
187075
|
function H() {
|
|
187077
187076
|
}
|
|
187078
187077
|
return (K, U) => {
|
|
187079
|
-
const G = resolveComponent("a-input"), X = resolveComponent("a-form-item"), Q = resolveComponent("a-radio-button"), Z = resolveComponent("a-radio-group"), ee = resolveComponent("a-form");
|
|
187080
|
-
return openBlock(), createBlock(
|
|
187078
|
+
const G = resolveComponent("a-input"), X = resolveComponent("a-form-item"), Q = resolveComponent("a-radio-button"), Z = resolveComponent("a-radio-group"), ee = resolveComponent("a-textarea"), te = resolveComponent("a-form");
|
|
187079
|
+
return openBlock(), createBlock(te, {
|
|
187081
187080
|
class: "tabs-properties",
|
|
187082
187081
|
layout: "vertical",
|
|
187083
187082
|
autocomplete: "off"
|
|
@@ -187087,7 +187086,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
187087
187086
|
default: withCtx(() => [
|
|
187088
187087
|
createVNode(G, {
|
|
187089
187088
|
value: W.configData.width,
|
|
187090
|
-
"onUpdate:value": U[0] || (U[0] = (
|
|
187089
|
+
"onUpdate:value": U[0] || (U[0] = (ne) => W.configData.width = ne)
|
|
187091
187090
|
}, null, 8, ["value"])
|
|
187092
187091
|
]),
|
|
187093
187092
|
_: 1
|
|
@@ -187096,7 +187095,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
187096
187095
|
default: withCtx(() => [
|
|
187097
187096
|
createVNode(Z, {
|
|
187098
187097
|
value: W.configData.tabType,
|
|
187099
|
-
"onUpdate:value": U[1] || (U[1] = (
|
|
187098
|
+
"onUpdate:value": U[1] || (U[1] = (ne) => W.configData.tabType = ne)
|
|
187100
187099
|
}, {
|
|
187101
187100
|
default: withCtx(() => [
|
|
187102
187101
|
createVNode(Q, { value: "line" }, {
|
|
@@ -187127,9 +187126,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
187127
187126
|
onEnd: H
|
|
187128
187127
|
}, {
|
|
187129
187128
|
default: withCtx(() => [
|
|
187130
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(W.configData.panes, (
|
|
187131
|
-
value:
|
|
187132
|
-
"onUpdate:value": (
|
|
187129
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(W.configData.panes, (ne, ie) => (openBlock(), createBlock(G, {
|
|
187130
|
+
value: ne.title,
|
|
187131
|
+
"onUpdate:value": (oe) => ne.title = oe,
|
|
187133
187132
|
style: { "margin-bottom": "5px" }
|
|
187134
187133
|
}, {
|
|
187135
187134
|
addonBefore: withCtx(() => [
|
|
@@ -187142,13 +187141,32 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
187142
187141
|
}, 8, ["list"])
|
|
187143
187142
|
]),
|
|
187144
187143
|
_: 1
|
|
187144
|
+
}),
|
|
187145
|
+
createVNode(X, { label: "切换面板事件" }, {
|
|
187146
|
+
default: withCtx(() => [
|
|
187147
|
+
createVNode(G, {
|
|
187148
|
+
value: W.configData.changeEvent,
|
|
187149
|
+
"onUpdate:value": U[2] || (U[2] = (ne) => W.configData.changeEvent = ne)
|
|
187150
|
+
}, null, 8, ["value"])
|
|
187151
|
+
]),
|
|
187152
|
+
_: 1
|
|
187153
|
+
}),
|
|
187154
|
+
createVNode(X, { label: "其他扩展" }, {
|
|
187155
|
+
default: withCtx(() => [
|
|
187156
|
+
createVNode(ee, {
|
|
187157
|
+
value: W.configData.extended,
|
|
187158
|
+
"onUpdate:value": U[3] || (U[3] = (ne) => W.configData.extended = ne),
|
|
187159
|
+
rows: 5
|
|
187160
|
+
}, null, 8, ["value"])
|
|
187161
|
+
]),
|
|
187162
|
+
_: 1
|
|
187145
187163
|
})
|
|
187146
187164
|
]),
|
|
187147
187165
|
_: 1
|
|
187148
187166
|
});
|
|
187149
187167
|
};
|
|
187150
187168
|
}
|
|
187151
|
-
}),
|
|
187169
|
+
}), Tabs_vue_vue_type_style_index_0_scoped_8924aeef_lang = "", CTabs = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-8924aeef"]]), Tabs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
187152
187170
|
__proto__: null,
|
|
187153
187171
|
default: CTabs
|
|
187154
187172
|
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
@@ -187443,7 +187461,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
187443
187461
|
{ title: "操作属性", type: "czsx", options: ["只读", "隐藏"] },
|
|
187444
187462
|
{ title: "校验", bind: "guize", type: "guize", placeholder: "", mode: "simple" },
|
|
187445
187463
|
//simple 为简单模式 pro 为全模式
|
|
187446
|
-
{ title: "
|
|
187464
|
+
{ title: "行选中事件", bind: "rowChangeEvent", type: "input", placeholder: "" },
|
|
187447
187465
|
...extendProperties$1
|
|
187448
187466
|
], imageProperties = [
|
|
187449
187467
|
...titleProperties,
|
|
@@ -187554,7 +187572,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
187554
187572
|
}
|
|
187555
187573
|
},
|
|
187556
187574
|
setup(W) {
|
|
187557
|
-
const C = useUserStore(), H = useDataStore(), K = computed(() => Object.keys(/* @__PURE__ */ Object.assign({ "/src/assets/svg/arrow.svg": () => import("./arrow-0f9d2c91.js"), "/src/assets/svg/btn.svg": () => import("./btn-b21f7c84.js"), "/src/assets/svg/cascader.svg": () => import("./cascader-ae36df3a.js"), "/src/assets/svg/checkbox.svg": () => import("./checkbox-9b8d83b2.js"), "/src/assets/svg/clear.svg": () => import("./clear-1a0a9f39.js"), "/src/assets/svg/code.svg": () => import("./code-8bc35074.js"), "/src/assets/svg/collapse.svg": () => import("./collapse-d0408569.js"), "/src/assets/svg/date.svg": () => import("./date-9c868f87.js"), "/src/assets/svg/empty.svg": () => import("./empty-522f9087.js"), "/src/assets/svg/formvue.svg": () => import("./formvue-60a6a48b.js"), "/src/assets/svg/fx.svg": () => import("./fx-06f3849d.js"), "/src/assets/svg/grid.svg": () => import("./grid-a022fe60.js"), "/src/assets/svg/header.svg": () => import("./header-ece15275.js"), "/src/assets/svg/image.svg": () => import("./image-07d01468.js"), "/src/assets/svg/ing.svg": () => import("./ing-3d76e308.js"), "/src/assets/svg/input.svg": () => import("./input-0a4693f1.js"), "/src/assets/svg/inputnumber.svg": () => import("./inputnumber-ff44a61d.js"), "/src/assets/svg/json.svg": () => import("./json-bdb5fbed.js"), "/src/assets/svg/label.svg": () => import("./label-4c915d4b.js"), "/src/assets/svg/placeholder.svg": () => import("./placeholder-353fc87b.js"), "/src/assets/svg/preview.svg": () => import("./preview-c435bde2.js"), "/src/assets/svg/radio.svg": () => import("./radio-c2693f5c.js"), "/src/assets/svg/report.svg": () => import("./report-e73dacb2.js"), "/src/assets/svg/save.svg": () => import("./save-2af76f8e.js"), "/src/assets/svg/select.svg": () => import("./select-99eba5a8.js"), "/src/assets/svg/table.svg": () => import("./table-fe94632c.js"), "/src/assets/svg/tableselect.svg": () => import("./tableselect-3192a9ef.js"), "/src/assets/svg/tabs.svg": () => import("./tabs-5ee259b5.js"), "/src/assets/svg/textarea.svg": () => import("./textarea-56e3ca98.js"), "/src/assets/svg/tree.svg": () => import("./tree-4a52a648.js") })).map((me) => {
|
|
187575
|
+
const C = useUserStore(), H = useDataStore(), K = computed(() => Object.keys(/* @__PURE__ */ Object.assign({ "/src/assets/svg/arrow.svg": () => import("./arrow-0f9d2c91.js"), "/src/assets/svg/btn.svg": () => import("./btn-b21f7c84.js"), "/src/assets/svg/cascader.svg": () => import("./cascader-ae36df3a.js"), "/src/assets/svg/checkbox.svg": () => import("./checkbox-9b8d83b2.js"), "/src/assets/svg/clear.svg": () => import("./clear-1a0a9f39.js"), "/src/assets/svg/code.svg": () => import("./code-8bc35074.js"), "/src/assets/svg/collapse.svg": () => import("./collapse-d0408569.js"), "/src/assets/svg/date.svg": () => import("./date-9c868f87.js"), "/src/assets/svg/empty.svg": () => import("./empty-522f9087.js"), "/src/assets/svg/formvue.svg": () => import("./formvue-60a6a48b.js"), "/src/assets/svg/fx.svg": () => import("./fx-06f3849d.js"), "/src/assets/svg/grid.svg": () => import("./grid-a022fe60.js"), "/src/assets/svg/header.svg": () => import("./header-ece15275.js"), "/src/assets/svg/image.svg": () => import("./image-07d01468.js"), "/src/assets/svg/ing.svg": () => import("./ing-3d76e308.js"), "/src/assets/svg/input.svg": () => import("./input-0a4693f1.js"), "/src/assets/svg/inputnumber.svg": () => import("./inputnumber-ff44a61d.js"), "/src/assets/svg/json.svg": () => import("./json-bdb5fbed.js"), "/src/assets/svg/label.svg": () => import("./label-4c915d4b.js"), "/src/assets/svg/placeholder.svg": () => import("./placeholder-353fc87b.js"), "/src/assets/svg/preview.svg": () => import("./preview-c435bde2.js"), "/src/assets/svg/radio.svg": () => import("./radio-c2693f5c.js"), "/src/assets/svg/report.svg": () => import("./report-e73dacb2.js"), "/src/assets/svg/save.svg": () => import("./save-2af76f8e.js"), "/src/assets/svg/select.svg": () => import("./select-99eba5a8.js"), "/src/assets/svg/table.svg": () => import("./table-fe94632c.js"), "/src/assets/svg/tableselect.svg": () => import("./tableselect-3192a9ef.js"), "/src/assets/svg/tabs.svg": () => import("./tabs-5ee259b5.js"), "/src/assets/svg/textarea.svg": () => import("./textarea-56e3ca98.js"), "/src/assets/svg/tree.svg": () => import("./tree-4a52a648.js"), "/src/assets/svg/xx.svg": () => import("./xx-10698037.js") })).map((me) => {
|
|
187558
187576
|
let ve = me.split("/");
|
|
187559
187577
|
return ve[ve.length - 1].split(".")[0];
|
|
187560
187578
|
}));
|
|
@@ -188995,7 +189013,7 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
188995
189013
|
}
|
|
188996
189014
|
},
|
|
188997
189015
|
setup(W, { expose: C }) {
|
|
188998
|
-
const H = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-
|
|
189016
|
+
const H = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-026fc8dc.js"), "/src/components/HelloWorld.vue": () => import("./HelloWorld-54c53a77.js"), "/src/components/cModal/index.vue": () => Promise.resolve().then(() => index$5), "/src/components/form-widget/widget/childForm.vue": () => import("./childForm-531cd748.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-b8709661.js"), "/src/components/form-widget/widget/tableSelectDemo2.vue": () => import("./tableSelectDemo2-71070b2d.js"), "/src/components/generate/Demo.vue": () => import("./Demo-6bca1df9.js"), "/src/components/generate/GenerateForm.vue": () => import("./GenerateForm-4fecd785.js"), "/src/components/generate/GenerateReport.vue": () => import("./GenerateReport-03e36575.js"), "/src/components/icon/SvgIcon.vue": () => Promise.resolve().then(() => SvgIcon$1), "/src/components/monaco/monacoEditor.vue": () => Promise.resolve().then(() => monacoEditor$1), "/src/components/table/cTable.vue": () => import("./cTable-ad923999.js"), "/src/components/wonderform/config/ReportIndex.vue": () => Promise.resolve().then(() => ReportIndex), "/src/components/wonderform/config/index.vue": () => Promise.resolve().then(() => index$6), "/src/components/wonderform/config/modules/Col.vue": () => import("./Col-e3330449.js"), "/src/components/wonderform/config/modules/Collapse.vue": () => import("./Collapse-2225a7bd.js"), "/src/components/wonderform/config/modules/DataSource.vue": () => Promise.resolve().then(() => DataSource$2), "/src/components/wonderform/config/modules/FX.vue": () => import("./FX-5ec1c6ea.js"), "/src/components/wonderform/config/modules/Form.vue": () => import("./Form-c71257a0.js"), "/src/components/wonderform/config/modules/Grid.vue": () => Promise.resolve().then(() => Grid), "/src/components/wonderform/config/modules/Input-删除.vue": () => import("./Input-删除-61d9c067.js"), "/src/components/wonderform/config/modules/Label-删除.vue": () => import("./Label-删除-9fbe3f2f.js"), "/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": () => import("./Table-15d32ea9.js"), "/src/components/wonderform/config/modules/TableBtnModal.vue": () => import("./TableBtnModal-e2887984.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/design/Form.vue": () => import("./Form-40f53810.js"), "/src/components/wonderform/design/index.vue": () => Promise.resolve().then(() => index$7), "/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-c5ccfaa0.js"), "/src/components/wonderform/design/modules/FormInput.vue": () => Promise.resolve().then(() => FormInput$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$4), "/src/components/wonderform/dsource/modules/SqlModule.vue": () => import("./SqlModule-a388631a.js"), "/src/components/wonderform/header/Header.vue": () => Promise.resolve().then(() => Header), "/src/components/wonderform/header/modules/Code.vue": () => import("./Code-ec774974.js"), "/src/components/wonderform/index.vue": () => Promise.resolve().then(() => index$3), "/src/components/wonderform/tool/index.vue": () => Promise.resolve().then(() => index$9), "/src/components/wonderreport/Demo.vue": () => import("./Demo-be0d3a37.js"), "/src/components/wonderreport/ReportModule.vue": () => import("./ReportModule-086a529c.js"), "/src/components/wonderreport/header/index.vue": () => Promise.resolve().then(() => index$2), "/src/components/wonderreport/index.vue": () => Promise.resolve().then(() => index$1), "/src/views/formTest.vue": () => import("./formTest-6e3a4800.js"), "/src/views/sys/login/Login.vue": () => import("./Login-0adf8e46.js"), "/src/views/workbench/index.vue": () => import("./index-2865adbe.js") });
|
|
188999
189017
|
let K = ref(!1), U = ref(!1), G = ref(), X = ref(!1);
|
|
189000
189018
|
const Q = computed(() => defineAsyncComponent(H[`/src/${Z.filePath}.vue`])), Z = W, ee = computed(() => Z.footer ? "" : { footer: null });
|
|
189001
189019
|
C({
|
|
@@ -189214,6 +189232,9 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
189214
189232
|
type: String,
|
|
189215
189233
|
default: ""
|
|
189216
189234
|
},
|
|
189235
|
+
tableProps: {
|
|
189236
|
+
type: [Number, String, Object, Array]
|
|
189237
|
+
},
|
|
189217
189238
|
dropMenuWidth: {
|
|
189218
189239
|
type: [Number, String],
|
|
189219
189240
|
default: ""
|
|
@@ -189244,7 +189265,7 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
189244
189265
|
ie("update:value", le);
|
|
189245
189266
|
}
|
|
189246
189267
|
});
|
|
189247
|
-
const Z = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-
|
|
189268
|
+
const Z = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-026fc8dc.js"), "/src/components/HelloWorld.vue": () => import("./HelloWorld-54c53a77.js"), "/src/components/cModal/index.vue": () => Promise.resolve().then(() => index$5), "/src/components/form-widget/widget/childForm.vue": () => import("./childForm-531cd748.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-b8709661.js"), "/src/components/form-widget/widget/tableSelectDemo2.vue": () => import("./tableSelectDemo2-71070b2d.js"), "/src/components/generate/Demo.vue": () => import("./Demo-6bca1df9.js"), "/src/components/generate/GenerateForm.vue": () => import("./GenerateForm-4fecd785.js"), "/src/components/generate/GenerateReport.vue": () => import("./GenerateReport-03e36575.js"), "/src/components/icon/SvgIcon.vue": () => Promise.resolve().then(() => SvgIcon$1), "/src/components/monaco/monacoEditor.vue": () => Promise.resolve().then(() => monacoEditor$1), "/src/components/table/cTable.vue": () => import("./cTable-ad923999.js"), "/src/components/wonderform/config/ReportIndex.vue": () => Promise.resolve().then(() => ReportIndex), "/src/components/wonderform/config/index.vue": () => Promise.resolve().then(() => index$6), "/src/components/wonderform/config/modules/Col.vue": () => import("./Col-e3330449.js"), "/src/components/wonderform/config/modules/Collapse.vue": () => import("./Collapse-2225a7bd.js"), "/src/components/wonderform/config/modules/DataSource.vue": () => Promise.resolve().then(() => DataSource$2), "/src/components/wonderform/config/modules/FX.vue": () => import("./FX-5ec1c6ea.js"), "/src/components/wonderform/config/modules/Form.vue": () => import("./Form-c71257a0.js"), "/src/components/wonderform/config/modules/Grid.vue": () => Promise.resolve().then(() => Grid), "/src/components/wonderform/config/modules/Input-删除.vue": () => import("./Input-删除-61d9c067.js"), "/src/components/wonderform/config/modules/Label-删除.vue": () => import("./Label-删除-9fbe3f2f.js"), "/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": () => import("./Table-15d32ea9.js"), "/src/components/wonderform/config/modules/TableBtnModal.vue": () => import("./TableBtnModal-e2887984.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/design/Form.vue": () => import("./Form-40f53810.js"), "/src/components/wonderform/design/index.vue": () => Promise.resolve().then(() => index$7), "/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-c5ccfaa0.js"), "/src/components/wonderform/design/modules/FormInput.vue": () => Promise.resolve().then(() => FormInput$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$4), "/src/components/wonderform/dsource/modules/SqlModule.vue": () => import("./SqlModule-a388631a.js"), "/src/components/wonderform/header/Header.vue": () => Promise.resolve().then(() => Header), "/src/components/wonderform/header/modules/Code.vue": () => import("./Code-ec774974.js"), "/src/components/wonderform/index.vue": () => Promise.resolve().then(() => index$3), "/src/components/wonderform/tool/index.vue": () => Promise.resolve().then(() => index$9), "/src/components/wonderreport/Demo.vue": () => import("./Demo-be0d3a37.js"), "/src/components/wonderreport/ReportModule.vue": () => import("./ReportModule-086a529c.js"), "/src/components/wonderreport/header/index.vue": () => Promise.resolve().then(() => index$2), "/src/components/wonderreport/index.vue": () => Promise.resolve().then(() => index$1), "/src/views/formTest.vue": () => import("./formTest-6e3a4800.js"), "/src/views/sys/login/Login.vue": () => import("./Login-0adf8e46.js"), "/src/views/workbench/index.vue": () => import("./index-2865adbe.js") }), ee = computed(() => {
|
|
189248
189269
|
if (H.filePath) {
|
|
189249
189270
|
let le = `/src/${H.filePath}.vue`;
|
|
189250
189271
|
return H.filePath ? Object.keys(Z).includes(le) : !1;
|
|
@@ -189268,7 +189289,7 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
189268
189289
|
}
|
|
189269
189290
|
function ae(le) {
|
|
189270
189291
|
le ? X.value = le.map((ce) => ({
|
|
189271
|
-
label: ce[H.bindLabelName],
|
|
189292
|
+
label: ce[H.bindLabelName] || "",
|
|
189272
189293
|
value: ce[H.bindKeyName]
|
|
189273
189294
|
})) : X.value = [];
|
|
189274
189295
|
}
|
|
@@ -189292,9 +189313,10 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
189292
189313
|
"onUpdate:value": ce[1] || (ce[1] = (ge) => isRef(Q) ? Q.value = ge : Q = ge),
|
|
189293
189314
|
mode: W.mode,
|
|
189294
189315
|
keyName: W.bindKeyName,
|
|
189316
|
+
tableProps: W.tableProps,
|
|
189295
189317
|
onGetTable: ae,
|
|
189296
189318
|
onRowChange: se
|
|
189297
|
-
}, null, 40, ["value", "mode", "keyName"])) : (openBlock(), createBlock(ue, { key: 1 }))
|
|
189319
|
+
}, null, 40, ["value", "mode", "keyName", "tableProps"])) : (openBlock(), createBlock(ue, { key: 1 }))
|
|
189298
189320
|
], 4)
|
|
189299
189321
|
]),
|
|
189300
189322
|
default: withCtx(() => [
|
|
@@ -189311,7 +189333,7 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
189311
189333
|
}, 8, ["open"]);
|
|
189312
189334
|
};
|
|
189313
189335
|
}
|
|
189314
|
-
}),
|
|
189336
|
+
}), tableSelect_vue_vue_type_style_index_0_scoped_46d332d3_lang = "", tableSelect_vue_vue_type_style_index_1_lang = "", CTableSelect = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-46d332d3"]]), tableSelect = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
189315
189337
|
__proto__: null,
|
|
189316
189338
|
default: CTableSelect
|
|
189317
189339
|
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
@@ -189323,7 +189345,7 @@ const DatePicker = locale, typeTemplate = "${label}不是一个有效的${type}"
|
|
|
189323
189345
|
}
|
|
189324
189346
|
},
|
|
189325
189347
|
setup(W) {
|
|
189326
|
-
const C = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-
|
|
189348
|
+
const C = /* @__PURE__ */ Object.assign({ "/src/App.vue": () => import("./App-026fc8dc.js"), "/src/components/HelloWorld.vue": () => import("./HelloWorld-54c53a77.js"), "/src/components/cModal/index.vue": () => Promise.resolve().then(() => index$5), "/src/components/form-widget/widget/childForm.vue": () => import("./childForm-531cd748.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-b8709661.js"), "/src/components/form-widget/widget/tableSelectDemo2.vue": () => import("./tableSelectDemo2-71070b2d.js"), "/src/components/generate/Demo.vue": () => import("./Demo-6bca1df9.js"), "/src/components/generate/GenerateForm.vue": () => import("./GenerateForm-4fecd785.js"), "/src/components/generate/GenerateReport.vue": () => import("./GenerateReport-03e36575.js"), "/src/components/icon/SvgIcon.vue": () => Promise.resolve().then(() => SvgIcon$1), "/src/components/monaco/monacoEditor.vue": () => Promise.resolve().then(() => monacoEditor$1), "/src/components/table/cTable.vue": () => import("./cTable-ad923999.js"), "/src/components/wonderform/config/ReportIndex.vue": () => Promise.resolve().then(() => ReportIndex), "/src/components/wonderform/config/index.vue": () => Promise.resolve().then(() => index$6), "/src/components/wonderform/config/modules/Col.vue": () => import("./Col-e3330449.js"), "/src/components/wonderform/config/modules/Collapse.vue": () => import("./Collapse-2225a7bd.js"), "/src/components/wonderform/config/modules/DataSource.vue": () => Promise.resolve().then(() => DataSource$2), "/src/components/wonderform/config/modules/FX.vue": () => import("./FX-5ec1c6ea.js"), "/src/components/wonderform/config/modules/Form.vue": () => import("./Form-c71257a0.js"), "/src/components/wonderform/config/modules/Grid.vue": () => Promise.resolve().then(() => Grid), "/src/components/wonderform/config/modules/Input-删除.vue": () => import("./Input-删除-61d9c067.js"), "/src/components/wonderform/config/modules/Label-删除.vue": () => import("./Label-删除-9fbe3f2f.js"), "/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": () => import("./Table-15d32ea9.js"), "/src/components/wonderform/config/modules/TableBtnModal.vue": () => import("./TableBtnModal-e2887984.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/design/Form.vue": () => import("./Form-40f53810.js"), "/src/components/wonderform/design/index.vue": () => Promise.resolve().then(() => index$7), "/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-c5ccfaa0.js"), "/src/components/wonderform/design/modules/FormInput.vue": () => Promise.resolve().then(() => FormInput$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$4), "/src/components/wonderform/dsource/modules/SqlModule.vue": () => import("./SqlModule-a388631a.js"), "/src/components/wonderform/header/Header.vue": () => Promise.resolve().then(() => Header), "/src/components/wonderform/header/modules/Code.vue": () => import("./Code-ec774974.js"), "/src/components/wonderform/index.vue": () => Promise.resolve().then(() => index$3), "/src/components/wonderform/tool/index.vue": () => Promise.resolve().then(() => index$9), "/src/components/wonderreport/Demo.vue": () => import("./Demo-be0d3a37.js"), "/src/components/wonderreport/ReportModule.vue": () => import("./ReportModule-086a529c.js"), "/src/components/wonderreport/header/index.vue": () => Promise.resolve().then(() => index$2), "/src/components/wonderreport/index.vue": () => Promise.resolve().then(() => index$1), "/src/views/formTest.vue": () => import("./formTest-6e3a4800.js"), "/src/views/sys/login/Login.vue": () => import("./Login-0adf8e46.js"), "/src/views/workbench/index.vue": () => import("./index-2865adbe.js") }), H = W, K = computed(() => {
|
|
189327
189349
|
if (H.filePath) {
|
|
189328
189350
|
let G = `/src/${H.filePath}.vue`;
|
|
189329
189351
|
return H.filePath ? Object.keys(C).includes(G) : !1;
|
|
@@ -191245,6 +191267,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
191245
191267
|
return generateTs(), {
|
|
191246
191268
|
computed,
|
|
191247
191269
|
formData,
|
|
191270
|
+
handleChangeTab,
|
|
191248
191271
|
getDictItemsByCode,
|
|
191249
191272
|
formatMultipleSelectValue,
|
|
191250
191273
|
formatMultipleTreeSelectValue,
|
|
@@ -191314,6 +191337,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
191314
191337
|
return W;
|
|
191315
191338
|
}
|
|
191316
191339
|
}
|
|
191340
|
+
function handleChangeTab(W, C) {
|
|
191341
|
+
demoRefs = [], C(W);
|
|
191342
|
+
}
|
|
191317
191343
|
return (W, C) => (openBlock(), createBlock(unref(generateVue3), { ref: setRef }));
|
|
191318
191344
|
}
|
|
191319
191345
|
}), GenerateForm_vue_vue_type_style_index_0_lang = "", testjson = [
|
|
@@ -198134,7 +198160,7 @@ const _hoisted_1$7 = { class: "flex-div" }, _hoisted_2$3 = ["title"], _hoisted_3
|
|
|
198134
198160
|
{ id: "12", type: "cascader", name: "级联选择", icon: "cascader", required: !1, width: "100%", extended: "" },
|
|
198135
198161
|
{ id: "13", type: "tableselect", name: "表下拉选择", icon: "tableselect", required: !1, width: "100%", extended: "" },
|
|
198136
198162
|
{ id: "14", type: "image", name: "图片", icon: "image", required: !1, width: "100%", extended: "" },
|
|
198137
|
-
{ id: "15", type: "inputnumber", name: "数字", icon: "inputnumber", required: !1, width: "100%",
|
|
198163
|
+
{ id: "15", type: "inputnumber", name: "数字", icon: "inputnumber", required: !1, width: "100%", minCheck: !0, maxCheck: !0, step: 1, precision: null, extended: "" }
|
|
198138
198164
|
]
|
|
198139
198165
|
},
|
|
198140
198166
|
{
|
|
@@ -198211,7 +198237,7 @@ const _hoisted_1$7 = { class: "flex-div" }, _hoisted_2$3 = ["title"], _hoisted_3
|
|
|
198211
198237
|
props: {
|
|
198212
198238
|
id: {
|
|
198213
198239
|
type: Number,
|
|
198214
|
-
default:
|
|
198240
|
+
default: 33
|
|
198215
198241
|
}
|
|
198216
198242
|
},
|
|
198217
198243
|
setup(W) {
|
|
@@ -198341,7 +198367,7 @@ const _hoisted_1$7 = { class: "flex-div" }, _hoisted_2$3 = ["title"], _hoisted_3
|
|
|
198341
198367
|
});
|
|
198342
198368
|
};
|
|
198343
198369
|
}
|
|
198344
|
-
}),
|
|
198370
|
+
}), index_vue_vue_type_style_index_0_scoped_fba5f2e3_lang = "", FormImage = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-fba5f2e3"]]), index$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
198345
198371
|
__proto__: null,
|
|
198346
198372
|
default: FormImage
|
|
198347
198373
|
}, Symbol.toStringTag, { value: "Module" })), _withScopeId = (W) => (pushScopeId("data-v-7f7a30c9"), W = W(), popScopeId(), W), _hoisted_1$4 = {
|
|
@@ -198362,7 +198388,7 @@ const _hoisted_1$7 = { class: "flex-div" }, _hoisted_2$3 = ["title"], _hoisted_3
|
|
|
198362
198388
|
}
|
|
198363
198389
|
},
|
|
198364
198390
|
setup(W) {
|
|
198365
|
-
const C = useUserStore(), H = useDataStore(), K = computed(() => Object.keys(/* @__PURE__ */ Object.assign({ "/src/assets/svg/arrow.svg": () => import("./arrow-0f9d2c91.js"), "/src/assets/svg/btn.svg": () => import("./btn-b21f7c84.js"), "/src/assets/svg/cascader.svg": () => import("./cascader-ae36df3a.js"), "/src/assets/svg/checkbox.svg": () => import("./checkbox-9b8d83b2.js"), "/src/assets/svg/clear.svg": () => import("./clear-1a0a9f39.js"), "/src/assets/svg/code.svg": () => import("./code-8bc35074.js"), "/src/assets/svg/collapse.svg": () => import("./collapse-d0408569.js"), "/src/assets/svg/date.svg": () => import("./date-9c868f87.js"), "/src/assets/svg/empty.svg": () => import("./empty-522f9087.js"), "/src/assets/svg/formvue.svg": () => import("./formvue-60a6a48b.js"), "/src/assets/svg/fx.svg": () => import("./fx-06f3849d.js"), "/src/assets/svg/grid.svg": () => import("./grid-a022fe60.js"), "/src/assets/svg/header.svg": () => import("./header-ece15275.js"), "/src/assets/svg/image.svg": () => import("./image-07d01468.js"), "/src/assets/svg/ing.svg": () => import("./ing-3d76e308.js"), "/src/assets/svg/input.svg": () => import("./input-0a4693f1.js"), "/src/assets/svg/inputnumber.svg": () => import("./inputnumber-ff44a61d.js"), "/src/assets/svg/json.svg": () => import("./json-bdb5fbed.js"), "/src/assets/svg/label.svg": () => import("./label-4c915d4b.js"), "/src/assets/svg/placeholder.svg": () => import("./placeholder-353fc87b.js"), "/src/assets/svg/preview.svg": () => import("./preview-c435bde2.js"), "/src/assets/svg/radio.svg": () => import("./radio-c2693f5c.js"), "/src/assets/svg/report.svg": () => import("./report-e73dacb2.js"), "/src/assets/svg/save.svg": () => import("./save-2af76f8e.js"), "/src/assets/svg/select.svg": () => import("./select-99eba5a8.js"), "/src/assets/svg/table.svg": () => import("./table-fe94632c.js"), "/src/assets/svg/tableselect.svg": () => import("./tableselect-3192a9ef.js"), "/src/assets/svg/tabs.svg": () => import("./tabs-5ee259b5.js"), "/src/assets/svg/textarea.svg": () => import("./textarea-56e3ca98.js"), "/src/assets/svg/tree.svg": () => import("./tree-4a52a648.js") })).map((ge) => {
|
|
198391
|
+
const C = useUserStore(), H = useDataStore(), K = computed(() => Object.keys(/* @__PURE__ */ Object.assign({ "/src/assets/svg/arrow.svg": () => import("./arrow-0f9d2c91.js"), "/src/assets/svg/btn.svg": () => import("./btn-b21f7c84.js"), "/src/assets/svg/cascader.svg": () => import("./cascader-ae36df3a.js"), "/src/assets/svg/checkbox.svg": () => import("./checkbox-9b8d83b2.js"), "/src/assets/svg/clear.svg": () => import("./clear-1a0a9f39.js"), "/src/assets/svg/code.svg": () => import("./code-8bc35074.js"), "/src/assets/svg/collapse.svg": () => import("./collapse-d0408569.js"), "/src/assets/svg/date.svg": () => import("./date-9c868f87.js"), "/src/assets/svg/empty.svg": () => import("./empty-522f9087.js"), "/src/assets/svg/formvue.svg": () => import("./formvue-60a6a48b.js"), "/src/assets/svg/fx.svg": () => import("./fx-06f3849d.js"), "/src/assets/svg/grid.svg": () => import("./grid-a022fe60.js"), "/src/assets/svg/header.svg": () => import("./header-ece15275.js"), "/src/assets/svg/image.svg": () => import("./image-07d01468.js"), "/src/assets/svg/ing.svg": () => import("./ing-3d76e308.js"), "/src/assets/svg/input.svg": () => import("./input-0a4693f1.js"), "/src/assets/svg/inputnumber.svg": () => import("./inputnumber-ff44a61d.js"), "/src/assets/svg/json.svg": () => import("./json-bdb5fbed.js"), "/src/assets/svg/label.svg": () => import("./label-4c915d4b.js"), "/src/assets/svg/placeholder.svg": () => import("./placeholder-353fc87b.js"), "/src/assets/svg/preview.svg": () => import("./preview-c435bde2.js"), "/src/assets/svg/radio.svg": () => import("./radio-c2693f5c.js"), "/src/assets/svg/report.svg": () => import("./report-e73dacb2.js"), "/src/assets/svg/save.svg": () => import("./save-2af76f8e.js"), "/src/assets/svg/select.svg": () => import("./select-99eba5a8.js"), "/src/assets/svg/table.svg": () => import("./table-fe94632c.js"), "/src/assets/svg/tableselect.svg": () => import("./tableselect-3192a9ef.js"), "/src/assets/svg/tabs.svg": () => import("./tabs-5ee259b5.js"), "/src/assets/svg/textarea.svg": () => import("./textarea-56e3ca98.js"), "/src/assets/svg/tree.svg": () => import("./tree-4a52a648.js"), "/src/assets/svg/xx.svg": () => import("./xx-10698037.js") })).map((ge) => {
|
|
198366
198392
|
let fe = ge.split("/");
|
|
198367
198393
|
return fe[fe.length - 1].split(".")[0];
|
|
198368
198394
|
}));
|