@fewangsit/wangsvue-presets 1.0.80
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/index.d.ts +1 -0
- package/index.js +5 -0
- package/package.json +13 -0
- package/wangsvue/accordion/index.d.ts +37 -0
- package/wangsvue/accordion/index.js +70 -0
- package/wangsvue/autocomplete/index.d.ts +188 -0
- package/wangsvue/autocomplete/index.js +247 -0
- package/wangsvue/avatar/index.d.ts +85 -0
- package/wangsvue/avatar/index.js +44 -0
- package/wangsvue/avatargroup/index.d.ts +8 -0
- package/wangsvue/avatargroup/index.js +9 -0
- package/wangsvue/badge/index.d.ts +47 -0
- package/wangsvue/badge/index.js +60 -0
- package/wangsvue/badgedirective/index.d.ts +50 -0
- package/wangsvue/badgedirective/index.js +49 -0
- package/wangsvue/badgegroup/index.d.ts +45 -0
- package/wangsvue/badgegroup/index.js +29 -0
- package/wangsvue/breadcrumb/index.d.ts +25 -0
- package/wangsvue/breadcrumb/index.js +31 -0
- package/wangsvue/button/index.d.ts +46 -0
- package/wangsvue/button/index.js +423 -0
- package/wangsvue/buttonbulkaction/index.d.ts +32 -0
- package/wangsvue/buttonbulkaction/index.js +35 -0
- package/wangsvue/buttondownload/index.d.ts +12 -0
- package/wangsvue/buttondownload/index.js +13 -0
- package/wangsvue/buttonfilter/index.d.ts +12 -0
- package/wangsvue/buttonfilter/index.js +13 -0
- package/wangsvue/buttonradio/index.d.ts +58 -0
- package/wangsvue/buttonradio/index.js +109 -0
- package/wangsvue/buttonsearch/index.d.ts +65 -0
- package/wangsvue/buttonsearch/index.js +62 -0
- package/wangsvue/calendar/index.d.ts +267 -0
- package/wangsvue/calendar/index.js +610 -0
- package/wangsvue/card/index.d.ts +31 -0
- package/wangsvue/card/index.js +32 -0
- package/wangsvue/carousel/index.d.ts +57 -0
- package/wangsvue/carousel/index.js +129 -0
- package/wangsvue/cascadeselect/index.d.ts +82 -0
- package/wangsvue/cascadeselect/index.js +191 -0
- package/wangsvue/changelog/index.d.ts +32 -0
- package/wangsvue/changelog/index.js +31 -0
- package/wangsvue/checkbox/index.d.ts +81 -0
- package/wangsvue/checkbox/index.js +107 -0
- package/wangsvue/chip/index.d.ts +23 -0
- package/wangsvue/chip/index.js +40 -0
- package/wangsvue/chips/index.d.ts +38 -0
- package/wangsvue/chips/index.js +98 -0
- package/wangsvue/colorpicker/index.d.ts +51 -0
- package/wangsvue/colorpicker/index.js +118 -0
- package/wangsvue/colors.config.json +77 -0
- package/wangsvue/confirmpopup/index.d.ts +39 -0
- package/wangsvue/confirmpopup/index.js +104 -0
- package/wangsvue/contextmenu/index.d.ts +63 -0
- package/wangsvue/contextmenu/index.js +113 -0
- package/wangsvue/datatable/index.d.ts +286 -0
- package/wangsvue/datatable/index.js +253 -0
- package/wangsvue/dataview/index.d.ts +15 -0
- package/wangsvue/dataview/index.js +36 -0
- package/wangsvue/dataviewlayoutoptions/index.d.ts +13 -0
- package/wangsvue/dataviewlayoutoptions/index.js +58 -0
- package/wangsvue/dialog/index.d.ts +87 -0
- package/wangsvue/dialog/index.js +220 -0
- package/wangsvue/dialogconfirm/index.d.ts +42 -0
- package/wangsvue/dialogconfirm/index.js +45 -0
- package/wangsvue/dialogform/index.d.ts +71 -0
- package/wangsvue/dialogform/index.js +68 -0
- package/wangsvue/divider/index.d.ts +192 -0
- package/wangsvue/divider/index.js +64 -0
- package/wangsvue/dock/index.d.ts +51 -0
- package/wangsvue/dock/index.js +92 -0
- package/wangsvue/dropdown/index.d.ts +136 -0
- package/wangsvue/dropdown/index.js +207 -0
- package/wangsvue/fieldset/index.d.ts +94 -0
- package/wangsvue/fieldset/index.js +87 -0
- package/wangsvue/fileupload/index.d.ts +29 -0
- package/wangsvue/fileupload/index.js +31 -0
- package/wangsvue/form/index.d.ts +40 -0
- package/wangsvue/form/index.js +44 -0
- package/wangsvue/global.d.ts +8 -0
- package/wangsvue/global.js +14 -0
- package/wangsvue/image/index.d.ts +88 -0
- package/wangsvue/image/index.js +136 -0
- package/wangsvue/index.d.ts +190 -0
- package/wangsvue/index.js +201 -0
- package/wangsvue/index.system.js +76 -0
- package/wangsvue/inlinemessage/index.d.ts +20 -0
- package/wangsvue/inlinemessage/index.js +30 -0
- package/wangsvue/inputbadge/index.d.ts +57 -0
- package/wangsvue/inputbadge/index.js +57 -0
- package/wangsvue/inputcurrency/index.d.ts +27 -0
- package/wangsvue/inputcurrency/index.js +22 -0
- package/wangsvue/inputgroup/index.d.ts +9 -0
- package/wangsvue/inputgroup/index.js +37 -0
- package/wangsvue/inputgroupaddon/index.d.ts +17 -0
- package/wangsvue/inputgroupaddon/index.js +34 -0
- package/wangsvue/inputmask/index.d.ts +11 -0
- package/wangsvue/inputmask/index.js +29 -0
- package/wangsvue/inputnumber/index.d.ts +46 -0
- package/wangsvue/inputnumber/index.js +58 -0
- package/wangsvue/inputotp/index.d.ts +137 -0
- package/wangsvue/inputotp/index.js +63 -0
- package/wangsvue/inputphonenumber/index.d.ts +37 -0
- package/wangsvue/inputphonenumber/index.js +34 -0
- package/wangsvue/inputswitch/index.d.ts +67 -0
- package/wangsvue/inputswitch/index.js +100 -0
- package/wangsvue/inputtext/index.d.ts +18 -0
- package/wangsvue/inputtext/index.js +28 -0
- package/wangsvue/knob/index.d.ts +22 -0
- package/wangsvue/knob/index.js +45 -0
- package/wangsvue/listbox/index.d.ts +79 -0
- package/wangsvue/listbox/index.js +138 -0
- package/wangsvue/megamenu/index.d.ts +105 -0
- package/wangsvue/megamenu/index.js +202 -0
- package/wangsvue/menu/index.d.ts +49 -0
- package/wangsvue/menu/index.js +110 -0
- package/wangsvue/menubar/index.d.ts +85 -0
- package/wangsvue/menubar/index.js +172 -0
- package/wangsvue/message/index.d.ts +41 -0
- package/wangsvue/message/index.js +85 -0
- package/wangsvue/multiselect/index.d.ts +243 -0
- package/wangsvue/multiselect/index.js +328 -0
- package/wangsvue/orderlist/index.d.ts +99 -0
- package/wangsvue/orderlist/index.js +245 -0
- package/wangsvue/organizationchart/index.d.ts +71 -0
- package/wangsvue/organizationchart/index.js +129 -0
- package/wangsvue/overlaypanel/index.d.ts +17 -0
- package/wangsvue/overlaypanel/index.js +34 -0
- package/wangsvue/paginator/index.d.ts +210 -0
- package/wangsvue/paginator/index.js +474 -0
- package/wangsvue/panel/index.d.ts +43 -0
- package/wangsvue/panel/index.js +85 -0
- package/wangsvue/panelmenu/index.d.ts +76 -0
- package/wangsvue/panelmenu/index.js +124 -0
- package/wangsvue/password/index.d.ts +45 -0
- package/wangsvue/password/index.js +96 -0
- package/wangsvue/picklist/index.d.ts +245 -0
- package/wangsvue/picklist/index.js +613 -0
- package/wangsvue/progressbar/index.d.ts +117 -0
- package/wangsvue/progressbar/index.js +102 -0
- package/wangsvue/rating/index.d.ts +47 -0
- package/wangsvue/rating/index.js +88 -0
- package/wangsvue/ripple/index.d.ts +8 -0
- package/wangsvue/ripple/index.js +8 -0
- package/wangsvue/scrollpanel/index.d.ts +19 -0
- package/wangsvue/scrollpanel/index.js +62 -0
- package/wangsvue/scrolltop/index.d.ts +50 -0
- package/wangsvue/scrolltop/index.js +42 -0
- package/wangsvue/selectbutton/index.d.ts +35 -0
- package/wangsvue/selectbutton/index.js +60 -0
- package/wangsvue/sidebar/index.d.ts +66 -0
- package/wangsvue/sidebar/index.js +145 -0
- package/wangsvue/skeleton/index.d.ts +16 -0
- package/wangsvue/skeleton/index.js +22 -0
- package/wangsvue/slider/index.d.ts +55 -0
- package/wangsvue/slider/index.js +126 -0
- package/wangsvue/splitbutton/index.d.ts +6690 -0
- package/wangsvue/splitbutton/index.js +786 -0
- package/wangsvue/steps/index.d.ts +108 -0
- package/wangsvue/steps/index.js +119 -0
- package/wangsvue/style.css +5823 -0
- package/wangsvue/tabmenu/index.d.ts +57 -0
- package/wangsvue/tabmenu/index.js +75 -0
- package/wangsvue/tabview/index.d.ts +67 -0
- package/wangsvue/tabview/index.js +148 -0
- package/wangsvue/tag/index.d.ts +32 -0
- package/wangsvue/tag/index.js +37 -0
- package/wangsvue/terminal/index.d.ts +27 -0
- package/wangsvue/terminal/index.js +55 -0
- package/wangsvue/textarea/index.d.ts +12 -0
- package/wangsvue/textarea/index.js +51 -0
- package/wangsvue/tieredmenu/index.d.ts +56 -0
- package/wangsvue/tieredmenu/index.js +108 -0
- package/wangsvue/timeline/index.d.ts +53 -0
- package/wangsvue/timeline/index.js +83 -0
- package/wangsvue/toast/index.d.ts +61 -0
- package/wangsvue/toast/index.js +95 -0
- package/wangsvue/togglebutton/index.d.ts +42 -0
- package/wangsvue/togglebutton/index.js +77 -0
- package/wangsvue/toolbar/index.d.ts +19 -0
- package/wangsvue/toolbar/index.js +29 -0
- package/wangsvue/tooltip/index.d.ts +22 -0
- package/wangsvue/tooltip/index.js +42 -0
- package/wangsvue/tree/index.d.ts +117 -0
- package/wangsvue/tree/index.js +256 -0
- package/wangsvue/treeselect/index.d.ts +158 -0
- package/wangsvue/treeselect/index.js +338 -0
- package/wangsvue/tristatecheckbox/index.d.ts +49 -0
- package/wangsvue/tristatecheckbox/index.js +106 -0
- package/wangsvue/validatormessage/index.d.ts +8 -0
- package/wangsvue/validatormessage/index.js +9 -0
- package/wangsvue/workcalendar/index.d.ts +27 -0
- package/wangsvue/workcalendar/index.js +36 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
export namespace root {
|
|
3
|
+
let _class: string[];
|
|
4
|
+
export { _class as class };
|
|
5
|
+
}
|
|
6
|
+
export namespace wrapper {
|
|
7
|
+
let _class_1: string[];
|
|
8
|
+
export { _class_1 as class };
|
|
9
|
+
}
|
|
10
|
+
export namespace container {
|
|
11
|
+
let _class_2: string[];
|
|
12
|
+
export { _class_2 as class };
|
|
13
|
+
}
|
|
14
|
+
export namespace node {
|
|
15
|
+
let _class_3: string[];
|
|
16
|
+
export { _class_3 as class };
|
|
17
|
+
}
|
|
18
|
+
export function content({ context, props }: {
|
|
19
|
+
context: any;
|
|
20
|
+
props: any;
|
|
21
|
+
}): {
|
|
22
|
+
class: (string | {
|
|
23
|
+
'bg-primary-50 !text-primary-500 [&_*]:text-primary-500': any;
|
|
24
|
+
'hover:bg-primary-50'?: undefined;
|
|
25
|
+
'cursor-pointer select-none'?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
'hover:bg-primary-50': boolean;
|
|
28
|
+
'bg-primary-50 !text-primary-500 [&_*]:text-primary-500'?: undefined;
|
|
29
|
+
'cursor-pointer select-none'?: undefined;
|
|
30
|
+
} | {
|
|
31
|
+
'cursor-pointer select-none': boolean;
|
|
32
|
+
'bg-primary-50 !text-primary-500 [&_*]:text-primary-500'?: undefined;
|
|
33
|
+
'hover:bg-primary-50'?: undefined;
|
|
34
|
+
})[];
|
|
35
|
+
};
|
|
36
|
+
export function toggler({ context }: {
|
|
37
|
+
context: any;
|
|
38
|
+
}): {
|
|
39
|
+
class: (string | {
|
|
40
|
+
invisible: any;
|
|
41
|
+
})[];
|
|
42
|
+
};
|
|
43
|
+
export namespace togglericon {
|
|
44
|
+
let _class_4: string[];
|
|
45
|
+
export { _class_4 as class };
|
|
46
|
+
}
|
|
47
|
+
export namespace nodeCheckbox {
|
|
48
|
+
export namespace root_1 {
|
|
49
|
+
let _class_5: string[];
|
|
50
|
+
export { _class_5 as class };
|
|
51
|
+
}
|
|
52
|
+
export { root_1 as root };
|
|
53
|
+
export function box({ props, context }: {
|
|
54
|
+
props: any;
|
|
55
|
+
context: any;
|
|
56
|
+
}): {
|
|
57
|
+
class: (string | {
|
|
58
|
+
'border-surface-300 bg-surface-0': boolean;
|
|
59
|
+
'border-primary-500 bg-primary-500': any;
|
|
60
|
+
'ring-2 ring-primary-500'?: undefined;
|
|
61
|
+
'cursor-default opacity-60'?: undefined;
|
|
62
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500'?: undefined;
|
|
63
|
+
} | {
|
|
64
|
+
'ring-2 ring-primary-500': any;
|
|
65
|
+
'cursor-default opacity-60': any;
|
|
66
|
+
'border-surface-300 bg-surface-0'?: undefined;
|
|
67
|
+
'border-primary-500 bg-primary-500'?: undefined;
|
|
68
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500'?: undefined;
|
|
69
|
+
} | {
|
|
70
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500': boolean;
|
|
71
|
+
'cursor-default opacity-60': any;
|
|
72
|
+
'border-surface-300 bg-surface-0'?: undefined;
|
|
73
|
+
'border-primary-500 bg-primary-500'?: undefined;
|
|
74
|
+
'ring-2 ring-primary-500'?: undefined;
|
|
75
|
+
})[];
|
|
76
|
+
};
|
|
77
|
+
export namespace input {
|
|
78
|
+
let _class_6: string[];
|
|
79
|
+
export { _class_6 as class };
|
|
80
|
+
}
|
|
81
|
+
export namespace icon {
|
|
82
|
+
let _class_7: string[];
|
|
83
|
+
export { _class_7 as class };
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export namespace nodeicon {
|
|
87
|
+
let _class_8: string[];
|
|
88
|
+
export { _class_8 as class };
|
|
89
|
+
}
|
|
90
|
+
export namespace subgroup {
|
|
91
|
+
let _class_9: string[];
|
|
92
|
+
export { _class_9 as class };
|
|
93
|
+
}
|
|
94
|
+
export namespace filtercontainer {
|
|
95
|
+
let _class_10: string[];
|
|
96
|
+
export { _class_10 as class };
|
|
97
|
+
}
|
|
98
|
+
export namespace input_1 {
|
|
99
|
+
let _class_11: string[];
|
|
100
|
+
export { _class_11 as class };
|
|
101
|
+
}
|
|
102
|
+
export { input_1 as input };
|
|
103
|
+
export namespace loadingicon {
|
|
104
|
+
let _class_12: string[];
|
|
105
|
+
export { _class_12 as class };
|
|
106
|
+
}
|
|
107
|
+
export namespace searchicon {
|
|
108
|
+
let _class_13: string[];
|
|
109
|
+
export { _class_13 as class };
|
|
110
|
+
}
|
|
111
|
+
export function label({ props }: {
|
|
112
|
+
props: any;
|
|
113
|
+
}): {
|
|
114
|
+
class: string[];
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
export default _default;
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
root: {
|
|
5
|
+
class: [
|
|
6
|
+
'relative',
|
|
7
|
+
// Space
|
|
8
|
+
// Shape
|
|
9
|
+
'rounded-md',
|
|
10
|
+
'min-h-8',
|
|
11
|
+
// Color
|
|
12
|
+
],
|
|
13
|
+
},
|
|
14
|
+
wrapper: {
|
|
15
|
+
class: ['overflow-auto'],
|
|
16
|
+
},
|
|
17
|
+
container: {
|
|
18
|
+
class: [
|
|
19
|
+
// Spacing
|
|
20
|
+
'm-0 p-0',
|
|
21
|
+
// Misc
|
|
22
|
+
'list-none overflow-auto',
|
|
23
|
+
],
|
|
24
|
+
},
|
|
25
|
+
node: {
|
|
26
|
+
class: [
|
|
27
|
+
'p-[2px]',
|
|
28
|
+
'rounded-md',
|
|
29
|
+
'focus:outline-none focus:outline-offset-0',
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
content: function (_a) {
|
|
33
|
+
var context = _a.context, props = _a.props;
|
|
34
|
+
return ({
|
|
35
|
+
class: [
|
|
36
|
+
// Flex and Alignment
|
|
37
|
+
'flex items-center',
|
|
38
|
+
// Shape
|
|
39
|
+
'rounded-md',
|
|
40
|
+
// Spacing
|
|
41
|
+
'p-1',
|
|
42
|
+
// Colors
|
|
43
|
+
'text-surface-700',
|
|
44
|
+
{
|
|
45
|
+
'bg-primary-50 !text-primary-500 [&_*]:text-primary-500': context.selected,
|
|
46
|
+
},
|
|
47
|
+
// States
|
|
48
|
+
{
|
|
49
|
+
'hover:bg-primary-50': props.selectionMode == 'single' || props.selectionMode == 'multiple',
|
|
50
|
+
},
|
|
51
|
+
// Transition
|
|
52
|
+
'transition-shadow duration-200',
|
|
53
|
+
{
|
|
54
|
+
'cursor-pointer select-none': props.selectionMode == 'single' || props.selectionMode == 'multiple',
|
|
55
|
+
},
|
|
56
|
+
// Miscelanous
|
|
57
|
+
'cursor-pointer',
|
|
58
|
+
],
|
|
59
|
+
});
|
|
60
|
+
},
|
|
61
|
+
toggler: function (_a) {
|
|
62
|
+
var context = _a.context;
|
|
63
|
+
return ({
|
|
64
|
+
class: [
|
|
65
|
+
// Flex and Alignment
|
|
66
|
+
'inline-flex items-center justify-center',
|
|
67
|
+
'shrink-0',
|
|
68
|
+
// Shape
|
|
69
|
+
'border-0 rounded-full',
|
|
70
|
+
// Size and Spacing
|
|
71
|
+
'w-4 h-4',
|
|
72
|
+
// Spacing
|
|
73
|
+
'mr-0.5',
|
|
74
|
+
// Colors
|
|
75
|
+
'text-general-800',
|
|
76
|
+
'bg-transparent',
|
|
77
|
+
{
|
|
78
|
+
invisible: context.leaf,
|
|
79
|
+
},
|
|
80
|
+
// States
|
|
81
|
+
'hover:bg-surface-100',
|
|
82
|
+
// Transition
|
|
83
|
+
'transition duration-200',
|
|
84
|
+
// Misc
|
|
85
|
+
'cursor-pointer select-none',
|
|
86
|
+
],
|
|
87
|
+
});
|
|
88
|
+
},
|
|
89
|
+
togglericon: {
|
|
90
|
+
class: [
|
|
91
|
+
// Size
|
|
92
|
+
'w-4 h-4',
|
|
93
|
+
// Color
|
|
94
|
+
],
|
|
95
|
+
},
|
|
96
|
+
nodeCheckbox: {
|
|
97
|
+
root: {
|
|
98
|
+
class: [
|
|
99
|
+
'relative',
|
|
100
|
+
// Alignment
|
|
101
|
+
'inline-flex',
|
|
102
|
+
'align-bottom',
|
|
103
|
+
// Size
|
|
104
|
+
'w-4',
|
|
105
|
+
'h-4',
|
|
106
|
+
// Spacing
|
|
107
|
+
'mr-2',
|
|
108
|
+
// Misc
|
|
109
|
+
'cursor-default',
|
|
110
|
+
'select-none',
|
|
111
|
+
],
|
|
112
|
+
},
|
|
113
|
+
box: function (_a) {
|
|
114
|
+
var props = _a.props, context = _a.context;
|
|
115
|
+
return ({
|
|
116
|
+
class: [
|
|
117
|
+
// Alignment
|
|
118
|
+
'flex',
|
|
119
|
+
'items-center',
|
|
120
|
+
'justify-center',
|
|
121
|
+
// Size
|
|
122
|
+
'w-4',
|
|
123
|
+
'h-4',
|
|
124
|
+
// Shape
|
|
125
|
+
'rounded',
|
|
126
|
+
'border',
|
|
127
|
+
// Colors
|
|
128
|
+
'text-surface-600',
|
|
129
|
+
{
|
|
130
|
+
'border-surface-300 bg-surface-0': !context.checked,
|
|
131
|
+
'border-primary-500 bg-primary-500': context.checked,
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
'ring-2 ring-primary-500': !props.disabled && context.focused,
|
|
135
|
+
'cursor-default opacity-60': props.disabled,
|
|
136
|
+
},
|
|
137
|
+
// States
|
|
138
|
+
{
|
|
139
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500': !props.disabled,
|
|
140
|
+
'cursor-default opacity-60': props.disabled,
|
|
141
|
+
},
|
|
142
|
+
// Transitions
|
|
143
|
+
'transition-colors',
|
|
144
|
+
'duration-200',
|
|
145
|
+
],
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
input: {
|
|
149
|
+
class: [
|
|
150
|
+
'peer',
|
|
151
|
+
// Size
|
|
152
|
+
'w-full ',
|
|
153
|
+
'h-full',
|
|
154
|
+
// Position
|
|
155
|
+
'absolute',
|
|
156
|
+
'top-0 left-0',
|
|
157
|
+
'z-10',
|
|
158
|
+
// Spacing
|
|
159
|
+
'p-0',
|
|
160
|
+
'm-0',
|
|
161
|
+
// Shape
|
|
162
|
+
'rounded',
|
|
163
|
+
'border',
|
|
164
|
+
// Shape
|
|
165
|
+
'opacity-0',
|
|
166
|
+
'rounded-md',
|
|
167
|
+
'outline-none',
|
|
168
|
+
'border-2 border-surface-300',
|
|
169
|
+
// Misc
|
|
170
|
+
'appareance-none',
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
icon: {
|
|
174
|
+
class: [
|
|
175
|
+
// Font
|
|
176
|
+
'text-normal',
|
|
177
|
+
// Size
|
|
178
|
+
'w-3',
|
|
179
|
+
'h-3',
|
|
180
|
+
// Colors
|
|
181
|
+
'text-white',
|
|
182
|
+
// Transitions
|
|
183
|
+
'transition-all',
|
|
184
|
+
'duration-200',
|
|
185
|
+
],
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
nodeicon: {
|
|
189
|
+
class: [
|
|
190
|
+
// Space
|
|
191
|
+
'hidden',
|
|
192
|
+
],
|
|
193
|
+
},
|
|
194
|
+
subgroup: {
|
|
195
|
+
class: ['!m-0 list-none p-0 !pl-1'],
|
|
196
|
+
},
|
|
197
|
+
filtercontainer: {
|
|
198
|
+
class: [
|
|
199
|
+
'relative block',
|
|
200
|
+
// Space
|
|
201
|
+
'mb-2',
|
|
202
|
+
// Size
|
|
203
|
+
'w-full',
|
|
204
|
+
],
|
|
205
|
+
},
|
|
206
|
+
input: {
|
|
207
|
+
class: [
|
|
208
|
+
'relative',
|
|
209
|
+
// Font
|
|
210
|
+
'font-sans leading-6',
|
|
211
|
+
'sm:text-sm',
|
|
212
|
+
// Spacing
|
|
213
|
+
'm-0',
|
|
214
|
+
'py-1.5 px-3 pr-10',
|
|
215
|
+
// Size
|
|
216
|
+
'w-full',
|
|
217
|
+
// Shape
|
|
218
|
+
'rounded-md',
|
|
219
|
+
// Colors
|
|
220
|
+
'text-surface-900',
|
|
221
|
+
'placeholder:text-surface-400',
|
|
222
|
+
'bg-surface-0',
|
|
223
|
+
'ring-1 ring-inset ring-surface-300',
|
|
224
|
+
// States
|
|
225
|
+
'hover:border-primary-500',
|
|
226
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-500',
|
|
227
|
+
// Transition & Misc
|
|
228
|
+
'appearance-none',
|
|
229
|
+
'transition-colors duration-200',
|
|
230
|
+
],
|
|
231
|
+
},
|
|
232
|
+
loadingicon: {
|
|
233
|
+
class: [
|
|
234
|
+
'text-general-400',
|
|
235
|
+
'absolute text-lg top-[50%] right-[50%] -mt-2 -mr-2 animate-spin',
|
|
236
|
+
],
|
|
237
|
+
},
|
|
238
|
+
searchicon: {
|
|
239
|
+
class: [
|
|
240
|
+
// Position
|
|
241
|
+
'absolute top-1/2 -mt-2 right-3',
|
|
242
|
+
// Color
|
|
243
|
+
'text-surface-600',
|
|
244
|
+
],
|
|
245
|
+
},
|
|
246
|
+
label: function (_a) {
|
|
247
|
+
var props = _a.props;
|
|
248
|
+
return ({
|
|
249
|
+
class: [
|
|
250
|
+
'inline-flex justify-between items-center gap-2',
|
|
251
|
+
'w-full',
|
|
252
|
+
'text-xs font-medium text-general-800',
|
|
253
|
+
],
|
|
254
|
+
});
|
|
255
|
+
},
|
|
256
|
+
};
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
function root({ props, state }: {
|
|
3
|
+
props: any;
|
|
4
|
+
state: any;
|
|
5
|
+
}): {
|
|
6
|
+
class: (string | {
|
|
7
|
+
'ring-1 ring-inset ring-surface-300': boolean;
|
|
8
|
+
'ring-2 ring-inset ring-primary-500': any;
|
|
9
|
+
'opacity-60'?: undefined;
|
|
10
|
+
'pointer-events-none'?: undefined;
|
|
11
|
+
} | {
|
|
12
|
+
'opacity-60': any;
|
|
13
|
+
'pointer-events-none': any;
|
|
14
|
+
'ring-1 ring-inset ring-surface-300'?: undefined;
|
|
15
|
+
'ring-2 ring-inset ring-primary-500'?: undefined;
|
|
16
|
+
})[];
|
|
17
|
+
};
|
|
18
|
+
namespace labelContainer {
|
|
19
|
+
let _class: string[];
|
|
20
|
+
export { _class as class };
|
|
21
|
+
}
|
|
22
|
+
namespace label {
|
|
23
|
+
let _class_1: string[];
|
|
24
|
+
export { _class_1 as class };
|
|
25
|
+
}
|
|
26
|
+
namespace trigger {
|
|
27
|
+
let _class_2: string[];
|
|
28
|
+
export { _class_2 as class };
|
|
29
|
+
}
|
|
30
|
+
namespace panel {
|
|
31
|
+
let _class_3: string[];
|
|
32
|
+
export { _class_3 as class };
|
|
33
|
+
}
|
|
34
|
+
namespace wrapper {
|
|
35
|
+
let _class_4: string[];
|
|
36
|
+
export { _class_4 as class };
|
|
37
|
+
}
|
|
38
|
+
namespace tree {
|
|
39
|
+
export namespace root_1 {
|
|
40
|
+
let _class_5: string[];
|
|
41
|
+
export { _class_5 as class };
|
|
42
|
+
}
|
|
43
|
+
export { root_1 as root };
|
|
44
|
+
export namespace wrapper_1 {
|
|
45
|
+
let _class_6: string[];
|
|
46
|
+
export { _class_6 as class };
|
|
47
|
+
}
|
|
48
|
+
export { wrapper_1 as wrapper };
|
|
49
|
+
export namespace container {
|
|
50
|
+
let _class_7: string[];
|
|
51
|
+
export { _class_7 as class };
|
|
52
|
+
}
|
|
53
|
+
export namespace node {
|
|
54
|
+
let _class_8: string[];
|
|
55
|
+
export { _class_8 as class };
|
|
56
|
+
}
|
|
57
|
+
export function content({ context, props }: {
|
|
58
|
+
context: any;
|
|
59
|
+
props: any;
|
|
60
|
+
}): {
|
|
61
|
+
class: (string | {
|
|
62
|
+
'bg-surface-100 text-primary-500': any;
|
|
63
|
+
'hover:bg-surface-200'?: undefined;
|
|
64
|
+
'cursor-pointer select-none'?: undefined;
|
|
65
|
+
} | {
|
|
66
|
+
'hover:bg-surface-200': boolean;
|
|
67
|
+
'bg-surface-100 text-primary-500'?: undefined;
|
|
68
|
+
'cursor-pointer select-none'?: undefined;
|
|
69
|
+
} | {
|
|
70
|
+
'cursor-pointer select-none': boolean;
|
|
71
|
+
'bg-surface-100 text-primary-500'?: undefined;
|
|
72
|
+
'hover:bg-surface-200'?: undefined;
|
|
73
|
+
})[];
|
|
74
|
+
};
|
|
75
|
+
export function toggler({ context }: {
|
|
76
|
+
context: any;
|
|
77
|
+
}): {
|
|
78
|
+
class: (string | {
|
|
79
|
+
invisible: any;
|
|
80
|
+
})[];
|
|
81
|
+
};
|
|
82
|
+
export namespace togglericon {
|
|
83
|
+
let _class_9: string[];
|
|
84
|
+
export { _class_9 as class };
|
|
85
|
+
}
|
|
86
|
+
export namespace nodeCheckbox {
|
|
87
|
+
export namespace root_2 {
|
|
88
|
+
let _class_10: string[];
|
|
89
|
+
export { _class_10 as class };
|
|
90
|
+
}
|
|
91
|
+
export { root_2 as root };
|
|
92
|
+
export function box({ props, context }: {
|
|
93
|
+
props: any;
|
|
94
|
+
context: any;
|
|
95
|
+
}): {
|
|
96
|
+
class: (string | {
|
|
97
|
+
'border-surface-300 bg-surface-0': boolean;
|
|
98
|
+
'border-primary-500 bg-primary-500': any;
|
|
99
|
+
'ring-2 ring-primary-500'?: undefined;
|
|
100
|
+
'cursor-default opacity-60'?: undefined;
|
|
101
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500'?: undefined;
|
|
102
|
+
} | {
|
|
103
|
+
'ring-2 ring-primary-500': any;
|
|
104
|
+
'cursor-default opacity-60': any;
|
|
105
|
+
'border-surface-300 bg-surface-0'?: undefined;
|
|
106
|
+
'border-primary-500 bg-primary-500'?: undefined;
|
|
107
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500'?: undefined;
|
|
108
|
+
} | {
|
|
109
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500': boolean;
|
|
110
|
+
'cursor-default opacity-60': any;
|
|
111
|
+
'border-surface-300 bg-surface-0'?: undefined;
|
|
112
|
+
'border-primary-500 bg-primary-500'?: undefined;
|
|
113
|
+
'ring-2 ring-primary-500'?: undefined;
|
|
114
|
+
})[];
|
|
115
|
+
};
|
|
116
|
+
export namespace input {
|
|
117
|
+
let _class_11: string[];
|
|
118
|
+
export { _class_11 as class };
|
|
119
|
+
}
|
|
120
|
+
export namespace icon {
|
|
121
|
+
let _class_12: string[];
|
|
122
|
+
export { _class_12 as class };
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
export namespace nodeicon {
|
|
126
|
+
let _class_13: string[];
|
|
127
|
+
export { _class_13 as class };
|
|
128
|
+
}
|
|
129
|
+
export namespace subgroup {
|
|
130
|
+
let _class_14: string[];
|
|
131
|
+
export { _class_14 as class };
|
|
132
|
+
}
|
|
133
|
+
export namespace filtercontainer {
|
|
134
|
+
let _class_15: string[];
|
|
135
|
+
export { _class_15 as class };
|
|
136
|
+
}
|
|
137
|
+
export namespace input_1 {
|
|
138
|
+
let _class_16: string[];
|
|
139
|
+
export { _class_16 as class };
|
|
140
|
+
}
|
|
141
|
+
export { input_1 as input };
|
|
142
|
+
export namespace loadingicon {
|
|
143
|
+
let _class_17: string[];
|
|
144
|
+
export { _class_17 as class };
|
|
145
|
+
}
|
|
146
|
+
export namespace searchicon {
|
|
147
|
+
let _class_18: string[];
|
|
148
|
+
export { _class_18 as class };
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
namespace transition {
|
|
152
|
+
let enterFromClass: string;
|
|
153
|
+
let enterActiveClass: string;
|
|
154
|
+
let leaveActiveClass: string;
|
|
155
|
+
let leaveToClass: string;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
export default _default;
|