straw-ui-vue 0.1.62 → 0.1.63
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.
|
@@ -1,5 +1,16 @@
|
|
|
1
|
+
import type { ClassValue, StyleValue } from 'vue';
|
|
2
|
+
|
|
1
3
|
/** 树多选框组件属性接口 */
|
|
2
|
-
export interface StTreeGroupCheckboxProps {
|
|
4
|
+
export interface StTreeGroupCheckboxProps {
|
|
5
|
+
/** 多选框盒子类名 */
|
|
6
|
+
boxClass?: ClassValue;
|
|
7
|
+
/** 多选框盒子样式 */
|
|
8
|
+
boxStyle?: StyleValue;
|
|
9
|
+
/** 多选框图标类名 */
|
|
10
|
+
coreClass?: ClassValue;
|
|
11
|
+
/** 多选框图标样式 */
|
|
12
|
+
coreStyle?: StyleValue;
|
|
13
|
+
}
|
|
3
14
|
|
|
4
15
|
/** 树多选框组件插槽接口 */
|
|
5
16
|
export interface StTreeGroupCheckboxSlots {}
|
|
@@ -10,4 +21,4 @@ export interface StTreeGroupCheckboxEmits {
|
|
|
10
21
|
change: [event: MouseEvent];
|
|
11
22
|
}
|
|
12
23
|
|
|
13
|
-
export {};
|
|
24
|
+
export {};
|
|
@@ -21,6 +21,42 @@ export interface StTreeNodeProps {
|
|
|
21
21
|
labelClass?: ClassValue;
|
|
22
22
|
/** 标签样式 */
|
|
23
23
|
labelStyle?: StyleValue;
|
|
24
|
+
/** 节点行类名 */
|
|
25
|
+
nodeClass?: ClassValue;
|
|
26
|
+
/** 节点行样式 */
|
|
27
|
+
nodeStyle?: StyleValue;
|
|
28
|
+
/** 箭头外层附加区类名 */
|
|
29
|
+
arrowAddonClass?: ClassValue;
|
|
30
|
+
/** 箭头外层附加区样式 */
|
|
31
|
+
arrowAddonStyle?: StyleValue;
|
|
32
|
+
/** 多选框外层附加区类名 */
|
|
33
|
+
checkboxAddonClass?: ClassValue;
|
|
34
|
+
/** 多选框外层附加区样式 */
|
|
35
|
+
checkboxAddonStyle?: StyleValue;
|
|
36
|
+
/** 多选框类名 */
|
|
37
|
+
checkboxClass?: ClassValue;
|
|
38
|
+
/** 多选框样式 */
|
|
39
|
+
checkboxStyle?: StyleValue;
|
|
40
|
+
/** 多选框盒子类名 */
|
|
41
|
+
checkboxBoxClass?: ClassValue;
|
|
42
|
+
/** 多选框盒子样式 */
|
|
43
|
+
checkboxBoxStyle?: StyleValue;
|
|
44
|
+
/** 多选框图标类名 */
|
|
45
|
+
checkboxCoreClass?: ClassValue;
|
|
46
|
+
/** 多选框图标样式 */
|
|
47
|
+
checkboxCoreStyle?: StyleValue;
|
|
48
|
+
/** 操作区外层附加区类名 */
|
|
49
|
+
actionAddonClass?: ClassValue;
|
|
50
|
+
/** 操作区外层附加区样式 */
|
|
51
|
+
actionAddonStyle?: StyleValue;
|
|
52
|
+
/** 子节点容器类名 */
|
|
53
|
+
childrenClass?: ClassValue;
|
|
54
|
+
/** 子节点容器样式 */
|
|
55
|
+
childrenStyle?: StyleValue;
|
|
56
|
+
/** 子组容器类名 */
|
|
57
|
+
subGroupClass?: ClassValue;
|
|
58
|
+
/** 子组容器样式 */
|
|
59
|
+
subGroupStyle?: StyleValue;
|
|
24
60
|
}
|
|
25
61
|
|
|
26
62
|
/** 树内部递归渲染器插槽接口 */
|
|
@@ -56,6 +56,42 @@ export interface StTreeProps {
|
|
|
56
56
|
labelClass?: ClassValue;
|
|
57
57
|
/** 标签 style */
|
|
58
58
|
labelStyle?: StyleValue;
|
|
59
|
+
/** 节点行 class */
|
|
60
|
+
nodeClass?: ClassValue;
|
|
61
|
+
/** 节点行 style */
|
|
62
|
+
nodeStyle?: StyleValue;
|
|
63
|
+
/** 箭头外层附加区 class */
|
|
64
|
+
arrowAddonClass?: ClassValue;
|
|
65
|
+
/** 箭头外层附加区 style */
|
|
66
|
+
arrowAddonStyle?: StyleValue;
|
|
67
|
+
/** 多选框外层附加区 class */
|
|
68
|
+
checkboxAddonClass?: ClassValue;
|
|
69
|
+
/** 多选框外层附加区 style */
|
|
70
|
+
checkboxAddonStyle?: StyleValue;
|
|
71
|
+
/** 多选框 class */
|
|
72
|
+
checkboxClass?: ClassValue;
|
|
73
|
+
/** 多选框 style */
|
|
74
|
+
checkboxStyle?: StyleValue;
|
|
75
|
+
/** 多选框盒子 class */
|
|
76
|
+
checkboxBoxClass?: ClassValue;
|
|
77
|
+
/** 多选框盒子 style */
|
|
78
|
+
checkboxBoxStyle?: StyleValue;
|
|
79
|
+
/** 多选框图标 class */
|
|
80
|
+
checkboxCoreClass?: ClassValue;
|
|
81
|
+
/** 多选框图标 style */
|
|
82
|
+
checkboxCoreStyle?: StyleValue;
|
|
83
|
+
/** 操作区外层附加区 class */
|
|
84
|
+
actionAddonClass?: ClassValue;
|
|
85
|
+
/** 操作区外层附加区 style */
|
|
86
|
+
actionAddonStyle?: StyleValue;
|
|
87
|
+
/** 子节点容器 class */
|
|
88
|
+
childrenClass?: ClassValue;
|
|
89
|
+
/** 子节点容器 style */
|
|
90
|
+
childrenStyle?: StyleValue;
|
|
91
|
+
/** 子组容器 class */
|
|
92
|
+
subGroupClass?: ClassValue;
|
|
93
|
+
/** 子组容器 style */
|
|
94
|
+
subGroupStyle?: StyleValue;
|
|
59
95
|
}
|
|
60
96
|
/** 树组件插槽接口 */
|
|
61
97
|
export interface StTreeSlots {
|
package/dist/straw-ui.js
CHANGED
|
@@ -4502,23 +4502,23 @@ var En = ["data-index"], Dn = /* @__PURE__ */ I({
|
|
|
4502
4502
|
setup(e, { emit: t }) {
|
|
4503
4503
|
let n = J();
|
|
4504
4504
|
X();
|
|
4505
|
-
let r = e, i = Vn(), a = Un(), o = O(() => a ? i?.modelValue.value === a.value.value : !1), s = O(() => r.disabled || (a?.disabled.value ?? !1)),
|
|
4505
|
+
let r = e, i = Vn(), a = Un(), o = O(() => a ? i?.modelValue.value === a.value.value : !1), s = O(() => !a || i?.selection.value ? !1 : i?.modelValue.value === a.value.value), c = O(() => !a || !i?.selection.value ? !1 : i?.selectedKeys?.value.includes(a.value.value) ?? !1), u = O(() => r.disabled || (a?.disabled.value ?? !1)), f = d({
|
|
4506
4506
|
base: "flex items-center gap-default rounded",
|
|
4507
4507
|
variants: { selected: {
|
|
4508
4508
|
true: "bg-primary/10 text-primary",
|
|
4509
4509
|
false: "text-foreground hover:bg-accent"
|
|
4510
4510
|
} }
|
|
4511
|
-
}),
|
|
4511
|
+
}), p = O(() => l(f({ selected: o.value }), s.value && "is-active", c.value && "is-checked", n.class)), m = O(() => {
|
|
4512
4512
|
let e = a?.indentOffset.value ?? 0;
|
|
4513
4513
|
return [n.style, { paddingLeft: e > 0 ? `${e}px` : void 0 }];
|
|
4514
4514
|
});
|
|
4515
|
-
function
|
|
4516
|
-
a && !
|
|
4515
|
+
function h() {
|
|
4516
|
+
a && !u.value && i?.setSelected(a.value.value);
|
|
4517
4517
|
}
|
|
4518
4518
|
return (e, t) => (H(), j("div", {
|
|
4519
|
-
class: B(["st-tree-group-node",
|
|
4520
|
-
style: V(
|
|
4521
|
-
onClick:
|
|
4519
|
+
class: B(["st-tree-group-node", p.value]),
|
|
4520
|
+
style: V(m.value),
|
|
4521
|
+
onClick: h
|
|
4522
4522
|
}, [G(e.$slots, "default")], 6));
|
|
4523
4523
|
}
|
|
4524
4524
|
}), Kn = /* @__PURE__ */ I({
|
|
@@ -4787,34 +4787,72 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
|
|
|
4787
4787
|
name: "StTreeGroupCheckbox",
|
|
4788
4788
|
inheritAttrs: !1,
|
|
4789
4789
|
__name: "st-tree-group-checkbox",
|
|
4790
|
+
props: {
|
|
4791
|
+
boxClass: { type: [
|
|
4792
|
+
Boolean,
|
|
4793
|
+
null,
|
|
4794
|
+
String,
|
|
4795
|
+
Object,
|
|
4796
|
+
Array
|
|
4797
|
+
] },
|
|
4798
|
+
boxStyle: { type: [
|
|
4799
|
+
Boolean,
|
|
4800
|
+
null,
|
|
4801
|
+
String,
|
|
4802
|
+
Object,
|
|
4803
|
+
Array
|
|
4804
|
+
] },
|
|
4805
|
+
coreClass: { type: [
|
|
4806
|
+
Boolean,
|
|
4807
|
+
null,
|
|
4808
|
+
String,
|
|
4809
|
+
Object,
|
|
4810
|
+
Array
|
|
4811
|
+
] },
|
|
4812
|
+
coreStyle: { type: [
|
|
4813
|
+
Boolean,
|
|
4814
|
+
null,
|
|
4815
|
+
String,
|
|
4816
|
+
Object,
|
|
4817
|
+
Array
|
|
4818
|
+
] }
|
|
4819
|
+
},
|
|
4790
4820
|
emits: ["change"],
|
|
4791
4821
|
setup(e, { emit: t }) {
|
|
4792
4822
|
let n = J();
|
|
4793
4823
|
X();
|
|
4794
|
-
let r = t, i = Vn(),
|
|
4795
|
-
get: () =>
|
|
4824
|
+
let r = t, i = e, a = Vn(), o = Un(), s = O(() => o?.value.value), c = O(() => o?.disabled.value ?? !1), l = O(() => a?.indeterminateKeys.value.has(s.value) ?? !1), u = O({
|
|
4825
|
+
get: () => a?.selectedKeys.value.includes(s.value) ? s.value : !1,
|
|
4796
4826
|
set: () => {
|
|
4797
|
-
|
|
4827
|
+
o && a?.toggleChecked(o.value.value);
|
|
4798
4828
|
}
|
|
4799
4829
|
});
|
|
4800
|
-
function
|
|
4830
|
+
function d(e) {
|
|
4801
4831
|
r("change", e);
|
|
4802
4832
|
}
|
|
4803
4833
|
return (e, t) => (H(), j("span", {
|
|
4804
4834
|
class: "st-tree-group-checkbox inline-flex",
|
|
4805
4835
|
onClick: t[1] ||= Te(() => {}, ["stop"])
|
|
4806
4836
|
}, [F(tr, {
|
|
4807
|
-
modelValue:
|
|
4808
|
-
"onUpdate:modelValue": t[0] ||= (e) =>
|
|
4837
|
+
modelValue: u.value,
|
|
4838
|
+
"onUpdate:modelValue": t[0] ||= (e) => u.value = e,
|
|
4839
|
+
"box-class": i.boxClass,
|
|
4840
|
+
"box-style": i.boxStyle,
|
|
4809
4841
|
class: B(q(n).class),
|
|
4810
|
-
|
|
4811
|
-
|
|
4842
|
+
"core-class": i.coreClass,
|
|
4843
|
+
"core-style": i.coreStyle,
|
|
4844
|
+
disabled: c.value,
|
|
4845
|
+
indeterminate: l.value,
|
|
4812
4846
|
style: V(q(n).style),
|
|
4813
|
-
"true-value":
|
|
4814
|
-
onChange:
|
|
4847
|
+
"true-value": s.value,
|
|
4848
|
+
onChange: d
|
|
4815
4849
|
}, null, 8, [
|
|
4816
4850
|
"modelValue",
|
|
4851
|
+
"box-class",
|
|
4852
|
+
"box-style",
|
|
4817
4853
|
"class",
|
|
4854
|
+
"core-class",
|
|
4855
|
+
"core-style",
|
|
4818
4856
|
"disabled",
|
|
4819
4857
|
"indeterminate",
|
|
4820
4858
|
"style",
|
|
@@ -4907,6 +4945,132 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
|
|
|
4907
4945
|
String,
|
|
4908
4946
|
Object,
|
|
4909
4947
|
Array
|
|
4948
|
+
] },
|
|
4949
|
+
nodeClass: { type: [
|
|
4950
|
+
Boolean,
|
|
4951
|
+
null,
|
|
4952
|
+
String,
|
|
4953
|
+
Object,
|
|
4954
|
+
Array
|
|
4955
|
+
] },
|
|
4956
|
+
nodeStyle: { type: [
|
|
4957
|
+
Boolean,
|
|
4958
|
+
null,
|
|
4959
|
+
String,
|
|
4960
|
+
Object,
|
|
4961
|
+
Array
|
|
4962
|
+
] },
|
|
4963
|
+
arrowAddonClass: { type: [
|
|
4964
|
+
Boolean,
|
|
4965
|
+
null,
|
|
4966
|
+
String,
|
|
4967
|
+
Object,
|
|
4968
|
+
Array
|
|
4969
|
+
] },
|
|
4970
|
+
arrowAddonStyle: { type: [
|
|
4971
|
+
Boolean,
|
|
4972
|
+
null,
|
|
4973
|
+
String,
|
|
4974
|
+
Object,
|
|
4975
|
+
Array
|
|
4976
|
+
] },
|
|
4977
|
+
checkboxAddonClass: { type: [
|
|
4978
|
+
Boolean,
|
|
4979
|
+
null,
|
|
4980
|
+
String,
|
|
4981
|
+
Object,
|
|
4982
|
+
Array
|
|
4983
|
+
] },
|
|
4984
|
+
checkboxAddonStyle: { type: [
|
|
4985
|
+
Boolean,
|
|
4986
|
+
null,
|
|
4987
|
+
String,
|
|
4988
|
+
Object,
|
|
4989
|
+
Array
|
|
4990
|
+
] },
|
|
4991
|
+
checkboxClass: { type: [
|
|
4992
|
+
Boolean,
|
|
4993
|
+
null,
|
|
4994
|
+
String,
|
|
4995
|
+
Object,
|
|
4996
|
+
Array
|
|
4997
|
+
] },
|
|
4998
|
+
checkboxStyle: { type: [
|
|
4999
|
+
Boolean,
|
|
5000
|
+
null,
|
|
5001
|
+
String,
|
|
5002
|
+
Object,
|
|
5003
|
+
Array
|
|
5004
|
+
] },
|
|
5005
|
+
checkboxBoxClass: { type: [
|
|
5006
|
+
Boolean,
|
|
5007
|
+
null,
|
|
5008
|
+
String,
|
|
5009
|
+
Object,
|
|
5010
|
+
Array
|
|
5011
|
+
] },
|
|
5012
|
+
checkboxBoxStyle: { type: [
|
|
5013
|
+
Boolean,
|
|
5014
|
+
null,
|
|
5015
|
+
String,
|
|
5016
|
+
Object,
|
|
5017
|
+
Array
|
|
5018
|
+
] },
|
|
5019
|
+
checkboxCoreClass: { type: [
|
|
5020
|
+
Boolean,
|
|
5021
|
+
null,
|
|
5022
|
+
String,
|
|
5023
|
+
Object,
|
|
5024
|
+
Array
|
|
5025
|
+
] },
|
|
5026
|
+
checkboxCoreStyle: { type: [
|
|
5027
|
+
Boolean,
|
|
5028
|
+
null,
|
|
5029
|
+
String,
|
|
5030
|
+
Object,
|
|
5031
|
+
Array
|
|
5032
|
+
] },
|
|
5033
|
+
actionAddonClass: { type: [
|
|
5034
|
+
Boolean,
|
|
5035
|
+
null,
|
|
5036
|
+
String,
|
|
5037
|
+
Object,
|
|
5038
|
+
Array
|
|
5039
|
+
] },
|
|
5040
|
+
actionAddonStyle: { type: [
|
|
5041
|
+
Boolean,
|
|
5042
|
+
null,
|
|
5043
|
+
String,
|
|
5044
|
+
Object,
|
|
5045
|
+
Array
|
|
5046
|
+
] },
|
|
5047
|
+
childrenClass: { type: [
|
|
5048
|
+
Boolean,
|
|
5049
|
+
null,
|
|
5050
|
+
String,
|
|
5051
|
+
Object,
|
|
5052
|
+
Array
|
|
5053
|
+
] },
|
|
5054
|
+
childrenStyle: { type: [
|
|
5055
|
+
Boolean,
|
|
5056
|
+
null,
|
|
5057
|
+
String,
|
|
5058
|
+
Object,
|
|
5059
|
+
Array
|
|
5060
|
+
] },
|
|
5061
|
+
subGroupClass: { type: [
|
|
5062
|
+
Boolean,
|
|
5063
|
+
null,
|
|
5064
|
+
String,
|
|
5065
|
+
Object,
|
|
5066
|
+
Array
|
|
5067
|
+
] },
|
|
5068
|
+
subGroupStyle: { type: [
|
|
5069
|
+
Boolean,
|
|
5070
|
+
null,
|
|
5071
|
+
String,
|
|
5072
|
+
Object,
|
|
5073
|
+
Array
|
|
4910
5074
|
] }
|
|
4911
5075
|
},
|
|
4912
5076
|
setup(e, { emit: t }) {
|
|
@@ -4914,18 +5078,24 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
|
|
|
4914
5078
|
return (e, t) => {
|
|
4915
5079
|
let r = pe("st-tree-node", !0);
|
|
4916
5080
|
return H(), k(ar, {
|
|
5081
|
+
class: B(a.subGroupClass),
|
|
4917
5082
|
disabled: m.value,
|
|
4918
5083
|
indent: a.indent,
|
|
5084
|
+
style: V(a.subGroupStyle),
|
|
4919
5085
|
value: o.value
|
|
4920
5086
|
}, {
|
|
4921
5087
|
default: $(() => [F(Gn, {
|
|
4922
|
-
class: B(["st-tree-node", q(n).class]),
|
|
5088
|
+
class: B(["st-tree-node", [a.nodeClass, q(n).class]]),
|
|
4923
5089
|
disabled: m.value,
|
|
4924
|
-
style: V(q(n).style),
|
|
5090
|
+
style: V([a.nodeStyle, q(n).style]),
|
|
4925
5091
|
value: o.value
|
|
4926
5092
|
}, {
|
|
4927
5093
|
default: $(() => [
|
|
4928
|
-
F(nn, {
|
|
5094
|
+
F(nn, {
|
|
5095
|
+
class: B(["st-tree-arrow-addon", a.arrowAddonClass]),
|
|
5096
|
+
style: V(a.arrowAddonStyle),
|
|
5097
|
+
align: "inline-start"
|
|
5098
|
+
}, {
|
|
4929
5099
|
default: $(() => [F(Kn, {
|
|
4930
5100
|
class: B(a.arrowClass),
|
|
4931
5101
|
style: V(a.arrowStyle)
|
|
@@ -4934,14 +5104,30 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
|
|
|
4934
5104
|
_: 3
|
|
4935
5105
|
}, 8, ["class", "style"])]),
|
|
4936
5106
|
_: 3
|
|
4937
|
-
}),
|
|
5107
|
+
}, 8, ["class", "style"]),
|
|
4938
5108
|
l.value ? (H(), k(nn, {
|
|
4939
5109
|
key: 0,
|
|
5110
|
+
class: B(["st-tree-checkbox-addon", a.checkboxAddonClass]),
|
|
5111
|
+
style: V(a.checkboxAddonStyle),
|
|
4940
5112
|
align: "inline-start"
|
|
4941
5113
|
}, {
|
|
4942
|
-
default: $(() => [F(nr
|
|
5114
|
+
default: $(() => [F(nr, {
|
|
5115
|
+
"box-class": a.checkboxBoxClass,
|
|
5116
|
+
"box-style": a.checkboxBoxStyle,
|
|
5117
|
+
class: B(a.checkboxClass),
|
|
5118
|
+
"core-class": a.checkboxCoreClass,
|
|
5119
|
+
"core-style": a.checkboxCoreStyle,
|
|
5120
|
+
style: V(a.checkboxStyle)
|
|
5121
|
+
}, null, 8, [
|
|
5122
|
+
"box-class",
|
|
5123
|
+
"box-style",
|
|
5124
|
+
"class",
|
|
5125
|
+
"core-class",
|
|
5126
|
+
"core-style",
|
|
5127
|
+
"style"
|
|
5128
|
+
])]),
|
|
4943
5129
|
_: 1
|
|
4944
|
-
})) : A("", !0),
|
|
5130
|
+
}, 8, ["class", "style"])) : A("", !0),
|
|
4945
5131
|
F(qn, {
|
|
4946
5132
|
class: B(a.labelClass),
|
|
4947
5133
|
style: V(a.labelStyle)
|
|
@@ -4951,11 +5137,13 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
|
|
|
4951
5137
|
}, 8, ["class", "style"]),
|
|
4952
5138
|
u.value ? (H(), k(nn, {
|
|
4953
5139
|
key: 1,
|
|
5140
|
+
class: B(["st-tree-action-addon", a.actionAddonClass]),
|
|
5141
|
+
style: V(a.actionAddonStyle),
|
|
4954
5142
|
align: "inline-end"
|
|
4955
5143
|
}, {
|
|
4956
5144
|
default: $(() => [G(e.$slots, "action", { item: a.node })]),
|
|
4957
5145
|
_: 3
|
|
4958
|
-
})) : A("", !0)
|
|
5146
|
+
}, 8, ["class", "style"])) : A("", !0)
|
|
4959
5147
|
]),
|
|
4960
5148
|
_: 3
|
|
4961
5149
|
}, 8, [
|
|
@@ -4963,7 +5151,11 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
|
|
|
4963
5151
|
"disabled",
|
|
4964
5152
|
"style",
|
|
4965
5153
|
"value"
|
|
4966
|
-
]), p.value ? (H(), k(ir, {
|
|
5154
|
+
]), p.value ? (H(), k(ir, {
|
|
5155
|
+
key: 0,
|
|
5156
|
+
class: B(a.childrenClass),
|
|
5157
|
+
style: V(a.childrenStyle)
|
|
5158
|
+
}, {
|
|
4967
5159
|
default: $(() => [(H(!0), j(E, null, W(c.value, (t) => (H(), k(r, R({ ref_for: !0 }, a, {
|
|
4968
5160
|
key: t[a.valueKey],
|
|
4969
5161
|
node: t
|
|
@@ -4972,11 +5164,13 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
|
|
|
4972
5164
|
fn: $((n) => [G(e.$slots, t, R({ ref_for: !0 }, n))])
|
|
4973
5165
|
}))]), 1040, ["node"]))), 128))]),
|
|
4974
5166
|
_: 3
|
|
4975
|
-
})) : A("", !0)]),
|
|
5167
|
+
}, 8, ["class", "style"])) : A("", !0)]),
|
|
4976
5168
|
_: 3
|
|
4977
5169
|
}, 8, [
|
|
5170
|
+
"class",
|
|
4978
5171
|
"disabled",
|
|
4979
5172
|
"indent",
|
|
5173
|
+
"style",
|
|
4980
5174
|
"value"
|
|
4981
5175
|
]);
|
|
4982
5176
|
};
|
|
@@ -5152,6 +5346,132 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
|
|
|
5152
5346
|
String,
|
|
5153
5347
|
Object,
|
|
5154
5348
|
Array
|
|
5349
|
+
] },
|
|
5350
|
+
nodeClass: { type: [
|
|
5351
|
+
Boolean,
|
|
5352
|
+
null,
|
|
5353
|
+
String,
|
|
5354
|
+
Object,
|
|
5355
|
+
Array
|
|
5356
|
+
] },
|
|
5357
|
+
nodeStyle: { type: [
|
|
5358
|
+
Boolean,
|
|
5359
|
+
null,
|
|
5360
|
+
String,
|
|
5361
|
+
Object,
|
|
5362
|
+
Array
|
|
5363
|
+
] },
|
|
5364
|
+
arrowAddonClass: { type: [
|
|
5365
|
+
Boolean,
|
|
5366
|
+
null,
|
|
5367
|
+
String,
|
|
5368
|
+
Object,
|
|
5369
|
+
Array
|
|
5370
|
+
] },
|
|
5371
|
+
arrowAddonStyle: { type: [
|
|
5372
|
+
Boolean,
|
|
5373
|
+
null,
|
|
5374
|
+
String,
|
|
5375
|
+
Object,
|
|
5376
|
+
Array
|
|
5377
|
+
] },
|
|
5378
|
+
checkboxAddonClass: { type: [
|
|
5379
|
+
Boolean,
|
|
5380
|
+
null,
|
|
5381
|
+
String,
|
|
5382
|
+
Object,
|
|
5383
|
+
Array
|
|
5384
|
+
] },
|
|
5385
|
+
checkboxAddonStyle: { type: [
|
|
5386
|
+
Boolean,
|
|
5387
|
+
null,
|
|
5388
|
+
String,
|
|
5389
|
+
Object,
|
|
5390
|
+
Array
|
|
5391
|
+
] },
|
|
5392
|
+
checkboxClass: { type: [
|
|
5393
|
+
Boolean,
|
|
5394
|
+
null,
|
|
5395
|
+
String,
|
|
5396
|
+
Object,
|
|
5397
|
+
Array
|
|
5398
|
+
] },
|
|
5399
|
+
checkboxStyle: { type: [
|
|
5400
|
+
Boolean,
|
|
5401
|
+
null,
|
|
5402
|
+
String,
|
|
5403
|
+
Object,
|
|
5404
|
+
Array
|
|
5405
|
+
] },
|
|
5406
|
+
checkboxBoxClass: { type: [
|
|
5407
|
+
Boolean,
|
|
5408
|
+
null,
|
|
5409
|
+
String,
|
|
5410
|
+
Object,
|
|
5411
|
+
Array
|
|
5412
|
+
] },
|
|
5413
|
+
checkboxBoxStyle: { type: [
|
|
5414
|
+
Boolean,
|
|
5415
|
+
null,
|
|
5416
|
+
String,
|
|
5417
|
+
Object,
|
|
5418
|
+
Array
|
|
5419
|
+
] },
|
|
5420
|
+
checkboxCoreClass: { type: [
|
|
5421
|
+
Boolean,
|
|
5422
|
+
null,
|
|
5423
|
+
String,
|
|
5424
|
+
Object,
|
|
5425
|
+
Array
|
|
5426
|
+
] },
|
|
5427
|
+
checkboxCoreStyle: { type: [
|
|
5428
|
+
Boolean,
|
|
5429
|
+
null,
|
|
5430
|
+
String,
|
|
5431
|
+
Object,
|
|
5432
|
+
Array
|
|
5433
|
+
] },
|
|
5434
|
+
actionAddonClass: { type: [
|
|
5435
|
+
Boolean,
|
|
5436
|
+
null,
|
|
5437
|
+
String,
|
|
5438
|
+
Object,
|
|
5439
|
+
Array
|
|
5440
|
+
] },
|
|
5441
|
+
actionAddonStyle: { type: [
|
|
5442
|
+
Boolean,
|
|
5443
|
+
null,
|
|
5444
|
+
String,
|
|
5445
|
+
Object,
|
|
5446
|
+
Array
|
|
5447
|
+
] },
|
|
5448
|
+
childrenClass: { type: [
|
|
5449
|
+
Boolean,
|
|
5450
|
+
null,
|
|
5451
|
+
String,
|
|
5452
|
+
Object,
|
|
5453
|
+
Array
|
|
5454
|
+
] },
|
|
5455
|
+
childrenStyle: { type: [
|
|
5456
|
+
Boolean,
|
|
5457
|
+
null,
|
|
5458
|
+
String,
|
|
5459
|
+
Object,
|
|
5460
|
+
Array
|
|
5461
|
+
] },
|
|
5462
|
+
subGroupClass: { type: [
|
|
5463
|
+
Boolean,
|
|
5464
|
+
null,
|
|
5465
|
+
String,
|
|
5466
|
+
Object,
|
|
5467
|
+
Array
|
|
5468
|
+
] },
|
|
5469
|
+
subGroupStyle: { type: [
|
|
5470
|
+
Boolean,
|
|
5471
|
+
null,
|
|
5472
|
+
String,
|
|
5473
|
+
Object,
|
|
5474
|
+
Array
|
|
5155
5475
|
] }
|
|
5156
5476
|
}, {
|
|
5157
5477
|
modelValue: {},
|
|
@@ -5315,7 +5635,25 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
|
|
|
5315
5635
|
default: $(() => [x.value.length > 0 ? (H(!0), j(E, { key: 0 }, W(x.value, (t) => (H(), k(or, {
|
|
5316
5636
|
"arrow-class": o.arrowClass,
|
|
5317
5637
|
"arrow-style": o.arrowStyle,
|
|
5638
|
+
"action-addon-class": o.actionAddonClass,
|
|
5639
|
+
"action-addon-style": o.actionAddonStyle,
|
|
5640
|
+
"arrow-addon-class": o.arrowAddonClass,
|
|
5641
|
+
"arrow-addon-style": o.arrowAddonStyle,
|
|
5642
|
+
"checkbox-addon-class": o.checkboxAddonClass,
|
|
5643
|
+
"checkbox-addon-style": o.checkboxAddonStyle,
|
|
5644
|
+
"checkbox-box-class": o.checkboxBoxClass,
|
|
5645
|
+
"checkbox-box-style": o.checkboxBoxStyle,
|
|
5646
|
+
"checkbox-class": o.checkboxClass,
|
|
5647
|
+
"checkbox-core-class": o.checkboxCoreClass,
|
|
5648
|
+
"checkbox-core-style": o.checkboxCoreStyle,
|
|
5649
|
+
"checkbox-style": o.checkboxStyle,
|
|
5650
|
+
"children-class": o.childrenClass,
|
|
5318
5651
|
"children-key": o.childrenKey,
|
|
5652
|
+
"children-style": o.childrenStyle,
|
|
5653
|
+
"node-class": o.nodeClass,
|
|
5654
|
+
"node-style": o.nodeStyle,
|
|
5655
|
+
"sub-group-class": o.subGroupClass,
|
|
5656
|
+
"sub-group-style": o.subGroupStyle,
|
|
5319
5657
|
indent: o.indent,
|
|
5320
5658
|
key: g(t),
|
|
5321
5659
|
"label-class": o.labelClass,
|
|
@@ -5326,17 +5664,7 @@ var Qn = ["for"], $n = /* @__PURE__ */ I({
|
|
|
5326
5664
|
}, N({ _: 2 }, [W(h.value, (t) => ({
|
|
5327
5665
|
name: t,
|
|
5328
5666
|
fn: $((n) => [G(e.$slots, t, R({ ref_for: !0 }, n))])
|
|
5329
|
-
}))]), 1032,
|
|
5330
|
-
"arrow-class",
|
|
5331
|
-
"arrow-style",
|
|
5332
|
-
"children-key",
|
|
5333
|
-
"indent",
|
|
5334
|
-
"label-class",
|
|
5335
|
-
"label-key",
|
|
5336
|
-
"label-style",
|
|
5337
|
-
"node",
|
|
5338
|
-
"value-key"
|
|
5339
|
-
]))), 128)) : i.empty ? G(e.$slots, "empty", {}, void 0, void 0, 1) : (H(), k(ur, { key: 2 }))]),
|
|
5667
|
+
}))]), 1032, /* @__PURE__ */ "arrow-class.arrow-style.action-addon-class.action-addon-style.arrow-addon-class.arrow-addon-style.checkbox-addon-class.checkbox-addon-style.checkbox-box-class.checkbox-box-style.checkbox-class.checkbox-core-class.checkbox-core-style.checkbox-style.children-class.children-key.children-style.node-class.node-style.sub-group-class.sub-group-style.indent.label-class.label-key.label-style.node.value-key".split(".")))), 128)) : i.empty ? G(e.$slots, "empty", {}, void 0, void 0, 1) : (H(), k(ur, { key: 2 }))]),
|
|
5340
5668
|
_: 3
|
|
5341
5669
|
}, 8, [
|
|
5342
5670
|
"modelValue",
|