@gluhar/theme 2.0.0-dev.0

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 (206) hide show
  1. package/CHANGELOG.md +147 -0
  2. package/README.md +162 -0
  3. package/dist/module.cjs +5 -0
  4. package/dist/module.d.mts +13 -0
  5. package/dist/module.d.ts +13 -0
  6. package/dist/module.json +9 -0
  7. package/dist/module.mjs +34 -0
  8. package/dist/runtime/composables/useTheme.d.ts +10 -0
  9. package/dist/runtime/composables/useTheme.js +29 -0
  10. package/dist/runtime/fonts/object-sans/PPObjectSans-Heavy.otf +0 -0
  11. package/dist/runtime/fonts/object-sans/PPObjectSans-HeavySlanted.otf +0 -0
  12. package/dist/runtime/fonts/object-sans/PPObjectSans-Regular.otf +0 -0
  13. package/dist/runtime/fonts/object-sans/PPObjectSans-Slanted.otf +0 -0
  14. package/dist/runtime/fonts/object-sans/stylesheet.css +1 -0
  15. package/dist/runtime/presets/lara/accordion/index.d.ts +49 -0
  16. package/dist/runtime/presets/lara/accordion/index.js +78 -0
  17. package/dist/runtime/presets/lara/autocomplete/index.d.ts +200 -0
  18. package/dist/runtime/presets/lara/autocomplete/index.js +259 -0
  19. package/dist/runtime/presets/lara/avatar/index.d.ts +83 -0
  20. package/dist/runtime/presets/lara/avatar/index.js +43 -0
  21. package/dist/runtime/presets/lara/avatargroup/index.d.ts +7 -0
  22. package/dist/runtime/presets/lara/avatargroup/index.js +5 -0
  23. package/dist/runtime/presets/lara/badge/index.d.ts +72 -0
  24. package/dist/runtime/presets/lara/badge/index.js +43 -0
  25. package/dist/runtime/presets/lara/badgedirective/index.d.ts +50 -0
  26. package/dist/runtime/presets/lara/badgedirective/index.js +43 -0
  27. package/dist/runtime/presets/lara/blockui/index.d.ts +11 -0
  28. package/dist/runtime/presets/lara/blockui/index.js +8 -0
  29. package/dist/runtime/presets/lara/breadcrumb/index.d.ts +23 -0
  30. package/dist/runtime/presets/lara/breadcrumb/index.js +64 -0
  31. package/dist/runtime/presets/lara/button/index.d.ts +3790 -0
  32. package/dist/runtime/presets/lara/button/index.js +220 -0
  33. package/dist/runtime/presets/lara/calendar/index.d.ts +334 -0
  34. package/dist/runtime/presets/lara/calendar/index.js +643 -0
  35. package/dist/runtime/presets/lara/card/index.d.ts +27 -0
  36. package/dist/runtime/presets/lara/card/index.js +37 -0
  37. package/dist/runtime/presets/lara/carousel/index.d.ts +71 -0
  38. package/dist/runtime/presets/lara/carousel/index.js +149 -0
  39. package/dist/runtime/presets/lara/cascadeselect/index.d.ts +112 -0
  40. package/dist/runtime/presets/lara/cascadeselect/index.js +209 -0
  41. package/dist/runtime/presets/lara/checkbox/index.d.ts +45 -0
  42. package/dist/runtime/presets/lara/checkbox/index.js +101 -0
  43. package/dist/runtime/presets/lara/chip/index.d.ts +23 -0
  44. package/dist/runtime/presets/lara/chip/index.js +45 -0
  45. package/dist/runtime/presets/lara/chips/index.d.ts +56 -0
  46. package/dist/runtime/presets/lara/chips/index.js +114 -0
  47. package/dist/runtime/presets/lara/colorpicker/index.d.ts +51 -0
  48. package/dist/runtime/presets/lara/colorpicker/index.js +123 -0
  49. package/dist/runtime/presets/lara/confirmpopup/index.d.ts +39 -0
  50. package/dist/runtime/presets/lara/confirmpopup/index.js +106 -0
  51. package/dist/runtime/presets/lara/contextmenu/index.d.ts +72 -0
  52. package/dist/runtime/presets/lara/contextmenu/index.js +125 -0
  53. package/dist/runtime/presets/lara/datatable/index.d.ts +695 -0
  54. package/dist/runtime/presets/lara/datatable/index.js +1170 -0
  55. package/dist/runtime/presets/lara/dataview/index.d.ts +15 -0
  56. package/dist/runtime/presets/lara/dataview/index.js +40 -0
  57. package/dist/runtime/presets/lara/dataviewlayoutoptions/index.d.ts +13 -0
  58. package/dist/runtime/presets/lara/dataviewlayoutoptions/index.js +62 -0
  59. package/dist/runtime/presets/lara/deferred/index.d.ts +4 -0
  60. package/dist/runtime/presets/lara/deferred/index.js +3 -0
  61. package/dist/runtime/presets/lara/dialog/index.d.ts +79 -0
  62. package/dist/runtime/presets/lara/dialog/index.js +235 -0
  63. package/dist/runtime/presets/lara/divider/index.d.ts +192 -0
  64. package/dist/runtime/presets/lara/divider/index.js +67 -0
  65. package/dist/runtime/presets/lara/dock/index.d.ts +51 -0
  66. package/dist/runtime/presets/lara/dock/index.js +93 -0
  67. package/dist/runtime/presets/lara/dropdown/index.d.ts +207 -0
  68. package/dist/runtime/presets/lara/dropdown/index.js +265 -0
  69. package/dist/runtime/presets/lara/fieldset/index.d.ts +87 -0
  70. package/dist/runtime/presets/lara/fieldset/index.js +84 -0
  71. package/dist/runtime/presets/lara/fileupload/index.d.ts +70 -0
  72. package/dist/runtime/presets/lara/fileupload/index.js +173 -0
  73. package/dist/runtime/presets/lara/floatlabel/index.d.ts +7 -0
  74. package/dist/runtime/presets/lara/floatlabel/index.js +26 -0
  75. package/dist/runtime/presets/lara/galleria/index.d.ts +194 -0
  76. package/dist/runtime/presets/lara/galleria/index.js +306 -0
  77. package/dist/runtime/presets/lara/global.d.ts +4 -0
  78. package/dist/runtime/presets/lara/global.js +90 -0
  79. package/dist/runtime/presets/lara/iconfield/index.d.ts +18 -0
  80. package/dist/runtime/presets/lara/iconfield/index.js +22 -0
  81. package/dist/runtime/presets/lara/image/index.d.ts +65 -0
  82. package/dist/runtime/presets/lara/image/index.js +206 -0
  83. package/dist/runtime/presets/lara/index.d.ts +187 -0
  84. package/dist/runtime/presets/lara/index.js +207 -0
  85. package/dist/runtime/presets/lara/inlinemessage/index.d.ts +55 -0
  86. package/dist/runtime/presets/lara/inlinemessage/index.js +36 -0
  87. package/dist/runtime/presets/lara/inplace/index.d.ts +7 -0
  88. package/dist/runtime/presets/lara/inplace/index.js +27 -0
  89. package/dist/runtime/presets/lara/inputgroup/index.d.ts +7 -0
  90. package/dist/runtime/presets/lara/inputgroup/index.js +5 -0
  91. package/dist/runtime/presets/lara/inputgroupaddon/index.d.ts +7 -0
  92. package/dist/runtime/presets/lara/inputgroupaddon/index.js +28 -0
  93. package/dist/runtime/presets/lara/inputmask/index.d.ts +27 -0
  94. package/dist/runtime/presets/lara/inputmask/index.js +34 -0
  95. package/dist/runtime/presets/lara/inputnumber/index.d.ts +390 -0
  96. package/dist/runtime/presets/lara/inputnumber/index.js +164 -0
  97. package/dist/runtime/presets/lara/inputotp/index.d.ts +147 -0
  98. package/dist/runtime/presets/lara/inputotp/index.js +60 -0
  99. package/dist/runtime/presets/lara/inputswitch/index.d.ts +67 -0
  100. package/dist/runtime/presets/lara/inputswitch/index.js +80 -0
  101. package/dist/runtime/presets/lara/inputtext/index.d.ts +160 -0
  102. package/dist/runtime/presets/lara/inputtext/index.js +49 -0
  103. package/dist/runtime/presets/lara/knob/index.d.ts +22 -0
  104. package/dist/runtime/presets/lara/knob/index.js +44 -0
  105. package/dist/runtime/presets/lara/listbox/index.d.ts +93 -0
  106. package/dist/runtime/presets/lara/listbox/index.js +152 -0
  107. package/dist/runtime/presets/lara/megamenu/index.d.ts +105 -0
  108. package/dist/runtime/presets/lara/megamenu/index.js +199 -0
  109. package/dist/runtime/presets/lara/menu/index.d.ts +40 -0
  110. package/dist/runtime/presets/lara/menu/index.js +96 -0
  111. package/dist/runtime/presets/lara/menubar/index.d.ts +85 -0
  112. package/dist/runtime/presets/lara/menubar/index.js +176 -0
  113. package/dist/runtime/presets/lara/message/index.d.ts +70 -0
  114. package/dist/runtime/presets/lara/message/index.js +87 -0
  115. package/dist/runtime/presets/lara/metergroup/index.d.ts +92 -0
  116. package/dist/runtime/presets/lara/metergroup/index.js +97 -0
  117. package/dist/runtime/presets/lara/multiselect/index.d.ts +260 -0
  118. package/dist/runtime/presets/lara/multiselect/index.js +546 -0
  119. package/dist/runtime/presets/lara/orderlist/index.d.ts +99 -0
  120. package/dist/runtime/presets/lara/orderlist/index.js +257 -0
  121. package/dist/runtime/presets/lara/organizationchart/index.d.ts +81 -0
  122. package/dist/runtime/presets/lara/organizationchart/index.js +138 -0
  123. package/dist/runtime/presets/lara/overlaypanel/index.d.ts +17 -0
  124. package/dist/runtime/presets/lara/overlaypanel/index.js +40 -0
  125. package/dist/runtime/presets/lara/paginator/index.d.ts +280 -0
  126. package/dist/runtime/presets/lara/paginator/index.js +533 -0
  127. package/dist/runtime/presets/lara/panel/index.d.ts +39 -0
  128. package/dist/runtime/presets/lara/panel/index.js +91 -0
  129. package/dist/runtime/presets/lara/panelmenu/index.d.ts +76 -0
  130. package/dist/runtime/presets/lara/panelmenu/index.js +127 -0
  131. package/dist/runtime/presets/lara/password/index.d.ts +181 -0
  132. package/dist/runtime/presets/lara/password/index.js +118 -0
  133. package/dist/runtime/presets/lara/picklist/index.d.ts +245 -0
  134. package/dist/runtime/presets/lara/picklist/index.js +650 -0
  135. package/dist/runtime/presets/lara/progressbar/index.d.ts +44 -0
  136. package/dist/runtime/presets/lara/progressbar/index.js +55 -0
  137. package/dist/runtime/presets/lara/progressspinner/index.d.ts +15 -0
  138. package/dist/runtime/presets/lara/progressspinner/index.js +51 -0
  139. package/dist/runtime/presets/lara/radiobutton/index.d.ts +57 -0
  140. package/dist/runtime/presets/lara/radiobutton/index.js +104 -0
  141. package/dist/runtime/presets/lara/rating/index.d.ts +49 -0
  142. package/dist/runtime/presets/lara/rating/index.js +92 -0
  143. package/dist/runtime/presets/lara/ripple/index.d.ts +8 -0
  144. package/dist/runtime/presets/lara/ripple/index.js +6 -0
  145. package/dist/runtime/presets/lara/scrollpanel/index.d.ts +19 -0
  146. package/dist/runtime/presets/lara/scrollpanel/index.js +77 -0
  147. package/dist/runtime/presets/lara/scrolltop/index.d.ts +50 -0
  148. package/dist/runtime/presets/lara/scrolltop/index.js +41 -0
  149. package/dist/runtime/presets/lara/selectbutton/index.d.ts +56 -0
  150. package/dist/runtime/presets/lara/selectbutton/index.js +49 -0
  151. package/dist/runtime/presets/lara/sidebar/index.d.ts +66 -0
  152. package/dist/runtime/presets/lara/sidebar/index.js +149 -0
  153. package/dist/runtime/presets/lara/skeleton/index.d.ts +16 -0
  154. package/dist/runtime/presets/lara/skeleton/index.js +16 -0
  155. package/dist/runtime/presets/lara/slider/index.d.ts +55 -0
  156. package/dist/runtime/presets/lara/slider/index.js +137 -0
  157. package/dist/runtime/presets/lara/speeddial/index.d.ts +3091 -0
  158. package/dist/runtime/presets/lara/speeddial/index.js +283 -0
  159. package/dist/runtime/presets/lara/splitbutton/index.d.ts +6749 -0
  160. package/dist/runtime/presets/lara/splitbutton/index.js +502 -0
  161. package/dist/runtime/presets/lara/splitter/index.d.ts +30 -0
  162. package/dist/runtime/presets/lara/splitter/index.js +61 -0
  163. package/dist/runtime/presets/lara/splitterpanel/index.d.ts +10 -0
  164. package/dist/runtime/presets/lara/splitterpanel/index.js +5 -0
  165. package/dist/runtime/presets/lara/stepper/index.d.ts +66 -0
  166. package/dist/runtime/presets/lara/stepper/index.js +161 -0
  167. package/dist/runtime/presets/lara/steps/index.d.ts +57 -0
  168. package/dist/runtime/presets/lara/steps/index.js +111 -0
  169. package/dist/runtime/presets/lara/tabmenu/index.d.ts +43 -0
  170. package/dist/runtime/presets/lara/tabmenu/index.js +73 -0
  171. package/dist/runtime/presets/lara/tabview/index.d.ts +67 -0
  172. package/dist/runtime/presets/lara/tabview/index.js +156 -0
  173. package/dist/runtime/presets/lara/tag/index.d.ts +32 -0
  174. package/dist/runtime/presets/lara/tag/index.js +36 -0
  175. package/dist/runtime/presets/lara/terminal/index.d.ts +27 -0
  176. package/dist/runtime/presets/lara/terminal/index.js +60 -0
  177. package/dist/runtime/presets/lara/textarea/index.d.ts +27 -0
  178. package/dist/runtime/presets/lara/textarea/index.js +36 -0
  179. package/dist/runtime/presets/lara/tieredmenu/index.d.ts +56 -0
  180. package/dist/runtime/presets/lara/tieredmenu/index.js +120 -0
  181. package/dist/runtime/presets/lara/timeline/index.d.ts +84 -0
  182. package/dist/runtime/presets/lara/timeline/index.js +81 -0
  183. package/dist/runtime/presets/lara/toast/index.d.ts +92 -0
  184. package/dist/runtime/presets/lara/toast/index.js +102 -0
  185. package/dist/runtime/presets/lara/togglebutton/index.d.ts +72 -0
  186. package/dist/runtime/presets/lara/togglebutton/index.js +91 -0
  187. package/dist/runtime/presets/lara/toolbar/index.d.ts +19 -0
  188. package/dist/runtime/presets/lara/toolbar/index.js +28 -0
  189. package/dist/runtime/presets/lara/tooltip/index.d.ts +38 -0
  190. package/dist/runtime/presets/lara/tooltip/index.js +46 -0
  191. package/dist/runtime/presets/lara/tree/index.d.ts +105 -0
  192. package/dist/runtime/presets/lara/tree/index.js +258 -0
  193. package/dist/runtime/presets/lara/treeselect/index.d.ts +181 -0
  194. package/dist/runtime/presets/lara/treeselect/index.js +352 -0
  195. package/dist/runtime/presets/lara/treetable/index.d.ts +316 -0
  196. package/dist/runtime/presets/lara/treetable/index.js +434 -0
  197. package/dist/runtime/presets/lara/tristatecheckbox/index.d.ts +49 -0
  198. package/dist/runtime/presets/lara/tristatecheckbox/index.js +104 -0
  199. package/dist/runtime/styles/core.css +27 -0
  200. package/dist/runtime/tailwind/gluharTheme.d.ts +3 -0
  201. package/dist/runtime/tailwind/gluharTheme.js +52 -0
  202. package/dist/runtime/tailwind/handleTailwind.d.ts +3 -0
  203. package/dist/runtime/tailwind/handleTailwind.js +22 -0
  204. package/dist/types.d.mts +7 -0
  205. package/dist/types.d.ts +7 -0
  206. package/package.json +56 -0
@@ -0,0 +1,81 @@
1
+ export default {
2
+ root: ({ props }) => ({
3
+ class: [
4
+ 'flex grow',
5
+ {
6
+ 'flex-col': props.layout === 'vertical',
7
+ 'flex-row flex-1': props.layout === 'horizontal'
8
+ }
9
+ ]
10
+ }),
11
+ event: ({ props, context }) => ({
12
+ class: [
13
+ 'flex relative min-h-[70px]',
14
+ {
15
+ 'flex-row-reverse': props.align === 'right' || (props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1),
16
+ 'flex-col flex-1': props.layout === 'horizontal',
17
+ 'flex-col-reverse ': props.align === 'bottom' || (props.layout === 'horizontal' && props.align === 'alternate' && context.index % 2 === 1)
18
+ }
19
+ ]
20
+ }),
21
+ opposite: ({ props, context }) => ({
22
+ class: [
23
+ 'flex-1',
24
+ {
25
+ 'px-4': props.layout === 'vertical',
26
+ 'py-4': props.layout === 'horizontal'
27
+ },
28
+ {
29
+ 'text-right': props.align === 'left' || (props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 0),
30
+ 'text-left': props.align === 'right' || (props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1)
31
+ }
32
+ ]
33
+ }),
34
+ separator: ({ props }) => ({
35
+ class: [
36
+ 'flex items-center flex-initial',
37
+ {
38
+ 'flex-col': props.layout === 'vertical',
39
+ 'flex-row': props.layout === 'horizontal'
40
+ }
41
+ ]
42
+ }),
43
+ marker: {
44
+ class: [
45
+ // Display & Flexbox
46
+ 'flex self-baseline',
47
+
48
+ // Size
49
+ 'w-4 h-4',
50
+
51
+ // Appearance
52
+ 'rounded-full border-2 border-primary-500 bg-surface-0 dark:border-primary-300 dark:bg-surface-900/40'
53
+ ]
54
+ },
55
+ connector: ({ props }) => ({
56
+ class: [
57
+ 'grow bg-surface-300 dark:bg-surface-700',
58
+ {
59
+ 'w-[2px]': props.layout === 'vertical',
60
+ 'w-full h-[2px]': props.layout === 'horizontal'
61
+ }
62
+ ]
63
+ }),
64
+ content: ({ props, context }) => ({
65
+ class: [
66
+ 'flex-1',
67
+ {
68
+ 'px-4': props.layout === 'vertical',
69
+ 'py-4': props.layout === 'horizontal'
70
+ },
71
+ {
72
+ 'text-left': props.align === 'left' || (props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 0),
73
+ 'text-right': props.align === 'right' || (props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1)
74
+ },
75
+ {
76
+ 'min-h-0': props.layout === 'vertical' && context.index === context.count,
77
+ 'grow-0': props.layout === 'horizontal' && context.index === context.count
78
+ }
79
+ ]
80
+ })
81
+ };
@@ -0,0 +1,92 @@
1
+ declare namespace _default {
2
+ function root({ props }: {
3
+ props: any;
4
+ }): {
5
+ class: (string | {
6
+ '-translate-x-2/4': boolean;
7
+ })[];
8
+ };
9
+ function container({ props }: {
10
+ props: any;
11
+ }): {
12
+ class: (string | {
13
+ 'bg-blue-100/70 dark:bg-blue-500/20': boolean;
14
+ 'bg-green-100/70 dark:bg-green-500/20': boolean;
15
+ 'bg-orange-100/70 dark:bg-orange-500/20': boolean;
16
+ 'bg-red-100/70 dark:bg-red-500/20': boolean;
17
+ 'border-blue-500 dark:border-blue-400'?: undefined;
18
+ 'border-green-500 dark:border-green-400'?: undefined;
19
+ 'border-orange-500 dark:border-orange-400'?: undefined;
20
+ 'border-red-500 dark:border-red-400'?: undefined;
21
+ 'text-blue-700 dark:text-blue-300'?: undefined;
22
+ 'text-green-700 dark:text-green-300'?: undefined;
23
+ 'text-orange-700 dark:text-orange-300'?: undefined;
24
+ 'text-red-700 dark:text-red-300'?: undefined;
25
+ } | {
26
+ 'border-blue-500 dark:border-blue-400': boolean;
27
+ 'border-green-500 dark:border-green-400': boolean;
28
+ 'border-orange-500 dark:border-orange-400': boolean;
29
+ 'border-red-500 dark:border-red-400': boolean;
30
+ 'bg-blue-100/70 dark:bg-blue-500/20'?: undefined;
31
+ 'bg-green-100/70 dark:bg-green-500/20'?: undefined;
32
+ 'bg-orange-100/70 dark:bg-orange-500/20'?: undefined;
33
+ 'bg-red-100/70 dark:bg-red-500/20'?: undefined;
34
+ 'text-blue-700 dark:text-blue-300'?: undefined;
35
+ 'text-green-700 dark:text-green-300'?: undefined;
36
+ 'text-orange-700 dark:text-orange-300'?: undefined;
37
+ 'text-red-700 dark:text-red-300'?: undefined;
38
+ } | {
39
+ 'text-blue-700 dark:text-blue-300': boolean;
40
+ 'text-green-700 dark:text-green-300': boolean;
41
+ 'text-orange-700 dark:text-orange-300': boolean;
42
+ 'text-red-700 dark:text-red-300': boolean;
43
+ 'bg-blue-100/70 dark:bg-blue-500/20'?: undefined;
44
+ 'bg-green-100/70 dark:bg-green-500/20'?: undefined;
45
+ 'bg-orange-100/70 dark:bg-orange-500/20'?: undefined;
46
+ 'bg-red-100/70 dark:bg-red-500/20'?: undefined;
47
+ 'border-blue-500 dark:border-blue-400'?: undefined;
48
+ 'border-green-500 dark:border-green-400'?: undefined;
49
+ 'border-orange-500 dark:border-orange-400'?: undefined;
50
+ 'border-red-500 dark:border-red-400'?: undefined;
51
+ })[];
52
+ };
53
+ function content({ props }: {
54
+ props: any;
55
+ }): {
56
+ class: (string | {
57
+ 'items-start': any;
58
+ 'items-center': boolean;
59
+ })[];
60
+ };
61
+ namespace icon {
62
+ let _class: string[];
63
+ export { _class as class };
64
+ }
65
+ namespace text {
66
+ let _class_1: string[];
67
+ export { _class_1 as class };
68
+ }
69
+ namespace summary {
70
+ let _class_2: string;
71
+ export { _class_2 as class };
72
+ }
73
+ function detail({ props }: {
74
+ props: any;
75
+ }): {
76
+ class: (string | {
77
+ 'mt-2': any;
78
+ })[];
79
+ };
80
+ namespace closebutton {
81
+ let _class_3: string[];
82
+ export { _class_3 as class };
83
+ }
84
+ namespace transition {
85
+ let enterFromClass: string;
86
+ let enterActiveClass: string;
87
+ let leaveFromClass: string;
88
+ let leaveActiveClass: string;
89
+ let leaveToClass: string;
90
+ }
91
+ }
92
+ export default _default;
@@ -0,0 +1,102 @@
1
+ export default {
2
+ root: ({ props }) => ({
3
+ class: [
4
+ //Size and Shape
5
+ 'w-96 rounded-md',
6
+
7
+ // Positioning
8
+ { '-translate-x-2/4': props.position == 'top-center' || props.position == 'bottom-center' }
9
+ ]
10
+ }),
11
+ container: ({ props }) => ({
12
+ class: [
13
+ 'my-4 rounded-md w-full',
14
+ 'border-solid border-0 border-l-[6px]',
15
+ 'backdrop-blur-[10px] shadow-md',
16
+
17
+ // Colors
18
+ {
19
+ 'bg-blue-100/70 dark:bg-blue-500/20': props.message.severity == 'info',
20
+ 'bg-green-100/70 dark:bg-green-500/20': props.message.severity == 'success',
21
+ 'bg-orange-100/70 dark:bg-orange-500/20': props.message.severity == 'warn',
22
+ 'bg-red-100/70 dark:bg-red-500/20': props.message.severity == 'error'
23
+ },
24
+ {
25
+ 'border-blue-500 dark:border-blue-400': props.message.severity == 'info',
26
+ 'border-green-500 dark:border-green-400': props.message.severity == 'success',
27
+ 'border-orange-500 dark:border-orange-400': props.message.severity == 'warn',
28
+ 'border-red-500 dark:border-red-400': props.message.severity == 'error'
29
+ },
30
+ {
31
+ 'text-blue-700 dark:text-blue-300': props.message.severity == 'info',
32
+ 'text-green-700 dark:text-green-300': props.message.severity == 'success',
33
+ 'text-orange-700 dark:text-orange-300': props.message.severity == 'warn',
34
+ 'text-red-700 dark:text-red-300': props.message.severity == 'error'
35
+ }
36
+ ]
37
+ }),
38
+ content: ({ props }) => ({
39
+ class: [
40
+ 'flex p-4',
41
+ {
42
+ 'items-start': props.message.summary,
43
+ 'items-center': !props.message.summary,
44
+ },
45
+ ],
46
+ }),
47
+ icon: {
48
+ class: [
49
+ // Sizing and Spacing
50
+ 'w-6 h-6',
51
+ 'text-lg leading-none mr-2 shrink-0'
52
+ ]
53
+ },
54
+ text: {
55
+ class: [
56
+ // Font and Text
57
+ 'text-base leading-none',
58
+ 'ml-2',
59
+ 'flex-1'
60
+ ]
61
+ },
62
+ summary: {
63
+ class: 'font-bold block'
64
+ },
65
+ detail: ({ props }) => ({
66
+ class: ['block', { 'mt-2': props.message.summary }],
67
+ }),
68
+ closebutton: {
69
+ class: [
70
+ // Flexbox
71
+ 'flex items-center justify-center',
72
+
73
+ // Size
74
+ 'w-8 h-8',
75
+
76
+ // Spacing and Misc
77
+ 'ml-auto relative',
78
+
79
+ // Shape
80
+ 'rounded-full',
81
+
82
+ // Colors
83
+ 'bg-transparent',
84
+
85
+ // Transitions
86
+ 'transition duration-200 ease-in-out',
87
+
88
+ // States
89
+ 'hover:bg-surface-0/50 dark:hover:bg-surface-0/10',
90
+
91
+ // Misc
92
+ 'overflow-hidden'
93
+ ]
94
+ },
95
+ transition: {
96
+ enterFromClass: 'opacity-0 translate-y-2/4',
97
+ enterActiveClass: 'transition-[transform,opacity] duration-300',
98
+ leaveFromClass: 'max-h-[1000px]',
99
+ leaveActiveClass: '!transition-[max-height_.45s_cubic-bezier(0,1,0,1),opacity_.3s,margin-bottom_.3s] overflow-hidden',
100
+ leaveToClass: 'max-h-0 opacity-0 mb-0'
101
+ }
102
+ };
@@ -0,0 +1,72 @@
1
+ declare namespace _default {
2
+ namespace root {
3
+ let _class: string[];
4
+ export { _class as class };
5
+ }
6
+ function box({ props }: {
7
+ props: any;
8
+ }): {
9
+ class: (string | {
10
+ 'bg-surface-0 dark:bg-surface-900 ': boolean;
11
+ 'border-surface-200 dark:border-surface-700 ': boolean;
12
+ 'text-surface-700 dark:text-white/80': boolean;
13
+ 'bg-primary-500 dark:bg-primary-400 border-primary-500 dark:border-primary-400 text-white dark:text-surface-900': any;
14
+ 'border-red-500 dark:border-red-400'?: undefined;
15
+ 'peer-hover:bg-surface-50 dark:peer-hover:bg-surface-800/80 peer-hover:border-surface-200 dark:peer-hover:bg-surface-700 peer-hover:text-surface-700 dark:peer-hover:text-white/80'?: undefined;
16
+ 'peer-hover:bg-primary-600 peer-hover:border-primary-600 dark:peer-hover:bg-primary-300 dark:peer-hover:border-primary-300'?: undefined;
17
+ 'peer-focus-visible:ring peer-focus-visible:ring-primary-400/50 dark:peer-focus-visible:ring-primary-300/50'?: undefined;
18
+ 'cursor-pointer'?: undefined;
19
+ 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
20
+ } | {
21
+ 'border-red-500 dark:border-red-400': any;
22
+ 'bg-surface-0 dark:bg-surface-900 '?: undefined;
23
+ 'border-surface-200 dark:border-surface-700 '?: undefined;
24
+ 'text-surface-700 dark:text-white/80'?: undefined;
25
+ 'bg-primary-500 dark:bg-primary-400 border-primary-500 dark:border-primary-400 text-white dark:text-surface-900'?: undefined;
26
+ 'peer-hover:bg-surface-50 dark:peer-hover:bg-surface-800/80 peer-hover:border-surface-200 dark:peer-hover:bg-surface-700 peer-hover:text-surface-700 dark:peer-hover:text-white/80'?: undefined;
27
+ 'peer-hover:bg-primary-600 peer-hover:border-primary-600 dark:peer-hover:bg-primary-300 dark:peer-hover:border-primary-300'?: undefined;
28
+ 'peer-focus-visible:ring peer-focus-visible:ring-primary-400/50 dark:peer-focus-visible:ring-primary-300/50'?: undefined;
29
+ 'cursor-pointer'?: undefined;
30
+ 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
31
+ } | {
32
+ 'peer-hover:bg-surface-50 dark:peer-hover:bg-surface-800/80 peer-hover:border-surface-200 dark:peer-hover:bg-surface-700 peer-hover:text-surface-700 dark:peer-hover:text-white/80': boolean;
33
+ 'peer-hover:bg-primary-600 peer-hover:border-primary-600 dark:peer-hover:bg-primary-300 dark:peer-hover:border-primary-300': any;
34
+ 'peer-focus-visible:ring peer-focus-visible:ring-primary-400/50 dark:peer-focus-visible:ring-primary-300/50': boolean;
35
+ 'bg-surface-0 dark:bg-surface-900 '?: undefined;
36
+ 'border-surface-200 dark:border-surface-700 '?: undefined;
37
+ 'text-surface-700 dark:text-white/80'?: undefined;
38
+ 'bg-primary-500 dark:bg-primary-400 border-primary-500 dark:border-primary-400 text-white dark:text-surface-900'?: undefined;
39
+ 'border-red-500 dark:border-red-400'?: undefined;
40
+ 'cursor-pointer'?: undefined;
41
+ 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
42
+ } | {
43
+ 'cursor-pointer': boolean;
44
+ 'opacity-60 select-none pointer-events-none cursor-default': any;
45
+ 'bg-surface-0 dark:bg-surface-900 '?: undefined;
46
+ 'border-surface-200 dark:border-surface-700 '?: undefined;
47
+ 'text-surface-700 dark:text-white/80'?: undefined;
48
+ 'bg-primary-500 dark:bg-primary-400 border-primary-500 dark:border-primary-400 text-white dark:text-surface-900'?: undefined;
49
+ 'border-red-500 dark:border-red-400'?: undefined;
50
+ 'peer-hover:bg-surface-50 dark:peer-hover:bg-surface-800/80 peer-hover:border-surface-200 dark:peer-hover:bg-surface-700 peer-hover:text-surface-700 dark:peer-hover:text-white/80'?: undefined;
51
+ 'peer-hover:bg-primary-600 peer-hover:border-primary-600 dark:peer-hover:bg-primary-300 dark:peer-hover:border-primary-300'?: undefined;
52
+ 'peer-focus-visible:ring peer-focus-visible:ring-primary-400/50 dark:peer-focus-visible:ring-primary-300/50'?: undefined;
53
+ })[];
54
+ };
55
+ namespace label {
56
+ let _class_1: string;
57
+ export { _class_1 as class };
58
+ }
59
+ namespace input {
60
+ let _class_2: string[];
61
+ export { _class_2 as class };
62
+ }
63
+ function icon({ props }: {
64
+ props: any;
65
+ }): {
66
+ class: (string | {
67
+ 'text-surface-600 dark:text-white/70': boolean;
68
+ 'text-white dark:text-surface-900': any;
69
+ })[];
70
+ };
71
+ }
72
+ export default _default;
@@ -0,0 +1,91 @@
1
+ export default {
2
+ root: {
3
+ class: [
4
+ 'relative',
5
+
6
+ // Alignment
7
+ 'inline-flex',
8
+ 'align-bottom',
9
+
10
+ // Misc
11
+ 'cursor-pointer',
12
+ 'select-none'
13
+ ]
14
+ },
15
+ box: ({ props }) => ({
16
+ class: [
17
+ // Alignments
18
+ 'items-center inline-flex flex-1 text-center align-bottom justify-center',
19
+
20
+ // Sizes & Spacing
21
+ 'px-4 py-3 leading-none',
22
+
23
+ // Shapes
24
+ 'rounded-md border',
25
+
26
+ // Colors
27
+ {
28
+ 'bg-surface-0 dark:bg-surface-900 ': !props.modelValue,
29
+ 'border-surface-200 dark:border-surface-700 ': !props.modelValue && !props.invalid,
30
+ 'text-surface-700 dark:text-white/80': !props.modelValue,
31
+ 'bg-primary-500 dark:bg-primary-400 border-primary-500 dark:border-primary-400 text-white dark:text-surface-900': props.modelValue
32
+ },
33
+
34
+ // Invalid State
35
+ { 'border-red-500 dark:border-red-400': props.invalid },
36
+
37
+ // States
38
+ {
39
+ 'peer-hover:bg-surface-50 dark:peer-hover:bg-surface-800/80 peer-hover:border-surface-200 dark:peer-hover:bg-surface-700 peer-hover:text-surface-700 dark:peer-hover:text-white/80': !props.modelValue && !props.invalid,
40
+ 'peer-hover:bg-primary-600 peer-hover:border-primary-600 dark:peer-hover:bg-primary-300 dark:peer-hover:border-primary-300': props.modelValue,
41
+ 'peer-focus-visible:ring peer-focus-visible:ring-primary-400/50 dark:peer-focus-visible:ring-primary-300/50': !props.disabled
42
+ },
43
+
44
+ // Transitions
45
+ 'transition-all duration-200',
46
+
47
+ // Misc
48
+ { 'cursor-pointer': !props.disabled, 'opacity-60 select-none pointer-events-none cursor-default': props.disabled }
49
+ ]
50
+ }),
51
+ label: {
52
+ class: 'font-bold text-center w-full'
53
+ },
54
+ input: {
55
+ class: [
56
+ 'peer',
57
+
58
+ // Size
59
+ 'w-full ',
60
+ 'h-full',
61
+
62
+ // Position
63
+ 'absolute',
64
+ 'top-0 left-0',
65
+ 'z-10',
66
+
67
+ // Spacing
68
+ 'p-0',
69
+ 'm-0',
70
+
71
+ // Shape
72
+ 'opacity-0',
73
+ 'rounded-md',
74
+ 'outline-none',
75
+ 'border border-surface-200 dark:border-surface-700',
76
+
77
+ // Misc
78
+ 'appearance-none',
79
+ 'cursor-pointer'
80
+ ]
81
+ },
82
+ icon: ({ props }) => ({
83
+ class: [
84
+ ' mr-2',
85
+ {
86
+ 'text-surface-600 dark:text-white/70': !props.modelValue,
87
+ 'text-white dark:text-surface-900': props.modelValue
88
+ }
89
+ ]
90
+ })
91
+ };
@@ -0,0 +1,19 @@
1
+ declare namespace _default {
2
+ namespace root {
3
+ let _class: string[];
4
+ export { _class as class };
5
+ }
6
+ namespace start {
7
+ let _class_1: string;
8
+ export { _class_1 as class };
9
+ }
10
+ namespace center {
11
+ let _class_2: string;
12
+ export { _class_2 as class };
13
+ }
14
+ namespace end {
15
+ let _class_3: string;
16
+ export { _class_3 as class };
17
+ }
18
+ }
19
+ export default _default;
@@ -0,0 +1,28 @@
1
+ export default {
2
+ root: {
3
+ class: [
4
+ // Flex & Alignment
5
+ 'flex items-center justify-between flex-wrap',
6
+ 'gap-2',
7
+
8
+ // Spacing
9
+ 'p-5',
10
+
11
+ // Shape
12
+ 'rounded-md',
13
+
14
+ // Color
15
+ 'bg-surface-50 dark:bg-surface-800',
16
+ 'border border-surface-200 dark:border-surface-700'
17
+ ]
18
+ },
19
+ start: {
20
+ class: 'flex items-center'
21
+ },
22
+ center: {
23
+ class: 'flex items-center'
24
+ },
25
+ end: {
26
+ class: 'flex items-center'
27
+ }
28
+ };
@@ -0,0 +1,38 @@
1
+ declare namespace _default {
2
+ function root({ context, props }: {
3
+ context: any;
4
+ props: any;
5
+ }): {
6
+ class: (string | {
7
+ 'py-0 px-1': any;
8
+ 'py-1 px-0': any;
9
+ })[];
10
+ };
11
+ function arrow({ context, props }: {
12
+ context: any;
13
+ props: any;
14
+ }): {
15
+ class: (string | {
16
+ 'border-y-[0.25rem] border-r-[0.25rem] border-l-0 border-r-surface-600': any;
17
+ 'border-y-[0.25rem] border-l-[0.25rem] border-r-0 border-l-surface-600': any;
18
+ 'border-x-[0.25rem] border-t-[0.25rem] border-b-0 border-t-surface-600': any;
19
+ 'border-x-[0.25rem] border-b-[0.25rem] border-t-0 border-b-surface-600': any;
20
+ '-mt-1 '?: undefined;
21
+ '-mt-1'?: undefined;
22
+ '-ml-1'?: undefined;
23
+ } | {
24
+ '-mt-1 ': any;
25
+ '-mt-1': any;
26
+ '-ml-1': any;
27
+ 'border-y-[0.25rem] border-r-[0.25rem] border-l-0 border-r-surface-600'?: undefined;
28
+ 'border-y-[0.25rem] border-l-[0.25rem] border-r-0 border-l-surface-600'?: undefined;
29
+ 'border-x-[0.25rem] border-t-[0.25rem] border-b-0 border-t-surface-600'?: undefined;
30
+ 'border-x-[0.25rem] border-b-[0.25rem] border-t-0 border-b-surface-600'?: undefined;
31
+ })[];
32
+ };
33
+ namespace text {
34
+ let _class: string[];
35
+ export { _class as class };
36
+ }
37
+ }
38
+ export default _default;
@@ -0,0 +1,46 @@
1
+ export default {
2
+ root: ({ context, props }) => ({
3
+ class: [
4
+ // Position and Shadows
5
+ 'absolute',
6
+ 'shadow-md',
7
+ 'p-fadein',
8
+ // Spacing
9
+ {
10
+ 'py-0 px-1': context?.right || context?.left || (!context?.right && !context?.left && !context?.top && !context?.bottom),
11
+ 'py-1 px-0': context?.top || context?.bottom
12
+ }
13
+ ]
14
+ }),
15
+ arrow: ({ context, props }) => ({
16
+ class: [
17
+ // Position
18
+
19
+ 'absolute',
20
+
21
+ // Size
22
+ 'w-0',
23
+ 'h-0',
24
+
25
+ // Shape
26
+ 'border-transparent',
27
+ 'border-solid',
28
+ {
29
+ 'border-y-[0.25rem] border-r-[0.25rem] border-l-0 border-r-surface-600': context?.right || (!context?.right && !context?.left && !context?.top && !context?.bottom),
30
+ 'border-y-[0.25rem] border-l-[0.25rem] border-r-0 border-l-surface-600': context?.left,
31
+ 'border-x-[0.25rem] border-t-[0.25rem] border-b-0 border-t-surface-600': context?.top,
32
+ 'border-x-[0.25rem] border-b-[0.25rem] border-t-0 border-b-surface-600': context?.bottom
33
+ },
34
+
35
+ // Spacing
36
+ {
37
+ '-mt-1 ': context?.right || (!context?.right && !context?.left && !context?.top && !context?.bottom),
38
+ '-mt-1': context?.left,
39
+ '-ml-1': context?.top || context?.bottom
40
+ }
41
+ ]
42
+ }),
43
+ text: {
44
+ class: ['p-3', 'bg-surface-600 dark:bg-surface-700', 'text-white', 'leading-none', 'rounded-md', 'whitespace-pre-line', 'break-words']
45
+ }
46
+ };
@@ -0,0 +1,105 @@
1
+ declare namespace _default {
2
+ namespace root {
3
+ let _class: string[];
4
+ export { _class as class };
5
+ }
6
+ namespace wrapper {
7
+ let _class_1: string[];
8
+ export { _class_1 as class };
9
+ }
10
+ namespace container {
11
+ let _class_2: string[];
12
+ export { _class_2 as class };
13
+ }
14
+ namespace node {
15
+ let _class_3: string[];
16
+ export { _class_3 as class };
17
+ }
18
+ function content({ context, props }: {
19
+ context: any;
20
+ props: any;
21
+ }): {
22
+ class: (string | {
23
+ 'bg-primary-50 dark:bg-primary-400/30 text-primary-600 dark:text-surface-0': any;
24
+ 'hover:bg-surface-50 dark:hover:bg-surface-700/40'?: undefined;
25
+ 'cursor-pointer select-none'?: undefined;
26
+ } | {
27
+ 'hover:bg-surface-50 dark:hover:bg-surface-700/40': boolean;
28
+ 'bg-primary-50 dark:bg-primary-400/30 text-primary-600 dark:text-surface-0'?: undefined;
29
+ 'cursor-pointer select-none'?: undefined;
30
+ } | {
31
+ 'cursor-pointer select-none': boolean;
32
+ 'bg-primary-50 dark:bg-primary-400/30 text-primary-600 dark:text-surface-0'?: undefined;
33
+ 'hover:bg-surface-50 dark:hover:bg-surface-700/40'?: undefined;
34
+ })[];
35
+ };
36
+ function toggler({ context }: {
37
+ context: any;
38
+ }): {
39
+ class: (string | {
40
+ 'text-surface-500 dark:text-white': boolean;
41
+ 'text-primary-600 dark:text-white': any;
42
+ invisible: any;
43
+ })[];
44
+ };
45
+ function nodeCheckbox({ props, context, instance }: {
46
+ props: any;
47
+ context: any;
48
+ instance: any;
49
+ }): {
50
+ root: {
51
+ class: string[];
52
+ };
53
+ box: {
54
+ class: (string | {
55
+ 'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900': boolean;
56
+ 'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400': any;
57
+ 'peer-hover:border-primary-500 dark:peer-hover:border-primary-400'?: undefined;
58
+ 'peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300'?: undefined;
59
+ 'peer-focus-visible:border-primary-500 dark:peer-focus-visible:border-primary-400 peer-focus-visible:ring-2 peer-focus-visible:ring-primary-400/20 dark:peer-focus-visible:ring-primary-300/20'?: undefined;
60
+ 'cursor-default opacity-60'?: undefined;
61
+ } | {
62
+ 'peer-hover:border-primary-500 dark:peer-hover:border-primary-400': boolean;
63
+ 'peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300': any;
64
+ 'peer-focus-visible:border-primary-500 dark:peer-focus-visible:border-primary-400 peer-focus-visible:ring-2 peer-focus-visible:ring-primary-400/20 dark:peer-focus-visible:ring-primary-300/20': boolean;
65
+ 'cursor-default opacity-60': any;
66
+ 'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900'?: undefined;
67
+ 'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400'?: undefined;
68
+ })[];
69
+ };
70
+ input: {
71
+ class: string[];
72
+ };
73
+ icon: {
74
+ class: (string | {
75
+ 'text-white dark:text-surface-900': boolean;
76
+ 'text-gray dark:text-white': any;
77
+ })[];
78
+ };
79
+ };
80
+ namespace nodeicon {
81
+ let _class_4: string[];
82
+ export { _class_4 as class };
83
+ }
84
+ namespace subgroup {
85
+ let _class_5: string[];
86
+ export { _class_5 as class };
87
+ }
88
+ namespace filtercontainer {
89
+ let _class_6: string[];
90
+ export { _class_6 as class };
91
+ }
92
+ namespace input {
93
+ let _class_7: string[];
94
+ export { _class_7 as class };
95
+ }
96
+ namespace loadingicon {
97
+ let _class_8: string[];
98
+ export { _class_8 as class };
99
+ }
100
+ namespace searchicon {
101
+ let _class_9: string[];
102
+ export { _class_9 as class };
103
+ }
104
+ }
105
+ export default _default;