@fewangsit/wangsvue-presets 1.0.93-alpha.8 → 1.0.93
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/buttonbulkaction/index.js +1 -1
- package/fixedasset/datatable/index.d.ts +10 -13
- package/fixedasset/datatable/index.js +15 -25
- package/fixedasset/index.system.js +2 -2
- package/fixedasset/menu/index.js +1 -1
- package/fixedasset/style.css +19 -10
- package/globalsettings/buttonbulkaction/index.js +1 -1
- package/globalsettings/datatable/index.d.ts +10 -13
- package/globalsettings/datatable/index.js +15 -25
- package/globalsettings/index.system.js +2 -2
- package/globalsettings/menu/index.js +1 -1
- package/globalsettings/style.css +19 -10
- package/package.json +1 -1
- package/supplyasset/buttonbulkaction/index.js +1 -1
- package/supplyasset/datatable/index.d.ts +10 -13
- package/supplyasset/datatable/index.js +15 -25
- package/supplyasset/index.system.js +2 -2
- package/supplyasset/menu/index.js +1 -1
- package/supplyasset/style.css +19 -10
- package/wangsvue/datatable/index.d.ts +8 -11
- package/wangsvue/datatable/index.js +15 -25
- package/wangsvue/index.system.js +2 -2
- package/wangsvue/menu/index.js +1 -1
- package/wangsvue/style.css +19 -10
|
@@ -2,26 +2,19 @@ declare namespace _default {
|
|
|
2
2
|
let root: {
|
|
3
3
|
'data-wv-name': string;
|
|
4
4
|
'data-wv-section': string;
|
|
5
|
+
class: string;
|
|
5
6
|
};
|
|
6
7
|
let tablewrapper: {
|
|
7
|
-
class: string[];
|
|
8
8
|
'data-wv-section': string;
|
|
9
9
|
};
|
|
10
10
|
function scrollheightwrapper({ props }: {
|
|
11
11
|
props: any;
|
|
12
12
|
}): {
|
|
13
|
-
class: (string | {
|
|
14
|
-
'!overflow-y-auto': boolean;
|
|
15
|
-
})[];
|
|
16
13
|
style: string;
|
|
17
14
|
'data-wv-section': string;
|
|
18
15
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}): {
|
|
22
|
-
class: (string | {
|
|
23
|
-
'!border-separate !border-spacing-0 border !border-solid !border-general-100 !border-t-0 !border-l-0 !border-r-0 !rounded-lg': boolean;
|
|
24
|
-
})[];
|
|
16
|
+
let table: {
|
|
17
|
+
class: string[];
|
|
25
18
|
'data-wv-section': string;
|
|
26
19
|
};
|
|
27
20
|
namespace tbody {
|
|
@@ -239,7 +232,7 @@ declare namespace _default {
|
|
|
239
232
|
context: any;
|
|
240
233
|
}): {
|
|
241
234
|
class: (string | {
|
|
242
|
-
'sticky bg-white': any;
|
|
235
|
+
'sticky right-0 bg-white': any;
|
|
243
236
|
'!bg-primary-50': any;
|
|
244
237
|
'group-hover:!bg-grayscale-50': boolean;
|
|
245
238
|
'group-hover:!bg-warning-300 !bg-warning-200': any;
|
|
@@ -264,6 +257,10 @@ declare namespace _default {
|
|
|
264
257
|
tooltip: string;
|
|
265
258
|
'data-wv-section': string;
|
|
266
259
|
};
|
|
260
|
+
namespace invisiblelottiewrapper {
|
|
261
|
+
let _class_5: string;
|
|
262
|
+
export { _class_5 as class };
|
|
263
|
+
}
|
|
267
264
|
let nodatalottiewrapper: {
|
|
268
265
|
class: string;
|
|
269
266
|
'data-wv-section': string;
|
|
@@ -273,8 +270,8 @@ declare namespace _default {
|
|
|
273
270
|
'data-wv-section': string;
|
|
274
271
|
};
|
|
275
272
|
namespace nodatamessage {
|
|
276
|
-
let
|
|
277
|
-
export {
|
|
273
|
+
let _class_6: string;
|
|
274
|
+
export { _class_6 as class };
|
|
278
275
|
}
|
|
279
276
|
let loadingtablewrapper: {
|
|
280
277
|
class: string;
|
|
@@ -4,38 +4,25 @@ exports.default = {
|
|
|
4
4
|
root: {
|
|
5
5
|
'data-wv-name': 'datatable',
|
|
6
6
|
'data-wv-section': 'root',
|
|
7
|
+
'class': 'relative',
|
|
7
8
|
},
|
|
8
9
|
tablewrapper: {
|
|
9
|
-
'class': [
|
|
10
|
-
'overflow-auto relative scrollbar-w-thin pb-1',
|
|
11
|
-
'rounded-lg rounded-br-none rounded-bl-none',
|
|
12
|
-
],
|
|
13
10
|
'data-wv-section': 'tablewrapper',
|
|
14
11
|
},
|
|
15
12
|
scrollheightwrapper: function (_a) {
|
|
13
|
+
var _b;
|
|
16
14
|
var props = _a.props;
|
|
17
15
|
return ({
|
|
18
|
-
'
|
|
19
|
-
'overflow-hidden w-full min-w-max',
|
|
20
|
-
{
|
|
21
|
-
'!overflow-y-auto': !!props.scrollHeight,
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
'style': "scrollbar-width: none; max-height: ".concat(props.scrollHeight),
|
|
16
|
+
'style': "max-height: ".concat((_b = props.scrollHeight) !== null && _b !== void 0 ? _b : 'none'),
|
|
25
17
|
'data-wv-section': 'scrollheightwrapper',
|
|
26
18
|
});
|
|
27
19
|
},
|
|
28
|
-
table:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
'
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
'!border-separate !border-spacing-0 border !border-solid !border-general-100 !border-t-0 !border-l-0 !border-r-0 !rounded-lg': !(context.currentPageHasNoData || context.tableIsLoading),
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
'data-wv-section': 'table',
|
|
38
|
-
});
|
|
20
|
+
table: {
|
|
21
|
+
'class': [
|
|
22
|
+
'min-w-max w-full',
|
|
23
|
+
'!border-separate !border-spacing-0 border !border-solid !border-general-100 !border-t-0 !border-l-0 !border-r-0 !rounded-lg',
|
|
24
|
+
],
|
|
25
|
+
'data-wv-section': 'table',
|
|
39
26
|
},
|
|
40
27
|
tbody: {
|
|
41
28
|
class: [
|
|
@@ -204,7 +191,7 @@ exports.default = {
|
|
|
204
191
|
'class': [
|
|
205
192
|
'w-[35px]',
|
|
206
193
|
{
|
|
207
|
-
'sticky bg-white': props.useOption,
|
|
194
|
+
'sticky right-0 bg-white': props.useOption,
|
|
208
195
|
'!bg-primary-50': context.selected,
|
|
209
196
|
'group-hover:!bg-grayscale-50': !context.highlighted && !context.selected,
|
|
210
197
|
'group-hover:!bg-warning-300 !bg-warning-200': context.highlighted,
|
|
@@ -232,8 +219,11 @@ exports.default = {
|
|
|
232
219
|
'data-wv-section': 'singleactionbutton',
|
|
233
220
|
});
|
|
234
221
|
},
|
|
222
|
+
invisiblelottiewrapper: {
|
|
223
|
+
class: 'p-4 invisible',
|
|
224
|
+
},
|
|
235
225
|
nodatalottiewrapper: {
|
|
236
|
-
'class': 'w-full p-4
|
|
226
|
+
'class': 'w-full p-4 absolute top-[37.5px] inset-x-0 pointer-events-none',
|
|
237
227
|
'data-wv-section': 'nodatalottiewrapper',
|
|
238
228
|
},
|
|
239
229
|
nodatalottie: {
|
|
@@ -244,7 +234,7 @@ exports.default = {
|
|
|
244
234
|
class: 'text-general-body',
|
|
245
235
|
},
|
|
246
236
|
loadingtablewrapper: {
|
|
247
|
-
'class': '
|
|
237
|
+
'class': 'w-full p-4 flex items-center justify-center absolute top-[37.5px] inset-x-0 pointer-events-none',
|
|
248
238
|
'data-wv-section': 'loadingtablewrapper',
|
|
249
239
|
},
|
|
250
240
|
loadingtablelottie: {
|