ikoncomponents 1.5.8 → 1.5.10

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 (423) hide show
  1. package/dist/hooks/use-mobile.d.ts +1 -0
  2. package/dist/hooks/use-mobile.js +15 -0
  3. package/dist/ikoncomponents/action-menu/index.d.ts +5 -0
  4. package/dist/ikoncomponents/action-menu/index.js +42 -0
  5. package/dist/ikoncomponents/action-menu/type.d.ts +14 -0
  6. package/dist/ikoncomponents/action-menu/type.js +1 -0
  7. package/dist/ikoncomponents/activity-sheet/index.d.ts +11 -0
  8. package/dist/ikoncomponents/activity-sheet/index.js +23 -0
  9. package/dist/ikoncomponents/alert-dialog/dialog-context.d.ts +21 -0
  10. package/dist/ikoncomponents/alert-dialog/dialog-context.js +30 -0
  11. package/dist/ikoncomponents/alert-dialog/index.d.ts +14 -0
  12. package/dist/ikoncomponents/alert-dialog/index.js +20 -0
  13. package/dist/ikoncomponents/app-breadcrumb/BreadcrumbProvider.d.ts +18 -0
  14. package/dist/ikoncomponents/app-breadcrumb/BreadcrumbProvider.js +43 -0
  15. package/dist/ikoncomponents/app-breadcrumb/index.d.ts +5 -0
  16. package/dist/ikoncomponents/app-breadcrumb/index.js +57 -0
  17. package/dist/ikoncomponents/big-calendar/big-calender-event/index.d.ts +5 -0
  18. package/dist/ikoncomponents/big-calendar/big-calender-event/index.js +16 -0
  19. package/dist/ikoncomponents/big-calendar/big-calender-toolbar/index.d.ts +2 -0
  20. package/dist/ikoncomponents/big-calendar/big-calender-toolbar/index.js +39 -0
  21. package/dist/ikoncomponents/big-calendar/index.d.ts +3 -0
  22. package/dist/ikoncomponents/big-calendar/index.js +35 -0
  23. package/dist/ikoncomponents/big-calendar/type.d.ts +31 -0
  24. package/dist/ikoncomponents/big-calendar/type.js +1 -0
  25. package/dist/ikoncomponents/buttons/index.d.ts +18 -0
  26. package/dist/ikoncomponents/buttons/index.js +38 -0
  27. package/dist/ikoncomponents/combobox-input/index.d.ts +2 -0
  28. package/dist/ikoncomponents/combobox-input/index.js +18 -0
  29. package/dist/ikoncomponents/combobox-input/type.d.ts +13 -0
  30. package/dist/ikoncomponents/combobox-input/type.js +1 -0
  31. package/dist/ikoncomponents/custom-combo-dropdown/index.d.ts +21 -0
  32. package/dist/ikoncomponents/custom-combo-dropdown/index.js +85 -0
  33. package/dist/ikoncomponents/data-table/datatable-column-filter/index.d.ts +2 -0
  34. package/dist/ikoncomponents/data-table/datatable-column-filter/index.js +22 -0
  35. package/dist/ikoncomponents/data-table/datatable-faceted-filter/index.d.ts +2 -0
  36. package/dist/ikoncomponents/data-table/datatable-faceted-filter/index.js +35 -0
  37. package/dist/ikoncomponents/data-table/datatable-filter-menu/index.d.ts +2 -0
  38. package/dist/ikoncomponents/data-table/datatable-filter-menu/index.js +38 -0
  39. package/dist/ikoncomponents/data-table/datatable-pagination/index.d.ts +2 -0
  40. package/dist/ikoncomponents/data-table/datatable-pagination/index.js +13 -0
  41. package/dist/ikoncomponents/data-table/datatable-toolbar/index.d.ts +2 -0
  42. package/dist/ikoncomponents/data-table/datatable-toolbar/index.js +18 -0
  43. package/dist/ikoncomponents/data-table/function.d.ts +1 -0
  44. package/dist/ikoncomponents/data-table/function.js +6 -0
  45. package/dist/ikoncomponents/data-table/index.d.ts +2 -0
  46. package/dist/ikoncomponents/data-table/index.js +223 -0
  47. package/dist/ikoncomponents/data-table/type.d.ts +60 -0
  48. package/dist/ikoncomponents/data-table/type.js +1 -0
  49. package/dist/ikoncomponents/e-chart/index.d.ts +15 -0
  50. package/dist/ikoncomponents/e-chart/index.js +115 -0
  51. package/dist/ikoncomponents/file-input/index.d.ts +1 -0
  52. package/dist/ikoncomponents/file-input/index.js +21 -0
  53. package/dist/ikoncomponents/fileUpload/index.d.ts +15 -0
  54. package/dist/ikoncomponents/fileUpload/index.js +69 -0
  55. package/dist/ikoncomponents/form-fields/combobox-input/index.d.ts +2 -0
  56. package/dist/ikoncomponents/form-fields/combobox-input/index.js +21 -0
  57. package/dist/ikoncomponents/form-fields/combobox-input-value/index.d.ts +18 -0
  58. package/dist/ikoncomponents/form-fields/combobox-input-value/index.js +26 -0
  59. package/dist/ikoncomponents/form-fields/date-input/index.d.ts +2 -0
  60. package/dist/ikoncomponents/form-fields/date-input/index.js +15 -0
  61. package/dist/ikoncomponents/form-fields/file-input/index.d.ts +1 -0
  62. package/dist/ikoncomponents/form-fields/file-input/index.js +4 -0
  63. package/dist/ikoncomponents/form-fields/input/index.d.ts +2 -0
  64. package/dist/ikoncomponents/form-fields/input/index.js +18 -0
  65. package/dist/ikoncomponents/form-fields/multi-combobox-input/index.d.ts +6 -0
  66. package/{templates/default/ikoncomponents/form-fields/multi-combobox-input/index.tsx → dist/ikoncomponents/form-fields/multi-combobox-input/index.js} +381 -574
  67. package/dist/ikoncomponents/form-fields/otp-input/index.d.ts +2 -0
  68. package/dist/ikoncomponents/form-fields/otp-input/index.js +18 -0
  69. package/dist/ikoncomponents/form-fields/phone-input/index.d.ts +1 -0
  70. package/dist/ikoncomponents/form-fields/phone-input/index.js +4 -0
  71. package/dist/ikoncomponents/form-fields/textarea/index.d.ts +2 -0
  72. package/dist/ikoncomponents/form-fields/textarea/index.js +18 -0
  73. package/dist/ikoncomponents/form-fields/types/index.d.ts +36 -0
  74. package/dist/ikoncomponents/form-fields/types/index.js +1 -0
  75. package/dist/ikoncomponents/glowing-effect/index.d.ts +14 -0
  76. package/dist/ikoncomponents/glowing-effect/index.js +84 -0
  77. package/dist/ikoncomponents/icon/index.d.ts +8 -0
  78. package/dist/ikoncomponents/icon/index.js +23 -0
  79. package/dist/ikoncomponents/image-cropper-upload/components/newCropper.d.ts +15 -0
  80. package/{templates/default/ikoncomponents/image-cropper-upload/components/newCropper.tsx → dist/ikoncomponents/image-cropper-upload/components/newCropper.js} +85 -117
  81. package/dist/ikoncomponents/image-cropper-upload/components/newImageUploadForm.d.ts +7 -0
  82. package/dist/ikoncomponents/image-cropper-upload/components/newImageUploadForm.js +145 -0
  83. package/dist/ikoncomponents/image-cropper-upload/cropper-form/index.d.ts +6 -0
  84. package/dist/ikoncomponents/image-cropper-upload/cropper-form/index.js +92 -0
  85. package/dist/ikoncomponents/image-cropper-upload/cropper-form-with-modal/index.d.ts +6 -0
  86. package/dist/ikoncomponents/image-cropper-upload/cropper-form-with-modal/index.js +14 -0
  87. package/dist/ikoncomponents/image-cropper-upload/image-cropper/index.d.ts +14 -0
  88. package/{templates/default/ikoncomponents/image-cropper-upload/image-cropper/index.tsx → dist/ikoncomponents/image-cropper-upload/image-cropper/index.js} +87 -119
  89. package/dist/ikoncomponents/image-cropper-upload/index.d.ts +27 -0
  90. package/dist/ikoncomponents/image-cropper-upload/index.js +49 -0
  91. package/dist/ikoncomponents/image-cropper-upload/utils/index.d.ts +16 -0
  92. package/dist/ikoncomponents/image-cropper-upload/utils/index.js +73 -0
  93. package/dist/ikoncomponents/loading-spinner/index.d.ts +9 -0
  94. package/dist/ikoncomponents/loading-spinner/index.js +19 -0
  95. package/dist/ikoncomponents/main-layout/RefreshContext.d.ts +10 -0
  96. package/dist/ikoncomponents/main-layout/RefreshContext.js +18 -0
  97. package/dist/ikoncomponents/main-layout/SidebarNavContext.d.ts +33 -0
  98. package/dist/ikoncomponents/main-layout/SidebarNavContext.js +52 -0
  99. package/dist/ikoncomponents/main-layout/app-sidebar.d.ts +3 -0
  100. package/dist/ikoncomponents/main-layout/app-sidebar.js +24 -0
  101. package/dist/ikoncomponents/main-layout/footer.d.ts +1 -0
  102. package/dist/ikoncomponents/main-layout/footer.js +5 -0
  103. package/dist/ikoncomponents/main-layout/header.d.ts +3 -0
  104. package/dist/ikoncomponents/main-layout/header.js +15 -0
  105. package/dist/ikoncomponents/main-layout/index.d.ts +6 -0
  106. package/dist/ikoncomponents/main-layout/index.js +11 -0
  107. package/dist/ikoncomponents/main-layout/main-sidebar.d.ts +60 -0
  108. package/dist/ikoncomponents/main-layout/main-sidebar.js +119 -0
  109. package/dist/ikoncomponents/main-layout/nav-main.d.ts +11 -0
  110. package/dist/ikoncomponents/main-layout/nav-main.js +33 -0
  111. package/dist/ikoncomponents/multi-combobox/index.d.ts +13 -0
  112. package/dist/ikoncomponents/multi-combobox/index.js +202 -0
  113. package/dist/ikoncomponents/no-data/index.d.ts +3 -0
  114. package/dist/ikoncomponents/no-data/index.js +5 -0
  115. package/dist/ikoncomponents/page-wrapper/index.d.ts +9 -0
  116. package/dist/ikoncomponents/page-wrapper/index.js +7 -0
  117. package/dist/ikoncomponents/password-strength-meter/index.d.ts +3 -0
  118. package/dist/ikoncomponents/password-strength-meter/index.js +40 -0
  119. package/dist/ikoncomponents/phone-input/index.d.ts +1 -0
  120. package/dist/ikoncomponents/phone-input/index.js +41 -0
  121. package/dist/ikoncomponents/provider-wrapper/index.d.ts +6 -0
  122. package/dist/ikoncomponents/provider-wrapper/index.js +11 -0
  123. package/dist/ikoncomponents/search-input/index.d.ts +1 -0
  124. package/dist/ikoncomponents/search-input/index.js +19 -0
  125. package/dist/ikoncomponents/sheet/index.d.ts +10 -0
  126. package/dist/ikoncomponents/sheet/index.js +6 -0
  127. package/dist/ikoncomponents/simple-widget/index.d.ts +14 -0
  128. package/dist/ikoncomponents/simple-widget/index.js +14 -0
  129. package/dist/ikoncomponents/skeleton-loader/skeleton-table.d.ts +5 -0
  130. package/dist/ikoncomponents/skeleton-loader/skeleton-table.js +6 -0
  131. package/dist/ikoncomponents/skeleton-loader/skeleton-widget.d.ts +3 -0
  132. package/dist/ikoncomponents/skeleton-loader/skeleton-widget.js +5 -0
  133. package/dist/ikoncomponents/tabs/index.d.ts +2 -0
  134. package/dist/ikoncomponents/tabs/index.js +50 -0
  135. package/{templates/default/ikoncomponents/tabs/type.ts → dist/ikoncomponents/tabs/type.d.ts} +19 -20
  136. package/dist/ikoncomponents/tabs/type.js +2 -0
  137. package/dist/ikoncomponents/theme-toggle-btn/index.d.ts +1 -0
  138. package/{templates/default/ikoncomponents/theme-toggle-btn/index.tsx → dist/ikoncomponents/theme-toggle-btn/index.js} +118 -189
  139. package/dist/ikoncomponents/title-progress/index.d.ts +12 -0
  140. package/dist/ikoncomponents/title-progress/index.js +10 -0
  141. package/dist/ikoncomponents/tooltip/index.d.ts +5 -0
  142. package/dist/ikoncomponents/tooltip/index.js +5 -0
  143. package/dist/ikoncomponents/twolevel-dropdown/index.d.ts +31 -0
  144. package/dist/ikoncomponents/twolevel-dropdown/index.js +143 -0
  145. package/dist/ikoncomponents/upload-tab/index.d.ts +1 -0
  146. package/dist/ikoncomponents/upload-tab/index.js +92 -0
  147. package/dist/ikoncomponents/widgets/index.d.ts +2 -0
  148. package/dist/ikoncomponents/widgets/index.js +14 -0
  149. package/dist/ikoncomponents/widgets/type.d.ts +10 -0
  150. package/dist/ikoncomponents/widgets/type.js +2 -0
  151. package/dist/ikoncomponents/work-in-progress/index.d.ts +1 -0
  152. package/dist/ikoncomponents/work-in-progress/index.js +4 -0
  153. package/dist/index.d.ts +138 -0
  154. package/dist/index.js +116 -14
  155. package/dist/shadcn/accordion.d.ts +7 -0
  156. package/dist/shadcn/accordion.js +33 -0
  157. package/dist/shadcn/alert-dialog.d.ts +20 -0
  158. package/dist/shadcn/alert-dialog.js +83 -0
  159. package/dist/shadcn/alert.d.ts +9 -0
  160. package/dist/shadcn/alert.js +38 -0
  161. package/dist/shadcn/aspect-ratio.d.ts +3 -0
  162. package/dist/shadcn/aspect-ratio.js +19 -0
  163. package/dist/shadcn/avatar.d.ts +6 -0
  164. package/dist/shadcn/avatar.js +28 -0
  165. package/dist/shadcn/badge.d.ts +9 -0
  166. package/dist/shadcn/badge.js +35 -0
  167. package/dist/shadcn/breadcrumb.d.ts +11 -0
  168. package/dist/shadcn/breadcrumb.js +45 -0
  169. package/dist/shadcn/button.d.ts +10 -0
  170. package/dist/shadcn/button.js +47 -0
  171. package/dist/shadcn/calendar.d.ts +8 -0
  172. package/dist/shadcn/calendar.js +61 -0
  173. package/dist/shadcn/card.d.ts +9 -0
  174. package/dist/shadcn/card.js +42 -0
  175. package/dist/shadcn/checkbox.d.ts +4 -0
  176. package/dist/shadcn/checkbox.js +21 -0
  177. package/dist/shadcn/collapsible.d.ts +5 -0
  178. package/dist/shadcn/collapsible.js +27 -0
  179. package/dist/shadcn/command.d.ts +18 -0
  180. package/dist/shadcn/command.js +54 -0
  181. package/dist/shadcn/date-input.d.ts +7 -0
  182. package/dist/shadcn/date-input.js +179 -0
  183. package/dist/shadcn/date-range-picker.d.ts +24 -0
  184. package/dist/shadcn/date-range-picker.js +45 -0
  185. package/dist/shadcn/dialog.d.ts +15 -0
  186. package/dist/shadcn/dialog.js +57 -0
  187. package/dist/shadcn/drawer.d.ts +13 -0
  188. package/dist/shadcn/drawer.js +56 -0
  189. package/dist/shadcn/dropdown-menu.d.ts +25 -0
  190. package/dist/shadcn/dropdown-menu.js +77 -0
  191. package/dist/shadcn/form.d.ts +24 -0
  192. package/dist/shadcn/form.js +70 -0
  193. package/dist/shadcn/hover-card.d.ts +6 -0
  194. package/dist/shadcn/hover-card.js +28 -0
  195. package/dist/shadcn/input-otp.d.ts +34 -0
  196. package/dist/shadcn/input-otp.js +40 -0
  197. package/dist/shadcn/input.d.ts +3 -0
  198. package/dist/shadcn/input.js +18 -0
  199. package/dist/shadcn/label.d.ts +4 -0
  200. package/dist/shadcn/label.js +20 -0
  201. package/dist/shadcn/navigation-menu.d.ts +16 -0
  202. package/dist/shadcn/navigation-menu.js +74 -0
  203. package/dist/shadcn/popover.d.ts +7 -0
  204. package/dist/shadcn/popover.js +32 -0
  205. package/dist/shadcn/progress.d.ts +8 -0
  206. package/dist/shadcn/progress.js +23 -0
  207. package/dist/shadcn/radio-group.d.ts +5 -0
  208. package/dist/shadcn/radio-group.js +25 -0
  209. package/dist/shadcn/scroll-area.d.ts +5 -0
  210. package/dist/shadcn/scroll-area.js +26 -0
  211. package/dist/shadcn/select.d.ts +15 -0
  212. package/dist/shadcn/select.js +59 -0
  213. package/dist/shadcn/separator.d.ts +4 -0
  214. package/dist/shadcn/separator.js +20 -0
  215. package/dist/shadcn/sheet.d.ts +13 -0
  216. package/dist/shadcn/sheet.js +61 -0
  217. package/dist/shadcn/sidebar.d.ts +69 -0
  218. package/dist/shadcn/sidebar.js +242 -0
  219. package/dist/shadcn/skeleton.d.ts +3 -0
  220. package/dist/shadcn/skeleton.js +18 -0
  221. package/dist/shadcn/slider.d.ts +4 -0
  222. package/dist/shadcn/slider.js +26 -0
  223. package/dist/shadcn/sonner.d.ts +3 -0
  224. package/dist/shadcn/sonner.js +25 -0
  225. package/dist/shadcn/switch.d.ts +4 -0
  226. package/dist/shadcn/switch.js +20 -0
  227. package/dist/shadcn/table.d.ts +10 -0
  228. package/dist/shadcn/table.js +47 -0
  229. package/dist/shadcn/tabs.d.ts +7 -0
  230. package/dist/shadcn/tabs.js +32 -0
  231. package/dist/shadcn/textarea.d.ts +3 -0
  232. package/dist/shadcn/textarea.js +18 -0
  233. package/dist/shadcn/toggle-group.d.ts +9 -0
  234. package/dist/shadcn/toggle-group.js +35 -0
  235. package/dist/shadcn/toggle.d.ts +9 -0
  236. package/dist/shadcn/toggle.js +38 -0
  237. package/dist/shadcn/tooltip.d.ts +7 -0
  238. package/dist/shadcn/tooltip.js +32 -0
  239. package/dist/shadcn/workflow.d.ts +20 -0
  240. package/dist/shadcn/workflow.js +20 -0
  241. package/dist/styles.css +6163 -0
  242. package/dist/utils/actions/account/index.d.ts +5 -0
  243. package/dist/utils/actions/account/index.js +28 -0
  244. package/dist/utils/actions/account/type.d.ts +4 -0
  245. package/dist/utils/actions/account/type.js +1 -0
  246. package/dist/utils/actions/auth/index.d.ts +7 -0
  247. package/{templates/default/utils/actions/auth/index.ts → dist/utils/actions/auth/index.js} +58 -69
  248. package/dist/utils/actions/common/utils.d.ts +5 -0
  249. package/{templates/default/utils/actions/common/utils.ts → dist/utils/actions/common/utils.js} +25 -28
  250. package/dist/utils/actions/software/index.d.ts +11 -0
  251. package/dist/utils/actions/software/index.js +75 -0
  252. package/dist/utils/api/accountService/index.d.ts +23 -0
  253. package/dist/utils/api/accountService/index.js +64 -0
  254. package/dist/utils/api/accountService/type.d.ts +4 -0
  255. package/dist/utils/api/accountService/type.js +1 -0
  256. package/dist/utils/api/file-upload/index.d.ts +5 -0
  257. package/dist/utils/api/file-upload/index.js +80 -0
  258. package/dist/utils/api/file-upload/type.d.ts +6 -0
  259. package/dist/utils/api/file-upload/type.js +1 -0
  260. package/dist/utils/api/ikonBaseApi.d.ts +12 -0
  261. package/{templates/default/utils/api/ikonBaseApi.ts → dist/utils/api/ikonBaseApi.js} +104 -132
  262. package/dist/utils/api/loginService/index.d.ts +12 -0
  263. package/dist/utils/api/loginService/index.js +72 -0
  264. package/{templates/default/utils/api/loginService/type.ts → dist/utils/api/loginService/type.d.ts} +31 -35
  265. package/dist/utils/api/loginService/type.js +1 -0
  266. package/dist/utils/api/softwareService/index.d.ts +64 -0
  267. package/dist/utils/api/softwareService/index.js +212 -0
  268. package/dist/utils/api/softwareService/type.d.ts +54 -0
  269. package/dist/utils/api/softwareService/type.js +1 -0
  270. package/dist/utils/border-radius-provider.d.ts +11 -0
  271. package/{templates/default/utils/border-radius-provider.tsx → dist/utils/border-radius-provider.js} +35 -59
  272. package/dist/utils/cn.d.ts +2 -0
  273. package/dist/utils/cn.js +5 -0
  274. package/dist/utils/font-provider.d.ts +11 -0
  275. package/{templates/default/utils/font-provider.tsx → dist/utils/font-provider.js} +37 -61
  276. package/dist/utils/session/cookieSession.d.ts +8 -0
  277. package/dist/utils/session/cookieSession.js +33 -0
  278. package/dist/utils/theme-provider/index.d.ts +3 -0
  279. package/dist/utils/theme-provider/index.js +18 -0
  280. package/dist/utils/token-management/index.d.ts +10 -0
  281. package/dist/utils/token-management/index.js +69 -0
  282. package/dist/utils/token-management/types.d.ts +6 -0
  283. package/dist/utils/token-management/types.js +1 -0
  284. package/package.json +91 -17
  285. package/bin.js +0 -2
  286. package/dist/commands/init.js +0 -63
  287. package/dist/utlis/copyDir.js +0 -7
  288. package/templates/default/hooks/use-mobile.ts +0 -19
  289. package/templates/default/ikonS/accordion.tsx +0 -66
  290. package/templates/default/ikonS/alert-dialog.tsx +0 -179
  291. package/templates/default/ikonS/alert.tsx +0 -66
  292. package/templates/default/ikonS/aspect-ratio.tsx +0 -11
  293. package/templates/default/ikonS/avatar.tsx +0 -53
  294. package/templates/default/ikonS/badge.tsx +0 -49
  295. package/templates/default/ikonS/breadcrumb.tsx +0 -109
  296. package/templates/default/ikonS/button.tsx +0 -64
  297. package/templates/default/ikonS/calendar.tsx +0 -227
  298. package/templates/default/ikonS/card.tsx +0 -92
  299. package/templates/default/ikonS/checkbox.tsx +0 -33
  300. package/templates/default/ikonS/collapsible.tsx +0 -33
  301. package/templates/default/ikonS/command.tsx +0 -184
  302. package/templates/default/ikonS/date-input.tsx +0 -259
  303. package/templates/default/ikonS/date-range-picker.tsx +0 -103
  304. package/templates/default/ikonS/dialog.tsx +0 -143
  305. package/templates/default/ikonS/drawer.tsx +0 -134
  306. package/templates/default/ikonS/dropdown-menu.tsx +0 -259
  307. package/templates/default/ikonS/form.tsx +0 -166
  308. package/templates/default/ikonS/hover-card.tsx +0 -44
  309. package/templates/default/ikonS/input-otp.tsx +0 -71
  310. package/templates/default/ikonS/input.tsx +0 -22
  311. package/templates/default/ikonS/label.tsx +0 -24
  312. package/templates/default/ikonS/navigation-menu.tsx +0 -195
  313. package/templates/default/ikonS/popover.tsx +0 -48
  314. package/templates/default/ikonS/progress.tsx +0 -40
  315. package/templates/default/ikonS/radio-group.tsx +0 -45
  316. package/templates/default/ikonS/scroll-area.tsx +0 -58
  317. package/templates/default/ikonS/select.tsx +0 -184
  318. package/templates/default/ikonS/separator.tsx +0 -28
  319. package/templates/default/ikonS/sheet.tsx +0 -139
  320. package/templates/default/ikonS/sidebar.tsx +0 -726
  321. package/templates/default/ikonS/skeleton.tsx +0 -15
  322. package/templates/default/ikonS/slider.tsx +0 -64
  323. package/templates/default/ikonS/sonner.tsx +0 -25
  324. package/templates/default/ikonS/switch.tsx +0 -31
  325. package/templates/default/ikonS/table.tsx +0 -116
  326. package/templates/default/ikonS/tabs.tsx +0 -67
  327. package/templates/default/ikonS/textarea.tsx +0 -18
  328. package/templates/default/ikonS/toggle-group.tsx +0 -83
  329. package/templates/default/ikonS/toggle.tsx +0 -47
  330. package/templates/default/ikonS/tooltip.tsx +0 -65
  331. package/templates/default/ikonS/workflow.tsx +0 -119
  332. package/templates/default/ikoncomponents/action-menu/index.tsx +0 -108
  333. package/templates/default/ikoncomponents/action-menu/type.ts +0 -18
  334. package/templates/default/ikoncomponents/activity-sheet/index.tsx +0 -63
  335. package/templates/default/ikoncomponents/alert-dialog/dialog-context.tsx +0 -65
  336. package/templates/default/ikoncomponents/alert-dialog/index.tsx +0 -80
  337. package/templates/default/ikoncomponents/app-breadcrumb/BreadcrumbProvider.tsx +0 -68
  338. package/templates/default/ikoncomponents/app-breadcrumb/index.tsx +0 -222
  339. package/templates/default/ikoncomponents/big-calendar/big-calender-event/index.tsx +0 -38
  340. package/templates/default/ikoncomponents/big-calendar/big-calender-toolbar/index.tsx +0 -81
  341. package/templates/default/ikoncomponents/big-calendar/index.css +0 -879
  342. package/templates/default/ikoncomponents/big-calendar/index.tsx +0 -59
  343. package/templates/default/ikoncomponents/big-calendar/type.ts +0 -37
  344. package/templates/default/ikoncomponents/buttons/index.tsx +0 -127
  345. package/templates/default/ikoncomponents/combobox-input/index.tsx +0 -75
  346. package/templates/default/ikoncomponents/combobox-input/type.ts +0 -14
  347. package/templates/default/ikoncomponents/custom-combo-dropdown/index.tsx +0 -242
  348. package/templates/default/ikoncomponents/data-table/datatable-column-filter/index.tsx +0 -80
  349. package/templates/default/ikoncomponents/data-table/datatable-faceted-filter/index.tsx +0 -149
  350. package/templates/default/ikoncomponents/data-table/datatable-filter-menu/index.tsx +0 -98
  351. package/templates/default/ikoncomponents/data-table/datatable-pagination/index.tsx +0 -119
  352. package/templates/default/ikoncomponents/data-table/datatable-toolbar/index.tsx +0 -45
  353. package/templates/default/ikoncomponents/data-table/function.ts +0 -7
  354. package/templates/default/ikoncomponents/data-table/index.tsx +0 -549
  355. package/templates/default/ikoncomponents/data-table/type.ts +0 -75
  356. package/templates/default/ikoncomponents/e-chart/index.tsx +0 -183
  357. package/templates/default/ikoncomponents/file-input/index.tsx +0 -27
  358. package/templates/default/ikoncomponents/fileUpload/index.tsx +0 -121
  359. package/templates/default/ikoncomponents/form-fields/combobox-input/index.tsx +0 -111
  360. package/templates/default/ikoncomponents/form-fields/combobox-input-value/index.tsx +0 -121
  361. package/templates/default/ikoncomponents/form-fields/date-input/index.tsx +0 -80
  362. package/templates/default/ikoncomponents/form-fields/file-input/index.tsx +0 -9
  363. package/templates/default/ikoncomponents/form-fields/input/index.tsx +0 -27
  364. package/templates/default/ikoncomponents/form-fields/otp-input/index.tsx +0 -39
  365. package/templates/default/ikoncomponents/form-fields/password-input/index.tsx +0 -52
  366. package/templates/default/ikoncomponents/form-fields/phone-input/index.tsx +0 -7
  367. package/templates/default/ikoncomponents/form-fields/textarea/index.tsx +0 -28
  368. package/templates/default/ikoncomponents/form-fields/types/index.ts +0 -46
  369. package/templates/default/ikoncomponents/glowing-effect/index.tsx +0 -171
  370. package/templates/default/ikoncomponents/icon/index.tsx +0 -22
  371. package/templates/default/ikoncomponents/image-cropper-upload/components/cropperImg.css +0 -19
  372. package/templates/default/ikoncomponents/image-cropper-upload/components/newImageUploadForm.tsx +0 -352
  373. package/templates/default/ikoncomponents/image-cropper-upload/cropper-form/index.tsx +0 -250
  374. package/templates/default/ikoncomponents/image-cropper-upload/cropper-form-with-modal/index.tsx +0 -32
  375. package/templates/default/ikoncomponents/image-cropper-upload/index.tsx +0 -95
  376. package/templates/default/ikoncomponents/image-cropper-upload/utils/index.ts +0 -117
  377. package/templates/default/ikoncomponents/loading-spinner/index.tsx +0 -43
  378. package/templates/default/ikoncomponents/main-layout/RefreshContext.tsx +0 -30
  379. package/templates/default/ikoncomponents/main-layout/SidebarNavContext.tsx +0 -103
  380. package/templates/default/ikoncomponents/main-layout/app-sidebar.tsx +0 -36
  381. package/templates/default/ikoncomponents/main-layout/footer.tsx +0 -21
  382. package/templates/default/ikoncomponents/main-layout/header.tsx +0 -53
  383. package/templates/default/ikoncomponents/main-layout/index.tsx +0 -38
  384. package/templates/default/ikoncomponents/main-layout/main-sidebar.tsx +0 -389
  385. package/templates/default/ikoncomponents/main-layout/nav-main.tsx +0 -103
  386. package/templates/default/ikoncomponents/multi-combobox/index.tsx +0 -345
  387. package/templates/default/ikoncomponents/no-data/index.tsx +0 -11
  388. package/templates/default/ikoncomponents/page-wrapper/index.tsx +0 -30
  389. package/templates/default/ikoncomponents/password-strength-meter/index.tsx +0 -49
  390. package/templates/default/ikoncomponents/phone-input/index.tsx +0 -72
  391. package/templates/default/ikoncomponents/provider-wrapper/index.tsx +0 -32
  392. package/templates/default/ikoncomponents/search-input/index.tsx +0 -18
  393. package/templates/default/ikoncomponents/sheet/index.tsx +0 -34
  394. package/templates/default/ikoncomponents/simple-widget/index.tsx +0 -54
  395. package/templates/default/ikoncomponents/skeleton-loader/skeleton-table.tsx +0 -34
  396. package/templates/default/ikoncomponents/skeleton-loader/skeleton-widget.tsx +0 -13
  397. package/templates/default/ikoncomponents/tabs/index.tsx +0 -139
  398. package/templates/default/ikoncomponents/title-progress/index.tsx +0 -41
  399. package/templates/default/ikoncomponents/tooltip/index.tsx +0 -17
  400. package/templates/default/ikoncomponents/twolevel-dropdown/convertToDropdownNodes.tsx +0 -33
  401. package/templates/default/ikoncomponents/twolevel-dropdown/index.tsx +0 -279
  402. package/templates/default/ikoncomponents/upload-tab/index.tsx +0 -237
  403. package/templates/default/ikoncomponents/widgets/index.tsx +0 -81
  404. package/templates/default/ikoncomponents/widgets/type.ts +0 -11
  405. package/templates/default/ikoncomponents/work-in-progress/index.tsx +0 -16
  406. package/templates/default/styles.css +0 -1159
  407. package/templates/default/utils/actions/account/index.ts +0 -33
  408. package/templates/default/utils/actions/account/type.ts +0 -4
  409. package/templates/default/utils/actions/common/revalidate.ts +0 -18
  410. package/templates/default/utils/actions/common/type.ts +0 -4
  411. package/templates/default/utils/actions/software/index.ts +0 -106
  412. package/templates/default/utils/api/accountService/index.ts +0 -103
  413. package/templates/default/utils/api/accountService/type.ts +0 -4
  414. package/templates/default/utils/api/file-upload/index.ts +0 -103
  415. package/templates/default/utils/api/file-upload/type.ts +0 -8
  416. package/templates/default/utils/api/loginService/index.ts +0 -106
  417. package/templates/default/utils/api/softwareService/index.ts +0 -356
  418. package/templates/default/utils/api/softwareService/type.ts +0 -62
  419. package/templates/default/utils/cn.ts +0 -6
  420. package/templates/default/utils/session/cookieSession.ts +0 -49
  421. package/templates/default/utils/theme-provider/index.tsx +0 -11
  422. package/templates/default/utils/token-management/index.ts +0 -115
  423. package/templates/default/utils/token-management/types.ts +0 -6
@@ -1,39 +0,0 @@
1
- import { FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage } from '../../../shadcn/form'
2
- import React from 'react'
3
- import { FormInputProps } from '../types'
4
- import {
5
- InputOTP,
6
- InputOTPGroup,
7
- InputOTPSlot,
8
- } from "../../../shadcn/input-otp"
9
-
10
- export function FormOtpInput({ formControl, label, formDescription, extraFormComponent, name, ...inputProps }: FormInputProps) {
11
- return (
12
- <>
13
- <FormField
14
- control={formControl}
15
- name={name}
16
- render={({ field }) => (
17
- <FormItem>
18
- {label && <FormLabel>{label}</FormLabel>}
19
- <FormControl>
20
- <InputOTP maxLength={4} {...field} >
21
- <InputOTPGroup>
22
- <InputOTPSlot index={0} />
23
- <InputOTPSlot index={1} />
24
- <InputOTPSlot index={2} />
25
- <InputOTPSlot index={3} />
26
- {/* <InputOTPSlot index={4} />
27
- <InputOTPSlot index={5} /> */}
28
- </InputOTPGroup>
29
- </InputOTP>
30
- </FormControl>
31
- {extraFormComponent && extraFormComponent(field.value)}
32
- {formDescription && <FormDescription>{formDescription}</FormDescription>}
33
- <FormMessage />
34
- </FormItem>
35
- )}
36
- />
37
- </>
38
- )
39
- }
@@ -1,52 +0,0 @@
1
- import * as React from 'react'
2
- import { FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage } from '../../../shadcn/form'
3
- import { Input } from '../../../shadcn/input'
4
- import { Button } from '../../../shadcn/button'
5
- import { Eye, EyeOff } from 'lucide-react'
6
- import { FormInputProps } from '../types'
7
-
8
-
9
- export function FormPasswordInput({ formControl, label, formDescription, extraFormComponent, name, ...inputProps }: FormInputProps) {
10
- const [showPassword, setShowPassword] = React.useState(false)
11
- const toggleVisibility = () => setShowPassword(!showPassword)
12
-
13
- return (
14
- <>
15
- <FormField
16
- control={formControl}
17
- name={name}
18
- render={({ field }) => (
19
- <FormItem>
20
- {label && <FormLabel>{label}</FormLabel>}
21
- <div className="relative">
22
- <FormControl>
23
- <Input
24
- type={showPassword ? 'text' : 'password'}
25
- {...field}
26
- {...inputProps}
27
- className={`${inputProps.className || ''} pr-10`}
28
- />
29
- </FormControl>
30
- <Button
31
- type="button"
32
- variant="ghost"
33
- size="icon"
34
- className="absolute right-0 top-0 h-full px-3 py-2 text-muted-foreground hover:bg-transparent!"
35
- onClick={toggleVisibility}
36
- >
37
- {showPassword ? (
38
- <EyeOff className="h-4 w-4" />
39
- ) : (
40
- <Eye className="h-4 w-4" />
41
- )}
42
- </Button>
43
- </div>
44
- {extraFormComponent && extraFormComponent(field.value)}
45
- {formDescription && <FormDescription>{formDescription}</FormDescription>}
46
- <FormMessage />
47
- </FormItem>
48
- )}
49
- />
50
- </>
51
- )
52
- }
@@ -1,7 +0,0 @@
1
- import React from 'react'
2
-
3
- export function FormPhoneInput() {
4
- return (
5
- <div>FormPhoneInput</div>
6
- )
7
- }
@@ -1,28 +0,0 @@
1
- import { FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage } from '../../../shadcn/form'
2
-
3
- import React from 'react'
4
- import { FormTextareaProps } from '../types'
5
- import { Textarea } from '../../../shadcn/textarea'
6
-
7
-
8
-
9
- export function FormTextarea({ formControl, name, label, formItemClass, formDescription, ...textAreaProps }: FormTextareaProps) {
10
- return (
11
- <>
12
- <FormField
13
- control={formControl}
14
- name={name}
15
- render={({ field }) => (
16
- <FormItem className={formItemClass}>
17
- {label && <FormLabel>{label}</FormLabel>}
18
- <FormControl>
19
- <Textarea {...field} {...textAreaProps} />
20
- </FormControl>
21
- {formDescription && <FormDescription>{formDescription}</FormDescription>}
22
- <FormMessage />
23
- </FormItem>
24
- )}
25
- />
26
- </>
27
- )
28
- }
@@ -1,46 +0,0 @@
1
- import { Command } from "cmdk";
2
- import { InputHTMLAttributes, ReactNode, TextareaHTMLAttributes } from "react";
3
- import { Matcher } from "react-day-picker";
4
-
5
- export interface FormFieldProps {
6
- formControl: any;
7
- label?: string;
8
- formItemClass?: string;
9
- formDescription?: string;
10
- extraFormComponent?: (value: string) => ReactNode;
11
- }
12
-
13
- export interface FormInputProps
14
- extends FormFieldProps,
15
- InputHTMLAttributes<HTMLInputElement> {
16
- name: string;
17
- }
18
-
19
- export interface FormTextareaProps
20
- extends FormFieldProps,
21
- TextareaHTMLAttributes<HTMLTextAreaElement> {
22
- name: string;
23
- }
24
-
25
- export interface FormDateInputProps extends FormFieldProps {
26
- name: string;
27
- placeholder?: string;
28
- dateFormat?: string;
29
- calendarDateDisabled?: Matcher;
30
- disabled?: boolean;
31
- }
32
-
33
- export interface FormComboboxInputProps extends FormFieldProps {
34
- name: string;
35
- placeholder?: string;
36
- items: FormComboboxItemProps[];
37
- onSelect?: (value: string | string[]) => void;
38
- defaultValue?: []
39
- disabled?: ((...args: any) => boolean) | boolean;
40
- }
41
- export interface FormComboboxItemProps {
42
- value: string;
43
- label?: string | undefined;
44
- extra?: any;
45
- disabled?: ((...args: any) => boolean) | boolean;
46
- }
@@ -1,171 +0,0 @@
1
- "use client";
2
-
3
- import React, { memo, useCallback, useEffect, useRef } from "react";
4
- import { animate } from "motion/react";
5
- import { cn } from "../../utils/cn";
6
-
7
- interface GlowingEffectProps {
8
- blur?: number;
9
- inactiveZone?: number;
10
- proximity?: number;
11
- spread?: number;
12
- variant?: "default" | "white";
13
- glow?: boolean;
14
- className?: string;
15
- disabled?: boolean;
16
- movementDuration?: number;
17
- borderWidth?: number;
18
- }
19
- export const GlowingEffect = (
20
- ({
21
- blur = 0,
22
- inactiveZone = 0.7,
23
- proximity = 0,
24
- spread = 20,
25
- variant = "default",
26
- glow = false,
27
- className,
28
- movementDuration = 2,
29
- borderWidth = 1,
30
- disabled = true,
31
- }: GlowingEffectProps) => {
32
- const containerRef = useRef<HTMLDivElement>(null);
33
- const lastPosition = useRef({ x: 0, y: 0 });
34
- const animationFrameRef = useRef<number>(0);
35
-
36
- const handleMove = useCallback(
37
- (e?: MouseEvent | { x: number; y: number }) => {
38
- if (!containerRef.current) return;
39
-
40
- if (animationFrameRef.current) {
41
- cancelAnimationFrame(animationFrameRef.current);
42
- }
43
-
44
- animationFrameRef.current = requestAnimationFrame(() => {
45
- const element = containerRef.current;
46
- if (!element) return;
47
-
48
- const { left, top, width, height } = element.getBoundingClientRect();
49
- const mouseX = e?.x ?? lastPosition.current.x;
50
- const mouseY = e?.y ?? lastPosition.current.y;
51
-
52
- if (e) {
53
- lastPosition.current = { x: mouseX, y: mouseY };
54
- }
55
-
56
- const center = [left + width * 0.5, top + height * 0.5];
57
- const distanceFromCenter = Math.hypot(
58
- mouseX - center[0],
59
- mouseY - center[1]
60
- );
61
- const inactiveRadius = 0.5 * Math.min(width, height) * inactiveZone;
62
-
63
- if (distanceFromCenter < inactiveRadius) {
64
- element.style.setProperty("--active", "0");
65
- return;
66
- }
67
-
68
- const isActive =
69
- mouseX > left - proximity &&
70
- mouseX < left + width + proximity &&
71
- mouseY > top - proximity &&
72
- mouseY < top + height + proximity;
73
-
74
- element.style.setProperty("--active", isActive ? "1" : "0");
75
-
76
- if (!isActive) return;
77
-
78
- const currentAngle =
79
- parseFloat(element.style.getPropertyValue("--start")) || 0;
80
- const targetAngle =
81
- (180 * Math.atan2(mouseY - center[1], mouseX - center[0])) /
82
- Math.PI +
83
- 90;
84
-
85
- const angleDiff = ((targetAngle - currentAngle + 180) % 360) - 180;
86
- const newAngle = currentAngle + angleDiff;
87
-
88
- animate(currentAngle, newAngle, {
89
- duration: movementDuration,
90
- ease: [0.16, 1, 0.3, 1],
91
- onUpdate: (value) => {
92
- element.style.setProperty("--start", String(value));
93
- },
94
- });
95
- });
96
- },
97
- [inactiveZone, proximity, movementDuration]
98
- );
99
-
100
- useEffect(() => {
101
- if (disabled) return;
102
-
103
- const handleScroll = () => handleMove();
104
- const handlePointerMove = (e: PointerEvent) => handleMove(e);
105
-
106
- window.addEventListener("scroll", handleScroll, { passive: true });
107
- document.body.addEventListener("pointermove", handlePointerMove, {
108
- passive: true,
109
- });
110
-
111
- return () => {
112
- if (animationFrameRef.current) {
113
- cancelAnimationFrame(animationFrameRef.current);
114
- }
115
- window.removeEventListener("scroll", handleScroll);
116
- document.body.removeEventListener("pointermove", handlePointerMove);
117
- };
118
- }, [handleMove, disabled]);
119
-
120
- return (
121
- <>
122
- <div
123
- className={cn(
124
- "pointer-events-none absolute -inset-px hidden rounded-[inherit] border opacity-0 transition-opacity",
125
- glow && "opacity-100",
126
- variant === "white" && "border-white",
127
- disabled && "!block"
128
- )}
129
- />
130
- <div
131
- ref={containerRef}
132
- style={
133
- {
134
- "--blur": `${blur}px`,
135
- "--spread": spread,
136
- "--start": "0",
137
- "--active": "0",
138
- "--glowingeffect-border-width": `${borderWidth}px`,
139
- "--repeating-conic-gradient-times": "5",
140
- "--gradient":
141
- variant === "white"
142
- ? `repeating-conic-gradient(from 236.84deg at 50% 50%,var(--black),var(--black) calc(25% / var(--repeating-conic-gradient-times)))`
143
- : `linear-gradient(54.29deg, #00A5E9 22.93%, #A020F0 32.97%, #55C8FF 52.28%, #A020F0 73.13%, #071182 88.57%)`,
144
- } as React.CSSProperties
145
- }
146
- className={cn(
147
- "pointer-events-none absolute inset-0 rounded-[inherit] opacity-100 transition-opacity",
148
- glow && "opacity-100",
149
- blur > 0 && "blur-[var(--blur)] ",
150
- className,
151
- disabled && "!hidden"
152
- )}
153
- >
154
- <div
155
- className={cn(
156
- "glow",
157
- "rounded-[inherit]",
158
- 'after:content-[""] after:rounded-[inherit] after:absolute after:inset-[calc(-1*var(--glowingeffect-border-width))]',
159
- "after:[border:var(--glowingeffect-border-width)_solid_transparent]",
160
- "after:[background:var(--gradient)] after:[background-attachment:fixed]",
161
- "after:opacity-[var(--active)] after:transition-opacity after:duration-300",
162
- "after:[mask-clip:padding-box,border-box]",
163
- "after:[mask-composite:intersect]",
164
- "after:[mask-image:linear-gradient(#0000,#0000),conic-gradient(from_calc((var(--start)-var(--spread))*1deg),#00000000_0deg,#fff,#00000000_calc(var(--spread)*2deg))]"
165
- )}
166
- />
167
- </div>
168
- </>
169
- );
170
- }
171
- );
@@ -1,22 +0,0 @@
1
- "use client"
2
- import * as React from 'react'
3
- import * as LucideIcons from 'lucide-react'
4
-
5
- export interface IconProps {
6
- name: string
7
- size?: number | string
8
- color?: string
9
- className?: string
10
- strokeWidth?: number
11
- }
12
-
13
- export function Icon({ name, ...props }: IconProps) {
14
- const IconComponent = (LucideIcons as any)[name]
15
-
16
- if (!IconComponent) {
17
- console.warn(`Icon "${name}" not found in lucide-react`)
18
- return null
19
- }
20
-
21
- return <IconComponent {...props} />
22
- }
@@ -1,19 +0,0 @@
1
- .box {
2
- display: inline-block;
3
- padding: 10px;
4
- box-sizing: border-box;
5
- }
6
- .img-preview {
7
- overflow: hidden;
8
- }
9
-
10
- .cropper-crop-box,
11
- .cropper-view-box {
12
- border-radius: 50%;
13
- }
14
-
15
- .cropper-view-box {
16
- box-shadow: 0 0 0 1px #39f;
17
- outline: 0;
18
- }
19
-