cd-form 2.0.47 → 2.0.49
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/cd-form.js +119 -123
- package/dist/cd-form.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cd-form.js
CHANGED
|
@@ -39,7 +39,7 @@ const ai = /* @__PURE__ */ Nt({
|
|
|
39
39
|
"Content-Type": "application/json"
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
function
|
|
42
|
+
function x5(e) {
|
|
43
43
|
e.baseURL !== void 0 && (Rr.baseURL = e.baseURL, on.defaults.baseURL = e.baseURL), e.getToken && (Rr.getToken = e.getToken), e.getOrgId && (Rr.getOrgId = e.getOrgId);
|
|
44
44
|
}
|
|
45
45
|
on.interceptors.request.use((e) => {
|
|
@@ -40163,28 +40163,28 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
40163
40163
|
for (const [r, n] of a)
|
|
40164
40164
|
t[r] = n;
|
|
40165
40165
|
return t;
|
|
40166
|
-
}, of = /* @__PURE__ */ B6(L6, [["__scopeId", "data-v-a175ef28"]]), $6 = { class: "cd-form-container" }, V6 = {
|
|
40167
|
-
key: 0,
|
|
40168
|
-
class: "cd-form-header"
|
|
40169
|
-
}, U6 = { class: "header-left" }, z6 = { class: "header-title" }, W6 = { class: "header-right" }, H6 = { class: "view-mode-btns" }, G6 = { class: "cd-form-toolbar" }, X6 = { class: "toolbar-left" }, j6 = {
|
|
40166
|
+
}, of = /* @__PURE__ */ B6(L6, [["__scopeId", "data-v-a175ef28"]]), $6 = { class: "cd-form-container" }, V6 = { class: "cd-form-toolbar" }, U6 = { class: "toolbar-left" }, z6 = {
|
|
40170
40167
|
key: 1,
|
|
40171
40168
|
class: "toolbar-filter"
|
|
40172
|
-
},
|
|
40169
|
+
}, W6 = {
|
|
40170
|
+
key: 0,
|
|
40171
|
+
class: "header-title"
|
|
40172
|
+
}, H6 = { class: "view-mode-btns" }, G6 = {
|
|
40173
40173
|
key: 2,
|
|
40174
40174
|
class: "toolbar-tab-group"
|
|
40175
|
-
},
|
|
40175
|
+
}, X6 = { class: "toolbar-right" }, j6 = { class: "group-dialog-content" }, K6 = { class: "group-merge-switch" }, Y6 = { class: "switch-tip" }, q6 = {
|
|
40176
40176
|
key: 0,
|
|
40177
40177
|
class: "cd-form-left-tree"
|
|
40178
|
-
},
|
|
40178
|
+
}, J6 = { class: "left-tree-toolbar" }, Z6 = { class: "left-tree-title" }, Q6 = { class: "tree-context-menu" }, e5 = { class: "cd-form-right-content" }, t5 = {
|
|
40179
40179
|
key: 0,
|
|
40180
40180
|
style: { "font-weight": "600", color: "#0052d9" }
|
|
40181
|
-
},
|
|
40181
|
+
}, a5 = { class: "expand-wrapper" }, r5 = {
|
|
40182
40182
|
key: 0,
|
|
40183
40183
|
class: "sub-grid-section"
|
|
40184
|
-
},
|
|
40184
|
+
}, n5 = { class: "sub-grid-title" }, i5 = {
|
|
40185
40185
|
key: 4,
|
|
40186
40186
|
class: "cd-form-pagination"
|
|
40187
|
-
},
|
|
40187
|
+
}, l5 = { style: { "white-space": "pre-wrap", "word-break": "break-all", margin: "0", "font-size": "13px" } }, s5 = /* @__PURE__ */ Nt({
|
|
40188
40188
|
__name: "CdForm",
|
|
40189
40189
|
props: {
|
|
40190
40190
|
formData: {},
|
|
@@ -42227,81 +42227,8 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42227
42227
|
var xo, _o, ko, yo, wo, bo;
|
|
42228
42228
|
const P = de("t-button"), G = de("t-tooltip"), ce = de("t-radio-button"), me = de("t-radio-group"), be = de("t-tab-panel"), Ve = de("t-tabs"), tt = de("t-badge"), je = de("t-dropdown-item"), Je = de("t-dropdown-menu"), nt = de("t-dropdown"), kt = de("t-select"), yt = de("t-switch"), Ot = de("t-dialog"), rt = de("t-radio"), Lt = de("t-tree"), dr = de("t-popup"), Gr = de("t-tag"), Jn = de("vxe-grid"), Pi = de("t-space"), Cl = de("t-pagination"), Sl = de("t-drawer"), td = de("t-input"), ad = de("t-form-item"), rd = de("t-form");
|
|
42229
42229
|
return x(), F("div", $6, [
|
|
42230
|
-
|
|
42230
|
+
f("div", V6, [
|
|
42231
42231
|
f("div", U6, [
|
|
42232
|
-
f("span", z6, le(J.value), 1)
|
|
42233
|
-
]),
|
|
42234
|
-
f("div", W6, [
|
|
42235
|
-
f("div", H6, [
|
|
42236
|
-
V(G, { content: "表格" }, {
|
|
42237
|
-
default: R(() => [
|
|
42238
|
-
V(P, {
|
|
42239
|
-
variant: ee.value === "table" ? "base" : "text",
|
|
42240
|
-
size: "small",
|
|
42241
|
-
shape: "square",
|
|
42242
|
-
onClick: b[0] || (b[0] = (Oe) => ee.value = "table")
|
|
42243
|
-
}, {
|
|
42244
|
-
icon: R(() => [...b[44] || (b[44] = [
|
|
42245
|
-
f("i", { class: "ri-table-2" }, null, -1)
|
|
42246
|
-
])]),
|
|
42247
|
-
_: 1
|
|
42248
|
-
}, 8, ["variant"])
|
|
42249
|
-
]),
|
|
42250
|
-
_: 1
|
|
42251
|
-
}),
|
|
42252
|
-
V(G, { content: "看板" }, {
|
|
42253
|
-
default: R(() => [
|
|
42254
|
-
V(P, {
|
|
42255
|
-
variant: ee.value === "kanban" ? "base" : "text",
|
|
42256
|
-
size: "small",
|
|
42257
|
-
shape: "square",
|
|
42258
|
-
onClick: b[1] || (b[1] = (Oe) => ee.value = "kanban")
|
|
42259
|
-
}, {
|
|
42260
|
-
icon: R(() => [...b[45] || (b[45] = [
|
|
42261
|
-
f("i", { class: "ri-layout-column-line" }, null, -1)
|
|
42262
|
-
])]),
|
|
42263
|
-
_: 1
|
|
42264
|
-
}, 8, ["variant"])
|
|
42265
|
-
]),
|
|
42266
|
-
_: 1
|
|
42267
|
-
}),
|
|
42268
|
-
V(G, { content: "甘特" }, {
|
|
42269
|
-
default: R(() => [
|
|
42270
|
-
V(P, {
|
|
42271
|
-
variant: ee.value === "gantt" ? "base" : "text",
|
|
42272
|
-
size: "small",
|
|
42273
|
-
shape: "square",
|
|
42274
|
-
onClick: b[2] || (b[2] = (Oe) => ee.value = "gantt")
|
|
42275
|
-
}, {
|
|
42276
|
-
icon: R(() => [...b[46] || (b[46] = [
|
|
42277
|
-
f("i", { class: "ri-bar-chart-horizontal-line" }, null, -1)
|
|
42278
|
-
])]),
|
|
42279
|
-
_: 1
|
|
42280
|
-
}, 8, ["variant"])
|
|
42281
|
-
]),
|
|
42282
|
-
_: 1
|
|
42283
|
-
}),
|
|
42284
|
-
V(G, { content: "日历" }, {
|
|
42285
|
-
default: R(() => [
|
|
42286
|
-
V(P, {
|
|
42287
|
-
variant: ee.value === "calendar" ? "base" : "text",
|
|
42288
|
-
size: "small",
|
|
42289
|
-
shape: "square",
|
|
42290
|
-
onClick: b[3] || (b[3] = (Oe) => ee.value = "calendar")
|
|
42291
|
-
}, {
|
|
42292
|
-
icon: R(() => [...b[47] || (b[47] = [
|
|
42293
|
-
f("i", { class: "ri-calendar-line" }, null, -1)
|
|
42294
|
-
])]),
|
|
42295
|
-
_: 1
|
|
42296
|
-
}, 8, ["variant"])
|
|
42297
|
-
]),
|
|
42298
|
-
_: 1
|
|
42299
|
-
})
|
|
42300
|
-
])
|
|
42301
|
-
])
|
|
42302
|
-
])) : ke("", !0),
|
|
42303
|
-
f("div", G6, [
|
|
42304
|
-
f("div", X6, [
|
|
42305
42232
|
(xo = u.value.treeConfig) != null && xo.enabled ? (x(), pe(G, {
|
|
42306
42233
|
key: 0,
|
|
42307
42234
|
content: Ga.value ? "切换为列表" : "切换为树形"
|
|
@@ -42311,7 +42238,7 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42311
42238
|
variant: "text",
|
|
42312
42239
|
size: "small",
|
|
42313
42240
|
shape: "square",
|
|
42314
|
-
onClick: b[
|
|
42241
|
+
onClick: b[0] || (b[0] = (Oe) => Ga.value = !Ga.value)
|
|
42315
42242
|
}, {
|
|
42316
42243
|
icon: R(() => [
|
|
42317
42244
|
f("i", {
|
|
@@ -42323,7 +42250,7 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42323
42250
|
]),
|
|
42324
42251
|
_: 1
|
|
42325
42252
|
}, 8, ["content"])) : ke("", !0),
|
|
42326
|
-
e.showFilter && at.value && at.value.length > 0 ? (x(), F("div",
|
|
42253
|
+
e.showFilter && at.value && at.value.length > 0 ? (x(), F("div", z6, [
|
|
42327
42254
|
V(Nr(VA), {
|
|
42328
42255
|
"field-options": at.value,
|
|
42329
42256
|
"filter-count": 2,
|
|
@@ -42348,16 +42275,19 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42348
42275
|
onColorFilterClear: $f,
|
|
42349
42276
|
onRefresh: b[6] || (b[6] = (Oe) => o("refresh"))
|
|
42350
42277
|
}, {
|
|
42278
|
+
header: R(() => [
|
|
42279
|
+
e.showHeader ? (x(), F("span", W6, le(J.value), 1)) : ke("", !0)
|
|
42280
|
+
]),
|
|
42351
42281
|
"plan-row-right": R(() => [
|
|
42352
42282
|
V(me, {
|
|
42353
42283
|
value: oe.value ? "inline" : "drawer",
|
|
42354
42284
|
variant: "default-filled",
|
|
42355
42285
|
size: "small",
|
|
42356
|
-
onChange: b[
|
|
42286
|
+
onChange: b[1] || (b[1] = (Oe) => ne.value = Oe)
|
|
42357
42287
|
}, {
|
|
42358
42288
|
default: R(() => [
|
|
42359
42289
|
V(ce, { value: "inline" }, {
|
|
42360
|
-
default: R(() => [...b[
|
|
42290
|
+
default: R(() => [...b[44] || (b[44] = [
|
|
42361
42291
|
f("i", {
|
|
42362
42292
|
class: "ri-table-line",
|
|
42363
42293
|
style: { color: "#1890ff" }
|
|
@@ -42367,7 +42297,7 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42367
42297
|
_: 1
|
|
42368
42298
|
}),
|
|
42369
42299
|
V(ce, { value: "drawer" }, {
|
|
42370
|
-
default: R(() => [...b[
|
|
42300
|
+
default: R(() => [...b[45] || (b[45] = [
|
|
42371
42301
|
f("i", {
|
|
42372
42302
|
class: "ri-layout-right-line",
|
|
42373
42303
|
style: { color: "#fa8c16" }
|
|
@@ -42378,12 +42308,78 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42378
42308
|
})
|
|
42379
42309
|
]),
|
|
42380
42310
|
_: 1
|
|
42381
|
-
}, 8, ["value"])
|
|
42311
|
+
}, 8, ["value"]),
|
|
42312
|
+
f("div", H6, [
|
|
42313
|
+
V(G, { content: "表格" }, {
|
|
42314
|
+
default: R(() => [
|
|
42315
|
+
V(P, {
|
|
42316
|
+
variant: ee.value === "table" ? "base" : "text",
|
|
42317
|
+
size: "small",
|
|
42318
|
+
shape: "square",
|
|
42319
|
+
onClick: b[2] || (b[2] = (Oe) => ee.value = "table")
|
|
42320
|
+
}, {
|
|
42321
|
+
icon: R(() => [...b[46] || (b[46] = [
|
|
42322
|
+
f("i", { class: "ri-table-2" }, null, -1)
|
|
42323
|
+
])]),
|
|
42324
|
+
_: 1
|
|
42325
|
+
}, 8, ["variant"])
|
|
42326
|
+
]),
|
|
42327
|
+
_: 1
|
|
42328
|
+
}),
|
|
42329
|
+
V(G, { content: "看板" }, {
|
|
42330
|
+
default: R(() => [
|
|
42331
|
+
V(P, {
|
|
42332
|
+
variant: ee.value === "kanban" ? "base" : "text",
|
|
42333
|
+
size: "small",
|
|
42334
|
+
shape: "square",
|
|
42335
|
+
onClick: b[3] || (b[3] = (Oe) => ee.value = "kanban")
|
|
42336
|
+
}, {
|
|
42337
|
+
icon: R(() => [...b[47] || (b[47] = [
|
|
42338
|
+
f("i", { class: "ri-layout-column-line" }, null, -1)
|
|
42339
|
+
])]),
|
|
42340
|
+
_: 1
|
|
42341
|
+
}, 8, ["variant"])
|
|
42342
|
+
]),
|
|
42343
|
+
_: 1
|
|
42344
|
+
}),
|
|
42345
|
+
V(G, { content: "甘特" }, {
|
|
42346
|
+
default: R(() => [
|
|
42347
|
+
V(P, {
|
|
42348
|
+
variant: ee.value === "gantt" ? "base" : "text",
|
|
42349
|
+
size: "small",
|
|
42350
|
+
shape: "square",
|
|
42351
|
+
onClick: b[4] || (b[4] = (Oe) => ee.value = "gantt")
|
|
42352
|
+
}, {
|
|
42353
|
+
icon: R(() => [...b[48] || (b[48] = [
|
|
42354
|
+
f("i", { class: "ri-bar-chart-horizontal-line" }, null, -1)
|
|
42355
|
+
])]),
|
|
42356
|
+
_: 1
|
|
42357
|
+
}, 8, ["variant"])
|
|
42358
|
+
]),
|
|
42359
|
+
_: 1
|
|
42360
|
+
}),
|
|
42361
|
+
V(G, { content: "日历" }, {
|
|
42362
|
+
default: R(() => [
|
|
42363
|
+
V(P, {
|
|
42364
|
+
variant: ee.value === "calendar" ? "base" : "text",
|
|
42365
|
+
size: "small",
|
|
42366
|
+
shape: "square",
|
|
42367
|
+
onClick: b[5] || (b[5] = (Oe) => ee.value = "calendar")
|
|
42368
|
+
}, {
|
|
42369
|
+
icon: R(() => [...b[49] || (b[49] = [
|
|
42370
|
+
f("i", { class: "ri-calendar-line" }, null, -1)
|
|
42371
|
+
])]),
|
|
42372
|
+
_: 1
|
|
42373
|
+
}, 8, ["variant"])
|
|
42374
|
+
]),
|
|
42375
|
+
_: 1
|
|
42376
|
+
})
|
|
42377
|
+
])
|
|
42382
42378
|
]),
|
|
42383
42379
|
_: 1
|
|
42384
42380
|
}, 8, ["field-options", "select-options", "plan-filter-options", "visible-columns"])
|
|
42385
42381
|
])) : ke("", !0),
|
|
42386
|
-
Ar.value.length > 0 ? (x(), F("div",
|
|
42382
|
+
Ar.value.length > 0 ? (x(), F("div", G6, [
|
|
42387
42383
|
V(Ve, {
|
|
42388
42384
|
modelValue: O.value,
|
|
42389
42385
|
"onUpdate:modelValue": b[7] || (b[7] = (Oe) => O.value = Oe),
|
|
@@ -42409,7 +42405,7 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42409
42405
|
}, 8, ["modelValue"])
|
|
42410
42406
|
])) : ke("", !0)
|
|
42411
42407
|
]),
|
|
42412
|
-
f("div",
|
|
42408
|
+
f("div", X6, [
|
|
42413
42409
|
oe.value && oo.value > 0 ? (x(), pe(tt, {
|
|
42414
42410
|
key: 0,
|
|
42415
42411
|
count: oo.value,
|
|
@@ -42565,7 +42561,7 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42565
42561
|
onClose: Kf
|
|
42566
42562
|
}, {
|
|
42567
42563
|
default: R(() => [
|
|
42568
|
-
f("div",
|
|
42564
|
+
f("div", j6, [
|
|
42569
42565
|
V(kt, {
|
|
42570
42566
|
modelValue: Tt.value,
|
|
42571
42567
|
"onUpdate:modelValue": b[9] || (b[9] = (Oe) => Tt.value = Oe),
|
|
@@ -42575,13 +42571,13 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42575
42571
|
multiple: "",
|
|
42576
42572
|
clearable: ""
|
|
42577
42573
|
}, null, 8, ["modelValue", "options"]),
|
|
42578
|
-
f("div",
|
|
42574
|
+
f("div", K6, [
|
|
42579
42575
|
b[57] || (b[57] = f("span", { class: "switch-label" }, "分组:", -1)),
|
|
42580
42576
|
V(yt, {
|
|
42581
42577
|
modelValue: Kt.value,
|
|
42582
42578
|
"onUpdate:modelValue": b[10] || (b[10] = (Oe) => Kt.value = Oe)
|
|
42583
42579
|
}, null, 8, ["modelValue"]),
|
|
42584
|
-
f("span",
|
|
42580
|
+
f("span", Y6, le(Kt.value ? "字段合并分组" : "独立分组"), 1)
|
|
42585
42581
|
])
|
|
42586
42582
|
])
|
|
42587
42583
|
]),
|
|
@@ -42635,7 +42631,7 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42635
42631
|
onDownloadTemplate: qf
|
|
42636
42632
|
}, null, 8, ["visible", "mode", "fields", "required-fields", "template-file-name", "model-id", "api-base", "identifier-field"]),
|
|
42637
42633
|
Da.value ? (x(), pe(Nr(of), {
|
|
42638
|
-
key:
|
|
42634
|
+
key: 0,
|
|
42639
42635
|
visible: Da.value,
|
|
42640
42636
|
"onUpdate:visible": b[15] || (b[15] = (Oe) => Da.value = Oe),
|
|
42641
42637
|
title: "单据分享",
|
|
@@ -42650,9 +42646,9 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42650
42646
|
f("div", {
|
|
42651
42647
|
class: Qe(["cd-form-body", { "has-left-tree": u.value.type === 2 }])
|
|
42652
42648
|
}, [
|
|
42653
|
-
u.value.type === 2 ? (x(), F("div",
|
|
42654
|
-
f("div",
|
|
42655
|
-
f("span",
|
|
42649
|
+
u.value.type === 2 ? (x(), F("div", q6, [
|
|
42650
|
+
f("div", J6, [
|
|
42651
|
+
f("span", Z6, le(u.value.treeTitle || "分类"), 1),
|
|
42656
42652
|
V(G, { content: "新增根节点" }, {
|
|
42657
42653
|
default: R(() => [
|
|
42658
42654
|
V(P, {
|
|
@@ -42731,7 +42727,7 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42731
42727
|
placement: "bottom-left"
|
|
42732
42728
|
}, {
|
|
42733
42729
|
content: R(() => [
|
|
42734
|
-
f("div",
|
|
42730
|
+
f("div", Q6, [
|
|
42735
42731
|
f("div", {
|
|
42736
42732
|
class: "tree-context-menu-item",
|
|
42737
42733
|
onClick: b[18] || (b[18] = (Oe) => Se(we.value))
|
|
@@ -42752,7 +42748,7 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42752
42748
|
_: 1
|
|
42753
42749
|
}, 8, ["visible", "attach"])
|
|
42754
42750
|
])) : ke("", !0),
|
|
42755
|
-
f("div",
|
|
42751
|
+
f("div", e5, [
|
|
42756
42752
|
ee.value === "table" ? (x(), F("div", {
|
|
42757
42753
|
key: 0,
|
|
42758
42754
|
class: "cd-form-table",
|
|
@@ -42781,7 +42777,7 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42781
42777
|
}
|
|
42782
42778
|
}), On({
|
|
42783
42779
|
checkbox_footer: R(({ $rowIndex: Oe }) => [
|
|
42784
|
-
vt.footerData && vt.footerData[Oe] ? (x(), F("span",
|
|
42780
|
+
vt.footerData && vt.footerData[Oe] ? (x(), F("span", t5, le(vt.footerData[Oe].checkbox), 1)) : ke("", !0)
|
|
42785
42781
|
]),
|
|
42786
42782
|
nameGroupContent: R(({ groupContent: Oe }) => [
|
|
42787
42783
|
V(Gr, {
|
|
@@ -42798,12 +42794,12 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42798
42794
|
xe(le(Oe[wt.field]), 1)
|
|
42799
42795
|
]),
|
|
42800
42796
|
expand_content_unified: R(({ row: Oe }) => [
|
|
42801
|
-
f("div",
|
|
42797
|
+
f("div", a5, [
|
|
42802
42798
|
(x(!0), F(Pe, null, ze(vo.value, (wt) => (x(), F(Pe, {
|
|
42803
42799
|
key: `content_${wt.vModel}`
|
|
42804
42800
|
}, [
|
|
42805
|
-
mo(Oe, wt.vModel) ? (x(), F("div",
|
|
42806
|
-
f("div",
|
|
42801
|
+
mo(Oe, wt.vModel) ? (x(), F("div", r5, [
|
|
42802
|
+
f("div", n5, le(wt.label), 1),
|
|
42807
42803
|
V(Jn, Oa({ ref_for: !0 }, ed, {
|
|
42808
42804
|
data: Oe[wt.vModel] || [],
|
|
42809
42805
|
columns: Qf(wt)
|
|
@@ -42932,7 +42928,7 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
42932
42928
|
config: u.value.calendarConfig || { dateField: "", titleField: "" },
|
|
42933
42929
|
onEventClick: b[26] || (b[26] = (Oe) => o("row-click", Oe))
|
|
42934
42930
|
}, null, 8, ["data", "config"])) : ke("", !0),
|
|
42935
|
-
ee.value === "table" && u.value.hasPage && _a.value.length > 0 ? (x(), F("div",
|
|
42931
|
+
ee.value === "table" && u.value.hasPage && _a.value.length > 0 ? (x(), F("div", i5, [
|
|
42936
42932
|
V(Cl, {
|
|
42937
42933
|
modelValue: ta.value,
|
|
42938
42934
|
"onUpdate:modelValue": b[27] || (b[27] = (Oe) => ta.value = Oe),
|
|
@@ -43037,7 +43033,7 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
43037
43033
|
])
|
|
43038
43034
|
], 2),
|
|
43039
43035
|
s.modelId ? (x(), pe(Ot, {
|
|
43040
|
-
key:
|
|
43036
|
+
key: 1,
|
|
43041
43037
|
visible: _e.visible,
|
|
43042
43038
|
"onUpdate:visible": b[39] || (b[39] = (Oe) => _e.visible = Oe),
|
|
43043
43039
|
header: _e.title,
|
|
@@ -43078,14 +43074,14 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
43078
43074
|
onClose: b[43] || (b[43] = (Oe) => ht.visible = !1)
|
|
43079
43075
|
}, {
|
|
43080
43076
|
default: R(() => [
|
|
43081
|
-
f("pre",
|
|
43077
|
+
f("pre", l5, le(ht.body), 1)
|
|
43082
43078
|
]),
|
|
43083
43079
|
_: 1
|
|
43084
43080
|
}, 8, ["visible", "header"])
|
|
43085
43081
|
]);
|
|
43086
43082
|
};
|
|
43087
43083
|
}
|
|
43088
|
-
}), cf = /* @__PURE__ */ Ut(
|
|
43084
|
+
}), cf = /* @__PURE__ */ Ut(s5, [["__scopeId", "data-v-8e784bdd"]]), o5 = { class: "field-manage-header" }, c5 = { class: "field-manage-content" }, u5 = { class: "field-manage-toolbar" }, f5 = /* @__PURE__ */ Nt({
|
|
43089
43085
|
__name: "FieldManageDialog",
|
|
43090
43086
|
props: {
|
|
43091
43087
|
modelValue: { type: Boolean },
|
|
@@ -43372,7 +43368,7 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
43372
43368
|
onClose: E
|
|
43373
43369
|
}, {
|
|
43374
43370
|
header: R(() => [
|
|
43375
|
-
f("div",
|
|
43371
|
+
f("div", o5, [
|
|
43376
43372
|
C[3] || (C[3] = f("span", null, "字段管理", -1)),
|
|
43377
43373
|
V(y, {
|
|
43378
43374
|
theme: "primary",
|
|
@@ -43391,8 +43387,8 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
43391
43387
|
])
|
|
43392
43388
|
]),
|
|
43393
43389
|
default: R(() => [
|
|
43394
|
-
f("div",
|
|
43395
|
-
f("div",
|
|
43390
|
+
f("div", c5, [
|
|
43391
|
+
f("div", u5, [
|
|
43396
43392
|
V(y, {
|
|
43397
43393
|
theme: "primary",
|
|
43398
43394
|
onClick: o,
|
|
@@ -43519,8 +43515,8 @@ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA =
|
|
|
43519
43515
|
}, 8, ["visible"]);
|
|
43520
43516
|
};
|
|
43521
43517
|
}
|
|
43522
|
-
}),
|
|
43523
|
-
function
|
|
43518
|
+
}), d5 = /* @__PURE__ */ Ut(f5, [["__scopeId", "data-v-36fbcb77"]]);
|
|
43519
|
+
function _5(e) {
|
|
43524
43520
|
const {
|
|
43525
43521
|
formModel: a,
|
|
43526
43522
|
formConf: t,
|
|
@@ -43738,7 +43734,7 @@ function w5(e) {
|
|
|
43738
43734
|
}
|
|
43739
43735
|
};
|
|
43740
43736
|
}
|
|
43741
|
-
async function
|
|
43737
|
+
async function k5(e, a, t) {
|
|
43742
43738
|
if (!e || !e.trim())
|
|
43743
43739
|
return { success: !0 };
|
|
43744
43740
|
try {
|
|
@@ -43773,20 +43769,20 @@ async function b5(e, a, t) {
|
|
|
43773
43769
|
return console.error("Script execution error:", r), { success: !1, error: r.message };
|
|
43774
43770
|
}
|
|
43775
43771
|
}
|
|
43776
|
-
const
|
|
43772
|
+
const y5 = {
|
|
43777
43773
|
install(e) {
|
|
43778
|
-
e.component("CdForm", cf), e.component("CdFormCol", ai), e.component("FormRender", Yc), e.component("ShareDialog", of), e.component("FieldManageDialog",
|
|
43774
|
+
e.component("CdForm", cf), e.component("CdFormCol", ai), e.component("FormRender", Yc), e.component("ShareDialog", of), e.component("FieldManageDialog", d5), e.component("ImportWizard", lf);
|
|
43779
43775
|
}
|
|
43780
43776
|
};
|
|
43781
43777
|
export {
|
|
43782
43778
|
cf as CdForm,
|
|
43783
43779
|
ai as CdFormCol,
|
|
43784
|
-
|
|
43780
|
+
d5 as FieldManageDialog,
|
|
43785
43781
|
Yc as FormRender,
|
|
43786
43782
|
lf as ImportWizard,
|
|
43787
43783
|
of as ShareDialog,
|
|
43788
|
-
|
|
43789
|
-
|
|
43790
|
-
|
|
43791
|
-
|
|
43784
|
+
_5 as createScriptAPI,
|
|
43785
|
+
y5 as default,
|
|
43786
|
+
k5 as executeScript,
|
|
43787
|
+
x5 as setupCdForm
|
|
43792
43788
|
};
|