@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.
Files changed (192) hide show
  1. package/index.d.ts +1 -0
  2. package/index.js +5 -0
  3. package/package.json +13 -0
  4. package/wangsvue/accordion/index.d.ts +37 -0
  5. package/wangsvue/accordion/index.js +70 -0
  6. package/wangsvue/autocomplete/index.d.ts +188 -0
  7. package/wangsvue/autocomplete/index.js +247 -0
  8. package/wangsvue/avatar/index.d.ts +85 -0
  9. package/wangsvue/avatar/index.js +44 -0
  10. package/wangsvue/avatargroup/index.d.ts +8 -0
  11. package/wangsvue/avatargroup/index.js +9 -0
  12. package/wangsvue/badge/index.d.ts +47 -0
  13. package/wangsvue/badge/index.js +60 -0
  14. package/wangsvue/badgedirective/index.d.ts +50 -0
  15. package/wangsvue/badgedirective/index.js +49 -0
  16. package/wangsvue/badgegroup/index.d.ts +45 -0
  17. package/wangsvue/badgegroup/index.js +29 -0
  18. package/wangsvue/breadcrumb/index.d.ts +25 -0
  19. package/wangsvue/breadcrumb/index.js +31 -0
  20. package/wangsvue/button/index.d.ts +46 -0
  21. package/wangsvue/button/index.js +423 -0
  22. package/wangsvue/buttonbulkaction/index.d.ts +32 -0
  23. package/wangsvue/buttonbulkaction/index.js +35 -0
  24. package/wangsvue/buttondownload/index.d.ts +12 -0
  25. package/wangsvue/buttondownload/index.js +13 -0
  26. package/wangsvue/buttonfilter/index.d.ts +12 -0
  27. package/wangsvue/buttonfilter/index.js +13 -0
  28. package/wangsvue/buttonradio/index.d.ts +58 -0
  29. package/wangsvue/buttonradio/index.js +109 -0
  30. package/wangsvue/buttonsearch/index.d.ts +65 -0
  31. package/wangsvue/buttonsearch/index.js +62 -0
  32. package/wangsvue/calendar/index.d.ts +267 -0
  33. package/wangsvue/calendar/index.js +610 -0
  34. package/wangsvue/card/index.d.ts +31 -0
  35. package/wangsvue/card/index.js +32 -0
  36. package/wangsvue/carousel/index.d.ts +57 -0
  37. package/wangsvue/carousel/index.js +129 -0
  38. package/wangsvue/cascadeselect/index.d.ts +82 -0
  39. package/wangsvue/cascadeselect/index.js +191 -0
  40. package/wangsvue/changelog/index.d.ts +32 -0
  41. package/wangsvue/changelog/index.js +31 -0
  42. package/wangsvue/checkbox/index.d.ts +81 -0
  43. package/wangsvue/checkbox/index.js +107 -0
  44. package/wangsvue/chip/index.d.ts +23 -0
  45. package/wangsvue/chip/index.js +40 -0
  46. package/wangsvue/chips/index.d.ts +38 -0
  47. package/wangsvue/chips/index.js +98 -0
  48. package/wangsvue/colorpicker/index.d.ts +51 -0
  49. package/wangsvue/colorpicker/index.js +118 -0
  50. package/wangsvue/colors.config.json +77 -0
  51. package/wangsvue/confirmpopup/index.d.ts +39 -0
  52. package/wangsvue/confirmpopup/index.js +104 -0
  53. package/wangsvue/contextmenu/index.d.ts +63 -0
  54. package/wangsvue/contextmenu/index.js +113 -0
  55. package/wangsvue/datatable/index.d.ts +286 -0
  56. package/wangsvue/datatable/index.js +253 -0
  57. package/wangsvue/dataview/index.d.ts +15 -0
  58. package/wangsvue/dataview/index.js +36 -0
  59. package/wangsvue/dataviewlayoutoptions/index.d.ts +13 -0
  60. package/wangsvue/dataviewlayoutoptions/index.js +58 -0
  61. package/wangsvue/dialog/index.d.ts +87 -0
  62. package/wangsvue/dialog/index.js +220 -0
  63. package/wangsvue/dialogconfirm/index.d.ts +42 -0
  64. package/wangsvue/dialogconfirm/index.js +45 -0
  65. package/wangsvue/dialogform/index.d.ts +71 -0
  66. package/wangsvue/dialogform/index.js +68 -0
  67. package/wangsvue/divider/index.d.ts +192 -0
  68. package/wangsvue/divider/index.js +64 -0
  69. package/wangsvue/dock/index.d.ts +51 -0
  70. package/wangsvue/dock/index.js +92 -0
  71. package/wangsvue/dropdown/index.d.ts +136 -0
  72. package/wangsvue/dropdown/index.js +207 -0
  73. package/wangsvue/fieldset/index.d.ts +94 -0
  74. package/wangsvue/fieldset/index.js +87 -0
  75. package/wangsvue/fileupload/index.d.ts +29 -0
  76. package/wangsvue/fileupload/index.js +31 -0
  77. package/wangsvue/form/index.d.ts +40 -0
  78. package/wangsvue/form/index.js +44 -0
  79. package/wangsvue/global.d.ts +8 -0
  80. package/wangsvue/global.js +14 -0
  81. package/wangsvue/image/index.d.ts +88 -0
  82. package/wangsvue/image/index.js +136 -0
  83. package/wangsvue/index.d.ts +190 -0
  84. package/wangsvue/index.js +201 -0
  85. package/wangsvue/index.system.js +76 -0
  86. package/wangsvue/inlinemessage/index.d.ts +20 -0
  87. package/wangsvue/inlinemessage/index.js +30 -0
  88. package/wangsvue/inputbadge/index.d.ts +57 -0
  89. package/wangsvue/inputbadge/index.js +57 -0
  90. package/wangsvue/inputcurrency/index.d.ts +27 -0
  91. package/wangsvue/inputcurrency/index.js +22 -0
  92. package/wangsvue/inputgroup/index.d.ts +9 -0
  93. package/wangsvue/inputgroup/index.js +37 -0
  94. package/wangsvue/inputgroupaddon/index.d.ts +17 -0
  95. package/wangsvue/inputgroupaddon/index.js +34 -0
  96. package/wangsvue/inputmask/index.d.ts +11 -0
  97. package/wangsvue/inputmask/index.js +29 -0
  98. package/wangsvue/inputnumber/index.d.ts +46 -0
  99. package/wangsvue/inputnumber/index.js +58 -0
  100. package/wangsvue/inputotp/index.d.ts +137 -0
  101. package/wangsvue/inputotp/index.js +63 -0
  102. package/wangsvue/inputphonenumber/index.d.ts +37 -0
  103. package/wangsvue/inputphonenumber/index.js +34 -0
  104. package/wangsvue/inputswitch/index.d.ts +67 -0
  105. package/wangsvue/inputswitch/index.js +100 -0
  106. package/wangsvue/inputtext/index.d.ts +18 -0
  107. package/wangsvue/inputtext/index.js +28 -0
  108. package/wangsvue/knob/index.d.ts +22 -0
  109. package/wangsvue/knob/index.js +45 -0
  110. package/wangsvue/listbox/index.d.ts +79 -0
  111. package/wangsvue/listbox/index.js +138 -0
  112. package/wangsvue/megamenu/index.d.ts +105 -0
  113. package/wangsvue/megamenu/index.js +202 -0
  114. package/wangsvue/menu/index.d.ts +49 -0
  115. package/wangsvue/menu/index.js +110 -0
  116. package/wangsvue/menubar/index.d.ts +85 -0
  117. package/wangsvue/menubar/index.js +172 -0
  118. package/wangsvue/message/index.d.ts +41 -0
  119. package/wangsvue/message/index.js +85 -0
  120. package/wangsvue/multiselect/index.d.ts +243 -0
  121. package/wangsvue/multiselect/index.js +328 -0
  122. package/wangsvue/orderlist/index.d.ts +99 -0
  123. package/wangsvue/orderlist/index.js +245 -0
  124. package/wangsvue/organizationchart/index.d.ts +71 -0
  125. package/wangsvue/organizationchart/index.js +129 -0
  126. package/wangsvue/overlaypanel/index.d.ts +17 -0
  127. package/wangsvue/overlaypanel/index.js +34 -0
  128. package/wangsvue/paginator/index.d.ts +210 -0
  129. package/wangsvue/paginator/index.js +474 -0
  130. package/wangsvue/panel/index.d.ts +43 -0
  131. package/wangsvue/panel/index.js +85 -0
  132. package/wangsvue/panelmenu/index.d.ts +76 -0
  133. package/wangsvue/panelmenu/index.js +124 -0
  134. package/wangsvue/password/index.d.ts +45 -0
  135. package/wangsvue/password/index.js +96 -0
  136. package/wangsvue/picklist/index.d.ts +245 -0
  137. package/wangsvue/picklist/index.js +613 -0
  138. package/wangsvue/progressbar/index.d.ts +117 -0
  139. package/wangsvue/progressbar/index.js +102 -0
  140. package/wangsvue/rating/index.d.ts +47 -0
  141. package/wangsvue/rating/index.js +88 -0
  142. package/wangsvue/ripple/index.d.ts +8 -0
  143. package/wangsvue/ripple/index.js +8 -0
  144. package/wangsvue/scrollpanel/index.d.ts +19 -0
  145. package/wangsvue/scrollpanel/index.js +62 -0
  146. package/wangsvue/scrolltop/index.d.ts +50 -0
  147. package/wangsvue/scrolltop/index.js +42 -0
  148. package/wangsvue/selectbutton/index.d.ts +35 -0
  149. package/wangsvue/selectbutton/index.js +60 -0
  150. package/wangsvue/sidebar/index.d.ts +66 -0
  151. package/wangsvue/sidebar/index.js +145 -0
  152. package/wangsvue/skeleton/index.d.ts +16 -0
  153. package/wangsvue/skeleton/index.js +22 -0
  154. package/wangsvue/slider/index.d.ts +55 -0
  155. package/wangsvue/slider/index.js +126 -0
  156. package/wangsvue/splitbutton/index.d.ts +6690 -0
  157. package/wangsvue/splitbutton/index.js +786 -0
  158. package/wangsvue/steps/index.d.ts +108 -0
  159. package/wangsvue/steps/index.js +119 -0
  160. package/wangsvue/style.css +5823 -0
  161. package/wangsvue/tabmenu/index.d.ts +57 -0
  162. package/wangsvue/tabmenu/index.js +75 -0
  163. package/wangsvue/tabview/index.d.ts +67 -0
  164. package/wangsvue/tabview/index.js +148 -0
  165. package/wangsvue/tag/index.d.ts +32 -0
  166. package/wangsvue/tag/index.js +37 -0
  167. package/wangsvue/terminal/index.d.ts +27 -0
  168. package/wangsvue/terminal/index.js +55 -0
  169. package/wangsvue/textarea/index.d.ts +12 -0
  170. package/wangsvue/textarea/index.js +51 -0
  171. package/wangsvue/tieredmenu/index.d.ts +56 -0
  172. package/wangsvue/tieredmenu/index.js +108 -0
  173. package/wangsvue/timeline/index.d.ts +53 -0
  174. package/wangsvue/timeline/index.js +83 -0
  175. package/wangsvue/toast/index.d.ts +61 -0
  176. package/wangsvue/toast/index.js +95 -0
  177. package/wangsvue/togglebutton/index.d.ts +42 -0
  178. package/wangsvue/togglebutton/index.js +77 -0
  179. package/wangsvue/toolbar/index.d.ts +19 -0
  180. package/wangsvue/toolbar/index.js +29 -0
  181. package/wangsvue/tooltip/index.d.ts +22 -0
  182. package/wangsvue/tooltip/index.js +42 -0
  183. package/wangsvue/tree/index.d.ts +117 -0
  184. package/wangsvue/tree/index.js +256 -0
  185. package/wangsvue/treeselect/index.d.ts +158 -0
  186. package/wangsvue/treeselect/index.js +338 -0
  187. package/wangsvue/tristatecheckbox/index.d.ts +49 -0
  188. package/wangsvue/tristatecheckbox/index.js +106 -0
  189. package/wangsvue/validatormessage/index.d.ts +8 -0
  190. package/wangsvue/validatormessage/index.js +9 -0
  191. package/wangsvue/workcalendar/index.d.ts +27 -0
  192. package/wangsvue/workcalendar/index.js +36 -0
@@ -0,0 +1,613 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ root: {
5
+ class: [
6
+ // Flexbox
7
+ 'flex lg:flex-row flex-col',
8
+ ],
9
+ },
10
+ sourcecontrols: {
11
+ class: [
12
+ // Flexbox & Alignment
13
+ 'flex lg:flex-col justify-center gap-2',
14
+ // Spacing
15
+ 'p-3',
16
+ ],
17
+ },
18
+ sourcemoveupbutton: {
19
+ root: function (_a) {
20
+ var context = _a.context;
21
+ return ({
22
+ class: [
23
+ // Flexbox & Alignment
24
+ 'relative inline-flex items-center justify-center',
25
+ // Shape
26
+ 'rounded-md',
27
+ // Color
28
+ 'text-white',
29
+ 'bg-primary-500',
30
+ 'border border-primary-500',
31
+ // Spacing & Size
32
+ 'text-sm',
33
+ 'w-8',
34
+ 'm-0',
35
+ 'px-2.5 py-1.5 min-w-[2rem]',
36
+ 'shadow-sm',
37
+ // Transitions
38
+ 'transition duration-200 ease-in-out',
39
+ // State
40
+ 'hover:bg-primary-600 hover:border-primary-600',
41
+ 'focus:outline-none focus:outline-offset-0 focus:ring-2',
42
+ 'focus:ring-primary-500',
43
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
44
+ // Interactivity
45
+ 'cursor-pointer user-select-none',
46
+ ],
47
+ });
48
+ },
49
+ label: {
50
+ class: [
51
+ // Flexbox
52
+ 'flex-initial',
53
+ // Size
54
+ 'w-0',
55
+ ],
56
+ },
57
+ },
58
+ sourcemovetopbutton: {
59
+ root: function (_a) {
60
+ var context = _a.context;
61
+ return ({
62
+ class: [
63
+ // Flexbox & Alignment
64
+ 'relative inline-flex items-center justify-center',
65
+ // Shape
66
+ 'rounded-md',
67
+ // Color
68
+ 'text-white',
69
+ 'bg-primary-500',
70
+ 'border border-primary-500',
71
+ // Spacing & Size
72
+ 'text-sm',
73
+ 'w-8',
74
+ 'm-0',
75
+ 'px-2.5 py-1.5 min-w-[2rem]',
76
+ 'shadow-sm',
77
+ // Transitions
78
+ 'transition duration-200 ease-in-out',
79
+ // State
80
+ 'hover:bg-primary-600 hover:border-primary-600',
81
+ 'focus:outline-none focus:outline-offset-0 focus:ring-2',
82
+ 'focus:ring-primary-500',
83
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
84
+ // Interactivity
85
+ 'cursor-pointer user-select-none',
86
+ ],
87
+ });
88
+ },
89
+ label: {
90
+ class: [
91
+ // Flexbox
92
+ 'flex-initial',
93
+ // Size
94
+ 'w-0',
95
+ ],
96
+ },
97
+ },
98
+ sourcemovedownbutton: {
99
+ root: function (_a) {
100
+ var context = _a.context;
101
+ return ({
102
+ class: [
103
+ // Flexbox & Alignment
104
+ 'relative inline-flex items-center justify-center',
105
+ // Shape
106
+ 'rounded-md',
107
+ // Color
108
+ 'text-white',
109
+ 'bg-primary-500',
110
+ 'border border-primary-500',
111
+ // Spacing & Size
112
+ 'text-sm',
113
+ 'w-8',
114
+ 'm-0',
115
+ 'px-2.5 py-1.5 min-w-[2rem]',
116
+ 'shadow-sm',
117
+ // Transitions
118
+ 'transition duration-200 ease-in-out',
119
+ // State
120
+ 'hover:bg-primary-600 hover:border-primary-600',
121
+ 'focus:outline-none focus:outline-offset-0 focus:ring-2',
122
+ 'focus:ring-primary-500',
123
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
124
+ // Interactivity
125
+ 'cursor-pointer user-select-none',
126
+ ],
127
+ });
128
+ },
129
+ label: {
130
+ class: [
131
+ // Flexbox
132
+ 'flex-initial',
133
+ // Size
134
+ 'w-0',
135
+ ],
136
+ },
137
+ },
138
+ sourcemovebottombutton: {
139
+ root: function (_a) {
140
+ var context = _a.context;
141
+ return ({
142
+ class: [
143
+ // Flexbox & Alignment
144
+ 'relative inline-flex items-center justify-center',
145
+ // Shape
146
+ 'rounded-md',
147
+ // Color
148
+ 'text-white',
149
+ 'bg-primary-500',
150
+ 'border border-primary-500',
151
+ // Spacing & Size
152
+ 'text-sm',
153
+ 'w-8',
154
+ 'm-0',
155
+ 'px-2.5 py-1.5 min-w-[2rem]',
156
+ 'shadow-sm',
157
+ // Transitions
158
+ 'transition duration-200 ease-in-out',
159
+ // State
160
+ 'hover:bg-primary-600 hover:border-primary-600',
161
+ 'focus:outline-none focus:outline-offset-0 focus:ring-2',
162
+ 'focus:ring-primary-500',
163
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
164
+ // Interactivity
165
+ 'cursor-pointer user-select-none',
166
+ ],
167
+ });
168
+ },
169
+ label: {
170
+ class: [
171
+ // Flexbox
172
+ 'flex-initial',
173
+ // Size
174
+ 'w-0',
175
+ ],
176
+ },
177
+ },
178
+ sourcewrapper: {
179
+ class: 'grow shrink basis-2/4',
180
+ },
181
+ sourceheader: {
182
+ class: [
183
+ 'font-semibold',
184
+ // Shape
185
+ 'border-b rounded-t-md',
186
+ // Spacing
187
+ 'py-3.5 px-3',
188
+ // Color
189
+ 'text-surface-800/80',
190
+ 'bg-surface-0',
191
+ 'border-surface-200 border-b',
192
+ ],
193
+ },
194
+ sourcelist: {
195
+ class: [
196
+ // Spacing
197
+ 'list-none m-0 p-0',
198
+ // Size
199
+ 'min-h-[12rem] max-h-[24rem]',
200
+ // Shape
201
+ 'rounded-b-md border-0',
202
+ // Color
203
+ 'text-surface-600/80',
204
+ 'bg-surface-0',
205
+ 'border border-surface-200',
206
+ // Spacing
207
+ 'py-3 px-0',
208
+ // Focus & Outline
209
+ 'outline-none',
210
+ // Misc
211
+ 'overflow-auto',
212
+ ],
213
+ },
214
+ item: function (_a) {
215
+ var context = _a.context;
216
+ return ({
217
+ class: [
218
+ // Position
219
+ 'relative',
220
+ // Spacing
221
+ 'py-3.5 px-3 m-0',
222
+ // Shape
223
+ 'border-b last:border-b-0',
224
+ // Transition
225
+ 'transition duration-200',
226
+ // Color
227
+ 'text-surface-700/80',
228
+ 'border-surface-200',
229
+ {
230
+ 'bg-surface-100': context.active && !context.focused,
231
+ },
232
+ {
233
+ 'bg-surface-200': context.active && context.focused,
234
+ },
235
+ {
236
+ 'bg-surface-50/70': !context.active && context.focused,
237
+ },
238
+ // State
239
+ 'hover:bg-surface-100',
240
+ // Misc
241
+ 'cursor-pointer overflow-hidden',
242
+ ],
243
+ });
244
+ },
245
+ buttons: {
246
+ class: 'flex lg:flex-col justify-center gap-2 p-3',
247
+ },
248
+ movetotargetbutton: {
249
+ root: function (_a) {
250
+ var context = _a.context;
251
+ return ({
252
+ class: [
253
+ // Flexbox & Alignment
254
+ 'relative inline-flex items-center justify-center',
255
+ // Shape
256
+ 'rounded-md',
257
+ // Color
258
+ 'text-white',
259
+ 'bg-primary-500',
260
+ 'border border-primary-500',
261
+ // Spacing & Size
262
+ 'text-sm',
263
+ 'w-8',
264
+ 'm-0',
265
+ 'px-2.5 py-1.5 min-w-[2rem]',
266
+ 'shadow-sm',
267
+ // Transitions
268
+ 'transition duration-200 ease-in-out',
269
+ // State
270
+ 'hover:bg-primary-600 hover:border-primary-600',
271
+ 'focus:outline-none focus:outline-offset-0 focus:ring-2',
272
+ 'focus:ring-primary-500',
273
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
274
+ // Interactivity
275
+ 'cursor-pointer user-select-none',
276
+ ],
277
+ });
278
+ },
279
+ label: {
280
+ class: [
281
+ // Flexbox
282
+ 'flex-initial',
283
+ // Size
284
+ 'w-0',
285
+ ],
286
+ },
287
+ },
288
+ movealltotargetbutton: {
289
+ root: function (_a) {
290
+ var context = _a.context;
291
+ return ({
292
+ class: [
293
+ // Flexbox & Alignment
294
+ 'relative inline-flex items-center justify-center',
295
+ // Shape
296
+ 'rounded-md',
297
+ // Color
298
+ 'text-white',
299
+ 'bg-primary-500',
300
+ 'border border-primary-500',
301
+ // Spacing & Size
302
+ 'text-sm',
303
+ 'w-8',
304
+ 'm-0',
305
+ 'px-2.5 py-1.5 min-w-[2rem]',
306
+ 'shadow-sm',
307
+ // Transitions
308
+ 'transition duration-200 ease-in-out',
309
+ // State
310
+ 'hover:bg-primary-600 hover:border-primary-600',
311
+ 'focus:outline-none focus:outline-offset-0 focus:ring-2',
312
+ 'focus:ring-primary-500',
313
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
314
+ // Interactivity
315
+ 'cursor-pointer user-select-none',
316
+ ],
317
+ });
318
+ },
319
+ label: {
320
+ class: [
321
+ // Flexbox
322
+ 'flex-initial',
323
+ // Size
324
+ 'w-0',
325
+ ],
326
+ },
327
+ },
328
+ movetosourcebutton: {
329
+ root: function (_a) {
330
+ var context = _a.context;
331
+ return ({
332
+ class: [
333
+ // Flexbox & Alignment
334
+ 'relative inline-flex items-center justify-center',
335
+ // Shape
336
+ 'rounded-md',
337
+ // Color
338
+ 'text-white',
339
+ 'bg-primary-500',
340
+ 'border border-primary-500',
341
+ // Spacing & Size
342
+ 'text-sm',
343
+ 'w-8',
344
+ 'm-0',
345
+ 'px-2.5 py-1.5 min-w-[2rem]',
346
+ 'shadow-sm',
347
+ // Transitions
348
+ 'transition duration-200 ease-in-out',
349
+ // State
350
+ 'hover:bg-primary-600 hover:border-primary-600',
351
+ 'focus:outline-none focus:outline-offset-0 focus:ring-2',
352
+ 'focus:ring-primary-500',
353
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
354
+ // Interactivity
355
+ 'cursor-pointer user-select-none',
356
+ ],
357
+ });
358
+ },
359
+ label: {
360
+ class: [
361
+ // Flexbox
362
+ 'flex-initial',
363
+ // Size
364
+ 'w-0',
365
+ ],
366
+ },
367
+ },
368
+ movealltosourcebutton: {
369
+ root: function (_a) {
370
+ var context = _a.context;
371
+ return ({
372
+ class: [
373
+ // Flexbox & Alignment
374
+ 'relative inline-flex items-center justify-center',
375
+ // Shape
376
+ 'rounded-md',
377
+ // Color
378
+ 'text-white',
379
+ 'bg-primary-500',
380
+ 'border border-primary-500',
381
+ // Spacing & Size
382
+ 'text-sm',
383
+ 'w-8',
384
+ 'm-0',
385
+ 'px-2.5 py-1.5 min-w-[2rem]',
386
+ 'shadow-sm',
387
+ // Transitions
388
+ 'transition duration-200 ease-in-out',
389
+ // State
390
+ 'hover:bg-primary-600 hover:border-primary-600',
391
+ 'focus:outline-none focus:outline-offset-0 focus:ring-2',
392
+ 'focus:ring-primary-500',
393
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
394
+ // Interactivity
395
+ 'cursor-pointer user-select-none',
396
+ ],
397
+ });
398
+ },
399
+ label: {
400
+ class: [
401
+ // Flexbox
402
+ 'flex-initial',
403
+ // Size
404
+ 'w-0',
405
+ ],
406
+ },
407
+ },
408
+ targetcontrols: {
409
+ class: 'flex lg:flex-col justify-center gap-2 p-3',
410
+ },
411
+ targetmoveupbutton: {
412
+ root: function (_a) {
413
+ var context = _a.context;
414
+ return ({
415
+ class: [
416
+ // Flexbox & Alignment
417
+ 'relative inline-flex items-center justify-center',
418
+ // Shape
419
+ 'rounded-md',
420
+ // Color
421
+ 'text-white',
422
+ 'bg-primary-500',
423
+ 'border border-primary-500',
424
+ // Spacing & Size
425
+ 'text-sm',
426
+ 'w-8',
427
+ 'm-0',
428
+ 'px-2.5 py-1.5 min-w-[2rem]',
429
+ 'shadow-sm',
430
+ // Transitions
431
+ 'transition duration-200 ease-in-out',
432
+ // State
433
+ 'hover:bg-primary-600 hover:border-primary-600',
434
+ 'focus:outline-none focus:outline-offset-0 focus:ring-2',
435
+ 'focus:ring-primary-500',
436
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
437
+ // Interactivity
438
+ 'cursor-pointer user-select-none',
439
+ ],
440
+ });
441
+ },
442
+ label: {
443
+ class: [
444
+ // Flexbox
445
+ 'flex-initial',
446
+ // Size
447
+ 'w-0',
448
+ ],
449
+ },
450
+ },
451
+ targetmovetopbutton: {
452
+ root: function (_a) {
453
+ var context = _a.context;
454
+ return ({
455
+ class: [
456
+ // Flexbox & Alignment
457
+ 'relative inline-flex items-center justify-center',
458
+ // Shape
459
+ 'rounded-md',
460
+ // Color
461
+ 'text-white',
462
+ 'bg-primary-500',
463
+ 'border border-primary-500',
464
+ // Spacing & Size
465
+ 'text-sm',
466
+ 'w-8',
467
+ 'm-0',
468
+ 'px-2.5 py-1.5 min-w-[2rem]',
469
+ 'shadow-sm',
470
+ // Transitions
471
+ 'transition duration-200 ease-in-out',
472
+ // State
473
+ 'hover:bg-primary-600 hover:border-primary-600',
474
+ 'focus:outline-none focus:outline-offset-0 focus:ring-2',
475
+ 'focus:ring-primary-500',
476
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
477
+ // Interactivity
478
+ 'cursor-pointer user-select-none',
479
+ ],
480
+ });
481
+ },
482
+ label: {
483
+ class: [
484
+ // Flexbox
485
+ 'flex-initial',
486
+ // Size
487
+ 'w-0',
488
+ ],
489
+ },
490
+ },
491
+ targetmovedownbutton: {
492
+ root: function (_a) {
493
+ var context = _a.context;
494
+ return ({
495
+ class: [
496
+ // Flexbox & Alignment
497
+ 'relative inline-flex items-center justify-center',
498
+ // Shape
499
+ 'rounded-md',
500
+ // Color
501
+ 'text-white',
502
+ 'bg-primary-500',
503
+ 'border border-primary-500',
504
+ // Spacing & Size
505
+ 'text-sm',
506
+ 'w-8',
507
+ 'm-0',
508
+ 'px-2.5 py-1.5 min-w-[2rem]',
509
+ 'shadow-sm',
510
+ // Transitions
511
+ 'transition duration-200 ease-in-out',
512
+ // State
513
+ 'hover:bg-primary-600 hover:border-primary-600',
514
+ 'focus:outline-none focus:outline-offset-0 focus:ring-2',
515
+ 'focus:ring-primary-500',
516
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
517
+ // Interactivity
518
+ 'cursor-pointer user-select-none',
519
+ ],
520
+ });
521
+ },
522
+ label: {
523
+ class: [
524
+ // Flexbox
525
+ 'flex-initial',
526
+ // Size
527
+ 'w-0',
528
+ ],
529
+ },
530
+ },
531
+ targetmovebottombutton: {
532
+ root: function (_a) {
533
+ var context = _a.context;
534
+ return ({
535
+ class: [
536
+ // Flexbox & Alignment
537
+ 'relative inline-flex items-center justify-center',
538
+ // Shape
539
+ 'rounded-md',
540
+ // Color
541
+ 'text-white',
542
+ 'bg-primary-500',
543
+ 'border border-primary-500',
544
+ // Spacing & Size
545
+ 'text-sm',
546
+ 'w-8',
547
+ 'm-0',
548
+ 'px-2.5 py-1.5 min-w-[2rem]',
549
+ 'shadow-sm',
550
+ // Transitions
551
+ 'transition duration-200 ease-in-out',
552
+ // State
553
+ 'hover:bg-primary-600 hover:border-primary-600',
554
+ 'focus:outline-none focus:outline-offset-0 focus:ring-2',
555
+ 'focus:ring-primary-500',
556
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
557
+ // Interactivity
558
+ 'cursor-pointer user-select-none',
559
+ ],
560
+ });
561
+ },
562
+ label: {
563
+ class: [
564
+ // Flexbox
565
+ 'flex-initial',
566
+ // Size
567
+ 'w-0',
568
+ ],
569
+ },
570
+ },
571
+ targetwrapper: {
572
+ class: 'grow shrink basis-2/4',
573
+ },
574
+ targetheader: {
575
+ class: [
576
+ 'font-semibold',
577
+ // Shape
578
+ 'border-b rounded-t-md',
579
+ // Spacing
580
+ 'py-3.5 px-3',
581
+ // Color
582
+ 'text-surface-800/80',
583
+ 'bg-surface-0',
584
+ 'border-surface-200 border-b',
585
+ ],
586
+ },
587
+ targetlist: {
588
+ class: [
589
+ // Spacing
590
+ 'list-none m-0 p-0',
591
+ // Size
592
+ 'min-h-[12rem] max-h-[24rem]',
593
+ // Shape
594
+ 'rounded-b-md border-0',
595
+ // Color
596
+ 'text-surface-600/80',
597
+ 'bg-surface-0',
598
+ 'border border-surface-200',
599
+ // Spacing
600
+ 'py-3 px-0',
601
+ // Focus & Outline
602
+ 'outline-none',
603
+ // Misc
604
+ 'overflow-auto',
605
+ ],
606
+ },
607
+ transition: {
608
+ enterFromClass: '!transition-none',
609
+ enterActiveClass: '!transition-none',
610
+ leaveActiveClass: '!transition-none',
611
+ leaveToClass: '!transition-none',
612
+ },
613
+ };