primereact 10.0.0 → 10.0.2

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 (483) hide show
  1. package/README.md +1 -1
  2. package/accordion/accordion.esm.js +0 -1
  3. package/api/api.esm.js +0 -1
  4. package/autocomplete/autocomplete.esm.js +8 -7
  5. package/autocomplete/autocomplete.esm.min.js +1 -1
  6. package/avatar/avatar.esm.js +0 -1
  7. package/avatargroup/avatargroup.esm.js +0 -1
  8. package/badge/badge.esm.js +0 -1
  9. package/blockui/blockui.esm.js +3 -1
  10. package/blockui/blockui.esm.min.js +1 -1
  11. package/breadcrumb/breadcrumb.esm.js +0 -1
  12. package/button/button.esm.js +0 -1
  13. package/calendar/calendar.esm.js +2 -1
  14. package/calendar/calendar.esm.min.js +1 -1
  15. package/card/card.esm.js +0 -1
  16. package/carousel/carousel.esm.js +7 -8
  17. package/carousel/carousel.esm.min.js +1 -1
  18. package/cascadeselect/cascadeselect.esm.js +0 -1
  19. package/chart/chart.esm.js +0 -1
  20. package/checkbox/checkbox.esm.js +0 -1
  21. package/chip/chip.esm.js +0 -1
  22. package/chips/chips.esm.js +0 -1
  23. package/colorpicker/colorpicker.esm.js +0 -1
  24. package/column/column.esm.js +0 -1
  25. package/columngroup/columngroup.esm.js +0 -1
  26. package/componentbase/componentbase.cjs.js +12 -7
  27. package/componentbase/componentbase.cjs.min.js +1 -1
  28. package/componentbase/componentbase.esm.js +23 -13
  29. package/componentbase/componentbase.esm.min.js +1 -1
  30. package/componentbase/componentbase.js +12 -7
  31. package/componentbase/componentbase.min.js +1 -1
  32. package/confirmdialog/confirmdialog.esm.js +0 -1
  33. package/confirmpopup/confirmpopup.esm.js +0 -1
  34. package/contextmenu/contextmenu.esm.js +0 -1
  35. package/core/core.js +12 -7
  36. package/core/core.min.js +1 -1
  37. package/csstransition/csstransition.esm.js +0 -1
  38. package/datascroller/datascroller.esm.js +0 -1
  39. package/datatable/datatable.esm.js +0 -1
  40. package/dataview/dataview.esm.js +0 -1
  41. package/deferredcontent/deferredcontent.esm.js +0 -1
  42. package/dialog/dialog.esm.js +2 -1
  43. package/dialog/dialog.esm.min.js +1 -1
  44. package/divider/divider.esm.js +0 -1
  45. package/dock/dock.esm.js +0 -1
  46. package/dropdown/dropdown.esm.js +0 -1
  47. package/editor/editor.esm.js +0 -1
  48. package/fieldset/fieldset.esm.js +0 -1
  49. package/fileupload/fileupload.esm.js +0 -1
  50. package/galleria/galleria.esm.js +11 -7
  51. package/galleria/galleria.esm.min.js +1 -1
  52. package/hooks/hooks.esm.js +0 -6
  53. package/iconbase/iconbase.esm.js +0 -1
  54. package/icons/angledoubledown/index.esm.js +0 -1
  55. package/icons/angledoubleleft/index.esm.js +0 -1
  56. package/icons/angledoubleright/index.esm.js +0 -1
  57. package/icons/angledoubleup/index.esm.js +0 -1
  58. package/icons/angledown/index.esm.js +0 -1
  59. package/icons/angleleft/index.esm.js +0 -1
  60. package/icons/angleright/index.esm.js +0 -1
  61. package/icons/angleup/index.esm.js +0 -1
  62. package/icons/arrowdown/index.esm.js +0 -1
  63. package/icons/arrowup/index.esm.js +0 -1
  64. package/icons/ban/index.esm.js +0 -1
  65. package/icons/bars/index.esm.js +0 -1
  66. package/icons/calendar/index.esm.js +0 -1
  67. package/icons/check/index.esm.js +0 -1
  68. package/icons/chevrondown/index.esm.js +0 -1
  69. package/icons/chevronleft/index.esm.js +0 -1
  70. package/icons/chevronright/index.esm.js +0 -1
  71. package/icons/chevronup/index.esm.js +0 -1
  72. package/icons/download/index.esm.js +0 -1
  73. package/icons/exclamationtriangle/index.esm.js +0 -1
  74. package/icons/eye/index.esm.js +0 -1
  75. package/icons/eyeslash/index.esm.js +0 -1
  76. package/icons/filter/index.esm.js +0 -1
  77. package/icons/filterslash/index.esm.js +0 -1
  78. package/icons/infocircle/index.esm.js +0 -1
  79. package/icons/minus/index.esm.js +0 -1
  80. package/icons/pencil/index.esm.js +0 -1
  81. package/icons/plus/index.esm.js +0 -1
  82. package/icons/refresh/index.esm.js +0 -1
  83. package/icons/search/index.esm.js +0 -1
  84. package/icons/searchminus/index.esm.js +0 -1
  85. package/icons/searchplus/index.esm.js +0 -1
  86. package/icons/sortalt/index.esm.js +0 -1
  87. package/icons/sortamountdown/index.esm.js +0 -1
  88. package/icons/sortamountupalt/index.esm.js +0 -1
  89. package/icons/spinner/index.esm.js +0 -1
  90. package/icons/star/index.esm.js +0 -1
  91. package/icons/starfill/index.esm.js +0 -1
  92. package/icons/thlarge/index.esm.js +0 -1
  93. package/icons/times/index.esm.js +0 -1
  94. package/icons/timescircle/index.esm.js +0 -1
  95. package/icons/trash/index.esm.js +0 -1
  96. package/icons/undo/index.esm.js +0 -1
  97. package/icons/upload/index.esm.js +0 -1
  98. package/icons/windowmaximize/index.esm.js +0 -1
  99. package/icons/windowminimize/index.esm.js +0 -1
  100. package/image/image.esm.js +2 -1
  101. package/image/image.esm.min.js +1 -1
  102. package/inplace/inplace.esm.js +0 -1
  103. package/inputmask/inputmask.esm.js +0 -1
  104. package/inputnumber/inputnumber.esm.js +0 -1
  105. package/inputswitch/inputswitch.esm.js +0 -1
  106. package/inputtext/inputtext.esm.js +0 -1
  107. package/inputtextarea/inputtextarea.esm.js +0 -1
  108. package/keyfilter/keyfilter.esm.js +0 -1
  109. package/knob/knob.esm.js +0 -1
  110. package/listbox/listbox.esm.js +0 -1
  111. package/megamenu/megamenu.esm.js +0 -1
  112. package/mention/mention.esm.js +0 -1
  113. package/menu/menu.esm.js +0 -1
  114. package/menubar/menubar.esm.js +0 -1
  115. package/message/message.esm.js +0 -1
  116. package/messages/messages.esm.js +1 -2
  117. package/messages/messages.esm.min.js +1 -1
  118. package/multiselect/multiselect.esm.js +0 -1
  119. package/multistatecheckbox/multistatecheckbox.esm.js +0 -1
  120. package/orderlist/orderlist.esm.js +9 -5
  121. package/orderlist/orderlist.esm.min.js +1 -1
  122. package/organizationchart/organizationchart.esm.js +0 -1
  123. package/overlaypanel/overlaypanel.esm.js +0 -1
  124. package/overlayservice/overlayservice.esm.js +0 -1
  125. package/package.json +2 -2
  126. package/paginator/paginator.esm.js +0 -1
  127. package/panel/panel.esm.js +0 -1
  128. package/panelmenu/panelmenu.esm.js +0 -1
  129. package/passthrough/index.esm.js +0 -1
  130. package/passthrough/tailwind/index.cjs.js +2 -4
  131. package/passthrough/tailwind/index.cjs.min.js +1 -1
  132. package/passthrough/tailwind/index.esm.js +149 -148
  133. package/passthrough/tailwind/index.esm.min.js +1 -1
  134. package/passthrough/tailwind/index.js +2 -4
  135. package/passthrough/tailwind/index.min.js +1 -1
  136. package/password/password.esm.js +0 -1
  137. package/picklist/picklist.esm.js +0 -1
  138. package/portal/portal.esm.js +0 -1
  139. package/primereact.all.cjs.js +12 -7
  140. package/primereact.all.cjs.min.js +1 -1
  141. package/primereact.all.esm.js +70 -42
  142. package/primereact.all.esm.min.js +1 -1
  143. package/primereact.all.js +12 -7
  144. package/primereact.all.min.js +1 -1
  145. package/progressbar/progressbar.esm.js +0 -1
  146. package/progressspinner/progressspinner.esm.js +0 -1
  147. package/radiobutton/radiobutton.esm.js +0 -1
  148. package/rating/rating.esm.js +0 -1
  149. package/ripple/ripple.esm.js +0 -1
  150. package/row/row.esm.js +0 -1
  151. package/scrollpanel/scrollpanel.esm.js +0 -1
  152. package/scrolltop/scrolltop.esm.js +0 -1
  153. package/selectbutton/selectbutton.esm.js +0 -1
  154. package/sidebar/sidebar.esm.js +2 -1
  155. package/sidebar/sidebar.esm.min.js +1 -1
  156. package/skeleton/skeleton.esm.js +0 -1
  157. package/slidemenu/slidemenu.esm.js +0 -1
  158. package/slider/slider.esm.js +0 -1
  159. package/speeddial/speeddial.esm.js +0 -1
  160. package/splitbutton/splitbutton.esm.js +0 -1
  161. package/splitter/splitter.esm.js +0 -1
  162. package/steps/steps.esm.js +0 -1
  163. package/styleclass/styleclass.esm.js +0 -1
  164. package/tabmenu/tabmenu.esm.js +0 -1
  165. package/tabview/tabview.esm.js +0 -1
  166. package/tag/tag.esm.js +0 -1
  167. package/terminal/terminal.esm.js +0 -1
  168. package/terminalservice/terminalservice.esm.js +0 -1
  169. package/tieredmenu/tieredmenu.esm.js +0 -1
  170. package/timeline/timeline.esm.js +0 -1
  171. package/toast/toast.esm.js +0 -1
  172. package/togglebutton/togglebutton.esm.js +0 -1
  173. package/toolbar/toolbar.esm.js +0 -1
  174. package/tooltip/tooltip.esm.js +0 -1
  175. package/tree/tree.esm.js +0 -1
  176. package/treeselect/treeselect.esm.js +0 -1
  177. package/treetable/treetable.esm.js +0 -1
  178. package/tristatecheckbox/tristatecheckbox.esm.js +0 -1
  179. package/utils/utils.esm.js +0 -1
  180. package/virtualscroller/virtualscroller.esm.js +0 -1
  181. package/web-types.json +1 -1
  182. package/accordion/accordion.esm.min.mjs +0 -1
  183. package/accordion/accordion.esm.mjs +0 -420
  184. package/api/api.esm.min.mjs +0 -1
  185. package/api/api.esm.mjs +0 -943
  186. package/autocomplete/autocomplete.esm.min.mjs +0 -1
  187. package/autocomplete/autocomplete.esm.mjs +0 -1128
  188. package/avatar/avatar.esm.min.mjs +0 -1
  189. package/avatar/avatar.esm.mjs +0 -244
  190. package/avatargroup/avatargroup.esm.min.mjs +0 -1
  191. package/avatargroup/avatargroup.esm.mjs +0 -54
  192. package/badge/badge.esm.min.mjs +0 -1
  193. package/badge/badge.esm.mjs +0 -109
  194. package/blockui/blockui.esm.min.mjs +0 -1
  195. package/blockui/blockui.esm.mjs +0 -267
  196. package/breadcrumb/breadcrumb.esm.min.mjs +0 -1
  197. package/breadcrumb/breadcrumb.esm.mjs +0 -350
  198. package/button/button.esm.min.mjs +0 -1
  199. package/button/button.esm.mjs +0 -294
  200. package/calendar/calendar.esm.min.mjs +0 -1
  201. package/calendar/calendar.esm.mjs +0 -3474
  202. package/card/card.esm.min.mjs +0 -1
  203. package/card/card.esm.mjs +0 -97
  204. package/carousel/carousel.esm.min.mjs +0 -1
  205. package/carousel/carousel.esm.mjs +0 -800
  206. package/cascadeselect/cascadeselect.esm.min.mjs +0 -1
  207. package/cascadeselect/cascadeselect.esm.mjs +0 -818
  208. package/chart/chart.esm.min.mjs +0 -1
  209. package/chart/chart.esm.mjs +0 -154
  210. package/checkbox/checkbox.esm.min.mjs +0 -1
  211. package/checkbox/checkbox.esm.mjs +0 -356
  212. package/chip/chip.esm.min.mjs +0 -1
  213. package/chip/chip.esm.mjs +0 -247
  214. package/chips/chips.esm.min.mjs +0 -1
  215. package/chips/chips.esm.mjs +0 -500
  216. package/colorpicker/colorpicker.esm.min.mjs +0 -1
  217. package/colorpicker/colorpicker.esm.mjs +0 -787
  218. package/column/column.esm.min.mjs +0 -1
  219. package/column/column.esm.mjs +0 -7
  220. package/columngroup/columngroup.esm.min.mjs +0 -1
  221. package/columngroup/columngroup.esm.mjs +0 -5
  222. package/componentbase/componentbase.esm.min.mjs +0 -1
  223. package/componentbase/componentbase.esm.mjs +0 -328
  224. package/confirmdialog/confirmdialog.esm.min.mjs +0 -1
  225. package/confirmdialog/confirmdialog.esm.mjs +0 -375
  226. package/confirmpopup/confirmpopup.esm.min.mjs +0 -1
  227. package/confirmpopup/confirmpopup.esm.mjs +0 -609
  228. package/contextmenu/contextmenu.esm.min.mjs +0 -1
  229. package/contextmenu/contextmenu.esm.mjs +0 -663
  230. package/csstransition/csstransition.esm.min.mjs +0 -1
  231. package/csstransition/csstransition.esm.mjs +0 -137
  232. package/datascroller/datascroller.esm.min.mjs +0 -1
  233. package/datascroller/datascroller.esm.mjs +0 -319
  234. package/datatable/datatable.esm.min.mjs +0 -1
  235. package/datatable/datatable.esm.mjs +0 -6635
  236. package/dataview/dataview.esm.min.mjs +0 -1
  237. package/dataview/dataview.esm.mjs +0 -505
  238. package/deferredcontent/deferredcontent.esm.min.mjs +0 -1
  239. package/deferredcontent/deferredcontent.esm.mjs +0 -132
  240. package/dialog/dialog.esm.min.mjs +0 -1
  241. package/dialog/dialog.esm.mjs +0 -984
  242. package/divider/divider.esm.min.mjs +0 -1
  243. package/divider/divider.esm.mjs +0 -78
  244. package/dock/dock.esm.min.mjs +0 -1
  245. package/dock/dock.esm.mjs +0 -347
  246. package/dropdown/dropdown.esm.min.mjs +0 -1
  247. package/dropdown/dropdown.esm.mjs +0 -1379
  248. package/editor/editor.esm.min.mjs +0 -1
  249. package/editor/editor.esm.mjs +0 -337
  250. package/fieldset/fieldset.esm.min.mjs +0 -1
  251. package/fieldset/fieldset.esm.mjs +0 -269
  252. package/fileupload/fileupload.esm.min.mjs +0 -1
  253. package/fileupload/fileupload.esm.mjs +0 -1004
  254. package/galleria/galleria.esm.min.mjs +0 -1
  255. package/galleria/galleria.esm.mjs +0 -1094
  256. package/hooks/hooks.esm.min.mjs +0 -1
  257. package/hooks/hooks.esm.mjs +0 -1036
  258. package/iconbase/iconbase.esm.min.mjs +0 -1
  259. package/iconbase/iconbase.esm.mjs +0 -32
  260. package/icons/angledoubledown/index.esm.min.mjs +0 -1
  261. package/icons/angledoubledown/index.esm.mjs +0 -38
  262. package/icons/angledoubleleft/index.esm.min.mjs +0 -1
  263. package/icons/angledoubleleft/index.esm.mjs +0 -38
  264. package/icons/angledoubleright/index.esm.min.mjs +0 -1
  265. package/icons/angledoubleright/index.esm.mjs +0 -38
  266. package/icons/angledoubleup/index.esm.min.mjs +0 -1
  267. package/icons/angledoubleup/index.esm.mjs +0 -38
  268. package/icons/angledown/index.esm.min.mjs +0 -1
  269. package/icons/angledown/index.esm.mjs +0 -36
  270. package/icons/angleleft/index.esm.min.mjs +0 -1
  271. package/icons/angleleft/index.esm.mjs +0 -36
  272. package/icons/angleright/index.esm.min.mjs +0 -1
  273. package/icons/angleright/index.esm.mjs +0 -36
  274. package/icons/angleup/index.esm.min.mjs +0 -1
  275. package/icons/angleup/index.esm.mjs +0 -36
  276. package/icons/arrowdown/index.esm.min.mjs +0 -1
  277. package/icons/arrowdown/index.esm.mjs +0 -660
  278. package/icons/arrowup/index.esm.min.mjs +0 -1
  279. package/icons/arrowup/index.esm.mjs +0 -660
  280. package/icons/ban/index.esm.min.mjs +0 -1
  281. package/icons/ban/index.esm.mjs +0 -658
  282. package/icons/bars/index.esm.min.mjs +0 -1
  283. package/icons/bars/index.esm.mjs +0 -38
  284. package/icons/calendar/index.esm.min.mjs +0 -1
  285. package/icons/calendar/index.esm.mjs +0 -36
  286. package/icons/check/index.esm.min.mjs +0 -1
  287. package/icons/check/index.esm.mjs +0 -36
  288. package/icons/chevrondown/index.esm.min.mjs +0 -1
  289. package/icons/chevrondown/index.esm.mjs +0 -36
  290. package/icons/chevronleft/index.esm.min.mjs +0 -1
  291. package/icons/chevronleft/index.esm.mjs +0 -36
  292. package/icons/chevronright/index.esm.min.mjs +0 -1
  293. package/icons/chevronright/index.esm.mjs +0 -36
  294. package/icons/chevronup/index.esm.min.mjs +0 -1
  295. package/icons/chevronup/index.esm.mjs +0 -36
  296. package/icons/download/index.esm.min.mjs +0 -1
  297. package/icons/download/index.esm.mjs +0 -660
  298. package/icons/exclamationtriangle/index.esm.min.mjs +0 -1
  299. package/icons/exclamationtriangle/index.esm.mjs +0 -664
  300. package/icons/eye/index.esm.min.mjs +0 -1
  301. package/icons/eye/index.esm.mjs +0 -38
  302. package/icons/eyeslash/index.esm.min.mjs +0 -1
  303. package/icons/eyeslash/index.esm.mjs +0 -660
  304. package/icons/filter/index.esm.min.mjs +0 -1
  305. package/icons/filter/index.esm.mjs +0 -658
  306. package/icons/filterslash/index.esm.min.mjs +0 -1
  307. package/icons/filterslash/index.esm.mjs +0 -660
  308. package/icons/infocircle/index.esm.min.mjs +0 -1
  309. package/icons/infocircle/index.esm.mjs +0 -660
  310. package/icons/minus/index.esm.min.mjs +0 -1
  311. package/icons/minus/index.esm.mjs +0 -36
  312. package/icons/pencil/index.esm.min.mjs +0 -1
  313. package/icons/pencil/index.esm.mjs +0 -658
  314. package/icons/plus/index.esm.min.mjs +0 -1
  315. package/icons/plus/index.esm.mjs +0 -658
  316. package/icons/refresh/index.esm.min.mjs +0 -1
  317. package/icons/refresh/index.esm.mjs +0 -660
  318. package/icons/search/index.esm.min.mjs +0 -1
  319. package/icons/search/index.esm.mjs +0 -660
  320. package/icons/searchminus/index.esm.min.mjs +0 -1
  321. package/icons/searchminus/index.esm.mjs +0 -660
  322. package/icons/searchplus/index.esm.min.mjs +0 -1
  323. package/icons/searchplus/index.esm.mjs +0 -660
  324. package/icons/sortalt/index.esm.min.mjs +0 -1
  325. package/icons/sortalt/index.esm.mjs +0 -667
  326. package/icons/sortamountdown/index.esm.min.mjs +0 -1
  327. package/icons/sortamountdown/index.esm.mjs +0 -673
  328. package/icons/sortamountupalt/index.esm.min.mjs +0 -1
  329. package/icons/sortamountupalt/index.esm.mjs +0 -673
  330. package/icons/spinner/index.esm.min.mjs +0 -1
  331. package/icons/spinner/index.esm.mjs +0 -658
  332. package/icons/star/index.esm.min.mjs +0 -1
  333. package/icons/star/index.esm.mjs +0 -658
  334. package/icons/starfill/index.esm.min.mjs +0 -1
  335. package/icons/starfill/index.esm.mjs +0 -658
  336. package/icons/thlarge/index.esm.min.mjs +0 -1
  337. package/icons/thlarge/index.esm.mjs +0 -660
  338. package/icons/times/index.esm.min.mjs +0 -1
  339. package/icons/times/index.esm.mjs +0 -36
  340. package/icons/timescircle/index.esm.min.mjs +0 -1
  341. package/icons/timescircle/index.esm.mjs +0 -660
  342. package/icons/trash/index.esm.min.mjs +0 -1
  343. package/icons/trash/index.esm.mjs +0 -660
  344. package/icons/undo/index.esm.min.mjs +0 -1
  345. package/icons/undo/index.esm.mjs +0 -660
  346. package/icons/upload/index.esm.min.mjs +0 -1
  347. package/icons/upload/index.esm.mjs +0 -660
  348. package/icons/windowmaximize/index.esm.min.mjs +0 -1
  349. package/icons/windowmaximize/index.esm.mjs +0 -660
  350. package/icons/windowminimize/index.esm.min.mjs +0 -1
  351. package/icons/windowminimize/index.esm.mjs +0 -660
  352. package/image/image.esm.min.mjs +0 -1
  353. package/image/image.esm.mjs +0 -1163
  354. package/inplace/inplace.esm.min.mjs +0 -1
  355. package/inplace/inplace.esm.mjs +0 -242
  356. package/inputmask/inputmask.esm.min.mjs +0 -1
  357. package/inputmask/inputmask.esm.mjs +0 -559
  358. package/inputnumber/inputnumber.esm.min.mjs +0 -1
  359. package/inputnumber/inputnumber.esm.mjs +0 -1208
  360. package/inputswitch/inputswitch.esm.min.mjs +0 -1
  361. package/inputswitch/inputswitch.esm.mjs +0 -290
  362. package/inputtext/inputtext.esm.min.mjs +0 -1
  363. package/inputtext/inputtext.esm.mjs +0 -170
  364. package/inputtextarea/inputtextarea.esm.min.mjs +0 -1
  365. package/inputtextarea/inputtextarea.esm.mjs +0 -219
  366. package/keyfilter/keyfilter.esm.min.mjs +0 -1
  367. package/keyfilter/keyfilter.esm.mjs +0 -107
  368. package/knob/knob.esm.min.mjs +0 -1
  369. package/knob/knob.esm.mjs +0 -317
  370. package/listbox/listbox.esm.min.mjs +0 -1
  371. package/listbox/listbox.esm.mjs +0 -809
  372. package/megamenu/megamenu.esm.min.mjs +0 -1
  373. package/megamenu/megamenu.esm.mjs +0 -715
  374. package/mention/mention.esm.min.mjs +0 -1
  375. package/mention/mention.esm.mjs +0 -770
  376. package/menu/menu.esm.min.mjs +0 -1
  377. package/menu/menu.esm.mjs +0 -484
  378. package/menubar/menubar.esm.min.mjs +0 -1
  379. package/menubar/menubar.esm.mjs +0 -583
  380. package/message/message.esm.min.mjs +0 -1
  381. package/message/message.esm.mjs +0 -168
  382. package/messages/messages.esm.min.mjs +0 -1
  383. package/messages/messages.esm.mjs +0 -438
  384. package/multiselect/multiselect.esm.min.mjs +0 -1
  385. package/multiselect/multiselect.esm.mjs +0 -1723
  386. package/multistatecheckbox/multistatecheckbox.esm.min.mjs +0 -1
  387. package/multistatecheckbox/multistatecheckbox.esm.mjs +0 -351
  388. package/orderlist/orderlist.esm.min.mjs +0 -1
  389. package/orderlist/orderlist.esm.mjs +0 -820
  390. package/organizationchart/organizationchart.esm.min.mjs +0 -1
  391. package/organizationchart/organizationchart.esm.mjs +0 -479
  392. package/overlaypanel/overlaypanel.esm.min.mjs +0 -1
  393. package/overlaypanel/overlaypanel.esm.mjs +0 -515
  394. package/overlayservice/overlayservice.esm.min.mjs +0 -1
  395. package/overlayservice/overlayservice.esm.mjs +0 -6
  396. package/paginator/paginator.esm.min.mjs +0 -1
  397. package/paginator/paginator.esm.mjs +0 -932
  398. package/panel/panel.esm.min.mjs +0 -1
  399. package/panel/panel.esm.mjs +0 -315
  400. package/panelmenu/panelmenu.esm.min.mjs +0 -1
  401. package/panelmenu/panelmenu.esm.mjs +0 -644
  402. package/passthrough/index.esm.min.mjs +0 -1
  403. package/passthrough/index.esm.mjs +0 -70
  404. package/passthrough/tailwind/index.esm.min.mjs +0 -1
  405. package/passthrough/tailwind/index.esm.mjs +0 -3513
  406. package/password/password.esm.min.mjs +0 -1
  407. package/password/password.esm.mjs +0 -566
  408. package/picklist/picklist.esm.min.mjs +0 -1
  409. package/picklist/picklist.esm.mjs +0 -1118
  410. package/portal/portal.esm.min.mjs +0 -1
  411. package/portal/portal.esm.mjs +0 -109
  412. package/primereact.all.esm.min.mjs +0 -1
  413. package/primereact.all.esm.mjs +0 -51669
  414. package/progressbar/progressbar.esm.min.mjs +0 -1
  415. package/progressbar/progressbar.esm.mjs +0 -189
  416. package/progressspinner/progressspinner.esm.min.mjs +0 -1
  417. package/progressspinner/progressspinner.esm.mjs +0 -87
  418. package/radiobutton/radiobutton.esm.min.mjs +0 -1
  419. package/radiobutton/radiobutton.esm.mjs +0 -328
  420. package/rating/rating.esm.min.mjs +0 -1
  421. package/rating/rating.esm.mjs +0 -272
  422. package/ripple/ripple.esm.min.mjs +0 -1
  423. package/ripple/ripple.esm.mjs +0 -99
  424. package/row/row.esm.min.mjs +0 -1
  425. package/row/row.esm.mjs +0 -35
  426. package/scrollpanel/scrollpanel.esm.min.mjs +0 -1
  427. package/scrollpanel/scrollpanel.esm.mjs +0 -209
  428. package/scrolltop/scrolltop.esm.min.mjs +0 -1
  429. package/scrolltop/scrolltop.esm.mjs +0 -268
  430. package/selectbutton/selectbutton.esm.min.mjs +0 -1
  431. package/selectbutton/selectbutton.esm.mjs +0 -326
  432. package/sidebar/sidebar.esm.min.mjs +0 -1
  433. package/sidebar/sidebar.esm.mjs +0 -544
  434. package/skeleton/skeleton.esm.min.mjs +0 -1
  435. package/skeleton/skeleton.esm.mjs +0 -124
  436. package/slidemenu/slidemenu.esm.min.mjs +0 -1
  437. package/slidemenu/slidemenu.esm.mjs +0 -688
  438. package/slider/slider.esm.min.mjs +0 -1
  439. package/slider/slider.esm.mjs +0 -477
  440. package/speeddial/speeddial.esm.min.mjs +0 -1
  441. package/speeddial/speeddial.esm.mjs +0 -520
  442. package/splitbutton/splitbutton.esm.min.mjs +0 -1
  443. package/splitbutton/splitbutton.esm.mjs +0 -544
  444. package/splitter/splitter.esm.min.mjs +0 -1
  445. package/splitter/splitter.esm.mjs +0 -465
  446. package/steps/steps.esm.min.mjs +0 -1
  447. package/steps/steps.esm.mjs +0 -293
  448. package/styleclass/styleclass.esm.min.mjs +0 -1
  449. package/styleclass/styleclass.esm.mjs +0 -268
  450. package/tabmenu/tabmenu.esm.min.mjs +0 -1
  451. package/tabmenu/tabmenu.esm.mjs +0 -331
  452. package/tabview/tabview.esm.min.mjs +0 -1
  453. package/tabview/tabview.esm.mjs +0 -677
  454. package/tag/tag.esm.min.mjs +0 -1
  455. package/tag/tag.esm.mjs +0 -116
  456. package/terminal/terminal.esm.min.mjs +0 -1
  457. package/terminal/terminal.esm.mjs +0 -279
  458. package/terminalservice/terminalservice.esm.min.mjs +0 -1
  459. package/terminalservice/terminalservice.esm.mjs +0 -6
  460. package/tieredmenu/tieredmenu.esm.min.mjs +0 -1
  461. package/tieredmenu/tieredmenu.esm.mjs +0 -698
  462. package/timeline/timeline.esm.min.mjs +0 -1
  463. package/timeline/timeline.esm.mjs +0 -163
  464. package/toast/toast.esm.min.mjs +0 -1
  465. package/toast/toast.esm.mjs +0 -738
  466. package/togglebutton/togglebutton.esm.min.mjs +0 -1
  467. package/togglebutton/togglebutton.esm.mjs +0 -216
  468. package/toolbar/toolbar.esm.min.mjs +0 -1
  469. package/toolbar/toolbar.esm.mjs +0 -78
  470. package/tooltip/tooltip.esm.min.mjs +0 -1
  471. package/tooltip/tooltip.esm.mjs +0 -695
  472. package/tree/tree.esm.min.mjs +0 -1
  473. package/tree/tree.esm.mjs +0 -1402
  474. package/treeselect/treeselect.esm.min.mjs +0 -1
  475. package/treeselect/treeselect.esm.mjs +0 -929
  476. package/treetable/treetable.esm.min.mjs +0 -1
  477. package/treetable/treetable.esm.mjs +0 -3093
  478. package/tristatecheckbox/tristatecheckbox.esm.min.mjs +0 -1
  479. package/tristatecheckbox/tristatecheckbox.esm.mjs +0 -291
  480. package/utils/utils.esm.min.mjs +0 -1
  481. package/utils/utils.esm.mjs +0 -2382
  482. package/virtualscroller/virtualscroller.esm.min.mjs +0 -1
  483. package/virtualscroller/virtualscroller.esm.mjs +0 -971
@@ -1,3513 +0,0 @@
1
- 'use client';
2
- function _typeof(o) {
3
- "@babel/helpers - typeof";
4
-
5
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
6
- return typeof o;
7
- } : function (o) {
8
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
9
- }, _typeof(o);
10
- }
11
-
12
- function _toPrimitive(input, hint) {
13
- if (_typeof(input) !== "object" || input === null) return input;
14
- var prim = input[Symbol.toPrimitive];
15
- if (prim !== undefined) {
16
- var res = prim.call(input, hint || "default");
17
- if (_typeof(res) !== "object") return res;
18
- throw new TypeError("@@toPrimitive must return a primitive value.");
19
- }
20
- return (hint === "string" ? String : Number)(input);
21
- }
22
-
23
- function _toPropertyKey(arg) {
24
- var key = _toPrimitive(arg, "string");
25
- return _typeof(key) === "symbol" ? key : String(key);
26
- }
27
-
28
- function _defineProperty(obj, key, value) {
29
- key = _toPropertyKey(key);
30
- if (key in obj) {
31
- Object.defineProperty(obj, key, {
32
- value: value,
33
- enumerable: true,
34
- configurable: true,
35
- writable: true
36
- });
37
- } else {
38
- obj[key] = value;
39
- }
40
- return obj;
41
- }
42
-
43
- function _arrayWithHoles(arr) {
44
- if (Array.isArray(arr)) return arr;
45
- }
46
-
47
- function _iterableToArrayLimit(r, l) {
48
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
49
- if (null != t) {
50
- var e,
51
- n,
52
- i,
53
- u,
54
- a = [],
55
- f = !0,
56
- o = !1;
57
- try {
58
- if (i = (t = t.call(r)).next, 0 === l) {
59
- if (Object(t) !== t) return;
60
- f = !1;
61
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
62
- } catch (r) {
63
- o = !0, n = r;
64
- } finally {
65
- try {
66
- if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
67
- } finally {
68
- if (o) throw n;
69
- }
70
- }
71
- return a;
72
- }
73
- }
74
-
75
- function _arrayLikeToArray(arr, len) {
76
- if (len == null || len > arr.length) len = arr.length;
77
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
78
- return arr2;
79
- }
80
-
81
- function _unsupportedIterableToArray(o, minLen) {
82
- if (!o) return;
83
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
84
- var n = Object.prototype.toString.call(o).slice(8, -1);
85
- if (n === "Object" && o.constructor) n = o.constructor.name;
86
- if (n === "Map" || n === "Set") return Array.from(o);
87
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
88
- }
89
-
90
- function _nonIterableRest() {
91
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
92
- }
93
-
94
- function _slicedToArray(arr, i) {
95
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
96
- }
97
-
98
- function classNames() {
99
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
100
- args[_key] = arguments[_key];
101
- }
102
- if (args) {
103
- var classes = [];
104
- for (var i = 0; i < args.length; i++) {
105
- var className = args[i];
106
- if (!className) continue;
107
- var type = _typeof(className);
108
- if (type === 'string' || type === 'number') {
109
- classes.push(className);
110
- } else if (type === 'object') {
111
- var _classes = Array.isArray(className) ? className : Object.entries(className).map(function (_ref) {
112
- var _ref2 = _slicedToArray(_ref, 2),
113
- key = _ref2[0],
114
- value = _ref2[1];
115
- return !!value ? key : null;
116
- });
117
- classes = _classes.length ? classes.concat(_classes.filter(function (c) {
118
- return !!c;
119
- })) : classes;
120
- }
121
- }
122
- return classes.join(' ').trim();
123
- }
124
- return undefined;
125
- }
126
-
127
- var TRANSITIONS = {
128
- toggleable: {
129
- classNames: {
130
- enter: 'max-h-0',
131
- enterActive: 'overflow-hidden transition-all duration-500 ease-in-out',
132
- enterDone: 'max-h-40',
133
- exit: 'max-h-40',
134
- exitActive: 'overflow-hidden transition-all duration-500 ease-in',
135
- exitDone: 'max-h-0'
136
- }
137
- },
138
- overlay: {
139
- classNames: {
140
- enter: 'opacity-0 scale-75',
141
- enterActive: 'transition-transform transition-opacity duration-150 ease-in',
142
- exitActive: 'transition-opacity duration-150 ease-linear',
143
- exitDone: 'opacity-0'
144
- }
145
- }
146
- };
147
- var Tailwind = {
148
- global: {
149
- css: "\n *[data-pd-ripple=\"true\"]{\n overflow: hidden;\n position: relative;\n }\n span[data-p-ink-active=\"true\"]{\n animation: ripple 0.4s linear;\n }\n @keyframes ripple {\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n }\n\n .progress-spinner-circle {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: 0;\n animation: p-progress-spinner-dash 1.5s ease-in-out infinite, p-progress-spinner-color 6s ease-in-out infinite;\n stroke-linecap: round;\n }\n\n @keyframes p-progress-spinner-dash{\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n \n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n }\n 100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n }\n }\n @keyframes p-progress-spinner-color {\n 100%, 0% {\n stroke: #ff5757;\n }\n 40% {\n stroke: #696cff;\n }\n 66% {\n stroke: #1ea97c;\n }\n 80%, 90% {\n stroke: #cc8925;\n }\n }\n\n .progressbar-value-animate::after {\n will-change: left, right;\n animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n }\n .progressbar-value-animate::before {\n will-change: left, right;\n animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n }\n @keyframes p-progressbar-indeterminate-anim {\n 0% {\n left: -35%;\n right: 100%;\n }\n 60% {\n left: 100%;\n right: -90%;\n }\n 100% {\n left: 100%;\n right: -90%;\n }\n }\n"
150
- },
151
- //PANELS
152
- panel: {
153
- header: function header(_ref) {
154
- var props = _ref.props;
155
- return {
156
- className: classNames('flex items-center justify-between',
157
- // flex and alignments
158
- 'border border-gray-300 bg-gray-100 text-gray-700 rounded-tl-lg rounded-tr-lg',
159
- // borders and colors
160
- 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80',
161
- // Dark mode
162
- {
163
- 'p-5': !props.toggleable,
164
- 'py-3 px-5': props.toggleable
165
- } // condition
166
- )
167
- };
168
- },
169
-
170
- title: 'leading-none font-bold',
171
- toggler: {
172
- className: classNames('inline-flex items-center justify-center overflow-hidden relative no-underline',
173
- // alignments
174
- 'w-8 h-8 text-gray-600 border-0 bg-transparent rounded-full transition duration-200 ease-in-out',
175
- // widths, borders, and transitions
176
- 'hover:text-gray-900 hover:border-transparent hover:bg-gray-200 dark:hover:text-white/80 dark:hover:bg-gray-800/80 dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]',
177
- // hover
178
- 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]' // focus
179
- )
180
- },
181
-
182
- togglerIcon: 'inline-block',
183
- content: {
184
- className: classNames('p-5 border border-gray-300 bg-white text-gray-700 border-t-0 last:rounded-br-lg last:rounded-bl-lg', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80' // Dark mode
185
- )
186
- },
187
-
188
- transition: TRANSITIONS.toggleable
189
- },
190
- accordion: {
191
- root: 'mb-1',
192
- accordiontab: {
193
- root: 'mb-1',
194
- header: function header(_ref2) {
195
- var context = _ref2.context;
196
- return {
197
- className: classNames({
198
- 'select-none pointer-events-none cursor-default opacity-60': context.disabled
199
- } // Condition
200
- )
201
- };
202
- },
203
-
204
- headerAction: function headerAction(_ref3) {
205
- var context = _ref3.context;
206
- return {
207
- className: classNames('flex items-center cursor-pointer relative no-underline select-none',
208
- // Alignments
209
- 'p-5 transition duration-200 ease-in-out rounded-t-md font-bold transition-shadow duration-200',
210
- // Padding and transition
211
- 'border border-gray-300 bg-gray-100 text-gray-600',
212
- // Borders and colors
213
- 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80 dark:hover:bg-gray-800/80 dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]',
214
- // Dark mode
215
- 'hover:border-gray-300 hover:bg-gray-200 hover:text-gray-800',
216
- // Hover
217
- 'focus:outline-none focus:outline-offset-0 focus:shadow-[inset_0_0_0_0.2rem_rgba(191,219,254,1)]',
218
- // Focus
219
- {
220
- 'rounded-br-md rounded-bl-md': !context.selected,
221
- 'rounded-br-0 rounded-bl-0 text-gray-800': context.selected
222
- } // Condition
223
- )
224
- };
225
- },
226
-
227
- headerIcon: 'inline-block mr-2',
228
- headerTitle: 'leading-none',
229
- content: {
230
- className: classNames('p-5 border border-gray-300 bg-white text-gray-700 border-t-0 rounded-tl-none rounded-tr-none rounded-br-lg rounded-bl-lg', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80' // Dark mode
231
- )
232
- },
233
-
234
- transition: TRANSITIONS.toggleable
235
- }
236
- },
237
- card: {
238
- root: {
239
- className: classNames('bg-white text-gray-700 shadow-md rounded-md',
240
- // Background, text color, box shadow, and border radius.
241
- 'dark:bg-gray-900 dark:text-white ' //dark
242
- )
243
- },
244
-
245
- body: 'p-5',
246
- // Padding.
247
- title: 'text-2xl font-bold mb-2',
248
- // Font size, font weight, and margin bottom.
249
- subtitle: {
250
- className: classNames('font-normal mb-2 text-gray-600',
251
- // Font weight, margin bottom, and text color.
252
- 'dark:text-white/60 ' //dark
253
- )
254
- },
255
-
256
- content: 'py-5',
257
- // Vertical padding.
258
- footer: 'pt-5' // Top padding.
259
- },
260
-
261
- divider: {
262
- root: function root(_ref4) {
263
- var props = _ref4.props;
264
- return {
265
- className: classNames('flex relative',
266
- // alignments.
267
- {
268
- 'w-full my-5 mx-0 py-0 px-5 before:block before:left-0 before:absolute before:top-1/2 before:w-full before:border-t before:border-gray-300 before:dark:border-blue-900/40': props.layout == 'horizontal',
269
- // Padding and borders for horizontal layout.
270
- 'min-h-full mx-4 md:mx-5 py-5 before:block before:min-h-full before:absolute before:left-1/2 before:top-0 before:transform before:-translate-x-1/2 before:border-l before:border-gray-300 before:dark:border-blue-900/40': props.layout == 'vertical' // Padding and borders for vertical layout.
271
- }, {
272
- 'before:border-solid': props.type == 'solid',
273
- 'before:border-dotted': props.type == 'dotted',
274
- 'before:border-dashed': props.type == 'dashed'
275
- } // Border type condition.
276
- )
277
- };
278
- },
279
-
280
- content: 'px-1 bg-white z-10 dark:bg-gray-900' // Padding and background color.
281
- },
282
-
283
- fieldset: {
284
- root: {
285
- className: classNames('border border-gray-300 bg-white text-gray-700 rounded-md block mx-2 my-0.5 pl-4 pr-5 inline-size-min',
286
- // Borders, background, text color, spacing, and inline size.
287
- 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80' //dark
288
- )
289
- },
290
-
291
- legend: function legend(_ref5) {
292
- var props = _ref5.props;
293
- return {
294
- className: classNames('border border-gray-300 text-gray-700 bg-gray-50 font-bold rounded-md', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80 ',
295
- //dark
296
- {
297
- 'p-0 transition-none hover:bg-gray-100 hover:border-gray-300 hover:text-gray-900 dark:hover:text-white/80 dark:hover:bg-gray-800/80 dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': props.toggleable,
298
- 'p-5': !props.toggleable
299
- })
300
- };
301
- },
302
- toggler: function toggler(_ref6) {
303
- var props = _ref6.props;
304
- return {
305
- className: classNames('flex items-center justify-center', {
306
- 'p-5 text-gray-700 rounded-md transition-none cursor-pointer overflow-hidden relative select-none hover:text-gray-900 focus:focus:shadow-[inset_0_0_0_0.2rem_rgba(191,219,254,1)] dark:text-white/80 dark:hover:text-white/80 dark:hover:bg-gray-800/60 dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': props.toggleable
307
- })
308
- };
309
- },
310
- togglerIcon: 'mr-2 inline-block',
311
- // Margin and display style.
312
- legendTitle: 'flex items-center justify-center leading-none',
313
- // alignments, and leading style.
314
- content: 'p-5',
315
- // Padding.
316
- transition: TRANSITIONS.toggleable
317
- },
318
- scrollpanel: {
319
- wrapper: 'overflow-hidden relative float-left h-full w-full z-[1]',
320
- content: 'box-border h-[calc(100%+18px)] overflow-scroll pr-[18px] pb-[18px] pl-0 pt-0 relative scrollbar-none w-[calc(100%+18px)] [&::-webkit-scrollbar]:hidden',
321
- barX: {
322
- className: classNames('relative bg-gray-100 invisible rounded cursor-pointer h-[9px] bottom-0 z-[2]', 'transition duration-[250ms] ease-linear')
323
- },
324
- barY: {
325
- className: classNames('relative bg-gray-100 rounded cursor-pointer w-[9px] top-0 z-[2]', 'transition duration-[250ms] ease-linear')
326
- }
327
- },
328
- tabview: {
329
- navContainer: function navContainer(_ref7) {
330
- var props = _ref7.props;
331
- return {
332
- className: classNames('relative',
333
- // Relative positioning.
334
- {
335
- 'overflow-hidden': props.scrollable
336
- } // Overflow condition.
337
- )
338
- };
339
- },
340
-
341
- navContent: 'overflow-y-hidden overscroll-contain overscroll-auto scroll-smooth [&::-webkit-scrollbar]:hidden',
342
- // Overflow and scrollbar styles.
343
- previousButton: {
344
- className: classNames('h-full flex items-center justify-center absolute top-0 z-20', 'left-0', 'bg-white text-blue-500 w-12 shadow-md rounded-none', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80 )') // Flex and absolute positioning styles.
345
- },
346
-
347
- nextButton: {
348
- className: classNames('h-full flex items-center justify-center absolute top-0 z-20', 'right-0', 'bg-white text-blue-500 w-12 shadow-md rounded-none', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80 ') // Flex and absolute positioning styles.
349
- },
350
-
351
- nav: {
352
- className: classNames('flex flex-1 list-none m-0 p-0', 'bg-white border border-gray-300 border-0 border-b-2', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80 ') // Flex, list, margin, padding, and border styles.
353
- },
354
-
355
- tabpanel: {
356
- header: function header(_ref8) {
357
- var props = _ref8.props;
358
- return {
359
- className: classNames('mr-0', {
360
- 'cursor-default pointer-events-none select-none user-select-none opacity-60': props === null || props === void 0 ? void 0 : props.disabled
361
- }) // Margin and condition-based styles.
362
- };
363
- },
364
-
365
- headerAction: function headerAction(_ref9) {
366
- var parent = _ref9.parent,
367
- context = _ref9.context;
368
- return {
369
- className: classNames('items-center cursor-pointer flex overflow-hidden relative select-none text-decoration-none user-select-none',
370
- // Flex and overflow styles.
371
- 'border-b-2 p-5 font-bold rounded-t-lg transition-shadow duration-200 m-0',
372
- // Border, padding, font, and transition styles.
373
- 'transition-colors duration-200',
374
- // Transition duration style.
375
- 'focus:outline-none focus:outline-offset-0 focus:shadow-[inset_0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]',
376
- // Focus styles.
377
- {
378
- 'border-gray-300 bg-white text-gray-700 hover:bg-white hover:border-gray-400 hover:text-gray-600 dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80 dark:hover:bg-gray-800/80': parent.state.d_activeIndex !== context.index,
379
- // Condition-based hover styles.
380
- 'bg-white border-blue-500 text-blue-500 dark:bg-gray-900 dark:border-blue-300 dark:text-blue-300': parent.state.d_activeIndex === context.index // Condition-based active styles.
381
- }),
382
-
383
- style: {
384
- marginBottom: '-2px'
385
- } // Negative margin style.
386
- };
387
- },
388
-
389
- headerTitle: {
390
- className: classNames('leading-none whitespace-nowrap') // Leading and whitespace styles.
391
- },
392
-
393
- content: {
394
- className: classNames('bg-white p-5 border-0 text-gray-700 rounded-bl-2xl rounded-br-2xl', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80') // Background, padding, border, and text styles.
395
- }
396
- }
397
- },
398
-
399
- splitter: {
400
- root: function root(_ref10) {
401
- var props = _ref10.props,
402
- state = _ref10.state;
403
- return {
404
- className: classNames('flex flex-nowrap bg-white dark:bg-gray-900 rounded-lg text-gray-700 dark:text-white/80', {
405
- 'border border-solid border-gray-300 dark:border-blue-900/40': !state.nested,
406
- 'flex-col': props.layout === 'vertical'
407
- })
408
- };
409
- },
410
- gutter: function gutter(_ref11) {
411
- var props = _ref11.props;
412
- return {
413
- className: classNames('flex items-center justify-center shrink-0', 'transition-all duration-200 bg-gray-100 dark:bg-gray-800', {
414
- 'cursor-col-resize': props.layout == 'horizontal',
415
- 'cursor-row-resize': props.layout !== 'horizontal'
416
- })
417
- };
418
- },
419
- gutterhandler: function gutterhandler(_ref12) {
420
- var props = _ref12.props;
421
- return {
422
- className: classNames('bg-gray-300 dark:bg-gray-600 transition-all duration-200', {
423
- 'h-7 w-[0.3rem]': props.layout == 'horizontal',
424
- 'w-7 h-[0.3rem]': props.layout == 'vertical'
425
- })
426
- };
427
- }
428
- },
429
- dialog: {
430
- root: function root(_ref13) {
431
- var state = _ref13.state;
432
- return {
433
- className: classNames('rounded-lg shadow-lg border-0', 'max-h-90 transform scale-100', 'm-0 w-[50vw]', 'dark:border dark:border-blue-900/40', {
434
- 'transition-none transform-none !w-screen !h-screen !max-h-full !top-0 !left-0': state.maximized
435
- })
436
- };
437
- },
438
- header: {
439
- className: classNames('flex items-center justify-between shrink-0', 'bg-white text-gray-800 border-t-0 rounded-tl-lg rounded-tr-lg p-6', 'dark:bg-gray-900 dark:text-white/80')
440
- },
441
- headerTitle: 'font-bold text-lg',
442
- headerIcons: 'flex items-center',
443
- closeButton: {
444
- className: classNames('flex items-center justify-center overflow-hidden relative', 'w-8 h-8 text-gray-500 border-0 bg-transparent rounded-full transition duration-200 ease-in-out mr-2 last:mr-0', 'hover:text-gray-700 hover:border-transparent hover:bg-gray-200', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
445
- // focus
446
- 'dark:hover:text-white/80 dark:hover:border-transparent dark:hover:bg-gray-800/80 dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]')
447
- },
448
- closeButtonIcon: 'w-4 h-4 inline-block',
449
- content: function content(_ref14) {
450
- var state = _ref14.state;
451
- return {
452
- className: classNames('overflow-y-auto', 'bg-white text-gray-700 px-6 pb-8 pt-0', 'rounded-bl-lg rounded-br-lg', 'dark:bg-gray-900 dark:text-white/80 ', {
453
- grow: state.maximized
454
- })
455
- };
456
- },
457
- footer: {
458
- className: classNames('shrink-0 ', 'border-t-0 bg-white text-gray-700 px-6 pb-6 text-right rounded-b-lg', 'dark:bg-gray-900 dark:text-white/80')
459
- },
460
- mask: function mask(_ref15) {
461
- var props = _ref15.props;
462
- return {
463
- className: classNames('transition duration-200', {
464
- 'bg-black/40': props.modal
465
- })
466
- };
467
- },
468
- transition: function transition(_ref16) {
469
- var props = _ref16.props;
470
- return props.position === 'top' ? {
471
- enterFromClass: 'opacity-0 scale-75 translate-x-0 -translate-y-full translate-z-0',
472
- enterActiveClass: 'transition-all duration-200 ease-out',
473
- leaveActiveClass: 'transition-all duration-200 ease-out',
474
- leaveToClass: 'opacity-0 scale-75 translate-x-0 -translate-y-full translate-z-0'
475
- } : props.position === 'bottom' ? {
476
- enterFromClass: 'opacity-0 scale-75 translate-y-full',
477
- enterActiveClass: 'transition-all duration-200 ease-out',
478
- leaveActiveClass: 'transition-all duration-200 ease-out',
479
- leaveToClass: 'opacity-0 scale-75 translate-x-0 translate-y-full translate-z-0'
480
- } : props.position === 'left' || props.position === 'topleft' || props.position === 'bottomleft' ? {
481
- enterFromClass: 'opacity-0 scale-75 -translate-x-full translate-y-0 translate-z-0',
482
- enterActiveClass: 'transition-all duration-200 ease-out',
483
- leaveActiveClass: 'transition-all duration-200 ease-out',
484
- leaveToClass: 'opacity-0 scale-75 -translate-x-full translate-y-0 translate-z-0'
485
- } : props.position === 'right' || props.position === 'topright' || props.position === 'bottomright' ? {
486
- enterFromClass: 'opacity-0 scale-75 translate-x-full translate-y-0 translate-z-0',
487
- enterActiveClass: 'transition-all duration-200 ease-out',
488
- leaveActiveClass: 'transition-all duration-200 ease-out',
489
- leaveToClass: 'opacity-0 scale-75 opacity-0 scale-75 translate-x-full translate-y-0 translate-z-0'
490
- } : {
491
- enterFromClass: 'opacity-0 scale-75',
492
- enterActiveClass: 'transition-all duration-200 ease-out',
493
- leaveActiveClass: 'transition-all duration-200 ease-out',
494
- leaveToClass: 'opacity-0 scale-75'
495
- };
496
- }
497
- },
498
- confirmpopup: {
499
- root: {
500
- className: classNames('bg-white text-gray-700 border-0 rounded-md shadow-lg', 'z-40 transform origin-center', 'mt-3 absolute left-0 top-0', 'before:absolute before:w-0 before:-top-3 before:h-0 before:border-transparent before:border-solid before:ml-6 before:border-x-[0.75rem] before:border-b-[0.75rem] before:border-t-0 before:border-b-white dark:before:border-b-gray-900', 'dark:border dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80')
501
- },
502
- content: 'p-5 items-center flex',
503
- icon: 'text-2xl',
504
- message: 'ml-4',
505
- footer: 'text-right px-5 py-5 pt-0 ',
506
- transition: TRANSITIONS.overlay
507
- },
508
- overlaypanel: {
509
- root: {
510
- className: classNames('bg-white text-gray-700 border-0 rounded-md shadow-lg', 'z-40 transform origin-center', 'absolute left-0 top-0', 'before:absolute before:w-0 before:-top-3 before:h-0 before:border-transparent before:border-solid before:ml-6 before:border-x-[0.75rem] before:border-b-[0.75rem] before:border-t-0 before:border-b-white dark:before:border-b-gray-900', 'dark:border dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80')
511
- },
512
- content: 'p-5 items-center flex',
513
- transition: TRANSITIONS.overlay
514
- },
515
- sidebar: {
516
- root: function root(_ref17) {
517
- var props = _ref17.props;
518
- return {
519
- className: classNames('flex flex-col pointer-events-auto relative transform translate-x-0 translate-y-0 translate-z-0 relative transition-transform duration-300', 'bg-white text-gray-700 border-0 shadow-lg', {
520
- '!transition-none !transform-none !w-screen !h-screen !max-h-full !top-0 !left-0': props.position == 'full',
521
- 'h-full w-80': props.position == 'left' || props.position == 'right',
522
- 'h-40 w-full': props.position == 'top' || props.position == 'bottom'
523
- }, 'dark:border dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80')
524
- };
525
- },
526
- header: {
527
- className: classNames('flex items-center justify-end', 'p-5')
528
- },
529
- closeButton: {
530
- className: classNames('flex items-center justify-center overflow-hidden relative', 'w-8 h-8 text-gray-500 border-0 bg-transparent rounded-full transition duration-200 ease-in-out mr-2 last:mr-0', 'hover:text-gray-700 hover:border-transparent hover:bg-gray-200', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
531
- // focus
532
- 'dark:hover:text-white/80 dark:hover:text-white/80 dark:hover:border-transparent dark:hover:bg-gray-800/80 dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]')
533
- },
534
- closeButtonIcon: 'w-4 h-4 inline-block',
535
- content: {
536
- className: classNames('p-5 pt-0 h-full w-full', 'grow overflow-y-auto')
537
- },
538
- mask: {
539
- className: classNames('flex pointer-events-auto', 'bg-black bg-opacity-40 transition duration-200 z-20 transition-colors')
540
- },
541
- transition: function transition(_ref18) {
542
- var props = _ref18.props;
543
- return props.position === 'top' ? {
544
- enterFromClass: 'translate-x-0 -translate-y-full translate-z-0',
545
- leaveToClass: 'translate-x-0 -translate-y-full translate-z-0'
546
- } : props.position === 'bottom' ? {
547
- enterFromClass: 'translate-x-0 translate-y-full translate-z-0',
548
- leaveToClass: 'translate-x-0 translate-y-full translate-z-0'
549
- } : props.position === 'left' ? {
550
- enterFromClass: '-translate-x-full translate-y-0 translate-z-0',
551
- leaveToClass: '-translate-x-full translate-y-0 translate-z-0'
552
- } : props.position === 'right' ? {
553
- enterFromClass: 'translate-x-full translate-y-0 translate-z-0',
554
- leaveToClass: 'opacity-0 scale-75 translate-x-full translate-y-0 translate-z-0'
555
- } : {
556
- enterFromClass: 'opacity-0',
557
- enterActiveClass: 'transition-opacity duration-400 ease-in',
558
- leaveActiveClass: 'transition-opacity duration-400 ease-in',
559
- leaveToClass: 'opacity-0'
560
- };
561
- }
562
- },
563
- toolbar: {
564
- root: {
565
- className: classNames('flex items-center justify-between flex-wrap', 'bg-gray-100 dark:bg-gray-800 border border-gray-300 dark:border-blue-900/40 p-5 rounded-md gap-2')
566
- },
567
- start: 'flex items-center',
568
- center: 'flex items-center',
569
- end: 'flex items-center'
570
- },
571
- tooltip: {
572
- root: function root(_ref19) {
573
- var context = _ref19.context;
574
- return {
575
- className: classNames('absolute shadow-md', {
576
- 'py-0 px-1': context.right || context.left || !context.right && !context.left && !context.top && !context.bottom,
577
- 'py-1 px-0': context.top || context.bottom
578
- })
579
- };
580
- },
581
- arrow: function arrow(_ref20) {
582
- var context = _ref20.context;
583
- return {
584
- className: classNames('absolute w-0 h-0 border-transparent border-solid', {
585
- '-m-t-1 border-y-[0.25rem] border-r-[0.25rem] border-l-0 border-r-gray-600': context.right,
586
- '-m-t-1 border-y-[0.25rem] border-l-[0.25rem] border-r-0 border-l-gray-600': context.left,
587
- '-m-l-1 border-x-[0.25rem] border-t-[0.25rem] border-b-0 border-t-gray-600': context.top,
588
- '-m-l-1 border-x-[0.25rem] border-b-[0.25rem] border-t-0 border-b-gray-600': context.bottom
589
- })
590
- };
591
- },
592
- text: {
593
- className: 'p-3 bg-gray-600 text-white rounded-md whitespace-pre-line break-words'
594
- }
595
- },
596
- //UPLOAD
597
- fileupload: {
598
- input: 'hidden',
599
- buttonbar: {
600
- className: classNames('flex flex-wrap', 'bg-gray-50 dark:bg-gray-800 p-5 border border-solid border-gray-300 dark:border-blue-900/40 text-gray-700 dark:text-white/80 rounded-tr-lg rounded-tl-lg gap-2 border-b-0')
601
- },
602
- basicButton: {
603
- className: classNames('text-white bg-blue-500 border border-blue-500 p-3 px-5 rounded-md text-base', 'overflow-hidden relative')
604
- },
605
- chooseButton: {
606
- className: classNames('text-white bg-blue-500 border border-blue-500 p-3 px-5 rounded-md text-base', 'overflow-hidden relative')
607
- },
608
- chooseIcon: 'mr-2 inline-block',
609
- chooseButtonLabel: 'flex-1 font-bold',
610
- uploadbutton: {
611
- icon: 'mr-2'
612
- },
613
- cancelbutton: {
614
- icon: 'mr-2'
615
- },
616
- content: {
617
- className: classNames('relative', 'bg-white dark:bg-gray-900 p-8 border border-gray-300 dark:border-blue-900/40 text-gray-700 dark:text-white/80 rounded-b-lg')
618
- },
619
- file: {
620
- className: classNames('flex items-center flex-wrap', 'p-4 border border-gray-300 dark:border-blue-900/40 rounded gap-2 mb-2', 'last:mb-0')
621
- },
622
- thumbnail: 'shrink-0',
623
- fileName: 'mb-2',
624
- fileSize: 'mr-2',
625
- uploadicon: 'mr-2'
626
- },
627
- //Messages
628
- messages: {
629
- root: function root(_ref21) {
630
- var state = _ref21.state,
631
- index = _ref21.index;
632
- return {
633
- className: classNames('my-4 rounded-md', {
634
- 'bg-blue-100 border-solid border-0 border-l-4 border-blue-500 text-blue-700': state.messages[index] && state.messages[index].message.severity == 'info',
635
- 'bg-green-100 border-solid border-0 border-l-4 border-green-500 text-green-700': state.messages[index] && state.messages[index].message.severity == 'success',
636
- 'bg-orange-100 border-solid border-0 border-l-4 border-orange-500 text-orange-700': state.messages[index] && state.messages[index].message.severity == 'warn',
637
- 'bg-red-100 border-solid border-0 border-l-4 border-red-500 text-red-700': state.messages[index] && state.messages[index].message.severity == 'error'
638
- })
639
- };
640
- },
641
- wrapper: 'flex items-center py-5 px-7',
642
- icon: {
643
- className: classNames('w-6 h-6', 'text-lg mr-2')
644
- },
645
- text: 'text-base font-normal',
646
- button: {
647
- className: classNames('w-8 h-8 rounded-full bg-transparent transition duration-200 ease-in-out', 'ml-auto overflow-hidden relative', 'flex items-center justify-center', 'hover:bg-white/30')
648
- },
649
- transition: {
650
- enterFromClass: 'opacity-0',
651
- enterActiveClass: 'transition-opacity duration-300',
652
- leaveFromClass: 'max-h-40',
653
- leaveActiveClass: 'overflow-hidden transition-all duration-300 ease-in',
654
- leaveToClass: 'max-h-0 opacity-0 !m-0'
655
- }
656
- },
657
- message: {
658
- root: function root(_ref22) {
659
- var props = _ref22.props;
660
- return {
661
- className: classNames('inline-flex items-center justify-center align-top', 'p-3 m-0 rounded-md', {
662
- 'bg-blue-100 border-0 text-blue-700': props.severity == 'info',
663
- 'bg-green-100 border-0 text-green-700': props.severity == 'success',
664
- 'bg-orange-100 border-0 text-orange-700': props.severity == 'warn',
665
- 'bg-red-100 border-0 text-red-700': props.severity == 'error'
666
- })
667
- };
668
- },
669
- icon: 'text-base mr-2'
670
- },
671
- toast: {
672
- root: {
673
- className: classNames('w-96', 'opacity-90')
674
- },
675
- message: function message(_ref23) {
676
- var state = _ref23.state,
677
- index = _ref23.index;
678
- return {
679
- className: classNames('my-4 rounded-md w-full', {
680
- 'bg-blue-100 border-solid border-0 border-l-4 border-blue-500 text-blue-700': state.messages[index] && state.messages[index].message.severity == 'info',
681
- 'bg-green-100 border-solid border-0 border-l-4 border-green-500 text-green-700': state.messages[index] && state.messages[index].message.severity == 'success',
682
- 'bg-orange-100 border-solid border-0 border-l-4 border-orange-500 text-orange-700': state.messages[index] && state.messages[index].message.severity == 'warn',
683
- 'bg-red-100 border-solid border-0 border-l-4 border-red-500 text-red-700': state.messages[index] && state.messages[index].message.severity == 'error'
684
- })
685
- };
686
- },
687
- content: 'flex items-center py-5 px-7',
688
- icon: {
689
- className: classNames('w-6 h-6', 'text-lg mr-2')
690
- },
691
- text: 'text-base font-normal flex flex-col flex-1 grow shrink ml-4',
692
- summary: 'font-bold block',
693
- detail: 'mt-1 block',
694
- closebutton: {
695
- className: classNames('w-8 h-8 rounded-full bg-transparent transition duration-200 ease-in-out', 'ml-auto overflow-hidden relative', 'flex items-center justify-center', 'hover:bg-white/30')
696
- },
697
- transition: {
698
- enterFromClass: 'opacity-0 translate-x-0 translate-y-2/4 translate-z-0',
699
- enterActiveClass: 'transition-transform transition-opacity duration-300',
700
- leaveFromClass: 'max-h-40',
701
- leaveActiveClass: 'transition-all duration-500 ease-in',
702
- leaveToClass: 'max-h-0 opacity-0 mb-0 overflow-hidden'
703
- }
704
- },
705
- //BUTTONS
706
- button: {
707
- root: function root(_ref24) {
708
- var props = _ref24.props,
709
- context = _ref24.context;
710
- return {
711
- className: classNames('items-center cursor-pointer inline-flex overflow-hidden relative select-none text-center align-bottom h-full', 'transition duration-200 ease-in-out', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_2px_rgba(255,255,255,1),0_0_0_4px_rgba(157,193,251,1),0_1px_2px_0_rgba(0,0,0,1)] dark:focus:shadow-[0_0_0_2px_rgba(28,33,39,1),0_0_0_4px_rgba(147,197,253,0.7),0_1px_2px_0_rgba(0,0,0,0)]',
712
- // Primary button focus
713
- {
714
- 'text-white bg-blue-500 border border-blue-500 hover:bg-blue-600 hover:border-blue-600': !props.link && props.severity === null && !props.text && !props.outlined && !props.plain,
715
- 'text-blue-600 bg-transparent border-transparent': props.link
716
- }, {
717
- 'text-white bg-gray-500 border border-gray-500 hover:bg-gray-600 hover:border-gray-600': props.severity === 'secondary' && !props.text && !props.outlined && !props.plain,
718
- 'text-white bg-green-500 border border-green-500 hover:bg-green-600 hover:border-green-600': props.severity === 'success' && !props.text && !props.outlined && !props.plain,
719
- 'text-white bg-blue-500 border border-blue-500 hover:bg-blue-600 hover:border-blue-600': props.severity === 'info' && !props.text && !props.outlined && !props.plain,
720
- 'text-white bg-orange-500 border border-orange-500 hover:bg-orange-600 hover:border-orange-600': props.severity === 'warning' && !props.text && !props.outlined && !props.plain,
721
- 'text-white bg-purple-500 border border-purple-500 hover:bg-purple-600 hover:border-purple-600': props.severity === 'help' && !props.text && !props.outlined && !props.plain,
722
- 'text-white bg-red-500 border border-red-500 hover:bg-red-600 hover:border-red-600': props.severity === 'danger' && !props.text && !props.outlined && !props.plain
723
- }, {
724
- 'shadow-lg': props.raised
725
- }, {
726
- 'rounded-md': !props.rounded,
727
- 'rounded-full': props.rounded
728
- }, {
729
- 'bg-transparent border-transparent': props.text && !props.plain,
730
- 'text-blue-500 hover:bg-blue-300/20': props.text && (props.severity === null || props.severity === 'info') && !props.plain,
731
- 'text-gray-500 hover:bg-gray-300/20': props.text && props.severity === 'secondary' && !props.plain,
732
- 'text-green-500 hover:bg-green-300/20': props.text && props.severity === 'success' && !props.plain,
733
- 'text-orange-500 hover:bg-orange-300/20': props.text && props.severity === 'warning' && !props.plain,
734
- 'text-purple-500 hover:bg-purple-300/20': props.text && props.severity === 'help' && !props.plain,
735
- 'text-red-500 hover:bg-red-300/20': props.text && props.severity === 'danger' && !props.plain
736
- }, {
737
- 'shadow-lg': props.raised && props.text
738
- }, {
739
- 'text-gray-500 hover:bg-gray-300/20': props.plain & props.text,
740
- 'text-gray-500 border border-gray-500 hover:bg-gray-300/20': props.plain & props.outlined,
741
- 'text-white bg-gray-500 border border-gray-500 hover:bg-gray-600 hover:border-gray-600': props.plain & !props.outlined & !props.text
742
- }, {
743
- 'bg-transparent border': props.outlined && !props.plain,
744
- 'text-blue-500 border border-blue-500 hover:bg-blue-300/20': props.outlined && (props.severity === null || props.severity === 'info') && !props.plain,
745
- 'text-gray-500 border border-gray-500 hover:bg-gray-300/20': props.outlined && props.severity === 'secondary' && !props.plain,
746
- 'text-green-500 border border-green-500 hover:bg-green-300/20': props.outlined && props.severity === 'success' && !props.plain,
747
- 'text-orange-500 border border-orange-500 hover:bg-orange-300/20': props.outlined && props.severity === 'warning' && !props.plain,
748
- 'text-purple-500 border border-purple-500 hover:bg-purple-300/20': props.outlined && props.severity === 'help' && !props.plain,
749
- 'text-red-500 border border-red-500 hover:bg-red-300/20': props.outlined && props.severity === 'danger' && !props.plain
750
- }, {
751
- 'px-4 py-3 text-base': props.size === null,
752
- 'text-xs py-2 px-3': props.size === 'small',
753
- 'text-xl py-3 px-4': props.size === 'large'
754
- }, {
755
- 'opacity-60 pointer-events-none cursor-default': context === null || context === void 0 ? void 0 : context.disabled
756
- })
757
- };
758
- },
759
- label: function label(_ref25) {
760
- var props = _ref25.props;
761
- return {
762
- className: classNames('flex-1', 'duration-200', 'font-bold', {
763
- 'hover:underline': props.link
764
- })
765
- };
766
- },
767
- icon: function icon(_ref26) {
768
- var props = _ref26.props;
769
- return {
770
- className: classNames('mx-0', {
771
- 'mr-2': props.iconPos == 'left' && props.label != null,
772
- 'ml-2': props.iconPos == 'right' && props.label != null,
773
- 'mb-2': props.iconPos == 'top' && props.label != null,
774
- 'mt-2': props.iconPos == 'bottom' && props.label != null
775
- })
776
- };
777
- },
778
- badge: function badge(_ref27) {
779
- var props = _ref27.props;
780
- return {
781
- className: classNames({
782
- 'ml-2 w-4 h-4 leading-none flex items-center justify-center': props.badge
783
- })
784
- };
785
- }
786
- },
787
- speeddial: {
788
- root: 'absolute flex',
789
- button: {
790
- root: function root(_ref28) {
791
- var parent = _ref28.parent;
792
- return {
793
- className: classNames('w-16 !h-16 !rounded-full justify-center z-10', {
794
- 'rotate-45': parent.state.visible
795
- })
796
- };
797
- },
798
- label: {
799
- className: 'hidden'
800
- }
801
- },
802
- menu: 'm-0 p-0 list-none flex items-center justify-center transition delay-200 z-20',
803
- menuitem: function menuitem(_ref29) {
804
- var props = _ref29.props,
805
- state = _ref29.state;
806
- return {
807
- className: classNames('transform transition-transform duration-200 ease-out transition-opacity duration-800', !state.visible ? 'opacity-0 scale-0' : 'opacity-1 scale-100', {
808
- 'my-1 first:mb-2': props.direction == 'up' && props.type == 'linear',
809
- 'my-1 first:mt-2': props.direction == 'down' && props.type == 'linear',
810
- 'mx-1 first:mr-2': props.direction == 'left' && props.type == 'linear',
811
- 'mx-1 first:ml-2': props.direction == 'right' && props.type == 'linear'
812
- }, {
813
- absolute: props.type !== 'linear'
814
- })
815
- };
816
- },
817
- action: {
818
- className: classNames('flex items-center justify-center rounded-full relative overflow-hidden', 'w-12 h-12 bg-gray-700 hover:bg-gray-800 text-white')
819
- },
820
- mask: function mask(_ref30) {
821
- var state = _ref30.state;
822
- return {
823
- className: classNames('absolute left-0 top-0 w-full h-full transition-opacity duration-250 ease-in-out bg-black/40 z-0', {
824
- 'opacity-0': !state.visible,
825
- 'pointer-events-none opacity-100 transition-opacity duration-400 ease-in-out': state.visible
826
- })
827
- };
828
- }
829
- },
830
- splitbutton: {
831
- root: function root(_ref31) {
832
- var props = _ref31.props;
833
- return {
834
- className: classNames('inline-flex relative', 'rounded-md', {
835
- 'shadow-lg': props.raised
836
- })
837
- };
838
- },
839
- button: {
840
- root: function root(_ref32) {
841
- var parent = _ref32.parent;
842
- return {
843
- className: classNames('rounded-r-none border-r-0', {
844
- 'rounded-l-full': parent.props.rounded
845
- })
846
- };
847
- },
848
- icon: 'mr-2'
849
- },
850
- menu: {
851
- className: classNames('outline-none', 'm-0 p-0 list-none')
852
- },
853
- menulist: 'relative',
854
- menubutton: {
855
- root: function root(_ref33) {
856
- var parent = _ref33.parent;
857
- return {
858
- className: classNames('rounded-l-none', {
859
- 'rounded-r-full': parent.props.rounded
860
- })
861
- };
862
- },
863
- label: 'hidden'
864
- }
865
- },
866
- //FORMS
867
- inputtext: {
868
- root: function root(_ref34) {
869
- var props = _ref34.props,
870
- context = _ref34.context;
871
- return {
872
- className: classNames('m-0', 'font-sans text-gray-600 dark:text-white/80 bg-white dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 appearance-none rounded-lg', {
873
- 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]': !context.disabled,
874
- 'opacity-60 select-none pointer-events-none cursor-default': context.disabled
875
- }, {
876
- 'text-lg px-4 py-4': props.size == 'large',
877
- 'text-xs px-2 py-2': props.size == 'small',
878
- 'p-3 text-base': props.size == null
879
- })
880
- };
881
- }
882
- },
883
- inputnumber: {
884
- root: 'w-full inline-flex',
885
- input: function input(_ref35) {
886
- var props = _ref35.props;
887
- return {
888
- className: classNames({
889
- 'rounded-tr-none rounded-br-none': props.showButtons && props.buttonLayout == 'stacked'
890
- })
891
- };
892
- },
893
- buttongroup: function buttongroup(_ref36) {
894
- var props = _ref36.props;
895
- return {
896
- className: classNames({
897
- 'flex flex-col': props.showButtons && props.buttonLayout == 'stacked'
898
- })
899
- };
900
- },
901
- incrementbutton: function incrementbutton(_ref37) {
902
- var props = _ref37.props;
903
- return {
904
- className: classNames('flex !items-center !justify-center', {
905
- 'rounded-br-none rounded-bl-none rounded-bl-none !p-0 flex-1 w-[3rem]': props.showButtons && props.buttonLayout == 'stacked'
906
- })
907
- };
908
- },
909
- label: 'hidden',
910
- decrementbutton: function decrementbutton(_ref38) {
911
- var props = _ref38.props;
912
- return {
913
- className: classNames('flex !items-center !justify-center', {
914
- 'rounded-tr-none rounded-tl-none rounded-tl-none !p-0 flex-1 w-[3rem]': props.showButtons && props.buttonLayout == 'stacked'
915
- })
916
- };
917
- }
918
- },
919
- knob: {
920
- root: function root(_ref39) {
921
- var props = _ref39.props;
922
- return {
923
- className: classNames('focus:outline-none focus:outline-offset-0 focus:shadow-0', {
924
- 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
925
- })
926
- };
927
- },
928
- range: 'stroke-current transition duration-100 ease-in stroke-gray-200 dark:stroke-gray-700 fill-none',
929
- value: 'animate-dash-frame stroke-blue-500 fill-none',
930
- label: 'text-center text-xl'
931
- },
932
- inputswitch: {
933
- root: function root(_ref40) {
934
- var props = _ref40.props;
935
- return {
936
- className: classNames('inline-block relative', 'w-12 h-7', {
937
- 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
938
- })
939
- };
940
- },
941
- slider: function slider(_ref41) {
942
- var props = _ref41.props;
943
- return {
944
- className: classNames('absolute cursor-pointer top-0 left-0 right-0 bottom-0 border border-transparent', 'transition-colors duration-200 rounded-2xl', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', "before:absolute before:content-'' before:top-1/2 before:bg-white before:dark:bg-gray-900 before:w-5 before:h-5 before:left-1 before:-mt-2.5 before:rounded-full before:transition-duration-200", {
945
- 'bg-gray-200 dark:bg-gray-800 hover:bg-gray-300 hover:dark:bg-gray-700 ': !props.checked,
946
- 'bg-blue-500 before:transform before:translate-x-5': props.checked
947
- })
948
- };
949
- }
950
- },
951
- cascadeselect: {
952
- root: function root(_ref42) {
953
- var props = _ref42.props;
954
- return {
955
- className: classNames('inline-flex cursor-pointer select-none relative', 'bg-white dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 transition duration-200 ease-in-out rounded-lg', {
956
- 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
957
- })
958
- };
959
- },
960
- label: {
961
- className: classNames('block whitespace-nowrap overflow-hidden flex flex-1 w-1 text-overflow-ellipsis cursor-pointer', 'bg-transparent border-0 p-3 text-gray-700 dark:text-white/80', 'appearance-none rounded-md')
962
- },
963
- dropdownbutton: {
964
- className: classNames('flex items-center justify-center shrink-0', 'bg-transparent text-gray-600 dark:text-white/80 w-[3rem] rounded-tr-6 rounded-br-6')
965
- },
966
- panel: 'absolute py-3 bg-white dark:bg-gray-900 border-0 shadow-md',
967
- list: 'm-0 sm:p-0 list-none',
968
- sublist: {
969
- className: classNames('block absolute left-full top-0', 'min-w-full z-10', 'py-3 bg-white dark:bg-gray-900 border-0 shadow-md')
970
- },
971
- item: {
972
- className: classNames('cursor-pointer font-normal whitespace-nowrap', 'm-0 border-0 bg-transparent transition-shadow rounded-none', 'text-gray-700 dark:text-white/80 hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80')
973
- },
974
- content: {
975
- className: classNames('flex items-center overflow-hidden relative', 'py-3 px-5')
976
- },
977
- optiongroupicon: 'ml-auto',
978
- transition: TRANSITIONS.overlay
979
- },
980
- inputmask: {
981
- root: 'font-sans text-base text-gray-700 dark:text-white/80 bg-white dark:bg-gray-900 py-3 px-3 border border-gray-300 dark:border-blue-900/40 hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)] transition duration-200 ease-in-out appearance-none rounded-md'
982
- },
983
- rating: {
984
- root: function root(_ref43) {
985
- var props = _ref43.props;
986
- return {
987
- className: classNames('relative flex items-center', 'gap-2', {
988
- 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
989
- })
990
- };
991
- },
992
- cancelitem: function cancelitem(_ref44) {
993
- _ref44.context;
994
- return {
995
- className: classNames('inline-flex items-center cursor-pointer'
996
-
997
- // {
998
- // 'outline-none outline-offset-0 shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]': context.focused
999
- // }
1000
- )
1001
- };
1002
- },
1003
-
1004
- cancelicon: {
1005
- className: classNames('text-red-500', 'w-5 h-5', 'transition duration-200 ease-in')
1006
- },
1007
- item: function item(_ref45) {
1008
- var props = _ref45.props,
1009
- context = _ref45.context;
1010
- return {
1011
- className: classNames('inline-flex items-center', {
1012
- 'cursor-pointer': !props.readonly,
1013
- 'cursor-default': props.readonly
1014
- }, {
1015
- 'outline-none outline-offset-0 shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]': context.focused
1016
- })
1017
- };
1018
- },
1019
- officon: {
1020
- className: classNames('text-gray-700 hover:text-blue-400', 'w-5 h-5', 'transition duration-200 ease-in')
1021
- },
1022
- onicon: {
1023
- className: classNames('text-blue-500', 'w-5 h-5', 'transition duration-200 ease-in')
1024
- }
1025
- },
1026
- selectbutton: {
1027
- root: function root(_ref46) {
1028
- var props = _ref46.props;
1029
- return {
1030
- className: classNames({
1031
- 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
1032
- })
1033
- };
1034
- },
1035
- button: function button(_ref47) {
1036
- var context = _ref47.context;
1037
- return {
1038
- className: classNames('inline-flex cursor-pointer select-none items-center align-bottom text-center overflow-hidden relative', 'px-4 py-3', 'transition duration-200 border border-r-0', 'first:rounded-l-md first:rounded-tr-none first:rounded-br-none last:border-r last:rounded-tl-none last:rounded-bl-none last:rounded-r-md', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
1039
- 'bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-gray-300 dark:border-blue-900/40 hover:bg-gray-50 dark:hover:bg-gray-800/80 ': !context.selected,
1040
- 'bg-blue-500 border-blue-500 text-white hover:bg-blue-600': context.selected,
1041
- 'opacity-60 select-none pointer-events-none cursor-default': context.disabled
1042
- })
1043
- };
1044
- },
1045
- label: 'font-bold'
1046
- },
1047
- slider: {
1048
- root: function root(_ref48) {
1049
- var props = _ref48.props;
1050
- return {
1051
- className: classNames('relative', 'bg-gray-100 dark:bg-gray-800 border-0 rounded-6', {
1052
- 'h-1 w-56': props.orientation == 'horizontal',
1053
- 'w-1 h-56': props.orientation == 'vertical'
1054
- }, {
1055
- 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
1056
- })
1057
- };
1058
- },
1059
- range: function range(_ref49) {
1060
- var props = _ref49.props;
1061
- return {
1062
- className: classNames('bg-blue-500', 'block absolute', {
1063
- 'top-0 left-0 h-full': props.orientation == 'horizontal',
1064
- 'bottom-0 left-0 w-full': props.orientation == 'vertical'
1065
- })
1066
- };
1067
- },
1068
- handle: function handle(_ref50) {
1069
- var props = _ref50.props;
1070
- return {
1071
- className: classNames('h-4 w-4 bg-white dark:bg-gray-600 border-2 border-blue-500 rounded-full transition duration-200', 'cursor-grab touch-action-none block', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', 'hover:bg-blue-500 hover:border hover:border-blue-500', {
1072
- 'top-[50%] mt-[-0.5715rem] ml-[-0.5715rem]': props.orientation == 'horizontal',
1073
- 'left-[50%] mb-[-0.5715rem] ml-[-0.4715rem]': props.orientation == 'vertical'
1074
- })
1075
- };
1076
- },
1077
- starthandler: function starthandler(_ref51) {
1078
- var props = _ref51.props;
1079
- return {
1080
- className: classNames('h-4 w-4 bg-white dark:bg-gray-600 border-2 border-blue-500 rounded-full transition duration-200', 'cursor-grab touch-action-none block', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', 'hover:bg-blue-500 hover:border hover:border-blue-500', {
1081
- 'top-[50%] mt-[-0.5715rem] ml-[-0.5715rem]': props.orientation == 'horizontal',
1082
- 'left-[50%] mb-[-0.5715rem] ml-[-0.4715rem]': props.orientation == 'vertical'
1083
- })
1084
- };
1085
- },
1086
- endhandler: function endhandler(_ref52) {
1087
- var props = _ref52.props;
1088
- return {
1089
- className: classNames('h-4 w-4 bg-white dark:bg-gray-600 border-2 border-blue-500 rounded-full transition duration-200', 'cursor-grab touch-action-none block', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', 'hover:bg-blue-500 hover:border hover:border-blue-500', {
1090
- 'top-[50%] mt-[-0.5715rem] ml-[-0.5715rem]': props.orientation == 'horizontal',
1091
- 'left-[50%] mb-[-0.5715rem] ml-[-0.4715rem]': props.orientation == 'vertical'
1092
- })
1093
- };
1094
- }
1095
- },
1096
- password: {
1097
- root: function root(_ref53) {
1098
- var props = _ref53.props;
1099
- return {
1100
- className: classNames('inline-flex relative', {
1101
- 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
1102
- })
1103
- };
1104
- },
1105
- panel: 'p-5 bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 shadow-md rounded-md',
1106
- meter: 'mb-2 bg-gray-300 dark:bg-gray-700 h-3',
1107
- meterlabel: function meterlabel(_ref54) {
1108
- var _state$meter, _state$meter2, _state$meter3;
1109
- var state = _ref54.state,
1110
- props = _ref54.props;
1111
- return {
1112
- className: classNames('transition-width duration-1000 ease-in-out h-full', {
1113
- 'bg-red-500': ((_state$meter = state.meter) === null || _state$meter === void 0 ? void 0 : _state$meter.strength) == 'weak',
1114
- 'bg-orange-500': ((_state$meter2 = state.meter) === null || _state$meter2 === void 0 ? void 0 : _state$meter2.strength) == 'medium',
1115
- 'bg-green-500': ((_state$meter3 = state.meter) === null || _state$meter3 === void 0 ? void 0 : _state$meter3.strength) == 'strong'
1116
- }, {
1117
- 'pr-[2.5rem] ': props.toggleMask
1118
- })
1119
- };
1120
- },
1121
- showicon: {
1122
- className: classNames('absolute top-1/2 -mt-2', 'right-3 text-gray-600 dark:text-white/70')
1123
- },
1124
- hideicon: {
1125
- className: classNames('absolute top-1/2 -mt-2', 'right-3 text-gray-600 dark:text-white/70')
1126
- },
1127
- transition: TRANSITIONS.overlay
1128
- },
1129
- togglebutton: {
1130
- root: function root(_ref55) {
1131
- var props = _ref55.props;
1132
- _ref55.context;
1133
- return {
1134
- className: classNames('inline-flex cursor-pointer select-none items-center align-bottom text-center overflow-hidden relative', 'px-4 py-3 rounded-md text-base w-36', 'border transition duration-200 ease-in-out',
1135
- // {
1136
- // 'outline-none outline-offset-0 shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]': context.focused
1137
- // },
1138
- {
1139
- 'bg-white dark:bg-gray-900 border-gray-300 dark:border-blue-900/40 text-gray-700 dark:text-white/80 hover:bg-gray-100 dark:hover:bg-gray-800/80 hover:border-gray-300 dark:hover:bg-gray-800/70 hover:text-gray-700 dark:hover:text-white/80': !props.checked,
1140
- 'bg-blue-500 border-blue-500 text-white hover:bg-blue-600 hover:border-blue-600': props.checked
1141
- }, {
1142
- 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
1143
- })
1144
- };
1145
- },
1146
- label: 'font-bold text-center w-full',
1147
- icon: function icon(_ref56) {
1148
- var props = _ref56.props;
1149
- return {
1150
- className: classNames(' mr-2', {
1151
- 'text-gray-600 dark:text-white/70': !props.modelValue,
1152
- 'text-white': props.checked
1153
- })
1154
- };
1155
- }
1156
- },
1157
- tristatecheckbox: {
1158
- root: {
1159
- className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6')
1160
- },
1161
- checkbox: function checkbox(_ref57) {
1162
- var props = _ref57.props;
1163
- return {
1164
- className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 rounded-lg transition-colors duration-200', {
1165
- 'border-blue-500 bg-blue-500 text-white dark:border-blue-400 dark:bg-blue-400': props.value || !props.value,
1166
- 'border-gray-300 text-gray-600 bg-white dark:border-blue-900/40 dark:bg-gray-900': props.value == null
1167
- }, {
1168
- 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !props.disabled,
1169
- 'cursor-default opacity-60': props.disabled
1170
- })
1171
- };
1172
- }
1173
- },
1174
- checkbox: {
1175
- root: {
1176
- className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6')
1177
- },
1178
- input: function input(_ref58) {
1179
- var props = _ref58.props,
1180
- context = _ref58.context;
1181
- return {
1182
- className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 rounded-lg transition-colors duration-200', {
1183
- 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900': !context.checked,
1184
- 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400': context.checked
1185
- }, {
1186
- 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !props.disabled,
1187
- 'cursor-default opacity-60': props.disabled
1188
- })
1189
- };
1190
- },
1191
- icon: 'w-4 h-4 transition-all duration-200 text-white text-base dark:text-gray-900'
1192
- },
1193
- radiobutton: {
1194
- root: {
1195
- className: classNames('relative inline-flex cursor-pointer select-none align-bottom', 'w-6 h-6')
1196
- },
1197
- input: function input(_ref59) {
1198
- var props = _ref59.props;
1199
- return {
1200
- className: classNames('flex justify-center items-center', 'border-2 w-6 h-6 text-gray-700 rounded-full transition duration-200 ease-in-out', {
1201
- 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80': !props.checked,
1202
- 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400': props.checked
1203
- }, {
1204
- 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !props.disabled,
1205
- 'cursor-default opacity-60': props.disabled
1206
- })
1207
- };
1208
- },
1209
- icon: function icon(_ref60) {
1210
- var props = _ref60.props;
1211
- return {
1212
- className: classNames('transform rounded-full', 'block w-3 h-3 transition duration-200 bg-white dark:bg-gray-900', {
1213
- 'backface-hidden scale-10 invisible': !props.checked,
1214
- 'transform scale-100 visible': props.checked
1215
- })
1216
- };
1217
- }
1218
- },
1219
- dropdown: {
1220
- root: function root(_ref61) {
1221
- var props = _ref61.props;
1222
- return {
1223
- className: classNames('cursor-pointer inline-flex relative select-none', 'bg-white border border-gray-400 transition-colors duration-200 ease-in-out rounded-md', 'dark:bg-gray-900 dark:border-blue-900/40 dark:hover:border-blue-300', 'w-full md:w-56', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
1224
- 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
1225
- })
1226
- };
1227
- },
1228
- input: function input(_ref62) {
1229
- var props = _ref62.props;
1230
- return {
1231
- className: classNames('cursor-pointer block flex flex-auto overflow-hidden overflow-ellipsis whitespace-nowrap relative', 'bg-transparent border-0 text-gray-800', 'dark:text-white/80', 'p-3 transition duration-200 bg-transparent rounded appearance-none font-sans text-base', 'focus:outline-none focus:shadow-none', {
1232
- 'pr-7': props.showClear
1233
- })
1234
- };
1235
- },
1236
- trigger: {
1237
- className: classNames('flex items-center justify-center shrink-0', 'bg-transparent text-gray-500 w-12 rounded-tr-lg rounded-br-lg')
1238
- },
1239
- wrapper: {
1240
- className: 'max-h-[200px] overflow-auto bg-white text-gray-700 border-0 rounded-md shadow-lg dark:bg-gray-900 dark:text-white/80'
1241
- },
1242
- list: 'py-3 list-none m-0',
1243
- item: function item(_ref63) {
1244
- var context = _ref63.context;
1245
- return {
1246
- className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', 'dark:text-white/80 dark:hover:bg-gray-800', 'hover:text-gray-700 hover:bg-gray-200', {
1247
- 'text-gray-700': !context.focused && !context.selected,
1248
- 'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.selected,
1249
- 'bg-blue-400 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
1250
- 'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
1251
- })
1252
- };
1253
- },
1254
- itemgroup: {
1255
- className: classNames('m-0 p-3 text-gray-800 bg-white font-bold', 'dark:bg-gray-900 dark:text-white/80', 'cursor-auto')
1256
- },
1257
- header: {
1258
- className: classNames('p-3 border-b border-gray-300 text-gray-700 bg-gray-100 mt-0 rounded-tl-lg rounded-tr-lg', 'dark:bg-gray-800 dark:text-white/80 dark:border-blue-900/40')
1259
- },
1260
- filtercontainer: 'relative',
1261
- filterinput: {
1262
- className: classNames('pr-7 -mr-7', 'w-full', 'font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none', 'dark:bg-gray-900 dark:border-blue-900/40 dark:hover:border-blue-300 dark:text-white/80', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]')
1263
- },
1264
- filtericon: '-mt-2 absolute top-1/2',
1265
- clearicon: 'text-gray-500 right-12 -mt-2 absolute top-1/2',
1266
- transition: TRANSITIONS.overlay
1267
- },
1268
- calendar: {
1269
- root: function root(_ref64) {
1270
- var props = _ref64.props;
1271
- return {
1272
- className: classNames('inline-flex max-w-full relative', {
1273
- 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
1274
- })
1275
- };
1276
- },
1277
- input: {
1278
- root: {
1279
- className: classNames('font-sans text-base text-gray-600 dark:text-white/80 bg-white dark:bg-gray-900 p-3 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 appearance-none rounded-lg', 'hover:border-blue-500' //Hover
1280
- )
1281
- }
1282
- },
1283
-
1284
- panel: function panel(_ref65) {
1285
- var props = _ref65.props;
1286
- return {
1287
- className: classNames('bg-white dark:bg-gray-900', 'min-w-[350px]', {
1288
- 'shadow-md border-0 absolute': !props.inline,
1289
- 'inline-block overflow-x-auto border border-gray-300 dark:border-blue-900/40 p-2 rounded-lg': props.inline
1290
- })
1291
- };
1292
- },
1293
- header: {
1294
- className: classNames('flex items-center justify-between', 'p-2 text-gray-700 dark:text-white/80 bg-white dark:bg-gray-900 font-semibold m-0 border-b border-gray-300 dark:border-blue-900/40 rounded-t-lg')
1295
- },
1296
- previousbutton: {
1297
- className: classNames('flex items-center justify-center cursor-pointer overflow-hidden relative', 'w-8 h-8 text-gray-600 dark:text-white/70 border-0 bg-transparent rounded-full transition-colors duration-200 ease-in-out', 'hover:text-gray-700 dark:hover:text-white/80 hover:border-transparent hover:bg-gray-200 dark:hover:bg-gray-800/80 ')
1298
- },
1299
- title: 'leading-8 mx-auto',
1300
- monthTitle: {
1301
- className: classNames('text-gray-700 dark:text-white/80 transition duration-200 font-semibold p-2', 'mr-2', 'hover:text-blue-500')
1302
- },
1303
- yearTitle: {
1304
- className: classNames('text-gray-700 dark:text-white/80 transition duration-200 font-semibold p-2', 'hover:text-blue-500')
1305
- },
1306
- nextbutton: {
1307
- className: classNames('flex items-center justify-center cursor-pointer overflow-hidden relative', 'w-8 h-8 text-gray-600 dark:text-white/70 border-0 bg-transparent rounded-full transition-colors duration-200 ease-in-out', 'hover:text-gray-700 dark:hover:text-white/80 hover:border-transparent hover:bg-gray-200 dark:hover:bg-gray-800/80 ')
1308
- },
1309
- table: {
1310
- className: classNames('border-collapse w-full', 'my-2')
1311
- },
1312
- tableheadercell: 'p-2',
1313
- weekday: 'text-gray-600 dark:text-white/70',
1314
- day: 'p-2',
1315
- daylabel: function daylabel(_ref66) {
1316
- var context = _ref66.context;
1317
- return {
1318
- className: classNames('w-10 h-10 rounded-full transition-shadow duration-200 border-transparent border', 'flex items-center justify-center mx-auto overflow-hidden relative', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
1319
- 'opacity-60 cursor-default': context.disabled,
1320
- 'cursor-pointer': !context.disabled
1321
- }, {
1322
- 'text-gray-600 dark:text-white/70 bg-transprent hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.selected && !context.disabled,
1323
- 'text-blue-700 bg-blue-100 hover:bg-blue-200': context.selected && !context.disabled
1324
- })
1325
- };
1326
- },
1327
- monthpicker: 'my-2',
1328
- month: function month(_ref67) {
1329
- var context = _ref67.context;
1330
- return {
1331
- className: classNames('w-1/3 inline-flex items-center justify-center cursor-pointer overflow-hidden relative', 'p-2 transition-shadow duration-200 rounded-lg', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
1332
- 'text-gray-600 dark:text-white/70 bg-transprent hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.selected && !context.disabled,
1333
- 'text-blue-700 bg-blue-100 hover:bg-blue-200': context.selected && !context.disabled
1334
- })
1335
- };
1336
- },
1337
- yearpicker: {
1338
- className: classNames('my-2')
1339
- },
1340
- year: function year(_ref68) {
1341
- var context = _ref68.context;
1342
- return {
1343
- className: classNames('w-1/2 inline-flex items-center justify-center cursor-pointer overflow-hidden relative', 'p-2 transition-shadow duration-200 rounded-lg', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
1344
- 'text-gray-600 dark:text-white/70 bg-transprent hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.selected && !context.disabled,
1345
- 'text-blue-700 bg-blue-100 hover:bg-blue-200': context.selected && !context.disabled
1346
- })
1347
- };
1348
- },
1349
- timepicker: {
1350
- className: classNames('flex justify-center items-center', 'border-t-1 border-solid border-gray-300 p-2')
1351
- },
1352
- separatorcontainer: 'flex items-center flex-col px-2',
1353
- separator: 'text-xl',
1354
- hourpicker: 'flex items-center flex-col px-2',
1355
- minutepicker: 'flex items-center flex-col px-2',
1356
- ampmpicker: 'flex items-center flex-col px-2',
1357
- incrementbutton: {
1358
- className: classNames('flex items-center justify-center cursor-pointer overflow-hidden relative', 'w-8 h-8 text-gray-600 dark:text-white/70 border-0 bg-transparent rounded-full transition-colors duration-200 ease-in-out', 'hover:text-gray-700 dark:hover:text-white/80 hover:border-transparent hover:bg-gray-200 dark:hover:bg-gray-800/80 ')
1359
- },
1360
- decrementbutton: {
1361
- className: classNames('flex items-center justify-center cursor-pointer overflow-hidden relative', 'w-8 h-8 text-gray-600 dark:text-white/70 border-0 bg-transparent rounded-full transition-colors duration-200 ease-in-out', 'hover:text-gray-700 dark:hover:text-white/80 hover:border-transparent hover:bg-gray-200 dark:hover:bg-gray-800/80 ')
1362
- },
1363
- groupcontainer: 'flex',
1364
- group: {
1365
- className: classNames('flex-1', 'border-l border-gray-300 pr-0.5 pl-0.5 pt-0 pb-0', 'first:pl-0 first:border-l-0')
1366
- },
1367
- transition: TRANSITIONS.overlay
1368
- },
1369
- listbox: {
1370
- root: {
1371
- className: classNames('bg-white dark:bg-gray-900 border border-gray-400 dark:border-blue-900/40 transition-colors duration-200 ease-in-out rounded-md', 'w-full md:w-56')
1372
- },
1373
- wrapper: 'overflow-auto',
1374
- list: 'py-3 list-none m-0',
1375
- item: function item(_ref69) {
1376
- var context = _ref69.context;
1377
- return {
1378
- className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', 'dark:text-white/80 dark:hover:bg-gray-800', 'hover:text-gray-700 hover:bg-gray-200', {
1379
- 'text-gray-700': !context.focused && !context.selected,
1380
- 'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.selected,
1381
- 'bg-blue-400 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
1382
- 'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
1383
- })
1384
- };
1385
- },
1386
- itemgroup: {
1387
- className: classNames('m-0 p-3 text-gray-800 bg-white font-bold', 'dark:bg-gray-900 dark:text-white/80', 'cursor-auto')
1388
- },
1389
- header: {
1390
- className: classNames('p-3 border-b border-gray-300 text-gray-700 bg-gray-100 mt-0 rounded-tl-lg rounded-tr-lg', 'dark:bg-gray-800 dark:text-white/80 dark:border-blue-900/40')
1391
- },
1392
- filtercontainer: 'relative',
1393
- filterinput: {
1394
- root: {
1395
- className: classNames('pr-7 -mr-7', 'w-full', 'font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none', 'dark:bg-gray-900 dark:border-blue-900/40 dark:hover:border-blue-300 dark:text-white/80', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]')
1396
- }
1397
- },
1398
- filtericon: '-mt-2 absolute top-1/2'
1399
- },
1400
- mention: {
1401
- root: 'relative',
1402
- panel: 'max-h-[200px] overflow-auto bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-0 rounded-md shadow-lg',
1403
- items: 'py-3 list-none m-0',
1404
- item: 'cursor-pointer font-normal overflow-hidden relative whitespace-nowrap m-0 p-3 border-0 transition-shadow duration-200 rounded-none dark:text-white/80 dark:hover:bg-gray-800 hover:text-gray-700 hover:bg-gray-200',
1405
- transition: TRANSITIONS.overlay
1406
- },
1407
- multiselect: {
1408
- root: function root(_ref70) {
1409
- var props = _ref70.props;
1410
- return {
1411
- className: classNames('inline-flex cursor-pointer select-none', 'bg-white dark:bg-gray-900 border border-gray-400 dark:border-blue-900/40 transition-colors duration-200 ease-in-out rounded-md', 'w-full md:w-80', {
1412
- 'opacity-60 select-none pointer-events-none cursor-default': props === null || props === void 0 ? void 0 : props.disabled
1413
- })
1414
- };
1415
- },
1416
- labelContainer: 'overflow-hidden flex flex-auto cursor-pointer',
1417
- label: function label(_ref71) {
1418
- var props = _ref71.props;
1419
- return {
1420
- className: classNames('block overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis', 'text-gray-800 dark:text-white/80', 'p-3 transition duration-200', _defineProperty({
1421
- '!p-3': props.display !== 'chip' && ((props === null || props === void 0 ? void 0 : props.modelValue) == null || (props === null || props === void 0 ? void 0 : props.modelValue) == undefined),
1422
- '!py-1.5 px-3': props.display == 'chip' && (props === null || props === void 0 ? void 0 : props.modelValue) !== null
1423
- }, "!p-3", props.display == 'chip' && (props === null || props === void 0 ? void 0 : props.modelValue) == null))
1424
- };
1425
- },
1426
- token: {
1427
- className: classNames('py-1 px-2 mr-2 bg-gray-300 dark:bg-gray-700 text-gray-700 dark:text-white/80 rounded-full', 'cursor-default inline-flex items-center')
1428
- },
1429
- removeTokenIcon: 'ml-2',
1430
- trigger: {
1431
- className: classNames('flex items-center justify-center shrink-0', 'bg-transparent text-gray-600 dark:text-white/70 w-12 rounded-tr-lg rounded-br-lg')
1432
- },
1433
- panel: {
1434
- className: classNames('bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-0 rounded-md shadow-lg')
1435
- },
1436
- header: {
1437
- className: classNames('p-3 border-b border-gray-300 dark:border-blue-900/40 text-gray-700 dark:text-white/80 bg-gray-100 dark:bg-gray-800 rounded-t-lg', 'flex items-center justify-between')
1438
- },
1439
- headerCheckboxContainer: {
1440
- className: classNames('inline-flex cursor-pointer select-none align-bottom relative', 'mr-2', 'w-6 h-6')
1441
- },
1442
- headerCheckbox: function headerCheckbox(_ref72) {
1443
- var context = _ref72.context;
1444
- return {
1445
- className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 dark:text-white/70 rounded-lg transition-colors duration-200', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
1446
- 'border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900': !(context !== null && context !== void 0 && context.selected),
1447
- 'border-blue-500 bg-blue-500': context === null || context === void 0 ? void 0 : context.selected
1448
- })
1449
- };
1450
- },
1451
- headercheckboxicon: 'w-4 h-4 transition-all duration-200 text-white text-base',
1452
- closeButton: {
1453
- className: classNames('flex items-center justify-center overflow-hidden relative', 'w-8 h-8 text-gray-500 dark:text-white/70 border-0 bg-transparent rounded-full transition duration-200 ease-in-out mr-2 last:mr-0', 'hover:text-gray-700 dark:hover:text-white/80 hover:border-transparent hover:bg-gray-200 dark:hover:bg-gray-800/80 ', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]')
1454
- },
1455
- closeButtonIcon: 'w-4 h-4 inline-block',
1456
- wrapper: {
1457
- className: classNames('max-h-[200px] overflow-auto', 'bg-white text-gray-700 border-0 rounded-md shadow-lg', 'dark:bg-gray-900 dark:text-white/80')
1458
- },
1459
- list: 'py-3 list-none m-0',
1460
- item: function item(_ref73) {
1461
- var context = _ref73.context;
1462
- return {
1463
- className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', 'dark:text-white/80 dark:hover:bg-gray-800', 'hover:text-gray-700 hover:bg-gray-200', {
1464
- 'text-gray-700': !context.focused && !context.selected,
1465
- 'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.selected,
1466
- 'bg-blue-400 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
1467
- 'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
1468
- })
1469
- };
1470
- },
1471
- checkboxContainer: {
1472
- className: classNames('inline-flex cursor-pointer select-none align-bottom relative', 'mr-2', 'w-6 h-6')
1473
- },
1474
- checkbox: function checkbox(_ref74) {
1475
- var context = _ref74.context;
1476
- return {
1477
- className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 dark:text-white/80 rounded-lg transition-colors duration-200', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
1478
- 'border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900': !(context !== null && context !== void 0 && context.selected),
1479
- 'border-blue-500 bg-blue-500': context === null || context === void 0 ? void 0 : context.selected
1480
- })
1481
- };
1482
- },
1483
- checkboxicon: 'w-4 h-4 transition-all duration-200 text-white text-base',
1484
- itemgroup: {
1485
- className: classNames('m-0 p-3 text-gray-800 bg-white font-bold', 'dark:bg-gray-900 dark:text-white/80', 'cursor-auto')
1486
- },
1487
- filtercontainer: 'relative',
1488
- filterinput: {
1489
- className: classNames('pr-7 -mr-7', 'w-full', 'font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none', 'dark:bg-gray-900 dark:border-blue-900/40 dark:hover:border-blue-300 dark:text-white/80', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]')
1490
- },
1491
- filtericon: '-mt-2 absolute top-1/2',
1492
- clearicon: 'text-gray-500 right-12 -mt-2 absolute top-1/2',
1493
- transition: TRANSITIONS.overlay
1494
- },
1495
- multistatecheckbox: {
1496
- root: {
1497
- className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6')
1498
- },
1499
- checkbox: function checkbox(_ref75) {
1500
- var props = _ref75.props;
1501
- return {
1502
- className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 rounded-lg transition-colors duration-200', {
1503
- 'border-blue-500 bg-blue-500 text-white dark:border-blue-400 dark:bg-blue-400': props.value || !props.value,
1504
- 'border-gray-300 text-gray-600 bg-white dark:border-blue-900/40 dark:bg-gray-900': props.value == null
1505
- }, {
1506
- 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !props.disabled,
1507
- 'cursor-default opacity-60': props.disabled
1508
- })
1509
- };
1510
- }
1511
- },
1512
- inputtextarea: {
1513
- root: function root(_ref76) {
1514
- var context = _ref76.context;
1515
- return {
1516
- className: classNames('m-0', 'font-sans text-base text-gray-600 dark:text-white/80 bg-white dark:bg-gray-900 p-3 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 appearance-none rounded-lg', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
1517
- 'opacity-60 select-none pointer-events-none cursor-default': context.disabled
1518
- })
1519
- };
1520
- }
1521
- },
1522
- treeselect: {
1523
- root: function root(_ref77) {
1524
- var props = _ref77.props;
1525
- return {
1526
- className: classNames('inline-flex cursor-pointer select-none', 'bg-white dark:bg-gray-900 border border-gray-400 dark:border-blue-900/40 transition-colors duration-200 ease-in-out rounded-md', 'w-full md:w-80', {
1527
- 'opacity-60 select-none pointer-events-none cursor-default': props === null || props === void 0 ? void 0 : props.disabled
1528
- })
1529
- };
1530
- },
1531
- labelContainer: {
1532
- className: classNames('overflow-hidden flex flex-auto cursor-pointer')
1533
- },
1534
- label: {
1535
- className: classNames('block overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis', 'text-gray-800 dark:text-white/80', 'p-3 transition duration-200')
1536
- },
1537
- trigger: {
1538
- className: classNames('flex items-center justify-center shrink-0', 'bg-transparent text-gray-600 dark:text-white/70 w-12 rounded-tr-lg rounded-br-lg')
1539
- },
1540
- panel: {
1541
- className: classNames('bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-0 rounded-md shadow-lg')
1542
- },
1543
- wrapper: {
1544
- className: classNames('max-h-[200px] overflow-auto', 'bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-0 rounded-md shadow-lg')
1545
- },
1546
- transition: TRANSITIONS.overlay
1547
- },
1548
- autocomplete: {
1549
- root: function root(_ref78) {
1550
- var props = _ref78.props;
1551
- return {
1552
- className: classNames('relative inline-flex', {
1553
- 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
1554
- }, {
1555
- 'w-full': props.multiple
1556
- })
1557
- };
1558
- },
1559
- container: {
1560
- className: classNames('m-0 list-none cursor-text overflow-hidden flex items-center flex-wrap w-full', 'px-3 py-2 gap-2', 'font-sans text-base text-gray-700 dark:text-white/80 bg-white dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 transition duration-200 ease-in-out appearance-none rounded-md', 'focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] hover:border-blue-500 focus:outline-none dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]')
1561
- },
1562
- inputtoken: {
1563
- className: classNames('py-0.375rem px-0', 'flex-1 inline-flex')
1564
- },
1565
- input: function input(_ref79) {
1566
- var props = _ref79.props;
1567
- return {
1568
- root: {
1569
- className: classNames('m-0', 'transition-colors duration-200 appearance-none rounded-lg', {
1570
- 'rounded-tr-none rounded-br-none': props.dropdown
1571
- }, {
1572
- 'font-sans text-base text-gray-700 dark:text-white/80 bg-white dark:bg-gray-900 p-3 border border-gray-300 dark:border-blue-900/40 focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)] hover:border-blue-500 focus:outline-none': !props.multiple,
1573
- 'font-sans text-base text-gray-700 dark:text-white/80 border-0 outline-none bg-transparent m-0 p-0 shadow-none rounded-none w-full': props.multiple
1574
- })
1575
- }
1576
- };
1577
- },
1578
- token: {
1579
- className: classNames('py-1 px-2 mr-2 bg-gray-300 dark:bg-gray-700 text-gray-700 dark:text-white/80 rounded-full', 'cursor-default inline-flex items-center')
1580
- },
1581
- dropdownbutton: {
1582
- root: 'rounded-tl-none rounded-bl-none'
1583
- },
1584
- panel: {
1585
- className: classNames('bg-white text-gray-700 border-0 rounded-md shadow-lg', 'max-h-[200px] overflow-auto', 'bg-white text-gray-700 border-0 rounded-md shadow-lg', 'dark:bg-gray-900 dark:text-white/80')
1586
- },
1587
- list: 'py-3 list-none m-0',
1588
- item: function item(_ref80) {
1589
- var context = _ref80.context;
1590
- return {
1591
- className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', 'dark:text-white/80 dark:hover:bg-gray-800', 'hover:text-gray-700 hover:bg-gray-200', {
1592
- 'text-gray-700': !context.focused && !context.selected,
1593
- 'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.selected,
1594
- 'bg-blue-500 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
1595
- 'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
1596
- })
1597
- };
1598
- },
1599
- itemgroup: {
1600
- className: classNames('m-0 p-3 text-gray-800 bg-white font-bold', 'dark:bg-gray-900 dark:text-white/80', 'cursor-auto')
1601
- },
1602
- transition: TRANSITIONS.overlay
1603
- },
1604
- chips: {
1605
- root: function root(_ref81) {
1606
- var props = _ref81.props;
1607
- return {
1608
- className: classNames('flex', {
1609
- 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
1610
- })
1611
- };
1612
- },
1613
- container: {
1614
- className: classNames('m-0 py-1.5 px-3 list-none cursor-text overflow-hidden flex items-center flex-wrap', 'w-full', 'font-sans text-base text-gray-600 dark:text-white/70 bg-white dark:bg-gray-900 p-3 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 appearance-none rounded-lg', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]')
1615
- },
1616
- inputtoken: {
1617
- className: classNames('py-1.5 px-0', 'flex flex-1 inline-flex')
1618
- },
1619
- input: {
1620
- className: classNames('font-sans text-base text-gray-700 dark:text-white/80 p-0 m-0', 'border-0 outline-none bg-transparent shadow-none rounded-none w-full')
1621
- },
1622
- token: {
1623
- className: classNames('py-1 px-2 mr-2 bg-gray-300 dark:bg-gray-700 text-gray-700 dark:text-white/80 rounded-full', 'cursor-default inline-flex items-center')
1624
- },
1625
- removeTokenIcon: 'ml-2'
1626
- },
1627
- colorpicker: {
1628
- root: function root(_ref82) {
1629
- var props = _ref82.props;
1630
- return {
1631
- className: classNames('inline-block', {
1632
- 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
1633
- })
1634
- };
1635
- },
1636
- input: {
1637
- className: classNames('m-0', 'font-sans text-base text-gray-600 bg-white dark:bg-gray-900 p-3 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 rounded-lg cursor-pointer', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', 'w-8 h-8')
1638
- },
1639
- panel: function panel(_ref83) {
1640
- var props = _ref83.props;
1641
- return {
1642
- className: classNames('shadow-md', 'bg-gray-800 border-gray-900', {
1643
- 'relative h-48 w-52': props.inline,
1644
- 'absolute h-48 w-52': !props.inline
1645
- })
1646
- };
1647
- },
1648
- selector: 'absolute h-44 w-40 top-2 left-2',
1649
- color: {
1650
- className: 'h-44 w-40',
1651
- style: {
1652
- background: 'linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)'
1653
- }
1654
- },
1655
- colorhandle: {
1656
- className: classNames('rounded-full border border-solid cursor-pointer h-3 w-3 absolute opacity-85', 'border-white')
1657
- },
1658
- hue: {
1659
- className: 'h-44 w-6 absolute top-2 left-44 opacity-85',
1660
- style: {
1661
- background: 'linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)'
1662
- }
1663
- },
1664
- huehandle: 'border-solid border-2 cursor-pointer h-2 w-8 left-0 -ml-1 -mt-1 opacity-85 absolute',
1665
- transition: TRANSITIONS.overlay
1666
- },
1667
- editor: {
1668
- toolbar: {
1669
- className: classNames('bg-gray-100 rounded-tr-md rounded-tl-md', 'border border-gray-300 box-border font-sans px-2 py-1')
1670
- },
1671
- formats: {
1672
- className: classNames('inline-block align-middle', 'mr-4')
1673
- },
1674
- header: {
1675
- className: classNames('text-gray-700 inline-block float-left text-base font-medium h-6 relative align-middle', 'w-28', 'border-0 text-gray-600')
1676
- }
1677
- },
1678
- //MISC
1679
- badge: {
1680
- root: function root(_ref84) {
1681
- var props = _ref84.props;
1682
- return {
1683
- className: classNames('rounded-full p-0 text-center inline-block', 'bg-blue-500 text-white font-bold', {
1684
- 'bg-gray-500 ': props.severity == 'secondary',
1685
- 'bg-green-500 ': props.severity == 'success',
1686
- 'bg-blue-500 ': props.severity == 'info',
1687
- 'bg-orange-500 ': props.severity == 'warning',
1688
- 'bg-purple-500 ': props.severity == 'help',
1689
- 'bg-red-500 ': props.severity == 'danger'
1690
- }, {
1691
- 'text-xs min-w-[1.5rem] h-[1.5rem] leading-[1.5rem]': props.size == null,
1692
- 'text-lg min-w-[2.25rem] h-[2.25rem] leading-[2.25rem]': props.size == 'large',
1693
- 'text-2xl min-w-[3rem] h-[3rem] leading-[3rem]': props.size == 'xlarge'
1694
- })
1695
- };
1696
- }
1697
- },
1698
- avatar: {
1699
- root: function root(_ref85) {
1700
- var props = _ref85.props,
1701
- state = _ref85.state;
1702
- return {
1703
- className: classNames('flex items-center justify-center', 'bg-gray-300 dark:bg-gray-800', {
1704
- 'rounded-lg': props.shape == 'square',
1705
- 'rounded-full': props.shape == 'circle'
1706
- }, {
1707
- 'text-base h-8 w-8': props.size == null || props.size == 'normal',
1708
- 'w-12 h-12 text-xl': props.size == 'large',
1709
- 'w-16 h-16 text-2xl': props.size == 'xlarge'
1710
- }, {
1711
- '-ml-4 border-2 border-white dark:border-gray-900': state.nested
1712
- })
1713
- };
1714
- },
1715
- image: 'h-full w-full'
1716
- },
1717
- avatargroup: {
1718
- root: 'flex items-center'
1719
- },
1720
- chip: {
1721
- root: {
1722
- className: classNames('inline-flex items-center', 'bg-gray-200 text-gray-800 rounded-[16px] px-3 dark:text-white/80 dark:bg-gray-900')
1723
- },
1724
- label: 'leading-6 mt-1.5 mb-1.5',
1725
- icon: 'leading-6 mr-2',
1726
- image: {
1727
- className: classNames('w-9 h-9 ml-[-0.75rem] mr-2', 'rounded-full')
1728
- },
1729
- removeIcon: {
1730
- className: classNames('ml-2 rounded-md transition duration-200 ease-in-out', 'cursor-pointer leading-6')
1731
- }
1732
- },
1733
- progressbar: {
1734
- root: {
1735
- className: classNames('overflow-hidden relative', 'border-0 h-6 bg-gray-200 rounded-md dark:bg-gray-800')
1736
- },
1737
- value: function value(_ref86) {
1738
- var props = _ref86.props;
1739
- return {
1740
- className: classNames('border-0 m-0 bg-blue-500', {
1741
- 'transition-width duration-1000 ease-in-out absolute items-center border-0 flex h-full justify-center overflow-hidden w-0': props.mode !== 'indeterminate',
1742
- 'progressbar-value-animate before:absolute before:top-0 before:left-0 before:bottom-0 before:bg-inherit after:absolute after:top-0 after:left-0 after:bottom-0 after:bg-inherit after:delay-1000': props.mode == 'indeterminate'
1743
- })
1744
- };
1745
- },
1746
- label: {
1747
- className: classNames('inline-flex', 'text-white leading-6')
1748
- }
1749
- },
1750
- progressspinner: {
1751
- root: {
1752
- className: classNames('relative mx-auto w-28 h-28 inline-block', 'before:block before:pt-full')
1753
- },
1754
- spinner: 'absolute top-0 bottom-0 left-0 right-0 m-auto w-full h-full transform origin-center animate-spin',
1755
- circle: 'text-red-500 progress-spinner-circle'
1756
- },
1757
- skeleton: {
1758
- root: function root(_ref87) {
1759
- var props = _ref87.props;
1760
- return {
1761
- className: classNames('overflow-hidden', '!mb-2', 'bg-gray-300 dark:bg-gray-800', 'after:absolute after:top-0 after:left-0 after:right-0 after:bottom-0 after:content after:w-full after:h-full after:bg-blue-400 after:left-full after:transform after:translate-x-full after:z-10 after:bg-gradient-to-r after:from-transparent after:via-white after:to-transparent animate-pulse', {
1762
- 'rounded-md': props.shape !== 'circle',
1763
- 'rounded-full': props.shape == 'circle'
1764
- })
1765
- };
1766
- }
1767
- },
1768
- tag: {
1769
- root: function root(_ref88) {
1770
- var props = _ref88.props;
1771
- return {
1772
- className: classNames('inline-flex items-center justify-center', 'bg-blue-500 text-white text-xs font-semibold px-2 py-1 ', {
1773
- 'bg-gray-500 ': props.severity == 'secondary',
1774
- 'bg-green-500 ': props.severity == 'success',
1775
- 'bg-blue-500 ': props.severity == 'info',
1776
- 'bg-orange-500 ': props.severity == 'warning',
1777
- 'bg-purple-500 ': props.severity == 'help',
1778
- 'bg-red-500 ': props.severity == 'danger'
1779
- }, {
1780
- 'rounded-md': !props.rounded,
1781
- 'rounded-full': props.rounded
1782
- })
1783
- };
1784
- },
1785
- value: 'leading-6',
1786
- icon: 'mr-1 text-sm'
1787
- },
1788
- inplace: {
1789
- display: {
1790
- className: classNames('p-3 rounded-md transition duration-200 text-gray-700 dark:text-white/80', 'inline cursor-pointer', 'hover:bg-gray-200 hover:text-gray-700 dark:hover:bg-gray-800/80 dark:hover:text-white/80')
1791
- }
1792
- },
1793
- scrolltop: {
1794
- root: function root(_ref89) {
1795
- var props = _ref89.props;
1796
- return {
1797
- className: classNames('fixed bottom-20 right-20 flex items-center justify-center', 'ml-auto', {
1798
- '!bg-blue-500 hover:bg-blue-600 text-white rounded-md h-8 w-8': props.target == 'parent',
1799
- '!bg-gray-700 hover:bg-gray-800 h-12 w-12 rounded-full text-white': props.target !== 'parent'
1800
- })
1801
- };
1802
- },
1803
- transition: {
1804
- enterFromClass: 'opacity-0',
1805
- enterActiveClass: 'transition-opacity duration-150',
1806
- leaveActiveClass: 'transition-opacity duration-150',
1807
- leaveToClass: 'opacity-0'
1808
- }
1809
- },
1810
- terminal: {
1811
- root: {
1812
- className: classNames('border border-gray-300 p-5', 'bg-gray-900 text-white dark:border-blue-900/40 ', 'h-72 overflow-auto')
1813
- },
1814
- container: 'flex items-center',
1815
- prompt: 'text-yellow-400',
1816
- commandtext: 'flex-1 shrink grow-0 border-0 bg-transparent text-inherit p-0 outline-none'
1817
- },
1818
- blockui: {
1819
- root: 'relative',
1820
- mask: 'bg-black/40'
1821
- },
1822
- //MENU
1823
- breadcrumb: {
1824
- root: {
1825
- className: classNames('overflow-x-auto', 'bg-white dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 rounded-md p-4')
1826
- },
1827
- menu: 'm-0 p-0 list-none flex items-center flex-nowrap',
1828
- action: {
1829
- className: classNames('text-decoration-none flex items-center', 'transition-shadow duration-200 rounded-md text-gray-600 dark:text-white/70', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]')
1830
- },
1831
- icon: 'text-gray-600 dark:text-white/70',
1832
- separator: {
1833
- className: classNames('mx-2 text-gray-600 dark:text-white/70', 'flex items-center')
1834
- }
1835
- },
1836
- contextmenu: {
1837
- root: 'py-1 bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-none shadow-md rounded-lg w-52',
1838
- menu: {
1839
- className: classNames('m-0 p-0 list-none', 'outline-none')
1840
- },
1841
- menuitem: 'relative',
1842
- content: function content(_ref90) {
1843
- var context = _ref90.context;
1844
- return {
1845
- className: classNames('transition-shadow duration-200 rounded-none', 'hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80',
1846
- // Hover
1847
- {
1848
- 'text-gray-700': !context.focused && !context.active,
1849
- 'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.active,
1850
- 'bg-blue-500 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.active,
1851
- 'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.active
1852
- })
1853
- };
1854
- },
1855
- action: {
1856
- className: classNames('cursor-pointer flex items-center no-underline overflow-hidden relative', 'text-gray-700 dark:text-white/80 py-3 px-5 select-none')
1857
- },
1858
- icon: 'text-gray-600 dark:text-white/70 mr-2',
1859
- label: 'text-gray-600 dark:text-white/70',
1860
- transition: {
1861
- enterFromClass: 'opacity-0',
1862
- enterActiveClass: 'transition-opacity duration-250'
1863
- }
1864
- },
1865
- dock: {
1866
- root: function root(_ref91) {
1867
- var props = _ref91.props;
1868
- return {
1869
- className: classNames('absolute z-1 flex justify-center items-center pointer-events-none', {
1870
- 'left-0 bottom-0 w-full': props.position == 'bottom',
1871
- 'left-0 top-0 w-full': props.position == 'top',
1872
- 'left-0 top-0 h-full': props.position == 'left',
1873
- 'right-0 top-0 h-full': props.position == 'right'
1874
- })
1875
- };
1876
- },
1877
- container: {
1878
- className: classNames('flex pointer-events-auto', 'bg-white/10 border-white/20 p-2 border rounded-md')
1879
- },
1880
- menu: function menu(_ref92) {
1881
- var props = _ref92.props;
1882
- return {
1883
- className: classNames('m-0 p-0 list-none flex items-center justify-center', 'outline-none', {
1884
- 'flex-col': props.position == 'left' || props.position == 'right'
1885
- })
1886
- };
1887
- },
1888
- menuitem: function menuitem(_ref93) {
1889
- var props = _ref93.props,
1890
- context = _ref93.context,
1891
- state = _ref93.state;
1892
- return {
1893
- className: classNames('p-2 rounded-md', 'transition-all duration-200 ease-cubic-bezier-will-change-transform transform ', {
1894
- 'origin-bottom hover:mx-6': props.position == 'bottom',
1895
- 'origin-top hover:mx-6': props.position == 'top',
1896
- 'origin-left hover:my-6': props.position == 'left',
1897
- 'origin-right hover:my-6': props.position == 'right'
1898
- }, {
1899
- 'hover:scale-150': state.currentIndex === context.index,
1900
- 'scale-125': state.currentIndex - 1 === context.index || state.currentIndex + 1 === context.index,
1901
- 'scale-110': state.currentIndex - 2 === context.index || state.currentIndex + 2 === context.index
1902
- })
1903
- };
1904
- },
1905
- action: {
1906
- className: classNames('flex flex-col items-center justify-center relative overflow-hidden cursor-default', 'w-16 h-16')
1907
- }
1908
- },
1909
- menu: {
1910
- root: 'py-1 bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border border-gray-300 dark:border-blue-900/40 rounded-md w-48',
1911
- menu: {
1912
- className: classNames('m-0 p-0 list-none', 'outline-none')
1913
- },
1914
- content: function content(_ref94) {
1915
- var context = _ref94.context;
1916
- return {
1917
- className: classNames('text-gray-700 dark:text-white/80 transition-shadow duration-200 rounded-none', 'hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80',
1918
- // Hover
1919
- {
1920
- 'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused
1921
- })
1922
- };
1923
- },
1924
- action: {
1925
- className: classNames('text-gray-700 dark:text-white/80 py-3 px-5 select-none', 'cursor-pointer flex items-center no-underline overflow-hidden relative')
1926
- },
1927
- icon: 'text-gray-600 dark:text-white/70 mr-2',
1928
- submenuheader: {
1929
- className: classNames('m-0 p-3 text-gray-700 dark:text-white/80 bg-white dark:bg-gray-900 font-bold rounded-tl-none rounded-tr-none')
1930
- },
1931
- transition: TRANSITIONS.overlay
1932
- },
1933
- menubar: {
1934
- root: {
1935
- className: classNames('p-2 bg-gray-100 dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 rounded-md', 'flex items-center relative')
1936
- },
1937
- menu: function menu(_ref95) {
1938
- var state = _ref95.state;
1939
- return {
1940
- className: classNames('m-0 sm:p-0 list-none', 'outline-none', 'sm:flex items-center flex-wrap sm:flex-row sm:top-auto sm:left-auto sm:relative sm:bg-transparent sm:shadow-none sm:w-auto', 'flex-col top-full left-0', 'absolute py-1 bg-white dark:bg-gray-900 border-0 shadow-md w-full', {
1941
- 'hidden ': !(state !== null && state !== void 0 && state.mobileActive),
1942
- 'flex ': state === null || state === void 0 ? void 0 : state.mobileActive
1943
- })
1944
- };
1945
- },
1946
- menuitem: function menuitem(_ref96) {
1947
- var props = _ref96.props,
1948
- context = _ref96.context;
1949
- return {
1950
- className: classNames('sm:relative sm:w-auto w-full static', 'transition-shadow duration-200', {
1951
- 'rounded-md': props.root
1952
- }, {
1953
- 'text-gray-700 dark:text-white/80': !context.active,
1954
- 'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': context.active
1955
- }, {
1956
- 'hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.active,
1957
- 'hover:bg-blue-200 dark:hover:bg-blue-500': context.active
1958
- })
1959
- };
1960
- },
1961
- action: function action(_ref97) {
1962
- var context = _ref97.context;
1963
- return {
1964
- className: classNames('select-none', 'cursor-pointer flex items-center no-underline overflow-hidden relative', 'py-3 px-5 select-none', {
1965
- 'max-[960px]:pl-9': context.level === 1,
1966
- 'max-[960px]:pl-14': context.level === 2
1967
- })
1968
- };
1969
- },
1970
- icon: 'mr-2',
1971
- submenuicon: function submenuicon(_ref98) {
1972
- var props = _ref98.props;
1973
- return {
1974
- className: classNames('max-[960px]:ml-auto', {
1975
- 'ml-2': props.root,
1976
- 'ml-auto': !props.root
1977
- })
1978
- };
1979
- },
1980
- submenu: function submenu(_ref99) {
1981
- var props = _ref99.props;
1982
- return {
1983
- className: classNames('py-1 bg-white dark:bg-gray-900 border-0 sm:shadow-md sm:w-48', 'w-full static shadow-none', 'sm:absolute z-10', 'm-0 list-none', {
1984
- 'sm:absolute sm:left-full sm:top-0': !props.root
1985
- })
1986
- };
1987
- },
1988
- separator: 'border-t border-gray-300 dark:border-blue-900/40 my-1',
1989
- button: {
1990
- className: classNames('flex sm:hidden w-8 h-8 rounded-full text-gray-600 dark:text-white/80 transition duration-200 ease-in-out', 'cursor-pointer flex items-center justify-center no-underline', 'hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80 ', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]')
1991
- }
1992
- },
1993
- megamenu: {
1994
- root: function root(_ref100) {
1995
- var props = _ref100.props;
1996
- return {
1997
- className: classNames('bg-gray-100 dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 rounded-md', 'flex relative', {
1998
- 'p-2 items-center': props.orientation == 'horizontal',
1999
- 'flex-col w-48 p-0 py-1': props.orientation !== 'horizontal'
2000
- })
2001
- };
2002
- },
2003
- menu: {
2004
- className: classNames('m-0 sm:p-0 list-none relative', 'outline-none', 'flex items-center flex-wrap flex-row top-auto left-auto relative bg-transparent shadow-none w-auto')
2005
- },
2006
- menuitem: function menuitem(_ref101) {
2007
- var props = _ref101.props,
2008
- context = _ref101.context;
2009
- return {
2010
- className: classNames('transition-shadow duration-200', {
2011
- 'rounded-md': props.orientation == 'horizontal'
2012
- }, {
2013
- 'text-gray-700 dark:text-white/80': !context.active,
2014
- 'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': context.active
2015
- }, {
2016
- 'w-auto': props.orientation === 'horizontal',
2017
- 'w-full': props.orientation !== 'horizontal'
2018
- }, {
2019
- 'hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.active,
2020
- 'hover:bg-blue-200 dark:hover:bg-blue-500': context.active
2021
- })
2022
- };
2023
- },
2024
- headeraction: {
2025
- className: classNames('select-none', 'cursor-pointer flex items-center no-underline overflow-hidden relative', 'py-3 px-5 select-none')
2026
- },
2027
- action: {
2028
- className: classNames('select-none', 'cursor-pointer flex items-center no-underline overflow-hidden relative', 'py-3 px-5 select-none')
2029
- },
2030
- icon: {
2031
- className: 'mr-2'
2032
- },
2033
- submenuicon: function submenuicon(_ref102) {
2034
- var props = _ref102.props;
2035
- return {
2036
- className: classNames({
2037
- 'ml-2': props.orientation === 'horizontal',
2038
- 'ml-auto': props.orientation !== 'horizontal'
2039
- })
2040
- };
2041
- },
2042
- panel: function panel(_ref103) {
2043
- var props = _ref103.props;
2044
- return {
2045
- className: classNames('py-1 bg-white dark:bg-gray-900 border-0 shadow-md w-auto', 'absolute z-10', {
2046
- 'left-full top-0': props.orientation !== 'horizontal'
2047
- })
2048
- };
2049
- },
2050
- grid: 'flex',
2051
- column: 'w-1/2',
2052
- submenu: {
2053
- className: classNames('m-0 list-none', 'py-1 w-48')
2054
- },
2055
- submenuheader: {
2056
- className: classNames('m-0 py-3 px-5 text-gray-700 dark:text-white/80 bg-white dark:bg-gray-900 font-semibold rounded-tr-md rounded-tl-md')
2057
- }
2058
- },
2059
- panelmenu: {
2060
- root: 'w-full md:w-[25rem]',
2061
- panel: 'mb-1',
2062
- header: {
2063
- className: classNames('outline-none', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]' // Focus
2064
- )
2065
- },
2066
-
2067
- headercontent: {
2068
- className: classNames('border border-solid border-gray-300 dark:border-blue-900/40 text-gray-700 dark:text-white/80 bg-gray-100 dark:bg-gray-900 rounded-md transition-shadow duration-200', 'hover:bg-gray-200 dark:hover:bg-gray-800/80 hover:text-gray-700 dark:hover:text-white/80')
2069
- },
2070
- headeraction: {
2071
- className: classNames('flex items-center select-none cursor-pointer relative no-underline', 'text-gray-700 dark:text-white/80 p-5 font-bold')
2072
- },
2073
- submenuicon: 'mr-2',
2074
- headericon: 'mr-2',
2075
- menucontent: 'py-1 border border-t-0 border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 rounded-t-none rounded-br-md rounded-bl-md',
2076
- menu: {
2077
- className: classNames('outline-none', 'm-0 p-0 list-none')
2078
- },
2079
- menuitem: function menuitem(_ref104) {
2080
- var context = _ref104.context;
2081
- return {
2082
- className: classNames('text-gray-700 dark:text-white/80 transition-shadow duration-200 border-none rounded-none', 'hover:bg-gray-200 dark:hover:bg-gray-800/80 hover:text-gray-700 dark:hover:text-white/80',
2083
- // Hover
2084
- {
2085
- 'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused
2086
- })
2087
- };
2088
- },
2089
- action: {
2090
- className: classNames('text-gray-700 dark:text-white/80 py-3 px-5 select-none', 'flex items-center cursor-pointer no-underline relative overflow-hidden')
2091
- },
2092
- icon: 'mr-2',
2093
- submenu: 'p-0 pl-4 m-0 list-none',
2094
- transition: TRANSITIONS.toggleable
2095
- },
2096
- steps: {
2097
- root: 'relative',
2098
- menu: 'p-0 m-0 list-none flex',
2099
- menuitem: {
2100
- className: classNames('relative flex justify-center flex-1 overflow-hidden', 'before:border-t before:border-gray-300 before:dark:border-blue-900/40 before:w-full before:absolute before:top-1/4 before:left-0 before:transform before:-translate-y-1/2')
2101
- },
2102
- action: {
2103
- className: classNames('inline-flex flex-col items-center overflow-hidden', 'transition-shadow rounded-md bg-white dark:bg-transparent', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]')
2104
- },
2105
- step: {
2106
- className: classNames('flex items-center justify-center', 'text-gray-700 dark:text-white/80 border border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900 w-[2rem] h-[2rem] leading-2rem text-sm z-10 rounded-full')
2107
- },
2108
- label: {
2109
- className: classNames('block', 'whitespace-nowrap overflow-hidden overflow-ellipsis max-w-full', 'mt-2 text-gray-500 dark:text-white/60')
2110
- }
2111
- },
2112
- tabmenu: {
2113
- root: 'overflow-x-auto',
2114
- menu: {
2115
- className: classNames('flex m-0 p-0 list-none flex-nowrap', 'bg-white border-solid border-gray-300 border-b-2', 'outline-none no-underline text-base list-none')
2116
- },
2117
- menuitem: 'mr-0',
2118
- action: function action(_ref105) {
2119
- var context = _ref105.context,
2120
- state = _ref105.state;
2121
- return {
2122
- className: classNames('cursor-pointer select-none flex items-center relative no-underline overflow-hidden', 'border-b-2 p-5 font-bold rounded-t-lg ', 'focus:outline-none focus:outline-offset-0 focus:shadow-[inset_0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
2123
- 'border-gray-300 bg-white text-gray-700 hover:bg-white hover:border-gray-400 hover:text-gray-600 dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80 dark:hover:bg-gray-800/80': state.activeIndex !== context.index,
2124
- // Condition-based hover styles.
2125
- 'bg-white border-blue-500 text-blue-500 dark:bg-gray-900 dark:border-blue-300 dark:text-blue-300': state.activeIndex === context.index // Condition-based active styles.
2126
- }),
2127
-
2128
- style: {
2129
- top: '2px'
2130
- }
2131
- };
2132
- },
2133
- icon: 'mr-2'
2134
- },
2135
- slidemenu: {
2136
- root: {
2137
- className: classNames('py-1 bg-white border border-gray-300 rounded-lg w-[12.5rem]', 'dark:border-blue-900/40 dark:bg-gray-900')
2138
- },
2139
- content: 'relative overflow-x-hidden overflow-y-auto h-full',
2140
- menu: 'outline-none m-0 p-0 list-none absolute top-0 block',
2141
- menuitem: function menuitem(_ref106) {
2142
- var context = _ref106.context;
2143
- return {
2144
- className: classNames({
2145
- relative: !context.active,
2146
- "static": context.active
2147
- })
2148
- };
2149
- },
2150
- action: function action(_ref107) {
2151
- var context = _ref107.context;
2152
- return {
2153
- className: classNames('py-3 px-5 select-none', 'flex items-center cursor-pointer no-underline relative overflow-hidden', {
2154
- 'text-gray-700 dark:text-white/80 hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.active,
2155
- 'text-blue-600 bg-blue-100': context.active
2156
- })
2157
- };
2158
- },
2159
- previous: function previous(_ref108) {
2160
- var state = _ref108.state;
2161
- return {
2162
- className: classNames('py-3 px-5 cursor-pointer bottom-0 w-full text-gray-700 dark:text-white/80', {
2163
- hidden: state.level === 0
2164
- })
2165
- };
2166
- },
2167
- icon: 'mr-2',
2168
- submenuicon: 'ml-auto',
2169
- separator: 'border-t border-gray-300 my-1 dark:border-blue-900/40',
2170
- submenu: {
2171
- className: classNames('py-1 bg-white dark:bg-gray-900 border-0 shadow-md min-w-full', 'absolute z-10', 'left-full top-0')
2172
- },
2173
- transition: TRANSITIONS.overlay
2174
- },
2175
- tieredmenu: {
2176
- root: {
2177
- className: classNames('py-1 bg-white border border-gray-300 rounded-lg w-[12.5rem]', 'dark:border-blue-900/40 dark:bg-gray-900')
2178
- },
2179
- menu: {
2180
- className: classNames('outline-none', 'm-0 p-0 list-none')
2181
- },
2182
- menuitem: 'relative',
2183
- content: function content(_ref109) {
2184
- var context = _ref109.context;
2185
- return {
2186
- className: classNames('transition-shadow duration-200 border-none rounded-none', 'hover:bg-gray-200 hover:text-gray-700 dark:hover:text-white/80 dark:hover:bg-gray-800/80',
2187
- //Hover
2188
- {
2189
- 'text-gray-700': !context.focused && !context.active,
2190
- 'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.active,
2191
- 'bg-blue-100 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.active,
2192
- 'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.active
2193
- })
2194
- };
2195
- },
2196
- action: function action(_ref110) {
2197
- var context = _ref110.context;
2198
- return {
2199
- className: classNames('py-3 px-5 select-none', 'flex items-center cursor-pointer no-underline relative overflow-hidden', {
2200
- 'text-gray-700 dark:text-white/80 hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.active,
2201
- 'text-blue-600 bg-blue-100': context.active
2202
- })
2203
- };
2204
- },
2205
- icon: 'mr-2',
2206
- submenuicon: 'ml-auto',
2207
- separator: 'border-t border-gray-300 my-1 dark:border-blue-900/40',
2208
- submenu: {
2209
- className: classNames('py-1 bg-white dark:bg-gray-900 border-0 shadow-md min-w-full', 'absolute z-10', 'left-full top-0')
2210
- },
2211
- transition: TRANSITIONS.overlay
2212
- },
2213
- //MEDIA
2214
- image: {
2215
- root: 'relative inline-block',
2216
- button: {
2217
- className: classNames('absolute inset-0 flex items-center justify-center opacity-0 transition-opacity duration-300', 'bg-transparent text-gray-100', 'hover:opacity-100 hover:cursor-pointer hover:bg-black hover:bg-opacity-50' //Hover
2218
- )
2219
- },
2220
-
2221
- mask: {
2222
- className: classNames('fixed top-0 left-0 w-full h-full', 'flex items-center justify-center', 'bg-black bg-opacity-90')
2223
- },
2224
- toolbar: {
2225
- className: classNames('absolute top-0 right-0 flex', 'p-4')
2226
- },
2227
- rotaterightbutton: {
2228
- className: classNames('flex justify-center items-center', 'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out mr-2', 'hover:text-white hover:bg-white/10', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]')
2229
- },
2230
- rotaterighticon: 'w-6 h-6',
2231
- rotateleftbutton: {
2232
- className: classNames('flex justify-center items-center', 'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out mr-2', 'hover:text-white hover:bg-white/10', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]')
2233
- },
2234
- rotatelefticon: 'w-6 h-6',
2235
- zoomoutbutton: {
2236
- className: classNames('flex justify-center items-center', 'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out mr-2', 'hover:text-white hover:bg-white/10', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]')
2237
- },
2238
- zoomouticon: 'w-6 h-6',
2239
- zoominbutton: {
2240
- className: classNames('flex justify-center items-center', 'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out mr-2', 'hover:text-white hover:bg-white/10', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]')
2241
- },
2242
- zoominicon: 'w-6 h-6',
2243
- closebutton: {
2244
- className: classNames('flex justify-center items-center', 'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out mr-2', 'hover:text-white hover:bg-white/10', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]')
2245
- },
2246
- closeicon: 'w-6 h-6',
2247
- transition: {
2248
- enterFromClass: 'opacity-0 scale-75',
2249
- enterActiveClass: 'transition-all duration-150 ease-in-out',
2250
- leaveActiveClass: 'transition-all duration-150 ease-in',
2251
- leaveToClass: 'opacity-0 scale-75'
2252
- }
2253
- },
2254
- galleria: {
2255
- root: 'flex flex-col',
2256
- content: 'flex flex-col',
2257
- itemwrapper: 'flex flex-col relative',
2258
- itemcontainer: 'relative flex h-full',
2259
- item: 'flex justify-center items-center h-full w-full',
2260
- thumbnailwrapper: 'flex flex-col overflow-auto shrink-0',
2261
- thumbnailcontainer: {
2262
- className: classNames('flex flex-row', 'bg-black/90 p-4')
2263
- },
2264
- previousthumbnailbutton: {
2265
- className: classNames('self-center flex shrink-0 justify-center items-center overflow-hidden relative', 'm-2 bg-transparent text-white w-8 h-8 transition duration-200 ease-in-out rounded-full', 'hover:bg-white/10 hover:text-white', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]')
2266
- },
2267
- thumbnailitemscontainer: 'overflow-hidden w-full',
2268
- thumbnailitems: 'flex',
2269
- thumbnailitem: {
2270
- className: classNames('overflow-auto flex items-center justify-center cursor-pointer opacity-50', 'flex-1 grow-0 shrink-0 w-20', 'hover:opacity-100 hover:transition-opacity hover:duration-300')
2271
- },
2272
- nextthumbnailbutton: {
2273
- className: classNames('self-center flex shrink-0 justify-center items-center overflow-hidden relative', 'm-2 bg-transparent text-white w-8 h-8 transition duration-200 ease-in-out rounded-full', 'hover:bg-white/10 hover:text-white', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]')
2274
- },
2275
- indicators: {
2276
- className: classNames('flex items-center justify-center', 'p-4')
2277
- },
2278
- indicator: 'mr-2',
2279
- indicatorbutton: function indicatorbutton(_ref111) {
2280
- var context = _ref111.context;
2281
- return {
2282
- className: classNames('w-4 h-4 transition duration-200 rounded-full', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
2283
- 'bg-gray-200 hover:bg-gray-300 dark:bg-gray-700 dark:hover:bg-gray-600': !context.highlighted,
2284
- 'bg-blue-500 hover:bg-blue-600': context.highlighted
2285
- })
2286
- };
2287
- },
2288
- mask: function mask(_ref112) {
2289
- var state = _ref112.state;
2290
- return {
2291
- className: classNames({
2292
- 'fixed top-0 left-0 w-full h-full flex items-center justify-center bg-black bg-opacity-90': state.visible
2293
- })
2294
- };
2295
- },
2296
- closebutton: {
2297
- className: classNames('absolute top-0 right-0 flex justify-center items-center overflow-hidden m-2', 'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out', 'hover:text-white hover:bg-white/10', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]')
2298
- },
2299
- closeicon: 'w-6 h-6',
2300
- previousitembutton: {
2301
- className: classNames('inline-flex justify-center items-center overflow-hidden', 'bg-transparent text-white w-16 h-16 transition duration-200 ease-in-out rounded-md mx-2', 'fixed top-1/2 mt-[-0.5rem]', 'left-0', 'hover:bg-white/10 hover:text-white', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]')
2302
- },
2303
- nextitembutton: {
2304
- className: classNames('inline-flex justify-center items-center overflow-hidden', 'bg-transparent text-white w-16 h-16 transition duration-200 ease-in-out rounded-md mx-2', 'fixed top-1/2 mt-[-0.5rem]', 'right-0', 'hover:bg-white/10 hover:text-white', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]')
2305
- },
2306
- caption: {
2307
- className: classNames('absolute bottom-0 left-0 w-full', 'bg-black/50 text-white p-4')
2308
- },
2309
- transition: {
2310
- enterFromClass: 'opacity-0 scale-75',
2311
- enterActiveClass: 'transition-all duration-150 ease-in-out',
2312
- leaveActiveClass: 'transition-all duration-150 ease-in',
2313
- leaveToClass: 'opacity-0 scale-75'
2314
- }
2315
- },
2316
- carousel: {
2317
- root: 'flex flex-col',
2318
- content: 'flex flex-col overflow-auto',
2319
- container: function container(_ref113) {
2320
- var props = _ref113.props;
2321
- return {
2322
- className: classNames('flex', {
2323
- 'flex-row': props.orientation !== 'vertical',
2324
- 'flex-col': props.orientation == 'vertical'
2325
- })
2326
- };
2327
- },
2328
- previousbutton: {
2329
- className: classNames('flex justify-center items-center self-center overflow-hidden relative shrink-0 grow-0', 'w-8 h-8 text-gray-600 border-0 bg-transparent rounded-full transition duration-200 ease-in-out mx-2')
2330
- },
2331
- itemscontent: 'overflow-hidden w-full',
2332
- itemscontainer: function itemscontainer(_ref114) {
2333
- var props = _ref114.props;
2334
- return {
2335
- className: classNames('flex ', {
2336
- 'flex-row': props.orientation !== 'vertical',
2337
- 'flex-col h-full': props.orientation == 'vertical'
2338
- })
2339
- };
2340
- },
2341
- item: function item(_ref115) {
2342
- var props = _ref115.props;
2343
- return {
2344
- className: classNames('flex shrink-0 grow', {
2345
- 'w-1/3': props.orientation !== 'vertical',
2346
- 'w-full': props.orientation == 'vertical'
2347
- })
2348
- };
2349
- },
2350
- indicators: {
2351
- className: classNames('flex flex-row justify-center flex-wrap')
2352
- },
2353
- indicator: 'mr-2 mb-2',
2354
- indicatorbutton: function indicatorbutton(_ref116) {
2355
- var context = _ref116.context;
2356
- return {
2357
- className: classNames('w-8 h-2 transition duration-200 rounded-0', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
2358
- 'bg-blue-500 hover:bg-blue-600': context.active,
2359
- 'bg-gray-200 hover:bg-gray-300 dark:bg-gray-700 dark:hover:bg-gray-600': !context.active
2360
- })
2361
- };
2362
- }
2363
- },
2364
- tree: {
2365
- root: {
2366
- className: classNames('max-w-[30rem] md:w-full', 'border border-solid border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 p-5 rounded-md')
2367
- },
2368
- wrapper: 'overflow-auto',
2369
- container: 'm-0 p-0 list-none overflow-auto',
2370
- node: 'p-1 outline-none',
2371
- content: function content(_ref117) {
2372
- var context = _ref117.context,
2373
- props = _ref117.props;
2374
- return {
2375
- className: classNames('flex items-center', 'rounded-lg transition-shadow duration-200 p-2', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
2376
- 'bg-blue-50 text-blue-600': context.selected
2377
- }, {
2378
- 'cursor-pointer select-none': props.selectionMode == 'single' || props.selectionMode == 'multiple'
2379
- })
2380
- };
2381
- },
2382
- toggler: function toggler(_ref118) {
2383
- var context = _ref118.context;
2384
- return {
2385
- className: classNames('cursor-pointer select-none inline-flex items-center justify-center overflow-hidden relative shrink-0', 'mr-2 w-8 h-8 border-0 bg-transparent rounded-full transition duration-200', 'hover:border-transparent focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
2386
- 'text-gray-500 dark:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80 hover:text-gray-800 dark:hover:text-white/80': !context.selected,
2387
- 'text-blue-600 hover:bg-white/30': context.selected
2388
- }, {
2389
- invisible: context.isLeaf
2390
- })
2391
- };
2392
- },
2393
- checkboxcontainer: 'mr-2',
2394
- checkbox: function checkbox(_ref119) {
2395
- var context = _ref119.context,
2396
- props = _ref119.props;
2397
- return {
2398
- className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6', 'flex items-center justify-center', 'border-2 w-6 h-6 rounded-lg transition-colors duration-200 text-white text-base dark:text-gray-900', {
2399
- 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900': !context.checked,
2400
- 'border-blue-500 text-white bg-blue-500 dark:border-blue-400 dark:bg-blue-400': context.checked
2401
- }, {
2402
- 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !props.disabled,
2403
- 'cursor-default opacity-60': props.disabled
2404
- })
2405
- };
2406
- },
2407
- nodeicon: 'mr-2 text-gray-600 dark:text-white/70',
2408
- subgroup: {
2409
- className: classNames('m-0 list-none', 'p-0 pl-4')
2410
- },
2411
- filtercontainer: {
2412
- className: classNames('mb-2', 'relative block w-full')
2413
- },
2414
- input: {
2415
- className: classNames('m-0 p-3 text-base w-full pr-7', 'font-sans text-gray-600 dark:text-white/70 bg-white dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 appearance-none rounded-lg', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]')
2416
- },
2417
- searchicon: 'absolute top-1/2 -mt-2 right-3 text-gray-600 dark:hover:text-white/70'
2418
- },
2419
- // DATA
2420
- timeline: {
2421
- root: function root(_ref120) {
2422
- var props = _ref120.props;
2423
- return {
2424
- className: classNames('flex grow', {
2425
- 'flex-col': props.layout === 'vertical',
2426
- 'flex-row flex-1': props.layout === 'horizontal'
2427
- })
2428
- };
2429
- },
2430
- event: function event(_ref121) {
2431
- var props = _ref121.props,
2432
- context = _ref121.context;
2433
- return {
2434
- className: classNames('flex relative min-h-[70px]', {
2435
- 'flex-row-reverse': props.align === 'right' || props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1,
2436
- 'flex-col flex-1': props.layout === 'horizontal',
2437
- 'flex-col-reverse ': props.align === 'bottom' || props.layout === 'horizontal' && props.align === 'alternate' && context.index % 2 === 1
2438
- })
2439
- };
2440
- },
2441
- opposite: function opposite(_ref122) {
2442
- var props = _ref122.props,
2443
- context = _ref122.context;
2444
- return {
2445
- className: classNames('flex-1', {
2446
- 'px-4': props.layout === 'vertical',
2447
- 'py-4': props.layout === 'horizontal'
2448
- }, {
2449
- 'text-right': props.align === 'left' || props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 0,
2450
- 'text-left': props.align === 'right' || props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1
2451
- })
2452
- };
2453
- },
2454
- separator: function separator(_ref123) {
2455
- var props = _ref123.props;
2456
- return {
2457
- className: classNames('flex items-center flex-initial', {
2458
- 'flex-col': props.layout === 'vertical',
2459
- 'flex-row': props.layout === 'horizontal'
2460
- })
2461
- };
2462
- },
2463
- marker: 'flex self-baseline w-4 h-4 rounded-full border-2 border-blue-500 bg-white dark:border-blue-300 dark:bg-blue-900/40',
2464
- connector: function connector(_ref124) {
2465
- var props = _ref124.props;
2466
- return {
2467
- className: classNames('grow bg-gray-300 dark:bg-blue-900/40', {
2468
- 'w-[2px]': props.layout === 'vertical',
2469
- 'w-full h-[2px]': props.layout === 'horizontal'
2470
- })
2471
- };
2472
- },
2473
- content: function content(_ref125) {
2474
- var props = _ref125.props,
2475
- context = _ref125.context;
2476
- return {
2477
- className: classNames('flex-1', {
2478
- 'px-4': props.layout === 'vertical',
2479
- 'py-4': props.layout === 'horizontal'
2480
- }, {
2481
- 'text-left': props.align === 'left' || props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 0,
2482
- 'text-right': props.align === 'right' || props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1
2483
- }, {
2484
- 'min-h-0': props.layout === 'vertical' && context.index === context.count,
2485
- 'grow-0': props.layout === 'horizontal' && context.index === context.count
2486
- })
2487
- };
2488
- }
2489
- },
2490
- dataview: {
2491
- content: {
2492
- className: classNames('bg-white blue-gray-700 border-0 p-0', 'dark:bg-gray-900 dark:text-white/80' // Dark Mode
2493
- )
2494
- },
2495
-
2496
- grid: 'flex flex-wrap ml-0 mr-0 mt-0 bg-white dark:bg-gray-900',
2497
- header: 'bg-gray-100 dark:bg-gray-800 text-gray-800 dark:text-white/80 border-gray-200 dark:border-blue-900/40 border-t border-b p-4 font-bold'
2498
- },
2499
- dataviewlayoutoptions: {
2500
- listbutton: function listbutton(_ref126) {
2501
- var props = _ref126.props;
2502
- return {
2503
- className: classNames('items-center cursor-pointer inline-flex overflow-hidden relative select-none text-center align-bottom justify-center border', 'transition duration-200', 'w-12 pt-3 pb-3 rounded-lg rounded-r-none', props.modelValue === 'list' ? 'bg-blue-500 border-blue-500 text-white dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' : 'bg-white border-gray-300 text-blue-gray-700 dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80' // highlighted state
2504
- )
2505
- };
2506
- },
2507
-
2508
- gridbutton: function gridbutton(_ref127) {
2509
- var props = _ref127.props;
2510
- return {
2511
- className: classNames('items-center cursor-pointer inline-flex overflow-hidden relative select-none text-center align-bottom justify-center border', 'transition duration-200', 'w-12 pt-3 pb-3 rounded-lg rounded-l-none', props.modelValue === 'grid' ? 'bg-blue-500 border-blue-500 text-white dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' : 'bg-white border-gray-300 text-blue-gray-700 dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80' // highlighted state
2512
- )
2513
- };
2514
- }
2515
- },
2516
-
2517
- daatascroller: {
2518
- content: {
2519
- className: classNames('bg-white blue-gray-700 border-0 p-0', 'dark:bg-gray-900 dark:text-white/80' // Dark Mode
2520
- )
2521
- },
2522
-
2523
- grid: 'flex flex-wrap ml-0 mr-0 mt-0 bg-white dark:bg-gray-900',
2524
- header: 'bg-gray-100 dark:bg-gray-800 text-gray-800 dark:text-white/80 border-gray-200 dark:border-blue-900/40 border-t border-b p-4 font-bold'
2525
- },
2526
- organizationchart: {
2527
- table: 'mx-auto my-0 border-spacing-0 border-separate',
2528
- cell: 'text-center align-top py-0 px-3',
2529
- node: {
2530
- className: classNames('relative inline-block bg-white border border-gray-300 text-gray-600 p-5', 'dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80' // Dark Mode
2531
- )
2532
- },
2533
-
2534
- linecell: 'text-center align-top py-0 px-3',
2535
- linedown: {
2536
- className: classNames('mx-auto my-0 w-px h-[20px] bg-gray-300', 'dark:bg-blue-900/40' //Dark Mode
2537
- )
2538
- },
2539
-
2540
- lineleft: function lineleft(_ref128) {
2541
- var context = _ref128.context;
2542
- return {
2543
- className: classNames('text-center align-top py-0 px-3 rounded-none border-r border-gray-300', 'dark:border-blue-900/40',
2544
- //Dark Mode
2545
- {
2546
- 'border-t': context.lineTop
2547
- })
2548
- };
2549
- },
2550
- lineright: function lineright(_ref129) {
2551
- var context = _ref129.context;
2552
- return {
2553
- className: classNames('text-center align-top py-0 px-3 rounded-none', 'dark:border-blue-900/40',
2554
- //Dark Mode
2555
- {
2556
- 'border-t border-gray-300': context.lineTop
2557
- })
2558
- };
2559
- },
2560
- nodecell: 'text-center align-top py-0 px-3',
2561
- nodetoggler: {
2562
- className: classNames('absolute bottom-[-0.75rem] left-2/4 -ml-3 w-6 h-6 bg-inherit text-inherit rounded-full z-2 cursor-pointer no-underline select-none', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]' // Focus styles
2563
- )
2564
- },
2565
-
2566
- nodetogglericon: 'relative inline-block w-4 h-4'
2567
- },
2568
- orderlist: {
2569
- root: 'flex',
2570
- controls: 'flex flex-col justify-center p-5',
2571
- moveupbutton: {
2572
- root: function root(_ref130) {
2573
- var context = _ref130.context;
2574
- return {
2575
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2576
- // button component
2577
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2578
- // icon only
2579
- 'mb-2',
2580
- // orderlist button
2581
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2582
- //Dark Mode
2583
- {
2584
- 'cursor-default pointer-events-none opacity-60': context.disabled
2585
- })
2586
- };
2587
- },
2588
- label: 'flex-initial w-0'
2589
- },
2590
- movetopbutton: {
2591
- root: function root(_ref131) {
2592
- var context = _ref131.context;
2593
- return {
2594
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2595
- // button component
2596
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2597
- // icon only
2598
- 'mb-2',
2599
- // orderlist button
2600
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2601
- //Dark Mode
2602
- {
2603
- 'cursor-default pointer-events-none opacity-60': context.disabled
2604
- })
2605
- };
2606
- },
2607
- label: 'flex-initial w-0'
2608
- },
2609
- movedownbutton: {
2610
- root: function root(_ref132) {
2611
- var context = _ref132.context;
2612
- return {
2613
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2614
- // button component
2615
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2616
- // icon only
2617
- 'mb-2',
2618
- // orderlist button
2619
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2620
- //Dark Mode
2621
- {
2622
- 'cursor-default pointer-events-none opacity-60': context.disabled
2623
- })
2624
- };
2625
- },
2626
- label: 'flex-initial w-0'
2627
- },
2628
- movebottombutton: {
2629
- root: function root(_ref133) {
2630
- var context = _ref133.context;
2631
- return {
2632
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2633
- // button component
2634
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2635
- // icon only
2636
- 'mb-2',
2637
- // orderlist button
2638
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2639
- //Dark Mode
2640
- {
2641
- 'cursor-default pointer-events-none opacity-60': context.disabled
2642
- })
2643
- };
2644
- },
2645
- label: 'flex-initial w-0'
2646
- },
2647
- container: 'flex-auto',
2648
- header: {
2649
- className: classNames('bg-slate-50 text-slate-700 border border-gray-300 p-5 font-bold border-b-0 rounded-t-md', 'dark:bg-gray-900 dark:text-white/80 dark:border-blue-900/40' //Dark Mode
2650
- )
2651
- },
2652
-
2653
- list: {
2654
- className: classNames('list-none m-0 p-0 overflow-auto min-h-[12rem] max-h-[24rem]', 'border border-gray-300 bg-white text-gray-600 py-3 px-0 rounded-b-md outline-none', 'dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80' //Dark Mode
2655
- )
2656
- },
2657
-
2658
- item: function item(_ref134) {
2659
- var context = _ref134.context;
2660
- return {
2661
- className: classNames('relative cursor-pointer overflow-hidden', 'py-3 px-5 m-0 border-none text-gray-600 dark:text-white/80', 'transition duration-200', {
2662
- 'text-blue-700 bg-blue-500/20 dark:bg-blue-300/20': context.selected
2663
- })
2664
- };
2665
- }
2666
- },
2667
- picklist: {
2668
- root: 'flex',
2669
- sourcecontrols: 'flex flex-col justify-center p-5',
2670
- sourcemoveupbutton: {
2671
- root: {
2672
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2673
- // button component
2674
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2675
- // icon only
2676
- 'mb-2',
2677
- // orderlist button
2678
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
2679
- )
2680
- },
2681
-
2682
- label: 'flex-initial w-0'
2683
- },
2684
- sourcemovetopbutton: {
2685
- root: {
2686
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2687
- // button component
2688
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2689
- // icon only
2690
- 'mb-2',
2691
- // orderlist button
2692
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
2693
- )
2694
- },
2695
-
2696
- label: 'flex-initial w-0'
2697
- },
2698
- sourcemovedownbutton: {
2699
- root: {
2700
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2701
- // button component
2702
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2703
- // icon only
2704
- 'mb-2',
2705
- // orderlist button
2706
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
2707
- )
2708
- },
2709
-
2710
- label: 'flex-initial w-0'
2711
- },
2712
- sourcemovebottombutton: {
2713
- root: {
2714
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2715
- // button component
2716
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2717
- // icon only
2718
- 'mb-2',
2719
- // orderlist button
2720
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
2721
- )
2722
- },
2723
-
2724
- label: 'flex-initial w-0'
2725
- },
2726
- sourcewrapper: 'grow shrink basis-2/4',
2727
- sourceheader: {
2728
- className: classNames('bg-slate-50 text-slate-700 border border-gray-300 p-5 font-bold border-b-0 rounded-t-md', 'dark:bg-gray-900 dark:text-white/80 dark:border-blue-900/40' //Dark Mode
2729
- )
2730
- },
2731
-
2732
- sourcelist: {
2733
- className: classNames('list-none m-0 p-0 overflow-auto min-h-[12rem] max-h-[24rem]', 'border border-gray-300 bg-white text-gray-600 py-3 px-0 rounded-b-md outline-none', 'dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80' //Dark Mode
2734
- )
2735
- },
2736
-
2737
- item: function item(_ref135) {
2738
- var context = _ref135.context;
2739
- return {
2740
- className: classNames('relative cursor-pointer overflow-hidden', 'py-3 px-5 m-0 border-none text-gray-600 dark:text-white/80', 'transition duration-200', {
2741
- 'text-blue-700 bg-blue-500/20 dark:bg-blue-300/20': context.selected,
2742
- 'text-gray-600 bg-gray-300 dark:bg-blue-900/40': !context.selected
2743
- })
2744
- };
2745
- },
2746
- buttons: 'flex flex-col justify-center p-5',
2747
- movetotargetbutton: {
2748
- root: {
2749
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2750
- // button component
2751
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2752
- // icon only
2753
- 'mb-2',
2754
- // orderlist button
2755
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
2756
- )
2757
- },
2758
-
2759
- label: 'flex-initial w-0'
2760
- },
2761
- movealltotargetbutton: {
2762
- root: {
2763
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2764
- // button component
2765
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2766
- // icon only
2767
- 'mb-2',
2768
- // orderlist button
2769
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
2770
- )
2771
- },
2772
-
2773
- label: 'flex-initial w-0'
2774
- },
2775
- movetosourcebutton: {
2776
- root: {
2777
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2778
- // button component
2779
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2780
- // icon only
2781
- 'mb-2',
2782
- // orderlist button
2783
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
2784
- )
2785
- },
2786
-
2787
- label: 'flex-initial w-0'
2788
- },
2789
- movealltosourcebutton: {
2790
- root: {
2791
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2792
- // button component
2793
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2794
- // icon only
2795
- 'mb-2',
2796
- // orderlist button
2797
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
2798
- )
2799
- },
2800
-
2801
- label: 'flex-initial w-0'
2802
- },
2803
- targetcontrols: 'flex flex-col justify-center p-5',
2804
- targetmoveupbutton: {
2805
- root: {
2806
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2807
- // button component
2808
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2809
- // icon only
2810
- 'mb-2',
2811
- // orderlist button
2812
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
2813
- )
2814
- },
2815
-
2816
- label: 'flex-initial w-0'
2817
- },
2818
- targetmovetopbutton: {
2819
- root: {
2820
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2821
- // button component
2822
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2823
- // icon only
2824
- 'mb-2',
2825
- // orderlist button
2826
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
2827
- )
2828
- },
2829
-
2830
- label: 'flex-initial w-0'
2831
- },
2832
- targetmovedownbutton: {
2833
- root: {
2834
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2835
- // button component
2836
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2837
- // icon only
2838
- 'mb-2',
2839
- // orderlist button
2840
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
2841
- )
2842
- },
2843
-
2844
- label: 'flex-initial w-0'
2845
- },
2846
- targetmovebottombutton: {
2847
- root: {
2848
- className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2849
- // button component
2850
- 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2851
- // icon only
2852
- 'mb-2',
2853
- // orderlist button
2854
- 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
2855
- )
2856
- },
2857
-
2858
- label: 'flex-initial w-0'
2859
- },
2860
- targetwrapper: 'grow shrink basis-2/4',
2861
- targetheader: {
2862
- className: classNames('bg-slate-50 text-slate-700 border border-gray-300 p-5 font-bold border-b-0 rounded-t-md', 'dark:bg-gray-900 dark:text-white/80 dark:border-blue-900/40' //Dark Mode
2863
- )
2864
- },
2865
-
2866
- targetlist: {
2867
- className: classNames('list-none m-0 p-0 overflow-auto min-h-[12rem] max-h-[24rem]', 'border border-gray-300 bg-white text-gray-600 py-3 px-0 rounded-b-md outline-none', 'dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80' //Dark Mode
2868
- )
2869
- },
2870
-
2871
- transition: {
2872
- enterFromClass: '!transition-none',
2873
- enterActiveClass: '!transition-none',
2874
- leaveActiveClass: '!transition-none',
2875
- leaveToClass: '!transition-none'
2876
- }
2877
- },
2878
- paginator: {
2879
- root: {
2880
- className: classNames('flex items-center justify-center flex-wrap', 'bg-white text-gray-500 border-0 px-4 py-2 rounded-md', 'dark:bg-gray-900 dark:text-white/60 dark:border-blue-900/40' // Dark Mode
2881
- )
2882
- },
2883
-
2884
- firstpagebutton: function firstpagebutton(_ref136) {
2885
- var context = _ref136.context;
2886
- return {
2887
- className: classNames('relative inline-flex items-center justify-center user-none overflow-hidden leading-none', 'border-0 text-gray-500 min-w-[3rem] h-12 m-[0.143rem] rounded-md', 'transition duration-200', 'dark:text-white',
2888
- //Dark Mode
2889
- {
2890
- 'cursor-default pointer-events-none opacity-60': context.disabled,
2891
- 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]': !context.disabled // Focus
2892
- })
2893
- };
2894
- },
2895
-
2896
- previouspagebutton: function previouspagebutton(_ref137) {
2897
- var context = _ref137.context;
2898
- return {
2899
- className: classNames('relative inline-flex items-center justify-center user-none overflow-hidden leading-none', 'border-0 text-gray-500 min-w-[3rem] h-12 m-[0.143rem] rounded-md', 'transition duration-200', 'dark:text-white',
2900
- //Dark Mode
2901
- {
2902
- 'cursor-default pointer-events-none opacity-60': context.disabled,
2903
- 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]': !context.disabled // Focus
2904
- })
2905
- };
2906
- },
2907
-
2908
- nextpagebutton: function nextpagebutton(_ref138) {
2909
- var context = _ref138.context;
2910
- return {
2911
- className: classNames('relative inline-flex items-center justify-center user-none overflow-hidden leading-none', 'border-0 text-gray-500 min-w-[3rem] h-12 m-[0.143rem] rounded-md', 'transition duration-200', 'dark:text-white',
2912
- //Dark Mode
2913
- {
2914
- 'cursor-default pointer-events-none opacity-60': context.disabled,
2915
- 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]': !context.disabled // Focus
2916
- })
2917
- };
2918
- },
2919
-
2920
- lastpagebutton: function lastpagebutton(_ref139) {
2921
- var context = _ref139.context;
2922
- return {
2923
- className: classNames('relative inline-flex items-center justify-center user-none overflow-hidden leading-none', 'border-0 text-gray-500 min-w-[3rem] h-12 m-[0.143rem] rounded-md', 'transition duration-200', 'dark:text-white',
2924
- //Dark Mode
2925
- {
2926
- 'cursor-default pointer-events-none opacity-60': context.disabled,
2927
- 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]': !context.disabled // Focus
2928
- })
2929
- };
2930
- },
2931
-
2932
- pagebutton: function pagebutton(_ref140) {
2933
- var context = _ref140.context;
2934
- return {
2935
- className: classNames('relative inline-flex items-center justify-center user-none overflow-hidden leading-none', 'border-0 text-gray-500 min-w-[3rem] h-12 m-[0.143rem] rounded-md', 'transition duration-200', 'dark:border-blue-300 dark:text-white',
2936
- // Dark Mode
2937
- 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
2938
- // Focus
2939
- {
2940
- 'bg-blue-50 border-blue-50 text-blue-700 dark:bg-blue-300': context.active
2941
- })
2942
- };
2943
- },
2944
- rowperpagedropdown: {
2945
- root: function root(_ref141) {
2946
- var props = _ref141.props,
2947
- state = _ref141.state;
2948
- return {
2949
- className: classNames('inline-flex relative cursor-pointer user-none', 'bg-white border rounded-md', 'transition duration-200', 'h-12 mx-2', 'dark:bg-gray-950 dark:border-blue-900/40',
2950
- //DarkMode
2951
- {
2952
- 'outline-none outline-offset-0 shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] border-blue-500': state.focused && !props.disabled,
2953
- //Focus
2954
- 'border-gray-300': !state.focused,
2955
- 'hover:border-blue-500': !props.disabled //Hover
2956
- })
2957
- };
2958
- },
2959
-
2960
- input: {
2961
- className: classNames('font-sans text-base text-gray-600 p-3 m-0 rounded-md apperance-none', 'block whitespace-nowrap overflow-hidden flex-auto w-[1%] cursor-pointer text-ellipsis border-0 pr-0', 'focus:outline-none focus:outline-offset-0', 'dark:text-white' //Dark Mode
2962
- )
2963
- },
2964
-
2965
- trigger: {
2966
- className: classNames('flex items-center justify-center shrink-0', 'text-gray-500 dark:text-white w-12 rounded-r-md')
2967
- },
2968
- panel: {
2969
- className: classNames('bg-white text-gray-600 border-0 rounded-md shadow-[0_2px_12px_rgba(0,0,0,0.1)]', 'dark:bg-gray-900 dark:text-white/80 dark:border-blue-900/40' //Dark Mode
2970
- )
2971
- },
2972
-
2973
- wrapper: 'overflow-auto',
2974
- list: 'm-0 p-0 py-3 list-none',
2975
- item: function item(_ref142) {
2976
- var context = _ref142.context;
2977
- return {
2978
- className: classNames('relative font-normal cursor-pointer space-nowrap overflow-hidden', 'm-0 py-3 px-5 border-none text-gray-600 rounded-none', 'transition duration-200', 'dark:text-white/80',
2979
- // Dark Mode
2980
- {
2981
- 'text-blue-700 bg-blue-50 dark:text-white/80 dark:bg-blue-300': !context.focused && context.selected,
2982
- 'bg-blue-300/40': context.focused && context.selected,
2983
- 'text-gray-600 bg-gray-300 dark:text-white/80 dark:bg-blue-900/40': context.focused && !context.selected
2984
- })
2985
- };
2986
- }
2987
- },
2988
- jumptopageinput: {
2989
- root: 'inline-flex mx-2',
2990
- input: {
2991
- className: classNames('font-sans text-base text-gray-600 p-3 m-0 rounded-md apperance-none', 'block whitespace-nowrap overflow-hidden flex-auto w-[1%] cursor-pointer text-ellipsis border border-gray-300 pr-0', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] focus:border-blue-300', 'dark:text-white dark:bg-gray-950 dark:border-blue-900/40',
2992
- //Dark Mode
2993
- 'm-0 flex-auto max-w-[3rem]')
2994
- }
2995
- },
2996
- jumptopagedropdown: {
2997
- root: function root(_ref143) {
2998
- var props = _ref143.props,
2999
- state = _ref143.state;
3000
- return {
3001
- className: classNames('inline-flex relative cursor-pointer user-none', 'bg-white border rounded-md', 'transition duration-200', 'h-12 mx-2', 'dark:bg-gray-950 dark:border-blue-900/40',
3002
- //DarkMode
3003
- {
3004
- 'outline-none outline-offset-0 shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] border-blue-500': state.focused && !props.disabled,
3005
- //Focus
3006
- 'border-gray-300': !state.focused,
3007
- 'hover:border-blue-500': !props.disabled //Hover
3008
- })
3009
- };
3010
- },
3011
-
3012
- input: {
3013
- className: classNames('font-sans text-base text-gray-600 p-3 m-0 rounded-md apperance-none', 'block whitespace-nowrap overflow-hidden flex-auto w-[1%] cursor-pointer text-ellipsis border-0 pr-0', 'focus:outline-none focus:outline-offset-0', 'dark:text-white' //Dark Mode
3014
- )
3015
- },
3016
-
3017
- trigger: {
3018
- className: classNames('flex items-center justify-center shrink-0', 'text-gray-500 dark:text-white w-12 rounded-r-md')
3019
- },
3020
- panel: {
3021
- className: classNames('bg-white text-gray-600 border-0 rounded-md shadow-[0_2px_12px_rgba(0,0,0,0.1)]', 'dark:bg-gray-900 dark:text-white/80 dark:border-blue-900/40' //Dark Mode
3022
- )
3023
- },
3024
-
3025
- wrapper: 'overflow-auto',
3026
- list: 'm-0 p-0 py-3 list-none',
3027
- item: function item(_ref144) {
3028
- var context = _ref144.context;
3029
- return {
3030
- className: classNames('relative font-normal cursor-pointer space-nowrap overflow-hidden', 'm-0 py-3 px-5 border-none text-gray-600 rounded-none', 'transition duration-200', 'dark:text-white/80',
3031
- // Dark Mode
3032
- {
3033
- 'text-blue-700 bg-blue-50 dark:text-white/80 dark:bg-blue-300': !context.focused && context.selected,
3034
- 'bg-blue-300/40': context.focused && context.selected,
3035
- 'text-gray-600 bg-gray-300 dark:text-white/80 dark:bg-blue-900/40': context.focused && !context.selected
3036
- })
3037
- };
3038
- }
3039
- }
3040
- },
3041
- treetable: {
3042
- root: function root(_ref145) {
3043
- var props = _ref145.props;
3044
- return {
3045
- className: classNames('relative', {
3046
- 'flex flex-col h-full': props.scrollHeight
3047
- })
3048
- };
3049
- },
3050
- loadingoverlay: {
3051
- className: classNames('fixed w-full h-full t-0 l-0 bg-gray-100/40', 'transition duration-200', 'absolute flex items-center justify-center z-2', 'dark:bg-gray-950/40' // Dark Mode
3052
- )
3053
- },
3054
-
3055
- loadingicon: 'w-8 h-8',
3056
- header: {
3057
- className: classNames('bg-slate-50 text-slate-700 border border-x-0 border-t-0 border-gray-300 p-4 font-bold', 'dark:bg-gray-900 dark:text-white/70 dark:border-blue-900/40' // Dark Mode
3058
- )
3059
- },
3060
-
3061
- scrollablewrapper: function scrollablewrapper(_ref146) {
3062
- var props = _ref146.props;
3063
- return {
3064
- className: classNames({
3065
- 'relative overflow-auto': props.scrollable,
3066
- 'overflow-x-auto': props.resizableColumns
3067
- })
3068
- };
3069
- },
3070
- wrapper: function wrapper(_ref147) {
3071
- var props = _ref147.props;
3072
- return {
3073
- className: classNames({
3074
- 'relative overflow-auto': props.scrollable,
3075
- 'overflow-x-auto': props.resizableColumns
3076
- })
3077
- };
3078
- },
3079
- footer: {
3080
- className: classNames('bg-slate-50 text-slate-700 border border-x-0 border-t-0 border-gray-300 p-4 font-bold', 'dark:bg-gray-900 dark:text-white/70 dark:border-blue-900/40' // Dark Mode
3081
- )
3082
- },
3083
-
3084
- table: 'border-collapse table-fixed w-full',
3085
- thead: function thead(_ref148) {
3086
- var props = _ref148.props;
3087
- return {
3088
- className: classNames({
3089
- 'block sticky top-0 z-[1]': props.scrollable
3090
- })
3091
- };
3092
- },
3093
- tbody: function tbody(_ref149) {
3094
- var props = _ref149.props;
3095
- return {
3096
- className: classNames({
3097
- block: props.scrollable
3098
- })
3099
- };
3100
- },
3101
- tfoot: function tfoot(_ref150) {
3102
- var props = _ref150.props;
3103
- return {
3104
- className: classNames({
3105
- block: props.scrollable
3106
- })
3107
- };
3108
- },
3109
- headerrow: function headerrow(_ref151) {
3110
- var props = _ref151.props;
3111
- return {
3112
- className: classNames({
3113
- 'flex flex-nowrap w-full': props.scrollable
3114
- })
3115
- };
3116
- },
3117
- row: function row(_ref152) {
3118
- var context = _ref152.context;
3119
- return {
3120
- className: classNames('transition duration-200', 'focus:outline focus:outline-[0.15rem] focus:outline-blue-200 focus:outline-offset-[-0.15rem]',
3121
- // Focus
3122
- context.selected ? 'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80' : 'bg-white text-gray-600 dark:bg-gray-900 dark:text-white/80', {
3123
- 'hover:bg-gray-300/20 hover:text-gray-600 dark:hover:bg-gray-950': context.selectable && !context.selected,
3124
- // Hover
3125
- 'flex flex-nowrap w-full': context.scrollable
3126
- })
3127
- };
3128
- },
3129
- column: {
3130
- headercell: function headercell(_ref153) {
3131
- var context = _ref153.context;
3132
- return {
3133
- className: classNames('text-left border-gray-300 border font-bold', 'transition duration-200 p-4', 'dark:border-blue-900/40 dark:text-white/80 dark:bg-gray-900',
3134
- //Dark Mode
3135
- {
3136
- 'bg-blue-50 text-blue-700': context.sorted,
3137
- 'bg-slate-50': !context.sorted,
3138
- 'flex flex-1 items-center': context.scrollable,
3139
- 'flex-initial shrink-0': context.scrollable && !context.frozen,
3140
- 'sticky z-[1]': context.scrollable && context.frozen,
3141
- 'border-x-0 border-l-0 border-t-0': !context.showGridlines,
3142
- 'overflow-hidden relative bg-clip-padding': !context.frozen
3143
- })
3144
- };
3145
- },
3146
- bodycell: function bodycell(_ref154) {
3147
- var context = _ref154.context;
3148
- return {
3149
- className: classNames('text-left border-gray-300 border', 'transition duration-200 p-4', 'dark:border-blue-900/40',
3150
- //Dark Mode
3151
- {
3152
- 'cursor-pointer': context.selectable,
3153
- 'flex flex-1 items-center': context.scrollable,
3154
- 'flex-initial shrink-0': context.scrollable && !context.frozen,
3155
- sticky: context.scrollable && context.frozen,
3156
- 'border-x-0 border-l-0': !context.showGridlines
3157
- })
3158
- };
3159
- },
3160
- rowtoggler: function rowtoggler(_ref155) {
3161
- var context = _ref155.context;
3162
- return {
3163
- className: classNames('relative inline-flex items-center justify-center align-center cursor-pointer select-none overflow-hidden bg-transparent', 'w-8 h-8 border-0 rounded mr-0.5', {
3164
- 'text-blue-700': context.selected,
3165
- 'text-gray-500': !context.selected
3166
- }, 'dark:text-white/70' //Dark Mode
3167
- )
3168
- };
3169
- },
3170
-
3171
- sorticon: function sorticon(_ref156) {
3172
- var context = _ref156.context;
3173
- return {
3174
- className: classNames('ml-2', {
3175
- 'text-blue-700 dark:text-white/80': context.sorted,
3176
- 'text-slate-700 dark:text-white/70': !context.sorted
3177
- })
3178
- };
3179
- },
3180
- sortbadge: {
3181
- className: classNames('h-[1.143rem] min-w-[1.143rem] leading-[1.143rem] text-blue-700 bg-blue-50 ml-2 rounded-[50%]', 'dark:text-white/80 dark:bg-blue-500/40' // Dark Mode
3182
- )
3183
- },
3184
-
3185
- columnresizer: 'block absolute top-0 right-0 m-0 w-2 h-full p-0 cursor-col-resize border border-transparent',
3186
- checkboxwrapper: {
3187
- className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6 mr-2')
3188
- },
3189
- checkbox: function checkbox(_ref157) {
3190
- var context = _ref157.context;
3191
- return {
3192
- className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 rounded-lg transition-colors duration-200', {
3193
- 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400': context.checked,
3194
- 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900': !context.checked
3195
- }, {
3196
- 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !context.disabled
3197
- })
3198
- };
3199
- },
3200
- checkboxicon: function checkboxicon(_ref158) {
3201
- var context = _ref158.context;
3202
- return {
3203
- className: classNames('w-4 h-4 transition-all duration-200 text-base dark:text-gray-900', {
3204
- 'text-white': context.checked
3205
- })
3206
- };
3207
- }
3208
- },
3209
- resizehelper: 'absolute hidden w-px z-10 bg-blue-500 dark:bg-blue-300'
3210
- },
3211
- datatable: {
3212
- root: function root(_ref159) {
3213
- var props = _ref159.props;
3214
- return {
3215
- className: classNames('relative', {
3216
- 'flex flex-col h-full': props.scrollable && props.scrollHeight === 'flex'
3217
- })
3218
- };
3219
- },
3220
- loadingoverlay: {
3221
- className: classNames('fixed w-full h-full t-0 l-0 bg-gray-100/40', 'transition duration-200', 'absolute flex items-center justify-center z-2', 'dark:bg-gray-950/40' // Dark Mode
3222
- )
3223
- },
3224
-
3225
- loadingicon: 'w-8 h-8',
3226
- wrapper: function wrapper(_ref160) {
3227
- var props = _ref160.props;
3228
- return {
3229
- className: classNames({
3230
- relative: props.scrollable,
3231
- 'flex flex-col grow h-full': props.scrollable && props.scrollHeight === 'flex'
3232
- })
3233
- };
3234
- },
3235
- header: function header(_ref161) {
3236
- var props = _ref161.props;
3237
- return {
3238
- className: classNames('bg-slate-50 text-slate-700 border-gray-300 font-bold p-4', 'dark:border-blue-900/40 dark:text-white/80 dark:bg-gray-900',
3239
- // Dark Mode
3240
- props.showGridlines ? 'border-x border-t border-b-0' : 'border-y border-x-0')
3241
- };
3242
- },
3243
- table: 'w-full border-spacing-0',
3244
- thead: function thead(_ref162) {
3245
- var context = _ref162.context;
3246
- return {
3247
- className: classNames({
3248
- 'bg-slate-50 top-0 z-[1]': context.scrollable
3249
- })
3250
- };
3251
- },
3252
- tbody: function tbody(_ref163) {
3253
- var props = _ref163.props,
3254
- context = _ref163.context;
3255
- return {
3256
- className: classNames({
3257
- 'sticky z-[1]': props.frozenRow && context.scrollable
3258
- })
3259
- };
3260
- },
3261
- tfoot: function tfoot(_ref164) {
3262
- var context = _ref164.context;
3263
- return {
3264
- className: classNames({
3265
- 'bg-slate-50 bottom-0 z-[1]': context.scrollable
3266
- })
3267
- };
3268
- },
3269
- footer: {
3270
- className: classNames('bg-slate-50 text-slate-700 border-t-0 border-b border-x-0 border-gray-300 font-bold p-4', 'dark:border-blue-900/40 dark:text-white/80 dark:bg-gray-900' // Dark Mode
3271
- )
3272
- },
3273
-
3274
- column: {
3275
- headercell: function headercell(_ref165) {
3276
- var context = _ref165.context,
3277
- props = _ref165.props;
3278
- return {
3279
- className: classNames('text-left border-0 border-b border-solid border-gray-300 dark:border-blue-900/40 font-bold', 'transition duration-200', (context === null || context === void 0 ? void 0 : context.size) === 'small' ? 'p-2' : (context === null || context === void 0 ? void 0 : context.size) === 'large' ? 'p-5' : 'p-4',
3280
- // Size
3281
- context.sorted ? 'bg-blue-50 text-blue-700' : 'bg-slate-50 text-slate-700',
3282
- // Sort
3283
- context.sorted ? 'dark:text-white/80 dark:bg-blue-300' : 'dark:text-white/80 dark:bg-gray-900',
3284
- // Dark Mode
3285
- {
3286
- 'sticky z-[1]': props.frozen || props.frozen === '',
3287
- // Frozen Columns
3288
- 'border-x border-y': context === null || context === void 0 ? void 0 : context.showGridlines,
3289
- 'overflow-hidden space-nowrap border-y relative bg-clip-padding': context.resizable // Resizable
3290
- })
3291
- };
3292
- },
3293
-
3294
- headercontent: 'flex items-center',
3295
- bodycell: function bodycell(_ref166) {
3296
- var props = _ref166.props,
3297
- context = _ref166.context;
3298
- return {
3299
- className: classNames('text-left border-0 border-b border-solid border-gray-300', (context === null || context === void 0 ? void 0 : context.size) === 'small' ? 'p-2' : (context === null || context === void 0 ? void 0 : context.size) === 'large' ? 'p-5' : 'p-4',
3300
- // Size
3301
- 'dark:text-white/80 dark:border-blue-900/40',
3302
- // Dark Mode
3303
- {
3304
- 'sticky bg-inherit': (props === null || props === void 0 ? void 0 : props.frozen) || (props === null || props === void 0 ? void 0 : props.frozen) === '',
3305
- // Frozen Columns
3306
- 'border-x border-y': context.showGridlines
3307
- })
3308
- };
3309
- },
3310
- footercell: function footercell(_ref167) {
3311
- var context = _ref167.context;
3312
- return {
3313
- className: classNames('text-left border-0 border-b border-solid border-gray-300 font-bold', 'bg-slate-50 text-slate-700', 'transition duration-200', (context === null || context === void 0 ? void 0 : context.size) === 'small' ? 'p-2' : (context === null || context === void 0 ? void 0 : context.size) === 'large' ? 'p-5' : 'p-4',
3314
- // Size
3315
- 'dark:text-white/80 dark:bg-gray-900 dark:border-blue-900/40',
3316
- // Dark Mode
3317
- {
3318
- 'border-x border-y': context.showGridlines
3319
- })
3320
- };
3321
- },
3322
- sorticon: function sorticon(_ref168) {
3323
- var context = _ref168.context;
3324
- return {
3325
- className: classNames('ml-2', context.sorted ? 'text-blue-700 dark:text-white/80' : 'text-slate-700 dark:text-white/70')
3326
- };
3327
- },
3328
- sortbadge: {
3329
- className: classNames('flex items-center justify-center align-middle', 'rounded-[50%] w-[1.143rem] leading-[1.143rem] ml-2', 'text-blue-700 bg-blue-50', 'dark:text-white/80 dark:bg-blue-400' // Dark Mode
3330
- )
3331
- },
3332
-
3333
- columnfilter: 'inline-flex items-center ml-auto',
3334
- filteroverlay: {
3335
- className: classNames('bg-white text-gray-600 border-0 rounded-md min-w-[12.5rem]', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80' //Dark Mode
3336
- )
3337
- },
3338
-
3339
- filtermatchmodedropdown: {
3340
- root: 'min-[0px]:flex mb-2'
3341
- },
3342
- filterrowitems: 'm-0 p-0 py-3 list-none ',
3343
- filterrowitem: function filterrowitem(_ref169) {
3344
- var context = _ref169.context;
3345
- return {
3346
- className: classNames('m-0 py-3 px-5 bg-transparent', 'transition duration-200', context !== null && context !== void 0 && context.highlighted ? 'text-blue-700 bg-blue-100 dark:text-white/80 dark:bg-blue-300' : 'text-gray-600 bg-transparent dark:text-white/80 dark:bg-transparent')
3347
- };
3348
- },
3349
- filteroperator: {
3350
- className: classNames('px-5 py-3 border-b border-solid border-gray-300 text-slate-700 bg-slate-50 rounded-t-md', 'dark:border-blue-900/40 dark:text-white/80 dark:bg-gray-900' // Dark Mode
3351
- )
3352
- },
3353
-
3354
- filteroperatordropdown: {
3355
- root: 'min-[0px]:flex'
3356
- },
3357
- filterconstraint: 'p-5 border-b border-solid border-gray-300 dark:border-blue-900/40',
3358
- filteraddrule: 'py-3 px-5',
3359
- filteraddrulebutton: {
3360
- root: 'justify-center w-full min-[0px]:text-sm',
3361
- label: 'flex-auto grow-0',
3362
- icon: 'mr-2'
3363
- },
3364
- filterremovebutton: {
3365
- root: 'ml-2',
3366
- label: 'grow-0'
3367
- },
3368
- filterbuttonbar: 'flex items-center justify-between p-5',
3369
- filterclearbutton: {
3370
- root: 'w-auto min-[0px]:text-sm border-blue-500 text-blue-500 px-4 py-3'
3371
- },
3372
- filterapplybutton: {
3373
- root: 'w-auto min-[0px]:text-sm px-4 py-3'
3374
- },
3375
- filtermenubutton: function filtermenubutton(_ref170) {
3376
- var context = _ref170.context;
3377
- return {
3378
- className: classNames('inline-flex justify-center items-center cursor-pointer no-underline overflow-hidden relative ml-2', 'w-8 h-8 rounded-[50%]', 'transition duration-200', 'hover:text-slate-700 hover:bg-gray-300/20',
3379
- // Hover
3380
- 'focus:outline-0 focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
3381
- // Focus
3382
- 'dark:text-white/70 dark:hover:text-white/80 dark:bg-gray-900',
3383
- // Dark Mode
3384
- {
3385
- 'bg-blue-50 text-blue-700': context.active
3386
- })
3387
- };
3388
- },
3389
- headerfilterclearbutton: function headerfilterclearbutton(_ref171) {
3390
- var context = _ref171.context;
3391
- return {
3392
- className: classNames('inline-flex justify-center items-center cursor-pointer no-underline overflow-hidden relative', 'text-left bg-transparent m-0 p-0 border-none select-none ml-2', {
3393
- invisible: !context.hidden
3394
- })
3395
- };
3396
- },
3397
- columnresizer: 'block absolute top-0 right-0 m-0 w-2 h-full p-0 cursor-col-resize border border-transparent',
3398
- rowreordericon: 'cursor-move',
3399
- roweditorinitbutton: {
3400
- className: classNames('inline-flex items-center justify-center overflow-hidden relative', 'text-left cursor-pointer select-none', 'w-8 h-8 border-0 rounded-[50%]', 'transition duration-200', 'text-slate-700 border-transparent', 'focus:outline-0 focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
3401
- //Focus
3402
- 'hover:text-slate-700 hover:bg-gray-300/20',
3403
- //Hover
3404
- 'dark:text-white/70' // Dark Mode
3405
- )
3406
- },
3407
-
3408
- roweditorsavebutton: {
3409
- className: classNames('inline-flex items-center justify-center overflow-hidden relative', 'text-left cursor-pointer select-none', 'w-8 h-8 border-0 rounded-[50%]', 'transition duration-200', 'text-slate-700 border-transparent', 'focus:outline-0 focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
3410
- //Focus
3411
- 'hover:text-slate-700 hover:bg-gray-300/20',
3412
- //Hover
3413
- 'dark:text-white/70' // Dark Mode
3414
- )
3415
- },
3416
-
3417
- roweditorcancelbutton: {
3418
- className: classNames('inline-flex items-center justify-center overflow-hidden relative', 'text-left cursor-pointer select-none', 'w-8 h-8 border-0 rounded-[50%]', 'transition duration-200', 'text-slate-700 border-transparent', 'focus:outline-0 focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
3419
- //Focus
3420
- 'hover:text-slate-700 hover:bg-gray-300/20',
3421
- //Hover
3422
- 'dark:text-white/70' // Dark Mode
3423
- )
3424
- },
3425
-
3426
- radiobuttonwrapper: {
3427
- className: classNames('relative inline-flex cursor-pointer select-none align-bottom', 'w-6 h-6')
3428
- },
3429
- radiobutton: function radiobutton(_ref172) {
3430
- var context = _ref172.context;
3431
- return {
3432
- className: classNames('flex justify-center items-center', 'border-2 w-6 h-6 text-gray-700 rounded-full transition duration-200 ease-in-out', context.checked ? 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400' : 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900', {
3433
- 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !context.disabled,
3434
- 'cursor-default opacity-60': context.disabled
3435
- })
3436
- };
3437
- },
3438
- radiobuttonicon: function radiobuttonicon(_ref173) {
3439
- var context = _ref173.context;
3440
- return {
3441
- className: classNames('transform rounded-full', 'block w-3 h-3 transition duration-200 bg-white dark:bg-gray-900', {
3442
- 'backface-hidden scale-10 invisible': context.checked === false,
3443
- 'transform scale-100 visible': context.checked === true
3444
- })
3445
- };
3446
- },
3447
- headercheckboxwrapper: {
3448
- className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6')
3449
- },
3450
- headercheckbox: function headercheckbox(_ref174) {
3451
- var context = _ref174.context;
3452
- return {
3453
- className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 rounded-lg transition-colors duration-200', context.checked ? 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400' : 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900', {
3454
- 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !context.disabled,
3455
- 'cursor-default opacity-60': context.disabled
3456
- })
3457
- };
3458
- },
3459
- headercheckboxicon: 'w-4 h-4 transition-all duration-200 text-white text-base dark:text-gray-900',
3460
- checkboxwrapper: {
3461
- className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6')
3462
- },
3463
- checkbox: function checkbox(_ref175) {
3464
- var context = _ref175.context;
3465
- return {
3466
- className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 rounded-lg transition-colors duration-200', context.checked ? 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400' : 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900', {
3467
- 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !context.disabled,
3468
- 'cursor-default opacity-60': context.disabled
3469
- })
3470
- };
3471
- },
3472
- checkboxicon: 'w-4 h-4 transition-all duration-200 text-white text-base dark:text-gray-900',
3473
- transition: TRANSITIONS.overlay
3474
- },
3475
- bodyrow: function bodyrow(_ref176) {
3476
- var context = _ref176.context;
3477
- return {
3478
- className: classNames(context.selected ? 'bg-blue-50 text-blue-700 dark:bg-blue-300' : 'bg-white text-gray-600 dark:bg-gray-900', context.stripedRows ? context.index % 2 === 0 ? 'bg-white text-gray-600 dark:bg-gray-900' : 'bg-blue-50/50 text-gray-600 dark:bg-gray-950' : '', 'transition duration-200', 'focus:outline focus:outline-[0.15rem] focus:outline-blue-200 focus:outline-offset-[-0.15rem]',
3479
- // Focus
3480
- 'dark:text-white/80 dark:focus:outline dark:focus:outline-[0.15rem] dark:focus:outline-blue-300 dark:focus:outline-offset-[-0.15rem]',
3481
- // Dark Mode
3482
- {
3483
- 'cursor-pointer': context.selectable,
3484
- 'hover:bg-gray-300/20 hover:text-gray-600': context.selectable && !context.selected // Hover
3485
- })
3486
- };
3487
- },
3488
-
3489
- rowexpansion: 'bg-white text-gray-600 dark:bg-gray-900 dark:text-white/80',
3490
- rowgroupheader: {
3491
- className: classNames('sticky z-[1]', 'bg-white text-gray-600', 'transition duration-200')
3492
- },
3493
- rowgroupfooter: {
3494
- className: classNames('sticky z-[1]', 'bg-white text-gray-600', 'transition duration-200')
3495
- },
3496
- rowgrouptoggler: {
3497
- className: classNames('text-left m-0 p-0 cursor-pointer select-none', 'inline-flex items-center justify-center overflow-hidden relative', 'w-8 h-8 text-gray-500 border-0 bg-transparent rounded-[50%]', 'transition duration-200', 'dark:text-white/70' // Dark Mode
3498
- )
3499
- },
3500
-
3501
- rowgrouptogglericon: 'inline-block w-4 h-4',
3502
- resizehelper: 'absolute hidden w-px z-10 bg-blue-500 dark:bg-blue-300'
3503
- },
3504
- // CHART
3505
- chart: {
3506
- root: 'relative'
3507
- }
3508
- };
3509
- module.exports = {
3510
- Tailwind: Tailwind
3511
- };
3512
-
3513
- export { TRANSITIONS };