ikoncomponents 1.5.7 → 1.5.8

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 (424) hide show
  1. package/README.md +36 -36
  2. package/bin.js +2 -0
  3. package/dist/commands/init.js +63 -0
  4. package/dist/index.js +14 -116
  5. package/dist/utlis/copyDir.js +7 -0
  6. package/package.json +17 -91
  7. package/templates/default/hooks/use-mobile.ts +19 -0
  8. package/templates/default/ikonS/accordion.tsx +66 -0
  9. package/templates/default/ikonS/alert-dialog.tsx +179 -0
  10. package/templates/default/ikonS/alert.tsx +66 -0
  11. package/templates/default/ikonS/aspect-ratio.tsx +11 -0
  12. package/templates/default/ikonS/avatar.tsx +53 -0
  13. package/templates/default/ikonS/badge.tsx +49 -0
  14. package/templates/default/ikonS/breadcrumb.tsx +109 -0
  15. package/templates/default/ikonS/button.tsx +64 -0
  16. package/templates/default/ikonS/calendar.tsx +227 -0
  17. package/templates/default/ikonS/card.tsx +92 -0
  18. package/templates/default/ikonS/checkbox.tsx +33 -0
  19. package/templates/default/ikonS/collapsible.tsx +33 -0
  20. package/templates/default/ikonS/command.tsx +184 -0
  21. package/templates/default/ikonS/date-input.tsx +259 -0
  22. package/templates/default/ikonS/date-range-picker.tsx +103 -0
  23. package/templates/default/ikonS/dialog.tsx +143 -0
  24. package/templates/default/ikonS/drawer.tsx +134 -0
  25. package/templates/default/ikonS/dropdown-menu.tsx +259 -0
  26. package/templates/default/ikonS/form.tsx +166 -0
  27. package/templates/default/ikonS/hover-card.tsx +44 -0
  28. package/templates/default/ikonS/input-otp.tsx +71 -0
  29. package/templates/default/ikonS/input.tsx +22 -0
  30. package/templates/default/ikonS/label.tsx +24 -0
  31. package/templates/default/ikonS/navigation-menu.tsx +195 -0
  32. package/templates/default/ikonS/popover.tsx +48 -0
  33. package/templates/default/ikonS/progress.tsx +40 -0
  34. package/templates/default/ikonS/radio-group.tsx +45 -0
  35. package/templates/default/ikonS/scroll-area.tsx +58 -0
  36. package/templates/default/ikonS/select.tsx +184 -0
  37. package/templates/default/ikonS/separator.tsx +28 -0
  38. package/templates/default/ikonS/sheet.tsx +139 -0
  39. package/templates/default/ikonS/sidebar.tsx +726 -0
  40. package/templates/default/ikonS/skeleton.tsx +15 -0
  41. package/templates/default/ikonS/slider.tsx +64 -0
  42. package/templates/default/ikonS/sonner.tsx +25 -0
  43. package/templates/default/ikonS/switch.tsx +31 -0
  44. package/templates/default/ikonS/table.tsx +116 -0
  45. package/templates/default/ikonS/tabs.tsx +67 -0
  46. package/templates/default/ikonS/textarea.tsx +18 -0
  47. package/templates/default/ikonS/toggle-group.tsx +83 -0
  48. package/templates/default/ikonS/toggle.tsx +47 -0
  49. package/templates/default/ikonS/tooltip.tsx +65 -0
  50. package/templates/default/ikonS/workflow.tsx +119 -0
  51. package/templates/default/ikoncomponents/action-menu/index.tsx +108 -0
  52. package/templates/default/ikoncomponents/action-menu/type.ts +18 -0
  53. package/templates/default/ikoncomponents/activity-sheet/index.tsx +63 -0
  54. package/templates/default/ikoncomponents/alert-dialog/dialog-context.tsx +65 -0
  55. package/templates/default/ikoncomponents/alert-dialog/index.tsx +80 -0
  56. package/templates/default/ikoncomponents/app-breadcrumb/BreadcrumbProvider.tsx +68 -0
  57. package/templates/default/ikoncomponents/app-breadcrumb/index.tsx +222 -0
  58. package/templates/default/ikoncomponents/big-calendar/big-calender-event/index.tsx +38 -0
  59. package/templates/default/ikoncomponents/big-calendar/big-calender-toolbar/index.tsx +81 -0
  60. package/templates/default/ikoncomponents/big-calendar/index.css +879 -0
  61. package/templates/default/ikoncomponents/big-calendar/index.tsx +59 -0
  62. package/templates/default/ikoncomponents/big-calendar/type.ts +37 -0
  63. package/templates/default/ikoncomponents/buttons/index.tsx +127 -0
  64. package/templates/default/ikoncomponents/combobox-input/index.tsx +75 -0
  65. package/templates/default/ikoncomponents/combobox-input/type.ts +14 -0
  66. package/templates/default/ikoncomponents/custom-combo-dropdown/index.tsx +242 -0
  67. package/templates/default/ikoncomponents/data-table/datatable-column-filter/index.tsx +80 -0
  68. package/templates/default/ikoncomponents/data-table/datatable-faceted-filter/index.tsx +149 -0
  69. package/templates/default/ikoncomponents/data-table/datatable-filter-menu/index.tsx +98 -0
  70. package/templates/default/ikoncomponents/data-table/datatable-pagination/index.tsx +119 -0
  71. package/templates/default/ikoncomponents/data-table/datatable-toolbar/index.tsx +45 -0
  72. package/templates/default/ikoncomponents/data-table/function.ts +7 -0
  73. package/templates/default/ikoncomponents/data-table/index.tsx +549 -0
  74. package/templates/default/ikoncomponents/data-table/type.ts +75 -0
  75. package/templates/default/ikoncomponents/e-chart/index.tsx +183 -0
  76. package/templates/default/ikoncomponents/file-input/index.tsx +27 -0
  77. package/templates/default/ikoncomponents/fileUpload/index.tsx +121 -0
  78. package/templates/default/ikoncomponents/form-fields/combobox-input/index.tsx +111 -0
  79. package/templates/default/ikoncomponents/form-fields/combobox-input-value/index.tsx +121 -0
  80. package/templates/default/ikoncomponents/form-fields/date-input/index.tsx +80 -0
  81. package/templates/default/ikoncomponents/form-fields/file-input/index.tsx +9 -0
  82. package/templates/default/ikoncomponents/form-fields/input/index.tsx +27 -0
  83. package/{dist/ikoncomponents/form-fields/multi-combobox-input/index.js → templates/default/ikoncomponents/form-fields/multi-combobox-input/index.tsx} +574 -381
  84. package/templates/default/ikoncomponents/form-fields/otp-input/index.tsx +39 -0
  85. package/templates/default/ikoncomponents/form-fields/password-input/index.tsx +52 -0
  86. package/templates/default/ikoncomponents/form-fields/phone-input/index.tsx +7 -0
  87. package/templates/default/ikoncomponents/form-fields/textarea/index.tsx +28 -0
  88. package/templates/default/ikoncomponents/form-fields/types/index.ts +46 -0
  89. package/templates/default/ikoncomponents/glowing-effect/index.tsx +171 -0
  90. package/templates/default/ikoncomponents/icon/index.tsx +22 -0
  91. package/templates/default/ikoncomponents/image-cropper-upload/components/cropperImg.css +19 -0
  92. package/{dist/ikoncomponents/image-cropper-upload/components/newCropper.js → templates/default/ikoncomponents/image-cropper-upload/components/newCropper.tsx} +117 -85
  93. package/templates/default/ikoncomponents/image-cropper-upload/components/newImageUploadForm.tsx +352 -0
  94. package/templates/default/ikoncomponents/image-cropper-upload/cropper-form/index.tsx +250 -0
  95. package/templates/default/ikoncomponents/image-cropper-upload/cropper-form-with-modal/index.tsx +32 -0
  96. package/{dist/ikoncomponents/image-cropper-upload/image-cropper/index.js → templates/default/ikoncomponents/image-cropper-upload/image-cropper/index.tsx} +119 -87
  97. package/templates/default/ikoncomponents/image-cropper-upload/index.tsx +95 -0
  98. package/templates/default/ikoncomponents/image-cropper-upload/utils/index.ts +117 -0
  99. package/templates/default/ikoncomponents/loading-spinner/index.tsx +43 -0
  100. package/templates/default/ikoncomponents/main-layout/RefreshContext.tsx +30 -0
  101. package/templates/default/ikoncomponents/main-layout/SidebarNavContext.tsx +103 -0
  102. package/templates/default/ikoncomponents/main-layout/app-sidebar.tsx +36 -0
  103. package/templates/default/ikoncomponents/main-layout/footer.tsx +21 -0
  104. package/templates/default/ikoncomponents/main-layout/header.tsx +53 -0
  105. package/templates/default/ikoncomponents/main-layout/index.tsx +38 -0
  106. package/templates/default/ikoncomponents/main-layout/main-sidebar.tsx +389 -0
  107. package/templates/default/ikoncomponents/main-layout/nav-main.tsx +103 -0
  108. package/templates/default/ikoncomponents/multi-combobox/index.tsx +345 -0
  109. package/templates/default/ikoncomponents/no-data/index.tsx +11 -0
  110. package/templates/default/ikoncomponents/page-wrapper/index.tsx +30 -0
  111. package/templates/default/ikoncomponents/password-strength-meter/index.tsx +49 -0
  112. package/templates/default/ikoncomponents/phone-input/index.tsx +72 -0
  113. package/templates/default/ikoncomponents/provider-wrapper/index.tsx +32 -0
  114. package/templates/default/ikoncomponents/search-input/index.tsx +18 -0
  115. package/templates/default/ikoncomponents/sheet/index.tsx +34 -0
  116. package/templates/default/ikoncomponents/simple-widget/index.tsx +54 -0
  117. package/templates/default/ikoncomponents/skeleton-loader/skeleton-table.tsx +34 -0
  118. package/templates/default/ikoncomponents/skeleton-loader/skeleton-widget.tsx +13 -0
  119. package/templates/default/ikoncomponents/tabs/index.tsx +139 -0
  120. package/{dist/ikoncomponents/tabs/type.d.ts → templates/default/ikoncomponents/tabs/type.ts} +20 -19
  121. package/{dist/ikoncomponents/theme-toggle-btn/index.js → templates/default/ikoncomponents/theme-toggle-btn/index.tsx} +189 -118
  122. package/templates/default/ikoncomponents/title-progress/index.tsx +41 -0
  123. package/templates/default/ikoncomponents/tooltip/index.tsx +17 -0
  124. package/templates/default/ikoncomponents/twolevel-dropdown/convertToDropdownNodes.tsx +33 -0
  125. package/templates/default/ikoncomponents/twolevel-dropdown/index.tsx +279 -0
  126. package/templates/default/ikoncomponents/upload-tab/index.tsx +237 -0
  127. package/templates/default/ikoncomponents/widgets/index.tsx +81 -0
  128. package/templates/default/ikoncomponents/widgets/type.ts +11 -0
  129. package/templates/default/ikoncomponents/work-in-progress/index.tsx +16 -0
  130. package/templates/default/styles.css +1159 -0
  131. package/templates/default/utils/actions/account/index.ts +33 -0
  132. package/templates/default/utils/actions/account/type.ts +4 -0
  133. package/{dist/utils/actions/auth/index.js → templates/default/utils/actions/auth/index.ts} +69 -58
  134. package/templates/default/utils/actions/common/revalidate.ts +18 -0
  135. package/templates/default/utils/actions/common/type.ts +4 -0
  136. package/{dist/utils/actions/common/utils.js → templates/default/utils/actions/common/utils.ts} +28 -25
  137. package/templates/default/utils/actions/software/index.ts +106 -0
  138. package/templates/default/utils/api/accountService/index.ts +103 -0
  139. package/templates/default/utils/api/accountService/type.ts +4 -0
  140. package/templates/default/utils/api/file-upload/index.ts +103 -0
  141. package/templates/default/utils/api/file-upload/type.ts +8 -0
  142. package/{dist/utils/api/ikonBaseApi.js → templates/default/utils/api/ikonBaseApi.ts} +132 -104
  143. package/templates/default/utils/api/loginService/index.ts +106 -0
  144. package/{dist/utils/api/loginService/type.d.ts → templates/default/utils/api/loginService/type.ts} +35 -31
  145. package/templates/default/utils/api/softwareService/index.ts +356 -0
  146. package/templates/default/utils/api/softwareService/type.ts +62 -0
  147. package/{dist/utils/border-radius-provider.js → templates/default/utils/border-radius-provider.tsx} +59 -35
  148. package/templates/default/utils/cn.ts +6 -0
  149. package/{dist/utils/font-provider.js → templates/default/utils/font-provider.tsx} +61 -37
  150. package/templates/default/utils/session/cookieSession.ts +49 -0
  151. package/templates/default/utils/theme-provider/index.tsx +11 -0
  152. package/templates/default/utils/token-management/index.ts +115 -0
  153. package/templates/default/utils/token-management/types.ts +6 -0
  154. package/dist/hooks/use-mobile.d.ts +0 -1
  155. package/dist/hooks/use-mobile.js +0 -15
  156. package/dist/ikoncomponents/action-menu/index.d.ts +0 -5
  157. package/dist/ikoncomponents/action-menu/index.js +0 -42
  158. package/dist/ikoncomponents/action-menu/type.d.ts +0 -14
  159. package/dist/ikoncomponents/action-menu/type.js +0 -1
  160. package/dist/ikoncomponents/activity-sheet/index.d.ts +0 -11
  161. package/dist/ikoncomponents/activity-sheet/index.js +0 -23
  162. package/dist/ikoncomponents/alert-dialog/dialog-context.d.ts +0 -21
  163. package/dist/ikoncomponents/alert-dialog/dialog-context.js +0 -30
  164. package/dist/ikoncomponents/alert-dialog/index.d.ts +0 -14
  165. package/dist/ikoncomponents/alert-dialog/index.js +0 -20
  166. package/dist/ikoncomponents/app-breadcrumb/BreadcrumbProvider.d.ts +0 -18
  167. package/dist/ikoncomponents/app-breadcrumb/BreadcrumbProvider.js +0 -43
  168. package/dist/ikoncomponents/app-breadcrumb/index.d.ts +0 -5
  169. package/dist/ikoncomponents/app-breadcrumb/index.js +0 -57
  170. package/dist/ikoncomponents/big-calendar/big-calender-event/index.d.ts +0 -5
  171. package/dist/ikoncomponents/big-calendar/big-calender-event/index.js +0 -16
  172. package/dist/ikoncomponents/big-calendar/big-calender-toolbar/index.d.ts +0 -2
  173. package/dist/ikoncomponents/big-calendar/big-calender-toolbar/index.js +0 -39
  174. package/dist/ikoncomponents/big-calendar/index.d.ts +0 -3
  175. package/dist/ikoncomponents/big-calendar/index.js +0 -35
  176. package/dist/ikoncomponents/big-calendar/type.d.ts +0 -31
  177. package/dist/ikoncomponents/big-calendar/type.js +0 -1
  178. package/dist/ikoncomponents/buttons/index.d.ts +0 -18
  179. package/dist/ikoncomponents/buttons/index.js +0 -38
  180. package/dist/ikoncomponents/combobox-input/index.d.ts +0 -2
  181. package/dist/ikoncomponents/combobox-input/index.js +0 -18
  182. package/dist/ikoncomponents/combobox-input/type.d.ts +0 -13
  183. package/dist/ikoncomponents/combobox-input/type.js +0 -1
  184. package/dist/ikoncomponents/custom-combo-dropdown/index.d.ts +0 -21
  185. package/dist/ikoncomponents/custom-combo-dropdown/index.js +0 -85
  186. package/dist/ikoncomponents/data-table/datatable-column-filter/index.d.ts +0 -2
  187. package/dist/ikoncomponents/data-table/datatable-column-filter/index.js +0 -22
  188. package/dist/ikoncomponents/data-table/datatable-faceted-filter/index.d.ts +0 -2
  189. package/dist/ikoncomponents/data-table/datatable-faceted-filter/index.js +0 -35
  190. package/dist/ikoncomponents/data-table/datatable-filter-menu/index.d.ts +0 -2
  191. package/dist/ikoncomponents/data-table/datatable-filter-menu/index.js +0 -38
  192. package/dist/ikoncomponents/data-table/datatable-pagination/index.d.ts +0 -2
  193. package/dist/ikoncomponents/data-table/datatable-pagination/index.js +0 -13
  194. package/dist/ikoncomponents/data-table/datatable-toolbar/index.d.ts +0 -2
  195. package/dist/ikoncomponents/data-table/datatable-toolbar/index.js +0 -18
  196. package/dist/ikoncomponents/data-table/function.d.ts +0 -1
  197. package/dist/ikoncomponents/data-table/function.js +0 -6
  198. package/dist/ikoncomponents/data-table/index.d.ts +0 -2
  199. package/dist/ikoncomponents/data-table/index.js +0 -223
  200. package/dist/ikoncomponents/data-table/type.d.ts +0 -60
  201. package/dist/ikoncomponents/data-table/type.js +0 -1
  202. package/dist/ikoncomponents/e-chart/index.d.ts +0 -15
  203. package/dist/ikoncomponents/e-chart/index.js +0 -115
  204. package/dist/ikoncomponents/file-input/index.d.ts +0 -1
  205. package/dist/ikoncomponents/file-input/index.js +0 -21
  206. package/dist/ikoncomponents/fileUpload/index.d.ts +0 -15
  207. package/dist/ikoncomponents/fileUpload/index.js +0 -69
  208. package/dist/ikoncomponents/form-fields/combobox-input/index.d.ts +0 -2
  209. package/dist/ikoncomponents/form-fields/combobox-input/index.js +0 -21
  210. package/dist/ikoncomponents/form-fields/combobox-input-value/index.d.ts +0 -18
  211. package/dist/ikoncomponents/form-fields/combobox-input-value/index.js +0 -26
  212. package/dist/ikoncomponents/form-fields/date-input/index.d.ts +0 -2
  213. package/dist/ikoncomponents/form-fields/date-input/index.js +0 -15
  214. package/dist/ikoncomponents/form-fields/file-input/index.d.ts +0 -1
  215. package/dist/ikoncomponents/form-fields/file-input/index.js +0 -4
  216. package/dist/ikoncomponents/form-fields/input/index.d.ts +0 -2
  217. package/dist/ikoncomponents/form-fields/input/index.js +0 -18
  218. package/dist/ikoncomponents/form-fields/multi-combobox-input/index.d.ts +0 -6
  219. package/dist/ikoncomponents/form-fields/otp-input/index.d.ts +0 -2
  220. package/dist/ikoncomponents/form-fields/otp-input/index.js +0 -18
  221. package/dist/ikoncomponents/form-fields/phone-input/index.d.ts +0 -1
  222. package/dist/ikoncomponents/form-fields/phone-input/index.js +0 -4
  223. package/dist/ikoncomponents/form-fields/textarea/index.d.ts +0 -2
  224. package/dist/ikoncomponents/form-fields/textarea/index.js +0 -18
  225. package/dist/ikoncomponents/form-fields/types/index.d.ts +0 -36
  226. package/dist/ikoncomponents/form-fields/types/index.js +0 -1
  227. package/dist/ikoncomponents/glowing-effect/index.d.ts +0 -14
  228. package/dist/ikoncomponents/glowing-effect/index.js +0 -84
  229. package/dist/ikoncomponents/icon/index.d.ts +0 -8
  230. package/dist/ikoncomponents/icon/index.js +0 -23
  231. package/dist/ikoncomponents/image-cropper-upload/components/newCropper.d.ts +0 -15
  232. package/dist/ikoncomponents/image-cropper-upload/components/newImageUploadForm.d.ts +0 -7
  233. package/dist/ikoncomponents/image-cropper-upload/components/newImageUploadForm.js +0 -145
  234. package/dist/ikoncomponents/image-cropper-upload/cropper-form/index.d.ts +0 -6
  235. package/dist/ikoncomponents/image-cropper-upload/cropper-form/index.js +0 -92
  236. package/dist/ikoncomponents/image-cropper-upload/cropper-form-with-modal/index.d.ts +0 -6
  237. package/dist/ikoncomponents/image-cropper-upload/cropper-form-with-modal/index.js +0 -14
  238. package/dist/ikoncomponents/image-cropper-upload/image-cropper/index.d.ts +0 -14
  239. package/dist/ikoncomponents/image-cropper-upload/index.d.ts +0 -27
  240. package/dist/ikoncomponents/image-cropper-upload/index.js +0 -49
  241. package/dist/ikoncomponents/image-cropper-upload/utils/index.d.ts +0 -16
  242. package/dist/ikoncomponents/image-cropper-upload/utils/index.js +0 -73
  243. package/dist/ikoncomponents/loading-spinner/index.d.ts +0 -9
  244. package/dist/ikoncomponents/loading-spinner/index.js +0 -19
  245. package/dist/ikoncomponents/main-layout/RefreshContext.d.ts +0 -10
  246. package/dist/ikoncomponents/main-layout/RefreshContext.js +0 -17
  247. package/dist/ikoncomponents/main-layout/SidebarNavContext.d.ts +0 -33
  248. package/dist/ikoncomponents/main-layout/SidebarNavContext.js +0 -52
  249. package/dist/ikoncomponents/main-layout/app-sidebar.d.ts +0 -3
  250. package/dist/ikoncomponents/main-layout/app-sidebar.js +0 -24
  251. package/dist/ikoncomponents/main-layout/footer.d.ts +0 -1
  252. package/dist/ikoncomponents/main-layout/footer.js +0 -5
  253. package/dist/ikoncomponents/main-layout/header.d.ts +0 -3
  254. package/dist/ikoncomponents/main-layout/header.js +0 -15
  255. package/dist/ikoncomponents/main-layout/index.d.ts +0 -6
  256. package/dist/ikoncomponents/main-layout/index.js +0 -11
  257. package/dist/ikoncomponents/main-layout/main-sidebar.d.ts +0 -60
  258. package/dist/ikoncomponents/main-layout/main-sidebar.js +0 -119
  259. package/dist/ikoncomponents/main-layout/nav-main.d.ts +0 -11
  260. package/dist/ikoncomponents/main-layout/nav-main.js +0 -33
  261. package/dist/ikoncomponents/multi-combobox/index.d.ts +0 -13
  262. package/dist/ikoncomponents/multi-combobox/index.js +0 -202
  263. package/dist/ikoncomponents/no-data/index.d.ts +0 -3
  264. package/dist/ikoncomponents/no-data/index.js +0 -5
  265. package/dist/ikoncomponents/page-wrapper/index.d.ts +0 -9
  266. package/dist/ikoncomponents/page-wrapper/index.js +0 -7
  267. package/dist/ikoncomponents/password-strength-meter/index.d.ts +0 -3
  268. package/dist/ikoncomponents/password-strength-meter/index.js +0 -40
  269. package/dist/ikoncomponents/phone-input/index.d.ts +0 -1
  270. package/dist/ikoncomponents/phone-input/index.js +0 -41
  271. package/dist/ikoncomponents/provider-wrapper/index.d.ts +0 -6
  272. package/dist/ikoncomponents/provider-wrapper/index.js +0 -11
  273. package/dist/ikoncomponents/search-input/index.d.ts +0 -1
  274. package/dist/ikoncomponents/search-input/index.js +0 -19
  275. package/dist/ikoncomponents/sheet/index.d.ts +0 -10
  276. package/dist/ikoncomponents/sheet/index.js +0 -6
  277. package/dist/ikoncomponents/simple-widget/index.d.ts +0 -14
  278. package/dist/ikoncomponents/simple-widget/index.js +0 -14
  279. package/dist/ikoncomponents/skeleton-loader/skeleton-table.d.ts +0 -5
  280. package/dist/ikoncomponents/skeleton-loader/skeleton-table.js +0 -6
  281. package/dist/ikoncomponents/skeleton-loader/skeleton-widget.d.ts +0 -3
  282. package/dist/ikoncomponents/skeleton-loader/skeleton-widget.js +0 -5
  283. package/dist/ikoncomponents/tabs/index.d.ts +0 -2
  284. package/dist/ikoncomponents/tabs/index.js +0 -50
  285. package/dist/ikoncomponents/tabs/type.js +0 -2
  286. package/dist/ikoncomponents/theme-toggle-btn/index.d.ts +0 -1
  287. package/dist/ikoncomponents/title-progress/index.d.ts +0 -12
  288. package/dist/ikoncomponents/title-progress/index.js +0 -10
  289. package/dist/ikoncomponents/tooltip/index.d.ts +0 -5
  290. package/dist/ikoncomponents/tooltip/index.js +0 -5
  291. package/dist/ikoncomponents/twolevel-dropdown/index.d.ts +0 -31
  292. package/dist/ikoncomponents/twolevel-dropdown/index.js +0 -143
  293. package/dist/ikoncomponents/upload-tab/index.d.ts +0 -1
  294. package/dist/ikoncomponents/upload-tab/index.js +0 -92
  295. package/dist/ikoncomponents/widgets/index.d.ts +0 -2
  296. package/dist/ikoncomponents/widgets/index.js +0 -14
  297. package/dist/ikoncomponents/widgets/type.d.ts +0 -10
  298. package/dist/ikoncomponents/widgets/type.js +0 -2
  299. package/dist/ikoncomponents/work-in-progress/index.d.ts +0 -1
  300. package/dist/ikoncomponents/work-in-progress/index.js +0 -4
  301. package/dist/index.d.ts +0 -138
  302. package/dist/shadcn/accordion.d.ts +0 -7
  303. package/dist/shadcn/accordion.js +0 -33
  304. package/dist/shadcn/alert-dialog.d.ts +0 -20
  305. package/dist/shadcn/alert-dialog.js +0 -83
  306. package/dist/shadcn/alert.d.ts +0 -9
  307. package/dist/shadcn/alert.js +0 -38
  308. package/dist/shadcn/aspect-ratio.d.ts +0 -3
  309. package/dist/shadcn/aspect-ratio.js +0 -19
  310. package/dist/shadcn/avatar.d.ts +0 -6
  311. package/dist/shadcn/avatar.js +0 -28
  312. package/dist/shadcn/badge.d.ts +0 -9
  313. package/dist/shadcn/badge.js +0 -35
  314. package/dist/shadcn/breadcrumb.d.ts +0 -11
  315. package/dist/shadcn/breadcrumb.js +0 -45
  316. package/dist/shadcn/button.d.ts +0 -10
  317. package/dist/shadcn/button.js +0 -47
  318. package/dist/shadcn/calendar.d.ts +0 -8
  319. package/dist/shadcn/calendar.js +0 -61
  320. package/dist/shadcn/card.d.ts +0 -9
  321. package/dist/shadcn/card.js +0 -42
  322. package/dist/shadcn/checkbox.d.ts +0 -4
  323. package/dist/shadcn/checkbox.js +0 -21
  324. package/dist/shadcn/collapsible.d.ts +0 -5
  325. package/dist/shadcn/collapsible.js +0 -27
  326. package/dist/shadcn/command.d.ts +0 -18
  327. package/dist/shadcn/command.js +0 -54
  328. package/dist/shadcn/date-input.d.ts +0 -7
  329. package/dist/shadcn/date-input.js +0 -179
  330. package/dist/shadcn/date-range-picker.d.ts +0 -24
  331. package/dist/shadcn/date-range-picker.js +0 -45
  332. package/dist/shadcn/dialog.d.ts +0 -15
  333. package/dist/shadcn/dialog.js +0 -57
  334. package/dist/shadcn/drawer.d.ts +0 -13
  335. package/dist/shadcn/drawer.js +0 -56
  336. package/dist/shadcn/dropdown-menu.d.ts +0 -25
  337. package/dist/shadcn/dropdown-menu.js +0 -77
  338. package/dist/shadcn/form.d.ts +0 -24
  339. package/dist/shadcn/form.js +0 -70
  340. package/dist/shadcn/hover-card.d.ts +0 -6
  341. package/dist/shadcn/hover-card.js +0 -28
  342. package/dist/shadcn/input-otp.d.ts +0 -34
  343. package/dist/shadcn/input-otp.js +0 -40
  344. package/dist/shadcn/input.d.ts +0 -3
  345. package/dist/shadcn/input.js +0 -18
  346. package/dist/shadcn/label.d.ts +0 -4
  347. package/dist/shadcn/label.js +0 -20
  348. package/dist/shadcn/navigation-menu.d.ts +0 -16
  349. package/dist/shadcn/navigation-menu.js +0 -74
  350. package/dist/shadcn/popover.d.ts +0 -7
  351. package/dist/shadcn/popover.js +0 -32
  352. package/dist/shadcn/progress.d.ts +0 -8
  353. package/dist/shadcn/progress.js +0 -23
  354. package/dist/shadcn/radio-group.d.ts +0 -5
  355. package/dist/shadcn/radio-group.js +0 -25
  356. package/dist/shadcn/scroll-area.d.ts +0 -5
  357. package/dist/shadcn/scroll-area.js +0 -26
  358. package/dist/shadcn/select.d.ts +0 -15
  359. package/dist/shadcn/select.js +0 -59
  360. package/dist/shadcn/separator.d.ts +0 -4
  361. package/dist/shadcn/separator.js +0 -20
  362. package/dist/shadcn/sheet.d.ts +0 -13
  363. package/dist/shadcn/sheet.js +0 -61
  364. package/dist/shadcn/sidebar.d.ts +0 -69
  365. package/dist/shadcn/sidebar.js +0 -242
  366. package/dist/shadcn/skeleton.d.ts +0 -3
  367. package/dist/shadcn/skeleton.js +0 -18
  368. package/dist/shadcn/slider.d.ts +0 -4
  369. package/dist/shadcn/slider.js +0 -26
  370. package/dist/shadcn/sonner.d.ts +0 -3
  371. package/dist/shadcn/sonner.js +0 -25
  372. package/dist/shadcn/switch.d.ts +0 -4
  373. package/dist/shadcn/switch.js +0 -20
  374. package/dist/shadcn/table.d.ts +0 -10
  375. package/dist/shadcn/table.js +0 -47
  376. package/dist/shadcn/tabs.d.ts +0 -7
  377. package/dist/shadcn/tabs.js +0 -32
  378. package/dist/shadcn/textarea.d.ts +0 -3
  379. package/dist/shadcn/textarea.js +0 -18
  380. package/dist/shadcn/toggle-group.d.ts +0 -9
  381. package/dist/shadcn/toggle-group.js +0 -35
  382. package/dist/shadcn/toggle.d.ts +0 -9
  383. package/dist/shadcn/toggle.js +0 -38
  384. package/dist/shadcn/tooltip.d.ts +0 -7
  385. package/dist/shadcn/tooltip.js +0 -32
  386. package/dist/shadcn/workflow.d.ts +0 -20
  387. package/dist/shadcn/workflow.js +0 -20
  388. package/dist/styles.css +0 -6163
  389. package/dist/utils/actions/account/index.d.ts +0 -5
  390. package/dist/utils/actions/account/index.js +0 -28
  391. package/dist/utils/actions/account/type.d.ts +0 -4
  392. package/dist/utils/actions/account/type.js +0 -1
  393. package/dist/utils/actions/auth/index.d.ts +0 -7
  394. package/dist/utils/actions/common/utils.d.ts +0 -5
  395. package/dist/utils/actions/software/index.d.ts +0 -11
  396. package/dist/utils/actions/software/index.js +0 -75
  397. package/dist/utils/api/accountService/index.d.ts +0 -23
  398. package/dist/utils/api/accountService/index.js +0 -64
  399. package/dist/utils/api/accountService/type.d.ts +0 -4
  400. package/dist/utils/api/accountService/type.js +0 -1
  401. package/dist/utils/api/file-upload/index.d.ts +0 -5
  402. package/dist/utils/api/file-upload/index.js +0 -80
  403. package/dist/utils/api/file-upload/type.d.ts +0 -6
  404. package/dist/utils/api/file-upload/type.js +0 -1
  405. package/dist/utils/api/ikonBaseApi.d.ts +0 -12
  406. package/dist/utils/api/loginService/index.d.ts +0 -12
  407. package/dist/utils/api/loginService/index.js +0 -72
  408. package/dist/utils/api/loginService/type.js +0 -1
  409. package/dist/utils/api/softwareService/index.d.ts +0 -64
  410. package/dist/utils/api/softwareService/index.js +0 -212
  411. package/dist/utils/api/softwareService/type.d.ts +0 -54
  412. package/dist/utils/api/softwareService/type.js +0 -1
  413. package/dist/utils/border-radius-provider.d.ts +0 -11
  414. package/dist/utils/cn.d.ts +0 -2
  415. package/dist/utils/cn.js +0 -5
  416. package/dist/utils/font-provider.d.ts +0 -11
  417. package/dist/utils/session/cookieSession.d.ts +0 -8
  418. package/dist/utils/session/cookieSession.js +0 -33
  419. package/dist/utils/theme-provider/index.d.ts +0 -3
  420. package/dist/utils/theme-provider/index.js +0 -18
  421. package/dist/utils/token-management/index.d.ts +0 -10
  422. package/dist/utils/token-management/index.js +0 -69
  423. package/dist/utils/token-management/types.d.ts +0 -6
  424. package/dist/utils/token-management/types.js +0 -1
@@ -1,38 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { cva } from "class-variance-authority";
14
- import { cn } from "../utils/cn";
15
- const alertVariants = cva("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", {
16
- variants: {
17
- variant: {
18
- default: "bg-card dark:bg-background text-card-foreground",
19
- destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90",
20
- },
21
- },
22
- defaultVariants: {
23
- variant: "default",
24
- },
25
- });
26
- function Alert(_a) {
27
- var { className, variant } = _a, props = __rest(_a, ["className", "variant"]);
28
- return (_jsx("div", Object.assign({ "data-slot": "alert", role: "alert", className: cn(alertVariants({ variant }), className) }, props)));
29
- }
30
- function AlertTitle(_a) {
31
- var { className } = _a, props = __rest(_a, ["className"]);
32
- return (_jsx("div", Object.assign({ "data-slot": "alert-title", className: cn("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", className) }, props)));
33
- }
34
- function AlertDescription(_a) {
35
- var { className } = _a, props = __rest(_a, ["className"]);
36
- return (_jsx("div", Object.assign({ "data-slot": "alert-description", className: cn("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", className) }, props)));
37
- }
38
- export { Alert, AlertTitle, AlertDescription };
@@ -1,3 +0,0 @@
1
- import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
2
- declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
- export { AspectRatio };
@@ -1,19 +0,0 @@
1
- "use client";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
15
- function AspectRatio(_a) {
16
- var props = __rest(_a, []);
17
- return _jsx(AspectRatioPrimitive.Root, Object.assign({ "data-slot": "aspect-ratio" }, props));
18
- }
19
- export { AspectRatio };
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- import * as AvatarPrimitive from "@radix-ui/react-avatar";
3
- declare function Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): import("react/jsx-runtime").JSX.Element;
5
- declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): import("react/jsx-runtime").JSX.Element;
6
- export { Avatar, AvatarImage, AvatarFallback };
@@ -1,28 +0,0 @@
1
- "use client";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import * as AvatarPrimitive from "@radix-ui/react-avatar";
15
- import { cn } from "../utils/cn";
16
- function Avatar(_a) {
17
- var { className } = _a, props = __rest(_a, ["className"]);
18
- return (_jsx(AvatarPrimitive.Root, Object.assign({ "data-slot": "avatar", className: cn("relative flex size-8 shrink-0 overflow-hidden rounded-full", className) }, props)));
19
- }
20
- function AvatarImage(_a) {
21
- var { className } = _a, props = __rest(_a, ["className"]);
22
- return (_jsx(AvatarPrimitive.Image, Object.assign({ "data-slot": "avatar-image", className: cn("aspect-square size-full", className) }, props)));
23
- }
24
- function AvatarFallback(_a) {
25
- var { className } = _a, props = __rest(_a, ["className"]);
26
- return (_jsx(AvatarPrimitive.Fallback, Object.assign({ "data-slot": "avatar-fallback", className: cn("bg-foreground text-background flex size-full items-center justify-center rounded-full", className) }, props)));
27
- }
28
- export { Avatar, AvatarImage, AvatarFallback };
@@ -1,9 +0,0 @@
1
- import * as React from "react";
2
- import { type VariantProps } from "class-variance-authority";
3
- declare const badgeVariants: (props?: ({
4
- variant?: "default" | "destructive" | "outline" | "secondary" | "verified" | null | undefined;
5
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
- declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
7
- asChild?: boolean;
8
- }): import("react/jsx-runtime").JSX.Element;
9
- export { Badge, badgeVariants };
@@ -1,35 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { Slot } from "@radix-ui/react-slot";
14
- import { cva } from "class-variance-authority";
15
- import { cn } from "../utils/cn";
16
- const badgeVariants = cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", {
17
- variants: {
18
- variant: {
19
- default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
20
- secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
21
- destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive",
22
- outline: "text-foreground bg-[var(--background)] [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
23
- verified: "border-transparent bg-[#15803D] text-white [a&]:hover:bg-[#1F9145] focus-visible:ring-[#15803D]/20 dark:focus-visible:ring-[#15803D]/40",
24
- },
25
- },
26
- defaultVariants: {
27
- variant: "default",
28
- },
29
- });
30
- function Badge(_a) {
31
- var { className, variant, asChild = false } = _a, props = __rest(_a, ["className", "variant", "asChild"]);
32
- const Comp = asChild ? Slot : "span";
33
- return (_jsx(Comp, Object.assign({ "data-slot": "badge", className: cn(badgeVariants({ variant }), className) }, props)));
34
- }
35
- export { Badge, badgeVariants };
@@ -1,11 +0,0 @@
1
- import * as React from "react";
2
- declare function Breadcrumb({ ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
3
- declare function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): import("react/jsx-runtime").JSX.Element;
4
- declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
5
- declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<"a"> & {
6
- asChild?: boolean;
7
- }): import("react/jsx-runtime").JSX.Element;
8
- declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
9
- declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
10
- declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
11
- export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
@@ -1,45 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { Slot } from "@radix-ui/react-slot";
14
- import { ChevronRight, MoreHorizontal } from "lucide-react";
15
- import { cn } from "../utils/cn";
16
- function Breadcrumb(_a) {
17
- var props = __rest(_a, []);
18
- return _jsx("nav", Object.assign({ "aria-label": "breadcrumb", "data-slot": "breadcrumb" }, props));
19
- }
20
- function BreadcrumbList(_a) {
21
- var { className } = _a, props = __rest(_a, ["className"]);
22
- return (_jsx("ol", Object.assign({ "data-slot": "breadcrumb-list", className: cn("text-muted-foreground blue-dark:text-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5", className) }, props)));
23
- }
24
- function BreadcrumbItem(_a) {
25
- var { className } = _a, props = __rest(_a, ["className"]);
26
- return (_jsx("li", Object.assign({ "data-slot": "breadcrumb-item", className: cn("inline-flex items-center gap-1.5", className) }, props)));
27
- }
28
- function BreadcrumbLink(_a) {
29
- var { asChild, className } = _a, props = __rest(_a, ["asChild", "className"]);
30
- const Comp = asChild ? Slot : "a";
31
- return (_jsx(Comp, Object.assign({ "data-slot": "breadcrumb-link", className: cn("hover:text-foreground transition-colors", className) }, props)));
32
- }
33
- function BreadcrumbPage(_a) {
34
- var { className } = _a, props = __rest(_a, ["className"]);
35
- return (_jsx("span", Object.assign({ "data-slot": "breadcrumb-page", role: "link", "aria-disabled": "true", "aria-current": "page", className: cn("text-foreground font-normal", className) }, props)));
36
- }
37
- function BreadcrumbSeparator(_a) {
38
- var { children, className } = _a, props = __rest(_a, ["children", "className"]);
39
- return (_jsx("li", Object.assign({ "data-slot": "breadcrumb-separator", role: "presentation", "aria-hidden": "true", className: cn("[&>svg]:size-3.5", className) }, props, { children: children !== null && children !== void 0 ? children : _jsx(ChevronRight, {}) })));
40
- }
41
- function BreadcrumbEllipsis(_a) {
42
- var { className } = _a, props = __rest(_a, ["className"]);
43
- return (_jsxs("span", Object.assign({ "data-slot": "breadcrumb-ellipsis", role: "presentation", "aria-hidden": "true", className: cn("flex size-9 items-center justify-center", className) }, props, { children: [_jsx(MoreHorizontal, { className: "size-4" }), _jsx("span", { className: "sr-only", children: "More" })] })));
44
- }
45
- export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
@@ -1,10 +0,0 @@
1
- import * as React from "react";
2
- import { type VariantProps } from "class-variance-authority";
3
- declare const buttonVariants: (props?: ({
4
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "dashed" | null | undefined;
5
- size?: "default" | "sm" | "lg" | "icon" | "smIcon" | "circular" | "lgIcon" | null | undefined;
6
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
- declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
8
- asChild?: boolean;
9
- }): import("react/jsx-runtime").JSX.Element;
10
- export { Button, buttonVariants };
@@ -1,47 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { Slot } from "@radix-ui/react-slot";
14
- import { cva } from "class-variance-authority";
15
- import { cn } from "../utils/cn";
16
- const buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
17
- variants: {
18
- variant: {
19
- default: "bg-[var(--accent)] text-[var(--accent-foreground)] shadow-xs hover:bg-[var(--accent)]/60",
20
- destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
21
- outline: "border! border-2! bg-background shadow-xs hover:bg-accent hover:text-accent-foreground ",
22
- secondary: "bg-[var(--btn-secondary)] text-secondary-foreground shadow-xs hover:bg-[var(--btn-secondary)]/20 border border-input",
23
- ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
24
- dashed: "border border-dashed bg-background shadow-sm hover:bg-accent hover:text-accent-foreground ",
25
- link: "text-primary underline-offset-4 hover:underline",
26
- },
27
- size: {
28
- default: "h-9 px-4 py-2 has-[>svg]:px-3",
29
- sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
30
- lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
31
- icon: "size-9",
32
- smIcon: "h-8 w-8",
33
- circular: "size-10 rounded-full p-0",
34
- lgIcon: "size-10",
35
- },
36
- },
37
- defaultVariants: {
38
- variant: "default",
39
- size: "default",
40
- },
41
- });
42
- function Button(_a) {
43
- var { className, variant, size, asChild = false } = _a, props = __rest(_a, ["className", "variant", "size", "asChild"]);
44
- const Comp = asChild ? Slot : "button";
45
- return (_jsx(Comp, Object.assign({ "data-slot": "button", className: cn(buttonVariants({ variant, size, className })) }, props)));
46
- }
47
- export { Button, buttonVariants };
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- import { DayButton, DayPicker } from "react-day-picker";
3
- import { Button } from "./button";
4
- declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
- buttonVariant?: React.ComponentProps<typeof Button>["variant"];
6
- }): import("react/jsx-runtime").JSX.Element;
7
- declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): import("react/jsx-runtime").JSX.Element;
8
- export { Calendar, CalendarDayButton };
@@ -1,61 +0,0 @@
1
- "use client";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import * as React from "react";
15
- import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, } from "lucide-react";
16
- import { DayPicker, getDefaultClassNames } from "react-day-picker";
17
- import { cn } from "../utils/cn";
18
- import { Button, buttonVariants } from "./button";
19
- function Calendar(_a) {
20
- var { className, classNames, showOutsideDays = true, captionLayout = "label", buttonVariant = "ghost", formatters, components } = _a, props = __rest(_a, ["className", "classNames", "showOutsideDays", "captionLayout", "buttonVariant", "formatters", "components"]);
21
- const defaultClassNames = getDefaultClassNames();
22
- return (_jsx(DayPicker, Object.assign({ showOutsideDays: showOutsideDays, className: cn("bg-background group/calendar p-3 [--cell-size:2rem] [[data-slot=card-content]&]:bg-transparent [[data-slot=popover-content]&]:bg-transparent", "dark:bg-[#202020]", String.raw `rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw `rtl:**:[.rdp-button\_previous>svg]:rotate-180`, className), captionLayout: captionLayout, formatters: Object.assign({ formatMonthDropdown: (date) => date.toLocaleString("default", { month: "short" }) }, formatters), classNames: Object.assign({ root: cn("w-fit", defaultClassNames.root), months: cn("flex gap-4 flex-col md:flex-row relative", defaultClassNames.months), month: cn("flex flex-col w-full gap-4", defaultClassNames.month), nav: cn("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between", defaultClassNames.nav), button_previous: cn(buttonVariants({ variant: buttonVariant }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", defaultClassNames.button_previous), button_next: cn(buttonVariants({ variant: buttonVariant }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", defaultClassNames.button_next), month_caption: cn("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)", defaultClassNames.month_caption), dropdowns: cn("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5", defaultClassNames.dropdowns), dropdown_root: cn("relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md", "bg-[rgba(0,0,0,0.17)]", defaultClassNames.dropdown_root), dropdown: cn("absolute bg-popover inset-0 opacity-0", defaultClassNames.dropdown), caption_label: cn("select-none font-medium", captionLayout === "label"
23
- ? "text-sm"
24
- : "rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5", defaultClassNames.caption_label), table: "w-full border-collapse", weekdays: cn("flex", defaultClassNames.weekdays), weekday: cn("text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none", defaultClassNames.weekday), week: cn("flex w-full mt-2", defaultClassNames.week), week_number_header: cn("select-none w-(--cell-size)", defaultClassNames.week_number_header), week_number: cn("text-[0.8rem] select-none text-muted-foreground", defaultClassNames.week_number), day: cn("relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none", defaultClassNames.day), range_start: cn("rounded-l-md bg-accent", defaultClassNames.range_start), range_middle: cn("rounded-none", defaultClassNames.range_middle), range_end: cn("rounded-r-md bg-accent", defaultClassNames.range_end), today: cn("bg-[var(--hover-back)] text-primary rounded-md data-[selected=true]:rounded-none", defaultClassNames.today), outside: cn("text-muted-foreground aria-selected:text-muted-foreground", defaultClassNames.outside), disabled: cn("text-muted-foreground opacity-50", defaultClassNames.disabled), hidden: cn("invisible", defaultClassNames.hidden) }, classNames), components: Object.assign({ Root: (_a) => {
25
- var { className, rootRef } = _a, props = __rest(_a, ["className", "rootRef"]);
26
- return (_jsx("div", Object.assign({ "data-slot": "calendar", ref: rootRef, className: cn(className) }, props)));
27
- }, Chevron: (_a) => {
28
- var { className, orientation } = _a, props = __rest(_a, ["className", "orientation"]);
29
- if (orientation === "left") {
30
- return (_jsx(ChevronLeftIcon, Object.assign({ className: cn("size-4", className) }, props)));
31
- }
32
- if (orientation === "right") {
33
- return (_jsx(ChevronRightIcon, Object.assign({ className: cn("size-4", className) }, props)));
34
- }
35
- return (_jsx(ChevronDownIcon, Object.assign({ className: cn("size-4", className) }, props)));
36
- }, DayButton: CalendarDayButton, WeekNumber: (_a) => {
37
- var { children } = _a, props = __rest(_a, ["children"]);
38
- return (_jsx("td", Object.assign({}, props, { children: _jsx("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children: children }) })));
39
- } }, components) }, props)));
40
- }
41
- function CalendarDayButton(_a) {
42
- var { className, day, modifiers } = _a, props = __rest(_a, ["className", "day", "modifiers"]);
43
- const defaultClassNames = getDefaultClassNames();
44
- const ref = React.useRef(null);
45
- React.useEffect(() => {
46
- var _a;
47
- if (modifiers.focused)
48
- (_a = ref.current) === null || _a === void 0 ? void 0 : _a.focus();
49
- }, [modifiers.focused]);
50
- return (_jsx(Button, Object.assign({ ref: ref, variant: "ghost", size: "icon", "data-day": day.date.toLocaleDateString(), "data-selected-single": modifiers.selected &&
51
- !modifiers.range_start &&
52
- !modifiers.range_end &&
53
- !modifiers.range_middle, "data-range-start": modifiers.range_start, "data-range-end": modifiers.range_end, "data-range-middle": modifiers.range_middle, className: cn("data-[selected-single=true]:bg-[var(--calender-foreground)] data-[selected-single=true]:text-white dark:data-[selected-single=true]:text-black",
54
- // Make sure the background is transparent for dates in the middle of the range
55
- "data-[range-middle=true]:bg-[var(--ring)] data-[range-middle=true]:text-white root:text-black",
56
- // Set background color for the start of the range
57
- "data-[range-start=true]:bg-[var(--calender-foreground)] dark:data-[range-start=true]:text-black data-[range-start=true]:text-white",
58
- // Set background color for the end of the range
59
- "hover:bg-[var(--keross-skeleton-bg)] hover:text-white", "data-[range-end=true]:bg-[var(--calender-foreground)] data-[range-end=true]:text-white dark:data-[range-end=true]:text-black", "group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70 root:text-black", defaultClassNames.day, className) }, props)));
60
- }
61
- export { Calendar, CalendarDayButton };
@@ -1,9 +0,0 @@
1
- import * as React from "react";
2
- declare function Card({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
3
- declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
4
- declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
- declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
- declare function CardAction({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
7
- declare function CardContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
- declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
- export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
@@ -1,42 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { cn } from "../utils/cn";
14
- function Card(_a) {
15
- var { className } = _a, props = __rest(_a, ["className"]);
16
- return (_jsx("div", Object.assign({ "data-slot": "card", className: cn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm", className) }, props)));
17
- }
18
- function CardHeader(_a) {
19
- var { className } = _a, props = __rest(_a, ["className"]);
20
- return (_jsx("div", Object.assign({ "data-slot": "card-header", className: cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", className) }, props)));
21
- }
22
- function CardTitle(_a) {
23
- var { className } = _a, props = __rest(_a, ["className"]);
24
- return (_jsx("div", Object.assign({ "data-slot": "card-title", className: cn("leading-none font-semibold", className) }, props)));
25
- }
26
- function CardDescription(_a) {
27
- var { className } = _a, props = __rest(_a, ["className"]);
28
- return (_jsx("div", Object.assign({ "data-slot": "card-description", className: cn("text-muted-foreground text-sm", className) }, props)));
29
- }
30
- function CardAction(_a) {
31
- var { className } = _a, props = __rest(_a, ["className"]);
32
- return (_jsx("div", Object.assign({ "data-slot": "card-action", className: cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end", className) }, props)));
33
- }
34
- function CardContent(_a) {
35
- var { className } = _a, props = __rest(_a, ["className"]);
36
- return (_jsx("div", Object.assign({ "data-slot": "card-content", className: cn("px-6", className) }, props)));
37
- }
38
- function CardFooter(_a) {
39
- var { className } = _a, props = __rest(_a, ["className"]);
40
- return (_jsx("div", Object.assign({ "data-slot": "card-footer", className: cn("flex items-center px-6 [.border-t]:pt-6", className) }, props)));
41
- }
42
- export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
@@ -1,4 +0,0 @@
1
- import * as React from "react";
2
- import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
- declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
- export { Checkbox };
@@ -1,21 +0,0 @@
1
- "use client";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
15
- import { CheckIcon } from "lucide-react";
16
- import { cn } from "../utils/cn";
17
- function Checkbox(_a) {
18
- var { className } = _a, props = __rest(_a, ["className"]);
19
- return (_jsx(CheckboxPrimitive.Root, Object.assign({ "data-slot": "checkbox", className: cn("peer border-input bg-[var(--background)] dark:bg-[var(--border)] data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border-1 shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className) }, props, { children: _jsx(CheckboxPrimitive.Indicator, { "data-slot": "checkbox-indicator", className: "flex items-center justify-center text-current transition-none", children: _jsx(CheckIcon, { className: "size-3.5" }) }) })));
20
- }
21
- export { Checkbox };
@@ -1,5 +0,0 @@
1
- import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
2
- declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
- declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
4
- declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
5
- export { Collapsible, CollapsibleTrigger, CollapsibleContent };
@@ -1,27 +0,0 @@
1
- "use client";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
- import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
15
- function Collapsible(_a) {
16
- var props = __rest(_a, []);
17
- return _jsx(CollapsiblePrimitive.Root, Object.assign({ "data-slot": "collapsible" }, props));
18
- }
19
- function CollapsibleTrigger(_a) {
20
- var props = __rest(_a, []);
21
- return (_jsx(CollapsiblePrimitive.CollapsibleTrigger, Object.assign({ "data-slot": "collapsible-trigger" }, props)));
22
- }
23
- function CollapsibleContent(_a) {
24
- var props = __rest(_a, []);
25
- return (_jsx(CollapsiblePrimitive.CollapsibleContent, Object.assign({ "data-slot": "collapsible-content" }, props)));
26
- }
27
- export { Collapsible, CollapsibleTrigger, CollapsibleContent };
@@ -1,18 +0,0 @@
1
- import * as React from "react";
2
- import { Command as CommandPrimitive } from "cmdk";
3
- import { Dialog } from "./dialog";
4
- declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): import("react/jsx-runtime").JSX.Element;
5
- declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
6
- title?: string;
7
- description?: string;
8
- className?: string;
9
- showCloseButton?: boolean;
10
- }): import("react/jsx-runtime").JSX.Element;
11
- declare function CommandInput({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>): import("react/jsx-runtime").JSX.Element;
12
- declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): import("react/jsx-runtime").JSX.Element;
13
- declare function CommandEmpty({ ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): import("react/jsx-runtime").JSX.Element;
14
- declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
15
- declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
16
- declare function CommandItem({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
17
- declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
18
- export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
@@ -1,54 +0,0 @@
1
- "use client";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
- import { Command as CommandPrimitive } from "cmdk";
15
- import { SearchIcon } from "lucide-react";
16
- import { cn } from "../utils/cn";
17
- import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "./dialog";
18
- function Command(_a) {
19
- var { className } = _a, props = __rest(_a, ["className"]);
20
- return (_jsx(CommandPrimitive, Object.assign({ "data-slot": "command", className: cn("bg-card text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", className) }, props)));
21
- }
22
- function CommandDialog(_a) {
23
- var { title = "Command Palette", description = "Search for a command to run...", children, className, showCloseButton = true } = _a, props = __rest(_a, ["title", "description", "children", "className", "showCloseButton"]);
24
- return (_jsxs(Dialog, Object.assign({}, props, { children: [_jsxs(DialogHeader, { className: "sr-only", children: [_jsx(DialogTitle, { children: title }), _jsx(DialogDescription, { children: description })] }), _jsx(DialogContent, { className: cn("overflow-hidden p-0", className), showCloseButton: showCloseButton, children: _jsx(Command, { className: "[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: children }) })] })));
25
- }
26
- function CommandInput(_a) {
27
- var { className } = _a, props = __rest(_a, ["className"]);
28
- return (_jsxs("div", { "data-slot": "command-input-wrapper", className: "flex h-9 items-center gap-2 border-b px-3", children: [_jsx(SearchIcon, { className: "size-4 shrink-0 opacity-50" }), _jsx(CommandPrimitive.Input, Object.assign({ "data-slot": "command-input", className: cn("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", className) }, props))] }));
29
- }
30
- function CommandList(_a) {
31
- var { className } = _a, props = __rest(_a, ["className"]);
32
- return (_jsx(CommandPrimitive.List, Object.assign({ "data-slot": "command-list", className: cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", className) }, props)));
33
- }
34
- function CommandEmpty(_a) {
35
- var props = __rest(_a, []);
36
- return (_jsx(CommandPrimitive.Empty, Object.assign({ "data-slot": "command-empty", className: "py-6 text-center text-sm" }, props)));
37
- }
38
- function CommandGroup(_a) {
39
- var { className } = _a, props = __rest(_a, ["className"]);
40
- return (_jsx(CommandPrimitive.Group, Object.assign({ "data-slot": "command-group", className: cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", className) }, props)));
41
- }
42
- function CommandSeparator(_a) {
43
- var { className } = _a, props = __rest(_a, ["className"]);
44
- return (_jsx(CommandPrimitive.Separator, Object.assign({ "data-slot": "command-separator", className: cn("bg-border -mx-1 h-px", className) }, props)));
45
- }
46
- function CommandItem(_a) {
47
- var { className } = _a, props = __rest(_a, ["className"]);
48
- return (_jsx(CommandPrimitive.Item, Object.assign({ "data-slot": "command-item", className: cn("data-[selected=true]:bg-[var(--input)] data-[selected=true]:text-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className) }, props)));
49
- }
50
- function CommandShortcut(_a) {
51
- var { className } = _a, props = __rest(_a, ["className"]);
52
- return (_jsx("span", Object.assign({ "data-slot": "command-shortcut", className: cn("text-muted-foreground ml-auto text-xs tracking-widest", className) }, props)));
53
- }
54
- export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- interface DateInputProps {
3
- value?: Date;
4
- onChange: (date: Date) => void;
5
- }
6
- declare const DateInput: React.FC<DateInputProps>;
7
- export { DateInput };