dmx-admin-ui 1.2.117 → 1.2.118
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/{group-table-BeuJoe3y.js → group-table-C72rmZId.js} +2 -2
- package/dist/{group-tabs-plus-DhKLblMj.js → group-tabs-plus-Dw-aebtx.js} +2 -2
- package/dist/{group-tabs-DqA7KhIl.js → group-tabs-wtM5i-rY.js} +2 -2
- package/dist/{group-D2VHsGBJ.js → group-wH9Y8Glo.js} +12 -12
- package/dist/{index-AHjtm1MH.js → index-BcV35P1v.js} +23 -63
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +18 -18
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { resolveComponent as f, openBlock as n, createElementBlock as r, createElementVNode as l, Fragment as a, renderList as c, normalizeStyle as w, createTextVNode as C, toDisplayString as h, createBlock as p, withCtx as g, createCommentVNode as y, resolveDynamicComponent as v, mergeProps as _, normalizeClass as j, defineAsyncComponent as z } from "vue";
|
|
2
|
-
import { _ as O } from "./index-
|
|
2
|
+
import { _ as O } from "./index-BcV35P1v.js";
|
|
3
3
|
const T = {
|
|
4
4
|
name: "form-group",
|
|
5
5
|
components: {
|
|
6
|
-
inputItem: z(() => import("./index-
|
|
6
|
+
inputItem: z(() => import("./index-BcV35P1v.js").then((s) => s.c))
|
|
7
7
|
},
|
|
8
8
|
emits: ["change", "update:modelValue"],
|
|
9
9
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as d, openBlock as n, createElementBlock as a, createVNode as y, withCtx as u, createElementVNode as o, createBlock as f, createTextVNode as c, createCommentVNode as r, toDisplayString as b, Fragment as g, renderList as k, normalizeStyle as V, normalizeClass as j, defineAsyncComponent as z } from "vue";
|
|
2
|
-
import { _ as A } from "./index-
|
|
2
|
+
import { _ as A } from "./index-BcV35P1v.js";
|
|
3
3
|
function U(e, t) {
|
|
4
4
|
if (t <= 0 || t >= e.length) return [...e];
|
|
5
5
|
const i = [...e];
|
|
@@ -13,7 +13,7 @@ function O(e, t) {
|
|
|
13
13
|
const D = {
|
|
14
14
|
name: "group-tabs-plus",
|
|
15
15
|
components: {
|
|
16
|
-
inputItem: z(() => import("./index-
|
|
16
|
+
inputItem: z(() => import("./index-BcV35P1v.js").then((e) => e.c))
|
|
17
17
|
},
|
|
18
18
|
emits: ["change", "update:modelValue"],
|
|
19
19
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { resolveComponent as r, openBlock as i, createElementBlock as l, createVNode as k, withCtx as f, Fragment as _, renderList as V, createBlock as h, createElementVNode as o, normalizeStyle as b, toDisplayString as y, createCommentVNode as p, createTextVNode as T, defineAsyncComponent as $ } from "vue";
|
|
2
|
-
import { _ as j } from "./index-
|
|
2
|
+
import { _ as j } from "./index-BcV35P1v.js";
|
|
3
3
|
const x = {
|
|
4
4
|
name: "group-tabs",
|
|
5
5
|
components: {
|
|
6
|
-
inputItem: $(() => import("./index-
|
|
6
|
+
inputItem: $(() => import("./index-BcV35P1v.js").then((e) => e.c))
|
|
7
7
|
},
|
|
8
8
|
emits: ["change", "update:modelValue"],
|
|
9
9
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { resolveComponent as k, openBlock as s, createElementBlock as n, normalizeClass as h, createBlock as p, resolveDynamicComponent as v, normalizeProps as x, guardReactiveProps as V, withCtx as z, Fragment as f, renderList as g, createElementVNode as o, createCommentVNode as
|
|
2
|
-
import { _ as j } from "./index-
|
|
1
|
+
import { resolveComponent as k, openBlock as s, createElementBlock as n, normalizeClass as h, createBlock as p, resolveDynamicComponent as v, normalizeProps as x, guardReactiveProps as V, withCtx as z, Fragment as f, renderList as g, createElementVNode as o, createCommentVNode as u, normalizeStyle as b, toDisplayString as d, createTextVNode as C, defineAsyncComponent as T } from "vue";
|
|
2
|
+
import { _ as j } from "./index-BcV35P1v.js";
|
|
3
3
|
const O = {
|
|
4
4
|
name: "form-group",
|
|
5
5
|
components: {
|
|
6
|
-
inputItem: T(() => import("./index-
|
|
6
|
+
inputItem: T(() => import("./index-BcV35P1v.js").then((t) => t.c))
|
|
7
7
|
},
|
|
8
8
|
emits: ["change", "update:modelValue"],
|
|
9
9
|
props: {
|
|
@@ -74,7 +74,7 @@ function U(t, e, r, W, i, c) {
|
|
|
74
74
|
(s(!0), n(f, null, g(i.list, (a, m) => (s(), n("div", w, [
|
|
75
75
|
i.limit != 1 ? (s(), n("div", A, [...e[1] || (e[1] = [
|
|
76
76
|
o("i", { class: "i-ri-menu-line" }, null, -1)
|
|
77
|
-
])])) :
|
|
77
|
+
])])) : u("", !0),
|
|
78
78
|
o("div", I, [
|
|
79
79
|
o("div", B, [
|
|
80
80
|
(s(!0), n(f, null, g(i.cols, (l) => (s(), n("div", {
|
|
@@ -84,7 +84,7 @@ function U(t, e, r, W, i, c) {
|
|
|
84
84
|
o("div", {
|
|
85
85
|
class: h(["input-item-box", { "input-item-box-h": i.alignTop }])
|
|
86
86
|
}, [
|
|
87
|
-
l.title ? (s(), n("div", E,
|
|
87
|
+
l.title ? (s(), n("div", E, d(l.title) + ": ", 1)) : u("", !0),
|
|
88
88
|
o("div", N, [
|
|
89
89
|
(s(), p(y, {
|
|
90
90
|
size: r.size,
|
|
@@ -99,8 +99,8 @@ function U(t, e, r, W, i, c) {
|
|
|
99
99
|
], 2),
|
|
100
100
|
l.info ? (s(), n("div", S, [
|
|
101
101
|
e[2] || (e[2] = o("i", { class: "i-ri-error-warning-line" }, null, -1)),
|
|
102
|
-
C(" " +
|
|
103
|
-
])) :
|
|
102
|
+
C(" " + d(l.info), 1)
|
|
103
|
+
])) : u("", !0)
|
|
104
104
|
], 4))), 256))
|
|
105
105
|
]),
|
|
106
106
|
i.limit != 1 ? (s(), n("div", {
|
|
@@ -109,7 +109,7 @@ function U(t, e, r, W, i, c) {
|
|
|
109
109
|
onClick: (l) => c.del(m)
|
|
110
110
|
}, [...e[3] || (e[3] = [
|
|
111
111
|
o("i", { class: "i-ri-close-line" }, null, -1)
|
|
112
|
-
])], 8, D)) :
|
|
112
|
+
])], 8, D)) : u("", !0)
|
|
113
113
|
])
|
|
114
114
|
]))), 256))
|
|
115
115
|
]),
|
|
@@ -121,12 +121,12 @@ function U(t, e, r, W, i, c) {
|
|
|
121
121
|
onClick: e[0] || (e[0] = (...a) => c.add && c.add(...a))
|
|
122
122
|
}, [
|
|
123
123
|
e[4] || (e[4] = o("i", { class: "i-ri-add-line font-xl" }, null, -1)),
|
|
124
|
-
o("span", null,
|
|
125
|
-
o("span", P, "(" +
|
|
126
|
-
], 2)) :
|
|
124
|
+
o("span", null, d(i.config.text), 1),
|
|
125
|
+
o("span", P, "(" + d(i.list.length) + "/" + d(i.limit) + ")", 1)
|
|
126
|
+
], 2)) : u("", !0)
|
|
127
127
|
], 2);
|
|
128
128
|
}
|
|
129
|
-
const R = /* @__PURE__ */ j(O, [["render", U], ["__scopeId", "data-v-
|
|
129
|
+
const R = /* @__PURE__ */ j(O, [["render", U], ["__scopeId", "data-v-840e2a2b"]]);
|
|
130
130
|
export {
|
|
131
131
|
R as default
|
|
132
132
|
};
|
|
@@ -14658,7 +14658,7 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14658
14658
|
renderError(t, n) {
|
|
14659
14659
|
return t("pre", { style: { color: "red" } }, n.stack);
|
|
14660
14660
|
}
|
|
14661
|
-
}, Li = (t) => fs(t), Zb = Li(() => import("./group-tabs-plus-
|
|
14661
|
+
}, Li = (t) => fs(t), Zb = Li(() => import("./group-tabs-plus-Dw-aebtx.js")), Xb = Li(() => import("./group-tabs-wtM5i-rY.js")), Qb = Li(() => import("./group-table-C72rmZId.js")), e4 = Li(() => import("./group-wH9Y8Glo.js")), cn = {
|
|
14662
14662
|
media: d0,
|
|
14663
14663
|
slot: Yb,
|
|
14664
14664
|
"input-select": pp,
|
|
@@ -14676,9 +14676,7 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14676
14676
|
component: Ri,
|
|
14677
14677
|
props: (t, n) => ({
|
|
14678
14678
|
type: "text",
|
|
14679
|
-
size: n.size,
|
|
14680
14679
|
autocomplete: "off",
|
|
14681
|
-
disabled: n._disabled,
|
|
14682
14680
|
readonly: t.readonly,
|
|
14683
14681
|
clearable: t.clearable ?? !0,
|
|
14684
14682
|
placeholder: t.placeholder || "输入"
|
|
@@ -14692,8 +14690,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14692
14690
|
select: {
|
|
14693
14691
|
component: Xd,
|
|
14694
14692
|
props: (t, n) => ({
|
|
14695
|
-
size: n.size,
|
|
14696
|
-
disabled: n._disabled,
|
|
14697
14693
|
placeholder: t.placeholder || "请选择"
|
|
14698
14694
|
}),
|
|
14699
14695
|
children: (t, n) => n.selectCols.map((r) => ({
|
|
@@ -14707,10 +14703,7 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14707
14703
|
// 单选框
|
|
14708
14704
|
radio: {
|
|
14709
14705
|
component: ua,
|
|
14710
|
-
props: (t, n) => ({
|
|
14711
|
-
size: n.size,
|
|
14712
|
-
disabled: n._disabled
|
|
14713
|
-
}),
|
|
14706
|
+
props: (t, n) => ({}),
|
|
14714
14707
|
children: (t, n) => n.radioCols.map((r) => ({
|
|
14715
14708
|
component: Nt(tf),
|
|
14716
14709
|
props: {
|
|
@@ -14722,14 +14715,10 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14722
14715
|
// 按钮式单选框
|
|
14723
14716
|
"radio-button": {
|
|
14724
14717
|
component: ua,
|
|
14725
|
-
props: (t, n) => ({
|
|
14726
|
-
size: n.size,
|
|
14727
|
-
disabled: n._disabled
|
|
14728
|
-
}),
|
|
14718
|
+
props: (t, n) => ({}),
|
|
14729
14719
|
children: (t, n) => n.radioCols.map((r) => ({
|
|
14730
14720
|
component: Nt(ef),
|
|
14731
14721
|
props: {
|
|
14732
|
-
disabled: n._disabled,
|
|
14733
14722
|
value: r.value
|
|
14734
14723
|
},
|
|
14735
14724
|
children: r.label
|
|
@@ -14738,10 +14727,7 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14738
14727
|
// 多选框
|
|
14739
14728
|
checkbox: {
|
|
14740
14729
|
component: Zd,
|
|
14741
|
-
props: (t, n) => ({
|
|
14742
|
-
size: n.size,
|
|
14743
|
-
disabled: n._disabled
|
|
14744
|
-
}),
|
|
14730
|
+
props: (t, n) => ({}),
|
|
14745
14731
|
children: (t, n) => n.checkboxCols.map((r) => ({
|
|
14746
14732
|
component: Nt(Qd),
|
|
14747
14733
|
props: {
|
|
@@ -14754,20 +14740,16 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14754
14740
|
imgs: {
|
|
14755
14741
|
component: ha,
|
|
14756
14742
|
props: (t, n) => ({
|
|
14757
|
-
size: n.size,
|
|
14758
14743
|
limit: t.limit,
|
|
14759
14744
|
cateId: t.cateId,
|
|
14760
|
-
disabled: n._disabled,
|
|
14761
14745
|
tips: t.tips
|
|
14762
14746
|
})
|
|
14763
14747
|
},
|
|
14764
14748
|
images: {
|
|
14765
14749
|
component: ha,
|
|
14766
14750
|
props: (t, n) => ({
|
|
14767
|
-
size: n.size,
|
|
14768
14751
|
limit: t.limit,
|
|
14769
14752
|
"cate-id": t.cateId,
|
|
14770
|
-
disabled: n._disabled,
|
|
14771
14753
|
tips: t.tips
|
|
14772
14754
|
})
|
|
14773
14755
|
},
|
|
@@ -14787,7 +14769,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14787
14769
|
selects: {
|
|
14788
14770
|
component: kd,
|
|
14789
14771
|
props: (t, n) => ({
|
|
14790
|
-
disabled: n._disabled,
|
|
14791
14772
|
placeholder: t.placeholder,
|
|
14792
14773
|
url: t.url,
|
|
14793
14774
|
remove: t.remove,
|
|
@@ -14803,7 +14784,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14803
14784
|
color: {
|
|
14804
14785
|
component: Fd,
|
|
14805
14786
|
props: (t, n) => ({
|
|
14806
|
-
size: n.size,
|
|
14807
14787
|
showAlpha: t.showAlpha,
|
|
14808
14788
|
colorFormat: t.colorFormat
|
|
14809
14789
|
})
|
|
@@ -14819,7 +14799,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14819
14799
|
region: {
|
|
14820
14800
|
component: Od,
|
|
14821
14801
|
props: (t, n) => ({
|
|
14822
|
-
disabled: n._disabled,
|
|
14823
14802
|
checkStrictly: t.checkStrictly,
|
|
14824
14803
|
level: t.level
|
|
14825
14804
|
})
|
|
@@ -14833,8 +14812,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14833
14812
|
time: {
|
|
14834
14813
|
component: la,
|
|
14835
14814
|
props: (t, n) => ({
|
|
14836
|
-
size: n.size,
|
|
14837
|
-
disabled: n._disabled,
|
|
14838
14815
|
format: t.format || "HH:mm:ss",
|
|
14839
14816
|
valueFormat: t.valueFormat || "HH:mm:ss",
|
|
14840
14817
|
placeholder: "选择时间"
|
|
@@ -14844,8 +14821,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14844
14821
|
times: {
|
|
14845
14822
|
component: la,
|
|
14846
14823
|
props: (t, n) => ({
|
|
14847
|
-
size: n.size,
|
|
14848
|
-
disabled: n._disabled,
|
|
14849
14824
|
"start-placeholder": "开始时间",
|
|
14850
14825
|
"end-placeholder": "结束时间",
|
|
14851
14826
|
format: "HH:mm:ss",
|
|
@@ -14858,8 +14833,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14858
14833
|
date: {
|
|
14859
14834
|
component: Nr,
|
|
14860
14835
|
props: (t, n) => ({
|
|
14861
|
-
size: n.size,
|
|
14862
|
-
disabled: n._disabled,
|
|
14863
14836
|
type: "date",
|
|
14864
14837
|
placeholder: "选择日期",
|
|
14865
14838
|
"value-format": "YYYY-MM-DD"
|
|
@@ -14869,8 +14842,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14869
14842
|
dates: {
|
|
14870
14843
|
component: Nr,
|
|
14871
14844
|
props: (t, n) => ({
|
|
14872
|
-
size: n.size,
|
|
14873
|
-
disabled: n._disabled,
|
|
14874
14845
|
"start-placeholder": "开始日期",
|
|
14875
14846
|
"end-placeholder": "结束日期",
|
|
14876
14847
|
type: "daterange",
|
|
@@ -14883,8 +14854,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14883
14854
|
datetime: {
|
|
14884
14855
|
component: Nr,
|
|
14885
14856
|
props: (t, n) => ({
|
|
14886
|
-
size: n.size,
|
|
14887
|
-
disabled: n._disabled,
|
|
14888
14857
|
type: "datetime",
|
|
14889
14858
|
placeholder: "选择时间",
|
|
14890
14859
|
format: "YYYY-MM-DD HH:mm:ss",
|
|
@@ -14895,8 +14864,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14895
14864
|
datetimes: {
|
|
14896
14865
|
component: Nr,
|
|
14897
14866
|
props: (t, n) => ({
|
|
14898
|
-
size: n.size,
|
|
14899
|
-
disabled: n._disabled,
|
|
14900
14867
|
"start-placeholder": "开始时间",
|
|
14901
14868
|
"end-placeholder": "结束时间",
|
|
14902
14869
|
type: "datetimerange",
|
|
@@ -14909,8 +14876,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14909
14876
|
switch: {
|
|
14910
14877
|
component: Yd,
|
|
14911
14878
|
props: (t, n) => ({
|
|
14912
|
-
size: n.size,
|
|
14913
|
-
disabled: n._disabled,
|
|
14914
14879
|
"active-value": 1,
|
|
14915
14880
|
"inactive-value": 0,
|
|
14916
14881
|
"active-text": "是",
|
|
@@ -14924,7 +14889,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14924
14889
|
props: (t, n) => ({
|
|
14925
14890
|
size: "small",
|
|
14926
14891
|
marks: t.marks,
|
|
14927
|
-
disabled: n._disabled,
|
|
14928
14892
|
"show-input": t.showInput,
|
|
14929
14893
|
min: t.min || 0,
|
|
14930
14894
|
max: t.max || 100
|
|
@@ -14935,8 +14899,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14935
14899
|
component: Ri,
|
|
14936
14900
|
props: (t, n) => ({
|
|
14937
14901
|
type: "textarea",
|
|
14938
|
-
size: n.size,
|
|
14939
|
-
disabled: n._disabled,
|
|
14940
14902
|
autosize: { minRows: t.rows ?? 1 },
|
|
14941
14903
|
maxlength: t.maxlength,
|
|
14942
14904
|
"show-word-limit": !!t.maxlength,
|
|
@@ -14948,9 +14910,7 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14948
14910
|
number: {
|
|
14949
14911
|
component: Jd,
|
|
14950
14912
|
props: (t, n) => ({
|
|
14951
|
-
disabled: n._disabled,
|
|
14952
14913
|
style: "width: 120px",
|
|
14953
|
-
size: n.size,
|
|
14954
14914
|
min: t.min || 0,
|
|
14955
14915
|
max: t.max,
|
|
14956
14916
|
controls: t.controls ?? !0,
|
|
@@ -14964,7 +14924,6 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14964
14924
|
props: (t, n) => ({
|
|
14965
14925
|
type: "password",
|
|
14966
14926
|
autocomplete: "off",
|
|
14967
|
-
disabled: n._disabled,
|
|
14968
14927
|
"show-password": !0,
|
|
14969
14928
|
placeholder: t.placeholder || "输入密码"
|
|
14970
14929
|
})
|
|
@@ -14974,9 +14933,7 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
14974
14933
|
component: bs,
|
|
14975
14934
|
props: (t, n) => ({
|
|
14976
14935
|
btn: t.btn,
|
|
14977
|
-
size: n.size,
|
|
14978
14936
|
readonly: t.readonly,
|
|
14979
|
-
disabled: n._disabled,
|
|
14980
14937
|
placeholder: t.placeholder,
|
|
14981
14938
|
icon: t.icon
|
|
14982
14939
|
})
|
|
@@ -15046,8 +15003,7 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
15046
15003
|
isSystem: r.isSystem,
|
|
15047
15004
|
url: r.url,
|
|
15048
15005
|
filename: r.filename,
|
|
15049
|
-
accept: r.accept
|
|
15050
|
-
disabled: n._disabled
|
|
15006
|
+
accept: r.accept
|
|
15051
15007
|
}
|
|
15052
15008
|
};
|
|
15053
15009
|
case "md5":
|
|
@@ -15055,8 +15011,7 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
15055
15011
|
component: cn.md5,
|
|
15056
15012
|
props: {
|
|
15057
15013
|
length: r.length,
|
|
15058
|
-
type: r.md5type
|
|
15059
|
-
disabled: n._disabled
|
|
15014
|
+
type: r.md5type
|
|
15060
15015
|
}
|
|
15061
15016
|
};
|
|
15062
15017
|
case "group-tabs":
|
|
@@ -15105,13 +15060,17 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
15105
15060
|
let g = t.prop;
|
|
15106
15061
|
const m = $config?.inputs?.shortcuts?.[g.type];
|
|
15107
15062
|
return m ? { ...m, ...g, type: m.type } : g;
|
|
15108
|
-
}), s = Zt(() => o.value.size ?? t.size ?? "default")
|
|
15063
|
+
}), s = Zt(() => o.value.size ?? t.size ?? "default");
|
|
15064
|
+
Zt(() => t.disabled !== void 0 ? t.disabled : typeof o.value.disabled == "function" ? o.value.disabled(t.modelValue, t.row) : !!o.value.disabled);
|
|
15065
|
+
const a = Zt(() => o.value.url ? o.value.url?.map?.((g) => ({
|
|
15109
15066
|
label: g.title,
|
|
15110
15067
|
value: g.id
|
|
15111
|
-
})) : Bo(o.value.cols)),
|
|
15068
|
+
})) : Bo(o.value.cols)), l = Zt(() => o.value.cols ? Bo(o.value.cols) : [{ label: "是", value: !0 }, { label: "否", value: !1 }]), u = Zt(() => Bo(o.value.cols)), c = () => {
|
|
15112
15069
|
const g = o.value;
|
|
15113
15070
|
return typeof g.slot == "function" ? "slot" : ["image", "img", "video", "audio"].includes(g.type) ? "media" : g.component ? "component" : g.type || "input";
|
|
15114
|
-
}
|
|
15071
|
+
};
|
|
15072
|
+
console.log(o.value.disabled);
|
|
15073
|
+
const d = o.value.disabled, f = () => {
|
|
15115
15074
|
const g = o.value, { modelValue: m } = t;
|
|
15116
15075
|
switch (g.type) {
|
|
15117
15076
|
case "switch":
|
|
@@ -15128,18 +15087,16 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
15128
15087
|
break;
|
|
15129
15088
|
}
|
|
15130
15089
|
}, h = () => {
|
|
15131
|
-
const g =
|
|
15090
|
+
const g = c(), m = {
|
|
15132
15091
|
init: o.value,
|
|
15133
|
-
size: s.value,
|
|
15134
|
-
_disabled: a.value,
|
|
15135
15092
|
value: r.value,
|
|
15136
15093
|
row: t.row,
|
|
15137
15094
|
oldData: t.oldData,
|
|
15138
15095
|
prop: t.prop,
|
|
15139
15096
|
index: t.index,
|
|
15140
|
-
selectCols:
|
|
15141
|
-
radioCols:
|
|
15142
|
-
checkboxCols:
|
|
15097
|
+
selectCols: a.value,
|
|
15098
|
+
radioCols: l.value,
|
|
15099
|
+
checkboxCols: u.value,
|
|
15143
15100
|
components: $config?.inputs?.components,
|
|
15144
15101
|
joinChange: p
|
|
15145
15102
|
}, b = t4(g, m);
|
|
@@ -15168,6 +15125,7 @@ const Od = /* @__PURE__ */ pe(Jb, [["render", Gb]]), Bo = (t) => t ? Array.isArr
|
|
|
15168
15125
|
}), {
|
|
15169
15126
|
size: s,
|
|
15170
15127
|
internalValue: r,
|
|
15128
|
+
disabled: d,
|
|
15171
15129
|
currentComponent: i
|
|
15172
15130
|
};
|
|
15173
15131
|
}
|
|
@@ -15177,8 +15135,10 @@ function i4(t, n, r, i, o, s) {
|
|
|
15177
15135
|
t.currentComponent ? (D(), U(fr(t.currentComponent.component), Jt({
|
|
15178
15136
|
key: 0,
|
|
15179
15137
|
modelValue: t.internalValue,
|
|
15180
|
-
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.internalValue = a)
|
|
15181
|
-
|
|
15138
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.internalValue = a),
|
|
15139
|
+
size: t.size,
|
|
15140
|
+
disabled: t.disabled
|
|
15141
|
+
}, { ...t.currentComponent.props, ...t.prop.props || {} }), ic({
|
|
15182
15142
|
default: S(() => [
|
|
15183
15143
|
t.currentComponent.children ? (D(!0), A(se, { key: 0 }, Ne(t.currentComponent.children, (a, l) => (D(), U(fr(a.component), Jt({ key: l }, { ref_for: !0 }, a.props), {
|
|
15184
15144
|
default: S(() => [
|
|
@@ -15205,7 +15165,7 @@ function i4(t, n, r, i, o, s) {
|
|
|
15205
15165
|
]),
|
|
15206
15166
|
key: "1"
|
|
15207
15167
|
} : void 0
|
|
15208
|
-
]), 1040, ["modelValue", "size"])) : J("", !0)
|
|
15168
|
+
]), 1040, ["modelValue", "size", "disabled"])) : J("", !0)
|
|
15209
15169
|
]);
|
|
15210
15170
|
}
|
|
15211
15171
|
const Gs = /* @__PURE__ */ pe(n4, [["render", i4]]), u6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|