@fewangsit/wangsvue-presets 1.0.80

Sign up to get free protection for your applications and to get access to all the features.
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,99 @@
1
+ declare namespace _default {
2
+ namespace root {
3
+ let _class: string[];
4
+ export { _class as class };
5
+ }
6
+ namespace controls {
7
+ let _class_1: string[];
8
+ export { _class_1 as class };
9
+ }
10
+ namespace moveupbutton {
11
+ export function root_1({ context }: {
12
+ context: any;
13
+ }): {
14
+ class: (string | {
15
+ 'cursor-default pointer-events-none opacity-60': any;
16
+ })[];
17
+ };
18
+ export { root_1 as root };
19
+ export namespace label {
20
+ let _class_2: string[];
21
+ export { _class_2 as class };
22
+ }
23
+ }
24
+ namespace movedownbutton {
25
+ export function root_2({ context }: {
26
+ context: any;
27
+ }): {
28
+ class: (string | {
29
+ 'cursor-default pointer-events-none opacity-60': any;
30
+ })[];
31
+ };
32
+ export { root_2 as root };
33
+ export namespace label_1 {
34
+ let _class_3: string[];
35
+ export { _class_3 as class };
36
+ }
37
+ export { label_1 as label };
38
+ }
39
+ namespace movetopbutton {
40
+ export function root_3({ context }: {
41
+ context: any;
42
+ }): {
43
+ class: (string | {
44
+ 'cursor-default pointer-events-none opacity-60': any;
45
+ })[];
46
+ };
47
+ export { root_3 as root };
48
+ export namespace label_2 {
49
+ let _class_4: string[];
50
+ export { _class_4 as class };
51
+ }
52
+ export { label_2 as label };
53
+ }
54
+ namespace movebottombutton {
55
+ export function root_4({ context }: {
56
+ context: any;
57
+ }): {
58
+ class: (string | {
59
+ 'cursor-default pointer-events-none opacity-60': any;
60
+ })[];
61
+ };
62
+ export { root_4 as root };
63
+ export namespace label_3 {
64
+ let _class_5: string[];
65
+ export { _class_5 as class };
66
+ }
67
+ export { label_3 as label };
68
+ }
69
+ namespace container {
70
+ let _class_6: string[];
71
+ export { _class_6 as class };
72
+ }
73
+ namespace header {
74
+ let _class_7: string[];
75
+ export { _class_7 as class };
76
+ }
77
+ namespace list {
78
+ let _class_8: string[];
79
+ export { _class_8 as class };
80
+ }
81
+ function item({ context }: {
82
+ context: any;
83
+ }): {
84
+ class: (string | {
85
+ 'bg-surface-100': boolean;
86
+ 'bg-surface-200'?: undefined;
87
+ 'bg-surface-50/70'?: undefined;
88
+ } | {
89
+ 'bg-surface-200': any;
90
+ 'bg-surface-100'?: undefined;
91
+ 'bg-surface-50/70'?: undefined;
92
+ } | {
93
+ 'bg-surface-50/70': any;
94
+ 'bg-surface-100'?: undefined;
95
+ 'bg-surface-200'?: undefined;
96
+ })[];
97
+ };
98
+ }
99
+ export default _default;
@@ -0,0 +1,245 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ root: {
5
+ class: [
6
+ // Flexbox
7
+ 'flex',
8
+ ],
9
+ },
10
+ controls: {
11
+ class: [
12
+ // Flexbox & Alignment
13
+ 'flex flex-col justify-center gap-2',
14
+ // Spacing
15
+ 'p-3',
16
+ ],
17
+ },
18
+ moveupbutton: {
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
+ movedownbutton: {
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
+ movetopbutton: {
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
+ movebottombutton: {
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
+ container: {
179
+ class: ['flex-auto'],
180
+ },
181
+ header: {
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
+ list: {
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
+ };
@@ -0,0 +1,71 @@
1
+ declare namespace _default {
2
+ namespace table {
3
+ let _class: string[];
4
+ export { _class as class };
5
+ }
6
+ namespace cell {
7
+ let _class_1: string[];
8
+ export { _class_1 as class };
9
+ }
10
+ function node({ context }: {
11
+ context: any;
12
+ }): {
13
+ class: (string | {
14
+ 'text-surface-600/80': boolean;
15
+ 'bg-surface-0': boolean;
16
+ 'text-surface-700': any;
17
+ 'bg-surface-50': any;
18
+ 'hover:bg-surface-100/40'?: undefined;
19
+ 'cursor-pointer'?: undefined;
20
+ } | {
21
+ 'hover:bg-surface-100/40': any;
22
+ 'text-surface-600/80'?: undefined;
23
+ 'bg-surface-0'?: undefined;
24
+ 'text-surface-700'?: undefined;
25
+ 'bg-surface-50'?: undefined;
26
+ 'cursor-pointer'?: undefined;
27
+ } | {
28
+ 'cursor-pointer': any;
29
+ 'text-surface-600/80'?: undefined;
30
+ 'bg-surface-0'?: undefined;
31
+ 'text-surface-700'?: undefined;
32
+ 'bg-surface-50'?: undefined;
33
+ 'hover:bg-surface-100/40'?: undefined;
34
+ })[];
35
+ };
36
+ namespace linecell {
37
+ let _class_2: string[];
38
+ export { _class_2 as class };
39
+ }
40
+ namespace linedown {
41
+ let _class_3: string[];
42
+ export { _class_3 as class };
43
+ }
44
+ function lineleft({ context }: {
45
+ context: any;
46
+ }): {
47
+ class: (string | {
48
+ 'border-t': any;
49
+ })[];
50
+ };
51
+ function lineright({ context }: {
52
+ context: any;
53
+ }): {
54
+ class: (string | {
55
+ 'border-t border-surface-200': any;
56
+ })[];
57
+ };
58
+ namespace nodecell {
59
+ let _class_4: string;
60
+ export { _class_4 as class };
61
+ }
62
+ namespace nodetoggler {
63
+ let _class_5: string[];
64
+ export { _class_5 as class };
65
+ }
66
+ namespace nodetogglericon {
67
+ let _class_6: string[];
68
+ export { _class_6 as class };
69
+ }
70
+ }
71
+ export default _default;
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ table: {
5
+ class: [
6
+ // Spacing & Position
7
+ 'mx-auto my-0',
8
+ // Table Style
9
+ 'border-spacing-0 border-separate',
10
+ ],
11
+ },
12
+ cell: {
13
+ class: [
14
+ // Alignment
15
+ 'text-center align-top',
16
+ // Spacing
17
+ 'py-0 px-3',
18
+ ],
19
+ },
20
+ node: function (_a) {
21
+ var context = _a.context;
22
+ return ({
23
+ class: [
24
+ 'relative inline-block',
25
+ // Font
26
+ 'text-sm leading-none',
27
+ // Spacing
28
+ 'px-5 py-3',
29
+ // Shape
30
+ 'border',
31
+ 'rounded',
32
+ // Color
33
+ 'border-surface-200',
34
+ {
35
+ 'text-surface-600/80': !(context === null || context === void 0 ? void 0 : context.selected),
36
+ 'bg-surface-0': !(context === null || context === void 0 ? void 0 : context.selected),
37
+ 'text-surface-700': context === null || context === void 0 ? void 0 : context.selected,
38
+ 'bg-surface-50': context === null || context === void 0 ? void 0 : context.selected,
39
+ },
40
+ // States
41
+ {
42
+ 'hover:bg-surface-100/40': context === null || context === void 0 ? void 0 : context.selectable,
43
+ },
44
+ { 'cursor-pointer': context === null || context === void 0 ? void 0 : context.selectable },
45
+ ],
46
+ });
47
+ },
48
+ linecell: {
49
+ class: [
50
+ // Alignment
51
+ 'text-center align-top',
52
+ // Spacing
53
+ 'py-0 px-3',
54
+ ],
55
+ },
56
+ linedown: {
57
+ class: [
58
+ // Spacing
59
+ 'mx-auto my-0',
60
+ // Size
61
+ 'w-px h-[20px]',
62
+ // Color
63
+ 'bg-surface-200',
64
+ ],
65
+ },
66
+ lineleft: function (_a) {
67
+ var context = _a.context;
68
+ return ({
69
+ class: [
70
+ // Alignment
71
+ 'text-center align-top',
72
+ // Spacing
73
+ 'py-0 px-3',
74
+ // Shape
75
+ 'rounded-none border-r',
76
+ { 'border-t': context.lineTop },
77
+ // Color
78
+ 'border-surface-200',
79
+ ],
80
+ });
81
+ },
82
+ lineright: function (_a) {
83
+ var context = _a.context;
84
+ return ({
85
+ class: [
86
+ // Alignment
87
+ 'text-center align-top',
88
+ // Spacing
89
+ 'py-0 px-3',
90
+ // Shape
91
+ 'rounded-none',
92
+ // Color
93
+ {
94
+ 'border-t border-surface-200': context.lineTop,
95
+ },
96
+ ],
97
+ });
98
+ },
99
+ nodecell: {
100
+ class: 'text-center align-top py-0 px-3',
101
+ },
102
+ nodetoggler: {
103
+ class: [
104
+ // Position
105
+ 'absolute bottom-[-0.75rem] left-2/4 -ml-3',
106
+ 'z-20',
107
+ // Flexbox
108
+ 'flex items-center justify-center',
109
+ // Size
110
+ 'w-6 h-6',
111
+ // Shape
112
+ 'rounded-full',
113
+ // Color
114
+ 'bg-inherit text-inherit',
115
+ // Focus
116
+ 'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-primary-500',
117
+ // Misc
118
+ 'cursor-pointer no-underline select-none',
119
+ ],
120
+ },
121
+ nodetogglericon: {
122
+ class: [
123
+ // Position
124
+ 'relative inline-block',
125
+ // Size
126
+ 'w-4 h-4',
127
+ ],
128
+ },
129
+ };
@@ -0,0 +1,17 @@
1
+ declare namespace _default {
2
+ namespace root {
3
+ let _class: string[];
4
+ export { _class as class };
5
+ }
6
+ namespace content {
7
+ let _class_1: string;
8
+ export { _class_1 as class };
9
+ }
10
+ namespace transition {
11
+ let enterFromClass: string;
12
+ let enterActiveClass: string;
13
+ let leaveActiveClass: string;
14
+ let leaveToClass: string;
15
+ }
16
+ }
17
+ export default _default;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ root: {
5
+ class: [
6
+ 'h-max',
7
+ // Shape
8
+ 'rounded-lg',
9
+ 'shadow-xl',
10
+ 'border-0',
11
+ // Position
12
+ 'absolute left-0 top-0 mt-2',
13
+ 'z-40 transform origin-center',
14
+ // Color
15
+ 'bg-white',
16
+ 'text-general-800',
17
+ // Before: Triangle
18
+ 'before:absolute before:-top-2 before:ml-4 before:z-50',
19
+ 'before:w-0 before:h-0 before:shadow-xl',
20
+ // 'before:border-transparent before:border-solid',
21
+ // 'before:border-x-[0.5rem] before:border-b-[0.5rem]',
22
+ // 'before:border-t-0 before:border-b-surface-0',
23
+ ],
24
+ },
25
+ content: {
26
+ class: 'items-center flex',
27
+ },
28
+ transition: {
29
+ enterFromClass: 'opacity-0 scale-y-[0.8]',
30
+ enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
31
+ leaveActiveClass: 'transition-opacity duration-100 ease-linear',
32
+ leaveToClass: 'opacity-0',
33
+ },
34
+ };