@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,37 @@
|
|
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;
|
@@ -0,0 +1,70 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
accordiontab: {
|
5
|
+
header: function (_a) {
|
6
|
+
var props = _a.props;
|
7
|
+
return ({
|
8
|
+
class: [
|
9
|
+
// Sizing
|
10
|
+
'pt-6 pb-0',
|
11
|
+
'mt-6',
|
12
|
+
// Shape
|
13
|
+
'border-x-0 border-b-0',
|
14
|
+
// Color
|
15
|
+
'border border-surface-200',
|
16
|
+
// State
|
17
|
+
{
|
18
|
+
'select-none pointer-events-none cursor-default opacity-60': props === null || props === void 0 ? void 0 : props.disabled,
|
19
|
+
},
|
20
|
+
],
|
21
|
+
});
|
22
|
+
},
|
23
|
+
headerAction: function (_a) {
|
24
|
+
var context = _a.context;
|
25
|
+
return ({
|
26
|
+
class: [
|
27
|
+
//Font
|
28
|
+
'font-semibold',
|
29
|
+
'leading-7',
|
30
|
+
// Alignments
|
31
|
+
'flex items-center justify-between flex-row-reverse',
|
32
|
+
'relative',
|
33
|
+
// Shape
|
34
|
+
'rounded-md',
|
35
|
+
// Color
|
36
|
+
'bg-transparent',
|
37
|
+
'text-surface-900',
|
38
|
+
// States
|
39
|
+
'focus:outline-none focus:outline-offset-0 focus-visible:ring-2 focus-visible:ring-primary-600 ring-inset', // Focus
|
40
|
+
// Misc
|
41
|
+
'cursor-pointer no-underline select-none',
|
42
|
+
],
|
43
|
+
});
|
44
|
+
},
|
45
|
+
headerIcon: {
|
46
|
+
class: 'inline-block ml-2',
|
47
|
+
},
|
48
|
+
headerTitle: {
|
49
|
+
class: 'leading-7',
|
50
|
+
},
|
51
|
+
content: {
|
52
|
+
class: [
|
53
|
+
// Font
|
54
|
+
'leading-7',
|
55
|
+
// Spacing
|
56
|
+
'pr-12 pt-2',
|
57
|
+
// Color
|
58
|
+
'text-surface-600',
|
59
|
+
],
|
60
|
+
},
|
61
|
+
transition: {
|
62
|
+
enterFromClass: 'max-h-0',
|
63
|
+
enterActiveClass: 'overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]',
|
64
|
+
enterToClass: 'max-h-[1000px]',
|
65
|
+
leaveFromClass: 'max-h-[1000px]',
|
66
|
+
leaveActiveClass: 'overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]',
|
67
|
+
leaveToClass: 'max-h-0',
|
68
|
+
},
|
69
|
+
},
|
70
|
+
};
|
@@ -0,0 +1,188 @@
|
|
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;
|
@@ -0,0 +1,247 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: function (_a) {
|
5
|
+
var props = _a.props;
|
6
|
+
return ({
|
7
|
+
class: [
|
8
|
+
'relative',
|
9
|
+
// Flex
|
10
|
+
'inline-flex',
|
11
|
+
// Size
|
12
|
+
{ 'w-full': props.multiple },
|
13
|
+
// Color
|
14
|
+
'text-surface-900',
|
15
|
+
//States
|
16
|
+
{
|
17
|
+
'opacity-60 select-none pointer-events-none cursor-default': props.disabled,
|
18
|
+
},
|
19
|
+
],
|
20
|
+
});
|
21
|
+
},
|
22
|
+
container: function (_a) {
|
23
|
+
var props = _a.props, state = _a.state;
|
24
|
+
return ({
|
25
|
+
class: [
|
26
|
+
// Font
|
27
|
+
'font-sans sm:text-sm leading-none',
|
28
|
+
// Flex
|
29
|
+
'flex items-center flex-wrap',
|
30
|
+
'gap-1',
|
31
|
+
// Spacing
|
32
|
+
'm-0 list-none',
|
33
|
+
'px-3 py-1',
|
34
|
+
{ 'px-3 py-1.5': !props.multiple, 'px-3 py-1': props.multiple },
|
35
|
+
// Size
|
36
|
+
'w-full',
|
37
|
+
// Shape
|
38
|
+
'appearance-none rounded-md',
|
39
|
+
// Color
|
40
|
+
'text-surface-900',
|
41
|
+
'bg-surface-0',
|
42
|
+
'placeholder:text-surface-400',
|
43
|
+
'shadow-sm',
|
44
|
+
// States
|
45
|
+
'focus:outline-none focus:outline-offset-0',
|
46
|
+
{
|
47
|
+
'ring-1 ring-inset ring-surface-300': !state.focused,
|
48
|
+
'ring-2 ring-primary-500': state.focused,
|
49
|
+
},
|
50
|
+
// Transition
|
51
|
+
'transition duration-200 ease-in-out',
|
52
|
+
// Misc
|
53
|
+
'cursor-text overflow-hidden',
|
54
|
+
],
|
55
|
+
});
|
56
|
+
},
|
57
|
+
inputtoken: function (_a) {
|
58
|
+
var props = _a.props;
|
59
|
+
return ({
|
60
|
+
class: [
|
61
|
+
{ 'py-1.5 px-0': !props.multiple, 'p-0.5': props.multiple },
|
62
|
+
,
|
63
|
+
'inline-flex flex-auto',
|
64
|
+
],
|
65
|
+
});
|
66
|
+
},
|
67
|
+
input: function (_a) {
|
68
|
+
var props = _a.props;
|
69
|
+
return ({
|
70
|
+
class: [
|
71
|
+
// Font
|
72
|
+
'font-sans sm:text-sm leading-none',
|
73
|
+
// Shape
|
74
|
+
'appearance-none rounded-md',
|
75
|
+
{ 'rounded-tr-none rounded-br-none': props.dropdown },
|
76
|
+
{ 'outline-none shadow-none rounded-none': props.multiple },
|
77
|
+
// Size
|
78
|
+
{ 'w-full': props.multiple },
|
79
|
+
// Spacing
|
80
|
+
'm-0',
|
81
|
+
{ 'py-1.5 px-3': !props.multiple, 'p-0': props.multiple },
|
82
|
+
// Colors
|
83
|
+
'text-surface-700/80',
|
84
|
+
{
|
85
|
+
'bg-surface-0': !props.multiple,
|
86
|
+
'border border-surface-300': !props.multiple,
|
87
|
+
'border-0 bg-transparent': props.multiple,
|
88
|
+
},
|
89
|
+
// States
|
90
|
+
{
|
91
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-inset focus:ring-2 focus:ring-primary-500': !props.multiple,
|
92
|
+
},
|
93
|
+
// Transition
|
94
|
+
'transition-colors duration-200',
|
95
|
+
],
|
96
|
+
});
|
97
|
+
},
|
98
|
+
token: {
|
99
|
+
class: [
|
100
|
+
// Flexbox
|
101
|
+
'inline-flex items-center',
|
102
|
+
// Spacing
|
103
|
+
'py-0.5 px-3',
|
104
|
+
// Shape
|
105
|
+
'rounded-[1.14rem]',
|
106
|
+
// Colors
|
107
|
+
'text-surface-700/70',
|
108
|
+
'bg-surface-200',
|
109
|
+
],
|
110
|
+
},
|
111
|
+
label: {
|
112
|
+
class: 'leading-5',
|
113
|
+
},
|
114
|
+
removeTokenIcon: {
|
115
|
+
class: [
|
116
|
+
// Shape
|
117
|
+
'rounded-md leading-6',
|
118
|
+
// Spacing
|
119
|
+
'ml-2',
|
120
|
+
// Size
|
121
|
+
'w-4 h-4',
|
122
|
+
// Transition
|
123
|
+
'transition duration-200 ease-in-out',
|
124
|
+
// Misc
|
125
|
+
'cursor-pointer',
|
126
|
+
],
|
127
|
+
},
|
128
|
+
dropdownbutton: {
|
129
|
+
root: {
|
130
|
+
class: [
|
131
|
+
'relative text-sm leading-none',
|
132
|
+
// Alignments
|
133
|
+
'items-center inline-flex text-center align-bottom',
|
134
|
+
// Shape
|
135
|
+
'rounded-r-md',
|
136
|
+
// Size
|
137
|
+
'px-2.5 py-1.5',
|
138
|
+
'-ml-[1px]',
|
139
|
+
// Colors
|
140
|
+
'text-surface-600',
|
141
|
+
'bg-surface-100',
|
142
|
+
'ring-1 ring-inset ring-surface-300',
|
143
|
+
// States
|
144
|
+
'hover:bg-surface-200',
|
145
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-1',
|
146
|
+
'focus:ring-primary-500',
|
147
|
+
],
|
148
|
+
},
|
149
|
+
},
|
150
|
+
loadingicon: {
|
151
|
+
class: [
|
152
|
+
'text-sm leading-none text-surface-500',
|
153
|
+
'absolute top-[50%] right-[0.5rem] -mt-2 animate-spin',
|
154
|
+
],
|
155
|
+
},
|
156
|
+
panel: {
|
157
|
+
class: [
|
158
|
+
// Position
|
159
|
+
'absolute top-0 left-0',
|
160
|
+
'mt-2',
|
161
|
+
// Shape
|
162
|
+
'border-0',
|
163
|
+
'rounded-md',
|
164
|
+
'shadow-md',
|
165
|
+
'max-h-[15rem]',
|
166
|
+
'overflow-auto',
|
167
|
+
// Color
|
168
|
+
'bg-surface-0',
|
169
|
+
'text-surface-800/80',
|
170
|
+
'ring-1 ring-inset ring-surface-300',
|
171
|
+
],
|
172
|
+
},
|
173
|
+
list: {
|
174
|
+
class: 'py-1 list-none m-0',
|
175
|
+
},
|
176
|
+
item: function (_a) {
|
177
|
+
var context = _a.context;
|
178
|
+
return ({
|
179
|
+
class: [
|
180
|
+
// Font
|
181
|
+
'sm:text-sm',
|
182
|
+
'leading-none',
|
183
|
+
{ 'font-normal': !context.selected, 'font-bold': context.selected },
|
184
|
+
// Position
|
185
|
+
'relative',
|
186
|
+
// Shape
|
187
|
+
'border-0',
|
188
|
+
'rounded-none',
|
189
|
+
// Spacing
|
190
|
+
'm-0',
|
191
|
+
'py-2 px-4',
|
192
|
+
// Color
|
193
|
+
{
|
194
|
+
'text-surface-700/80': !context.focused && !context.selected,
|
195
|
+
},
|
196
|
+
{
|
197
|
+
'bg-surface-200 text-surface-700/80': context.focused && !context.selected,
|
198
|
+
},
|
199
|
+
{
|
200
|
+
'bg-primary-500 text-white': context.focused && context.selected,
|
201
|
+
},
|
202
|
+
{
|
203
|
+
'bg-transparent text-surface-700/80': !context.focused && context.selected,
|
204
|
+
},
|
205
|
+
//States
|
206
|
+
'hover:bg-primary-500 hover:text-white',
|
207
|
+
// Misc
|
208
|
+
'cursor-pointer',
|
209
|
+
'overflow-hidden',
|
210
|
+
'whitespace-nowrap',
|
211
|
+
],
|
212
|
+
});
|
213
|
+
},
|
214
|
+
itemgroup: {
|
215
|
+
class: [
|
216
|
+
//Font
|
217
|
+
'font-bold',
|
218
|
+
'sm:text-sm',
|
219
|
+
// Spacing
|
220
|
+
'm-0',
|
221
|
+
'py-2 px-4',
|
222
|
+
// Color
|
223
|
+
'text-surface-800/80',
|
224
|
+
'bg-surface-0',
|
225
|
+
// Misc
|
226
|
+
'cursor-auto',
|
227
|
+
],
|
228
|
+
},
|
229
|
+
emptymessage: {
|
230
|
+
class: [
|
231
|
+
// Font
|
232
|
+
'leading-none',
|
233
|
+
'sm:text-sm',
|
234
|
+
// Spacing
|
235
|
+
'py-2 px-4',
|
236
|
+
// Color
|
237
|
+
'text-surface-800/80',
|
238
|
+
'bg-transparent',
|
239
|
+
],
|
240
|
+
},
|
241
|
+
transition: {
|
242
|
+
enterFromClass: 'opacity-0 scale-y-[0.8]',
|
243
|
+
enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
|
244
|
+
leaveActiveClass: 'transition-opacity duration-100 ease-linear',
|
245
|
+
leaveToClass: 'opacity-0',
|
246
|
+
},
|
247
|
+
};
|
@@ -0,0 +1,85 @@
|
|
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;
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: function (_a) {
|
5
|
+
var _b, _c, _d;
|
6
|
+
var props = _a.props, parent = _a.parent;
|
7
|
+
return ({
|
8
|
+
class: [
|
9
|
+
// Font
|
10
|
+
{
|
11
|
+
'text-sm': props.size == null || props.size == 'normal',
|
12
|
+
'text-lg': props.size == 'large',
|
13
|
+
'text-xl': props.size == 'xlarge',
|
14
|
+
},
|
15
|
+
// Alignments
|
16
|
+
'inline-flex items-center justify-center',
|
17
|
+
'shrink-0',
|
18
|
+
'relative',
|
19
|
+
// Sizes
|
20
|
+
{
|
21
|
+
'h-[30px] w-[30px]': props.size == null || props.size == 'normal',
|
22
|
+
'w-12 h-12': props.size == 'large',
|
23
|
+
'w-16 h-16': props.size == 'xlarge',
|
24
|
+
},
|
25
|
+
{ '-ml-4': ((_b = parent.instance.$style) === null || _b === void 0 ? void 0 : _b.name) == 'avatargroup' },
|
26
|
+
// Shapes
|
27
|
+
{
|
28
|
+
'rounded-lg': props.shape == 'square',
|
29
|
+
'rounded-full': props.shape == 'circle',
|
30
|
+
},
|
31
|
+
{ 'border-[0.5px]': ((_c = parent.instance.$style) === null || _c === void 0 ? void 0 : _c.name) == 'avatargroup' },
|
32
|
+
// Colors
|
33
|
+
'bg-general-300',
|
34
|
+
{
|
35
|
+
'border-gray-100': ((_d = parent.instance.$style) === null || _d === void 0 ? void 0 : _d.name) == 'avatargroup',
|
36
|
+
},
|
37
|
+
'text-white',
|
38
|
+
],
|
39
|
+
});
|
40
|
+
},
|
41
|
+
image: {
|
42
|
+
class: 'h-full w-full rounded-full',
|
43
|
+
},
|
44
|
+
};
|