@fewangsit/wangsvue-presets 1.0.81 → 1.0.82-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/fixedasset/accordion/index.d.ts +37 -0
- package/fixedasset/accordion/index.js +70 -0
- package/fixedasset/autocomplete/index.d.ts +188 -0
- package/fixedasset/autocomplete/index.js +247 -0
- package/fixedasset/avatar/index.d.ts +85 -0
- package/fixedasset/avatar/index.js +44 -0
- package/fixedasset/avatargroup/index.d.ts +8 -0
- package/fixedasset/avatargroup/index.js +9 -0
- package/fixedasset/badge/index.d.ts +47 -0
- package/fixedasset/badge/index.js +60 -0
- package/fixedasset/badgedirective/index.d.ts +50 -0
- package/fixedasset/badgedirective/index.js +49 -0
- package/fixedasset/badgegroup/index.d.ts +45 -0
- package/fixedasset/badgegroup/index.js +29 -0
- package/fixedasset/breadcrumb/index.d.ts +25 -0
- package/fixedasset/breadcrumb/index.js +31 -0
- package/fixedasset/button/index.d.ts +46 -0
- package/fixedasset/button/index.js +423 -0
- package/fixedasset/buttonbulkaction/index.d.ts +32 -0
- package/fixedasset/buttonbulkaction/index.js +35 -0
- package/fixedasset/buttondownload/index.d.ts +12 -0
- package/fixedasset/buttondownload/index.js +13 -0
- package/fixedasset/buttonfilter/index.d.ts +12 -0
- package/fixedasset/buttonfilter/index.js +13 -0
- package/fixedasset/buttonradio/index.d.ts +58 -0
- package/fixedasset/buttonradio/index.js +109 -0
- package/fixedasset/buttonsearch/index.d.ts +65 -0
- package/fixedasset/buttonsearch/index.js +62 -0
- package/fixedasset/calendar/index.d.ts +267 -0
- package/fixedasset/calendar/index.js +610 -0
- package/fixedasset/card/index.d.ts +31 -0
- package/fixedasset/card/index.js +32 -0
- package/fixedasset/carousel/index.d.ts +57 -0
- package/fixedasset/carousel/index.js +129 -0
- package/fixedasset/cascadeselect/index.d.ts +82 -0
- package/fixedasset/cascadeselect/index.js +191 -0
- package/fixedasset/changelog/index.d.ts +32 -0
- package/fixedasset/changelog/index.js +31 -0
- package/fixedasset/checkbox/index.d.ts +81 -0
- package/fixedasset/checkbox/index.js +107 -0
- package/fixedasset/chip/index.d.ts +23 -0
- package/fixedasset/chip/index.js +40 -0
- package/fixedasset/chips/index.d.ts +38 -0
- package/fixedasset/chips/index.js +98 -0
- package/fixedasset/colorpicker/index.d.ts +51 -0
- package/fixedasset/colorpicker/index.js +118 -0
- package/fixedasset/colors.config.json +77 -0
- package/fixedasset/confirmpopup/index.d.ts +39 -0
- package/fixedasset/confirmpopup/index.js +104 -0
- package/fixedasset/contextmenu/index.d.ts +63 -0
- package/fixedasset/contextmenu/index.js +113 -0
- package/fixedasset/datatable/index.d.ts +286 -0
- package/fixedasset/datatable/index.js +253 -0
- package/fixedasset/dataview/index.d.ts +15 -0
- package/fixedasset/dataview/index.js +36 -0
- package/fixedasset/dataviewlayoutoptions/index.d.ts +13 -0
- package/fixedasset/dataviewlayoutoptions/index.js +58 -0
- package/fixedasset/dialog/index.d.ts +87 -0
- package/fixedasset/dialog/index.js +220 -0
- package/fixedasset/dialogconfirm/index.d.ts +42 -0
- package/fixedasset/dialogconfirm/index.js +45 -0
- package/fixedasset/dialogform/index.d.ts +71 -0
- package/fixedasset/dialogform/index.js +68 -0
- package/fixedasset/divider/index.d.ts +192 -0
- package/fixedasset/divider/index.js +64 -0
- package/fixedasset/dock/index.d.ts +51 -0
- package/fixedasset/dock/index.js +92 -0
- package/fixedasset/dropdown/index.d.ts +136 -0
- package/fixedasset/dropdown/index.js +207 -0
- package/fixedasset/fieldset/index.d.ts +94 -0
- package/fixedasset/fieldset/index.js +87 -0
- package/fixedasset/fileupload/index.d.ts +29 -0
- package/fixedasset/fileupload/index.js +31 -0
- package/fixedasset/form/index.d.ts +40 -0
- package/fixedasset/form/index.js +44 -0
- package/fixedasset/global.d.ts +8 -0
- package/fixedasset/global.js +14 -0
- package/fixedasset/image/index.d.ts +88 -0
- package/fixedasset/image/index.js +136 -0
- package/fixedasset/index.d.ts +190 -0
- package/fixedasset/index.js +201 -0
- package/fixedasset/index.system.js +76 -0
- package/fixedasset/inlinemessage/index.d.ts +20 -0
- package/fixedasset/inlinemessage/index.js +30 -0
- package/fixedasset/inputbadge/index.d.ts +57 -0
- package/fixedasset/inputbadge/index.js +57 -0
- package/fixedasset/inputcurrency/index.d.ts +27 -0
- package/fixedasset/inputcurrency/index.js +22 -0
- package/fixedasset/inputgroup/index.d.ts +9 -0
- package/fixedasset/inputgroup/index.js +37 -0
- package/fixedasset/inputgroupaddon/index.d.ts +17 -0
- package/fixedasset/inputgroupaddon/index.js +34 -0
- package/fixedasset/inputmask/index.d.ts +11 -0
- package/fixedasset/inputmask/index.js +29 -0
- package/fixedasset/inputnumber/index.d.ts +46 -0
- package/fixedasset/inputnumber/index.js +58 -0
- package/fixedasset/inputotp/index.d.ts +137 -0
- package/fixedasset/inputotp/index.js +63 -0
- package/fixedasset/inputphonenumber/index.d.ts +37 -0
- package/fixedasset/inputphonenumber/index.js +34 -0
- package/fixedasset/inputswitch/index.d.ts +67 -0
- package/fixedasset/inputswitch/index.js +100 -0
- package/fixedasset/inputtext/index.d.ts +18 -0
- package/fixedasset/inputtext/index.js +28 -0
- package/fixedasset/knob/index.d.ts +22 -0
- package/fixedasset/knob/index.js +45 -0
- package/fixedasset/listbox/index.d.ts +79 -0
- package/fixedasset/listbox/index.js +138 -0
- package/fixedasset/megamenu/index.d.ts +105 -0
- package/fixedasset/megamenu/index.js +202 -0
- package/fixedasset/menu/index.d.ts +49 -0
- package/fixedasset/menu/index.js +110 -0
- package/fixedasset/menubar/index.d.ts +85 -0
- package/fixedasset/menubar/index.js +172 -0
- package/fixedasset/message/index.d.ts +41 -0
- package/fixedasset/message/index.js +85 -0
- package/fixedasset/multiselect/index.d.ts +243 -0
- package/fixedasset/multiselect/index.js +328 -0
- package/fixedasset/orderlist/index.d.ts +99 -0
- package/fixedasset/orderlist/index.js +245 -0
- package/fixedasset/organizationchart/index.d.ts +71 -0
- package/fixedasset/organizationchart/index.js +129 -0
- package/fixedasset/overlaypanel/index.d.ts +17 -0
- package/fixedasset/overlaypanel/index.js +34 -0
- package/fixedasset/paginator/index.d.ts +210 -0
- package/fixedasset/paginator/index.js +474 -0
- package/fixedasset/panel/index.d.ts +43 -0
- package/fixedasset/panel/index.js +85 -0
- package/fixedasset/panelmenu/index.d.ts +76 -0
- package/fixedasset/panelmenu/index.js +124 -0
- package/fixedasset/password/index.d.ts +45 -0
- package/fixedasset/password/index.js +96 -0
- package/fixedasset/picklist/index.d.ts +245 -0
- package/fixedasset/picklist/index.js +613 -0
- package/fixedasset/progressbar/index.d.ts +117 -0
- package/fixedasset/progressbar/index.js +102 -0
- package/fixedasset/rating/index.d.ts +47 -0
- package/fixedasset/rating/index.js +88 -0
- package/fixedasset/ripple/index.d.ts +8 -0
- package/fixedasset/ripple/index.js +8 -0
- package/fixedasset/scrollpanel/index.d.ts +19 -0
- package/fixedasset/scrollpanel/index.js +62 -0
- package/fixedasset/scrolltop/index.d.ts +50 -0
- package/fixedasset/scrolltop/index.js +42 -0
- package/fixedasset/selectbutton/index.d.ts +35 -0
- package/fixedasset/selectbutton/index.js +60 -0
- package/fixedasset/sidebar/index.d.ts +66 -0
- package/fixedasset/sidebar/index.js +145 -0
- package/fixedasset/skeleton/index.d.ts +16 -0
- package/fixedasset/skeleton/index.js +22 -0
- package/fixedasset/slider/index.d.ts +55 -0
- package/fixedasset/slider/index.js +126 -0
- package/fixedasset/splitbutton/index.d.ts +6690 -0
- package/fixedasset/splitbutton/index.js +786 -0
- package/fixedasset/steps/index.d.ts +108 -0
- package/fixedasset/steps/index.js +119 -0
- package/fixedasset/style.css +5888 -0
- package/fixedasset/tabmenu/index.d.ts +57 -0
- package/fixedasset/tabmenu/index.js +75 -0
- package/fixedasset/tabview/index.d.ts +67 -0
- package/fixedasset/tabview/index.js +148 -0
- package/fixedasset/tag/index.d.ts +32 -0
- package/fixedasset/tag/index.js +37 -0
- package/fixedasset/terminal/index.d.ts +27 -0
- package/fixedasset/terminal/index.js +55 -0
- package/fixedasset/textarea/index.d.ts +12 -0
- package/fixedasset/textarea/index.js +51 -0
- package/fixedasset/tieredmenu/index.d.ts +56 -0
- package/fixedasset/tieredmenu/index.js +108 -0
- package/fixedasset/timeline/index.d.ts +53 -0
- package/fixedasset/timeline/index.js +83 -0
- package/fixedasset/toast/index.d.ts +61 -0
- package/fixedasset/toast/index.js +95 -0
- package/fixedasset/togglebutton/index.d.ts +42 -0
- package/fixedasset/togglebutton/index.js +77 -0
- package/fixedasset/toolbar/index.d.ts +19 -0
- package/fixedasset/toolbar/index.js +29 -0
- package/fixedasset/tooltip/index.d.ts +22 -0
- package/fixedasset/tooltip/index.js +42 -0
- package/fixedasset/tree/index.d.ts +117 -0
- package/fixedasset/tree/index.js +256 -0
- package/fixedasset/treeselect/index.d.ts +158 -0
- package/fixedasset/treeselect/index.js +338 -0
- package/fixedasset/tristatecheckbox/index.d.ts +49 -0
- package/fixedasset/tristatecheckbox/index.js +106 -0
- package/fixedasset/validatormessage/index.d.ts +8 -0
- package/fixedasset/validatormessage/index.js +9 -0
- package/fixedasset/workcalendar/index.d.ts +27 -0
- package/fixedasset/workcalendar/index.js +36 -0
- package/index.d.ts +1 -0
- package/index.js +3 -1
- package/package.json +1 -1
@@ -0,0 +1,99 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
namespace root {
|
3
|
+
let _class: string[];
|
4
|
+
export { _class as class };
|
5
|
+
}
|
6
|
+
namespace controls {
|
7
|
+
let _class_1: string[];
|
8
|
+
export { _class_1 as class };
|
9
|
+
}
|
10
|
+
namespace moveupbutton {
|
11
|
+
export function root_1({ context }: {
|
12
|
+
context: any;
|
13
|
+
}): {
|
14
|
+
class: (string | {
|
15
|
+
'cursor-default pointer-events-none opacity-60': any;
|
16
|
+
})[];
|
17
|
+
};
|
18
|
+
export { root_1 as root };
|
19
|
+
export namespace label {
|
20
|
+
let _class_2: string[];
|
21
|
+
export { _class_2 as class };
|
22
|
+
}
|
23
|
+
}
|
24
|
+
namespace movedownbutton {
|
25
|
+
export function root_2({ context }: {
|
26
|
+
context: any;
|
27
|
+
}): {
|
28
|
+
class: (string | {
|
29
|
+
'cursor-default pointer-events-none opacity-60': any;
|
30
|
+
})[];
|
31
|
+
};
|
32
|
+
export { root_2 as root };
|
33
|
+
export namespace label_1 {
|
34
|
+
let _class_3: string[];
|
35
|
+
export { _class_3 as class };
|
36
|
+
}
|
37
|
+
export { label_1 as label };
|
38
|
+
}
|
39
|
+
namespace movetopbutton {
|
40
|
+
export function root_3({ context }: {
|
41
|
+
context: any;
|
42
|
+
}): {
|
43
|
+
class: (string | {
|
44
|
+
'cursor-default pointer-events-none opacity-60': any;
|
45
|
+
})[];
|
46
|
+
};
|
47
|
+
export { root_3 as root };
|
48
|
+
export namespace label_2 {
|
49
|
+
let _class_4: string[];
|
50
|
+
export { _class_4 as class };
|
51
|
+
}
|
52
|
+
export { label_2 as label };
|
53
|
+
}
|
54
|
+
namespace movebottombutton {
|
55
|
+
export function root_4({ context }: {
|
56
|
+
context: any;
|
57
|
+
}): {
|
58
|
+
class: (string | {
|
59
|
+
'cursor-default pointer-events-none opacity-60': any;
|
60
|
+
})[];
|
61
|
+
};
|
62
|
+
export { root_4 as root };
|
63
|
+
export namespace label_3 {
|
64
|
+
let _class_5: string[];
|
65
|
+
export { _class_5 as class };
|
66
|
+
}
|
67
|
+
export { label_3 as label };
|
68
|
+
}
|
69
|
+
namespace container {
|
70
|
+
let _class_6: string[];
|
71
|
+
export { _class_6 as class };
|
72
|
+
}
|
73
|
+
namespace header {
|
74
|
+
let _class_7: string[];
|
75
|
+
export { _class_7 as class };
|
76
|
+
}
|
77
|
+
namespace list {
|
78
|
+
let _class_8: string[];
|
79
|
+
export { _class_8 as class };
|
80
|
+
}
|
81
|
+
function item({ context }: {
|
82
|
+
context: any;
|
83
|
+
}): {
|
84
|
+
class: (string | {
|
85
|
+
'bg-surface-100': boolean;
|
86
|
+
'bg-surface-200'?: undefined;
|
87
|
+
'bg-surface-50/70'?: undefined;
|
88
|
+
} | {
|
89
|
+
'bg-surface-200': any;
|
90
|
+
'bg-surface-100'?: undefined;
|
91
|
+
'bg-surface-50/70'?: undefined;
|
92
|
+
} | {
|
93
|
+
'bg-surface-50/70': any;
|
94
|
+
'bg-surface-100'?: undefined;
|
95
|
+
'bg-surface-200'?: undefined;
|
96
|
+
})[];
|
97
|
+
};
|
98
|
+
}
|
99
|
+
export default _default;
|
@@ -0,0 +1,245 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: {
|
5
|
+
class: [
|
6
|
+
// Flexbox
|
7
|
+
'flex',
|
8
|
+
],
|
9
|
+
},
|
10
|
+
controls: {
|
11
|
+
class: [
|
12
|
+
// Flexbox & Alignment
|
13
|
+
'flex flex-col justify-center gap-2',
|
14
|
+
// Spacing
|
15
|
+
'p-3',
|
16
|
+
],
|
17
|
+
},
|
18
|
+
moveupbutton: {
|
19
|
+
root: function (_a) {
|
20
|
+
var context = _a.context;
|
21
|
+
return ({
|
22
|
+
class: [
|
23
|
+
// Flexbox & Alignment
|
24
|
+
'relative inline-flex items-center justify-center',
|
25
|
+
// Shape
|
26
|
+
'rounded-md',
|
27
|
+
// Color
|
28
|
+
'text-white',
|
29
|
+
'bg-primary-500',
|
30
|
+
'border border-primary-500',
|
31
|
+
// Spacing & Size
|
32
|
+
'text-sm',
|
33
|
+
'w-8',
|
34
|
+
'm-0',
|
35
|
+
'px-2.5 py-1.5 min-w-[2rem]',
|
36
|
+
'shadow-sm',
|
37
|
+
// Transitions
|
38
|
+
'transition duration-200 ease-in-out',
|
39
|
+
// State
|
40
|
+
'hover:bg-primary-600 hover:border-primary-600',
|
41
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2',
|
42
|
+
'focus:ring-primary-500',
|
43
|
+
{ 'cursor-default pointer-events-none opacity-60': context.disabled },
|
44
|
+
// Interactivity
|
45
|
+
'cursor-pointer user-select-none',
|
46
|
+
],
|
47
|
+
});
|
48
|
+
},
|
49
|
+
label: {
|
50
|
+
class: [
|
51
|
+
// Flexbox
|
52
|
+
'flex-initial',
|
53
|
+
// Size
|
54
|
+
'w-0',
|
55
|
+
],
|
56
|
+
},
|
57
|
+
},
|
58
|
+
movedownbutton: {
|
59
|
+
root: function (_a) {
|
60
|
+
var context = _a.context;
|
61
|
+
return ({
|
62
|
+
class: [
|
63
|
+
// Flexbox & Alignment
|
64
|
+
'relative inline-flex items-center justify-center',
|
65
|
+
// Shape
|
66
|
+
'rounded-md',
|
67
|
+
// Color
|
68
|
+
'text-white',
|
69
|
+
'bg-primary-500',
|
70
|
+
'border border-primary-500',
|
71
|
+
// Spacing & Size
|
72
|
+
'text-sm',
|
73
|
+
'w-8',
|
74
|
+
'm-0',
|
75
|
+
'px-2.5 py-1.5 min-w-[2rem]',
|
76
|
+
'shadow-sm',
|
77
|
+
// Transitions
|
78
|
+
'transition duration-200 ease-in-out',
|
79
|
+
// State
|
80
|
+
'hover:bg-primary-600 hover:border-primary-600',
|
81
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2',
|
82
|
+
'focus:ring-primary-500',
|
83
|
+
{ 'cursor-default pointer-events-none opacity-60': context.disabled },
|
84
|
+
// Interactivity
|
85
|
+
'cursor-pointer user-select-none',
|
86
|
+
],
|
87
|
+
});
|
88
|
+
},
|
89
|
+
label: {
|
90
|
+
class: [
|
91
|
+
// Flexbox
|
92
|
+
'flex-initial',
|
93
|
+
// Size
|
94
|
+
'w-0',
|
95
|
+
],
|
96
|
+
},
|
97
|
+
},
|
98
|
+
movetopbutton: {
|
99
|
+
root: function (_a) {
|
100
|
+
var context = _a.context;
|
101
|
+
return ({
|
102
|
+
class: [
|
103
|
+
// Flexbox & Alignment
|
104
|
+
'relative inline-flex items-center justify-center',
|
105
|
+
// Shape
|
106
|
+
'rounded-md',
|
107
|
+
// Color
|
108
|
+
'text-white',
|
109
|
+
'bg-primary-500',
|
110
|
+
'border border-primary-500',
|
111
|
+
// Spacing & Size
|
112
|
+
'text-sm',
|
113
|
+
'w-8',
|
114
|
+
'm-0',
|
115
|
+
'px-2.5 py-1.5 min-w-[2rem]',
|
116
|
+
'shadow-sm',
|
117
|
+
// Transitions
|
118
|
+
'transition duration-200 ease-in-out',
|
119
|
+
// State
|
120
|
+
'hover:bg-primary-600 hover:border-primary-600',
|
121
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2',
|
122
|
+
'focus:ring-primary-500',
|
123
|
+
{ 'cursor-default pointer-events-none opacity-60': context.disabled },
|
124
|
+
// Interactivity
|
125
|
+
'cursor-pointer user-select-none',
|
126
|
+
],
|
127
|
+
});
|
128
|
+
},
|
129
|
+
label: {
|
130
|
+
class: [
|
131
|
+
// Flexbox
|
132
|
+
'flex-initial',
|
133
|
+
// Size
|
134
|
+
'w-0',
|
135
|
+
],
|
136
|
+
},
|
137
|
+
},
|
138
|
+
movebottombutton: {
|
139
|
+
root: function (_a) {
|
140
|
+
var context = _a.context;
|
141
|
+
return ({
|
142
|
+
class: [
|
143
|
+
// Flexbox & Alignment
|
144
|
+
'relative inline-flex items-center justify-center',
|
145
|
+
// Shape
|
146
|
+
'rounded-md',
|
147
|
+
// Color
|
148
|
+
'text-white',
|
149
|
+
'bg-primary-500',
|
150
|
+
'border border-primary-500',
|
151
|
+
// Spacing & Size
|
152
|
+
'text-sm',
|
153
|
+
'w-8',
|
154
|
+
'm-0',
|
155
|
+
'px-2.5 py-1.5 min-w-[2rem]',
|
156
|
+
'shadow-sm',
|
157
|
+
// Transitions
|
158
|
+
'transition duration-200 ease-in-out',
|
159
|
+
// State
|
160
|
+
'hover:bg-primary-600 hover:border-primary-600',
|
161
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2',
|
162
|
+
'focus:ring-primary-500',
|
163
|
+
{ 'cursor-default pointer-events-none opacity-60': context.disabled },
|
164
|
+
// Interactivity
|
165
|
+
'cursor-pointer user-select-none',
|
166
|
+
],
|
167
|
+
});
|
168
|
+
},
|
169
|
+
label: {
|
170
|
+
class: [
|
171
|
+
// Flexbox
|
172
|
+
'flex-initial',
|
173
|
+
// Size
|
174
|
+
'w-0',
|
175
|
+
],
|
176
|
+
},
|
177
|
+
},
|
178
|
+
container: {
|
179
|
+
class: ['flex-auto'],
|
180
|
+
},
|
181
|
+
header: {
|
182
|
+
class: [
|
183
|
+
'font-semibold',
|
184
|
+
// Shape
|
185
|
+
'border-b rounded-t-md',
|
186
|
+
// Spacing
|
187
|
+
'py-3.5 px-3',
|
188
|
+
// Color
|
189
|
+
'text-surface-800/80',
|
190
|
+
'bg-surface-0',
|
191
|
+
'border-surface-200 border-b',
|
192
|
+
],
|
193
|
+
},
|
194
|
+
list: {
|
195
|
+
class: [
|
196
|
+
// Spacing
|
197
|
+
'list-none m-0 p-0',
|
198
|
+
// Size
|
199
|
+
'min-h-[12rem] max-h-[24rem]',
|
200
|
+
// Shape
|
201
|
+
'rounded-b-md border-0',
|
202
|
+
// Color
|
203
|
+
'text-surface-600/80',
|
204
|
+
'bg-surface-0',
|
205
|
+
'border border-surface-200',
|
206
|
+
// Spacing
|
207
|
+
'py-3 px-0',
|
208
|
+
// Focus & Outline
|
209
|
+
'outline-none',
|
210
|
+
// Misc
|
211
|
+
'overflow-auto',
|
212
|
+
],
|
213
|
+
},
|
214
|
+
item: function (_a) {
|
215
|
+
var context = _a.context;
|
216
|
+
return ({
|
217
|
+
class: [
|
218
|
+
// Position
|
219
|
+
'relative',
|
220
|
+
// Spacing
|
221
|
+
'py-3.5 px-3 m-0',
|
222
|
+
// Shape
|
223
|
+
'border-b last:border-b-0',
|
224
|
+
// Transition
|
225
|
+
'transition duration-200',
|
226
|
+
// Color
|
227
|
+
'text-surface-700/80',
|
228
|
+
'border-surface-200',
|
229
|
+
{
|
230
|
+
'bg-surface-100': context.active && !context.focused,
|
231
|
+
},
|
232
|
+
{
|
233
|
+
'bg-surface-200': context.active && context.focused,
|
234
|
+
},
|
235
|
+
{
|
236
|
+
'bg-surface-50/70': !context.active && context.focused,
|
237
|
+
},
|
238
|
+
// State
|
239
|
+
'hover:bg-surface-100',
|
240
|
+
// Misc
|
241
|
+
'cursor-pointer overflow-hidden',
|
242
|
+
],
|
243
|
+
});
|
244
|
+
},
|
245
|
+
};
|
@@ -0,0 +1,71 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
namespace table {
|
3
|
+
let _class: string[];
|
4
|
+
export { _class as class };
|
5
|
+
}
|
6
|
+
namespace cell {
|
7
|
+
let _class_1: string[];
|
8
|
+
export { _class_1 as class };
|
9
|
+
}
|
10
|
+
function node({ context }: {
|
11
|
+
context: any;
|
12
|
+
}): {
|
13
|
+
class: (string | {
|
14
|
+
'text-surface-600/80': boolean;
|
15
|
+
'bg-surface-0': boolean;
|
16
|
+
'text-surface-700': any;
|
17
|
+
'bg-surface-50': any;
|
18
|
+
'hover:bg-surface-100/40'?: undefined;
|
19
|
+
'cursor-pointer'?: undefined;
|
20
|
+
} | {
|
21
|
+
'hover:bg-surface-100/40': any;
|
22
|
+
'text-surface-600/80'?: undefined;
|
23
|
+
'bg-surface-0'?: undefined;
|
24
|
+
'text-surface-700'?: undefined;
|
25
|
+
'bg-surface-50'?: undefined;
|
26
|
+
'cursor-pointer'?: undefined;
|
27
|
+
} | {
|
28
|
+
'cursor-pointer': any;
|
29
|
+
'text-surface-600/80'?: undefined;
|
30
|
+
'bg-surface-0'?: undefined;
|
31
|
+
'text-surface-700'?: undefined;
|
32
|
+
'bg-surface-50'?: undefined;
|
33
|
+
'hover:bg-surface-100/40'?: undefined;
|
34
|
+
})[];
|
35
|
+
};
|
36
|
+
namespace linecell {
|
37
|
+
let _class_2: string[];
|
38
|
+
export { _class_2 as class };
|
39
|
+
}
|
40
|
+
namespace linedown {
|
41
|
+
let _class_3: string[];
|
42
|
+
export { _class_3 as class };
|
43
|
+
}
|
44
|
+
function lineleft({ context }: {
|
45
|
+
context: any;
|
46
|
+
}): {
|
47
|
+
class: (string | {
|
48
|
+
'border-t': any;
|
49
|
+
})[];
|
50
|
+
};
|
51
|
+
function lineright({ context }: {
|
52
|
+
context: any;
|
53
|
+
}): {
|
54
|
+
class: (string | {
|
55
|
+
'border-t border-surface-200': any;
|
56
|
+
})[];
|
57
|
+
};
|
58
|
+
namespace nodecell {
|
59
|
+
let _class_4: string;
|
60
|
+
export { _class_4 as class };
|
61
|
+
}
|
62
|
+
namespace nodetoggler {
|
63
|
+
let _class_5: string[];
|
64
|
+
export { _class_5 as class };
|
65
|
+
}
|
66
|
+
namespace nodetogglericon {
|
67
|
+
let _class_6: string[];
|
68
|
+
export { _class_6 as class };
|
69
|
+
}
|
70
|
+
}
|
71
|
+
export default _default;
|
@@ -0,0 +1,129 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
table: {
|
5
|
+
class: [
|
6
|
+
// Spacing & Position
|
7
|
+
'mx-auto my-0',
|
8
|
+
// Table Style
|
9
|
+
'border-spacing-0 border-separate',
|
10
|
+
],
|
11
|
+
},
|
12
|
+
cell: {
|
13
|
+
class: [
|
14
|
+
// Alignment
|
15
|
+
'text-center align-top',
|
16
|
+
// Spacing
|
17
|
+
'py-0 px-3',
|
18
|
+
],
|
19
|
+
},
|
20
|
+
node: function (_a) {
|
21
|
+
var context = _a.context;
|
22
|
+
return ({
|
23
|
+
class: [
|
24
|
+
'relative inline-block',
|
25
|
+
// Font
|
26
|
+
'text-sm leading-none',
|
27
|
+
// Spacing
|
28
|
+
'px-5 py-3',
|
29
|
+
// Shape
|
30
|
+
'border',
|
31
|
+
'rounded',
|
32
|
+
// Color
|
33
|
+
'border-surface-200',
|
34
|
+
{
|
35
|
+
'text-surface-600/80': !(context === null || context === void 0 ? void 0 : context.selected),
|
36
|
+
'bg-surface-0': !(context === null || context === void 0 ? void 0 : context.selected),
|
37
|
+
'text-surface-700': context === null || context === void 0 ? void 0 : context.selected,
|
38
|
+
'bg-surface-50': context === null || context === void 0 ? void 0 : context.selected,
|
39
|
+
},
|
40
|
+
// States
|
41
|
+
{
|
42
|
+
'hover:bg-surface-100/40': context === null || context === void 0 ? void 0 : context.selectable,
|
43
|
+
},
|
44
|
+
{ 'cursor-pointer': context === null || context === void 0 ? void 0 : context.selectable },
|
45
|
+
],
|
46
|
+
});
|
47
|
+
},
|
48
|
+
linecell: {
|
49
|
+
class: [
|
50
|
+
// Alignment
|
51
|
+
'text-center align-top',
|
52
|
+
// Spacing
|
53
|
+
'py-0 px-3',
|
54
|
+
],
|
55
|
+
},
|
56
|
+
linedown: {
|
57
|
+
class: [
|
58
|
+
// Spacing
|
59
|
+
'mx-auto my-0',
|
60
|
+
// Size
|
61
|
+
'w-px h-[20px]',
|
62
|
+
// Color
|
63
|
+
'bg-surface-200',
|
64
|
+
],
|
65
|
+
},
|
66
|
+
lineleft: function (_a) {
|
67
|
+
var context = _a.context;
|
68
|
+
return ({
|
69
|
+
class: [
|
70
|
+
// Alignment
|
71
|
+
'text-center align-top',
|
72
|
+
// Spacing
|
73
|
+
'py-0 px-3',
|
74
|
+
// Shape
|
75
|
+
'rounded-none border-r',
|
76
|
+
{ 'border-t': context.lineTop },
|
77
|
+
// Color
|
78
|
+
'border-surface-200',
|
79
|
+
],
|
80
|
+
});
|
81
|
+
},
|
82
|
+
lineright: function (_a) {
|
83
|
+
var context = _a.context;
|
84
|
+
return ({
|
85
|
+
class: [
|
86
|
+
// Alignment
|
87
|
+
'text-center align-top',
|
88
|
+
// Spacing
|
89
|
+
'py-0 px-3',
|
90
|
+
// Shape
|
91
|
+
'rounded-none',
|
92
|
+
// Color
|
93
|
+
{
|
94
|
+
'border-t border-surface-200': context.lineTop,
|
95
|
+
},
|
96
|
+
],
|
97
|
+
});
|
98
|
+
},
|
99
|
+
nodecell: {
|
100
|
+
class: 'text-center align-top py-0 px-3',
|
101
|
+
},
|
102
|
+
nodetoggler: {
|
103
|
+
class: [
|
104
|
+
// Position
|
105
|
+
'absolute bottom-[-0.75rem] left-2/4 -ml-3',
|
106
|
+
'z-20',
|
107
|
+
// Flexbox
|
108
|
+
'flex items-center justify-center',
|
109
|
+
// Size
|
110
|
+
'w-6 h-6',
|
111
|
+
// Shape
|
112
|
+
'rounded-full',
|
113
|
+
// Color
|
114
|
+
'bg-inherit text-inherit',
|
115
|
+
// Focus
|
116
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-primary-500',
|
117
|
+
// Misc
|
118
|
+
'cursor-pointer no-underline select-none',
|
119
|
+
],
|
120
|
+
},
|
121
|
+
nodetogglericon: {
|
122
|
+
class: [
|
123
|
+
// Position
|
124
|
+
'relative inline-block',
|
125
|
+
// Size
|
126
|
+
'w-4 h-4',
|
127
|
+
],
|
128
|
+
},
|
129
|
+
};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
namespace root {
|
3
|
+
let _class: string[];
|
4
|
+
export { _class as class };
|
5
|
+
}
|
6
|
+
namespace content {
|
7
|
+
let _class_1: string;
|
8
|
+
export { _class_1 as class };
|
9
|
+
}
|
10
|
+
namespace transition {
|
11
|
+
let enterFromClass: string;
|
12
|
+
let enterActiveClass: string;
|
13
|
+
let leaveActiveClass: string;
|
14
|
+
let leaveToClass: string;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
export default _default;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: {
|
5
|
+
class: [
|
6
|
+
'h-max',
|
7
|
+
// Shape
|
8
|
+
'rounded-lg',
|
9
|
+
'shadow-xl',
|
10
|
+
'border-0',
|
11
|
+
// Position
|
12
|
+
'absolute left-0 top-0 mt-2',
|
13
|
+
'z-40 transform origin-center',
|
14
|
+
// Color
|
15
|
+
'bg-white',
|
16
|
+
'text-general-800',
|
17
|
+
// Before: Triangle
|
18
|
+
'before:absolute before:-top-2 before:ml-4 before:z-50',
|
19
|
+
'before:w-0 before:h-0 before:shadow-xl',
|
20
|
+
// 'before:border-transparent before:border-solid',
|
21
|
+
// 'before:border-x-[0.5rem] before:border-b-[0.5rem]',
|
22
|
+
// 'before:border-t-0 before:border-b-surface-0',
|
23
|
+
],
|
24
|
+
},
|
25
|
+
content: {
|
26
|
+
class: 'items-center flex',
|
27
|
+
},
|
28
|
+
transition: {
|
29
|
+
enterFromClass: 'opacity-0 scale-y-[0.8]',
|
30
|
+
enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
|
31
|
+
leaveActiveClass: 'transition-opacity duration-100 ease-linear',
|
32
|
+
leaveToClass: 'opacity-0',
|
33
|
+
},
|
34
|
+
};
|