@fewangsit/wangsvue-presets 1.0.85-alpha.6 → 1.0.85
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.js +1 -1
- package/fixedasset/buttonradio/index.d.ts +21 -23
- package/fixedasset/buttonradio/index.js +31 -21
- package/fixedasset/card/index.js +2 -2
- package/fixedasset/dropdown/index.d.ts +39 -56
- package/fixedasset/dropdown/index.js +28 -24
- package/fixedasset/form/index.js +1 -1
- package/fixedasset/global.js +1 -1
- package/fixedasset/index.d.ts +2 -2
- package/fixedasset/index.js +92 -92
- package/fixedasset/index.system.js +2 -2
- package/fixedasset/inputcurrency/index.js +1 -1
- package/fixedasset/inputnumber/index.d.ts +6 -25
- package/fixedasset/inputnumber/index.js +4 -36
- package/fixedasset/inputphonenumber/index.d.ts +12 -22
- package/fixedasset/inputphonenumber/index.js +7 -20
- package/fixedasset/inputswitch/index.d.ts +67 -0
- package/{wangsvue/toggleswitch → fixedasset/inputswitch}/index.js +17 -45
- package/fixedasset/multiselect/index.d.ts +44 -80
- package/fixedasset/multiselect/index.js +70 -50
- package/fixedasset/style.css +45 -127
- package/fixedasset/textarea/index.js +2 -3
- package/package.json +1 -1
- package/wangsvue/buttonradio/index.d.ts +28 -24
- package/wangsvue/buttonradio/index.js +33 -20
- package/wangsvue/dropdown/index.d.ts +0 -33
- package/wangsvue/dropdown/index.js +6 -15
- package/wangsvue/index.d.ts +2 -2
- package/wangsvue/index.js +92 -92
- package/wangsvue/index.system.js +2 -2
- package/wangsvue/inputnumber/index.d.ts +6 -25
- package/wangsvue/inputnumber/index.js +4 -36
- package/wangsvue/inputphonenumber/index.d.ts +12 -22
- package/wangsvue/inputphonenumber/index.js +5 -17
- package/wangsvue/inputswitch/index.d.ts +67 -0
- package/{fixedasset/toggleswitch → wangsvue/inputswitch}/index.js +17 -44
- package/wangsvue/multiselect/index.d.ts +4 -52
- package/wangsvue/multiselect/index.js +35 -28
- package/wangsvue/style.css +38 -132
- package/fixedasset/toggleswitch/index.d.ts +0 -100
- package/wangsvue/toggleswitch/index.d.ts +0 -105
|
@@ -1,36 +1,43 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
|
|
2
|
+
let root: {
|
|
3
|
+
class: string;
|
|
4
|
+
'data-wv-name': string;
|
|
5
|
+
'data-wv-section': string;
|
|
6
|
+
};
|
|
7
|
+
function wrapper({ props }: {
|
|
3
8
|
props: any;
|
|
4
9
|
}): {
|
|
5
10
|
class: (string | {
|
|
6
11
|
'bg-white': boolean;
|
|
7
|
-
'bg-general-50':
|
|
8
|
-
'
|
|
9
|
-
'
|
|
10
|
-
'
|
|
11
|
-
'!
|
|
12
|
+
'bg-general-50': any;
|
|
13
|
+
'border-general-100': boolean;
|
|
14
|
+
'border-primary-500': boolean;
|
|
15
|
+
'border-general-200': any;
|
|
16
|
+
'!border-danger-500'?: undefined;
|
|
12
17
|
} | {
|
|
13
|
-
'!
|
|
18
|
+
'!border-danger-500': any;
|
|
14
19
|
'bg-white'?: undefined;
|
|
15
20
|
'bg-general-50'?: undefined;
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'
|
|
21
|
+
'border-general-100'?: undefined;
|
|
22
|
+
'border-primary-500'?: undefined;
|
|
23
|
+
'border-general-200'?: undefined;
|
|
19
24
|
})[];
|
|
20
|
-
'data-wv-name': string;
|
|
21
|
-
'data-wv-section': string;
|
|
22
25
|
};
|
|
23
26
|
function box({ props }: {
|
|
24
27
|
props: any;
|
|
25
28
|
}): {
|
|
26
29
|
class: (string | {
|
|
30
|
+
'border-general-100': boolean;
|
|
31
|
+
'border-primary-500': boolean;
|
|
27
32
|
'bg-primary-500': boolean;
|
|
28
33
|
'bg-general-200': any;
|
|
29
34
|
'outline-none outline-offset-0'?: undefined;
|
|
30
|
-
'peer-focus-visible:ring-
|
|
35
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-surface-0 peer-focus-visible:ring-primary-500'?: undefined;
|
|
31
36
|
} | {
|
|
32
37
|
'outline-none outline-offset-0': boolean;
|
|
33
|
-
'peer-focus-visible:ring-
|
|
38
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-surface-0 peer-focus-visible:ring-primary-500': boolean;
|
|
39
|
+
'border-general-100'?: undefined;
|
|
40
|
+
'border-primary-500'?: undefined;
|
|
34
41
|
'bg-primary-500'?: undefined;
|
|
35
42
|
'bg-general-200'?: undefined;
|
|
36
43
|
})[];
|
|
@@ -47,14 +54,5 @@ declare namespace _default {
|
|
|
47
54
|
let _class: string;
|
|
48
55
|
export { _class as class };
|
|
49
56
|
}
|
|
50
|
-
let label: {
|
|
51
|
-
class: string[];
|
|
52
|
-
};
|
|
53
|
-
let labeltext: {
|
|
54
|
-
class: string;
|
|
55
|
-
};
|
|
56
|
-
let tooltipicon: {
|
|
57
|
-
class: string;
|
|
58
|
-
};
|
|
59
57
|
}
|
|
60
58
|
export default _default;
|
|
@@ -1,55 +1,66 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var toggleswitch_1 = require("../toggleswitch");
|
|
4
3
|
exports.default = {
|
|
5
|
-
root:
|
|
4
|
+
root: {
|
|
5
|
+
'class': 'flex items-center w-max gap-1 cursor-pointer text-xs',
|
|
6
|
+
'data-wv-name': 'buttonradio',
|
|
7
|
+
'data-wv-section': 'root',
|
|
8
|
+
},
|
|
9
|
+
wrapper: function (_a) {
|
|
6
10
|
var props = _a.props;
|
|
7
11
|
return ({
|
|
8
|
-
|
|
12
|
+
class: [
|
|
9
13
|
'relative',
|
|
10
14
|
// Flexbox & Alignment
|
|
11
|
-
'
|
|
15
|
+
'flex items-center justify-center',
|
|
12
16
|
// Size
|
|
13
17
|
'w-4 h-4',
|
|
14
18
|
// Shape
|
|
15
|
-
'
|
|
16
|
-
'ring-2',
|
|
19
|
+
'border-2',
|
|
17
20
|
'rounded-full',
|
|
18
21
|
// Colors
|
|
19
22
|
{
|
|
20
|
-
'bg-white':
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
'
|
|
24
|
-
'
|
|
23
|
+
'bg-white': props.value !== props.modelValue &&
|
|
24
|
+
props.value !== undefined &&
|
|
25
|
+
!props.disabled,
|
|
26
|
+
'bg-general-50': props.disabled,
|
|
27
|
+
'border-general-100': props.value !== props.modelValue &&
|
|
28
|
+
props.value !== undefined &&
|
|
29
|
+
!props.disabled,
|
|
30
|
+
'border-primary-500': props.value == props.modelValue &&
|
|
31
|
+
props.value !== undefined &&
|
|
32
|
+
!props.disabled,
|
|
33
|
+
'border-general-200': props.disabled,
|
|
25
34
|
},
|
|
26
35
|
{
|
|
27
|
-
'!
|
|
36
|
+
'!border-danger-500': props.invalid,
|
|
28
37
|
},
|
|
29
38
|
// Misc
|
|
30
39
|
'cursor-pointer',
|
|
31
40
|
],
|
|
32
|
-
'data-wv-name': 'buttonradio',
|
|
33
|
-
'data-wv-section': 'root',
|
|
34
41
|
});
|
|
35
42
|
},
|
|
36
43
|
box: function (_a) {
|
|
37
44
|
var props = _a.props;
|
|
38
45
|
return ({
|
|
39
46
|
class: [
|
|
47
|
+
// Flexbox
|
|
48
|
+
'flex justify-center items-center',
|
|
40
49
|
// Size
|
|
41
50
|
'w-2 h-2',
|
|
42
51
|
'text-sm',
|
|
43
52
|
'font-medium',
|
|
44
|
-
// Position
|
|
45
|
-
'translate-x-1/2',
|
|
46
|
-
'translate-y-1/2',
|
|
47
53
|
// Shape
|
|
54
|
+
// 'border-2',
|
|
48
55
|
'rounded-full',
|
|
49
56
|
// Transition
|
|
50
57
|
'transition duration-200 ease-in-out',
|
|
51
58
|
// Colors
|
|
52
59
|
{
|
|
60
|
+
'border-general-100': props.value !== props.modelValue && props.value !== undefined,
|
|
61
|
+
'border-primary-500': props.value == props.modelValue &&
|
|
62
|
+
props.value !== undefined &&
|
|
63
|
+
!props.disabled,
|
|
53
64
|
'bg-primary-500': props.value == props.modelValue &&
|
|
54
65
|
props.value !== undefined &&
|
|
55
66
|
!props.disabled,
|
|
@@ -60,7 +71,8 @@ exports.default = {
|
|
|
60
71
|
// States
|
|
61
72
|
{
|
|
62
73
|
'outline-none outline-offset-0': !props.disabled,
|
|
63
|
-
'peer-focus-visible:ring-
|
|
74
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-surface-0 peer-focus-visible:ring-primary-500': !props.disabled,
|
|
75
|
+
// 'opacity-60 cursor-default': props.disabled,
|
|
64
76
|
},
|
|
65
77
|
],
|
|
66
78
|
});
|
|
@@ -84,6 +96,7 @@ exports.default = {
|
|
|
84
96
|
'opacity-0',
|
|
85
97
|
'rounded-md',
|
|
86
98
|
'outline-none',
|
|
99
|
+
// 'border-2 border-surface-300',
|
|
87
100
|
// Misc
|
|
88
101
|
'appearance-none',
|
|
89
102
|
{ 'cursor-default': props.disabled, 'cursor-pointer': !props.disabled },
|
|
@@ -93,7 +106,4 @@ exports.default = {
|
|
|
93
106
|
icon: {
|
|
94
107
|
class: 'hidden',
|
|
95
108
|
},
|
|
96
|
-
label: toggleswitch_1.default.label,
|
|
97
|
-
labeltext: toggleswitch_1.default.labeltext,
|
|
98
|
-
tooltipicon: toggleswitch_1.default.tooltipicon,
|
|
99
109
|
};
|
package/fixedasset/card/index.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.default = {
|
|
|
8
8
|
'flex flex-col gap-y-3',
|
|
9
9
|
//Color
|
|
10
10
|
'bg-white',
|
|
11
|
-
'text-
|
|
11
|
+
'text-grayscale-900',
|
|
12
12
|
],
|
|
13
13
|
},
|
|
14
14
|
header: {
|
|
@@ -24,7 +24,7 @@ exports.default = {
|
|
|
24
24
|
class: ['text-sm font-normal'],
|
|
25
25
|
},
|
|
26
26
|
content: {
|
|
27
|
-
class: 'flex flex-col gap-3 text-xs
|
|
27
|
+
class: 'flex flex-col gap-3 text-xs text-grayscale-900',
|
|
28
28
|
},
|
|
29
29
|
footer: {
|
|
30
30
|
class: ['inline-flex gap-1 text-xs items-center'],
|
|
@@ -12,13 +12,13 @@ declare namespace _default {
|
|
|
12
12
|
props: any;
|
|
13
13
|
}): {
|
|
14
14
|
class: (string | {
|
|
15
|
-
'!text-general-200
|
|
16
|
-
'text-
|
|
15
|
+
'!text-general-200': boolean;
|
|
16
|
+
'text-grayscale-900': boolean;
|
|
17
17
|
'pr-7'?: undefined;
|
|
18
18
|
} | {
|
|
19
19
|
'pr-7': any;
|
|
20
|
-
'!text-general-200
|
|
21
|
-
'text-
|
|
20
|
+
'!text-general-200'?: undefined;
|
|
21
|
+
'text-grayscale-900'?: undefined;
|
|
22
22
|
})[];
|
|
23
23
|
};
|
|
24
24
|
namespace trigger {
|
|
@@ -45,60 +45,60 @@ declare namespace _default {
|
|
|
45
45
|
context: any;
|
|
46
46
|
}): {
|
|
47
47
|
class: (string | {
|
|
48
|
-
'
|
|
49
|
-
'text-
|
|
50
|
-
'bg-primary-50'?: undefined;
|
|
51
|
-
'text-primary-500'?: undefined;
|
|
52
|
-
'text-
|
|
48
|
+
'!font-medium': any;
|
|
49
|
+
'text-surface-600'?: undefined;
|
|
50
|
+
'bg-primary-50 text-surface-700'?: undefined;
|
|
51
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
|
52
|
+
'text-surface-700'?: undefined;
|
|
53
53
|
'pointer-events-none cursor-default'?: undefined;
|
|
54
54
|
'cursor-pointer'?: undefined;
|
|
55
55
|
} | {
|
|
56
|
-
'text-
|
|
57
|
-
'
|
|
58
|
-
'bg-primary-50'?: undefined;
|
|
59
|
-
'text-primary-500'?: undefined;
|
|
60
|
-
'text-
|
|
56
|
+
'text-surface-600': any;
|
|
57
|
+
'!font-medium'?: undefined;
|
|
58
|
+
'bg-primary-50 text-surface-700'?: undefined;
|
|
59
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
|
60
|
+
'text-surface-700'?: undefined;
|
|
61
61
|
'pointer-events-none cursor-default'?: undefined;
|
|
62
62
|
'cursor-pointer'?: undefined;
|
|
63
63
|
} | {
|
|
64
|
-
'bg-primary-50':
|
|
65
|
-
'
|
|
66
|
-
'text-
|
|
67
|
-
'text-primary-500'?: undefined;
|
|
68
|
-
'text-
|
|
64
|
+
'bg-primary-50 text-surface-700': boolean;
|
|
65
|
+
'!font-medium'?: undefined;
|
|
66
|
+
'text-surface-600'?: undefined;
|
|
67
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
|
68
|
+
'text-surface-700'?: undefined;
|
|
69
69
|
'pointer-events-none cursor-default'?: undefined;
|
|
70
70
|
'cursor-pointer'?: undefined;
|
|
71
71
|
} | {
|
|
72
|
-
'text-primary-500': any;
|
|
73
|
-
'
|
|
74
|
-
'text-
|
|
75
|
-
'bg-primary-50'?: undefined;
|
|
76
|
-
'text-
|
|
72
|
+
'bg-primary-50 text-primary-500': any;
|
|
73
|
+
'!font-medium'?: undefined;
|
|
74
|
+
'text-surface-600'?: undefined;
|
|
75
|
+
'bg-primary-50 text-surface-700'?: undefined;
|
|
76
|
+
'text-surface-700'?: undefined;
|
|
77
77
|
'pointer-events-none cursor-default'?: undefined;
|
|
78
78
|
'cursor-pointer'?: undefined;
|
|
79
79
|
} | {
|
|
80
|
-
'text-
|
|
81
|
-
'
|
|
82
|
-
'text-
|
|
83
|
-
'bg-primary-50'?: undefined;
|
|
84
|
-
'text-primary-500'?: undefined;
|
|
80
|
+
'text-surface-700': any;
|
|
81
|
+
'!font-medium'?: undefined;
|
|
82
|
+
'text-surface-600'?: undefined;
|
|
83
|
+
'bg-primary-50 text-surface-700'?: undefined;
|
|
84
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
|
85
85
|
'pointer-events-none cursor-default'?: undefined;
|
|
86
86
|
'cursor-pointer'?: undefined;
|
|
87
87
|
} | {
|
|
88
88
|
'pointer-events-none cursor-default': any;
|
|
89
|
-
'
|
|
90
|
-
'text-
|
|
91
|
-
'bg-primary-50'?: undefined;
|
|
92
|
-
'text-primary-500'?: undefined;
|
|
93
|
-
'text-
|
|
89
|
+
'!font-medium'?: undefined;
|
|
90
|
+
'text-surface-600'?: undefined;
|
|
91
|
+
'bg-primary-50 text-surface-700'?: undefined;
|
|
92
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
|
93
|
+
'text-surface-700'?: undefined;
|
|
94
94
|
'cursor-pointer'?: undefined;
|
|
95
95
|
} | {
|
|
96
96
|
'cursor-pointer': boolean;
|
|
97
|
-
'
|
|
98
|
-
'text-
|
|
99
|
-
'bg-primary-50'?: undefined;
|
|
100
|
-
'text-primary-500'?: undefined;
|
|
101
|
-
'text-
|
|
97
|
+
'!font-medium'?: undefined;
|
|
98
|
+
'text-surface-600'?: undefined;
|
|
99
|
+
'bg-primary-50 text-surface-700'?: undefined;
|
|
100
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
|
101
|
+
'text-surface-700'?: undefined;
|
|
102
102
|
'pointer-events-none cursor-default'?: undefined;
|
|
103
103
|
})[];
|
|
104
104
|
};
|
|
@@ -121,19 +121,6 @@ declare namespace _default {
|
|
|
121
121
|
};
|
|
122
122
|
let filtericon: {
|
|
123
123
|
class: string[];
|
|
124
|
-
icon: string;
|
|
125
|
-
};
|
|
126
|
-
let loadingicon: {
|
|
127
|
-
class: string;
|
|
128
|
-
icon: string;
|
|
129
|
-
};
|
|
130
|
-
function dropdownicon({ state }: {
|
|
131
|
-
state: any;
|
|
132
|
-
}): {
|
|
133
|
-
class: (string | {
|
|
134
|
-
'rotate-180': any;
|
|
135
|
-
})[];
|
|
136
|
-
icon: string;
|
|
137
124
|
};
|
|
138
125
|
namespace clearicon {
|
|
139
126
|
let _class_5: string[];
|
|
@@ -145,9 +132,5 @@ declare namespace _default {
|
|
|
145
132
|
let leaveActiveClass: string;
|
|
146
133
|
let leaveToClass: string;
|
|
147
134
|
}
|
|
148
|
-
namespace loadingplaceholder {
|
|
149
|
-
let _class_6: string;
|
|
150
|
-
export { _class_6 as class };
|
|
151
|
-
}
|
|
152
135
|
}
|
|
153
136
|
export default _default;
|
|
@@ -7,11 +7,11 @@ exports.default = {
|
|
|
7
7
|
return ({
|
|
8
8
|
class: [
|
|
9
9
|
// Display and Position
|
|
10
|
-
'inline-flex items-center
|
|
10
|
+
'inline-flex items-center',
|
|
11
11
|
'relative',
|
|
12
12
|
// Shape
|
|
13
13
|
'w-full',
|
|
14
|
-
'rounded-
|
|
14
|
+
'rounded-md',
|
|
15
15
|
// Misc
|
|
16
16
|
'cursor-default',
|
|
17
17
|
'select-none',
|
|
@@ -24,19 +24,21 @@ exports.default = {
|
|
|
24
24
|
return ({
|
|
25
25
|
class: [
|
|
26
26
|
//Font
|
|
27
|
-
'text-xs
|
|
27
|
+
'text-xs font-normal',
|
|
28
28
|
{
|
|
29
|
-
'!text-general-200
|
|
30
|
-
'text-
|
|
29
|
+
'!text-general-200': props.modelValue == null,
|
|
30
|
+
'text-grayscale-900': props.modelValue != null,
|
|
31
31
|
},
|
|
32
32
|
// Display
|
|
33
|
-
'
|
|
33
|
+
'block',
|
|
34
|
+
'flex-auto',
|
|
34
35
|
// Color and Background
|
|
35
36
|
'bg-transparent',
|
|
37
|
+
'border-0',
|
|
36
38
|
'placeholder:text-general-200',
|
|
37
39
|
// Sizing and Spacing
|
|
38
|
-
'h-
|
|
39
|
-
'px-3 pr-0',
|
|
40
|
+
'h-max',
|
|
41
|
+
'py-[5px] px-3 pr-0',
|
|
40
42
|
{ 'pr-7': props.showClear },
|
|
41
43
|
//Shape
|
|
42
44
|
'rounded-none',
|
|
@@ -67,7 +69,7 @@ exports.default = {
|
|
|
67
69
|
'bg-transparent',
|
|
68
70
|
'text-general-200',
|
|
69
71
|
// Size
|
|
70
|
-
'w-6 h-
|
|
72
|
+
'w-6 h-full',
|
|
71
73
|
// Shape
|
|
72
74
|
'rounded-tr-md',
|
|
73
75
|
'rounded-br-md',
|
|
@@ -80,10 +82,12 @@ exports.default = {
|
|
|
80
82
|
'mt-2',
|
|
81
83
|
'max-w-[30vw]',
|
|
82
84
|
// Shape
|
|
85
|
+
'border-0',
|
|
83
86
|
'rounded-lg',
|
|
84
87
|
'shadow-panel',
|
|
85
88
|
// Color
|
|
86
|
-
'bg-
|
|
89
|
+
'bg-surface-0',
|
|
90
|
+
'text-surface-800',
|
|
87
91
|
],
|
|
88
92
|
},
|
|
89
93
|
wrapper: function (_a) {
|
|
@@ -92,8 +96,11 @@ exports.default = {
|
|
|
92
96
|
class: [
|
|
93
97
|
// Sizing
|
|
94
98
|
'max-h-[15rem]',
|
|
99
|
+
// Shape
|
|
100
|
+
'border-[0.5px]',
|
|
95
101
|
// Color
|
|
96
102
|
'bg-white',
|
|
103
|
+
'border-grayscale-900',
|
|
97
104
|
// Misc
|
|
98
105
|
'overflow-auto',
|
|
99
106
|
{
|
|
@@ -116,25 +123,30 @@ exports.default = {
|
|
|
116
123
|
// Position
|
|
117
124
|
'relative',
|
|
118
125
|
// Shape
|
|
126
|
+
'border-0',
|
|
119
127
|
'rounded-none',
|
|
120
128
|
// Spacing
|
|
121
129
|
'm-0',
|
|
122
|
-
'py-
|
|
130
|
+
'py-2 px-4',
|
|
123
131
|
// Color
|
|
132
|
+
{ '!font-medium': context.selected },
|
|
124
133
|
{
|
|
125
|
-
'text-
|
|
134
|
+
'text-surface-700': !context.focused && !context.selected && !context.disabled,
|
|
126
135
|
},
|
|
127
136
|
{
|
|
128
|
-
'text-
|
|
137
|
+
'text-surface-600': !context.focused && !context.selected && context.disabled,
|
|
129
138
|
},
|
|
130
|
-
{ 'bg-primary-50': context.focused },
|
|
131
139
|
{
|
|
132
|
-
'
|
|
140
|
+
'bg-primary-50 text-surface-700': context.focused && !context.selected,
|
|
133
141
|
},
|
|
134
142
|
{
|
|
135
|
-
'text-
|
|
143
|
+
'bg-primary-50 text-primary-500': context.focused && context.selected,
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
'text-surface-700': !context.focused && context.selected,
|
|
136
147
|
},
|
|
137
148
|
//States
|
|
149
|
+
'hover:bg-primary-bg-weak hover:text-primary',
|
|
138
150
|
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-primary-500',
|
|
139
151
|
// Misc
|
|
140
152
|
{ 'pointer-events-none cursor-default': context.disabled },
|
|
@@ -174,11 +186,6 @@ exports.default = {
|
|
|
174
186
|
filtercontainer: index_js_1.default === null || index_js_1.default === void 0 ? void 0 : index_js_1.default.filtercontainer,
|
|
175
187
|
filterinput: index_js_1.default === null || index_js_1.default === void 0 ? void 0 : index_js_1.default.filterinput,
|
|
176
188
|
filtericon: index_js_1.default === null || index_js_1.default === void 0 ? void 0 : index_js_1.default.filtericon,
|
|
177
|
-
loadingicon: index_js_1.default === null || index_js_1.default === void 0 ? void 0 : index_js_1.default.loadingicon,
|
|
178
|
-
dropdownicon: function (_a) {
|
|
179
|
-
var state = _a.state;
|
|
180
|
-
return index_js_1.default.dropdownicon({ state: state });
|
|
181
|
-
},
|
|
182
189
|
clearicon: {
|
|
183
190
|
class: [
|
|
184
191
|
// Color
|
|
@@ -197,7 +204,4 @@ exports.default = {
|
|
|
197
204
|
leaveActiveClass: 'transition-opacity duration-100 ease-linear',
|
|
198
205
|
leaveToClass: 'opacity-0',
|
|
199
206
|
},
|
|
200
|
-
loadingplaceholder: {
|
|
201
|
-
class: 'text-general-200 font-light',
|
|
202
|
-
},
|
|
203
207
|
};
|
package/fixedasset/form/index.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.default = {
|
|
|
4
4
|
// :class="['ts-form', { 'sticky-buttons': props.stickyButtons }]"
|
|
5
5
|
'root': function () { return ({
|
|
6
6
|
'class': [
|
|
7
|
-
'flex flex-col gap-3 text-general-
|
|
7
|
+
'flex flex-col gap-3 text-general-900 text-[0.75rem] font-medium leading-[16.8px]',
|
|
8
8
|
],
|
|
9
9
|
'data-wv-section': 'root',
|
|
10
10
|
}); },
|
package/fixedasset/global.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.ringClass = [
|
|
|
7
7
|
'ring-[0.5px] p-[0.5px]': !navigator.userAgent.includes('Firefox'),
|
|
8
8
|
},
|
|
9
9
|
'ring-inset',
|
|
10
|
-
'ring-general-
|
|
10
|
+
'ring-general-400',
|
|
11
11
|
];
|
|
12
12
|
exports.default = {
|
|
13
13
|
css: "\n *[data-pd-ripple=\"true\"]{\n overflow: hidden;\n position: relative;\n }\n span[data-p-ink-active=\"true\"]{\n animation: ripple 0.4s linear;\n }\n @keyframes ripple {\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n }\n\n .progress-spinner-circle {\n stroke-dasharray: 89, 400;\n stroke-dashoffset: 0;\n animation: p-progress-spinner-dash 1.5s ease-in-out infinite, p-progress-spinner-color 6s ease-in-out infinite;\n stroke-linecap: round;\n }\n\n @keyframes p-progress-spinner-dash{\n 0% {\n stroke-dasharray: 1, 400;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 89, 400;\n stroke-dashoffset: -35px;\n }\n 100% {\n stroke-dasharray: 89, 400;\n stroke-dashoffset: -124px;\n }\n }\n @keyframes p-progress-spinner-color {\n 100%, 0% {\n stroke: #ff5757;\n }\n 40% {\n stroke: #696cff;\n }\n 66% {\n stroke: #1ea97c;\n }\n 80%, 90% {\n stroke: #cc8925;\n }\n }\n\n .progressbar-value-animate::after {\n will-change: left, right;\n animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n }\n .progressbar-value-animate::before {\n will-change: left, right;\n animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n }\n\n @keyframes p-progressbar-indeterminate-anim {\n 0% {\n left: -35%;\n right: 100%;\n }\n 60% {\n left: 100%;\n right: -90%;\n }\n 100% {\n left: 100%;\n right: -90%;\n }\n }\n",
|
package/fixedasset/index.d.ts
CHANGED
|
@@ -15,13 +15,13 @@ declare namespace fixedasset {
|
|
|
15
15
|
export { calendar };
|
|
16
16
|
export { checkbox };
|
|
17
17
|
export { buttonradio };
|
|
18
|
+
export { inputswitch };
|
|
18
19
|
export { selectbutton };
|
|
19
20
|
export { slider };
|
|
20
21
|
export { chips };
|
|
21
22
|
export { rating };
|
|
22
23
|
export { multiselect };
|
|
23
24
|
export { togglebutton };
|
|
24
|
-
export { toggleswitch };
|
|
25
25
|
export { cascadeselect };
|
|
26
26
|
export { listbox };
|
|
27
27
|
export { colorpicker };
|
|
@@ -113,13 +113,13 @@ import inputbadge from './inputbadge/index.js';
|
|
|
113
113
|
import calendar from './calendar/index.js';
|
|
114
114
|
import checkbox from './checkbox/index.js';
|
|
115
115
|
import buttonradio from './buttonradio/index.js';
|
|
116
|
+
import inputswitch from './inputswitch/index.js';
|
|
116
117
|
import selectbutton from './selectbutton/index.js';
|
|
117
118
|
import slider from './slider/index.js';
|
|
118
119
|
import chips from './chips/index.js';
|
|
119
120
|
import rating from './rating/index.js';
|
|
120
121
|
import multiselect from './multiselect/index.js';
|
|
121
122
|
import togglebutton from './togglebutton/index.js';
|
|
122
|
-
import toggleswitch from './toggleswitch';
|
|
123
123
|
import cascadeselect from './cascadeselect/index.js';
|
|
124
124
|
import listbox from './listbox/index.js';
|
|
125
125
|
import colorpicker from './colorpicker/index.js';
|