@fewangsit/wangsvue-presets 1.0.107 → 1.0.108-alpha.1
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/badge/index.d.ts +14 -14
- package/fixedasset/badge/index.js +15 -14
- package/fixedasset/breadcrumb/index.d.ts +4 -4
- package/fixedasset/breadcrumb/index.js +6 -5
- package/fixedasset/button/index.d.ts +2 -2
- package/fixedasset/button/index.js +39 -80
- package/fixedasset/buttonbulkaction/index.d.ts +2 -2
- package/fixedasset/buttonbulkaction/index.js +8 -5
- package/fixedasset/buttondownload/index.d.ts +2 -2
- package/fixedasset/buttondownload/index.js +5 -4
- package/fixedasset/buttonfilter/index.d.ts +4 -7
- package/fixedasset/buttonfilter/index.js +5 -7
- package/fixedasset/buttonradio/index.d.ts +20 -20
- package/fixedasset/buttonradio/index.js +11 -10
- package/fixedasset/buttonsearch/index.d.ts +2 -2
- package/fixedasset/buttonsearch/index.js +9 -8
- package/fixedasset/calendar/index.js +64 -66
- package/fixedasset/card/index.js +2 -2
- package/fixedasset/checkbox/index.d.ts +58 -58
- package/fixedasset/checkbox/index.js +19 -18
- package/fixedasset/codesnippet/index.js +3 -3
- package/fixedasset/customcolumn/index.d.ts +2 -2
- package/fixedasset/customcolumn/index.js +3 -2
- package/fixedasset/datatable/index.d.ts +50 -44
- package/fixedasset/datatable/index.js +34 -31
- package/fixedasset/dialog/index.d.ts +4 -4
- package/fixedasset/dialog/index.js +16 -16
- package/fixedasset/dialogconfirm/index.d.ts +2 -2
- package/fixedasset/dialogconfirm/index.js +3 -2
- package/fixedasset/dialogform/index.d.ts +2 -2
- package/fixedasset/dialogform/index.js +4 -3
- package/fixedasset/dropdown/index.d.ts +41 -41
- package/fixedasset/dropdown/index.js +20 -21
- package/fixedasset/fieldwrapper/index.d.ts +2 -2
- package/fixedasset/fieldwrapper/index.js +8 -7
- package/fixedasset/fileupload/index.d.ts +2 -2
- package/fixedasset/fileupload/index.js +2 -1
- package/fixedasset/filtercontainer/index.d.ts +2 -2
- package/fixedasset/filtercontainer/index.js +3 -2
- package/fixedasset/form/index.d.ts +2 -2
- package/fixedasset/form/index.js +3 -2
- package/fixedasset/global.js +1 -1
- package/fixedasset/image/index.d.ts +2 -2
- package/fixedasset/image/index.js +21 -20
- package/fixedasset/index.es.js +793 -804
- package/fixedasset/index.system.js +2 -2
- package/fixedasset/inlinemessage/index.d.ts +4 -4
- package/fixedasset/inlinemessage/index.js +6 -4
- package/fixedasset/inputbadge/index.d.ts +10 -10
- package/fixedasset/inputbadge/index.js +6 -6
- package/fixedasset/inputcurrency/index.d.ts +6 -6
- package/fixedasset/inputcurrency/index.js +2 -1
- package/fixedasset/inputgroup/index.d.ts +2 -2
- package/fixedasset/inputgroup/index.js +8 -7
- package/fixedasset/inputgroupaddon/index.d.ts +6 -6
- package/fixedasset/inputgroupaddon/index.js +5 -4
- package/fixedasset/inputnumber/index.d.ts +2 -2
- package/fixedasset/inputnumber/index.js +8 -5
- package/fixedasset/inputotp/index.js +6 -7
- package/fixedasset/inputphonenumber/index.d.ts +8 -8
- package/fixedasset/inputphonenumber/index.js +7 -6
- package/fixedasset/inputtext/index.d.ts +4 -4
- package/fixedasset/inputtext/index.js +6 -5
- package/fixedasset/loading/index.d.ts +2 -2
- package/fixedasset/loading/index.js +5 -4
- package/fixedasset/menu/index.d.ts +3 -3
- package/fixedasset/menu/index.js +9 -5
- package/fixedasset/multiselect/index.d.ts +107 -107
- package/fixedasset/multiselect/index.js +25 -27
- package/fixedasset/overlaypanel/index.d.ts +2 -2
- package/fixedasset/overlaypanel/index.js +4 -3
- package/fixedasset/paginator/index.d.ts +19 -19
- package/fixedasset/paginator/index.js +24 -23
- package/fixedasset/password/index.d.ts +5 -5
- package/fixedasset/password/index.js +13 -13
- package/fixedasset/style.css +1333 -77
- package/fixedasset/tabmenu/index.js +13 -13
- package/fixedasset/textarea/index.d.ts +2 -2
- package/fixedasset/textarea/index.js +6 -5
- package/fixedasset/timeline/index.d.ts +2 -2
- package/fixedasset/timeline/index.js +12 -8
- package/fixedasset/toast/index.d.ts +8 -8
- package/fixedasset/toast/index.js +8 -7
- package/fixedasset/toggleswitch/index.d.ts +42 -42
- package/fixedasset/toggleswitch/index.js +12 -11
- package/fixedasset/tooltip/index.d.ts +2 -2
- package/fixedasset/tooltip/index.js +4 -3
- package/fixedasset/tree/index.d.ts +26 -29
- package/fixedasset/tree/index.js +17 -24
- package/fixedasset/username/index.js +7 -5
- package/fixedasset/validatormessage/index.d.ts +2 -2
- package/fixedasset/validatormessage/index.js +5 -2
- package/globalsettings/datatable/index.d.ts +9 -10
- package/globalsettings/datatable/index.js +7 -9
- package/globalsettings/index.es.js +7 -8
- package/globalsettings/index.system.js +2 -2
- package/globalsettings/style.css +1353 -49
- package/package.json +1 -1
- package/supplyasset/datatable/index.d.ts +9 -10
- package/supplyasset/datatable/index.js +7 -9
- package/supplyasset/index.es.js +13 -14
- package/supplyasset/index.system.js +2 -2
- package/supplyasset/style.css +1359 -55
- package/wangsvue/datatable/index.d.ts +2 -3
- package/wangsvue/datatable/index.js +6 -8
- package/wangsvue/index.es.js +14 -15
- package/wangsvue/index.system.js +2 -2
- package/wangsvue/style.css +1332 -76
package/fixedasset/tree/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
3
|
+
var definePreset = {
|
|
4
4
|
root: {
|
|
5
5
|
class: [
|
|
6
6
|
'relative',
|
|
@@ -45,20 +45,19 @@ exports.default = {
|
|
|
45
45
|
// Spacing
|
|
46
46
|
'p-1',
|
|
47
47
|
// Colors
|
|
48
|
-
'text-surface-700',
|
|
49
48
|
{
|
|
50
|
-
'bg-primary-50 !text-primary-500 [&_*]:text-primary-500': context.selected && props.selectionMode === 'single',
|
|
49
|
+
'bg-primary-50 dark:bg-primary-100 !text-primary-500 dark:!text-primary-300 [&_*]:text-primary-500 dark:[&_*]:text-primary-300 dark:[&_*]:hover:text-primary-300': context.selected && props.selectionMode === 'single',
|
|
51
50
|
},
|
|
52
51
|
// States
|
|
53
52
|
{
|
|
54
|
-
'hover:bg-primary-50': (props.selectionMode == 'single' ||
|
|
53
|
+
'hover:bg-primary-50 dark:hover:bg-primary-100 dark:[&_*]:hover:text-general-800 group': (props.selectionMode == 'single' ||
|
|
55
54
|
props.selectionMode == 'multiple' ||
|
|
56
55
|
props.selectionMode == 'checkbox') &&
|
|
57
56
|
!context.disabled &&
|
|
58
57
|
!context.exactDisabled,
|
|
59
58
|
},
|
|
60
59
|
{
|
|
61
|
-
'!text-general-200': context.disabled && !context.exactDisabled,
|
|
60
|
+
'!text-general-200 dark:!text-grayscale-500': context.disabled && !context.exactDisabled,
|
|
62
61
|
'!pointer-events-none !cursor-default': context.disabled || context.exactDisabled,
|
|
63
62
|
},
|
|
64
63
|
// Transition
|
|
@@ -86,13 +85,12 @@ exports.default = {
|
|
|
86
85
|
// Spacing
|
|
87
86
|
'mr-0.5',
|
|
88
87
|
// Colors
|
|
89
|
-
'text-general-800',
|
|
90
|
-
'bg-transparent',
|
|
88
|
+
'text-general-800 dark:text-general-100',
|
|
89
|
+
'bg-transparent dark:bg-transparent',
|
|
91
90
|
{
|
|
92
91
|
invisible: context.leaf,
|
|
93
92
|
},
|
|
94
93
|
// States
|
|
95
|
-
'hover:bg-surface-100',
|
|
96
94
|
// Transition
|
|
97
95
|
'transition duration-200',
|
|
98
96
|
// Misc
|
|
@@ -140,18 +138,16 @@ exports.default = {
|
|
|
140
138
|
'rounded',
|
|
141
139
|
'border',
|
|
142
140
|
// Colors
|
|
143
|
-
'text-surface-600',
|
|
144
141
|
{
|
|
145
|
-
'border-
|
|
146
|
-
'border-primary-500 bg-primary-500': context.checked,
|
|
142
|
+
'border-primary-500 bg-primary-500 dark:border-primary-300 dark:bg-primary-300': context.checked,
|
|
147
143
|
},
|
|
148
144
|
{
|
|
149
|
-
'ring-2 ring-primary-500': !props.disabled && context.focused,
|
|
145
|
+
'ring-2 ring-primary-500 dark:ring-primary-300': !props.disabled && context.focused,
|
|
150
146
|
'cursor-default opacity-60': props.disabled,
|
|
151
147
|
},
|
|
152
148
|
// States
|
|
153
149
|
{
|
|
154
|
-
'peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500': !props.disabled,
|
|
150
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500 dark:peer-focus-visible:ring-primary-300': !props.disabled,
|
|
155
151
|
'cursor-default opacity-60': props.disabled,
|
|
156
152
|
},
|
|
157
153
|
// Transitions
|
|
@@ -180,7 +176,7 @@ exports.default = {
|
|
|
180
176
|
'opacity-0',
|
|
181
177
|
'rounded-md',
|
|
182
178
|
'outline-none',
|
|
183
|
-
'border-2
|
|
179
|
+
'border-2',
|
|
184
180
|
// Misc
|
|
185
181
|
'appareance-none',
|
|
186
182
|
],
|
|
@@ -193,7 +189,7 @@ exports.default = {
|
|
|
193
189
|
'w-3',
|
|
194
190
|
'h-3',
|
|
195
191
|
// Colors
|
|
196
|
-
'text-white',
|
|
192
|
+
'text-white dark:text-general-800',
|
|
197
193
|
// Transitions
|
|
198
194
|
'transition-all',
|
|
199
195
|
'duration-200',
|
|
@@ -229,13 +225,10 @@ exports.default = {
|
|
|
229
225
|
// Shape
|
|
230
226
|
'rounded-md',
|
|
231
227
|
// Colors
|
|
232
|
-
'
|
|
233
|
-
'placeholder:text-surface-400',
|
|
234
|
-
'bg-surface-0',
|
|
235
|
-
'ring-1 ring-inset ring-surface-300',
|
|
228
|
+
'ring-1 ring-inset dark:ring-white',
|
|
236
229
|
// States
|
|
237
|
-
'hover:border-primary-500',
|
|
238
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500',
|
|
230
|
+
'hover:border-primary-500 dark:hover:border-primary-300',
|
|
231
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500 dark:focus:ring-primary-300',
|
|
239
232
|
// Transition & Misc
|
|
240
233
|
'appearance-none',
|
|
241
234
|
'transition-colors duration-200',
|
|
@@ -243,7 +236,7 @@ exports.default = {
|
|
|
243
236
|
},
|
|
244
237
|
loadingicon: {
|
|
245
238
|
class: [
|
|
246
|
-
'text-general-400',
|
|
239
|
+
'text-general-400 dark:text-general-100',
|
|
247
240
|
'absolute text-lg top-[50%] right-[50%] -mt-2 -mr-2 animate-spin',
|
|
248
241
|
],
|
|
249
242
|
},
|
|
@@ -252,7 +245,6 @@ exports.default = {
|
|
|
252
245
|
// Position
|
|
253
246
|
'absolute top-1/2 -mt-2 right-3',
|
|
254
247
|
// Color
|
|
255
|
-
'text-surface-600',
|
|
256
248
|
],
|
|
257
249
|
},
|
|
258
250
|
label: function (_a) {
|
|
@@ -264,8 +256,9 @@ exports.default = {
|
|
|
264
256
|
{
|
|
265
257
|
'!text-general-200 !cursor-default': context.exactDisabled && props.node.key != -1,
|
|
266
258
|
},
|
|
267
|
-
'text-xs font-medium text-general-800',
|
|
259
|
+
'text-xs font-medium text-general-800 dark:text-general-100',
|
|
268
260
|
],
|
|
269
261
|
});
|
|
270
262
|
},
|
|
271
263
|
};
|
|
264
|
+
exports.default = definePreset;
|
|
@@ -9,14 +9,16 @@ var preset = {
|
|
|
9
9
|
return ({
|
|
10
10
|
class: [
|
|
11
11
|
'text-xs font-medium cursor-pointer',
|
|
12
|
-
{
|
|
13
|
-
|
|
12
|
+
{
|
|
13
|
+
'text-primary-500 dark:text-primary-300 cursor-pointer': props.type === 'icon',
|
|
14
|
+
},
|
|
15
|
+
{ 'text-general-800 dark:text-general-50': props.type !== 'icon' },
|
|
14
16
|
],
|
|
15
17
|
});
|
|
16
18
|
},
|
|
17
19
|
panel: {
|
|
18
20
|
background: {
|
|
19
|
-
class: 'bg-primary-100 absolute top-0 h-[42px] w-full',
|
|
21
|
+
class: 'bg-primary-100 dark:bg-primary-900 absolute top-0 h-[42px] w-full',
|
|
20
22
|
},
|
|
21
23
|
username: {
|
|
22
24
|
class: 'font-semibold text-[10px] leading-[15px] text-center text-balance',
|
|
@@ -28,10 +30,10 @@ var preset = {
|
|
|
28
30
|
class: 'text-[8px] font-normal leading-3',
|
|
29
31
|
},
|
|
30
32
|
userdetaillink: {
|
|
31
|
-
class: 'underline text-primary-400 text-[10px] leading-4 cursor-pointer hover:text-primary-500 transition-colors duration-100',
|
|
33
|
+
class: 'underline text-primary-400 dark:text-primary-300 text-[10px] leading-4 cursor-pointer hover:text-primary-500 dark:hover:text-primary-400 transition-colors duration-100',
|
|
32
34
|
},
|
|
33
35
|
contentwrapper: {
|
|
34
|
-
class: 'relative overflow-hidden flex flex-col gap-2 w-[200px] h-max items-center justify-center p-3 rounded-[10px] border border-grayscale-900 text-grayscale-900',
|
|
36
|
+
class: 'relative overflow-hidden flex flex-col gap-2 w-[200px] h-max items-center justify-center p-3 rounded-[10px] border border-grayscale-900 dark:border-white text-grayscale-900 dark:text-white',
|
|
35
37
|
},
|
|
36
38
|
detailwrapper: {
|
|
37
39
|
class: 'flex flex-col gap-0.5 items-center justify-center',
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
3
|
+
var definePreset = {
|
|
4
4
|
root: {
|
|
5
|
-
'class': [
|
|
5
|
+
'class': [
|
|
6
|
+
'!mt-0 text-danger-500 text-xs font-light tracking-[0.02em] dark:text-danger-300',
|
|
7
|
+
],
|
|
6
8
|
'data-wv-name': 'validatormessage',
|
|
7
9
|
'data-wv-section': 'root',
|
|
8
10
|
},
|
|
9
11
|
};
|
|
12
|
+
exports.default = definePreset;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
export default definePreset;
|
|
2
|
+
declare namespace definePreset {
|
|
2
3
|
let root: {
|
|
3
4
|
'data-wv-name': string;
|
|
4
5
|
'data-wv-section': string;
|
|
@@ -36,7 +37,7 @@ declare namespace _default {
|
|
|
36
37
|
class: (string | {
|
|
37
38
|
'!h-[35px]': boolean;
|
|
38
39
|
'bg-transparent'?: undefined;
|
|
39
|
-
'bg-primary-50 [&>td]:border-primary-200'?: undefined;
|
|
40
|
+
'bg-primary-50 [&>td]:border-primary-200 [&>td>div>span]:border-primary-200'?: undefined;
|
|
40
41
|
'focus:outline-none focus:outline-offset-0'?: undefined;
|
|
41
42
|
'hover:!bg-grayscale-50'?: undefined;
|
|
42
43
|
'hover:!bg-warning-300 !bg-warning-200'?: undefined;
|
|
@@ -47,7 +48,7 @@ declare namespace _default {
|
|
|
47
48
|
'cursor-pointer'?: undefined;
|
|
48
49
|
} | {
|
|
49
50
|
'bg-transparent': boolean;
|
|
50
|
-
'bg-primary-50 [&>td]:border-primary-200': any;
|
|
51
|
+
'bg-primary-50 [&>td]:border-primary-200 [&>td>div>span]:border-primary-200': any;
|
|
51
52
|
'!h-[35px]'?: undefined;
|
|
52
53
|
'focus:outline-none focus:outline-offset-0'?: undefined;
|
|
53
54
|
'hover:!bg-grayscale-50'?: undefined;
|
|
@@ -63,7 +64,7 @@ declare namespace _default {
|
|
|
63
64
|
'hover:!bg-warning-300 !bg-warning-200': any;
|
|
64
65
|
'!h-[35px]'?: undefined;
|
|
65
66
|
'bg-transparent'?: undefined;
|
|
66
|
-
'bg-primary-50 [&>td]:border-primary-200'?: undefined;
|
|
67
|
+
'bg-primary-50 [&>td]:border-primary-200 [&>td>div>span]:border-primary-200'?: undefined;
|
|
67
68
|
'transition duration-200'?: undefined;
|
|
68
69
|
'select-none'?: undefined;
|
|
69
70
|
'select-auto'?: undefined;
|
|
@@ -73,7 +74,7 @@ declare namespace _default {
|
|
|
73
74
|
'transition duration-200': any;
|
|
74
75
|
'!h-[35px]'?: undefined;
|
|
75
76
|
'bg-transparent'?: undefined;
|
|
76
|
-
'bg-primary-50 [&>td]:border-primary-200'?: undefined;
|
|
77
|
+
'bg-primary-50 [&>td]:border-primary-200 [&>td>div>span]:border-primary-200'?: undefined;
|
|
77
78
|
'focus:outline-none focus:outline-offset-0'?: undefined;
|
|
78
79
|
'hover:!bg-grayscale-50'?: undefined;
|
|
79
80
|
'hover:!bg-warning-300 !bg-warning-200'?: undefined;
|
|
@@ -86,7 +87,7 @@ declare namespace _default {
|
|
|
86
87
|
'select-auto': boolean;
|
|
87
88
|
'!h-[35px]'?: undefined;
|
|
88
89
|
'bg-transparent'?: undefined;
|
|
89
|
-
'bg-primary-50 [&>td]:border-primary-200'?: undefined;
|
|
90
|
+
'bg-primary-50 [&>td]:border-primary-200 [&>td>div>span]:border-primary-200'?: undefined;
|
|
90
91
|
'focus:outline-none focus:outline-offset-0'?: undefined;
|
|
91
92
|
'hover:!bg-grayscale-50'?: undefined;
|
|
92
93
|
'hover:!bg-warning-300 !bg-warning-200'?: undefined;
|
|
@@ -97,7 +98,7 @@ declare namespace _default {
|
|
|
97
98
|
'!cursor-grab [&_label]:!cursor-grab': any;
|
|
98
99
|
'!h-[35px]'?: undefined;
|
|
99
100
|
'bg-transparent'?: undefined;
|
|
100
|
-
'bg-primary-50 [&>td]:border-primary-200'?: undefined;
|
|
101
|
+
'bg-primary-50 [&>td]:border-primary-200 [&>td>div>span]:border-primary-200'?: undefined;
|
|
101
102
|
'focus:outline-none focus:outline-offset-0'?: undefined;
|
|
102
103
|
'hover:!bg-grayscale-50'?: undefined;
|
|
103
104
|
'hover:!bg-warning-300 !bg-warning-200'?: undefined;
|
|
@@ -109,7 +110,7 @@ declare namespace _default {
|
|
|
109
110
|
'cursor-pointer': boolean;
|
|
110
111
|
'!h-[35px]'?: undefined;
|
|
111
112
|
'bg-transparent'?: undefined;
|
|
112
|
-
'bg-primary-50 [&>td]:border-primary-200'?: undefined;
|
|
113
|
+
'bg-primary-50 [&>td]:border-primary-200 [&>td>div>span]:border-primary-200'?: undefined;
|
|
113
114
|
'focus:outline-none focus:outline-offset-0'?: undefined;
|
|
114
115
|
'hover:!bg-grayscale-50'?: undefined;
|
|
115
116
|
'hover:!bg-warning-300 !bg-warning-200'?: undefined;
|
|
@@ -297,9 +298,7 @@ declare namespace _default {
|
|
|
297
298
|
function paginator({ context }: {
|
|
298
299
|
context: any;
|
|
299
300
|
}): {
|
|
300
|
-
'current-page-report-template': string;
|
|
301
301
|
class: string;
|
|
302
302
|
template: string;
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
|
-
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
3
|
+
var definePreset = {
|
|
4
4
|
root: {
|
|
5
5
|
'data-wv-name': 'datatable',
|
|
6
6
|
'data-wv-section': 'root',
|
|
@@ -49,7 +49,7 @@ exports.default = {
|
|
|
49
49
|
'text-general-800 text-xs font-normal',
|
|
50
50
|
{
|
|
51
51
|
'bg-transparent': !context.selected,
|
|
52
|
-
'bg-primary-50 [&>td]:border-primary-200': context.selected,
|
|
52
|
+
'bg-primary-50 [&>td]:border-primary-200 [&>td>div>span]:border-primary-200': context.selected,
|
|
53
53
|
},
|
|
54
54
|
// State
|
|
55
55
|
{
|
|
@@ -230,7 +230,7 @@ exports.default = {
|
|
|
230
230
|
class: 'w-full p-4 flex flex-col gap-1 items-center justify-center invisible',
|
|
231
231
|
},
|
|
232
232
|
nodatalottiewrapper: {
|
|
233
|
-
'class': 'w-full p-4 flex flex-col gap-1 items-center justify-center absolute
|
|
233
|
+
'class': 'w-full p-4 flex flex-col gap-1 items-center justify-center absolute inset-x-0 pointer-events-none',
|
|
234
234
|
'data-wv-section': 'nodatalottiewrapper',
|
|
235
235
|
},
|
|
236
236
|
nodatalottie: {
|
|
@@ -241,7 +241,7 @@ exports.default = {
|
|
|
241
241
|
class: 'text-general-body text-center',
|
|
242
242
|
},
|
|
243
243
|
loadingtablewrapper: {
|
|
244
|
-
'class': 'w-full p-4 flex items-center justify-center absolute
|
|
244
|
+
'class': 'w-full p-4 flex items-center justify-center absolute inset-x-0 pointer-events-none',
|
|
245
245
|
'data-wv-section': 'loadingtablewrapper',
|
|
246
246
|
},
|
|
247
247
|
loadingtablelottie: {
|
|
@@ -251,11 +251,9 @@ exports.default = {
|
|
|
251
251
|
paginator: function (_a) {
|
|
252
252
|
var context = _a.context;
|
|
253
253
|
return ({
|
|
254
|
-
'
|
|
255
|
-
|
|
256
|
-
: 'Tidak ditemukan data',
|
|
257
|
-
'class': '',
|
|
258
|
-
'template': 'FirstPageLink PrevPageLink PageLinks JumpToPageInput NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown',
|
|
254
|
+
class: '',
|
|
255
|
+
template: 'FirstPageLink PrevPageLink PageLinks JumpToPageInput NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown',
|
|
259
256
|
});
|
|
260
257
|
},
|
|
261
258
|
};
|
|
259
|
+
exports.default = definePreset;
|
|
@@ -1527,7 +1527,7 @@ const _ = {
|
|
|
1527
1527
|
"text-general-800 text-xs font-normal",
|
|
1528
1528
|
{
|
|
1529
1529
|
"bg-transparent": !e.selected,
|
|
1530
|
-
"bg-primary-50 [&>td]:border-primary-200": e.selected
|
|
1530
|
+
"bg-primary-50 [&>td]:border-primary-200 [&>td>div>span]:border-primary-200": e.selected
|
|
1531
1531
|
},
|
|
1532
1532
|
// State
|
|
1533
1533
|
{
|
|
@@ -1683,7 +1683,7 @@ const _ = {
|
|
|
1683
1683
|
class: "w-full p-4 flex flex-col gap-1 items-center justify-center invisible"
|
|
1684
1684
|
},
|
|
1685
1685
|
nodatalottiewrapper: {
|
|
1686
|
-
class: "w-full p-4 flex flex-col gap-1 items-center justify-center absolute
|
|
1686
|
+
class: "w-full p-4 flex flex-col gap-1 items-center justify-center absolute inset-x-0 pointer-events-none",
|
|
1687
1687
|
"data-wv-section": "nodatalottiewrapper"
|
|
1688
1688
|
},
|
|
1689
1689
|
nodatalottie: {
|
|
@@ -1694,7 +1694,7 @@ const _ = {
|
|
|
1694
1694
|
class: "text-general-body text-center"
|
|
1695
1695
|
},
|
|
1696
1696
|
loadingtablewrapper: {
|
|
1697
|
-
class: "w-full p-4 flex items-center justify-center absolute
|
|
1697
|
+
class: "w-full p-4 flex items-center justify-center absolute inset-x-0 pointer-events-none",
|
|
1698
1698
|
"data-wv-section": "loadingtablewrapper"
|
|
1699
1699
|
},
|
|
1700
1700
|
loadingtablelottie: {
|
|
@@ -1702,7 +1702,6 @@ const _ = {
|
|
|
1702
1702
|
"data-wv-section": "loadingtablelottie"
|
|
1703
1703
|
},
|
|
1704
1704
|
paginator: ({ context: e }) => ({
|
|
1705
|
-
"current-page-report-template": e.totalRecords ? "Menampilkan {first} - {last} dari {totalRecords}" : "Tidak ditemukan data",
|
|
1706
1705
|
class: "",
|
|
1707
1706
|
template: "FirstPageLink PrevPageLink PageLinks JumpToPageInput NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown"
|
|
1708
1707
|
})
|
|
@@ -1899,7 +1898,7 @@ const _ = {
|
|
|
1899
1898
|
leaveActiveClass: "transition-all duration-200 ease-out",
|
|
1900
1899
|
leaveToClass: "opacity-0 scale-75 mask-active"
|
|
1901
1900
|
}
|
|
1902
|
-
},
|
|
1901
|
+
}, $ = {
|
|
1903
1902
|
root: {
|
|
1904
1903
|
class: ["!w-[clamp(360px,75vw,400px)]"],
|
|
1905
1904
|
"data-wv-name": (e) => e ?? "root",
|
|
@@ -1941,7 +1940,7 @@ const _ = {
|
|
|
1941
1940
|
class: "flex items-end justify-end gap-1 !mt-0",
|
|
1942
1941
|
"data-wv-section": "dialog-confirm-footer"
|
|
1943
1942
|
}
|
|
1944
|
-
},
|
|
1943
|
+
}, R = {
|
|
1945
1944
|
root: {
|
|
1946
1945
|
class: ["max-w-[90vw]"],
|
|
1947
1946
|
style: (e) => `width: ${e}`,
|
|
@@ -5713,8 +5712,8 @@ const oe = m("WANGS-TAB-MENU", {
|
|
|
5713
5712
|
tabmenu: oe,
|
|
5714
5713
|
// Overlays
|
|
5715
5714
|
dialog: C,
|
|
5716
|
-
dialogconfirm:
|
|
5717
|
-
dialogform:
|
|
5715
|
+
dialogconfirm: $,
|
|
5716
|
+
dialogform: R,
|
|
5718
5717
|
overlaypanel: ae,
|
|
5719
5718
|
// Messages
|
|
5720
5719
|
message: te,
|