@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
package/fixedasset/style.css
CHANGED
|
@@ -970,6 +970,10 @@
|
|
|
970
970
|
position: absolute;
|
|
971
971
|
}
|
|
972
972
|
|
|
973
|
+
.\!relative{
|
|
974
|
+
position: relative !important;
|
|
975
|
+
}
|
|
976
|
+
|
|
973
977
|
.relative{
|
|
974
978
|
position: relative;
|
|
975
979
|
}
|
|
@@ -1973,6 +1977,10 @@
|
|
|
1973
1977
|
max-width: 28rem;
|
|
1974
1978
|
}
|
|
1975
1979
|
|
|
1980
|
+
.max-w-\[30vh\]{
|
|
1981
|
+
max-width: 30vh;
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1976
1984
|
.max-w-\[30vw\]{
|
|
1977
1985
|
max-width: 30vw;
|
|
1978
1986
|
}
|
|
@@ -2001,6 +2009,11 @@
|
|
|
2001
2009
|
max-width: 100%;
|
|
2002
2010
|
}
|
|
2003
2011
|
|
|
2012
|
+
.max-w-max{
|
|
2013
|
+
max-width: -moz-max-content;
|
|
2014
|
+
max-width: max-content;
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2004
2017
|
.flex-1{
|
|
2005
2018
|
flex: 1 1 0%;
|
|
2006
2019
|
}
|
|
@@ -4785,6 +4798,10 @@
|
|
|
4785
4798
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
4786
4799
|
}
|
|
4787
4800
|
|
|
4801
|
+
.\!contain-none{
|
|
4802
|
+
contain: none !important;
|
|
4803
|
+
}
|
|
4804
|
+
|
|
4788
4805
|
* {
|
|
4789
4806
|
font-family: 'Manrope', sans-serif;
|
|
4790
4807
|
scrollbar-width: thin;
|
|
@@ -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;
|