@fewangsit/wangsvue-presets 1.0.86 → 1.0.87
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 +23 -21
- package/fixedasset/buttonradio/index.js +21 -31
- package/fixedasset/card/index.js +2 -2
- package/fixedasset/dropdown/index.d.ts +56 -39
- package/fixedasset/dropdown/index.js +24 -28
- 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 +25 -6
- package/fixedasset/inputnumber/index.js +36 -4
- package/fixedasset/inputphonenumber/index.d.ts +22 -12
- package/fixedasset/inputphonenumber/index.js +20 -7
- package/fixedasset/multiselect/index.d.ts +80 -44
- package/fixedasset/multiselect/index.js +50 -70
- package/fixedasset/style.css +127 -45
- package/fixedasset/textarea/index.js +3 -2
- package/fixedasset/toggleswitch/index.d.ts +100 -0
- package/{wangsvue/inputswitch → fixedasset/toggleswitch}/index.js +44 -17
- package/package.json +1 -1
- package/wangsvue/buttonradio/index.d.ts +24 -28
- package/wangsvue/buttonradio/index.js +20 -33
- package/wangsvue/dropdown/index.d.ts +33 -0
- package/wangsvue/dropdown/index.js +15 -6
- 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 +25 -6
- package/wangsvue/inputnumber/index.js +36 -4
- package/wangsvue/inputphonenumber/index.d.ts +22 -12
- package/wangsvue/inputphonenumber/index.js +17 -5
- package/wangsvue/multiselect/index.d.ts +52 -4
- package/wangsvue/multiselect/index.js +28 -35
- package/wangsvue/style.css +132 -38
- package/wangsvue/toggleswitch/index.d.ts +105 -0
- package/{fixedasset/inputswitch → wangsvue/toggleswitch}/index.js +45 -17
- package/fixedasset/inputswitch/index.d.ts +0 -67
- package/wangsvue/inputswitch/index.d.ts +0 -67
|
@@ -1,43 +1,36 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
|
|
3
|
-
class: string;
|
|
4
|
-
'data-wv-name': string;
|
|
5
|
-
'data-wv-section': string;
|
|
6
|
-
};
|
|
7
|
-
function wrapper({ props }: {
|
|
2
|
+
function root({ props }: {
|
|
8
3
|
props: any;
|
|
9
4
|
}): {
|
|
10
5
|
class: (string | {
|
|
11
6
|
'bg-white': boolean;
|
|
12
|
-
'bg-general-50':
|
|
13
|
-
'
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
'!
|
|
7
|
+
'bg-general-50': boolean;
|
|
8
|
+
'ring-general-100': boolean;
|
|
9
|
+
'ring-primary-500': boolean;
|
|
10
|
+
'ring-general-200': any;
|
|
11
|
+
'!ring-danger-500'?: undefined;
|
|
17
12
|
} | {
|
|
18
|
-
'!
|
|
13
|
+
'!ring-danger-500': any;
|
|
19
14
|
'bg-white'?: undefined;
|
|
20
15
|
'bg-general-50'?: undefined;
|
|
21
|
-
'
|
|
22
|
-
'
|
|
23
|
-
'
|
|
16
|
+
'ring-general-100'?: undefined;
|
|
17
|
+
'ring-primary-500'?: undefined;
|
|
18
|
+
'ring-general-200'?: undefined;
|
|
24
19
|
})[];
|
|
20
|
+
'data-wv-name': string;
|
|
21
|
+
'data-wv-section': string;
|
|
25
22
|
};
|
|
26
23
|
function box({ props }: {
|
|
27
24
|
props: any;
|
|
28
25
|
}): {
|
|
29
26
|
class: (string | {
|
|
30
|
-
'border-general-100': boolean;
|
|
31
|
-
'border-primary-500': boolean;
|
|
32
27
|
'bg-primary-500': boolean;
|
|
33
28
|
'bg-general-200': any;
|
|
34
29
|
'outline-none outline-offset-0'?: undefined;
|
|
35
|
-
'peer-focus-visible:ring-
|
|
30
|
+
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-primary-400/[8%]'?: undefined;
|
|
36
31
|
} | {
|
|
37
32
|
'outline-none outline-offset-0': boolean;
|
|
38
|
-
'peer-focus-visible:ring-
|
|
39
|
-
'border-general-100'?: undefined;
|
|
40
|
-
'border-primary-500'?: undefined;
|
|
33
|
+
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-primary-400/[8%]': boolean;
|
|
41
34
|
'bg-primary-500'?: undefined;
|
|
42
35
|
'bg-general-200'?: undefined;
|
|
43
36
|
})[];
|
|
@@ -54,5 +47,14 @@ declare namespace _default {
|
|
|
54
47
|
let _class: string;
|
|
55
48
|
export { _class as class };
|
|
56
49
|
}
|
|
50
|
+
let label: {
|
|
51
|
+
class: string[];
|
|
52
|
+
};
|
|
53
|
+
let labeltext: {
|
|
54
|
+
class: string;
|
|
55
|
+
};
|
|
56
|
+
let tooltipicon: {
|
|
57
|
+
class: string;
|
|
58
|
+
};
|
|
57
59
|
}
|
|
58
60
|
export default _default;
|
|
@@ -1,66 +1,55 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var toggleswitch_1 = require("../toggleswitch");
|
|
3
4
|
exports.default = {
|
|
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) {
|
|
5
|
+
root: function (_a) {
|
|
10
6
|
var props = _a.props;
|
|
11
7
|
return ({
|
|
12
|
-
class: [
|
|
8
|
+
'class': [
|
|
13
9
|
'relative',
|
|
14
10
|
// Flexbox & Alignment
|
|
15
|
-
'flex
|
|
11
|
+
'inline-flex',
|
|
16
12
|
// Size
|
|
17
13
|
'w-4 h-4',
|
|
18
14
|
// Shape
|
|
19
|
-
'
|
|
15
|
+
'ring-inset',
|
|
16
|
+
'ring-2',
|
|
20
17
|
'rounded-full',
|
|
21
18
|
// Colors
|
|
22
19
|
{
|
|
23
|
-
'bg-white': props.value
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
'
|
|
27
|
-
'
|
|
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,
|
|
20
|
+
'bg-white': !props.disabled || props.value == props.modelValue,
|
|
21
|
+
'bg-general-50': props.disabled && props.value != props.modelValue,
|
|
22
|
+
'ring-general-100': !props.disabled && props.value != props.modelValue,
|
|
23
|
+
'ring-primary-500': !props.disabled && props.value == props.modelValue,
|
|
24
|
+
'ring-general-200': props.disabled,
|
|
34
25
|
},
|
|
35
26
|
{
|
|
36
|
-
'!
|
|
27
|
+
'!ring-danger-500': props.invalid,
|
|
37
28
|
},
|
|
38
29
|
// Misc
|
|
39
30
|
'cursor-pointer',
|
|
40
31
|
],
|
|
32
|
+
'data-wv-name': 'buttonradio',
|
|
33
|
+
'data-wv-section': 'root',
|
|
41
34
|
});
|
|
42
35
|
},
|
|
43
36
|
box: function (_a) {
|
|
44
37
|
var props = _a.props;
|
|
45
38
|
return ({
|
|
46
39
|
class: [
|
|
47
|
-
// Flexbox
|
|
48
|
-
'flex justify-center items-center',
|
|
49
40
|
// Size
|
|
50
41
|
'w-2 h-2',
|
|
51
42
|
'text-sm',
|
|
52
43
|
'font-medium',
|
|
44
|
+
// Position
|
|
45
|
+
'translate-x-1/2',
|
|
46
|
+
'translate-y-1/2',
|
|
53
47
|
// Shape
|
|
54
|
-
// 'border-2',
|
|
55
48
|
'rounded-full',
|
|
56
49
|
// Transition
|
|
57
50
|
'transition duration-200 ease-in-out',
|
|
58
51
|
// Colors
|
|
59
52
|
{
|
|
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,
|
|
64
53
|
'bg-primary-500': props.value == props.modelValue &&
|
|
65
54
|
props.value !== undefined &&
|
|
66
55
|
!props.disabled,
|
|
@@ -71,8 +60,7 @@ exports.default = {
|
|
|
71
60
|
// States
|
|
72
61
|
{
|
|
73
62
|
'outline-none outline-offset-0': !props.disabled,
|
|
74
|
-
'peer-focus-visible:ring-
|
|
75
|
-
// 'opacity-60 cursor-default': props.disabled,
|
|
63
|
+
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-primary-400/[8%]': !props.disabled,
|
|
76
64
|
},
|
|
77
65
|
],
|
|
78
66
|
});
|
|
@@ -96,7 +84,6 @@ exports.default = {
|
|
|
96
84
|
'opacity-0',
|
|
97
85
|
'rounded-md',
|
|
98
86
|
'outline-none',
|
|
99
|
-
// 'border-2 border-surface-300',
|
|
100
87
|
// Misc
|
|
101
88
|
'appearance-none',
|
|
102
89
|
{ 'cursor-default': props.disabled, 'cursor-pointer': !props.disabled },
|
|
@@ -106,4 +93,7 @@ exports.default = {
|
|
|
106
93
|
icon: {
|
|
107
94
|
class: 'hidden',
|
|
108
95
|
},
|
|
96
|
+
label: toggleswitch_1.default.label,
|
|
97
|
+
labeltext: toggleswitch_1.default.labeltext,
|
|
98
|
+
tooltipicon: toggleswitch_1.default.tooltipicon,
|
|
109
99
|
};
|
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-general-800',
|
|
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 tracking-[0.02em] font-medium',
|
|
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': boolean;
|
|
16
|
-
'text-
|
|
15
|
+
'!text-general-200 font-light': boolean;
|
|
16
|
+
'text-general-800 font-medium': boolean;
|
|
17
17
|
'pr-7'?: undefined;
|
|
18
18
|
} | {
|
|
19
19
|
'pr-7': any;
|
|
20
|
-
'!text-general-200'?: undefined;
|
|
21
|
-
'text-
|
|
20
|
+
'!text-general-200 font-light'?: undefined;
|
|
21
|
+
'text-general-800 font-medium'?: 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
|
|
51
|
-
'
|
|
52
|
-
'text-
|
|
48
|
+
'text-general-800': boolean;
|
|
49
|
+
'text-general-400'?: undefined;
|
|
50
|
+
'bg-primary-50'?: undefined;
|
|
51
|
+
'text-primary-500'?: undefined;
|
|
52
|
+
'text-general-900'?: undefined;
|
|
53
53
|
'pointer-events-none cursor-default'?: undefined;
|
|
54
54
|
'cursor-pointer'?: undefined;
|
|
55
55
|
} | {
|
|
56
|
-
'text-
|
|
57
|
-
'
|
|
58
|
-
'bg-primary-50
|
|
59
|
-
'
|
|
60
|
-
'text-
|
|
56
|
+
'text-general-400': any;
|
|
57
|
+
'text-general-800'?: undefined;
|
|
58
|
+
'bg-primary-50'?: undefined;
|
|
59
|
+
'text-primary-500'?: undefined;
|
|
60
|
+
'text-general-900'?: undefined;
|
|
61
61
|
'pointer-events-none cursor-default'?: undefined;
|
|
62
62
|
'cursor-pointer'?: undefined;
|
|
63
63
|
} | {
|
|
64
|
-
'bg-primary-50
|
|
65
|
-
'
|
|
66
|
-
'text-
|
|
67
|
-
'
|
|
68
|
-
'text-
|
|
64
|
+
'bg-primary-50': any;
|
|
65
|
+
'text-general-800'?: undefined;
|
|
66
|
+
'text-general-400'?: undefined;
|
|
67
|
+
'text-primary-500'?: undefined;
|
|
68
|
+
'text-general-900'?: undefined;
|
|
69
69
|
'pointer-events-none cursor-default'?: undefined;
|
|
70
70
|
'cursor-pointer'?: undefined;
|
|
71
71
|
} | {
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'text-
|
|
75
|
-
'bg-primary-50
|
|
76
|
-
'text-
|
|
72
|
+
'text-primary-500': any;
|
|
73
|
+
'text-general-800'?: undefined;
|
|
74
|
+
'text-general-400'?: undefined;
|
|
75
|
+
'bg-primary-50'?: undefined;
|
|
76
|
+
'text-general-900'?: 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
|
|
84
|
-
'
|
|
80
|
+
'text-general-900': any;
|
|
81
|
+
'text-general-800'?: undefined;
|
|
82
|
+
'text-general-400'?: undefined;
|
|
83
|
+
'bg-primary-50'?: undefined;
|
|
84
|
+
'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
|
|
92
|
-
'
|
|
93
|
-
'text-
|
|
89
|
+
'text-general-800'?: undefined;
|
|
90
|
+
'text-general-400'?: undefined;
|
|
91
|
+
'bg-primary-50'?: undefined;
|
|
92
|
+
'text-primary-500'?: undefined;
|
|
93
|
+
'text-general-900'?: undefined;
|
|
94
94
|
'cursor-pointer'?: undefined;
|
|
95
95
|
} | {
|
|
96
96
|
'cursor-pointer': boolean;
|
|
97
|
-
'
|
|
98
|
-
'text-
|
|
99
|
-
'bg-primary-50
|
|
100
|
-
'
|
|
101
|
-
'text-
|
|
97
|
+
'text-general-800'?: undefined;
|
|
98
|
+
'text-general-400'?: undefined;
|
|
99
|
+
'bg-primary-50'?: undefined;
|
|
100
|
+
'text-primary-500'?: undefined;
|
|
101
|
+
'text-general-900'?: undefined;
|
|
102
102
|
'pointer-events-none cursor-default'?: undefined;
|
|
103
103
|
})[];
|
|
104
104
|
};
|
|
@@ -121,6 +121,19 @@ 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;
|
|
124
137
|
};
|
|
125
138
|
namespace clearicon {
|
|
126
139
|
let _class_5: string[];
|
|
@@ -132,5 +145,9 @@ declare namespace _default {
|
|
|
132
145
|
let leaveActiveClass: string;
|
|
133
146
|
let leaveToClass: string;
|
|
134
147
|
}
|
|
148
|
+
namespace loadingplaceholder {
|
|
149
|
+
let _class_6: string;
|
|
150
|
+
export { _class_6 as class };
|
|
151
|
+
}
|
|
135
152
|
}
|
|
136
153
|
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 justify-between',
|
|
11
11
|
'relative',
|
|
12
12
|
// Shape
|
|
13
13
|
'w-full',
|
|
14
|
-
'rounded-
|
|
14
|
+
'rounded-lg',
|
|
15
15
|
// Misc
|
|
16
16
|
'cursor-default',
|
|
17
17
|
'select-none',
|
|
@@ -24,21 +24,19 @@ exports.default = {
|
|
|
24
24
|
return ({
|
|
25
25
|
class: [
|
|
26
26
|
//Font
|
|
27
|
-
'text-xs
|
|
27
|
+
'text-xs tracking-[0.02em]',
|
|
28
28
|
{
|
|
29
|
-
'!text-general-200': props.modelValue == null,
|
|
30
|
-
'text-
|
|
29
|
+
'!text-general-200 font-light': props.modelValue == null,
|
|
30
|
+
'text-general-800 font-medium': props.modelValue != null,
|
|
31
31
|
},
|
|
32
32
|
// Display
|
|
33
|
-
'
|
|
34
|
-
'flex-auto',
|
|
33
|
+
'flex items-center',
|
|
35
34
|
// Color and Background
|
|
36
35
|
'bg-transparent',
|
|
37
|
-
'border-0',
|
|
38
36
|
'placeholder:text-general-200',
|
|
39
37
|
// Sizing and Spacing
|
|
40
|
-
'h-
|
|
41
|
-
'
|
|
38
|
+
'h-[26px] w-full',
|
|
39
|
+
'px-3 pr-0',
|
|
42
40
|
{ 'pr-7': props.showClear },
|
|
43
41
|
//Shape
|
|
44
42
|
'rounded-none',
|
|
@@ -69,7 +67,7 @@ exports.default = {
|
|
|
69
67
|
'bg-transparent',
|
|
70
68
|
'text-general-200',
|
|
71
69
|
// Size
|
|
72
|
-
'w-6 h-
|
|
70
|
+
'w-6 h-6',
|
|
73
71
|
// Shape
|
|
74
72
|
'rounded-tr-md',
|
|
75
73
|
'rounded-br-md',
|
|
@@ -82,12 +80,10 @@ exports.default = {
|
|
|
82
80
|
'mt-2',
|
|
83
81
|
'max-w-[30vw]',
|
|
84
82
|
// Shape
|
|
85
|
-
'border-0',
|
|
86
83
|
'rounded-lg',
|
|
87
84
|
'shadow-panel',
|
|
88
85
|
// Color
|
|
89
|
-
'bg-
|
|
90
|
-
'text-surface-800',
|
|
86
|
+
'bg-grayscale-100',
|
|
91
87
|
],
|
|
92
88
|
},
|
|
93
89
|
wrapper: function (_a) {
|
|
@@ -96,11 +92,8 @@ exports.default = {
|
|
|
96
92
|
class: [
|
|
97
93
|
// Sizing
|
|
98
94
|
'max-h-[15rem]',
|
|
99
|
-
// Shape
|
|
100
|
-
'border-[0.5px]',
|
|
101
95
|
// Color
|
|
102
96
|
'bg-white',
|
|
103
|
-
'border-grayscale-900',
|
|
104
97
|
// Misc
|
|
105
98
|
'overflow-auto',
|
|
106
99
|
{
|
|
@@ -123,30 +116,25 @@ exports.default = {
|
|
|
123
116
|
// Position
|
|
124
117
|
'relative',
|
|
125
118
|
// Shape
|
|
126
|
-
'border-0',
|
|
127
119
|
'rounded-none',
|
|
128
120
|
// Spacing
|
|
129
121
|
'm-0',
|
|
130
|
-
'py-
|
|
122
|
+
'py-1.5 px-4',
|
|
131
123
|
// Color
|
|
132
|
-
{ '!font-medium': context.selected },
|
|
133
124
|
{
|
|
134
|
-
'text-
|
|
125
|
+
'text-general-800': !context.focused && !context.selected && !context.disabled,
|
|
135
126
|
},
|
|
136
127
|
{
|
|
137
|
-
'text-
|
|
128
|
+
'text-general-400': !context.focused && !context.selected && context.disabled,
|
|
138
129
|
},
|
|
130
|
+
{ 'bg-primary-50': context.focused },
|
|
139
131
|
{
|
|
140
|
-
'
|
|
132
|
+
'text-primary-500': context.focused || context.selected,
|
|
141
133
|
},
|
|
142
134
|
{
|
|
143
|
-
'
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
'text-surface-700': !context.focused && context.selected,
|
|
135
|
+
'text-general-900': !context.focused && context.selected,
|
|
147
136
|
},
|
|
148
137
|
//States
|
|
149
|
-
'hover:bg-primary-bg-weak hover:text-primary',
|
|
150
138
|
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-primary-500',
|
|
151
139
|
// Misc
|
|
152
140
|
{ 'pointer-events-none cursor-default': context.disabled },
|
|
@@ -186,6 +174,11 @@ exports.default = {
|
|
|
186
174
|
filtercontainer: index_js_1.default === null || index_js_1.default === void 0 ? void 0 : index_js_1.default.filtercontainer,
|
|
187
175
|
filterinput: index_js_1.default === null || index_js_1.default === void 0 ? void 0 : index_js_1.default.filterinput,
|
|
188
176
|
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
|
+
},
|
|
189
182
|
clearicon: {
|
|
190
183
|
class: [
|
|
191
184
|
// Color
|
|
@@ -204,4 +197,7 @@ exports.default = {
|
|
|
204
197
|
leaveActiveClass: 'transition-opacity duration-100 ease-linear',
|
|
205
198
|
leaveToClass: 'opacity-0',
|
|
206
199
|
},
|
|
200
|
+
loadingplaceholder: {
|
|
201
|
+
class: 'text-general-200 font-light',
|
|
202
|
+
},
|
|
207
203
|
};
|
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-800 text-[0.75rem] font-medium leading-[16.8px] tracking-[0.02em]',
|
|
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-200',
|
|
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 };
|
|
19
18
|
export { selectbutton };
|
|
20
19
|
export { slider };
|
|
21
20
|
export { chips };
|
|
22
21
|
export { rating };
|
|
23
22
|
export { multiselect };
|
|
24
23
|
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';
|
|
117
116
|
import selectbutton from './selectbutton/index.js';
|
|
118
117
|
import slider from './slider/index.js';
|
|
119
118
|
import chips from './chips/index.js';
|
|
120
119
|
import rating from './rating/index.js';
|
|
121
120
|
import multiselect from './multiselect/index.js';
|
|
122
121
|
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';
|