@a2simcode/ui 0.0.202 → 0.0.203
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.
|
@@ -25,7 +25,9 @@ declare const JRadio: {
|
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
27
|
colors: {
|
|
28
|
-
type: import('vue').PropType<string[]
|
|
28
|
+
type: import('vue').PropType<string[] | {
|
|
29
|
+
color: string;
|
|
30
|
+
}[]>;
|
|
29
31
|
default: () => never[];
|
|
30
32
|
};
|
|
31
33
|
readonly: BooleanConstructor;
|
|
@@ -44,7 +46,9 @@ declare const JRadio: {
|
|
|
44
46
|
readonly: boolean;
|
|
45
47
|
isButton: boolean;
|
|
46
48
|
isColor: boolean;
|
|
47
|
-
colors: string[]
|
|
49
|
+
colors: string[] | {
|
|
50
|
+
color: string;
|
|
51
|
+
}[];
|
|
48
52
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
49
53
|
P: {};
|
|
50
54
|
B: {};
|
|
@@ -78,7 +82,9 @@ declare const JRadio: {
|
|
|
78
82
|
default: boolean;
|
|
79
83
|
};
|
|
80
84
|
colors: {
|
|
81
|
-
type: import('vue').PropType<string[]
|
|
85
|
+
type: import('vue').PropType<string[] | {
|
|
86
|
+
color: string;
|
|
87
|
+
}[]>;
|
|
82
88
|
default: () => never[];
|
|
83
89
|
};
|
|
84
90
|
readonly: BooleanConstructor;
|
|
@@ -95,7 +101,9 @@ declare const JRadio: {
|
|
|
95
101
|
readonly: boolean;
|
|
96
102
|
isButton: boolean;
|
|
97
103
|
isColor: boolean;
|
|
98
|
-
colors: string[]
|
|
104
|
+
colors: string[] | {
|
|
105
|
+
color: string;
|
|
106
|
+
}[];
|
|
99
107
|
}>;
|
|
100
108
|
__isFragment?: never;
|
|
101
109
|
__isTeleport?: never;
|
|
@@ -126,7 +134,9 @@ declare const JRadio: {
|
|
|
126
134
|
default: boolean;
|
|
127
135
|
};
|
|
128
136
|
colors: {
|
|
129
|
-
type: import('vue').PropType<string[]
|
|
137
|
+
type: import('vue').PropType<string[] | {
|
|
138
|
+
color: string;
|
|
139
|
+
}[]>;
|
|
130
140
|
default: () => never[];
|
|
131
141
|
};
|
|
132
142
|
readonly: BooleanConstructor;
|
|
@@ -145,7 +155,9 @@ declare const JRadio: {
|
|
|
145
155
|
readonly: boolean;
|
|
146
156
|
isButton: boolean;
|
|
147
157
|
isColor: boolean;
|
|
148
|
-
colors: string[]
|
|
158
|
+
colors: string[] | {
|
|
159
|
+
color: string;
|
|
160
|
+
}[];
|
|
149
161
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
150
162
|
install: (app: import('vue').App) => void;
|
|
151
163
|
};
|
|
@@ -44,7 +44,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
44
44
|
* @zh 颜色列表
|
|
45
45
|
*/
|
|
46
46
|
colors: {
|
|
47
|
-
type: PropType<string[]
|
|
47
|
+
type: PropType<string[] | {
|
|
48
|
+
color: string;
|
|
49
|
+
}[]>;
|
|
48
50
|
default: () => never[];
|
|
49
51
|
};
|
|
50
52
|
/**
|
|
@@ -98,7 +100,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
98
100
|
* @zh 颜色列表
|
|
99
101
|
*/
|
|
100
102
|
colors: {
|
|
101
|
-
type: PropType<string[]
|
|
103
|
+
type: PropType<string[] | {
|
|
104
|
+
color: string;
|
|
105
|
+
}[]>;
|
|
102
106
|
default: () => never[];
|
|
103
107
|
};
|
|
104
108
|
/**
|
|
@@ -118,6 +122,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
118
122
|
readonly: boolean;
|
|
119
123
|
isButton: boolean;
|
|
120
124
|
isColor: boolean;
|
|
121
|
-
colors: string[]
|
|
125
|
+
colors: string[] | {
|
|
126
|
+
color: string;
|
|
127
|
+
}[];
|
|
122
128
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
123
129
|
export default _default;
|
package/dist/simcode-ui.es.js
CHANGED
|
@@ -2470,7 +2470,7 @@ var Rh = Ce(Pc), Eh = /* @__PURE__ */ ge({
|
|
|
2470
2470
|
set(r) {
|
|
2471
2471
|
a("update:modelValue", r);
|
|
2472
2472
|
}
|
|
2473
|
-
}), i = H(() => n.isColor && n.colors && n.colors.length > 0 ? n.colors.map((r) => r.color) : []);
|
|
2473
|
+
}), i = H(() => n.isColor && n.colors && n.colors.length > 0 ? n.colors.map((r) => r.color || r) : []);
|
|
2474
2474
|
return (r, l) => {
|
|
2475
2475
|
const c = $("el-radio-button"), s = $("el-tag"), d = $("el-radio"), f = $("el-radio-group");
|
|
2476
2476
|
return S(), F(f, {
|
|
@@ -2492,7 +2492,7 @@ var Rh = Ce(Pc), Eh = /* @__PURE__ */ ge({
|
|
|
2492
2492
|
}, {
|
|
2493
2493
|
default: J(() => [e.isColor ? (S(), F(s, {
|
|
2494
2494
|
key: 0,
|
|
2495
|
-
color: i.value[h] ||
|
|
2495
|
+
color: u.color || i.value[h] || "",
|
|
2496
2496
|
size: e.size,
|
|
2497
2497
|
hit: !1,
|
|
2498
2498
|
effect: "dark",
|
|
@@ -8037,21 +8037,23 @@ var Ip = { class: "j-table-footer" }, zp = {
|
|
|
8037
8037
|
onKeyup: pr(Ft(s, ["stop"]), ["enter"]),
|
|
8038
8038
|
onKeydown: pr(Ft(c, ["stop"]), ["enter"])
|
|
8039
8039
|
}, {
|
|
8040
|
-
prefix: J(() => [X(p,
|
|
8040
|
+
prefix: J(() => [X(p, { size: 4 }, {
|
|
8041
8041
|
default: J(() => [(S(!0), O(ke, null, Oe(i.value, (b, x) => (S(), F(h, {
|
|
8042
8042
|
key: x,
|
|
8043
|
-
type: "info",
|
|
8043
|
+
type: r.value[x]?.color ? "primary" : "info",
|
|
8044
|
+
effect: r.value[x]?.color ? "dark" : void 0,
|
|
8044
8045
|
closable: !e.readonly,
|
|
8045
8046
|
style: le(r.value[x] || {}),
|
|
8046
|
-
size:
|
|
8047
|
+
size: "small",
|
|
8047
8048
|
onClose: Ft((m) => d(x), ["prevent"])
|
|
8048
8049
|
}, {
|
|
8049
8050
|
default: J(() => [on(we(b), 1)]),
|
|
8050
8051
|
_: 2
|
|
8051
8052
|
}, 1032, [
|
|
8053
|
+
"type",
|
|
8054
|
+
"effect",
|
|
8052
8055
|
"closable",
|
|
8053
8056
|
"style",
|
|
8054
|
-
"size",
|
|
8055
8057
|
"onClose"
|
|
8056
8058
|
]))), 128))]),
|
|
8057
8059
|
_: 1
|