@fewangsit/wangsvue-presets 1.0.81-alpha.0 → 1.0.81-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/build.sh +32 -0
- package/dev.sh +22 -0
- package/dist +13 -0
- package/fixedasset/accordion/index.js +75 -0
- package/fixedasset/autocomplete/index.js +280 -0
- package/fixedasset/avatar/index.js +42 -0
- package/fixedasset/avatargroup/index.js +7 -0
- package/fixedasset/badge/index.js +54 -0
- package/fixedasset/badgedirective/index.js +50 -0
- package/fixedasset/badgegroup/index.js +30 -0
- package/fixedasset/breadcrumb/index.js +29 -0
- package/fixedasset/button/index.js +506 -0
- package/fixedasset/buttonbulkaction/index.js +35 -0
- package/fixedasset/buttondownload/index.js +12 -0
- package/fixedasset/buttonfilter/index.js +12 -0
- package/fixedasset/buttonradio/index.js +122 -0
- package/fixedasset/buttonsearch/index.js +53 -0
- package/fixedasset/calendar/index.js +684 -0
- package/fixedasset/card/index.js +32 -0
- package/fixedasset/carousel/index.js +134 -0
- package/fixedasset/cascadeselect/index.js +219 -0
- package/fixedasset/changelog/index.js +29 -0
- package/fixedasset/checkbox/index.js +127 -0
- package/fixedasset/chip/index.js +45 -0
- package/fixedasset/chips/index.js +112 -0
- package/fixedasset/colorpicker/index.js +134 -0
- package/fixedasset/colors.config.json +77 -0
- package/fixedasset/confirmpopup/index.js +122 -0
- package/fixedasset/contextmenu/index.js +122 -0
- package/fixedasset/datatable/index.js +246 -0
- package/fixedasset/dataview/index.js +40 -0
- package/fixedasset/dataviewlayoutoptions/index.js +64 -0
- package/fixedasset/datepicker/index.js +39 -0
- package/fixedasset/daypicker/index.js +38 -0
- package/fixedasset/dialog/index.js +249 -0
- package/fixedasset/dialogconfirm/index.js +42 -0
- package/fixedasset/dialogform/index.js +67 -0
- package/fixedasset/divider/index.js +72 -0
- package/fixedasset/dock/index.js +97 -0
- package/fixedasset/dropdown/index.js +230 -0
- package/fixedasset/fieldset/index.js +99 -0
- package/fixedasset/fileupload/index.js +23 -0
- package/fixedasset/form/index.js +42 -0
- package/fixedasset/global.js +87 -0
- package/{wangsvue/style.css → fixedasset/icons.css} +849 -5822
- package/fixedasset/image/index.js +128 -0
- package/fixedasset/index.css +65 -0
- package/{wangsvue/index.d.ts → fixedasset/index.js} +211 -190
- package/fixedasset/inlinemessage/index.js +26 -0
- package/fixedasset/inputbadge/index.js +41 -0
- package/fixedasset/inputcurrency/index.js +12 -0
- package/fixedasset/inputgroup/index.js +40 -0
- package/fixedasset/inputgroupaddon/index.js +34 -0
- package/fixedasset/inputmask/index.js +30 -0
- package/fixedasset/inputnumber/index.js +50 -0
- package/fixedasset/inputotp/index.js +70 -0
- package/fixedasset/inputphonenumber/index.js +19 -0
- package/fixedasset/inputswitch/index.js +114 -0
- package/fixedasset/inputtext/index.js +27 -0
- package/fixedasset/knob/index.js +47 -0
- package/fixedasset/listbox/index.js +156 -0
- package/fixedasset/megamenu/index.js +218 -0
- package/fixedasset/menu/index.js +119 -0
- package/fixedasset/menubar/index.js +186 -0
- package/fixedasset/message/index.js +87 -0
- package/fixedasset/multiselect/index.js +360 -0
- package/fixedasset/orderlist/index.js +275 -0
- package/fixedasset/organizationchart/index.js +143 -0
- package/fixedasset/overlaypanel/index.js +36 -0
- package/fixedasset/paginator/index.js +547 -0
- package/fixedasset/panel/index.js +95 -0
- package/fixedasset/panelmenu/index.js +136 -0
- package/fixedasset/password/index.js +98 -0
- package/fixedasset/picklist/index.js +684 -0
- package/fixedasset/progressbar/index.js +112 -0
- package/fixedasset/rating/index.js +86 -0
- package/fixedasset/ripple/index.js +6 -0
- package/fixedasset/scrollpanel/index.js +77 -0
- package/fixedasset/scrolltop/index.js +45 -0
- package/fixedasset/selectbutton/index.js +59 -0
- package/fixedasset/sidebar/index.js +165 -0
- package/fixedasset/skeleton/index.js +19 -0
- package/fixedasset/slider/index.js +135 -0
- package/fixedasset/splitbutton/index.js +957 -0
- package/fixedasset/steps/index.js +132 -0
- package/fixedasset/tabmenu/index.js +84 -0
- package/fixedasset/tabview/index.js +168 -0
- package/fixedasset/tag/index.js +37 -0
- package/fixedasset/tailwind.config.js +20 -0
- package/fixedasset/terminal/index.js +60 -0
- package/fixedasset/textarea/index.js +44 -0
- package/fixedasset/tieredmenu/index.js +121 -0
- package/fixedasset/timeline/index.js +70 -0
- package/fixedasset/toast/index.js +97 -0
- package/fixedasset/togglebutton/index.js +87 -0
- package/fixedasset/toolbar/index.js +30 -0
- package/fixedasset/tooltip/index.js +44 -0
- package/fixedasset/tree/index.js +298 -0
- package/fixedasset/treeselect/index.js +395 -0
- package/fixedasset/tristatecheckbox/index.js +128 -0
- package/fixedasset/validatormessage/index.js +7 -0
- package/fixedasset/workcalendar/index.js +27 -0
- package/{index.d.ts → index.ts} +1 -1
- package/package.json +2 -2
- package/release.sh +7 -0
- package/tsconfig.json +14 -0
- package/vite.config.ts +17 -0
- package/wangsvue/accordion/index.js +75 -70
- package/wangsvue/autocomplete/index.js +280 -247
- package/wangsvue/avatar/index.js +42 -44
- package/wangsvue/avatargroup/index.js +7 -9
- package/wangsvue/badge/index.js +54 -60
- package/wangsvue/badgedirective/index.js +50 -49
- package/wangsvue/badgegroup/index.js +30 -29
- package/wangsvue/breadcrumb/index.js +29 -31
- package/wangsvue/button/index.js +506 -423
- package/wangsvue/buttonbulkaction/index.js +35 -35
- package/wangsvue/buttondownload/index.js +12 -13
- package/wangsvue/buttonfilter/index.js +12 -13
- package/wangsvue/buttonradio/index.js +122 -109
- package/wangsvue/buttonsearch/index.js +53 -62
- package/wangsvue/calendar/index.js +684 -610
- package/wangsvue/card/index.js +32 -32
- package/wangsvue/carousel/index.js +134 -129
- package/wangsvue/cascadeselect/index.js +219 -191
- package/wangsvue/changelog/index.js +29 -31
- package/wangsvue/checkbox/index.js +127 -107
- package/wangsvue/chip/index.js +45 -40
- package/wangsvue/chips/index.js +112 -98
- package/wangsvue/colorpicker/index.js +134 -118
- package/wangsvue/confirmpopup/index.js +122 -104
- package/wangsvue/contextmenu/index.js +122 -113
- package/wangsvue/datatable/index.js +246 -253
- package/wangsvue/dataview/index.js +40 -36
- package/wangsvue/dataviewlayoutoptions/index.js +64 -58
- package/wangsvue/datepicker/index.js +39 -0
- package/wangsvue/daypicker/index.js +38 -0
- package/wangsvue/dialog/index.js +249 -220
- package/wangsvue/dialogconfirm/index.js +42 -45
- package/wangsvue/dialogform/index.js +67 -68
- package/wangsvue/divider/index.js +72 -64
- package/wangsvue/dock/index.js +97 -92
- package/wangsvue/dropdown/index.js +230 -207
- package/wangsvue/fieldset/index.js +99 -87
- package/wangsvue/fileupload/index.js +23 -31
- package/wangsvue/form/index.js +42 -44
- package/wangsvue/global.js +87 -14
- package/wangsvue/icons.css +850 -0
- package/wangsvue/image/index.js +128 -136
- package/wangsvue/index.css +65 -0
- package/wangsvue/index.js +211 -201
- package/wangsvue/inlinemessage/index.js +26 -30
- package/wangsvue/inputbadge/index.js +41 -57
- package/wangsvue/inputcurrency/index.js +12 -22
- package/wangsvue/inputgroup/index.js +40 -37
- package/wangsvue/inputgroupaddon/index.js +34 -34
- package/wangsvue/inputmask/index.js +30 -29
- package/wangsvue/inputnumber/index.js +50 -58
- package/wangsvue/inputotp/index.js +70 -63
- package/wangsvue/inputphonenumber/index.js +19 -34
- package/wangsvue/inputswitch/index.js +114 -100
- package/wangsvue/inputtext/index.js +27 -28
- package/wangsvue/knob/index.js +47 -45
- package/wangsvue/listbox/index.js +156 -138
- package/wangsvue/megamenu/index.js +218 -202
- package/wangsvue/menu/index.js +119 -110
- package/wangsvue/menubar/index.js +186 -172
- package/wangsvue/message/index.js +87 -85
- package/wangsvue/multiselect/index.js +360 -328
- package/wangsvue/orderlist/index.js +275 -245
- package/wangsvue/organizationchart/index.js +143 -129
- package/wangsvue/overlaypanel/index.js +36 -34
- package/wangsvue/paginator/index.js +547 -474
- package/wangsvue/panel/index.js +95 -85
- package/wangsvue/panelmenu/index.js +136 -124
- package/wangsvue/password/index.js +98 -96
- package/wangsvue/picklist/index.js +684 -613
- package/wangsvue/progressbar/index.js +112 -102
- package/wangsvue/rating/index.js +86 -88
- package/wangsvue/ripple/index.js +6 -8
- package/wangsvue/scrollpanel/index.js +77 -62
- package/wangsvue/scrolltop/index.js +45 -42
- package/wangsvue/selectbutton/index.js +59 -60
- package/wangsvue/sidebar/index.js +165 -145
- package/wangsvue/skeleton/index.js +19 -22
- package/wangsvue/slider/index.js +135 -126
- package/wangsvue/splitbutton/index.js +957 -786
- package/wangsvue/steps/index.js +132 -119
- package/wangsvue/tabmenu/index.js +84 -75
- package/wangsvue/tabview/index.js +168 -148
- package/wangsvue/tag/index.js +37 -37
- package/wangsvue/tailwind.config.js +20 -0
- package/wangsvue/terminal/index.js +60 -55
- package/wangsvue/textarea/index.js +44 -51
- package/wangsvue/tieredmenu/index.js +121 -108
- package/wangsvue/timeline/index.js +70 -83
- package/wangsvue/toast/index.js +97 -95
- package/wangsvue/togglebutton/index.js +87 -77
- package/wangsvue/toolbar/index.js +30 -29
- package/wangsvue/tooltip/index.js +44 -42
- package/wangsvue/tree/index.js +298 -256
- package/wangsvue/treeselect/index.js +395 -338
- package/wangsvue/tristatecheckbox/index.js +128 -106
- package/wangsvue/validatormessage/index.js +7 -9
- package/wangsvue/workcalendar/index.js +27 -36
- package/index.js +0 -5
- package/wangsvue/accordion/index.d.ts +0 -37
- package/wangsvue/autocomplete/index.d.ts +0 -188
- package/wangsvue/avatar/index.d.ts +0 -85
- package/wangsvue/avatargroup/index.d.ts +0 -8
- package/wangsvue/badge/index.d.ts +0 -47
- package/wangsvue/badgedirective/index.d.ts +0 -50
- package/wangsvue/badgegroup/index.d.ts +0 -45
- package/wangsvue/breadcrumb/index.d.ts +0 -25
- package/wangsvue/button/index.d.ts +0 -46
- package/wangsvue/buttonbulkaction/index.d.ts +0 -32
- package/wangsvue/buttondownload/index.d.ts +0 -12
- package/wangsvue/buttonfilter/index.d.ts +0 -12
- package/wangsvue/buttonradio/index.d.ts +0 -58
- package/wangsvue/buttonsearch/index.d.ts +0 -65
- package/wangsvue/calendar/index.d.ts +0 -267
- package/wangsvue/card/index.d.ts +0 -31
- package/wangsvue/carousel/index.d.ts +0 -57
- package/wangsvue/cascadeselect/index.d.ts +0 -82
- package/wangsvue/changelog/index.d.ts +0 -32
- package/wangsvue/checkbox/index.d.ts +0 -81
- package/wangsvue/chip/index.d.ts +0 -23
- package/wangsvue/chips/index.d.ts +0 -38
- package/wangsvue/colorpicker/index.d.ts +0 -51
- package/wangsvue/confirmpopup/index.d.ts +0 -39
- package/wangsvue/contextmenu/index.d.ts +0 -63
- package/wangsvue/datatable/index.d.ts +0 -286
- package/wangsvue/dataview/index.d.ts +0 -15
- package/wangsvue/dataviewlayoutoptions/index.d.ts +0 -13
- package/wangsvue/dialog/index.d.ts +0 -87
- package/wangsvue/dialogconfirm/index.d.ts +0 -42
- package/wangsvue/dialogform/index.d.ts +0 -71
- package/wangsvue/divider/index.d.ts +0 -192
- package/wangsvue/dock/index.d.ts +0 -51
- package/wangsvue/dropdown/index.d.ts +0 -136
- package/wangsvue/fieldset/index.d.ts +0 -94
- package/wangsvue/fileupload/index.d.ts +0 -29
- package/wangsvue/form/index.d.ts +0 -40
- package/wangsvue/global.d.ts +0 -8
- package/wangsvue/image/index.d.ts +0 -88
- package/wangsvue/index.system.js +0 -76
- package/wangsvue/inlinemessage/index.d.ts +0 -20
- package/wangsvue/inputbadge/index.d.ts +0 -57
- package/wangsvue/inputcurrency/index.d.ts +0 -27
- package/wangsvue/inputgroup/index.d.ts +0 -9
- package/wangsvue/inputgroupaddon/index.d.ts +0 -17
- package/wangsvue/inputmask/index.d.ts +0 -11
- package/wangsvue/inputnumber/index.d.ts +0 -46
- package/wangsvue/inputotp/index.d.ts +0 -137
- package/wangsvue/inputphonenumber/index.d.ts +0 -37
- package/wangsvue/inputswitch/index.d.ts +0 -67
- package/wangsvue/inputtext/index.d.ts +0 -18
- package/wangsvue/knob/index.d.ts +0 -22
- package/wangsvue/listbox/index.d.ts +0 -79
- package/wangsvue/megamenu/index.d.ts +0 -105
- package/wangsvue/menu/index.d.ts +0 -49
- package/wangsvue/menubar/index.d.ts +0 -85
- package/wangsvue/message/index.d.ts +0 -41
- package/wangsvue/multiselect/index.d.ts +0 -243
- package/wangsvue/orderlist/index.d.ts +0 -99
- package/wangsvue/organizationchart/index.d.ts +0 -71
- package/wangsvue/overlaypanel/index.d.ts +0 -17
- package/wangsvue/paginator/index.d.ts +0 -210
- package/wangsvue/panel/index.d.ts +0 -43
- package/wangsvue/panelmenu/index.d.ts +0 -76
- package/wangsvue/password/index.d.ts +0 -45
- package/wangsvue/picklist/index.d.ts +0 -245
- package/wangsvue/progressbar/index.d.ts +0 -117
- package/wangsvue/rating/index.d.ts +0 -47
- package/wangsvue/ripple/index.d.ts +0 -8
- package/wangsvue/scrollpanel/index.d.ts +0 -19
- package/wangsvue/scrolltop/index.d.ts +0 -50
- package/wangsvue/selectbutton/index.d.ts +0 -35
- package/wangsvue/sidebar/index.d.ts +0 -66
- package/wangsvue/skeleton/index.d.ts +0 -16
- package/wangsvue/slider/index.d.ts +0 -55
- package/wangsvue/splitbutton/index.d.ts +0 -6690
- package/wangsvue/steps/index.d.ts +0 -108
- package/wangsvue/tabmenu/index.d.ts +0 -57
- package/wangsvue/tabview/index.d.ts +0 -67
- package/wangsvue/tag/index.d.ts +0 -32
- package/wangsvue/terminal/index.d.ts +0 -27
- package/wangsvue/textarea/index.d.ts +0 -12
- package/wangsvue/tieredmenu/index.d.ts +0 -56
- package/wangsvue/timeline/index.d.ts +0 -53
- package/wangsvue/toast/index.d.ts +0 -61
- package/wangsvue/togglebutton/index.d.ts +0 -42
- package/wangsvue/toolbar/index.d.ts +0 -19
- package/wangsvue/tooltip/index.d.ts +0 -22
- package/wangsvue/tree/index.d.ts +0 -117
- package/wangsvue/treeselect/index.d.ts +0 -158
- package/wangsvue/tristatecheckbox/index.d.ts +0 -49
- package/wangsvue/validatormessage/index.d.ts +0 -8
- package/wangsvue/workcalendar/index.d.ts +0 -27
@@ -1,106 +1,128 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
1
|
+
export default {
|
2
|
+
root: {
|
3
|
+
class: [
|
4
|
+
'relative',
|
5
|
+
|
6
|
+
'w-4 h-4',
|
7
|
+
|
8
|
+
// Alignment
|
9
|
+
'inline-flex',
|
10
|
+
'align-bottom',
|
11
|
+
|
12
|
+
// Transitions
|
13
|
+
'transition-all',
|
14
|
+
'duration-200',
|
15
|
+
],
|
16
|
+
},
|
17
|
+
box: ({ props, context }) => ({
|
18
|
+
class: [
|
19
|
+
// Alignment
|
20
|
+
'flex',
|
21
|
+
'items-center',
|
22
|
+
'justify-center',
|
23
|
+
|
24
|
+
// Size
|
25
|
+
'w-full',
|
26
|
+
'h-full',
|
27
|
+
|
28
|
+
// Shape
|
29
|
+
'rounded',
|
30
|
+
'border-2',
|
31
|
+
|
32
|
+
// Colors
|
33
|
+
'text-surface-0',
|
34
|
+
{
|
35
|
+
'border-general-100 bg-surface-0':
|
36
|
+
!context.active && !props.disabled,
|
37
|
+
'border-primary-500 bg-primary-500':
|
38
|
+
context.active && !props.disabled,
|
39
|
+
},
|
40
|
+
|
41
|
+
{
|
42
|
+
'ring-2 ring-primary-500':
|
43
|
+
!props.disabled && context.focused,
|
44
|
+
'cursor-default': props.disabled,
|
45
|
+
},
|
46
|
+
|
47
|
+
// States
|
48
|
+
{
|
49
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-offset-1 peer-focus-visible:ring-primary':
|
50
|
+
!props.disabled,
|
51
|
+
'cursor-default bg-general-50 border-general-200':
|
52
|
+
props.disabled && !context.active,
|
53
|
+
'bg-general-200 border-general-200':
|
54
|
+
props.disabled && context.active,
|
55
|
+
},
|
56
|
+
|
57
|
+
// Transitions
|
58
|
+
'transition-colors',
|
59
|
+
'duration-200',
|
60
|
+
],
|
61
|
+
}),
|
62
|
+
input: {
|
63
|
+
class: [
|
64
|
+
'peer',
|
65
|
+
|
66
|
+
// Size
|
67
|
+
'w-full ',
|
68
|
+
'h-full',
|
69
|
+
|
70
|
+
// Position
|
71
|
+
'absolute',
|
72
|
+
'top-0 left-0',
|
73
|
+
'z-10',
|
74
|
+
|
75
|
+
// Spacing
|
76
|
+
'p-0',
|
77
|
+
'm-0',
|
78
|
+
|
79
|
+
// Shape
|
80
|
+
'rounded',
|
81
|
+
'border',
|
82
|
+
|
83
|
+
// Shape
|
84
|
+
'opacity-0',
|
85
|
+
'rounded-md',
|
86
|
+
'outline-none',
|
87
|
+
'border-2 border-surface-300',
|
88
|
+
|
89
|
+
// Misc
|
90
|
+
'appareance-none',
|
91
|
+
'cursor-pointer',
|
92
|
+
],
|
93
|
+
},
|
94
|
+
checkicon: {
|
95
|
+
class: [
|
96
|
+
// Font
|
97
|
+
'text-normal',
|
98
|
+
|
99
|
+
// Size
|
100
|
+
'w-3',
|
101
|
+
'h-3',
|
102
|
+
|
103
|
+
// Colors
|
104
|
+
'text-surface-0',
|
105
|
+
|
106
|
+
// Transitions
|
107
|
+
'transition-all',
|
108
|
+
'duration-200',
|
109
|
+
],
|
110
|
+
},
|
111
|
+
uncheckicon: {
|
112
|
+
class: [
|
113
|
+
// Font
|
114
|
+
'text-normal',
|
115
|
+
|
116
|
+
// Size
|
117
|
+
'w-3',
|
118
|
+
'h-3',
|
119
|
+
|
120
|
+
// Colors
|
121
|
+
'text-surface-0',
|
122
|
+
|
123
|
+
// Transitions
|
124
|
+
'transition-all',
|
125
|
+
'duration-200',
|
126
|
+
],
|
127
|
+
},
|
128
|
+
};
|
@@ -1,9 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
},
|
9
|
-
};
|
1
|
+
export default {
|
2
|
+
root: {
|
3
|
+
'class': ['!mt-0 text-danger-500 text-xs font-light'],
|
4
|
+
'data-wv-name': 'validatormessage',
|
5
|
+
'data-wv-section': 'root',
|
6
|
+
},
|
7
|
+
};
|
@@ -1,36 +1,27 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
'hidden': context.day.isOtherMonth,
|
29
|
-
'text-white !rounded-full focus:outline-none focus-visible:outline-none cursor-pointer': context.day.isWorkDay || context.day.isNationalHoliday,
|
30
|
-
'bg-danger-500 hover:bg-danger-500/90': context.day.state === 'holiday',
|
31
|
-
'bg-primary-1000 hover:bg-primary-1000/90': context.day.state === 'workday',
|
32
|
-
},
|
33
|
-
],
|
34
|
-
});
|
35
|
-
},
|
36
|
-
};
|
1
|
+
export default {
|
2
|
+
next: ({ context }) => ({
|
3
|
+
class: [
|
4
|
+
'text-2xl text-general-900',
|
5
|
+
{ '!text-general-300 pointer-events-none': context.disableNextButton },
|
6
|
+
],
|
7
|
+
}),
|
8
|
+
prev: ({ context }) => ({
|
9
|
+
class: [
|
10
|
+
'text-2xl text-general-900 rotate-180',
|
11
|
+
{ '!text-general-300 pointer-events-none': context.disablePrevButton },
|
12
|
+
],
|
13
|
+
}),
|
14
|
+
daylabel: ({ context }) => ({
|
15
|
+
class: [
|
16
|
+
'flex items-center justify-center w-12 h-12 focus:outline-none focus-visible:outline-none cursor-pointer',
|
17
|
+
{
|
18
|
+
'hidden': context.day.isOtherMonth,
|
19
|
+
'text-white !rounded-full focus:outline-none focus-visible:outline-none cursor-pointer':
|
20
|
+
context.day.isWorkDay || context.day.isNationalHoliday,
|
21
|
+
'bg-danger-500 hover:bg-danger-500/90': context.day.state === 'holiday',
|
22
|
+
'bg-primary-1000 hover:bg-primary-1000/90':
|
23
|
+
context.day.state === 'workday',
|
24
|
+
},
|
25
|
+
],
|
26
|
+
}),
|
27
|
+
};
|
package/index.js
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
declare namespace _default {
|
2
|
-
namespace accordiontab {
|
3
|
-
function header({ props }: {
|
4
|
-
props: any;
|
5
|
-
}): {
|
6
|
-
class: (string | {
|
7
|
-
'select-none pointer-events-none cursor-default opacity-60': any;
|
8
|
-
})[];
|
9
|
-
};
|
10
|
-
function headerAction({ context }: {
|
11
|
-
context: any;
|
12
|
-
}): {
|
13
|
-
class: string[];
|
14
|
-
};
|
15
|
-
namespace headerIcon {
|
16
|
-
let _class: string;
|
17
|
-
export { _class as class };
|
18
|
-
}
|
19
|
-
namespace headerTitle {
|
20
|
-
let _class_1: string;
|
21
|
-
export { _class_1 as class };
|
22
|
-
}
|
23
|
-
namespace content {
|
24
|
-
let _class_2: string[];
|
25
|
-
export { _class_2 as class };
|
26
|
-
}
|
27
|
-
namespace transition {
|
28
|
-
let enterFromClass: string;
|
29
|
-
let enterActiveClass: string;
|
30
|
-
let enterToClass: string;
|
31
|
-
let leaveFromClass: string;
|
32
|
-
let leaveActiveClass: string;
|
33
|
-
let leaveToClass: string;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
export default _default;
|
@@ -1,188 +0,0 @@
|
|
1
|
-
declare namespace _default {
|
2
|
-
function root({ props }: {
|
3
|
-
props: any;
|
4
|
-
}): {
|
5
|
-
class: (string | {
|
6
|
-
'w-full': any;
|
7
|
-
'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
|
8
|
-
} | {
|
9
|
-
'opacity-60 select-none pointer-events-none cursor-default': any;
|
10
|
-
'w-full'?: undefined;
|
11
|
-
})[];
|
12
|
-
};
|
13
|
-
function container({ props, state }: {
|
14
|
-
props: any;
|
15
|
-
state: any;
|
16
|
-
}): {
|
17
|
-
class: (string | {
|
18
|
-
'px-3 py-1.5': boolean;
|
19
|
-
'px-3 py-1': any;
|
20
|
-
'ring-1 ring-inset ring-surface-300'?: undefined;
|
21
|
-
'ring-2 ring-primary-500'?: undefined;
|
22
|
-
} | {
|
23
|
-
'ring-1 ring-inset ring-surface-300': boolean;
|
24
|
-
'ring-2 ring-primary-500': any;
|
25
|
-
'px-3 py-1.5'?: undefined;
|
26
|
-
'px-3 py-1'?: undefined;
|
27
|
-
})[];
|
28
|
-
};
|
29
|
-
function inputtoken({ props }: {
|
30
|
-
props: any;
|
31
|
-
}): {
|
32
|
-
class: (string | {
|
33
|
-
'py-1.5 px-0': boolean;
|
34
|
-
'p-0.5': any;
|
35
|
-
})[];
|
36
|
-
};
|
37
|
-
function input({ props }: {
|
38
|
-
props: any;
|
39
|
-
}): {
|
40
|
-
class: (string | {
|
41
|
-
'rounded-tr-none rounded-br-none': any;
|
42
|
-
'outline-none shadow-none rounded-none'?: undefined;
|
43
|
-
'w-full'?: undefined;
|
44
|
-
'py-1.5 px-3'?: undefined;
|
45
|
-
'p-0'?: undefined;
|
46
|
-
'bg-surface-0'?: undefined;
|
47
|
-
'border border-surface-300'?: undefined;
|
48
|
-
'border-0 bg-transparent'?: undefined;
|
49
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-inset focus:ring-2 focus:ring-primary-500'?: undefined;
|
50
|
-
} | {
|
51
|
-
'outline-none shadow-none rounded-none': any;
|
52
|
-
'rounded-tr-none rounded-br-none'?: undefined;
|
53
|
-
'w-full'?: undefined;
|
54
|
-
'py-1.5 px-3'?: undefined;
|
55
|
-
'p-0'?: undefined;
|
56
|
-
'bg-surface-0'?: undefined;
|
57
|
-
'border border-surface-300'?: undefined;
|
58
|
-
'border-0 bg-transparent'?: undefined;
|
59
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-inset focus:ring-2 focus:ring-primary-500'?: undefined;
|
60
|
-
} | {
|
61
|
-
'w-full': any;
|
62
|
-
'rounded-tr-none rounded-br-none'?: undefined;
|
63
|
-
'outline-none shadow-none rounded-none'?: undefined;
|
64
|
-
'py-1.5 px-3'?: undefined;
|
65
|
-
'p-0'?: undefined;
|
66
|
-
'bg-surface-0'?: undefined;
|
67
|
-
'border border-surface-300'?: undefined;
|
68
|
-
'border-0 bg-transparent'?: undefined;
|
69
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-inset focus:ring-2 focus:ring-primary-500'?: undefined;
|
70
|
-
} | {
|
71
|
-
'py-1.5 px-3': boolean;
|
72
|
-
'p-0': any;
|
73
|
-
'rounded-tr-none rounded-br-none'?: undefined;
|
74
|
-
'outline-none shadow-none rounded-none'?: undefined;
|
75
|
-
'w-full'?: undefined;
|
76
|
-
'bg-surface-0'?: undefined;
|
77
|
-
'border border-surface-300'?: undefined;
|
78
|
-
'border-0 bg-transparent'?: undefined;
|
79
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-inset focus:ring-2 focus:ring-primary-500'?: undefined;
|
80
|
-
} | {
|
81
|
-
'bg-surface-0': boolean;
|
82
|
-
'border border-surface-300': boolean;
|
83
|
-
'border-0 bg-transparent': any;
|
84
|
-
'rounded-tr-none rounded-br-none'?: undefined;
|
85
|
-
'outline-none shadow-none rounded-none'?: undefined;
|
86
|
-
'w-full'?: undefined;
|
87
|
-
'py-1.5 px-3'?: undefined;
|
88
|
-
'p-0'?: undefined;
|
89
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-inset focus:ring-2 focus:ring-primary-500'?: undefined;
|
90
|
-
} | {
|
91
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-inset focus:ring-2 focus:ring-primary-500': boolean;
|
92
|
-
'rounded-tr-none rounded-br-none'?: undefined;
|
93
|
-
'outline-none shadow-none rounded-none'?: undefined;
|
94
|
-
'w-full'?: undefined;
|
95
|
-
'py-1.5 px-3'?: undefined;
|
96
|
-
'p-0'?: undefined;
|
97
|
-
'bg-surface-0'?: undefined;
|
98
|
-
'border border-surface-300'?: undefined;
|
99
|
-
'border-0 bg-transparent'?: undefined;
|
100
|
-
})[];
|
101
|
-
};
|
102
|
-
namespace token {
|
103
|
-
let _class: string[];
|
104
|
-
export { _class as class };
|
105
|
-
}
|
106
|
-
namespace label {
|
107
|
-
let _class_1: string;
|
108
|
-
export { _class_1 as class };
|
109
|
-
}
|
110
|
-
namespace removeTokenIcon {
|
111
|
-
let _class_2: string[];
|
112
|
-
export { _class_2 as class };
|
113
|
-
}
|
114
|
-
namespace dropdownbutton {
|
115
|
-
export namespace root_1 {
|
116
|
-
let _class_3: string[];
|
117
|
-
export { _class_3 as class };
|
118
|
-
}
|
119
|
-
export { root_1 as root };
|
120
|
-
}
|
121
|
-
namespace loadingicon {
|
122
|
-
let _class_4: string[];
|
123
|
-
export { _class_4 as class };
|
124
|
-
}
|
125
|
-
namespace panel {
|
126
|
-
let _class_5: string[];
|
127
|
-
export { _class_5 as class };
|
128
|
-
}
|
129
|
-
namespace list {
|
130
|
-
let _class_6: string;
|
131
|
-
export { _class_6 as class };
|
132
|
-
}
|
133
|
-
function item({ context }: {
|
134
|
-
context: any;
|
135
|
-
}): {
|
136
|
-
class: (string | {
|
137
|
-
'font-normal': boolean;
|
138
|
-
'font-bold': any;
|
139
|
-
'text-surface-700/80'?: undefined;
|
140
|
-
'bg-surface-200 text-surface-700/80'?: undefined;
|
141
|
-
'bg-primary-500 text-white'?: undefined;
|
142
|
-
'bg-transparent text-surface-700/80'?: undefined;
|
143
|
-
} | {
|
144
|
-
'text-surface-700/80': boolean;
|
145
|
-
'font-normal'?: undefined;
|
146
|
-
'font-bold'?: undefined;
|
147
|
-
'bg-surface-200 text-surface-700/80'?: undefined;
|
148
|
-
'bg-primary-500 text-white'?: undefined;
|
149
|
-
'bg-transparent text-surface-700/80'?: undefined;
|
150
|
-
} | {
|
151
|
-
'bg-surface-200 text-surface-700/80': boolean;
|
152
|
-
'font-normal'?: undefined;
|
153
|
-
'font-bold'?: undefined;
|
154
|
-
'text-surface-700/80'?: undefined;
|
155
|
-
'bg-primary-500 text-white'?: undefined;
|
156
|
-
'bg-transparent text-surface-700/80'?: undefined;
|
157
|
-
} | {
|
158
|
-
'bg-primary-500 text-white': any;
|
159
|
-
'font-normal'?: undefined;
|
160
|
-
'font-bold'?: undefined;
|
161
|
-
'text-surface-700/80'?: undefined;
|
162
|
-
'bg-surface-200 text-surface-700/80'?: undefined;
|
163
|
-
'bg-transparent text-surface-700/80'?: undefined;
|
164
|
-
} | {
|
165
|
-
'bg-transparent text-surface-700/80': any;
|
166
|
-
'font-normal'?: undefined;
|
167
|
-
'font-bold'?: undefined;
|
168
|
-
'text-surface-700/80'?: undefined;
|
169
|
-
'bg-surface-200 text-surface-700/80'?: undefined;
|
170
|
-
'bg-primary-500 text-white'?: undefined;
|
171
|
-
})[];
|
172
|
-
};
|
173
|
-
namespace itemgroup {
|
174
|
-
let _class_7: string[];
|
175
|
-
export { _class_7 as class };
|
176
|
-
}
|
177
|
-
namespace emptymessage {
|
178
|
-
let _class_8: string[];
|
179
|
-
export { _class_8 as class };
|
180
|
-
}
|
181
|
-
namespace transition {
|
182
|
-
let enterFromClass: string;
|
183
|
-
let enterActiveClass: string;
|
184
|
-
let leaveActiveClass: string;
|
185
|
-
let leaveToClass: string;
|
186
|
-
}
|
187
|
-
}
|
188
|
-
export default _default;
|
@@ -1,85 +0,0 @@
|
|
1
|
-
declare namespace _default {
|
2
|
-
function root({ props, parent }: {
|
3
|
-
props: any;
|
4
|
-
parent: any;
|
5
|
-
}): {
|
6
|
-
class: (string | {
|
7
|
-
'text-sm': boolean;
|
8
|
-
'text-lg': boolean;
|
9
|
-
'text-xl': boolean;
|
10
|
-
'h-[30px] w-[30px]'?: undefined;
|
11
|
-
'w-12 h-12'?: undefined;
|
12
|
-
'w-16 h-16'?: undefined;
|
13
|
-
'-ml-4'?: undefined;
|
14
|
-
'rounded-lg'?: undefined;
|
15
|
-
'rounded-full'?: undefined;
|
16
|
-
'border-[0.5px]'?: undefined;
|
17
|
-
'border-gray-100'?: undefined;
|
18
|
-
} | {
|
19
|
-
'h-[30px] w-[30px]': boolean;
|
20
|
-
'w-12 h-12': boolean;
|
21
|
-
'w-16 h-16': boolean;
|
22
|
-
'text-sm'?: undefined;
|
23
|
-
'text-lg'?: undefined;
|
24
|
-
'text-xl'?: undefined;
|
25
|
-
'-ml-4'?: undefined;
|
26
|
-
'rounded-lg'?: undefined;
|
27
|
-
'rounded-full'?: undefined;
|
28
|
-
'border-[0.5px]'?: undefined;
|
29
|
-
'border-gray-100'?: undefined;
|
30
|
-
} | {
|
31
|
-
'-ml-4': boolean;
|
32
|
-
'text-sm'?: undefined;
|
33
|
-
'text-lg'?: undefined;
|
34
|
-
'text-xl'?: undefined;
|
35
|
-
'h-[30px] w-[30px]'?: undefined;
|
36
|
-
'w-12 h-12'?: undefined;
|
37
|
-
'w-16 h-16'?: undefined;
|
38
|
-
'rounded-lg'?: undefined;
|
39
|
-
'rounded-full'?: undefined;
|
40
|
-
'border-[0.5px]'?: undefined;
|
41
|
-
'border-gray-100'?: undefined;
|
42
|
-
} | {
|
43
|
-
'rounded-lg': boolean;
|
44
|
-
'rounded-full': boolean;
|
45
|
-
'text-sm'?: undefined;
|
46
|
-
'text-lg'?: undefined;
|
47
|
-
'text-xl'?: undefined;
|
48
|
-
'h-[30px] w-[30px]'?: undefined;
|
49
|
-
'w-12 h-12'?: undefined;
|
50
|
-
'w-16 h-16'?: undefined;
|
51
|
-
'-ml-4'?: undefined;
|
52
|
-
'border-[0.5px]'?: undefined;
|
53
|
-
'border-gray-100'?: undefined;
|
54
|
-
} | {
|
55
|
-
'border-[0.5px]': boolean;
|
56
|
-
'text-sm'?: undefined;
|
57
|
-
'text-lg'?: undefined;
|
58
|
-
'text-xl'?: undefined;
|
59
|
-
'h-[30px] w-[30px]'?: undefined;
|
60
|
-
'w-12 h-12'?: undefined;
|
61
|
-
'w-16 h-16'?: undefined;
|
62
|
-
'-ml-4'?: undefined;
|
63
|
-
'rounded-lg'?: undefined;
|
64
|
-
'rounded-full'?: undefined;
|
65
|
-
'border-gray-100'?: undefined;
|
66
|
-
} | {
|
67
|
-
'border-gray-100': boolean;
|
68
|
-
'text-sm'?: undefined;
|
69
|
-
'text-lg'?: undefined;
|
70
|
-
'text-xl'?: undefined;
|
71
|
-
'h-[30px] w-[30px]'?: undefined;
|
72
|
-
'w-12 h-12'?: undefined;
|
73
|
-
'w-16 h-16'?: undefined;
|
74
|
-
'-ml-4'?: undefined;
|
75
|
-
'rounded-lg'?: undefined;
|
76
|
-
'rounded-full'?: undefined;
|
77
|
-
'border-[0.5px]'?: undefined;
|
78
|
-
})[];
|
79
|
-
};
|
80
|
-
namespace image {
|
81
|
-
let _class: string;
|
82
|
-
export { _class as class };
|
83
|
-
}
|
84
|
-
}
|
85
|
-
export default _default;
|