ikoncomponents 1.5.6 → 1.5.7

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/dist/hooks/use-mobile.d.ts +1 -0
  3. package/dist/hooks/use-mobile.js +15 -0
  4. package/dist/ikoncomponents/action-menu/index.d.ts +5 -0
  5. package/dist/ikoncomponents/action-menu/index.js +42 -0
  6. package/dist/ikoncomponents/action-menu/type.d.ts +14 -0
  7. package/dist/ikoncomponents/action-menu/type.js +1 -0
  8. package/dist/ikoncomponents/activity-sheet/index.d.ts +11 -0
  9. package/dist/ikoncomponents/activity-sheet/index.js +23 -0
  10. package/dist/ikoncomponents/alert-dialog/dialog-context.d.ts +21 -0
  11. package/dist/ikoncomponents/alert-dialog/dialog-context.js +30 -0
  12. package/dist/ikoncomponents/alert-dialog/index.d.ts +14 -0
  13. package/dist/ikoncomponents/alert-dialog/index.js +20 -0
  14. package/dist/ikoncomponents/app-breadcrumb/BreadcrumbProvider.d.ts +18 -0
  15. package/dist/ikoncomponents/app-breadcrumb/BreadcrumbProvider.js +43 -0
  16. package/dist/ikoncomponents/app-breadcrumb/index.d.ts +5 -0
  17. package/dist/ikoncomponents/app-breadcrumb/index.js +57 -0
  18. package/dist/ikoncomponents/big-calendar/big-calender-event/index.d.ts +5 -0
  19. package/dist/ikoncomponents/big-calendar/big-calender-event/index.js +16 -0
  20. package/dist/ikoncomponents/big-calendar/big-calender-toolbar/index.d.ts +2 -0
  21. package/dist/ikoncomponents/big-calendar/big-calender-toolbar/index.js +39 -0
  22. package/dist/ikoncomponents/big-calendar/index.d.ts +3 -0
  23. package/dist/ikoncomponents/big-calendar/index.js +35 -0
  24. package/dist/ikoncomponents/big-calendar/type.d.ts +31 -0
  25. package/dist/ikoncomponents/big-calendar/type.js +1 -0
  26. package/dist/ikoncomponents/buttons/index.d.ts +18 -0
  27. package/dist/ikoncomponents/buttons/index.js +38 -0
  28. package/dist/ikoncomponents/combobox-input/index.d.ts +2 -0
  29. package/dist/ikoncomponents/combobox-input/index.js +18 -0
  30. package/dist/ikoncomponents/combobox-input/type.d.ts +13 -0
  31. package/dist/ikoncomponents/combobox-input/type.js +1 -0
  32. package/dist/ikoncomponents/custom-combo-dropdown/index.d.ts +21 -0
  33. package/dist/ikoncomponents/custom-combo-dropdown/index.js +85 -0
  34. package/dist/ikoncomponents/data-table/datatable-column-filter/index.d.ts +2 -0
  35. package/dist/ikoncomponents/data-table/datatable-column-filter/index.js +22 -0
  36. package/dist/ikoncomponents/data-table/datatable-faceted-filter/index.d.ts +2 -0
  37. package/dist/ikoncomponents/data-table/datatable-faceted-filter/index.js +35 -0
  38. package/dist/ikoncomponents/data-table/datatable-filter-menu/index.d.ts +2 -0
  39. package/dist/ikoncomponents/data-table/datatable-filter-menu/index.js +38 -0
  40. package/dist/ikoncomponents/data-table/datatable-pagination/index.d.ts +2 -0
  41. package/dist/ikoncomponents/data-table/datatable-pagination/index.js +13 -0
  42. package/dist/ikoncomponents/data-table/datatable-toolbar/index.d.ts +2 -0
  43. package/dist/ikoncomponents/data-table/datatable-toolbar/index.js +18 -0
  44. package/dist/ikoncomponents/data-table/function.d.ts +1 -0
  45. package/dist/ikoncomponents/data-table/function.js +6 -0
  46. package/dist/ikoncomponents/data-table/index.d.ts +2 -0
  47. package/dist/ikoncomponents/data-table/index.js +223 -0
  48. package/dist/ikoncomponents/data-table/type.d.ts +60 -0
  49. package/dist/ikoncomponents/data-table/type.js +1 -0
  50. package/dist/ikoncomponents/e-chart/index.d.ts +15 -0
  51. package/dist/ikoncomponents/e-chart/index.js +115 -0
  52. package/dist/ikoncomponents/file-input/index.d.ts +1 -0
  53. package/dist/ikoncomponents/file-input/index.js +21 -0
  54. package/dist/ikoncomponents/fileUpload/index.d.ts +15 -0
  55. package/dist/ikoncomponents/fileUpload/index.js +69 -0
  56. package/dist/ikoncomponents/form-fields/combobox-input/index.d.ts +2 -0
  57. package/dist/ikoncomponents/form-fields/combobox-input/index.js +21 -0
  58. package/dist/ikoncomponents/form-fields/combobox-input-value/index.d.ts +18 -0
  59. package/dist/ikoncomponents/form-fields/combobox-input-value/index.js +26 -0
  60. package/dist/ikoncomponents/form-fields/date-input/index.d.ts +2 -0
  61. package/dist/ikoncomponents/form-fields/date-input/index.js +15 -0
  62. package/dist/ikoncomponents/form-fields/file-input/index.d.ts +1 -0
  63. package/dist/ikoncomponents/form-fields/file-input/index.js +4 -0
  64. package/dist/ikoncomponents/form-fields/input/index.d.ts +2 -0
  65. package/dist/ikoncomponents/form-fields/input/index.js +18 -0
  66. package/dist/ikoncomponents/form-fields/multi-combobox-input/index.d.ts +6 -0
  67. package/{templates/default/ikoncomponents/form-fields/multi-combobox-input/index.tsx → dist/ikoncomponents/form-fields/multi-combobox-input/index.js} +381 -574
  68. package/dist/ikoncomponents/form-fields/otp-input/index.d.ts +2 -0
  69. package/dist/ikoncomponents/form-fields/otp-input/index.js +18 -0
  70. package/dist/ikoncomponents/form-fields/phone-input/index.d.ts +1 -0
  71. package/dist/ikoncomponents/form-fields/phone-input/index.js +4 -0
  72. package/dist/ikoncomponents/form-fields/textarea/index.d.ts +2 -0
  73. package/dist/ikoncomponents/form-fields/textarea/index.js +18 -0
  74. package/dist/ikoncomponents/form-fields/types/index.d.ts +36 -0
  75. package/dist/ikoncomponents/form-fields/types/index.js +1 -0
  76. package/dist/ikoncomponents/glowing-effect/index.d.ts +14 -0
  77. package/dist/ikoncomponents/glowing-effect/index.js +84 -0
  78. package/dist/ikoncomponents/icon/index.d.ts +8 -0
  79. package/dist/ikoncomponents/icon/index.js +23 -0
  80. package/dist/ikoncomponents/image-cropper-upload/components/newCropper.d.ts +15 -0
  81. package/{templates/default/ikoncomponents/image-cropper-upload/components/newCropper.tsx → dist/ikoncomponents/image-cropper-upload/components/newCropper.js} +85 -117
  82. package/dist/ikoncomponents/image-cropper-upload/components/newImageUploadForm.d.ts +7 -0
  83. package/dist/ikoncomponents/image-cropper-upload/components/newImageUploadForm.js +145 -0
  84. package/dist/ikoncomponents/image-cropper-upload/cropper-form/index.d.ts +6 -0
  85. package/dist/ikoncomponents/image-cropper-upload/cropper-form/index.js +92 -0
  86. package/dist/ikoncomponents/image-cropper-upload/cropper-form-with-modal/index.d.ts +6 -0
  87. package/dist/ikoncomponents/image-cropper-upload/cropper-form-with-modal/index.js +14 -0
  88. package/dist/ikoncomponents/image-cropper-upload/image-cropper/index.d.ts +14 -0
  89. package/{templates/default/ikoncomponents/image-cropper-upload/image-cropper/index.tsx → dist/ikoncomponents/image-cropper-upload/image-cropper/index.js} +87 -119
  90. package/dist/ikoncomponents/image-cropper-upload/index.d.ts +27 -0
  91. package/dist/ikoncomponents/image-cropper-upload/index.js +49 -0
  92. package/dist/ikoncomponents/image-cropper-upload/utils/index.d.ts +16 -0
  93. package/dist/ikoncomponents/image-cropper-upload/utils/index.js +73 -0
  94. package/dist/ikoncomponents/loading-spinner/index.d.ts +9 -0
  95. package/dist/ikoncomponents/loading-spinner/index.js +19 -0
  96. package/dist/ikoncomponents/main-layout/RefreshContext.d.ts +10 -0
  97. package/dist/ikoncomponents/main-layout/RefreshContext.js +17 -0
  98. package/dist/ikoncomponents/main-layout/SidebarNavContext.d.ts +33 -0
  99. package/dist/ikoncomponents/main-layout/SidebarNavContext.js +52 -0
  100. package/dist/ikoncomponents/main-layout/app-sidebar.d.ts +3 -0
  101. package/dist/ikoncomponents/main-layout/app-sidebar.js +24 -0
  102. package/dist/ikoncomponents/main-layout/footer.d.ts +1 -0
  103. package/dist/ikoncomponents/main-layout/footer.js +5 -0
  104. package/dist/ikoncomponents/main-layout/header.d.ts +3 -0
  105. package/dist/ikoncomponents/main-layout/header.js +15 -0
  106. package/dist/ikoncomponents/main-layout/index.d.ts +6 -0
  107. package/dist/ikoncomponents/main-layout/index.js +11 -0
  108. package/dist/ikoncomponents/main-layout/main-sidebar.d.ts +60 -0
  109. package/dist/ikoncomponents/main-layout/main-sidebar.js +119 -0
  110. package/dist/ikoncomponents/main-layout/nav-main.d.ts +11 -0
  111. package/dist/ikoncomponents/main-layout/nav-main.js +33 -0
  112. package/dist/ikoncomponents/multi-combobox/index.d.ts +13 -0
  113. package/dist/ikoncomponents/multi-combobox/index.js +202 -0
  114. package/dist/ikoncomponents/no-data/index.d.ts +3 -0
  115. package/dist/ikoncomponents/no-data/index.js +5 -0
  116. package/dist/ikoncomponents/page-wrapper/index.d.ts +9 -0
  117. package/dist/ikoncomponents/page-wrapper/index.js +7 -0
  118. package/dist/ikoncomponents/password-strength-meter/index.d.ts +3 -0
  119. package/dist/ikoncomponents/password-strength-meter/index.js +40 -0
  120. package/dist/ikoncomponents/phone-input/index.d.ts +1 -0
  121. package/dist/ikoncomponents/phone-input/index.js +41 -0
  122. package/dist/ikoncomponents/provider-wrapper/index.d.ts +6 -0
  123. package/dist/ikoncomponents/provider-wrapper/index.js +11 -0
  124. package/dist/ikoncomponents/search-input/index.d.ts +1 -0
  125. package/dist/ikoncomponents/search-input/index.js +19 -0
  126. package/dist/ikoncomponents/sheet/index.d.ts +10 -0
  127. package/dist/ikoncomponents/sheet/index.js +6 -0
  128. package/dist/ikoncomponents/simple-widget/index.d.ts +14 -0
  129. package/dist/ikoncomponents/simple-widget/index.js +14 -0
  130. package/dist/ikoncomponents/skeleton-loader/skeleton-table.d.ts +5 -0
  131. package/dist/ikoncomponents/skeleton-loader/skeleton-table.js +6 -0
  132. package/dist/ikoncomponents/skeleton-loader/skeleton-widget.d.ts +3 -0
  133. package/dist/ikoncomponents/skeleton-loader/skeleton-widget.js +5 -0
  134. package/dist/ikoncomponents/tabs/index.d.ts +2 -0
  135. package/dist/ikoncomponents/tabs/index.js +50 -0
  136. package/{templates/default/ikoncomponents/tabs/type.ts → dist/ikoncomponents/tabs/type.d.ts} +19 -20
  137. package/dist/ikoncomponents/tabs/type.js +2 -0
  138. package/dist/ikoncomponents/theme-toggle-btn/index.d.ts +1 -0
  139. package/{templates/default/ikoncomponents/theme-toggle-btn/index.tsx → dist/ikoncomponents/theme-toggle-btn/index.js} +118 -189
  140. package/dist/ikoncomponents/title-progress/index.d.ts +12 -0
  141. package/dist/ikoncomponents/title-progress/index.js +10 -0
  142. package/dist/ikoncomponents/tooltip/index.d.ts +5 -0
  143. package/dist/ikoncomponents/tooltip/index.js +5 -0
  144. package/dist/ikoncomponents/twolevel-dropdown/index.d.ts +31 -0
  145. package/dist/ikoncomponents/twolevel-dropdown/index.js +143 -0
  146. package/dist/ikoncomponents/upload-tab/index.d.ts +1 -0
  147. package/dist/ikoncomponents/upload-tab/index.js +92 -0
  148. package/dist/ikoncomponents/widgets/index.d.ts +2 -0
  149. package/dist/ikoncomponents/widgets/index.js +14 -0
  150. package/dist/ikoncomponents/widgets/type.d.ts +10 -0
  151. package/dist/ikoncomponents/widgets/type.js +2 -0
  152. package/dist/ikoncomponents/work-in-progress/index.d.ts +1 -0
  153. package/dist/ikoncomponents/work-in-progress/index.js +4 -0
  154. package/dist/index.d.ts +138 -0
  155. package/dist/index.js +116 -14
  156. package/dist/shadcn/accordion.d.ts +7 -0
  157. package/dist/shadcn/accordion.js +33 -0
  158. package/dist/shadcn/alert-dialog.d.ts +20 -0
  159. package/dist/shadcn/alert-dialog.js +83 -0
  160. package/dist/shadcn/alert.d.ts +9 -0
  161. package/dist/shadcn/alert.js +38 -0
  162. package/dist/shadcn/aspect-ratio.d.ts +3 -0
  163. package/dist/shadcn/aspect-ratio.js +19 -0
  164. package/dist/shadcn/avatar.d.ts +6 -0
  165. package/dist/shadcn/avatar.js +28 -0
  166. package/dist/shadcn/badge.d.ts +9 -0
  167. package/dist/shadcn/badge.js +35 -0
  168. package/dist/shadcn/breadcrumb.d.ts +11 -0
  169. package/dist/shadcn/breadcrumb.js +45 -0
  170. package/dist/shadcn/button.d.ts +10 -0
  171. package/dist/shadcn/button.js +47 -0
  172. package/dist/shadcn/calendar.d.ts +8 -0
  173. package/dist/shadcn/calendar.js +61 -0
  174. package/dist/shadcn/card.d.ts +9 -0
  175. package/dist/shadcn/card.js +42 -0
  176. package/dist/shadcn/checkbox.d.ts +4 -0
  177. package/dist/shadcn/checkbox.js +21 -0
  178. package/dist/shadcn/collapsible.d.ts +5 -0
  179. package/dist/shadcn/collapsible.js +27 -0
  180. package/dist/shadcn/command.d.ts +18 -0
  181. package/dist/shadcn/command.js +54 -0
  182. package/dist/shadcn/date-input.d.ts +7 -0
  183. package/dist/shadcn/date-input.js +179 -0
  184. package/dist/shadcn/date-range-picker.d.ts +24 -0
  185. package/dist/shadcn/date-range-picker.js +45 -0
  186. package/dist/shadcn/dialog.d.ts +15 -0
  187. package/dist/shadcn/dialog.js +57 -0
  188. package/dist/shadcn/drawer.d.ts +13 -0
  189. package/dist/shadcn/drawer.js +56 -0
  190. package/dist/shadcn/dropdown-menu.d.ts +25 -0
  191. package/dist/shadcn/dropdown-menu.js +77 -0
  192. package/dist/shadcn/form.d.ts +24 -0
  193. package/dist/shadcn/form.js +70 -0
  194. package/dist/shadcn/hover-card.d.ts +6 -0
  195. package/dist/shadcn/hover-card.js +28 -0
  196. package/dist/shadcn/input-otp.d.ts +34 -0
  197. package/dist/shadcn/input-otp.js +40 -0
  198. package/dist/shadcn/input.d.ts +3 -0
  199. package/dist/shadcn/input.js +18 -0
  200. package/dist/shadcn/label.d.ts +4 -0
  201. package/dist/shadcn/label.js +20 -0
  202. package/dist/shadcn/navigation-menu.d.ts +16 -0
  203. package/dist/shadcn/navigation-menu.js +74 -0
  204. package/dist/shadcn/popover.d.ts +7 -0
  205. package/dist/shadcn/popover.js +32 -0
  206. package/dist/shadcn/progress.d.ts +8 -0
  207. package/dist/shadcn/progress.js +23 -0
  208. package/dist/shadcn/radio-group.d.ts +5 -0
  209. package/dist/shadcn/radio-group.js +25 -0
  210. package/dist/shadcn/scroll-area.d.ts +5 -0
  211. package/dist/shadcn/scroll-area.js +26 -0
  212. package/dist/shadcn/select.d.ts +15 -0
  213. package/dist/shadcn/select.js +59 -0
  214. package/dist/shadcn/separator.d.ts +4 -0
  215. package/dist/shadcn/separator.js +20 -0
  216. package/dist/shadcn/sheet.d.ts +13 -0
  217. package/dist/shadcn/sheet.js +61 -0
  218. package/dist/shadcn/sidebar.d.ts +69 -0
  219. package/dist/shadcn/sidebar.js +242 -0
  220. package/dist/shadcn/skeleton.d.ts +3 -0
  221. package/dist/shadcn/skeleton.js +18 -0
  222. package/dist/shadcn/slider.d.ts +4 -0
  223. package/dist/shadcn/slider.js +26 -0
  224. package/dist/shadcn/sonner.d.ts +3 -0
  225. package/dist/shadcn/sonner.js +25 -0
  226. package/dist/shadcn/switch.d.ts +4 -0
  227. package/dist/shadcn/switch.js +20 -0
  228. package/dist/shadcn/table.d.ts +10 -0
  229. package/dist/shadcn/table.js +47 -0
  230. package/dist/shadcn/tabs.d.ts +7 -0
  231. package/dist/shadcn/tabs.js +32 -0
  232. package/dist/shadcn/textarea.d.ts +3 -0
  233. package/dist/shadcn/textarea.js +18 -0
  234. package/dist/shadcn/toggle-group.d.ts +9 -0
  235. package/dist/shadcn/toggle-group.js +35 -0
  236. package/dist/shadcn/toggle.d.ts +9 -0
  237. package/dist/shadcn/toggle.js +38 -0
  238. package/dist/shadcn/tooltip.d.ts +7 -0
  239. package/dist/shadcn/tooltip.js +32 -0
  240. package/dist/shadcn/workflow.d.ts +20 -0
  241. package/dist/shadcn/workflow.js +20 -0
  242. package/dist/styles.css +6163 -0
  243. package/dist/utils/actions/account/index.d.ts +5 -0
  244. package/dist/utils/actions/account/index.js +28 -0
  245. package/dist/utils/actions/account/type.d.ts +4 -0
  246. package/dist/utils/actions/account/type.js +1 -0
  247. package/dist/utils/actions/auth/index.d.ts +7 -0
  248. package/{templates/default/utils/actions/auth/index.ts → dist/utils/actions/auth/index.js} +58 -69
  249. package/dist/utils/actions/common/utils.d.ts +5 -0
  250. package/{templates/default/utils/actions/common/utils.ts → dist/utils/actions/common/utils.js} +25 -28
  251. package/dist/utils/actions/software/index.d.ts +11 -0
  252. package/dist/utils/actions/software/index.js +75 -0
  253. package/dist/utils/api/accountService/index.d.ts +23 -0
  254. package/dist/utils/api/accountService/index.js +64 -0
  255. package/dist/utils/api/accountService/type.d.ts +4 -0
  256. package/dist/utils/api/accountService/type.js +1 -0
  257. package/dist/utils/api/file-upload/index.d.ts +5 -0
  258. package/dist/utils/api/file-upload/index.js +80 -0
  259. package/dist/utils/api/file-upload/type.d.ts +6 -0
  260. package/dist/utils/api/file-upload/type.js +1 -0
  261. package/dist/utils/api/ikonBaseApi.d.ts +12 -0
  262. package/{templates/default/utils/api/ikonBaseApi.ts → dist/utils/api/ikonBaseApi.js} +104 -132
  263. package/dist/utils/api/loginService/index.d.ts +12 -0
  264. package/dist/utils/api/loginService/index.js +72 -0
  265. package/{templates/default/utils/api/loginService/type.ts → dist/utils/api/loginService/type.d.ts} +31 -35
  266. package/dist/utils/api/loginService/type.js +1 -0
  267. package/dist/utils/api/softwareService/index.d.ts +64 -0
  268. package/dist/utils/api/softwareService/index.js +212 -0
  269. package/dist/utils/api/softwareService/type.d.ts +54 -0
  270. package/dist/utils/api/softwareService/type.js +1 -0
  271. package/dist/utils/border-radius-provider.d.ts +11 -0
  272. package/{templates/default/utils/border-radius-provider.tsx → dist/utils/border-radius-provider.js} +35 -59
  273. package/dist/utils/cn.d.ts +2 -0
  274. package/dist/utils/cn.js +5 -0
  275. package/dist/utils/font-provider.d.ts +11 -0
  276. package/{templates/default/utils/font-provider.tsx → dist/utils/font-provider.js} +37 -61
  277. package/dist/utils/session/cookieSession.d.ts +8 -0
  278. package/dist/utils/session/cookieSession.js +33 -0
  279. package/dist/utils/theme-provider/index.d.ts +3 -0
  280. package/dist/utils/theme-provider/index.js +18 -0
  281. package/dist/utils/token-management/index.d.ts +10 -0
  282. package/dist/utils/token-management/index.js +69 -0
  283. package/dist/utils/token-management/types.d.ts +6 -0
  284. package/dist/utils/token-management/types.js +1 -0
  285. package/package.json +91 -17
  286. package/bin.js +0 -2
  287. package/dist/commands/init.js +0 -63
  288. package/dist/utlis/copyDir.js +0 -7
  289. package/templates/default/hooks/use-mobile.ts +0 -19
  290. package/templates/default/ikonS/accordion.tsx +0 -66
  291. package/templates/default/ikonS/alert-dialog.tsx +0 -179
  292. package/templates/default/ikonS/alert.tsx +0 -66
  293. package/templates/default/ikonS/aspect-ratio.tsx +0 -11
  294. package/templates/default/ikonS/avatar.tsx +0 -53
  295. package/templates/default/ikonS/badge.tsx +0 -49
  296. package/templates/default/ikonS/breadcrumb.tsx +0 -109
  297. package/templates/default/ikonS/button.tsx +0 -64
  298. package/templates/default/ikonS/calendar.tsx +0 -227
  299. package/templates/default/ikonS/card.tsx +0 -92
  300. package/templates/default/ikonS/checkbox.tsx +0 -33
  301. package/templates/default/ikonS/collapsible.tsx +0 -33
  302. package/templates/default/ikonS/command.tsx +0 -184
  303. package/templates/default/ikonS/date-input.tsx +0 -259
  304. package/templates/default/ikonS/date-range-picker.tsx +0 -103
  305. package/templates/default/ikonS/dialog.tsx +0 -143
  306. package/templates/default/ikonS/drawer.tsx +0 -134
  307. package/templates/default/ikonS/dropdown-menu.tsx +0 -259
  308. package/templates/default/ikonS/form.tsx +0 -166
  309. package/templates/default/ikonS/hover-card.tsx +0 -44
  310. package/templates/default/ikonS/input-otp.tsx +0 -71
  311. package/templates/default/ikonS/input.tsx +0 -22
  312. package/templates/default/ikonS/label.tsx +0 -24
  313. package/templates/default/ikonS/navigation-menu.tsx +0 -195
  314. package/templates/default/ikonS/popover.tsx +0 -48
  315. package/templates/default/ikonS/progress.tsx +0 -40
  316. package/templates/default/ikonS/radio-group.tsx +0 -45
  317. package/templates/default/ikonS/scroll-area.tsx +0 -58
  318. package/templates/default/ikonS/select.tsx +0 -184
  319. package/templates/default/ikonS/separator.tsx +0 -28
  320. package/templates/default/ikonS/sheet.tsx +0 -139
  321. package/templates/default/ikonS/sidebar.tsx +0 -726
  322. package/templates/default/ikonS/skeleton.tsx +0 -15
  323. package/templates/default/ikonS/slider.tsx +0 -64
  324. package/templates/default/ikonS/sonner.tsx +0 -25
  325. package/templates/default/ikonS/switch.tsx +0 -31
  326. package/templates/default/ikonS/table.tsx +0 -116
  327. package/templates/default/ikonS/tabs.tsx +0 -67
  328. package/templates/default/ikonS/textarea.tsx +0 -18
  329. package/templates/default/ikonS/toggle-group.tsx +0 -83
  330. package/templates/default/ikonS/toggle.tsx +0 -47
  331. package/templates/default/ikonS/tooltip.tsx +0 -65
  332. package/templates/default/ikonS/workflow.tsx +0 -119
  333. package/templates/default/ikoncomponents/action-menu/index.tsx +0 -108
  334. package/templates/default/ikoncomponents/action-menu/type.ts +0 -18
  335. package/templates/default/ikoncomponents/activity-sheet/index.tsx +0 -63
  336. package/templates/default/ikoncomponents/alert-dialog/dialog-context.tsx +0 -65
  337. package/templates/default/ikoncomponents/alert-dialog/index.tsx +0 -80
  338. package/templates/default/ikoncomponents/app-breadcrumb/BreadcrumbProvider.tsx +0 -68
  339. package/templates/default/ikoncomponents/app-breadcrumb/index.tsx +0 -222
  340. package/templates/default/ikoncomponents/big-calendar/big-calender-event/index.tsx +0 -38
  341. package/templates/default/ikoncomponents/big-calendar/big-calender-toolbar/index.tsx +0 -81
  342. package/templates/default/ikoncomponents/big-calendar/index.css +0 -879
  343. package/templates/default/ikoncomponents/big-calendar/index.tsx +0 -59
  344. package/templates/default/ikoncomponents/big-calendar/type.ts +0 -37
  345. package/templates/default/ikoncomponents/buttons/index.tsx +0 -127
  346. package/templates/default/ikoncomponents/combobox-input/index.tsx +0 -75
  347. package/templates/default/ikoncomponents/combobox-input/type.ts +0 -14
  348. package/templates/default/ikoncomponents/custom-combo-dropdown/index.tsx +0 -242
  349. package/templates/default/ikoncomponents/data-table/datatable-column-filter/index.tsx +0 -80
  350. package/templates/default/ikoncomponents/data-table/datatable-faceted-filter/index.tsx +0 -149
  351. package/templates/default/ikoncomponents/data-table/datatable-filter-menu/index.tsx +0 -98
  352. package/templates/default/ikoncomponents/data-table/datatable-pagination/index.tsx +0 -119
  353. package/templates/default/ikoncomponents/data-table/datatable-toolbar/index.tsx +0 -45
  354. package/templates/default/ikoncomponents/data-table/function.ts +0 -7
  355. package/templates/default/ikoncomponents/data-table/index.tsx +0 -549
  356. package/templates/default/ikoncomponents/data-table/type.ts +0 -75
  357. package/templates/default/ikoncomponents/e-chart/index.tsx +0 -183
  358. package/templates/default/ikoncomponents/file-input/index.tsx +0 -27
  359. package/templates/default/ikoncomponents/fileUpload/index.tsx +0 -121
  360. package/templates/default/ikoncomponents/form-fields/combobox-input/index.tsx +0 -111
  361. package/templates/default/ikoncomponents/form-fields/combobox-input-value/index.tsx +0 -121
  362. package/templates/default/ikoncomponents/form-fields/date-input/index.tsx +0 -80
  363. package/templates/default/ikoncomponents/form-fields/file-input/index.tsx +0 -9
  364. package/templates/default/ikoncomponents/form-fields/input/index.tsx +0 -27
  365. package/templates/default/ikoncomponents/form-fields/otp-input/index.tsx +0 -39
  366. package/templates/default/ikoncomponents/form-fields/password-input/index.tsx +0 -52
  367. package/templates/default/ikoncomponents/form-fields/phone-input/index.tsx +0 -7
  368. package/templates/default/ikoncomponents/form-fields/textarea/index.tsx +0 -28
  369. package/templates/default/ikoncomponents/form-fields/types/index.ts +0 -46
  370. package/templates/default/ikoncomponents/glowing-effect/index.tsx +0 -171
  371. package/templates/default/ikoncomponents/icon/index.tsx +0 -22
  372. package/templates/default/ikoncomponents/image-cropper-upload/components/cropperImg.css +0 -19
  373. package/templates/default/ikoncomponents/image-cropper-upload/components/newImageUploadForm.tsx +0 -352
  374. package/templates/default/ikoncomponents/image-cropper-upload/cropper-form/index.tsx +0 -250
  375. package/templates/default/ikoncomponents/image-cropper-upload/cropper-form-with-modal/index.tsx +0 -32
  376. package/templates/default/ikoncomponents/image-cropper-upload/index.tsx +0 -95
  377. package/templates/default/ikoncomponents/image-cropper-upload/utils/index.ts +0 -117
  378. package/templates/default/ikoncomponents/loading-spinner/index.tsx +0 -43
  379. package/templates/default/ikoncomponents/main-layout/RefreshContext.tsx +0 -30
  380. package/templates/default/ikoncomponents/main-layout/SidebarNavContext.tsx +0 -103
  381. package/templates/default/ikoncomponents/main-layout/app-sidebar.tsx +0 -36
  382. package/templates/default/ikoncomponents/main-layout/footer.tsx +0 -21
  383. package/templates/default/ikoncomponents/main-layout/header.tsx +0 -53
  384. package/templates/default/ikoncomponents/main-layout/index.tsx +0 -38
  385. package/templates/default/ikoncomponents/main-layout/main-sidebar.tsx +0 -389
  386. package/templates/default/ikoncomponents/main-layout/nav-main.tsx +0 -103
  387. package/templates/default/ikoncomponents/multi-combobox/index.tsx +0 -345
  388. package/templates/default/ikoncomponents/no-data/index.tsx +0 -11
  389. package/templates/default/ikoncomponents/page-wrapper/index.tsx +0 -30
  390. package/templates/default/ikoncomponents/password-strength-meter/index.tsx +0 -49
  391. package/templates/default/ikoncomponents/phone-input/index.tsx +0 -72
  392. package/templates/default/ikoncomponents/provider-wrapper/index.tsx +0 -32
  393. package/templates/default/ikoncomponents/search-input/index.tsx +0 -18
  394. package/templates/default/ikoncomponents/sheet/index.tsx +0 -34
  395. package/templates/default/ikoncomponents/simple-widget/index.tsx +0 -54
  396. package/templates/default/ikoncomponents/skeleton-loader/skeleton-table.tsx +0 -34
  397. package/templates/default/ikoncomponents/skeleton-loader/skeleton-widget.tsx +0 -13
  398. package/templates/default/ikoncomponents/tabs/index.tsx +0 -139
  399. package/templates/default/ikoncomponents/title-progress/index.tsx +0 -41
  400. package/templates/default/ikoncomponents/tooltip/index.tsx +0 -17
  401. package/templates/default/ikoncomponents/twolevel-dropdown/convertToDropdownNodes.tsx +0 -33
  402. package/templates/default/ikoncomponents/twolevel-dropdown/index.tsx +0 -279
  403. package/templates/default/ikoncomponents/upload-tab/index.tsx +0 -237
  404. package/templates/default/ikoncomponents/widgets/index.tsx +0 -81
  405. package/templates/default/ikoncomponents/widgets/type.ts +0 -11
  406. package/templates/default/ikoncomponents/work-in-progress/index.tsx +0 -16
  407. package/templates/default/styles.css +0 -1159
  408. package/templates/default/utils/actions/account/index.ts +0 -33
  409. package/templates/default/utils/actions/account/type.ts +0 -4
  410. package/templates/default/utils/actions/common/revalidate.ts +0 -18
  411. package/templates/default/utils/actions/common/type.ts +0 -4
  412. package/templates/default/utils/actions/software/index.ts +0 -106
  413. package/templates/default/utils/api/accountService/index.ts +0 -103
  414. package/templates/default/utils/api/accountService/type.ts +0 -4
  415. package/templates/default/utils/api/file-upload/index.ts +0 -103
  416. package/templates/default/utils/api/file-upload/type.ts +0 -8
  417. package/templates/default/utils/api/loginService/index.ts +0 -106
  418. package/templates/default/utils/api/softwareService/index.ts +0 -356
  419. package/templates/default/utils/api/softwareService/type.ts +0 -62
  420. package/templates/default/utils/cn.ts +0 -6
  421. package/templates/default/utils/session/cookieSession.ts +0 -49
  422. package/templates/default/utils/theme-provider/index.tsx +0 -11
  423. package/templates/default/utils/token-management/index.ts +0 -115
  424. package/templates/default/utils/token-management/types.ts +0 -6
@@ -1,132 +1,104 @@
1
- "use server"
2
- import axios from 'axios';
3
- import { AxiosError, AxiosResponse } from 'axios';
4
- import { redirect } from 'next/navigation';
5
- import { getActiveAccountId } from '../actions/account';
6
- import { getBaseSoftwareId, getCurrentSoftwareId } from '../actions/software';
7
- import { getTicket } from '../actions/auth';
8
-
9
- interface IkonBaseApiProps {
10
- service: string;
11
- operation: string;
12
- arguments_?: any | null;
13
- accountId?: string | null;
14
- softwareId?: string | null;
15
- isTicketRequried?: boolean;
16
- isServerApi?: boolean;
17
- }
18
-
19
- // Create an Axios instance
20
- export const axiosInstance = axios.create({
21
- baseURL: "https://ikoncloud-dev.keross.com/ikon-api"
22
- });
23
-
24
- async function ikonBaseApi({ service, operation, arguments_, accountId, softwareId, isTicketRequried = true, isServerApi = false }: IkonBaseApiProps): Promise<any> {
25
- //console.log("ikonBaseApi called with params: ", { service, operation, arguments_, accountId, softwareId, isTicketRequried });
26
- const queryParams = new URLSearchParams({
27
- inZip: String(false),
28
- outZip: String(true),
29
- inFormat: "freejson",
30
- outFormat: "freejson",
31
- service: service,
32
- operation: operation,
33
- });
34
-
35
-
36
- if (isTicketRequried) {
37
- const globalTicket = await getTicket()
38
- if (globalTicket) {
39
- queryParams.append('ticket', globalTicket);
40
-
41
- if (accountId) {
42
- queryParams.append('activeAccountId', accountId);
43
- }
44
- else {
45
- const activeAccountId = await getActiveAccountId()
46
- if (activeAccountId) {
47
- queryParams.append('activeAccountId', activeAccountId);
48
- }
49
- }
50
-
51
- if (softwareId) {
52
- queryParams.append('softwareId', softwareId);
53
- }
54
- else {
55
- const currentSoftwareId = await getCurrentSoftwareId();
56
- if (currentSoftwareId) {
57
- queryParams.append('softwareId', currentSoftwareId);
58
- } else {
59
- const baseSoftwareId = await getBaseSoftwareId();
60
- if (baseSoftwareId) {
61
- queryParams.append('softwareId', baseSoftwareId);
62
- }
63
- }
64
- }
65
-
66
- }
67
- }
68
-
69
- const contentType = 'application/x-www-form-urlencoded; charset=UTF-8;';
70
-
71
- const requestData = JSON.stringify(arguments_);
72
-
73
- try {
74
- const result: AxiosResponse<unknown> = await axiosInstance({
75
- method: 'POST',
76
- url: `https://ikoncloud-dev.keross.com/ikon-api?${queryParams.toString()}`,
77
- headers: { 'Content-Type': contentType },
78
- data: { arguments: requestData },
79
- responseType: 'json'
80
-
81
- });
82
-
83
- return { data: result.data, status: result.status };
84
- } catch (axiosError) {
85
-
86
- const error = axiosError as AxiosError<any>;
87
- const { status, response } = error;
88
- console.error(status)
89
-
90
- // console.error(axiosError)
91
- // if (status === 401) {
92
- // redirect("/login")
93
- // }
94
- // throw Error(error.message)
95
-
96
- const ikonErrorCode = response?.headers?.["ikon-error-code"];
97
- console.error(ikonErrorCode)
98
-
99
- if (ikonErrorCode == "AUTHENTICATIONEXCEPTION") {
100
- const message = "You are re-directed to Login Page. Possible reasons are:\n\t1) Your session has been idle for more than allowed timeout value.\n\t2) This is an unauthenticated access.";
101
-
102
- if (isServerApi) {
103
- throw new Error("AUTHENTICATIONEXCEPTION")
104
- } else {
105
- redirect("/login");
106
- }
107
-
108
- } else {
109
- if (ikonErrorCode == "TASKNOTEXISTSEXCEPTION") {
110
- console.error(error.message, "Task does not exist!");
111
- }
112
- if (ikonErrorCode == "AUTHORIZATIONEXCEPTION") {
113
- console.error(error.message, "Authorization Error!");
114
- }
115
- if (ikonErrorCode == "INTERNALIKONEXCEPTION") {
116
- console.error("Internal IKON Error - " + error.message, "IKON Error!");
117
- }
118
- if (ikonErrorCode == "DATAEXCEPTION") {
119
- console.error(response, error.message);
120
- }
121
- if (ikonErrorCode == "UNCAUGHTEXCEPTION") {
122
- console.error("Internal IKON Error - " + error.message, "IKON Error!");
123
- }
124
-
125
- throw new Error(error.message);
126
- }
127
-
128
- }
129
-
130
- }
131
-
132
- export default ikonBaseApi
1
+ "use server";
2
+ import axios from 'axios';
3
+ import { redirect } from 'next/navigation';
4
+ import { getActiveAccountId } from '../actions/account';
5
+ import { getBaseSoftwareId, getCurrentSoftwareId } from '../actions/software';
6
+ import { getTicket } from '../actions/auth';
7
+ // Create an Axios instance
8
+ export const axiosInstance = axios.create({
9
+ baseURL: "https://ikoncloud-dev.keross.com/ikon-api"
10
+ });
11
+ async function ikonBaseApi({ service, operation, arguments_, accountId, softwareId, isTicketRequried = true, isServerApi = false }) {
12
+ var _a;
13
+ //console.log("ikonBaseApi called with params: ", { service, operation, arguments_, accountId, softwareId, isTicketRequried });
14
+ const queryParams = new URLSearchParams({
15
+ inZip: String(false),
16
+ outZip: String(true),
17
+ inFormat: "freejson",
18
+ outFormat: "freejson",
19
+ service: service,
20
+ operation: operation,
21
+ });
22
+ if (isTicketRequried) {
23
+ const globalTicket = await getTicket();
24
+ if (globalTicket) {
25
+ queryParams.append('ticket', globalTicket);
26
+ if (accountId) {
27
+ queryParams.append('activeAccountId', accountId);
28
+ }
29
+ else {
30
+ const activeAccountId = await getActiveAccountId();
31
+ if (activeAccountId) {
32
+ queryParams.append('activeAccountId', activeAccountId);
33
+ }
34
+ }
35
+ if (softwareId) {
36
+ queryParams.append('softwareId', softwareId);
37
+ }
38
+ else {
39
+ const currentSoftwareId = await getCurrentSoftwareId();
40
+ if (currentSoftwareId) {
41
+ queryParams.append('softwareId', currentSoftwareId);
42
+ }
43
+ else {
44
+ const baseSoftwareId = await getBaseSoftwareId();
45
+ if (baseSoftwareId) {
46
+ queryParams.append('softwareId', baseSoftwareId);
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ const contentType = 'application/x-www-form-urlencoded; charset=UTF-8;';
53
+ const requestData = JSON.stringify(arguments_);
54
+ try {
55
+ const result = await axiosInstance({
56
+ method: 'POST',
57
+ url: `https://ikoncloud-dev.keross.com/ikon-api?${queryParams.toString()}`,
58
+ headers: { 'Content-Type': contentType },
59
+ data: { arguments: requestData },
60
+ responseType: 'json'
61
+ });
62
+ return { data: result.data, status: result.status };
63
+ }
64
+ catch (axiosError) {
65
+ const error = axiosError;
66
+ const { status, response } = error;
67
+ console.error(status);
68
+ // console.error(axiosError)
69
+ // if (status === 401) {
70
+ // redirect("/login")
71
+ // }
72
+ // throw Error(error.message)
73
+ const ikonErrorCode = (_a = response === null || response === void 0 ? void 0 : response.headers) === null || _a === void 0 ? void 0 : _a["ikon-error-code"];
74
+ console.error(ikonErrorCode);
75
+ if (ikonErrorCode == "AUTHENTICATIONEXCEPTION") {
76
+ const message = "You are re-directed to Login Page. Possible reasons are:\n\t1) Your session has been idle for more than allowed timeout value.\n\t2) This is an unauthenticated access.";
77
+ if (isServerApi) {
78
+ throw new Error("AUTHENTICATIONEXCEPTION");
79
+ }
80
+ else {
81
+ redirect("/login");
82
+ }
83
+ }
84
+ else {
85
+ if (ikonErrorCode == "TASKNOTEXISTSEXCEPTION") {
86
+ console.error(error.message, "Task does not exist!");
87
+ }
88
+ if (ikonErrorCode == "AUTHORIZATIONEXCEPTION") {
89
+ console.error(error.message, "Authorization Error!");
90
+ }
91
+ if (ikonErrorCode == "INTERNALIKONEXCEPTION") {
92
+ console.error("Internal IKON Error - " + error.message, "IKON Error!");
93
+ }
94
+ if (ikonErrorCode == "DATAEXCEPTION") {
95
+ console.error(response, error.message);
96
+ }
97
+ if (ikonErrorCode == "UNCAUGHTEXCEPTION") {
98
+ console.error("Internal IKON Error - " + error.message, "IKON Error!");
99
+ }
100
+ throw new Error(error.message);
101
+ }
102
+ }
103
+ }
104
+ export default ikonBaseApi;
@@ -0,0 +1,12 @@
1
+ import { ForgotPasswordProps, GetLoggedInUserProfileDetailsReturnProps, GetLoggedInUserProfileReturnProps, LoginProps, UpdateUserProfileProps, ValidateOTPProps } from "./type";
2
+ export declare const login: ({ userName, password }: LoginProps) => Promise<any>;
3
+ export declare const resetPassword: ({ userName }: ForgotPasswordProps) => Promise<any>;
4
+ export declare const generateOTP: ({ temporaryTicket, otpMedium, }: {
5
+ temporaryTicket: string;
6
+ otpMedium?: string;
7
+ }) => Promise<any>;
8
+ export declare const validateOTP: ({ temporaryTicket, otp, }: ValidateOTPProps) => Promise<any>;
9
+ export declare const logout: () => Promise<any>;
10
+ export declare const getLoggedInUserProfile: (isServerApi?: boolean) => Promise<GetLoggedInUserProfileReturnProps>;
11
+ export declare const getLoggedInUserProfileDetails: (isServerApi?: boolean) => Promise<GetLoggedInUserProfileDetailsReturnProps>;
12
+ export declare const updateUserProfile: ({ userName, userPassword, userPhone, userEmail, userThumbnail, }: UpdateUserProfileProps) => Promise<any>;
@@ -0,0 +1,72 @@
1
+ "use server";
2
+ import sha512 from "crypto-js/sha512";
3
+ import ikonBaseApi from "../../api/ikonBaseApi";
4
+ import { revalidateTag } from "next/cache";
5
+ export const login = async ({ userName, password }) => {
6
+ const result = await ikonBaseApi({
7
+ service: "loginService",
8
+ operation: "login",
9
+ arguments_: [userName, sha512(password).toString()],
10
+ isTicketRequried: false,
11
+ });
12
+ return result.data;
13
+ };
14
+ export const resetPassword = async ({ userName }) => {
15
+ const result = await ikonBaseApi({
16
+ service: "loginService",
17
+ operation: "resetPassword",
18
+ arguments_: [userName],
19
+ isTicketRequried: false,
20
+ });
21
+ return result.data;
22
+ };
23
+ export const generateOTP = async ({ temporaryTicket, otpMedium = "EMAIL", }) => {
24
+ const result = await ikonBaseApi({
25
+ service: "loginService",
26
+ operation: "generateOTP",
27
+ arguments_: [temporaryTicket, otpMedium],
28
+ isTicketRequried: false,
29
+ });
30
+ return result.data;
31
+ };
32
+ export const validateOTP = async ({ temporaryTicket, otp, }) => {
33
+ const result = await ikonBaseApi({
34
+ service: "loginService",
35
+ operation: "validateOTP",
36
+ arguments_: [temporaryTicket, otp],
37
+ isTicketRequried: false,
38
+ });
39
+ return result.data;
40
+ };
41
+ export const logout = async () => {
42
+ const result = await ikonBaseApi({
43
+ service: "loginService",
44
+ operation: "logout",
45
+ });
46
+ return result.data;
47
+ };
48
+ export const getLoggedInUserProfile = async (isServerApi) => {
49
+ const result = await ikonBaseApi({
50
+ service: "loginService",
51
+ operation: "getLoggedInUserProfile",
52
+ isServerApi,
53
+ });
54
+ return result.data;
55
+ };
56
+ export const getLoggedInUserProfileDetails = async (isServerApi) => {
57
+ const result = await ikonBaseApi({
58
+ service: "loginService",
59
+ operation: "getLoggedInUserProfileDetails",
60
+ isServerApi,
61
+ });
62
+ return result.data;
63
+ };
64
+ export const updateUserProfile = async ({ userName, userPassword, userPhone, userEmail, userThumbnail, }) => {
65
+ const result = await ikonBaseApi({
66
+ service: "loginService",
67
+ operation: "updateUserProfile",
68
+ arguments_: [userName, userPassword, userPhone, userEmail, userThumbnail],
69
+ });
70
+ revalidateTag("profile");
71
+ return result.data;
72
+ };
@@ -1,35 +1,31 @@
1
- export interface LoginProps {
2
- userName: string;
3
- password: string;
4
- }
5
-
6
- export interface ForgotPasswordProps {
7
- userName: string;
8
- }
9
-
10
- export interface ValidateOTPProps {
11
- temporaryTicket: string;
12
- otp: string;
13
- }
14
-
15
- export interface GetLoggedInUserProfileReturnProps {
16
- USER_NAME: string;
17
- USER_LOGIN: string;
18
- USER_ID: string;
19
- CNT: number;
20
- USER_THUMBNAIL?: string | null;
21
- }
22
- export interface GetLoggedInUserProfileDetailsReturnProps {
23
- USER_NAME: string;
24
- USER_EMAIL: string;
25
- USER_PHONE: string;
26
- USER_THUMBNAIL?: string | null;
27
- }
28
-
29
- export interface UpdateUserProfileProps {
30
- userName: string,
31
- userPassword: string,
32
- userPhone: string,
33
- userEmail: string,
34
- userThumbnail?: string | null
35
- }
1
+ export interface LoginProps {
2
+ userName: string;
3
+ password: string;
4
+ }
5
+ export interface ForgotPasswordProps {
6
+ userName: string;
7
+ }
8
+ export interface ValidateOTPProps {
9
+ temporaryTicket: string;
10
+ otp: string;
11
+ }
12
+ export interface GetLoggedInUserProfileReturnProps {
13
+ USER_NAME: string;
14
+ USER_LOGIN: string;
15
+ USER_ID: string;
16
+ CNT: number;
17
+ USER_THUMBNAIL?: string | null;
18
+ }
19
+ export interface GetLoggedInUserProfileDetailsReturnProps {
20
+ USER_NAME: string;
21
+ USER_EMAIL: string;
22
+ USER_PHONE: string;
23
+ USER_THUMBNAIL?: string | null;
24
+ }
25
+ export interface UpdateUserProfileProps {
26
+ userName: string;
27
+ userPassword: string;
28
+ userPhone: string;
29
+ userEmail: string;
30
+ userThumbnail?: string | null;
31
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,64 @@
1
+ import { CreateSoftwareProps, EditSoftwareProps, getAccessibleSoftwareForUserProps, getAllSubscribedSoftwaresForClientProps, getAvailableSoftwaresForAccountProps, getMySoftwaresProps, getMySoftwaresV2Props, mapSoftwareNameProps } from "./type";
2
+ export declare const mapSoftwareName: ({ softwareName, version, }: mapSoftwareNameProps) => Promise<string>;
3
+ export declare const createSoftware: ({ softwareName, softwareDescription, softwareVersion, softwareOwnerAccount, softwareDeveloperAccount, softwareManagerAccount, softwareAccessibility, softwareStatus, }: CreateSoftwareProps) => Promise<string>;
4
+ export declare const editSoftware: ({ softwareId, softwareName, softwareDescription, softwareVersion, softwareDeveloperAccount, softwareManagerAccount, softwareAccessibility, softwareStatus, }: EditSoftwareProps) => Promise<string>;
5
+ export declare const getAccessibleSoftwareForUser: ({ accountId, userId, }: getAccessibleSoftwareForUserProps) => Promise<any>;
6
+ export declare const getAllSubscribedSoftwaresForClient: ({ accountId }: getAllSubscribedSoftwaresForClientProps, isServerApi?: boolean) => Promise<any>;
7
+ export declare const inviteAccountForSoftware: ({ accountId, softwareId, expirationTime, }: {
8
+ accountId: string;
9
+ softwareId: string;
10
+ expirationTime?: number | string;
11
+ }) => Promise<any>;
12
+ export declare const getAllSentSoftwareInviteRequests: ({ accountId, }: {
13
+ accountId: string;
14
+ }) => Promise<any>;
15
+ export declare const getAllReceivedSoftwareInviteRequests: ({ accountId, }: {
16
+ accountId: string;
17
+ }) => Promise<any>;
18
+ export declare const getAllSoftwareInvitesV2: ({ accountId, }: {
19
+ accountId: string;
20
+ }) => Promise<any>;
21
+ export declare const acceptInvitationRequestForSoftware: ({ requestId, shareKey, }: {
22
+ requestId: string;
23
+ shareKey: string;
24
+ }) => Promise<any>;
25
+ export declare const cancelInvitationRequestForSoftware: ({ requestId, }: {
26
+ requestId: string;
27
+ }) => Promise<any>;
28
+ export declare const rejectInvitationRequestForSoftware: ({ requestId, }: {
29
+ requestId: string;
30
+ }) => Promise<any>;
31
+ export declare const activateSoftwareInviteForAccount: ({ invitationId, }: {
32
+ invitationId: string;
33
+ }) => Promise<any>;
34
+ export declare const deactivateSoftwareInviteForAccount: ({ invitationId, }: {
35
+ invitationId: string;
36
+ }) => Promise<any>;
37
+ export declare const getAllPendingInvitationRequestsForUser: ({ userId, }: {
38
+ userId: string;
39
+ }) => Promise<any>;
40
+ export declare const getAllInvitationRequestsSentByAccount: ({ accountId, }: {
41
+ accountId: string;
42
+ }) => Promise<any>;
43
+ export declare const inviteUserToMyAccount: ({ accountId, userLogin, }: {
44
+ accountId: string;
45
+ userLogin: string;
46
+ }) => Promise<any>;
47
+ export declare const getMySoftwares: ({ accountId }: getMySoftwaresProps) => Promise<any>;
48
+ export declare const getMySoftwaresV2: ({ accountId, onlyActive, }: getMySoftwaresV2Props) => Promise<any>;
49
+ export declare const getAvailableSoftwaresForAccount: ({ accountId, }: getAvailableSoftwaresForAccountProps) => Promise<any>;
50
+ export declare const getSoftwareById: ({ softwareId, }: {
51
+ softwareId: string;
52
+ }) => Promise<any>;
53
+ export declare const activateSoftware: ({ softwareId, }: {
54
+ softwareId: string;
55
+ }) => Promise<any>;
56
+ export declare const deactivateSoftware: ({ softwareId, }: {
57
+ softwareId: string;
58
+ }) => Promise<any>;
59
+ export declare const requestForFinalSubscription: ({ accountId, userId, softwareId, suggestedDate, }: {
60
+ accountId: string;
61
+ userId: string;
62
+ softwareId: string;
63
+ suggestedDate?: string | null;
64
+ }) => Promise<any>;