@fy-/fws-vue 0.3.0 → 0.3.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/package.json +1 -11
- package/presets/Lara/accordion/index.js +0 -86
- package/presets/Lara/autocomplete/index.js +0 -284
- package/presets/Lara/avatar/index.js +0 -46
- package/presets/Lara/badge/index.js +0 -44
- package/presets/Lara/badgedirective/index.js +0 -49
- package/presets/Lara/blockui/index.js +0 -8
- package/presets/Lara/breadcrumb/index.js +0 -64
- package/presets/Lara/button/index.js +0 -470
- package/presets/Lara/calendar/index.js +0 -683
- package/presets/Lara/card/index.js +0 -37
- package/presets/Lara/carousel/index.js +0 -152
- package/presets/Lara/cascadeselect/index.js +0 -228
- package/presets/Lara/checkbox/index.js +0 -106
- package/presets/Lara/chip/index.js +0 -45
- package/presets/Lara/chips/index.js +0 -118
- package/presets/Lara/colorpicker/index.js +0 -129
- package/presets/Lara/confirmpopup/index.js +0 -107
- package/presets/Lara/contextmenu/index.js +0 -130
- package/presets/Lara/datatable/index.js +0 -1289
- package/presets/Lara/dataview/index.js +0 -40
- package/presets/Lara/deferred/index.js +0 -3
- package/presets/Lara/dialog/index.js +0 -249
- package/presets/Lara/divider/index.js +0 -72
- package/presets/Lara/dock/index.js +0 -97
- package/presets/Lara/dropdown/index.js +0 -300
- package/presets/Lara/fieldset/index.js +0 -98
- package/presets/Lara/fileupload/index.js +0 -173
- package/presets/Lara/floatlabel/index.js +0 -26
- package/presets/Lara/galleria/index.js +0 -351
- package/presets/Lara/global.js +0 -90
- package/presets/Lara/iconfield/index.js +0 -22
- package/presets/Lara/image/index.js +0 -206
- package/presets/Lara/index.js +0 -181
- package/presets/Lara/inlinemessage/index.js +0 -36
- package/presets/Lara/inplace/index.js +0 -27
- package/presets/Lara/inputgroup/index.js +0 -5
- package/presets/Lara/inputgroupaddon/index.js +0 -28
- package/presets/Lara/inputmask/index.js +0 -37
- package/presets/Lara/inputnumber/index.js +0 -253
- package/presets/Lara/inputotp/index.js +0 -72
- package/presets/Lara/inputswitch/index.js +0 -93
- package/presets/Lara/inputtext/index.js +0 -61
- package/presets/Lara/knob/index.js +0 -47
- package/presets/Lara/listbox/index.js +0 -170
- package/presets/Lara/megamenu/index.js +0 -207
- package/presets/Lara/menu/index.js +0 -98
- package/presets/Lara/menubar/index.js +0 -181
- package/presets/Lara/message/index.js +0 -87
- package/presets/Lara/metergroup/index.js +0 -110
- package/presets/Lara/multiselect/index.js +0 -589
- package/presets/Lara/orderlist/index.js +0 -266
- package/presets/Lara/organizationchart/index.js +0 -142
- package/presets/Lara/overlaypanel/index.js +0 -41
- package/presets/Lara/paginator/index.js +0 -590
- package/presets/Lara/panel/index.js +0 -93
- package/presets/Lara/panelmenu/index.js +0 -139
- package/presets/Lara/password/index.js +0 -140
- package/presets/Lara/picklist/index.js +0 -659
- package/presets/Lara/progressbar/index.js +0 -61
- package/presets/Lara/progressspinner/index.js +0 -51
- package/presets/Lara/radiobutton/index.js +0 -116
- package/presets/Lara/rating/index.js +0 -95
- package/presets/Lara/ripple/index.js +0 -6
- package/presets/Lara/scrollpanel/index.js +0 -77
- package/presets/Lara/scrolltop/index.js +0 -45
- package/presets/Lara/selectbutton/index.js +0 -60
- package/presets/Lara/sidebar/index.js +0 -163
- package/presets/Lara/skeleton/index.js +0 -19
- package/presets/Lara/slider/index.js +0 -149
- package/presets/Lara/speeddial/index.js +0 -535
- package/presets/Lara/splitbutton/index.js +0 -1081
- package/presets/Lara/splitter/index.js +0 -64
- package/presets/Lara/stepper/index.js +0 -183
- package/presets/Lara/steps/index.js +0 -115
- package/presets/Lara/tabmenu/index.js +0 -82
- package/presets/Lara/tabview/index.js +0 -166
- package/presets/Lara/tag/index.js +0 -37
- package/presets/Lara/terminal/index.js +0 -60
- package/presets/Lara/textarea/index.js +0 -39
- package/presets/Lara/tieredmenu/index.js +0 -125
- package/presets/Lara/timeline/index.js +0 -107
- package/presets/Lara/toast/index.js +0 -113
- package/presets/Lara/togglebutton/index.js +0 -100
- package/presets/Lara/toolbar/index.js +0 -28
- package/presets/Lara/tooltip/index.js +0 -73
- package/presets/Lara/tree/index.js +0 -281
- package/presets/Lara/treeselect/index.js +0 -387
- package/presets/Lara/treetable/index.js +0 -509
- package/presets/Lara/tristatecheckbox/index.js +0 -112
- package/presets/Wind/accordion/index.js +0 -75
- package/presets/Wind/autocomplete/index.js +0 -294
- package/presets/Wind/avatar/index.js +0 -48
- package/presets/Wind/badge/index.js +0 -43
- package/presets/Wind/badgedirective/index.js +0 -50
- package/presets/Wind/blockui/index.js +0 -8
- package/presets/Wind/breadcrumb/index.js +0 -45
- package/presets/Wind/button/index.js +0 -474
- package/presets/Wind/calendar/index.js +0 -659
- package/presets/Wind/card/index.js +0 -40
- package/presets/Wind/carousel/index.js +0 -152
- package/presets/Wind/cascadeselect/index.js +0 -225
- package/presets/Wind/checkbox/index.js +0 -112
- package/presets/Wind/chip/index.js +0 -45
- package/presets/Wind/chips/index.js +0 -120
- package/presets/Wind/colorpicker/index.js +0 -129
- package/presets/Wind/confirmpopup/index.js +0 -123
- package/presets/Wind/contextmenu/index.js +0 -128
- package/presets/Wind/datatable/index.js +0 -1330
- package/presets/Wind/dataview/index.js +0 -40
- package/presets/Wind/deferred/index.js +0 -3
- package/presets/Wind/dialog/index.js +0 -251
- package/presets/Wind/divider/index.js +0 -72
- package/presets/Wind/dock/index.js +0 -97
- package/presets/Wind/dropdown/index.js +0 -287
- package/presets/Wind/fieldset/index.js +0 -99
- package/presets/Wind/fileupload/index.js +0 -173
- package/presets/Wind/floatlabel/index.js +0 -26
- package/presets/Wind/galleria/index.js +0 -351
- package/presets/Wind/global.js +0 -77
- package/presets/Wind/iconfield/index.js +0 -22
- package/presets/Wind/image/index.js +0 -206
- package/presets/Wind/index.js +0 -181
- package/presets/Wind/inlinemessage/index.js +0 -29
- package/presets/Wind/inplace/index.js +0 -30
- package/presets/Wind/inputgroup/index.js +0 -5
- package/presets/Wind/inputgroupaddon/index.js +0 -28
- package/presets/Wind/inputmask/index.js +0 -34
- package/presets/Wind/inputnumber/index.js +0 -244
- package/presets/Wind/inputotp/index.js +0 -72
- package/presets/Wind/inputswitch/index.js +0 -106
- package/presets/Wind/inputtext/index.js +0 -61
- package/presets/Wind/knob/index.js +0 -47
- package/presets/Wind/listbox/index.js +0 -159
- package/presets/Wind/megamenu/index.js +0 -218
- package/presets/Wind/menu/index.js +0 -111
- package/presets/Wind/menubar/index.js +0 -188
- package/presets/Wind/message/index.js +0 -87
- package/presets/Wind/metergroup/index.js +0 -110
- package/presets/Wind/multiselect/index.js +0 -619
- package/presets/Wind/orderlist/index.js +0 -275
- package/presets/Wind/organizationchart/index.js +0 -143
- package/presets/Wind/overlaypanel/index.js +0 -42
- package/presets/Wind/paginator/index.js +0 -596
- package/presets/Wind/panel/index.js +0 -95
- package/presets/Wind/panelmenu/index.js +0 -136
- package/presets/Wind/password/index.js +0 -141
- package/presets/Wind/picklist/index.js +0 -684
- package/presets/Wind/progressbar/index.js +0 -68
- package/presets/Wind/progressspinner/index.js +0 -51
- package/presets/Wind/radiobutton/index.js +0 -92
- package/presets/Wind/rating/index.js +0 -86
- package/presets/Wind/ripple/index.js +0 -6
- package/presets/Wind/scrollpanel/index.js +0 -77
- package/presets/Wind/scrolltop/index.js +0 -45
- package/presets/Wind/selectbutton/index.js +0 -58
- package/presets/Wind/sidebar/index.js +0 -165
- package/presets/Wind/skeleton/index.js +0 -19
- package/presets/Wind/slider/index.js +0 -135
- package/presets/Wind/speeddial/index.js +0 -536
- package/presets/Wind/splitbutton/index.js +0 -1078
- package/presets/Wind/splitter/index.js +0 -64
- package/presets/Wind/stepper/index.js +0 -180
- package/presets/Wind/steps/index.js +0 -132
- package/presets/Wind/tabmenu/index.js +0 -84
- package/presets/Wind/tabview/index.js +0 -168
- package/presets/Wind/tag/index.js +0 -37
- package/presets/Wind/terminal/index.js +0 -60
- package/presets/Wind/textarea/index.js +0 -40
- package/presets/Wind/tieredmenu/index.js +0 -121
- package/presets/Wind/timeline/index.js +0 -107
- package/presets/Wind/toast/index.js +0 -111
- package/presets/Wind/togglebutton/index.js +0 -91
- package/presets/Wind/toolbar/index.js +0 -30
- package/presets/Wind/tooltip/index.js +0 -43
- package/presets/Wind/tree/index.js +0 -300
- package/presets/Wind/treeselect/index.js +0 -404
- package/presets/Wind/treetable/index.js +0 -505
- package/presets/Wind/tristatecheckbox/index.js +0 -118
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ context }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
// Colors
|
|
5
|
-
"bg-surface-0",
|
|
6
|
-
"dark:bg-surface-900",
|
|
7
|
-
"text-surface-700",
|
|
8
|
-
"dark:text-surface-0/80",
|
|
9
|
-
|
|
10
|
-
// Shape
|
|
11
|
-
"rounded-lg",
|
|
12
|
-
|
|
13
|
-
// Borders (Conditional)
|
|
14
|
-
{
|
|
15
|
-
"border border-solid border-surface-50 dark:border-surface-700":
|
|
16
|
-
!context.nested,
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
// Nested
|
|
20
|
-
{ "flex grow border-0": context.nested },
|
|
21
|
-
],
|
|
22
|
-
}),
|
|
23
|
-
|
|
24
|
-
gutter: ({ props }) => ({
|
|
25
|
-
class: [
|
|
26
|
-
// Flexbox
|
|
27
|
-
"flex",
|
|
28
|
-
"items-center",
|
|
29
|
-
"justify-center",
|
|
30
|
-
"shrink-0",
|
|
31
|
-
|
|
32
|
-
// Colors
|
|
33
|
-
"bg-surface-50",
|
|
34
|
-
"dark:bg-surface-800",
|
|
35
|
-
|
|
36
|
-
// Transitions
|
|
37
|
-
"transition-all",
|
|
38
|
-
"duration-200",
|
|
39
|
-
|
|
40
|
-
// Misc
|
|
41
|
-
{
|
|
42
|
-
"cursor-col-resize": props.layout == "horizontal",
|
|
43
|
-
"cursor-row-resize": props.layout !== "horizontal",
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
}),
|
|
47
|
-
gutterhandler: ({ props }) => ({
|
|
48
|
-
class: [
|
|
49
|
-
// Colors
|
|
50
|
-
"bg-surface-100",
|
|
51
|
-
"dark:bg-surface-600",
|
|
52
|
-
|
|
53
|
-
// Transitions
|
|
54
|
-
"transition-all",
|
|
55
|
-
"duration-200",
|
|
56
|
-
|
|
57
|
-
// Sizing (Conditional)
|
|
58
|
-
{
|
|
59
|
-
"h-7": props.layout == "horizontal",
|
|
60
|
-
"w-7 h-2": props.layout !== "horizontal",
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
}),
|
|
64
|
-
};
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
"flex-1",
|
|
5
|
-
props.orientation === "vertical" ? "flex-col" : "flex-row",
|
|
6
|
-
],
|
|
7
|
-
}),
|
|
8
|
-
nav: {
|
|
9
|
-
class: [
|
|
10
|
-
// Flexbox
|
|
11
|
-
"flex",
|
|
12
|
-
"justify-between",
|
|
13
|
-
"items-center",
|
|
14
|
-
|
|
15
|
-
// Spacing
|
|
16
|
-
"m-0",
|
|
17
|
-
"p-0",
|
|
18
|
-
|
|
19
|
-
// Positioning
|
|
20
|
-
"relative",
|
|
21
|
-
|
|
22
|
-
// Lists
|
|
23
|
-
"list-none",
|
|
24
|
-
|
|
25
|
-
// Overflow
|
|
26
|
-
"overflow-x-auto",
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
stepperpanel: {
|
|
30
|
-
panel: ({ context, parent }) => ({
|
|
31
|
-
class: [
|
|
32
|
-
context.active ? "flex-1" : "",
|
|
33
|
-
parent.props.orientation === "vertical"
|
|
34
|
-
? "flex flex-col flex-initial"
|
|
35
|
-
: "",
|
|
36
|
-
],
|
|
37
|
-
}),
|
|
38
|
-
header: ({ parent, context }) => ({
|
|
39
|
-
class: [
|
|
40
|
-
// Position
|
|
41
|
-
"relative",
|
|
42
|
-
|
|
43
|
-
// Flexbox
|
|
44
|
-
"flex",
|
|
45
|
-
"items-center",
|
|
46
|
-
context.last ? "flex-initial" : "flex-1",
|
|
47
|
-
parent.props.orientation === "vertical" ? "flex-initial" : "",
|
|
48
|
-
|
|
49
|
-
// Spacing
|
|
50
|
-
"p-2",
|
|
51
|
-
],
|
|
52
|
-
}),
|
|
53
|
-
action: {
|
|
54
|
-
class: [
|
|
55
|
-
// Borders
|
|
56
|
-
"border-0",
|
|
57
|
-
"border-none",
|
|
58
|
-
|
|
59
|
-
// Flexbox
|
|
60
|
-
"inline-flex",
|
|
61
|
-
"items-center",
|
|
62
|
-
|
|
63
|
-
// Text
|
|
64
|
-
"text-decoration-none",
|
|
65
|
-
|
|
66
|
-
// Transitions
|
|
67
|
-
"transition",
|
|
68
|
-
"transition-shadow",
|
|
69
|
-
"duration-200",
|
|
70
|
-
|
|
71
|
-
// Shape
|
|
72
|
-
"rounded-md",
|
|
73
|
-
|
|
74
|
-
// Backgrounds
|
|
75
|
-
"bg-transparent",
|
|
76
|
-
|
|
77
|
-
// Focus
|
|
78
|
-
"outline-none",
|
|
79
|
-
],
|
|
80
|
-
},
|
|
81
|
-
number: ({ context }) => ({
|
|
82
|
-
class: [
|
|
83
|
-
// Flexbox
|
|
84
|
-
"flex",
|
|
85
|
-
"items-center",
|
|
86
|
-
"justify-center",
|
|
87
|
-
|
|
88
|
-
// Colors (Conditional)
|
|
89
|
-
context.active
|
|
90
|
-
? "bg-primary-500 dark:bg-primary-400 text-surface-0 dark:text-surface-900"
|
|
91
|
-
: "border border-surface-200 dark:border-surface-700 text-surface-900 dark:text-surface-0", // Adjust colors as needed
|
|
92
|
-
|
|
93
|
-
// Size and Shape
|
|
94
|
-
"min-w-[2rem]",
|
|
95
|
-
"h-[2rem]",
|
|
96
|
-
"rounded-full",
|
|
97
|
-
"leading-none",
|
|
98
|
-
|
|
99
|
-
// Borders
|
|
100
|
-
context.active ? "border-0 border-none" : "border-solid border-2",
|
|
101
|
-
|
|
102
|
-
// Transitions
|
|
103
|
-
"transition",
|
|
104
|
-
"transition-colors",
|
|
105
|
-
"transition-shadow",
|
|
106
|
-
"duration-200",
|
|
107
|
-
],
|
|
108
|
-
}),
|
|
109
|
-
title: ({ context }) => ({
|
|
110
|
-
class: [
|
|
111
|
-
// Layout
|
|
112
|
-
"block",
|
|
113
|
-
"whitespace-nowrap",
|
|
114
|
-
"overflow-hidden",
|
|
115
|
-
"text-ellipsis",
|
|
116
|
-
"max-w-full",
|
|
117
|
-
|
|
118
|
-
// Spacing
|
|
119
|
-
"ml-2",
|
|
120
|
-
|
|
121
|
-
// Text
|
|
122
|
-
context.active
|
|
123
|
-
? "text-surface-900 dark:text-surface-0"
|
|
124
|
-
: "text-surface-700 dark:text-surface-0/80",
|
|
125
|
-
"font-semibold",
|
|
126
|
-
|
|
127
|
-
// Transitions
|
|
128
|
-
"transition",
|
|
129
|
-
"transition-colors",
|
|
130
|
-
"transition-shadow",
|
|
131
|
-
"duration-200",
|
|
132
|
-
],
|
|
133
|
-
}),
|
|
134
|
-
separator: ({ context, state, parent }) => ({
|
|
135
|
-
class: [
|
|
136
|
-
// Colors (Conditional for active step)
|
|
137
|
-
state.d_activeStep <= context.index
|
|
138
|
-
? "bg-surface-200 dark:bg-surface-700"
|
|
139
|
-
: "bg-primary-500 dark:bg-primary-400",
|
|
140
|
-
|
|
141
|
-
// Conditional for Vertical Orientation
|
|
142
|
-
parent.props.orientation === "vertical"
|
|
143
|
-
? ["flex-none", "w-[2px]", "h-auto", "ml-[calc(1.29rem+2px)]"]
|
|
144
|
-
: ["flex-1", "w-full", "h-[2px]", "ml-4"],
|
|
145
|
-
|
|
146
|
-
// Transitions
|
|
147
|
-
"transition-shadow",
|
|
148
|
-
"duration-200",
|
|
149
|
-
],
|
|
150
|
-
}),
|
|
151
|
-
transition: {
|
|
152
|
-
class: [
|
|
153
|
-
"flex flex-1",
|
|
154
|
-
"bg-surface-0 dark:bg-surface-800",
|
|
155
|
-
"text-surface-900 dark:text-surface-0",
|
|
156
|
-
],
|
|
157
|
-
enterFromClass: "max-h-0",
|
|
158
|
-
enterActiveClass:
|
|
159
|
-
"overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]",
|
|
160
|
-
enterToClass: "max-h-[1000px]",
|
|
161
|
-
leaveFromClass: "max-h-[1000px]",
|
|
162
|
-
leaveActiveClass:
|
|
163
|
-
"overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
|
|
164
|
-
leaveToClass: "max-h-0",
|
|
165
|
-
},
|
|
166
|
-
content: ({ parent }) => ({
|
|
167
|
-
class: [parent.props.orientation === "vertical" ? "w-full pl-4" : ""],
|
|
168
|
-
}),
|
|
169
|
-
},
|
|
170
|
-
panelcontainer: {
|
|
171
|
-
class: [
|
|
172
|
-
// Colors
|
|
173
|
-
"bg-surface-0 dark:bg-surface-800",
|
|
174
|
-
"text-surface-900 dark:text-surface-0",
|
|
175
|
-
|
|
176
|
-
// Spacing
|
|
177
|
-
"p-4",
|
|
178
|
-
],
|
|
179
|
-
},
|
|
180
|
-
};
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: "relative",
|
|
4
|
-
},
|
|
5
|
-
menu: {
|
|
6
|
-
class: "p-0 m-0 list-none flex justify-center",
|
|
7
|
-
},
|
|
8
|
-
menuitem: {
|
|
9
|
-
class: [
|
|
10
|
-
// Flexbox and Position
|
|
11
|
-
"relative",
|
|
12
|
-
"flex",
|
|
13
|
-
"justify-center",
|
|
14
|
-
],
|
|
15
|
-
},
|
|
16
|
-
action: ({ props, context, state }) => ({
|
|
17
|
-
class: [
|
|
18
|
-
// Flexbox
|
|
19
|
-
"inline-flex items-start relative",
|
|
20
|
-
"flex-col",
|
|
21
|
-
|
|
22
|
-
// Transitions and Shape
|
|
23
|
-
"transition-shadow",
|
|
24
|
-
"rounded-md",
|
|
25
|
-
|
|
26
|
-
// Spacing
|
|
27
|
-
{
|
|
28
|
-
"pr-4 min-[576px]:pr-32 md:pr-40":
|
|
29
|
-
props.model.length !== context.index + 1,
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
// Colors
|
|
33
|
-
"bg-surface-0",
|
|
34
|
-
"dark:bg-transparent",
|
|
35
|
-
|
|
36
|
-
// Misc
|
|
37
|
-
{ "cursor-pointer": !props.readonly },
|
|
38
|
-
|
|
39
|
-
// After
|
|
40
|
-
"after:border-t-2",
|
|
41
|
-
{
|
|
42
|
-
"after:border-surface-200 after:dark:border-surface-700":
|
|
43
|
-
state.d_activeStep <= context.index,
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"after:border-primary-500 after:dark:border-primary-400":
|
|
47
|
-
state.d_activeStep > context.index,
|
|
48
|
-
},
|
|
49
|
-
"after:w-full",
|
|
50
|
-
"after:absolute",
|
|
51
|
-
"after:top-1/2",
|
|
52
|
-
"after:left-0",
|
|
53
|
-
"after:transform",
|
|
54
|
-
"after:-mt-3",
|
|
55
|
-
{ "after:hidden": props.model.length == context.index + 1 },
|
|
56
|
-
],
|
|
57
|
-
}),
|
|
58
|
-
step: ({ context, props, state }) => ({
|
|
59
|
-
class: [
|
|
60
|
-
// Flexbox
|
|
61
|
-
"flex items-center justify-center",
|
|
62
|
-
|
|
63
|
-
// Position
|
|
64
|
-
"z-40",
|
|
65
|
-
|
|
66
|
-
// Shape
|
|
67
|
-
"rounded-full",
|
|
68
|
-
"border-2",
|
|
69
|
-
|
|
70
|
-
// Size
|
|
71
|
-
"w-[2rem]",
|
|
72
|
-
"h-[2rem]",
|
|
73
|
-
"text-sm",
|
|
74
|
-
"leading-[2rem]",
|
|
75
|
-
|
|
76
|
-
// Colors
|
|
77
|
-
{
|
|
78
|
-
"text-surface-400 dark:text-white/60":
|
|
79
|
-
!context.active && state.d_activeStep < context.index,
|
|
80
|
-
"border-surface-100 dark:border-surface-700":
|
|
81
|
-
!context.active && state.d_activeStep < context.index,
|
|
82
|
-
"bg-surface-0 dark:bg-surface-800": state.d_activeStep <= context.index,
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"border-primary-500 dark:border-primary-400": context.active,
|
|
86
|
-
"text-primary-500 dark:text-primary-400": context.active,
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"bg-primary-500 dark:bg-primary-400":
|
|
90
|
-
state.d_activeStep > context.index,
|
|
91
|
-
"text-surface-0 dark:text-surface-900":
|
|
92
|
-
state.d_activeStep > context.index,
|
|
93
|
-
"border-primary-500 dark:border-primary-400":
|
|
94
|
-
state.d_activeStep > context.index,
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
// States
|
|
98
|
-
{
|
|
99
|
-
"hover:border-surface-300 dark:hover:border-surface-500":
|
|
100
|
-
!context.active && !props.readonly,
|
|
101
|
-
},
|
|
102
|
-
|
|
103
|
-
// Transition
|
|
104
|
-
"transition-colors duration-200 ease-in-out",
|
|
105
|
-
],
|
|
106
|
-
}),
|
|
107
|
-
label: ({ context }) => ({
|
|
108
|
-
class: [
|
|
109
|
-
"relative",
|
|
110
|
-
// Font
|
|
111
|
-
"text-sm leading-none",
|
|
112
|
-
{ "font-medium": context.active },
|
|
113
|
-
|
|
114
|
-
// Display
|
|
115
|
-
"block",
|
|
116
|
-
|
|
117
|
-
// Spacing
|
|
118
|
-
"mt-2",
|
|
119
|
-
|
|
120
|
-
// Colors
|
|
121
|
-
{
|
|
122
|
-
"text-surface-400 dark:text-white/60": !context.active,
|
|
123
|
-
"text-surface-800 dark:text-white/80": context.active,
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
// Text and Overflow
|
|
127
|
-
"whitespace-nowrap",
|
|
128
|
-
"overflow-ellipsis",
|
|
129
|
-
"max-w-full",
|
|
130
|
-
],
|
|
131
|
-
}),
|
|
132
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: "overflow-x-auto",
|
|
4
|
-
},
|
|
5
|
-
menu: {
|
|
6
|
-
class: [
|
|
7
|
-
// Flexbox
|
|
8
|
-
"flex flex-1",
|
|
9
|
-
|
|
10
|
-
// Spacing
|
|
11
|
-
"list-none",
|
|
12
|
-
"p-0 m-0",
|
|
13
|
-
|
|
14
|
-
// Colors
|
|
15
|
-
"bg-surface-0 dark:bg-surface-800",
|
|
16
|
-
"border-b border-surface-200 dark:border-surface-700",
|
|
17
|
-
"text-surface-900 dark:text-surface-0/80",
|
|
18
|
-
],
|
|
19
|
-
},
|
|
20
|
-
menuitem: {
|
|
21
|
-
class: "mr-0",
|
|
22
|
-
},
|
|
23
|
-
action: ({ context, state }) => ({
|
|
24
|
-
class: [
|
|
25
|
-
"relative",
|
|
26
|
-
|
|
27
|
-
// Font
|
|
28
|
-
"font-medium",
|
|
29
|
-
"text-md",
|
|
30
|
-
|
|
31
|
-
// Flexbox and Alignment
|
|
32
|
-
"flex items-center",
|
|
33
|
-
|
|
34
|
-
// Spacing
|
|
35
|
-
"py-4 px-3",
|
|
36
|
-
"-mb-px",
|
|
37
|
-
|
|
38
|
-
// Shape
|
|
39
|
-
"border-b-2",
|
|
40
|
-
"rounded-t-md",
|
|
41
|
-
|
|
42
|
-
// Colors and Conditions
|
|
43
|
-
{
|
|
44
|
-
"border-surface-200 dark:border-surface-700":
|
|
45
|
-
state.d_activeIndex !== context.index,
|
|
46
|
-
"bg-surface-0 dark:bg-surface-800":
|
|
47
|
-
state.d_activeIndex !== context.index,
|
|
48
|
-
"text-surface-700 dark:text-surface-0/80":
|
|
49
|
-
state.d_activeIndex !== context.index,
|
|
50
|
-
|
|
51
|
-
"bg-surface-0 dark:bg-surface-800":
|
|
52
|
-
state.d_activeIndex === context.index,
|
|
53
|
-
"border-primary-500 dark:border-primary-400":
|
|
54
|
-
state.d_activeIndex === context.index,
|
|
55
|
-
"text-primary-500 dark:text-primary-400":
|
|
56
|
-
state.d_activeIndex === context.index,
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
// States
|
|
60
|
-
"focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-inset",
|
|
61
|
-
"focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",
|
|
62
|
-
{
|
|
63
|
-
"hover:bg-surface-0 dark:hover:bg-surface-800/80":
|
|
64
|
-
state.d_activeIndex !== context.index,
|
|
65
|
-
"hover:border-surface-400 dark:hover:border-surface-600":
|
|
66
|
-
state.d_activeIndex !== context.index,
|
|
67
|
-
"hover:text-surface-900 dark:hover:text-surface-0":
|
|
68
|
-
state.d_activeIndex !== context.index,
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
// Transitions
|
|
72
|
-
"transition-all duration-200",
|
|
73
|
-
|
|
74
|
-
// Misc
|
|
75
|
-
"cursor-pointer select-none text-decoration-none",
|
|
76
|
-
"overflow-hidden",
|
|
77
|
-
"user-select-none",
|
|
78
|
-
"whitespace-nowrap",
|
|
79
|
-
],
|
|
80
|
-
}),
|
|
81
|
-
icon: {
|
|
82
|
-
class: "mr-2",
|
|
83
|
-
},
|
|
84
|
-
};
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
navContainer: ({ props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
// Position
|
|
5
|
-
"relative",
|
|
6
|
-
|
|
7
|
-
// Misc
|
|
8
|
-
{ "overflow-hidden": props.scrollable },
|
|
9
|
-
],
|
|
10
|
-
}),
|
|
11
|
-
navContent: {
|
|
12
|
-
class: [
|
|
13
|
-
// Overflow and Scrolling
|
|
14
|
-
"overflow-y-hidden overscroll-contain",
|
|
15
|
-
"overscroll-auto",
|
|
16
|
-
"scroll-smooth",
|
|
17
|
-
"[&::-webkit-scrollbar]:hidden",
|
|
18
|
-
],
|
|
19
|
-
},
|
|
20
|
-
previousButton: {
|
|
21
|
-
class: [
|
|
22
|
-
// Flexbox and Alignment
|
|
23
|
-
"flex items-center justify-center",
|
|
24
|
-
|
|
25
|
-
// Position
|
|
26
|
-
"!absolute",
|
|
27
|
-
"top-0 left-0",
|
|
28
|
-
"z-20",
|
|
29
|
-
|
|
30
|
-
// Size and Shape
|
|
31
|
-
"h-full w-12",
|
|
32
|
-
"rounded-none",
|
|
33
|
-
|
|
34
|
-
// Colors
|
|
35
|
-
"bg-surface-0 dark:bg-surface-800",
|
|
36
|
-
"text-primary-500 dark:text-primary-400",
|
|
37
|
-
"shadow-md",
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
|
-
nextButton: {
|
|
41
|
-
class: [
|
|
42
|
-
// Flexbox and Alignment
|
|
43
|
-
"flex items-center justify-center",
|
|
44
|
-
|
|
45
|
-
// Position
|
|
46
|
-
"!absolute",
|
|
47
|
-
"top-0 right-0",
|
|
48
|
-
"z-20",
|
|
49
|
-
|
|
50
|
-
// Size and Shape
|
|
51
|
-
"h-full w-12",
|
|
52
|
-
"rounded-none",
|
|
53
|
-
|
|
54
|
-
// Colors
|
|
55
|
-
"bg-surface-0 dark:bg-surface-800",
|
|
56
|
-
"text-primary-500 dark:text-primary-400",
|
|
57
|
-
"shadow-md",
|
|
58
|
-
],
|
|
59
|
-
},
|
|
60
|
-
nav: {
|
|
61
|
-
class: [
|
|
62
|
-
// Flexbox
|
|
63
|
-
"flex flex-1",
|
|
64
|
-
|
|
65
|
-
// Spacing
|
|
66
|
-
"list-none",
|
|
67
|
-
"p-0 m-0",
|
|
68
|
-
|
|
69
|
-
// Colors
|
|
70
|
-
"bg-surface-0 dark:bg-surface-800",
|
|
71
|
-
"border-b border-surface-200 dark:border-surface-700",
|
|
72
|
-
"text-surface-900 dark:text-surface-0/80",
|
|
73
|
-
],
|
|
74
|
-
},
|
|
75
|
-
tabpanel: {
|
|
76
|
-
header: ({ props }) => ({
|
|
77
|
-
class: [
|
|
78
|
-
// Spacing
|
|
79
|
-
"mr-0",
|
|
80
|
-
|
|
81
|
-
// Misc
|
|
82
|
-
{
|
|
83
|
-
"opacity-60 cursor-default user-select-none select-none pointer-events-none":
|
|
84
|
-
props?.disabled,
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
}),
|
|
88
|
-
headerAction: ({ parent, context }) => ({
|
|
89
|
-
class: [
|
|
90
|
-
"relative",
|
|
91
|
-
|
|
92
|
-
// Font
|
|
93
|
-
"font-medium",
|
|
94
|
-
"text-md",
|
|
95
|
-
|
|
96
|
-
// Flexbox and Alignment
|
|
97
|
-
"flex items-center",
|
|
98
|
-
|
|
99
|
-
// Spacing
|
|
100
|
-
"py-4 px-3",
|
|
101
|
-
"-mb-px",
|
|
102
|
-
|
|
103
|
-
// Shape
|
|
104
|
-
"border-b-2",
|
|
105
|
-
"rounded-t-md",
|
|
106
|
-
|
|
107
|
-
// Colors and Conditions
|
|
108
|
-
{
|
|
109
|
-
"border-surface-200 dark:border-surface-700":
|
|
110
|
-
parent.state.d_activeIndex !== context.index,
|
|
111
|
-
"bg-surface-0 dark:bg-surface-800":
|
|
112
|
-
parent.state.d_activeIndex !== context.index,
|
|
113
|
-
"text-surface-700 dark:text-surface-0/80":
|
|
114
|
-
parent.state.d_activeIndex !== context.index,
|
|
115
|
-
|
|
116
|
-
"bg-surface-0 dark:bg-surface-800":
|
|
117
|
-
parent.state.d_activeIndex === context.index,
|
|
118
|
-
"border-primary-500 dark:border-primary-400":
|
|
119
|
-
parent.state.d_activeIndex === context.index,
|
|
120
|
-
"text-primary-500 dark:text-primary-400":
|
|
121
|
-
parent.state.d_activeIndex === context.index,
|
|
122
|
-
},
|
|
123
|
-
|
|
124
|
-
// States
|
|
125
|
-
"focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-inset",
|
|
126
|
-
"focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",
|
|
127
|
-
{
|
|
128
|
-
"hover:bg-surface-0 dark:hover:bg-surface-800/80":
|
|
129
|
-
parent.state.d_activeIndex !== context.index,
|
|
130
|
-
"hover:border-surface-400 dark:hover:border-surface-600":
|
|
131
|
-
parent.state.d_activeIndex !== context.index,
|
|
132
|
-
"hover:text-surface-900 dark:hover:text-surface-0":
|
|
133
|
-
parent.state.d_activeIndex !== context.index,
|
|
134
|
-
},
|
|
135
|
-
|
|
136
|
-
// Transitions
|
|
137
|
-
"transition-all duration-200",
|
|
138
|
-
|
|
139
|
-
// Misc
|
|
140
|
-
"cursor-pointer select-none text-decoration-none",
|
|
141
|
-
"overflow-hidden",
|
|
142
|
-
"user-select-none",
|
|
143
|
-
"whitespace-nowrap",
|
|
144
|
-
],
|
|
145
|
-
}),
|
|
146
|
-
headerTitle: {
|
|
147
|
-
class: [
|
|
148
|
-
// Text
|
|
149
|
-
"leading-none",
|
|
150
|
-
"whitespace-nowrap",
|
|
151
|
-
],
|
|
152
|
-
},
|
|
153
|
-
content: {
|
|
154
|
-
class: [
|
|
155
|
-
// Spacing
|
|
156
|
-
"p-6",
|
|
157
|
-
|
|
158
|
-
// Shape
|
|
159
|
-
"rounded-b-md",
|
|
160
|
-
|
|
161
|
-
// Colors
|
|
162
|
-
"bg-surface-0 dark:bg-surface-800",
|
|
163
|
-
"text-surface-700 dark:text-surface-0/80",
|
|
164
|
-
"border-0",
|
|
165
|
-
],
|
|
166
|
-
},
|
|
167
|
-
},
|
|
168
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
//Font
|
|
5
|
-
"text-xs font-bold",
|
|
6
|
-
|
|
7
|
-
//Alignments
|
|
8
|
-
"inline-flex items-center justify-center",
|
|
9
|
-
|
|
10
|
-
//Spacing
|
|
11
|
-
"px-2 py-1",
|
|
12
|
-
|
|
13
|
-
//Shape
|
|
14
|
-
{
|
|
15
|
-
"rounded-md": !props.rounded,
|
|
16
|
-
"rounded-full": props.rounded,
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
//Colors
|
|
20
|
-
"text-white dark:text-surface-900",
|
|
21
|
-
{
|
|
22
|
-
"bg-primary-500 dark:bg-primary-400":
|
|
23
|
-
props.severity == null || props.severity == "primary",
|
|
24
|
-
"bg-green-500 dark:bg-green-400": props.severity == "success",
|
|
25
|
-
"bg-blue-500 dark:bg-blue-400": props.severity == "info",
|
|
26
|
-
"bg-orange-500 dark:bg-orange-400": props.severity == "warning",
|
|
27
|
-
"bg-red-500 dark:bg-red-400": props.severity == "danger",
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
}),
|
|
31
|
-
value: {
|
|
32
|
-
class: "leading-normal",
|
|
33
|
-
},
|
|
34
|
-
icon: {
|
|
35
|
-
class: "mr-1 text-sm",
|
|
36
|
-
},
|
|
37
|
-
};
|