@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,136 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
function root({ props, state }: {
|
|
3
|
+
props: any;
|
|
4
|
+
state: any;
|
|
5
|
+
}): {
|
|
6
|
+
class: (string | {
|
|
7
|
+
'opacity-60': any;
|
|
8
|
+
'pointer-events-none': any;
|
|
9
|
+
})[];
|
|
10
|
+
};
|
|
11
|
+
function input({ props }: {
|
|
12
|
+
props: any;
|
|
13
|
+
}): {
|
|
14
|
+
class: (string | {
|
|
15
|
+
'!text-general-200': boolean;
|
|
16
|
+
'text-grayscale-900': boolean;
|
|
17
|
+
'pr-7'?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
'pr-7': any;
|
|
20
|
+
'!text-general-200'?: undefined;
|
|
21
|
+
'text-grayscale-900'?: undefined;
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
namespace trigger {
|
|
25
|
+
let _class: string[];
|
|
26
|
+
export { _class as class };
|
|
27
|
+
}
|
|
28
|
+
namespace panel {
|
|
29
|
+
let _class_1: string[];
|
|
30
|
+
export { _class_1 as class };
|
|
31
|
+
}
|
|
32
|
+
function wrapper({ props }: {
|
|
33
|
+
props: any;
|
|
34
|
+
}): {
|
|
35
|
+
class: (string | {
|
|
36
|
+
'rounded-lg': boolean;
|
|
37
|
+
'rounded-br-lg rounded-bl-lg': any;
|
|
38
|
+
})[];
|
|
39
|
+
};
|
|
40
|
+
namespace list {
|
|
41
|
+
let _class_2: string;
|
|
42
|
+
export { _class_2 as class };
|
|
43
|
+
}
|
|
44
|
+
function item({ context }: {
|
|
45
|
+
context: any;
|
|
46
|
+
}): {
|
|
47
|
+
class: (string | {
|
|
48
|
+
'!font-medium': any;
|
|
49
|
+
'text-surface-600'?: undefined;
|
|
50
|
+
'bg-primary-50 text-surface-700'?: undefined;
|
|
51
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
|
52
|
+
'text-surface-700'?: undefined;
|
|
53
|
+
'pointer-events-none cursor-default'?: undefined;
|
|
54
|
+
'cursor-pointer'?: undefined;
|
|
55
|
+
} | {
|
|
56
|
+
'text-surface-600': any;
|
|
57
|
+
'!font-medium'?: undefined;
|
|
58
|
+
'bg-primary-50 text-surface-700'?: undefined;
|
|
59
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
|
60
|
+
'text-surface-700'?: undefined;
|
|
61
|
+
'pointer-events-none cursor-default'?: undefined;
|
|
62
|
+
'cursor-pointer'?: undefined;
|
|
63
|
+
} | {
|
|
64
|
+
'bg-primary-50 text-surface-700': boolean;
|
|
65
|
+
'!font-medium'?: undefined;
|
|
66
|
+
'text-surface-600'?: undefined;
|
|
67
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
|
68
|
+
'text-surface-700'?: undefined;
|
|
69
|
+
'pointer-events-none cursor-default'?: undefined;
|
|
70
|
+
'cursor-pointer'?: undefined;
|
|
71
|
+
} | {
|
|
72
|
+
'bg-primary-50 text-primary-500': any;
|
|
73
|
+
'!font-medium'?: undefined;
|
|
74
|
+
'text-surface-600'?: undefined;
|
|
75
|
+
'bg-primary-50 text-surface-700'?: undefined;
|
|
76
|
+
'text-surface-700'?: undefined;
|
|
77
|
+
'pointer-events-none cursor-default'?: undefined;
|
|
78
|
+
'cursor-pointer'?: undefined;
|
|
79
|
+
} | {
|
|
80
|
+
'text-surface-700': any;
|
|
81
|
+
'!font-medium'?: undefined;
|
|
82
|
+
'text-surface-600'?: undefined;
|
|
83
|
+
'bg-primary-50 text-surface-700'?: undefined;
|
|
84
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
|
85
|
+
'pointer-events-none cursor-default'?: undefined;
|
|
86
|
+
'cursor-pointer'?: undefined;
|
|
87
|
+
} | {
|
|
88
|
+
'pointer-events-none cursor-default': any;
|
|
89
|
+
'!font-medium'?: undefined;
|
|
90
|
+
'text-surface-600'?: undefined;
|
|
91
|
+
'bg-primary-50 text-surface-700'?: undefined;
|
|
92
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
|
93
|
+
'text-surface-700'?: undefined;
|
|
94
|
+
'cursor-pointer'?: undefined;
|
|
95
|
+
} | {
|
|
96
|
+
'cursor-pointer': boolean;
|
|
97
|
+
'!font-medium'?: undefined;
|
|
98
|
+
'text-surface-600'?: undefined;
|
|
99
|
+
'bg-primary-50 text-surface-700'?: undefined;
|
|
100
|
+
'bg-primary-50 text-primary-500'?: undefined;
|
|
101
|
+
'text-surface-700'?: undefined;
|
|
102
|
+
'pointer-events-none cursor-default'?: undefined;
|
|
103
|
+
})[];
|
|
104
|
+
};
|
|
105
|
+
namespace itemgroup {
|
|
106
|
+
let _class_3: string[];
|
|
107
|
+
export { _class_3 as class };
|
|
108
|
+
}
|
|
109
|
+
namespace emptymessage {
|
|
110
|
+
let _class_4: string[];
|
|
111
|
+
export { _class_4 as class };
|
|
112
|
+
}
|
|
113
|
+
let header: {
|
|
114
|
+
class: string[];
|
|
115
|
+
};
|
|
116
|
+
let filtercontainer: {
|
|
117
|
+
class: string[];
|
|
118
|
+
};
|
|
119
|
+
let filterinput: {
|
|
120
|
+
class: string[];
|
|
121
|
+
};
|
|
122
|
+
let filtericon: {
|
|
123
|
+
class: string[];
|
|
124
|
+
};
|
|
125
|
+
namespace clearicon {
|
|
126
|
+
let _class_5: string[];
|
|
127
|
+
export { _class_5 as class };
|
|
128
|
+
}
|
|
129
|
+
namespace transition {
|
|
130
|
+
let enterFromClass: string;
|
|
131
|
+
let enterActiveClass: string;
|
|
132
|
+
let leaveActiveClass: string;
|
|
133
|
+
let leaveToClass: string;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
export default _default;
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var index_js_1 = require("../multiselect/index.js");
|
|
4
|
+
exports.default = {
|
|
5
|
+
root: function (_a) {
|
|
6
|
+
var props = _a.props, state = _a.state;
|
|
7
|
+
return ({
|
|
8
|
+
class: [
|
|
9
|
+
// Display and Position
|
|
10
|
+
'inline-flex items-center',
|
|
11
|
+
'relative',
|
|
12
|
+
// Shape
|
|
13
|
+
'w-full',
|
|
14
|
+
'rounded-md',
|
|
15
|
+
// Misc
|
|
16
|
+
'cursor-default',
|
|
17
|
+
'select-none',
|
|
18
|
+
{ 'opacity-60': props.disabled, 'pointer-events-none': props.disabled },
|
|
19
|
+
],
|
|
20
|
+
});
|
|
21
|
+
},
|
|
22
|
+
input: function (_a) {
|
|
23
|
+
var props = _a.props;
|
|
24
|
+
return ({
|
|
25
|
+
class: [
|
|
26
|
+
//Font
|
|
27
|
+
'text-xs font-normal',
|
|
28
|
+
{
|
|
29
|
+
'!text-general-200': props.modelValue == null,
|
|
30
|
+
'text-grayscale-900': props.modelValue != null,
|
|
31
|
+
},
|
|
32
|
+
// Display
|
|
33
|
+
'block',
|
|
34
|
+
'flex-auto',
|
|
35
|
+
// Color and Background
|
|
36
|
+
'bg-transparent',
|
|
37
|
+
'border-0',
|
|
38
|
+
'placeholder:text-general-200',
|
|
39
|
+
// Sizing and Spacing
|
|
40
|
+
'h-max',
|
|
41
|
+
'py-[5px] px-3 pr-0',
|
|
42
|
+
{ 'pr-7': props.showClear },
|
|
43
|
+
//Shape
|
|
44
|
+
'rounded-none',
|
|
45
|
+
// Transitions
|
|
46
|
+
'transition',
|
|
47
|
+
'duration-200',
|
|
48
|
+
// States
|
|
49
|
+
'focus:outline-none focus:shadow-none',
|
|
50
|
+
// Misc
|
|
51
|
+
'relative',
|
|
52
|
+
'cursor-pointer',
|
|
53
|
+
'overflow-hidden overflow-ellipsis',
|
|
54
|
+
'whitespace-nowrap',
|
|
55
|
+
'appearance-none',
|
|
56
|
+
],
|
|
57
|
+
});
|
|
58
|
+
},
|
|
59
|
+
trigger: {
|
|
60
|
+
class: [
|
|
61
|
+
//Font
|
|
62
|
+
// 'sm:text-sm',
|
|
63
|
+
// Spacing
|
|
64
|
+
'mr-1',
|
|
65
|
+
// Flexbox
|
|
66
|
+
'flex items-center justify-center',
|
|
67
|
+
'shrink-0',
|
|
68
|
+
// Color and Background
|
|
69
|
+
'bg-transparent',
|
|
70
|
+
'text-general-200',
|
|
71
|
+
// Size
|
|
72
|
+
'w-6 h-full',
|
|
73
|
+
// Shape
|
|
74
|
+
'rounded-tr-md',
|
|
75
|
+
'rounded-br-md',
|
|
76
|
+
],
|
|
77
|
+
},
|
|
78
|
+
panel: {
|
|
79
|
+
class: [
|
|
80
|
+
// Position
|
|
81
|
+
'absolute top-0 left-0 !z-[9999]',
|
|
82
|
+
'mt-2',
|
|
83
|
+
'max-w-[30vw]',
|
|
84
|
+
// Shape
|
|
85
|
+
'border-0',
|
|
86
|
+
'rounded-lg',
|
|
87
|
+
'shadow-panel',
|
|
88
|
+
// Color
|
|
89
|
+
'bg-surface-0',
|
|
90
|
+
'text-surface-800',
|
|
91
|
+
],
|
|
92
|
+
},
|
|
93
|
+
wrapper: function (_a) {
|
|
94
|
+
var props = _a.props;
|
|
95
|
+
return ({
|
|
96
|
+
class: [
|
|
97
|
+
// Sizing
|
|
98
|
+
'max-h-[15rem]',
|
|
99
|
+
// Shape
|
|
100
|
+
'border-[0.5px]',
|
|
101
|
+
// Color
|
|
102
|
+
'bg-white',
|
|
103
|
+
'border-grayscale-900',
|
|
104
|
+
// Misc
|
|
105
|
+
'overflow-auto',
|
|
106
|
+
{
|
|
107
|
+
'rounded-lg': !props.filter,
|
|
108
|
+
'rounded-br-lg rounded-bl-lg': props.filter,
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
});
|
|
112
|
+
},
|
|
113
|
+
list: {
|
|
114
|
+
class: 'list-none m-0',
|
|
115
|
+
},
|
|
116
|
+
item: function (_a) {
|
|
117
|
+
var context = _a.context;
|
|
118
|
+
return ({
|
|
119
|
+
class: [
|
|
120
|
+
// Font
|
|
121
|
+
'text-xs font-normal',
|
|
122
|
+
'w-full overflow-hidden text-ellipsis',
|
|
123
|
+
// Position
|
|
124
|
+
'relative',
|
|
125
|
+
// Shape
|
|
126
|
+
'border-0',
|
|
127
|
+
'rounded-none',
|
|
128
|
+
// Spacing
|
|
129
|
+
'm-0',
|
|
130
|
+
'py-2 px-4',
|
|
131
|
+
// Color
|
|
132
|
+
{ '!font-medium': context.selected },
|
|
133
|
+
{
|
|
134
|
+
'text-surface-700': !context.focused && !context.selected && !context.disabled,
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
'text-surface-600': !context.focused && !context.selected && context.disabled,
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
'bg-primary-50 text-surface-700': context.focused && !context.selected,
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
'bg-primary-50 text-primary-500': context.focused && context.selected,
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
'text-surface-700': !context.focused && context.selected,
|
|
147
|
+
},
|
|
148
|
+
//States
|
|
149
|
+
'hover:bg-primary-bg-weak hover:text-primary',
|
|
150
|
+
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-primary-500',
|
|
151
|
+
// Misc
|
|
152
|
+
{ 'pointer-events-none cursor-default': context.disabled },
|
|
153
|
+
{ 'cursor-pointer': !context.disabled },
|
|
154
|
+
'overflow-hidden',
|
|
155
|
+
'whitespace-nowrap',
|
|
156
|
+
],
|
|
157
|
+
});
|
|
158
|
+
},
|
|
159
|
+
itemgroup: {
|
|
160
|
+
class: [
|
|
161
|
+
//Font
|
|
162
|
+
'font-bold',
|
|
163
|
+
'sm:text-sm',
|
|
164
|
+
// Spacing
|
|
165
|
+
'm-0',
|
|
166
|
+
'py-2 px-4',
|
|
167
|
+
// Color
|
|
168
|
+
'text-surface-800',
|
|
169
|
+
'bg-surface-0',
|
|
170
|
+
// Misc
|
|
171
|
+
'cursor-auto',
|
|
172
|
+
],
|
|
173
|
+
},
|
|
174
|
+
emptymessage: {
|
|
175
|
+
class: [
|
|
176
|
+
// Font
|
|
177
|
+
'leading-none text-xs',
|
|
178
|
+
// Spacing
|
|
179
|
+
'py-2 px-4',
|
|
180
|
+
// Color
|
|
181
|
+
'text-surface-800',
|
|
182
|
+
'bg-transparent',
|
|
183
|
+
],
|
|
184
|
+
},
|
|
185
|
+
header: index_js_1.default === null || index_js_1.default === void 0 ? void 0 : index_js_1.default.header,
|
|
186
|
+
filtercontainer: index_js_1.default === null || index_js_1.default === void 0 ? void 0 : index_js_1.default.filtercontainer,
|
|
187
|
+
filterinput: index_js_1.default === null || index_js_1.default === void 0 ? void 0 : index_js_1.default.filterinput,
|
|
188
|
+
filtericon: index_js_1.default === null || index_js_1.default === void 0 ? void 0 : index_js_1.default.filtericon,
|
|
189
|
+
clearicon: {
|
|
190
|
+
class: [
|
|
191
|
+
// Color
|
|
192
|
+
'text-general-200',
|
|
193
|
+
// Position
|
|
194
|
+
'absolute',
|
|
195
|
+
'top-1/2',
|
|
196
|
+
'right-12',
|
|
197
|
+
// Spacing
|
|
198
|
+
'-mt-2',
|
|
199
|
+
],
|
|
200
|
+
},
|
|
201
|
+
transition: {
|
|
202
|
+
enterFromClass: 'opacity-0 scale-y-[0.8]',
|
|
203
|
+
enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
|
|
204
|
+
leaveActiveClass: 'transition-opacity duration-100 ease-linear',
|
|
205
|
+
leaveToClass: 'opacity-0',
|
|
206
|
+
},
|
|
207
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace root {
|
|
3
|
+
let _class: string[];
|
|
4
|
+
export { _class as class };
|
|
5
|
+
}
|
|
6
|
+
function legend({ props }: {
|
|
7
|
+
props: any;
|
|
8
|
+
}): {
|
|
9
|
+
class: (string | {
|
|
10
|
+
'p-0': any;
|
|
11
|
+
'px-3 py-1.5': boolean;
|
|
12
|
+
''?: undefined;
|
|
13
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-primary-600 ring-inset'?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
'': any;
|
|
16
|
+
'p-0'?: undefined;
|
|
17
|
+
'px-3 py-1.5'?: undefined;
|
|
18
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-primary-600 ring-inset'?: undefined;
|
|
19
|
+
} | {
|
|
20
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-primary-600 ring-inset': any;
|
|
21
|
+
'p-0'?: undefined;
|
|
22
|
+
'px-3 py-1.5'?: undefined;
|
|
23
|
+
''?: undefined;
|
|
24
|
+
})[];
|
|
25
|
+
};
|
|
26
|
+
function toggler({ props }: {
|
|
27
|
+
props: any;
|
|
28
|
+
}): {
|
|
29
|
+
class: (string | {
|
|
30
|
+
'px-3 py-1.5': any;
|
|
31
|
+
'rounded-md'?: undefined;
|
|
32
|
+
'text-surface-700 hover:text-surface-900 hover:text-surface-900'?: undefined;
|
|
33
|
+
'hover:text-surface-900'?: undefined;
|
|
34
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-600'?: undefined;
|
|
35
|
+
'transition-none cursor-pointer overflow-hidden select-none'?: undefined;
|
|
36
|
+
} | {
|
|
37
|
+
'rounded-md': any;
|
|
38
|
+
'px-3 py-1.5'?: undefined;
|
|
39
|
+
'text-surface-700 hover:text-surface-900 hover:text-surface-900'?: undefined;
|
|
40
|
+
'hover:text-surface-900'?: undefined;
|
|
41
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-600'?: undefined;
|
|
42
|
+
'transition-none cursor-pointer overflow-hidden select-none'?: undefined;
|
|
43
|
+
} | {
|
|
44
|
+
'text-surface-700 hover:text-surface-900 hover:text-surface-900': any;
|
|
45
|
+
'px-3 py-1.5'?: undefined;
|
|
46
|
+
'rounded-md'?: undefined;
|
|
47
|
+
'hover:text-surface-900'?: undefined;
|
|
48
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-600'?: undefined;
|
|
49
|
+
'transition-none cursor-pointer overflow-hidden select-none'?: undefined;
|
|
50
|
+
} | {
|
|
51
|
+
'hover:text-surface-900': any;
|
|
52
|
+
'px-3 py-1.5'?: undefined;
|
|
53
|
+
'rounded-md'?: undefined;
|
|
54
|
+
'text-surface-700 hover:text-surface-900 hover:text-surface-900'?: undefined;
|
|
55
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-600'?: undefined;
|
|
56
|
+
'transition-none cursor-pointer overflow-hidden select-none'?: undefined;
|
|
57
|
+
} | {
|
|
58
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-600': any;
|
|
59
|
+
'px-3 py-1.5'?: undefined;
|
|
60
|
+
'rounded-md'?: undefined;
|
|
61
|
+
'text-surface-700 hover:text-surface-900 hover:text-surface-900'?: undefined;
|
|
62
|
+
'hover:text-surface-900'?: undefined;
|
|
63
|
+
'transition-none cursor-pointer overflow-hidden select-none'?: undefined;
|
|
64
|
+
} | {
|
|
65
|
+
'transition-none cursor-pointer overflow-hidden select-none': any;
|
|
66
|
+
'px-3 py-1.5'?: undefined;
|
|
67
|
+
'rounded-md'?: undefined;
|
|
68
|
+
'text-surface-700 hover:text-surface-900 hover:text-surface-900'?: undefined;
|
|
69
|
+
'hover:text-surface-900'?: undefined;
|
|
70
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-600'?: undefined;
|
|
71
|
+
})[];
|
|
72
|
+
};
|
|
73
|
+
namespace togglerIcon {
|
|
74
|
+
let _class_1: string;
|
|
75
|
+
export { _class_1 as class };
|
|
76
|
+
}
|
|
77
|
+
namespace legendTitle {
|
|
78
|
+
let _class_2: string;
|
|
79
|
+
export { _class_2 as class };
|
|
80
|
+
}
|
|
81
|
+
namespace content {
|
|
82
|
+
let _class_3: string;
|
|
83
|
+
export { _class_3 as class };
|
|
84
|
+
}
|
|
85
|
+
namespace transition {
|
|
86
|
+
let enterFromClass: string;
|
|
87
|
+
let enterActiveClass: string;
|
|
88
|
+
let enterToClass: string;
|
|
89
|
+
let leaveFromClass: string;
|
|
90
|
+
let leaveActiveClass: string;
|
|
91
|
+
let leaveToClass: string;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
export default _default;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
root: {
|
|
5
|
+
class: [
|
|
6
|
+
'block',
|
|
7
|
+
// Spacing
|
|
8
|
+
'px-5 md:px-6 py-5',
|
|
9
|
+
// Shape
|
|
10
|
+
'rounded-md rounded-lg',
|
|
11
|
+
// Color
|
|
12
|
+
'bg-surface-0',
|
|
13
|
+
'text-surface-700/80',
|
|
14
|
+
'ring-1 ring-inset ring-surface-300',
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
legend: function (_a) {
|
|
18
|
+
var props = _a.props;
|
|
19
|
+
return ({
|
|
20
|
+
class: [
|
|
21
|
+
// Font
|
|
22
|
+
'font-medium',
|
|
23
|
+
'leading-none',
|
|
24
|
+
//Spacing
|
|
25
|
+
{ 'p-0': props.toggleable, 'px-3 py-1.5': !props.toggleable },
|
|
26
|
+
// Shape
|
|
27
|
+
'rounded-md',
|
|
28
|
+
// Color
|
|
29
|
+
'text-surface-700/80',
|
|
30
|
+
'bg-surface-0',
|
|
31
|
+
// Transition
|
|
32
|
+
'transition-none',
|
|
33
|
+
// States
|
|
34
|
+
{ '': props.toggleable },
|
|
35
|
+
{
|
|
36
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-primary-600 ring-inset': props.toggleable,
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
});
|
|
40
|
+
},
|
|
41
|
+
toggler: function (_a) {
|
|
42
|
+
var props = _a.props;
|
|
43
|
+
return ({
|
|
44
|
+
class: [
|
|
45
|
+
// Alignments
|
|
46
|
+
'flex items-center justify-center',
|
|
47
|
+
'relative',
|
|
48
|
+
//Spacing
|
|
49
|
+
{ 'px-3 py-1.5': props.toggleable },
|
|
50
|
+
// Shape
|
|
51
|
+
{ 'rounded-md': props.toggleable },
|
|
52
|
+
// Color
|
|
53
|
+
{
|
|
54
|
+
'text-surface-700 hover:text-surface-900 hover:text-surface-900': props.toggleable,
|
|
55
|
+
},
|
|
56
|
+
// States
|
|
57
|
+
{
|
|
58
|
+
'hover:text-surface-900': props.toggleable,
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-600': props.toggleable,
|
|
62
|
+
},
|
|
63
|
+
// Misc
|
|
64
|
+
{
|
|
65
|
+
'transition-none cursor-pointer overflow-hidden select-none': props.toggleable,
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
});
|
|
69
|
+
},
|
|
70
|
+
togglerIcon: {
|
|
71
|
+
class: 'mr-2 inline-block',
|
|
72
|
+
},
|
|
73
|
+
legendTitle: {
|
|
74
|
+
class: 'flex items-center justify-center leading-none',
|
|
75
|
+
},
|
|
76
|
+
content: {
|
|
77
|
+
class: 'p-0',
|
|
78
|
+
},
|
|
79
|
+
transition: {
|
|
80
|
+
enterFromClass: 'max-h-0',
|
|
81
|
+
enterActiveClass: 'overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]',
|
|
82
|
+
enterToClass: 'max-h-[1000px]',
|
|
83
|
+
leaveFromClass: 'max-h-[1000px]',
|
|
84
|
+
leaveActiveClass: 'overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]',
|
|
85
|
+
leaveToClass: 'max-h-0',
|
|
86
|
+
},
|
|
87
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
let root: {
|
|
3
|
+
'data-wv-name': string;
|
|
4
|
+
'data-wv-section': string;
|
|
5
|
+
};
|
|
6
|
+
let wrapper: {
|
|
7
|
+
class: string[];
|
|
8
|
+
'data-wv-section': string;
|
|
9
|
+
};
|
|
10
|
+
function input({ state }: {
|
|
11
|
+
state: any;
|
|
12
|
+
}): {
|
|
13
|
+
class: {
|
|
14
|
+
'': boolean;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
function buttonupload({ props }: {
|
|
18
|
+
props: any;
|
|
19
|
+
}): {
|
|
20
|
+
class: {
|
|
21
|
+
'mb-[21px]': any;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
namespace requirements {
|
|
25
|
+
let _class: string;
|
|
26
|
+
export { _class as class };
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
root: {
|
|
5
|
+
'data-wv-name': 'fileupload',
|
|
6
|
+
'data-wv-section': 'root',
|
|
7
|
+
},
|
|
8
|
+
wrapper: {
|
|
9
|
+
'class': ['w-full'],
|
|
10
|
+
'data-wv-section': 'wrapper',
|
|
11
|
+
},
|
|
12
|
+
input: function (_a) {
|
|
13
|
+
var state = _a.state;
|
|
14
|
+
return ({
|
|
15
|
+
class: [
|
|
16
|
+
{
|
|
17
|
+
'': state.fileName != null,
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
});
|
|
21
|
+
},
|
|
22
|
+
buttonupload: function (_a) {
|
|
23
|
+
var props = _a.props;
|
|
24
|
+
return ({
|
|
25
|
+
class: [{ 'mb-[21px]': props.fileExtensions || props.fileRequirements }],
|
|
26
|
+
});
|
|
27
|
+
},
|
|
28
|
+
requirements: {
|
|
29
|
+
class: 'flex justify-start',
|
|
30
|
+
},
|
|
31
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
root: () => {
|
|
3
|
+
class: string[];
|
|
4
|
+
'data-wv-section': string;
|
|
5
|
+
};
|
|
6
|
+
fields: {
|
|
7
|
+
class: string[];
|
|
8
|
+
};
|
|
9
|
+
'fields-wrapper': {
|
|
10
|
+
class: string[];
|
|
11
|
+
'data-wv-section': string;
|
|
12
|
+
};
|
|
13
|
+
footer: {
|
|
14
|
+
class: string[];
|
|
15
|
+
};
|
|
16
|
+
'action-buttons': {
|
|
17
|
+
class: string[];
|
|
18
|
+
'data-wv-section': string;
|
|
19
|
+
};
|
|
20
|
+
'button-wrapper': {
|
|
21
|
+
class: string[];
|
|
22
|
+
'data-wv-section': string;
|
|
23
|
+
};
|
|
24
|
+
'cancel-button': {
|
|
25
|
+
'data-wv-section': string;
|
|
26
|
+
};
|
|
27
|
+
'clear-button': {
|
|
28
|
+
'data-wv-section': string;
|
|
29
|
+
};
|
|
30
|
+
'submit-button': {
|
|
31
|
+
'data-wv-section': string;
|
|
32
|
+
};
|
|
33
|
+
staycheckbox: {
|
|
34
|
+
class: string[];
|
|
35
|
+
};
|
|
36
|
+
'validator-message': {
|
|
37
|
+
class: string[];
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
// :class="['ts-form', { 'sticky-buttons': props.stickyButtons }]"
|
|
5
|
+
'root': function () { return ({
|
|
6
|
+
'class': [
|
|
7
|
+
'flex flex-col gap-3 text-general-900 text-[0.75rem] font-medium leading-[16.8px]',
|
|
8
|
+
],
|
|
9
|
+
'data-wv-section': 'root',
|
|
10
|
+
}); },
|
|
11
|
+
'fields': {
|
|
12
|
+
class: ['grid gap-y-3 gap-x-6'],
|
|
13
|
+
},
|
|
14
|
+
'fields-wrapper': {
|
|
15
|
+
'class': ['grid gap-y-3 gap-x-6'],
|
|
16
|
+
'data-wv-section': 'fields',
|
|
17
|
+
},
|
|
18
|
+
'footer': {
|
|
19
|
+
class: ['flex flex-col self-end gap-3'],
|
|
20
|
+
},
|
|
21
|
+
'action-buttons': {
|
|
22
|
+
'class': ['relative flex flex-col items-end justify-end gap-1'],
|
|
23
|
+
'data-wv-section': 'action-buttons',
|
|
24
|
+
},
|
|
25
|
+
'button-wrapper': {
|
|
26
|
+
'class': ['flex items-end justify-end gap-1'],
|
|
27
|
+
'data-wv-section': 'button-wrapper',
|
|
28
|
+
},
|
|
29
|
+
'cancel-button': {
|
|
30
|
+
'data-wv-section': 'cancel-button',
|
|
31
|
+
},
|
|
32
|
+
'clear-button': {
|
|
33
|
+
'data-wv-section': 'clear-button',
|
|
34
|
+
},
|
|
35
|
+
'submit-button': {
|
|
36
|
+
'data-wv-section': 'submit-button',
|
|
37
|
+
},
|
|
38
|
+
'staycheckbox': {
|
|
39
|
+
class: ['cursor-pointer flex gap-2 w-max ml-auto items-center justify-end'],
|
|
40
|
+
},
|
|
41
|
+
'validator-message': {
|
|
42
|
+
class: ['static w-max transform-none'],
|
|
43
|
+
},
|
|
44
|
+
};
|