@fewangsit/wangsvue-presets 1.0.97 → 1.0.98-alpha.0
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/fixedasset/dropdown/index.d.ts +32 -16
- package/fixedasset/dropdown/index.js +31 -14
- package/fixedasset/index.system.js +2 -2
- package/fixedasset/style.css +17 -0
- package/globalsettings/dropdown/index.d.ts +32 -16
- package/globalsettings/dropdown/index.js +31 -14
- package/globalsettings/index.system.js +2 -2
- package/globalsettings/style.css +17 -0
- package/package.json +1 -1
- package/supplyasset/dropdown/index.d.ts +32 -16
- package/supplyasset/dropdown/index.js +31 -14
- package/supplyasset/index.system.js +2 -2
- package/supplyasset/style.css +17 -0
- package/wangsvue/dropdown/index.d.ts +32 -16
- package/wangsvue/dropdown/index.js +33 -16
- package/wangsvue/index.system.js +2 -2
- package/wangsvue/style.css +17 -0
|
@@ -41,10 +41,14 @@ declare namespace _default {
|
|
|
41
41
|
let _class: string[];
|
|
42
42
|
export { _class as class };
|
|
43
43
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
function panel({ props }: {
|
|
45
|
+
props: any;
|
|
46
|
+
}): {
|
|
47
|
+
class: (string | {
|
|
48
|
+
'max-w-max': any;
|
|
49
|
+
'max-w-[30vh]': boolean;
|
|
50
|
+
})[];
|
|
51
|
+
};
|
|
48
52
|
function wrapper({ props }: {
|
|
49
53
|
props: any;
|
|
50
54
|
}): {
|
|
@@ -53,10 +57,22 @@ declare namespace _default {
|
|
|
53
57
|
'rounded-br-lg rounded-bl-lg': any;
|
|
54
58
|
})[];
|
|
55
59
|
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
function virtualScroller({ props }: {
|
|
61
|
+
props: any;
|
|
62
|
+
}): {
|
|
63
|
+
root: {
|
|
64
|
+
class: {
|
|
65
|
+
'!contain-none': any;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
function list({ props }: {
|
|
70
|
+
props: any;
|
|
71
|
+
}): {
|
|
72
|
+
class: (string | {
|
|
73
|
+
'!relative': any;
|
|
74
|
+
})[];
|
|
75
|
+
};
|
|
60
76
|
function item({ context }: {
|
|
61
77
|
context: any;
|
|
62
78
|
}): {
|
|
@@ -119,12 +135,12 @@ declare namespace _default {
|
|
|
119
135
|
})[];
|
|
120
136
|
};
|
|
121
137
|
namespace itemgroup {
|
|
122
|
-
let
|
|
123
|
-
export {
|
|
138
|
+
let _class_1: string[];
|
|
139
|
+
export { _class_1 as class };
|
|
124
140
|
}
|
|
125
141
|
namespace emptymessage {
|
|
126
|
-
let
|
|
127
|
-
export {
|
|
142
|
+
let _class_2: string[];
|
|
143
|
+
export { _class_2 as class };
|
|
128
144
|
}
|
|
129
145
|
let header: {
|
|
130
146
|
class: string[];
|
|
@@ -152,8 +168,8 @@ declare namespace _default {
|
|
|
152
168
|
icon: string;
|
|
153
169
|
};
|
|
154
170
|
namespace clearicon {
|
|
155
|
-
let
|
|
156
|
-
export {
|
|
171
|
+
let _class_3: string[];
|
|
172
|
+
export { _class_3 as class };
|
|
157
173
|
}
|
|
158
174
|
namespace transition {
|
|
159
175
|
let enterFromClass: string;
|
|
@@ -162,8 +178,8 @@ declare namespace _default {
|
|
|
162
178
|
let leaveToClass: string;
|
|
163
179
|
}
|
|
164
180
|
namespace loadingplaceholder {
|
|
165
|
-
let
|
|
166
|
-
export {
|
|
181
|
+
let _class_4: string;
|
|
182
|
+
export { _class_4 as class };
|
|
167
183
|
}
|
|
168
184
|
}
|
|
169
185
|
export default _default;
|
|
@@ -76,20 +76,26 @@ exports.default = {
|
|
|
76
76
|
'rounded-br-md',
|
|
77
77
|
],
|
|
78
78
|
},
|
|
79
|
-
panel: {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
79
|
+
panel: function (_a) {
|
|
80
|
+
var props = _a.props;
|
|
81
|
+
return ({
|
|
82
|
+
class: [
|
|
83
|
+
// Position
|
|
84
|
+
'absolute top-0 left-0 !z-[9999]',
|
|
85
|
+
'mt-2',
|
|
86
|
+
{
|
|
87
|
+
'max-w-max': props.panelMaxContent,
|
|
88
|
+
'max-w-[30vh]': !props.panelMaxContent,
|
|
89
|
+
},
|
|
90
|
+
// Shape
|
|
91
|
+
'border-0',
|
|
92
|
+
'rounded-lg',
|
|
93
|
+
'shadow-panel',
|
|
94
|
+
// Color
|
|
95
|
+
'bg-surface-0',
|
|
96
|
+
'text-surface-800',
|
|
97
|
+
],
|
|
98
|
+
});
|
|
93
99
|
},
|
|
94
100
|
wrapper: function (_a) {
|
|
95
101
|
var props = _a.props;
|
|
@@ -111,8 +117,19 @@ exports.default = {
|
|
|
111
117
|
],
|
|
112
118
|
});
|
|
113
119
|
},
|
|
114
|
-
|
|
115
|
-
|
|
120
|
+
virtualScroller: function (_a) {
|
|
121
|
+
var props = _a.props;
|
|
122
|
+
return ({
|
|
123
|
+
root: {
|
|
124
|
+
class: { '!contain-none': props.panelMaxContent },
|
|
125
|
+
},
|
|
126
|
+
});
|
|
127
|
+
},
|
|
128
|
+
list: function (_a) {
|
|
129
|
+
var props = _a.props;
|
|
130
|
+
return ({
|
|
131
|
+
class: ['list-none m-0', { '!relative': props.panelMaxContent }],
|
|
132
|
+
});
|
|
116
133
|
},
|
|
117
134
|
item: function (_a) {
|
|
118
135
|
var context = _a.context;
|