liyu-pc-base 1.0.941 → 1.0.946
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/{FieldRender-CQJ_WyCW.js → FieldRender-BD-URbPX.js} +1 -1
- package/dist/{FieldRender2--HKtBTxJ.js → FieldRender2-DOpum8uI.js} +2 -2
- package/dist/{FormRender3-B8hHEMWn.js → FormRender3-BEhlgl1c.js} +1 -1
- package/dist/{RemoteSelectPro-BuaraY6j.js → RemoteSelectPro-Ykx-xbSi.js} +1 -1
- package/dist/{SearchRender-B-peS-uL.js → SearchRender-CLSUhXHz.js} +1 -1
- package/dist/components/index.js +8 -8
- package/dist/components/remotePages/index.js +1 -1
- package/dist/{components-CfR5h9-N.js → components-BblaBX3A.js} +10 -9
- package/dist/{dbViewConfig-DvRkdw28.js → dbViewConfig-CyJyjRUe.js} +114 -35
- package/dist/{detailTablePro-hrGfEi1o.js → detailTablePro-Dc0Iws_0.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/liyu-pc-base.css +1 -1
- package/dist/{remotePages-DIuFH_da.js → remotePages-BnSwpcvU.js} +1 -0
- package/dist/{tableModal-CiaKAZBf.js → tableModal-vbP68D9a.js} +1 -1
- package/dist/{tablePageHost-D2vZ5wl5.js → tablePageHost-g1Qy7KTO.js} +8495 -8136
- package/dist/{tablePro-Bcz6skvP.js → tablePro-CVSKEalh.js} +3 -3
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { t } from "./RemoteSelect-bjsCKGfS.js";
|
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
4
|
import { t as r } from "./RemoteCascader-BsOeNVvB.js";
|
|
5
5
|
import { t as i } from "./RemoteModal-Ca1pTaYZ.js";
|
|
6
|
-
import { n as a, r as o, t as s } from "./RemoteSelectPro-
|
|
6
|
+
import { n as a, r as o, t as s } from "./RemoteSelectPro-Ykx-xbSi.js";
|
|
7
7
|
import { t as c } from "./RemoteFilterSelect-DF906O8X.js";
|
|
8
8
|
import { t as l } from "./AttributeNomTable-DHED22ju.js";
|
|
9
9
|
import { t as u } from "./AttributeTable-muxdKpWW.js";
|
|
@@ -6,7 +6,7 @@ import { t as i } from "./lodash-CMVwnWxD.js";
|
|
|
6
6
|
import { getApiData as a } from "./api/api-model.js";
|
|
7
7
|
import { N as o, P as s, k as c, n as l, s as u } from "./function-DnoIHo24.js";
|
|
8
8
|
import { i as d, t as f } from "./RemoteModal-Ca1pTaYZ.js";
|
|
9
|
-
import { n as p, r as m, t as h } from "./RemoteSelectPro-
|
|
9
|
+
import { n as p, r as m, t as h } from "./RemoteSelectPro-Ykx-xbSi.js";
|
|
10
10
|
import { t as g } from "./RemoteFilterSelect-DF906O8X.js";
|
|
11
11
|
import { t as _ } from "./AttributeNomTable-DHED22ju.js";
|
|
12
12
|
import { t as v } from "./AttributeTable-muxdKpWW.js";
|
|
@@ -91,7 +91,7 @@ var Ae = I({
|
|
|
91
91
|
"copy"
|
|
92
92
|
],
|
|
93
93
|
setup(e, { emit: t }) {
|
|
94
|
-
let n = V({ ...e.field.form.rules }), r = H({}), i = ue(() => import("./FormRender3-
|
|
94
|
+
let n = V({ ...e.field.form.rules }), r = H({}), i = ue(() => import("./FormRender3-BEhlgl1c.js").then((e) => e.n)), a, o = () => {
|
|
95
95
|
let e = /* @__PURE__ */ new Uint8Array(16);
|
|
96
96
|
return window.crypto.getRandomValues(e), Array.from(e, (e) => e.toString(16).padStart(2, "0")).join("");
|
|
97
97
|
}, s = H([]), c = o(), l = ([t, i]) => {
|
|
@@ -2,7 +2,7 @@ import { r as e } from "./rolldown-runtime-DY7j01NX.js";
|
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { s as n } from "./function-DnoIHo24.js";
|
|
4
4
|
import { d as r } from "./TinymceEditor-RuTN5CLa.js";
|
|
5
|
-
import { t as i } from "./FieldRender2
|
|
5
|
+
import { t as i } from "./FieldRender2-DOpum8uI.js";
|
|
6
6
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createSlots as u, createTextVNode as d, createVNode as f, defineComponent as p, openBlock as m, provide as h, reactive as g, ref as _, renderList as v, resolveComponent as y, toDisplayString as b, watch as x, withCtx as S } from "vue";
|
|
7
7
|
import { message as C } from "ant-design-vue";
|
|
8
8
|
//#region src/components/FormRender/FieldCol.vue?vue&type=script&lang.ts
|
|
@@ -685,7 +685,7 @@ var Z = /*#__PURE__*/ a(ie, [["render", X]]), se = /* @__PURE__ */ e(v(), 1), ce
|
|
|
685
685
|
}, { deep: !0 });
|
|
686
686
|
let ue = (e) => {
|
|
687
687
|
m.value = e, $();
|
|
688
|
-
}, de = D(() => import("./tableModal-
|
|
688
|
+
}, de = D(() => import("./tableModal-vbP68D9a.js")), fe = () => {
|
|
689
689
|
let e = [];
|
|
690
690
|
m.value = "";
|
|
691
691
|
let t = "checkbox";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-DY7j01NX.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { t as n } from "./lodash-CMVwnWxD.js";
|
|
4
|
-
import { t as r } from "./FieldRender2
|
|
4
|
+
import { t as r } from "./FieldRender2-DOpum8uI.js";
|
|
5
5
|
import { Fragment as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, openBlock as d, renderList as f, renderSlot as p, resolveComponent as m, toDisplayString as h, vShow as g, watch as _, withCtx as v, withDirectives as y } from "vue";
|
|
6
6
|
import b from "moment";
|
|
7
7
|
import { CloseOutlined as x, LeftOutlined as S, RightOutlined as C } from "@ant-design/icons-vue";
|
package/dist/components/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { i as e, r as t } from "../RemoteSelect-bjsCKGfS.js";
|
|
2
2
|
import { t as n } from "../RemoteModal-Ca1pTaYZ.js";
|
|
3
|
-
import { t as r } from "../RemoteSelectPro-
|
|
3
|
+
import { t as r } from "../RemoteSelectPro-Ykx-xbSi.js";
|
|
4
4
|
import { t as i } from "../JsonStr-JwOPdAYW.js";
|
|
5
5
|
import { t as a } from "../JsonObj-CmylW4Or.js";
|
|
6
|
-
import { t as o } from "../FieldRender-
|
|
7
|
-
import { a as s, c, i as l, l as u, n as d, o as f, r as p, s as m, t as h, u as g } from "../components-
|
|
6
|
+
import { t as o } from "../FieldRender-BD-URbPX.js";
|
|
7
|
+
import { a as s, c, i as l, l as u, n as d, o as f, r as p, s as m, t as h, u as g } from "../components-BblaBX3A.js";
|
|
8
8
|
import { c as _, d as v, f as y, i as b } from "../TinymceEditor-RuTN5CLa.js";
|
|
9
|
-
import { t as x } from "../FieldRender2
|
|
10
|
-
import { t as S } from "../SearchRender-
|
|
11
|
-
import { t as C } from "../FormRender3-
|
|
12
|
-
import { t as w, w as T } from "../tablePro-
|
|
13
|
-
import { n as E, r as D } from "../tablePageHost-
|
|
9
|
+
import { t as x } from "../FieldRender2-DOpum8uI.js";
|
|
10
|
+
import { t as S } from "../SearchRender-CLSUhXHz.js";
|
|
11
|
+
import { t as C } from "../FormRender3-BEhlgl1c.js";
|
|
12
|
+
import { t as w, w as T } from "../tablePro-CVSKEalh.js";
|
|
13
|
+
import { n as E, r as D } from "../tablePageHost-g1Qy7KTO.js";
|
|
14
14
|
export { g as AddConditionGroupModal, t as BoldMatcher, y as CodeEditor, o as FieldRender, x as FieldRender2, c as FormRender, m as FormRender2, C as FormRender3, u as GeneralFilter, b as IconSelect, a as JsonObj, i as JsonStr, n as RemoteModal, r as RemoteSelectPro, _ as RemoteTreeSelectPro, S as SearchRender, s as SideSearchRender, T as SmallTableSerarchField, f as ViewManage, v as debugCode, l as fullLayout, e as getFormConfig, p as gridPage, E as pivotCharts, D as pivotTable, d as remotePagesV2, h as sql_db_view, w as tablePro };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "../../remotePages-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "../../remotePages-BnSwpcvU.js";
|
|
2
2
|
export { i as getConditionsHistory, n as getDefaultAndServerConfig, r as getPageConfig, t as getViewSettingsAndPageConfig, e as setConditionsHistory };
|
|
@@ -7,18 +7,18 @@ import { t as p } from "./lodash-CMVwnWxD.js";
|
|
|
7
7
|
import { getApiData as m } from "./api/api-model.js";
|
|
8
8
|
import { O as h, P as g, f as _, r as v } from "./function-DnoIHo24.js";
|
|
9
9
|
import "./RemoteModal-Ca1pTaYZ.js";
|
|
10
|
-
import "./RemoteSelectPro-
|
|
10
|
+
import "./RemoteSelectPro-Ykx-xbSi.js";
|
|
11
11
|
import "./JsonStr-JwOPdAYW.js";
|
|
12
12
|
import "./JsonObj-CmylW4Or.js";
|
|
13
13
|
import { t as y } from "./modal-tools-CZkYEwEr.js";
|
|
14
|
-
import { t as b } from "./FieldRender-
|
|
14
|
+
import { t as b } from "./FieldRender-BD-URbPX.js";
|
|
15
15
|
import "./TinymceEditor-RuTN5CLa.js";
|
|
16
|
-
import { t as x } from "./FieldRender2
|
|
17
|
-
import "./SearchRender-
|
|
18
|
-
import "./FormRender3-
|
|
19
|
-
import { C as S, S as ee, _ as te, b as C, t as w, v as T, x as E, y as ne } from "./tablePro-
|
|
20
|
-
import { o as re, r as ie } from "./remotePages-
|
|
21
|
-
import { n as ae, r as oe, t as se } from "./tablePageHost-
|
|
16
|
+
import { t as x } from "./FieldRender2-DOpum8uI.js";
|
|
17
|
+
import "./SearchRender-CLSUhXHz.js";
|
|
18
|
+
import "./FormRender3-BEhlgl1c.js";
|
|
19
|
+
import { C as S, S as ee, _ as te, b as C, t as w, v as T, x as E, y as ne } from "./tablePro-CVSKEalh.js";
|
|
20
|
+
import { o as re, r as ie } from "./remotePages-BnSwpcvU.js";
|
|
21
|
+
import { n as ae, r as oe, t as se } from "./tablePageHost-g1Qy7KTO.js";
|
|
22
22
|
import { gridPageStateSymbol as D } from "./components/gridPage/utils.js";
|
|
23
23
|
import { Fragment as O, KeepAlive as k, Transition as A, computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createTextVNode as I, createVNode as L, defineComponent as R, getCurrentInstance as ce, inject as le, markRaw as ue, mergeModels as de, mergeProps as z, nextTick as B, normalizeClass as fe, normalizeStyle as pe, onActivated as me, onBeforeMount as he, onBeforeUnmount as ge, onDeactivated as _e, onMounted as ve, onUnmounted as ye, openBlock as V, provide as H, reactive as U, ref as W, renderList as G, renderSlot as be, resolveComponent as K, resolveDynamicComponent as xe, shallowRef as Se, toDisplayString as q, unref as J, useModel as Ce, vShow as we, watch as Y, withCtx as X, withDirectives as Te, withModifiers as Z } from "vue";
|
|
24
24
|
import { Modal as Ee, message as Q } from "ant-design-vue";
|
|
@@ -4179,6 +4179,7 @@ var Tn = /* @__PURE__ */ R({
|
|
|
4179
4179
|
rowSelectionType: o.pageConfig.rowSelection?.type || "checkbox",
|
|
4180
4180
|
rowSelectionCheckStrictly: o.pageConfig.rowSelection?.checkStrictly || !1,
|
|
4181
4181
|
hide_index_column: !1,
|
|
4182
|
+
indexTitle: "序号",
|
|
4182
4183
|
disabledShowSearchGroupName: !0,
|
|
4183
4184
|
cellComponentExt: {
|
|
4184
4185
|
titleList: null,
|
|
@@ -4260,7 +4261,7 @@ var Tn = /* @__PURE__ */ R({
|
|
|
4260
4261
|
}, 8, ["config", "eventBus"])) : N("", !0)], 1024)), L(Xn, { visible: y.value }, null, 8, ["visible"])]);
|
|
4261
4262
|
};
|
|
4262
4263
|
}
|
|
4263
|
-
}), [["__scopeId", "data-v-
|
|
4264
|
+
}), [["__scopeId", "data-v-8b9c8b6d"]]), vr = {
|
|
4264
4265
|
key: 0,
|
|
4265
4266
|
class: "pri-page"
|
|
4266
4267
|
}, yr = { class: "pri-wrapper" }, br = {
|
|
@@ -3,10 +3,10 @@ import { t as i } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
|
3
3
|
import { t as a } from "./lodash-CMVwnWxD.js";
|
|
4
4
|
import { getApiData as o } from "./api/api-model.js";
|
|
5
5
|
import { ConditionOperatorMap as s } from "./api/typing.js";
|
|
6
|
-
import { t as c } from "./RemoteSelectPro-
|
|
7
|
-
import "./components-
|
|
6
|
+
import { t as c } from "./RemoteSelectPro-Ykx-xbSi.js";
|
|
7
|
+
import "./components-BblaBX3A.js";
|
|
8
8
|
import { c as l, f as u, i as d } from "./TinymceEditor-RuTN5CLa.js";
|
|
9
|
-
import { a as f, o as p } from "./tablePro-
|
|
9
|
+
import { a as f, o as p } from "./tablePro-CVSKEalh.js";
|
|
10
10
|
import { Fragment as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createSlots as b, createTextVNode as x, createVNode as S, defineComponent as C, mergeModels as w, nextTick as T, normalizeClass as E, normalizeStyle as D, onBeforeUnmount as O, onMounted as k, openBlock as A, reactive as j, ref as M, renderList as N, resolveComponent as P, toDisplayString as F, unref as I, useModel as L, vShow as R, watch as z, withCtx as B, withDirectives as V, withModifiers as ee } from "vue";
|
|
11
11
|
import { message as H } from "ant-design-vue";
|
|
12
12
|
import { LoadingOutlined as U } from "@ant-design/icons-vue";
|
|
@@ -328,6 +328,26 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
328
328
|
key: "resizable",
|
|
329
329
|
width: 65
|
|
330
330
|
},
|
|
331
|
+
{
|
|
332
|
+
title: "冻结列",
|
|
333
|
+
key: "fixed",
|
|
334
|
+
width: 150
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
title: "行高",
|
|
338
|
+
key: "auto_height",
|
|
339
|
+
width: 75
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
title: "列宽",
|
|
343
|
+
key: "col_width",
|
|
344
|
+
width: 150
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
title: "超宽省略",
|
|
348
|
+
key: "ellipsis",
|
|
349
|
+
width: 85
|
|
350
|
+
},
|
|
331
351
|
{
|
|
332
352
|
title: "可排序",
|
|
333
353
|
key: "is_sortable",
|
|
@@ -3137,10 +3157,13 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3137
3157
|
}, 8, ["title", "open"]);
|
|
3138
3158
|
};
|
|
3139
3159
|
}
|
|
3140
|
-
}), [["__scopeId", "data-v-4e0bcd30"]]), qt = { class: "col-toolbar" }, Jt = { key: 1 }, Yt = {
|
|
3141
|
-
key:
|
|
3160
|
+
}), [["__scopeId", "data-v-4e0bcd30"]]), qt = { class: "col-toolbar" }, Jt = { key: 1 }, Yt = {
|
|
3161
|
+
key: 11,
|
|
3162
|
+
class: "col-width-cell"
|
|
3163
|
+
}, Xt = { key: 1 }, Zt = {
|
|
3164
|
+
key: 16,
|
|
3142
3165
|
class: "default-sort-cell"
|
|
3143
|
-
},
|
|
3166
|
+
}, Qt = /*#__PURE__*/ i(/* @__PURE__ */ C({
|
|
3144
3167
|
__name: "StepColumnConfig",
|
|
3145
3168
|
props: {
|
|
3146
3169
|
active: { type: Boolean },
|
|
@@ -3182,6 +3205,9 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3182
3205
|
checked: !0,
|
|
3183
3206
|
ellipsis: !0,
|
|
3184
3207
|
resizable: !0,
|
|
3208
|
+
fixed: "",
|
|
3209
|
+
auto_height: !1,
|
|
3210
|
+
auto_width: !1,
|
|
3185
3211
|
summary: !1,
|
|
3186
3212
|
is_primary_key: !1,
|
|
3187
3213
|
is_sortable: !0,
|
|
@@ -3237,7 +3263,12 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3237
3263
|
filter_fields: ["view_id"],
|
|
3238
3264
|
view_id: s.record.id,
|
|
3239
3265
|
is_pagination: !1
|
|
3240
|
-
}, `${s.record.model_app}/query_db_view_column_list`))
|
|
3266
|
+
}, `${s.record.model_app}/query_db_view_column_list`)).map((e) => ({
|
|
3267
|
+
...e,
|
|
3268
|
+
fixed: e.fixed || "",
|
|
3269
|
+
auto_height: !!e.auto_height,
|
|
3270
|
+
auto_width: !!e.auto_width
|
|
3271
|
+
})), D.value = [];
|
|
3241
3272
|
} catch {
|
|
3242
3273
|
w.value = [];
|
|
3243
3274
|
} finally {
|
|
@@ -3271,6 +3302,9 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3271
3302
|
checked: e.checked,
|
|
3272
3303
|
ellipsis: e.ellipsis,
|
|
3273
3304
|
resizable: e.resizable,
|
|
3305
|
+
fixed: e.fixed || null,
|
|
3306
|
+
auto_height: !!e.auto_height,
|
|
3307
|
+
auto_width: !!e.auto_width,
|
|
3274
3308
|
summary: e.summary,
|
|
3275
3309
|
is_sortable: !!e.is_sortable,
|
|
3276
3310
|
is_default_sort: !!e.is_default_sort,
|
|
@@ -3297,7 +3331,7 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3297
3331
|
}), k(() => {
|
|
3298
3332
|
s.formType === "edit" && ie();
|
|
3299
3333
|
}), (e, t) => {
|
|
3300
|
-
let n = P("a-button"), r = P("a-input-number"), i = P("a-checkbox"), a = P("a-input"), o = P("a-select"), s = P("a-auto-complete"), c = P("a-
|
|
3334
|
+
let n = P("a-button"), r = P("a-input-number"), i = P("a-checkbox"), a = P("a-input"), o = P("a-select"), s = P("a-auto-complete"), c = P("a-radio-button"), u = P("a-radio-group"), d = P("a-switch"), f = P("a-popconfirm"), h = P("s-table");
|
|
3301
3335
|
return A(), v(m, null, [
|
|
3302
3336
|
y("div", qt, [
|
|
3303
3337
|
S(n, {
|
|
@@ -3330,7 +3364,7 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3330
3364
|
ref_key: "colTableWrapRef",
|
|
3331
3365
|
ref: O,
|
|
3332
3366
|
class: "col-table-wrapper"
|
|
3333
|
-
}, [S(
|
|
3367
|
+
}, [S(h, {
|
|
3334
3368
|
columns: I(se),
|
|
3335
3369
|
"data-source": w.value,
|
|
3336
3370
|
"row-key": "data_index",
|
|
@@ -3425,7 +3459,52 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3425
3459
|
key: 8,
|
|
3426
3460
|
checked: w.value[l[0]].resizable,
|
|
3427
3461
|
"onUpdate:checked": (e) => w.value[l[0]].resizable = e
|
|
3428
|
-
}, null, 8, ["checked", "onUpdate:checked"])) : e.key === "
|
|
3462
|
+
}, null, 8, ["checked", "onUpdate:checked"])) : e.key === "fixed" ? (A(), g(u, {
|
|
3463
|
+
key: 9,
|
|
3464
|
+
value: w.value[l[0]].fixed,
|
|
3465
|
+
"onUpdate:value": (e) => w.value[l[0]].fixed = e,
|
|
3466
|
+
size: "small"
|
|
3467
|
+
}, {
|
|
3468
|
+
default: B(() => [
|
|
3469
|
+
S(c, { value: "left" }, {
|
|
3470
|
+
default: B(() => t[8] ||= [x("左")]),
|
|
3471
|
+
_: 1
|
|
3472
|
+
}),
|
|
3473
|
+
S(c, { value: "" }, {
|
|
3474
|
+
default: B(() => t[9] ||= [x("不固定")]),
|
|
3475
|
+
_: 1
|
|
3476
|
+
}),
|
|
3477
|
+
S(c, { value: "right" }, {
|
|
3478
|
+
default: B(() => t[10] ||= [x("右")]),
|
|
3479
|
+
_: 1
|
|
3480
|
+
})
|
|
3481
|
+
]),
|
|
3482
|
+
_: 2
|
|
3483
|
+
}, 1032, ["value", "onUpdate:value"])) : e.key === "auto_height" ? (A(), g(d, {
|
|
3484
|
+
key: 10,
|
|
3485
|
+
checked: w.value[l[0]].auto_height,
|
|
3486
|
+
"onUpdate:checked": (e) => w.value[l[0]].auto_height = e,
|
|
3487
|
+
"checked-children": "自动",
|
|
3488
|
+
"un-checked-children": "固定"
|
|
3489
|
+
}, null, 8, ["checked", "onUpdate:checked"])) : e.key === "col_width" ? (A(), v("div", Yt, [S(d, {
|
|
3490
|
+
checked: w.value[l[0]].auto_width,
|
|
3491
|
+
"onUpdate:checked": (e) => w.value[l[0]].auto_width = e,
|
|
3492
|
+
"checked-children": "自动",
|
|
3493
|
+
"un-checked-children": "固定"
|
|
3494
|
+
}, null, 8, ["checked", "onUpdate:checked"]), S(r, {
|
|
3495
|
+
value: w.value[l[0]].width,
|
|
3496
|
+
"onUpdate:value": (e) => w.value[l[0]].width = e,
|
|
3497
|
+
size: "small",
|
|
3498
|
+
style: { width: "66px" },
|
|
3499
|
+
min: 50,
|
|
3500
|
+
placeholder: "px"
|
|
3501
|
+
}, null, 8, ["value", "onUpdate:value"])])) : e.key === "ellipsis" ? (A(), g(d, {
|
|
3502
|
+
key: 12,
|
|
3503
|
+
checked: w.value[l[0]].ellipsis,
|
|
3504
|
+
"onUpdate:checked": (e) => w.value[l[0]].ellipsis = e,
|
|
3505
|
+
"checked-children": "开启",
|
|
3506
|
+
"un-checked-children": "关闭"
|
|
3507
|
+
}, null, 8, ["checked", "onUpdate:checked"])) : e.key === "cell_summary_params" ? (A(), v(m, { key: 13 }, [w.value[l[0]].summary ? (A(), v(m, { key: 0 }, [w.value[l[0]].cell_summary_component === I("common_number") ? (A(), g(s, {
|
|
3429
3508
|
key: 0,
|
|
3430
3509
|
value: w.value[l[0]].cell_summary_component_params?.pattern || "",
|
|
3431
3510
|
size: "small",
|
|
@@ -3447,15 +3526,15 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3447
3526
|
}, {
|
|
3448
3527
|
default: B(() => [x(F(be(w.value[l[0]].cell_summary_component_params) ? "已配" : "配置"), 1)]),
|
|
3449
3528
|
_: 2
|
|
3450
|
-
}, 1032, ["onClick"]))], 64)) : (A(), v("span",
|
|
3451
|
-
key:
|
|
3529
|
+
}, 1032, ["onClick"]))], 64)) : (A(), v("span", Xt, "-"))], 64)) : e.key === "summary" ? (A(), g(i, {
|
|
3530
|
+
key: 14,
|
|
3452
3531
|
checked: w.value[l[0]].summary,
|
|
3453
3532
|
"onUpdate:checked": (e) => w.value[l[0]].summary = e
|
|
3454
3533
|
}, null, 8, ["checked", "onUpdate:checked"])) : e.key === "is_sortable" ? (A(), g(i, {
|
|
3455
|
-
key:
|
|
3534
|
+
key: 15,
|
|
3456
3535
|
checked: w.value[l[0]].is_sortable,
|
|
3457
3536
|
"onUpdate:checked": (e) => w.value[l[0]].is_sortable = e
|
|
3458
|
-
}, null, 8, ["checked", "onUpdate:checked"])) : e.key === "default_sort" ? (A(), v("div",
|
|
3537
|
+
}, null, 8, ["checked", "onUpdate:checked"])) : e.key === "default_sort" ? (A(), v("div", Zt, [S(i, {
|
|
3459
3538
|
checked: w.value[l[0]].is_default_sort,
|
|
3460
3539
|
"onUpdate:checked": (e) => w.value[l[0]].is_default_sort = e,
|
|
3461
3540
|
onChange: (e) => re(w.value[l[0]])
|
|
@@ -3483,7 +3562,7 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3483
3562
|
min: 1,
|
|
3484
3563
|
placeholder: "顺序"
|
|
3485
3564
|
}, null, 8, ["value", "onUpdate:value"])], 64)) : _("", !0)])) : e.key === "map_color" ? (A(), g(n, {
|
|
3486
|
-
key:
|
|
3565
|
+
key: 17,
|
|
3487
3566
|
size: "small",
|
|
3488
3567
|
style: { padding: "0 4px" },
|
|
3489
3568
|
onClick: (e) => ue(w.value[l[0]])
|
|
@@ -3491,7 +3570,7 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3491
3570
|
default: B(() => [x(F(de(w.value[l[0]]) ? `已配 ${de(w.value[l[0]])} 项` : "配置"), 1)]),
|
|
3492
3571
|
_: 2
|
|
3493
3572
|
}, 1032, ["onClick"])) : e.key === "adv_search" ? (A(), g(n, {
|
|
3494
|
-
key:
|
|
3573
|
+
key: 18,
|
|
3495
3574
|
size: "small",
|
|
3496
3575
|
style: { padding: "0 4px" },
|
|
3497
3576
|
onClick: (e) => me(w.value[l[0]])
|
|
@@ -3499,19 +3578,19 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3499
3578
|
default: B(() => [x(F(w.value[l[0]].advanced_search_component?.type || "配置"), 1)]),
|
|
3500
3579
|
_: 2
|
|
3501
3580
|
}, 1032, ["onClick"])) : e.key === "is_base_query" ? (A(), g(i, {
|
|
3502
|
-
key:
|
|
3581
|
+
key: 19,
|
|
3503
3582
|
checked: w.value[l[0]].is_base_query,
|
|
3504
3583
|
"onUpdate:checked": (e) => w.value[l[0]].is_base_query = e
|
|
3505
3584
|
}, null, 8, ["checked", "onUpdate:checked"])) : e.key === "is_default_query" ? (A(), g(i, {
|
|
3506
|
-
key:
|
|
3585
|
+
key: 20,
|
|
3507
3586
|
checked: w.value[l[0]].is_default_query,
|
|
3508
3587
|
"onUpdate:checked": (e) => w.value[l[0]].is_default_query = e
|
|
3509
3588
|
}, null, 8, ["checked", "onUpdate:checked"])) : e.key === "is_group_query" ? (A(), g(i, {
|
|
3510
|
-
key:
|
|
3589
|
+
key: 21,
|
|
3511
3590
|
checked: w.value[l[0]].is_group_query,
|
|
3512
3591
|
"onUpdate:checked": (e) => w.value[l[0]].is_group_query = e
|
|
3513
|
-
}, null, 8, ["checked", "onUpdate:checked"])) : e.key === "action" ? (A(), g(
|
|
3514
|
-
key:
|
|
3592
|
+
}, null, 8, ["checked", "onUpdate:checked"])) : e.key === "action" ? (A(), g(f, {
|
|
3593
|
+
key: 22,
|
|
3515
3594
|
title: "确认删除该列配置?",
|
|
3516
3595
|
onConfirm: (e) => q(w.value[l[0]])
|
|
3517
3596
|
}, {
|
|
@@ -3521,7 +3600,7 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3521
3600
|
size: "small",
|
|
3522
3601
|
style: { padding: "0" }
|
|
3523
3602
|
}, {
|
|
3524
|
-
default: B(() => t[
|
|
3603
|
+
default: B(() => t[11] ||= [x(" 删除 ")]),
|
|
3525
3604
|
_: 1
|
|
3526
3605
|
})]),
|
|
3527
3606
|
_: 2
|
|
@@ -3563,7 +3642,7 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3563
3642
|
], 64);
|
|
3564
3643
|
};
|
|
3565
3644
|
}
|
|
3566
|
-
}), [["__scopeId", "data-v-
|
|
3645
|
+
}), [["__scopeId", "data-v-0862eba0"]]), $t = /*#__PURE__*/ i(/* @__PURE__ */ C({
|
|
3567
3646
|
__name: "StepMenu",
|
|
3568
3647
|
props: { model: {} },
|
|
3569
3648
|
setup(e) {
|
|
@@ -3655,21 +3734,21 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3655
3734
|
});
|
|
3656
3735
|
};
|
|
3657
3736
|
}
|
|
3658
|
-
}), [["__scopeId", "data-v-40e6bb40"]]),
|
|
3737
|
+
}), [["__scopeId", "data-v-40e6bb40"]]), en = [
|
|
3659
3738
|
"default_view_type",
|
|
3660
3739
|
"enable_view_types",
|
|
3661
3740
|
"is_pagination",
|
|
3662
3741
|
"pageSize",
|
|
3663
3742
|
"page_size_options"
|
|
3664
|
-
],
|
|
3743
|
+
], tn = (e, t) => {
|
|
3665
3744
|
let n = {};
|
|
3666
3745
|
return Object.keys(t || {}).forEach((e) => {
|
|
3667
|
-
|
|
3746
|
+
en.includes(e) || (n[e] = t[e]);
|
|
3668
3747
|
}), e.default_view_type = t.default_view_type ?? void 0, e.enable_view_types = Array.isArray(t.enable_view_types) ? t.enable_view_types : [], e.is_pagination = t.is_pagination ?? !0, e.pageSize = t.pageSize ?? void 0, e.page_size_options = Array.isArray(t.page_size_options) ? t.page_size_options : [], n;
|
|
3669
|
-
},
|
|
3748
|
+
}, nn = (e, t) => {
|
|
3670
3749
|
let n = { ...t };
|
|
3671
3750
|
return e.default_view_type ? n.default_view_type = e.default_view_type : delete n.default_view_type, e.enable_view_types && e.enable_view_types.length ? n.enable_view_types = e.enable_view_types : delete n.enable_view_types, Array.isArray(e.enable_view_types) && e.enable_view_types.length && n.default_view_type && !e.enable_view_types.includes(n.default_view_type) && delete n.default_view_type, typeof e.is_pagination == "boolean" ? n.is_pagination = e.is_pagination : n.is_pagination = !0, e.pageSize == null ? delete n.pageSize : n.pageSize = e.pageSize, e.page_size_options && e.page_size_options.length ? n.page_size_options = e.page_size_options : delete n.page_size_options, n;
|
|
3672
|
-
},
|
|
3751
|
+
}, rn = { class: "step-pane" }, an = { class: "step-pane" }, on = { class: "step-pane step-pane--col" }, sn = { class: "step-pane" }, cn = /*#__PURE__*/ i(/* @__PURE__ */ C({
|
|
3673
3752
|
__name: "dbViewConfig",
|
|
3674
3753
|
props: {
|
|
3675
3754
|
title: {},
|
|
@@ -3726,7 +3805,7 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3726
3805
|
menu_project: e.menu_project || null,
|
|
3727
3806
|
menu_icon: e.menu_icon ?? "",
|
|
3728
3807
|
sql: e.sql,
|
|
3729
|
-
view_meta:
|
|
3808
|
+
view_meta: nn(e, D)
|
|
3730
3809
|
};
|
|
3731
3810
|
}, N = async () => {
|
|
3732
3811
|
try {
|
|
@@ -3763,7 +3842,7 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3763
3842
|
flag: t.flag || void 0,
|
|
3764
3843
|
data_source_id: t.data_source_id ?? void 0,
|
|
3765
3844
|
sql: t.sql || void 0
|
|
3766
|
-
}, D =
|
|
3845
|
+
}, D = tn(C.value, t.view_meta || {}), await I(C.value.flag);
|
|
3767
3846
|
};
|
|
3768
3847
|
return k(async () => {
|
|
3769
3848
|
i.record?.form_type && (u.value = i.record.form_type), u.value === "edit" && await L();
|
|
@@ -3838,7 +3917,7 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3838
3917
|
layout: "vertical"
|
|
3839
3918
|
}, {
|
|
3840
3919
|
default: B(() => [
|
|
3841
|
-
V(y("div",
|
|
3920
|
+
V(y("div", rn, [S(ie, {
|
|
3842
3921
|
"sql-error": m.value,
|
|
3843
3922
|
"onUpdate:sqlError": t[0] ||= (e) => m.value = e,
|
|
3844
3923
|
model: C.value,
|
|
@@ -3850,8 +3929,8 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3850
3929
|
"record",
|
|
3851
3930
|
"form-type"
|
|
3852
3931
|
])], 512), [[R, d.value === 0]]),
|
|
3853
|
-
V(y("div",
|
|
3854
|
-
V(y("div",
|
|
3932
|
+
V(y("div", an, [S(le, { model: C.value }, null, 8, ["model"])], 512), [[R, d.value === 1]]),
|
|
3933
|
+
V(y("div", on, [S(Qt, {
|
|
3855
3934
|
ref_key: "colStepRef",
|
|
3856
3935
|
ref: b,
|
|
3857
3936
|
active: p.value,
|
|
@@ -3865,7 +3944,7 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3865
3944
|
"record",
|
|
3866
3945
|
"form-type"
|
|
3867
3946
|
])], 512), [[R, p.value]]),
|
|
3868
|
-
V(y("div",
|
|
3947
|
+
V(y("div", sn, [S($t, { model: C.value }, null, 8, ["model"])], 512), [[R, d.value === 3]])
|
|
3869
3948
|
]),
|
|
3870
3949
|
_: 1
|
|
3871
3950
|
}, 8, ["model"])]),
|
|
@@ -3879,4 +3958,4 @@ var W = (e) => e && typeof e == "object" && !Array.isArray(e) && e.data !== void
|
|
|
3879
3958
|
}
|
|
3880
3959
|
}), [["__scopeId", "data-v-f969579c"]]);
|
|
3881
3960
|
//#endregion
|
|
3882
|
-
export {
|
|
3961
|
+
export { cn as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { t } from "./tablePageHost-
|
|
2
|
+
import { t } from "./tablePageHost-g1Qy7KTO.js";
|
|
3
3
|
import { computed as n, createBlock as r, createElementBlock as i, defineComponent as a, openBlock as o, resolveComponent as s } from "vue";
|
|
4
4
|
//#region src/components/detailTablePro/detailTablePro.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var c = { class: "detail-table-pro" }, l = /*#__PURE__*/ e(/* @__PURE__ */ a({
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { B as e, C as t, F as n, H as r, R as i, _ as a, a as o, d as s, f as c,
|
|
|
3
3
|
import { defineAsyncComponent as S } from "vue";
|
|
4
4
|
//#region src/index.ts
|
|
5
5
|
var C = { install(C, w) {
|
|
6
|
-
w?.env && C.use(_(w.env)), w?.globMap && C.use(s(w.globMap)), w?.bus && C.use(v(w.bus)), w?.useAppStore && C.use(t(w.useAppStore)), w?.useUserStore && C.use(e(w.useUserStore)), w?.request && C.use(a(w.request)), w?.useRequiredConditionStore && C.use(i(w.useRequiredConditionStore)), w?.required_condition_event_obj && C.use(x(w.required_condition_event_obj)), w?.event_obj && C.use(d(w.event_obj)), w?.ls && C.use(h(w.ls)), w?.sourceStore && C.use(b(w.sourceStore)), w?.usePageConfigStore && C.use(n(w.usePageConfigStore)), w?.remoteSelectStore && C.use(l(w.remoteSelectStore)), w?.cellComponentMap && C.use(g(w.cellComponentMap)), w?.cellFormatExcelValueMap && C.use(u(w.cellFormatExcelValueMap)), w?.cellComponentList && C.use(p(w.cellComponentList)), w?.cellSummaryComponentList && C.use(o(w.cellSummaryComponentList)), w?.menuComponents && C.use(f(w.menuComponents)), w?.debugCodeComponent && C.use(m(w.debugCodeComponent)), w?.extraMenuIcons && C.use(y(w.extraMenuIcons)), w?.workerHostFunctions && C.use(r(w.workerHostFunctions)), w?.injectMenuState && C.use(c(w.injectMenuState)), C.component("FieldRender", S(() => import("./FieldRender-
|
|
6
|
+
w?.env && C.use(_(w.env)), w?.globMap && C.use(s(w.globMap)), w?.bus && C.use(v(w.bus)), w?.useAppStore && C.use(t(w.useAppStore)), w?.useUserStore && C.use(e(w.useUserStore)), w?.request && C.use(a(w.request)), w?.useRequiredConditionStore && C.use(i(w.useRequiredConditionStore)), w?.required_condition_event_obj && C.use(x(w.required_condition_event_obj)), w?.event_obj && C.use(d(w.event_obj)), w?.ls && C.use(h(w.ls)), w?.sourceStore && C.use(b(w.sourceStore)), w?.usePageConfigStore && C.use(n(w.usePageConfigStore)), w?.remoteSelectStore && C.use(l(w.remoteSelectStore)), w?.cellComponentMap && C.use(g(w.cellComponentMap)), w?.cellFormatExcelValueMap && C.use(u(w.cellFormatExcelValueMap)), w?.cellComponentList && C.use(p(w.cellComponentList)), w?.cellSummaryComponentList && C.use(o(w.cellSummaryComponentList)), w?.menuComponents && C.use(f(w.menuComponents)), w?.debugCodeComponent && C.use(m(w.debugCodeComponent)), w?.extraMenuIcons && C.use(y(w.extraMenuIcons)), w?.workerHostFunctions && C.use(r(w.workerHostFunctions)), w?.injectMenuState && C.use(c(w.injectMenuState)), C.component("FieldRender", S(() => import("./FieldRender-BD-URbPX.js").then((e) => e.n))).component("AttributeTable", S(() => import("./AttributeTable-muxdKpWW.js").then((e) => e.n))).component("AttributeNomTable", S(() => import("./AttributeNomTable-DHED22ju.js").then((e) => e.n))).component("SearchRender", S(() => import("./SearchRender-CLSUhXHz.js").then((e) => e.n))).component("RemoteSelect", S(() => import("./RemoteSelect-bjsCKGfS.js").then((e) => e.n))).component("RemoteCascader", S(() => import("./RemoteCascader-BsOeNVvB.js").then((e) => e.n))).component("RemoteFilterSelect", S(() => import("./RemoteFilterSelect-DF906O8X.js").then((e) => e.n))).component("RemoteModal", S(() => import("./RemoteModal-Ca1pTaYZ.js").then((e) => e.n))).component("JsonStr", S(() => import("./JsonStr-JwOPdAYW.js").then((e) => e.n))).component("JsonObj", S(() => import("./JsonObj-CmylW4Or.js").then((e) => e.n))).component("RemoteText", S(() => import("./RemoteText-C_zxmxfK.js").then((e) => e.n))).component("RemoteTable2", S(() => import("./RemoteTable2-DYHG0cqX.js").then((e) => e.n))).component("syncDataSourceConfig", S(() => import("./syncDataSourceConfig-C7D3yjhl.js"))).component("dbDataSourceConfig", S(() => import("./dbDataSourceConfig-CnGgOJJB.js"))).component("dbViewConfig", S(() => import("./dbViewConfig-CyJyjRUe.js"))).component("syncModelTypeConfig", S(() => import("./syncModelTypeConfig-D8-hcItK.js"))).component("syncExportRawData", S(() => import("./syncExportRawData-Dpi-VJuu.js"))).component("aiGenModel", S(() => import("./aiGenModel-C9E1ahu8.js"))).component("batchCreateUser", S(() => import("./batchCreateUser-Bldo1FdN.js"))).component("detailTablePro", S(() => import("./detailTablePro-Dc0Iws_0.js"))).component("FormRender3", S(() => import("./FormRender3-BEhlgl1c.js").then((e) => e.n)));
|
|
7
7
|
} };
|
|
8
8
|
//#endregion
|
|
9
9
|
export { C as default };
|