@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
|
@@ -25,10 +25,14 @@ declare namespace _default {
|
|
|
25
25
|
let _class: string[];
|
|
26
26
|
export { _class as class };
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
function panel({ props }: {
|
|
29
|
+
props: any;
|
|
30
|
+
}): {
|
|
31
|
+
class: (string | {
|
|
32
|
+
'max-w-max': any;
|
|
33
|
+
'max-w-[30vh]': boolean;
|
|
34
|
+
})[];
|
|
35
|
+
};
|
|
32
36
|
function wrapper({ props }: {
|
|
33
37
|
props: any;
|
|
34
38
|
}): {
|
|
@@ -37,10 +41,22 @@ declare namespace _default {
|
|
|
37
41
|
'rounded-br-lg rounded-bl-lg': any;
|
|
38
42
|
})[];
|
|
39
43
|
};
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
function virtualScroller({ props }: {
|
|
45
|
+
props: any;
|
|
46
|
+
}): {
|
|
47
|
+
root: {
|
|
48
|
+
class: {
|
|
49
|
+
'!contain-none': any;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
function list({ props }: {
|
|
54
|
+
props: any;
|
|
55
|
+
}): {
|
|
56
|
+
class: (string | {
|
|
57
|
+
'!relative': any;
|
|
58
|
+
})[];
|
|
59
|
+
};
|
|
44
60
|
function item({ context }: {
|
|
45
61
|
context: any;
|
|
46
62
|
}): {
|
|
@@ -103,12 +119,12 @@ declare namespace _default {
|
|
|
103
119
|
})[];
|
|
104
120
|
};
|
|
105
121
|
namespace itemgroup {
|
|
106
|
-
let
|
|
107
|
-
export {
|
|
122
|
+
let _class_1: string[];
|
|
123
|
+
export { _class_1 as class };
|
|
108
124
|
}
|
|
109
125
|
namespace emptymessage {
|
|
110
|
-
let
|
|
111
|
-
export {
|
|
126
|
+
let _class_2: string[];
|
|
127
|
+
export { _class_2 as class };
|
|
112
128
|
}
|
|
113
129
|
let header: {
|
|
114
130
|
class: string[];
|
|
@@ -136,8 +152,8 @@ declare namespace _default {
|
|
|
136
152
|
icon: string;
|
|
137
153
|
};
|
|
138
154
|
namespace clearicon {
|
|
139
|
-
let
|
|
140
|
-
export {
|
|
155
|
+
let _class_3: string[];
|
|
156
|
+
export { _class_3 as class };
|
|
141
157
|
}
|
|
142
158
|
namespace transition {
|
|
143
159
|
let enterFromClass: string;
|
|
@@ -146,8 +162,8 @@ declare namespace _default {
|
|
|
146
162
|
let leaveToClass: string;
|
|
147
163
|
}
|
|
148
164
|
namespace loadingplaceholder {
|
|
149
|
-
let
|
|
150
|
-
export {
|
|
165
|
+
let _class_4: string;
|
|
166
|
+
export { _class_4 as class };
|
|
151
167
|
}
|
|
152
168
|
}
|
|
153
169
|
export default _default;
|
|
@@ -73,18 +73,24 @@ exports.default = {
|
|
|
73
73
|
'rounded-br-md',
|
|
74
74
|
],
|
|
75
75
|
},
|
|
76
|
-
panel: {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
76
|
+
panel: function (_a) {
|
|
77
|
+
var props = _a.props;
|
|
78
|
+
return ({
|
|
79
|
+
class: [
|
|
80
|
+
// Position
|
|
81
|
+
'absolute top-0 left-0 !z-[9999]',
|
|
82
|
+
'mt-2',
|
|
83
|
+
{
|
|
84
|
+
'max-w-max': props.panelMaxContent,
|
|
85
|
+
'max-w-[30vh]': !props.panelMaxContent,
|
|
86
|
+
},
|
|
87
|
+
// Shape
|
|
88
|
+
'rounded-lg',
|
|
89
|
+
'shadow-panel',
|
|
90
|
+
// Color
|
|
91
|
+
'bg-grayscale-100',
|
|
92
|
+
],
|
|
93
|
+
});
|
|
88
94
|
},
|
|
89
95
|
wrapper: function (_a) {
|
|
90
96
|
var props = _a.props;
|
|
@@ -103,8 +109,19 @@ exports.default = {
|
|
|
103
109
|
],
|
|
104
110
|
});
|
|
105
111
|
},
|
|
106
|
-
|
|
107
|
-
|
|
112
|
+
virtualScroller: function (_a) {
|
|
113
|
+
var props = _a.props;
|
|
114
|
+
return ({
|
|
115
|
+
root: {
|
|
116
|
+
class: { '!contain-none': props.panelMaxContent },
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
},
|
|
120
|
+
list: function (_a) {
|
|
121
|
+
var props = _a.props;
|
|
122
|
+
return ({
|
|
123
|
+
class: ['list-none m-0', { '!relative': props.panelMaxContent }],
|
|
124
|
+
});
|
|
108
125
|
},
|
|
109
126
|
item: function (_a) {
|
|
110
127
|
var context = _a.context;
|