@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.
Files changed (192) hide show
  1. package/fixedasset/accordion/index.d.ts +37 -0
  2. package/fixedasset/accordion/index.js +70 -0
  3. package/fixedasset/autocomplete/index.d.ts +188 -0
  4. package/fixedasset/autocomplete/index.js +247 -0
  5. package/fixedasset/avatar/index.d.ts +85 -0
  6. package/fixedasset/avatar/index.js +44 -0
  7. package/fixedasset/avatargroup/index.d.ts +8 -0
  8. package/fixedasset/avatargroup/index.js +9 -0
  9. package/fixedasset/badge/index.d.ts +47 -0
  10. package/fixedasset/badge/index.js +60 -0
  11. package/fixedasset/badgedirective/index.d.ts +50 -0
  12. package/fixedasset/badgedirective/index.js +49 -0
  13. package/fixedasset/badgegroup/index.d.ts +45 -0
  14. package/fixedasset/badgegroup/index.js +29 -0
  15. package/fixedasset/breadcrumb/index.d.ts +25 -0
  16. package/fixedasset/breadcrumb/index.js +31 -0
  17. package/fixedasset/button/index.d.ts +46 -0
  18. package/fixedasset/button/index.js +423 -0
  19. package/fixedasset/buttonbulkaction/index.d.ts +32 -0
  20. package/fixedasset/buttonbulkaction/index.js +35 -0
  21. package/fixedasset/buttondownload/index.d.ts +12 -0
  22. package/fixedasset/buttondownload/index.js +13 -0
  23. package/fixedasset/buttonfilter/index.d.ts +12 -0
  24. package/fixedasset/buttonfilter/index.js +13 -0
  25. package/fixedasset/buttonradio/index.d.ts +58 -0
  26. package/fixedasset/buttonradio/index.js +109 -0
  27. package/fixedasset/buttonsearch/index.d.ts +65 -0
  28. package/fixedasset/buttonsearch/index.js +62 -0
  29. package/fixedasset/calendar/index.d.ts +267 -0
  30. package/fixedasset/calendar/index.js +610 -0
  31. package/fixedasset/card/index.d.ts +31 -0
  32. package/fixedasset/card/index.js +32 -0
  33. package/fixedasset/carousel/index.d.ts +57 -0
  34. package/fixedasset/carousel/index.js +129 -0
  35. package/fixedasset/cascadeselect/index.d.ts +82 -0
  36. package/fixedasset/cascadeselect/index.js +191 -0
  37. package/fixedasset/changelog/index.d.ts +32 -0
  38. package/fixedasset/changelog/index.js +31 -0
  39. package/fixedasset/checkbox/index.d.ts +81 -0
  40. package/fixedasset/checkbox/index.js +107 -0
  41. package/fixedasset/chip/index.d.ts +23 -0
  42. package/fixedasset/chip/index.js +40 -0
  43. package/fixedasset/chips/index.d.ts +38 -0
  44. package/fixedasset/chips/index.js +98 -0
  45. package/fixedasset/colorpicker/index.d.ts +51 -0
  46. package/fixedasset/colorpicker/index.js +118 -0
  47. package/fixedasset/colors.config.json +77 -0
  48. package/fixedasset/confirmpopup/index.d.ts +39 -0
  49. package/fixedasset/confirmpopup/index.js +104 -0
  50. package/fixedasset/contextmenu/index.d.ts +63 -0
  51. package/fixedasset/contextmenu/index.js +113 -0
  52. package/fixedasset/datatable/index.d.ts +286 -0
  53. package/fixedasset/datatable/index.js +253 -0
  54. package/fixedasset/dataview/index.d.ts +15 -0
  55. package/fixedasset/dataview/index.js +36 -0
  56. package/fixedasset/dataviewlayoutoptions/index.d.ts +13 -0
  57. package/fixedasset/dataviewlayoutoptions/index.js +58 -0
  58. package/fixedasset/dialog/index.d.ts +87 -0
  59. package/fixedasset/dialog/index.js +220 -0
  60. package/fixedasset/dialogconfirm/index.d.ts +42 -0
  61. package/fixedasset/dialogconfirm/index.js +45 -0
  62. package/fixedasset/dialogform/index.d.ts +71 -0
  63. package/fixedasset/dialogform/index.js +68 -0
  64. package/fixedasset/divider/index.d.ts +192 -0
  65. package/fixedasset/divider/index.js +64 -0
  66. package/fixedasset/dock/index.d.ts +51 -0
  67. package/fixedasset/dock/index.js +92 -0
  68. package/fixedasset/dropdown/index.d.ts +136 -0
  69. package/fixedasset/dropdown/index.js +207 -0
  70. package/fixedasset/fieldset/index.d.ts +94 -0
  71. package/fixedasset/fieldset/index.js +87 -0
  72. package/fixedasset/fileupload/index.d.ts +29 -0
  73. package/fixedasset/fileupload/index.js +31 -0
  74. package/fixedasset/form/index.d.ts +40 -0
  75. package/fixedasset/form/index.js +44 -0
  76. package/fixedasset/global.d.ts +8 -0
  77. package/fixedasset/global.js +14 -0
  78. package/fixedasset/image/index.d.ts +88 -0
  79. package/fixedasset/image/index.js +136 -0
  80. package/fixedasset/index.d.ts +190 -0
  81. package/fixedasset/index.js +201 -0
  82. package/fixedasset/index.system.js +76 -0
  83. package/fixedasset/inlinemessage/index.d.ts +20 -0
  84. package/fixedasset/inlinemessage/index.js +30 -0
  85. package/fixedasset/inputbadge/index.d.ts +57 -0
  86. package/fixedasset/inputbadge/index.js +57 -0
  87. package/fixedasset/inputcurrency/index.d.ts +27 -0
  88. package/fixedasset/inputcurrency/index.js +22 -0
  89. package/fixedasset/inputgroup/index.d.ts +9 -0
  90. package/fixedasset/inputgroup/index.js +37 -0
  91. package/fixedasset/inputgroupaddon/index.d.ts +17 -0
  92. package/fixedasset/inputgroupaddon/index.js +34 -0
  93. package/fixedasset/inputmask/index.d.ts +11 -0
  94. package/fixedasset/inputmask/index.js +29 -0
  95. package/fixedasset/inputnumber/index.d.ts +46 -0
  96. package/fixedasset/inputnumber/index.js +58 -0
  97. package/fixedasset/inputotp/index.d.ts +137 -0
  98. package/fixedasset/inputotp/index.js +63 -0
  99. package/fixedasset/inputphonenumber/index.d.ts +37 -0
  100. package/fixedasset/inputphonenumber/index.js +34 -0
  101. package/fixedasset/inputswitch/index.d.ts +67 -0
  102. package/fixedasset/inputswitch/index.js +100 -0
  103. package/fixedasset/inputtext/index.d.ts +18 -0
  104. package/fixedasset/inputtext/index.js +28 -0
  105. package/fixedasset/knob/index.d.ts +22 -0
  106. package/fixedasset/knob/index.js +45 -0
  107. package/fixedasset/listbox/index.d.ts +79 -0
  108. package/fixedasset/listbox/index.js +138 -0
  109. package/fixedasset/megamenu/index.d.ts +105 -0
  110. package/fixedasset/megamenu/index.js +202 -0
  111. package/fixedasset/menu/index.d.ts +49 -0
  112. package/fixedasset/menu/index.js +110 -0
  113. package/fixedasset/menubar/index.d.ts +85 -0
  114. package/fixedasset/menubar/index.js +172 -0
  115. package/fixedasset/message/index.d.ts +41 -0
  116. package/fixedasset/message/index.js +85 -0
  117. package/fixedasset/multiselect/index.d.ts +243 -0
  118. package/fixedasset/multiselect/index.js +328 -0
  119. package/fixedasset/orderlist/index.d.ts +99 -0
  120. package/fixedasset/orderlist/index.js +245 -0
  121. package/fixedasset/organizationchart/index.d.ts +71 -0
  122. package/fixedasset/organizationchart/index.js +129 -0
  123. package/fixedasset/overlaypanel/index.d.ts +17 -0
  124. package/fixedasset/overlaypanel/index.js +34 -0
  125. package/fixedasset/paginator/index.d.ts +210 -0
  126. package/fixedasset/paginator/index.js +474 -0
  127. package/fixedasset/panel/index.d.ts +43 -0
  128. package/fixedasset/panel/index.js +85 -0
  129. package/fixedasset/panelmenu/index.d.ts +76 -0
  130. package/fixedasset/panelmenu/index.js +124 -0
  131. package/fixedasset/password/index.d.ts +45 -0
  132. package/fixedasset/password/index.js +96 -0
  133. package/fixedasset/picklist/index.d.ts +245 -0
  134. package/fixedasset/picklist/index.js +613 -0
  135. package/fixedasset/progressbar/index.d.ts +117 -0
  136. package/fixedasset/progressbar/index.js +102 -0
  137. package/fixedasset/rating/index.d.ts +47 -0
  138. package/fixedasset/rating/index.js +88 -0
  139. package/fixedasset/ripple/index.d.ts +8 -0
  140. package/fixedasset/ripple/index.js +8 -0
  141. package/fixedasset/scrollpanel/index.d.ts +19 -0
  142. package/fixedasset/scrollpanel/index.js +62 -0
  143. package/fixedasset/scrolltop/index.d.ts +50 -0
  144. package/fixedasset/scrolltop/index.js +42 -0
  145. package/fixedasset/selectbutton/index.d.ts +35 -0
  146. package/fixedasset/selectbutton/index.js +60 -0
  147. package/fixedasset/sidebar/index.d.ts +66 -0
  148. package/fixedasset/sidebar/index.js +145 -0
  149. package/fixedasset/skeleton/index.d.ts +16 -0
  150. package/fixedasset/skeleton/index.js +22 -0
  151. package/fixedasset/slider/index.d.ts +55 -0
  152. package/fixedasset/slider/index.js +126 -0
  153. package/fixedasset/splitbutton/index.d.ts +6690 -0
  154. package/fixedasset/splitbutton/index.js +786 -0
  155. package/fixedasset/steps/index.d.ts +108 -0
  156. package/fixedasset/steps/index.js +119 -0
  157. package/fixedasset/style.css +5888 -0
  158. package/fixedasset/tabmenu/index.d.ts +57 -0
  159. package/fixedasset/tabmenu/index.js +75 -0
  160. package/fixedasset/tabview/index.d.ts +67 -0
  161. package/fixedasset/tabview/index.js +148 -0
  162. package/fixedasset/tag/index.d.ts +32 -0
  163. package/fixedasset/tag/index.js +37 -0
  164. package/fixedasset/terminal/index.d.ts +27 -0
  165. package/fixedasset/terminal/index.js +55 -0
  166. package/fixedasset/textarea/index.d.ts +12 -0
  167. package/fixedasset/textarea/index.js +51 -0
  168. package/fixedasset/tieredmenu/index.d.ts +56 -0
  169. package/fixedasset/tieredmenu/index.js +108 -0
  170. package/fixedasset/timeline/index.d.ts +53 -0
  171. package/fixedasset/timeline/index.js +83 -0
  172. package/fixedasset/toast/index.d.ts +61 -0
  173. package/fixedasset/toast/index.js +95 -0
  174. package/fixedasset/togglebutton/index.d.ts +42 -0
  175. package/fixedasset/togglebutton/index.js +77 -0
  176. package/fixedasset/toolbar/index.d.ts +19 -0
  177. package/fixedasset/toolbar/index.js +29 -0
  178. package/fixedasset/tooltip/index.d.ts +22 -0
  179. package/fixedasset/tooltip/index.js +42 -0
  180. package/fixedasset/tree/index.d.ts +117 -0
  181. package/fixedasset/tree/index.js +256 -0
  182. package/fixedasset/treeselect/index.d.ts +158 -0
  183. package/fixedasset/treeselect/index.js +338 -0
  184. package/fixedasset/tristatecheckbox/index.d.ts +49 -0
  185. package/fixedasset/tristatecheckbox/index.js +106 -0
  186. package/fixedasset/validatormessage/index.d.ts +8 -0
  187. package/fixedasset/validatormessage/index.js +9 -0
  188. package/fixedasset/workcalendar/index.d.ts +27 -0
  189. package/fixedasset/workcalendar/index.js +36 -0
  190. package/index.d.ts +1 -0
  191. package/index.js +3 -1
  192. package/package.json +1 -1
@@ -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
+ };
@@ -0,0 +1,8 @@
1
+ export const ringClass: (string | {
2
+ 'ring-1 p-[1px]': boolean;
3
+ 'ring-[0.5px] p-[0.5px]': boolean;
4
+ })[];
5
+ declare namespace _default {
6
+ let css: string;
7
+ }
8
+ export default _default;